aacparse: assertion while converting ADTS stream to RAW
authorVinod Kesti <vinodkesti@yahoo.com>
Tue, 15 Nov 2016 11:22:39 +0000 (16:52 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 15 Nov 2016 12:57:22 +0000 (14:57 +0200)
commitf1726c7088c9022ac0eda6f5f25a248528969239
tree01f2dc1b6970aad275bd4522a8d1281c41fcd570
parente5b3d9257d3290620caeeef9574fef575bf6a455
aacparse: assertion while converting ADTS stream to RAW

aacparse resizes input buffer while converting ADTS stream to RAW,
During buffer resize buffer write permission is not checked.
This throws gst_buffer_is_writable assertion and leads to AV sync issue some times.
It is corrected by making buffer writeable using gst_buffer_make_writable

https://bugzilla.gnome.org/show_bug.cgi?id=774129
gst/audioparsers/gstaacparse.c