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
ddd8d745
Commit
ddd8d745
authored
Feb 17, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change so that 50 is actually the number of items to be updated at a time
(rather than 50 + 2)
parent
3be81494
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+1
-1
modules/gui/wxwidgets/playlist_manager.cpp
modules/gui/wxwidgets/playlist_manager.cpp
+1
-1
No files found.
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
ddd8d745
...
...
@@ -1520,7 +1520,7 @@ static int ItemAppended( vlc_object_t *p_this, const char *psz_variable,
playlist_add_t
*
p_add
=
(
playlist_add_t
*
)
malloc
(
sizeof
(
playlist_add_t
));
memcpy
(
p_add
,
nval
.
p_address
,
sizeof
(
playlist_add_t
)
);
if
(
p_playlist_dialog
->
i_items_to_append
++
>
50
)
if
(
++
p_playlist_dialog
->
i_items_to_append
>=
50
)
{
/* Too many items waiting to be added, it will be quicker to rebuild
* the whole playlist */
...
...
modules/gui/wxwidgets/playlist_manager.cpp
View file @
ddd8d745
...
...
@@ -562,7 +562,7 @@ static int ItemAppended( vlc_object_t *p_this, const char *psz_variable,
playlist_add_t
*
p_add
=
(
playlist_add_t
*
)
malloc
(
sizeof
(
playlist_add_t
));
memcpy
(
p_add
,
nval
.
p_address
,
sizeof
(
playlist_add_t
)
);
if
(
p_playlist
->
i_items_to_append
++
>
50
)
if
(
++
p_playlist
->
i_items_to_append
>=
50
)
{
/* Too many items waiting to be added, it will be quicker to rebuild
* the whole playlist */
...
...
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