diff --git a/ffmpeg-5.changes b/ffmpeg-5.changes index 7f0b619..2374c2a 100644 --- a/ffmpeg-5.changes +++ b/ffmpeg-5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 23 15:29:58 UTC 2022 - Callum Farmer + +- Update ffmpeg-chromium.patch from upstream + ------------------------------------------------------------------- Sat Jul 23 08:35:20 UTC 2022 - Jan Engelhardt diff --git a/ffmpeg-chromium.patch b/ffmpeg-chromium.patch index a626406..5c3fd3e 100644 --- a/ffmpeg-chromium.patch +++ b/ffmpeg-chromium.patch @@ -8,7 +8,7 @@ Add av_stream_get_first_dts for Chromium --- libavformat/avformat.h | 4 ++++ - libavformat/demux_utils.c | 7 +++++++ + libavformat/utils.c | 7 +++++++ 2 files changed, 11 insertions(+) Index: ffmpeg-5.1/libavformat/avformat.h @@ -26,13 +26,13 @@ Index: ffmpeg-5.1/libavformat/avformat.h #define AV_PROGRAM_RUNNING 1 /** -Index: ffmpeg-5.1/libavformat/demux_utils.c +Index: ffmpeg-5.1/libavformat/utils.c =================================================================== ---- ffmpeg-5.1.orig/libavformat/demux_utils.c -+++ ffmpeg-5.1/libavformat/demux_utils.c -@@ -29,6 +29,13 @@ - #include "demux.h" - #include "internal.h" +--- ffmpeg-5.1.orig/libavformat/utils.c ++++ ffmpeg-5.1/libavformat/utils.c +@@ -121,6 +121,13 @@ + return ff_mutex_unlock(&avformat_mutex) ? -1 : 0; + } +// Chromium: We use the internal field first_dts vvv +int64_t av_stream_get_first_dts(const AVStream *st) @@ -41,6 +41,6 @@ Index: ffmpeg-5.1/libavformat/demux_utils.c +} +// Chromium: We use the internal field first_dts ^^^ + - struct AVCodecParserContext *av_stream_get_parser(const AVStream *st) - { - return cffstream(st)->parser; + /* an arbitrarily chosen "sane" max packet size -- 50M */ + #define SANE_CHUNK_SIZE (50000000) +