mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
gl/caopengllayersink: Actually unset caps_change flag after resize
Otherwise, the sink would execute "on_resize" for each frame. https://bugzilla.gnome.org/show_bug.cgi?id=765194
This commit is contained in:
parent
ef12e05a59
commit
44ec245b48
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ gst_ca_opengl_layer_sink_on_draw (GstCAOpenGLLayerSink * ca_sink)
|
|||
gst_ca_opengl_layer_sink_on_resize (ca_sink, ca_sink->window_width,
|
||||
ca_sink->window_height);
|
||||
GST_CA_OPENGL_LAYER_SINK_LOCK (ca_sink);
|
||||
ca_sink->caps_change = TRUE;
|
||||
ca_sink->caps_change = FALSE;
|
||||
}
|
||||
|
||||
sync_meta = gst_buffer_get_gl_sync_meta (ca_sink->stored_sync);
|
||||
|
|
Loading…
Reference in a new issue