Chromium Code Reviews| Index: services/media/framework/stages/active_multistream_source_stage.h |
| diff --git a/services/media/framework/stages/active_multistream_source_stage.h b/services/media/framework/stages/active_multistream_source_stage.h |
| index 625c4e3f3d07c7147b6ce5f35900934a597ae30f..48034b20d6f2c1c8bb6077d5e275fb7aee15fdae 100644 |
| --- a/services/media/framework/stages/active_multistream_source_stage.h |
| +++ b/services/media/framework/stages/active_multistream_source_stage.h |
| @@ -7,6 +7,7 @@ |
| #include <vector> |
| +#include "base/synchronization/lock.h" |
| #include "services/media/framework/models/active_multistream_source.h" |
| #include "services/media/framework/stages/stage.h" |
| @@ -47,9 +48,12 @@ class ActiveMultistreamSourceStage : public Stage { |
| std::vector<Output> outputs_; |
| std::shared_ptr<ActiveMultistreamSource> source_; |
| ActiveMultistreamSource::SupplyCallback supply_function_; |
| + |
| + mutable base::Lock lock_; |
| PacketPtr cached_packet_; |
| size_t cached_packet_output_index_; |
| size_t ended_streams_ = 0; |
| + bool packet_request_outstanding_ = 0; |
|
kulakowski
2016/04/27 02:16:30
s/0/false/
dalesat
2016/04/27 15:40:14
Done.
|
| }; |
| } // namespace media |