TagList.getDateTime

Copies the first datetime for the given tag in the taglist into the variable pointed to by value. Unref the date with Date.timeUnref when it is no longer needed.

Free-function: gst_date_time_unref

class TagList
bool
getDateTime
(
string tag
,)

Parameters

tag string

tag to read out

value DateTime

address of a gstreamer.DateTime pointer variable to store the result into

Return Value

Type: bool

TRUE, if a datetime was copied, FALSE if the tag didn't exist in the given list or if it was NULL.