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

Unified Diff: media/base/android/video_decoder_job.cc

Issue 2365103002: Send the h264 SPS and PPS configuration parameters to AVDA (Closed)
Patch Set: Fix array init syntax Created 4 years, 3 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
Index: media/base/android/video_decoder_job.cc
diff --git a/media/base/android/video_decoder_job.cc b/media/base/android/video_decoder_job.cc
index bca7fa4afb4be1cdd9237fe33ff8ff412092cbda..c7ecc66353f17f21c86d911356fc06ba50f31901 100644
--- a/media/base/android/video_decoder_job.cc
+++ b/media/base/android/video_decoder_job.cc
@@ -137,9 +137,10 @@ MediaDecoderJob::MediaDecoderJobStatus
bool is_secure = is_content_encrypted() && drm_bridge() &&
drm_bridge()->IsProtectedSurfaceRequired();
+ const std::vector<uint8_t> csd;
sandersd (OOO until July 31) 2016/09/27 20:03:16 empty_csd?
watk 2016/09/27 21:44:36 Done.
media_codec_bridge_.reset(VideoCodecBridge::CreateDecoder(
video_codec_, is_secure, gfx::Size(config_width_, config_height_),
- surface_.j_surface().obj(), GetMediaCrypto()));
+ surface_.j_surface().obj(), GetMediaCrypto(), csd, csd));
if (!media_codec_bridge_)
return STATUS_FAILURE;

Powered by Google App Engine
This is Rietveld 408576698