[Bug 695756] New: gst_buffer_make_writable will lost the user_data
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Mar 13 03:33:12 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=695756
GStreamer | gstreamer (core) | 1.0.5
Summary: gst_buffer_make_writable will lost the user_data
Classification: Platform
Product: GStreamer
Version: 1.0.5
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: zhangyanping210 at yahoo.com.cn
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hello everyone,
The code is like this:
gst_mini_object_set_qdata( GST_MINI_OBJECT(buffer),
g_quark_from_static_string("avl_video_display_frame"), ptr, 0);
buffer = gst_buffer_make_writable(buffer);
And then the user_data I set to the buffer is lost.
================================
#define gst_buffer_is_writable(buf) gst_mini_object_is_writable
(GST_MINI_OBJECT_CAST (buf))
gst_mini_object_copy-->_gst_buffer_copy-->gst_buffer_copy_into
Should gst_buffer_copy_into copy qdata of gstminiobject ?
Is this a bug?
--
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