]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/display.c
vcdx: Fix memleaks.
[vlc] / modules / stream_out / display.c
index f57450d8ce55ce91e077fab61024881453da9ef1..d9dc33a3b2eecc61f1d3e95f4017d5b18dde5ac6 100644 (file)
@@ -29,7 +29,8 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h>
 #include <vlc_input.h>
 #include <vlc_sout.h>
 #include <vlc_block.h>
@@ -50,8 +51,8 @@ static void Close( vlc_object_t * );
 #define SOUT_CFG_PREFIX "sout-display-"
 
 vlc_module_begin();
-    set_shortname( _("Display"));
-    set_description( _("Display stream output") );
+    set_shortname( N_("Display"));
+    set_description( N_("Display stream output") );
     set_capability( "sout stream", 50 );
     add_shortcut( "display" );
     set_category( CAT_SOUT );
@@ -69,7 +70,7 @@ vlc_module_end();
 /*****************************************************************************
  * Exported prototypes
  *****************************************************************************/
-static const char *ppsz_sout_options[] = {
+static const char *const ppsz_sout_options[] = {
     "audio", "video", "delay", NULL
 };