зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1316211. P9 - remove SizeOf{Audio,Video}QueueInBytes() that has no callers. r=gerald
MozReview-Commit-ID: A6TbGMdyDGQ --HG-- extra : rebase_source : 6af7018d0ecea4d11040382ccd3ddf7719979ad2 extra : source : b4a506b3ebfd9ceb8b3eb5a23ea8499e0d3e9ddf
This commit is contained in:
Родитель
afcae477f6
Коммит
0ffa647791
|
@ -63,16 +63,6 @@ MediaDecoderReader::~MediaDecoderReader()
|
|||
MOZ_COUNT_DTOR(MediaDecoderReader);
|
||||
}
|
||||
|
||||
size_t MediaDecoderReader::SizeOfVideoQueueInBytes() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t MediaDecoderReader::SizeOfAudioQueueInBytes() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
size_t MediaDecoderReader::SizeOfVideoQueueInFrames()
|
||||
{
|
||||
return 0;
|
||||
|
|
|
@ -195,14 +195,6 @@ public:
|
|||
// cases like MSE.
|
||||
virtual bool UseBufferingHeuristics() const = 0;
|
||||
|
||||
// Returns the number of bytes of memory allocated by structures/frames in
|
||||
// the video queue.
|
||||
size_t SizeOfVideoQueueInBytes() const;
|
||||
|
||||
// Returns the number of bytes of memory allocated by structures/frames in
|
||||
// the audio queue.
|
||||
size_t SizeOfAudioQueueInBytes() const;
|
||||
|
||||
virtual size_t SizeOfVideoQueueInFrames();
|
||||
virtual size_t SizeOfAudioQueueInFrames();
|
||||
|
||||
|
|
|
@ -64,12 +64,6 @@ public:
|
|||
MediaEventSource<void>& OnMediaNotSeekable() {
|
||||
return mReader->OnMediaNotSeekable();
|
||||
}
|
||||
size_t SizeOfVideoQueueInBytes() const {
|
||||
return mReader->SizeOfVideoQueueInBytes();
|
||||
}
|
||||
size_t SizeOfAudioQueueInBytes() const {
|
||||
return mReader->SizeOfAudioQueueInBytes();
|
||||
}
|
||||
size_t SizeOfAudioQueueInFrames() const {
|
||||
return mReader->SizeOfAudioQueueInFrames();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче