From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from bhuna.collabora.co.uk ([93.93.135.160]:56875 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752080AbaLHObY (ORCPT ); Mon, 8 Dec 2014 09:31:24 -0500 Message-ID: <5485B636.4080509@collabora.com> Date: Mon, 08 Dec 2014 09:31:18 -0500 From: Nicolas Dufresne MIME-Version: 1.0 To: Bin Chen , linux-media@vger.kernel.org Subject: Re: V4l2 state transition References: <5485B5CC.6040101@collabora.com> In-Reply-To: <5485B5CC.6040101@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: Le 2014-12-08 09:29, Nicolas Dufresne a écrit : > > Le 2014-12-08 00:19, Bin Chen a écrit : >> Can anyone comment is following state transition diagram for V4l2 user >> space program make sense? Do you see any issues if we were to enforce >> this constraint? > I think you should request some buffers before streamon. If in > capture, you should also queue the minimum amount of buffers. I forgot, setting input and format isn't strictly required. Driver should have decent default configured. Nicolas