mirror of https://github.com/mpv-player/mpv
stats.lua: display the current GPU context
This displays the current GPU context when --vo=gpu or --vo=gpu-next is used, which shows the platform and backend information of the vo which are previously not available.
This commit is contained in:
parent
a0ba10b62e
commit
2cb1485492
|
@ -855,6 +855,8 @@ local function add_video_out(s)
|
|||
append(s, vo, {prefix_sep="", nl="", indent=""})
|
||||
append_property(s, "display-names", {prefix_sep="", prefix="(", suffix=")",
|
||||
no_prefix_markup=true, nl="", indent=" "})
|
||||
append(s, mp.get_property_native("current-gpu-context"),
|
||||
{prefix="Context:", nl="", indent=o.prefix_sep .. o.prefix_sep})
|
||||
append_property(s, "avsync", {prefix="A-V:"})
|
||||
append_fps(s, "display-fps", "estimated-display-fps")
|
||||
if append_property(s, "decoder-frame-drop-count",
|
||||
|
|
Loading…
Reference in New Issue