adaptivedemux: Don't stop all tasks and streams from the update task on errors
authorSebastian Dröge <sebastian@centricular.com>
Tue, 21 Apr 2015 20:04:56 +0000 (22:04 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 21 Apr 2015 20:04:56 +0000 (22:04 +0200)
commit3c639d32356152eadc45545d3d824065d8645576
tree78c715dddaad90e9920f546b041474827ea98bc5
parent6c968ed3dac3e16daf2479cb8fe8fe65fb440d28
adaptivedemux: Don't stop all tasks and streams from the update task on errors

It will deadlocks as we will then join() the update task from itself. Instead
just post an actual error message on the bus and only stop the update task.

The application is then responsible for shutting down the element, and thus
all the other tasks and everything, based on the error message it gets.
gst-libs/gst/adaptivedemux/gstadaptivedemux.c