[Bug 695606] audiodecoder, ac3parse: Totem won't play 5.1 surround DVDs

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 19 18:48:31 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=695606
  GStreamer | gst-plugins-base | 1.0.5

Jan Schmidt <thaytan> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thaytan at noraisin.net

--- Comment #18 from Jan Schmidt <thaytan at noraisin.net> 2013-12-20 02:48:23 UTC ---
I've got 4 possible solutions to this. The basic problem is that the DVD's
start with no audio track, so the first thing the audio sink receives is a GAP
event. It has no configured caps, so it can't fill silence (it doesn't have a
format), and throws an error.

Possible fixes:
1) Reintroduce the rsnaudiomunge element that was present in 0.10, which simple
picks a random audio format and generates a silence buffer to trigger preroll

2) Make baseaudiodecoder able to randomly pick an output format and generate
the silence buffer.

3) Make all audio decoder implementations able to handle an empty input buffer
and generate some silence in a random output format by setting the PLC (Packet
Loss Concealment) flag.

4) Make the baseaudiosink preroll on silence, even though it doesn't have a
format.

I've been looking at 4), but I don't think it's a valid approach, because if
there's been no CAPS event, there's not supposed to have been a SEGMENT event,
or any kind of data flow yet - including GAP.

-- 
Configure bugmail: https://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