[Bug 783301] New: appsrc: Should not set caps intide GstBaseSrcClass::create
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 31 20:06:24 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=783301
Bug ID: 783301
Summary: appsrc: Should not set caps intide
GstBaseSrcClass::create
Classification: Platform
Product: GStreamer
Version: 1.8.2
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: nicolas at ndufresne.ca
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 352965
--> https://bugzilla.gnome.org/attachment.cgi?id=352965&action=edit
Test the demonstrate the issue
Inside the virtual method ::create() the live lock is held. As pushing caps may
block on a queue, or on some downstream element doing allocation query toward a
queue, this can lead to yet another appsrc deadlock.
I'm attaching an example application to demonstrate one way to trigger a
deadlock. I do believe this could be reproduce with just one appsrc, two sinks
and a queue, but the initial bug was reported to me with a similar setup to
this test.
--
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