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