Skip to content

Commit

Permalink
AvFormatDecoder: Avoid a deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Mar 14, 2020
1 parent cb72a36 commit f2ce582
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
Expand Up @@ -4552,10 +4552,8 @@ int AvFormatDecoder::AutoSelectAudioTrack(void)
if (wtrack.m_av_stream_index < 0)
wtrack = strack;

LOG(VB_AUDIO, LOG_INFO, LOC +
QString("Selected track %1 (A/V Stream #%2)")
.arg(GetTrackDesc(kTrackTypeAudio, ctrack))
.arg(strack.m_av_stream_index));
LOG(VB_AUDIO, LOG_INFO, LOC + QString("Selected track %1 (A/V Stream #%2)")
.arg(static_cast<uint>(ctrack)).arg(strack.m_av_stream_index));
}

SetupAudioStream();
Expand Down

0 comments on commit f2ce582

Please sign in to comment.