basesrc: Protect segment values from concurrent access from different threads
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 9 Feb 2010 16:52:13 +0000 (17:52 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 12 Feb 2010 10:02:08 +0000 (11:02 +0100)
commit5998e902a3696a3fe7c4255da1da89af9d03f22b
tree5d2cbb8087ed369fdf18c5cbdf83bdc067ea73c3
parent88736cd6752a9ae49b25ed00ccaf4dbe86b22935
basesrc: Protect segment values from concurrent access from different threads

This could happen easily in the query functions or when the size is set
on appsrc from some non-streaming thread.
libs/gst/base/gstbasesrc.c