From patchwork Tue Oct 13 14:17:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Michel Hautbois X-Patchwork-Id: 31673 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1Zm0PF-0003Ur-KD; Tue, 13 Oct 2015 16:18:21 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.76/mailfrontend-8) with esmtp id 1Zm0PD-00054x-la; Tue, 13 Oct 2015 16:18:21 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932488AbbJMOSA (ORCPT + 1 other); Tue, 13 Oct 2015 10:18:00 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:35509 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932360AbbJMOR7 (ORCPT ); Tue, 13 Oct 2015 10:17:59 -0400 Received: by obbzf10 with SMTP id zf10so14584620obb.2 for ; Tue, 13 Oct 2015 07:17:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-type; bh=M4RCLX9A/s9fCzIibvL3aGA1L9lqr9xIz/j3tz0dNXM=; b=nCLczA+aHYdRBbdyisvQWboke40QgECpwAox1x+n2HOwcl/AIoLoOdtoI7GSvFM0Vn X9KPqjIyCjSr1fxdmsdprvYLe6SdqyQ5lLdk2QyVSmiM0/L9ocp6J0XxoDAg+amL7ykT 2ezQ5JuMPmkEynSbdeCRqhcEpV9cabwI1/3CxWUjMprtJRFVreCvj2fcoGQ7i9af2AGL GDI9rOLgxRPxPv/9BCdJOHYl0mY97yN4MRN2AJIT3jJv7CdY4UyNSEKN/zteyjeFGVMk iOvA+WD5cTXSIbWXlU2aZV7ICcWzqWb9gdWddXhu3wqERqqTtbPIr0C+7QkVHGUiBroF +ziA== X-Gm-Message-State: ALoCoQlRfjsIq6/v1uGSosW/vHDyIP0D7Ny0g0FBE22rRWK4bK14smqHxLFqQq72tzjO/d5fOCNd X-Received: by 10.182.97.233 with SMTP id ed9mr20575108obb.23.1444745879094; Tue, 13 Oct 2015 07:17:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.171.10 with HTTP; Tue, 13 Oct 2015 07:17:39 -0700 (PDT) From: Jean-Michel Hautbois Date: Tue, 13 Oct 2015 16:17:39 +0200 Message-ID: Subject: [PATCH] DocBook media: Fix a typo in encoder cmd To: Linux Media Mailing List Cc: linux-kernel , Mauro Carvalho Chehab , Kamil Debski , Philipp Zabel , Hans Verkuil Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.10.13.141215 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1400_1499 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CT_TEXT_PLAIN_UTF8_CAPS 0, NO_URI_HTTPS 0, SINGLE_URI_IN_BODY 0, URI_ENDS_IN_HTML 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __PHISH_SPEAR_STRUCTURE_2 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __URI_IN_BODY 0, __URI_NO_WWW 0, __URI_NS , __YOUTUBE_RCVD 0' A copy-paste from DECODER_CMD : replace decoded by encoded. Signed-off-by: Jean-Michel Hautbois --- Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) will set the V4L2_BUF_FLAG_LAST buffer flag on the last buffer of the capture queue to indicate there will be no new buffers produced to dequeue. This buffer may be empty, indicated by the driver setting the diff --git a/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml b/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml index fc1d462..70a4a08 100644 --- a/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml +++ b/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml @@ -130,7 +130,7 @@ encoding will continue until the end of the current Group Of Pictures, otherwise encoding will stop immediately. When the encoder is already stopped, this command does nothing. mem2mem encoders will send a V4L2_EVENT_EOS event -when the last frame has been decoded and all frames are ready to be dequeued and +when the last frame has been encoded and all frames are ready to be dequeued and