[vlc-devel] [PATCH] caopengllayer MacOS X: assign shortname to module

Florent Pillet fpillet at gmail.com
Mon Mar 10 15:24:47 CET 2014

Module shortname that makes the caopengllayer vout selectable from VLCKit when using options.

I'm using it with VLCKit, it works fine when views in the tree are layer-backed. Original macosx vout
doesn't output video (seems to be something with the OpenGL display implementation but I don't know enough
about GL to figure out why yet).

diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index 4ff6e7e..c02a3af 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -50,6 +50,7 @@ static int  Open   (vlc_object_t *);
 static void Close  (vlc_object_t *);
+    set_shortname ("caopengllayer")
     set_description(N_("Core Animation OpenGL Layer (Mac OS X)"))
     set_capability("vout display", 0)

More information about the vlc-devel mailing list