basesrc: release the object lock sooner
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Jun 2012 13:28:39 +0000 (15:28 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Jun 2012 13:32:27 +0000 (15:32 +0200)
commit80ff9dfb3d5e955d3a6c12fe5139cb7c2d7eb3f9
treeb7a2cc0004630cebf2402a82b2245196dfd6c315
parent42e755f7c3faaf93ff8806e9df28d0621788df87
basesrc: release the object lock sooner

Release the object lock before we get the time of the clock because that code
might take other locks.
Fix potential clock refcount error because we released the object lock but
didn't ref the clock.
libs/gst/base/gstbasesrc.c