mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
examples: Fix for latest GstDiscoverer API changes
This commit is contained in:
parent
e4d5e6e4d1
commit
99e7180e0c
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue