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.<br><br>Enrique<br><br><div><span class="gmail_quote">On 10/8/07, <b class="gmail_sendername">
Pierre d'Herbemont</b> <<a href="mailto:pdherbemont@free.fr">pdherbemont@free.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">
What about telling stream.c about VLC_ENOOBJ?<div><br></div><div>Pierre.<br><div><br><div><div>On Oct 6, 2007, at 12:20 AM, Enrique Osuna wrote:</div><br><blockquote type="cite"><div style="margin: 0px;"><span>Index: modules/access/directory.c
</span></div><div style="margin: 0px; min-height: 14px;"><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
===================================================================</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
--- modules/access/directory.c<span style="white-space: pre;"> </span>(revision 22426)</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
+++ modules/access/directory.c<span style="white-space: pre;"> </span>(working copy)</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
@@ -202,7 +202,8 @@</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
{</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
msg_Err( p_access, "unable to find input (internal error)" );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
vlc_object_release( p_playlist );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
- return VLC_ENOOBJ;</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
+ //return VLC_ENOOBJ;</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
+<span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>return 0;<span style="white-space: pre;"> </span>// stream.c doesn't understand VLC_ENOOBJ</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
}</font></div><p style="margin: 0px; min-height: 14px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
</font><br></p><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
p_current_input = input_GetItem( p_input );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
@@ -213,7 +214,8 @@</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
msg_Err( p_access, "unable to find item in playlist" );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
vlc_object_release( p_input );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
vlc_object_release( p_playlist );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
- return VLC_ENOOBJ;</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
+ //return VLC_ENOOBJ;</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
+<span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>return 0;<span style="white-space: pre;"> </span>// stream.c doesn't understand VLC_ENOOBJ</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
}</font></div><p style="margin: 0px; min-height: 14px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
</font><br></p><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="2">
/* Remove the ending '/' char */</font></div></div></blockquote></div></div></div></div><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br><br></blockquote></div><br>