msdk: decoder: comment to explain array reset
This commit is contained in:
parent
882befb5db
commit
f238066288
@ -408,7 +408,7 @@ gst_msdkdec_init_decoder (GstMsdkDec * thiz)
|
|||||||
msdk_status_to_string (status));
|
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);
|
g_array_set_size (thiz->tasks, thiz->param.AsyncDepth);
|
||||||
thiz->next_task = 0;
|
thiz->next_task = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user