Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Introduce execution specific log levels #495

Closed
tanersener opened this issue Jul 20, 2020 · 2 comments
Closed

Introduce execution specific log levels #495

tanersener opened this issue Jul 20, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request fixed

Comments

@tanersener
Copy link
Owner

Log level in ffmpeg is defined by static int av_log_level field in libavutil/log.c file. This field is shared by all threads accessing libavxxx libraries. When there are multiple executions setting the log level, the value of this field is overwritten by the last execution started, which means the previous executions can not effectively specify a log level.

This behaviour does not cause any trouble when executing similar commands. It can be noticed when an ffmpeg command is executed at the same time with getMediaInformation method.

@tanersener tanersener added the enhancement New feature or request label Jul 20, 2020
@tanersener tanersener self-assigned this Jul 20, 2020
@tanersener
Copy link
Owner Author

tanersener commented Jul 21, 2020

Fixed in the development branch.

@tanersener
Copy link
Owner Author

tanersener commented Jul 29, 2020

Released in v4.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

1 participant