mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 946027 - Expose subdecoder's owner to avoid breaking DXVA decoding in MSE. r=cpearce
This commit is contained in:
parent
ed0799ddb8
commit
7ad29231e2
@ -72,7 +72,7 @@ public:
|
||||
|
||||
virtual void OnReadMetadataCompleted() MOZ_FINAL MOZ_OVERRIDE;
|
||||
|
||||
virtual MediaDecoderOwner* GetOwner() MOZ_FINAL MOZ_OVERRIDE;
|
||||
virtual MediaDecoderOwner* GetOwner() MOZ_OVERRIDE;
|
||||
|
||||
virtual void NotifyWaitingForResourcesStatusChanged() MOZ_FINAL MOZ_OVERRIDE;
|
||||
|
||||
|
@ -96,6 +96,12 @@ SubBufferDecoder::GetImageContainer()
|
||||
return mParentDecoder->GetImageContainer();
|
||||
}
|
||||
|
||||
MediaDecoderOwner*
|
||||
SubBufferDecoder::GetOwner()
|
||||
{
|
||||
return mParentDecoder->GetOwner();
|
||||
}
|
||||
|
||||
int64_t
|
||||
SubBufferDecoder::ConvertToByteOffset(double aTime)
|
||||
{
|
||||
|
@ -44,6 +44,7 @@ public:
|
||||
virtual void SetMediaSeekable(bool aMediaSeekable) MOZ_OVERRIDE;
|
||||
virtual void SetTransportSeekable(bool aTransportSeekable) MOZ_OVERRIDE;
|
||||
virtual layers::ImageContainer* GetImageContainer() MOZ_OVERRIDE;
|
||||
virtual MediaDecoderOwner* GetOwner() MOZ_OVERRIDE;
|
||||
|
||||
void NotifyDataArrived(const char* aBuffer, uint32_t aLength, int64_t aOffset)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user