// Don't escape the end of the string if we find a '#'
// that's the begining of a vlc command
// TODO: find a better solution
- if( c == '#' || param )
+ if( ( c == '#' && !quote ) || param )
{
param = true;
*out++ = c;
static int ExecuteSave( vlm_t *p_vlm, const char *psz_file, vlm_message_t **pp_status )
{
- FILE *f = utf8_fopen( psz_file, "wt" );
+ FILE *f = vlc_fopen( psz_file, "wt" );
char *psz_save = NULL;
if( !f )
}
}
*pp_status = vlm_MessageSimpleNew( psz_cmd );
+
+ vlc_mutex_lock( &p_vlm->lock_manage );
+ p_vlm->input_state_changed = true;
+ vlc_cond_signal( &p_vlm->wait_manage );
+ vlc_mutex_unlock( &p_vlm->lock_manage );
+
return VLC_SUCCESS;
error:
TAB_APPEND( vlm->i_schedule, vlm->schedule, p_sched );
- vlc_mutex_lock( &vlm->lock_manage );
- vlc_cond_signal( &vlm->wait_manage );
- vlc_mutex_unlock( &vlm->lock_manage );
-
return p_sched;
}
{
return 1;
}
+
return 0;
}
APPEND_INPUT_INFO( "time", "%"PRIi64, Time );
APPEND_INPUT_INFO( "length", "%"PRIi64, Time );
APPEND_INPUT_INFO( "rate", "%f", Float );
- APPEND_INPUT_INFO( "title", "%d", Integer );
- APPEND_INPUT_INFO( "chapter", "%d", Integer );
+ APPEND_INPUT_INFO( "title", "%"PRId64, Integer );
+ APPEND_INPUT_INFO( "chapter", "%"PRId64, Integer );
APPEND_INPUT_INFO( "can-seek", "%d", Bool );
}
#undef APPEND_INPUT_INFO