[SCM] gsequencer/master: fixed uninitialized variables
jkraehemann-guest at users.alioth.debian.org
jkraehemann-guest at users.alioth.debian.org
Fri Mar 17 11:32:33 UTC 2017
The following commit has been merged in the master branch:
commit a4bf5e5cbfa9a3ae391347c175807d59dfaf9c07
Author: Joël Krähemann <jkraehemann-guest at users.alioth.debian.org>
Date: Fri Mar 17 00:51:31 2017 +0100
fixed uninitialized variables
diff --git a/debian/patches/fix-missing-dispose.diff b/debian/patches/fix-missing-dispose.diff
index 53bec93..a382829 100644
--- a/debian/patches/fix-missing-dispose.diff
+++ b/debian/patches/fix-missing-dispose.diff
@@ -1532,7 +1532,19 @@
GType ags_pattern_get_type();
--- a/ags/audio/ags_playback.c
+++ b/ags/audio/ags_playback.c
-@@ -39,12 +39,28 @@
+@@ -22,9 +22,10 @@
+ #include <ags/object/ags_connectable.h>
+
+ #include <ags/audio/ags_recall_id.h>
+-#include <ags/audio/thread/ags_iterator_thread.h>
+
+ #include <ags/audio/thread/ags_channel_thread.h>
++#include <ags/audio/thread/ags_iterator_thread.h>
++#include <ags/audio/thread/ags_recycling_thread.h>
+
+ /**
+ * SECTION:ags_playback
+@@ -39,12 +40,28 @@
void ags_playback_class_init(AgsPlaybackClass *playback);
void ags_playback_connectable_interface_init(AgsConnectableInterface *connectable);
void ags_playback_init(AgsPlayback *playback);
@@ -1561,7 +1573,7 @@
GType
ags_playback_get_type (void)
{
-@@ -93,7 +109,62 @@
+@@ -93,7 +110,62 @@
/* GObjectClass */
gobject = (GObjectClass *) playback;
@@ -1624,7 +1636,7 @@
}
void
-@@ -108,9 +179,120 @@
+@@ -108,9 +180,123 @@
void
ags_playback_init(AgsPlayback *playback)
{
@@ -1640,6 +1652,9 @@
+ config = ags_config_get_instance();
+
+ /* thread model */
++ super_threaded_channel = FALSE;
++ super_threaded_recycling = FALSE;
++
+ str0 = ags_config_get_value(config,
+ AGS_CONFIG_THREAD,
+ "model\0");
@@ -1747,7 +1762,7 @@
/* super threaded channel */
playback->channel_thread = (AgsThread **) malloc(3 * sizeof(AgsThread *));
-@@ -119,13 +301,34 @@
+@@ -119,13 +305,34 @@
playback->channel_thread[1] = NULL;
playback->channel_thread[2] = NULL;
@@ -1786,7 +1801,7 @@
/* super threaded recycling */
playback->recycling_thread = (AgsThread **) malloc(3 * sizeof(AgsThread *));
-@@ -133,11 +336,21 @@
+@@ -133,11 +340,21 @@
playback->recycling_thread[1] = NULL;
playback->recycling_thread[2] = NULL;
@@ -1813,7 +1828,7 @@
playback->recall_id = (AgsRecallID **) malloc(3 * sizeof(AgsRecallID *));
playback->recall_id[0] = NULL;
-@@ -146,17 +359,295 @@
+@@ -146,17 +363,295 @@
}
void
@@ -2113,7 +2128,7 @@
/* call parent */
G_OBJECT_CLASS(ags_playback_parent_class)->finalize(gobject);
-@@ -165,13 +656,250 @@
+@@ -165,13 +660,250 @@
void
ags_playback_connect(AgsConnectable *connectable)
{
--
gsequencer packaging
More information about the pkg-multimedia-commits
mailing list