[Bug 765456] Strange bug re-encoding video with GST 1.8.1 on Mac OS 10.10

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 4 07:14:01 UTC 2016


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

--- Comment #12 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 327267
  --> https://bugzilla.gnome.org/attachment.cgi?id=327267&action=edit
decodebin: an element can negotiate before we block it

When we initialize an element in decodebin, we 1) set it to PAUSED and
push sticky events on its sinkpad to trigger negotiation 2) block its
src pad(s) to detect CAPS events. We can't block before 1) as that
would lead to a deadlock.

It's possible (and common) tho that an element configures its srcpad
during 1) and before 2). Therefore before this change we would
typically block and expose an element's pad only once the element
output its first buffer, triggering sticky events to be resent. One
consequence of this behaviour is that it sometimes broke
renegotiation.

With this change now we consider a pad ready to be exposed when it's
->blocked or has fixed caps (which were set before we could block it).

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