diff --git a/veejay-current/veejay-server/veejay/vj-event.c b/veejay-current/veejay-server/veejay/vj-event.c index 07af983d..813c18b7 100644 --- a/veejay-current/veejay-server/veejay/vj-event.c +++ b/veejay-current/veejay-server/veejay/vj-event.c @@ -6427,18 +6427,21 @@ void vj_event_chain_entry_set_arg_val(void *ptr, const char format[], va_list ap if(sample_exists(args[0])) { int effect = sample_get_effect_any( args[0], args[1] ); + char *effect_descr = vj_effect_get_description(effect); + char *effect_param_descr = vj_effect_get_param_description(effect,args[2]); if( vj_effect_valid_value(effect,args[2],args[3]) ) { if(sample_set_effect_arg( args[0], args[1], args[2], args[3])) { - veejay_msg(VEEJAY_MSG_INFO, "Set parameter %d to %d on Entry %d of Sample %d", args[2], args[3],args[1],args[0]); + veejay_msg(VEEJAY_MSG_INFO, "Set \"%s\" parameter %d \"%s\" to %d on Entry %d of Sample %d", + effect_descr, args[2], effect_param_descr, args[3],args[1],args[0]); } } else { - veejay_msg(VEEJAY_MSG_ERROR, "Parameter %d with value %d invalid for Chain Entry %d of Sample %d", - args[2], args[3], args[1], args[0] ); + veejay_msg(VEEJAY_MSG_ERROR, " \"%s\" parameter %d \"%s\" with value %d invalid for Chain Entry %d of Sample %d", + effect_descr, args[2], effect_param_descr, args[3], args[1], args[0] ); } - } else { veejay_msg(VEEJAY_MSG_ERROR, "Sample %d does not exist", args[0]); } + } else { veejay_msg(VEEJAY_MSG_ERROR, "Sample %d does not exist", args[0]); } } if(STREAM_PLAYING(v)) { @@ -6453,15 +6456,18 @@ void vj_event_chain_entry_set_arg_val(void *ptr, const char format[], va_list ap if(vj_tag_exists(args[0])) { int effect = vj_tag_get_effect_any(args[0],args[1] ); + char *effect_descr = vj_effect_get_description(effect); + char *effect_param_descr = vj_effect_get_param_description(effect,args[2]); if ( vj_effect_valid_value( effect,args[2],args[3] ) ) { if(vj_tag_set_effect_arg(args[0],args[1],args[2],args[3])) { - veejay_msg(VEEJAY_MSG_INFO,"Set parameter %d to %d on Entry %d of Stream %d", args[2],args[3],args[2],args[1]); + veejay_msg(VEEJAY_MSG_INFO,"Set \"%s\" parameter %d \"%s\" to %d on Entry %d of Stream %d", + effect_descr, args[2], effect_param_descr, args[3],args[2],args[1]); } } else { - veejay_msg(VEEJAY_MSG_ERROR, "Parameter %d with value %d for Chain Entry %d invalid for Stream %d", - args[2],args[3], args[1],args[0]); + veejay_msg(VEEJAY_MSG_ERROR, "\"%s\" parameter %d \"%s\" with value %d for Chain Entry %d invalid for Stream %d", + effect_descr, args[2], effect_param_descr, args[3], args[1],args[0]); } } else {