From 465e96291dbbd416820c86366cf234f20e7ce991 Mon Sep 17 00:00:00 2001 From: Niels Moller Date: Fri, 9 Mar 2018 13:58:28 +0000 Subject: [PATCH] Revert "Delete VideoCodec::plName" This reverts commit 89d88c0b9d61975bc63623ab8028377d8f9733dc. Reason for revert: Breaks an internal project. Original change's description: > Delete VideoCodec::plName > > All use was deleted in cl https://webrtc-review.googlesource.com/56100, now > delete the actual member too. > > Bug: webrtc:8830 > Change-Id: Iabbfd8eb08078e39a8e57f33f7c6a9de4bc3b6cb > Reviewed-on: https://webrtc-review.googlesource.com/60300 > Reviewed-by: Karl Wiberg > Commit-Queue: Niels Moller > Cr-Commit-Position: refs/heads/master@{#22353} TBR=kwiberg@webrtc.org,nisse@webrtc.org Change-Id: I4901d2a7ef6de5f87520d7026906608904cf825e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:8830 Reviewed-on: https://webrtc-review.googlesource.com/60901 Reviewed-by: Niels Moller Commit-Queue: Niels Moller Cr-Commit-Position: refs/heads/master@{#22363} --- common_types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common_types.h b/common_types.h index ee4ddf7b91..682a202104 100644 --- a/common_types.h +++ b/common_types.h @@ -397,6 +397,8 @@ enum class VideoType { }; // Video codec +// TODO(nisse): Delete together with VideoCodec::plName, below. +enum { kPayloadNameSize = 32 }; enum { kMaxSimulcastStreams = 4 }; enum { kMaxSpatialLayers = 5 }; enum { kMaxTemporalStreams = 4 }; @@ -519,6 +521,9 @@ class VideoCodec { // Public variables. TODO(hta): Make them private with accessors. VideoCodecType codecType; + // TODO(nisse): Unused in webrtc, delete as soon as downstream + // applications are updated to not use it. + char plName[kPayloadNameSize]; unsigned char plType; unsigned short width;