libvlc_instance_t *vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
- libvlc_media_t *md = libvlc_media_new (vlc, file);
+ libvlc_media_t *md = libvlc_media_new_path (vlc, file);
assert (md != NULL);
libvlc_media_player_t *mp = libvlc_media_player_new (vlc);
vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
- md = libvlc_media_new (vlc, file);
+ md = libvlc_media_new_path (vlc, file);
assert (md != NULL);
mi = libvlc_media_player_new_from_media (md);
vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
- md = libvlc_media_new (vlc, file);
+ md = libvlc_media_new_path (vlc, file);
assert (md != NULL);
mi = libvlc_media_player_new_from_media (md);