[vlc-devel] [PATCH 01/18] filters: add a typed Close callback to the operations structure

Steve Lhomme robux4 at ycbcr.xyz
Thu Oct 8 12:37:20 CEST 2020


On 2020-10-08 11:41, Alexandre Janniaux wrote:
> On Thu, Oct 08, 2020 at 12:15:59PM +0300, RĂ©mi Denis-Courmont wrote:
>> Hi,
>>
>> I like the patch on its own. But do we want to have typed close and untyped open? Do you plan to fix open later on?
> 
> IMHO that's not about typed close, but about object close
> instead of module close. But that's just a note for the
> archive.

Yes, it's a tiny difference but why it has to be called "manually".

We have typed open in other places so it's a good idea. We would also 
integrate the capability string like:
- set_video_filter_callback
- set_blender_callback
- set_deinterlacer_callback
etc

Maybe someday we can have different types for each too.


More information about the vlc-devel mailing list