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
25ff9ffd
Commit
25ff9ffd
authored
Sep 02, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for random + live search
parent
72d2a5b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
src/playlist/control.c
src/playlist/control.c
+1
-0
src/playlist/search.c
src/playlist/search.c
+1
-0
src/playlist/tree.c
src/playlist/tree.c
+1
-1
No files found.
src/playlist/control.c
View file @
25ff9ffd
...
...
@@ -315,6 +315,7 @@ playlist_item_t * playlist_NextItem( playlist_t *p_playlist )
p_playlist
->
pp_random
[
j
]
=
p_tmp
;
}
p_playlist
->
b_reset_random
=
VLC_FALSE
;
PL_DEBUG
(
"random rebuilt, have %i items"
,
p_playlist
->
i_random
);
}
else
{
...
...
src/playlist/search.c
View file @
25ff9ffd
...
...
@@ -92,6 +92,7 @@ int playlist_LiveSearchUpdate( playlist_t *p_playlist, playlist_item_t *p_root,
const
char
*
psz_string
)
{
int
i
;
p_playlist
->
b_reset_random
=
VLC_TRUE
;
for
(
i
=
0
;
i
<
p_root
->
i_children
;
i
++
)
{
playlist_item_t
*
p_item
=
p_root
->
pp_children
[
i
];
...
...
src/playlist/tree.c
View file @
25ff9ffd
...
...
@@ -368,7 +368,7 @@ int playlist_GetAllEnabledChildren( playlist_t *p_playlist,
while
(
1
)
{
p_next
=
playlist_GetNextLeaf
(
p_playlist
,
p_node
,
p_next
,
VLC_TRUE
,
VLC_
TRU
E
);
p_next
,
VLC_TRUE
,
VLC_
FALS
E
);
if
(
p_next
)
INSERT_ELEM
(
*
ppp_items
,
i_count
,
i_count
,
p_next
);
else
...
...
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