From 1865abf9f8180e466513913c9433eb0e206c77f3 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 11 Jul 2017 21:55:25 +0200 Subject: [PATCH] Correct the signal name in a Kaeru message. --- kaeru.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kaeru.cpp b/kaeru.cpp index 7049552..425870e 100644 --- a/kaeru.cpp +++ b/kaeru.cpp @@ -149,10 +149,10 @@ void adjust_bitrate(int signal) } else if (signal == SIGUSR2) { new_bitrate -= 100; if (new_bitrate < 100) { - fprintf(stderr, "Ignoring SIGUSR1, can't decrease bitrate below 100 kbit/sec (currently at %d kbit/sec)\n", + fprintf(stderr, "Ignoring SIGUSR2, can't decrease bitrate below 100 kbit/sec (currently at %d kbit/sec)\n", global_flags.x264_bitrate); } else { - fprintf(stderr, "Decreasing bitrate to %d kbit/sec due to SIGUSR1.\n", new_bitrate); + fprintf(stderr, "Decreasing bitrate to %d kbit/sec due to SIGUSR2.\n", new_bitrate); global_flags.x264_bitrate = new_bitrate; global_x264_encoder->change_bitrate(new_bitrate); } -- 2.39.2