mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
parse: Make sure to create and link chains in the order as written
Make this work again: audiotestsrc ! tee name=t t.src_0 ! queue ! fakesink t.src_1 ! queue ! fakesink and this fail again: audiotestsrc ! tee name=t t.src_1 ! queue ! fakesink t.src_0 ! queue ! fakesink as tee just counts itself and does not care about the pad names we request from it.
This commit is contained in:
parent
156d925cff
commit
f15f4ec8aa
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static void add_missing_element(graph_t *graph,gchar *name){
|
||||||
(l)->src.element); \
|
(l)->src.element); \
|
||||||
gst_parse_free_link (l); \
|
gst_parse_free_link (l); \
|
||||||
}else{ \
|
}else{ \
|
||||||
graph->links = g_slist_prepend (graph->links, l ); \
|
graph->links = g_slist_append (graph->links, l ); \
|
||||||
} \
|
} \
|
||||||
} G_STMT_END
|
} G_STMT_END
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue