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

Unified Diff: media/filters/android/media_codec_audio_decoder.cc

Issue 2132653002: MediaCodecLoop unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl feedback Created 4 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 | « media/base/subsample_entry.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/android/media_codec_audio_decoder.cc
diff --git a/media/filters/android/media_codec_audio_decoder.cc b/media/filters/android/media_codec_audio_decoder.cc
index 6bfeb2d147edafd514cdb8ab019d8c75bf6580ae..c1db1d97a7fd3f2efb0282008c0ea64c161caddb 100644
--- a/media/filters/android/media_codec_audio_decoder.cc
+++ b/media/filters/android/media_codec_audio_decoder.cc
@@ -158,7 +158,9 @@ bool MediaCodecAudioDecoder::CreateMediaCodecLoop() {
return false;
}
- codec_loop_.reset(new MediaCodecLoop(this, std::move(audio_codec_bridge)));
+ codec_loop_.reset(
+ new MediaCodecLoop(base::android::BuildInfo::GetInstance()->sdk_int(),
+ this, std::move(audio_codec_bridge)));
return true;
}
« no previous file with comments | « media/base/subsample_entry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698