[FFmpeg-devel] [PATCH] Fix passlogfile naming when the user provide its own filename
Stefano Sabatini
stefano.sabatini-lala
Fri Dec 26 13:02:36 CET 2008
Hi all,
as spotted here:
http://thread.gmane.org/6156dd8b0812252130w1d417b3dhd4008693154fdbe6 at mail.gmail.com
when the user set the passlog filename with -passlogfile FILENAME,
ffmpeg adds an index and a .log suffix to the logfilename, so it will
look like FILENAME-N.log, in contradiction with the documentation and
causing problems if the order of the streams change in the second pass
encoding.
First patch fixes it, the second one changes the macro
DEFAULT_PASS_LOGFILENAME -> DEFAULT_PASS_LOGFILENAME_PREFIX, which is
IMO more coherent with its meaning.
Regards.
--
FFmpeg = Foolish and Foolish Muttering Pitiless Ecumenical Geek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-logfile-naming.patch
Type: text/x-diff
Size: 884 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081226/bf0adc2b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2pass-logfilename-prefix.patch
Type: text/x-diff
Size: 936 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081226/bf0adc2b/attachment-0001.patch>
More information about the ffmpeg-devel
mailing list