Commit 4cb81ae9c2b726c0064d95beb58ab8f2ea24f1a5
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,7 +31,7 @@ class StaticController < ApplicationController | ||
31 | end | 31 | end |
32 | 32 | ||
33 | if @presenter.subtitle.closed_caption == 1 || @presenter.subtitle.closed_caption == 3 | 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 | else | 35 | else |
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 &" | 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 | end | 37 | end |