[PATCH 1/5] winegstreamer: Fix the timeout passed to gst_element_get_state().
Zebediah Figura
z.figura12 at gmail.com
Tue Dec 3 22:03:27 CST 2019
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/winegstreamer/gstdemux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 753286a7189..e024d271974 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -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");
--
2.23.0
More information about the wine-devel
mailing list