Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
2e685724
Commit
2e685724
authored
Jan 24, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use libvlc_Quit
parent
484b0aa1
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
22 additions
and
22 deletions
+22
-22
modules/control/dbus.c
modules/control/dbus.c
+1
-1
modules/control/gestures.c
modules/control/gestures.c
+1
-1
modules/control/hotkeys.c
modules/control/hotkeys.c
+1
-1
modules/control/http/macro.c
modules/control/http/macro.c
+1
-1
modules/control/ntservice.c
modules/control/ntservice.c
+1
-1
modules/control/rc.c
modules/control/rc.c
+1
-1
modules/control/signals.c
modules/control/signals.c
+1
-1
modules/control/telnet.c
modules/control/telnet.c
+1
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-1
modules/gui/maemo/maemo_callbacks.c
modules/gui/maemo/maemo_callbacks.c
+1
-1
modules/gui/ncurses.c
modules/gui/ncurses.c
+1
-1
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.c
+1
-1
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+1
-1
modules/gui/skins2/commands/cmd_quit.cpp
modules/gui/skins2/commands/cmd_quit.cpp
+1
-1
modules/misc/dummy/input.c
modules/misc/dummy/input.c
+1
-1
modules/misc/lua/libs/misc.c
modules/misc/lua/libs/misc.c
+1
-1
modules/video_output/caca.c
modules/video_output/caca.c
+1
-1
modules/video_output/fb.c
modules/video_output/fb.c
+1
-1
modules/video_output/ggi.c
modules/video_output/ggi.c
+1
-1
modules/video_output/svgalib.c
modules/video_output/svgalib.c
+1
-1
src/misc/beos_specific.cpp
src/misc/beos_specific.cpp
+1
-1
src/playlist/thread.c
src/playlist/thread.c
+1
-1
No files found.
modules/control/dbus.c
View file @
2e685724
...
...
@@ -125,7 +125,7 @@ vlc_module_end ()
DBUS_METHOD
(
Quit
)
{
/* exits vlc */
REPLY_INIT
;
vlc_object_kill
(((
vlc_object_t
*
)
p_this
)
->
p_libvlc
);
libvlc_Quit
(((
vlc_object_t
*
)
p_this
)
->
p_libvlc
);
REPLY_SEND
;
}
...
...
modules/control/gestures.c
View file @
2e685724
...
...
@@ -396,7 +396,7 @@ static void RunIntf( intf_thread_t *p_intf )
break
;
case
GESTURE
(
DOWN
,
LEFT
,
NONE
,
NONE
):
/* FIXME: Should close the vout!"*/
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
break
;
case
GESTURE
(
DOWN
,
LEFT
,
UP
,
RIGHT
):
case
GESTURE
(
UP
,
RIGHT
,
DOWN
,
LEFT
):
...
...
modules/control/hotkeys.c
View file @
2e685724
...
...
@@ -195,7 +195,7 @@ static void Run( intf_thread_t *p_intf )
/* Quit */
if
(
i_action
==
ACTIONID_QUIT
)
{
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
ClearChannels
(
p_intf
,
p_vout
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Quit"
)
);
...
...
modules/control/http/macro.c
View file @
2e685724
...
...
@@ -520,7 +520,7 @@ static void MacroDo( httpd_file_sys_t *p_args,
case
MVLC_SHUTDOWN
:
{
msg_Dbg
(
p_intf
,
"requested shutdown"
);
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
break
;
}
#ifdef ENABLE_VLM
...
...
modules/control/ntservice.c
View file @
2e685724
...
...
@@ -159,7 +159,7 @@ static void Run( intf_thread_t *p_intf )
free
(
p_intf
->
p_sys
->
psz_service
);
/* Make sure we exit (In case other interfaces have been spawned) */
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
vlc_restorecancel
(
canc
);
}
...
...
modules/control/rc.c
View file @
2e685724
...
...
@@ -1543,7 +1543,7 @@ static int Quit( vlc_object_t *p_this, char const *psz_cmd,
VLC_UNUSED
(
p_data
);
VLC_UNUSED
(
psz_cmd
);
VLC_UNUSED
(
oldval
);
VLC_UNUSED
(
newval
);
vlc_object_kill
(
p_this
->
p_libvlc
);
libvlc_Quit
(
p_this
->
p_libvlc
);
return
VLC_SUCCESS
;
}
...
...
modules/control/signals.c
View file @
2e685724
...
...
@@ -117,7 +117,7 @@ static void *SigThread (void *data)
case
SIGQUIT
:
msg_Err
(
obj
,
"Caught %s signal, exiting..."
,
strsignal
(
signum
));
vlc_object_kill
(
obj
->
p_libvlc
);
libvlc_Quit
(
obj
->
p_libvlc
);
break
;
}
}
...
...
modules/control/telnet.c
View file @
2e685724
...
...
@@ -428,7 +428,7 @@ static void Run( intf_thread_t *p_intf )
else
if
(
!
strncmp
(
cl
->
buffer_read
,
"shutdown"
,
8
)
)
{
msg_Err
(
p_intf
,
"shutdown requested"
);
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
}
else
if
(
*
cl
->
buffer_read
==
'@'
&&
strchr
(
cl
->
buffer_read
,
' '
)
)
...
...
modules/gui/macosx/intf.m
View file @
2e685724
...
...
@@ -751,7 +751,7 @@ static VLCMain *_o_sharedMainInstance = nil;
vlc_object_kill
(
p_playlist
);
pl_Release
(
p_intf
);
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
[
self
setIntf
:
nil
];
...
...
modules/gui/maemo/maemo_callbacks.c
View file @
2e685724
...
...
@@ -54,7 +54,7 @@ gboolean delete_event_cb( GtkWidget *widget,
intf_thread_t
*
p_intf
=
get_intf_from_widget
(
widget
);
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
gtk_main_quit
();
...
...
modules/gui/ncurses.c
View file @
2e685724
...
...
@@ -1038,7 +1038,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
case
'q'
:
case
'Q'
:
case
KEY_EXIT
:
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
ReturnFalse
;
/* Box switching */
...
...
modules/gui/pda/pda_callbacks.c
View file @
2e685724
...
...
@@ -347,7 +347,7 @@ gboolean onPDADeleteEvent(GtkWidget *widget, GdkEvent *event, gpointer user_data
intf_thread_t
*
p_intf
=
GtkGetIntf
(
widget
);
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
msg_Dbg
(
p_intf
,
"about to exit vlc ... signaled"
);
...
...
modules/gui/qt4/dialogs_provider.cpp
View file @
2e685724
...
...
@@ -99,7 +99,7 @@ DialogsProvider::~DialogsProvider()
void
DialogsProvider
::
quit
()
{
b_isDying
=
true
;
vlc_object_kill
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
}
void
DialogsProvider
::
customEvent
(
QEvent
*
event
)
...
...
modules/gui/skins2/commands/cmd_quit.cpp
View file @
2e685724
...
...
@@ -46,5 +46,5 @@ void CmdQuit::execute()
pOsFactory
->
getOSLoop
()
->
exit
();
// Kill libvlc
vlc_object_kill
(
getIntf
()
->
p_libvlc
);
libvlc_Quit
(
getIntf
()
->
p_libvlc
);
}
modules/misc/dummy/input.c
View file @
2e685724
...
...
@@ -203,7 +203,7 @@ static int Demux( demux_t *p_demux )
{
case
COMMAND_QUIT
:
b_eof
=
true
;
vlc_object_kill
(
p_demux
->
p_libvlc
);
libvlc_Quit
(
p_demux
->
p_libvlc
);
break
;
case
COMMAND_PAUSE
:
...
...
modules/misc/lua/libs/misc.c
View file @
2e685724
...
...
@@ -105,7 +105,7 @@ static int vlclua_quit( lua_State *L )
vlc_object_t
*
p_this
=
vlclua_get_this
(
L
);
/* The rc.c code also stops the playlist ... not sure if this is needed
* though. */
vlc_object_kill
(
p_this
->
p_libvlc
);
libvlc_Quit
(
p_this
->
p_libvlc
);
return
0
;
}
...
...
modules/video_output/caca.c
View file @
2e685724
...
...
@@ -377,7 +377,7 @@ static int Manage( vout_thread_t *p_vout )
playlist_Stop
(
p_playlist
);
pl_Release
(
p_vout
);
}
vlc_object_kill
(
p_vout
->
p_libvlc
);
libvlc_Quit
(
p_vout
->
p_libvlc
);
break
;
}
#endif
...
...
modules/video_output/fb.c
View file @
2e685724
...
...
@@ -681,7 +681,7 @@ static int Manage( vout_thread_t *p_vout )
switch( buf )
{
case 'q':
vlc_object_kill
( p_vout->p_libvlc );
libvlc_Quit
( p_vout->p_libvlc );
break;
default:
...
...
modules/video_output/ggi.c
View file @
2e685724
...
...
@@ -293,7 +293,7 @@ static int Manage( vout_thread_t *p_vout )
case
'q'
:
case
'Q'
:
case
GIIUC_Escape
:
vlc_object_kill
(
p_vout
->
p_libvlc
);
libvlc_Quit
(
p_vout
->
p_libvlc
);
break
;
default:
...
...
modules/video_output/svgalib.c
View file @
2e685724
...
...
@@ -235,7 +235,7 @@ static int Manage( vout_thread_t *p_vout )
if
(
keyboard_keypressed
(
SCANCODE_ESCAPE
)
||
keyboard_keypressed
(
SCANCODE_Q
)
)
{
vlc_object_kill
(
p_vout
->
p_libvlc
);
libvlc_Quit
(
p_vout
->
p_libvlc
);
}
return
VLC_SUCCESS
;
...
...
src/misc/beos_specific.cpp
View file @
2e685724
...
...
@@ -243,7 +243,7 @@ bool VlcApplication::QuitRequested()
{
if
(
!
fReadyToQuit
)
{
vlc_object_kill
(
p_this
->
p_libvlc
);
libvlc_Quit
(
p_this
->
p_libvlc
);
return
false
;
}
...
...
src/playlist/thread.c
View file @
2e685724
...
...
@@ -572,7 +572,7 @@ static void LoopRequest( playlist_t *p_playlist )
if
(
var_GetBool
(
p_playlist
,
"play-and-exit"
)
)
{
msg_Info
(
p_playlist
,
"end of playlist, exiting"
);
vlc_object_kill
(
p_playlist
->
p_libvlc
);
libvlc_Quit
(
p_playlist
->
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