From patchwork Tue Jul 16 11:23:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Haas X-Patchwork-Id: 50557 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:612c:40f5:b0:482:c625:d099 with SMTP id lb53csp205346vqb; Tue, 16 Jul 2024 04:24:08 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCULtBbVwU5pVz1ul9LeLI0o1v2udjbpoTUfY4NsGVguYYueYGljP8F8GGf3PhcdEHoEGk++6nlM0kxhjkexr/lNQmJDhcIfvFl1Dg== X-Google-Smtp-Source: AGHT+IEBU1gXCy/CZr0U2+PRy6WdiuK87jMfsK5PsijXSF9Gq09eO9Z15DatOJFfgYZDKupL89vb X-Received: by 2002:a17:906:f946:b0:a72:4207:479b with SMTP id a640c23a62f3a-a79eda0411amr127333266b.5.1721129048197; Tue, 16 Jul 2024 04:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721129048; cv=none; d=google.com; s=arc-20160816; b=J+k03BV/Bb58DcU9nM6e4uEAkO4fpHAO1hs/EtSXu48eNcF3butfSrP0dc8apNvH/B c+QXIAhATbsnmtjRQeOiUAtZIrNQMeaW93o4CV2bmIKU91e173r1dLQtzMYQiWuilPXe /VfrS0r/Jq4Jj9oYSNIiX+0rjlr2RnLcZk7ZFQrJAM/PZqzFwydeO/Ve1IQvGi4WmsKM 588V34eRG8ZiG13mgMD8PiKJvk0FXNMVoAH2/a3WVkXkW/kLWvN1cXt3AJkhuOuh67TN FY69zVo1B90X4plMuG4JXYoSBNPAnWLEtAnTEyUzuZw9G35X2oQu44KE4h3IxAyI4AnU prMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=uirVCrvVFiI8wAmNMX5qGvxw6CR+poRpcMqc35J1xUw=; fh=xmAeKtysnShNOmkhiJmYkS30uw4Fu2hvBJ7qlIwukxQ=; b=GB9xBavj1i/OtS7jDtjbs4zI2UcyIa9pPNkkw22RRLUxuMv+flB5AOPLgHn1+KYmgZ bVy5ZQvzqMTq9a6s0p+Dvnn4QfGnfppaXRzQUk0k7lQoT7quBgEvp/9ndRAik/WCK5ya 7A4OBGqNG1j77FPjLg+iHkXHOKB9nLfNNIyjNhgN+JePqn2AhZko8/etxAdvkHgKdvCx eGxjqsVyJd1+uKhaK+YrhCHG1Fug+lyH9O8U48dstz50MOvj5N/7NwnfNyO58QI4AgHq +L8+DBplZO/h0HCTJaQHhVvj97PkOpzMSh4Q0HTjN3/VYGxH+t5lxb5NHrOLjiRfIX/S tk1A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@haasn.xyz header.s=mail header.b=dvcpyqw9; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a79bc58b83bsi372631466b.76.2024.07.16.04.24.07; Tue, 16 Jul 2024 04:24:08 -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=@haasn.xyz header.s=mail header.b=dvcpyqw9; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D2A4F68D9BF; Tue, 16 Jul 2024 14:23:55 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A283A68D82B for ; Tue, 16 Jul 2024 14:23:47 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1721129027; bh=r2Lzc3D54e+rgETASyz5XOfcp2FnAeyDK6YKKYL7qNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dvcpyqw9wkwacl+dwj9jiiSWhrtA8lrnCf1x/NzD2ukb55pZ8I97yJK4pSa0K6KFk JfSWMj8Abde82nLQL/dYdw3ems/0FfN8FgPID4lO8mJ3ixwr+KneScaXNqcWM9bAX9 930OxfeRMWGWg1k0XFIm9H39O5+T7QLP7HFPlTpw= Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id ED760417D8; Tue, 16 Jul 2024 13:23:46 +0200 (CEST) From: Niklas Haas To: ffmpeg-devel@ffmpeg.org Date: Tue, 16 Jul 2024 13:23:16 +0200 Message-ID: <20240716112317.35745-4-ffmpeg@haasn.xyz> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240716112317.35745-1-ffmpeg@haasn.xyz> References: <20240716112317.35745-1-ffmpeg@haasn.xyz> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/5] avformat/dump: implement dv_md_compression 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: Niklas Haas Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: dqP7TVvyCR3n From: Niklas Haas --- libavformat/dump.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index 78b2481d90..5e1f367742 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -416,13 +416,15 @@ static void dump_dovi_conf(void *ctx, const AVPacketSideData *sd, (const AVDOVIDecoderConfigurationRecord *)sd->data; av_log(ctx, log_level, "version: %d.%d, profile: %d, level: %d, " - "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d", + "rpu flag: %d, el flag: %d, bl flag: %d, compatibility id: %d, " + "compression: %d", dovi->dv_version_major, dovi->dv_version_minor, dovi->dv_profile, dovi->dv_level, dovi->rpu_present_flag, dovi->el_present_flag, dovi->bl_present_flag, - dovi->dv_bl_signal_compatibility_id); + dovi->dv_bl_signal_compatibility_id, + dovi->dv_md_compression); } static void dump_s12m_timecode(void *ctx, const AVStream *st, const AVPacketSideData *sd,