* input_programs.c: es_descriptor_t, pgrm_descriptor_t management
*****************************************************************************
* Copyright (C) 1999-2002 VideoLAN
- * $Id: input_programs.c,v 1.109 2003/05/11 18:40:11 hartman Exp $
+ * $Id: input_programs.c,v 1.110 2003/05/11 18:43:19 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
text.psz_string = p_es->psz_desc;
var_Change( p_input, psz_var, VLC_VAR_ADDCHOICE, &val, &text );
}
+ else p_es->psz_desc = NULL;
return p_es;
}
* variables.c: routines for object variables handling
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: variables.c,v 1.23 2003/05/05 15:21:27 sigmunau Exp $
+ * $Id: variables.c,v 1.24 2003/05/11 18:43:19 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
INSERT_ELEM( p_var->choices.p_values, p_var->choices.i_count,
i, *p_val );
INSERT_ELEM( p_var->choices_text.p_values,
- p_var->choices_text.i_count, i, (vlc_value_t)0 );
+ p_var->choices_text.i_count, i, *p_val );
p_var->pf_dup( &p_var->choices.p_values[i] );
p_var->choices_text.p_values[i].psz_string =
( p_val2 && p_val2->psz_string ) ?