Title: [141398] trunk/Source/WebCore
Revision
141398
Author
ph...@webkit.org
Date
2013-01-31 03:44:58 -0800 (Thu, 31 Jan 2013)

Log Message

Unreviewed, Qt build fix after r141265.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
Avoid uninitialized variable error when NATIVE_FULLSCREEN_VIDEO is disabled.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (141397 => 141398)


--- trunk/Source/WebCore/ChangeLog	2013-01-31 11:44:49 UTC (rev 141397)
+++ trunk/Source/WebCore/ChangeLog	2013-01-31 11:44:58 UTC (rev 141398)
@@ -1,3 +1,10 @@
+2013-01-31  Philippe Normand  <pnorm...@igalia.com>
+
+        Unreviewed, Qt build fix after r141265.
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
+        Avoid uninitialized variable error when NATIVE_FULLSCREEN_VIDEO is disabled.
+
 2013-01-31  Kent Tamura  <tk...@chromium.org>
 
         Click on a label element won't select input[type=date]

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp (141397 => 141398)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2013-01-31 11:44:49 UTC (rev 141397)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp	2013-01-31 11:44:58 UTC (rev 141398)
@@ -1782,12 +1782,14 @@
 
 PlatformMedia MediaPlayerPrivateGStreamer::platformMedia() const
 {
+#if USE(NATIVE_FULLSCREEN_VIDEO)
     PlatformMedia p;
-#if USE(NATIVE_FULLSCREEN_VIDEO)
     p.type = PlatformMedia::GStreamerGWorldType;
     p.media.gstreamerGWorld = m_gstGWorld.get();
+    return p;
+#else
+    return NoPlatformMedia;
 #endif
-    return p;
 }
 
 MediaPlayer::MovieLoadType MediaPlayerPrivateGStreamer::movieLoadType() const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to