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

Side by Side Diff: media/base/mock_ffmpeg.cc

Issue 555087: Refactor some code that depends on FFmpeg (Closed)
Patch Set: 2010 Created 10 years, 11 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 | « media/base/mock_ffmpeg.h ('k') | media/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/base/mock_ffmpeg.h" 5 #include "media/base/mock_ffmpeg.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "media/filters/ffmpeg_common.h" 8 #include "media/ffmpeg/ffmpeg_common.h"
9 9
10 using ::testing::_; 10 using ::testing::_;
11 using ::testing::AtMost; 11 using ::testing::AtMost;
12 using ::testing::DoAll; 12 using ::testing::DoAll;
13 using ::testing::Return; 13 using ::testing::Return;
14 using ::testing::SaveArg; 14 using ::testing::SaveArg;
15 15
16 namespace media { 16 namespace media {
17 17
18 MockFFmpeg* MockFFmpeg::instance_ = NULL; 18 MockFFmpeg* MockFFmpeg::instance_ = NULL;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 media::MockFFmpeg::get()->AVLogSetLevel(level); 205 media::MockFFmpeg::get()->AVLogSetLevel(level);
206 } 206 }
207 207
208 void av_destruct_packet(AVPacket *pkt) { 208 void av_destruct_packet(AVPacket *pkt) {
209 media::MockFFmpeg::get()->AVDestructPacket(pkt); 209 media::MockFFmpeg::get()->AVDestructPacket(pkt);
210 } 210 }
211 211
212 } // extern "C" 212 } // extern "C"
213 213
214 } // namespace media 214 } // namespace media
OLDNEW
« no previous file with comments | « media/base/mock_ffmpeg.h ('k') | media/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698