summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2018-10-19 14:35:23 +0200
committerEdward Hervey <bilboed@bilboed.com>2018-10-19 14:35:23 +0200
commitfb6bccb62241b0867c42ff0b1766a5f77b97ee4d (patch)
tree7775ccb9ff10d754a6963999eb2360ea9acc9e9b
parent3301df486ee945c0d46cfb210b0cb1c89db4dafa (diff)
downloadgstreamer-plugins-good-fb6bccb62241b0867c42ff0b1766a5f77b97ee4d.tar.gz
Revert "dvdemux: Properly forward the SEGMENT seqnum"
This reverts commit da6cdc213c8adac2817ab2d437215d48b780d964.
-rw-r--r--ext/dv/gstdvdemux.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c
index 11b475ecc..b76d7daa9 100644
--- a/ext/dv/gstdvdemux.c
+++ b/ext/dv/gstdvdemux.c
@@ -327,8 +327,6 @@ gst_dvdemux_add_pad (GstDVDemux * dvdemux, GstStaticPadTemplate * template,
pad = gst_pad_new_from_static_template (template, template->name_template);
- GST_DEBUG_OBJECT (dvdemux, "Adding pad %s", GST_OBJECT_NAME (pad));
-
gst_pad_set_query_function (pad, GST_DEBUG_FUNCPTR (gst_dvdemux_src_query));
gst_pad_set_event_function (pad,
@@ -348,10 +346,7 @@ gst_dvdemux_add_pad (GstDVDemux * dvdemux, GstStaticPadTemplate * template,
gst_pad_set_caps (pad, caps);
- event = gst_event_new_segment (&dvdemux->time_segment);
- if (dvdemux->segment_seqnum != GST_SEQNUM_INVALID)
- gst_event_set_seqnum (event, dvdemux->segment_seqnum);
- gst_pad_push_event (pad, event);
+ gst_pad_push_event (pad, gst_event_new_segment (&dvdemux->time_segment));
gst_element_add_pad (GST_ELEMENT (dvdemux), pad);