avtp: Add fragmented packets handling to CVF depayloader
authorEderson de Souza <ederson.desouza@intel.com>
Wed, 20 Mar 2019 23:40:13 +0000 (16:40 -0700)
committerEderson de Souza <ederson.desouza@intel.com>
Wed, 3 Jul 2019 16:59:35 +0000 (09:59 -0700)
commit45624661ba768c2a6ac1e7a598b9898df1fb2386
tree20ebd0fd90473f444ce59f8e186a70795bf892fb
parent45d2f5a779c572b94d9dae842bca6369f92d78b6
avtp: Add fragmented packets handling to CVF depayloader

This patch adds to the CVF depayloader the capability to regroup H.264
fragmented FU-A packets.

After all packets are regrouped, they are added to the "stash" of H.264
NAL units that will be sent as soon as an AVTP packet with M bit set is
found (usually, the last fragment).

Unrecognized fragments (such as first fragment seen, but with no Start
bit set) are discarded - and any NAL units on the "stash" are sent
downstream, as if a SEQNUM discontinuty happened.
ext/avtp/gstavtpcvfdepay.c
ext/avtp/gstavtpcvfdepay.h