[MOVED FROM BAD 43/57] gst/flv/: Don't memcpy() all data we want to push downstream...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 27 Oct 2008 09:45:04 +0000 (09:45 +0000)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 12 May 2009 19:20:59 +0000 (21:20 +0200)
commit029dfc56d40d6705ffaba75e61a90cf5e20dd01d
tree24efdd92112b3e3dcda922c3f96eb54ebec3f207
parenta023bf6f92fb3555fcf683624bf72f2770052899
[MOVED FROM BAD 43/57] gst/flv/: Don't memcpy() all data we want to push downstream, instead just create subbuffers and push them downstream.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_pull_header),
(gst_flv_demux_create_index):
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video),
(gst_flv_parse_tag_timestamp), (gst_flv_parse_tag_type),
(gst_flv_parse_header):
* gst/flv/gstflvparse.h:
Don't memcpy() all data we want to push downstream, instead just
create subbuffers and push them downstream.
Fix some minor memory leaks.
gst/flv/gstflvdemux.c
gst/flv/gstflvparse.c
gst/flv/gstflvparse.h