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:
8f496b7
)
concat: Properly forward the SEGMENT seqnum
author
Edward Hervey
<edward@centricular.com>
Mon, 18 Jun 2018 14:29:18 +0000
(16:29 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Tue, 19 Jun 2018 05:27:33 +0000
(07:27 +0200)
plugins/elements/gstconcat.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstconcat.c
b/plugins/elements/gstconcat.c
index
c05a59b
..
6c18d7d
100644
(file)
--- a/
plugins/elements/gstconcat.c
+++ b/
plugins/elements/gstconcat.c
@@
-569,6
+569,7
@@
gst_concat_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
ret = FALSE;
} else {
GstSegment segment = spad->segment;
+ GstEvent *topush;
if (adjust_base) {
/* We know no duration */
@@
-584,8
+585,10
@@
gst_concat_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
segment.stop += self->current_start_offset;
}
}
+ topush = gst_event_new_segment (&segment);
+ gst_event_set_seqnum (topush, gst_event_get_seqnum (event));
- gst_pad_push_event (self->srcpad,
gst_event_new_segment (&segment)
);
+ gst_pad_push_event (self->srcpad,
topush
);
}
break;
}