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;
2
1
mod framerate;
2
+ mod processor;
3
3
4
- pub use capture:: * ;
5
4
pub 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<()> {
81
81
let frame_drop_strategy = args
82
82
. is_present ( "natural-mode" )
83
83
. then ( || FrameDropStrategy :: DoNotDropAny )
84
- . unwrap_or_else ( || FrameDropStrategy :: DropIdenticalFrames ) ;
84
+ . unwrap_or ( FrameDropStrategy :: DropIdenticalFrames ) ;
85
85
let should_generate_gif = !args. is_present ( "video-only" ) ;
86
86
let should_generate_video = args. is_present ( "video" ) || args. is_present ( "video-only" ) ;
87
87
let ( start_delay, end_delay) = (
@@ -92,7 +92,7 @@ fn main() -> Result<()> {
92
92
. value_of ( "framerate" )
93
93
. unwrap ( )
94
94
. parse :: < u32 > ( )
95
- . map ( |f| Framerate :: new ( f ) )
95
+ . map ( Framerate :: new)
96
96
. context ( "Invalid value for framerate" ) ?;
97
97
98
98
if should_generate_gif {
You can’t perform that action at this time.
0 commit comments