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

Unified Diff: media/formats/webm/webm_stream_parser.cc

Issue 692323002: Move Liveness from DemuxerStreamProvider to DemuxerStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mojo Created 6 years, 1 month 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/video_renderer_impl_unittest.cc ('k') | media/mojo/services/demuxer_stream_provider_shim.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/webm_stream_parser.cc
diff --git a/media/formats/webm/webm_stream_parser.cc b/media/formats/webm/webm_stream_parser.cc
index 384c9cfdf4831c0761650b872d9b94b6d23e6428..ceda1a20736f697b4a003e86b1b8f5598f449e57 100644
--- a/media/formats/webm/webm_stream_parser.cc
+++ b/media/formats/webm/webm_stream_parser.cc
@@ -207,11 +207,11 @@ int WebMStreamParser::ParseInfoAndTracks(const uint8* data, int size) {
if (unknown_segment_size_ && (info_parser.duration() <= 0) &&
!info_parser.date_utc().is_null()) {
- params.liveness = Demuxer::LIVENESS_LIVE;
+ params.liveness = DemuxerStream::LIVENESS_LIVE;
} else if (info_parser.duration() >= 0) {
- params.liveness = Demuxer::LIVENESS_RECORDED;
+ params.liveness = DemuxerStream::LIVENESS_RECORDED;
} else {
- params.liveness = Demuxer::LIVENESS_UNKNOWN;
+ params.liveness = DemuxerStream::LIVENESS_UNKNOWN;
}
const AudioDecoderConfig& audio_config = tracks_parser.audio_decoder_config();
« no previous file with comments | « media/filters/video_renderer_impl_unittest.cc ('k') | media/mojo/services/demuxer_stream_provider_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698