[MPlayer-dev-eng] [PATCH] Add prefix to filename of files created by PNG video output

Clément Bœsch ubitux at gmail.com
Tue Feb 1 22:41:03 CET 2011


On Sun, Dec 12, 2010 at 03:04:33PM -0200, Marco Aurélio Graciotto Silva wrote:
> I was wondering if Mplayer couldn't add a prefix to the filename of
> the PNG created using PNG 'video' output.
> 
> Thus, I created a small patch that allows the usage of a prefix for
> the PNG output filename. The new option is "outfile", which is used to
> define the 'png_outfile_prefix' variable. The default behaviour is the
> same as Mplayer currently has (default value for 'png_outfile_prefix'
> is an empty string), so backwards compatibility is kept.
> 
> The patch was created against MPlayer svn #32707.
> 

Tested with upstream. It works. I was ready to apply but I realized
"outfile" wasn't much appropriate, I'd prefer if you could change it into
"prefix" (or similar). Though, since it's a matter of taste, I won't block
it for this if anyone (you?) object.

And btw, if you feel like it, please try to implement the feature Compn
asked for instead, he has a good point here.

Also, sorry for the delay.

Regards,

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110201/f8e4b2e1/attachment.pgp>


More information about the MPlayer-dev-eng mailing list