Skip to content

Commit

Permalink
fixup! [mmalcodec] flags debug
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 19, 2015
1 parent ab2be8b commit 8401f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoRenderers/MMALRenderer.cpp
Expand Up @@ -448,9 +448,9 @@ void CMMALRenderer::RenderUpdate(bool clear, DWORD flags, DWORD alpha)
}
else if (m_format == RENDER_FMT_YUV420P)
{
CLog::Log(LOGDEBUG, "%s::%s - %p %d f:%x", CLASSNAME, __func__, buffer->mmal_buffer, source, buffer->mmal_buffer->flags);
if (buffer->mmal_buffer)
{
CLog::Log(LOGDEBUG, "%s::%s - %p %d f:%x", CLASSNAME, __func__, buffer->mmal_buffer, source, buffer->mmal_buffer->flags);
// we only want to upload frames once
if (buffer->mmal_buffer->flags & MMAL_BUFFER_HEADER_FLAG_USER1)
goto done;
Expand Down

0 comments on commit 8401f9e

Please sign in to comment.