diff --git a/ffmpeg-chromium.patch b/ffmpeg-chromium.patch index 2160609..6625e2d 100644 --- a/ffmpeg-chromium.patch +++ b/ffmpeg-chromium.patch @@ -1,4 +1,4 @@ -From d32aacab65a322b66d6a1b48f6cdb03e42bde0f9 Mon Sep 17 00:00:00 2001 +From 4464ecf750bb9440e2571a8d810627cdec85ae02 Mon Sep 17 00:00:00 2001 From: Frank Liberato Date: Wed, 7 Jul 2021 19:01:22 -0700 Subject: [PATCH] Add av_stream_get_first_dts for Chromium @@ -9,12 +9,12 @@ Subject: [PATCH] Add av_stream_get_first_dts for Chromium 2 files changed, 11 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h -index 1916aa2dc5..e6682849fa 100644 +index f12fa7d904..0b9fd1f061 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h -@@ -1019,6 +1019,10 @@ attribute_deprecated +@@ -1128,6 +1128,10 @@ struct AVCodecParserContext *av_stream_get_parser(const AVStream *s); + */ int64_t av_stream_get_end_pts(const AVStream *st); - #endif +// Chromium: We use the internal field first_dts vvv +int64_t av_stream_get_first_dts(const AVStream *st);