From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Subject: [FFmpeg-devel] [PATCH 2/3] avformat/aeadec: Use sample rate as time base Date: Fri, 15 Mar 2024 17:43:37 +0100 Message-ID: <AS8P250MB0744EA62B8814B281C7F9C7E8F282@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> (raw) In-Reply-To: <AS8P250MB07449B9C77EBEA759D1F775F8F282@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavformat/aeadec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/aeadec.c b/libavformat/aeadec.c index 20170a89b3..be18e7b725 100644 --- a/libavformat/aeadec.c +++ b/libavformat/aeadec.c @@ -25,6 +25,7 @@ #include "avformat.h" #include "avio_internal.h" #include "demux.h" +#include "internal.h" #include "pcm.h" #define AT1_SU_SIZE 212 @@ -91,6 +92,7 @@ static int aea_read_header(AVFormatContext *s) av_channel_layout_default(&st->codecpar->ch_layout, channels); st->codecpar->block_align = AT1_SU_SIZE * st->codecpar->ch_layout.nb_channels; + avpriv_set_pts_info(st, 64, 1, 44100); return 0; } -- 2.40.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".
next prev parent reply other threads:[~2024-03-15 16:43 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-15 16:42 [FFmpeg-devel] [PATCH 1/3] avformat/aeadec: Export title Andreas Rheinhardt 2024-03-15 16:43 ` Andreas Rheinhardt [this message] 2024-03-15 16:43 ` [FFmpeg-devel] [PATCH 3/3] fate/atrac: Add atrac->aea, atrac->matroska remux tests Andreas Rheinhardt 2024-03-18 0:52 ` [FFmpeg-devel] [PATCH 1/3] avformat/aeadec: Export title Andreas Rheinhardt
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=AS8P250MB0744EA62B8814B281C7F9C7E8F282@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM \ --to=andreas.rheinhardt@outlook.com \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git