This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: ir-ctl: correct max_size for rc5 and rc5_sz
Author:  Sean Young <[email protected]>
Date:    Fri Apr 19 10:29:01 2024 +0100

These protocols can produce more edges.

Signed-off-by: Sean Young <[email protected]>
(cherry picked from commit 0fed77f778b8ae2f3bc5ec264e73b1b7d065b228)

 utils/common/ir-encode.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=b349f7b63687dd56e1dfa8b1e0b59a7a37c26185
diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c
index 4d43eb9d2e55..069e7feb6d54 100644
--- a/utils/common/ir-encode.c
+++ b/utils/common/ir-encode.c
@@ -379,9 +379,9 @@ static const struct {
 } protocols[] = {
        [RC_PROTO_UNKNOWN] = { "unknown" },
        [RC_PROTO_OTHER] = { "other" },
-       [RC_PROTO_RC5] = { "rc5", 0x1f7f, 24, 36000, rc5_encode },
+       [RC_PROTO_RC5] = { "rc5", 0x1f7f, 25, 36000, rc5_encode },
        [RC_PROTO_RC5X_20] = { "rc5x_20", 0x1f7f3f, 40, 36000, rc5_encode },
-       [RC_PROTO_RC5_SZ] = { "rc5_sz", 0x2fff, 26, 36000, rc5_encode },
+       [RC_PROTO_RC5_SZ] = { "rc5_sz", 0x2fff, 27, 36000, rc5_encode },
        [RC_PROTO_SONY12] = { "sony12", 0x1f007f, 25, 40000, sony_encode },
        [RC_PROTO_SONY15] = { "sony15", 0xff007f, 31, 40000, sony_encode },
        [RC_PROTO_SONY20] = { "sony20", 0x1fff7f, 41, 40000, sony_encode },
@@ -390,7 +390,7 @@ static const struct {
        [RC_PROTO_NECX] = { "necx", 0xffffff, 67, 38000, nec_encode },
        [RC_PROTO_NEC32] = { "nec32", 0xffffffff, 67, 38000, nec_encode },
        [RC_PROTO_SANYO] = { "sanyo", 0x1fffff, 87, 38000, sanyo_encode },
-       [RC_PROTO_RC6_0] = { "rc6_0", 0xffff, 24, 36000, rc6_encode },
+       [RC_PROTO_RC6_0] = { "rc6_0", 0xffff, 41, 36000, rc6_encode },
        [RC_PROTO_RC6_6A_20] = { "rc6_6a_20", 0xfffff, 52, 36000, rc6_encode },
        [RC_PROTO_RC6_6A_24] = { "rc6_6a_24", 0xffffff, 60, 36000, rc6_encode },
        [RC_PROTO_RC6_6A_32] = { "rc6_6a_32", 0xffffffff, 76, 36000, rc6_encode 
},

Reply via email to