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

Unified Diff: content/browser/media/android/browser_demuxer_android.cc

Issue 2276343005: Delete MediaCodecPlayer, it's time! (Closed)
Patch Set: Created 4 years, 4 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 | « no previous file | content/browser/media/android/browser_media_player_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/android/browser_demuxer_android.cc
diff --git a/content/browser/media/android/browser_demuxer_android.cc b/content/browser/media/android/browser_demuxer_android.cc
index 65fd0bddb02e5230126a7a81b69ad7f993d5ba57..7d822f6fa3eb0730998728c84c61eea64e95d0d8 100644
--- a/content/browser/media/android/browser_demuxer_android.cc
+++ b/content/browser/media/android/browser_demuxer_android.cc
@@ -6,7 +6,6 @@
#include "base/macros.h"
#include "content/common/media/media_player_messages_android.h"
-#include "media/base/android/media_task_runner.h"
#include "media/base/media_switches.h"
namespace content {
@@ -55,15 +54,9 @@ class BrowserDemuxerAndroid::Internal : public media::DemuxerAndroid {
};
BrowserDemuxerAndroid::BrowserDemuxerAndroid()
- : BrowserMessageFilter(MediaPlayerMsgStart) {
- const bool use_media_thread = media::UseMediaThreadForMediaPlayback();
- VLOG(1) << "Using " << (use_media_thread ? "media" : "UI") << " thread"
- << " for MSE playback";
- task_runner_ =
- use_media_thread
- ? media::GetMediaTaskRunner().get()
- : BrowserThread::GetTaskRunnerForThread(BrowserThread::UI).get();
-}
+ : BrowserMessageFilter(MediaPlayerMsgStart),
+ task_runner_(
+ BrowserThread::GetTaskRunnerForThread(BrowserThread::UI).get()) {}
BrowserDemuxerAndroid::~BrowserDemuxerAndroid() {}
« no previous file with comments | « no previous file | content/browser/media/android/browser_media_player_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698