[SCM] libgroove/upstream: playlist: fix segfault race condition when adding a sink
andrewrk-guest at users.alioth.debian.org
andrewrk-guest at users.alioth.debian.org
Wed Apr 2 06:29:56 UTC 2014
The following commit has been merged in the upstream branch:
commit d21ba5964d1e548213597fc711d0cf7202722534
Author: Andrew Kelley <superjoe30 at gmail.com>
Date: Thu Mar 27 12:06:20 2014 -0700
playlist: fix segfault race condition when adding a sink
diff --git a/groove/playlist.c b/groove/playlist.c
index 1c4d3cb..a8c3080 100644
--- a/groove/playlist.c
+++ b/groove/playlist.c
@@ -766,6 +766,7 @@ static int add_sink_to_map(struct GroovePlaylist *playlist, struct GrooveSink *s
} else {
p->sink_map = map_entry;
}
+ p->rebuild_filter_graph_flag = 1;
p->sink_map_count += 1;
return 0;
}
--
libgroove packaging
More information about the pkg-multimedia-commits
mailing list