gluploadelement: don't passthrough on same caps
authorMatthew Waters <matthew@centricular.com>
Wed, 24 Jul 2019 04:25:19 +0000 (14:25 +1000)
committerMatthew Waters <matthew@centricular.com>
Wed, 24 Jul 2019 04:27:30 +0000 (14:27 +1000)
If we do, then multiple disjoint OpenGL contexts will not perform the
necessary download and reupload of data that is necessary to cross between
each OpenGL context sharegroup.

ext/gl/gstgluploadelement.c

index aec9c6c..332ffef 100644 (file)
@@ -95,8 +95,6 @@ gst_gl_upload_element_class_init (GstGLUploadElementClass * klass)
   bt_class->transform = gst_gl_upload_element_transform;
   bt_class->stop = gst_gl_upload_element_stop;
 
-  bt_class->passthrough_on_same_caps = TRUE;
-
   element_class->change_state = gst_gl_upload_element_change_state;
 
   gst_element_class_add_static_pad_template (element_class,