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

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

Issue 23702007: Render inband text tracks in the media pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698