mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
d421beadb7
* Rebase on F42
* Empty commit I hate GitHub
* This URL is unreachable with the source fetching cURL params currently
* GCC14 real this time?
* Okay
* Gonna have to figure something else out
* Death
* I guess maybe
* ?
* Try removing Wall again I guess
* Oops
* IDK
* Update configure.patch
* Update ffmpeg.spec
* Update ffmpeg.spec
* Update ffmpeg.spec
* Update ffmpeg.spec
* Update ffmpeg.spec
* Update ffmpeg.spec
* chore: Also track LCEVCdec
* chore: Change some patches
* Update ffmpeg.spec
* Update ffmpeg.spec
* chore: Disable libnpp because it's just BROKEN
* chore(update.rhai): Comment out libnpp tracking for now
* chore: Delete ffmpeg-nvcc.patch
---------
(cherry picked from commit 6fb5fa85eb)
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
Co-authored-by: madomado <madonuko@outlook.com>
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
diff -Naur ffmpeg-7.1.1.old/libavformat/avformat.h ffmpeg-7.1.1/libavformat/avformat.h
|
|
--- ffmpeg-7.1.1.old/libavformat/avformat.h 2025-03-24 10:54:38.357759076 +0100
|
|
+++ ffmpeg-7.1.1/libavformat/avformat.h 2025-03-24 10:54:39.096586841 +0100
|
|
@@ -1202,6 +1202,10 @@
|
|
|
|
struct AVCodecParserContext *av_stream_get_parser(const AVStream *s);
|
|
|
|
+// Chromium: We use the internal field first_dts vvv
|
|
+int64_t av_stream_get_first_dts(const AVStream *st);
|
|
+// Chromium: We use the internal field first_dts ^^^
|
|
+
|
|
#define AV_PROGRAM_RUNNING 1
|
|
|
|
/**
|
|
diff -Naur ffmpeg-7.1.1.old/libavformat/utils.c ffmpeg-7.1.1/libavformat/utils.c
|
|
--- ffmpeg-7.1.1.old/libavformat/utils.c 2025-03-24 10:54:38.360759112 +0100
|
|
+++ ffmpeg-7.1.1/libavformat/utils.c 2025-03-24 10:54:39.097179227 +0100
|
|
@@ -44,6 +44,13 @@
|
|
* various utility functions for use within FFmpeg
|
|
*/
|
|
|
|
+// 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 ^^^
|
|
+
|
|
/* an arbitrarily chosen "sane" max packet size -- 50M */
|
|
#define SANE_CHUNK_SIZE (50000000)
|
|
|