]> git.sesse.net Git - vlc/blobdiff - modules/access/tcp.c
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / access / tcp.c
index 3f33b9b1d76820b89b9212d424893f3b868d73b0..7b111f0ca055c7d77c1d4450cf569626e1e91365 100644 (file)
@@ -187,7 +187,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
 
         case ACCESS_GET_PTS_DELAY:
             pi_64 = (int64_t*)va_arg( args, int64_t * );
-            *pi_64 = (int64_t)var_GetInteger( p_access, "tcp-caching" ) * INT64_C(1000);
+            *pi_64 = var_GetInteger( p_access, "tcp-caching" ) * INT64_C(1000);
             break;
 
         /* */