summaryrefslogtreecommitdiff
path: root/libavdevice/dshow.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-06-07 02:32:13 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-07 02:32:13 +0200
commite7f658be5747d33e341f03a95e3a27c37c67a34d (patch)
tree7800c07a3b3388d1189beb8edb162f593a13558d /libavdevice/dshow.c
parenta2b2af791ce674cb92fda88ab195bbfd75174ecf (diff)
downloadffmpeg-e7f658be5747d33e341f03a95e3a27c37c67a34d.tar.gz
avdevice/dshow: Fix frame rate
Fixes: Ticket5526 Tested-by: kgp700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/dshow.c')
-rw-r--r--libavdevice/dshow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index 678861da4b..5f2cad74c8 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;