This CL is a forward fix of https://webrtc-review.googlesource.com/c/src/+/83729. That CL accidentally changed the behavior in a specific case when a client would both explicitly call setEnableVideoHwAcceleration(false) and also not inject neither a encoder nor a decoder factory. This CL restores the behavior for that specific case. Bug: webrtc:7925 Change-Id: I7653453d5dceb2e61fede164216ff2c879d760ed Reviewed-on: https://webrtc-review.googlesource.com/87847 Reviewed-by: Anders Carlsson <andersc@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23909}