[GStreamer] 0.11 support in MediaPlayerPrivateGStreamer
authorphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Feb 2012 18:04:18 +0000 (18:04 +0000)
committerphiln@webkit.org <philn@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 Feb 2012 18:04:18 +0000 (18:04 +0000)
commitcf08b5af096ff9b92c4380105331022a9bd3f5d1
tree500ef860eaf2450bdf2db32546101f01330a5fec
parentde993c974ecf8f6d1ee68ed1247859e481eafcad
[GStreamer] 0.11 support in MediaPlayerPrivateGStreamer
https://bugs.webkit.org/show_bug.cgi?id=77089

Reviewed by Martin Robinson.

Basic port to GStreamer 0.11 APIs. This patch excludes the video
painting changes and the GStreamerGWorld changes which are handled
in two other patches (bugs 77087 and 77088).

* GNUmakefile.list.am: Add GStreamerVersioning files to the build.
* Source/WebCore/PlatformEfl.cmake: Ditto.
* Source/WebCore/Target.pri: Ditto.
* platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
(WTF::GstElement):
(WTF::GstPad):
(WTF::GstPadTemplate):
(WTF::GstTask):
* platform/graphics/gstreamer/GStreamerVersioning.cpp: Added.
(webkit_gst_object_ref_sink):
(webkit_gst_element_get_pad_caps):
* platform/graphics/gstreamer/GStreamerVersioning.h: Added.
* platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::isAvailable):
(WebCore::MediaPlayerPrivateGStreamer::duration):
(WebCore::MediaPlayerPrivateGStreamer::naturalSize):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/GNUmakefile.list.am
Source/WebCore/PlatformEfl.cmake
Source/WebCore/Target.pri
Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp
Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.cpp [new file with mode: 0644]
Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h [new file with mode: 0644]
Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp