vaapisink: pipeline get aborted with two thread pipeline execute in gst-launch-1.0
The pipeline get aborted after execute gst-pipeline. It only able to reproduce if using vaapisink plugins. Tested with fakesink / glimagesink does not seeing this issue.
Expected Behavior
It should be able finish playing video and exit without any issue.
Observed Behavior
It immediately showing this error: Pipeline is PREROLLED ... Setting pipeline to PLAYING ... Redistribute latency... New clock: GstSystemClock malloc(): unaligned tcache chunk detected Aborted
Setup
- Operating System: Ubuntu, Yocto
- GStreamer Version: 1.19.2 or latest main branch (commit id: d867180b)
- Media Stack Q3'2021 release - iHD driver, libva 2.13.0 version.
- Command line:
gst-launch-1.0
filesrc location=remote_1080_8bit_3mbps_noB.265 ! h265parse ! vaapih265dec ! vaapisink
filesrc location=remote_1080_8bit_3mbps_noB.265 ! h265parse ! vaapih265dec ! vaapisink
filesrc location=remote_1080_8bit_3mbps_noB.265 ! h265parse ! vaapih265dec ! vaapisink
Steps to reproduce the bug
- open terminal
- Run command above gst-pipeline
How reproducible is the bug?
The issue is always easy to reproduce with command provided.
Additional Information
Last test passing before 1.19.2 upgrade: gstreamer-vaapi commit id: ac51e419