
We previously always set VCMNaluCompleteness to kNaluComplete for kVideoCodecGeneric, which seems wrong. This CL fixes that and also cleans up the code a bit. The logic for VP8, VP9, and H264 should be exactly preserved. This CL also updates the test to use kVideoCodecGeneric instead of kVideoCodecUnknown. kVideoCodecUnknown has no purpose and should be removed. Bug: webrtc:9516 Change-Id: Ib8d2bf6a04d41b91c5774531f3a669edce3c6cb2 Reviewed-on: https://webrtc-review.googlesource.com/88181 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23933}