gst/: Change GstBuffer private structure element names. (all files)
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-11  David Schleef  <ds@schleef.org>
2
3         * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
4         (gst_filesrc_map_region):
5         * gst/gstbuffer.c: (_gst_buffer_initialize),
6         (_gst_buffer_sub_free), (gst_buffer_default_copy),
7         (gst_buffer_new), (gst_buffer_create_sub),
8         (gst_buffer_is_span_fast), (gst_buffer_span):
9         * gst/gstbuffer.h:
10         Change GstBuffer private structure element names. (all files)
11         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12         (gst_queue_link):
13         * gst/gstqueue.h:
14         Implement getcaps/pad_link functions that handle the case where
15         there are data in the queue.
16
17 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
18
19         * gst/elements/gstbufferstore.c:
20           initialize debugging structure correctly
21         * gst/elements/gsttee.c: (gst_tee_set_property):
22           g_object_notify when property was changed
23         * gst/elements/gsttypefindelement.c:
24         (gst_type_find_element_change_state):
25           clear caps correctly
26
27 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
28
29         * gst/gstqueue.c: (gst_queue_init):
30           Use better defaults for when a queue should block. This
31           gets rid of jerky playback for quite a few files.
32           It takes more memory.
33
34 2004-01-10  Thomas Vander Stichele  <thomas at apestaart dot org>
35
36         (gst_xml_registry_parse_padtemplate):
37           make critical message slightly more useful
38
39 2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
40
41         * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
42         (gst_debug_message_get), (gst_debug_log_default):
43         * gst/gstinfo.h:
44           Change gst_debug_log(_valist) to take a const format string.
45           Change prototype of log function and functions using those to 
46           take a GstDebugMessage instead of a string that requires using
47           gst_debug_message_get.
48
49 2004-01-08  David Schleef  <ds@schleef.org>
50
51         * Makefile.am:
52         * configure.ac:
53         Add option --enable-gcov to build GStreamer with -fprofile-arcs
54         and -ftest-coverage, which allows gcov to show information about
55         testsuite coverage.
56
57 2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
58
59         * gst/gstutils.h:
60           Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
61           GST_PARENT_CALL_WITH_DEFAULT
62         * gst/elements/gstaggregator.c: 
63         * gst/elements/gstbufferstore.c: 
64         * gst/elements/gstfakesink.c: 
65         * gst/elements/gstfakesrc.c: 
66         * gst/elements/gstfdsink.c: 
67         * gst/elements/gstfdsrc.c: 
68         * gst/elements/gstfilesink.c: 
69         * gst/elements/gstfilesrc.c: 
70         * gst/elements/gstidentity.c: 
71         * gst/elements/gstmd5sink.c: 
72         * gst/elements/gstmultidisksrc.c:
73         * gst/elements/gstpipefilter.c: 
74         * gst/elements/gstshaper.c:
75         * gst/elements/gststatistics.c:
76         * gst/elements/gsttee.c:
77         * gst/elements/gsttypefindelement.c:
78           use them.
79
80 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
81
82         * docs/gst/gstreamer-docs.sgml: remove props
83         * docs/gst/gstreamer-sections.txt: remove props
84         * docs/gst/tmpl/gst.sgml:
85         * docs/gst/tmpl/gstbin.sgml:
86         * docs/gst/tmpl/gstbuffer.sgml:
87         * docs/gst/tmpl/gstcaps.sgml:
88         * docs/gst/tmpl/gstclock.sgml:
89         * docs/gst/tmpl/gstelement.sgml:
90         * docs/gst/tmpl/gstindex.sgml:
91         * docs/gst/tmpl/gstobject.sgml:
92         * docs/gst/tmpl/gstpad.sgml:
93         * docs/gst/tmpl/gstpadtemplate.sgml:
94         * docs/gst/tmpl/gstreamer-unused.sgml:
95         * docs/gst/tmpl/gstthread.sgml:
96         * docs/gst/tmpl/gstxml.sgml:
97           sync with code reorganization
98
99 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
100
101         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
102         Make the 'Could not find compatible pad' message more informative.
103
104 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
105
106         * gst/gstcaps.c: (gst_caps_append_structure):
107           Move the poisoning to allow a NULL structure
108         * gst/gstevent.c: (_gst_event_free):
109           When freeing a navigation event, free the structure
110           also
111
112 2004-01-04  David Schleef  <ds@schleef.org>
113
114         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
115         Remove usage of gst_pad_proxy_fixate.
116         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
117         (gst_caps_split_one), (gst_caps_replace):
118         Add poisoning code.
119         * gst/gstmarshal.list:
120         Add pointer__pointer for fixate signal
121         * gst/gstpad.c: (gst_real_pad_class_init),
122         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
123         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
124         (gst_pad_set_explicit_caps), (gst_pad_template_new):
125         Add poisoning code. Add fixate signal on RealPad. Change
126         set_explicit_caps() to take const GstCaps, like try_set_caps().
127         * gst/gstpad.h:
128         * testsuite/caps/Makefile.am:
129         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
130
131 2004-01-03  David Schleef  <ds@schleef.org>
132
133         * gst/elements/gsttypefindelement.c:
134         (gst_type_find_element_have_type), (gst_type_find_element_init):
135         Use gst_pad_use_explicit_caps for src pad.
136         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
137         before using it.
138
139 2004-01-03  David Schleef  <ds@schleef.org>
140
141         * gst/gstelement.c: (gst_element_link_pads_filtered),
142         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
143         that linking was successful.
144         * gst/gstpad.c: (gst_pad_link_free),
145         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
146         (gst_pad_link_try), (gst_pad_link_unnegotiate),
147         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
148         GstPadLinkReturn correctly between functions, and don't fail
149         when DELAYED is used (DELAYED is very important).  Better
150         cleanup on unlinking and unnegotiation.  Should fix some spider
151         bugs.
152
153 2004-01-02  David Schleef  <ds@schleef.org>
154
155         * gst/gstelement.c: (gst_element_class_init),
156         (gst_element_base_class_init): ->padtemplates should be cleared
157         in base_init, since we need to have a fresh list for every
158         class.  (Alternately, we chould copy the list and share the
159         actual pad templates (not the list), but that would require
160         changing every plugin to move pad template registration from
161         base_init to class_init.)
162
163 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
164
165         * gst/gstelement.c: (gst_element_class_add_pad_template):
166           Refuse registering a pad template if another pad template
167           with the same name already exists (#114715).
168
169 2004-01-02  David Schleef  <ds@schleef.org>
170
171         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
172         (gst_caps_is_equal_fixed): Add new function.
173         * gst/gstcaps.h: ditto.
174         * gst/gstpad.c: (gst_real_pad_class_init),
175         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
176         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
177         check new caps against existing caps -- if they're the same, return
178         OK without renegotiating.  caps-nego-failed signal fixed so that
179         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
180         to save an extra caps copy.  Don't complete negotiation if a pad
181         link function returns DELAYED.
182
183 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
184
185         * gst/gstpad.c: (gst_pad_try_relink_filtered):
186           Fix wrong g_return_if_fail
187
188 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
189
190         * gst/gstbin.c: (gst_bin_class_init):
191         Change the marshalling of element_added/element_removed
192         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
193         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
194
195 2004-01-01  David Schleef  <ds@schleef.org>
196
197         * gst/gstpad.c: (gst_pad_set_explicit_caps),
198         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
199         (gst_pad_use_explicit_caps):
200         * gst/gstpad.h:
201         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
202         to use an internal getcaps and link fuction so that negotiation
203         always results in the explicitly set caps.
204         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
205         are particularly useful for decoders.
206
207 2003-12-31  David Schleef  <ds@schleef.org>
208
209         * gst/elements/gstidentity.c: (gst_identity_class_init),
210         (gst_identity_init), (gst_identity_chain),
211         (gst_identity_set_property), (gst_identity_get_property):
212         * gst/elements/gstidentity.h:
213         * gst/gstqueue.c: (gst_queue_init):
214           Negotiation fixes.
215
216 2003-12-31  David Schleef  <ds@schleef.org>
217
218         * gst/gstcaps.c: (gst_caps_intersect),
219         (_gst_caps_normalize_foreach), (gst_caps_normalize):
220           Implement gst_caps_normalize().
221         * testsuite/caps/normalisation.c: (main):
222           Add an additional test
223
224 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
225
226         * gst/gstqueue.c: (gst_queue_init):
227           use gst_pad_proxy_getcaps()
228
229 2003-12-31  David Schleef  <ds@schleef.org>
230
231         * gst/elements/gstshaper.c: (gst_shaper_link):
232         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
233         * gst/gstqueue.c: (gst_queue_link):
234           Negotiation fixes.
235
236 2003-12-31  David Schleef  <ds@schleef.org>
237
238         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
239         * gst/gstpad.h: Add functions that are useful as default pad
240         link and fixate functions for elements.
241
242 2003-12-30  David Schleef  <ds@schleef.org>
243
244         * gst/gstpad.c: (gst_pad_link_try):
245           Fix segfault when attempting to return to old caps
246
247 2003-12-29  David Schleef  <ds@schleef.org>
248
249         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
250         (gst_caps_structure_simplify), (gst_caps_simplify):
251         * gst/gstcaps.h:
252           Add simplify function
253         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
254         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
255         * gst/gstpad.h:
256           Copy over srcnotify, sinknotify when calling old pad_link
257           functions.  Add new is_negotiated() function.
258         * gst/gststructure.c: (gst_structure_copy):
259           Fix an incredibly stupid bug that should have been noticed
260           weeks ago.  _copy() returned the argument, not the new copy.
261
262 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
263
264         * gst/gstcaps.c: (gst_caps_append):
265           add sanity checks
266         * gst/gstcaps.h: (gst_caps_debug):
267           remove, it doesn't exist anymore.
268         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
269         (gst_element_threadsafe_properties_post_run):
270           make debugging messages not clutter up THREAD debug category
271         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
272         (gst_element_change_state):
273           update to new caps API
274         * gst/gstinterface.c: (gst_implements_interface_cast):
275           don't put vital code in g_return_if_fail
276         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
277         (gst_pad_link_filtered):
278           add pst_pad_try_link and use it.
279         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
280           implement correctly, deprecate first one.
281         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
282           add and implement.
283         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
284           implement.
285         (gst_pad_get_negotiated_caps):
286           add and implement. Make GST_PAD_CAPS call this function.
287         (gst_pad_get_caps):
288           remove unneeded check..
289         (gst_pad_recover_caps_error):
290           disable, always return FALSE.
291         (gst_real_pad_dispose):
292           don't free caps and appfilter anymore, they're unused.
293         * gst/gstpad.h:
294           Reflect changes mentioned above.
295         * gst/gstsystemclock.c: (gst_system_clock_wait):
296           Make 'clock is way behind' a debugging message.
297         * gst/gstthread.c: (gst_thread_change_state):
298           Fix debugging message
299
300 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
301
302         * gst/gstinfo.h:
303           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
304         * docs/gst/tmpl/gstreamer-unused.sgml:
305           removed all traces of cvs conflicts
306
307 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
308
309         * configure.ac:
310         * gst/schedulers/cothreads_compat.h:
311         * libs/Makefile.am:
312           remove last instances of wingo cothread usage
313
314 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
315
316         * gst/gstplugin.c:
317         * gst/gstversion.h.in:
318         * gst/parse/grammar.y:
319           change comment block from /** to /* when not gtk-doc comments
320
321 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
322
323         * gst/gst.c: whitespace and doc style fixes
324
325 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
326
327         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
328
329 2003-12-24  Colin Walters  <walters@verbum.org>
330
331         * gst/elements/gsttypefindelement.c:
332           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
333           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
334           Don't double-free caps.
335
336 2003-12-23  David Schleef  <ds@schleef.org>
337
338         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
339           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
340           Many little fixes and additions of debug statements to
341           get rhythmbox working.
342
343 2003-12-23  Colin Walters  <walters@verbum.org>
344
345         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
346         Use GST_PAD_LINK_SUCCESSFUL.
347
348 2003-12-23  David Schleef  <ds@schleef.org>
349
350         * gst/elements/gstaggregator.c:
351         * gst/elements/gsttee.c:
352           Use gst_pad_proxy_getcaps().
353         * gst/gstpad.c:
354         * gst/gstpad.h:
355           Add gst_pad_proxy_getcaps(), which filter elements can use
356           as a generic getcaps implementation.
357           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
358           was advertised.
359
360 2003-12-23  David Schleef  <ds@schleef.org>
361
362         * gst/gstpad.c:
363           Rearrange/rewrite much of the pad negotiation code, since it
364           resembled pasta.  This actually changes the way some
365           negotiation works, since the previous code was inconsistent
366           depending on how it was invoked.  Add (internal) structure
367           GstPadLink, which is used to hold some information (more in
368           the future) about the link between two pads.  Fixes a number
369           of bugs, including random lossage of filter caps when the
370           initial negotiation is delayed.  A few functions are still
371           unimplemented.
372         * gst/gstpad.h:
373           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
374           these when testing GstPadLinkReturn values instead of comparing
375           directly.
376
377 2003-12-23  David Schleef  <ds@schleef.org>
378
379         * gst/gstvalue.c: 
380         * gst/gstvalue.h:
381           Rearrange lots of code.  Change registration of compare function
382           into registration of compare/serialize/deserialize functions.
383           Doesn't include implementation of gst_value_[de]serialize(),
384           but that should be easy.
385
386 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
387
388         * docs/gst/gstreamer-sections.txt:
389         * docs/gst/tmpl/gstprops.sgml: removed
390         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
391           David removed props and caps code, so let's remove their docs as well.
392           Removed all no longer existing symbols from gstreamer-sections.txt
393           
394 2003-12-22  Colin Walters  <walters@verbum.org>
395
396         * gst/gsttaginterface.c, gst/gsttaginterface.h,
397           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
398           of tags directly.
399
400 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
401
402         * gst/elements/gstelements.c:
403           Set ranks of elements to NONE, so the autoplugger doesn't use them.
404         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
405           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
406           gst_caps (peer).
407
408 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
409
410         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
411         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
412         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
413         (gst_spider_identity_sink_loop_type_finding):
414         * gst/autoplug/gstspideridentity.h:
415           Fix autoplugging in spider element, so it works with new caps.
416           This was mainly caused by identifying empty caps incorrectly.
417
418 2003-12-22  David Schleef  <ds@schleef.org>
419
420         * gststructure.c, gstvalue.c, gstvalue.h: Add
421           gst_value_init_and_copy() and use it, to avoid silly mistakes in
422           using g_value_copy()
423
424 2003-12-21  David Schleef  <ds@schleef.org>
425
426         * many, many files: Merge CAPS branch.  This includes:
427           - implemention of GstValue and several GstValue types
428           - implemention of GstStructure
429           - entire rewrite of GstCaps
430           - removal of GstProps
431           - many changes to GstPad to compensate for new caps paradigm
432           - removal of GstBufferpool
433         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
434         gstvalue.h, gst/gstcaps[2]*.[ch]:
435           - rename gstcaps2.[ch] to gstcaps.[ch]
436
437 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
438
439         * gst/gstqueue.c: (gst_queue_handle_pending_events),
440         (gst_queue_chain), (gst_queue_handle_src_event):
441           implement timeout for sending events. Workaround for if the
442           pipeline on this queue is not passing any data.
443
444 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
445                                                                                 
446         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
447         * moved CVS to freedesktop.org
448