gst/flv/: Put the GstSegment directly into the instance struct instead of allocating...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 28 Oct 2008 18:41:19 +0000 (18:41 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 28 Oct 2008 18:41:19 +0000 (18:41 +0000)
commita85344333bfbc5dd4ac1d5d4e975e8027e606f1e
treee366dc94d3fd1aca48561dcc8ce2460e825a19f6
parent8416cc94b58e0ea9d3c54fbf439202e0591a7b9f
gst/flv/: Put the GstSegment directly into the instance struct instead of allocating and free'ing it again.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_loop), (gst_flv_demux_handle_seek_push),
(gst_flv_demux_handle_seek_pull), (gst_flv_demux_sink_event),
(gst_flv_demux_dispose), (gst_flv_demux_init):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video), (gst_flv_parse_tag_timestamp):
Put the GstSegment directly into the instance struct instead of
allocating and free'ing it again.
Push tags already if only one pad was added, no need to wait for
the second one.
When generating our index set has_video and has_audio if we find
video or audio in case the FLV header has incorrect data.
ChangeLog
gst/flv/gstflvdemux.c
gst/flv/gstflvdemux.h
gst/flv/gstflvparse.c