mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
va: h264dec: remove spurious if validation
The first if checks for caps, thus else doesn't need to recheck for the opposite. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1999>
This commit is contained in:
parent
688ade3cfc
commit
5e78c4bafc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue