dashdemux: fix abort in error code path with newer glib
authorTim-Philipp Müller <tim@centricular.com>
Thu, 21 Aug 2014 15:24:06 +0000 (16:24 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 21 Aug 2014 15:25:55 +0000 (16:25 +0100)
commit334a71506cf0513f788e381ad9e3564ec5c11f0f
tree7c22c8774c77269fd89f61f020625f32a75c4f0a
parent5ae3d6859096eb253515cbd81ac9b97b1da617ff
dashdemux: fix abort in error code path with newer glib

Don't forget to unlock mpd client again when erroring out.
Fixes abort when g_mutex_clear() is called on a locked mutex.
ext/dash/gstdashdemux.c