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

Unified Diff: webrtc/media/engine/internalencoderfactory.h

Issue 2513633002: Revert of Stop using hardcoded payload types for video codecs (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 | « webrtc/media/base/mediaconstants.cc ('k') | webrtc/media/engine/internalencoderfactory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/internalencoderfactory.h
diff --git a/webrtc/media/engine/internalencoderfactory.h b/webrtc/media/engine/internalencoderfactory.h
deleted file mode 100644
index 357bbef38309e3344d2b43052838f012b50de271..0000000000000000000000000000000000000000
--- a/webrtc/media/engine/internalencoderfactory.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_MEDIA_ENGINE_INTERNALENCODERFACTORY_H_
-#define WEBRTC_MEDIA_ENGINE_INTERNALENCODERFACTORY_H_
-
-#include <vector>
-
-#include "webrtc/base/constructormagic.h"
-#include "webrtc/media/engine/webrtcvideoencoderfactory.h"
-
-namespace cricket {
-
-class InternalEncoderFactory : public WebRtcVideoEncoderFactory {
- public:
- static WebRtcVideoEncoderFactory& GetInstance();
-
- // WebRtcVideoEncoderFactory implementation.
- webrtc::VideoEncoder* CreateVideoEncoder(
- const cricket::VideoCodec& codec) override;
- const std::vector<cricket::VideoCodec>& supported_codecs() const override;
- void DestroyVideoEncoder(webrtc::VideoEncoder* encoder) override;
-
- private:
- // Disable overloaded virtual function warning. TODO(magjed): Remove once
- // http://crbug/webrtc/6402 is fixed.
- using WebRtcVideoEncoderFactory::CreateVideoEncoder;
-
- InternalEncoderFactory();
- virtual ~InternalEncoderFactory();
- RTC_DISALLOW_COPY_AND_ASSIGN(InternalEncoderFactory);
-
- std::vector<cricket::VideoCodec> supported_codecs_;
-};
-
-} // namespace cricket
-
-#endif // WEBRTC_MEDIA_ENGINE_INTERNALENCODERFACTORY_H_
« no previous file with comments | « webrtc/media/base/mediaconstants.cc ('k') | webrtc/media/engine/internalencoderfactory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698