| Index: services/media/factory_service/media_demux_impl.h
|
| diff --git a/services/media/factory_service/media_demux_impl.h b/services/media/factory_service/media_demux_impl.h
|
| index 49e43a9cb66c05cc9f621d7e7bd7251505465102..9ae962c02ddfe9adc8415289f8458bbabf1ad01a 100644
|
| --- a/services/media/factory_service/media_demux_impl.h
|
| +++ b/services/media/factory_service/media_demux_impl.h
|
| @@ -17,7 +17,7 @@
|
| #include "services/media/factory_service/factory_service.h"
|
| #include "services/media/framework/graph.h"
|
| #include "services/media/framework/parts/demux.h"
|
| -#include "services/media/framework_mojo/mojo_producer.h"
|
| +#include "services/media/framework_mojo/mojo_packet_producer.h"
|
| #include "services/util/cpp/incident.h"
|
|
|
| namespace mojo {
|
| @@ -37,8 +37,9 @@ class MediaDemuxImpl : public MediaFactoryService::Product<MediaDemux>,
|
| // MediaDemux implementation.
|
| void Describe(const DescribeCallback& callback) override;
|
|
|
| - void GetProducer(uint32_t stream_index,
|
| - InterfaceRequest<MediaProducer> producer) override;
|
| + void GetPacketProducer(
|
| + uint32_t stream_index,
|
| + InterfaceRequest<MediaPacketProducer> producer) override;
|
|
|
| void GetMetadata(uint64_t version_last_seen,
|
| const GetMetadataCallback& callback) override;
|
| @@ -66,19 +67,21 @@ class MediaDemuxImpl : public MediaFactoryService::Product<MediaDemux>,
|
| MediaTypePtr media_type() const;
|
|
|
| // Gets the producer.
|
| - void GetProducer(InterfaceRequest<MediaProducer> producer);
|
| + void GetPacketProducer(InterfaceRequest<MediaPacketProducer> producer);
|
|
|
| // Tells the producer to prime its connection.
|
| - void PrimeConnection(const MojoProducer::PrimeConnectionCallback callback);
|
| + void PrimeConnection(
|
| + const MojoPacketProducer::PrimeConnectionCallback callback);
|
|
|
| // Tells the producer to flush its connection.
|
| - void FlushConnection(const MojoProducer::FlushConnectionCallback callback);
|
| + void FlushConnection(
|
| + const MojoPacketProducer::FlushConnectionCallback callback);
|
|
|
| private:
|
| std::unique_ptr<StreamType> stream_type_;
|
| Graph* graph_;
|
| OutputRef output_;
|
| - std::shared_ptr<MojoProducer> producer_;
|
| + std::shared_ptr<MojoPacketProducer> producer_;
|
| };
|
|
|
| // Handles the completion of demux initialization.
|
|
|