summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/gstglfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/gl/gstglfilter.c')
-rw-r--r--gst-libs/gst/gl/gstglfilter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c
index 2ce0ca3..109379c 100644
--- a/gst-libs/gst/gl/gstglfilter.c
+++ b/gst-libs/gst/gl/gstglfilter.c
@@ -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);