toc: put toc directly into event/message/query structure
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 26 Jun 2012 19:41:18 +0000 (20:41 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 26 Jun 2012 19:43:50 +0000 (20:43 +0100)
commit2c532aa821e540a460b2daed66a5190345002a96
treecfeedb3d3cf874ac3492b7e137ce029bf7fb5f40
parent0cb9ad013af770bfd48f376c2a5875cecc93676d
toc: put toc directly into event/message/query structure

Now that TOCs are refcounted and have a GType, we can just
stuff a ref of the TOC directly into the various toc
event/message/query structures and get rid of lots of
cracktastic GstStructure <-> GstToc serialisation and
deserialisation code. We lose some TOC sanity checking
in the process, but that should really be done when
it's being created anyway.
gst/gst_private.h
gst/gstevent.c
gst/gstmessage.c
gst/gstquark.c
gst/gstquark.h
gst/gstquery.c
gst/gsttoc.c
tests/check/gst/gsttoc.c