mxfvanc: Handle empty VANC packets
authorEdward Hervey <edward@centricular.com>
Wed, 6 Apr 2022 09:21:25 +0000 (11:21 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 6 Apr 2022 10:05:09 +0000 (10:05 +0000)
commit80e83089b58335bfdf3733f9982098c1ea5dbb5d
tree703f479bab6829ac39467f69a26cb49fbf61c35a
parentaf71adf3153fac05495c7f758999fb78e9379937
mxfvanc: Handle empty VANC packets

Some XDCAM recorders store empty packets for VANC, and don't even include the
2byte length.

Handle them in the same way as VANC packets with 0 packets.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2122>
subprojects/gst-plugins-bad/gst/mxf/mxfvanc.c