basesrc: Remove unused assignment in perform_seek()

https://bugzilla.gnome.org/show_bug.cgi?id=748345
This commit is contained in:
Changbok Chea 2015-04-23 09:06:42 +09:00 committed by Tim-Philipp Müller
parent 6237314ee0
commit 60706692b3

View file

@ -1706,12 +1706,6 @@ gst_base_src_perform_seek (GstBaseSrc * src, GstEvent * event, gboolean unlock)
gst_element_post_message (GST_ELEMENT (src), message);
}
/* for deriving a stop position for the playback segment from the seek
* segment, we must take the duration when the stop is not set */
/* FIXME: This is never used below */
if ((stop = seeksegment.stop) == -1)
stop = seeksegment.duration;
src->priv->segment_pending = TRUE;
src->priv->segment_seqnum = seqnum;
}