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

Unified Diff: webrtc/modules/video_coding/codecs/h264/include/h264.h

Issue 1657273002: Ability to disable the effects of |rtc_use_h264| with DisableRtcUseH264. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 months 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
Index: webrtc/modules/video_coding/codecs/h264/include/h264.h
diff --git a/webrtc/modules/video_coding/codecs/h264/include/h264.h b/webrtc/modules/video_coding/codecs/h264/include/h264.h
index 7f0bbf042beddc0f091fa2779e7789a732dccead..9695f684983c7a547f7049b1d0237b49199249ce 100644
--- a/webrtc/modules/video_coding/codecs/h264/include/h264.h
+++ b/webrtc/modules/video_coding/codecs/h264/include/h264.h
@@ -27,6 +27,12 @@
namespace webrtc {
+// Set to enable or disable the H.264 encoder/decoder implementations that are
+// provided if |rtc_use_h264| build flag is true (if false, this function does
+// nothing). This function should only be called before or during WebRTC
+// initialization and is not thread-safe.
tommi 2016/02/02 16:33:13 ah, not thread safe. Good comment. Feel free to i
hbos 2016/02/02 17:08:19 Acknowledged.
+void SetRtcUseH264(bool enable);
+
class H264Encoder : public VideoEncoder {
public:
static H264Encoder* Create();

Powered by Google App Engine
This is Rietveld 408576698