"discard audio" causes exception [PATCH]

Joshua N Pritikin <[email protected]>
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
Actually I wanted to decompress the audio to WAV, adjust the gain in 
ardour, and then use the adjusted WAV for the audio track. I didn't see 
how to do this through the GUI so I just grabbed the debug output and 
edited the commands as appropriate.

-- 
Make April 15 just another day, visit http://fairtax.org
z (text/plain, 511 B)
--- /usr/share/perl5/Video/DVDRip/Title.pm.orig	2007-11-14 16:47:10.929737298 -0800
+++ /usr/share/perl5/Video/DVDRip/Title.pm	2007-11-14 16:47:30.931121646 -0800
@@ -2551,7 +2551,7 @@
         if ($mpeg) {
             $command .= " -y mpeg2enc,mp2enc";
             $command .= " -E " . $audio_info->tc_samplerate
-                if $audio_info->tc_samplerate;
+                if $audio_info && $audio_info->tc_samplerate;
         }
         else {
             $command .= " -y " . $self->tc_video_codec;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.