Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1214)

Unified Diff: services/media/framework/stages/active_multistream_source_stage.h

Issue 1923763002: Motown: Ffmpeg video decoder (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698