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
5f438ca0
Commit
5f438ca0
authored
Jan 21, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't bother creating an input thread for non-file
parent
b44518a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
src/playlist/playlist.c
src/playlist/playlist.c
+18
-3
No files found.
src/playlist/playlist.c
View file @
5f438ca0
...
...
@@ -851,10 +851,25 @@ static void RunPreparse ( playlist_preparse_t *p_obj )
p_current
=
playlist_ItemGetById
(
p_playlist
,
i_current_id
);
if
(
p_current
)
{
input_Preparse
(
p_playlist
,
&
p_current
->
input
);
vlc_bool_t
b_preparsed
=
VLC_FALSE
;
if
(
strncmp
(
p_current
->
input
.
psz_uri
,
"http:"
,
5
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"rtsp:"
,
5
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"udp:"
,
4
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"mms:"
,
4
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"cdda:"
,
4
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"dvd:"
,
4
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"v4l:"
,
4
)
&&
strncmp
(
p_current
->
input
.
psz_uri
,
"dshow:"
,
6
)
)
{
b_preparsed
=
VLC_TRUE
;
input_Preparse
(
p_playlist
,
&
p_current
->
input
);
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
var_SetInteger
(
p_playlist
,
"item-change"
,
p_current
->
input
.
i_id
);
if
(
b_preparsed
)
{
var_SetInteger
(
p_playlist
,
"item-change"
,
p_current
->
input
.
i_id
);
}
}
else
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
...
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