]> git.sesse.net Git - vlc/blobdiff - include/vlc_es_out.h
Export ES_OUT_GET_EMPTY which is needed for interactive video.
[vlc] / include / vlc_es_out.h
index 1ee6229fde2ec033f173731c1985c9c0e73a9bcb..043e5579d86e61b3c9be1eae090cd894f4b0cc0c 100644 (file)
@@ -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,
 };