diff options
-rw-r--r-- | sys/va/gstvah264dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/va/gstvah264dec.c b/sys/va/gstvah264dec.c index 77ad69789..cbe8f7a10 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); } |