public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Workaround for build error due to old ffmpeg 5.x on el9
@ 2026-08-07 16:08 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 0df67c8438b480de084b05d9cdfb3626e84ee274
Author : Than Ngo <than@redhat.com>
Date : 2025-09-05T03:14:25+02:00
Stats : +14/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/0df67c8438b480de084b05d9cdfb3626e84ee274?branch=epel9-next
Log:
Workaround for build error due to old ffmpeg 5.x on el9
---
diff --git a/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch b/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
new file mode 100644
index 0000000..95b51c3
--- /dev/null
+++ b/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
@@ -0,0 +1,12 @@
+diff -up chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc
+--- chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me 2025-09-05 02:43:56.666833745 +0200
++++ chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc 2025-09-05 03:09:01.121397898 +0200
+@@ -486,7 +486,7 @@ bool FFmpegVideoDecoder::ConfigureDecode
+
+ codec_context_->opaque = this;
+ codec_context_->get_buffer2 = GetVideoBufferImpl;
+- codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
++ //codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
+
+ if (decode_nalus_) {
+ codec_context_->flags2 |= AV_CODEC_FLAG2_CHUNKS;
diff --git a/chromium.spec b/chromium.spec
index 6c9577d..dac23dd 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -280,6 +280,7 @@ Patch92: chromium-138-checkversion-nodejs.patch
# system ffmpeg
# need for old ffmpeg 5.x on epel9
Patch128: chromium-138-el9-ffmpeg-deprecated-apis.patch
+Patch129: chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
Patch130: chromium-107-ffmpeg-5.x-duration.patch
# disable the check
Patch131: chromium-107-proprietary-codecs.patch
@@ -965,6 +966,7 @@ Qt6 UI for chromium.
%if ! %{bundleffmpegfree}
%if 0%{?rhel} == 9
%patch -P128 -p1 -b .el9-ffmpeg-deprecated-apis
+%patch -P129 -p1 -b .el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE
%patch -P130 -p1 -b .ffmpeg-5.x-duration
%patch -P133 -p1 -b .el9-ffmpeg-5.1.x
%endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: Workaround for build error due to old ffmpeg 5.x on el9 Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox