Bug 1153049: Fix linux build ON A CLOSED TREE. a=bustage
authorJean-Yves Avenard <jyavenard@mozilla.com>
Tue, 14 Apr 2015 16:11:14 +1000
changeset 268818 bf8582b32c795b52f157fdb5e74d2a116aa1f27a
parent 268817 65492fe833627d14e292d63de5b8695011127c6f
child 268819 b9ec1ecedfbbbf91288f5a810a694c21fcb1f9b8
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1153049
milestone40.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 1153049: Fix linux build ON A CLOSED TREE. a=bustage
dom/media/gstreamer/GStreamerReader.cpp
--- a/dom/media/gstreamer/GStreamerReader.cpp
+++ b/dom/media/gstreamer/GStreamerReader.cpp
@@ -492,20 +492,20 @@ nsresult GStreamerReader::ReadMetadata(M
       mDecoder->SetMediaDuration(duration);
     }
   }
 
   int n_video = 0, n_audio = 0;
   g_object_get(mPlayBin, "n-video", &n_video, "n-audio", &n_audio, nullptr);
 
   if (!n_video) {
-    mInfo->mVideo = VideoInfo();
+    mInfo.mVideo = VideoInfo();
   }
   if (!n_audio) {
-    mInfo->mAudio = AudioInfo();
+    mInfo.mAudio = AudioInfo();
   }
   *aInfo = mInfo;
 
   *aTags = nullptr;
 
   // Watch the pipeline for fatal errors
 #if GST_VERSION_MAJOR >= 1
   gst_bus_set_sync_handler(mBus, GStreamerReader::ErrorCb, this, nullptr);