vaapisink: when updating the caps, reset rotation
authorMarc Leeman <m.leeman@televic.com>
Tue, 1 Sep 2020 07:31:33 +0000 (09:31 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 9 Sep 2020 16:51:54 +0000 (16:51 +0000)
commit629154642f99fad7eb5bb8750979f4a64c10166d
treec22cbaf6073e626a762b39b0f6deef05515a10db
parent0818af088b8418b4d69ed1fa745f6958d13cb9d2
vaapisink: when updating the caps, reset rotation

When an element upstream changes settings (e.g. crop), new caps are sent
to vaapisink. When vaapisink was rotating the image, it needs to
re-evaluate if the sink needs to rotate the image.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/389>
gst/vaapi/gstvaapisink.c