From 3f821deb158c36a24c6a2144a071b293c7f847f8 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Wed, 25 Aug 2004 18:50:36 +0000 Subject: [PATCH] * input: added a INPUT_UPDATE_META (for meta data in access like ICY) * access: added ACCESS_GET_TITLE_INFO (not yet implemented) * demux: added DEMUX_SET_GROUP (will be only for dvb/ts). --- include/vlc_access.h | 6 ++++-- include/vlc_demux.h | 8 +++++++- include/vlc_input.h | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/include/vlc_access.h b/include/vlc_access.h index c70383fee7..de70f42975 100644 --- a/include/vlc_access.h +++ b/include/vlc_access.h @@ -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 * @@ -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 */ diff --git a/include/vlc_demux.h b/include/vlc_demux.h index 8f92cd7990..9ab59a73ce 100644 --- a/include/vlc_demux.h +++ b/include/vlc_demux.h @@ -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 * @@ -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 diff --git a/include/vlc_input.h b/include/vlc_input.h index 48db4b6ee4..561ea16c51 100644 --- a/include/vlc_input.h +++ b/include/vlc_input.h @@ -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 -- 2.39.2