quartz: Allow time format change while running.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d3275f5f6a
commit
0dea2b615e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue