Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
fc842132
Commit
fc842132
authored
Jul 08, 2008
by
Pierre d'Herbemont
Browse files
macosx: Close the video directly when clicking on the Stop button.
parent
8840aa58
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/controls.m
View file @
fc842132
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment