Browse Source

PlayerComponent: use newer properties for showing hardware decoding info

Minor, changes debug overlay output.
Vincent Lang 8 years ago
parent
commit
d7e94d198d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/player/PlayerComponent.cpp

+ 2 - 2
src/player/PlayerComponent.cpp

@@ -1190,8 +1190,8 @@ QString PlayerComponent::videoInformation() const
   double displayFps = DisplayComponent::Get().currentRefreshRate();
   info << "Display FPS: " << MPV_PROPERTY("display-fps")
                           << " (" << displayFps << ")" << endl;
-  info << "Hardware Decoding: " << MPV_PROPERTY("hwdec-active")
-                                << " (" << MPV_PROPERTY("hwdec-detected") << ")" << endl;
+  info << "Hardware Decoding: " << MPV_PROPERTY("hwdec-current")
+                                << " (" << MPV_PROPERTY("hwdec-interop") << ")" << endl;
   info << endl;
   info << "Audio: " << endl;
   info << "Codec: " << MPV_PROPERTY("audio-codec") << endl;