Message ID | 20240923051941.54124-4-marth64@proxyid.net |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:d154:0:b0:48e:c0f8:d0de with SMTP id bt20csp2243846vqb; Sun, 22 Sep 2024 22:20:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWUTvbb0qS9PhuAUuqrjnUZ6cnSGzJHQd3iLdgPt7TYhoBoYgIepba6ZjPFJD3Io3Jo2UsLvBdHQ26/VyfeV1At@gmail.com X-Google-Smtp-Source: AGHT+IFk723hGpUEpvFF8Vw3sCT7VyYjERLeGcz32ac++uaCrT402D6Mmh3XMhCjO7q0ZmXVqYg9 X-Received: by 2002:a50:cb88:0:b0:5c4:204c:bf1c with SMTP id 4fb4d7f45d1cf-5c464a3b514mr7579137a12.13.1727068829091; Sun, 22 Sep 2024 22:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727068829; cv=none; d=google.com; s=arc-20240605; b=O07v0L9keYHQwER86PS35p1xwnsnVoWt2KREbn7GW0eAYpSbqU22HFztr9aZMeZk76 SgMjUBBCaFUfSHbAKOqUt+gOyKwiDJP1hCV8bOxFG+bIi8+d6ns+umspGGQ6KzrI8bn5 9fXQbQD0F+kOdDgTpLpEuVguXfRAhAY24ay38bH8VwsfxVcF0vLsFYZPqSai99P8wOZ4 II/LDquyKuFybmgN2QF/a1DliJkx9CODub9DiCm/XGWe4BylPDO57KigAdYAwL786hAU lG5pHs1Catc/t/X03kJAYbHqmmm8ywF7CNgwK+5z8SgVKNJyA5vws6Wj8JgbbCnIc7vh drKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=2wH857sC6kPKSowg/TLwjZuzmbZdLu9YQIK8ynGMQak=; fh=PlWMzmI9LD2qGS7ipLrQl8z0iaQTLQLHzoGuXcBzpCg=; b=NxVC0opW4uapEg4zCxlSN0zKLkPBQUjLt8TXZh5tLdXRJHo9mtTLf1tRi8tc2J0JsI TDq1z5SBlL65OvBfp3t7979JqaZeuhwxfeLh9ualHPkE0zE9dtpifeGDffKc/NsJoW0y i2+zSVkEqt9/3mQH8oeo5R9ZREBLv6cjK1g1b0WGHhbX2IUHYzrUePWHCnf2M0EgJOwh /tVQL7VO+bJfVHLq5pxA8wcWK4bwLzvU30/0g2T2Xpw0D8jji2SJQPF0/F2FI2Z0ApIB orPOO5VKlupZNJQm0zEpdbAVCUr5gFRHiD2hKZPPtX+K3fgTuTf+DJCmlLbY0/wHLOEd VZiQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@proxyid.net header.s=google header.b=hnTQeJU5; 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; dara=fail header.i=@gmail.com Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 4fb4d7f45d1cf-5c42bcaba47si13701237a12.516.2024.09.22.22.20.28; Sun, 22 Sep 2024 22:20:29 -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=@proxyid.net header.s=google header.b=hnTQeJU5; 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; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 284CD68DBA3; Mon, 23 Sep 2024 08:20:00 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oi1-f225.google.com (mail-oi1-f225.google.com [209.85.167.225]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E81DD68D942 for <ffmpeg-devel@ffmpeg.org>; Mon, 23 Sep 2024 08:19:49 +0300 (EEST) Received: by mail-oi1-f225.google.com with SMTP id 5614622812f47-3e034fac53bso1658818b6e.3 for <ffmpeg-devel@ffmpeg.org>; Sun, 22 Sep 2024 22:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1727068788; x=1727673588; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0L7byPYYnH0+PsfMNuHrNe2aVuXYoavA1NUwsvOvbKQ=; b=hnTQeJU5lsY5DMJFL+R7vA5ALbdd0WD3JNVIkGPwoICRfXcRsLtYMpGvavBIi71OU1 wtWEjgL9Djg9IAIht4chRFOBCs8dAFeqlhfqWmj9a/FReeF1HtWW8I2axXww+91ycI7H 1JjVuQ/NdDlESOY1RiXXAz8S0kQeB41BABdS3Uk1n/qzwJp2YyvBCpCSJ8Nt+3GR0GHx QOufw8AIreHcGDd6IvAA8aKyHjHcQExZAmZT7MypLxozftFJXK/f+jyMYU7BABwLOgYj Gh4oFx3SGoyu5o6b4blFAKviWg17xpaEShcG3n11zrvie1Z+gI/BjoBCfoARObmoJ0ae 8eqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727068788; x=1727673588; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0L7byPYYnH0+PsfMNuHrNe2aVuXYoavA1NUwsvOvbKQ=; b=lq6iL/cE0AXUGdZkq+ixK46o+ugpywTGowPw6C2VLFEx3HX6GGHz0zi/uDTTxhPXm1 twRZf1ywfgQ2rx7rAfM7ybpBsFFjAj6QzQ6y0hCvVSajbCAfF1slnE2WBf0IuYPOjKSt vbHkp5IajyGie4i2W7tsuWcUW2VMl/YUbUNKBU/0E/bz0moTFvQ6UP96kTE3BawkY7o1 SUijj8uqmwVSppwVdeuT24X9aTvlFOICClcsnC5Zp9B0n9bEnSbpgjEg+d2pq2kkisQg KWurGx5RVIxEaH4QwwgCE1ZNLnbVPPNG4tXyQRM3CycdeRbTTwShlTJBobp+G+kP3ZLU H+xA== X-Gm-Message-State: AOJu0YylbtxZnAmQiTweiCbhDmImzyTu3X/JcPwgff7sY65cp5fbNpzU 6eljRDQ9VIGApCM9kvDtXQfEgphkyKbQS5Dq8ie9aJRA7NNeYm94pHP3iDjCHGoOzJJZkoeDq1k IEd7GNRQXof2iqOBZSlzSv237FxaB1jqgIgO33DKQ X-Received: by 2002:a05:6808:2104:b0:3e0:3aa7:8967 with SMTP id 5614622812f47-3e271ba14cbmr5674057b6e.18.1727068788471; Sun, 22 Sep 2024 22:19:48 -0700 (PDT) Received: from localhost.localdomain (c-69-245-177-215.hsd1.il.comcast.net. [69.245.177.215]) by smtp-relay.gmail.com with ESMTPS id 006d021491bc7-5e3bc69661csm202010eaf.20.2024.09.22.22.19.48 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sun, 22 Sep 2024 22:19:48 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 <marth64@proxyid.net> To: ffmpeg-devel@ffmpeg.org Date: Mon, 23 Sep 2024 00:19:33 -0500 Message-Id: <20240923051941.54124-4-marth64@proxyid.net> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20240923051941.54124-1-marth64@proxyid.net> References: <20240923051941.54124-1-marth64@proxyid.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 03/11] avformat/dvdvideodec: measure duration of the current menu VOBU in state X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Marth64 <marth64@proxyid.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: yKqmDIDgxrB3 |
Series |
avformat/dvdvideodec: bugfixes and menu chapter markers
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index da41a9d329..18c356c132 100644 --- a/libavformat/dvdvideodec.c +++ b/libavformat/dvdvideodec.c @@ -474,6 +474,7 @@ static int dvdvideo_menu_next_ps_block(AVFormatContext *s, DVDVideoPlaybackState } state->vobu_e_ptm = pci.pci_gi.vobu_e_ptm; + state->vobu_duration = pci.pci_gi.vobu_e_ptm - pci.pci_gi.vobu_s_ptm; av_log(s, AV_LOG_DEBUG, "NAV packet: sector=%d " "vobu_s_ptm=%d vobu_e_ptm=%d ts_offset=%" PRId64 "\n",
This will be a pre-requisite to calculating chapter markers for menus. Signed-off-by: Marth64 <marth64@proxyid.net> --- libavformat/dvdvideodec.c | 1 + 1 file changed, 1 insertion(+)