mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-27 15:34:49 +00:00
Instead of having it all handled by the tool, this way we can set the restriction before clips are added to the timeline, leading to better behavior in term of video images placement in the scene. Without that we would have the clips positioned before setting the restriction caps which leads to weird behavior for the end users. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/227>
65 lines
2.8 KiB
C
65 lines
2.8 KiB
C
/* 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.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <ges/ges.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef gboolean (*ActionFromStructureFunc) (GESTimeline * timeline,
|
|
GstStructure * structure,
|
|
GError ** error);
|
|
|
|
G_GNUC_INTERNAL gboolean
|
|
_ges_add_remove_keyframe_from_struct (GESTimeline * timeline,
|
|
GstStructure * structure,
|
|
GError ** error);
|
|
G_GNUC_INTERNAL gboolean
|
|
_ges_add_clip_from_struct (GESTimeline * timeline,
|
|
GstStructure * structure,
|
|
GError ** error);
|
|
|
|
G_GNUC_INTERNAL gboolean
|
|
_ges_add_track_from_struct (GESTimeline * timeline,
|
|
GstStructure * structure,
|
|
GError ** error);
|
|
|
|
G_GNUC_INTERNAL gboolean
|
|
_ges_container_add_child_from_struct (GESTimeline * timeline,
|
|
GstStructure * structure,
|
|
GError ** error);
|
|
|
|
G_GNUC_INTERNAL gboolean
|
|
_ges_set_child_property_from_struct (GESTimeline * timeline,
|
|
GstStructure * structure,
|
|
GError ** error);
|
|
|
|
G_GNUC_INTERNAL GESAsset *
|
|
_ges_get_asset_from_timeline (GESTimeline * timeline,
|
|
GType type,
|
|
const gchar * id,
|
|
GError **error);
|
|
G_GNUC_INTERNAL GESLayer *
|
|
_ges_get_layer_by_priority (GESTimeline * timeline,
|
|
gint priority);
|
|
G_GNUC_INTERNAL gboolean
|
|
_ges_save_timeline_if_needed (GESTimeline* timeline, GstStructure* structure, GError** error);
|
|
|
|
G_END_DECLS
|