[Bug 731474] playbin stalls when trying to play the audio portion of a stream with flags="audio"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 17 12:27:10 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731474
  GStreamer | gstreamer (core) | git

--- Comment #7 from Thiago Sousa Santos <thiagossantos at gmail.com> 2014-06-17 19:27:05 UTC ---
Created an attachment (id=278621)
 View: https://bugzilla.gnome.org/attachment.cgi?id=278621
 Review: https://bugzilla.gnome.org/review?bug=731474&attachment=278621

baseparse: avoid returning _OK for _NOT_LINKED

The problem was actually that baseparse was not returning not-linked
when it should.


When the parser receives non-aligned packets it can push a buffer
and get a not-linked return while still leaving some data still to
be parsed. This remaining data will not form a complete frame and
the subclass likely returns _OK and baseparse would take that
as the return, while it the element is actually not-linked.

This patch fixes this by storing the last flow-return from a push
and using that if a parsing operation doesn't result in data being
flushed or skipped.

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