2010-09-28 Philippe Normand <pnormand@igalia.com>
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Sep 2010 06:50:34 +0000 (06:50 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Sep 2010 06:50:34 +0000 (06:50 +0000)
commit66579b4553852bf40cfc99c8993f9ec2711501fd
tree283f60be6e63aff7961060f2392fbe6be16661c2
parent649db1453d6af787e365cc527351edeae3db9643
2010-09-28  Philippe Normand  <pnormand@igalia.com>

        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: https://svn.webkit.org/repository/webkit/trunk@68632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
23 files changed:
ChangeLog
GNUmakefile.am
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/platform/graphics/gstreamer/DataSourceGStreamer.cpp
WebCore/platform/graphics/gstreamer/DataSourceGStreamer.h
WebCore/platform/graphics/gstreamer/GOwnPtrGStreamer.cpp
WebCore/platform/graphics/gstreamer/GOwnPtrGStreamer.h
WebCore/platform/graphics/gstreamer/GStreamerGWorld.cpp
WebCore/platform/graphics/gstreamer/GStreamerGWorld.h
WebCore/platform/graphics/gstreamer/ImageGStreamer.h
WebCore/platform/graphics/gstreamer/ImageGStreamerCG.mm
WebCore/platform/graphics/gstreamer/ImageGStreamerCairo.cpp
WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
WebCore/platform/graphics/gstreamer/PlatformVideoWindow.h
WebCore/platform/graphics/gstreamer/PlatformVideoWindowEfl.cpp
WebCore/platform/graphics/gstreamer/PlatformVideoWindowGtk.cpp
WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp
WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h
WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp
WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.h
configure.ac