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

Unified Diff: media/filters/video_frame_stream_unittest.cc

Issue 547913002: MediaLog: Log selected audio/video decoder name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 6 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/filters/video_frame_stream_unittest.cc
diff --git a/media/filters/video_frame_stream_unittest.cc b/media/filters/video_frame_stream_unittest.cc
index e36172cf5986868a0165e3eba883b3e1e4fed147..3a954155eb52deeae778541bf1c18581ecbfd694 100644
--- a/media/filters/video_frame_stream_unittest.cc
+++ b/media/filters/video_frame_stream_unittest.cc
@@ -43,6 +43,8 @@ ACTION_P(ReportCallback, verifier) {
namespace media {
+static void LogFunc(const std::string& str) { DVLOG(1) << str; }
+
struct VideoFrameStreamTestParams {
VideoFrameStreamTestParams(bool is_encrypted,
int decoding_delay,
@@ -82,7 +84,8 @@ class VideoFrameStreamTest
message_loop_.message_loop_proxy(),
decoders.Pass(),
base::Bind(&VideoFrameStreamTest::SetDecryptorReadyCallback,
- base::Unretained(this))));
+ base::Unretained(this)),
+ base::Bind(&LogFunc)));
// Decryptor can only decrypt (not decrypt-and-decode) so that
// DecryptingDemuxerStream will be used.

Powered by Google App Engine
This is Rietveld 408576698