Skip to content

Commit

Permalink
Fix decoding bug. Resolves #531.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmartensson committed Jun 1, 2024
1 parent 140d325 commit 797b147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/harctoolbox/irscrutinizer/GuiMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ private void setCaptureWindow(IrSignal irSignal) {
}

private void setDecodeIrParameters(IrSignal irSignal) {
Decoder.AbstractDecodesCollection<? extends ElementaryDecode> decodes = decoder.decodeLoose(irSignal, decoderParameters);
Decoder.AbstractDecodesCollection<? extends ElementaryDecode> decodes = decoder.decodeIrSignalWithFallback(irSignal, decoderParameters);
setDecodeResult(decodes);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private void setIrSignal(IrSignal irSignal, Decoder.AbstractDecodesCollection<?
}

private void setIrSignal(IrSignal irSignal) {
setIrSignal(irSignal, irSignal != null && invokeDecoder ? decoder.decodeLoose(irSignal, decoderParameters) : null);
setIrSignal(irSignal, irSignal != null && invokeDecoder ? decoder.decodeIrSignalWithFallback(irSignal, decoderParameters) : null);
}

private void setIrSignal(ModulatedIrSequence irSequence) {
Expand Down

0 comments on commit 797b147

Please sign in to comment.