OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // TODO(scherkus): clean up PipelineImpl... too many crazy function names, | 5 // TODO(scherkus): clean up PipelineImpl... too many crazy function names, |
6 // potential deadlocks, etc... | 6 // potential deadlocks, etc... |
7 | 7 |
8 #include "media/base/pipeline_impl.h" | 8 #include "media/base/pipeline_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/stl_util-inl.h" | 15 #include "base/stl_util.h" |
16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
17 #include "base/synchronization/condition_variable.h" | 17 #include "base/synchronization/condition_variable.h" |
18 #include "media/base/clock.h" | 18 #include "media/base/clock.h" |
19 #include "media/base/filter_collection.h" | 19 #include "media/base/filter_collection.h" |
20 #include "media/base/media_format.h" | 20 #include "media/base/media_format.h" |
21 | 21 |
22 namespace media { | 22 namespace media { |
23 | 23 |
24 const char kRawMediaScheme[] = "x-raw-media"; | 24 const char kRawMediaScheme[] = "x-raw-media"; |
25 | 25 |
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 case kStopping: | 1304 case kStopping: |
1305 case kStopped: | 1305 case kStopped: |
1306 NOTREACHED() << "Unexpected state for teardown: " << state_; | 1306 NOTREACHED() << "Unexpected state for teardown: " << state_; |
1307 break; | 1307 break; |
1308 // default: intentionally left out to force new states to cause compiler | 1308 // default: intentionally left out to force new states to cause compiler |
1309 // errors. | 1309 // errors. |
1310 }; | 1310 }; |
1311 } | 1311 } |
1312 | 1312 |
1313 } // namespace media | 1313 } // namespace media |
OLD | NEW |