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 3338842B94 for ; Wed, 27 Apr 2022 14:12:40 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C57CB68B42B; Wed, 27 Apr 2022 17:12:37 +0300 (EEST) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F1EB568A8CD for ; Wed, 27 Apr 2022 17:12:30 +0300 (EEST) Received: by mail-lf1-f53.google.com with SMTP id bq30so3393523lfb.3 for ; Wed, 27 Apr 2022 07:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5YpT3N+7Q19NhGURL6d97AWVQVIV0Kdjrp7/BL8qLi8=; b=alPz9eYf5QNRTJrFJ54CrobXRcilDPFk11Ok7ZGR2i5tWbA5Qnz7EE01mclUBHljIY EGPEunRReQVhqi6OXvNfa8A/qv0el+wDrEtuiIZjYNHi1VWbZF2zNdHk9PiMkJ8YOQhv UfZN5zmDmsY6v5G++TqR5uGs6OTM8kychqBxfKl1irXAg7sifWiLAU/PMJUvd1je3TQq Ip6z2oBmS9/oe/ChrZSZOhSOBym0NKogNrqLrTdT0BhQ3JoLz5GL3D2ackBmhg2/FqKh W9a9IUwrinrBToAJ+vC+DK8MqZucoFMJ0ExQGOYR614dqJ3jTQZzIxNZvskYzE9Vln2V TEcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5YpT3N+7Q19NhGURL6d97AWVQVIV0Kdjrp7/BL8qLi8=; b=VlE6rxJOrpaa/3NaYIWu2TO5q4q5qzpPqQBKTAOQtSDljUqNh0OSULUf2ZJWsPDCa+ KZy6SRt/muaSRGLSa0nnaA38HDDQ1+5Utrfm3KsM4QMiJVL1nC4FHlKq5jySbaIJf5xt U3hww5BmNZE2fsDJOQkhXVeXTIIBM3R37xtwUhkG1yvJzY5HQrXdVB+Umh8Qs05z7gdk cDbdDM9+OP2nivOJpL+YQVo/SpekNDAi3qj+SsThsyL+MhNiBh68HYfbzcuA/ke90t10 OD3iGhUeFVuoztROoLh4FDNT6anT75OcusGZq8dFNwHcTzteTaUyezBKKdvoDrhMRYUn JE1Q== X-Gm-Message-State: AOAM533LLr4IL96mxq2hrX/gs8KYUOS5ggph36HxBWTNsj04ZByb95GH 7GFuy4zZVvBOnh1Fz7mWoLQs8rDeI8Qtc5UswjgW9fimPG0= X-Google-Smtp-Source: ABdhPJwa1CsBVfUxlKaDVf81XJVurrHeQP7x/DcrQP/zIjX4n5tigGvz10+2jbeYshYZSCZypUGWGXVPadRaFDheKec= X-Received: by 2002:a05:6512:3992:b0:472:31ef:cd80 with SMTP id j18-20020a056512399200b0047231efcd80mr1123096lfu.532.1651068750256; Wed, 27 Apr 2022 07:12:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andreas Unterweger Date: Wed, 27 Apr 2022 16:12:20 +0200 Message-ID: To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v4 2/2] doc/examples/transcode_aac: Set decoder packet timebase 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 Wed, 27 Apr 2022 at 16:07, Andreas Unterweger wrote: > > Previously, the default timebase caused two warnings during decoding > about not being able to update timestamps for skipped and discarded > samples, respectively. > > Signed-off-by: Andreas Unterweger > --- > doc/examples/transcode_aac.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c > index c9b93f6439..6197369756 100644 > --- a/doc/examples/transcode_aac.c > +++ b/doc/examples/transcode_aac.c > @@ -1,5 +1,5 @@ > /* > - * Copyright (c) 2013-2018 Andreas Unterweger > + * Copyright (c) 2013-2022 Andreas Unterweger > * > * This file is part of FFmpeg. > * > @@ -120,6 +120,10 @@ static int open_input_file(const char *filename, > avformat_close_input(input_format_context); > return error; > } > + > + /* Set the packet timebase for the decoder. The input file's sample > + * rate is used as the denominator for simplicity. */ > + avctx->pkt_timebase = (AVRational) { 1, avctx->sample_rate }; > > /* Save the decoder context for easier access later. */ > *input_codec_context = avctx; > -- > 2.30.2 It seems that recent versions of Thunderbird broke eml import when lines contain single characters (such as + in a diff). Here is the same patch again sent with a different e-mail client. Please apply. Thanks. Best, Andreas _______________________________________________ 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".