Commit 4cb81ae9c2b726c0064d95beb58ab8f2ea24f1a5

Authored by Fernando Brito
Committed by gtaaas
1 parent 4cc67fd3
Exists in devel

Retira chamada do serviço 1 ao core (closed-caption)

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/static_controller.rb
... ... @@ -31,7 +31,7 @@ class StaticController < ApplicationController
31 31 end
32 32  
33 33 if @presenter.subtitle.closed_caption == 1 || @presenter.subtitle.closed_caption == 3
34   - 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 &"
  34 + 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 &"
35 35 else
36 36 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 &"
37 37 end
... ...