ges:uri-asset: Ignore streams with no ID
Since 0d95d9258b97 we respect the asset stream-id in `GESUriSource` so we can not work with unknown or broken stream ID in the assets. We just ignore them, warning about it and we should fix that in demuxer so they don't expose pad without providing a stream id for them. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1001>
This commit is contained in:
parent
84b357dd5f
commit
a2964eb1ad
@ -365,9 +365,9 @@ _create_uri_source_asset (GESUriClipAsset * asset,
|
||||
g_strdup (gst_discoverer_stream_info_get_stream_id (sinfo));
|
||||
|
||||
if (stream_id == NULL) {
|
||||
GST_WARNING ("No stream ID found, using the pointer instead");
|
||||
|
||||
stream_id = g_strdup_printf ("%i", GPOINTER_TO_INT (sinfo));
|
||||
GST_WARNING ("No stream ID, ignoring %p on %s", sinfo,
|
||||
ges_track_type_name (type));
|
||||
return;
|
||||
}
|
||||
|
||||
if (type == GES_TRACK_TYPE_VIDEO)
|
||||
|
Loading…
x
Reference in New Issue
Block a user