1 2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
3 * gst/gstcaps.c: (gst_caps_append_structure):
4 Move the poisoning to allow a NULL structure
5 * gst/gstevent.c: (_gst_event_free):
6 When freeing a navigation event, free the structure
9 2004-01-04 David Schleef <ds@schleef.org>
11 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
12 Remove usage of gst_pad_proxy_fixate.
13 * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
14 (gst_caps_split_one), (gst_caps_replace):
16 * gst/gstmarshal.list:
17 Add pointer__pointer for fixate signal
18 * gst/gstpad.c: (gst_real_pad_class_init),
19 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
20 (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
21 (gst_pad_set_explicit_caps), (gst_pad_template_new):
22 Add poisoning code. Add fixate signal on RealPad. Change
23 set_explicit_caps() to take const GstCaps, like try_set_caps().
25 * testsuite/caps/Makefile.am:
26 * testsuite/caps/app_fixate.c: Add a test for the fixate signal
28 2004-01-03 David Schleef <ds@schleef.org>
30 * gst/elements/gsttypefindelement.c:
31 (gst_type_find_element_have_type), (gst_type_find_element_init):
32 Use gst_pad_use_explicit_caps for src pad.
33 * gst/gstpad.c: (gst_pad_try_set_caps): Check that link exists
36 2004-01-03 David Schleef <ds@schleef.org>
38 * gst/gstelement.c: (gst_element_link_pads_filtered),
39 (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
40 that linking was successful.
41 * gst/gstpad.c: (gst_pad_link_free),
42 (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
43 (gst_pad_link_try), (gst_pad_link_unnegotiate),
44 (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
45 GstPadLinkReturn correctly between functions, and don't fail
46 when DELAYED is used (DELAYED is very important). Better
47 cleanup on unlinking and unnegotiation. Should fix some spider
50 2004-01-02 David Schleef <ds@schleef.org>
52 * gst/gstelement.c: (gst_element_class_init),
53 (gst_element_base_class_init): ->padtemplates should be cleared
54 in base_init, since we need to have a fresh list for every
55 class. (Alternately, we chould copy the list and share the
56 actual pad templates (not the list), but that would require
57 changing every plugin to move pad template registration from
58 base_init to class_init.)
60 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
62 * gst/gstelement.c: (gst_element_class_add_pad_template):
63 Refuse registering a pad template if another pad template
64 with the same name already exists (#114715).
66 2004-01-02 David Schleef <ds@schleef.org>
68 * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
69 (gst_caps_is_equal_fixed): Add new function.
70 * gst/gstcaps.h: ditto.
71 * gst/gstpad.c: (gst_real_pad_class_init),
72 (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
73 (gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
74 check new caps against existing caps -- if they're the same, return
75 OK without renegotiating. caps-nego-failed signal fixed so that
76 the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
77 to save an extra caps copy. Don't complete negotiation if a pad
78 link function returns DELAYED.
80 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
82 * gst/gstpad.c: (gst_pad_try_relink_filtered):
83 Fix wrong g_return_if_fail
85 2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
87 * gst/gstbin.c: (gst_bin_class_init):
88 Change the marshalling of element_added/element_removed
89 to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
90 complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
92 2004-01-01 David Schleef <ds@schleef.org>
94 * gst/gstpad.c: (gst_pad_set_explicit_caps),
95 (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
96 (gst_pad_use_explicit_caps):
98 Add new functions. gst_pad_use_explicit_caps() sets up a pad
99 to use an internal getcaps and link fuction so that negotiation
100 always results in the explicitly set caps.
101 gst_pad_set_explicit_caps() sets the explicit caps. These functions
102 are particularly useful for decoders.
104 2003-12-31 David Schleef <ds@schleef.org>
106 * gst/elements/gstidentity.c: (gst_identity_class_init),
107 (gst_identity_init), (gst_identity_chain),
108 (gst_identity_set_property), (gst_identity_get_property):
109 * gst/elements/gstidentity.h:
110 * gst/gstqueue.c: (gst_queue_init):
113 2003-12-31 David Schleef <ds@schleef.org>
115 * gst/gstcaps.c: (gst_caps_intersect),
116 (_gst_caps_normalize_foreach), (gst_caps_normalize):
117 Implement gst_caps_normalize().
118 * testsuite/caps/normalisation.c: (main):
119 Add an additional test
121 2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
123 * gst/gstqueue.c: (gst_queue_init):
124 use gst_pad_proxy_getcaps()
126 2003-12-31 David Schleef <ds@schleef.org>
128 * gst/elements/gstshaper.c: (gst_shaper_link):
129 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
130 * gst/gstqueue.c: (gst_queue_link):
133 2003-12-31 David Schleef <ds@schleef.org>
135 * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
136 * gst/gstpad.h: Add functions that are useful as default pad
137 link and fixate functions for elements.
139 2003-12-30 David Schleef <ds@schleef.org>
141 * gst/gstpad.c: (gst_pad_link_try):
142 Fix segfault when attempting to return to old caps
144 2003-12-29 David Schleef <ds@schleef.org>
146 * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
147 (gst_caps_structure_simplify), (gst_caps_simplify):
149 Add simplify function
150 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
151 (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
153 Copy over srcnotify, sinknotify when calling old pad_link
154 functions. Add new is_negotiated() function.
155 * gst/gststructure.c: (gst_structure_copy):
156 Fix an incredibly stupid bug that should have been noticed
157 weeks ago. _copy() returned the argument, not the new copy.
159 2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
161 * gst/gstcaps.c: (gst_caps_append):
163 * gst/gstcaps.h: (gst_caps_debug):
164 remove, it doesn't exist anymore.
165 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
166 (gst_element_threadsafe_properties_post_run):
167 make debugging messages not clutter up THREAD debug category
168 (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
169 (gst_element_change_state):
170 update to new caps API
171 * gst/gstinterface.c: (gst_implements_interface_cast):
172 don't put vital code in g_return_if_fail
173 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
174 (gst_pad_link_filtered):
175 add pst_pad_try_link and use it.
176 (gst_pad_perform_negotiate), (gst_pad_renegotiate):
177 implement correctly, deprecate first one.
178 (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
180 (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
182 (gst_pad_get_negotiated_caps):
183 add and implement. Make GST_PAD_CAPS call this function.
185 remove unneeded check..
186 (gst_pad_recover_caps_error):
187 disable, always return FALSE.
188 (gst_real_pad_dispose):
189 don't free caps and appfilter anymore, they're unused.
191 Reflect changes mentioned above.
192 * gst/gstsystemclock.c: (gst_system_clock_wait):
193 Make 'clock is way behind' a debugging message.
194 * gst/gstthread.c: (gst_thread_change_state):
195 Fix debugging message
197 2003-12-25 Thomas Vander Stichele <thomas at apestaart dot org>
200 fix GST_DEBUG_CATEGORY_INIT gtk-doc description
201 * docs/gst/tmpl/gstreamer-unused.sgml:
202 removed all traces of cvs conflicts
204 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
207 * gst/schedulers/cothreads_compat.h:
209 remove last instances of wingo cothread usage
211 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
214 * gst/gstversion.h.in:
215 * gst/parse/grammar.y:
216 change comment block from /** to /* when not gtk-doc comments
218 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
220 * gst/gst.c: whitespace and doc style fixes
222 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
224 * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
226 2003-12-24 Colin Walters <walters@verbum.org>
228 * gst/elements/gsttypefindelement.c:
229 gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
230 Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
231 Don't double-free caps.
233 2003-12-23 David Schleef <ds@schleef.org>
235 * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
236 gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
237 Many little fixes and additions of debug statements to
238 get rhythmbox working.
240 2003-12-23 Colin Walters <walters@verbum.org>
242 * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
243 Use GST_PAD_LINK_SUCCESSFUL.
245 2003-12-23 David Schleef <ds@schleef.org>
247 * gst/elements/gstaggregator.c:
248 * gst/elements/gsttee.c:
249 Use gst_pad_proxy_getcaps().
252 Add gst_pad_proxy_getcaps(), which filter elements can use
253 as a generic getcaps implementation.
254 Fix gst_pad_get_allowed_caps(). It just wasn't doing what
257 2003-12-23 David Schleef <ds@schleef.org>
260 Rearrange/rewrite much of the pad negotiation code, since it
261 resembled pasta. This actually changes the way some
262 negotiation works, since the previous code was inconsistent
263 depending on how it was invoked. Add (internal) structure
264 GstPadLink, which is used to hold some information (more in
265 the future) about the link between two pads. Fixes a number
266 of bugs, including random lossage of filter caps when the
267 initial negotiation is delayed. A few functions are still
270 Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
271 these when testing GstPadLinkReturn values instead of comparing
274 2003-12-23 David Schleef <ds@schleef.org>
278 Rearrange lots of code. Change registration of compare function
279 into registration of compare/serialize/deserialize functions.
280 Doesn't include implementation of gst_value_[de]serialize(),
281 but that should be easy.
283 2003-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
285 * docs/gst/gstreamer-sections.txt:
286 * docs/gst/tmpl/gstprops.sgml: removed
287 * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
288 David removed props and caps code, so let's remove their docs as well.
289 Removed all no longer existing symbols from gstreamer-sections.txt
291 2003-12-22 Colin Walters <walters@verbum.org>
293 * gst/gsttaginterface.c, gst/gsttaginterface.h,
294 gst/gsttag.c, gst/gsttag.h: Add interface to setting GValues
297 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
299 * gst/elements/gstelements.c:
300 Set ranks of elements to NONE, so the autoplugger doesn't use them.
301 * gst/elements/gstshaper.c: (gst_shaper_getcaps):
302 Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
305 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
307 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
308 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
309 (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
310 (gst_spider_identity_sink_loop_type_finding):
311 * gst/autoplug/gstspideridentity.h:
312 Fix autoplugging in spider element, so it works with new caps.
313 This was mainly caused by identifying empty caps incorrectly.
315 2003-12-22 David Schleef <ds@schleef.org>
317 * gststructure.c, gstvalue.c, gstvalue.h: Add
318 gst_value_init_and_copy() and use it, to avoid silly mistakes in
321 2003-12-21 David Schleef <ds@schleef.org>
323 * many, many files: Merge CAPS branch. This includes:
324 - implemention of GstValue and several GstValue types
325 - implemention of GstStructure
326 - entire rewrite of GstCaps
327 - removal of GstProps
328 - many changes to GstPad to compensate for new caps paradigm
329 - removal of GstBufferpool
330 * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
331 gstvalue.h, gst/gstcaps[2]*.[ch]:
332 - rename gstcaps2.[ch] to gstcaps.[ch]
334 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
336 * gst/gstqueue.c: (gst_queue_handle_pending_events),
337 (gst_queue_chain), (gst_queue_handle_src_event):
338 implement timeout for sending events. Workaround for if the
339 pipeline on this queue is not passing any data.
341 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
343 * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
344 * moved CVS to freedesktop.org