summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/EncoderConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/platforms/EncoderConfig.h')
-rw-r--r--dom/media/platforms/EncoderConfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/media/platforms/EncoderConfig.h b/dom/media/platforms/EncoderConfig.h
index e0da1709d6..15241b71c1 100644
--- a/dom/media/platforms/EncoderConfig.h
+++ b/dom/media/platforms/EncoderConfig.h
@@ -159,6 +159,8 @@ class EncoderConfig final {
static CodecType CodecTypeForMime(const nsACString& aMimeType);
+ nsCString ToString() const;
+
bool IsVideo() const {
return mCodec > CodecType::_BeginVideo_ && mCodec < CodecType::_EndVideo_;
}