Ticket #8265: 8265_fix.diff

File 8265_fix.diff, 1.5 KB (added by skamithi, 16 years ago)
  • mythtv/libs/libmythtv/avformatdecoder.cpp

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index 301c956..77c4bb3 100644
    a b bool AvFormatDecoder::GetFrame(DecodeType decodetype)  
    37503750            if (!d->HasMPEG2Dec())
    37513751            {
    37523752                int current_width = curstream->codec->width;
    3753                 int video_width = GetNVP()->GetVideoSize().width();
    37543753                if (dvd_xvmc_enabled && GetNVP() && GetNVP()->getVideoOutput())
    37553754                {
    37563755                    bool dvd_xvmc_active = false;
    bool AvFormatDecoder::GetFrame(DecodeType decodetype)  
    37703769                    }
    37713770                }
    37723771
    3773                 if ((video_width > 0 && video_width != current_width) ||
    3774                     dvd_video_codec_changed)
     3772                if (dvd_video_codec_changed)
    37753773                {
    3776                     VERBOSE(VB_PLAYBACK, LOC + QString("DVD Stream/Codec Change "
    3777                                 "video_width %1 current_width %2 "
    3778                                 "dvd_video_codec_changed %3")
    3779                             .arg(video_width).arg(current_width)
    3780                             .arg(dvd_video_codec_changed));
     3774                    VERBOSE(VB_PLAYBACK, LOC +
     3775                            "DVD Stream/Codec Change");
    37813776                    av_free_packet(pkt);
    37823777                    if (current_width > 0) {
    37833778                        CloseCodecs();