[Bug 766940] vaapipostproc: race condition when updating src caps
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jun 7 21:32:18 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766940
Scott D Phillips <scott.d.phillips at intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #329236|0 |1
is obsolete| |
--- Comment #7 from Scott D Phillips <scott.d.phillips at intel.com> ---
Created attachment 329345
--> https://bugzilla.gnome.org/attachment.cgi?id=329345&action=edit
[PATCH] vaapipostproc: add postproc_lock to protect data members
(In reply to Víctor Manuel Jáquez Leal from comment #5)
>
> Perhaps using GST_OBJECT_LOCK() would be enough.
In the end locking the element was going to be more complicated because
ensure_display() also wants to lock the element when iterating over pads during
the context query.
So my patch introduces a new mutex instead (which seems to be what the other
transform elements do for their caps transforming/setting functions).
--
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