[vlc-devel] Re: Ticket #487: patch

Filippo Carone filippo at carone.org
Tue Jun 20 09:58:52 CEST 2006


hobophobe ha scritto:
> This patch implements a prefix and suffix for snapshot filenames. It 
> adds two text fields to the preferences under snapshots, one for each. 
> It defaults prefix to vlcsnap, and suffix blank.
> 
> Filename output where A is prefix, B is suffix:
> A & B -> A-number-B.format
> A !B -> A-number.format
> !A B -> number-B.format
> !(A & B) -> number.format
> 
> What is the number used there in the filenames, anyway?

Hi,
I recently changed the behaviour of the snapshot function to accept a 
filename submitted by the user. I think giving a complete name to vlc is 
better than adding several variables the user has to fill. Currently if 
in snapshot-path you give a path not including the filename, then vlc 
saves snapshot in the usual way, otherwise if the path is not a folder, 
than vlc assumes it is a filename as saves it so. I wouldn't apply this 
patch since I think the current behaviour is more intuitive to the 
programmer.

Cheers,
fc

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list