set_frame_rate


Description:

public void set_frame_rate (uint fps_num, uint fps_den, uint lead_in, uint lead_out)

If frames per second is configured, parser can take care of buffer duration and timestamping.

When performing segment clipping, or seeking to a specific location, a corresponding decoder might need an initial lead_in and a following lead_out number of frames to ensure the desired segment is entirely filled upon decoding.

Parameters:

this

the Parse to set

fps_num

frames per second (numerator).

fps_den

frames per second (denominator).

lead_in

frames needed before a segment for subsequent decode

lead_out

frames needed after a segment