From 7b5a2588bd33d5cf532a1c83d79dba20a3f26bc5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Feb 2018 00:49:13 +0100 Subject: vo: make opengl-cb first in the autoprobing order This should be helpful for the new OSX Cocoa backend, which uses opengl-cb internally. Since it comes with a behavior change that could possibly interfere with libmpv/opengl_cb users, we mark it as explicit API change. --- video/out/vo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/out/vo.c') diff --git a/video/out/vo.c b/video/out/vo.c index c999138eee..b2aba3af7a 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -66,6 +66,9 @@ extern const struct vo_driver video_out_tct; const struct vo_driver *const video_out_drivers[] = { +#if HAVE_GL + &video_out_opengl_cb, +#endif #if HAVE_ANDROID &video_out_mediacodec_embed, #endif @@ -103,9 +106,6 @@ const struct vo_driver *const video_out_drivers[] = #endif #if HAVE_ENCODING &video_out_lavc, -#endif -#if HAVE_GL - &video_out_opengl_cb, #endif NULL }; -- cgit v1.2.3