Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: webrtc/test/testsupport/jpeg_frame_writer_ios.cc

Issue 3004603002: Update jpeg writer to compile on iOS and document it better (Closed)
Patch Set: Rename jpeg_frame_writer_dummy.cc to jpeg_frame_writer_ios.cc Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/test/testsupport/jpeg_frame_writer.cc ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « webrtc/test/testsupport/jpeg_frame_writer.cc ('k') | webrtc/video/replay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698