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
c0550de8
Commit
c0550de8
authored
Jan 13, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: remove dead code
intf-change for playlist is never updated
parent
da51738f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
31 deletions
+0
-31
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+0
-26
modules/gui/skins2/src/vlcproc.hpp
modules/gui/skins2/src/vlcproc.hpp
+0
-5
No files found.
modules/gui/skins2/src/vlcproc.cpp
View file @
c0550de8
...
@@ -158,9 +158,6 @@ VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
...
@@ -158,9 +158,6 @@ VlcProc::VlcProc( intf_thread_t *pIntf ): SkinObject( pIntf ),
#undef ADD_CALLBACK
#undef ADD_CALLBACK
// Called when the playlist changes
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"intf-change"
,
onIntfChange
,
this
);
// Called when a playlist item is added
// Called when a playlist item is added
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"playlist-item-append"
,
var_AddCallback
(
pIntf
->
p_sys
->
p_playlist
,
"playlist-item-append"
,
onItemAppend
,
this
);
onItemAppend
,
this
);
...
@@ -219,8 +216,6 @@ VlcProc::~VlcProc()
...
@@ -219,8 +216,6 @@ VlcProc::~VlcProc()
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"repeat"
,
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"repeat"
,
onGenericCallback
,
this
);
onGenericCallback
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"intf-change"
,
onIntfChange
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"playlist-item-append"
,
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"playlist-item-append"
,
onItemAppend
,
this
);
onItemAppend
,
this
);
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"playlist-item-deleted"
,
var_DelCallback
(
getIntf
()
->
p_sys
->
p_playlist
,
"playlist-item-deleted"
,
...
@@ -255,27 +250,6 @@ void VlcProc::CmdManage::execute()
...
@@ -255,27 +250,6 @@ void VlcProc::CmdManage::execute()
}
}
int
VlcProc
::
onIntfChange
(
vlc_object_t
*
pObj
,
const
char
*
pVariable
,
vlc_value_t
oldVal
,
vlc_value_t
newVal
,
void
*
pParam
)
{
VlcProc
*
pThis
=
(
VlcProc
*
)
pParam
;
// Update the stream variable
pThis
->
updateStreamName
();
// Create a playtree notify command (for new style playtree)
CmdPlaytreeChanged
*
pCmdTree
=
new
CmdPlaytreeChanged
(
pThis
->
getIntf
()
);
// Push the command in the asynchronous command queue
AsyncQueue
*
pQueue
=
AsyncQueue
::
instance
(
pThis
->
getIntf
()
);
pQueue
->
push
(
CmdGenericPtr
(
pCmdTree
)
);
return
VLC_SUCCESS
;
}
int
VlcProc
::
onInputNew
(
vlc_object_t
*
pObj
,
const
char
*
pVariable
,
int
VlcProc
::
onInputNew
(
vlc_object_t
*
pObj
,
const
char
*
pVariable
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
pParam
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
pParam
)
{
{
...
...
modules/gui/skins2/src/vlcproc.hpp
View file @
c0550de8
...
@@ -180,11 +180,6 @@ private:
...
@@ -180,11 +180,6 @@ private:
/// Update the stream name variable
/// Update the stream name variable
void
updateStreamName
();
void
updateStreamName
();
/// Callback for intf-change variable
static
int
onIntfChange
(
vlc_object_t
*
pObj
,
const
char
*
pVariable
,
vlc_value_t
oldVal
,
vlc_value_t
newVal
,
void
*
pParam
);
/// Callback for intf-show variable
/// Callback for intf-show variable
static
int
onIntfShow
(
vlc_object_t
*
pObj
,
const
char
*
pVariable
,
static
int
onIntfShow
(
vlc_object_t
*
pObj
,
const
char
*
pVariable
,
vlc_value_t
oldVal
,
vlc_value_t
newVal
,
vlc_value_t
oldVal
,
vlc_value_t
newVal
,
...
...
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