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
ac3afe50
Commit
ac3afe50
authored
Sep 24, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't notify playlist several times while preparsing
parent
bf7394d3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
52 deletions
+52
-52
include/vlc_input.h
include/vlc_input.h
+1
-0
src/input/control.c
src/input/control.c
+6
-3
src/input/input.c
src/input/input.c
+45
-49
No files found.
include/vlc_input.h
View file @
ac3afe50
...
...
@@ -387,6 +387,7 @@ struct input_thread_t
vlc_bool_t
b_eof
;
vlc_bool_t
b_can_pace_control
;
vlc_bool_t
b_can_pause
;
vlc_bool_t
b_preparsing
;
/* Global state */
int
i_state
;
...
...
src/input/control.c
View file @
ac3afe50
...
...
@@ -195,7 +195,8 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
vlc_mutex_unlock
(
&
p_input
->
input
.
p_item
->
lock
);
NotifyPlaylist
(
p_input
);
if
(
!
p_input
->
b_preparsing
)
NotifyPlaylist
(
p_input
);
}
return
VLC_SUCCESS
;
...
...
@@ -240,7 +241,8 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
if
(
i
>=
p_cat
->
i_infos
)
return
VLC_EGENERIC
;
NotifyPlaylist
(
p_input
);
if
(
!
p_input
->
b_preparsing
)
NotifyPlaylist
(
p_input
);
}
return
VLC_SUCCESS
;
...
...
@@ -270,7 +272,8 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
p_input
->
input
.
p_item
->
psz_name
=
strdup
(
psz_name
);
vlc_mutex_unlock
(
&
p_input
->
input
.
p_item
->
lock
);
NotifyPlaylist
(
p_input
);
if
(
!
p_input
->
b_preparsing
)
NotifyPlaylist
(
p_input
);
return
VLC_SUCCESS
;
}
...
...
src/input/input.c
View file @
ac3afe50
This diff is collapsed.
Click to expand it.
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