mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Remove OMX_PLATFORM_GONK
This commit is contained in:
parent
e99eefeb84
commit
f75592fd13
1 changed files with 1 additions and 22 deletions
|
|
@ -282,26 +282,7 @@ OmxPlatformLayer::CompressionFormat()
|
|||
}
|
||||
}
|
||||
|
||||
// Implementations for different platforms will be defined in their own files.
|
||||
#ifdef OMX_PLATFORM_GONK
|
||||
|
||||
bool
|
||||
OmxPlatformLayer::SupportsMimeType(const nsACString& aMimeType)
|
||||
{
|
||||
return GonkOmxPlatformLayer::FindComponents(aMimeType);
|
||||
}
|
||||
|
||||
OmxPlatformLayer*
|
||||
OmxPlatformLayer::Create(OmxDataDecoder* aDataDecoder,
|
||||
OmxPromiseLayer* aPromiseLayer,
|
||||
TaskQueue* aTaskQueue,
|
||||
layers::ImageContainer* aImageContainer)
|
||||
{
|
||||
return new GonkOmxPlatformLayer(aDataDecoder, aPromiseLayer, aTaskQueue, aImageContainer);
|
||||
}
|
||||
|
||||
#else // For platforms without OMX IL support.
|
||||
|
||||
// For platforms without OMX IL support.
|
||||
bool
|
||||
OmxPlatformLayer::SupportsMimeType(const nsACString& aMimeType)
|
||||
{
|
||||
|
|
@ -317,6 +298,4 @@ OmxPlatformLayer::Create(OmxDataDecoder* aDataDecoder,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue