Browse code

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Ramiro Polla authored on 2011/10/01 06:10:30
Showing 1 changed files
... ...
@@ -371,9 +371,9 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype,
371 371
             if (!pformat_set) {
372 372
                 av_log(avctx, AV_LOG_INFO, "  min s=%ldx%ld fps=%g max s=%ldx%ld fps=%g\n",
373 373
                        vcaps->MinOutputSize.cx, vcaps->MinOutputSize.cy,
374
-                       1e7 / vcaps->MinFrameInterval,
374
+                       1e7 / vcaps->MaxFrameInterval,
375 375
                        vcaps->MaxOutputSize.cx, vcaps->MaxOutputSize.cy,
376
-                       1e7 / vcaps->MaxFrameInterval);
376
+                       1e7 / vcaps->MinFrameInterval);
377 377
                 continue;
378 378
             }
379 379
             if (ctx->framerate) {