start with default filters

This commit is contained in:
jb-alvarado 2022-02-18 17:08:13 +01:00
parent 0bcbadbdd0
commit 7e1ca7b315

10
src/filter/mod.rs Normal file
View 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"
}
""
}