diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h')
-rw-r--r-- | Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h b/Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h index a8e5182f6..2ecf08cef 100644 --- a/Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h +++ b/Source/WebCore/platform/graphics/gstreamer/GStreamerVersioning.h @@ -20,6 +20,7 @@ #ifndef GStreamerVersioning_h #define GStreamerVersioning_h +#include "GRefPtrGStreamer.h" #include <gst/gst.h> #include <gst/video/video.h> @@ -28,7 +29,7 @@ class IntSize; }; void webkitGstObjectRefSink(GstObject*); -GstCaps* webkitGstGetPadCaps(GstPad*); +GRefPtr<GstCaps> webkitGstGetPadCaps(GstPad*); bool getVideoSizeAndFormatFromCaps(GstCaps*, WebCore::IntSize&, GstVideoFormat&, int& pixelAspectRatioNumerator, int& pixelAspectRatioDenominator, int& stride); GstBuffer* createGstBuffer(GstBuffer*); void setGstElementClassMetadata(GstElementClass*, const char* name, const char* longName, const char* description, const char* author); |