check: lock src state to avoid error cases
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Nov 2010 17:17:36 +0000 (18:17 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 2 Dec 2010 18:10:44 +0000 (19:10 +0100)
commit6c47a2e69dd333787908aa779aae07467bbc7f80
treefcb90f4c933f0392a2b84fb9e88e8d822267c672
parent7590cee744508e4d22403384dc230eefa154c0f6
check: lock src state to avoid error cases

Lock the state of the src element or else the pipeline might go into the error
state when we set it to PAUSED later.
tests/check/generic/sinks.c