Index: media/base/pipeline_metadata.h |
diff --git a/media/base/pipeline_metadata.h b/media/base/pipeline_metadata.h |
index d3030efdc80fa1e3254c59808288733114487f2c..52d037a8a60f3c4c5293eec54bf0fbf5b5700ebe 100644 |
--- a/media/base/pipeline_metadata.h |
+++ b/media/base/pipeline_metadata.h |
@@ -22,6 +22,10 @@ struct MEDIA_EXPORT PipelineMetadata { |
// out-of-line copy constructor. |
PipelineMetadata(const PipelineMetadata&); |
+ // On Android, when using the MediaPlayerRenderer, |has_video| and |has_audio| |
+ // will be true, but the respective configs will be empty. |
+ // Do not make any assumptions on the validity of configs based off of the |
+ // presence of audio/video. |
bool has_audio; |
bool has_video; |
AudioDecoderConfig audio_decoder_config; |