summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-01-21 16:11:59 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2019-01-24 08:49:39 +0000
commitf238066288ead0c1144b2eb03c9ab2c5e4cb5a2a (patch)
treee8e3e0cb314df567ceae487d318de7a7da07f4e0 /sys
parent882befb5db545c6751bba4658de791d5f80e54b5 (diff)
downloadgstreamer-plugins-bad-f238066288ead0c1144b2eb03c9ab2c5e4cb5a2a.tar.gz
msdk: decoder: comment to explain array reset
Diffstat (limited to 'sys')
-rw-r--r--sys/msdk/gstmsdkdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/msdk/gstmsdkdec.c b/sys/msdk/gstmsdkdec.c
index 535ce99eb..5e5c2b06f 100644
--- a/sys/msdk/gstmsdkdec.c
+++ b/sys/msdk/gstmsdkdec.c
@@ -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;