mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 08:40:19 +00:00
lavc: debug dump spot for converted AVFrame
+ change first parameter of serialize callback to (const void *) + renamed "lavd-uncompressed" to "lavd-avframe" - uncompressed is vague since there are multiple forms of uncompressed - avframe, ultragrid pixfmt...
This commit is contained in:
@@ -304,7 +304,7 @@ void Logger::preinit(bool skip_repeated, int show_timestamps)
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
void debug_file_dump(const char *key, void (*serialize)(void *data, FILE *), void *data) {
|
||||
void debug_file_dump(const char *key, void (*serialize)(const void *data, FILE *), void *data) {
|
||||
const char *dump_file_val = get_commandline_param("debug-dump");
|
||||
static thread_local unordered_map<string, int> skip_map;
|
||||
if (dump_file_val == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user