libs/gst/base/gstcollectpads.c: back out the newsegment handling change, see #340060 for ongoing discussion

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
back out the newsegment handling change, see #340060 for ongoing
discussion
This commit is contained in:
Stefan Kost 2006-05-02 17:17:22 +00:00
parent 2921be83ed
commit e99b5f24e9
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-05-02 Stefan Kost <ensonic@users.sf.net>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
back out the newsegment handling change, see #340060 for ongoing
discussion
2006-04-30 Tim-Philipp Müller <tim at centricular dot net> 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
* tools/gst-run.c: (get_candidates), (main): * tools/gst-run.c: (get_candidates), (main):

View file

@ -741,8 +741,8 @@ gst_collect_pads_event (GstPad * pad, GstEvent * event)
data->abidata.ABI.new_segment = TRUE; data->abidata.ABI.new_segment = TRUE;
/* forward to src-pad, sink-elements like to get the event */ /* For now we eat this event */
gst_pad_event_default (pad, event); gst_event_unref (event);
/* FIXME: collect-pads based elements need to create their own newsegment /* FIXME: collect-pads based elements need to create their own newsegment
event (and only one really) event (and only one really)
(a) make the segment part of the GstCollectData structure of each pad, (a) make the segment part of the GstCollectData structure of each pad,
@ -751,6 +751,7 @@ gst_collect_pads_event (GstPad * pad, GstEvent * event)
catch the newsegment event and then pass it on to the original catch the newsegment event and then pass it on to the original
gstcollectpads event function gstcollectpads event function
(that's what avimux does for something IIRC) (that's what avimux does for something IIRC)
see #340060
*/ */
return TRUE; return TRUE;
} }