[vlc-devel] libvlc_input_get_length crashes

Pierre d'Herbemont pdherbemont at free.fr
Fri Jan 11 21:28:55 CET 2008


Hi Amaresh,

The playlist_* function tends to become unsupported. Please try to use  
the media_instance+media_descriptor.

Tell me if you have any other special problem with libvlc, I'll be  
happy to fix.

Pierre.

PS: could you provide a backtrace of the crash?

On Jan 10, 2008, at 10:15 PM, Amaresh Ram wrote:

>
> Hi,
>
> 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);
> 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




More information about the vlc-devel mailing list