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

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: Minor fixes per feedback. 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..b7cec740e51f86be4a1ca0685e5841e383aa1de2 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_ = false;
};
} // namespace media
« no previous file with comments | « services/media/framework/parts/reader.h ('k') | services/media/framework/stages/active_multistream_source_stage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698