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:
d5d2805
)
rtspsrc: Push the correct segment in TCP mode when seeking
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 4 Aug 2014 13:39:17 +0000
(15:39 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 5 Aug 2014 14:28:04 +0000
(16:28 +0200)
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index e7573c7a2b610ae5b1881477676b5ef829e90326..d3dea95d9a11882dbb6e36296f949ce51e862a98 100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-4457,6
+4457,7
@@
gst_rtspsrc_handle_data (GstRTSPSrc * src, GstRTSPMessage * message)
gst_rtspsrc_activate_streams (src);
src->need_activate = FALSE;
}
+
if ((event = src->start_segment) != NULL) {
src->start_segment = NULL;
gst_rtspsrc_push_event (src, event);
@@
-7324,7
+7325,7
@@
gst_rtspsrc_play (GstRTSPSrc * src, GstSegment * segment, gboolean async)
/* store the newsegment event so it can be sent from the streaming thread. */
if (src->start_segment)
gst_event_unref (src->start_segment);
- src->start_segment = gst_event_new_segment (
&src->
segment);
+ src->start_segment = gst_event_new_segment (segment);
}
if (segment->rate != 1.0) {