audiodecoder: Push pending events before sending EOS.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Fri, 28 Nov 2014 14:06:27 +0000 (15:06 +0100)
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Fri, 5 Dec 2014 11:04:04 +0000 (12:04 +0100)
commitb2413d46edb7c97d1ad4e2535dd5fe737b0c04bc
treebb0f4f4c91877c82fc560b9c29a830c2fe66f745
parent4e228e0a1f2b01c79378a9d0ba56b58353a5a572
audiodecoder: Push pending events before sending EOS.

Segments are added to the pending events, and pushing a segment
is mandatory before sending EOS.

+ Adds a test.

https://bugzilla.gnome.org/show_bug.cgi?id=740853
gst-libs/gst/audio/gstaudiodecoder.c
tests/check/libs/audiodecoder.c