Skip to content

Commit

Permalink
fix: wrong parameters order for read_output
Browse files Browse the repository at this point in the history
  • Loading branch information
azimut committed Apr 28, 2024
1 parent b379835 commit 474e26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ let () =
(["-nostdin"; "-hide_banner"; "-stats"; "-progress"; "-"] @ args)
~stdout:"/dev/stdout" ~stderr:"/dev/stdout"
in
read_output chan (get_param "-ss" args) (get_param "-t" args) ;
read_output chan (get_param "-t" args) (get_param "-ss" args) ;
match Unix.close_process_in chan with
| Unix.WEXITED 0 -> ()
| Unix.WEXITED n ->
Expand Down

0 comments on commit 474e26a

Please sign in to comment.