projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa9ad5
)
gl/caopengllayersink: Actually unset caps_change flag after resize
author
Heinrich Fink
<hfink@toolsonair.com>
Sun, 17 Apr 2016 14:45:41 +0000
(15:45 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:19 +0000
(19:32 +0000)
Otherwise, the sink would execute "on_resize" for each frame.
https://bugzilla.gnome.org/show_bug.cgi?id=765194
ext/gl/caopengllayersink.m
patch
|
blob
|
history
diff --git
a/ext/gl/caopengllayersink.m
b/ext/gl/caopengllayersink.m
index b923d220f1955c7708801274dbd88f9423295f66..000511577b164204e2ee6984493b54f89dff5d12 100644
(file)
--- 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 =
TRU
E;
+ ca_sink->caps_change =
FALS
E;
}
sync_meta = gst_buffer_get_gl_sync_meta (ca_sink->stored_sync);