composition: Do not try to paused the task that could have been stopped
authorThibault Saunier <tsaunier@gnome.org>
Mon, 28 Jul 2014 18:24:50 +0000 (20:24 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:11 +0000 (11:58 +0100)
commit8154a2c96f95a2c2a5aae57360c65b29de09f561
treeb2b40efd30ce29bab89d5404a86c7777bc547d98
parent463626ceae4015f89299d669574ff8ed3be92832
composition: Do not try to paused the task that could have been stopped

There was a race where we ended up trying to update the pipeline and
stop our children task at the exact moment where we were actually
setting its state to PAUSED. Take the composition lock and make sure
that can't happen
gnl/gnlcomposition.c