Skip to content

Commit

Permalink
Remove internal methods from global namespace.
Browse files Browse the repository at this point in the history
It's rude to clobber our consumers global namespace.

Bug: None
Change-Id: If8073820fcae6399def1717775fa64bc6e20051c
Reviewed-on: https://webrtc-review.googlesource.com/3165
Reviewed-by: Magnus Jedvert <[email protected]>
Commit-Queue: Kári Helgason <[email protected]>
Cr-Commit-Position: refs/heads/master@{#19942}
  • Loading branch information
kthelgason authored and Commit Bot committed Sep 25, 2017
1 parent ac0a503 commit 0bf6071
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ - (void)frameWasEncoded:(OSStatus)status

@end

namespace { // anonymous namespace

// The ratio between kVTCompressionPropertyKey_DataRateLimits and
// kVTCompressionPropertyKey_AverageBitRate. The data rate limit is set higher
// than the average bit rate to avoid undershooting the target.
Expand Down Expand Up @@ -268,6 +270,7 @@ CFStringRef ExtractProfile(const cricket::VideoCodec &codec) {
}
}
}
} // namespace

@implementation RTCVideoEncoderH264 {
RTCVideoCodecInfo *_codecInfo;
Expand Down

0 comments on commit 0bf6071

Please sign in to comment.