Kodi Community Forum

Full Version: Need help to understand AMLCodec.cpp
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In file xbmc/cores/dvdplayer/DVDCodecs/Video/AMLCodec.cpp in Decode() method we have this code:

// wait until we get a new frame or 25ms,
  if (m_old_pictcnt == m_cur_pictcnt)

  // we must return VC_BUFFER or VC_PICTURE,
  // default to VC_BUFFER.
  int rtn = VC_BUFFER;
  if (m_old_pictcnt != m_cur_pictcnt)

I cant find any place in code where variable m_cur_pictcnt changed. Can anybody specify where i need to look to understand how it works?
Thank you! I can't understand why I didn't find it))