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 E0FEE49173 for ; Fri, 5 Jul 2024 05:26:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0798D68DB0E; Fri, 5 Jul 2024 08:26:13 +0300 (EEST) Received: from mail-oa1-f98.google.com (mail-oa1-f98.google.com [209.85.160.98]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EE2AD68DA78 for ; Fri, 5 Jul 2024 08:26:01 +0300 (EEST) Received: by mail-oa1-f98.google.com with SMTP id 586e51a60fabf-25957dfd971so502843fac.0 for ; Thu, 04 Jul 2024 22:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proxyid.net; s=google; t=1720157160; x=1720761960; 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=T+m7vnonHYr1Bw5xdcsz6ygr/DbT5mT//kM3wmqELbA=; b=Pwjr7bbDOv8xhgWPKRB8tW7ynmiDDe1uhSkzUWcH0KmiOjSy/Tuy8Ys5p9KbmF5Ozu aahLPalM/+v9hTJ5ZWYHUt/FUcsAj3PLXqRGpCEPJcT4L68PV0gw+gkK3K+NYBvfqQeZ dASw/6A2CCZ7fcgTPNmOaiEZudpXxNH0GdQnp37Fg5DpmUrgbLY2sZopTtPQsEL4hyDX 2T8OrjYD4A5sR049TQmuTAJQ4yj0cTttiO/rO03t83s5YeaXyL4v91kfVl8kU1B09BfU n88NEAKRT25JnIcJwpeFKZ23Sl3qW4Z/e2f2EHUQRjRt5NioWY7hUjK+MxXQppXHW+IR QMKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720157160; x=1720761960; 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=T+m7vnonHYr1Bw5xdcsz6ygr/DbT5mT//kM3wmqELbA=; b=XjB9KV2e5tubvtcrb7CO2SZ0ZklymJ1mNMhHLDHDr61kxlE6ooU9KCdZBKJlI7Xkw/ AYpabOX0GXtDhAynwRWu8GfxLIGOkUpecH1HMDzlbIMjWQ1YMUvphnjo2SzqrbgdXqMD 9Q95kHEAdP9xpaTFt6ZyC825gxN37aKFjNYrVALKzXcBLg+1AbL/D/DB6AiqF2UGXFvA A6DoTWir1/qVDzmnbxwaY4ylPSope6frMygYeYC78hQqYra79iMNGxzJz26Z2MBoH5Hb fJdOxJSW3Mp7ot/zSpKakYv6pLaw6F+XQECPtOp1i+7sJ9Z0IdsoeUB07LGoyM9h8kjR kAXQ== X-Gm-Message-State: AOJu0YwfgCNktT5CCEqGdeaEIJw4VDwtNx+fXIkcjzIpntkrhnDTWf1t vuDTlx8lc1qKzRZF31uGkaadGuGmZCnWG5QwE41zhX+0/EqOm1jpM1hO+EWXHyBUUneO7RFDByj pwXNW1LaPjEvoqD/XpyeAqZKeQzw7pjhPuYhcwpVo X-Google-Smtp-Source: AGHT+IHz7HAuTyyGW3pe3hTF3hSNgoUXmhGt8QMj20WKerie1yh16fyxqaE0CnLKmAY2jLlotWjLo203se3K X-Received: by 2002:a05:6870:9122:b0:254:c08d:cb54 with SMTP id 586e51a60fabf-25e2b9de835mr3360778fac.1.1720157160558; Thu, 04 Jul 2024 22:26:00 -0700 (PDT) Received: from wsx-cc1-001.. (c-76-136-218-80.hsd1.il.comcast.net. [76.136.218.80]) by smtp-relay.gmail.com with ESMTPS id 586e51a60fabf-25e45059c6bsm33887fac.2.2024.07.04.22.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 22:26:00 -0700 (PDT) X-Relaying-Domain: proxyid.net From: Marth64 To: ffmpeg-devel@ffmpeg.org Date: Fri, 5 Jul 2024 00:25:54 -0500 Message-Id: <20240705052555.402920-5-marth64@proxyid.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240705052555.402920-1-marth64@proxyid.net> References: <20240705052555.402920-1-marth64@proxyid.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/5] fftools/ffprobe: Copy codec properties when creating the ffprobe InputStream 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: Marth64 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: Fixes the closed_captions and other properties fields emitted via ffprobe's outputs. Signed-off-by: Marth64 --- fftools/ffprobe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 71d1ffc21f..ed2edcd638 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -3948,6 +3948,7 @@ static int open_input_file(InputFile *ifile, const char *filename, av_dict_set(&opts, "flags", "+copy_opaque", AV_DICT_MULTIKEY); + ist->dec_ctx->properties = av_stream_get_codec_properties(stream); ist->dec_ctx->pkt_timebase = stream->time_base; if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) { -- 2.34.1 _______________________________________________ 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".