diff --git a/sys/va/gstvah264dec.c b/sys/va/gstvah264dec.c index 77ad697893..cbe8f7a10f 100644 --- a/sys/va/gstvah264dec.c +++ b/sys/va/gstvah264dec.c @@ -773,7 +773,7 @@ gst_va_h264_dec_getcaps (GstVideoDecoder * decoder, GstCaps * filter) caps = sinkcaps; } GST_LOG_OBJECT (base, "Returning caps %" GST_PTR_FORMAT, caps); - } else if (!caps) { + } else { caps = gst_video_decoder_proxy_getcaps (decoder, NULL, filter); }