]> git.sesse.net Git - vlc/commitdiff
Documented demux state changes.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 19 Jul 2009 10:47:29 +0000 (12:47 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 19 Jul 2009 15:07:43 +0000 (17:07 +0200)
include/vlc_demux.h

index 31ab55580669fe043458a597f700132dfecc2007..11444e24ea47721c17c4c60e4c06f94baca3247a 100644 (file)
@@ -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 */