[vlc-devel] [PATCH 4/4] filters: add an operations structure to set the callbacks
Steve Lhomme
robux4 at ycbcr.xyz
Tue Oct 6 10:36:38 CEST 2020
On 2020-10-06 10:04, Alexandre Janniaux wrote:
> Hi,
>
> On Tue, Oct 06, 2020 at 09:47:39AM +0200, Thomas Guillem wrote:
>>
>>
>>>>
>>>> filters->ops should be mandatory no ?
>>>
>>> I think that's the case for other operations structures. So I say yes.
>>
>> So, add an assert instead of a if ?
>
> I'd suggest to add it off-ML or in an additional patch given the
> patchset size. I agree with you otherwise!
Done
https://code.videolan.org/robUx4/vlc/-/commit/44554096534aa4924f192c87247559e52605c5d2
> It was done like that originally because I planned a more incremental
> approach, but it was taking a lot of time.
>
> (basically have both version, use the ops when available, or
> the structure pointers otherwise, and remove the structure pointer
> when everything has been migrated).
>
> Regards,
> --
> Alexandre Janniaux
> Videolabs
> _______________________________________________
> 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