diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-27 19:39:40 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-28 12:06:57 +0100 |
commit | a5c1e5fd86bc4cd31095ee0cde3af4cb3685e109 (patch) | |
tree | a7e0983ba662473d79cec6a8af6d944630621df3 /ext/directfb/dfbvideosink.c | |
parent | 2694086ace356a702d608b8c88bb291458a296ac (diff) | |
download | gstreamer-plugins-bad-a5c1e5fd86bc4cd31095ee0cde3af4cb3685e109.tar.gz |
meta: fix for new metadata api
Diffstat (limited to 'ext/directfb/dfbvideosink.c')
-rw-r--r-- | ext/directfb/dfbvideosink.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/directfb/dfbvideosink.c b/ext/directfb/dfbvideosink.c index b80c92286..f629f97f6 100644 --- a/ext/directfb/dfbvideosink.c +++ b/ext/directfb/dfbvideosink.c @@ -195,7 +195,7 @@ gst_dfbsurface_dispose (GstBuffer * surface) g_return_if_fail (surface != NULL); - meta = GST_META_DFBSURFACE_GET (surface, FALSE); + meta = GST_META_DFBSURFACE_GET (surface); dfbvideosink = meta->dfbvideosink; if (!dfbvideosink) { @@ -245,7 +245,7 @@ gst_dfbvideosink_surface_create (GstDfbVideoSink * dfbvideosink, GstCaps * caps, surface = gst_buffer_new (); GST_MINI_OBJECT_CAST (surface)->dispose = (GstMiniObjectDisposeFunction) gst_dfbsurface_dispose; - meta = GST_META_DFBSURFACE_GET (surface, TRUE); + meta = GST_META_DFBSURFACE_ADD (surface); /* Keep a ref to our sink */ meta->dfbvideosink = gst_object_ref (dfbvideosink); @@ -357,7 +357,7 @@ gst_dfbvideosink_surface_destroy (GstDfbVideoSink * dfbvideosink, g_return_if_fail (GST_IS_DFBVIDEOSINK (dfbvideosink)); - meta = GST_META_DFBSURFACE_GET (surface, FALSE); + meta = GST_META_DFBSURFACE_GET (surface); /* Release our internal surface */ if (meta->surface) { @@ -1557,7 +1557,7 @@ gst_dfbvideosink_show_frame (GstBaseSink * bsink, GstBuffer * buf) goto beach; } - meta = GST_META_DFBSURFACE_GET (buf, FALSE); + meta = GST_META_DFBSURFACE_GET (buf); /* Is that a buffer we allocated ourselves ? */ if (meta != NULL) { @@ -1840,7 +1840,7 @@ alloc: g_slist_delete_link (dfbvideosink->buffer_pool, dfbvideosink->buffer_pool); - meta = GST_META_DFBSURFACE_GET (surface, FALSE); + meta = GST_META_DFBSURFACE_GET (surface); /* If the surface is invalid for our need, destroy */ if ((meta->width != width) || |