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 3 // found in the LICENSE file. 4 5 #include "media/base/demuxer.h" 6 7 #include "base/logging.h" 8 9 namespace media { 10 11 DemuxerHost::~DemuxerHost() {} 12 13 Demuxer::Demuxer() {} 14 15 Demuxer::~Demuxer() {} 16 17 void Demuxer::SetPlaybackRate(float playback_rate) {} 18 19 void Demuxer::Seek(base::TimeDelta time, const PipelineStatusCB& status_cb) { 20 DCHECK(!status_cb.is_null()); 21 status_cb.Run(PIPELINE_OK); 22 } 23 24 void Demuxer::Stop(const base::Closure& callback) { 25 DCHECK(!callback.is_null()); 26 callback.Run(); 27 } 28 29 void Demuxer::OnAudioRendererDisabled() {} 30 31 } // namespace media 32