Skip to content

Commit

Permalink
Show "Use FFmpeg's original MPEG-TS demuxer" option
Browse files Browse the repository at this point in the history
Make the option "Use FFmpeg's original MPEG-TS demuxer" in mythfrontend
menu Setup/Video/Playback/General Playback available in all builds instead
of only in the debug builds.
This option has been proven useful when playing back problematic recordings
of the Finnish YLE channel.

Refs #351
Refs #trac-13557

(cherry picked from commit cdcbb4c)
Signed-off-by: Klaas de Waal <kdewaal@mythtv.org>
  • Loading branch information
kmdewaal committed Apr 1, 2021
1 parent dbac81d commit 563a05b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions mythtv/programs/mythfrontend/globalsettings.cpp
Expand Up @@ -128,7 +128,6 @@ static HostTextEditSetting *VAAPIDevice()
}
#endif

#if CONFIG_DEBUGTYPE
static HostCheckBoxSetting *FFmpegDemuxer()
{
HostCheckBoxSetting *gc = new HostCheckBoxSetting("FFMPEGTS");
Expand All @@ -138,11 +137,10 @@ static HostCheckBoxSetting *FFmpegDemuxer()
gc->setValue(false);

gc->setHelpText(PlaybackSettings::tr("Experimental: Enable this setting to "
"use FFmpeg's native demuxer. Things "
"will be broken."));
"use FFmpeg's native demuxer. "
"Try this when encountering playback issues."));
return gc;
}
#endif

static HostComboBoxSetting *PIPLocationComboBox()
{
Expand Down Expand Up @@ -4263,9 +4261,7 @@ void PlaybackSettings::Load(void)
general->addChild(ContinueEmbeddedTVPlay());
general->addChild(LiveTVIdleTimeout());

#if CONFIG_DEBUGTYPE
general->addChild(FFmpegDemuxer());
#endif

general->addChild(new PlayBackScaling());

Expand Down

0 comments on commit 563a05b

Please sign in to comment.