Commit 67876e77 authored by Sebastien Alaiwan's avatar Sebastien Alaiwan
Browse files

Coding path sync test: clarify comment

Change-Id: Ib40f6be7d86704d5a5dd4f5bc7dd7331f18894df
parent 439b21c2
......@@ -149,17 +149,16 @@ TEST(CodingPathSync, SearchForHbdLbdMismatch) {
CompressedSource enc(i);
const aom_codec_cx_pkt_t *frame = enc.ReadFrame();
// disable the comparison for now.
// Re-enable it locally to help diagnosing LBD/HBD mismatches,
// and re-enable for everybody when both coding paths match,
std::vector<int16_t> lbd_yuv = dec_lbd.decode(frame);
std::vector<int16_t> hbd_yuv = dec_hbd.decode(frame);
// TODO(aomedia:39): re-enable the comparison when both coding paths match,
// so they don't diverge anymore.
// Until then, keep doing the decoding to prevent crashes from creeping in,
// making this test harder to re-enable.
if (0) {
ASSERT_EQ(dec_lbd.decode(frame), dec_hbd.decode(frame));
} else {
// until the comparison is re-enabled, keep doing the decoding,
// as it still detects decoder crashes (Issue 677)
ASSERT_EQ(lbd_yuv, hbd_yuv);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment