[vlc-devel] Re: [PATCH] vout_ShowTextAbsolute returns subpicture_t *

Andre Pang ozone at algorithm.com.au
Tue Mar 30 14:50:52 CEST 2004


On 30/03/2004, at 5:06 PM, Sigmund Augdal wrote:

>> Perhaps instead of returning a subpicture_t *, vout_ShowTextAbsolute
>> can return a bool (VLC_TRUE if displayed successfully; VLC_FALSE if
>> not), or an int (0 == success, not 0 == failure; the usual C
>> convention).
>
> I think you should return VLC_SUCCESS on success and VLC_E<something>  
> on
> failure.

Good idea.  I've changed the patch on the website so it now does this:

http://www.algorithm.com.au/files/hacking/vlc/ 
vout_STA_returns_subpicture_t.diff

Please apply if it's OK now.


-- 
% Andre Pang : trust.in.love.to.save

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list