mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
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:
parent
9116ffb7b7
commit
9dcaa0d09f
1 changed files with 1 additions and 11 deletions
|
@ -84,9 +84,7 @@ struct _GstVaapiFormatInfo
|
|||
|
||||
enum
|
||||
{
|
||||
PROP_0,
|
||||
|
||||
PROP_RENDER_MODE,
|
||||
PROP_RENDER_MODE = 1,
|
||||
PROP_ROTATION,
|
||||
PROP_HUE,
|
||||
PROP_SATURATION,
|
||||
|
@ -98,8 +96,6 @@ enum
|
|||
|
||||
static GParamSpec *g_properties[N_PROPERTIES] = { NULL, };
|
||||
|
||||
static void gst_vaapi_display_properties_init (void);
|
||||
|
||||
static gboolean
|
||||
get_attribute (GstVaapiDisplay * display, VADisplayAttribType type,
|
||||
gint * value);
|
||||
|
@ -963,12 +959,6 @@ gst_vaapi_display_class_init (GstVaapiDisplayClass * klass)
|
|||
klass->lock = gst_vaapi_display_lock_default;
|
||||
klass->unlock = gst_vaapi_display_unlock_default;
|
||||
|
||||
gst_vaapi_display_properties_init ();
|
||||
}
|
||||
|
||||
static void
|
||||
gst_vaapi_display_properties_init (void)
|
||||
{
|
||||
/**
|
||||
* GstVaapiDisplay:render-mode:
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue