Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-06-07 03:32:13 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-07 03:32:13 +0300
commite7f658be5747d33e341f03a95e3a27c37c67a34d (patch)
tree7800c07a3b3388d1189beb8edb162f593a13558d /libavdevice
parenta2b2af791ce674cb92fda88ab195bbfd75174ecf (diff)
avdevice/dshow: Fix frame rate
Fixes: Ticket5526 Tested-by: kgp700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice')
-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;