Skip to content

Commit 5ab5f1e

Browse files
committed
PAL fix from Gavin
1 parent d5c46d5 commit 5ab5f1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

trunk/export/transcode.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ package export::transcode;
110110
$transcode .= " -i /tmp/fifodir_$$/vidout -p /tmp/fifodir_$$/audout"
111111
.' -H 0 -x raw'
112112
.' -g '.join('x', $episode->{'finfo'}{'width'}, $episode->{'finfo'}{'height'})
113-
.' -f '.$episode->{'finfo'}{'fps'}.',4'
113+
.' -f '.$episode->{'finfo'}{'fps'}.','
114+
. (($episode->{'finfo'}{'fps'} =~ /^2(?:5|4\.9)/) ? 3 : 4)
114115
.' -n 0x1'
115116
.' -e '.join(',', $episode->{'finfo'}{'audio_sample_rate'}, $episode->{'finfo'}{'audio_bits_per_sample'}, $episode->{'finfo'}{'audio_channels'})
116117
;

0 commit comments

Comments
 (0)