gst/auparse/gstauparse.*: Rewrite auparse to suck a little bit less: make source...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 26 Apr 2006 17:08:24 +0000 (17:08 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 26 Apr 2006 17:08:24 +0000 (17:08 +0000)
commit5056bb87ab3f1207c967cf90d3def90573798a54
tree4c43123e1be4d1a3c87f375237dc026388f34e90
parentcb163be477869c77651ccf659080bb74ca595e04
gst/auparse/gstauparse.*: Rewrite auparse to suck a little bit less: make source pad dynamic, so decodebin/playbin wo...

Original commit message from CVS:
* gst/auparse/gstauparse.c: (gst_au_parse_base_init),
(gst_au_parse_class_init), (gst_au_parse_init),
(gst_au_parse_reset), (gst_au_parse_add_srcpad),
(gst_au_parse_remove_srcpad), (gst_au_parse_parse_header),
(gst_au_parse_chain), (gst_au_parse_src_convert),
(gst_au_parse_src_query), (gst_au_parse_handle_seek),
(gst_au_parse_sink_event), (gst_au_parse_src_event),
(gst_au_parse_change_state):
* gst/auparse/gstauparse.h:
Rewrite auparse to suck a little bit less: make source pad
dynamic, so decodebin/playbin work with non-raw formats
like alaw/mulaw; add query function for duration/position
queries; check whether we have enough data before attempting
to parse the header (instead of crashing when that is not the
case); work around audioconvert sucking by swapping endianness
to the native endianness ourselves for float formats; send
initial newsegment event. Fixes #161712.
ChangeLog
gst/auparse/gstauparse.c
gst/auparse/gstauparse.h