[vlc-devel] [PATCH 7/8] qt: medialib: handle events from the UI thread

Romain Vimont rom1v at videolabs.io
Mon Nov 9 13:58:04 CET 2020


On Mon, Nov 09, 2020 at 11:51:49AM +0100, Hugo Beauzée-Luyssen wrote:
> Hi,
> 
> Wouldn't it be better to transfer the ownership of the provided data to the callback, rather than copying it every time?

(As discussed privately)
Since there may be several callbacks, it's not possible to transfer the
ownership of the event (and refcounting would be overkill).

Regards


More information about the vlc-devel mailing list