2015-02-17 22:48:12 +00:00
|
|
|
/* GStreamer Editing Services
|
|
|
|
*
|
|
|
|
* Copyright (C) <2015> Thibault Saunier <tsaunier@gnome.org>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2020-03-17 21:13:51 +00:00
|
|
|
#pragma once
|
2015-02-17 22:48:12 +00:00
|
|
|
|
|
|
|
#include <ges/ges.h>
|
|
|
|
|
2016-04-25 12:11:00 +00:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2015-02-17 22:48:12 +00:00
|
|
|
typedef gboolean (*ActionFromStructureFunc) (GESTimeline * timeline,
|
|
|
|
GstStructure * structure,
|
|
|
|
GError ** error);
|
|
|
|
|
2015-02-23 13:48:18 +00:00
|
|
|
G_GNUC_INTERNAL gboolean
|
|
|
|
_ges_add_remove_keyframe_from_struct (GESTimeline * timeline,
|
2015-02-17 22:48:12 +00:00
|
|
|
GstStructure * structure,
|
|
|
|
GError ** error);
|
|
|
|
G_GNUC_INTERNAL gboolean
|
|
|
|
_ges_add_clip_from_struct (GESTimeline * timeline,
|
|
|
|
GstStructure * structure,
|
|
|
|
GError ** error);
|
|
|
|
|
2021-01-12 18:55:52 +00:00
|
|
|
G_GNUC_INTERNAL gboolean
|
|
|
|
_ges_add_track_from_struct (GESTimeline * timeline,
|
|
|
|
GstStructure * structure,
|
|
|
|
GError ** error);
|
|
|
|
|
2015-02-23 13:48:18 +00:00
|
|
|
G_GNUC_INTERNAL gboolean
|
2015-02-17 22:48:12 +00:00
|
|
|
_ges_container_add_child_from_struct (GESTimeline * timeline,
|
|
|
|
GstStructure * structure,
|
|
|
|
GError ** error);
|
|
|
|
|
2015-02-23 13:48:18 +00:00
|
|
|
G_GNUC_INTERNAL gboolean
|
2015-02-17 22:48:12 +00:00
|
|
|
_ges_set_child_property_from_struct (GESTimeline * timeline,
|
|
|
|
GstStructure * structure,
|
|
|
|
GError ** error);
|
|
|
|
|
2015-02-23 13:48:18 +00:00
|
|
|
G_GNUC_INTERNAL GESAsset *
|
|
|
|
_ges_get_asset_from_timeline (GESTimeline * timeline,
|
2015-02-17 22:48:12 +00:00
|
|
|
GType type,
|
2015-02-23 16:41:59 +00:00
|
|
|
const gchar * id,
|
|
|
|
GError **error);
|
2015-02-23 13:48:18 +00:00
|
|
|
G_GNUC_INTERNAL GESLayer *
|
|
|
|
_ges_get_layer_by_priority (GESTimeline * timeline,
|
2015-02-17 22:48:12 +00:00
|
|
|
gint priority);
|
2019-07-10 14:15:31 +00:00
|
|
|
G_GNUC_INTERNAL gboolean
|
|
|
|
_ges_save_timeline_if_needed (GESTimeline* timeline, GstStructure* structure, GError** error);
|
2015-02-17 22:48:12 +00:00
|
|
|
|
2021-01-15 12:25:11 +00:00
|
|
|
G_GNUC_INTERNAL gboolean
|
|
|
|
_ges_set_control_source_from_struct (GESTimeline * timeline,
|
|
|
|
GstStructure * structure, GError ** error);
|
|
|
|
|
2016-04-25 12:11:00 +00:00
|
|
|
G_END_DECLS
|