[vlc-devel] [PATCH 19/19] picture: remove unused resource parameter from picture_NewFromResource
robux4 at ycbcr.xyz
Fri Jul 31 06:34:05 CEST 2020
On 2020-07-30 17:58, Rémi Denis-Courmont wrote:
> Frankly, the function deserves a new name if it can only wrap preallocated
> opaque buffers anymore. Alternatively, introduce a new function and then remove
> the old one, depending how you prefer to split the patchset.
I originally did that, but it makes the patch more complicated to read.
(in fact I had the other function and then realized is was just
picture_NewFromResource without the resources param).
How about picture_NewWithDestroy() ?
More information about the vlc-devel