[vlc-devel] [3.x v2 3/4] vout/caopengllayer: move module descriptor
Marvin Scholz
epirat07 at gmail.com
Thu Feb 20 16:14:08 CET 2020
---
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 @@ - (void)mouseMovedToX:(double)xValue Y:(double)yValue
}
@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()
--
2.21.1 (Apple Git-122.3)
More information about the vlc-devel
mailing list