msdk: decoder: comment to explain array reset

This commit is contained in:
Víctor Manuel Jáquez Leal 2019-01-21 16:11:59 +01:00
parent 882befb5db
commit f238066288

View file

@ -408,7 +408,7 @@ gst_msdkdec_init_decoder (GstMsdkDec * thiz)
msdk_status_to_string (status));
}
g_array_set_size (thiz->tasks, 0);
g_array_set_size (thiz->tasks, 0); /* resets array content */
g_array_set_size (thiz->tasks, thiz->param.AsyncDepth);
thiz->next_task = 0;