Chromium Code Reviews| Index: media/base/pipeline_impl.cc |
| =================================================================== |
| --- media/base/pipeline_impl.cc (revision 23449) |
| +++ media/base/pipeline_impl.cc (working copy) |
| @@ -688,6 +688,11 @@ |
| void PipelineImpl::BroadcastMessageTask(FilterMessage message) { |
| DCHECK_EQ(MessageLoop::current(), message_loop_); |
| + // TODO(kylep): This is a horribly ugly hack, but we have no better way to log |
| + // that audio is not and will not be working. |
|
awong
2009/08/14 20:33:10
File a bug about this and put the bug number into
kylep
2009/08/14 20:48:02
Bug filed: http://crbug.com/19384
|
| + if (message == media::kMsgDisableAudio) |
| + rendered_mime_types_.erase(mime_type::kMajorTypeAudio); |
|
scherkus (not reviewing)
2009/08/14 20:34:44
is this valid?
I think erase takes an iterator, b
kylep
2009/08/14 20:48:02
Yeah, I looked it up. It takes either an iterator
scherkus (not reviewing)
2009/08/14 22:28:17
What if the element doesn't exist? I have this fe
|
| + |
| // Broadcast the message to all filters. |
| for (FilterVector::iterator iter = filters_.begin(); |
| iter != filters_.end(); |