[mythtv-commits] Ticket #13247: Backend won't change inputs with PVR-150 - regression from 27.6

MythTV noreply at mythtv.org
Wed Mar 14 02:42:56 UTC 2018


#13247: Backend won't change inputs with PVR-150 - regression from 27.6
----------------------------------+------------------------------
 Reporter:  ltskinol@…            |          Owner:  jyavenard
     Type:  Bug Report - General  |         Status:  new
 Priority:  major                 |      Milestone:  needs_triage
Component:  MythTV - Recording    |        Version:  v29.1
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+------------------------------

Comment (by ltskinol@…):

 Oops - pasted in commit N+1.  That commit was just a rename.  Here's the
 real erroneous change:

      if (!inputname.isEmpty())
      {
 -        int current_input = channel->GetCurrentInputNum();
 -        int new_input     = channel->GetInputByName(inputname);
 -        curCardID = channel->GetInputCardID(current_input);
 -        newCardID = channel->GetInputCardID(new_input);
 +        curCardID = channel->GetInputID();
 +        newCardID = channel->GetInputID();
          LOG(VB_GENERAL, LOG_INFO, LOC + QString("HW Tuner: %1->%2")
                  .arg(curCardID).arg(newCardID));
      }

 108d12d6507a9b6f61c81a7335e9c40fba96dce5, ( gigem committed on Jul 12,
 2015 ).

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13247#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list