task: avoid task lock for each iteration
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 20 Oct 2010 09:58:06 +0000 (11:58 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 3 Dec 2010 10:21:03 +0000 (11:21 +0100)
commit1e1872137d421de0b5b820d0e1cdf285da774803
tree3d5a4729d726b1cad4f101a62536cd7b0d686c64
parentcaf006c03a28ba2c2a7cf6ec23861f176dc79619
task: avoid task lock for each iteration

Make the task state an atomic variable so that we can avoid taking and releasing
the task lock for each iteration.
gst/gsttask.c