mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 1219163. Part 1 - Remove unused functions from AbstractMediaDecoder. r=jya.
This commit is contained in:
parent
321718db5f
commit
a7be18a6e3
@ -111,10 +111,6 @@ public:
|
|||||||
virtual void MetadataLoaded(nsAutoPtr<MediaInfo> aInfo, nsAutoPtr<MetadataTags> aTags, MediaDecoderEventVisibility aEventVisibility) = 0;
|
virtual void MetadataLoaded(nsAutoPtr<MediaInfo> aInfo, nsAutoPtr<MetadataTags> aTags, MediaDecoderEventVisibility aEventVisibility) = 0;
|
||||||
virtual void FirstFrameLoaded(nsAutoPtr<MediaInfo> aInfo, MediaDecoderEventVisibility aEventVisibility) = 0;
|
virtual void FirstFrameLoaded(nsAutoPtr<MediaInfo> aInfo, MediaDecoderEventVisibility aEventVisibility) = 0;
|
||||||
|
|
||||||
// May be called by the reader to notify this decoder that the metadata from
|
|
||||||
// the media file has been read. Call on the decode thread only.
|
|
||||||
virtual void OnReadMetadataCompleted() = 0;
|
|
||||||
|
|
||||||
// Returns the owner of this media decoder. The owner should only be used
|
// Returns the owner of this media decoder. The owner should only be used
|
||||||
// on the main thread.
|
// on the main thread.
|
||||||
virtual MediaDecoderOwner* GetOwner() = 0;
|
virtual MediaDecoderOwner* GetOwner() = 0;
|
||||||
|
@ -607,10 +607,6 @@ private:
|
|||||||
// change. Call on the main thread only.
|
// change. Call on the main thread only.
|
||||||
virtual void ChangeState(PlayState aState);
|
virtual void ChangeState(PlayState aState);
|
||||||
|
|
||||||
// May be called by the reader to notify this decoder that the metadata from
|
|
||||||
// the media file has been read. Call on the decode thread only.
|
|
||||||
void OnReadMetadataCompleted() override { }
|
|
||||||
|
|
||||||
// Called when the metadata from the media file has been loaded by the
|
// Called when the metadata from the media file has been loaded by the
|
||||||
// state machine. Call on the main thread only.
|
// state machine. Call on the main thread only.
|
||||||
virtual void MetadataLoaded(nsAutoPtr<MediaInfo> aInfo,
|
virtual void MetadataLoaded(nsAutoPtr<MediaInfo> aInfo,
|
||||||
|
@ -96,12 +96,6 @@ BufferDecoder::FirstFrameLoaded(nsAutoPtr<MediaInfo> aInfo, MediaDecoderEventVis
|
|||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
BufferDecoder::OnReadMetadataCompleted()
|
|
||||||
{
|
|
||||||
// ignore
|
|
||||||
}
|
|
||||||
|
|
||||||
MediaDecoderOwner*
|
MediaDecoderOwner*
|
||||||
BufferDecoder::GetOwner()
|
BufferDecoder::GetOwner()
|
||||||
{
|
{
|
||||||
|
@ -53,8 +53,6 @@ public:
|
|||||||
virtual void FirstFrameLoaded(nsAutoPtr<MediaInfo> aInfo,
|
virtual void FirstFrameLoaded(nsAutoPtr<MediaInfo> aInfo,
|
||||||
MediaDecoderEventVisibility aEventVisibility) final override;
|
MediaDecoderEventVisibility aEventVisibility) final override;
|
||||||
|
|
||||||
virtual void OnReadMetadataCompleted() final override;
|
|
||||||
|
|
||||||
virtual MediaDecoderOwner* GetOwner() final override;
|
virtual MediaDecoderOwner* GetOwner() final override;
|
||||||
|
|
||||||
virtual void NotifyDataArrived() final override {};
|
virtual void NotifyDataArrived() final override {};
|
||||||
|
Loading…
Reference in New Issue
Block a user