mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 04:40:20 +00:00
av_log: mp_msg conversion
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.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
void init_libav(void);
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user