dvdrip bug and patch

Dario Castellarin <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
Hello Matthias,
 dvdrip 0.98.4 gives this error when trying to open a subtitle preview 
window:

Can't locate object method "get_transcode_pipe" via package 
> "Video::DVDRip::GUI::Preview" at 
> /usr/lib/perl5/site_perl/5.8.8/Video/DVDRip/GUI/Preview.pm line 65

The attached patch solves it, would be nice if applied to your package.

Thanks,
Dario
dvdrip-0.98.4-subpreview-patch.txt (text/plain, 593 B)
Index: lib/Video/DVDRip/GUI/Preview.pm
===================================================================
RCS file: /home/cvsroot/dvdrip/lib/Video/DVDRip/GUI/Preview.pm,v
retrieving revision 1.21.2.1
diff -u -r1.21.2.1 Preview.pm
--- lib/Video/DVDRip/GUI/Preview.pm	24 Mar 2007 10:42:11 -0000	1.21.2.1
+++ lib/Video/DVDRip/GUI/Preview.pm	30 Mar 2007 08:29:16 -0000
@@ -62,7 +62,7 @@
 sub open {
     my $self = shift;
 
-    return if $self->get_transcode_pipe;
+    return if $self->transcode_pipe;
 
     my $socket_file
         = "/tmp/tc.$$." . time . ( int( rand(100000) ) ) . ".sock";
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.