[vlc-commits] macosx: set integers as integers

Steve Lhomme git at videolan.org
Tue Jul 3 16:28:21 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jul  3 15:49:53 2018 +0200| [135024b7a0d63c2f7210e73bbed83d3203716902] | committer: Marvin Scholz

macosx: set integers as integers

Signed-off-by: Marvin Scholz <epirat07 at gmail.com>

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

 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 2c6686756a..562715ee6f 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);



More information about the vlc-commits mailing list