Browse Source

avdevice/dshow: Fix frame rate

Fixes: Ticket5526

Tested-by: kgp700

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 9 years ago
parent
commit
e7f658be57
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavdevice/dshow.c

+ 1
- 0
libavdevice/dshow.c View 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;


Loading…
Cancel
Save