rtpmp4gdepay: detect broken senders who send AAC with ADTS frames
authorTim-Philipp Müller <tim@centricular.com>
Fri, 21 Sep 2018 18:47:44 +0000 (19:47 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 26 Sep 2018 11:25:24 +0000 (12:25 +0100)
commit506e080a15d366e9dc55622c5798d8022b37f1d7
treea49fd57dec4288acc7b7aa55f0343b9498f71583
parentf255ea99f423562a11734f260214858fa6889f33
rtpmp4gdepay: detect broken senders who send AAC with ADTS frames

Strip ADTS headers if we detect any, apparently some Sony cameras
send AAC with ADTS headers. We could also change the stream-format
in the output caps, but that would be unexpected to pipeline builders
and would not exactly be backwards compatible.
gst/rtp/gstrtpmp4gdepay.c
gst/rtp/gstrtpmp4gdepay.h