summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/pipeline_impl.cc')
-rw-r--r--media/base/pipeline_impl.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
index 098fb18..9ba4181 100644
--- a/media/base/pipeline_impl.cc
+++ b/media/base/pipeline_impl.cc
@@ -26,9 +26,17 @@ bool SupportsSetMessageLoop() {
case FILTER_AUDIO_DECODER:
case FILTER_VIDEO_DECODER:
return true;
- default:
+
+ case FILTER_DATA_SOURCE:
+ case FILTER_AUDIO_RENDERER:
+ case FILTER_VIDEO_RENDERER:
return false;
+
+ // Skipping default case so compiler will warn on a missed enumeration.
}
+
+ NOTREACHED() << "Unexpected filter type " << Filter::filter_type();
+ return false;
}
// Small helper function to help us name filter threads for debugging.