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

Unified Diff: media/cast/sender/h264_vt_encoder.h

Issue 2529493002: mac: Remove more media/base/mac glue unneeded now that we target 10.9 (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « media/cast/BUILD.gn ('k') | media/cast/sender/h264_vt_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « media/cast/BUILD.gn ('k') | media/cast/sender/h264_vt_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698