Skip to content

Commit

Permalink
ADD: [amc] Debug: print non-running state
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Oct 29, 2016
1 parent 6b1eb69 commit 3baf147
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -670,6 +670,9 @@ int CDVDVideoCodecAndroidMediaCodec::Decode(uint8_t *pData, int iSize, double dt
if (!m_opened)
return VC_ERROR;

if (m_state != MEDIACODEC_STATE_RUNNING)
CLog::Log(LOGDEBUG, "CDVDVideoCodecAndroidMediaCodec::Decode current state (%d)", m_state);

if (m_hints.ptsinvalid)
pts = DVD_NOPTS_VALUE;

Expand Down

0 comments on commit 3baf147

Please sign in to comment.