From ab35d8541425309b1892aeacec7853a21b0c487d Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 11 Mar 2009 23:20:26 +0100 Subject: [PATCH] Export ES_OUT_GET_EMPTY which is needed for interactive video. --- include/vlc_es_out.h | 7 +++++++ src/input/es_out.h | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/include/vlc_es_out.h b/include/vlc_es_out.h index 1ee6229fde..043e5579d8 100644 --- a/include/vlc_es_out.h +++ b/include/vlc_es_out.h @@ -83,6 +83,13 @@ enum es_out_query_e /* Set scrambled state for one es */ ES_OUT_SET_ES_SCRAMBLED_STATE, /* arg1=int i_group arg2=es_out_id_t* */ + /* Stop any buffering being done, and ask if es_out has no more data to + * play. + * It will not block and so MUST be used carrefully. The only good reason + * is for interactive playback (like for DVD menu). + * XXX You SHALL call ES_OUT_RESET_PCR before any other es_out_Control/Send calls. */ + ES_OUT_GET_EMPTY, /* arg1=bool* res=cannot fail */ + /* First value usable for private control */ ES_OUT_PRIVATE_START = 0x10000, }; diff --git a/src/input/es_out.h b/src/input/es_out.h index 62818ff680..b9f0ce944a 100644 --- a/src/input/es_out.h +++ b/src/input/es_out.h @@ -51,9 +51,6 @@ enum es_out_query_private_e /* Get buffering state */ ES_OUT_GET_BUFFERING, /* arg1=bool* res=cannot fail */ - /* Check if es_out has still data to play */ - ES_OUT_GET_EMPTY, /* arg1=bool* res=cannot fail */ - /* Set delay for a ES category */ ES_OUT_SET_DELAY, /* arg1=es_category_e, res=can fail */ -- 2.39.2