viv-fb: fix build warning of [-Wunused-variable]

display_viv_fb is unused in gst_gl_display_viv_fb_finalize ().

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5913>
This commit is contained in:
Chao Guo 2024-01-12 12:01:03 +09:00 committed by GStreamer Marge Bot
parent 17745ba5db
commit ed4af574d8

View file

@ -57,8 +57,6 @@ gst_gl_display_viv_fb_init (GstGLDisplayVivFB * display_viv_fb)
static void static void
gst_gl_display_viv_fb_finalize (GObject * object) gst_gl_display_viv_fb_finalize (GObject * object)
{ {
GstGLDisplayVivFB *display_viv_fb = GST_GL_DISPLAY_VIV_FB (object);
// We don't destroy the FB Display - it causes crashes in applications // We don't destroy the FB Display - it causes crashes in applications
// because Vivante doesn't seem to do any refcounting // because Vivante doesn't seem to do any refcounting