~videolan/vlc/old-trunk

« back to all changes in this revision

Viewing changes to modules/services_discovery/sap.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
 * sap.c :  SAP interface module
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2004-2005 the VideoLAN team
5
 
 * $Id: sap.c 16691 2006-09-17 14:36:06Z zorglub $
 
5
 * $Id: sap.c 16821 2006-09-24 12:40:10Z zorglub $
6
6
 *
7
7
 * Authors: Clément Stenac <zorglub@videolan.org>
8
8
 *
817
817
    }
818
818
 
819
819
    if( p_sys->b_timeshift )
820
 
        vlc_input_item_AddOption( p_input, ":access-filter=timeshift" );
 
820
        input_ItemAddOption( p_input, ":access-filter=timeshift" );
821
821
 
822
822
    psz_value = GetAttribute( p_sap->p_sdp, "tool" );
823
823
    if( psz_value != NULL )
824
824
    {
825
 
        vlc_input_item_AddInfo( p_input, _("Session"),_("Tool"), psz_value );
 
825
        input_ItemAddInfo( p_input, _("Session"),_("Tool"), psz_value );
826
826
    }
827
827
    if( strcmp( p_sdp->psz_username, "-" ) )
828
828
    {
829
 
        vlc_input_item_AddInfo( p_input, _("Session"),
 
829
        input_ItemAddInfo( p_input, _("Session"),
830
830
                                _("User"), p_sdp->psz_username );
831
831
    }
832
832