[FFmpeg-devel] [PATCH] Allow window caption to be set for ffplay

Aurelien Jacobs aurel
Wed Mar 17 17:09:48 CET 2010


On Tue, Mar 16, 2010 at 09:43:03PM +0000, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > On Tue, Mar 16, 2010 at 11:35:10AM +0100, Robert Kr?ger wrote:
> >> 
> >> this patch adds an option to set the window caption. Provided this
> >> is deemed useful, one could argue if a reasonable default for this
> >> would be the input filename and not "FFplay".
> >
> > a default of the filename + length in hh:mm as well as % of current position
> > seems even better
> 
> Agreed.  At least the filename, maybe not the dynamic information.

I disagree. The window title is useful to configure the window manager
behavior. If there is no fixed pattern in the title, it's not possible
anymore to configure some specific behavior for ffplay window.
Instead, I suggest something like :
    FFplay - filename

Aurel



More information about the ffmpeg-devel mailing list