From: Alan J. Pippin Date: Thu, 11 Feb 2010 07:17:49 +0000 (-0700) Subject: Fixed bug in the way the audio track was selected in HandBrake X-Git-Tag: 2_1~1 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Bedit%7D?a=commitdiff_plain;h=fce9af63c8b25a5b770721f2e2362a4b1cafe6b8;p=rip_dvd%2F.git Fixed bug in the way the audio track was selected in HandBrake --- diff --git a/rip_dvd b/rip_dvd index 94b96fc..f58a00b 100755 --- a/rip_dvd +++ b/rip_dvd @@ -1094,7 +1094,8 @@ function get_audio_track_from_vob { # find the stream that matches our aid #stream=`grep "Stream.*\[0x$aid_hex\]" $aidcheck` - stream=`grep "scan: audio" $aidcheck | grep -n "" | grep "scan: audio 0x$aid_hex"` + #stream=`grep "scan: audio" $aidcheck | grep -n "" | grep "scan: audio 0x$aid_hex"` + stream=`grep "add_audio_to_title:" $aidcheck | grep -n "" | grep "add_audio_to_title:.* stream 0x$aid_hex"` # extract the track number that handbrake uses #track=`expr match "$stream" '.*#[0-9]\.\([0-9]*\)'`