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

Unified Diff: media/filters/ffmpeg_decoder_unittest.h

Issue 9632024: Create video and audio decoder threads on demand. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Log an error when Initialize is called more than once. Created 8 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/filters/ffmpeg_audio_decoder_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_decoder_unittest.h
diff --git a/media/filters/ffmpeg_decoder_unittest.h b/media/filters/ffmpeg_decoder_unittest.h
new file mode 100644
index 0000000000000000000000000000000000000000..e558c30b4530d1c6d0d94916ffb6b487dd5c03ef
--- /dev/null
+++ b/media/filters/ffmpeg_decoder_unittest.h
@@ -0,0 +1,13 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_FILTERS_FFMPEG_DECODER_UNITTEST_H_
+#define MEDIA_FILTERS_FFMPEG_DECODER_UNITTEST_H_
+
+namespace media {
+// Used to inject our message loop into the FFmpeg[Audio|Video|Decoder.
+template<class T> T Identity(T t) { return t; }
Ami GONE FROM CHROMIUM 2012/03/11 23:43:12 I think you misunderstood my comment about namespa
+} // namespace media
+
+#endif // MEDIA_FILTERS_FFMPEG_DECODER_UNITTEST_H_
« no previous file with comments | « media/filters/ffmpeg_audio_decoder_unittest.cc ('k') | media/filters/ffmpeg_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698