nle: Stop wrongly set operation segment base time
authorThibault Saunier <tsaunier@gnome.org>
Tue, 15 Sep 2015 09:08:29 +0000 (11:08 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Tue, 15 Sep 2015 10:08:00 +0000 (12:08 +0200)
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

index c98364a..ef2ec26 100644 (file)
@@ -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...");