webrtc/modules/video_coding/codecs/vp8
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
..
include Replace RTC_DEPRECATED with ABSL_DEPRECATED 2021-02-22 12:53:23 +00:00
test Support native scaling of VideoFrameBuffers in LibvpxVp8Encoder. 2021-03-23 09:08:58 +00:00
default_temporal_layers_unittest.cc In Vp8 temporal layering fix generic info at non-first key frame 2020-02-25 10:47:49 +00:00
default_temporal_layers.cc Optimize VP8 DefaultTemporalLayers by reducing set/map usage 2021-04-07 13:02:25 +00:00
default_temporal_layers.h Optimize VP8 DefaultTemporalLayers by reducing set/map usage 2021-04-07 13:02:25 +00:00
libvpx_vp8_decoder.cc Set new defaults for vp8 decoder deblocking params 2021-05-05 11:04:30 +00:00
libvpx_vp8_decoder.h Set new defaults for vp8 decoder deblocking params 2021-05-05 11:04:30 +00:00
libvpx_vp8_encoder.cc [LibvpxVp8Encoder] Don't DCHECK crash if I420 is not equal to I420A. 2021-05-19 08:48:46 +00:00
libvpx_vp8_encoder.h Support native scaling of VideoFrameBuffers in LibvpxVp8Encoder. 2021-03-23 09:08:58 +00:00
libvpx_vp8_simulcast_test.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
screenshare_layers_unittest.cc Use newer version of TimeDelta and TimeStamp factories in modules/ 2020-02-10 11:49:57 +00:00
screenshare_layers.cc Embed FrameDependencyTemplate builder helpers directly into the struct 2020-06-11 13:43:51 +00:00
screenshare_layers.h Embed FrameDependencyTemplate builder helpers directly into the struct 2020-06-11 13:43:51 +00:00
temporal_layers_checker.cc Introduce RTC_CHECK_NOTREACHED(), an always-checking RTC_NOTREACHED() 2020-11-09 10:47:55 +00:00
temporal_layers.h Move TemporalLayers to api/video_codecs. 2018-10-12 09:15:21 +00:00