From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 5465342B82 for ; Wed, 12 Jan 2022 04:44:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DE9D668ADDB; Wed, 12 Jan 2022 06:44:56 +0200 (EET) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 723E668A89C for ; Wed, 12 Jan 2022 06:44:50 +0200 (EET) Received: by mail-qk1-f176.google.com with SMTP id bl18so1272929qkb.5 for ; Tue, 11 Jan 2022 20:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YYVaNAj2qi0+f44iwPjaM3VH8fdPqQt3NpXHb9chdCU=; b=R5t3uFU7xF8VLDXnOqhhHN14WwDIndprvGzoxRMJmcFxRMWI+dfSKeQ5dvRSypyG7+ TSvZQ417ppsMT3y8huG+Zmgy4gKOizbcd+SWOpNZH9N2lbv2J0IZX8P2vEPOicBDo912 a/D8OsHRkbK+X4xGRFy/aU7dteLjYcEqzkYepb3XrZxAY9HPA+WpAmM0stVTq00XxK7v 3CJOJlZQbJ6m4mmVUbf63QPFEzty57XnlDtqqh9uJ1SFYfi+LisucHj2ph1GiNDSfRuh rUIwZZaBdoC1T0OVUbxtl8q/iAo6iY3A/guwnNwcyMm0m8N2nVYeqiveIfID5R4QYTaG EGEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YYVaNAj2qi0+f44iwPjaM3VH8fdPqQt3NpXHb9chdCU=; b=CjQD+DczYUyy/KyGq7/8aU/oelbSBpHHzvbjEImyIRxDs1zc7mLEmIEDWngk4ARHMw cVG4ARFzj1F4gHfd8P1Uc8V9xx2HS0KzSs99TqlH8y7ps4XG81172LhYgFpWoXc3Fu2W sUEzFG5mx8/QicDTUKnsfDvJOCCJlLk6XYfpA8GdbZaG7IzVqidFsZcvuP1+QA3sd9lO 84gtptd+/piMKwDAj2BtD5e+OJ0NMVerFtV6+PJTpbn64KjDhi/MqDjgmHRBshwqR8LF wblrTZk775FBKjX3t3PlDy2w7VomQiVz7cp/Bu/0E2WCQfs3q/9giWJJp2Dp3uDpWsAc jsMw== X-Gm-Message-State: AOAM532vvaNTnS/TD8XIYm9vI6mIRhKWGXNIxh1LfHw2fT8hfGfhNsqX 3dhT9qOZCmUf939wa8de42jMTgxa6KE= X-Google-Smtp-Source: ABdhPJytfPMjVYjVP5DV/YwEL8yp13lf0VA39yIkIp/T2X70hr269E35Ivc1fY0H93U/WKLQGQxNQg== X-Received: by 2002:a05:620a:4449:: with SMTP id w9mr5267391qkp.617.1641962688877; Tue, 11 Jan 2022 20:44:48 -0800 (PST) Received: from jackie (pool-108-20-185-127.bstnma.fios.verizon.net. [108.20.185.127]) by smtp.gmail.com with ESMTPSA id x62sm7537729qkb.70.2022.01.11.20.44.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 20:44:48 -0800 (PST) From: Ming Qian X-Google-Original-From: Ming Qian Date: Tue, 11 Jan 2022 23:44:47 -0500 To: FFmpeg development discussions and patches Message-ID: <20220112044447.k4dnu3ymj3r6jw7f@jackie> References: <20220104090836.31660-1-ming.qian@nxp.com> <20220104090836.31660-5-ming.qian@nxp.com> <20220104224101.gmkmes6kduelmdsl@jackie> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220104224101.gmkmes6kduelmdsl@jackie> Subject: Re: [FFmpeg-devel] [PATCH v5 5/7] avcodec/v4l2_context: resume the decoding process after source change event received. X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, 04. Jan 17:41, Andriy Gelman wrote: > On Tue, 04. Jan 17:08, Ming Qian wrote: > > client need to resume the decoding process > > after it dequeues the source change event. > > no matter what's the return value of v4l2_resolution_changed(). > > if the client doesn't resume the decoding process, > > the decoder may keep waiting > > > > in documentation of v4l2 stateful decoder, we can see the following > > description: > > The client must continue the sequence as described below to > > continue the decoding process. > > 1. Dequeue the source change event. > > Important > > A source change triggers an implicit decoder drain, > > similar to the explicit Drain sequence. The decoder is > > stopped after it completes. The decoding process must be > > resumed with either a pair of calls to > > VIDIOC_STREAMOFF() and VIDIOC_STREAMON() on the CAPTURE > > queue, or a call to VIDIOC_DECODER_CMD() with the > > V4L2_DEC_CMD_START command. > > 2. Continue with the Capture Setup sequence. > > > > This is just a clean up to remove the reinit variable so the commit title and > description are wrong. > Updated the commit message and pushed. Thanks, -- Andriy _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".