VideoFrame VideoBuffer::getVideoFrame(float pct){ return getVideoFrame(getLastTimestamp()-(getInitTime()+getTotalTime()*pct)); }
pmTimeDiff myAudioBuffer::getTotalTime() { return getLastTimestamp()-getInitTime(); }
TimeDiff VideoBuffer::getTotalTime(){ return getLastTimestamp()-getInitTime(); }
AudioFrame * myAudioBuffer::getAudioFrame(float pct) { return getAudioFrame(getLastTimestamp()-(getInitTime()+getTotalTime()*pct)); }