-
philn@webkit.org authored
Reviewed by Martin Robinson. check USE(GSTREAMER) instead of ENABLE(VIDEO) in gstreamer/ files https://bugs.webkit.org/show_bug.cgi?id=46717 Define WTF_USE_GSTREAMER if configure found the gstreamer development files and add the macro in the gcc command-line if needed. * GNUmakefile.am: * configure.ac: WebCore: Reviewed by Martin Robinson. check USE(GSTREAMER) instead of ENABLE(VIDEO) in gstreamer/ files https://bugs.webkit.org/show_bug.cgi?id=46717 Guard the gstreamer/ files with USE(GSTREAMER), which is more explicit than ENABLE(VIDEO). * GNUmakefile.am: Define WTF_USE_GSTREAMER only if GStreamer support is enabled. * platform/graphics/gstreamer/DataSourceGStreamer.cpp: * platform/graphics/gstreamer/DataSourceGStreamer.h: * platform/graphics/gstreamer/GOwnPtrGStreamer.cpp: * platform/graphics/gstreamer/GOwnPtrGStreamer.h: * platform/graphics/gstreamer/GStreamerGWorld.cpp: * platform/graphics/gstreamer/GStreamerGWorld.h: * platform/graphics/gstreamer/ImageGStreamer.h: * platform/graphics/gstreamer/ImageGStreamerCG.mm: * platform/graphics/gstreamer/ImageGStreamerCairo.cpp: * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h: * platform/graphics/gstreamer/PlatformVideoWindow.h: * platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp: * platform/graphics/gstreamer/PlatformVideoWindowGtk.cpp: * platform/graphics/gstreamer/VideoSinkGStreamer.cpp: * platform/graphics/gstreamer/VideoSinkGStreamer.h: * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: * platform/graphics/gstreamer/WebKitWebSourceGStreamer.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f643ed6e