va: encoder: Fix regression since commit 2042c2d4f0.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 27 May 2022 12:45:51 +0000 (14:45 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 29 May 2022 11:56:39 +0000 (11:56 +0000)
commite83983d7ca318535379c7bfd2281a8cd5d736981
tree322ffb2e535cc43783d7d37003b0d84b620a123c
parenta8f18aef189e31edeac9cab2a746d8199b9e73c2
va: encoder: Fix regression since commit 2042c2d4f0.

There's no need to compare with the open entrypoint to query the
encoder. This commit removes the checks to the configured entrypoint
with the parameter.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2508>
subprojects/gst-plugins-bad/sys/va/gstvaencoder.c