videodecoder: don't take STREAM_LOCK on upstream events
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 24 Sep 2012 09:16:09 +0000 (10:16 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 21 Dec 2012 14:30:01 +0000 (15:30 +0100)
commitbdfac7165ca61a7efb767f5495eb74d1276cd314
tree62b473f5a470e469edb1f0ff206496e79b658363
parent785adc30df878377434e57396eb9fb4dc92f2024
videodecoder: don't take STREAM_LOCK on upstream events

Don't try to take STREAM_LOCK on upstream events such as QOS.
Protect qos-related variables with object lock instead. Fixes
possible deadlock when shutting down in certain situations.

https://bugzilla.gnome.org/show_bug.cgi?id=684658
gst-libs/gst/video/gstvideodecoder.c