Bug 1049133 - Add API for eviction offset; r=kinetik

This commit is contained in:
Anthony Jones 2014-08-18 13:02:25 +12:00
parent 0d6ac1003c
commit e6694479bd

View File

@ -159,6 +159,7 @@ public:
// Only used by WebMReader and MediaOmxReader for now, so stub here rather
// than in every reader than inherits from MediaDecoderReader.
virtual void NotifyDataArrived(const char* aBuffer, uint32_t aLength, int64_t aOffset) {}
virtual int64_t GetEvictionOffset(double aTime) { return -1; }
virtual MediaQueue<AudioData>& AudioQueue() { return mAudioQueue; }
virtual MediaQueue<VideoData>& VideoQueue() { return mVideoQueue; }