Merge pull request #148 from jb-alvarado/master
fix regex on ffmpeg filter match
This commit is contained in:
commit
03738079f9
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -1009,7 +1009,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ffplayout"
|
name = "ffplayout"
|
||||||
version = "0.10.2"
|
version = "0.10.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"crossbeam-channel 0.5.5",
|
"crossbeam-channel 0.5.5",
|
||||||
@ -1056,7 +1056,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ffplayout-lib"
|
name = "ffplayout-lib"
|
||||||
version = "0.10.2"
|
version = "0.10.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono 0.4.20-beta.1",
|
"chrono 0.4.20-beta.1",
|
||||||
"crossbeam-channel 0.5.5",
|
"crossbeam-channel 0.5.5",
|
||||||
|
@ -4,7 +4,7 @@ description = "24/7 playout based on rust and ffmpeg"
|
|||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
authors = ["Jonathan Baecker jonbae77@gmail.com"]
|
authors = ["Jonathan Baecker jonbae77@gmail.com"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
version = "0.10.2"
|
version = "0.10.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -4,7 +4,7 @@ description = "Library for ffplayout"
|
|||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
authors = ["Jonathan Baecker jonbae77@gmail.com"]
|
authors = ["Jonathan Baecker jonbae77@gmail.com"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
version = "0.10.2"
|
version = "0.10.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -561,7 +561,7 @@ fn ffmpeg_libs_and_filter() -> (Vec<String>, Vec<String>) {
|
|||||||
let mut filters: Vec<String> = vec![];
|
let mut filters: Vec<String> = vec![];
|
||||||
|
|
||||||
// filter lines which contains filter
|
// filter lines which contains filter
|
||||||
let re: Regex = Regex::new(r"^( ?) [TSC.]+").unwrap();
|
let re: Regex = Regex::new(r"^ ?[TSC.]+").unwrap();
|
||||||
|
|
||||||
let mut ff_proc = match Command::new("ffmpeg")
|
let mut ff_proc = match Command::new("ffmpeg")
|
||||||
.arg("-filters")
|
.arg("-filters")
|
||||||
|
Loading…
Reference in New Issue
Block a user