Commit fea4d302 authored by VaL Doroshchuk's avatar VaL Doroshchuk
Browse files

Gstreamer: Set surface from renderer before creating pipeline


When multiple pipelines are created, and one of these gets recreated,
it picks up the last set surface.

This is incorrect, as it needs a surface belonging to the current renderer.

This patch sets the surface before creating pipelines, retrieving it from the current renderer.

Task-number: QTBUG-73557
Change-Id: I0811f7262a0eca57e01361a55515351127520064
Reviewed-by: default avatarOliver Wolff <oliver.wolff@qt.io>
Reviewed-by: default avatarAndy Shaw <andy.shaw@qt.io>
parent 4e47d0a7
No related merge requests found
Showing with 7 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment