[vlc-commits] shout: turn the hardcoded retry delay into a CLOCK_FREQ based value

Steve Lhomme git at videolan.org
Tue Sep 18 17:07:29 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep 18 16:54:47 2018 +0200| [eb1c4dc09b5b957e395dcf1d0ddc761160375a97] | committer: Steve Lhomme

shout: turn the hardcoded retry delay into a CLOCK_FREQ based value

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

 modules/access_output/shout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access_output/shout.c b/modules/access_output/shout.c
index a5d025e369..d9f8694bdc 100644
--- a/modules/access_output/shout.c
+++ b/modules/access_output/shout.c
@@ -367,7 +367,7 @@ static int Open( vlc_object_t *p_this )
         if ( i_ret != SHOUTERR_CONNECTED )
         {
             msg_Warn( p_access, "unable to establish connection, retrying..." );
-            vlc_tick_sleep( 30000000 );
+            vlc_tick_sleep( VLC_TICK_FROM_SEC(30) );
         }
     }
 



More information about the vlc-commits mailing list