[Bug 727498] videodecoder: deactivates downstream bufferpool

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 2 08:29:59 PDT 2014


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

--- Comment #1 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-04-02 15:29:58 UTC ---
Created an attachment (id=273483)
 View: https://bugzilla.gnome.org/attachment.cgi?id=273483
 Review: https://bugzilla.gnome.org/review?bug=727498&attachment=273483

videodecoder: do not deactivate the bufferpool, just unref

Videodecoder does late renegotiation, it will wait for the next
buffer before renegotiating its caps and bufferpool. It might happen
that downstream element switched from passthrough to non-passthrough
and sent a reconfigure upstream (that caused this renegotiation).
This downstream element will ask the video sink below for the bufferpool
with an allocation query and will get the same bufferpool that
videodecoder is holding, too.

When renegotiating, if videodecoder deactivates its bufferpool it
might be deactivating the bufferpool that some element downstream
is using and cause the pipeline to fail.

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