[vlc-devel] Directory access module trapped
Pierre d'Herbemont
pdherbemont at free.fr
Mon Oct 8 12:13:17 CEST 2007
What about telling stream.c about VLC_ENOOBJ?
Pierre.
On Oct 6, 2007, at 12:20 AM, Enrique Osuna wrote:
> Index: modules/access/directory.c
> ===================================================================
> --- modules/access/directory.c (revision 22426)
> +++ modules/access/directory.c (working copy)
> @@ -202,7 +202,8 @@
> {
> msg_Err( p_access, "unable to find input (internal error)" );
> vlc_object_release( p_playlist );
> - return VLC_ENOOBJ;
> + //return VLC_ENOOBJ;
> + return 0; // stream.c doesn't understand VLC_ENOOBJ
> }
>
> p_current_input = input_GetItem( p_input );
> @@ -213,7 +214,8 @@
> msg_Err( p_access, "unable to find item in playlist" );
> vlc_object_release( p_input );
> vlc_object_release( p_playlist );
> - return VLC_ENOOBJ;
> + //return VLC_ENOOBJ;
> + return 0; // stream.c doesn't understand VLC_ENOOBJ
> }
>
> /* Remove the ending '/' char */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071008/07083280/attachment.html>
More information about the vlc-devel
mailing list