[SCM] easytag/master: Add patch to fix crash when writing playlists. (Closes: #798304)
jcowgill-guest at users.alioth.debian.org
jcowgill-guest at users.alioth.debian.org
Tue Sep 8 18:01:29 UTC 2015
The following commit has been merged in the master branch:
commit 51a4b31c97ceffa60e5474faa05ce7a17a3efef3
Author: James Cowgill <james410 at cowgill.org.uk>
Date: Tue Sep 8 17:53:41 2015 +0100
Add patch to fix crash when writing playlists. (Closes: #798304)
diff --git a/debian/patches/0002-Fix-crash-when-writing-playlists.patch b/debian/patches/0002-Fix-crash-when-writing-playlists.patch
new file mode 100644
index 0000000..f32ea7c
--- /dev/null
+++ b/debian/patches/0002-Fix-crash-when-writing-playlists.patch
@@ -0,0 +1,29 @@
+From 9a2cb0f166270d847c1f1cc6568716c4d8c44a7e Mon Sep 17 00:00:00 2001
+From: James Cowgill <james410 at cowgill.org.uk>
+Date: Tue, 8 Sep 2015 17:49:13 +0100
+Subject: [PATCH] Fix crash when writing playlists
+
+The error was caused by reading the 'rename-convert-spaces' setting with
+g_settings_get_flags instead of g_settings_get_enum.
+---
+ src/playlist_dialog.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/playlist_dialog.c b/src/playlist_dialog.c
+index 697b8ad..a554f4f 100644
+--- a/src/playlist_dialog.c
++++ b/src/playlist_dialog.c
+@@ -461,8 +461,8 @@ write_button_clicked (EtPlaylistDialog *self)
+ g_free (temp);
+
+ /* Replace Characters (with scanner). */
+- convert_mode = g_settings_get_flags (MainSettings,
+- "rename-convert-spaces");
++ convert_mode = g_settings_get_enum (MainSettings,
++ "rename-convert-spaces");
+
+ switch (convert_mode)
+ {
+--
+2.5.1
+
diff --git a/debian/patches/series b/debian/patches/series
index 6707ae8..64800f6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Add-missing-case-in-return-value-of-opus_tags_parse.patch
+0002-Fix-crash-when-writing-playlists.patch
--
easytag packaging
More information about the pkg-multimedia-commits
mailing list