Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 740799 Details for
Bug 814443
www-client/chromium-94 allow to build with system-ffmpeg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for system-ffmpeg in chromium-94
chromium-94-ffmpeg-roll.patch (text/plain), 2.06 KB, created by
Marcin Deranek
on 2021-09-23 06:50:51 UTC
(
hide
)
Description:
Patch for system-ffmpeg in chromium-94
Filename:
MIME Type:
Creator:
Marcin Deranek
Created:
2021-09-23 06:50:51 UTC
Size:
2.06 KB
patch
obsolete
>From b94755e4633045be96ab5e0bdde0db7e16a804bd Mon Sep 17 00:00:00 2001 >From: "liberato@chromium.org" <liberato@chromium.org> >Date: Fri, 6 Aug 2021 04:25:31 +0000 >Subject: [PATCH] FFmpeg M94 roll. > >Contains DEPS update + chromium-side fixes. > >Bug: 1227259 >Change-Id: I61c5eaa789ea12c17d0cbcbf837435b9cf32479b >Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011889 >Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> >Commit-Queue: Frank Liberato <liberato@chromium.org> >Cr-Commit-Position: refs/heads/master@{#909174} >--- > media/ffmpeg/ffmpeg_common.h | 1 + > media/filters/ffmpeg_demuxer.cc | 4 ++-- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/media/ffmpeg/ffmpeg_common.h b/media/ffmpeg/ffmpeg_common.h >index cede8ac5a7..97d6307e28 100644 >--- a/media/ffmpeg/ffmpeg_common.h >+++ b/media/ffmpeg/ffmpeg_common.h >@@ -29,6 +29,7 @@ extern "C" { > #include <libavformat/avformat.h> > #include <libavformat/avio.h> > #include <libavutil/avutil.h> >+#include <libavutil/channel_layout.h> > #include <libavutil/imgutils.h> > #include <libavutil/log.h> > #include <libavutil/mastering_display_metadata.h> >diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc >index ac4713b072..605001d935 100644 >--- a/media/filters/ffmpeg_demuxer.cc >+++ b/media/filters/ffmpeg_demuxer.cc >@@ -106,12 +106,12 @@ static base::TimeDelta ExtractStartTime(AVStream* stream) { > > // Next try to use the first DTS value, for codecs where we know PTS == DTS > // (excludes all H26x codecs). The start time must be returned in PTS. >- if (stream->first_dts != kNoFFmpegTimestamp && >+ if (av_stream_get_first_dts(stream) != kNoFFmpegTimestamp && > stream->codecpar->codec_id != AV_CODEC_ID_HEVC && > stream->codecpar->codec_id != AV_CODEC_ID_H264 && > stream->codecpar->codec_id != AV_CODEC_ID_MPEG4) { > const base::TimeDelta first_pts = >- ConvertFromTimeBase(stream->time_base, stream->first_dts); >+ ConvertFromTimeBase(stream->time_base, av_stream_get_first_dts(stream)); > if (first_pts < start_time) > start_time = first_pts; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 814443
: 740799