[vlc-devel] libvlc_input_get_length crashes
Rafaël Carré
funman at videolan.org
Sat Jan 12 15:26:49 CET 2008
Le Fri, 11 Jan 2008 02:45:06 +0530,
Amaresh Ram <Amaresh.Ram at lntinfotech.com> a écrit :
>
> Hi,
>
> I am trying to get the length of the video clip using
> libvlc_input_get_length but it crashes.
Do you happen to have a backtrace ? With a full testcase would be
perfect ;)
> 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);
> libvlc_input_free(p_input);
>
> /***************************************/
>
> 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.
>
> regards/amaresh
>
>
> ______________________________________________________________________
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080112/57260e94/attachment.sig>
More information about the vlc-devel
mailing list