gloverlay: Load texture after stopping and starting again

Set location_has_changed when stopping so that the texture will be
loaded when starting again.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9434>
This commit is contained in:
Jaslo Ziska 2025-07-22 15:21:23 +02:00 committed by GStreamer Marge Bot
parent 87ed0c0e33
commit 3f99fb7f94

View File

@ -163,6 +163,7 @@ gst_gl_overlay_gl_stop (GstGLBaseFilter * base_filter)
if (overlay->image_memory) {
gst_memory_unref ((GstMemory *) overlay->image_memory);
overlay->image_memory = NULL;
overlay->location_has_changed = TRUE;
}
if (overlay->vao) {