summaryrefslogtreecommitdiff
path: root/sys/nvenc
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-09-29 16:17:22 +1000
committerMatthew Waters <matthew@centricular.com>2015-09-29 16:17:22 +1000
commit63a7cbf8f1d6fe59ec72d5cbe8c786911a726374 (patch)
tree9cd6395b6ffc2aad7594b960c597d5b700e7dc74 /sys/nvenc
parentb7aed13e713fecce0a6e9d34d5b484db655c2b75 (diff)
downloadgstreamer-plugins-bad-63a7cbf8f1d6fe59ec72d5cbe8c786911a726374.tar.gz
nvenc: call the parent class on GstElement::set_context
Diffstat (limited to 'sys/nvenc')
-rw-r--r--sys/nvenc/gstnvbaseenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/nvenc/gstnvbaseenc.c b/sys/nvenc/gstnvbaseenc.c
index 154546d31..ccf7186a9 100644
--- a/sys/nvenc/gstnvbaseenc.c
+++ b/sys/nvenc/gstnvbaseenc.c
@@ -290,6 +290,8 @@ gst_nv_base_enc_set_context (GstElement * element, GstContext * context)
gst_gl_display_filter_gl_api (GST_GL_DISPLAY (nvenc->display),
SUPPORTED_GL_APIS);
#endif
+
+ GST_ELEMENT_CLASS (parent_class)->set_context (element, context);
}
static gboolean