From 1ab3d2b175e044871c924ec1d21c12a0537d35f3 Mon Sep 17 00:00:00 2001 From: thor Date: Mon, 30 Dec 2024 15:52:11 +0000 Subject: [PATCH 1/2] version: will be 1.32.11 git-svn-id: svn://scm.orgis.org/mpg123/trunk@5472 35dc7657-300d-0410-a2e5-dc2837fedb53 --- src/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/version.h b/src/version.h index 0f96cf22..7d59c945 100644 --- a/src/version.h +++ b/src/version.h @@ -16,7 +16,7 @@ // only single spaces as separator to ease parsing by build scripts #define MPG123_MAJOR 1 #define MPG123_MINOR 32 -#define MPG123_PATCH 10 +#define MPG123_PATCH 11 // Don't get too wild with that to avoid confusing m4. No brackets. // Also, it should fit well into a sane file name for the tarball. #define MPG123_SUFFIX "-dev" From ccc08257e182e22ec1e71231c5183a9330d353e8 Mon Sep 17 00:00:00 2001 From: thor Date: Mon, 30 Dec 2024 15:52:43 +0000 Subject: [PATCH 2/2] mpg123: handle filename encoding on printout for after playback git-svn-id: svn://scm.orgis.org/mpg123/trunk@5473 35dc7657-300d-0410-a2e5-dc2837fedb53 --- NEWS | 1 + src/mpg123.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index bb4e7589..8e1a633b 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 1.32.11 ------ +- mpg123: Fix printout of filenames at end (convert/limit text encoding). - libout123: -- modules/win32: Align waveOutGetDevCapsA to WAVEOUTCAPSA, in anticipation of some UNICODE change. diff --git a/src/mpg123.c b/src/mpg123.c index 7a2270a8..b4b8dc49 100644 --- a/src/mpg123.c +++ b/src/mpg123.c @@ -1515,7 +1515,9 @@ int main(int sys_argc, char ** sys_argv) fprintf(stderr, "This was a Frankenstein track.\n"); position_info(mh, 0, ao, NULL, NULL, &secs, NULL, NULL, NULL); - fprintf(stderr,"[%d:%02d] Decoding of %s finished.\n", (int)(secs / 60), ((int)secs) % 60, filename); + fprintf(stderr,"[%d:%02d] Decoding of ", (int)(secs / 60), ((int)secs) % 60); + print_outstr(stderr, filename, 0, stderr_is_term); + fprintf(stderr," finished.\n"); } else if(param.verbose) fprintf(stderr, "\n");