This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: v4l2-ctl: improve logging of events and the stop en/decoder cmds. Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Wed Mar 13 14:50:28 2019 +0100 Added a few missing newlines and log when the en/decoder is stopped. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=c2b36007acf780836b9a122ade1db320fe46e11b diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp index a653ed1dc9ed..271cfaccb198 100644 --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp @@ -1607,7 +1607,7 @@ recover: break; case V4L2_EVENT_EOS: eos = true; - fprintf(stderr, "EOS"); + fprintf(stderr, "\nEOS"); fflush(stderr); break; } @@ -2060,6 +2060,7 @@ static void stateful_m2m(cv4l_fd &fd, cv4l_queue &in, cv4l_queue &out, .cmd = V4L2_DEC_CMD_STOP, }; + fprintf(stderr, "STOP %sCODER\n", is_encoder ? "EN" : "DE"); if (is_encoder) fd.encoder_cmd(enc_stop); else @@ -2076,10 +2077,10 @@ static void stateful_m2m(cv4l_fd &fd, cv4l_queue &in, cv4l_queue &out, while (!fd.dqevent(ev)) { if (ev.type == V4L2_EVENT_EOS) { wr_fds = NULL; - fprintf(stderr, "EOS"); + fprintf(stderr, "EOS EVENT\n"); fflush(stderr); } else if (ev.type == V4L2_EVENT_SOURCE_CHANGE) { - fprintf(stderr, "SOURCE CHANGE\n"); + fprintf(stderr, "SOURCE CHANGE EVENT\n"); in_source_change_event = true; /* _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits