[vlc-devel] [PATCH] vmem: allow clients get and update additional format info

sergey radionov rsatom at gmail.com
Mon Feb 1 11:29:51 CET 2016


2016-02-01 16:25 GMT+06:00 Rémi Denis-Courmont <remi at remlab.net>:

> Le 2016-01-30 18:21, Sergey Radionov a écrit :
>
>> ---
>>  modules/video_output/vmem.c | 37 +++++++++++++++++++++++++++++++------
>>  1 file changed, 31 insertions(+), 6 deletions(-)
>>
>> diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
>> index 5a6d869..ed640b8 100644
>> --- a/modules/video_output/vmem.c
>> +++ b/modules/video_output/vmem.c
>> @@ -3,6 +3,7 @@
>>
>>
>>
>> *****************************************************************************
>>   * Copyright (C) 2008 VLC authors and VideoLAN
>>   * Copyrgiht (C) 2010 Rémi Denis-Courmont
>> + * Copyrgiht (C) 2016 Sergey Radionov <rsatom at gmail.com>
>>   *
>>   * Authors: Sam Hocevar <sam at zoy.org>
>>   *
>> @@ -168,6 +169,20 @@ static int Open(vlc_object_t *object)
>>      video_format_t fmt;
>>      video_format_ApplyRotation(&fmt, &vd->fmt);
>>
>> +    enum {fmt_len, fmt_offset, fmt_visible_len, fmt_sar, fmt_update};
>> +    unsigned fmt_x[] = {
>> +        fmt.i_width,
>> +        fmt.i_x_offset,
>> +        fmt.i_visible_width,
>> +        vd->source.i_sar_num,
>> +        FALSE
>> +    };
>> +    unsigned fmt_y[] = {
>> +        fmt.i_height,
>> +        fmt.i_y_offset,
>> +        fmt.i_visible_height,
>> +        vd->source.i_sar_den,
>> +        FALSE };
>>
>
> Use self-consistent style please.


Could you please look updated patch:
https://mailman.videolan.org/pipermail/vlc-devel/2016-January/105919.html


>
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160201/0263de96/attachment.html>


More information about the vlc-devel mailing list