start with default filters
This commit is contained in:
parent
0bcbadbdd0
commit
7e1ca7b315
10
src/filter/mod.rs
Normal file
10
src/filter/mod.rs
Normal file
@ -0,0 +1,10 @@
|
||||
use crate::utils::MediaProbe;
|
||||
|
||||
fn deinterlace(probe: MediaProbe) -> String {
|
||||
if probe.video_streams.unwrap()[0].field_order.is_some()
|
||||
&& probe.video_streams.unwrap()[0].field_order.unwrap() != "progressive".to_string() {
|
||||
"yadif=0:-1:0"
|
||||
}
|
||||
|
||||
""
|
||||
}
|
Loading…
Reference in New Issue
Block a user