[vlc-devel] [PATCH] picture: always copy context when cloning
Rémi Denis-Courmont
remi at remlab.net
Wed Jul 1 15:36:31 CEST 2020
Le tiistaina 30. kesäkuuta 2020, 20.50.28 EEST Alexandre Janniaux a écrit :
> picture_Clone was copying the original picture context into the new
> clone while picture_pool_Clone wasn't.
That is, or at least was, intended. In the old pull model, the context was
attached after taking the picture from the pool, and detached when returning
it.
Admittedly with the push model, it's ripe for rationalisation and clean-up,
but Steve might have a point that it's better to wait for actual use.
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list