[FFmpeg-cvslog] bink demuxer: set framerate.
Anton Khirnov
git at videolan.org
Fri Feb 1 14:39:45 CET 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 31 21:07:34 2013 +0100| [9ec8971060a00f249f387a2baef949ec59de26a7] | committer: Anton Khirnov
bink demuxer: set framerate.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ec8971060a00f249f387a2baef949ec59de26a7
---
libavformat/bink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/bink.c b/libavformat/bink.c
index 62c377d..f093e7c 100644
--- a/libavformat/bink.c
+++ b/libavformat/bink.c
@@ -112,6 +112,7 @@ static int read_header(AVFormatContext *s)
return AVERROR(EIO);
}
avpriv_set_pts_info(vst, 64, fps_den, fps_num);
+ vst->avg_frame_rate = av_inv_q(vst->time_base);
vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
vst->codec->codec_id = AV_CODEC_ID_BINKVIDEO;
More information about the ffmpeg-cvslog
mailing list