mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
ges-asset: Propagate errors from GInitable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5981>
This commit is contained in:
parent
86ab695e8d
commit
a5e8dedff0
1 changed files with 1 additions and 3 deletions
|
@ -1308,10 +1308,8 @@ ges_asset_request (GType extractable_type, const gchar * id, GError ** error)
|
|||
iface = g_type_interface_peek (klass, G_TYPE_INITABLE);
|
||||
|
||||
if (iface->init) {
|
||||
/* FIXME: allow the error to be set, which GInitable is designed
|
||||
* for! */
|
||||
asset = g_initable_new (asset_type,
|
||||
NULL, NULL, "id", real_id, "extractable-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",
|
||||
|
|
Loading…
Reference in a new issue