[SCM] libgroove/upstream: playlist: fix case where filter graph was not being rebuilt. closes #65

andrewrk-guest at users.alioth.debian.org andrewrk-guest at users.alioth.debian.org
Sat May 31 19:00:02 UTC 2014


The following commit has been merged in the upstream branch:
commit 027b61edf383dfb661e2d0c3122f0ec58eb13250
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Sun May 25 14:53:51 2014 -0700

    playlist: fix case where filter graph was not being rebuilt. closes #65

diff --git a/groove/playlist.c b/groove/playlist.c
index ead4980..fd54376 100644
--- a/groove/playlist.c
+++ b/groove/playlist.c
@@ -793,10 +793,11 @@ static int add_sink_to_map(struct GroovePlaylist *playlist, struct GrooveSink *s
             return 0;
         }
         // maybe we need to swap the example sink with the new sink to make
-        // it work
+        // it work. In this case we need to rebuild the filter graph.
         if (sink_formats_compatible(sink, example_sink)) {
             stack_entry->next = map_item->stack_head;
             map_item->stack_head = stack_entry;
+            p->rebuild_filter_graph_flag = 1;
             return 0;
         }
         map_item = map_item->next;

-- 
libgroove packaging



More information about the pkg-multimedia-commits mailing list