|
@@ -939,7 +939,7 @@ void PlayerComponent::setAudioConfiguration()
|
|
|
if (deviceType == AUDIO_DEVICE_TYPE_SPDIF)
|
|
|
layout = "2.0";
|
|
|
|
|
|
- mpv::qt::set_option_variant(m_mpv, "audio-channels", layout);
|
|
|
+ mpv::qt::set_property(m_mpv, "audio-channels", layout);
|
|
|
|
|
|
// if the user has indicated that PCM only works for stereo, and that
|
|
|
// the receiver supports AC3, set this extra option that allows us to transcode
|
|
@@ -1074,7 +1074,7 @@ void PlayerComponent::updateVideoSettings()
|
|
|
setAudioDelay(m_playbackAudioDelay);
|
|
|
|
|
|
QVariant cache = SettingsComponent::Get().value(SETTINGS_SECTION_VIDEO, "cache");
|
|
|
- mpv::qt::set_option_variant(m_mpv, "cache", cache.toInt() * 1024);
|
|
|
+ mpv::qt::set_property(m_mpv, "cache", cache.toInt() * 1024);
|
|
|
|
|
|
updateVideoAspectSettings();
|
|
|
}
|
|
@@ -1263,7 +1263,7 @@ void PlayerComponent::setPreferredCodecs(const QList<CodecDriver>& codecs)
|
|
|
{
|
|
|
if (codec.type == CodecType::Decoder)
|
|
|
{
|
|
|
- items << QString("lavc:") + codec.driver;
|
|
|
+ items << codec.driver;
|
|
|
}
|
|
|
}
|
|
|
QString opt = items.join(",");
|