]> git.sesse.net Git - vlc/blobdiff - include/input_ext-intf.h
* Portability : changed off64_t to off_t and activated appropriate
[vlc] / include / input_ext-intf.h
index eb0fcc19726e2938888bbad480dadda787154c3d..49bd4fa2a4546df2c5a4e43520326624db34026d 100644 (file)
@@ -4,9 +4,9 @@
  * control the pace of reading. 
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_ext-intf.h,v 1.16 2001/02/08 13:08:02 massiot Exp $
+ * $Id: input_ext-intf.h,v 1.18 2001/02/08 17:44:12 massiot Exp $
  *
- * Authors:
+ * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -60,7 +60,6 @@ typedef struct es_descriptor_s
     struct pes_packet_s *   p_pes;                            /* Current PES */
     struct data_packet_s *  p_last;   /* The last packet gathered at present */
     int                     i_pes_real_size;   /* as indicated by the header */
-    boolean_t               b_discontinuity;               /* Stream changed */
 
     /* Decoder information */
     struct decoder_fifo_s * p_decoder_fifo;
@@ -115,7 +114,6 @@ typedef struct pgrm_descriptor_s
     count_t                 c_average_count;
                            /* counter used to compute dynamic average values */
     int                     i_synchro_state;
-    boolean_t               b_discontinuity;
 
     /* Demultiplexer data */
     void *                  p_demux_data;
@@ -241,7 +239,7 @@ typedef struct input_thread_s
     int                  (* pf_rewind)( struct input_thread_s * );
                                            /* NULL if we don't support going *
                                             * backwards (it's gonna be fun)  */
-    int                  (* pf_seek)( struct input_thread_s *, off_t );
+    void                 (* pf_seek)( struct input_thread_s *, off_t );
 
     i_p_config_t            i_p_config;              /* plugin configuration */
     char *                  p_source;
@@ -305,3 +303,4 @@ void input_DestroyThread( struct input_thread_s *, int *pi_status );
 void input_Play   ( struct input_thread_s * );
 void input_Pause  ( struct input_thread_s * );
 void input_Forward( struct input_thread_s *, int );
+void input_Seek   ( struct input_thread_s *, off_t );