Ticket #4673: mythtv_IsTunable_need_one_card2.diff

File mythtv_IsTunable_need_one_card2.diff, 836 bytes (added by Shane Shrybman <gnome42@…>, 12 years ago)

Update

  • libs/libmythtv/tv_play.cpp

     
    56205620    vector<uint> interesting = CardUtil::GetCardIDs(sourceid);
    56215621
    56225622    // filter disconnected cards
    5623     vector<uint> cardids = excluded_cards;
     5623    vector<uint> cardids;
    56245624    for (uint i = 0; i < connected.size(); i++)
    56255625    {
    56265626        for (uint j = 0; j < interesting.size(); j++)
     
    56335633        }
    56345634    }
    56355635
     5636    // There are no possible conflicting cards and there is
     5637    // no need to check the current card, it's on the
     5638    // excluded_cards list.
     5639    if (!cardids.size())
     5640        return true;
    56365641#if 0
    56375642    cout << "cardids[" << sourceid << "]: ";
    56385643    for (uint i = 0; i < cardids.size(); i++)