[FFmpeg-cvslog] avdevice/dshow: Fix frame rate
Michael Niedermayer
git at videolan.org
Tue Jun 7 02:46:38 CEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jun 7 02:32:13 2016 +0200| [e7f658be5747d33e341f03a95e3a27c37c67a34d] | committer: Michael Niedermayer
avdevice/dshow: Fix frame rate
Fixes: Ticket5526
Tested-by: kgp700
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e7f658be5747d33e341f03a95e3a27c37c67a34d
---
libavdevice/dshow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 678861d..5f2cad7 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -953,6 +953,7 @@ dshow_add_device(AVFormatContext *avctx,
}
st->avg_frame_rate = av_inv_q(time_base);
+ st->r_frame_rate = av_inv_q(time_base);
par->codec_type = AVMEDIA_TYPE_VIDEO;
par->width = bih->biWidth;
More information about the ffmpeg-cvslog
mailing list