{audio,video}decoder: Forward SEGMENT_DONE events immediately and drain decoders
authorSebastian Dröge <sebastian@centricular.com>
Tue, 7 Apr 2015 02:20:00 +0000 (19:20 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 7 Apr 2015 02:20:51 +0000 (19:20 -0700)
commit0c72d0acdf2e4413288cf5e205b9ed2d9cc39363
treed22d87c8b2e09f737ceea2d2a6afe7c962cf4b0a
parent0aa0b89aafd895abee15eed44debb9d7feb0ea1a
{audio,video}decoder: Forward SEGMENT_DONE events immediately and drain decoders

Otherwise we're going to wait with draining until the next data comes, which
is a bit suboptimal and might take a long time... or maybe never happens.
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/video/gstvideodecoder.c