summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/parser.c
diff options
context:
space:
mode:
authorMateusz Krawczuk <m.krawczuk@samsung.com>2015-04-17 16:16:35 +0200
committerKamil Debski <k.debski@samsung.com>2015-04-30 15:37:07 +0200
commit40c68e49c5d1a987a4f2725a655244ca47cd34fb (patch)
tree949140de416e28bba617406c0319153b5bcf57e1 /v4l2-mfc-example/parser.c
parent8361c5567d6e51f6771fe9b7cd75e6b41afb2b2d (diff)
Add automatic detection of drm, fimc and mfc. Update dates
Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com>
Diffstat (limited to 'v4l2-mfc-example/parser.c')
-rw-r--r--v4l2-mfc-example/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l2-mfc-example/parser.c b/v4l2-mfc-example/parser.c
index 4fd84db..972cdfc 100644
--- a/v4l2-mfc-example/parser.c
+++ b/v4l2-mfc-example/parser.c
@@ -4,7 +4,7 @@
*
* Really simple stream parser file
*
- * Copyright 2012 Samsung Electronics Co., Ltd.
+ * Copyright 2012 - 2015 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -334,6 +334,7 @@ int parse_h264_stream(
if (ctx->got_start) {
if (out_size < frame_length) {
+ printf("out_size: %i frame_length: %i\n", out_size, frame_length);
err("Output buffer too small for current frame");
return 0;
}