X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;ds=sidebyside;f=rip_dvd;h=ae6f9500d0131638c870321f27ea94f474e10354;hb=1e18cc7c37d1ec8560f6164d031dbc04b02ed948;hp=6339d2925166da48276d12e21b3f253c3498923b;hpb=22d9052c5a84fa1cd7157e7b23278ba5feb8a0dc;p=rip_dvd%2F.git diff --git a/rip_dvd b/rip_dvd index 6339d29..ae6f950 100755 --- a/rip_dvd +++ b/rip_dvd @@ -57,7 +57,7 @@ typeset -i target_video_bitrate=2000 typeset -i target_audio_bitrate=224 typeset -i target_size=0 typeset -i audio_2ch=0 -typeset -i audio_6ch=1 +typeset -i audio_6ch=0 typeset -i invalid_feature_title=0 typeset -i feature_title_override=0 typeset -i mplayer_dumpstream_incompatibility=0 @@ -232,6 +232,12 @@ if [ $mirror_mode -eq 1 ]; then fi fi +# If audio channel requirements weren't given, assume a default value of 6channel audio +if [ $audio_2ch -eq 0 ] && [ $audio_6ch -eq 0 ]; then + audio_6ch=1 + custom_audio_6ch=1 +fi + # Make handbrake the default encoder if not specified and we can find it if [ -z "$encoder" ]; then encoder="mencoder"; # If we can't find handbrake, set mencoder as the default