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