Title: [202851] trunk/Source/WebCore
Revision
202851
Author
[email protected]
Date
2016-07-05 23:52:25 -0700 (Tue, 05 Jul 2016)

Log Message

[GStreamer] Do not build MediaPlayerPrivateGStreamerOwr when VIDEO is disabled
https://bugs.webkit.org/show_bug.cgi?id=159425

Patch by Olivier Blin <[email protected]> on 2016-07-05
Reviewed by Philippe Normand.

MediaPlayer backends are useful and can be built only when VIDEO is enabled.

No new tests, behavior is unchanged.

* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp:
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202850 => 202851)


--- trunk/Source/WebCore/ChangeLog	2016-07-06 06:51:41 UTC (rev 202850)
+++ trunk/Source/WebCore/ChangeLog	2016-07-06 06:52:25 UTC (rev 202851)
@@ -1,3 +1,17 @@
+2016-07-05  Olivier Blin  <[email protected]>
+
+        [GStreamer] Do not build MediaPlayerPrivateGStreamerOwr when VIDEO is disabled
+        https://bugs.webkit.org/show_bug.cgi?id=159425
+
+        Reviewed by Philippe Normand.
+
+        MediaPlayer backends are useful and can be built only when VIDEO is enabled.
+
+        No new tests, behavior is unchanged.
+
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp:
+        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h:
+
 2016-07-05  Per Arne Vollan  <[email protected]>
 
         [Win] Layout Test http/tests/security/contentSecurityPolicy/source-list-parsing-10.html is failing

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp (202850 => 202851)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp	2016-07-06 06:51:41 UTC (rev 202850)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp	2016-07-06 06:52:25 UTC (rev 202851)
@@ -22,7 +22,7 @@
 
 #include "MediaPlayerPrivateGStreamerOwr.h"
 
-#if ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
+#if ENABLE(VIDEO) && ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
 
 #include "GStreamerUtilities.h"
 #include "MediaPlayer.h"
@@ -336,4 +336,4 @@
 
 } // namespace WebCore
 
-#endif // ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
+#endif // ENABLE(VIDEO) && ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h (202850 => 202851)


--- trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h	2016-07-06 06:51:41 UTC (rev 202850)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.h	2016-07-06 06:52:25 UTC (rev 202851)
@@ -20,7 +20,7 @@
 #ifndef MediaPlayerPrivateGStreamerOwr_h
 #define MediaPlayerPrivateGStreamerOwr_h
 
-#if ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
+#if ENABLE(VIDEO) && ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
 
 #include "MediaPlayerPrivateGStreamerBase.h"
 #include "MediaStreamTrackPrivate.h"
@@ -109,6 +109,6 @@
 
 } // namespace WebCore
 
-#endif // ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
+#endif // ENABLE(VIDEO) && ENABLE(MEDIA_STREAM) && USE(GSTREAMER) && USE(OPENWEBRTC)
 
 #endif // MediaPlayerPrivateGStreamerOwr_h
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to