Skip to content

Commit

Permalink
fix(platform/website): reset status in profile settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkloock authored and TroyKomodo committed Jan 14, 2024
1 parent 092cc67 commit 420707a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl<'data> FfmpegDecoder<'data> {
let input_stream_duration = input_stream.duration().unwrap_or(0);
let input_stream_frames = input_stream
.nb_frames()
.ok_or_else(|| ProcessorError::FfmpegDecode(anyhow!("no frame count")))?
.ok_or_else(|| ProcessorError::FfmpegDecode(DecoderError::Other(anyhow!("no frame count"))))?
.max(1);

if input_stream_time_base.den == 0 || input_stream_time_base.num == 0 {
Expand Down
1 change: 1 addition & 0 deletions platform/website/src/routes/settings/profile/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@
})
.catch((err) => {
fileError = err;
status = Status.Unchanged;
});
}
}
Expand Down

0 comments on commit 420707a

Please sign in to comment.