core: libvlc: Let the medialibrary outlive the playlist
commitf9a332abe7f88061e8c64e58a22def3c0eb092d5
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Tue, 30 Jul 2019 14:31:34 +0000 (30 16:31 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Tue, 24 Sep 2019 12:12:03 +0000 (24 14:12 +0200)
tree6dc6e03f6d9618464db6c0545cc2ec7f97920e76
parentf4c8acd04c288f1558db76f1d79f7ee615eee460
core: libvlc: Let the medialibrary outlive the playlist

As we will save the playback states in the media library from the
player, we need to ensure the media library is still available when
doing so.
Since the last save can occur while destroying the player and it's
associated input, we need the media library to be destroyed after the
player, and therefor the playlist.
src/libvlc.c