]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/macosx.m
* Add an controls to the vout (using the embedded vout framework)
[vlc] / modules / gui / macosx / macosx.m
index 17781bcc7f136c5ba32cfcc4013272d7bb9675a8..59a45e0d654c709bbe0e7f45d9905e421725abd9 100644 (file)
@@ -47,6 +47,10 @@ void E_(CloseVideoGL) ( vlc_object_t * );
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
+#define EMBEDDED_TEXT N_("Use embedded video output")
+#define EMBEDDED_LONGTEXT N_("Disable this if you want the video output to " \
+    "be opened in a separate window instead of in the control window.")
+
 #define VDEV_TEXT N_("Video device")
 #define VDEV_LONGTEXT N_("Choose a number corresponding to " \
     "a screen in you video device selection menu and this screen " \
@@ -77,6 +81,8 @@ vlc_module_begin();
     set_callbacks( E_(OpenIntf), E_(CloseIntf) );
     set_category( CAT_INTERFACE );
     set_subcategory( SUBCAT_INTERFACE_GENERAL );
+    add_bool( "macosx-embedded", 1, NULL, EMBEDDED_TEXT, EMBEDDED_LONGTEXT,
+                     VLC_FALSE );
     add_submodule();
         set_description( _("Quartz video") );
         set_capability( "video output", 100 );