]> git.sesse.net Git - vlc/commitdiff
* input: added a INPUT_UPDATE_META (for meta data in access like ICY)
authorLaurent Aimar <fenrir@videolan.org>
Wed, 25 Aug 2004 18:50:36 +0000 (18:50 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Wed, 25 Aug 2004 18:50:36 +0000 (18:50 +0000)
 * access: added ACCESS_GET_TITLE_INFO (not yet implemented)
 * demux: added DEMUX_SET_GROUP (will be only for dvb/ts).

include/vlc_access.h
include/vlc_demux.h
include/vlc_input.h

index c70383fee7bb40c3df18fabe3a4e2d32c967db50..de70f429756d23e29119b25d6d0254d95cfdd197 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_access.h
  *****************************************************************************
  * Copyright (C) 1999-2004 VideoLAN
- * $Id: ninput.h 7930 2004-06-07 18:23:15Z fenrir $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -41,7 +41,9 @@ enum access_query_e
     ACCESS_GET_MTU,         /* arg1= int*           cannot fail(0 if no sense)*/
     ACCESS_GET_PTS_DELAY,   /* arg1= int64_t*       cannot fail */
     /* */
-    ACCESS_GET_TITLE_INFO,      /* arg1=input_title_t*** arg2=int* can fail */
+    ACCESS_GET_TITLE_INFO,  /* arg1=input_title_t*** arg2=int* can fail */
+    /* Meta data */
+    ACCESS_GET_META,        /* arg1= vlc_meta_t **  res=can fail    */
 
     /* */
     ACCESS_SET_PAUSE_STATE, /* arg1= vlc_bool_t     can fail */
index 8f92cd79901efd679a8f4d7e8e29430b015c7343..9ab59a73ce2d91f56e5fc58f83e2f4c1f10d64d3 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_demux.h
  *****************************************************************************
  * Copyright (C) 1999-2004 VideoLAN
- * $Id: ninput.h 7930 2004-06-07 18:23:15Z fenrir $
+ * $Id$
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
@@ -83,6 +83,12 @@ enum demux_query_e
     DEMUX_SET_TITLE,            /* arg1= int            can fail */
     DEMUX_SET_SEEKPOINT,        /* arg1= int            can fail */
 
+    /* DEMUX_SET_GROUP only a hit for demuxer (mainly DVB) to allow not
+     * reading everything (you should not use this to call es_out_Control)
+     * if you don't know what to do with it, just IGNORE it, it is safe(r)
+     * -1 means all group, 0 default group (first es added) */
+    DEMUX_SET_GROUP,            /* arg1= int            can fail */
+
     /* Ask the demux to demux until the given date at the next pf_demux call
      * but not more (and not less, at the precision avaiable of course).
      * XXX: not mandatory (except for subtitle demux) but I will help a lot
index 48db4b6ee406f33ad8754499ec59622b0d81f278..561ea16c51a5e2ad4b3850d8f2624e79200f01d8 100644 (file)
@@ -224,6 +224,7 @@ typedef struct
 #define INPUT_UPDATE_SIZE       0x0001
 #define INPUT_UPDATE_TITLE      0x0010
 #define INPUT_UPDATE_SEEKPOINT  0x0020
+#define INPUT_UPDATE_META       0x0040
 
 /* Input control XXX: internal */
 #define INPUT_CONTROL_FIFO_SIZE    100