Skip to content

lib: mediaplayer: fix API behavior regression

Martin Finkel requested to merge mfkl/vlc:libvlc-mediaplayer-crashfix into master

In LibVLC 3, passing a NULL media to libvlc_media_player_set_media was explicitly supported.

In LibVLC 4, it currently crashes. This tiny change aims to re-align the behavior with liblvc 3.

Fixes vlc-unity#123 (closed)

Merge request reports