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

Unified Diff: media/filters/video_renderer_impl_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_renderer_impl_unittest.cc
diff --git a/media/filters/video_renderer_impl_unittest.cc b/media/filters/video_renderer_impl_unittest.cc
index b81f81ab1d976a880c33421c3249399dee16ee40..4b5a0a053c33275288d30d0fe85f64548c4b727c 100644
--- a/media/filters/video_renderer_impl_unittest.cc
+++ b/media/filters/video_renderer_impl_unittest.cc
@@ -47,6 +47,8 @@ MATCHER_P(HasTimestamp, ms, "") {
// and kTimeToDeclareHaveNothing.
static const int kVideoDurationInMs = 10000;
+static void LogFunc(const std::string& str) { DVLOG(1) << str; }
+
class VideoRendererImplTest : public ::testing::Test {
public:
VideoRendererImplTest()
@@ -60,7 +62,8 @@ class VideoRendererImplTest : public ::testing::Test {
decoders.Pass(),
media::SetDecryptorReadyCB(),
base::Bind(&StrictMock<MockCB>::Display, base::Unretained(&mock_cb_)),
- true));
+ true,
+ base::Bind(&LogFunc)));
demuxer_stream_.set_video_decoder_config(TestVideoConfig::Normal());

Powered by Google App Engine
This is Rietveld 408576698