mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
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:
parent
2921be83ed
commit
e99b5f24e9
2 changed files with 9 additions and 2 deletions
|
@ -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>
|
||||
|
||||
* tools/gst-run.c: (get_candidates), (main):
|
||||
|
|
|
@ -741,8 +741,8 @@ gst_collect_pads_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
data->abidata.ABI.new_segment = TRUE;
|
||||
|
||||
/* forward to src-pad, sink-elements like to get the event */
|
||||
gst_pad_event_default (pad, event);
|
||||
/* For now we eat this event */
|
||||
gst_event_unref (event);
|
||||
/* FIXME: collect-pads based elements need to create their own newsegment
|
||||
event (and only one really)
|
||||
(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
|
||||
gstcollectpads event function
|
||||
(that's what avimux does for something IIRC)
|
||||
see #340060
|
||||
*/
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue