| Index: webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h
|
| diff --git a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h
|
| index 5dfcf9f60a032e6ffec98b5644b9813003e2a677..c8ae495eb32f9f37cf7f286b364eaa9160c959b3 100644
|
| --- a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h
|
| +++ b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.h
|
| @@ -70,7 +70,8 @@ class H264VideoToolboxEncoder : public H264Encoder {
|
| int ResetCompressionSession();
|
| void ConfigureCompressionSession();
|
| void DestroyCompressionSession();
|
| - const VideoFrame& GetScaledFrameOnEncode(const VideoFrame& frame);
|
| + rtc::scoped_refptr<VideoFrameBuffer> GetScaledBufferOnEncode(
|
| + const rtc::scoped_refptr<VideoFrameBuffer>& frame);
|
| void SetBitrateBps(uint32_t bitrate_bps);
|
| void SetEncoderBitrateBps(uint32_t bitrate_bps);
|
|
|
|
|