ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sun Dec 9 10:49:00 2018 +0100| [c782e7aa9e981a2f27db3f3afced5a6f10d6f8d9] | committer: Paul B Mahol
avformat/dhav: export average frame rate too > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c782e7aa9e981a2f27db3f3afced5a6f10d6f8d9 --- libavformat/dhav.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/dhav.c b/libavformat/dhav.c index b069afc713..9948783c0b 100644 --- a/libavformat/dhav.c +++ b/libavformat/dhav.c @@ -288,6 +288,8 @@ static int dhav_read_packet(AVFormatContext *s, AVPacket *pkt) } st->codecpar->width = dhav->width; st->codecpar->height = dhav->height; + st->avg_frame_rate.num = dhav->frame_rate; + st->avg_frame_rate.den = 1; st->priv_data = dst = av_mallocz(sizeof(DHAVStream)); if (!st->priv_data) return AVERROR(ENOMEM); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog