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
04cfbc32
Commit
04cfbc32
authored
Apr 17, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused i_enabled member from the playlist struct
parent
b2881da9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
11 deletions
+3
-11
include/vlc_playlist.h
include/vlc_playlist.h
+0
-2
modules/gui/qt4/menus.cpp
modules/gui/qt4/menus.cpp
+1
-1
modules/gui/wince/interface.cpp
modules/gui/wince/interface.cpp
+1
-1
modules/gui/wince/iteminfo.cpp
modules/gui/wince/iteminfo.cpp
+0
-5
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/interface.cpp
+1
-1
src/playlist/item.c
src/playlist/item.c
+0
-1
No files found.
include/vlc_playlist.h
View file @
04cfbc32
...
...
@@ -170,8 +170,6 @@ struct playlist_t
}
**
pp_sds
;
int
i_sds
;
/**< Number of service discovery modules */
int
i_enabled
;
/**< How many items are enabled ? */
playlist_item_array_t
items
;
/**< Arrays of items */
playlist_item_array_t
all_items
;
/**< Array of items and nodes */
...
...
modules/gui/qt4/menus.cpp
View file @
04cfbc32
...
...
@@ -508,7 +508,7 @@ void QVLCMenu::PopupMenuControlEntries( QMenu *menu,
addMIMStaticEntry
(
p_intf
,
menu
,
qtr
(
"Play"
),
""
,
":/pixmaps/play_16px.png"
,
SLOT
(
togglePlayPause
()
)
);
}
else
if
(
THEPL
->
items
.
i_size
&&
THEPL
->
i_enabled
)
else
if
(
THEPL
->
items
.
i_size
)
addMIMStaticEntry
(
p_intf
,
menu
,
qtr
(
"Play"
),
""
,
":/pixmaps/play_16px.png"
,
SLOT
(
togglePlayPause
()
)
);
...
...
modules/gui/wince/interface.cpp
View file @
04cfbc32
...
...
@@ -638,7 +638,7 @@ void Interface::OnPlayStream( void )
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
if
(
p_playlist
==
NULL
)
return
;
if
(
p_playlist
->
i_size
&&
p_playlist
->
i_enabled
)
if
(
p_playlist
->
i_size
)
{
vlc_value_t
state
;
...
...
modules/gui/wince/iteminfo.cpp
View file @
04cfbc32
...
...
@@ -274,11 +274,6 @@ void ItemInfoDialog::OnOk()
if
(
p_playlist
!=
NULL
)
{
b_state
=
SendMessage
(
enabled_checkbox
,
BM_GETCHECK
,
0
,
0
);
if
(
b_old_enabled
==
false
&&
(
b_state
&
BST_CHECKED
)
)
p_playlist
->
i_enabled
++
;
else
if
(
b_old_enabled
==
true
&&
(
b_state
&
BST_UNCHECKED
)
)
p_playlist
->
i_enabled
--
;
vlc_object_release
(
p_playlist
);
}
...
...
modules/gui/wxwidgets/interface.cpp
View file @
04cfbc32
...
...
@@ -1080,7 +1080,7 @@ void Interface::PlayStream()
FIND_ANYWHERE
);
if
(
p_playlist
==
NULL
)
return
;
if
(
!
playlist_IsEmpty
(
p_playlist
)
&&
p_playlist
->
i_enabled
)
if
(
!
playlist_IsEmpty
(
p_playlist
)
)
{
vlc_value_t
state
;
...
...
src/playlist/item.c
View file @
04cfbc32
...
...
@@ -808,7 +808,6 @@ static void AddItem( playlist_t *p_playlist, playlist_item_t *p_item,
{
ARRAY_APPEND
(
p_playlist
->
items
,
p_item
);
ARRAY_APPEND
(
p_playlist
->
all_items
,
p_item
);
p_playlist
->
i_enabled
++
;
if
(
i_pos
==
PLAYLIST_END
)
playlist_NodeAppend
(
p_playlist
,
p_item
,
p_node
);
...
...
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