]> git.sesse.net Git - vlc/blobdiff - modules/demux/util/sub.h
* Implement INPUT_GET_SUBDELAY and INPUT_SET_SUBDELAY
[vlc] / modules / demux / util / sub.h
index 5fecc11f63db9d2aaf41cc30ac62b7a20b40eda8..f153c293e1b67fee5654a8700a810c57b156ea67 100644 (file)
@@ -2,7 +2,7 @@
  * sub.h
  *****************************************************************************
  * Copyright (C) 2001-2004 VideoLAN
- * $Id: sub.h,v 1.16 2004/01/26 22:42:50 hartman Exp $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -21,6 +21,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#include "../ps.h"
+
 #define SUB_TYPE_MICRODVD   0x00
 #define SUB_TYPE_SUBRIP     0x01
 #define SUB_TYPE_SSA1       0x02
@@ -65,6 +67,7 @@ typedef struct subtitle_demux_s
     es_out_id_t         *p_es;
     int                 i_previously_selected; /* to make pf_seek */
     FILE                *p_vobsub_file;
+    mtime_t             i_original_mspf;
 
 } subtitle_demux_t;
 
@@ -89,7 +92,7 @@ static inline subtitle_demux_t *subtitle_New( input_thread_t *p_input,
     p_sub = vlc_object_create( p_input, sizeof( subtitle_demux_t ) );
     p_sub->psz_object_name = "subtitle demux";
     vlc_object_attach( p_sub, p_input );
-    p_sub->p_module = module_Need( p_sub, "subtitle demux", "" );
+    p_sub->p_module = module_Need( p_sub, "subtitle demux", NULL, 0 );
 
     if( p_sub->p_module &&
         p_sub->pf_open( p_sub, p_input, psz_name, i_microsecperframe ) >=0 )