[vlc-devel] [PATCH 01/15] display: make vd->owner a const pointer

Rémi Denis-Courmont remi at remlab.net
Thu Sep 3 16:20:55 CEST 2020


Le torstaina 3. syyskuuta 2020, 8.52.18 EEST Steve Lhomme a écrit :
> No need to make it writable to modules.

vd->owner is writable either way. This won't prevent a clueless developer from 
doing bad things.

This also breaks consistency with owner structures embedded in other object 
typyes such as filter and window, and adds a pointer and level of indirection 
for essentially nothing.

Just like you removed vout->p, I don't think we should do this.

-- 
Rémi Denis-Courmont
http://www.remlab.net/





More information about the vlc-devel mailing list