소스 검색

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 9 년 전
부모
커밋
7b5c4b3485
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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") << " / "