d3d11window: Increase timeout to 10 sec for WinRT window implementations
authorSeungha Yang <seungha@centricular.com>
Thu, 23 Jul 2020 16:43:16 +0000 (01:43 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 24 Jul 2020 04:53:44 +0000 (04:53 +0000)
No strong reason for this number, but we can follow other well known
UWP implementation ANGLE.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1461>

sys/d3d11/gstd3d11window_corewindow.cpp
sys/d3d11/gstd3d11window_swapchainpanel.cpp

index 2ee62d9..af0104d 100644 (file)
@@ -56,7 +56,7 @@ GST_DEBUG_CATEGORY_EXTERN (gst_d3d11_window_debug);
 }
 
 /* timeout to wait busy UI thread */
-#define DEFAULT_ASYNC_TIMEOUT (5 * 1000)
+#define DEFAULT_ASYNC_TIMEOUT (10 * 1000)
 
 typedef struct _CoreWindowWinRTStorage
 {
index 8c99e08..f13d0d9 100644 (file)
@@ -49,7 +49,7 @@ GST_DEBUG_CATEGORY_EXTERN (gst_d3d11_window_debug);
 }
 
 /* timeout to wait busy UI thread */
-#define DEFAULT_ASYNC_TIMEOUT (5 * 1000)
+#define DEFAULT_ASYNC_TIMEOUT (10 * 1000)
 
 typedef struct _SwapChainPanelWinRTStorage
 {