Index: webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
index 2d1e2a1416d350e02da3db3a17f7ec00a085c206..83c774acd4d0cf1e3682bd8f80189f2ad2a0fd3a 100644 |
--- a/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
+++ b/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_encoder.mm |
@@ -256,7 +256,6 @@ int H264VideoToolboxEncoder::Encode( |
const VideoFrame& frame, |
const CodecSpecificInfo* codec_specific_info, |
const std::vector<FrameType>* frame_types) { |
- RTC_DCHECK(!frame.IsZeroSize()); |
stefan-webrtc
2016/09/05 14:45:25
Could you comment on why this isn't necessary?
|
if (!callback_ || !compression_session_) { |
return WEBRTC_VIDEO_CODEC_UNINITIALIZED; |
} |