mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Fix canPlayType/isTypeSupported for AV1 content
This commit is contained in:
parent
6676331d30
commit
cbacc81f82
6 changed files with 35 additions and 33 deletions
|
|
@ -345,6 +345,11 @@ IsVP8CodecString(const nsAString& aCodec);
|
|||
bool
|
||||
IsVP9CodecString(const nsAString& aCodec);
|
||||
|
||||
#ifdef MOZ_AV1
|
||||
bool
|
||||
IsAV1CodecString(const nsAString& aCodec);
|
||||
#endif
|
||||
|
||||
// Try and create a TrackInfo with a given codec MIME type.
|
||||
UniquePtr<TrackInfo>
|
||||
CreateTrackInfoWithMIMEType(const nsACString& aCodecMIMEType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue