From 0db3e149892c3d15fc1b7cd0234338141ca96644 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 27 Oct 2016 16:27:45 +0200 Subject: [PATCH] vaapidecodebin: remove unused variables Since vaapipostproc is only registered if the driver supports it, all the support for dynamic loading were removed. Though some leftovers remained. https://bugzilla.gnome.org/show_bug.cgi?id=773589 --- gst/vaapi/gstvaapidecodebin.c | 8 -------- gst/vaapi/gstvaapidecodebin.h | 1 - 2 files changed, 9 deletions(-) diff --git a/gst/vaapi/gstvaapidecodebin.c b/gst/vaapi/gstvaapidecodebin.c index 9285614..a60d556 100644 --- a/gst/vaapi/gstvaapidecodebin.c +++ b/gst/vaapi/gstvaapidecodebin.c @@ -73,13 +73,6 @@ enum PROP_LAST }; -enum -{ - HAS_VPP_UNKNOWN, - HAS_VPP_NO, - HAS_VPP_YES -}; - static GParamSpec *properties[PROP_LAST]; /* Default templates */ @@ -350,7 +343,6 @@ error_adding_pad: static void gst_vaapi_decode_bin_init (GstVaapiDecodeBin * vaapidecbin) { - vaapidecbin->has_vpp = HAS_VPP_UNKNOWN; vaapidecbin->deinterlace_method = DEFAULT_DEINTERLACE_METHOD; gst_vaapi_decode_bin_configure (vaapidecbin); diff --git a/gst/vaapi/gstvaapidecodebin.h b/gst/vaapi/gstvaapidecodebin.h index 81804b9..787d302 100644 --- a/gst/vaapi/gstvaapidecodebin.h +++ b/gst/vaapi/gstvaapidecodebin.h @@ -53,7 +53,6 @@ typedef struct _GstVaapiDecodeBin { guint64 max_size_time; GstVaapiDeinterlaceMethod deinterlace_method; gboolean disable_vpp; - guint has_vpp; } GstVaapiDecodeBin; -- 2.7.4