vaapidecode: remove unneeded initializations

GObject's memory is set to zero, so there is no need to initialize to zero or
NULL it's class variables.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-07-19 16:02:27 +02:00
parent 955cdb84e6
commit 024d540195

View file

@ -1335,10 +1335,6 @@ gst_vaapidecode_init (GstVaapiDecode * decode)
gst_vaapi_plugin_base_init (GST_VAAPI_PLUGIN_BASE (decode), GST_CAT_DEFAULT);
decode->decoder = NULL;
decode->decoder_caps = NULL;
decode->allowed_caps = NULL;
g_mutex_init (&decode->surface_ready_mutex);
g_cond_init (&decode->surface_ready);