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