[vlc-devel] [PATCH] macosx: set integers as integers

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 3 15:49:53 CEST 2018


---
 modules/gui/macosx/VLCTrackSynchronizationWindowController.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/VLCTrackSynchronizationWindowController.m b/modules/gui/macosx/VLCTrackSynchronizationWindowController.m
index bf822fd64a..4a141e4821 100644
--- a/modules/gui/macosx/VLCTrackSynchronizationWindowController.m
+++ b/modules/gui/macosx/VLCTrackSynchronizationWindowController.m
@@ -118,8 +118,8 @@
     input_thread_t * p_input = pl_CurrentInput(getIntf());
 
     if (p_input) {
-        var_SetInteger(p_input, "audio-delay", 0.0);
-        var_SetInteger(p_input, "spu-delay", 0.0);
+        var_SetInteger(p_input, "audio-delay", 0);
+        var_SetInteger(p_input, "spu-delay", 0);
         var_SetFloat(p_input, "sub-fps", 1.0);
         [self svDurationValueChanged:nil];
         vlc_object_release(p_input);
-- 
2.17.0



More information about the vlc-devel mailing list