init_from_date_time


Description:

[ Version ( since = "1.12" ) ]
public void init_from_date_time (uint fps_n, uint fps_d, DateTime dt, TimeCodeFlags flags, uint field_count)

The resulting config->latest_daily_jam is set to midnight, and timecode is set to the given time.

Will assert on invalid parameters, use init_from_date_time_full for being able to handle invalid parameters.

Parameters:

this

an uninitialized TimeCode

fps_n

Numerator of the frame rate

fps_d

Denominator of the frame rate

dt

DateTime to convert

flags

TimeCodeFlags

field_count

Interlaced video field count