mssdemux: synchronize with the download loop thread to signal it to continue
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Fri, 12 Sep 2014 05:36:47 +0000 (02:36 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 18 Sep 2014 16:38:29 +0000 (13:38 -0300)
commite289ab07c13c9f958f04e396285b567b570120d1
tree3f499872ac5b5ef6078e4a54b79f177ca35e2589
parentf4546b64ea6fd89eb3471258a880b850555d98c5
mssdemux: synchronize with the download loop thread to signal it to continue

If EOS or ERROR happens before the download loop thread has reached its
g_cond_wait() call, then the g_cond_signal doesn't have any effect and
the download loop thread stucks later.

https://bugzilla.gnome.org/show_bug.cgi?id=735663
ext/smoothstreaming/gstmssdemux.c
ext/smoothstreaming/gstmssdemux.h