gst/gstpad.*: implement gst_pad_is_linked
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
2
3         * gst/gstpad.c: (gst_pad_is_linked):
4         * gst/gstpad.h:
5           implement gst_pad_is_linked
6         * gst/gstelement.h:
7           reserve space for initiate_state_change
8
9 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
10
11         * gst/autoplug/gstspideridentity.c:
12         (gst_spider_identity_sink_loop_type_finding):
13           break infinite loop by just returning instead of looping
14         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
15           set event time difference correctly. Set it to 1 second instead
16           of 100ms to be more tolerant
17         * gst/gstelement.c: (gst_element_set_time):
18           add debugging output
19
20 2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>
21
22         * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
23           query if buffers are inside the pool, ignore events
24
25 2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>
26
27         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
28         (gst_clock_set_speed), (gst_clock_set_active),
29         (gst_clock_is_active), (gst_clock_reset),
30         (gst_clock_handle_discont):
31         * gst/gstclock.h:
32           deprecate old interface and disable functions that aren't in use
33           anymore.
34         * gst/gstelement.h:
35         * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
36         (gst_element_set_time), (gst_element_adjust_time):
37           add concept of "element time" and functions to get/set this time.
38         * gst/gstelement.c: (gst_element_change_state):
39           update element time correctly.
40         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
41           This is a debug message, not a g_critical.
42         * gst/gstpad.c: (gst_pad_event_default):
43           handle discontinuous events right with element time.
44         * gst/gstscheduler.c: (gst_scheduler_state_transition):
45           update to clocking fixes.
46           set clocks on elements in READY=>PAUSED. The old behaviour caused
47           a wrong element time on the first element that started playing.
48         * gst/schedulers/gstbasicscheduler.c:
49         (gst_basic_scheduler_class_init):
50         * gst/schedulers/gstoptimalscheduler.c:
51         (gst_opt_scheduler_class_init):
52           remove code that just implements the default behaviour.
53         * gst/elements/gstfakesink.c: (gst_fakesink_chain):
54           update to use new clocking functions
55         * testsuite/clock/clock1.c: (gst_clock_debug), (main):
56         * testsuite/clock/clock2.c: (gst_clock_debug), (main):
57           update to test new element time.
58         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
59           use _get_allowed_caps instead of _get_caps. This catches filtered
60           caps correctly.
61         * testsuite/debug/commandline.c:
62           update for new GST_DEBUG syntax.
63         * testsuite/threads/Makefile.am:
64           disable a test that only works sometimes.
65
66 2004-01-13  Julien MOUTTE <julien@moutte.net>
67
68         * po/LINGUAS: Adding fr.
69         * po/fr.po: Adding french translation.
70
71 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
72
73         * gst/parse/grammar.y:
74         * po/POTFILES.in:
75         * po/nl.po:
76         * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
77           translate parsing error messages
78
79 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
80
81         * po/POTFILES.in: adding gst-launch
82         * po/nl.po: updated translation, all 99 strings translated
83         * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
84         (found_tag), (sigint_handler_sighandler), (play_handler), (main):
85           fix strings for translation
86
87 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
88
89         * gst/gst.c:
90           - capitalize beginnings of popt options
91           - fix strings for translation
92           - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
93
94 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
95
96         * po/README: add some notes on how to update translations
97
98 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
99
100         * ABOUT-NLS: removed, is autogenerated from autopoint
101         * autogen.sh: add autopoint stuff
102         * configure.ac: fix up gettext stuff
103         * gst/Makefile.am: add i18n headers to noinst_HEADERS
104         * gst/elements/gsttypefindelement.c: add header include
105         * gst/gettext.h: add header, copy from system-installed header
106         * gst/gst-i18n-app.h: to be included by each app having translations
107         * gst/gst-i18n-lib.h: to be included by each lib having translations
108         * gst/gst.c: (init_pre): fix up gettext calls
109         * gst/gst_private.h: remove i18n stuff, moving to separate headers
110         * po/LINGUAS: the new way to specify translations present
111         * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
112         * po/Makevars: the variables filled in for GStreamer
113         * po/POTFILES.in: added new files with translations
114         * po/de.po: has new strings
115         * po/nl.po: readded, has new strings
116
117 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
118
119         * gst/gsttag.c: fix some strings marked for translation
120
121 2004-01-13  Iain <iain@prettypeople.org>
122
123         * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
124         group when we add an element to it, cos we unref it when we remove one
125
126 2004-01-12  Thomas Vander Stichele  <thomas at apestaart dot org>
127
128         * testsuite/debug/commandline.c: (debug_not_reached):
129         * testsuite/debug/output.c: (check_message):
130           fix testsuite
131
132 2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
133
134         * examples/cutter/.cvsignore:
135         * examples/helloworld/.cvsignore:
136         * examples/launch/.cvsignore:
137         * examples/manual/.cvsignore:
138         * examples/mixer/.cvsignore:
139         * examples/pingpong/.cvsignore:
140         * examples/plugins/.cvsignore:
141         * examples/queue/.cvsignore:
142         * examples/queue2/.cvsignore:
143         * examples/queue3/.cvsignore:
144         * examples/queue4/.cvsignore:
145         * examples/retag/.cvsignore:
146         * examples/thread/.cvsignore:
147         * examples/typefind/.cvsignore:
148         * examples/xml/.cvsignore:
149         * gst/.cvsignore:
150         * gst/autoplug/.cvsignore:
151         * gst/elements/.cvsignore:
152         * gst/indexers/.cvsignore:
153         * gst/parse/.cvsignore:
154         * gst/registries/.cvsignore:
155         * gst/schedulers/.cvsignore:
156         * libs/gst/bytestream/.cvsignore:
157         * libs/gst/control/.cvsignore:
158         * libs/gst/getbits/.cvsignore:
159         * tests/.cvsignore:
160         * tests/bufspeed/.cvsignore:
161         * tests/instantiate/.cvsignore:
162         * tests/memchunk/.cvsignore:
163         * tests/muxing/.cvsignore:
164         * tests/sched/.cvsignore:
165         * tests/seeking/.cvsignore:
166         * tests/threadstate/.cvsignore:
167         * testsuite/.cvsignore:
168         * testsuite/caps/.cvsignore:
169         * testsuite/cleanup/.cvsignore:
170         * testsuite/dynparams/.cvsignore:
171         * testsuite/plugin/.cvsignore:
172         * tools/.cvsignore:
173           update - this is huge, because it includes *.bb, *.bbg and *.da files
174           which are generated for gcov.
175
176 2004-01-11  David Schleef  <ds@schleef.org>
177
178         * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
179         a function to parse integers in ways that strto[u]l() does not.
180
181 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
182
183         * tools/gst-inspect.c: (print_caps):
184           improve output of caps a bit
185
186 2004-01-11  David Schleef  <ds@schleef.org>
187
188         * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
189         inherit correct flags (READONLY and DONTKEEP).
190
191 2004-01-11  David Schleef  <ds@schleef.org>
192
193         * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
194         (gst_filesrc_map_region):
195         * gst/gstbuffer.c: (_gst_buffer_initialize),
196         (_gst_buffer_sub_free), (gst_buffer_default_copy),
197         (gst_buffer_new), (gst_buffer_create_sub),
198         (gst_buffer_is_span_fast), (gst_buffer_span):
199         * gst/gstbuffer.h:
200         Change GstBuffer private structure element names. (all files)
201         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
202         (gst_queue_link):
203         * gst/gstqueue.h:
204         Implement getcaps/pad_link functions that handle the case where
205         there are data in the queue.
206
207 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
208
209         * gst/elements/gstbufferstore.c:
210           initialize debugging structure correctly
211         * gst/elements/gsttee.c: (gst_tee_set_property):
212           g_object_notify when property was changed
213         * gst/elements/gsttypefindelement.c:
214         (gst_type_find_element_change_state):
215           clear caps correctly
216
217 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
218
219         * gst/gstqueue.c: (gst_queue_init):
220           Use better defaults for when a queue should block. This
221           gets rid of jerky playback for quite a few files.
222           It takes more memory.
223
224 2004-01-10  Thomas Vander Stichele  <thomas at apestaart dot org>
225
226         (gst_xml_registry_parse_padtemplate):
227           make critical message slightly more useful
228
229 2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
230
231         * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
232         (gst_debug_message_get), (gst_debug_log_default):
233         * gst/gstinfo.h:
234           Change gst_debug_log(_valist) to take a const format string.
235           Change prototype of log function and functions using those to 
236           take a GstDebugMessage instead of a string that requires using
237           gst_debug_message_get.
238
239 2004-01-08  David Schleef  <ds@schleef.org>
240
241         * Makefile.am:
242         * configure.ac:
243         Add option --enable-gcov to build GStreamer with -fprofile-arcs
244         and -ftest-coverage, which allows gcov to show information about
245         testsuite coverage.
246
247 2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
248
249         * gst/gstutils.h:
250           Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
251           GST_PARENT_CALL_WITH_DEFAULT
252         * gst/elements/gstaggregator.c: 
253         * gst/elements/gstbufferstore.c: 
254         * gst/elements/gstfakesink.c: 
255         * gst/elements/gstfakesrc.c: 
256         * gst/elements/gstfdsink.c: 
257         * gst/elements/gstfdsrc.c: 
258         * gst/elements/gstfilesink.c: 
259         * gst/elements/gstfilesrc.c: 
260         * gst/elements/gstidentity.c: 
261         * gst/elements/gstmd5sink.c: 
262         * gst/elements/gstmultidisksrc.c:
263         * gst/elements/gstpipefilter.c: 
264         * gst/elements/gstshaper.c:
265         * gst/elements/gststatistics.c:
266         * gst/elements/gsttee.c:
267         * gst/elements/gsttypefindelement.c:
268           use them.
269
270 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
271
272         * docs/gst/gstreamer-docs.sgml: remove props
273         * docs/gst/gstreamer-sections.txt: remove props
274         * docs/gst/tmpl/gst.sgml:
275         * docs/gst/tmpl/gstbin.sgml:
276         * docs/gst/tmpl/gstbuffer.sgml:
277         * docs/gst/tmpl/gstcaps.sgml:
278         * docs/gst/tmpl/gstclock.sgml:
279         * docs/gst/tmpl/gstelement.sgml:
280         * docs/gst/tmpl/gstindex.sgml:
281         * docs/gst/tmpl/gstobject.sgml:
282         * docs/gst/tmpl/gstpad.sgml:
283         * docs/gst/tmpl/gstpadtemplate.sgml:
284         * docs/gst/tmpl/gstreamer-unused.sgml:
285         * docs/gst/tmpl/gstthread.sgml:
286         * docs/gst/tmpl/gstxml.sgml:
287           sync with code reorganization
288
289 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
290
291         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
292         Make the 'Could not find compatible pad' message more informative.
293
294 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
295
296         * gst/gstcaps.c: (gst_caps_append_structure):
297           Move the poisoning to allow a NULL structure
298         * gst/gstevent.c: (_gst_event_free):
299           When freeing a navigation event, free the structure
300           also
301
302 2004-01-04  David Schleef  <ds@schleef.org>
303
304         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
305         Remove usage of gst_pad_proxy_fixate.
306         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
307         (gst_caps_split_one), (gst_caps_replace):
308         Add poisoning code.
309         * gst/gstmarshal.list:
310         Add pointer__pointer for fixate signal
311         * gst/gstpad.c: (gst_real_pad_class_init),
312         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
313         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
314         (gst_pad_set_explicit_caps), (gst_pad_template_new):
315         Add poisoning code. Add fixate signal on RealPad. Change
316         set_explicit_caps() to take const GstCaps, like try_set_caps().
317         * gst/gstpad.h:
318         * testsuite/caps/Makefile.am:
319         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
320
321 2004-01-03  David Schleef  <ds@schleef.org>
322
323         * gst/elements/gsttypefindelement.c:
324         (gst_type_find_element_have_type), (gst_type_find_element_init):
325         Use gst_pad_use_explicit_caps for src pad.
326         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
327         before using it.
328
329 2004-01-03  David Schleef  <ds@schleef.org>
330
331         * gst/gstelement.c: (gst_element_link_pads_filtered),
332         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
333         that linking was successful.
334         * gst/gstpad.c: (gst_pad_link_free),
335         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
336         (gst_pad_link_try), (gst_pad_link_unnegotiate),
337         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
338         GstPadLinkReturn correctly between functions, and don't fail
339         when DELAYED is used (DELAYED is very important).  Better
340         cleanup on unlinking and unnegotiation.  Should fix some spider
341         bugs.
342
343 2004-01-02  David Schleef  <ds@schleef.org>
344
345         * gst/gstelement.c: (gst_element_class_init),
346         (gst_element_base_class_init): ->padtemplates should be cleared
347         in base_init, since we need to have a fresh list for every
348         class.  (Alternately, we chould copy the list and share the
349         actual pad templates (not the list), but that would require
350         changing every plugin to move pad template registration from
351         base_init to class_init.)
352
353 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
354
355         * gst/gstelement.c: (gst_element_class_add_pad_template):
356           Refuse registering a pad template if another pad template
357           with the same name already exists (#114715).
358
359 2004-01-02  David Schleef  <ds@schleef.org>
360
361         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
362         (gst_caps_is_equal_fixed): Add new function.
363         * gst/gstcaps.h: ditto.
364         * gst/gstpad.c: (gst_real_pad_class_init),
365         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
366         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
367         check new caps against existing caps -- if they're the same, return
368         OK without renegotiating.  caps-nego-failed signal fixed so that
369         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
370         to save an extra caps copy.  Don't complete negotiation if a pad
371         link function returns DELAYED.
372
373 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
374
375         * gst/gstpad.c: (gst_pad_try_relink_filtered):
376           Fix wrong g_return_if_fail
377
378 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
379
380         * gst/gstbin.c: (gst_bin_class_init):
381         Change the marshalling of element_added/element_removed
382         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
383         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
384
385 2004-01-01  David Schleef  <ds@schleef.org>
386
387         * gst/gstpad.c: (gst_pad_set_explicit_caps),
388         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
389         (gst_pad_use_explicit_caps):
390         * gst/gstpad.h:
391         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
392         to use an internal getcaps and link fuction so that negotiation
393         always results in the explicitly set caps.
394         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
395         are particularly useful for decoders.
396
397 2003-12-31  David Schleef  <ds@schleef.org>
398
399         * gst/elements/gstidentity.c: (gst_identity_class_init),
400         (gst_identity_init), (gst_identity_chain),
401         (gst_identity_set_property), (gst_identity_get_property):
402         * gst/elements/gstidentity.h:
403         * gst/gstqueue.c: (gst_queue_init):
404           Negotiation fixes.
405
406 2003-12-31  David Schleef  <ds@schleef.org>
407
408         * gst/gstcaps.c: (gst_caps_intersect),
409         (_gst_caps_normalize_foreach), (gst_caps_normalize):
410           Implement gst_caps_normalize().
411         * testsuite/caps/normalisation.c: (main):
412           Add an additional test
413
414 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
415
416         * gst/gstqueue.c: (gst_queue_init):
417           use gst_pad_proxy_getcaps()
418
419 2003-12-31  David Schleef  <ds@schleef.org>
420
421         * gst/elements/gstshaper.c: (gst_shaper_link):
422         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
423         * gst/gstqueue.c: (gst_queue_link):
424           Negotiation fixes.
425
426 2003-12-31  David Schleef  <ds@schleef.org>
427
428         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
429         * gst/gstpad.h: Add functions that are useful as default pad
430         link and fixate functions for elements.
431
432 2003-12-30  David Schleef  <ds@schleef.org>
433
434         * gst/gstpad.c: (gst_pad_link_try):
435           Fix segfault when attempting to return to old caps
436
437 2003-12-29  David Schleef  <ds@schleef.org>
438
439         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
440         (gst_caps_structure_simplify), (gst_caps_simplify):
441         * gst/gstcaps.h:
442           Add simplify function
443         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
444         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
445         * gst/gstpad.h:
446           Copy over srcnotify, sinknotify when calling old pad_link
447           functions.  Add new is_negotiated() function.
448         * gst/gststructure.c: (gst_structure_copy):
449           Fix an incredibly stupid bug that should have been noticed
450           weeks ago.  _copy() returned the argument, not the new copy.
451
452 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
453
454         * gst/gstcaps.c: (gst_caps_append):
455           add sanity checks
456         * gst/gstcaps.h: (gst_caps_debug):
457           remove, it doesn't exist anymore.
458         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
459         (gst_element_threadsafe_properties_post_run):
460           make debugging messages not clutter up THREAD debug category
461         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
462         (gst_element_change_state):
463           update to new caps API
464         * gst/gstinterface.c: (gst_implements_interface_cast):
465           don't put vital code in g_return_if_fail
466         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
467         (gst_pad_link_filtered):
468           add pst_pad_try_link and use it.
469         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
470           implement correctly, deprecate first one.
471         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
472           add and implement.
473         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
474           implement.
475         (gst_pad_get_negotiated_caps):
476           add and implement. Make GST_PAD_CAPS call this function.
477         (gst_pad_get_caps):
478           remove unneeded check..
479         (gst_pad_recover_caps_error):
480           disable, always return FALSE.
481         (gst_real_pad_dispose):
482           don't free caps and appfilter anymore, they're unused.
483         * gst/gstpad.h:
484           Reflect changes mentioned above.
485         * gst/gstsystemclock.c: (gst_system_clock_wait):
486           Make 'clock is way behind' a debugging message.
487         * gst/gstthread.c: (gst_thread_change_state):
488           Fix debugging message
489
490 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
491
492         * gst/gstinfo.h:
493           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
494         * docs/gst/tmpl/gstreamer-unused.sgml:
495           removed all traces of cvs conflicts
496
497 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
498
499         * configure.ac:
500         * gst/schedulers/cothreads_compat.h:
501         * libs/Makefile.am:
502           remove last instances of wingo cothread usage
503
504 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
505
506         * gst/gstplugin.c:
507         * gst/gstversion.h.in:
508         * gst/parse/grammar.y:
509           change comment block from /** to /* when not gtk-doc comments
510
511 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
512
513         * gst/gst.c: whitespace and doc style fixes
514
515 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
516
517         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
518
519 2003-12-24  Colin Walters  <walters@verbum.org>
520
521         * gst/elements/gsttypefindelement.c:
522           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
523           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
524           Don't double-free caps.
525
526 2003-12-23  David Schleef  <ds@schleef.org>
527
528         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
529           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
530           Many little fixes and additions of debug statements to
531           get rhythmbox working.
532
533 2003-12-23  Colin Walters  <walters@verbum.org>
534
535         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
536         Use GST_PAD_LINK_SUCCESSFUL.
537
538 2003-12-23  David Schleef  <ds@schleef.org>
539
540         * gst/elements/gstaggregator.c:
541         * gst/elements/gsttee.c:
542           Use gst_pad_proxy_getcaps().
543         * gst/gstpad.c:
544         * gst/gstpad.h:
545           Add gst_pad_proxy_getcaps(), which filter elements can use
546           as a generic getcaps implementation.
547           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
548           was advertised.
549
550 2003-12-23  David Schleef  <ds@schleef.org>
551
552         * gst/gstpad.c:
553           Rearrange/rewrite much of the pad negotiation code, since it
554           resembled pasta.  This actually changes the way some
555           negotiation works, since the previous code was inconsistent
556           depending on how it was invoked.  Add (internal) structure
557           GstPadLink, which is used to hold some information (more in
558           the future) about the link between two pads.  Fixes a number
559           of bugs, including random lossage of filter caps when the
560           initial negotiation is delayed.  A few functions are still
561           unimplemented.
562         * gst/gstpad.h:
563           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
564           these when testing GstPadLinkReturn values instead of comparing
565           directly.
566
567 2003-12-23  David Schleef  <ds@schleef.org>
568
569         * gst/gstvalue.c: 
570         * gst/gstvalue.h:
571           Rearrange lots of code.  Change registration of compare function
572           into registration of compare/serialize/deserialize functions.
573           Doesn't include implementation of gst_value_[de]serialize(),
574           but that should be easy.
575
576 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
577
578         * docs/gst/gstreamer-sections.txt:
579         * docs/gst/tmpl/gstprops.sgml: removed
580         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
581           David removed props and caps code, so let's remove their docs as well.
582           Removed all no longer existing symbols from gstreamer-sections.txt
583           
584 2003-12-22  Colin Walters  <walters@verbum.org>
585
586         * gst/gsttaginterface.c, gst/gsttaginterface.h,
587           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
588           of tags directly.
589
590 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
591
592         * gst/elements/gstelements.c:
593           Set ranks of elements to NONE, so the autoplugger doesn't use them.
594         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
595           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
596           gst_caps (peer).
597
598 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
599
600         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
601         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
602         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
603         (gst_spider_identity_sink_loop_type_finding):
604         * gst/autoplug/gstspideridentity.h:
605           Fix autoplugging in spider element, so it works with new caps.
606           This was mainly caused by identifying empty caps incorrectly.
607
608 2003-12-22  David Schleef  <ds@schleef.org>
609
610         * gststructure.c, gstvalue.c, gstvalue.h: Add
611           gst_value_init_and_copy() and use it, to avoid silly mistakes in
612           using g_value_copy()
613
614 2003-12-21  David Schleef  <ds@schleef.org>
615
616         * many, many files: Merge CAPS branch.  This includes:
617           - implemention of GstValue and several GstValue types
618           - implemention of GstStructure
619           - entire rewrite of GstCaps
620           - removal of GstProps
621           - many changes to GstPad to compensate for new caps paradigm
622           - removal of GstBufferpool
623         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
624         gstvalue.h, gst/gstcaps[2]*.[ch]:
625           - rename gstcaps2.[ch] to gstcaps.[ch]
626
627 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
628
629         * gst/gstqueue.c: (gst_queue_handle_pending_events),
630         (gst_queue_chain), (gst_queue_handle_src_event):
631           implement timeout for sending events. Workaround for if the
632           pipeline on this queue is not passing any data.
633
634 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
635                                                                                 
636         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
637         * moved CVS to freedesktop.org
638