Seek to a given timestamp relative to the frames in
stream component stream_index.
@param stream_index Must not be -1.
@param flags Selects which direction should be preferred if no exact
match is available.
@return >= 0 on success (but not necessarily the new offset)
Seek to a given timestamp relative to the frames in stream component stream_index. @param stream_index Must not be -1. @param flags Selects which direction should be preferred if no exact match is available. @return >= 0 on success (but not necessarily the new offset)