From 4cb81ae9c2b726c0064d95beb58ab8f2ea24f1a5 Mon Sep 17 00:00:00 2001 From: Fernando Brito Date: Fri, 2 May 2014 07:51:15 -0300 Subject: [PATCH] Retira chamada do serviço 1 ao core (closed-caption) --- app/controllers/static_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index c0ba255..4d2333b 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -31,7 +31,7 @@ class StaticController < ApplicationController end if @presenter.subtitle.closed_caption == 1 || @presenter.subtitle.closed_caption == 3 - cmd = "../vlibras-core/./vlibras #{@presenter.subtitle.closed_caption} public#{@presenter.subtitle.url} 1 #{@presenter.subtitle.window_position} #{@presenter.subtitle.window_size} #{@presenter.subtitle.transparency} #{@presenter.subtitle.id} >> /tmp/log_core 2>&1 &" + cmd = "../vlibras-core/./vlibras 3 public#{@presenter.subtitle.url} 1 #{@presenter.subtitle.window_position} #{@presenter.subtitle.window_size} #{@presenter.subtitle.transparency} #{@presenter.subtitle.id} >> /tmp/log_core 2>&1 &" else cmd = "../vlibras-core/./vlibras 2 public#{@presenter.subtitle.url} public#{@presenter.subtitle.legend} 1 #{@presenter.subtitle.window_position} #{@presenter.subtitle.window_size} #{@presenter.subtitle.transparency} #{@presenter.subtitle.id} >> /tmp/log_core 2>&1 &" end -- libgit2 0.21.2