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 8CD5345B21 for ; Fri, 17 Mar 2023 03:17:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3C5D468C175; Fri, 17 Mar 2023 05:17:31 +0200 (EET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2E07968C139 for ; Fri, 17 Mar 2023 05:17:24 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679023049; x=1710559049; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Kkn/dHPp5Zf6Qbsuq3pxmpLpnjk8df2o2zu+T+XOHdM=; b=dhNStN0SLzcGBDAz0qeI8CTZ6HaYFUD7BP4YKcbDPgnlIjVv7eMMLOVK 6d8/jCs4JAvcFuy2cKkfgx/e427IPKpIyn8YLSu7J53Nr4XnunbqKf2CK mLgUga+Efu5pTlo+SvoYno51bu2rGl+2EbVtxm1FCclScQzLs6a8F7dkQ YoXq5KBgKyt6Rldjlm6k/fYbrOfQr40sCGtnsMgMde600BubONMBG83tM vbf7MBbUqc8GljqEDkWdejEmKflYsyL+wCPrL91rkxcb71h1truJug7kZ +qXSIfG748xOTOq4RSwFMtNexcEU97UrbBA7TkEqqe/p6M+/YY7osKYM5 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10651"; a="400747346" X-IronPort-AV: E=Sophos;i="5.98,267,1673942400"; d="scan'208";a="400747346" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 19:39:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10651"; a="749100752" X-IronPort-AV: E=Sophos;i="5.98,267,1673942400"; d="scan'208";a="749100752" Received: from xhh-tgl64.sh.intel.com ([10.238.2.19]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 19:39:15 -0700 From: "Xiang, Haihao" To: ffmpeg-devel@ffmpeg.org Date: Fri, 17 Mar 2023 10:38:54 +0800 Message-Id: <20230317023854.40906-1-haihao.xiang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] lavfi/vf_vpp_qsv: set the right timestamp for AVERROR_EOF 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: Haihao Xiang 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: Haihao Xiang Rescale the timestamp for AVERROR_EOF. This can fix tickets 10261 and 10262. Signed-off-by: Haihao Xiang --- libavfilter/vf_vpp_qsv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c index ac77f7bb4b..b4dd7a4191 100644 --- a/libavfilter/vf_vpp_qsv.c +++ b/libavfilter/vf_vpp_qsv.c @@ -602,6 +602,7 @@ not_ready: return FFERROR_NOT_READY; eof: + pts = av_rescale_q(pts, inlink->time_base, outlink->time_base); ff_outlink_set_status(outlink, status, pts); return 0; } -- 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".