OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ |
| 10 |
| 11 #include "webrtc/rtc_base/checks.h" |
| 12 #include "webrtc/rtc_base/logging.h" |
| 13 #include "webrtc/test/testsupport/frame_writer.h" |
| 14 |
| 15 |
| 16 namespace webrtc { |
| 17 namespace test { |
| 18 |
| 19 JpegFrameWriter::JpegFrameWriter(const std::string& /*output_filename*/) {} |
| 20 |
| 21 bool JpegFrameWriter::WriteFrame(const VideoFrame& /*input_frame*/, |
| 22 int /*quality*/) { |
| 23 LOG(LS_WARNING) << "Libjpeg isn't available on IOS. Jpeg frame writer is not " |
| 24 "supported. No frame will be saved."; |
| 25 // Don't fail. |
| 26 return true; |
| 27 } |
| 28 |
| 29 } // namespace test |
| 30 } // namespace webrtc |
OLD | NEW |