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

Unified Diff: media/filters/decoder_stream_traits.h

Issue 339653003: No EOS frame in {Audio|Video}Decoder::OutputCB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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
Index: media/filters/decoder_stream_traits.h
diff --git a/media/filters/decoder_stream_traits.h b/media/filters/decoder_stream_traits.h
index c0a97777e46be0c304328096643f7c06ab059d62..59e534d2e6858c97f950b371b3f73b33ddd78913 100644
--- a/media/filters/decoder_stream_traits.h
+++ b/media/filters/decoder_stream_traits.h
@@ -42,6 +42,7 @@ struct DecoderStreamTraits<DemuxerStream::AUDIO> {
static void ReportStatistics(const StatisticsCB& statistics_cb,
int bytes_decoded);
static DecoderConfigType GetDecoderConfig(DemuxerStream& stream);
+ static scoped_refptr<OutputType> CreateEOSOutput();
};
template <>
@@ -65,6 +66,7 @@ struct DecoderStreamTraits<DemuxerStream::VIDEO> {
static void ReportStatistics(const StatisticsCB& statistics_cb,
int bytes_decoded);
static DecoderConfigType GetDecoderConfig(DemuxerStream& stream);
+ static scoped_refptr<OutputType> CreateEOSOutput();
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698