aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2011-09-30 18:10:30 -0300
committerMichael Niedermayer <michaelni@gmx.at>2011-11-06 01:19:57 +0100
commit526a7d855d67ed11c4cae044266e5c439e12ad0a (patch)
tree1f606dda0bcb2a3c6fcc82574c4c3a600beee80c
parente3e962835fbcc0c5220382539c84afd700d6a369 (diff)
downloadffmpeg-526a7d855d67ed11c4cae044266e5c439e12ad0a.tar.gz
dshow: don't print min/max values for fps the wrong way around
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/dshow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index af2cf9060c..354e663723 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -371,9 +371,9 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
if (!pformat_set) {
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,
- 1e7 / vcaps->MinFrameInterval,
+ 1e7 / vcaps->MaxFrameInterval,
vcaps->MaxOutputSize.cx, vcaps->MaxOutputSize.cy,
- 1e7 / vcaps->MaxFrameInterval);
+ 1e7 / vcaps->MinFrameInterval);
continue;
}
if (ctx->framerate) {