libgpac
Documentation of the core library of GPAC
GF_WebVTTParser Struct Reference

Data Fields

GF_WebVTTParserState state
 
Bool is_srt
 
Bool suspend
 
Bool is_eof
 
Bool prev_line_empty
 
Bool in_comment
 
char * comment_text
 
GF_List * samples
 
FILE * vtt_in
 
s32 unicode_type
 
u64 last_duration
 
void * user
 
GF_Err(* report_message )(void *, GF_Err, char *, const char *)
 
void(* on_header_parsed )(void *, const char *)
 
void(* on_sample_parsed )(void *, GF_WebVTTSample *)
 
void(* on_cue_read )(void *, GF_WebVTTCue *)
 

Field Documentation

◆ state

GF_WebVTTParserState GF_WebVTTParser::state

◆ is_srt

Bool GF_WebVTTParser::is_srt

◆ suspend

Bool GF_WebVTTParser::suspend

◆ is_eof

Bool GF_WebVTTParser::is_eof

◆ prev_line_empty

Bool GF_WebVTTParser::prev_line_empty

◆ in_comment

Bool GF_WebVTTParser::in_comment

◆ comment_text

char* GF_WebVTTParser::comment_text

◆ samples

GF_List* GF_WebVTTParser::samples

◆ vtt_in

FILE* GF_WebVTTParser::vtt_in

◆ unicode_type

s32 GF_WebVTTParser::unicode_type

◆ last_duration

u64 GF_WebVTTParser::last_duration

◆ user

void* GF_WebVTTParser::user

◆ report_message

GF_Err(* GF_WebVTTParser::report_message) (void *, GF_Err, char *, const char *)

◆ on_header_parsed

void(* GF_WebVTTParser::on_header_parsed) (void *, const char *)

◆ on_sample_parsed

void(* GF_WebVTTParser::on_sample_parsed) (void *, GF_WebVTTSample *)

◆ on_cue_read

void(* GF_WebVTTParser::on_cue_read) (void *, GF_WebVTTCue *)