From 416c078d69fb82ad3330a1d343ee43e307416a46 Mon Sep 17 00:00:00 2001 From: Fernando Brito Date: Mon, 13 Oct 2014 19:43:13 -0300 Subject: [PATCH] Testando alteração na chamada ao core --- endpoints/video_legenda.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/video_legenda.js b/endpoints/video_legenda.js index 089ebd9..bbca5cf 100644 --- a/endpoints/video_legenda.js +++ b/endpoints/video_legenda.js @@ -99,7 +99,7 @@ function callCore(id, video, subtitle, req, res) { /* Cria a linha de comando */ var command_line = 'vlibras_user/vlibras-core/./vlibras ' + parameters.getServiceType(req.body.servico) + ' ' + - video.path + ' ' + subtitle.path + ' ' + parameters.getLanguage(req.body.linguagem) + + video.path.slice(2) + ' ' + subtitle.path.slice(2) + ' ' + parameters.getLanguage(req.body.linguagem) + ' ' + parameters.getPosition(req.body.posicao) + ' ' + parameters.getSize(req.body.tamanho) + ' ' + parameters.getTransparency(req.body.transparencia) + ' ' + id + ' > /tmp/core_log 2>&1'; -- libgit2 0.21.2