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

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

Issue 236023003: Add WebMediaPlayer::timelineOffset() support to WebMediaPlayerImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments Created 6 years, 8 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/formats/webm/webm_info_parser.cc ('k') | media/test/data/bear-320x240-live.webm » ('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 1a49c6694b2254953cbe05d52731c5240e3a2874..4a724090dd91de3aa3ca7a78ab53c55213a18249 100644
--- a/media/formats/webm/webm_stream_parser.cc
+++ b/media/formats/webm/webm_stream_parser.cc
@@ -219,7 +219,8 @@ int WebMStreamParser::ParseInfoAndTracks(const uint8* data, int size) {
ChangeState(kParsingClusters);
if (!init_cb_.is_null())
- base::ResetAndReturn(&init_cb_).Run(true, duration, false);
+ base::ResetAndReturn(&init_cb_).Run(
+ true, duration, info_parser.date_utc(), false);
return bytes_parsed;
}
« no previous file with comments | « media/formats/webm/webm_info_parser.cc ('k') | media/test/data/bear-320x240-live.webm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698