Bug 1073805 - Don't set the is-adts flag for the Android PDM r=rillian a=lmandel
authorJames Willcox <snorp@snorp.net>
Tue, 18 Nov 2014 17:28:50 -0600
changeset 226090 058acc4d0acde9cbe7b90b6c80813fe5555aee6d
parent 226089 5610d9bf6c5d77ec8c545044ec40452534f29c3b
child 226091 cc4419d99df32413d1c3daec8d2ed4f14564b782
push id4146
push userjwillcox@mozilla.com
push dateTue, 18 Nov 2014 23:29:08 +0000
treeherdermozilla-beta@cc4419d99df3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian, lmandel
bugs1073805
milestone34.0
Bug 1073805 - Don't set the is-adts flag for the Android PDM r=rillian a=lmandel
content/media/fmp4/android/AndroidDecoderModule.cpp
--- a/content/media/fmp4/android/AndroidDecoderModule.cpp
+++ b/content/media/fmp4/android/AndroidDecoderModule.cpp
@@ -187,20 +187,16 @@ AndroidDecoderModule::CreateAudioDecoder
     csd0[1] = aConfig.audio_specific_config[1];
 
     jobject buffer = env->NewDirectByteBuffer(csd0, 2);
     format->SetByteBuffer(NS_LITERAL_CSTRING("csd-0"), buffer);
 
     env->DeleteLocalRef(buffer);
   }
 
-  if (strcmp(aConfig.mime_type, "audio/mp4a-latm") == 0) {
-    format->SetInteger(NS_LITERAL_CSTRING("is-adts"), 1);
-  }
-
   nsRefPtr<MediaDataDecoder> decoder =
     new AudioDataDecoder(aConfig.mime_type, format, aCallback);
 
   return decoder.forget();
 
 }