From e6c7dc4bf526e9167a5c6b8f4ada2fb2d3a5f65a Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Wed, 19 Sep 2018 17:09:59 -0400 Subject: [PATCH] Cargo.toml: add feature ffmpeg4 and mark as default --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 57d5f11..fd71cce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,9 @@ repository = "https://github.com/meh/rust-ffmpeg" keywords = ["audio", "video"] [features] -default = ["codec", "device", "filter", "format", "resampling", "software-resampling", "software-scaling"] +default = ["ffmpeg4", "codec", "device", "filter", "format", "resampling", "software-resampling", "software-scaling"] + +ffmpeg4 = [] static = ["ffmpeg-sys/static"] build = ["static", "ffmpeg-sys/build"]