Skip to content

Commit

Permalink
Merge branch 'main' into experimental/sharding
Browse files Browse the repository at this point in the history
  • Loading branch information
imindich authored Jan 10, 2025
2 parents 2477e90 + 58fc967 commit 6cbffe0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/.github/ # no owners
/cobalt/ # no owners
/media/base/starboard/ # no owners
/media/starboard/ # no owners
/starboard/ # no owners
/components/viz/service/display/starboard/ # no owners
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ files: |
(?x)^(
.github/|
cobalt/|
media/base/starboard/|
media/starboard/|
starboard/|
components/viz/service/display/starboard/|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

#include "media/base/demuxer_memory_limit.h"

#include "base/logging.h"
#include "media/base/decoder_buffer.h"
#include "media/base/starboard_utils.h"
#include "media/base/video_codecs.h"
#include "base/logging.h"

namespace media {

Expand All @@ -30,10 +30,9 @@ size_t GetDemuxerStreamAudioMemoryLimit(
return DecoderBuffer::Allocator::GetInstance()->GetAudioBufferBudget();
}

size_t GetDemuxerStreamVideoMemoryLimit(
Demuxer::DemuxerTypes /*demuxer_type*/,
const VideoDecoderConfig* video_config,
const std::string& mime_type) {
size_t GetDemuxerStreamVideoMemoryLimit(Demuxer::DemuxerTypes /*demuxer_type*/,
const VideoDecoderConfig* video_config,
const std::string& mime_type) {
return static_cast<size_t>(
GetSbMediaVideoBufferBudget(video_config, mime_type));
}
Expand Down

0 comments on commit 6cbffe0

Please sign in to comment.