From a7a2ab4bb0314bf067330572e54fe94d886bcac1 Mon Sep 17 00:00:00 2001 From: Rasmus Brandt Date: Fri, 8 Nov 2019 13:37:01 +0100 Subject: [PATCH] Remove dead kDummyVideoSsrc and FPS_TO_INTERVAL from video_common.h. Bug: None Change-Id: I32db6f464d5930e6671ff23a5c412833bf7b5d62 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159221 Reviewed-by: Ilya Nikolaevskiy Commit-Queue: Rasmus Brandt Cr-Commit-Position: refs/heads/master@{#29746} --- media/base/video_common.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/media/base/video_common.h b/media/base/video_common.h index f01e833f38..381ddb770a 100644 --- a/media/base/video_common.h +++ b/media/base/video_common.h @@ -22,17 +22,6 @@ namespace cricket { -// TODO(janahan): For now, a hard-coded ssrc is used as the video ssrc. -// This is because when the video frame is passed to the mediaprocessor for -// processing, it doesn't have the correct ssrc. Since currently only Tx -// Video processing is supported, this is ok. When we switch over to trigger -// from capturer, this should be fixed and this const removed. -const uint32_t kDummyVideoSsrc = 0xFFFFFFFF; - -// Minimum interval is 10k fps. -#define FPS_TO_INTERVAL(fps) \ - (fps ? rtc::kNumNanosecsPerSec / fps : rtc::kNumNanosecsPerSec / 10000) - ////////////////////////////////////////////////////////////////////////////// // Definition of FourCC codes //////////////////////////////////////////////////////////////////////////////