~videolan/vlc/old-trunk

« back to all changes in this revision

Viewing changes to src/input/control.c

  • Committer: zorglub
  • Date: 2006-09-24 12:40:10 UTC
  • Revision ID: vcs-imports@canonical.com-20060924124010-9313cccc4d61dbc9
Rename vlc_input_item_* functions to input_Item* for consistency
Add input_ItemAddOptionNoDup (unused at the moment)
+ free warning fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * control.c
3
3
 *****************************************************************************
4
4
 * Copyright (C) 1999-2004 the VideoLAN team
5
 
 * $Id: control.c 16666 2006-09-15 22:10:37Z zorglub $
 
5
 * $Id: control.c 16821 2006-09-24 12:40:10Z zorglub $
6
6
 *
7
7
 * Authors: Gildas Bazin <gbazin@videolan.org>
8
8
 *
131
131
 
132
132
        case INPUT_ADD_INFO:
133
133
        {
134
 
            /* FIXME : Impossible to use vlc_input_item_AddInfo because of
 
134
            /* FIXME : Impossible to use input_ItemAddInfo because of
135
135
             * the ... problem ? */
136
136
            char *psz_cat = (char *)va_arg( args, char * );
137
137
            char *psz_name = (char *)va_arg( args, char * );
253
253
            int i_ret = VLC_EGENERIC;
254
254
            *ppsz_value = NULL;
255
255
 
256
 
            *ppsz_value = vlc_input_item_GetInfo( p_input->input.p_item,
 
256
            *ppsz_value = input_ItemGetInfo( p_input->input.p_item,
257
257
                                                  psz_cat, psz_name );
258
258
            return i_ret;
259
259
        }