[gst-devel] gstbuffer

vishnu at pobox.com vishnu at pobox.com
Wed Sep 12 18:13:02 CEST 2001


i spent a few hours trying to get mpeg2parse working in current CVS.
Now i am stuck with:

(gdb) down
#0  0x406b1e6c in gst_mpeg2parse_chain (pad=0x80bfa80, buf=0x80c1ad8)
    at mpeg2parse.c:952
952           guchar byte = *(data+offset);

(gdb) p *buf
$7 = {lock = 0x80c22c8, refcount = {counter = 1}, flags = 12, data = 0x0,
  size = 4096, maxsize = 0, offset = 0, timestamp = 0, maxage = -1, parent = 0x0,
  pool = 0x0, pool_private = 0x0, free = 0, copy = 0}

So basically, it's a valid, allocated gstbuffer with contradictory
information (size without data).  The appearance of one of these
strikes me as good justification for making gstbuffer an opaque
structure.

Please comment (or we'll talk on irc).

-- 
Victory to the Divine Mother!!
  http://sahajayoga.org




More information about the gstreamer-devel mailing list