Migrate WebrtcDummyVideoEncoderFactory to new video encoder factory API.
As part of an effort to make all video codecs in WebRTC injectable and optional, migrate an encoder factory that inherited from the old class to the new one. In the new class, the unique_ptr is returned from the factory method, so let the factory keep a raw pointer and let the encoder tell the factory to reset it when released. Bug: webrtc:7925 Change-Id: Ia058a7f09a2960b47918e441adc06ea7328aaa4c Reviewed-on: https://chromium-review.googlesource.com/1179832 Commit-Queue: Anders Carlsson <andersc@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#584707}
Showing
Please register or sign in to comment