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

Unified Diff: media/base/media_init_stub.cc

Issue 1141703002: Chromium changes for static linking ffmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing mention of ffmpeg shared lib from various config/gyp/installer files Created 5 years, 7 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/base/media_init_stub.cc
diff --git a/media/base/audio_renderer.cc b/media/base/media_init_stub.cc
similarity index 50%
copy from media/base/audio_renderer.cc
copy to media/base/media_init_stub.cc
index e7b737ece5e1cbbd1f44cd3ebc1b15209ee9169a..daab8c95ab5be9cc9f9c4a6cd4bd2a03cb59505e 100644
--- a/media/base/audio_renderer.cc
+++ b/media/base/media_init_stub.cc
@@ -1,12 +1,17 @@
// 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.
+//
+// This file facilitates using media without including ffmpeg headers. See
+// media_init.cc
-#include "media/base/audio_renderer.h"
+#include "media/base/media.h"
namespace media {
+namespace internal {
-AudioRenderer::AudioRenderer() {}
-AudioRenderer::~AudioRenderer() {}
+void InitializeMediaLibraryInternal() {
+}
+} // namespace internal
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698