[vlc-devel] commit: shout output: if the connection cannot be restored, return with VLC_EGNERIC from Write() (Derk-Jan Hartman )

git version control git at videolan.org
Mon Jul 28 15:16:36 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Mon Jul 28 15:11:16 2008 +0200| [6ed413b1f924cf474a74e631830bc7aab92a59af]

shout output: if the connection cannot be restored, return with VLC_EGNERIC from Write()

This should fix #1167

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6ed413b1f924cf474a74e631830bc7aab92a59af
---

 modules/access_output/shout.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/access_output/shout.c b/modules/access_output/shout.c
index 58171af..b00d17e 100644
--- a/modules/access_output/shout.c
+++ b/modules/access_output/shout.c
@@ -527,6 +527,7 @@ static ssize_t Write( sout_access_out_t *p_access, block_t *p_buffer )
             else
             {
                 msg_Err( p_access, "failed to reconnect to server" );
+                return VLC_EGENERIC;
             }
 
         }




More information about the vlc-devel mailing list