Skip to content

VA: encoder: Fix latent segment fault for error handling.

He Junyan requested to merge He_Junyan/gstreamer:fix_va_h264_enc_error into main

Find two minor latent problems when handing the encoder error.

Use

gst-launch-1.0 -vf videotestsrc num-buffers=100 ! video/x-raw,format=NV12,width=200,height=100 ! vah264enc rate-control=cbr key-int-max=256 target-usage=1 num-slices=1 b-frames=1 bitrate=1000 ref-frames=2 b-pyramid=0 mbbrc=2 ! filesink location=va2k.h264

will show this.

Merge request reports