Преглед на файлове

Add vsync-ratio to debug overlay

This shows for how many display refreshes a video frame is shown on
average.
Vincent Lang преди 9 години
родител
ревизия
9fc95e77d8
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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;