OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "media/base/media.h" | 5 #include "media/base/media.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/macros.h" |
9 #include "base/path_service.h" | 10 #include "base/path_service.h" |
10 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
11 #include "base/trace_event/trace_event.h" | 12 #include "base/trace_event/trace_event.h" |
12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
13 #include "media/base/yuv_convert.h" | 14 #include "media/base/yuv_convert.h" |
14 | 15 |
15 #if !defined(MEDIA_DISABLE_FFMPEG) | 16 #if !defined(MEDIA_DISABLE_FFMPEG) |
16 #include "media/ffmpeg/ffmpeg_common.h" | 17 #include "media/ffmpeg/ffmpeg_common.h" |
17 #endif | 18 #endif |
18 | 19 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 }; | 55 }; |
55 | 56 |
56 static base::LazyInstance<MediaInitializer>::Leaky g_media_library = | 57 static base::LazyInstance<MediaInitializer>::Leaky g_media_library = |
57 LAZY_INSTANCE_INITIALIZER; | 58 LAZY_INSTANCE_INITIALIZER; |
58 | 59 |
59 void InitializeMediaLibrary() { | 60 void InitializeMediaLibrary() { |
60 g_media_library.Get(); | 61 g_media_library.Get(); |
61 } | 62 } |
62 | 63 |
63 } // namespace media | 64 } // namespace media |
OLD | NEW |