mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
This commit is contained in:
parent
7d1f3db884
commit
a4834c4352
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ gst_gl_display_viv_fb_finalize (GObject * object)
|
||||||
{
|
{
|
||||||
GstGLDisplayVivFB *display_viv_fb = GST_GL_DISPLAY_VIV_FB (object);
|
GstGLDisplayVivFB *display_viv_fb = GST_GL_DISPLAY_VIV_FB (object);
|
||||||
|
|
||||||
if (display_viv_fb->display)
|
// We don't destroy the FB Display - it causes crashes in applications
|
||||||
fbDestroyDisplay (display_viv_fb->display);
|
// because Vivante doesn't seem to do any refcounting
|
||||||
|
|
||||||
G_OBJECT_CLASS (gst_gl_display_viv_fb_parent_class)->finalize (object);
|
G_OBJECT_CLASS (gst_gl_display_viv_fb_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue