public class FFmpegLogCallback extends LogCallback
Logger
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FFmpegLogCallback() |
Modifier and Type | Method and Description |
---|---|
void |
call(int level,
BytePointer msg) |
static FFmpegLogCallback |
getInstance()
Returns an instance that can be used with
avutil.setLogCallback(LogCallback) . |
static int |
getLevel()
Returns
av_log_get_level() . |
static void |
set()
Calls
avutil.setLogCallback(getInstance()) . |
static void |
setLevel(int level)
Calls
av_log_set_level(level) . |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static FFmpegLogCallback getInstance()
avutil.setLogCallback(LogCallback)
.public static void set()
avutil.setLogCallback(getInstance())
.public static int getLevel()
av_log_get_level()
.public static void setLevel(int level)
av_log_set_level(level)
.public void call(int level, BytePointer msg)
call
in class LogCallback
Copyright © 2024. All rights reserved.