From 4bbe16bb7fd6217391aa9d4cfa8307d1e871c809 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 4 Feb 2016 17:31:03 +1100 Subject: [PATCH] glbasefilter: enable qos by default 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglbasefilter.c b/gst-libs/gst/gl/gstglbasefilter.c index eca40bc..a4e97b9 100644 --- a/gst-libs/gst/gl/gstglbasefilter.c +++ b/gst-libs/gst/gl/gstglbasefilter.c @@ -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); } -- 2.7.4