libs: display: remove gst_vaapi_display_properties_init()

Remove gst_vaapi_display_properties_init() since it can be unrolled in
gst_vaapi_display_class_init()

https://bugzilla.gnome.org/show_bug.cgi?id=788058
This commit is contained in:
Víctor Manuel Jáquez Leal 2017-09-22 15:16:34 +02:00
parent 9116ffb7b7
commit 9dcaa0d09f

View file

@ -84,9 +84,7 @@ struct _GstVaapiFormatInfo
enum enum
{ {
PROP_0, PROP_RENDER_MODE = 1,
PROP_RENDER_MODE,
PROP_ROTATION, PROP_ROTATION,
PROP_HUE, PROP_HUE,
PROP_SATURATION, PROP_SATURATION,
@ -98,8 +96,6 @@ enum
static GParamSpec *g_properties[N_PROPERTIES] = { NULL, }; static GParamSpec *g_properties[N_PROPERTIES] = { NULL, };
static void gst_vaapi_display_properties_init (void);
static gboolean static gboolean
get_attribute (GstVaapiDisplay * display, VADisplayAttribType type, get_attribute (GstVaapiDisplay * display, VADisplayAttribType type,
gint * value); gint * value);
@ -963,12 +959,6 @@ gst_vaapi_display_class_init (GstVaapiDisplayClass * klass)
klass->lock = gst_vaapi_display_lock_default; klass->lock = gst_vaapi_display_lock_default;
klass->unlock = gst_vaapi_display_unlock_default; klass->unlock = gst_vaapi_display_unlock_default;
gst_vaapi_display_properties_init ();
}
static void
gst_vaapi_display_properties_init (void)
{
/** /**
* GstVaapiDisplay:render-mode: * GstVaapiDisplay:render-mode:
* *