From df1c1b8d25f8ae227ee76399f6ef7b6b98f34201 Mon Sep 17 00:00:00 2001 From: Rainer Hochecker Date: Sun, 28 Dec 2014 10:22:50 +0100 Subject: [PATCH] dvdplayer: drop setting sync methods for sync playback to display. default to resample and drop/dup for passthrough --- language/English/strings.po | 28 ++----------------------- system/settings/settings.xml | 16 -------------- xbmc/cores/dvdplayer/DVDPlayerAudio.cpp | 2 +- 3 files changed, 3 insertions(+), 43 deletions(-) diff --git a/language/English/strings.po b/language/English/strings.po index 14ee7b4e7005e..62b72b8faa720 100755 --- a/language/English/strings.po +++ b/language/English/strings.po @@ -6339,27 +6339,7 @@ msgctxt "#13459" msgid "Use OMXPlayer for decoding of video files." msgstr "" -#empty strings from id 13460 to 13499 - -#: system/settings/settings.xml -msgctxt "#13500" -msgid "A/V sync method" -msgstr "" - -#: system/settings/settings.xml -msgctxt "#13501" -msgid "Audio clock" -msgstr "" - -#: system/settings/settings.xml -msgctxt "#13502" -msgid "Video clock (Drop/Dupe audio)" -msgstr "" - -#: system/settings/settings.xml -msgctxt "#13503" -msgid "Video clock (Resample audio)" -msgstr "" +#empty strings from id 13460 to 13503 #: system/settings/settings.xml msgctxt "#13504" @@ -14115,11 +14095,7 @@ msgctxt "#36166" msgid "Synchronise the video to the refresh rate of the monitor." msgstr "" -#. Description of setting "Videos -> Playback -> A/V sync method" with label #13500 -#: system/settings/settings.xml -msgctxt "#36167" -msgid "Audio has to stay in sync, this can either be done by resampling, skipping/duplicating packets, or adjusting the clock if it gets out of sync too far." -msgstr "" +#empty string with id 36167 #. Description of setting "Videos -> Playback -> Maximum speedup/slowdown amount (%)" with label #13504 #: system/settings/settings.xml diff --git a/system/settings/settings.xml b/system/settings/settings.xml index a85575be45f36..94e3022a3502f 100644 --- a/system/settings/settings.xml +++ b/system/settings/settings.xml @@ -428,21 +428,6 @@ false - - 2 - 2 - - - - - - - - - true - - - 4 5.0 @@ -455,7 +440,6 @@ true - 2 diff --git a/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp b/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp index f567518c4f250..adbeee8e212b6 100644 --- a/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayerAudio.cpp @@ -186,7 +186,7 @@ void CDVDPlayerAudio::OpenStream( CDVDStreamInfo &hints, CDVDAudioCodec* codec ) m_synctype = SYNC_DISCON; m_setsynctype = SYNC_DISCON; if (CSettings::Get().GetBool("videoplayer.usedisplayasclock")) - m_setsynctype = CSettings::Get().GetInt("videoplayer.synctype"); + m_setsynctype = SYNC_RESAMPLE; m_prevsynctype = -1; m_error = 0;