TagList.getDateTime

bool getDateTime(string tag, out gst.date_time.DateTime value)

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

Parameters

tagtag to read out
valueaddress of a #GstDateTime pointer variable to store the result into

Returns

true, if a datetime was copied, false if the tag didn't exist in

the given list or if it was null.