We need to check the pool to make sure that the encoder session is valid. Otherwise, it appears as if the encoder just does not output frames. NOTRY=True BUG= Review-Url: https://codereview.webrtc.org/2226383002 Cr-Commit-Position: refs/heads/master@{#13698}