Passing GstTagList* through a gpointer of GstPadProbeCallback invalidates object

Sebastian Dröge sebastian at centricular.com
Fri Dec 4 23:59:22 PST 2015


On Fr, 2015-12-04 at 06:29 -0800, pneves wrote:
> 
> What happens is that after some tag events I start getting [...]
> assertion 'GST_IS_TAG_LIST (list)' failed) and no changes are made
> anywhere else to the tag_list that would invalidate the pointer.
> 
> Does anybody have suggestions?

gst_event_new_tag() takes ownership of the taglist. If you want to use
the taglist afterwards, you'll have to call gst_tag_list_ref() before.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151205/53f74893/attachment.sig>


More information about the gstreamer-devel mailing list