Reduced the default live video feed size to accomodate reading from the Minoru stereo wecam.

This commit is contained in:
Robert Osfield 2009-04-08 13:03:34 +00:00
parent 6e780bfa62
commit beb711a2ec

View File

@ -55,14 +55,14 @@ bool FFmpegDecoder::open(const std::string & filename)
formatParams.channel = 0; formatParams.channel = 0;
formatParams.standard = 0; formatParams.standard = 0;
#if 1 #if 1
formatParams.width = 640; formatParams.width = 320;
formatParams.height = 480; formatParams.height = 240;
#else #else
formatParams.width = 640; formatParams.width = 640;
formatParams.height = 480; formatParams.height = 480;
#endif #endif
formatParams.time_base.num = 1; formatParams.time_base.num = 1;
formatParams.time_base.den = 15; formatParams.time_base.den = 30;
iformat = av_find_input_format("video4linux2"); iformat = av_find_input_format("video4linux2");