]> git.sesse.net Git - vlc/commitdiff
live555 : really toggle tcp in case of unsupported transport.
authorSébastien Escudier <sebastien-devel@celeos.eu>
Fri, 4 Mar 2011 09:15:21 +0000 (10:15 +0100)
committerSébastien Escudier <sebastien-devel@celeos.eu>
Fri, 4 Mar 2011 09:17:00 +0000 (10:17 +0100)
Broken since d14e0b78f9e0c9dc44f472fd67b394a233560488

modules/demux/live555.cpp

index 2db3a113d456928dee42d30b74a10bfcff9d7558..723a02df678110c5722cb7856d0a5c86689cdb16 100644 (file)
@@ -783,7 +783,7 @@ static int SessionsSetup( demux_t *p_demux )
                      * use and try again */
                     if( p_sys->i_live555_ret == 461 )
                         p_sys->rtsp->sendSetupCommand( *sub, default_live555_callback, False,
-                                                       toBool( b_rtsp_tcp ), False );
+                                                       !toBool( b_rtsp_tcp ), False );
                     if( p_sys->i_live555_ret != 461 || !wait_Live555_response( p_demux ) )
                     {
                         msg_Err( p_demux, "SETUP of'%s/%s' failed %s",