OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "media/base/android/mock_media_codec_bridge.h" |
| 6 |
| 7 #include "media/base/subsample_entry.h" |
| 8 |
| 9 using ::testing::_; |
| 10 using ::testing::Return; |
| 11 |
| 12 namespace media { |
| 13 |
| 14 MockMediaCodecBridge::MockMediaCodecBridge() { |
| 15 ON_CALL(*this, DequeueInputBuffer(_, _)) |
| 16 .WillByDefault(Return(MEDIA_CODEC_DEQUEUE_INPUT_AGAIN_LATER)); |
| 17 ON_CALL(*this, DequeueOutputBuffer(_, _, _, _, _, _, _)) |
| 18 .WillByDefault(Return(MEDIA_CODEC_DEQUEUE_OUTPUT_AGAIN_LATER)); |
| 19 } |
| 20 |
| 21 MockMediaCodecBridge::~MockMediaCodecBridge() {} |
| 22 |
| 23 } // namespace media |
OLD | NEW |