diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-23 15:07:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-23 15:07:18 +0000 |
commit | 6c6e6ef5e20c6441ea0db7103a2f5ca7af8da644 (patch) | |
tree | 48f6fa32736e6d9e76c19b37db96507f949bf2aa /libavformat/avformat.h | |
parent | fc323a5480c14a0f1ffcb8aae06572397be4b38d (diff) | |
download | ffmpeg-6c6e6ef5e20c6441ea0db7103a2f5ca7af8da644.tar.gz |
Put codec_info_nb_frames back in AVStream and print its value.
This way streams with no or very few frames can be avoided during
auto selection
Originally committed as revision 21998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4b0aa67ef6..65e4a84c9d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -22,7 +22,7 @@ #define AVFORMAT_AVFORMAT_H #define LIBAVFORMAT_VERSION_MAJOR 52 -#define LIBAVFORMAT_VERSION_MINOR 53 +#define LIBAVFORMAT_VERSION_MINOR 54 #define LIBAVFORMAT_VERSION_MICRO 0 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ @@ -519,6 +519,11 @@ typedef struct AVStream { * Average framerate */ AVRational avg_frame_rate; + + /** + * Number of frames that have been demuxed during av_find_stream_info() + */ + int codec_info_nb_frames; } AVStream; #define AV_PROGRAM_RUNNING 1 |