Commit 0dea2b61 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

quartz: Allow time format change while running.

parent d3275f5f
......@@ -2213,9 +2213,6 @@ static HRESULT WINAPI MediaSeeking_SetTimeFormat(IMediaSeeking *iface, const GUI
TRACE("(%p/%p)->(%s)\n", This, iface, debugstr_guid(pFormat));
if (This->state != State_Stopped)
return VFW_E_WRONG_STATE;
if (!IsEqualGUID(&TIME_FORMAT_MEDIA_TIME, pFormat))
{
FIXME("Unhandled time format %s\n", debugstr_guid(pFormat));
......
......@@ -4930,6 +4930,12 @@ static void test_graph_seeking(void)
ok(hr == S_OK, "Got hr %#x.\n", hr);
ok(time == 6000 * 10000, "Got time %s.\n", wine_dbgstr_longlong(time));
hr = IMediaSeeking_SetTimeFormat(seeking, &TIME_FORMAT_MEDIA_TIME);
ok(hr == S_OK, "Got hr %#x.\n", hr);
hr = IMediaSeeking_SetTimeFormat(seeking, &TIME_FORMAT_NONE);
todo_wine ok(hr == S_OK, "Got hr %#x.\n", hr);
hr = IMediaControl_Stop(control);
ok(hr == S_OK, "Got hr %#x.\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment