examples: win32-videooverlay: Use d3d11videosink by default

d3d11videosink was promoted to have primary rank and
it's recommended videosink element on Windows

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1235>
This commit is contained in:
Seungha Yang 2021-07-30 23:04:57 +09:00
parent 1da78d82c8
commit abe7bbf1d3

View file

@ -41,7 +41,7 @@ static gboolean run_thread = FALSE;
static LONG prev_style = 0; static LONG prev_style = 0;
static RECT prev_rect = { 0, }; static RECT prev_rect = { 0, };
#define DEFAULT_VIDEO_SINK "glimagesink" #define DEFAULT_VIDEO_SINK "d3d11videosink"
static gboolean static gboolean
get_monitor_size (RECT * rect) get_monitor_size (RECT * rect)