mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +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
caa9ad59e6
commit
981beba52d
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