summaryrefslogtreecommitdiffstats
path: root/media/base/media_posix.cc
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-18 00:36:22 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-18 00:36:22 +0000
commit10000d66052ed5a1c42f5173bd93ea0af8a6d19b (patch)
tree272e718e2858efd87e71af38fcffd897fd4c6e94 /media/base/media_posix.cc
parent359cadcdcebadd6d9d87ee92d3dace00ad0a0736 (diff)
downloadchromium_src-10000d66052ed5a1c42f5173bd93ea0af8a6d19b.zip
chromium_src-10000d66052ed5a1c42f5173bd93ea0af8a6d19b.tar.gz
chromium_src-10000d66052ed5a1c42f5173bd93ea0af8a6d19b.tar.bz2
Move the ffmpeg loading function into media library.
This will allow us to hide the platform specific library loading code from the main chrome code. Review URL: http://codereview.chromium.org/69027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media_posix.cc')
-rwxr-xr-xmedia/base/media_posix.cc19
1 files changed, 19 insertions, 0 deletions
diff --git a/media/base/media_posix.cc b/media/base/media_posix.cc
new file mode 100755
index 0000000..664f9f8
--- /dev/null
+++ b/media/base/media_posix.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2009 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.
+
+#include "media/base/media.h"
+
+#include "base/logging.h"
+#include "base/path_service.h"
+
+namespace media {
+
+// Attempts to initialize the media library (loading DLLs, DSOs, etc.).
+// Returns true if everything was successfully initialized, false otherwise.
+bool InitializeMediaLibrary(const FilePath& module_dir) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+} // namespace media