Permalink
Browse files

Remove now useless code.

Thank to Paul Harrison for spotting it
  • Loading branch information...
1 parent 49dbed5 commit 88573b74663fa25dd240238e3517b7eefa3a04e6 @jyavenard jyavenard committed Jan 1, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -1796,7 +1796,7 @@ int AvFormatDecoder::ScanStreams(bool novideo)
tracks[kTrackTypeRawText].clear();
if (!novideo)
{
- // we won't rescan video streams
+ // we will rescan video streams
tracks[kTrackTypeVideo].clear();
selectedTrack[kTrackTypeVideo].av_stream_index = -1;
}
@@ -2046,7 +2046,6 @@ int AvFormatDecoder::ScanStreams(bool novideo)
for(;;)
{
AVCodec *codec = NULL;
- selectedTrack[kTrackTypeVideo].av_stream_index == -1;
LOG(VB_PLAYBACK, LOG_INFO, LOC +
"Trying to select best video track");

0 comments on commit 88573b7

Please sign in to comment.