зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1316211. P10 - make SizeOf{Audio,Video}QueueInFrames() pure virtual which will be overridden by MFR. r=gerald
MozReview-Commit-ID: 5a4qTXVWdG1 --HG-- extra : rebase_source : 891470ac9bc3df6425ee190a98acea55902bf66f extra : source : b7916e882c764cd3402f19a0985961a277264f12
This commit is contained in:
Родитель
0ffa647791
Коммит
11bf9c01e0
|
@ -63,16 +63,6 @@ MediaDecoderReader::~MediaDecoderReader()
|
|||
MOZ_COUNT_DTOR(MediaDecoderReader);
|
||||
}
|
||||
|
||||
size_t MediaDecoderReader::SizeOfVideoQueueInFrames()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t MediaDecoderReader::SizeOfAudioQueueInFrames()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
MediaDecoderReader::UpdateDuration(const media::TimeUnit& aDuration)
|
||||
{
|
||||
|
|
|
@ -195,8 +195,8 @@ public:
|
|||
// cases like MSE.
|
||||
virtual bool UseBufferingHeuristics() const = 0;
|
||||
|
||||
virtual size_t SizeOfVideoQueueInFrames();
|
||||
virtual size_t SizeOfAudioQueueInFrames();
|
||||
virtual size_t SizeOfVideoQueueInFrames() = 0;
|
||||
virtual size_t SizeOfAudioQueueInFrames() = 0;
|
||||
|
||||
// Called once new data has been cached by the MediaResource.
|
||||
// mBuffered should be recalculated and updated accordingly.
|
||||
|
|
Загрузка…
Ссылка в новой задаче