| Index: media/base/filters.cc
|
| ===================================================================
|
| --- media/base/filters.cc (revision 66137)
|
| +++ media/base/filters.cc (working copy)
|
| @@ -93,6 +93,14 @@
|
| return true;
|
| }
|
|
|
| +FilterType DataSource::filter_type() const {
|
| + return static_filter_type();
|
| +}
|
| +
|
| +FilterType Demuxer::filter_type() const {
|
| + return static_filter_type();
|
| +}
|
| +
|
| bool Demuxer::requires_message_loop() const {
|
| return true;
|
| }
|
| @@ -101,6 +109,10 @@
|
| return "DemuxerThread";
|
| }
|
|
|
| +FilterType AudioDecoder::filter_type() const {
|
| + return static_filter_type();
|
| +}
|
| +
|
| const char* AudioDecoder::major_mime_type() const {
|
| return mime_type::kMajorTypeAudio;
|
| }
|
| @@ -113,10 +125,18 @@
|
| return "AudioDecoderThread";
|
| }
|
|
|
| +FilterType AudioRenderer::filter_type() const {
|
| + return static_filter_type();
|
| +}
|
| +
|
| const char* AudioRenderer::major_mime_type() const {
|
| return mime_type::kMajorTypeAudio;
|
| }
|
|
|
| +FilterType VideoDecoder::filter_type() const {
|
| + return static_filter_type();
|
| +}
|
| +
|
| const char* VideoDecoder::major_mime_type() const {
|
| return mime_type::kMajorTypeVideo;
|
| }
|
| @@ -129,6 +149,10 @@
|
| return "VideoDecoderThread";
|
| }
|
|
|
| +FilterType VideoRenderer::filter_type() const {
|
| + return static_filter_type();
|
| +}
|
| +
|
| const char* VideoRenderer::major_mime_type() const {
|
| return mime_type::kMajorTypeVideo;
|
| }
|
|
|