d3d11window: Increase timeout to 10 sec for WinRT window implementations

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>
This commit is contained in:
Seungha Yang 2020-07-24 01:43:16 +09:00 committed by GStreamer Merge Bot
parent deaa29bd96
commit 6ede4a99a7
2 changed files with 2 additions and 2 deletions

View 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
{

View 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
{