diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-01-22 01:48:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-22 01:48:11 +0000 |
commit | b4aea108ebe32a190e7f8ec6bddc1214a46c4456 (patch) | |
tree | 3b186b5b70dd23451d539b81829139970d7fa003 /libavformat/avformat.h | |
parent | 4cfbbbde4272d3216c0389df2111dfddabf65f1a (diff) | |
download | ffmpeg-b4aea108ebe32a190e7f8ec6bddc1214a46c4456.tar.gz |
support discarding of uninterresting packets
Originally committed as revision 3858 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 67a2166f8c..d4daa03c3a 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -227,6 +227,8 @@ typedef struct AVStream { 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; |