MKV/mp4 videos are sometimes freezing player on close and making them to force-close
As reported here: https://gitlab.xfce.org/apps/parole/-/issues/118#note_65748
We tested mkv and some mp4 videos in Parole (xfce4 player). Videos are played, but when trying to close the player it hangs and offers force-close.
We first thought it was Parole's bug, but turned out it wasn't.
To quote their maintainer:
I can indeed reproduce the problem now, thanks for the link. But I'm afraid it's not fixable at our level: it's blocking at the gst_element_set_state()
call for a NULL
state, which refers to quite a few upstream issues evoking deadlocks: https://gitlab.freedesktop.org/groups/gstreamer/-/issues/?search=gst_element_set_state&sort=created_date&state=opened&first_page_size=20
Also, my findings is that once the mkv video has been played enough (like 2/3 of its length or in its entirety), the player can be closed regularly. The same applies once the video ended - no problems.
Arch Linux, xfce4, Gstreamer - latest official versions for everything.