vaapi: Regression HEVC decode conformance regression (SLIST_C_Sony_4 and SLIST_C_Sony_3)
!2575 (merged) breaks vaapih265dec Allegro compliance bitstream decoding (https://www.allegrodvt.com/). Also breaks ITU-T SLIST_C_Sony_4 and SLIST_C_Sony_3 conformance vector. Decoding succeeds but the output is wrong.
gst-launch-1.0 -vf filesrc \
location=ITU-T-Conformance/HEVC/HEVC_v1/SLIST_C_Sony_4/SLIST_C_Sony_4/SLIST_C_Sony_4.bin \
! h265parse ! vaapih265dec ! videoconvert chroma-mode=none dither=0 \
! video/x-raw,format=I420 ! checksumsink2 qos=false file-checksum=false \
frame-checksum=false plane-checksum=false eos-after=65 dump-output=true \
dump-location=SLIST_C_Sony_4_832x480_I420.yuv
[2022-07-26 13:56:53] Setting pipeline to PAUSED ...
[2022-07-26 13:56:53] Pipeline is PREROLLING ...
[2022-07-26 13:56:53] Got context from element 'vaapidecode_h265-0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
[2022-07-26 13:56:53] Got context from element 'vaapidecode_h265-0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0", gst.vaapi.Display.GObject=(GstObject)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0";
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:src: caps = video/x-h265, width=(int)832, height=(int)480, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)hvc1, alignment=(string)au, profile=(string)main, tier=(string)main, level=(string)4, codec_data=(buffer)01016000000000000000000078f000fcfdf8f800000f03200001001940010c01ffff01600000030000030000030000030078949024210001003042010101600000030000030000030000030078a0068201e1fe59499246e830b11552626197d9f5e6fcb3ebc288c4e5d922000100074401c1a5581120
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstVaapiDecode_h265:vaapidecode_h265-0.GstPad:sink: caps = video/x-h265, width=(int)832, height=(int)480, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true, stream-format=(string)hvc1, alignment=(string)au, profile=(string)main, tier=(string)main, level=(string)4, codec_data=(buffer)01016000000000000000000078f000fcfdf8f800000f03200001001940010c01ffff01600000030000030000030000030078949024210001003042010101600000030000030000030000030078a0068201e1fe59499246e830b11552626197d9f5e6fcb3ebc288c4e5d922000100074401c1a5581120
[2022-07-26 13:56:53] Redistribute latency...
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstVaapiDecode_h265:vaapidecode_h265-0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)832, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)832, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, format=(string)I420
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)832, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, format=(string)I420
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstCksumImageSink:cksumimagesink0.GstPad:sink: caps = video/x-raw, width=(int)832, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, format=(string)I420
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)832, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1, format=(string)I420
[2022-07-26 13:56:53] /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)832, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)0/1
[2022-07-26 13:56:53] Pipeline is PREROLLED ...
[2022-07-26 13:56:53] Setting pipeline to PLAYING ...
[2022-07-26 13:56:53] Redistribute latency...
[2022-07-26 13:56:53] New clock: GstSystemClock
[2022-07-26 13:56:53] Got EOS from element "pipeline0".
[2022-07-26 13:56:53] Execution ended after 0:00:00.065826737
[2022-07-26 13:56:53] Setting pipeline to NULL ...
[2022-07-26 13:56:53] Freeing pipeline ...
[2022-07-26 13:56:53] DETAIL: time(gst-decode:1) = 0.2508s
[2022-07-26 13:56:53] DETAIL: time(md5:1) = 0.0579s
[2022-07-26 13:56:53] DETAIL: md5:expect = 61024c25cbd60e9bf86dbe3bc5b9b48b
[2022-07-26 13:56:53] DETAIL: md5:actual = 11bb559fb7041db8455bd29f0a4af0e6