FFmpeg
Data Fields
FFExpandTextContext Struct Reference

in a text template, followed by any character, always expands to the second character. More...

#include <textutils.h>

Data Fields

void * log_ctx
 log context to pass to the function, used for logging and for accessing the context for the function More...
 
const FFExpandTextFunctionfunctions
 list of functions to use to expand sequences in the format FUNCTION_NAME{PARAMS} More...
 
unsigned int functions_nb
 number of functions More...
 

Detailed Description

in a text template, followed by any character, always expands to the second character.

Sequences of the form %{FUNCTION_NAME[:PARAMS]} are expanded using a function defined in the object. The text between the braces is a function name, possibly followed by arguments separated by ':'. If the arguments contain special characters or delimiters (':' or '}'), they should be escaped.

Definition at line 66 of file textutils.h.

Field Documentation

◆ log_ctx

void* FFExpandTextContext::log_ctx

log context to pass to the function, used for logging and for accessing the context for the function

Definition at line 71 of file textutils.h.

Referenced by ff_expand_text_function(), ff_expand_text_function_internal(), and init().

◆ functions

const FFExpandTextFunction* FFExpandTextContext::functions

list of functions to use to expand sequences in the format FUNCTION_NAME{PARAMS}

Definition at line 77 of file textutils.h.

Referenced by ff_expand_text_function_internal().

◆ functions_nb

unsigned int FFExpandTextContext::functions_nb

number of functions

Definition at line 82 of file textutils.h.

Referenced by ff_expand_text_function_internal().


The documentation for this struct was generated from the following file: