[vlc-devel] libvlc_input_get_length crashes

Amaresh Ram Amaresh.Ram at lntinfotech.com
Thu Jan 10 22:15:06 CET 2008


I am trying to get the length of the video clip using
libvlc_input_get_length but it crashes.
I am using the API as follows:

double inputLength;
libvlc_input_t *p_input;

p_input = libvlc_playlist_get_input(mp_libvlc , NULL);
inputLength = libvlc_input_get_length( p_input , NULL);


Please let me know what is the problem in the call? The code works
perfectly if I hardcode inputLength inplace of libvlc_input_get_length
function call.



More information about the vlc-devel mailing list