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

Unified Diff: media/filters/dummy_demuxer.h

Issue 12320078: Delete old RTCVideoDecoder code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make the line no longer than 80 chars Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | media/filters/dummy_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/dummy_demuxer.h
diff --git a/media/filters/dummy_demuxer.h b/media/filters/dummy_demuxer.h
deleted file mode 100644
index fceda3025cd111e92155156641dd88a188f08425..0000000000000000000000000000000000000000
--- a/media/filters/dummy_demuxer.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Implements the Demuxer interface. DummyDemuxer returns corresponding
-// DummyDemuxerStream as signal for media pipeline to construct correct
-// playback channels. Used in WebRTC local video capture pipeline, where
-// demuxing is not needed.
-
-#ifndef MEDIA_FILTERS_DUMMY_DEMUXER_H_
-#define MEDIA_FILTERS_DUMMY_DEMUXER_H_
-
-#include <vector>
-
-#include "media/base/audio_decoder_config.h"
-#include "media/base/demuxer.h"
-#include "media/base/video_decoder_config.h"
-
-namespace media {
-
-class DummyDemuxerStream : public DemuxerStream {
- public:
- explicit DummyDemuxerStream(Type type);
-
- // DemuxerStream implementation.
- virtual void Read(const ReadCB& read_cb) OVERRIDE;
- virtual Type type() OVERRIDE;
- virtual const AudioDecoderConfig& audio_decoder_config() OVERRIDE;
- virtual const VideoDecoderConfig& video_decoder_config() OVERRIDE;
- virtual void EnableBitstreamConverter() OVERRIDE;
- protected:
- virtual ~DummyDemuxerStream();
-
- private:
- Type type_;
- AudioDecoderConfig audio_config_;
- VideoDecoderConfig video_config_;
-
- DISALLOW_COPY_AND_ASSIGN(DummyDemuxerStream);
-};
-
-class MEDIA_EXPORT DummyDemuxer : public Demuxer {
- public:
- DummyDemuxer(bool has_video, bool has_audio);
-
- // Demuxer implementation.
- virtual void Initialize(DemuxerHost* host,
- const PipelineStatusCB& status_cb) OVERRIDE;
- virtual scoped_refptr<DemuxerStream> GetStream(
- DemuxerStream::Type type) OVERRIDE;
- virtual base::TimeDelta GetStartTime() const OVERRIDE;
-
- protected:
- virtual ~DummyDemuxer();
-
- private:
- std::vector< scoped_refptr<DummyDemuxerStream> > streams_;
-
- DISALLOW_COPY_AND_ASSIGN(DummyDemuxer);
-};
-
-} // namespace media
-
-#endif // MEDIA_FILTERS_DUMMY_DEMUXER_H_
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | media/filters/dummy_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698