From patchwork Tue Mar 22 12:33:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 34886 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:ab0:5fda:0:0:0:0:0 with SMTP id g26csp671057uaj; Tue, 22 Mar 2022 05:33:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1kQwqOBzeBvyBDAMUmiNGuW7sxdZmJbJUfe5wOA6X3M1q/30p6fYnZYax0z3dm4/7Mgx8 X-Received: by 2002:a05:6402:d7:b0:413:673:ba2f with SMTP id i23-20020a05640200d700b004130673ba2fmr28219205edu.29.1647952436800; Tue, 22 Mar 2022 05:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647952436; cv=none; d=google.com; s=arc-20160816; b=RA6rAI+8FyxjlyYLHBQL/V+TXvV04rMeHY4bOt8YDm11/OtWF2IzcdN5o0ViKI/8wB x9rkuC60z1nnBpSSfQs6bxJsh0YYYtjD8MqP5j01DDiVzsQB0AYeDPAp3efp1gu8VBpd BHb0Smq+1lSEHD+BsiNUhV8HLtM+Sv5rysx97oMCMqpcoaxlI/zBuK/d2IE22E5BDxMI UxSK3tVAkNr98xUEcuLYbJMnCiTTpH7m9/vRsouvulbn1NvXvbLSKNCvTNttn5jKP6DF uV36Wva2f/NbTgAwZDs7TGZ4S8asToVWpX09//xO9fFIrbY+qebYMkHjt8AVABEVy4k6 +rtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=MzWY/7FOrikeJdo/yZcHcZWaV2tvLtH3oU8mHUPJAOk=; b=rCtCktLC7OmF+czpYUxVKpIieUGEWmgHjuX8Y/XpeMsLxzD2ot22YrzEXXCj9bQfI6 5/G613w2y/iHuBCmLLR+gx2VXdtoFygaIWTk+oet1BiNdJFEoVFq41FuuYdnIGsbepMs VEqWe3VsMy5gOTXdTmvgFAVHiyD8GnyO7MBp96ceX0DH7wLAcAAkpyb4Ik/Z0cHpgTy9 nu41IEIBqLhDMpRweTLkWmnHnc/49lHV3WstJwWSkMKJXtcv5LPUZ8D+sJ+opzuH1vxB aRpZXM8FYTllFUihFTNWX/E1Vp8kUhtZ6JEybnrRsVhPQGd4Qz7iGmyuE6kWfoSx4qRC 9aDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=SiFvTdTn; 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 sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a2-20020a50f0c2000000b0041910f21de5si8992472edm.91.2022.03.22.05.33.56; Tue, 22 Mar 2022 05:33:56 -0700 (PDT) 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 header.s=20210112 header.b=SiFvTdTn; 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 sp=QUARANTINE 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 578A968B0F6; Tue, 22 Mar 2022 14:33:54 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D277C68B120 for ; Tue, 22 Mar 2022 14:33:47 +0200 (EET) Received: by mail-pj1-f47.google.com with SMTP id bx5so15514949pjb.3 for ; Tue, 22 Mar 2022 05:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=3KdnuCMRWppmXAR+gwy8OWOJYAJck8G+uw/M1Xf3gpI=; b=SiFvTdTnF1jIS+W8g+jSNGXToItS2WERlAYPhfk5oWUBWLRq8N8DR1sVsdsz5vTHip pZRmv0ZO6KajUNdOsT0XJIT8VJoqSjeIgL6pUdX1y5yUUVFVWQYzp3eF9E8xyIScxe62 5hV9OiS2x6pedAhyE+MUQlk+rHt+2budQhrx28wHzXPONiQ3b6eEzz2vjNAUtxdN7AOg xaPkpR+c8JTE4gzK8bq/5ZWy6oKqOO7o8NCg394k/kdQJ7zHqeaaJ2kHHvABen5ko5R8 3flincW/Y8eYOeg9rX35OySvI+l7y2OkouJZYKM7jtRyK00vZriI8z4PNwL04RKrUxq0 PMnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=3KdnuCMRWppmXAR+gwy8OWOJYAJck8G+uw/M1Xf3gpI=; b=5esKEB1C9x0OoT6PT+0khF95I+F1OEEAGokG5IDdHQdGtwPHzDKYF4S+DJBD3KhmDF aUVIuuRUPGLhWUNQdKLnYlCm7Qt8RhPIOrHjXUoZLvU6jEsNxdnr//iiGkUbD8P18kUE n2AziMwPMJUZEp81QNlOpRRAVYgb74Ts+tTd63qoPIV8V6Bj4BDI4VjnKdBjuL5IPlOC RkLtAR1pyCfqyBazRexLjyG2SH9gauosuQx27OrU7MeaLkUcVa5EkAWsPFjDA3zzbzqk kFqPiOmSEFKMVYdtDOoYW00qcuGNSAjL9pJsEodGnYe0+BrYpynQskM+zGRxKQolUNfB N5UA== X-Gm-Message-State: AOAM533any3otNJMyly37RX0bJ2Fas4OQpSztegrRr6P4cbFdFqWm9U6 hxvim+T9uU5z7kVN1cryeL/gomdPiusqXQ== X-Received: by 2002:a17:903:2285:b0:154:c94:c5b7 with SMTP id b5-20020a170903228500b001540c94c5b7mr18282850plh.64.1647952425902; Tue, 22 Mar 2022 05:33:45 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id l27-20020a63701b000000b0038233e59422sm11081873pgc.84.2022.03.22.05.33.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2022 05:33:45 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Tue, 22 Mar 2022 20:33:39 +0800 Message-Id: <1647952419-12818-1-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [FFmpeg-devel] [PATCH] avfilter/vf_showinfo: fix unknown side data type for DOVI_RPU_BUFFER 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: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 2XcdhAQavPka From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 12d3931..aa95341 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -812,6 +812,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) case AV_FRAME_DATA_DOVI_METADATA: dump_dovi_metadata(ctx, sd); break; + case AV_FRAME_DATA_DOVI_RPU_BUFFER: + av_log(ctx, AV_LOG_INFO, "DOVI RPU raw data " + "(%"SIZE_SPECIFIER" bytes)", sd->size); + break; default: av_log(ctx, AV_LOG_WARNING, "unknown side data type %d " "(%"SIZE_SPECIFIER" bytes)\n", sd->type, sd->size);