mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
formatter: Keep timeline duration as a meta
This commit is contained in:
parent
f661c3ea55
commit
ec28489b84
1 changed files with 2 additions and 0 deletions
|
@ -1006,6 +1006,8 @@ _save_timeline (GString * str, GESTimeline * timeline)
|
||||||
properties = _serialize_properties (G_OBJECT (timeline), "update", "name",
|
properties = _serialize_properties (G_OBJECT (timeline), "update", "name",
|
||||||
"async-handling", "message-forward", NULL);
|
"async-handling", "message-forward", NULL);
|
||||||
|
|
||||||
|
ges_meta_container_set_uint64 (GES_META_CONTAINER (timeline), "duration",
|
||||||
|
ges_timeline_get_duration (timeline));
|
||||||
metas = ges_meta_container_metas_to_string (GES_META_CONTAINER (timeline));
|
metas = ges_meta_container_metas_to_string (GES_META_CONTAINER (timeline));
|
||||||
append_escaped (str,
|
append_escaped (str,
|
||||||
g_markup_printf_escaped
|
g_markup_printf_escaped
|
||||||
|
|
Loading…
Reference in a new issue