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
4667e2d7
Commit
4667e2d7
authored
May 18, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/src/vlcproc.cpp: a few cleanup fixes.
* wxwindows/*: a few cleanup fixes.
parent
3992ea9f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+14
-2
modules/gui/wxwindows/bookmarks.cpp
modules/gui/wxwindows/bookmarks.cpp
+3
-4
modules/gui/wxwindows/video.cpp
modules/gui/wxwindows/video.cpp
+4
-0
No files found.
modules/gui/skins2/src/vlcproc.cpp
View file @
4667e2d7
...
@@ -56,8 +56,8 @@ void VlcProc::destroy( intf_thread_t *pIntf )
...
@@ -56,8 +56,8 @@ void VlcProc::destroy( intf_thread_t *pIntf )
}
}
VlcProc
::
VlcProc
(
intf_thread_t
*
pIntf
)
:
SkinObject
(
pIntf
),
m_pVoutWindow
(
NULL
),
VlcProc
::
VlcProc
(
intf_thread_t
*
pIntf
)
:
SkinObject
(
pIntf
),
m_pVout
(
NULL
)
m_pVoutWindow
(
NULL
),
m_pVout
(
NULL
)
{
{
// Create a timer to poll the status of the vlc
// Create a timer to poll the status of the vlc
OSFactory
*
pOsFactory
=
OSFactory
::
instance
(
pIntf
);
OSFactory
*
pOsFactory
=
OSFactory
::
instance
(
pIntf
);
...
@@ -117,6 +117,18 @@ VlcProc::~VlcProc()
...
@@ -117,6 +117,18 @@ VlcProc::~VlcProc()
{
{
vlc_object_release
(
getIntf
()
->
p_sys
->
p_input
);
vlc_object_release
(
getIntf
()
->
p_sys
->
p_input
);
}
}
// Callbacks for vout requests
getIntf
()
->
pf_request_window
=
NULL
;
getIntf
()
->
pf_release_window
=
NULL
;
getIntf
()
->
pf_control_window
=
NULL
;
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"intf-change"
,
onIntfChange
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"playlist-current"
,
onPlaylistChange
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"item-change"
,
onItemChange
,
this
);
}
}
...
...
modules/gui/wxwindows/bookmarks.cpp
View file @
4667e2d7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* bookmarks.cpp : wxWindows plugin for vlc
* bookmarks.cpp : wxWindows plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2004 VideoLAN
* Copyright (C) 2000-2004 VideoLAN
* $Id
: bookmarks.cpp 6961 2004-03-05 17:34:23Z sam
$
* $Id$
*
*
* Authors: Gildas Bazin <gbazin@videolan.org>
* Authors: Gildas Bazin <gbazin@videolan.org>
*
*
...
@@ -167,9 +167,8 @@ BookmarksDialog::~BookmarksDialog()
...
@@ -167,9 +167,8 @@ BookmarksDialog::~BookmarksDialog()
FIND_ANYWHERE
);
FIND_ANYWHERE
);
if
(
p_playlist
)
if
(
p_playlist
)
{
{
/* Some global changes happened -> Rebuild all */
var_DelCallback
(
p_playlist
,
"playlist-current"
,
var_DelCallback
(
p_playlist
,
"intf-change"
,
PlaylistChanged
,
this
);
PlaylistChanged
,
this
);
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
}
}
}
...
...
modules/gui/wxwindows/video.cpp
View file @
4667e2d7
...
@@ -130,6 +130,10 @@ VideoWindow::~VideoWindow()
...
@@ -130,6 +130,10 @@ VideoWindow::~VideoWindow()
if
(
vout_Control
(
p_vout
,
VOUT_REPARENT
)
!=
VLC_SUCCESS
)
if
(
vout_Control
(
p_vout
,
VOUT_REPARENT
)
!=
VLC_SUCCESS
)
vout_Control
(
p_vout
,
VOUT_CLOSE
);
vout_Control
(
p_vout
,
VOUT_CLOSE
);
}
}
p_intf
->
pf_request_window
=
NULL
;
p_intf
->
pf_release_window
=
NULL
;
p_intf
->
pf_control_window
=
NULL
;
vlc_mutex_unlock
(
&
lock
);
vlc_mutex_unlock
(
&
lock
);
vlc_mutex_destroy
(
&
lock
);
vlc_mutex_destroy
(
&
lock
);
...
...
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