Ticket #607: onesoundtrack.patch

File onesoundtrack.patch, 816 bytes (added by mythtv@…, 14 years ago)

Proposed patch

  • libs/libmythtv/tv_play.cpp

     
    49714980                                      "TOGGLEAUTOEXPIRE");
    49724981    }
    49734982   
    4974     item = new OSDGenericTree(treeMenu, tr("Select Audio Track"), "NEXTAUDIO");
    4975 
     4983    const QStringList atracks = activenvp->listAudioTracks();
     4984    if (atracks.count() > 1)
    49764985    {
    4977         const QStringList atracks = activenvp->listAudioTracks();
    49784986        int atrack = activenvp->getCurrentAudioTrack();
    49794987
     4988        item = new OSDGenericTree(treeMenu, tr("Select Audio Track"), "NEXTAUDIO");
     4989
    49804990        QStringList::const_iterator it = atracks.begin();
    49814991        for (uint i = 1; it != atracks.end(); ++it, ++i)
    49824992        {