X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_es_out.h;h=3a008949f23743d88bed7b57036b361b074ce758;hb=fe927c0f058f3f9b27a48524ff9471ae1082f1bc;hp=13dc518cc5407fc1679399ba728ebfdabb86e57f;hpb=37e87108a37856c3cdbfba1abd7fa69ea6e5894a;p=vlc diff --git a/include/vlc_es_out.h b/include/vlc_es_out.h index 13dc518cc5..3a008949f2 100644 --- a/include/vlc_es_out.h +++ b/include/vlc_es_out.h @@ -1,7 +1,7 @@ /***************************************************************************** * vlc_es_out.h ***************************************************************************** - * Copyright (C) 1999-2004 VideoLAN + * Copyright (C) 1999-2004 the VideoLAN team * $Id$ * * Authors: Laurent Aimar @@ -59,7 +59,12 @@ enum es_out_query_e ES_OUT_SET_GROUP, /* arg1= int */ ES_OUT_GET_GROUP, /* arg1= int* */ - /* PCR handling, dts/pts will be automatically computed using thoses PCR */ + /* PCR handling, dts/pts will be automatically computed using thoses PCR + * XXX: SET_PCR(_GROUP) is in charge of the pace control. They will wait to slow + * down the demuxer to read at the right speed. + * XXX: if you want PREROLL just call RESET_PCR and ES_OUT_SET_NEXT_DISPLAY_TIME and send + * data to the decoder *without* calling SET_PCR until preroll is finished. + */ ES_OUT_SET_PCR, /* arg1=int64_t i_pcr(microsecond!) (using default group 0)*/ ES_OUT_SET_GROUP_PCR, /* arg1= int i_group, arg2=int64_t i_pcr(microsecond!)*/ ES_OUT_RESET_PCR, /* no arg */ @@ -69,7 +74,14 @@ enum es_out_query_e ES_OUT_GET_TS, /* arg1=int64_t i_ts(microsecond!) (using default group 0), arg2=int64_t* converted i_ts */ /* Try not to use this one as it is a bit hacky */ - ES_OUT_SET_FMT /* arg1= es_out_id_t* arg2=es_format_t* */ + ES_OUT_SET_FMT, /* arg1= es_out_id_t* arg2=es_format_t* */ + + /* Allow preroll of data (data with dts/pts < i_pts for one ES will be decoded but not displayed */ + ES_OUT_SET_NEXT_DISPLAY_TIME, /* arg1=es_out_id_t* arg2=int64_t i_pts(microsecond) */ + /* Set meta data for group (dynamic) */ + ES_OUT_SET_GROUP_META, /* arg1=int i_group arg2=vlc_meta_t */ + /* */ + ES_OUT_DEL_GROUP /* arg1=int i_group */ }; struct es_out_t