}
if (!omx_running) return 0; // if we are not runnig do not do this
- //if (paused) return 0; //Block if we pause
+ if (vw->isClockPaused()) return 0; //Block if we pause
//Log::getInstance()->log("Audio", Log::DEBUG, "DMP mark 1");
//Log::getInstance()->log("Audio", Log::DEBUG, "DeliverMediaPacketOMX time %lld",packet.presentation_time);
if (!omx_running) return 0; // if we are not runnig do not do this
- //if (paused) return 0; //Block if we pause
+ if (isClockPaused()) return 0; //Block if we pause
// Log::getInstance()->log("Video", Log::DEBUG, "DMP mark 1");
//Log::getInstance()->log("Video", Log::DEBUG, "DeliverMediaPacketOMX time %lld",packet.presentation_time);
OMX_ERRORTYPE ProtOMXEmptyThisBuffer(OMX_HANDLETYPE handle, OMX_BUFFERHEADERTYPE* buffer);
void clockPause();
void clockUnpause();
+ bool isClockPaused() {return clockpaused;};
void interlaceSwitch4Demux();