[gst-cvs] gst-plugins-good: [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.
Sebastian Dröge
slomo at kemper.freedesktop.org
Tue May 12 12:58:00 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 029dfc56d40d6705ffaba75e61a90cf5e20dd01d
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=029dfc56d40d6705ffaba75e61a90cf5e20dd01d
Author: Sebastian Dröge <slomo at circular-chaos.org>
Date: Mon Oct 27 09:45:04 2008 +0000
[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 | 78 ++++++++++-----------
gst/flv/gstflvparse.c | 181 +++++++++++++++++++++++++------------------------
gst/flv/gstflvparse.h | 20 +++---
3 files changed, 138 insertions(+), 141 deletions(-)
Diff: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/diff/?id=029dfc56d40d6705ffaba75e61a90cf5e20dd01d
More information about the Gstreamer-commits
mailing list