LibVLC: libvlc_media_new_path never returns NULL
Posted: 07 Jun 2016 21:08
Hi all,
I just started getting into LibVlc.
I've just downloaded the latest Vlc for Windows.
For my sample code, I mostly use libvlc_media_new_path function to specify local video file.
But, I just tried to pass an unexisting path in parameter....and it doesn't return NULL.
Furthermore,libvlc_media_get_state returns NothingSpecial...
Humm...Did I forget something ? Or should I check the validity of the media with another function ?
Thanks for your feedback.
Z.
I just started getting into LibVlc.
I've just downloaded the latest Vlc for Windows.
For my sample code, I mostly use libvlc_media_new_path function to specify local video file.
But, I just tried to pass an unexisting path in parameter....and it doesn't return NULL.
Furthermore,libvlc_media_get_state returns NothingSpecial...
Humm...Did I forget something ? Or should I check the validity of the media with another function ?
Thanks for your feedback.
Z.