summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-mfc-example/main.c')
-rw-r--r--v4l2-mfc-example/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/v4l2-mfc-example/main.c b/v4l2-mfc-example/main.c
index 73b9ad7..a27aa16 100644
--- a/v4l2-mfc-example/main.c
+++ b/v4l2-mfc-example/main.c
@@ -171,6 +171,8 @@ void *parser_thread_func(void *args)
dbg("Parser has extracted all frames");
i->parser.finished = 1;
fs = 0;
+ mfc_dec_stop(i);
+ return 0;
}
dbg("Extracted frame of size %d", fs);