Exemple #1
0
GF_Err vtte_dump(GF_Box *a, FILE * trace)
{
	fprintf(trace, "<WebVTTEmptyCueBox>\n");
	DumpBox(a, trace);
	gf_box_dump_done("WebVTTEmptyCueBox", a, trace);
	return GF_OK;
}
Exemple #2
0
GF_Err boxstring_dump(GF_Box *a, FILE * trace)
{
	GF_StringBox *sbox = (GF_StringBox *)a;
	fprintf(trace, "<StringBox string=\"%s\">\n", sbox->string);
	DumpBox(a, trace);
	gf_box_dump_done("StringBox", a, trace);
	return GF_OK;
}
Exemple #3
0
GF_Err wvtt_dump(GF_Box *a, FILE * trace)
{
	GF_WebVTTSampleEntryBox *cuebox = (GF_WebVTTSampleEntryBox *)a;
	fprintf(trace, "<WebVTTSampleEntryBox>\n");
	DumpBox(a, trace);
	if (cuebox->config) boxstring_dump((GF_Box *)cuebox->config, trace);
	gf_box_dump_done("WebVTTSampleEntryBox", a, trace);
	return GF_OK;
}
Exemple #4
0
GF_Err vtcu_dump(GF_Box *a, FILE * trace)
{
    GF_VTTCueBox *cuebox = (GF_VTTCueBox *)a;
    fprintf(trace, "<WebVTTCueBox>\n");
    DumpBox(a, trace);
    if (cuebox->id) boxstring_dump((GF_Box *)cuebox->id, trace);
    if (cuebox->settings) boxstring_dump((GF_Box *)cuebox->settings, trace);
    if (cuebox->payload) boxstring_dump((GF_Box *)cuebox->payload, trace);
    gf_box_dump_done("WebVTTCueBox", a, trace);
    return GF_OK;
}