basecamerabinsrc: don't use private GMutex implementation details
authorTim-Philipp Müller <tim@centricular.com>
Tue, 17 Feb 2015 00:34:55 +0000 (00:34 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 17 Feb 2015 09:56:55 +0000 (09:56 +0000)
commit34c9c86ab78e4d0455e1e776aae28a89f7d14c6d
treeaed4418dfc5a9b303318f40859c2c24f61009ca8
parente9141b718b3f1c3af92898f2982e188ea42b746a
basecamerabinsrc: don't use private GMutex implementation details

Don't use private GMutex implementation details to check
whether it has been freed already or not. Just clear mutex
and GCond unconditionally in free function, they are always
inited anyway, and the free function can't be called multiple
times either.
gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c