mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
[906/906] filter: warn about trying to share with multiple contexts at once
This commit is contained in:
parent
3f5b68b072
commit
4a18aa4b70
1 changed files with 4 additions and 0 deletions
|
@ -914,6 +914,10 @@ gst_gl_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
|
|||
|
||||
if (!other_context)
|
||||
other_context = filter->other_context;
|
||||
else
|
||||
GST_ELEMENT_WARNING (filter, LIBRARY, SETTINGS,
|
||||
("%s", "Cannot share with more than one GL context"),
|
||||
("%s", "Cannot share with more than one GL context"));
|
||||
|
||||
if (!filter->context) {
|
||||
filter->context = gst_gl_context_new (filter->display);
|
||||
|
|
Loading…
Reference in a new issue