Explorar el Código

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 hace 9 años
padre
commit
7b5c4b3485
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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") << " / "