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

Unified Diff: media/base/fake_demuxer_stream.cc

Issue 1786733004: Revert of media config: expand is_encrypted to a struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/encryption_scheme.cc ('k') | media/base/media_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_demuxer_stream.cc
diff --git a/media/base/fake_demuxer_stream.cc b/media/base/fake_demuxer_stream.cc
index 7ed5841c4ab2eb06010ae9f945d2817333a6f8df..267b3e5d8d23a6f21f1c6a8c1987b5787b5de360 100644
--- a/media/base/fake_demuxer_stream.cc
+++ b/media/base/fake_demuxer_stream.cc
@@ -147,11 +147,11 @@
void FakeDemuxerStream::UpdateVideoDecoderConfig() {
const gfx::Rect kVisibleRect(kStartWidth, kStartHeight);
- video_decoder_config_.Initialize(
- kCodecVP8, VIDEO_CODEC_PROFILE_UNKNOWN, PIXEL_FORMAT_YV12,
- COLOR_SPACE_UNSPECIFIED, next_coded_size_, kVisibleRect, next_coded_size_,
- EmptyExtraData(),
- is_encrypted_ ? AesCtrEncryptionScheme() : Unencrypted());
+ video_decoder_config_.Initialize(kCodecVP8, VIDEO_CODEC_PROFILE_UNKNOWN,
+ PIXEL_FORMAT_YV12, COLOR_SPACE_UNSPECIFIED,
+ next_coded_size_, kVisibleRect,
+ next_coded_size_, EmptyExtraData(),
+ is_encrypted_);
next_coded_size_.Enlarge(kWidthDelta, kHeightDelta);
}
« no previous file with comments | « media/base/encryption_scheme.cc ('k') | media/base/media_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698