Commit fc842132 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Close the video directly when clicking on the Stop button.

parent 8840aa58
......@@ -163,13 +163,15 @@
return o_vout_view;
}
- (IBAction)stop:(id)sender
{
vlc_value_t val;
intf_thread_t * p_intf = VLCIntf;
val.i_int = config_GetInt( p_intf, "key-stop" );
var_Set( p_intf->p_libvlc, "key-pressed", val );
/* Close the window directly, because we do know that there
* won't be anymore video. It's currently waiting a bit. */
[[[self getVoutView] window] orderOut:self];
}
- (IBAction)faster:(id)sender
......
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