webrtc/modules/video_coding/codecs
Henrik Boström 38f1d4bf8a [LibvpxVp8Encoder] Don't DCHECK crash if I420 is not equal to I420A.
In CL https://webrtc-review.googlesource.com/c/src/+/216323 we fixed
the issue where I420 and I420A not being equal would result in dropping
frames in release builds.

But we forgot to update the corresponding DCHECK, meaning the I420 not
being the same as I420A issue still causes crashes on debug builds.
(I must have been running a release build not to catch this before?)

This CL replaces the DCHECK_EQ with an RTC_NOTREACHED inside the
IsCompatibleVideoFrameBufferType check.

Because this only affects debug builds, this CL does not need to be
backmerged anywhere.

Bug: chromium:1203206
Change-Id: I101823e8bca293e94d0f7ce507fe78cedff3ea1b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/219281
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34048}
2021-05-19 08:48:46 +00:00
..
av1 Set non-zero target bitrate for AV1 single spatial layer case 2021-05-04 12:34:01 +00:00
h264 Move h264_profile_level_id and vp9_profile to api/video_codecs 2021-04-20 09:42:05 +00:00
interface Extend LibvpxInterface with VP9 support and use it from LibvpxVp9Encoder 2020-12-13 18:07:05 +00:00
multiplex Replace more instances of rtc::RefCountedObject with make_ref_counted. 2021-04-27 17:01:59 +00:00
test Fix the VideoFrameType of super frame construction in VideoProcessor 2021-05-12 02:21:45 +00:00
vp8 [LibvpxVp8Encoder] Don't DCHECK crash if I420 is not equal to I420A. 2021-05-19 08:48:46 +00:00
vp9 Make RefCountedObject require overriding virtual methods 2021-04-26 11:05:19 +00:00