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