Move check for number_of_cores parameter validitity
from runtime check in proxy classes that picks decoder (VCMDecoderDataBase) to a DCHECK in the VideoDecoder::Settings Bug: None Change-Id: Ic8c2e971486a3a7eb247f9d03815aba5ca5a7bad Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228644 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34761}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
10ee27e80f
commit
ba0a306585
@ -46,9 +46,7 @@ class VideoCodingModule : public Module {
|
||||
// - payload_type : RTP payload type
|
||||
// - settings : Settings for the decoder to be registered.
|
||||
//
|
||||
// Return value : true, on success.
|
||||
// false, on error.
|
||||
virtual bool RegisterReceiveCodec(uint8_t payload_type,
|
||||
virtual void RegisterReceiveCodec(uint8_t payload_type,
|
||||
const VideoDecoder::Settings& settings) = 0;
|
||||
ABSL_DEPRECATED("Use RegisterReceiveCodec above")
|
||||
virtual int32_t RegisterReceiveCodec(uint8_t payload_type,
|
||||
|
||||
Reference in New Issue
Block a user