Browse Source

More bustage fixes

Bill Gianopoulos 4 years ago
parent
commit
21b1b72ac1

+ 2 - 2
rel-257/libdav1d/patches/1417050-1-63a1.patch

@@ -66,12 +66,12 @@ diff --git a/dom/media/mp4/MP4Decoder.cpp b/dom/media/mp4/MP4Decoder.cpp
        }
 +#ifdef MOZ_AV1
 +    if (IsAV1CodecString(codec)) {
-+      tracks.AppendElement(
++      trackInfos.AppendElement(
 +        CreateTrackInfoWithMIMETypeAndContainerTypeExtraParameters(
 +          NS_LITERAL_CSTRING("video/") + NS_ConvertUTF16toUTF8(codec), aType));
 +      continue;
 +    }
-++#endif
++#endif
        // Note: Only accept H.264 in a video content type, not in an audio
        // content type.
        if (IsWhitelistedH264Codec(codec) && isVideo) {

+ 1 - 1
rel-257/libdav1d/patches/1451926-av1-61a1.patch

@@ -127,7 +127,7 @@ diff --git a/dom/media/webm/WebMDecoder.cpp b/dom/media/webm/WebMDecoder.cpp
  #ifdef MOZ_AV1
 -    if (isVideo && AOMDecoder::IsSupportedCodec(codec)) {
 +    if (isVideo && MediaPrefs::AV1Enabled() &&
-+        AOMDecoder::IsSupportedCodec(codec)) {
++       IsAV1CodecString(codec)) { 
        continue;
      }
  #endif