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

Michael Niedermayer michaelni
Tue Mar 16 22:29:33 CET 2010


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

btw, isnt there some standard way to set the caption of a program without
having to modify the program?


[...]

> +    if (caption) {
> +        fprintf(stderr, "Argument '%s' provided as caption, but '%s' was already specified.\n",
> +                text, caption);
> +        exit(1);
> +    }

i agree with stefano this is not a good idea

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100316/0b5d51fc/attachment.pgp>



More information about the ffmpeg-devel mailing list