[vlc-devel] [PATCH] --snapshot-format option always fallbacks to png fix
christophe.courtaut at gmail.com
Sun Mar 29 17:51:43 CEST 2009
This patch fixes the fact that snapshot was always taken in png format
because --snapshot-format option was not working.
In fact, the --snapshot-format option is taking either png or jpg ( as
shown in the help ), but to check this format,
vlc was using image_Ext2Fourrc function which one is waiting for
parameters such a filename ( ex : "image.jpg" ) to get the format.
I wrote a function image_Type2Fourcc, which one work with the
extension only, and so on refactored the function image_Ext2Fourcc
not to duplicate code.
Etudiant a Epitech, Ingenierie en Informatique (Promo 2010)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3403 bytes
Desc: not available
More information about the vlc-devel