BaseParse.setTsAtOffset

This function should only be called from a @handle_frame implementation.

#GstBaseParse creates initial timestamps for frames by using the last timestamp seen in the stream before the frame starts. In certain cases, the correct timestamps will occur in the stream after the start of the frame, but before the start of the actual picture data. This function can be used to set the timestamps based on the offset into the frame data that the picture starts.

class BaseParse
void
setTsAtOffset
(
size_t offset
)

Parameters

offset size_t

offset into current buffer

Meta