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

Unified Diff: media/base/test_helpers.cc

Issue 1490613005: media config: expand is_encrypted to a struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/test_helpers.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index 84074bfe80e3d190e89707833741fe81646a919f..0abb670245caa1c5a5c7e35f9d046d5175b3cb1d 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -15,6 +15,7 @@
#include "media/base/audio_buffer.h"
#include "media/base/bind_to_current_loop.h"
#include "media/base/decoder_buffer.h"
+#include "media/base/encryption_scheme.h"
#include "media/base/media_util.h"
#include "ui/gfx/geometry/rect.h"
@@ -129,7 +130,7 @@ static VideoDecoderConfig GetTestConfig(VideoCodec codec,
return VideoDecoderConfig(codec, VIDEO_CODEC_PROFILE_UNKNOWN,
PIXEL_FORMAT_YV12, COLOR_SPACE_UNSPECIFIED,
coded_size, visible_rect, natural_size,
- EmptyExtraData(), is_encrypted);
+ EmptyExtraData(), EncryptionScheme(is_encrypted));
}
static const gfx::Size kNormalSize(320, 240);

Powered by Google App Engine
This is Rietveld 408576698