summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/agnostic/AOMDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/platforms/agnostic/AOMDecoder.h')
-rw-r--r--dom/media/platforms/agnostic/AOMDecoder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/media/platforms/agnostic/AOMDecoder.h b/dom/media/platforms/agnostic/AOMDecoder.h
index ec6b1f95a..1e2b76c2c 100644
--- a/dom/media/platforms/agnostic/AOMDecoder.h
+++ b/dom/media/platforms/agnostic/AOMDecoder.h
@@ -34,6 +34,9 @@ public:
// by our demuxers to identify AV1 streams.
static bool IsAV1(const nsACString& aMimeType);
+ // Return true if aCodecType is a supported codec description.
+ static bool IsSupportedCodec(const nsAString& aCodecType);
+
// Return true if a sample is a keyframe.
static bool IsKeyframe(Span<const uint8_t> aBuffer);