[vlc-devel] [PATCH] vout: warn when we get less display pictures than requested

Steve Lhomme robux4 at videolabs.io
Mon Apr 20 14:10:28 CEST 2015


That warning is to help spot some fishy/inaccurate/unneeded calls that
I noticed while debugging.

I'll wrap it inside a NDEBUG ifdef.

On Mon, Apr 20, 2015 at 1:48 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le 2015-04-20 14:46, Steve Lhomme a écrit :
>>
>> Define "normal situation".
>
>
> It's perfectly normal for a vout to have that limitation.
>
>> If we ask for 3 pictures and we get 1,
>> that either means we'll try to use unavailable buffers and something will
>> fail later, or we asked for the wrong amount of buffers.
>
>
> No, the caller is responsible for allocating memory buffers and copying.
>
>
> --
> Rémi Denis-Courmont
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list