[FFmpeg-devel] [PATCH] Allow window caption to be set for ffplay
Robert Krüger
krueger
Wed Mar 17 17:03:34 CET 2010
On 17.03.2010, at 15:55, Michael Niedermayer wrote:
> On Wed, Mar 17, 2010 at 08:01:05AM +0100, Robert Kr?ger wrote:
>>
>> On 16.03.2010, at 22:43, 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:
>>>>>
>>
>> +static void opt_window_title(const char *arg)
>> +{
>> + window_title = arg;
>> +}
>
> missing strdup but its code duplication, OPT_STRING does this simpler
>
new patch attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffplay_window_title.patch
Type: application/octet-stream
Size: 1665 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100317/ffb0cc44/attachment.obj>
-------------- next part --------------
More information about the ffmpeg-devel
mailing list