Ticket #11443: 0001-Make-sure-DVD-menu-highlight-isn-t-hidden-immediatel.patch

File 0001-Make-sure-DVD-menu-highlight-isn-t-hidden-immediatel.patch, 1.2 KB (added by peper03@…, 8 years ago)
  • mythtv/libs/libmythtv/avformatdecoder.cpp

    From 1aeb77216b885413be100bb267bd75c404737daf Mon Sep 17 00:00:00 2001
    From: Richard <peper03@yahoo.com>
    Date: Wed, 6 Mar 2013 20:30:29 +0100
    Subject: [PATCH] Make sure DVD menu highlight isn't hidden immediately due to
     framerate being set to zero, which, when followed down the
     chain, causes a video re-initialisation, which clears any
     subpicture.
    
    ---
     mythtv/libs/libmythtv/avformatdecoder.cpp |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index d4f6013..ff661c7 100644
    a b int AvFormatDecoder::ScanStreams(bool novideo) 
    17901790    bool unknownbitrate = false;
    17911791    int scanerror = 0;
    17921792    bitrate       = 0;
    1793     fps           = 0;
    17941793
    17951794    tracks[kTrackTypeAttachment].clear();
    17961795    tracks[kTrackTypeAudio].clear();
    int AvFormatDecoder::ScanStreams(bool novideo) 
    18031802        // we will rescan video streams
    18041803        tracks[kTrackTypeVideo].clear();
    18051804        selectedTrack[kTrackTypeVideo].av_stream_index = -1;
     1805        fps = 0;
    18061806    }
    18071807    map<int,uint> lang_sub_cnt;
    18081808    uint subtitleStreamCount = 0;