Ticket #3731: 3731.diff

File 3731.diff, 765 bytes (added by paulh, 16 years ago)

Possible fix

  • libs/libmythtv/avformatdecoder.cpp

     
    33743374                {
    33753375                    bool reselectAudioTrack = false;
    33763376
     3377                    if (!GetNVP()->HasAudioIn())
     3378                    {
     3379                        VERBOSE(VB_AUDIO, LOC + "Audio is disabled - trying to restart it");
     3380                        reselectAudioTrack = true;
     3381                    }
     3382
    33773383                    // detect switches between stereo and dual languages
    33783384                    bool wasDual = audSubIdx != -1;
    33793385                    bool isDual = curstream->codec->avcodec_dual_language;