[vlc-commits] vout/caopengllayer: move module descriptor

Marvin Scholz git at videolan.org
Mon Feb 24 17:34:27 CET 2020


vlc/vlc-3.0 | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Feb  6 13:13:38 2020 +0100| [52ee032826a297febfc9efeb0602636762aca88a] | committer: Marvin Scholz

vout/caopengllayer: move module descriptor

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=52ee032826a297febfc9efeb0602636762aca88a
---

 modules/video_output/caopengllayer.m | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index 74dd049536..c6496ed8f0 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -49,14 +49,6 @@
 static int  Open   (vlc_object_t *);
 static void Close  (vlc_object_t *);
 
-vlc_module_begin()
-    set_description(N_("Core Animation OpenGL Layer (Mac OS X)"))
-    set_capability("vout display", 0)
-    set_category(CAT_VIDEO)
-    set_subcategory(SUBCAT_VIDEO_VOUT)
-    set_callbacks(Open, Close)
-vlc_module_end()
-
 static picture_pool_t *Pool (vout_display_t *vd, unsigned requested_count);
 static void PictureRender   (vout_display_t *vd, picture_t *pic, subpicture_t *subpicture);
 static void PictureDisplay  (vout_display_t *vd, picture_t *pic, subpicture_t *subpicture);
@@ -568,3 +560,15 @@ static void *OurGetProcAddress (vlc_gl_t *gl, const char *name)
 }
 
 @end
+
+/*
+ * Module descriptor
+ */
+
+vlc_module_begin()
+    set_description(N_("Core Animation OpenGL Layer (Mac OS X)"))
+    set_capability("vout display", 0)
+    set_category(CAT_VIDEO)
+    set_subcategory(SUBCAT_VIDEO_VOUT)
+    set_callbacks(Open, Close)
+vlc_module_end()



More information about the vlc-commits mailing list