diff options
author | Heinrich Fink <hfink@toolsonair.com> | 2016-04-17 15:45:41 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-04-18 10:33:28 +0300 |
commit | fa397dd90dbddc4dc6262c2513a6b37417bf3e15 (patch) | |
tree | 20ef95e65d8a03115da24855c4306c060b3dd0d2 | |
parent | 855a0583993b46a6ed6f07079fd91c72be8f1c90 (diff) | |
download | gstreamer-plugins-bad-fa397dd90dbddc4dc6262c2513a6b37417bf3e15.tar.gz |
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
-rw-r--r-- | ext/gl/caopengllayersink.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gl/caopengllayersink.m b/ext/gl/caopengllayersink.m index 42b8f900d..8d987a85f 100644 --- a/ext/gl/caopengllayersink.m +++ b/ext/gl/caopengllayersink.m @@ -1036,7 +1036,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); |