}
}
-- (IBAction)forward1Min:(id)sender
-{
- intf_thread_t * p_intf = [NSApp getIntf];
- input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
- FIND_ANYWHERE );
- if( p_input != NULL )
- {
- vlc_value_t time;
- time.i_time = 60 * 1000000;
- var_Set( p_input, "time-offset", time );
- vout_OSDMessage( p_intf, _( "Jump +1 Minute" ) );
- vlc_object_release( p_input );
- }
-}
-
-- (IBAction)forward5Min:(id)sender
-{
- intf_thread_t * p_intf = [NSApp getIntf];
- input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
- FIND_ANYWHERE );
- if( p_input != NULL )
- {
- vlc_value_t time;
- time.i_time = 300 * 1000000;
- var_Set( p_input, "time-offset", time );
- vout_OSDMessage( p_intf, _( "Jump +5 Minutes" ) );
- vlc_object_release( p_input );
- }
-}
-
- (IBAction)backward:(id)sender
{
intf_thread_t * p_intf = [NSApp getIntf];
}
}
-- (IBAction)backward1Min:(id)sender
-{
- intf_thread_t * p_intf = [NSApp getIntf];
- input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
- FIND_ANYWHERE );
- if( p_input != NULL )
- {
- vlc_value_t time;
- time.i_time = -60 * 1000000;
- var_Set( p_input, "time-offset", time );
- vout_OSDMessage( p_intf, _( "Jump -1 Minute" ) );
- vlc_object_release( p_input );
- }
-}
-
-- (IBAction)backward5Min:(id)sender
-{
- intf_thread_t * p_intf = [NSApp getIntf];
- input_thread_t * p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT,
- FIND_ANYWHERE );
- if( p_input != NULL )
- {
- vlc_value_t time;
- time.i_time = -300 * 1000000;
- var_Set( p_input, "time-offset", time );
- vout_OSDMessage( p_intf, _( "Jump -5 Minutes" ) );
- vlc_object_release( p_input );
- }
-}
-
- (IBAction)volumeUp:(id)sender
{
intf_thread_t * p_intf = [NSApp getIntf];
[o_mi_random setTitle: _NS("Random")];
[o_mi_repeat setTitle: _NS("Repeat One")];
[o_mi_loop setTitle: _NS("Repeat All")];
- [o_mi_fwd setTitle: _NS("Forward 10 Seconds")];
- [o_mi_bwd setTitle: _NS("Backward 10 Seconds")];
- [o_mi_fwd1m setTitle: _NS("Forward 1 Minute")];
- [o_mi_bwd1m setTitle: _NS("Backward 1 Minute")];
- [o_mi_fwd5m setTitle: _NS("Forward 5 Minutes")];
- [o_mi_bwd5m setTitle: _NS("Backward 5 Minutes")];
+ [o_mi_fwd setTitle: _NS("Step Forward")];
+ [o_mi_bwd setTitle: _NS("Step Backward")];
[o_mi_program setTitle: _NS("Program")];
[o_mu_program setTitle: _NS("Program")];