[vlc-devel] [PATCH 02/15] filters: pass the owner sys to the buffer_new callback

Rémi Denis-Courmont remi at remlab.net
Fri Jul 19 18:32:15 CEST 2019


Le perjantaina 19. heinäkuuta 2019, 16.32.06 EEST Steve Lhomme a écrit :
> This way we don't have to modify the the owner for each call in the
> filter chain.

IMO, the fact that we even have to do this points at a larger problem.

The owner of the filter chain should only care for the allocator of the last 
element in the chain (if any), but should not know about the filter, only the 
chain. The filter chain code should do the dispatch properly.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list