Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
12a8c6c2
Commit
12a8c6c2
authored
Oct 22, 2015
by
Hugo Beauzée-Luyssen
Browse files
VLCThumbnailer: If we don't have a valid type, abort the parsing process
parent
2cf6ab57
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/metadata_services/vlc/VLCThumbnailer.cpp
View file @
12a8c6c2
...
...
@@ -57,7 +57,7 @@ void VLCThumbnailer::run(std::shared_ptr<Media> file, void *data )
// If we don't know the file type yet, it actually looks more like a bug
// since this should run after file type deduction, and not run in case
// that step fails.
m_cb
->
done
(
file
,
Status
::
Error
,
data
);
m_cb
->
done
(
file
,
Status
::
Fatal
,
data
);
return
;
}
else
if
(
file
->
type
()
!=
IMedia
::
Type
::
VideoType
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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