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 C969C49042 for ; Sat, 2 Mar 2024 19:06:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 768F168D25A; Sat, 2 Mar 2024 21:05:59 +0200 (EET) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3B3F568D1F2 for ; Sat, 2 Mar 2024 21:05:53 +0200 (EET) Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1db6e0996ceso26417165ad.2 for ; Sat, 02 Mar 2024 11:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709406351; x=1710011151; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=E+Lyh84Aprp/FVQUyw9EayNquMee2qMqtpN6UBKx03I=; b=PjFJSNRsT82BEK+t7JnO83sjmnBCp87IoR6WaegmfZ7IAzX2xb78VsVlrqQgsjDuRp V8+w20XiySezdOTQbCF1Uqzq/ph7Z5nIW2KlI6XJNd3+bXq8TGc5gKREEPBwfPmfgywJ EQb2DbjCQf+I3XRH8JZ7YcflW9ChK+GMGzYcyopzL4DVkortkK1I4ipEbYEsrvNgBybX nIakw+VUxRBbT9NzFM9tOL4AeG64Q+JAyM+bzFdVfmeWqfWneTvsovX+FKTZ8gPQtnkq cFfpECtbaV5tGcdu7LcO6JnSe+g+nwi6G8w2Isopne9vLd3kXbtCuH5kvTlAtjVJbtVV dIuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709406351; x=1710011151; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E+Lyh84Aprp/FVQUyw9EayNquMee2qMqtpN6UBKx03I=; b=g2/NcSCbxJk5yjppeIxjuoWZC3CutG1oejgUJ3PYr0udQly/K8Ldr0jIjZFe5aMsAL xKdc2uADtw5+fNztW3OPPeAlGXnns1m0+/uH9BLcRDF6u4OADPewNUoLM5xWTJVHUr6i IdeflCxq+BTAXdt/+4KlzBkq2p5CVHRks0syY6C5Yz3NmgHpJsqYA10PcazS015rdwL4 +wqDNyPsU3v17QpR/DVwASqssQXacOno6OEQK0rxMfL0FnEHwy2NN66jZzxMjMPG9Ukf c4ZGUVFc6XSas86o+fp8zwgipcW5mP6Im6rZ/W5ssQO+ynauk7QVUYRX+EM4cT53midD FG6g== X-Gm-Message-State: AOJu0Ywxlk1tXLxEAQJd7AOX9w101+WylU3IPWxV0sNKWe1Jyew1h7+b oOe/ch3/BZ9+2jG5LAzCnJVesGCj89GxTbdcPVvktjwLrHzEZB0OCjZh7Igq X-Google-Smtp-Source: AGHT+IGc4YcDm3zchwCs4DGo9v1B7MC/yrXuJnYVyQUjx9+hVJAfS5h3JhX6NsRzF1j5R28+HZaiKw== X-Received: by 2002:a17:902:e5d2:b0:1dd:7b2:3b19 with SMTP id u18-20020a170902e5d200b001dd07b23b19mr201067plf.9.1709406350668; Sat, 02 Mar 2024 11:05:50 -0800 (PST) Received: from localhost.localdomain ([190.194.169.124]) by smtp.gmail.com with ESMTPSA id mj16-20020a1709032b9000b001db519cb710sm5560635plb.246.2024.03.02.11.05.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 11:05:50 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sat, 2 Mar 2024 16:05:45 -0300 Message-ID: <20240302190545.1881-1-jamrial@gmail.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avformat/mov: don't mark an item referenced by a grid as dependent if it's the primary item 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 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: If it's the primary item, then it's expected to be ready for presentation even outside of the grid it belongs to. Signed-off-by: James Almer --- libavformat/mov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index e07f2a1ada..874c61b44d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -9443,7 +9443,8 @@ static int mov_parse_tiles(AVFormatContext *s) if (err < 0 && err != AVERROR(EEXIST)) return err; - st->disposition |= AV_DISPOSITION_DEPENDENT; + if (item->item_id != mov->primary_item_id) + st->disposition |= AV_DISPOSITION_DEPENDENT; break; } -- 2.44.0 _______________________________________________ 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".