OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/demuxer.h" | 5 #include "media/base/demuxer.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace media { | 9 namespace media { |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 status_cb.Run(PIPELINE_OK); | 21 status_cb.Run(PIPELINE_OK); |
22 } | 22 } |
23 | 23 |
24 void Demuxer::Stop(const base::Closure& callback) { | 24 void Demuxer::Stop(const base::Closure& callback) { |
25 DCHECK(!callback.is_null()); | 25 DCHECK(!callback.is_null()); |
26 callback.Run(); | 26 callback.Run(); |
27 } | 27 } |
28 | 28 |
29 void Demuxer::OnAudioRendererDisabled() {} | 29 void Demuxer::OnAudioRendererDisabled() {} |
30 | 30 |
| 31 int Demuxer::GetStreamCount() const { |
| 32 return 0; |
| 33 } |
| 34 |
| 35 DemuxerStream* Demuxer::GetStreamByIndex(int index) { |
| 36 return NULL; |
| 37 } |
| 38 |
31 } // namespace media | 39 } // namespace media |
OLD | NEW |