fraebase used pthread API and move ff_hevc_output_frame