Mercurial > libavformat.hg
diff avformat.h @ 5702:c9466f118684 libavformat
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
author | michael |
---|---|
date | Tue, 23 Feb 2010 15:07:18 +0000 |
parents | 25062326d2f9 |
children | 20877abd6b08 |
line wrap: on
line diff
--- a/avformat.h Tue Feb 23 11:15:18 2010 +0000 +++ b/avformat.h Tue Feb 23 15:07:18 2010 +0000 @@ -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 @@ * 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