| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // No output | 164 // No output |
| 165 _callback->Pop(frame.TimeStamp()); | 165 _callback->Pop(frame.TimeStamp()); |
| 166 } | 166 } |
| 167 return ret; | 167 return ret; |
| 168 } | 168 } |
| 169 | 169 |
| 170 int32_t VCMGenericDecoder::Release() { | 170 int32_t VCMGenericDecoder::Release() { |
| 171 return _decoder->Release(); | 171 return _decoder->Release(); |
| 172 } | 172 } |
| 173 | 173 |
| 174 int32_t VCMGenericDecoder::Reset() { | |
| 175 return _decoder->Reset(); | |
| 176 } | |
| 177 | |
| 178 int32_t VCMGenericDecoder::RegisterDecodeCompleteCallback( | 174 int32_t VCMGenericDecoder::RegisterDecodeCompleteCallback( |
| 179 VCMDecodedFrameCallback* callback) { | 175 VCMDecodedFrameCallback* callback) { |
| 180 _callback = callback; | 176 _callback = callback; |
| 181 return _decoder->RegisterDecodeCompleteCallback(callback); | 177 return _decoder->RegisterDecodeCompleteCallback(callback); |
| 182 } | 178 } |
| 183 | 179 |
| 184 bool VCMGenericDecoder::External() const { | 180 bool VCMGenericDecoder::External() const { |
| 185 return _isExternal; | 181 return _isExternal; |
| 186 } | 182 } |
| 187 | 183 |
| 188 bool VCMGenericDecoder::PrefersLateDecoding() const { | 184 bool VCMGenericDecoder::PrefersLateDecoding() const { |
| 189 return _decoder->PrefersLateDecoding(); | 185 return _decoder->PrefersLateDecoding(); |
| 190 } | 186 } |
| 191 | 187 |
| 192 } // namespace webrtc | 188 } // namespace webrtc |
| OLD | NEW |