diff options
author | Divya Jaiswal <divya.jswl@samsung.com> | 2015-07-07 14:53:03 +0200 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2015-07-09 15:55:20 +0200 |
commit | d1bb80df16a8bee9635a916f02c848298f7d9988 (patch) | |
tree | 19d4389988fd464a5b35a9ef03cc3021be0a161e /v4l2-mfc-example/main.c | |
parent | d71d5fc9fd0420d4a738a69c2e68d4e68e31a8fd (diff) |
v4l2-mfc-example: Add EOS
This patch adds a function that tells MFC when there is end of stream.
Signed-off-by: Divya Jaiswal <divya.jswl@samsung.com>
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
Diffstat (limited to 'v4l2-mfc-example/main.c')
-rw-r--r-- | v4l2-mfc-example/main.c | 2 |
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); |