[vlc-commits] src: revert spu-delay back to default

Ilkka Ollakka git at videolan.org
Thu Jul 17 11:31:39 CEST 2014


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Jul 17 12:29:49 2014 +0300| [3695fd660829b9e8d51a021303fb0af1606e903e] | committer: Ilkka Ollakka

src: revert spu-delay back to default

revert mistake in commit 78db874b43077654309f32c63922958ecf43ff3e

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

 src/input/input.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/input.c b/src/input/input.c
index be6780e..87bbfe8 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -975,7 +975,7 @@ static void LoadSubtitles( input_thread_t *p_input )
 
     const int i_delay = var_CreateGetInteger( p_input, "sub-delay" );
     if( i_delay != 0 )
-        var_SetTime( p_input, "spu-delay", (mtime_t)i_delay * CLOCK_FREQ );
+        var_SetTime( p_input, "spu-delay", (mtime_t)i_delay * 100000 );
 
     /* Look for and add subtitle files */
     unsigned i_flags = SUB_FORCED;



More information about the vlc-commits mailing list