1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00

VO: move gl+cocoa before corevideo in default VO order

The gl video output is faster and has more features than corevideo, so
it should be preferred on mac osx.

This doesn't affect GUI compatibility because they specify the
corevideo video output along with the suboptions for the shared buffer
name to mmap in.
This commit is contained in:
Stefano Pigozzi 2012-03-16 22:00:32 +01:00 committed by Uoti Urpala
parent e37d7b1452
commit 19458020a6

View File

@ -137,6 +137,9 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_KVA
&video_out_kva,
#endif
#ifdef CONFIG_GL_COCOA
&video_out_gl,
#endif
#ifdef CONFIG_COREVIDEO
&video_out_corevideo,
#endif
@ -174,7 +177,7 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_SDL
&video_out_sdl,
#endif
#ifdef CONFIG_GL
#if (defined CONFIG_GL && !defined CONFIG_GL_COCOA)
&video_out_gl,
#endif
#ifdef CONFIG_GL_SDL