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