Przeglądaj źródła

Display current network speed in debug overlay

Indicates how fast the media data is downloaded.

Caveat: if the speed is high enough, download will often stop, which
resets the value to "0". Related to this, TCP buffering behavior can
lead to ridiculous values alternating with 0 to be shown.
Vincent Lang 8 lat temu
rodzic
commit
7b5c4b3485
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/player/PlayerComponent.cpp

+ 1 - 0
src/player/PlayerComponent.cpp

@@ -1153,6 +1153,7 @@ QString PlayerComponent::videoInformation() const
   info << "Seconds: " << MPV_PROPERTY("demuxer-cache-duration") << endl;
   info << "Extra readahead: " << MPV_PROPERTY("cache-used") << endl;
   info << "Buffering: " << MPV_PROPERTY("cache-buffering-state") << endl;
+  info << "Speed: " << MPV_PROPERTY("cache-speed") << endl;
   info << endl;
   info << "Misc: " << endl;
   info << "Time: " << MPV_PROPERTY("playback-time") << " / "