macos: fix media playback
Merged
requested to merge umxprime/vlc:umxprime/4.x/gui/macos/fix-media-playback-after-stop/mr into master
Given playback was stopped, many issues happened when the playback was resumed from the main controls bar.
The media time/progress slider wasn't visible anymore and app crashed unexpectdly when picture in picture was activated.
This was caused by the _currentMedia
var that was set to nil
when playback is stopped but never reassigned when playback was
resumed.
This change will reassign the var with the current played back input
item from the vlc player when the currentMedia
getter is called.
Merge request reports
Activity
Filter activity
Please register or sign in to reply