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

Unified Diff: media/filters/decrypting_demuxer_stream.cc

Issue 437203002: copy codec_delay in decrypting_demuxer to fix bug 400095 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copy seek_preroll too Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/decrypting_demuxer_stream.cc
diff --git a/media/filters/decrypting_demuxer_stream.cc b/media/filters/decrypting_demuxer_stream.cc
index 4ec6c530b2411efdbb170350c544a22dfa687e7a..0f0930eb723ff7d976c4e622c38bd28558ea391e 100644
--- a/media/filters/decrypting_demuxer_stream.cc
+++ b/media/filters/decrypting_demuxer_stream.cc
@@ -360,8 +360,8 @@ void DecryptingDemuxerStream::InitializeDecoderConfig() {
input_audio_config.extra_data_size(),
false, // Output audio is not encrypted.
false,
- base::TimeDelta(),
- 0);
+ input_audio_config.seek_preroll(),
+ input_audio_config.codec_delay());
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698