Skip to content
Permalink
Browse files
[WPE] Build failure with ENABLE_VIDEO=OFF when GStreamer is not avail…
…able

https://bugs.webkit.org/show_bug.cgi?id=183811

Reviewed by Philippe Normand.

Add build guards for USE_GSTREAMER.

No new tests, it is a build fix.

* platform/graphics/gstreamer/GStreamerUtilities.h:

Canonical link: https://commits.webkit.org/199447@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
clopez committed Mar 21, 2018
1 parent f7d2c58 commit 7ba1fbe5bbbcbf85f90e08491fe9ec05bb1c2a2b
Showing with 15 additions and 0 deletions.
  1. +13 −0 Source/WebCore/ChangeLog
  2. +2 −0 Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h
@@ -1,3 +1,16 @@
2018-03-21 Carlos Alberto Lopez Perez <clopez@igalia.com>

[WPE] Build failure with ENABLE_VIDEO=OFF when GStreamer is not available
https://bugs.webkit.org/show_bug.cgi?id=183811

Reviewed by Philippe Normand.

Add build guards for USE_GSTREAMER.

No new tests, it is a build fix.

* platform/graphics/gstreamer/GStreamerUtilities.h:

2018-03-21 Zan Dobersek <zdobersek@igalia.com>

[Cairo] Draw Cairo patterns with cairo_paint_with_alpha()
@@ -20,6 +20,7 @@
#pragma once


#if USE(GSTREAMER)
#include "FloatSize.h"
#include <gst/gst.h>
#include <gst/video/video-format.h>
@@ -85,3 +86,4 @@ bool gstRegistryHasElementForMediaType(GList* elementFactories, const char* caps
#ifndef GST_BUFFER_DTS_OR_PTS
#define GST_BUFFER_DTS_OR_PTS(buffer) (GST_BUFFER_DTS_IS_VALID(buffer) ? GST_BUFFER_DTS(buffer) : GST_BUFFER_PTS(buffer))
#endif
#endif // USE(GSTREAMER)

0 comments on commit 7ba1fbe

Please sign in to comment.