glbasefilter: enable qos by default
authorMatthew Waters <matthew@centricular.com>
Thu, 4 Feb 2016 06:31:03 +0000 (17:31 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 4 Feb 2016 06:31:03 +0000 (17:31 +1100)
Improves the responsiveness of the pipeline when resources are close/above the
limitations of the hardware.

Any subclass that wishes not to enable qos can do so themselves.

https://bugzilla.gnome.org/show_bug.cgi?id=761519

gst-libs/gst/gl/gstglbasefilter.c

index eca40bc..a4e97b9 100644 (file)
@@ -113,6 +113,8 @@ gst_gl_base_filter_class_init (GstGLBaseFilterClass * klass)
 static void
 gst_gl_base_filter_init (GstGLBaseFilter * filter)
 {
+  gst_base_transform_set_qos_enabled (GST_BASE_TRANSFORM (filter), TRUE);
+
   filter->priv = GST_GL_BASE_FILTER_GET_PRIVATE (filter);
 }