gst/icydemux/gsticydemux.*: When we merge/collect multiple incoming buffers for typef...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 14 Sep 2006 10:38:42 +0000 (10:38 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 14 Sep 2006 10:38:42 +0000 (10:38 +0000)
commite73ddd490e67ef375586cb5c668bd8fb2c8b802a
tree26d3e753191cda4d6fa405d0bdd6b8bd82f0ebc1
parent13a332da30057c942738ba68298c77ae1d20f1ed
gst/icydemux/gsticydemux.*: When we merge/collect multiple incoming buffers for typefinding purposes, keep an initial...

Original commit message from CVS:
* gst/icydemux/gsticydemux.c: (gst_icydemux_reset),
(gst_icydemux_typefind_or_forward):
* gst/icydemux/gsticydemux.h:
When we merge/collect multiple incoming buffers for typefinding
purposes, keep an initial 0 offset on the first outgoing buffer
as well (otherwise id3demux won't work right). Fixes #345449.
Also Make buffer metadata writable before setting buffer caps.
* tests/check/elements/icydemux.c: (typefind_succeed),
(cleanup_icydemux), (push_data), (GST_START_TEST),
(icydemux_suite):
Small test case for the above.
ChangeLog
common
gst/icydemux/gsticydemux.c
gst/icydemux/gsticydemux.h
tests/check/elements/icydemux.c