dashdemux: return the error to the source immediately to stop faster
authorThiago Santos <thiagoss@osg.samsung.com>
Thu, 31 Jul 2014 23:52:39 +0000 (20:52 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 1 Aug 2014 13:48:30 +0000 (10:48 -0300)
commit72291720022897c3d7ed2a8a5f1d4844a197006b
treefaf57e36d81f4975144594e9c3fb61b750a4fa9d
parentf22d838fa3e56102719fd06ca3da7caf38a088ee
dashdemux: return the error to the source immediately to stop faster

When flushing, this will prevent dashdemux from trying to download more
fragments or more chunks of the same fragment before stopping.

Also improves the error handling to not transform everything non-ok into
an error.

https://bugzilla.gnome.org/show_bug.cgi?id=734014
ext/dash/gstdashdemux.c