diff avformat.h @ 650:c129846f7f02 libavformat

support discarding of uninterresting packets
author michael
date Sat, 22 Jan 2005 01:48:11 +0000
parents 0b52743104ac
children 829c5c8e5cf2
line wrap: on
line diff
--- a/avformat.h	Fri Jan 21 23:38:09 2005 +0000
+++ b/avformat.h	Sat Jan 22 01:48:11 2005 +0000
@@ -227,6 +227,8 @@
     int pts_wrap_bits; /* number of bits in pts (used for wrapping control) */
     /* ffmpeg.c private use */
     int stream_copy; /* if TRUE, just copy stream */
+    int discard; ///< if 1, packets can be discarded at will and dont need to be demuxed
+    //FIXME move stuff to a flags field?
     /* quality, as it has been removed from AVCodecContext and put in AVVideoFrame
      * MN:dunno if thats the right place, for it */
     float quality;