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: qv4l2: s_pixelformat(V4L2_PIX_FMT_RGB24) failed due to wrong type Author: Hans Verkuil <[email protected]> Date: Mon Nov 23 10:25:37 2015 +0100 For SDR/VBI formats the type of the m_capDestFormat was SDR/VBI instead of VIDEO, so setting the pixelformat never worked. Explicitly set the type for VIDEO_CAPTURE for these formats. Signed-off-by: Hans Verkuil <[email protected]> utils/qv4l2/qv4l2.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=7cd73b2307ec0bae13c7e78b3e13a75766219b61 diff --git a/utils/qv4l2/qv4l2.cpp b/utils/qv4l2/qv4l2.cpp index 84fb893..e3cc384 100644 --- a/utils/qv4l2/qv4l2.cpp +++ b/utils/qv4l2/qv4l2.cpp @@ -1380,6 +1380,7 @@ void ApplicationWindow::capStart(bool start) error("no services possible\n"); return; } + m_capDestFormat.s_type(V4L2_BUF_TYPE_VIDEO_CAPTURE); m_capDestFormat.s_pixelformat(V4L2_PIX_FMT_RGB24); m_vbiTab->rawFormat(fmt.fmt.vbi); m_vbiWidth = fmt.fmt.vbi.samples_per_line; @@ -1414,6 +1415,7 @@ void ApplicationWindow::capStart(bool start) return; } m_sdrSize = fmt.fmt.sdr.buffersize; + m_capDestFormat.s_type(V4L2_BUF_TYPE_VIDEO_CAPTURE); m_capDestFormat.s_pixelformat(V4L2_PIX_FMT_RGB24); m_frameData = new unsigned char[m_sdrSize]; m_capImage = new QImage(SDR_WIDTH, SDR_HEIGHT, dstFmt); _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
