diff avformat.h @ 3568:c24546b44906 libavformat

New codec probing system try #1.
author michael
date Sat, 12 Jul 2008 18:42:00 +0000
parents 5ad678c7e341
children b9898249bab0
line wrap: on
line diff
--- a/avformat.h	Sat Jul 12 16:43:46 2008 +0000
+++ b/avformat.h	Sat Jul 12 18:42:00 2008 +0000
@@ -391,6 +391,8 @@
     char *filename; /**< source filename of the stream */
 
     int disposition; /**< AV_DISPOSITION_* bitfield */
+
+    AVProbeData probe_data;
 } AVStream;
 
 #define AV_PROGRAM_RUNNING 1
@@ -555,6 +557,14 @@
      */
     int debug;
 #define FF_FDEBUG_TS        0x0001
+
+    /**
+     * raw packets from the demuxer, prior to parsing and decoding.
+     * This buffer is used for buffering packets until the codec can
+     * be identified, as parsing cannot be done without knowing the
+     * codec.
+     */
+    struct AVPacketList *raw_packet_buffer;
 } AVFormatContext;
 
 typedef struct AVPacketList {