public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel10: Fix FTBFS with system ffmpeg
@ 2026-10-22 8:33 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-10-22 8:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel10
Commit : 120484fdd8737bbbc28d194489253bf720d43e2d
Author : Than Ngo <than@redhat.com>
Date : 2026-10-21T18:24:06+02:00
Stats : +41/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/120484fdd8737bbbc28d194489253bf720d43e2d?branch=epel10
Log:
Fix FTBFS with system ffmpeg
---
diff --git a/chromium-156-system-ffmpeg-api.patch b/chromium-156-system-ffmpeg-api.patch
new file mode 100644
index 0000000..7e79de9
--- /dev/null
+++ b/chromium-156-system-ffmpeg-api.patch
@@ -0,0 +1,36 @@
+
+FTBFS Workaround with system ffmpeg due to newer API
+
+diff -up chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc.me chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc
+--- chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc.me 2026-10-21 16:43:53.188590497 +0200
++++ chromium-156.0.8078.47/media/filters/ffmpeg_demuxer.cc 2026-10-21 17:48:59.810845527 +0200
+@@ -1307,6 +1307,7 @@ FFmpegDemuxer::MetadataTrackMap FFmpegDe
+
+ for (const AVStreamGroup* stream_group :
+ AVFormatContextStreamGroupsToSpan(format_context)) {
++#if defined(AV_STREAM_GROUP_PARAMS_TREF) && defined(AV_CODEC_ID_ITUT_T35)
+ if (stream_group->type != AV_STREAM_GROUP_PARAMS_TREF) {
+ continue;
+ }
+@@ -1332,6 +1333,7 @@ FFmpegDemuxer::MetadataTrackMap FFmpegDe
+ }
+ entry.render_stream_indices.insert(stream->index);
+ }
++#endif
+ }
+ return result;
+ }
+@@ -1450,11 +1452,13 @@ void FFmpegDemuxer::OnFindStreamInfoDone
+ } else if (codec_type == AVMEDIA_TYPE_SUBTITLE) {
+ stream->discard = AVDISCARD_ALL;
+ continue;
++#if defined(AV_CODEC_ID_ITUT_T35)
+ } else if (codec_id == AV_CODEC_ID_ITUT_T35) {
+ if (!metadata_tracks_.contains(stream->index)) {
+ stream->discard = AVDISCARD_ALL;
+ }
+ continue;
++#endif
+ } else {
+ stream->discard = AVDISCARD_ALL;
+ continue;
diff --git a/chromium.spec b/chromium.spec
index ec318a4..69bb93c 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -367,9 +367,11 @@ Patch136: chromium-133-workaround-system-ffmpeg-whitelist.patch
Patch137: chromium-147-system-ffmpeg.patch
# Workaround for missing AVDynamicHDRSmpte2094App5 in system ffmpeg
Patch138: chromium-150-ffmpeg-AVDynamicHDRSmpte2094App5.patch
+# Workaround for missing AV_CODEC_ID_ITUT_T35|AV_STREAM_GROUP_PARAMS_TREF
+Patch139: chromium-156-system-ffmpeg-api.patch
# Fix FTBFS with python-3.9 on el9
-Patch139: chromium-153-el9-python-3.9-build-error.patch
+Patch140: chromium-153-el9-python-3.9-build-error.patch
# file conflict with old kernel on el8/el9
Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
@@ -1155,11 +1157,12 @@ Qt6 UI for chromium.
%patch -P136 -p1 -b .workaround-system-ffmpeg-whitelist
%patch -P137 -p1 -b .system-ffmpeg
%patch -P138 -p1 -b .workaround-system-ffmpeg-AVDynamicHDRSmpte2094App5
+%patch -P139 -p1 -b .workaround-system-ffmpeg-api
%endif
%if 0%{?rhel} == 8 || 0%{?rhel} == 9
+%patch -P140 -p1 -b .el9-python-3.9-build-error.patch
%patch -P141 -p1 -b .dma_buf_export_sync_file-conflict
-%patch -P139 -p1 -b .el9-python-3.9-build-error.patch
%endif
%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-22 8:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 8:33 [rpms/chromium] epel10: Fix FTBFS with system ffmpeg Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox