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:
parent
87ed0c0e33
commit
3f99fb7f94
@ -163,6 +163,7 @@ gst_gl_overlay_gl_stop (GstGLBaseFilter * base_filter)
|
|||||||
if (overlay->image_memory) {
|
if (overlay->image_memory) {
|
||||||
gst_memory_unref ((GstMemory *) overlay->image_memory);
|
gst_memory_unref ((GstMemory *) overlay->image_memory);
|
||||||
overlay->image_memory = NULL;
|
overlay->image_memory = NULL;
|
||||||
|
overlay->location_has_changed = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (overlay->vao) {
|
if (overlay->vao) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user