From patchwork Thu Dec 8 15:24:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Buitenhuis X-Patchwork-Id: 1715 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.65.86 with SMTP id o83csp936688vsa; Thu, 8 Dec 2016 07:41:36 -0800 (PST) X-Received: by 10.28.168.70 with SMTP id r67mr2686214wme.19.1481211696364; Thu, 08 Dec 2016 07:41:36 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id e138si13721555wmf.124.2016.12.08.07.41.36; Thu, 08 Dec 2016 07:41:36 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1AB8E68A18D; Thu, 8 Dec 2016 17:41:31 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 47D3968A093 for ; Thu, 8 Dec 2016 17:41:25 +0200 (EET) Received: by mail-wm0-f66.google.com with SMTP id a20so4319244wme.2 for ; Thu, 08 Dec 2016 07:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=d/EMNX+pqDqA3WzTu5J/HDfdk7epH80DaZJPONCylKA=; b=iFQO1yiDFOfh6oIBytJfhR+8HQuyekLLKY24iTp8GvsKlsLiDslfUu5/LaaA38YNNj DEfw6VhebOPGIjrc7xwA2UAcuEpwnb38MlFXIfUc6orclCXauU+vVaMev7J0OAqs/gL0 BJc+YfZYZUlKXpeEHx5yt3rPIYWjpJEg3Bi+cKTSNDHjhUmyKaaRiNRUGX0187LMSMMz UWyEE+P00JHjt05F36QxZ91dasxgMb6uh0CSFrUn9qLL70y/dg4A0OkO0V6CauAq2HaM RwFHXJLh69g9xt0UhRItBGev5YOcY88WTc5XwFb0UQcbdYpBbw7ozD1spEx3Y9eakNSH bA+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=d/EMNX+pqDqA3WzTu5J/HDfdk7epH80DaZJPONCylKA=; b=hnGi/1KcN5XFQaUlsf1wwOExP6tmd9p0XTzWNwvC89qf92PIQq1z9mWg7h64UQq4oI qv8532hEnO6G27Zi14bx7ADbX4Zbju6gmFg5s251rLQKDYXMyf16CiBy1SkNhZhDRnBH xxRJ5CIBzm3jj68SkL+6gjfAaSqJQHHR9xu5eus3ymlRW7OR0oRwywi3y3gFHfsFxT7y AIHjPvw7y8eu/94oMSxysQGu5krKnw5E1O5tHs0Pwr59t9nm4/4q+VKH+hNm7zAF8E1e 5Iux7cOBYsuoP5JB8774rWhpGbEdbgLtEWeLgW2SqqmpW6XL48+KdwPCxjBKgKZvzp1j kQww== X-Gm-Message-State: AKaTC03QvFRjDBNbmThFIPkN8j0YY9nXU7N5whazoDzvEqNjcxHAYDeh43gf11gULdtbeQ== X-Received: by 10.28.221.11 with SMTP id u11mr2729158wmg.123.1481210721605; Thu, 08 Dec 2016 07:25:21 -0800 (PST) Received: from localhost.localdomain ([62.208.37.185]) by smtp.gmail.com with ESMTPSA id 81sm15797159wmw.7.2016.12.08.07.25.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Dec 2016 07:25:21 -0800 (PST) From: Derek Buitenhuis To: ffmpeg-devel@ffmpeg.org Date: Thu, 8 Dec 2016 15:24:31 +0000 Message-Id: <20161208152432.27707-2-derek.buitenhuis@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161208152432.27707-1-derek.buitenhuis@gmail.com> References: <20161208152432.27707-1-derek.buitenhuis@gmail.com> Subject: [FFmpeg-devel] [PATCH 1/2] h264_slice: Add forgotten progress update for the 2nd field in a slice X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Derek Buitenhuis --- libavcodec/h264_slice.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 1f2c06521e..a8a8731138 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -1538,6 +1538,8 @@ static int h264_field_start(H264Context *h, const H264SliceContext *sl, ret = h264_export_frame_props(h); if (ret < 0) return ret; + ff_thread_report_progress(&h->cur_pic_ptr->tf, INT_MAX, + h->picture_structure != PICT_BOTTOM_FIELD); } return 0;