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

Unified Diff: media/filters/decoder_selector.h

Issue 1954633002: MEDIA_LOG for large encoded timestamp gaps in decoder stream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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/audio_timestamp_validator_unittest.cc ('k') | media/filters/decoder_selector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decoder_selector.h
diff --git a/media/filters/decoder_selector.h b/media/filters/decoder_selector.h
index e75c0e26a49ff1b11fc354764bc84799dcd078d0..66cd27bde6f35b823212f2e84f748bed7271b024 100644
--- a/media/filters/decoder_selector.h
+++ b/media/filters/decoder_selector.h
@@ -71,7 +71,8 @@ class MEDIA_EXPORT DecoderSelector {
// select from the decoders following the decoder that was last returned.
// 3. |cdm_context| is optional. If |cdm_context| is
// null, no CDM will be available to perform decryption.
- void SelectDecoder(DemuxerStream* stream,
+ void SelectDecoder(StreamTraits* traits,
+ DemuxerStream* stream,
CdmContext* cdm_context,
const SelectDecoderCB& select_decoder_cb,
const typename Decoder::OutputCB& output_cb,
@@ -92,6 +93,7 @@ class MEDIA_EXPORT DecoderSelector {
ScopedVector<Decoder> decoders_;
scoped_refptr<MediaLog> media_log_;
+ StreamTraits* traits_;
DemuxerStream* input_stream_;
CdmContext* cdm_context_;
SelectDecoderCB select_decoder_cb_;
« no previous file with comments | « media/filters/audio_timestamp_validator_unittest.cc ('k') | media/filters/decoder_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698