diff --git a/subprojects/gst-editing-services/ges/ges-meta-container.c b/subprojects/gst-editing-services/ges/ges-meta-container.c index 0def3e62e8..d87b487eca 100644 --- a/subprojects/gst-editing-services/ges/ges-meta-container.c +++ b/subprojects/gst-editing-services/ges/ges-meta-container.c @@ -235,11 +235,16 @@ _set_value (GESMetaContainer * container, const gchar * meta_item, gchar *val = gst_value_serialize (value); if (val == NULL) { - GST_WARNING_OBJECT (container, "Could not set value on item: %s", - meta_item); + if (G_VALUE_TYPE (value) == G_TYPE_STRING) { + val = g_strdup (""); + } else { + GST_WARNING_OBJECT (container, + "Could not serialize value for: %s of type %s", meta_item, + G_VALUE_TYPE_NAME (value)); - g_free (val); - return FALSE; + g_free (val); + return FALSE; + } } structure = _meta_container_get_structure (container); @@ -273,7 +278,8 @@ _can_write_value (GESMetaContainer * container, const gchar * item_name, return TRUE; if ((static_item->flags & GES_META_WRITABLE) == FALSE) { - GST_WARNING_OBJECT (container, "Can not write %s", item_name); + GST_WARNING_OBJECT (container, "Can not write %s of type %s", item_name, + g_type_name (type)); return FALSE; } diff --git a/subprojects/gst-editing-services/ges/ges-uri-asset.c b/subprojects/gst-editing-services/ges/ges-uri-asset.c index c917a801cc..7ba08bca16 100644 --- a/subprojects/gst-editing-services/ges/ges-uri-asset.c +++ b/subprojects/gst-editing-services/ges/ges-uri-asset.c @@ -330,9 +330,14 @@ _create_uri_source_asset (GESUriClipAsset * asset, g_strdup (gst_discoverer_stream_info_get_stream_id (sinfo)); if (stream_id == NULL) { - GST_WARNING_OBJECT (asset, - "No stream ID, ignoring stream info: %p off type: %s", sinfo, - ges_track_type_name (type)); + if (type != GES_TRACK_TYPE_UNKNOWN) { + GST_WARNING_OBJECT (asset, + "No stream ID, ignoring stream info: %p off type: %s", sinfo, + ges_track_type_name (type)); + } else { + GST_INFO_OBJECT (asset, "No stream ID, ignoring stream info: %p", sinfo); + } + return; }