v4l2slh264dec: Support avc and avc3 formats
authorSeungha Yang <seungha@centricular.com>
Thu, 23 Apr 2020 16:56:57 +0000 (01:56 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 23 Apr 2020 23:38:03 +0000 (23:38 +0000)
commitac850fd25d4e36dc3e1b5393b7b492f33b35a874
tree77bdd95c03694010f815b9e3280b2b7064024a00
parent4e9030a0b6d0e0ff048b5c8a744ff6065f03d4f2
v4l2slh264dec: Support avc and avc3 formats

h264decoder baseclass provides parsed sps/pps (from codec data) for
subclass. Also, since current implementation is putting start code prefix
manually, the format of stream should not be matter for subclass.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1214>
sys/v4l2codecs/gstv4l2codech264dec.c