codecparsers: av1: all ref idx should be gint8.
authorHe Junyan <junyan.he@intel.com>
Fri, 24 Jul 2020 04:49:10 +0000 (12:49 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 17 Nov 2020 19:31:09 +0000 (19:31 +0000)
commit7e33863b10107904101e0ccb5c145b3527a4359b
treeca3701d0ca7e7a45ac6476e03b606f9558c7ed18
parent483768cfa7a4520854e4c0b146234cf83a00e9d8
codecparsers: av1: all ref idx should be gint8.

All the ref index need to compare with 0 in reference index decision
algorithm. We also need to init them to -1.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1464>
gst-libs/gst/codecparsers/gstav1parser.c
gst-libs/gst/codecparsers/gstav1parser.h