commit f03a16561211b4a6831501566f54142ab7fc332f
parent c5282c1472737bce24894e862d4f42a94ff73f52
Author: Dave Kozma <dkozma@adobe.com>
Date: Fri, 5 Apr 2024 09:26:12 -0400
Add `video/quicktime` to the list of BMFF MIME types (#441)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdk/src/asset_handlers/bmff_io.rs b/sdk/src/asset_handlers/bmff_io.rs
@@ -65,7 +65,7 @@ const FULL_BOX_TYPES: &[&str; 80] = &[
"txtC", "mime", "uri ", "uriI", "hmhd", "sthd", "vvhd", "medc",
];
-static SUPPORTED_TYPES: [&str; 12] = [
+static SUPPORTED_TYPES: [&str; 13] = [
"avif",
"heif",
"heic",
@@ -78,6 +78,7 @@ static SUPPORTED_TYPES: [&str; 12] = [
"image/heic",
"image/heif",
"video/mp4",
+ "video/quicktime",
];
macro_rules! boxtype {