tests: fix state change order in aiffparse test
authorTim-Philipp Müller <tim@centricular.net>
Fri, 16 Aug 2013 23:09:18 +0000 (00:09 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 16 Aug 2013 23:25:50 +0000 (00:25 +0100)
commit1d35549d6070b3aae5dd079831c82c6b4777bead
treee057dd1d2ad09cb9f59bf55c596929276d0bd1a6
parent2bed61ee2ff5f1bb7c8ce068ae3dd992e074ffea
tests: fix state change order in aiffparse test

Do state changes from sink to src. Fixes race condition in
pull mode test where the source will start up and push buffers
to queue/identity or aiffparse before the main thread has
managed to set them to playing yet.
tests/check/elements/aiffparse.c