[vlc-devel] Directory access module trapped
    Enrique Osuna 
    enrique.osuna at gmail.com
       
    Mon Oct  8 19:40:14 CEST 2007
    
    
  
I was thinking about doing that, however, my fear was what other modules
would it break?  Each access module is not consist with it's return results.
Enrique
On 10/8/07, Pierre d'Herbemont <pdherbemont at free.fr> wrote:
>
> 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 */
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071008/2d165aed/attachment.html>
    
    
More information about the vlc-devel
mailing list