| Index: webrtc/video/payload_router.h
|
| diff --git a/webrtc/video/payload_router.h b/webrtc/video/payload_router.h
|
| index ce65bae6f81d150c8110a072b414e24e5e7eed77..9e9886d177f0fcb8499677b8b838b7e384ee83de 100644
|
| --- a/webrtc/video/payload_router.h
|
| +++ b/webrtc/video/payload_router.h
|
| @@ -32,8 +32,8 @@ struct RTPVideoHeader;
|
| class PayloadRouter : public EncodedImageCallback {
|
| public:
|
| // Rtp modules are assumed to be sorted in simulcast index order.
|
| - explicit PayloadRouter(const std::vector<RtpRtcp*>& rtp_modules,
|
| - int payload_type);
|
| + PayloadRouter(const std::vector<RtpRtcp*>& rtp_modules,
|
| + int payload_type);
|
| ~PayloadRouter();
|
|
|
| static size_t DefaultMaxPayloadLength();
|
| @@ -46,9 +46,10 @@ class PayloadRouter : public EncodedImageCallback {
|
|
|
| // Implements EncodedImageCallback.
|
| // Returns 0 if the packet was routed / sent, -1 otherwise.
|
| - int32_t Encoded(const EncodedImage& encoded_image,
|
| - const CodecSpecificInfo* codec_specific_info,
|
| - const RTPFragmentationHeader* fragmentation) override;
|
| + EncodedImageCallback::Result OnEncodedImage(
|
| + const EncodedImage& encoded_image,
|
| + const CodecSpecificInfo* codec_specific_info,
|
| + const RTPFragmentationHeader* fragmentation) override;
|
|
|
| // Configures current target bitrate.
|
| void SetTargetSendBitrate(uint32_t bitrate_bps);
|
|
|