mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
avdevice/dshow: Fix frame rate
Fixes: Ticket5526 Tested-by: kgp700 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a2b2af791c
commit
e7f658be57
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user