]> git.sesse.net Git - vlc/blobdiff - include/input_ext-dec.h
* Placed a callback to the decoder in the bitstream structure ;
[vlc] / include / input_ext-dec.h
index b2b331c41ec44c6cda263a2f14ec5f208dd9b9ec..7593fe3087d889c7d83aa0ca86543ec9c19bfa03 100644 (file)
@@ -2,7 +2,7 @@
  * input_ext-dec.h: structures exported to the VideoLAN decoders
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: input_ext-dec.h,v 1.8 2001/01/09 21:03:47 sam Exp $
+ * $Id: input_ext-dec.h,v 1.9 2001/01/10 16:24:11 massiot Exp $
  *
  * Authors:
  *
@@ -144,6 +144,12 @@ typedef struct bit_stream_s
     /* Function to jump to the next data packet */
     void                 (* pf_next_data_packet)( struct bit_stream_s * );
 
+    /* Callback to the decoder used when changing data packets ; set
+     * to NULL if your decoder doesn't need it. */
+    void                 (* pf_bitstream_callback)( struct bit_stream_s * );
+    /* Optional argument to the callback */
+    void *                  p_callback_arg;
+
     /*
      * Byte structures
      */