winegstreamer: Fix the timeout passed to gst_element_get_state().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
badea4cae0
commit
60680651d7
|
@ -1324,7 +1324,7 @@ static HRESULT gstdemux_wait_state(struct strmbase_filter *iface, DWORD timeout)
|
|||
return S_OK;
|
||||
|
||||
ret = gst_element_get_state(filter->container, NULL, NULL,
|
||||
timeout == INFINITE ? GST_CLOCK_TIME_NONE : timeout * 1000);
|
||||
timeout == INFINITE ? GST_CLOCK_TIME_NONE : timeout * 1000000);
|
||||
if (ret == GST_STATE_CHANGE_FAILURE)
|
||||
{
|
||||
ERR("Failed to get state.\n");
|
||||
|
|
Loading…
Reference in New Issue