[gstreamer-bugs] [Bug 161712] [auparse] .au files don't play in playbin
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Apr 26 10:25:04 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=161712
GStreamer | gst-plugins-base | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|[playbin] failed assert 2 |[auparse] .au files don't
|small au files |play in playbin
Target Milestone|HEAD |0.10.3
------- Comment #12 from Tim-Philipp Müller 2006-04-26 17:25 UTC -------
The issue with the alaw/mulaw files here was that decodebin doesn't
automaticlly plug alawdec/mulawdec into the pipeline after auparse, as it only
investigates the first structure of the template caps, sees 'raw format', and
stops processing there. What decodebin does here isn't really correct, but it's
much easier to make auparse use dynamically created sometimes pads like all the
other parsers/demuxers:
2006-04-26 Tim-Philipp Müller <tim at centricular dot net>
* 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.
The 64-bit float sample file won't play currently, but I am too lazy to add a
hack for that to auparse. This needs fixing in audioconvert IMHO, filed as bug
#339837.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list