Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
a838a72f
Commit
a838a72f
authored
Jul 10, 2011
by
Rémi Denis-Courmont
Browse files
playlist preparse and fetch: return error if appropriate
parent
6a80bb9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/playlist/control.c
View file @
a838a72f
...
...
@@ -203,9 +203,9 @@ int playlist_PreparseEnqueue( playlist_t *p_playlist, input_item_t *p_item )
{
playlist_private_t
*
p_sys
=
pl_priv
(
p_playlist
);
if
(
p_sys
->
p_preparser
)
playlist_preparser_Push
(
p_sys
->
p_preparser
,
p_item
)
;
if
(
unlikely
(
p_sys
->
p_preparser
==
NULL
)
)
return
VLC_ENOMEM
;
playlist_preparser_Push
(
p_sys
->
p_preparser
,
p_item
);
return
VLC_SUCCESS
;
}
...
...
@@ -213,9 +213,9 @@ int playlist_AskForArtEnqueue( playlist_t *p_playlist, input_item_t *p_item )
{
playlist_private_t
*
p_sys
=
pl_priv
(
p_playlist
);
if
(
p_sys
->
p_fetcher
)
playlist_fetcher_Push
(
p_sys
->
p_fetcher
,
p_item
)
;
if
(
unlikely
(
p_sys
->
p_fetcher
==
NULL
)
)
return
VLC_ENOMEM
;
playlist_fetcher_Push
(
p_sys
->
p_fetcher
,
p_item
);
return
VLC_SUCCESS
;
}
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