head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.08.12.03.43.36; author ryoon; state Exp; branches; next ; commitid 2m59YBR1kiEvBiRG; desc @@ 1.1 log @multimedia/ffmpeg9: import ffmpeg9-9.0 FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library. This package contains major version 9. @ text @$NetBSD: patch-libavformat_mux__utils.c,v 1.1 2025/08/22 16:42:06 wiz Exp $ expose av_stream_get_first_dts() for chromium - from ArchLinux --- libavformat/mux_utils.c.orig 2024-04-04 23:23:00.000000000 +0000 +++ libavformat/mux_utils.c @@@@ -30,6 +30,13 @@@@ #include "internal.h" #include "mux.h" +// Chromium: We use the internal field first_dts vvv +int64_t av_stream_get_first_dts(const AVStream *st) +{ + return cffstream(st)->first_dts; +} +// Chromium: We use the internal field first_dts ^^^ + int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance) { @