Files
mpv/video/out
Kacper Michajłow 477a0f8318 vo: replace VOCTRL_HDR_METADATA with direct VO params read
Currently VOCTRL are completely unusable for frequent data query. Since
the HDR parameter addition to video-params, the parameters can change
each frame. In which case observe on those parameter would be triggered
constantly. The problem is that quering those parameters involves VOCTRL
which in turn involves whole render cycle of delay.

Instead update VO params on each draw_frame. This requires changes to VO
reconfiguration condition, but in practice it should only be triggered
when image size or data layout changes. In other cases it will be
handled internal by VO driver.

I'm not quite happy with this solution, but don't see better one without
changing observe/notify logic significantly. There is no good way
currently to handle VOCTRL that are constantly queried.

This adds unfortunate synchronization of player command with VO thread,
but there is not way around that and if too frequent queries of this
param becomes a problem we can thing of other solutions.

Changes the way to get data from VO driver added by a98c5328dc

Fixes: 84de84b
Fixes: #12825
2023-11-08 21:45:07 +00:00
..
2023-05-27 11:37:48 +02:00
2023-11-05 17:36:17 +00:00
2023-11-05 17:36:17 +00:00
2023-10-23 00:10:42 +00:00
2017-06-17 17:08:51 +02:00
2023-10-16 15:38:59 +00:00
2013-05-26 16:44:20 +02:00
2020-03-05 18:12:57 +01:00
2023-11-05 17:36:17 +00:00