[vlc-devel] [PATCH 27/48] vlc_stream.h: Don't break ABI

Hugo Beauzée-Luyssen beauze.h at gmail.com
Mon Jan 9 16:16:36 CET 2012


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

diff --git a/include/vlc_stream.h b/include/vlc_stream.h
index 6d57c5b..6a9d9a9 100644
--- a/include/vlc_stream.h
+++ b/include/vlc_stream.h
@@ -97,10 +97,6 @@ enum stream_query_e
 
     STREAM_GET_SIZE,            /**< arg1= uint64_t *     res=cannot fail (0 if no sense)*/
 
-    /* LENGTH/TIME in microsecond, 0 if unknown */
-    STREAM_GET_LENGTH,           /* arg1= int64_t *      res=    */
-    STREAM_GET_TIME,             /* arg1= int64_t *      res=    */
-
     /* Special for direct access control from demuxer.
      * XXX: avoid using it by all means */
     STREAM_CONTROL_ACCESS,  /* arg1= int i_access_query, args   res: can fail
@@ -115,6 +111,10 @@ enum stream_query_e
 
     /* XXX only data read through stream_Read/Block will be recorded */
     STREAM_SET_RECORD_STATE,     /**< arg1=bool, arg2=const char *psz_ext (if arg1 is true)  res=can fail */
+
+    /* LENGTH/TIME in microsecond, 0 if unknown */
+    STREAM_GET_LENGTH,           /* arg1= int64_t *      res=    */
+    STREAM_GET_TIME              /* arg1= int64_t *      res=    */
 };
 
 VLC_API int stream_Read( stream_t *s, void *p_read, int i_read );
-- 
1.7.8.3




More information about the vlc-devel mailing list