examples: Fix for latest GstDiscoverer API changes

This commit is contained in:
Edward Hervey 2010-11-09 16:27:06 +01:00
parent e4d5e6e4d1
commit 99e7180e0c

View file

@ -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) {