Permalink
Browse files

Apply preroll on virtual tuners when the same multiplex is in use.

Previously, if any tuner in the same input group was already busy,
preroll would not be applied.  Now, if the recording on the other
input is on the same multiplex as the new recording, preroll will be
applied.

Fixes #12023
  • Loading branch information...
1 parent f936031 commit 11e65dfd38ca419b2157f0dbaa19f965647f648c @gigem gigem committed Feb 26, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/programs/mythbackend/scheduler.cpp
@@ -1755,6 +1755,9 @@ bool Scheduler::IsBusyRecording(const RecordingInfo *rcinfo)
rctv = (*m_tvList)[cardids[i]];
if (rctv->IsBusy(&busy_input, -1) &&
+ (busy_input.mplexid == 0 ||
+ busy_input.mplexid == 32767 ||
+ busy_input.mplexid != rcinfo->mplexid) &&
igrp.GetSharedInputGroup(busy_input.inputid, inputid))
{
return true;

0 comments on commit 11e65df

Please sign in to comment.