Delete RtpPayloadParams::SetDependenciesVp8Deprecated as unused
Bug: webrtc:10242 Change-Id: Iddad086d8ce3652bd9f0fb12788d5c73b5ebda76 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161945 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Elad Alon <eladalon@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30159}
This commit is contained in:
committed by
Commit Bot
parent
4442871b13
commit
dc7fe40f49
@ -182,6 +182,7 @@ rtc_library("video_codec_interface") {
|
||||
"../../api/video_codecs:video_codecs_api",
|
||||
"../../common_video",
|
||||
"../../common_video/generic_frame_descriptor",
|
||||
"../../rtc_base:deprecation",
|
||||
"../../rtc_base/system:rtc_export",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
|
||||
@ -520,7 +520,6 @@ void DefaultTemporalLayers::OnEncodeDone(size_t stream_index,
|
||||
}
|
||||
}
|
||||
|
||||
vp8_info.useExplicitDependencies = true;
|
||||
RTC_DCHECK_EQ(vp8_info.referencedBuffersCount, 0u);
|
||||
RTC_DCHECK_EQ(vp8_info.updatedBuffersCount, 0u);
|
||||
|
||||
|
||||
@ -351,7 +351,6 @@ void ScreenshareLayers::OnEncodeDone(size_t stream_index,
|
||||
layers_[active_layer_].state = TemporalLayer::State::kNormal;
|
||||
}
|
||||
|
||||
vp8_info.useExplicitDependencies = true;
|
||||
RTC_DCHECK_EQ(vp8_info.referencedBuffersCount, 0u);
|
||||
RTC_DCHECK_EQ(vp8_info.updatedBuffersCount, 0u);
|
||||
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
#include "modules/video_coding/codecs/h264/include/h264_globals.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9_globals.h"
|
||||
#include "modules/video_coding/include/video_error_codes.h"
|
||||
#include "rtc_base/deprecation.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -41,9 +42,9 @@ struct CodecSpecificInfoVP8 {
|
||||
// codec buffers, but the exact mapping (i.e. whether 0 refers to Last,
|
||||
// to Golden or to Arf) is not pre-determined.
|
||||
// More references may be specified than are strictly necessary, but not less.
|
||||
// TODO(bugs.webrtc.org/10242): Remove |useExplicitDependencies| once all
|
||||
// encoder-wrappers are updated.
|
||||
bool useExplicitDependencies;
|
||||
// TODO(bugs.webrtc.org/10242): Remove |useExplicitDependencies| when not set
|
||||
// by downstream projects.
|
||||
RTC_DEPRECATED bool useExplicitDependencies;
|
||||
static constexpr size_t kBuffersCount = 3;
|
||||
size_t referencedBuffers[kBuffersCount];
|
||||
size_t referencedBuffersCount;
|
||||
|
||||
Reference in New Issue
Block a user