avdevice/dshow: Fix frame rate
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 7 Jun 2016 00:32:13 +0000 (02:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 7 Jun 2016 00:32:13 +0000 (02:32 +0200)
Fixes: Ticket5526

Tested-by: kgp700
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavdevice/dshow.c

index 678861d..5f2cad7 100644 (file)
@@ -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;