| Index: webrtc/video/payload_router.h
|
| diff --git a/webrtc/video/payload_router.h b/webrtc/video/payload_router.h
|
| index 24aee74f9b17946df9ccabad96a17f38dafceb4f..9c66bd0d15b105bfc52134036d7ec9fffad1cfcd 100644
|
| --- a/webrtc/video/payload_router.h
|
| +++ b/webrtc/video/payload_router.h
|
| @@ -32,8 +32,8 @@
|
| class PayloadRouter : public EncodedImageCallback {
|
| public:
|
| // Rtp modules are assumed to be sorted in simulcast index order.
|
| - PayloadRouter(const std::vector<RtpRtcp*>& rtp_modules,
|
| - int payload_type);
|
| + explicit PayloadRouter(const std::vector<RtpRtcp*>& rtp_modules,
|
| + int payload_type);
|
| ~PayloadRouter();
|
|
|
| static size_t DefaultMaxPayloadLength();
|
| @@ -46,10 +46,9 @@
|
|
|
| // Implements EncodedImageCallback.
|
| // Returns 0 if the packet was routed / sent, -1 otherwise.
|
| - EncodedImageCallback::Result OnEncodedImage(
|
| - const EncodedImage& encoded_image,
|
| - const CodecSpecificInfo* codec_specific_info,
|
| - const RTPFragmentationHeader* fragmentation) override;
|
| + int32_t Encoded(const EncodedImage& encoded_image,
|
| + const CodecSpecificInfo* codec_specific_info,
|
| + const RTPFragmentationHeader* fragmentation) override;
|
|
|
| // Returns the maximum allowed data payload length, given the configured MTU
|
| // and RTP headers.
|
|
|