asset: Do not warn on ges_asset_request
for UriClipAsset
It is a common pattern to request UriClip asset sync to check if it is in the cache and it is not a problem. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9126>
This commit is contained in:
parent
bb2ce4e904
commit
d83ad4379e
@ -1330,8 +1330,11 @@ ges_asset_request (GType extractable_type, const gchar * id, GError ** error)
|
||||
asset = g_initable_new (asset_type,
|
||||
NULL, error, "id", real_id, "extractable-type",
|
||||
extractable_type, NULL);
|
||||
} else {
|
||||
GST_INFO ("Tried to create an Asset for type %s but no ->init method",
|
||||
if (!asset)
|
||||
GST_WARNING ("Unable to create asset for %s(->%s) for type %s",
|
||||
id, real_id, g_type_name (asset_type));
|
||||
} else if (!g_type_is_a (extractable_type, GES_TYPE_URI_CLIP)) {
|
||||
GST_WARNING ("Tried to create an Asset for type %s but no ->init method",
|
||||
g_type_name (extractable_type));
|
||||
}
|
||||
g_type_class_unref (klass);
|
||||
|
Loading…
x
Reference in New Issue
Block a user