mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 15:20:42 +01:00
![]() Sometimes OpenH264 returns a key frame even though we have not requested one. However, SVC controller does not know about this and will not reset its state. Since we are comparing expected tid from SVC controller with actual tid from OpenH264, and drop frames if they do not match, that causes a missing frame. This CL resets the SVC controller state on key frames, ensuring that it accurately maintains its state and does not drop frames. Also, changes the message of the error log to be more descriptive. Now, it will print the expected tid and actual tid. Bug: webrtc:14877 Change-Id: I6c9e7532b2478773f03e5707bf7a1ca56e4f7b99 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324001 Commit-Queue: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40972} |
||
---|---|---|
.. | ||
include | ||
test | ||
DEPS | ||
h264.cc | ||
h264_color_space.cc | ||
h264_color_space.h | ||
h264_decoder_impl.cc | ||
h264_decoder_impl.h | ||
h264_encoder_impl.cc | ||
h264_encoder_impl.h | ||
h264_encoder_impl_unittest.cc | ||
h264_simulcast_unittest.cc | ||
OWNERS |