[FFmpeg-cvslog] dshow: don't print min/max values for fps the wrong way around
Ramiro Polla
git at videolan.org
Sun Nov 6 01:39:40 CET 2011
ffmpeg | branch: master | Ramiro Polla <ramiro.polla at gmail.com> | Fri Sep 30 18:10:30 2011 -0300| [526a7d855d67ed11c4cae044266e5c439e12ad0a] | committer: Michael Niedermayer
dshow: don't print min/max values for fps the wrong way around
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=526a7d855d67ed11c4cae044266e5c439e12ad0a
---
libavdevice/dshow.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index af2cf90..354e663 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) {
More information about the ffmpeg-cvslog
mailing list