uridownloader: fix deadlock near EOS
authorThiago Santos <ts.santos@sisa.samsung.com>
Fri, 20 Dec 2013 22:42:52 +0000 (19:42 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Tue, 24 Dec 2013 20:07:52 +0000 (17:07 -0300)
commit5a5f6d1b7ac2f1b502964ad53e24326bf3abd0e5
treec52b2f64ecc0834b17ab48b8d36352e24a93c0d7
parentd353d229b14d18f9345891b8711db533912a34c4
uridownloader: fix deadlock near EOS

A deadlock can happen when the source sends EOS when
being put to NULL as the object lock is being held by the
thread that sets the element to NULL and is needed by
the event handler.
gst-libs/gst/uridownloader/gsturidownloader.c