From beb711a2ecb588b74ce41ef681c356df15b4aee6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Apr 2009 13:03:34 +0000 Subject: [PATCH] Reduced the default live video feed size to accomodate reading from the Minoru stereo wecam. --- src/osgPlugins/ffmpeg/FFmpegDecoder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp b/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp index d822d070e..c9174b767 100644 --- a/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp +++ b/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp @@ -55,14 +55,14 @@ bool FFmpegDecoder::open(const std::string & filename) formatParams.channel = 0; formatParams.standard = 0; #if 1 - formatParams.width = 640; - formatParams.height = 480; + formatParams.width = 320; + formatParams.height = 240; #else formatParams.width = 640; formatParams.height = 480; #endif formatParams.time_base.num = 1; - formatParams.time_base.den = 15; + formatParams.time_base.den = 30; iformat = av_find_input_format("video4linux2");