Skip to content

Commit

Permalink
[videoplayer] Add logging of message queue levels
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 3, 2020
1 parent 781aada commit 61b69c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xbmc/cores/VideoPlayer/VideoPlayer.cpp
Expand Up @@ -1574,7 +1574,11 @@ void CVideoPlayer::ProcessPacket(CDemuxStream* pStream, DemuxPacket* pPacket)
{
// process packet if it belongs to selected stream.
// for dvd's don't allow automatic opening of streams*/

{
int a = m_VideoPlayerAudio->GetLevel(), v = m_processInfo->GetLevelVQ();
if (a < 75 && v < 75)
CLog::Log(LOGDEBUG, "%s - audio:%d video:%d", __FUNCTION__, a, v);
}
if (CheckIsCurrent(m_CurrentAudio, pStream, pPacket))
ProcessAudioData(pStream, pPacket);
else if (CheckIsCurrent(m_CurrentVideo, pStream, pPacket))
Expand Down

0 comments on commit 61b69c7

Please sign in to comment.