⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181449 in webkit


Ignore:
Timestamp:
Mar 12, 2015, 12:31:36 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Stop using single-include headers that are only available since GStreamer >= 1.2.

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

Patch by Sebastian Dröge <sebastian@centricular.com> on 2015-03-12
Reviewed by Philippe Normand.

  • platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
  • platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
  • platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:
  • platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
  • platform/graphics/gstreamer/GStreamerUtilities.cpp:
  • platform/graphics/gstreamer/GStreamerUtilities.h:
  • platform/graphics/gstreamer/ImageGStreamer.h:

Instead of using single-include headers for the GStreamer libraries,
directly include the headers we need. The single-include headers were
only added in 1.2, and this would be the only reason why we would
depend on 1.2.

Location:
trunk/Source/WebCore
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181442 r181449  
     12015-03-12  Sebastian Dröge  <sebastian@centricular.com>
     2
     3        Stop using single-include headers that are only available since GStreamer >= 1.2.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=142537
     6
     7        Reviewed by Philippe Normand.
     8
     9        * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
     10        * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
     11        * platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp:
     12        * platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp:
     13        * platform/graphics/gstreamer/GStreamerUtilities.cpp:
     14        * platform/graphics/gstreamer/GStreamerUtilities.h:
     15        * platform/graphics/gstreamer/ImageGStreamer.h:
     16        Instead of using single-include headers for the GStreamer libraries,
     17        directly include the headers we need. The single-include headers were
     18        only added in 1.2, and this would be the only reason why we would
     19        depend on 1.2.
     20
    1212015-03-12  Eric Carlson  <eric.carlson@apple.com>
    222
  • trunk/Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp

    r176943 r181449  
    3030#include "WebKitWebAudioSourceGStreamer.h"
    3131#include <gst/gst.h>
    32 #include <gst/pbutils/pbutils.h>
    3332#include <wtf/gobject/GUniquePtr.h>
    3433
  • trunk/Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp

    r176941 r181449  
    2828#include <gio/gio.h>
    2929#include <gst/app/gstappsink.h>
    30 #include <gst/audio/audio.h>
     30#include <gst/audio/audio-info.h>
    3131#include <gst/gst.h>
    32 #include <gst/pbutils/pbutils.h>
    3332#include <wtf/Noncopyable.h>
    3433#include <wtf/gobject/GRefPtr.h>
  • trunk/Source/WebCore/platform/audio/gstreamer/AudioSourceProviderGStreamer.cpp

    r179866 r181449  
    2525#include "AudioSourceProviderClient.h"
    2626#include <gst/app/gstappsink.h>
    27 #include <gst/audio/audio.h>
     27#include <gst/audio/audio-info.h>
    2828#include <gst/base/gstadapter.h>
    2929#include <wtf/gobject/GMutexLocker.h>
  • trunk/Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp

    r178704 r181449  
    2828#include "GRefPtrGStreamer.h"
    2929#include "GStreamerUtilities.h"
    30 #include <gst/app/app.h>
    31 #include <gst/audio/audio.h>
    32 #include <gst/pbutils/pbutils.h>
     30#include <gst/app/gstappsrc.h>
     31#include <gst/audio/audio-info.h>
     32#include <gst/pbutils/missing-plugins.h>
    3333#include <wtf/gobject/GUniquePtr.h>
    3434
  • trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.cpp

    r177896 r181449  
    2525#include "IntSize.h"
    2626
    27 #include <gst/audio/audio.h>
     27#include <gst/audio/audio-info.h>
    2828#include <gst/gst.h>
     29#include <gst/video/video-info.h>
    2930#include <wtf/MathExtras.h>
    3031#include <wtf/gobject/GUniquePtr.h>
  • trunk/Source/WebCore/platform/graphics/gstreamer/GStreamerUtilities.h

    r168681 r181449  
    2020
    2121#include <gst/gst.h>
    22 #include <gst/video/video.h>
     22#include <gst/video/video-format.h>
    2323
    2424#define LOG_MEDIA_MESSAGE(...) do { \
  • trunk/Source/WebCore/platform/graphics/gstreamer/ImageGStreamer.h

    r175370 r181449  
    2828
    2929#include <gst/gst.h>
    30 #include <gst/video/video.h>
     30#include <gst/video/video-frame.h>
    3131
    3232#include <wtf/PassRefPtr.h>
Note: See TracChangeset for help on using the changeset viewer.