fix tab crash with SIGTRAP when using system ffmpeg

i9e-gost-119.0.6045.159
Arkady L. Shane 1 year ago
parent 02773f0563
commit bdbad63517
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -0,0 +1,16 @@
fix tab crash with SIGTRAP when opening website like ge.globo.com
author: Than Ngo <than@redhat.com>
diff -up chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc.me chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc
--- chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc.me 2023-10-16 12:52:01.716573884 +0200
+++ chromium-118.0.5993.70/media/filters/ffmpeg_glue.cc 2023-10-16 12:56:03.476075446 +0200
@@ -157,7 +157,7 @@ bool FFmpegGlue::OpenContext(bool is_loc
container_ = container_names::MediaContainerName::kContainerAVI;
// For a successfully opened file, we will get a container we've compiled in.
- CHECK_NE(container_, container_names::MediaContainerName::kContainerUnknown);
+ DCHECK_NE(container_, container_names::MediaContainerName::kContainerUnknown);
LogContainer(is_local_file, container_);
return true;

@ -347,6 +347,8 @@ Patch114: chromium-107-ffmpeg-duration.patch
Patch115: chromium-107-proprietary-codecs.patch Patch115: chromium-107-proprietary-codecs.patch
# drop av_stream_get_first_dts from internal ffmpeg # drop av_stream_get_first_dts from internal ffmpeg
Patch116: chromium-112-ffmpeg-first_dts.patch Patch116: chromium-112-ffmpeg-first_dts.patch
# fix tab crash with SIGTRAP error when using system ffmpeg
Patch117: chromium-118-sigtrap_system_ffmpeg.patch
# revert AV1 VAAPI video encode due to old libva on el9 # revert AV1 VAAPI video encode due to old libva on el9
Patch130: chromium-114-revert-av1enc-el9.patch Patch130: chromium-114-revert-av1enc-el9.patch
@ -961,6 +963,7 @@ udev.
#%%patch -P114 -p1 -b .system-ffmppeg #%%patch -P114 -p1 -b .system-ffmppeg
#%%patch -P115 -p1 -b .prop-codecs #%%patch -P115 -p1 -b .prop-codecs
#%%patch -P116 -p1 -b .first_dts #%%patch -P116 -p1 -b .first_dts
#%%patch -P117 -p1 -b .sigtrap_system_ffmpeg
#%%endif #%%endif
# EPEL specific patches # EPEL specific patches

Loading…
Cancel
Save