]> git.sesse.net Git - vlc/blobdiff - modules/access_output/file.c
* all: fixed a bug occuring when a slider was resized (the thickness
[vlc] / modules / access_output / file.c
index 62a1e6d15b6a1109ac53f4746dc926725841d3c7..b002f11bc4c77a607132e5c023eaa0963fdeb14c 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * file.c
  *****************************************************************************
- * Copyright (C) 2001, 2002 VideoLAN
+ * Copyright (C) 2001, 2002 the VideoLAN team
  * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
@@ -51,6 +51,9 @@
 #ifndef STDOUT_FILENO
 #   define STDOUT_FILENO 1
 #endif
+#ifndef O_LARGEFILE
+#   define O_LARGEFILE 0
+#endif
 
 /*****************************************************************************
  * Module descriptor
@@ -65,6 +68,7 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_description( _("File stream output") );
+    set_shortname( N_("File" ));
     set_capability( "sout access", 50 );
     set_category( CAT_SOUT );
     set_subcategory( SUBCAT_SOUT_ACO );
@@ -114,7 +118,7 @@ static int Open( vlc_object_t *p_this )
         msg_Err( p_access, "no file name specified" );
         return VLC_EGENERIC;
     }
-    i_flags = O_RDWR|O_CREAT;
+    i_flags = O_RDWR|O_CREAT|O_LARGEFILE;
 
     var_Get( p_access, SOUT_CFG_PREFIX "append", &val );
     if( val.b_bool )