Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
network:chromium
chromium
chromium-106-ffmpeg-duration.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-106-ffmpeg-duration.patch of Package chromium
Index: chromium-106.0.5249.91/media/filters/audio_file_reader.cc =================================================================== --- chromium-106.0.5249.91.orig/media/filters/audio_file_reader.cc +++ chromium-106.0.5249.91/media/filters/audio_file_reader.cc @@ -243,10 +243,10 @@ bool AudioFileReader::OnNewFrame( // silence from being output. In the case where we are also discarding some // portion of the packet (as indicated by a negative pts), we further want to // adjust the duration downward by however much exists before zero. - if (audio_codec_ == AudioCodec::kAAC && frame->duration) { + if (audio_codec_ == AudioCodec::kAAC && frame->pkt_duration) { const base::TimeDelta pkt_duration = ConvertFromTimeBase( glue_->format_context()->streams[stream_index_]->time_base, - frame->duration + std::min(static_cast<int64_t>(0), frame->pts)); + frame->pkt_duration + std::min(static_cast<int64_t>(0), frame->pts)); const base::TimeDelta frame_duration = base::Seconds(frames_read / static_cast<double>(sample_rate_));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor