ges: test-clip: Fix setting children asset ids

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/918>
This commit is contained in:
Thibault Saunier 2020-05-23 19:17:35 -04:00 committed by GStreamer Marge Bot
parent 388ad9e574
commit 526f00b07f

View file

@ -532,7 +532,7 @@ ges_test_clip_create_track_element (GESClip * clip, GESTrackType type)
gst_structure_from_string (ges_asset_get_id (asset), NULL); gst_structure_from_string (ges_asset_get_id (asset), NULL);
if (structure) { if (structure) {
id = g_strdup (gst_structure_get_name (structure)); id = gst_structure_to_string (structure);
gst_structure_free (structure); gst_structure_free (structure);
} }
} }