From 69e9acc823d45e63000bad61239db8ab26450ad9 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 15 Sep 2015 11:08:29 +0200 Subject: [PATCH] nle: Stop wrongly set operation segment base time Inside the composition we actually do not need to have any notion of what the timing outside the compositon as we already tweak the segment base time outside the composition. This code was only there to work around https://bugzilla.gnome.org/show_bug.cgi?id=753196 https://bugzilla.gnome.org/show_bug.cgi?id=754893 --- plugins/nle/nleghostpad.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/nle/nleghostpad.c b/plugins/nle/nleghostpad.c index c98364ae7b..ef2ec26704 100644 --- a/plugins/nle/nleghostpad.c +++ b/plugins/nle/nleghostpad.c @@ -281,12 +281,6 @@ translate_incoming_segment (NleObject * object, GstEvent * event) segment.time = 0; }; - if (NLE_IS_OPERATION (object)) { - segment.base = NLE_OPERATION (object)->next_base_time; - GST_INFO_OBJECT (object, "Using operation base time %" GST_TIME_FORMAT, - GST_TIME_ARGS (NLE_OPERATION (object)->next_base_time)); - } - if (G_UNLIKELY (segment.time > G_MAXINT64)) GST_WARNING_OBJECT (object, "Return value too big...");