[Bug 746781] Audio track that does not play correctly

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 2 09:31:36 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=746781

--- Comment #11 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
Created attachment 300846
  --> https://bugzilla.gnome.org/attachment.cgi?id=300846&action=edit
Fix race in a52_init calls

It was arguably a bug in liba52dec:

    a52_init initializes the IMDCT global state as well as creating
    a new state. When two A52 decoders are created (eg, when two AC3
    tracks are contained in a video), calls to a52_init may happen
    at the same time, and the IMDCT initialization is not reentrant.

A patch to liba52dec is attached for reference, but the project seems dead for
years.
Instead, a patch to the gstreamer element ensures a52_init calls can't be made
in parallel.

This is consistent with no valgrind issues, race like behavior, and correct
playback
when first demuxing to a separate AC3 track.

-- 
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