mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
vaapiupload: reset direct-rendering to zero when changing caps.
Make sure to reset direct-rendering flag to zero when caps are changed, and only derive it to one when the next checks succeed.
This commit is contained in:
parent
237a4adb0c
commit
df1eb6e01e
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ gst_vaapi_uploader_ensure_caps(
|
|||
return FALSE;
|
||||
|
||||
priv = uploader->priv;
|
||||
priv->direct_rendering = 0;
|
||||
|
||||
structure = gst_caps_get_structure(src_caps, 0);
|
||||
if (!structure)
|
||||
|
|
Loading…
Reference in a new issue