[vlc-devel] [PATCH 0/6] WIP libvlc surface rendering size update

Rémi Denis-Courmont remi at remlab.net
Fri Jan 25 23:11:13 CET 2019


Le perjantaina 25. tammikuuta 2019, 18.06.49 EET Steve Lhomme a écrit :
> As the API suggests we'll also need to tell what's the chroma and
> colorimetry of the display so the core can adapt. It may change dynamically
> when the source changes.

The chroma can only be changed safely by the display plugin upon a control 
request. And even then, it is an utterly insane thing to do, as it was never 
attempted/tested, and there are no ways to ensure that it won't unrecoverably 
break the rendering pipeline, such as if creating a conversion chain or 
rebuilding shaders fails.

Changing the chroma asynchronously, outside a display configuration change 
control, is out of question. That is a "privilege" of the upstream pipeline, 
currently the decoder.

As for monitor properties, should they ever be supported by the core, they 
would fall under the control of the window provider just like the display 
size. As such LibVLC would not be able to control them, at least not with any 
of the existing window provider plugins, including but not limited to the 
dummy one.

VLC does not even support changing the monitor PAR (yet). Colorimetry would 
require not only core changes but entirely new filters.

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





More information about the vlc-devel mailing list