Author: awithers
Date: 2007-05-26 10:24:28 +0000 (Sat, 26 May 2007)
New Revision: 13505
Changeset: http://cvs.mythtv.org/trac/changeset/13505
Modified:
branches/release-0-20-fixes/mythtv/libs/libmythtv/mpegrecorder.cpp
Log:
Apply [13499] from trunk.
Original commit message:
Some bugs are only a very blocky American Idol finale away from being
fixed.
The good intentions of IVTV_IOC_S_CODEC were translated in the switch
to VIDIOC_S_EXT_CTRLS. Now V4L2_CID_MPEG_VIDEO_BITRATE is bounded by
V4L2_CID_MPEG_VIDEO_BITRATE_PEAK as well as its natural bound.
The result of this questionable change is that the peak must be set
before the average or a new average greater than the old peak will
ERANGE.
See cx2341x.c: cx2341x_ext_ctrls