[Bug 744806] audiodecoder: early call to drain() causes segment event to be sent before caps

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 19 09:43:41 PST 2015


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

--- Comment #1 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Created attachment 297290
  --> https://bugzilla.gnome.org/attachment.cgi?id=297290&action=edit
audiodecoder: only send pending events on drain() if we know the output caps

Otherwise it will push the segment event before the caps, causing an
assertion. To reproduce this, the decoder receives a discont buffer
before it has discovered the caps, which causes the drain() call.

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