mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
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:
parent
955cdb84e6
commit
024d540195
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue