diff options
author | Matthew Waters <matthew@centricular.com> | 2016-02-04 17:31:03 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-02-04 17:31:03 +1100 |
commit | 4bbe16bb7fd6217391aa9d4cfa8307d1e871c809 (patch) | |
tree | 7b64809831d3226d8d5fd0bcbc6364248d38da81 /gst-libs/gst/gl/gstglbasefilter.c | |
parent | 9efdfb1a29b4e5716c46e1f53acb1ebc605b952b (diff) |
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
Diffstat (limited to 'gst-libs/gst/gl/gstglbasefilter.c')
-rw-r--r-- | gst-libs/gst/gl/gstglbasefilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglbasefilter.c b/gst-libs/gst/gl/gstglbasefilter.c index eca40bcdd..a4e97b929 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); } |