GNOME Bugzilla – Bug 308067
GST_TYPE_BUFFER crashes in gstvalue handling
Last modified: 2005-06-30 16:07:22 UTC
Steps to reproduce: 1. gst_caps_set_simple(caps, "codec_data", GST_TYPE_BUFFER, gstbuf, NULL); 2. watch how gstvalue.c/gst_value_serialize_buffer(), gst_value_get_boxed()'s assertion fails with failed asseration in gstvalue.c, line 891 (g_value_get_boxed: assertion `G_VALUE_HOLDS_BOXED (value)' failed) Stack trace: Other information:
Created attachment 47902 [details] [review] fixes the crash and adds a new API function This adds a new function: GstBuffer * gst_value_get_buffer(const GValue *value); Which is consistent with the other gvalue functions (gst_value_get_caps(), etc..)