[vlc-devel] [PATCH 01/15] display: make vd->owner a const pointer
Rémi Denis-Courmont
remi at remlab.net
Fri Sep 4 15:32:48 CEST 2020
Le perjantaina 4. syyskuuta 2020, 8.19.26 EEST Steve Lhomme a écrit :
> I agree, but this is also for consistency with the rest of the patches.
1) It is *not* consistent with the other existing owner structures.
> In the end only the parts that the display module is allowed to change
> are not const.
2) It cannot remain consistent within vout_display_t, as we could very well
add a 'const vout_display_operations *ops;' member that would *not* be read-
only for the module - just like we already have vout_window_t.ops.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list