浏览代码

Remove RPI-specific resample options

A better solution has been implemented. Resampler reinit is still
painfully slow, but doesn't need to happen as often.
Vincent Lang 9 年之前
父节点
当前提交
b4da59853c
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      src/player/PlayerComponent.cpp

+ 0 - 6
src/player/PlayerComponent.cpp

@@ -657,12 +657,6 @@ void PlayerComponent::setAudioConfiguration()
   QString resampleOpts = "";
   bool normalize = SettingsComponent::Get().value(SETTINGS_SECTION_AUDIO, "normalize").toBool();
   resampleOpts += QString(":normalize=") + (normalize ? "yes" : "no");
-
-#ifdef TARGET_RPI
-  // Low-quality resampling options on RPI for better display-sync behavior.
-  resampleOpts += ":o=[filter_type=cubic,filter_size=8,phase_shift=6]";
-#endif
-
   mpv::qt::set_option_variant(m_mpv, "af-defaults", "lavrresample" + resampleOpts);
 
   QString passthroughCodecs;