mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 12:38:48 +00:00
ges:uri-asset: Ignore streams with no ID
Since 0d95d9258b
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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue