Index: media/filters/decoder_stream_traits.h |
diff --git a/media/filters/decoder_stream_traits.h b/media/filters/decoder_stream_traits.h |
index 7d5389989b1a99ee879a0f295f42e0c24b4db28b..2dab09f6859e1005ce0b243c7d403309f1803760 100644 |
--- a/media/filters/decoder_stream_traits.h |
+++ b/media/filters/decoder_stream_traits.h |
@@ -41,6 +41,7 @@ struct DecoderStreamTraits<DemuxerStream::AUDIO> { |
static void ReportStatistics(const StatisticsCB& statistics_cb, |
int bytes_decoded); |
static scoped_refptr<OutputType> CreateEOSOutput(); |
+ static constexpr bool kShouldValidateTimestamps = true; |
}; |
template <> |
@@ -61,6 +62,7 @@ struct DecoderStreamTraits<DemuxerStream::VIDEO> { |
static void ReportStatistics(const StatisticsCB& statistics_cb, |
int bytes_decoded); |
static scoped_refptr<OutputType> CreateEOSOutput(); |
+ static constexpr bool kShouldValidateTimestamps = false; |
}; |
} // namespace media |