146
146
Bool gf_mo_fetch_data(GF_MediaObject *mo, Bool resync, Bool *eos);
147
147
/*release given amount of media data - nb_bytes is used for audio - if forceDrop is set, the unlocked frame will be
148
148
droped if all bytes are consumed, otherwise it will be droped based on object time - typically, video fetches with the resync
149
flag set and release without forceDrop, while audio fetches without resync but forces buffer drop. If forceDrop is set to 2,
152
153
void gf_mo_get_media_time(GF_MediaObject *mo, u32 *media_time, u32 *media_dur);