MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / chapter_time_end

Function chapter_time_end

gtk/src/chapters.c:190–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190static char *
191chapter_time_end (GhbValue *chapter, gint64 *time_pts)
192{
193 GhbValue *duration;
194 gint64 pts;
195
196 duration = ghb_dict_get(chapter, "Duration");
197 pts = ghb_dict_get_int(duration, "Ticks");
198
199 *time_pts += pts;
200 return pts_to_xml_time(*time_pts);
201}
202
203static void
204chapter_list_export_xml (const gchar *filename, GhbValue *chapter_dict)

Callers 1

chapter_list_export_xmlFunction · 0.85

Calls 2

ghb_dict_get_intFunction · 0.85
pts_to_xml_timeFunction · 0.85

Tested by

no test coverage detected