Skip to content

Commit

Permalink
Add GUI to force the use of FFmpeg's own MPEG-TS demuxer.
Browse files Browse the repository at this point in the history
Option will only show on debug build
  • Loading branch information
jyavenard committed Jul 16, 2013
1 parent 7d086aa commit e99f064
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions mythtv/programs/mythfrontend/globalsettings.cpp
Expand Up @@ -59,6 +59,18 @@ static HostCheckBox *DecodeExtraAudio()
return gc;
}

#if CONFIG_DEBUGTYPE
static HostCheckBox *FFmpegDemuxer()
{
HostCheckBox *gc = new HostCheckBox("FFMPEGTS");
gc->setLabel(QObject::tr("Use FFmpeg's original MPEG-TS demuxer"));
gc->setValue(false);
gc->setHelpText(QObject::tr("Experimental: Enable this setting to use FFmpeg's native demuxer. "
"Things will be broken."));
return gc;
}
#endif

static HostComboBox *PIPLocationComboBox()
{
HostComboBox *gc = new HostComboBox("PIPLocation");
Expand Down Expand Up @@ -3175,6 +3187,9 @@ PlaybackSettings::PlaybackSettings()
column1->addChild(RealtimePriority());
column1->addChild(DecodeExtraAudio());
column1->addChild(JumpToProgramOSD());
#if CONFIG_DEBUGTYPE
column1->addChild(FFmpegDemuxer());
#endif
columns->addChild(column1);

VerticalConfigurationGroup *column2 =
Expand Down

0 comments on commit e99f064

Please sign in to comment.