TagList.getDateTime

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

Free-function: gst_date_time_unref

class TagList
bool
getDateTime

Parameters

tag string

tag to read out

value gst.date_time.DateTime

address of a #GstDateTime 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.