Permalink
Browse files

Add setting to always use FFmpeg's MPEG-TS demuxer when available.

This will be used for debugging while transitioning to this demuxer
  • Loading branch information...
jyavenard committed Jul 16, 2013
1 parent 7aa418f commit 72533b12ca5ecc0d711f559207d4f7d0f898d3e5
Showing with 11 additions and 0 deletions.
  1. +11 −0 mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -969,6 +969,17 @@ int AvFormatDecoder::OpenFile(RingBuffer *rbuffer, bool novideo,
return -1;
}
if (!strcmp(fmt->name, "mpegts") &&
gCoreContext->GetNumSetting("FFMPEGTS", false))
{
AVInputFormat *fmt2 = av_find_input_format("mpegts-ffmpeg");
if (fmt2)
{
fmt = fmt2;
LOG(VB_PLAYBACK, LOG_INFO, LOC + "Using FFmpeg MPEG-TS demuxer (forced)");
}
}
int err;
while (true)
{

0 comments on commit 72533b1

Please sign in to comment.