]> git.sesse.net Git - vlc/blobdiff - modules/demux/ts.c
configure.ac: Backport the Mac OS X poll fix from cmake to autotools.
[vlc] / modules / demux / ts.c
index 7c9d52d30ded6e3d01f72093e7b2e392944199d8..dd3549e2681aa79ebbbc6350c434af08cafff4f3 100644 (file)
  * Preamble
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 
 #include <ctype.h>
@@ -148,6 +152,7 @@ vlc_module_begin();
     add_bool( "ts-silent", 0, NULL, SILENT_TEXT, SILENT_LONGTEXT, VLC_TRUE );
 
     add_file( "ts-dump-file", NULL, NULL, TSDUMP_TEXT, TSDUMP_LONGTEXT, VLC_FALSE );
+        change_unsafe();
     add_bool( "ts-dump-append", 0, NULL, APPEND_TEXT, APPEND_LONGTEXT, VLC_FALSE );
     add_integer( "ts-dump-size", 16384, NULL, DUMPSIZE_TEXT,
                  DUMPSIZE_LONGTEXT, VLC_TRUE );
@@ -593,7 +598,7 @@ static int Open( vlc_object_t *p_this )
     p_sys->b_meta = VLC_TRUE;
     p_sys->b_dvb_control = VLC_TRUE;
     p_sys->i_dvb_program = 0;
-    p_sys->i_dvb_start = 0;;
+    p_sys->i_dvb_start = 0;
     p_sys->i_dvb_length = 0;
 
     for( i = 0; i < 8192; i++ )