summaryrefslogtreecommitdiff
path: root/plugins/elements/gstoutputselector.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-05-18 16:56:13 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-05-18 16:56:43 +0200
commita46c9c2a62fee1a7e2f9ab61e9d83d191a98c072 (patch)
treeb0e10dd51a193efbb6e18d5f017910ec1f3b63bd /plugins/elements/gstoutputselector.c
parentad0693f47d57219ae6faeef9ce2257aa16a7f1a8 (diff)
event: Make SEGMENT event parsing API more consistent with the others
Diffstat (limited to 'plugins/elements/gstoutputselector.c')
-rw-r--r--plugins/elements/gstoutputselector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elements/gstoutputselector.c b/plugins/elements/gstoutputselector.c
index 7d22f9d82..56f0f6921 100644
--- a/plugins/elements/gstoutputselector.c
+++ b/plugins/elements/gstoutputselector.c
@@ -546,7 +546,7 @@ gst_output_selector_handle_sink_event (GstPad * pad, GstEvent * event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEGMENT:
{
- gst_event_parse_segment (event, &sel->segment);
+ gst_event_copy_segment (event, &sel->segment);
GST_DEBUG_OBJECT (sel, "configured SEGMENT update %" GST_SEGMENT_FORMAT,
&sel->segment);