Ticket #3260: dont_apply_audio_autoselect_on_videos.diff

File dont_apply_audio_autoselect_on_videos.diff, 516 bytes (added by skamithi, 17 years ago)

patch prevents the audio autoselection code from executing if you play a file flagged as a video (non-dvd). Shouldn't affect regular recordings.

  • libs/libmythtv/avformatdecoder.cpp

     
    15771578            }
    15781579        }
    15791580    }
     1581    else if (m_playbackinfo && m_playbackinfo->isVideo &&
     1582                tracks[kTrackTypeAudio].size() > 1)
     1583    {
     1584        SetTrack(kTrackTypeAudio, 0);
     1585    }
    15801586
    15811587    // Select a new track at the next opportunity.
    15821588    ResetTracks();