[gegl] gcut: fix relative time offsets of animations for seconds time scale
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gcut: fix relative time offsets of animations for seconds time scale
- Date: Mon, 7 Aug 2017 00:19:08 +0000 (UTC)
commit 07d4f7836977e36a811caf56ace4144e5f1ede79
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Aug 7 02:17:37 2017 +0200
gcut: fix relative time offsets of animations for seconds time scale
gcut/clip.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gcut/clip.c b/gcut/clip.c
index 92ba4cf..8cb6d71 100644
--- a/gcut/clip.c
+++ b/gcut/clip.c
@@ -385,7 +385,7 @@ static void clip_rig_chain (Clip *clip, double clip_pos)
else
gegl_node_link_many (clip->chain_loader, clip->loader, NULL);
- gegl_create_chain (clip->path, clip->chain_loader, clip->loader, clip_pos - clip->start,
+ gegl_create_chain (clip->path, clip->chain_loader, clip->loader, clip_pos,
edl->height,
NULL, NULL);//&error);
}
@@ -393,7 +393,7 @@ static void clip_rig_chain (Clip *clip, double clip_pos)
if (clip->filter_graph)
{
GError *error = NULL;
- gegl_create_chain (clip->filter_graph, clip->nop_scaled, clip->nop_crop, clip_pos - clip->start,
edl->height, NULL, &error);
+ gegl_create_chain (clip->filter_graph, clip->nop_scaled, clip->nop_crop, clip_pos, edl->height, NULL,
&error);
if (error)
{
/* should set error string */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]