gst/flv/: Don't memcpy() all data we want to push downstream, instead just create...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 27 Oct 2008 09:45:04 +0000 (09:45 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 27 Oct 2008 09:45:04 +0000 (09:45 +0000)
commit967088f0740082e2ab4ea3da18e66a9e4ac49bc8
tree23976360286de0adb5473271c1aa49cebd6349d7
parent1a0b218006b38173270aba5b8a68d54bcb0d8496
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.
ChangeLog
gst/flv/gstflvdemux.c
gst/flv/gstflvparse.c
gst/flv/gstflvparse.h