From 39e55129d5af89028ba33556f45e6fe02574683a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 27 Jul 2020 11:14:49 +0200 Subject: [PATCH] va: decoder: initialize rt_formas to zero Part-of: --- sys/va/gstvadecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/va/gstvadecoder.c b/sys/va/gstvadecoder.c index 1401260708..2c754849da 100644 --- a/sys/va/gstvadecoder.c +++ b/sys/va/gstvadecoder.c @@ -165,7 +165,7 @@ gst_va_decoder_init (GstVaDecoder * self) self->profile = VAProfileNone; self->config = VA_INVALID_ID; self->context = VA_INVALID_ID; - self->rt_format = VA_RT_FORMAT_YUV420; + self->rt_format = 0; self->coded_width = 0; self->coded_height = 0; }