dvdrip bug and patch

Dario Castellarin dacstp at tiscali.it
Fri Mar 30 12:23:17 CEST 2007


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


-------------- next part --------------
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";


More information about the freshrpms-list mailing list