| Index: media/cast/sender/h264_vt_encoder.h
|
| diff --git a/media/cast/sender/h264_vt_encoder.h b/media/cast/sender/h264_vt_encoder.h
|
| index 2e4c3f0024a769b868de23e2a95fca6e2bb37b29..5a4178d3ea36d351fd8a94047c27c923a2d58e72 100644
|
| --- a/media/cast/sender/h264_vt_encoder.h
|
| +++ b/media/cast/sender/h264_vt_encoder.h
|
| @@ -11,7 +11,6 @@
|
| #include "base/macros.h"
|
| #include "base/power_monitor/power_observer.h"
|
| #include "base/threading/thread_checker.h"
|
| -#include "media/base/mac/videotoolbox_glue.h"
|
| #include "media/base/mac/videotoolbox_helpers.h"
|
| #include "media/cast/sender/size_adaptable_video_encoder_base.h"
|
| #include "media/cast/sender/video_encoder.h"
|
| @@ -26,10 +25,6 @@ namespace cast {
|
| // compression session when the host process is suspended.
|
| class H264VideoToolboxEncoder : public VideoEncoder,
|
| public base::PowerObserver {
|
| - typedef CoreMediaGlue::CMSampleBufferRef CMSampleBufferRef;
|
| - typedef VideoToolboxGlue::VTCompressionSessionRef VTCompressionSessionRef;
|
| - typedef VideoToolboxGlue::VTEncodeInfoFlags VTEncodeInfoFlags;
|
| -
|
| public:
|
| // Returns true if the current platform and system configuration supports
|
| // using H264VideoToolboxEncoder with the given |video_config|.
|
| @@ -86,9 +81,6 @@ class H264VideoToolboxEncoder : public VideoEncoder,
|
| // The cast environment (contains worker threads & more).
|
| const scoped_refptr<CastEnvironment> cast_environment_;
|
|
|
| - // VideoToolboxGlue provides access to VideoToolbox at runtime.
|
| - const VideoToolboxGlue* const videotoolbox_glue_;
|
| -
|
| // VideoSenderConfig copy so we can create compression sessions on demand.
|
| // This is needed to recover from backgrounding and other events that can
|
| // invalidate compression sessions.
|
|
|