public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Fix, opus and some another audio formats stop playing
@ 2026-08-07 16:07 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:07 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : 25f20e5f9b81f9e01efa207d00f83414cfb74197
Author : Than Ngo <than@redhat.com>
Date   : 2025-02-14T14:38:56+01:00
Stats  : +20/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/25f20e5f9b81f9e01efa207d00f83414cfb74197?branch=epel9-next

Log:
Fix, opus and some another audio formats stop playing

---
diff --git a/chromium-133-workaround-system-ffmpeg-whitelist.patch b/chromium-133-workaround-system-ffmpeg-whitelist.patch
index e873023..d0e56f4 100644
--- a/chromium-133-workaround-system-ffmpeg-whitelist.patch
+++ b/chromium-133-workaround-system-ffmpeg-whitelist.patch
@@ -1,21 +1,34 @@
-diff -up chromium-133.0.6943.53/media/ffmpeg/ffmpeg_common.cc.me chromium-133.0.6943.53/media/ffmpeg/ffmpeg_common.cc
---- chromium-133.0.6943.53/media/ffmpeg/ffmpeg_common.cc.me	2025-02-09 19:57:35.117198035 +0100
-+++ chromium-133.0.6943.53/media/ffmpeg/ffmpeg_common.cc	2025-02-09 22:57:26.429570196 +0100
+diff -up chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc
+--- chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than	2025-02-13 11:59:31.035724118 +0100
++++ chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc	2025-02-14 10:39:07.825746076 +0100
 @@ -76,6 +76,8 @@ const char* GetAllowedVideoDecoders() {
  void ApplyCodecContextSecuritySettings(AVCodecContext* codec_context) {
    // Future versions of ffmpeg may copy the allow list from the format
    // context.
-+// Workaround for codec whitelist with system ffmpeg
++  // Workaround for codec whitelist with system ffmpeg
 +#if 0
    if (!codec_context->codec_whitelist) {
      // Note: FFmpeg will try to free this string, so we must duplicate it.
      codec_context->codec_whitelist =
-@@ -83,7 +85,7 @@ void ApplyCodecContextSecuritySettings(A
+@@ -83,6 +85,7 @@ void ApplyCodecContextSecuritySettings(A
                        ? GetAllowedAudioDecoders()
                        : GetAllowedVideoDecoders());
    }
--
 +#endif
+ 
    // Note: This is security sensitive. FFmpeg may not always continue safely
    // in the presence of errors. See https://crbug.com/379418979
-   if (base::FeatureList::IsEnabled(kStrictFFmpegCodecs)) {
+diff -up chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc
+--- chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than	2025-02-14 10:14:13.360398193 +0100
++++ chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc	2025-02-14 10:36:46.762332912 +0100
+@@ -131,8 +131,10 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
+   // memory usage.
+   //
+   // Note: FFmpeg will try to free these strings, so we must duplicate them.
++#if 0
+   format_context_->codec_whitelist = av_strdup(GetAllowedAudioDecoders());
+   format_context_->format_whitelist = av_strdup(GetAllowedDemuxers());
++#endif
+ }
+ 
+ bool FFmpegGlue::OpenContext(bool is_local_file) {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:07 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:07 [rpms/chromium] epel9-next: Fix, opus and some another audio formats stop playing Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox