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