summaryrefslogtreecommitdiffstats
path: root/media/base/filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/filters.cc')
-rw-r--r--media/base/filters.cc45
1 files changed, 1 insertions, 44 deletions
diff --git a/media/base/filters.cc b/media/base/filters.cc
index d3d3bcb..eff50b4 100644
--- a/media/base/filters.cc
+++ b/media/base/filters.cc
@@ -5,11 +5,10 @@
#include "media/base/filters.h"
#include "base/logging.h"
-#include "base/message_loop.h"
namespace media {
-Filter::Filter() : host_(NULL), message_loop_(NULL) {}
+Filter::Filter() : host_(NULL) {}
Filter::~Filter() {}
@@ -27,24 +26,6 @@ FilterHost* Filter::host() {
return host_;
}
-bool Filter::requires_message_loop() const {
- return false;
-}
-
-const char* Filter::message_loop_name() const {
- return "FilterThread";
-}
-
-void Filter::set_message_loop(MessageLoop* message_loop) {
- DCHECK(message_loop);
- DCHECK(!message_loop_);
- message_loop_ = message_loop;
-}
-
-MessageLoop* Filter::message_loop() {
- return message_loop_;
-}
-
void Filter::Play(FilterCallback* callback) {
DCHECK(callback);
if (callback) {
@@ -93,26 +74,10 @@ bool DataSource::IsUrlSupported(const std::string& url) {
return true;
}
-bool Demuxer::requires_message_loop() const {
- return true;
-}
-
-const char* Demuxer::message_loop_name() const {
- return "DemuxerThread";
-}
-
const char* AudioDecoder::major_mime_type() const {
return mime_type::kMajorTypeAudio;
}
-bool AudioDecoder::requires_message_loop() const {
- return true;
-}
-
-const char* AudioDecoder::message_loop_name() const {
- return "AudioDecoderThread";
-}
-
const char* AudioRenderer::major_mime_type() const {
return mime_type::kMajorTypeAudio;
}
@@ -121,14 +86,6 @@ const char* VideoDecoder::major_mime_type() const {
return mime_type::kMajorTypeVideo;
}
-bool VideoDecoder::requires_message_loop() const {
- return true;
-}
-
-const char* VideoDecoder::message_loop_name() const {
- return "VideoDecoderThread";
-}
-
const char* VideoRenderer::major_mime_type() const {
return mime_type::kMajorTypeVideo;
}