[Bug 681327] [0.11] getters accessors for buffer pool and memory allocator in video decoder

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 7 09:29:18 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=681327
  GStreamer | gst-plugins-base | git

--- Comment #8 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> 2012-08-07 16:29:14 UTC ---
(In reply to comment #5)
> Review of attachment 220581 [details]:
> 
> ::: libs/gst/base/gstbasesrc.c
> @@ +3632,3 @@
> +  g_return_val_if_fail (GST_IS_BASE_SRC (src), NULL);
> +
> +  return src->priv->pool;
> 
> You need to return a new reference to the pool here
> 
> @@ +3646,3 @@
> +  g_return_val_if_fail (GST_IS_BASE_SRC (src), NULL);
> +
> +  return src->priv->allocator;
> 
> You need to return a new reference to the allocator here. And also the
> GstAllocationParams, i.e.
> gst_base_src_get_allocator (GstBaseSrc *src, GstAllocator **allocator,
> GstAllocationParams *params)

mmmhh... 

That would be needed in all of my patches then...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list