[vlc-commits] macosx vouts: Adjust module priorities
Marvin Scholz
git at videolan.org
Sat Mar 21 21:21:13 CET 2020
vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Mon Mar 2 12:26:13 2020 +0100| [bbd1dca5dfb6c189db34831d0ca281e25672ed17] | committer: Marvin Scholz
macosx vouts: Adjust module priorities
This and the previous commit ensure that the new CAOpenGLLayer based
video output is used on macOS 10.14 and higher if the output selection
is set to automatic.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=bbd1dca5dfb6c189db34831d0ca281e25672ed17
---
modules/video_output/caopengllayer.m | 2 +-
modules/video_output/macosx.m | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index de363bd3a4..739a3dcb10 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -934,7 +934,7 @@ shouldInheritContentsScale:(CGFloat)newScale
vlc_module_begin()
set_description(N_("Core Animation OpenGL Layer (Mac OS X)"))
- set_capability("vout display", 0)
+ set_capability("vout display", 300)
set_category(CAT_VIDEO)
set_subcategory(SUBCAT_VIDEO_VOUT)
set_callbacks(Open, Close)
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index df2f3030bb..da9c955f85 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -75,7 +75,7 @@ vlc_module_begin ()
set_description (N_("Mac OS X OpenGL video output"))
set_category (CAT_VIDEO)
set_subcategory (SUBCAT_VIDEO_VOUT)
- set_capability ("vout display", 300)
+ set_capability ("vout display", 250)
set_callbacks (Open, Close)
add_shortcut ("macosx", "vout_macosx")
add_glopts ()
More information about the vlc-commits
mailing list