avoid buffer decode when paused
CyrCom opened this issue · comments
CyrCom commented
Hi.
When a media is paused, I get timeout errors every 500ms, I think think function should avoid reeding buffer if media is paused. (or even avoid being called)
ofxOMXPlayer/src/BaseVideoDecoder.cpp
Line 160 in a295e72
thanks !
CyrCom commented
Those errors:
[ error ] OMX_BUFFERHEADERTYPE* Component::getInputBuffer(long int): OMX.broadcom.video_decode TIMEOUT
[ error ] bool BaseVideoDecoder::decode(uint8_t*, int, double): Decode timeout