Bug 1368850 - fix warning message about enumeration value 'mp4parse_codec_MP4V' not handled. r=gerald
authorAlfredo Yang <ayang@mozilla.com>
Wed, 31 May 2017 15:38:00 +0800
changeset 409597 e1d2707ee01d7ea77d580a59ce51f579f62b9bc5
parent 409596 55a1612e3e5823cab4cea3e453e1a678434ea47d
child 409598 0144d912dcf0bba914e62a67b5d34fe1403d06c7
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerald
bugs1368850
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1368850 - fix warning message about enumeration value 'mp4parse_codec_MP4V' not handled. r=gerald MozReview-Commit-ID: 9z6DMh872QR
media/libstagefright/binding/MP4Metadata.cpp
--- a/media/libstagefright/binding/MP4Metadata.cpp
+++ b/media/libstagefright/binding/MP4Metadata.cpp
@@ -1030,16 +1030,17 @@ MP4MetadataRust::GetTrackInfo(mozilla::T
   switch (info.codec) {
     case mp4parse_codec_UNKNOWN: codec_string = "unknown"; break;
     case mp4parse_codec_AAC: codec_string = "aac"; break;
     case mp4parse_codec_OPUS: codec_string = "opus"; break;
     case mp4parse_codec_FLAC: codec_string = "flac"; break;
     case mp4parse_codec_AVC: codec_string = "h.264"; break;
     case mp4parse_codec_VP9: codec_string = "vp9"; break;
     case mp4parse_codec_MP3: codec_string = "mp3"; break;
+    case mp4parse_codec_MP4V: codec_string = "mp4v"; break;
   }
   MOZ_LOG(sLog, LogLevel::Debug, ("track codec %s (%u)\n",
         codec_string, info.codec));
 #endif
 
   // This specialization interface is crazy.
   UniquePtr<mozilla::TrackInfo> e;
   switch (aType) {