mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
d57eaa7e30
This is pretty nasty, because FFmpeg/Libav is yet another library with a global message callback. We do something with mutexes trying to get it done, but of course we can't actually solve this problem. If more than one library in a process use FFmpeg/Libav, only one of them will get log messages.
9 lines
225 B
C
9 lines
225 B
C
#ifndef MP_AV_LOG_H
|
|
#define MP_AV_LOG_H
|
|
struct mpv_global;
|
|
struct mp_log;
|
|
void init_libav(struct mpv_global *global);
|
|
void uninit_libav(struct mpv_global *global);
|
|
void print_libav_versions(struct mp_log *log, int v);
|
|
#endif
|