[gstreamer-bugs] [Bug 638844] New: [PATCH] Fix pad callbacks so they handle when parent goes away
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Jan 6 09:18:27 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=638844
GStreamer | gstreamer (core) | git
Summary: [PATCH] Fix pad callbacks so they handle when parent
goes away
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: ole.andre.ravnas at tandberg.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=177671)
--> (https://bugzilla.gnome.org/attachment.cgi?id=177671)
Patch fixing known issues of this nature in -core.
1) We need to lock and get a strong ref to the parent, if still there.
2) If it has gone away, we need to handle that gracefully.
This is necessary in order to safely modify a running pipeline. Has been
observed when a streaming thread is doing a buffer_alloc() while an
application thread sends an event on a pad further downstream, and from
within a pad probe (holding STREAM_LOCK) carries out the pipeline plumbing
while the streaming thread has its buffer_alloc() in progress.
--
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