| Index: media/filters/pipeline_controller.h
|
| diff --git a/media/filters/pipeline_controller.h b/media/filters/pipeline_controller.h
|
| index 4c2a70f7f8e55c90b41515416d325527728b549b..b80fa5e6fdb231316e061ab0534fbe71c8739b4f 100644
|
| --- a/media/filters/pipeline_controller.h
|
| +++ b/media/filters/pipeline_controller.h
|
| @@ -10,9 +10,12 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "base/time/time.h"
|
| +#include "media/base/audio_decoder_config.h"
|
| #include "media/base/media_export.h"
|
| #include "media/base/pipeline.h"
|
| #include "media/base/renderer.h"
|
| +#include "media/base/video_decoder_config.h"
|
| +#include "media/filters/remoting_controller.h"
|
|
|
| namespace media {
|
|
|
| @@ -102,6 +105,22 @@ class MEDIA_EXPORT PipelineController {
|
| // Returns true if |pipeline_| is suspended.
|
| bool IsPipelineSuspended();
|
|
|
| + // Switch between the media renderer for local playing back and the remoting
|
| + // media renderer when pipeline is started.
|
| + void ToggleRenderer();
|
| +
|
| + // Set whether any fullscreen button is pressed.
|
| + void SetFullscreenMode(bool is_fullscreen);
|
| +
|
| + void SetIsEncryptedContent();
|
| +
|
| + // Get the current video/audio config.
|
| + VideoDecoderConfig GetVideoDecoderConfig() const;
|
| + AudioDecoderConfig GetAudioDecoderConfig() const;
|
| +
|
| + // This is used to indicate which renderer to be created.
|
| + bool ShouldUseRemotingRenderer() const;
|
| +
|
| private:
|
| // Attempts to make progress from the current state to the target state.
|
| void Dispatch();
|
| @@ -158,6 +177,8 @@ class MEDIA_EXPORT PipelineController {
|
| bool pending_suspend_ = false;
|
| bool pending_resume_ = false;
|
|
|
| + std::unique_ptr<RemotingController> remoting_controller_;
|
| +
|
| base::ThreadChecker thread_checker_;
|
| base::WeakPtrFactory<PipelineController> weak_factory_;
|
|
|
|
|