From 99e7180e0c1016001503d01869cf6221f104669b Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 9 Nov 2010 16:27:06 +0100 Subject: [PATCH] examples: Fix for latest GstDiscoverer API changes --- tests/examples/concatenate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/examples/concatenate.c b/tests/examples/concatenate.c index 6fe8e31990..1f12e7387a 100644 --- a/tests/examples/concatenate.c +++ b/tests/examples/concatenate.c @@ -61,7 +61,9 @@ make_profile_from_info (GstDiscovererInfo * info) profile = gst_encoding_profile_new ((gchar *) "concatenate", gst_discoverer_stream_info_get_caps (sinfo), NULL, FALSE); - substreams = gst_discoverer_container_info_get_streams (sinfo); + substreams = + gst_discoverer_container_info_get_streams ((GstDiscovererContainerInfo + *) sinfo); /* For each on the formats add stream profiles */ for (tmp = substreams; tmp; tmp = tmp->next) {