mxfvanc: Handle empty ANC essence
authorEdward Hervey <edward@centricular.com>
Mon, 21 Jun 2021 11:23:13 +0000 (13:23 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 1 Jul 2021 09:04:03 +0000 (11:04 +0200)
commit162e7bd28b19bac786228ec3ab7fd4ea9238cac2
treeed27db6f29cd3b36af8c9595e17daed14159a5bc
parentd9c486352cf1a999050d1ddc1dae4a19d55f1d3c
mxfvanc: Handle empty ANC essence

Not having any *actual* ANC is totally fine and common usage with several MXF
variants.

In order to properly advance the streams, the essence handler returns an empty
GAP buffer which gets converted to a GST_EVENT_GAP.

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