File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- mod capture;
21mod framerate;
2+ mod processor;
33
4- pub use capture:: * ;
54pub use framerate:: * ;
5+ pub use processor:: * ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fn main() -> Result<()> {
8181 let frame_drop_strategy = args
8282 . is_present ( "natural-mode" )
8383 . then ( || FrameDropStrategy :: DoNotDropAny )
84- . unwrap_or_else ( || FrameDropStrategy :: DropIdenticalFrames ) ;
84+ . unwrap_or ( FrameDropStrategy :: DropIdenticalFrames ) ;
8585 let should_generate_gif = !args. is_present ( "video-only" ) ;
8686 let should_generate_video = args. is_present ( "video" ) || args. is_present ( "video-only" ) ;
8787 let ( start_delay, end_delay) = (
@@ -92,7 +92,7 @@ fn main() -> Result<()> {
9292 . value_of ( "framerate" )
9393 . unwrap ( )
9494 . parse :: < u32 > ( )
95- . map ( |f| Framerate :: new ( f ) )
95+ . map ( Framerate :: new)
9696 . context ( "Invalid value for framerate" ) ?;
9797
9898 if should_generate_gif {
You can’t perform that action at this time.
0 commit comments