summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/vaapi/gstvaapivideocontext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapivideocontext.c b/gst/vaapi/gstvaapivideocontext.c
index ae3af85d..cc2967b8 100644
--- a/gst/vaapi/gstvaapivideocontext.c
+++ b/gst/vaapi/gstvaapivideocontext.c
@@ -64,6 +64,9 @@ gst_vaapi_video_context_set_display (GstContext * context,
structure = gst_context_writable_structure (context);
gst_structure_set (structure, GST_VAAPI_DISPLAY_CONTEXT_TYPE_NAME,
GST_TYPE_VAAPI_DISPLAY, display, NULL);
+ /* The outside user may access it as a generic Gobject. */
+ gst_structure_set (structure, "gst.vaapi.Display.GObject",
+ GST_TYPE_OBJECT, display, NULL);
}
GstContext *