From 44ec245b48cec3800c7dcd66fd623304d5b0494f Mon Sep 17 00:00:00 2001 From: Heinrich Fink Date: Sun, 17 Apr 2016 15:45:41 +0100 Subject: [PATCH] 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 --- ext/gl/caopengllayersink.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/caopengllayersink.m b/ext/gl/caopengllayersink.m index b923d220f1..000511577b 100644 --- a/ext/gl/caopengllayersink.m +++ b/ext/gl/caopengllayersink.m @@ -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);