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

Unified Diff: media/filters/decoder_stream_traits.h

Issue 331863004: Revert 276344 "Add callback in VideoDecoder and AudioDecoder to ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2049/src/
Patch Set: Created 6 years, 6 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/filters/decoder_stream.cc ('k') | media/filters/decoder_stream_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decoder_stream_traits.h
===================================================================
--- media/filters/decoder_stream_traits.h (revision 277175)
+++ media/filters/decoder_stream_traits.h (working copy)
@@ -28,14 +28,12 @@
typedef AudioDecoderConfig DecoderConfigType;
typedef DecryptingAudioDecoder DecryptingDecoderType;
typedef base::Callback<void(bool success)> StreamInitCB;
- typedef base::Callback<void(const scoped_refptr<OutputType>&)> OutputCB;
static std::string ToString();
static void Initialize(DecoderType* decoder,
const DecoderConfigType& config,
bool low_delay,
- const PipelineStatusCB& status_cb,
- const OutputCB& output_cb);
+ const PipelineStatusCB& status_cb);
static bool FinishInitialization(const StreamInitCB& init_cb,
DecoderType* decoder,
DemuxerStream* stream);
@@ -51,14 +49,12 @@
typedef VideoDecoderConfig DecoderConfigType;
typedef DecryptingVideoDecoder DecryptingDecoderType;
typedef base::Callback<void(bool success)> StreamInitCB;
- typedef base::Callback<void(const scoped_refptr<OutputType>&)> OutputCB;
static std::string ToString();
static void Initialize(DecoderType* decoder,
const DecoderConfigType& config,
bool low_delay,
- const PipelineStatusCB& status_cb,
- const OutputCB& output_cb);
+ const PipelineStatusCB& status_cb);
static bool FinishInitialization(const StreamInitCB& init_cb,
DecoderType* decoder,
DemuxerStream* stream);
« no previous file with comments | « media/filters/decoder_stream.cc ('k') | media/filters/decoder_stream_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698