mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
[ENG-828-FIX-2] Actually generate thumbnails (#1033)
damn binary operations
This commit is contained in:
parent
adb78402e0
commit
281b892197
@ -104,7 +104,7 @@ impl MovieDecoder {
|
||||
unsafe {
|
||||
// This needs to remain at 100 or the app will force crash if it comes
|
||||
// across a video with subtitles or any type of corruption.
|
||||
if (*decoder.format_context).probe_score == AVPROBE_SCORE_MAX {
|
||||
if (*decoder.format_context).probe_score != AVPROBE_SCORE_MAX {
|
||||
return Err(ThumbnailerError::CorruptVideo);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user