summaryrefslogtreecommitdiff
path: root/gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c')
-rw-r--r--gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c b/gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c
index 682020318..48815e52f 100644
--- a/gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c
+++ b/gst-libs/gst/gl/viv-fb/gstgldisplay_viv_fb.c
@@ -83,6 +83,7 @@ gst_gl_display_viv_fb_new (gint disp_idx)
GST_DEBUG ("creating Vivante FB EGL display %d", disp_idx);
display = g_object_new (GST_TYPE_GL_DISPLAY_VIV_FB, NULL);
+ gst_object_ref_sink (display);
display->disp_idx = disp_idx;
display->display = fbGetDisplayByIndex (display->disp_idx);
if (!display->display) {