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 945B8422B5 for ; Sun, 2 Apr 2023 18:14:29 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7C06E68BE94; Sun, 2 Apr 2023 21:14:26 +0300 (EEST) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6430868BE7A for ; Sun, 2 Apr 2023 21:14:19 +0300 (EEST) Received: by mail-ed1-f52.google.com with SMTP id eh3so108813677edb.11 for ; Sun, 02 Apr 2023 11:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680459258; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=CqOQUI7YjA1fZASkT0GVIIhigW3hxQeHaEjeeiGmAEs=; b=ZK+lvk44Pkc7eFLTLaLLwNnNx8K2MHa1Nplwy//xGwo8CjhtSUAwajzdXZOI2qMuBH 85h2dSpC5UuPPbObga+Mq3RgOgCeuzf9BR2Zp7NG6usS++mAz7MO2oF3McQ8WNofIQcL DoRxhhoNbYig366FOEGq8R/8xr+aEb3nB4yt9asK4Ge+aZsUi9mXwqFKu4CykN2fhHB+ vBS/xWjgXydN/YOsqltfolr54Ubo4SmeWRzBv6Q1uMwvCvwT48s8oM3x4zJ8uuJJZVmf a0XyGbfaKAv4M7Arjw2Tj+FZh3sNAKuhGMW3+x/+Ek2COxCvc/nNupbROyTUMGzepqs2 tEKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680459258; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CqOQUI7YjA1fZASkT0GVIIhigW3hxQeHaEjeeiGmAEs=; b=gDanjCuC0PzwcNgk7k5/VQdpRAxjgF9EC+pe23Zs8dXZ3bHrrhhOl3UE0c7hRUBDa6 w7eF9qxjXE8qrSrHN+uCdkX/4MpQSUAYlPA23OLFJniphL34hsvrJLag33+4iULIBwoQ CHuDpu+kOjErkHWe1mUr0a5Sa1cnoCMQGTS8FpD/Io+gUoUdRpP7UcDy6rOYr74jXoDL 67PxLspRsiUgv7t6kB0c8KQJctLqlHRHHqHZ9Xa+mPvjJJBjo5eJGhZGi50/mFziq6/y XC4E+nOacZti4zNCIiO0Znb2uCvghj0EUN4VnILX6mV40K7r5GpHXM7DU+jO1WSCxsWp so4g== X-Gm-Message-State: AAQBX9etQJtKsI5lC/XqqYLdTG99JUumQd+1xV4wHFdlXcPaDvkIhlgJ YWueipGqBCb8s13gnAmYVYNGsLI64bw= X-Google-Smtp-Source: AKy350ZrUGu1suU9diVQt4pKUoOO9VMknu0RfwewAAVSP6j1Cfn4mSwaEu+jiLEG/b4lhoRC45nBJw== X-Received: by 2002:a17:907:3da1:b0:932:e6d5:bd7c with SMTP id he33-20020a1709073da100b00932e6d5bd7cmr41988535ejc.20.1680459258165; Sun, 02 Apr 2023 11:14:18 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-98-143.clienti.tiscali.it. [62.10.98.143]) by smtp.gmail.com with ESMTPSA id fi11-20020a170906da0b00b0093a0e5977e2sm3463513ejb.225.2023.04.02.11.14.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Apr 2023 11:14:17 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 4CE33BFB73; Sun, 2 Apr 2023 20:14:16 +0200 (CEST) Date: Sun, 2 Apr 2023 20:14:16 +0200 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: <20230402181416.GH3542@mariano> Mail-Followup-To: FFmpeg development discussions and patches References: <20230402180535.43550-1-stefasab@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230402180535.43550-1-stefasab@gmail.com> User-Agent: Mutt/1.13.2 (2019-12-18) Subject: Re: [FFmpeg-devel] [PATCH] libavcodec/avcodec.h: fix typos in AVCodecContext.pkt_timebase description 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: On date Sunday 2023-04-02 20:05:35 +0200, Stefano Sabatini wrote: > --- > libavcodec/avcodec.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 1e91b9cb53..dec5e40eac 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -1781,9 +1781,9 @@ typedef struct AVCodecContext { > enum AVPixelFormat sw_pix_fmt; > > /** > - * Timebase in which pkt_dts/pts and AVPacket.dts/pts are. > - * - encoding unused. > - * - decoding set by user. > + * Timebase in which pkt_dts/pts and AVPacket.dts/pts are expressed. > + * - encoding: unused. > + * - decoding: set by user. > */ > AVRational pkt_timebase; BTW, also I'm still confused by this field. What happens in case it is not set? In this case I assume the decoder/libavcodec will pick a suitable timebase which is directly set in the decoded frames? Is the field internally set in this case, or the information is only stored in the output frames? How libavcodec detects if the field is set or not? _______________________________________________ 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".