projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6237314
)
basesrc: Remove unused assignment in perform_seek()
author
Changbok Chea
<changbok.chea@gmail.com>
Thu, 23 Apr 2015 00:06:42 +0000
(09:06 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 23 Apr 2015 13:03:23 +0000
(14:03 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=748345
libs/gst/base/gstbasesrc.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesrc.c
b/libs/gst/base/gstbasesrc.c
index
1d8cc58
..
6ab4816
100644
(file)
--- a/
libs/gst/base/gstbasesrc.c
+++ b/
libs/gst/base/gstbasesrc.c
@@
-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;
}