Skip to content

Commit

Permalink
Set frame rate here.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jul 24, 2024
1 parent 9268708 commit 3d7ccd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion av/av.ml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ let new_video_stream ?opts ?frame_rate ?hardware_context ~pixel_format ~width
(mk_opts_array opts)
in
filter_opts unused opts;
mk_stream container ret
let s = mk_stream container ret in
set_avg_frame_rate s frame_rate;
s

external new_subtitle_stream :
_ container ->
Expand Down

0 comments on commit 3d7ccd2

Please sign in to comment.