Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
0d5db2b4
Commit
0d5db2b4
authored
Aug 11, 2008
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed exiting skins when there is no video.
Exiting still hangs if there is a video output.
parent
df952aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
modules/gui/skins2/commands/cmd_quit.cpp
modules/gui/skins2/commands/cmd_quit.cpp
+14
-0
No files found.
modules/gui/skins2/commands/cmd_quit.cpp
View file @
0d5db2b4
...
@@ -22,6 +22,13 @@
...
@@ -22,6 +22,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_osd.h>
#include <vlc_playlist.h>
#include "cmd_quit.hpp"
#include "cmd_quit.hpp"
#include "../src/os_factory.hpp"
#include "../src/os_factory.hpp"
#include "../src/os_loop.hpp"
#include "../src/os_loop.hpp"
...
@@ -29,9 +36,16 @@
...
@@ -29,9 +36,16 @@
void
CmdQuit
::
execute
()
void
CmdQuit
::
execute
()
{
{
// Stop the playlist
vout_OSDMessage
(
getIntf
(),
DEFAULT_CHAN
,
_
(
"Quit"
)
);
playlist_Stop
(
getIntf
()
->
p_sys
->
p_playlist
);
// Get the instance of OSFactory
// Get the instance of OSFactory
OSFactory
*
pOsFactory
=
OSFactory
::
instance
(
getIntf
()
);
OSFactory
*
pOsFactory
=
OSFactory
::
instance
(
getIntf
()
);
// Exit the main OS loop
// Exit the main OS loop
pOsFactory
->
getOSLoop
()
->
exit
();
pOsFactory
->
getOSLoop
()
->
exit
();
// Kill libvlc
vlc_object_kill
(
getIntf
()
->
p_libvlc
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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