Dario Castellarin wrote:
> I'm using dvdrip 0.98.4 on Fedora Core 6 x86_64, with transcode 1.0.2
> and ffmpeg 0.4.9 20070109svn.
> When I'm in the subtitles section, and I try to open a preview window, I
> get this error:
> An internal exception was thrown!
> The error message was:
>
> 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.
Ups - I could reproduce this immediately, my bad :(
> Something I can do about it?
Yes: apply the attached patch.
Regards,
Jörn
--
Think, before you code.
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";
pgpKHqGK156um.pgp
Description: PGP signature
|