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