Skip to content

Commit

Permalink
Make sure DVD menu highlight isn't hidden immediately due to framerate
Browse files Browse the repository at this point in the history
being set to zero, which, when followed down the chain, causes a video
re-initialisation, which clears any subpicture.

Fixes #11443

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>
  • Loading branch information
Richard authored and stuartm committed Mar 6, 2013
1 parent d131dae commit dbf2878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/avformatdecoder.cpp
Expand Up @@ -1790,7 +1790,6 @@ int AvFormatDecoder::ScanStreams(bool novideo)
bool unknownbitrate = false;
int scanerror = 0;
bitrate = 0;
fps = 0;

tracks[kTrackTypeAttachment].clear();
tracks[kTrackTypeAudio].clear();
Expand All @@ -1803,6 +1802,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
// we will rescan video streams
tracks[kTrackTypeVideo].clear();
selectedTrack[kTrackTypeVideo].av_stream_index = -1;
fps = 0;
}
map<int,uint> lang_sub_cnt;
uint subtitleStreamCount = 0;
Expand Down

0 comments on commit dbf2878

Please sign in to comment.