[vlc-devel] commit: Documented demux state changes. (Laurent Aimar )

git version control git at videolan.org
Sun Jul 19 18:11:54 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jul 19 12:47:29 2009 +0200| [cd9f7455338aa79dcd070e85440b70740cf3967e] | committer: Laurent Aimar 

Documented demux state changes.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cd9f7455338aa79dcd070e85440b70740cf3967e
---

 include/vlc_demux.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/vlc_demux.h b/include/vlc_demux.h
index 31ab555..11444e2 100644
--- a/include/vlc_demux.h
+++ b/include/vlc_demux.h
@@ -124,13 +124,15 @@ enum demux_query_e
     /* Attachments */
     DEMUX_GET_ATTACHMENTS,      /* arg1=input_attachment_t***, int* res=can fail */
 
-    /* RECORD you should accept it only if the stream can be recorded without
+    /* RECORD you are ensured that it is never called twice with the same state
+     * you should accept it only if the stream can be recorded without
      * any modification or header addition. */
     DEMUX_CAN_RECORD,           /* arg1=bool*   res=can fail(assume false) */
     DEMUX_SET_RECORD_STATE,     /* arg1=bool    res=can fail */
 
 
     /* II. Specific access_demux queries */
+    /* PAUSE you are ensured that it is never called twice with the same state */
     DEMUX_CAN_PAUSE = 0x1000,   /* arg1= bool*    can fail (assume false)*/
     DEMUX_SET_PAUSE_STATE,      /* arg1= bool     can fail */
 




More information about the vlc-devel mailing list