Commit 91d41ce2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed time slider action in the fspanel

parent cfca8bcd
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#import "vout.h" #import "vout.h"
#import "misc.h" #import "misc.h"
#import "fspanel.h" #import "fspanel.h"
#import "MainWindow.h"
@interface VLCFSPanel () @interface VLCFSPanel ()
- (void)hideMouse; - (void)hideMouse;
...@@ -555,7 +554,17 @@ ...@@ -555,7 +554,17 @@
- (IBAction)fsTimeSliderUpdate:(id)sender - (IBAction)fsTimeSliderUpdate:(id)sender
{ {
[[VLCMainWindow sharedInstance] updateTimeSlider]; input_thread_t * p_input;
p_input = pl_CurrentInput( VLCIntf );
if( p_input != NULL )
{
vlc_value_t pos;
pos.f_float = [o_fs_timeSlider floatValue] / 10000.;
var_Set( p_input, "position", pos );
vlc_object_release( p_input );
}
[[VLCMain sharedInstance] updatePlaybackPosition];
} }
- (IBAction)fsVolumeSliderUpdate:(id)sender - (IBAction)fsVolumeSliderUpdate:(id)sender
......
...@@ -130,9 +130,6 @@ struct intf_sys_t ...@@ -130,9 +130,6 @@ struct intf_sys_t
IBOutlet NSWindow * o_crashrep_win; IBOutlet NSWindow * o_crashrep_win;
IBOutlet NSButton * o_crashrep_includeEmail_ckb; IBOutlet NSButton * o_crashrep_includeEmail_ckb;
IBOutlet NSTextField * o_crashrep_includeEmail_txt; IBOutlet NSTextField * o_crashrep_includeEmail_txt;
input_state_e cachedInputState;
NSURLConnection * crashLogURLConnection; NSURLConnection * crashLogURLConnection;
AppleRemote * o_remote; AppleRemote * o_remote;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment