[Gstreamer-bugs] [Bug 113180] Changed - Some GstBuffer comments
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Sun May 18 07:04:14 PDT 2003
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=113180
Changed by rbultje at ronald.bitfreak.net.
--- shadow/113180 Sun May 18 07:19:44 2003
+++ shadow/113180.tmp.15521 Sun May 18 10:04:14 2003
@@ -92,6 +92,18 @@
------- Additional Comments From wim.taymans at chello.be 2003-05-18 07:19 -------
yes, we need an additional mediaoffset field then.
Not sure what you mean with the private gpointer; do you want to store
a pointer to private data in the event? isn't that best done by
subclassing the data structure?
+
+------- Additional Comments From rbultje at ronald.bitfreak.net 2003-05-18 10:04 -------
+Wim, I think that's actually correct. Look at this:
+
+ GST_BUFFER_DATA (copy) = g_memdup (GST_BUFFER_DATA (buffer),
+ GST_BUFFER_SIZE (buffer));
+
+The *new* buffer doesn't have the size of the old buffer (maxsize),
+but the size of the *used* memory (size). Or does g_memdup() do
+something else?
+
+It seemed like a potential bug to me.
More information about the Gstreamer-bugs
mailing list