aggregator: For the start time selection, only set the segment position
authorSebastian Dröge <sebastian@centricular.com>
Wed, 30 Sep 2015 17:03:05 +0000 (19:03 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 1 Oct 2015 15:40:59 +0000 (17:40 +0200)
segment.time and segment.start can stay the same, and were always the same
before anyway because of a mistake.

https://bugzilla.gnome.org/show_bug.cgi?id=755623

gst-libs/gst/base/gstaggregator.c

index b3706de..26d48a3 100644 (file)
@@ -2216,8 +2216,6 @@ gst_aggregator_pad_chain_internal (GstAggregator * self,
         self->segment.position = start_time;
       else
         self->segment.position = MIN (start_time, self->segment.position);
-      self->segment.start = MIN (start_time, self->segment.start);
-      self->segment.time = MIN (start_time, self->segment.time);
 
       GST_DEBUG_OBJECT (self, "Selecting start time %" GST_TIME_FORMAT,
           GST_TIME_ARGS (start_time));