summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/fimc.c
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-mfc-example/fimc.c')
-rw-r--r--v4l2-mfc-example/fimc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/v4l2-mfc-example/fimc.c b/v4l2-mfc-example/fimc.c
index 78a1475..a168100 100644
--- a/v4l2-mfc-example/fimc.c
+++ b/v4l2-mfc-example/fimc.c
@@ -113,10 +113,13 @@ int fimc_sfmt(struct instance *i, int width, int height,
"Please read patch: \"s5p-fimc: Changed RGB32 to BGR32\"\n"
"\thttp://www.spinics.net/lists/linux-media/msg74953.html\n"
"\thttps://patchwork.linuxtv.org/patch/23236/");
- return -1;
+ if (i->fimc.ignore_format_change) {
+ err("!!! IGNORING FORMAT CHANGE !!!");
+ } else {
+ return -1;
+ }
}
-
dbg("Successful SFMT on %s of FIMC (%dx%d)",
dbg_type[type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE],
width, height);