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

Unified Diff: media/filters/decrypting_demuxer_stream.h

Issue 16274005: Separate DemuxerStream and VideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win64 Created 7 years, 5 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 | « media/base/video_decoder.h ('k') | media/filters/decrypting_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_demuxer_stream.h
diff --git a/media/filters/decrypting_demuxer_stream.h b/media/filters/decrypting_demuxer_stream.h
index 27ed736f82be9b74862aa7d1f9cbbbfc8479061b..bd75d665baf21028195571f36721f3da11c96cb8 100644
--- a/media/filters/decrypting_demuxer_stream.h
+++ b/media/filters/decrypting_demuxer_stream.h
@@ -37,12 +37,6 @@ class MEDIA_EXPORT DecryptingDemuxerStream : public DemuxerStream {
const PipelineStatusCB& status_cb);
void Reset(const base::Closure& closure);
- // Creates and initializes either |audio_config_| or |video_config_| based on
- // |demuxer_stream_|.
- // TODO(xhwang): Make this private after the hack in VideoFrameStream is
- // removed.
- void InitializeDecoderConfig();
-
// DemuxerStream implementation.
virtual void Read(const ReadCB& read_cb) OVERRIDE;
virtual AudioDecoderConfig audio_decoder_config() OVERRIDE;
@@ -87,6 +81,10 @@ class MEDIA_EXPORT DecryptingDemuxerStream : public DemuxerStream {
// Returns Decryptor::StreamType converted from |stream_type_|.
Decryptor::StreamType GetDecryptorStreamType() const;
+ // Creates and initializes either |audio_config_| or |video_config_| based on
+ // |demuxer_stream_|.
+ void InitializeDecoderConfig();
+
scoped_refptr<base::MessageLoopProxy> message_loop_;
base::WeakPtrFactory<DecryptingDemuxerStream> weak_factory_;
base::WeakPtr<DecryptingDemuxerStream> weak_this_;
« no previous file with comments | « media/base/video_decoder.h ('k') | media/filters/decrypting_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698