[mythtv-commits] mythtv commit: r15036 - in branches/mythtv-multirec by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Dec 4 00:46:25 UTC 2007


      Author: danielk
        Date: 2007-12-04 00:46:24 +0000 (Tue, 04 Dec 2007)
New Revision: 15036
   Changeset: http://cvs.mythtv.org/trac/changeset/15036

Added:

   branches/mythtv-multirec/libs/libmythtv/inputgroupmap.cpp
   branches/mythtv-multirec/libs/libmythtv/inputgroupmap.h

Modified:

   branches/mythtv-multirec/libs/libmythtv/libmythtv.pro
   branches/mythtv-multirec/libs/libmythtv/tv_rec.cpp
   branches/mythtv-multirec/libs/libmythtv/tv_rec.h
   branches/mythtv-multirec/programs/mythbackend/scheduler.cpp
   branches/mythtv-multirec/programs/mythbackend/scheduler.h

Log:

Refs #3326. Fixes a phantom conflict problem with input groups.

This fixes the issue reported by Bruce Markley where an in progress recording would be ended prematurely when another recorder wanted to record on an input in the same input group as an input on the card which the in progress recording is, but the in progress recording is using a different input which is not in that input group.

The problem was that TVRec::StartRecording() checked for conflicting cards, but did not check if the input was actually conflicting. The fix was simple, but the to avoid code duplication I moved the input group map out of the scheduler and into inputgroupmap.h. (This is the code as the patch I posted earlier, I just didn't have time to test it earlier.)






More information about the mythtv-commits mailing list