We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ed7b7b commit 6e56c1dCopy full SHA for 6e56c1d
Cargo.toml
@@ -7,7 +7,7 @@ repository = "https://github.com/insight-platform/FFmpeg-Input"
7
readme = "README.md"
8
keywords = ["FFmpeg", "Video"]
9
categories = ["computer-vision"]
10
-version = "0.1.20"
+version = "0.1.21"
11
edition = "2021"
12
license="Apache-2.0"
13
rust-version = "1.62"
src/lib.rs
@@ -428,7 +428,7 @@ impl FFMpegSource {
428
#[pymodule]
429
#[pyo3(name = "ffmpeg_input")]
430
fn ffmpeg_input(_py: Python, m: &PyModule) -> PyResult<()> {
431
- _ = env_logger::try_init().map_err(|e| {
+ _ = env_logger::try_init_from_env("LOGLEVEL").map_err(|e| {
432
log::warn!("Unable to initialize logger. Error is: {:?}", e);
433
});
434
m.add_class::<VideoFrameEnvelope>()?;
0 commit comments