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
c1f6dc8d
Commit
c1f6dc8d
authored
Sep 17, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: removes useless variable, only preparse files
parent
f173b636
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
src/playlist/engine.c
src/playlist/engine.c
+3
-16
No files found.
src/playlist/engine.c
View file @
c1f6dc8d
...
...
@@ -497,17 +497,8 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
PL_LOCK
;
if
(
p_current
)
{
vlc_bool_t
b_preparsed
=
VLC_FALSE
;
if
(
strncmp
(
p_current
->
psz_uri
,
"http:"
,
5
)
&&
strncmp
(
p_current
->
psz_uri
,
"rtsp:"
,
5
)
&&
strncmp
(
p_current
->
psz_uri
,
"udp:"
,
4
)
&&
strncmp
(
p_current
->
psz_uri
,
"mms:"
,
4
)
&&
strncmp
(
p_current
->
psz_uri
,
"cdda:"
,
4
)
&&
strncmp
(
p_current
->
psz_uri
,
"dvd:"
,
4
)
&&
strncmp
(
p_current
->
psz_uri
,
"v4l:"
,
4
)
&&
strncmp
(
p_current
->
psz_uri
,
"dshow:"
,
6
)
)
if
(
!
strncmp
(
p_current
->
psz_uri
,
"file:"
,
5
)
)
{
b_preparsed
=
VLC_TRUE
;
stats_TimerStart
(
p_playlist
,
"Preparse run"
,
STATS_TIMER_PREPARSE
);
/* Do not preparse if it is already done (like by playing it) */
...
...
@@ -518,15 +509,11 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
PL_LOCK
;
}
stats_TimerStop
(
p_playlist
,
STATS_TIMER_PREPARSE
);
}
PL_UNLOCK
;
if
(
b_preparsed
)
{
PL_UNLOCK
;
input_item_SetPreparsed
(
p_current
,
VLC_TRUE
);
var_SetInteger
(
p_playlist
,
"item-change"
,
p_current
->
i_id
);
PL_LOCK
;
}
PL_LOCK
;
/* If we haven't retrieved enough meta, add to secondary queue
* which will run the "meta fetchers".
* This only checks for meta, not for art
...
...
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