mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Set ffmpeg log level to ERROR
This commit is contained in:
parent
29352bbbe2
commit
f587af8c56
@ -518,7 +518,10 @@ wav_header_for_pcm_data(PyObject *self, PyObject *args) {
|
|||||||
|
|
||||||
// Boilerplate {{{
|
// Boilerplate {{{
|
||||||
static int
|
static int
|
||||||
exec_module(PyObject *module) { return 0; }
|
exec_module(PyObject *module) {
|
||||||
|
av_log_set_level(AV_LOG_ERROR);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
CALIBRE_MODINIT_FUNC PyInit_ffmpeg(void) {
|
CALIBRE_MODINIT_FUNC PyInit_ffmpeg(void) {
|
||||||
static PyModuleDef_Slot slots[] = { {Py_mod_exec, exec_module}, {0, NULL} };
|
static PyModuleDef_Slot slots[] = { {Py_mod_exec, exec_module}, {0, NULL} };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user