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
7a851c17
Commit
7a851c17
authored
Jan 15, 2011
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: cosmetic
parent
e843f24f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.cpp
+6
-12
No files found.
modules/gui/skins2/src/vlcproc.cpp
View file @
7a851c17
...
...
@@ -290,15 +290,12 @@ int VlcProc::onItemAppend( vlc_object_t *pObj, const char *pVariable,
VlcProc
*
pThis
=
(
VlcProc
*
)
pParam
;
playlist_add_t
*
p_add
=
static_cast
<
playlist_add_t
*>
(
newVal
.
p_address
);
CmdGenericPtr
ptrTree
;
CmdPlaytreeAppend
*
pCmdTree
=
new
CmdPlaytreeAppend
(
pThis
->
getIntf
(),
p_add
);
ptrTree
=
CmdGenericPtr
(
pCmdTree
);
CmdPlaytreeAppend
*
pCmdTree
=
new
CmdPlaytreeAppend
(
pThis
->
getIntf
(),
p_add
);
// Push the command in the asynchronous command queue
AsyncQueue
*
pQueue
=
AsyncQueue
::
instance
(
pThis
->
getIntf
()
);
pQueue
->
push
(
ptrTree
,
false
);
pQueue
->
push
(
CmdGenericPtr
(
pCmdTree
)
,
false
);
return
VLC_SUCCESS
;
}
...
...
@@ -310,15 +307,12 @@ int VlcProc::onItemDelete( vlc_object_t *pObj, const char *pVariable,
VlcProc
*
pThis
=
(
VlcProc
*
)
pParam
;
int
i_id
=
newVal
.
i_int
;
CmdGenericPtr
ptrTree
;
CmdPlaytreeDelete
*
pCmdTree
=
new
CmdPlaytreeDelete
(
pThis
->
getIntf
(),
i_id
);
ptrTree
=
CmdGenericPtr
(
pCmdTree
);
CmdPlaytreeDelete
*
pCmdTree
=
new
CmdPlaytreeDelete
(
pThis
->
getIntf
(),
i_id
);
// Push the command in the asynchronous command queue
AsyncQueue
*
pQueue
=
AsyncQueue
::
instance
(
pThis
->
getIntf
()
);
pQueue
->
push
(
ptrTree
,
false
);
pQueue
->
push
(
CmdGenericPtr
(
pCmdTree
)
,
false
);
return
VLC_SUCCESS
;
}
...
...
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