audiodecoder: error out if no frames are decoded before eos
authorSebastian Dröge <sebastian@centricular.com>
Tue, 26 Nov 2013 11:29:30 +0000 (12:29 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 26 Nov 2013 11:29:30 +0000 (12:29 +0100)
commitf8477e6b88fdb364809bef70ac3909aba878978f
tree0d9b65841ea5f8c0d72b0e79dea8d84877780aa2
parentb0788ce054d9521b9d9a658e47064f5475a42046
audiodecoder: error out if no frames are decoded before eos

Raise an error in case no frames are decoded before EOS and we
have input, meaning that data was received but it was somehow invalid.

Based on the videodecoder change, merged here for consistency.

https://bugzilla.gnome.org/show_bug.cgi?id=711094
gst-libs/gst/audio/gstaudiodecoder.c