Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
medialibrary
Commits
bba19da1
Commit
bba19da1
authored
Dec 21, 2016
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Thumbnailer: Minor simplification
parent
c69b8e6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/metadata_services/vlc/VLCThumbnailer.cpp
src/metadata_services/vlc/VLCThumbnailer.cpp
+1
-2
No files found.
src/metadata_services/vlc/VLCThumbnailer.cpp
View file @
bba19da1
...
...
@@ -182,8 +182,7 @@ parser::Task::Status VLCThumbnailer::startPlayback( parser::Task& task, VLC::Med
if
(
task
.
media
->
type
()
==
Media
::
Type
::
Unknown
)
{
task
.
media
->
setType
(
Media
::
Type
::
Audio
);
if
(
task
.
media
->
save
()
==
false
)
return
parser
::
Task
::
Status
::
Fatal
;
task
.
media
->
save
();
// We still return an error since we don't want to attempt the thumbnail generation for a
// file without video tracks
}
...
...
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