]> Some of my projects - aniplayer.git/commit
Fix startup and play state handling
authorAPTX <marek321@gmail.com>
Sun, 9 Oct 2022 03:17:07 +0000 (12:17 +0900)
committerAPTX <marek321@gmail.com>
Sun, 9 Oct 2022 03:17:07 +0000 (12:17 +0900)
commitf044202c9edb65e3c65fe99a1fa66ede719b4442
treee49c4de30a1c15f8d9cfec212376403b35ea22bd
parent60c2abd08a96d93ea1759d59f7041fc1140b41dc
Fix startup and play state handling

Sometimes property events can arrive without data (maybe because the property is "unset"?).
Due to this an assert to check if data is null can be used.

The property to check if playback is paused is "pause" not "paused".
There is no "pause" property. Its uses have been removed and replced
with the "paused" property.
backendplugins/backend_mpv/backendmpv.cpp
backendplugins/backend_mpv/mpvhelper.h