mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
libs/gst/base/gstcollectpads.c: fix changelog entry about last collectpads change, add notes about proper fix
Original commit message from CVS: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event): fix changelog entry about last collectpads change, add notes about proper fix
This commit is contained in:
parent
13c4169d9d
commit
d3211824bd
2 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-04-28 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
|
||||
fix changelog entry about last collectpads change,
|
||||
add notes about proper fix
|
||||
|
||||
2006-04-28 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/gst.c:
|
||||
|
|
|
@ -743,6 +743,15 @@ gst_collect_pads_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
/* forward to src-pad, sink-elements like to get the event */
|
||||
gst_pad_event_default (pad, 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,
|
||||
so you can just check that once you have a buffer queued on that pad,
|
||||
(b) you can override a pad's event function with your own,
|
||||
catch the newsegment event and then pass it on to the original
|
||||
gstcollectpads event function
|
||||
(that's what avimux does for something IIRC)
|
||||
*/
|
||||
return TRUE;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue