basesrc: Balance unlock/unlock_stop in _src_stop()
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 7 Mar 2018 16:19:25 +0000 (11:19 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 8 Mar 2018 01:03:56 +0000 (20:03 -0500)
commitcbd03e26ce8ac41c77b3b4a9b7f06a54a0311ce8
treeab008a5fca5a436c4f3311c6549ec127c6fe79a6
parent12c5d903c9cf80d9365d57b4643fef9f57aa4d60
basesrc: Balance unlock/unlock_stop in _src_stop()

Otherwise it's possible that we won't be able to start again
depending the implementation. We do start/stop in normal use cases
whenever GST_QUERY_SCHEDULING happens before we are started.

https://bugzilla.gnome.org/show_bug.cgi?id=794149
libs/gst/base/gstbasesrc.c