oggdemux: Wait for push loop to be started
authorEdward Hervey <edward@centricular.com>
Tue, 7 Nov 2017 14:05:19 +0000 (15:05 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 7 Nov 2017 14:16:52 +0000 (15:16 +0100)
commit0a49b93ade8e2a634f5c40e0dddf60cdce098a7c
tree6e5a52ea4b441e3a3df9d371a42d3ad1e9eb7edf
parent2ec51ef998caa7530ff2caf8c7025b883d7f6f04
oggdemux: Wait for push loop to be started

Code using the push_loop_thread (using for sending seeks) assumes
that the thread was properly started, except that this isn't always
true and the thread might not have completely started.

Instead wait for the thread to properly start before doing anything
else.
ext/ogg/gstoggdemux.c
ext/ogg/gstoggdemux.h