gstreamer/gst-libs/gst
Andre Moreira Magalhaes (andrunko) f72869816c uridownloader: make cancelled state 'permanent' until a reset
When downloading and cancelling quickly the uridownloader object and the
element using it could miss the cancelled window and the uridownloader
would fetch the wrong URI and block on subsequent fetches.

This was also problematic when stopping elements, while one task would
call the cancel, another element thread could issue a new fetch_uri. As
the cancel state isn't 'permanent' this fetch_uri would block and
prevent the whole element from stopping and going to NULL.

This patch makes the 'cancelled' state permanent until a
gst_uri_downloader_reset is called. This way the element knows the
window where the uridownloader isn't active and only reactivate it when
ready.
2013-05-07 20:02:41 -03:00
..
basecamerabinsrc basecamerabinsrc: Add auto-start property to basecamerabin 2013-02-11 22:04:59 +01:00
codecparsers mpegvideometa: Fix typo in comment 2013-05-07 14:52:50 +02:00
egl egl: Use gst_context_writable_structure() 2013-04-18 16:11:26 +02:00
insertbin insertbin: mark as unstable API 2013-02-14 09:03:28 +00:00
interfaces GstPhotography: Add new enum values to match android's parameters 2012-11-20 09:37:59 +00:00
signalprocessor Fix FSF address 2012-11-04 00:09:59 +00:00
uridownloader uridownloader: make cancelled state 'permanent' until a reset 2013-05-07 20:02:41 -03:00
gettext.h Fix FSF address 2012-11-04 00:09:59 +00:00
glib-compat-private.h glib-compat-private.h: remove old GStaticRecMutex stuff 2013-02-12 10:39:44 +00:00
gst-i18n-plugin.h Fix FSF address 2012-11-04 00:09:59 +00:00
Makefile.am uridownloader: refactor gsturidownloader to its own lib 2013-05-07 20:02:41 -03:00