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 5844F49D75 for ; Mon, 11 Mar 2024 01:58:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1840068CF41; Mon, 11 Mar 2024 03:58:42 +0200 (EET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4A1CA68CD68 for ; Mon, 11 Mar 2024 03:58:35 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710122320; x=1741658320; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Z9RuldgkY8AyHsB+zVZb4n8cnOmukiQiZWD60CxS8Ow=; b=h0rFKNNum+9zSna6GrwYPqNu7jdfztZ4bhyjwk5qdXr/kJ9hUY/yu/f5 wwnU8u60p9A9vdsZy/ng2oF9J/UHmJ3ThOjpLvn5qzALVuPA5HUa8KVml kVG1j2BcuTxOoZ5p6if1fj6zhIBY//AmmhQYLBzG6Mq7+KRc2Dh/7UZ8r 2MKEVxJaggt4kgNvEhEbPs5IwzWqpTV8HQalHWu8IZDnejCnRywidi8V5 6eUcIaXZJxnsgQKOcBaYBPIWjgncym73oLXhUcAMsDF5f/v1W0e2J6Aoh XM1VaqH2W1lTTEYNrhwXpcSjyY8vIihH05b1QgbzGBlcmyEJEHWP6fSvY w==; X-IronPort-AV: E=McAfee;i="6600,9927,11009"; a="30213855" X-IronPort-AV: E=Sophos;i="6.07,115,1708416000"; d="scan'208";a="30213855" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2024 18:58:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,115,1708416000"; d="scan'208";a="15667975" Received: from t-dg2.sh.intel.com ([10.239.159.57]) by orviesa004.jf.intel.com with ESMTP; 10 Mar 2024 18:58:28 -0700 From: fei.w.wang-at-intel.com@ffmpeg.org To: ffmpeg-devel@ffmpeg.org Date: Mon, 11 Mar 2024 09:58:40 +0800 Message-Id: <20240311015840.204571-2-fei.w.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240311015840.204571-1-fei.w.wang@intel.com> References: <20240311015840.204571-1-fei.w.wang@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 2/2] lavc/vvc_ps: Correct NoOutputBeforeRecoveryFlag of IDR 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 Cc: fei.w.wang@intel.com 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: From: Fei Wang The NoOutputBeforeRecoveryFlag of an IDR frame should be set to 1 as spec says in 8.1.1. Signed-off-by: Fei Wang --- libavcodec/vvc/vvc_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vvc/vvc_ps.c b/libavcodec/vvc/vvc_ps.c index e6e46d2039..7972803da6 100644 --- a/libavcodec/vvc/vvc_ps.c +++ b/libavcodec/vvc/vvc_ps.c @@ -742,7 +742,7 @@ static int decode_frame_ps(VVCFrameParamSets *fps, const VVCParamSets *ps, static void decode_recovery_flag(VVCContext *s) { if (IS_IDR(s)) - s->no_output_before_recovery_flag = 0; + s->no_output_before_recovery_flag = 1; else if (IS_CRA(s) || IS_GDR(s)) s->no_output_before_recovery_flag = s->last_eos; } -- 2.25.1 _______________________________________________ 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".