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

Måns Rullgård mans
Wed Mar 17 17:25:24 CET 2010


Aurelien Jacobs <aurel at gnuage.org> writes:

> 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.

X has the concept of window class for that.

> 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

Fine with me.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list