fix rename
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2
3         * gst/gstpluginfeature.c:
4           fix doc snippet
5         * tools/gst-inspect.c: (print_element_list):
6           fix output of typefind
7           add GPL header
8         * tools/gst-launch.c:
9           add GPL header
10
11 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12
13         * gst/elements/Makefile.am:
14         * gst/elements/gstelements.c:
15         * gst/elements/gsttypefindelement.c:
16         * gst/elements/gsttypefindelement.h:
17           renamed gsttypefindelement to gsttypefind, conserving CVS history
18
19 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20
21         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
22         * gst/gsttag.h:
23           add some tags used in ogg as well
24           fix _ in replaygain tags
25
26 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
27
28         * gst/gsterror.h:
29           fix wrong GST_LIBRARY_ERROR_ENCODE addition
30
31 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
32
33         * gst/gstelement.c: (gst_element_error_full):
34         * gst/gstelement.h:
35           change _extended to _full
36
37 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
38
39         reviewed by: <delete if not using a buddy>
40
41         * docs/gst/tmpl/gst.sgml:
42         * docs/gst/tmpl/gstbuffer.sgml:
43         * docs/gst/tmpl/gstclock.sgml:
44         * docs/gst/tmpl/gstelement.sgml:
45         * docs/gst/tmpl/gstreamer-unused.sgml:
46         * docs/gst/tmpl/gstxml.sgml:
47         * gst/gstelement.c: (gst_element_error_full):
48         * gst/gstelement.h:
49
50 2004-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
51
52         * gst/gstelement.h: fix _gst_element_error_printf prototype
53
54 2004-01-20  David Schleef  <ds@schleef.org>
55
56         * gst/gststructure.c: (gst_structure_to_string):
57         Convert function to use gst_value_serialize().
58         * gst/gstvalue.c: (gst_value_serialize_list),
59         (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
60         (gst_value_serialize_double_range), (gst_value_serialize_boolean),
61         (gst_value_serialize_int), (gst_value_serialize_double),
62         (gst_string_wrap), (gst_value_serialize_string),
63         (gst_value_serialize), (gst_value_deserialize):
64         * gst/gstvalue.h:
65         Add implementations for serialize.
66
67 2004-01-20  Julien MOUTTE  <julien@moutte.net>
68
69         * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
70         we want to keep that one in the future or change xvidenc.c to use 
71         another error.
72
73 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
74
75         * gst/gstelement.c: (_gst_element_error_printf):
76         * gst/gstelement.h:
77           privatise function
78
79 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
80
81         * docs/random/error:
82           doc explaining error system
83         * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
84           cleanup
85
86 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
87
88         * gst/gst-i18n-app.h:
89         * gst/gst-i18n-lib.h:
90           remove inclusion of config.h
91         * po/POTFILES.in:
92         * po/nl.po:
93           add gst/gstelement.c
94
95 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
96
97         * po/nl.po: updated Dutch translation
98
99 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
100
101         * gst/gsterror.c: (_gst_core_errors_init),
102         (_gst_library_errors_init), (_gst_resource_errors_init),
103         (_gst_stream_errors_init):
104         remove ending punctuation dots
105
106 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
107
108         * gst/elements/gstfilesink.c: (gst_filesink_open_file):
109         * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
110         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
111         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
112         (gst_pipefilter_chain), (gst_pipefilter_open_file):
113         use GST_ERROR_SYSTEM
114
115 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
116
117         * gst/gstelement.c: (gst_element_error_printf),
118         (gst_element_error_extended):
119         * gst/gstelement.h:
120           add a helper printf function so we can have NULL values passed.
121
122 2004-01-19  Thomas Vander Stichele  <thomas at apestaart dot org>
123
124         * gst/gstelement.h:
125           add G_STMT macros to gst_element_error, which isn't strictly
126           necessary but people tell me to anyway.
127
128 2004-01-18  Thomas Vander Stichele  <thomas at apestaart dot org>
129
130         * gst/Makefile.am:
131         * gst/autoplug/gstspideridentity.c:
132         (gst_spider_identity_sink_loop_type_finding):
133         * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
134         * gst/elements/gstfilesink.c: (gst_filesink_open_file),
135         (gst_filesink_close_file), (gst_filesink_handle_event),
136         (gst_filesink_chain):
137         * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
138         (gst_filesrc_map_region), (gst_filesrc_get_read),
139         (gst_filesrc_open_file):
140         * gst/elements/gstidentity.c: (gst_identity_chain):
141         * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
142         * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
143         (gst_pipefilter_chain), (gst_pipefilter_open_file):
144         * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
145         * gst/gst.h:
146         * gst/gst_private.h:
147         * gst/gstelement.c: (gst_element_class_init),
148         (gst_element_default_error), (gst_element_error_func),
149         (gst_element_error_extended):
150         * gst/gstelement.h:
151         * gst/gsterror.c: (_gst_core_errors_init),
152         (_gst_library_errors_init), (_gst_resource_errors_init),
153         (_gst_stream_errors_init), (gst_error_get_message):
154         * gst/gsterror.h:
155         * gst/gstinfo.c: (_gst_debug_init):
156         * gst/gstmarshal.list:
157         * gst/gstpad.c: (gst_pad_set_explicit_caps),
158         (gst_pad_recover_caps_error), (gst_pad_pull):
159         * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
160         * gst/schedulers/gstbasicscheduler.c:
161         (gst_basic_scheduler_chainhandler_proxy),
162         (gst_basic_scheduler_gethandler_proxy),
163         (gst_basic_scheduler_cothreaded_chain):
164         * po/POTFILES.in:
165         * po/fr.po:
166         * po/nl.po:
167           change error signal
168           add error categories
169
170 2004-01-18  Jeremy Simon  <jesimon@libertysurf.fr>
171
172         * gst/gsttag.c: (_gst_tag_initialize):
173         * gst/gsttag.h:
174         Add replaygain tag
175
176 2004-01-18  Colin Walters  <walters@verbum.org>
177
178         * examples/retag/retag.c: Call gst_init before processing
179         program args.  Add g_assert to _link_many call.
180
181 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
182
183         * gst/gstpad.c: (gst_pad_alloc_buffer):
184           Return a newly allocated buffer when the pad has no peer.
185
186 2004-01-16  Benjamin Otte  <in7y118@public.uni-hamburg.de>
187
188         * gst/gstclock.c: (gst_clock_get_time):
189           make it compile with gcc 2.95 again.
190           Patch by Scott Wheeler
191
192 2004-01-15  David Schleef  <ds@schleef.org>
193
194         * gst/gstcaps.h:
195         Added gst_caps_is_simple() macro.
196         * testsuite/caps/caps.c: (test1):
197         * testsuite/caps/intersect2.c: (main):
198         * testsuite/caps/intersection.c: (main):
199         Fixes to make 'make check' work again after removing
200         gst_caps_is_chained().
201
202 2004-01-15  Leif Johnson <leif@ambient.2y.net>
203
204         * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
205         and additions to the MIDI document.
206
207 2004-01-15  David Schleef  <ds@schleef.org>
208
209         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
210         (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
211         of GST_RPAD_, since we don't know if it's a real or ghost pad.
212
213 2004-01-15  David Schleef  <ds@schleef.org>
214
215         * gst/gstqueue.c:
216         * gst/gstqueue.h:
217         Fix the spelling of "treshold" and make min_threshold actually
218         affect the queue.
219
220 2004-01-15  David Schleef  <ds@schleef.org>
221
222         * gst/gstcaps.c:
223         Add lots of documentation.
224         * gst/gstcaps.h:
225         Deprecate a few functions.
226         * gst/gstpad.c:
227         Removed use of deprecated functions.
228
229 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
230
231         * gst/gstpad.c: (gst_pad_is_linked):
232         * gst/gstpad.h:
233           implement gst_pad_is_linked
234         * gst/gstelement.h:
235           reserve space for initiate_state_change
236
237 2004-01-15  Benjamin Otte  <in7y118@public.uni-hamburg.de>
238
239         * gst/autoplug/gstspideridentity.c:
240         (gst_spider_identity_sink_loop_type_finding):
241           break infinite loop by just returning instead of looping
242         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
243           set event time difference correctly. Set it to 1 second instead
244           of 100ms to be more tolerant
245         * gst/gstelement.c: (gst_element_set_time):
246           add debugging output
247
248 2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>
249
250         * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
251           query if buffers are inside the pool, ignore events
252
253 2004-01-13  Benjamin Otte  <in7y118@public.uni-hamburg.de>
254
255         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
256         (gst_clock_set_speed), (gst_clock_set_active),
257         (gst_clock_is_active), (gst_clock_reset),
258         (gst_clock_handle_discont):
259         * gst/gstclock.h:
260           deprecate old interface and disable functions that aren't in use
261           anymore.
262         * gst/gstelement.h:
263         * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
264         (gst_element_set_time), (gst_element_adjust_time):
265           add concept of "element time" and functions to get/set this time.
266         * gst/gstelement.c: (gst_element_change_state):
267           update element time correctly.
268         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
269           This is a debug message, not a g_critical.
270         * gst/gstpad.c: (gst_pad_event_default):
271           handle discontinuous events right with element time.
272         * gst/gstscheduler.c: (gst_scheduler_state_transition):
273           update to clocking fixes.
274           set clocks on elements in READY=>PAUSED. The old behaviour caused
275           a wrong element time on the first element that started playing.
276         * gst/schedulers/gstbasicscheduler.c:
277         (gst_basic_scheduler_class_init):
278         * gst/schedulers/gstoptimalscheduler.c:
279         (gst_opt_scheduler_class_init):
280           remove code that just implements the default behaviour.
281         * gst/elements/gstfakesink.c: (gst_fakesink_chain):
282           update to use new clocking functions
283         * testsuite/clock/clock1.c: (gst_clock_debug), (main):
284         * testsuite/clock/clock2.c: (gst_clock_debug), (main):
285           update to test new element time.
286         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
287           use _get_allowed_caps instead of _get_caps. This catches filtered
288           caps correctly.
289         * testsuite/debug/commandline.c:
290           update for new GST_DEBUG syntax.
291         * testsuite/threads/Makefile.am:
292           disable a test that only works sometimes.
293
294 2004-01-13  Julien MOUTTE <julien@moutte.net>
295
296         * po/LINGUAS: Adding fr.
297         * po/fr.po: Adding french translation.
298
299 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
300
301         * gst/parse/grammar.y:
302         * po/POTFILES.in:
303         * po/nl.po:
304         * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
305           translate parsing error messages
306
307 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
308
309         * po/POTFILES.in: adding gst-launch
310         * po/nl.po: updated translation, all 99 strings translated
311         * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
312         (found_tag), (sigint_handler_sighandler), (play_handler), (main):
313           fix strings for translation
314
315 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
316
317         * gst/gst.c:
318           - capitalize beginnings of popt options
319           - fix strings for translation
320           - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
321
322 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
323
324         * po/README: add some notes on how to update translations
325
326 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
327
328         * ABOUT-NLS: removed, is autogenerated from autopoint
329         * autogen.sh: add autopoint stuff
330         * configure.ac: fix up gettext stuff
331         * gst/Makefile.am: add i18n headers to noinst_HEADERS
332         * gst/elements/gsttypefindelement.c: add header include
333         * gst/gettext.h: add header, copy from system-installed header
334         * gst/gst-i18n-app.h: to be included by each app having translations
335         * gst/gst-i18n-lib.h: to be included by each lib having translations
336         * gst/gst.c: (init_pre): fix up gettext calls
337         * gst/gst_private.h: remove i18n stuff, moving to separate headers
338         * po/LINGUAS: the new way to specify translations present
339         * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
340         * po/Makevars: the variables filled in for GStreamer
341         * po/POTFILES.in: added new files with translations
342         * po/de.po: has new strings
343         * po/nl.po: readded, has new strings
344
345 2004-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
346
347         * gst/gsttag.c: fix some strings marked for translation
348
349 2004-01-13  Iain <iain@prettypeople.org>
350
351         * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
352         group when we add an element to it, cos we unref it when we remove one
353
354 2004-01-12  Thomas Vander Stichele  <thomas at apestaart dot org>
355
356         * testsuite/debug/commandline.c: (debug_not_reached):
357         * testsuite/debug/output.c: (check_message):
358           fix testsuite
359
360 2004-01-12  Benjamin Otte  <in7y118@public.uni-hamburg.de>
361
362         * examples/cutter/.cvsignore:
363         * examples/helloworld/.cvsignore:
364         * examples/launch/.cvsignore:
365         * examples/manual/.cvsignore:
366         * examples/mixer/.cvsignore:
367         * examples/pingpong/.cvsignore:
368         * examples/plugins/.cvsignore:
369         * examples/queue/.cvsignore:
370         * examples/queue2/.cvsignore:
371         * examples/queue3/.cvsignore:
372         * examples/queue4/.cvsignore:
373         * examples/retag/.cvsignore:
374         * examples/thread/.cvsignore:
375         * examples/typefind/.cvsignore:
376         * examples/xml/.cvsignore:
377         * gst/.cvsignore:
378         * gst/autoplug/.cvsignore:
379         * gst/elements/.cvsignore:
380         * gst/indexers/.cvsignore:
381         * gst/parse/.cvsignore:
382         * gst/registries/.cvsignore:
383         * gst/schedulers/.cvsignore:
384         * libs/gst/bytestream/.cvsignore:
385         * libs/gst/control/.cvsignore:
386         * libs/gst/getbits/.cvsignore:
387         * tests/.cvsignore:
388         * tests/bufspeed/.cvsignore:
389         * tests/instantiate/.cvsignore:
390         * tests/memchunk/.cvsignore:
391         * tests/muxing/.cvsignore:
392         * tests/sched/.cvsignore:
393         * tests/seeking/.cvsignore:
394         * tests/threadstate/.cvsignore:
395         * testsuite/.cvsignore:
396         * testsuite/caps/.cvsignore:
397         * testsuite/cleanup/.cvsignore:
398         * testsuite/dynparams/.cvsignore:
399         * testsuite/plugin/.cvsignore:
400         * tools/.cvsignore:
401           update - this is huge, because it includes *.bb, *.bbg and *.da files
402           which are generated for gcov.
403
404 2004-01-11  David Schleef  <ds@schleef.org>
405
406         * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
407         a function to parse integers in ways that strto[u]l() does not.
408
409 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
410
411         * tools/gst-inspect.c: (print_caps):
412           improve output of caps a bit
413
414 2004-01-11  David Schleef  <ds@schleef.org>
415
416         * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
417         inherit correct flags (READONLY and DONTKEEP).
418
419 2004-01-11  David Schleef  <ds@schleef.org>
420
421         * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
422         (gst_filesrc_map_region):
423         * gst/gstbuffer.c: (_gst_buffer_initialize),
424         (_gst_buffer_sub_free), (gst_buffer_default_copy),
425         (gst_buffer_new), (gst_buffer_create_sub),
426         (gst_buffer_is_span_fast), (gst_buffer_span):
427         * gst/gstbuffer.h:
428         Change GstBuffer private structure element names. (all files)
429         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
430         (gst_queue_link):
431         * gst/gstqueue.h:
432         Implement getcaps/pad_link functions that handle the case where
433         there are data in the queue.
434
435 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
436
437         * gst/elements/gstbufferstore.c:
438           initialize debugging structure correctly
439         * gst/elements/gsttee.c: (gst_tee_set_property):
440           g_object_notify when property was changed
441         * gst/elements/gsttypefindelement.c:
442         (gst_type_find_element_change_state):
443           clear caps correctly
444
445 2004-01-11  Benjamin Otte  <in7y118@public.uni-hamburg.de>
446
447         * gst/gstqueue.c: (gst_queue_init):
448           Use better defaults for when a queue should block. This
449           gets rid of jerky playback for quite a few files.
450           It takes more memory.
451
452 2004-01-10  Thomas Vander Stichele  <thomas at apestaart dot org>
453
454         (gst_xml_registry_parse_padtemplate):
455           make critical message slightly more useful
456
457 2004-01-10  Benjamin Otte  <in7y118@public.uni-hamburg.de>
458
459         * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
460         (gst_debug_message_get), (gst_debug_log_default):
461         * gst/gstinfo.h:
462           Change gst_debug_log(_valist) to take a const format string.
463           Change prototype of log function and functions using those to 
464           take a GstDebugMessage instead of a string that requires using
465           gst_debug_message_get.
466
467 2004-01-08  David Schleef  <ds@schleef.org>
468
469         * Makefile.am:
470         * configure.ac:
471         Add option --enable-gcov to build GStreamer with -fprofile-arcs
472         and -ftest-coverage, which allows gcov to show information about
473         testsuite coverage.
474
475 2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
476
477         * gst/gstutils.h:
478           Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
479           GST_PARENT_CALL_WITH_DEFAULT
480         * gst/elements/gstaggregator.c: 
481         * gst/elements/gstbufferstore.c: 
482         * gst/elements/gstfakesink.c: 
483         * gst/elements/gstfakesrc.c: 
484         * gst/elements/gstfdsink.c: 
485         * gst/elements/gstfdsrc.c: 
486         * gst/elements/gstfilesink.c: 
487         * gst/elements/gstfilesrc.c: 
488         * gst/elements/gstidentity.c: 
489         * gst/elements/gstmd5sink.c: 
490         * gst/elements/gstmultidisksrc.c:
491         * gst/elements/gstpipefilter.c: 
492         * gst/elements/gstshaper.c:
493         * gst/elements/gststatistics.c:
494         * gst/elements/gsttee.c:
495         * gst/elements/gsttypefindelement.c:
496           use them.
497
498 2004-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
499
500         * docs/gst/gstreamer-docs.sgml: remove props
501         * docs/gst/gstreamer-sections.txt: remove props
502         * docs/gst/tmpl/gst.sgml:
503         * docs/gst/tmpl/gstbin.sgml:
504         * docs/gst/tmpl/gstbuffer.sgml:
505         * docs/gst/tmpl/gstcaps.sgml:
506         * docs/gst/tmpl/gstclock.sgml:
507         * docs/gst/tmpl/gstelement.sgml:
508         * docs/gst/tmpl/gstindex.sgml:
509         * docs/gst/tmpl/gstobject.sgml:
510         * docs/gst/tmpl/gstpad.sgml:
511         * docs/gst/tmpl/gstpadtemplate.sgml:
512         * docs/gst/tmpl/gstreamer-unused.sgml:
513         * docs/gst/tmpl/gstthread.sgml:
514         * docs/gst/tmpl/gstxml.sgml:
515           sync with code reorganization
516
517 2004-01-07  Jan Schmidt  <thaytan@mad.scientist.com>
518
519         * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
520         Make the 'Could not find compatible pad' message more informative.
521
522 2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
523                                                                                 
524         * gst/elements/gstfilesink.c: (gst_filesink_set_location):
525           Fix for if we pass NULL as property to location.
526         * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
527         (gst_pipefilter_handle_event), (gst_pipefilter_chain):
528           Fix for instantiate-test (see below).
529         * gst/gststructure.c: (_gst_structure_parse_value):
530           Fix compile error on gcc-2.96.
531         * configure.ac:
532         * tests/Makefile.am:
533         * tests/instantiate/Makefile.am:
534         * tests/instantiate/create.c: (create_all_elements), (main):
535           Add a test that instantiates all elements. This makes it easy to
536           track dead code for old API/design (like setting event functions
537           on sink pads and so on).
538
539 2004-01-06  Jan Schmidt  <thaytan@mad.scientist.com>
540
541         * gst/gstcaps.c: (gst_caps_append_structure):
542           Move the poisoning to allow a NULL structure
543         * gst/gstevent.c: (_gst_event_free):
544           When freeing a navigation event, free the structure
545           also
546
547 2004-01-04  David Schleef  <ds@schleef.org>
548
549         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
550         Remove usage of gst_pad_proxy_fixate.
551         * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
552         (gst_caps_split_one), (gst_caps_replace):
553         Add poisoning code.
554         * gst/gstmarshal.list:
555         Add pointer__pointer for fixate signal
556         * gst/gstpad.c: (gst_real_pad_class_init),
557         (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
558         (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
559         (gst_pad_set_explicit_caps), (gst_pad_template_new):
560         Add poisoning code. Add fixate signal on RealPad. Change
561         set_explicit_caps() to take const GstCaps, like try_set_caps().
562         * gst/gstpad.h:
563         * testsuite/caps/Makefile.am:
564         * testsuite/caps/app_fixate.c: Add a test for the fixate signal
565
566 2004-01-03  David Schleef  <ds@schleef.org>
567
568         * gst/elements/gsttypefindelement.c:
569         (gst_type_find_element_have_type), (gst_type_find_element_init):
570         Use gst_pad_use_explicit_caps for src pad.
571         * gst/gstpad.c: (gst_pad_try_set_caps):  Check that link exists
572         before using it.
573
574 2004-01-03  David Schleef  <ds@schleef.org>
575
576         * gst/gstelement.c: (gst_element_link_pads_filtered),
577         (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
578         that linking was successful.
579         * gst/gstpad.c: (gst_pad_link_free),
580         (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
581         (gst_pad_link_try), (gst_pad_link_unnegotiate),
582         (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
583         GstPadLinkReturn correctly between functions, and don't fail
584         when DELAYED is used (DELAYED is very important).  Better
585         cleanup on unlinking and unnegotiation.  Should fix some spider
586         bugs.
587
588 2004-01-02  David Schleef  <ds@schleef.org>
589
590         * gst/gstelement.c: (gst_element_class_init),
591         (gst_element_base_class_init): ->padtemplates should be cleared
592         in base_init, since we need to have a fresh list for every
593         class.  (Alternately, we chould copy the list and share the
594         actual pad templates (not the list), but that would require
595         changing every plugin to move pad template registration from
596         base_init to class_init.)
597
598 2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>
599
600         * gst/gstelement.c: (gst_element_class_add_pad_template):
601           Refuse registering a pad template if another pad template
602           with the same name already exists (#114715).
603
604 2004-01-02  David Schleef  <ds@schleef.org>
605
606         * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
607         (gst_caps_is_equal_fixed): Add new function.
608         * gst/gstcaps.h: ditto.
609         * gst/gstpad.c: (gst_real_pad_class_init),
610         (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
611         (gst_pad_set_explicit_caps), (gst_pad_get_caps):  In try_set_caps,
612         check new caps against existing caps -- if they're the same, return
613         OK without renegotiating.  caps-nego-failed signal fixed so that
614         the marshaller isn't VOID__OBJECT.  Also changed to G_TYPE_POINTER
615         to save an extra caps copy.  Don't complete negotiation if a pad
616         link function returns DELAYED.
617
618 2004-01-02  Benjamin Otte  <in7y118@public.uni-hamburg.de>
619
620         * gst/gstpad.c: (gst_pad_try_relink_filtered):
621           Fix wrong g_return_if_fail
622
623 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
624
625         * gst/gstbin.c: (gst_bin_class_init):
626         Change the marshalling of element_added/element_removed
627         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
628         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
629
630 2004-01-01  David Schleef  <ds@schleef.org>
631
632         * gst/gstpad.c: (gst_pad_set_explicit_caps),
633         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
634         (gst_pad_use_explicit_caps):
635         * gst/gstpad.h:
636         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
637         to use an internal getcaps and link fuction so that negotiation
638         always results in the explicitly set caps.
639         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
640         are particularly useful for decoders.
641
642 2003-12-31  David Schleef  <ds@schleef.org>
643
644         * gst/elements/gstidentity.c: (gst_identity_class_init),
645         (gst_identity_init), (gst_identity_chain),
646         (gst_identity_set_property), (gst_identity_get_property):
647         * gst/elements/gstidentity.h:
648         * gst/gstqueue.c: (gst_queue_init):
649           Negotiation fixes.
650
651 2003-12-31  David Schleef  <ds@schleef.org>
652
653         * gst/gstcaps.c: (gst_caps_intersect),
654         (_gst_caps_normalize_foreach), (gst_caps_normalize):
655           Implement gst_caps_normalize().
656         * testsuite/caps/normalisation.c: (main):
657           Add an additional test
658
659 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
660
661         * gst/gstqueue.c: (gst_queue_init):
662           use gst_pad_proxy_getcaps()
663
664 2003-12-31  David Schleef  <ds@schleef.org>
665
666         * gst/elements/gstshaper.c: (gst_shaper_link):
667         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
668         * gst/gstqueue.c: (gst_queue_link):
669           Negotiation fixes.
670
671 2003-12-31  David Schleef  <ds@schleef.org>
672
673         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
674         * gst/gstpad.h: Add functions that are useful as default pad
675         link and fixate functions for elements.
676
677 2003-12-30  David Schleef  <ds@schleef.org>
678
679         * gst/gstpad.c: (gst_pad_link_try):
680           Fix segfault when attempting to return to old caps
681
682 2003-12-29  David Schleef  <ds@schleef.org>
683
684         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
685         (gst_caps_structure_simplify), (gst_caps_simplify):
686         * gst/gstcaps.h:
687           Add simplify function
688         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
689         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
690         * gst/gstpad.h:
691           Copy over srcnotify, sinknotify when calling old pad_link
692           functions.  Add new is_negotiated() function.
693         * gst/gststructure.c: (gst_structure_copy):
694           Fix an incredibly stupid bug that should have been noticed
695           weeks ago.  _copy() returned the argument, not the new copy.
696
697 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
698
699         * gst/gstcaps.c: (gst_caps_append):
700           add sanity checks
701         * gst/gstcaps.h: (gst_caps_debug):
702           remove, it doesn't exist anymore.
703         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
704         (gst_element_threadsafe_properties_post_run):
705           make debugging messages not clutter up THREAD debug category
706         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
707         (gst_element_change_state):
708           update to new caps API
709         * gst/gstinterface.c: (gst_implements_interface_cast):
710           don't put vital code in g_return_if_fail
711         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
712         (gst_pad_link_filtered):
713           add pst_pad_try_link and use it.
714         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
715           implement correctly, deprecate first one.
716         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
717           add and implement.
718         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
719           implement.
720         (gst_pad_get_negotiated_caps):
721           add and implement. Make GST_PAD_CAPS call this function.
722         (gst_pad_get_caps):
723           remove unneeded check..
724         (gst_pad_recover_caps_error):
725           disable, always return FALSE.
726         (gst_real_pad_dispose):
727           don't free caps and appfilter anymore, they're unused.
728         * gst/gstpad.h:
729           Reflect changes mentioned above.
730         * gst/gstsystemclock.c: (gst_system_clock_wait):
731           Make 'clock is way behind' a debugging message.
732         * gst/gstthread.c: (gst_thread_change_state):
733           Fix debugging message
734
735 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
736
737         * gst/gstinfo.h:
738           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
739         * docs/gst/tmpl/gstreamer-unused.sgml:
740           removed all traces of cvs conflicts
741
742 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
743
744         * configure.ac:
745         * gst/schedulers/cothreads_compat.h:
746         * libs/Makefile.am:
747           remove last instances of wingo cothread usage
748
749 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
750
751         * gst/gstplugin.c:
752         * gst/gstversion.h.in:
753         * gst/parse/grammar.y:
754           change comment block from /** to /* when not gtk-doc comments
755
756 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
757
758         * gst/gst.c: whitespace and doc style fixes
759
760 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
761
762         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
763
764 2003-12-24  Colin Walters  <walters@verbum.org>
765
766         * gst/elements/gsttypefindelement.c:
767           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
768           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
769           Don't double-free caps.
770
771 2003-12-23  David Schleef  <ds@schleef.org>
772
773         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
774           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
775           Many little fixes and additions of debug statements to
776           get rhythmbox working.
777
778 2003-12-23  Colin Walters  <walters@verbum.org>
779
780         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
781         Use GST_PAD_LINK_SUCCESSFUL.
782
783 2003-12-23  David Schleef  <ds@schleef.org>
784
785         * gst/elements/gstaggregator.c:
786         * gst/elements/gsttee.c:
787           Use gst_pad_proxy_getcaps().
788         * gst/gstpad.c:
789         * gst/gstpad.h:
790           Add gst_pad_proxy_getcaps(), which filter elements can use
791           as a generic getcaps implementation.
792           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
793           was advertised.
794
795 2003-12-23  David Schleef  <ds@schleef.org>
796
797         * gst/gstpad.c:
798           Rearrange/rewrite much of the pad negotiation code, since it
799           resembled pasta.  This actually changes the way some
800           negotiation works, since the previous code was inconsistent
801           depending on how it was invoked.  Add (internal) structure
802           GstPadLink, which is used to hold some information (more in
803           the future) about the link between two pads.  Fixes a number
804           of bugs, including random lossage of filter caps when the
805           initial negotiation is delayed.  A few functions are still
806           unimplemented.
807         * gst/gstpad.h:
808           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
809           these when testing GstPadLinkReturn values instead of comparing
810           directly.
811
812 2003-12-23  David Schleef  <ds@schleef.org>
813
814         * gst/gstvalue.c: 
815         * gst/gstvalue.h:
816           Rearrange lots of code.  Change registration of compare function
817           into registration of compare/serialize/deserialize functions.
818           Doesn't include implementation of gst_value_[de]serialize(),
819           but that should be easy.
820
821 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
822
823         * docs/gst/gstreamer-sections.txt:
824         * docs/gst/tmpl/gstprops.sgml: removed
825         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
826           David removed props and caps code, so let's remove their docs as well.
827           Removed all no longer existing symbols from gstreamer-sections.txt
828           
829 2003-12-22  Colin Walters  <walters@verbum.org>
830
831         * gst/gsttaginterface.c, gst/gsttaginterface.h,
832           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
833           of tags directly.
834
835 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
836
837         * gst/elements/gstelements.c:
838           Set ranks of elements to NONE, so the autoplugger doesn't use them.
839         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
840           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
841           gst_caps (peer).
842
843 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
844
845         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
846         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
847         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
848         (gst_spider_identity_sink_loop_type_finding):
849         * gst/autoplug/gstspideridentity.h:
850           Fix autoplugging in spider element, so it works with new caps.
851           This was mainly caused by identifying empty caps incorrectly.
852
853 2003-12-22  David Schleef  <ds@schleef.org>
854
855         * gststructure.c, gstvalue.c, gstvalue.h: Add
856           gst_value_init_and_copy() and use it, to avoid silly mistakes in
857           using g_value_copy()
858
859 2003-12-21  David Schleef  <ds@schleef.org>
860
861         * many, many files: Merge CAPS branch.  This includes:
862           - implemention of GstValue and several GstValue types
863           - implemention of GstStructure
864           - entire rewrite of GstCaps
865           - removal of GstProps
866           - many changes to GstPad to compensate for new caps paradigm
867           - removal of GstBufferpool
868         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
869         gstvalue.h, gst/gstcaps[2]*.[ch]:
870           - rename gstcaps2.[ch] to gstcaps.[ch]
871
872 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
873
874         * gst/gstqueue.c: (gst_queue_handle_pending_events),
875         (gst_queue_chain), (gst_queue_handle_src_event):
876           implement timeout for sending events. Workaround for if the
877           pipeline on this queue is not passing any data.
878
879 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
880                                                                                 
881         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
882         * moved CVS to freedesktop.org
883