diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-04 00:52:14 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-05 18:57:36 +0100 |
commit | 73fbe09a49d3ed00c6e19fdcc658802f28974ae2 (patch) | |
tree | 8a39d61582d5e951547a6ce97638929c5f342e84 /test/test_utils.c | |
parent | d9a483cb17cf5239546fec2462b4c2ccca579723 (diff) | |
download | mpv-73fbe09a49d3ed00c6e19fdcc658802f28974ae2.tar.bz2 mpv-73fbe09a49d3ed00c6e19fdcc658802f28974ae2.tar.xz |
ALL: use pl_hdr_metadata and nuke sig_peak
This commit replaces all uses of sig_peak and maps all HDR metadata.
Form notable changes mixed usage of maxCLL and max_luma is resolved and
not always max_luma is used which makes vo_gpu and vo_gpu_next behave
the same way.
Diffstat (limited to 'test/test_utils.c')
-rw-r--r-- | test/test_utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_utils.c b/test/test_utils.c index ac59c17e8f..b80caf8f71 100644 --- a/test/test_utils.c +++ b/test/test_utils.c @@ -1,5 +1,6 @@ #include <libavutil/common.h> +#include "common/msg.h" #include "options/m_option.h" #include "options/path.h" #include "osdep/subprocess.h" @@ -98,7 +99,7 @@ void assert_memcmp_impl(const char *file, int line, } /* Stubs: see test_utils.h */ -struct mp_log *mp_null_log; +struct mp_log *const mp_null_log; const char *mp_help_text; void mp_msg(struct mp_log *log, int lev, const char *format, ...) {}; @@ -106,3 +107,5 @@ int mp_msg_find_level(const char *s) {return 0;}; int mp_msg_level(struct mp_log *log) {return 0;}; void mp_write_console_ansi(void) {}; void mp_set_avdict(AVDictionary **dict, char **kv) {}; +struct mp_log *mp_log_new(void *talloc_ctx, struct mp_log *parent, + const char *name) { return NULL; }; |