Skip to content

Commit 79b3490

Browse files
committed
add osx-friendly mythtranscode path grabber
1 parent 796cf11 commit 79b3490

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

trunk/export/mencoder.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ package export::mencoder;
8080
die "Possibly stale mythtranscode fifo's in /tmp/fifodir_$$/.\nPlease remove them before running nuvexport.\n\n";
8181
}
8282
# Here, we have to fork off a copy of mythtranscode (need to use --fifosync with mencoder? needs testing)
83-
$mythtranscode = "$NICE mythtranscode --showprogress -p $episode->{transcoder} -c $episode->{'channel'} -s $episode->{'start_time_sep'} -f \"/tmp/fifodir_$$/\"";
83+
my $mythtranscode_bin = find_program('mythtranscode');
84+
$mythtranscode = "$NICE $mythtranscode_bin --showprogress -p $episode->{'transcoder'} -c $episode->{'channel'} -s $episode->{'start_time_sep'} -f \"/tmp/fifodir_$$/\"";
8485
# On no-audio encodes, we need to do something to keep mythtranscode's audio buffers from filling up available RAM
8586
# $mythtranscode .= ' --fifosync' if ($skip_audio);
8687
# let mythtranscode handle the cutlist

0 commit comments

Comments
 (0)