OSDN Git Service

Removed saintdev's CLI patch to test.c to default the abitrate to 384 when no abitrat...
authormaurj <maurj@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 27 Mar 2007 22:09:28 +0000 (22:09 +0000)
committermaurj <maurj@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 27 Mar 2007 22:09:28 +0000 (22:09 +0000)
commit77aa3fd4e65e9ed9dd4b7bd31055ef30376f133e
treea4e6eddafd21f839da12ce6de437eccd00ea8a20
parentb50a428bbc4aeb182deada729672112e9ac091ed
Removed saintdev's CLI patch to test.c to default the abitrate to 384 when no abitrate is provided on the commandline and the -6 (surround) option is passed in.  The problem with this approach is that a bitrate of 384 is then used regardless of whether 5.1 extraction is actually used for the extraction (this isn't decided till work.c, which checks the channel config of the source audio tracks).  Moreover, this causes a segmentation fault when using the OGM file format and extracting a 1.0 audio track from a DVD with the -6 option passed in, as vorbis_encode_setup_managed in encvorbis.c won't accept a bitrate of 384 for a 1-channel track.

git-svn-id: svn://localhost/HandBrake/trunk@459 b64f7644-9d1e-0410-96f1-a4d463321fa5
test/test.c