projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c9f45
)
glbasefilter: always call gl_start when not called already
author
Matthew Waters
<matthew@centricular.com>
Tue, 2 Feb 2016 05:19:54 +0000
(16:19 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:16 +0000
(19:32 +0000)
Fixes elements transitioning out of passthrough mode using GL resources that
hadn'e been allocated yet.
gst-libs/gst/gl/gstglbasefilter.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglbasefilter.c
b/gst-libs/gst/gl/gstglbasefilter.c
index 2e3da4540c59ecd1f4bf9ed3e91cf9e00dce31f8..eca40bcdd373acf83372d64144dafce83a109faf 100644
(file)
--- a/
gst-libs/gst/gl/gstglbasefilter.c
+++ b/
gst-libs/gst/gl/gstglbasefilter.c
@@
-382,7
+382,7
@@
gst_gl_base_filter_decide_allocation (GstBaseTransform * trans,
GST_OBJECT_UNLOCK (filter->display);
}
- if (new_context) {
+ if (new_context
|| !filter->priv->gl_started
) {
if (filter->priv->gl_started)
gst_gl_context_thread_add (filter->context, gst_gl_base_filter_gl_stop,
filter);