Browse Source

Add vsync-ratio to debug overlay

This shows for how many display refreshes a video frame is shown on
average.
Vincent Lang 9 năm trước cách đây
mục cha
commit
9fc95e77d8
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/player/PlayerComponent.cpp

+ 1 - 0
src/player/PlayerComponent.cpp

@@ -862,6 +862,7 @@ QString PlayerComponent::videoInformation() const
   info << "Performance: " << endl;
   info << "A/V: " << MPV_PROPERTY("avsync") << endl;
   info << "Dropped frames: " << MPV_PROPERTY("vo-drop-frame-count") << endl;
+  info << "Vsync ratio: " << MPV_PROPERTY("vsync-ratio") << endl;
   info << endl;
   info << "Cache:" << endl;
   info << "Seconds: " << MPV_PROPERTY("demuxer-cache-duration") << endl;