Commit a4834c43 authored by Jan Schmidt's avatar Jan Schmidt Committed by Tim-Philipp Müller

viv-fb: Don't destroy the native FB display

It causes crashes in applications because the result of
fbGetDisplay() might be in use elsewhere in the application
and Vivante doesn't seem to do any refcounting
parent 7d1f3db8
......@@ -59,8 +59,8 @@ gst_gl_display_viv_fb_finalize (GObject * object)
{
GstGLDisplayVivFB *display_viv_fb = GST_GL_DISPLAY_VIV_FB (object);
if (display_viv_fb->display)
fbDestroyDisplay (display_viv_fb->display);
// We don't destroy the FB Display - it causes crashes in applications
// because Vivante doesn't seem to do any refcounting
G_OBJECT_CLASS (gst_gl_display_viv_fb_parent_class)->finalize (object);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment