From e7f658be5747d33e341f03a95e3a27c37c67a34d Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michael@niedermayer.cc>
Date: Tue, 7 Jun 2016 02:32:13 +0200
Subject: [PATCH] avdevice/dshow: Fix frame rate

Fixes: Ticket5526

Tested-by: kgp700

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavdevice/dshow.c | 1 +
 1 file changed, 1 insertion(+)

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;