streamsynchronizer: fix deadlock condition
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 14 Mar 2015 18:08:15 +0000 (18:08 +0000)
committerThiago Santos <thiagoss@osg.samsung.com>
Sat, 14 Mar 2015 18:14:07 +0000 (18:14 +0000)
commitb0b0ae1f24f8651616b2c4709ba9136245122569
tree87d3d1f5e9ed36b75d49672477ee6b0f27268a3a
parent33b9535d97284381b3b549ce9a46f1133751716e
streamsynchronizer: fix deadlock condition

The variables could have changed when the lock was released
to push a gap event. Streamsynchronizer needs to check them
again before going to sleep.

Bonus: fix a comment typo
gst/playback/gststreamsynchronizer.c