dshow: don't print min/max values for fps the wrong way around

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Ramiro Polla 2011-09-30 18:10:30 -03:00 committed by Michael Niedermayer
parent e3e962835f
commit 526a7d855d
1 changed files with 2 additions and 2 deletions

View File

@ -371,9 +371,9 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
if (!pformat_set) { if (!pformat_set) {
av_log(avctx, AV_LOG_INFO, " min s=%ldx%ld fps=%g max s=%ldx%ld fps=%g\n", av_log(avctx, AV_LOG_INFO, " min s=%ldx%ld fps=%g max s=%ldx%ld fps=%g\n",
vcaps->MinOutputSize.cx, vcaps->MinOutputSize.cy, vcaps->MinOutputSize.cx, vcaps->MinOutputSize.cy,
1e7 / vcaps->MinFrameInterval, 1e7 / vcaps->MaxFrameInterval,
vcaps->MaxOutputSize.cx, vcaps->MaxOutputSize.cy, vcaps->MaxOutputSize.cx, vcaps->MaxOutputSize.cy,
1e7 / vcaps->MaxFrameInterval); 1e7 / vcaps->MinFrameInterval);
continue; continue;
} }
if (ctx->framerate) { if (ctx->framerate) {