1 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7 Improve unit test subset tests and add a testcase for the subset failure
10 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11 Improve subtraction unit test.
13 2008-08-07 Stefan Kost <ensonic@users.sf.net>
15 * plugins/elements/gsttee.c:
16 Unlock, instead of locking again.
18 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
21 Clarify the docs a bit more.
23 2008-08-05 Stefan Kost <ensonic@users.sf.net>
25 * tests/examples/metadata/read-metadata.c:
26 Don't leak old taglist.
28 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
30 Patch by: Olivier Crete <tester at tester dot ca>
33 (gst_structure_fixate_field_nearest_fraction):
34 Avoid overflows in fixation code when dealing with MAXINT values, which
38 * tests/check/gst/gststructure.c: (GST_START_TEST):
39 Make a unit test to check the fix.
41 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
43 * plugins/elements/gstcapsfilter.c: (copy_func),
44 (gst_capsfilter_set_property):
45 Use new caps suggestion feature of basetransform to request a caps
48 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
50 * docs/libs/gstreamer-libs-sections.txt:
52 API: GstBaseTransform::gst_base_transform_suggest()
54 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
55 (gst_base_transform_init), (gst_base_transform_transform_caps),
56 (gst_base_transform_transform_size),
57 (gst_base_transform_configure_caps),
58 (gst_base_transform_can_transform),
59 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
60 (gst_base_transform_prepare_output_buffer),
61 (gst_base_transform_buffer_alloc),
62 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
63 (gst_base_transform_chain), (gst_base_transform_activate),
64 (gst_base_transform_set_passthrough),
65 (gst_base_transform_is_passthrough),
66 (gst_base_transform_set_in_place),
67 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
68 (gst_base_transform_set_qos_enabled),
69 (gst_base_transform_is_qos_enabled),
70 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
71 (gst_base_transform_reconfigure):
72 * libs/gst/base/gstbasetransform.h:
73 Rewrite of basetransform to perform negotiation outside of the
74 buffer_alloc functions. Fixes #545853.
76 * tests/check/libs/transform1.c: (GST_START_TEST),
80 2008-08-05 Stefan Kost <ensonic@users.sf.net>
82 * tests/check/gst/gstpreset.c:
83 Only run preset tests when $HOME is writable. Preliminary fix for
86 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
88 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
89 (gst_bin_change_state_func), (bin_handle_async_done),
90 (gst_bin_handle_message_func):
91 Fix race for bins that simulate ASYNC state changes by inserting
92 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
93 pending ASYNC messages even when the bin does not have ASYNC children.
94 We note detect this behaviour because we will receive an ASYNC message
95 that is originating from the bin itself.
96 Fixes races with decodebin2 state changes.
98 * tests/check/gst/gstbin.c: (GST_START_TEST):
101 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
103 * gst/gsttaglist.c: (_gst_tag_initialize):
106 2008-08-04 Stefan Kost <ensonic@users.sf.net>
109 Argh. actually save the text before committing. Now adds
110 gst_tag_merge_strings_with_comma() to gst_tag_register().
112 2008-08-04 Stefan Kost <ensonic@users.sf.net>
116 Do as tim pointed out and actually register the new tag. Also improve
117 te docs and use gst_tag_merge_strings_with_comma() method to allow
118 retriving all keywords merged in one list.
120 2008-08-01 Stefan Kost <ensonic@users.sf.net>
123 * docs/gst/gstreamer.types:
124 Revert 'accidential' change of the configure option removal. We still
125 need to generate the types file in configure --disable-load-save.
127 2008-08-01 Stefan Kost <ensonic@users.sf.net>
129 * docs/gst/gstreamer-sections.txt:
131 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
133 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
135 * gst/gstpadtemplate.c:
136 (gst_pad_template_class_init), (gst_static_pad_template_get),
137 (gst_pad_template_new), (gst_pad_template_pad_created),
138 (gst_pad_template_set_property), (gst_pad_template_get_property):
139 Add "name-template", "direction", "presence" and "caps" properties,
140 so that gst_pad_template_new() is just a thin wrapper around
141 g_object_new(), which is better for bindings. (Fixes: #539772)
143 2008-07-31 Michael Smith <msmith@songbirdnest.com>
146 Be more liberal in what URIs we accept.
147 Do not unescape bits of the URI for no apparent reason before passing to
148 the element. Fixes #545352.
150 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
152 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
155 Include gstconfig.h as macros from it are used. Fixes bug #545607.
157 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
160 * docs/gst/gstreamer-sections.txt:
161 * docs/gst/gstreamer.types:
162 * docs/gst/gstreamer.types.in:
165 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
166 * gst/gstconfig.h.in:
167 * gst/gstelement.c: (gst_element_get_index):
168 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
169 (gst_registry_binary_load_feature),
170 (gst_registry_binary_read_cache):
171 * gst/gstregistryxml.c: (load_feature),
172 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
173 * plugins/Makefile.am:
175 * tools/gst-inspect.c: (print_index_info), (print_element_list),
176 (print_plugin_features), (print_element_features):
177 * tools/gst-xmlinspect.c: (print_event_masks),
178 (print_element_info):
179 * win32/common/gstconfig.h:
180 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
182 Disabling the indexers and URI handler code will only reduce the
183 required amount of memory by a very small amount but on the other hand
184 requires much more maintaince work. Apart from that many places of
185 code are broken when disabling them.
187 Disabling the enum types doesn't reduce the required amount of memory
188 by more than a few bytes and makes it hard to fix bugs like #539772,
189 i.e. use the enums as GObject properties.
191 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
193 * docs/design/part-TODO.txt:
194 Add some thoughts and problems with upstream renegotiation.
196 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
198 * gst/gstpad.c: (gst_pad_acceptcaps_default),
199 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
200 Remove silly redundant debug.
201 Add some more debug info.
202 Clarify the docs regarding new caps received from pad_alloc.
204 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
206 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
207 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
208 Make setting the caps more threadsafe.
210 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
212 * docs/design/part-element-transform.txt:
215 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
217 * plugins/elements/gstqueue.c: (gst_queue_init),
218 (gst_queue_acceptcaps):
219 Add and use a custom acceptcaps function instead of falling back to the
220 potentially less optimized default implementation.
222 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
224 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
225 Only sanity-check the buffer size if requested_caps == buffer_caps
226 (ie. don't take pad caps into account, they're not relevant here)
228 2008-07-29 Stefan Kost <ensonic@users.sf.net>
230 * plugins/elements/gsttee.c:
231 * plugins/elements/gsttee.h:
232 Reverting as not everything is clear yet. Needs some general design
235 2008-07-29 Stefan Kost <ensonic@users.sf.net>
238 ChangeLog surgery for tee commit.
240 2008-07-29 Stefan Kost <ensonic@users.sf.net>
242 * docs/gst/gstreamer-sections.txt:
243 Cleanup section-file.
245 2008-07-29 Stefan Kost <ensonic@users.sf.net>
247 * plugins/elements/gsttee.c:
248 * plugins/elements/gsttee.h:
249 Relay tag events in tee. Fixes parts of #474016.
250 Downgrades 3 reoccurring debugs to log.
252 2008-07-28 Michael Smith <msmith@songbirdnest.com>
255 * libs/gst/Makefile.am:
256 Build the net library if we have winsock2.
258 2008-07-26 Stefan Kost <ensonic@users.sf.net>
260 patch by: Luc Pionchon <luc.pionchon@nokia.com>
262 * docs/manual/advanced-threads.xml:
263 * docs/manual/diagrams-pipelines.svg:
264 * docs/manual/hello-world.png:
265 * docs/manual/linked-elements.png:
266 * docs/manual/mime-world.png:
267 * docs/manual/queue.png:
268 * docs/manual/thread-buffering.png:
269 * docs/manual/thread-synchronizing.png:
270 Replace one diagram with two separate ones and updates others.
273 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
276 Fix link in documentation.
278 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
281 Fix confusing documentation.
283 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
285 * libs/gst/base/gstbasesrc.h:
286 revert the changes to the header file for the ABI.
288 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
290 * libs/gst/base/gstbasesrc.c:
291 * libs/gst/base/gstbasesrc.h:
292 Don't cache the seekable status.
295 2008-07-24 Rene Stadler <mail@renestadler.de>
297 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
298 code to close the pipeline graph. This prevents the program from
299 printing internal data flow errors.
301 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
303 * docs/manual/basics-bus.xml:
304 Correct typo. Fixes bug #544320.
306 2008-07-22 Michael Smith <msmith@songbirdnest.com>
309 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
310 Add check (taken from -base) for winsock, adds WIN32_LIBS
312 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
314 Define GST_EXPORTS when building libgstreamer (only used on win32)
317 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
318 for symbols that we need to export in both these files.
320 Include gst_private.h higher up to avoid some compile problems on win32.
322 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
327 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
330 Previous commit was wrong NULL caps does not exist
331 and indicate an error, so also add a FIXME to
332 gst_caps_is_equal where NULL caps are accepted.
334 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
337 Allow passing of NULL to gst_caps_union
339 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
342 Add in doc that gst_ghost_pad_set_target can accept
345 2008-07-15 Michael Smith <msmith@songbirdnest.com>
349 GstRegistryPool doesn't exist; don't refer to it in docs.
350 Don't refer to functions that don't exist in docs, it's
353 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
356 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
358 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
360 Patch by: tmatth <le dot businessman at gmail dot com>
362 * docs/pwg/building-testapp.xml:
363 Don't use an undeclared variable in the example program.
366 2008-07-12 Stefan Kost <ensonic@users.sf.net>
368 * gst/gstdebugutils.c:
369 Squeeze ghost-pad links and remove <> from classname labels to save
370 more horizontal space.
372 2008-07-11 Stefan Kost <ensonic@users.sf.net>
374 * gst/gstdebugutils.c:
375 Give request and sometimes pads a different shpe style. Condense the
376 graphs a little more.
378 2008-07-09 Michael Smith <msmith@songbirdnest.com>
381 Don't require flex and bison if the parser is disabled.
383 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
385 * libs/gst/controller/gstinterpolationcontrolsource.c:
386 (_list_find_sorted_custom):
387 Don't use declarations after statements.
389 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
391 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
392 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
393 of the the child-added / -removed signals as GstChildProxy
394 only supports GstObjects.
396 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
398 * gst/gstdebugutils.c:
401 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
403 Patch by: Alessandro Decina <alessandro at nnva dot org>
406 Fix "ignored return value" compiler warning with newer glibc.
408 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
410 * gst/gstchildproxy.c:
411 Fix copy&paste error in gst_child_proxy_removed() documentation.
413 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
415 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
416 Print error debug message if plugin description fields that should
419 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
420 Don't crash if the string to serialise is NULL (it really should
421 not be, but apparently this used to work with the xml registry ...).
423 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
425 * tools/gst-plot-timeline.py:
426 Fix parsing of log messages
428 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
430 * win32/common/libgstbase.def::
431 Sort alphabetically so make check-exports doesn't barf.
433 2008-07-01 Stefan Kost <ensonic@users.sf.net>
436 Use gst_format_get_name() to improve debug output.
439 Remove #ifdef'ed code. Add TODO comment.
442 Add debug output to ease spotting format != segment.format assertions.
444 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
446 * tests/check/libs/gdp.c: (gst_dp_suite):
447 Also enable the GDP unit test again on PPC now that the bug
450 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
452 * libs/gst/dataprotocol/dataprotocol.c:
453 Don't write to the same region of memory as a uint64 and uint16
454 as this breaks strict aliasing rules and apparantly breaks on PPC
455 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
457 2008-06-29 Stefan Kost <ensonic@users.sf.net>
459 * libs/gst/controller/gstinterpolationcontrolsource.c:
460 Optimize list handling. Use own find function. Exploit that fact that
461 the list is sorted. Also pass back the node before, so that we can
462 insert quickly. Have a fast path for append.
464 2008-06-29 Stefan Kost <ensonic@users.sf.net>
466 * docs/design/draft-framestep.txt:
467 * docs/design/part-negotiation.txt:
470 2008-06-27 Stefan Kost <ensonic@users.sf.net>
473 Show configuration sumary after configure run. Based on patch by
474 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
476 2008-06-27 Stefan Kost <ensonic@users.sf.net>
478 patch by: Luc Pionchon <luc.pionchon@nokia.com>
480 * docs/manual/advanced-autoplugging.xml:
481 * docs/manual/advanced-threads.xml:
482 * docs/manual/basics-bins.xml:
483 * docs/manual/basics-elements.xml:
484 * docs/manual/basics-helloworld.xml:
485 * docs/manual/basics-pads.xml:
486 Add scale factor for pdf output.
488 * docs/manual/intro-basics.xml:
489 Switched sections "pads" and "bins" and added a pipeline diagram.
491 * docs/manual/intro-gstreamer.xml:
492 Added more info on gstreamer.
494 * docs/manual/intro-motivation.xml:
495 Commented out the whole section "current problem", which sounds
496 historical and somehow osolete; it could be turned in a positive
497 way and reused to improve the design principles.
499 * docs/manual/intro-preface.xml:
500 - Update URLs to library.gnome.org.
501 - Do not mention GTK+ in preliminary reading (irrelevant).
502 - Mention Plugin Writer's Manual and further reading only in the
504 - Added a list of most relevant GObject/glib topics.
506 * docs/manual/Makefile.am:
507 * docs/manual/bin-element-ghost.fig:
508 * docs/manual/bin-element-ghost.png:
509 * docs/manual/bin-element-noghost.fig:
510 * docs/manual/bin-element-noghost.png:
511 * docs/manual/bin-element.fig:
512 * docs/manual/bin-element.png:
513 * docs/manual/filter-element-multi.fig:
514 * docs/manual/filter-element-multi.png:
515 * docs/manual/filter-element.fig:
516 * docs/manual/filter-element.png:
517 * docs/manual/gstreamer-overview.png:
518 * docs/manual/hello-world.fig:
519 * docs/manual/hello-world.png:
520 * docs/manual/linked-elements.fig:
521 * docs/manual/linked-elements.png:
522 * docs/manual/mime-world.fig:
523 * docs/manual/mime-world.png:
524 * docs/manual/queue.fig:
525 * docs/manual/queue.png:
526 * docs/manual/simple-player.png:
527 * docs/manual/sink-element.fig:
528 * docs/manual/sink-element.png:
529 * docs/manual/src-element.fig:
530 * docs/manual/src-element.png:
531 * docs/manual/diagrams-general.svg:
532 * docs/manual/diagrams-pipelines.svg:
533 Removed .fig, added .png counterpart.
537 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
539 * plugins/elements/gstmultiqueue.c:
540 * plugins/elements/gstmultiqueue.h:
541 revert extra-size-buffers stuff, caused some race conditions
542 and extra-size-buffers is not used anymore. Docs needs some updates
544 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
546 * win32/common/config.h:
547 * win32/common/gstenumtypes.c:
548 * win32/common/gstenumtypes.h:
549 * win32/common/gstversion.h:
552 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
554 * gst/gstdebugutils.h: (GstDebugGraphDetails),
555 (GST_DEBUG_BIN_TO_DOT_FILE):
556 Add missing Since' markers to gtk-doc blurbs.
558 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
560 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
561 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
562 (set_caps_1), (set_caps_ct1), (transform_ct1),
563 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
564 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
565 (transform_size_ct2), (buffer_alloc_ct2):
566 Add some more tests with switching caps in buffer_alloc.
568 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
570 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
571 (gst_test_trans_class_init), (result_sink_chain),
572 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
573 (gst_test_trans_push), (gst_test_trans_pop):
574 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
575 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
576 (set_caps_1), (set_caps_ct1), (transform_ct1),
577 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
578 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
579 (transform_size_ct2), (buffer_alloc_ct2),
580 (gst_basetransform_suite):
581 More tests, prepare for tests with switching caps in buffer_alloc.
583 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
585 * plugins/elements/gstmultiqueue.c:
586 * plugins/elements/gstmultiqueue.h:
587 Fix dead-lock in underrun_cb
589 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
591 * docs/design/part-states.txt:
592 Fix device open/close docs.
594 2008-06-25 Stefan Kost <ensonic@users.sf.net>
597 Mention bugnumber for last commit.
599 2008-06-25 Stefan Kost <ensonic@users.sf.net>
601 patch by: Luc Pionchon <luc.pionchon@nokia.com>
603 * docs/manual/manual.xml:
604 - Reorganised the previous "introduction" bundle into Foreword,
605 Introduction, and About GStreamer. The two first are <preface>
606 docbook elements. The later is the first part of the book.
607 - added intro-gstreamer.xml (content partially from
609 - moved appendix-win32.xml into appendix-integration.xml
611 * docs/manual/intro-preface.xml: gstreamer section moved...
612 * docs/manual/intro-gstreamer.xml: ...here. new file.
614 * docs/manual/appendix-win32.xml: removed file. Content moved...
615 * docs/manual/appendix-integration.xml: ...here.
617 * docs/manual/highlevel-components.xml: section about GstEditor moved...
618 * docs/manual/appendix-checklist.xml: ...here.
622 2008-06-25 Stefan Kost <ensonic@users.sf.net>
624 patch by: Luc Pionchon <luc.pionchon@nokia.com>
626 * docs/manual/basics-helloworld.xml:
627 * docs/manual/hello-world.fig:
628 - Explicitely include glib.h.
629 - Do not use global variables.
630 - Use g_printerr() instead of g_print().
631 - Minor formating/renaming to increase readibility.
632 - Renamed new_pad() to on_pad_added()
633 - Improved explenatory comments.
634 - renamed ogg parser to ogg demuxer
635 - Use "autoaudiosink" instead of "alsasink".
638 2008-06-25 Stefan Kost <ensonic@users.sf.net>
641 Remove cvs conflict marker.
643 2008-06-25 Stefan Kost <ensonic@users.sf.net>
646 Document that for plgin-docs we extraxt he short-desc from the element
649 * docs/design/part-states.txt:
650 Tell that devices should be closed in PAUSED -> READY.
652 * docs/manual/README:
653 Document how tests in the manual are handled.
658 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
660 * gst/gstbin.c: (bin_query_latency_fold):
661 Only care about latency min and max when the sink is actually a live
664 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
666 * docs/design/part-block.txt:
669 * docs/design/part-element-transform.txt:
670 Add notes about why transform needs to know input/output sizes.
671 Add some issues that need to be solved.
672 Add some more use cases.
674 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
675 (gst_test_trans_class_init), (result_sink_chain),
676 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
677 (gst_test_trans_push), (gst_test_trans_pop):
678 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
679 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
680 (set_caps_1), (set_caps_ct1), (transform_ct1),
681 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
682 (gst_basetransform_suite):
683 Add suport for different pad templates and buffer-alloc.
684 Add more checks for caps and buffer-alloc.
685 Add checks for proxy buffer alloc.
686 Add unit test for copy transform.
688 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
690 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
692 * docs/manual/appendix-integration.xml:
693 * docs/manual/appendix-licensing.xml:
694 * docs/manual/basics-elements.xml:
695 * docs/manual/basics-helloworld.xml:
696 * docs/manual/basics-pads.xml:
697 * docs/manual/highlevel-components.xml:
698 * docs/manual/highlevel-xml.xml:
699 * docs/manual/intro-basics.xml:
700 * docs/manual/intro-preface.xml:
701 Typo and formatting fixes (#538594).
703 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
705 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
706 Fix some memory leaks and uses of object instances that we don't
709 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
711 * plugins/elements/gstmultiqueue.c:
712 Add functionality to extra-size-buffers property.
714 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
716 * plugins/elements/gstmultiqueue.c:
717 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
718 activate the pads if they are added in STATE_NULL.
720 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
722 * docs/libs/gstreamer-libs-sections.txt:
724 * libs/gst/check/gstcheck.c:
725 * libs/gst/check/gstcheck.h:
726 API: gst_check_teardown_pad_by_name
728 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
730 * libs/gst/check/gstcheck.c:
731 * libs/gst/check/gstcheck.h:
732 Also setup request pads and allow setup pads by name (#537812)
733 API: gst_check_setup_src_pad_by_name
734 API: gst_check_setup_sink_pad_by_name
736 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
738 * tests/check/gst/gstbuffer.c:
739 * tests/check/pipelines/parse-launch.c:
740 Use HAVE_VALGRIND_H some more.
742 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
744 * scripts/cvs-update.sh:
745 Pass arguments to make.
746 Run autoregen.sh if Makefile is not there.
748 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
752 Don't assume that <valgrind/valgrind.h> exists just because
755 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
757 * tests/check/Makefile.am:
758 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
759 (gst_test_trans_class_init), (gst_test_trans_init),
760 (gst_test_trans_set_data), (result_sink_chain),
761 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
762 (gst_test_trans_pop):
763 * tests/check/libs/transform1.c: (GST_START_TEST),
764 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
765 Add some test basetransform element and the beginnings of various
768 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
770 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
771 Increase code readability.
772 Don't try to compare buffer offsets when ther are invalid.
774 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
776 * docs/design/Makefile.am:
777 Dist some more design docs.
779 * docs/random/moving-plugins:
780 Small addition: good plugins mustn't have functional code
781 within assertion macros.
783 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
785 * docs/design/draft-framestep.txt:
786 Some ideas about a framestep API
788 * docs/design/part-element-transform.txt:
789 Start design and use cases for basetransform in order to get it
792 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
795 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
796 be in UTF-8 encoding.
798 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
801 Make it known that gst_bus_poll() is pure evil (fixes #538810).
803 2008-06-20 Stefan Kost <ensonic@users.sf.net>
805 * plugins/elements/gstcapsfilter.c:
806 * plugins/elements/gstfakesink.c:
807 * plugins/elements/gstfakesrc.c:
808 * plugins/elements/gstfdsink.c:
809 * plugins/elements/gstfdsrc.c:
810 * plugins/elements/gstfilesink.c:
811 * plugins/elements/gstfilesrc.c:
812 * plugins/elements/gstidentity.c:
813 * plugins/elements/gstmultiqueue.c:
814 * plugins/elements/gstqueue.c:
815 * plugins/elements/gsttee.c:
816 * plugins/elements/gsttypefindelement.c:
817 Remove short_description. Add basic docs for gsttypefindelement.
818 Simplify markup for fakesrc/fdsrc.
820 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
822 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
825 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
827 Patch by: joel larsson <tilljoel at gmail dot com>
829 * docs/plugins/gstreamer-plugins.args:
830 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
831 (gst_fd_src_init), (gst_fd_src_update_fd),
832 (gst_fd_src_set_property), (gst_fd_src_get_property),
834 * plugins/elements/gstfdsrc.h:
835 Add timeout property like udpsrc. Fixes #538628.
836 Add some more docs and example pipelines.
838 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
840 * docs/libs/gstreamer-libs-sections.txt:
841 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
842 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
843 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
844 (gst_base_sink_do_sync):
845 * libs/gst/base/gstbasesink.h:
846 * win32/common/libgstbase.def:
847 Add method to allow sinks to specify additional delay between the sync
848 times and the actual rendering of the data.
849 API: gst_base_sink_set_render_delay()
850 API: gst_base_sink_get_render_delay()
852 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
855 Bump version number back to dev -> 0.10.20.1
857 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
859 * docs/gst/gstreamer-sections.txt:
860 * gst/gsttaglist.c: (_gst_tag_initialize):
862 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
865 2008-06-20 Stefan Kost <ensonic@users.sf.net>
867 * libs/gst/controller/gstcontroller.c:
868 Revert one change, that make ret value possible uninitialized.
870 2008-06-20 Stefan Kost <ensonic@users.sf.net>
872 * libs/gst/controller/gstcontroller.c:
873 Use freeze/thaw notify to sync notify emission a bit (its also more
874 efficient). Move debug output to LOG (is called a lot in a loop).
875 Always unset g_values if the have been initialized.
877 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
879 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
880 (gst_base_sink_wait_eos), (gst_base_sink_event):
881 If we have not seen a buffer before EOS, use the segment values to
882 report the current position instead of invalid positions.
884 2008-06-20 Stefan Kost <ensonic@users.sf.net>
886 * docs/plugins/tmpl/.cvsignore:
887 * tests/check/gst/.cvsignore:
890 2008-06-20 Stefan Kost <ensonic@users.sf.net>
892 * libs/gst/controller/gstinterpolation.c:
893 * libs/gst/controller/gstinterpolationcontrolsource.c:
894 * tests/check/libs/controller.c:
895 Rewrite handling of default values. Fix overflow with unsigned types
896 in linear interpolation. Remove now obsolete _first_value() function.
897 Add more tests. Fixes #538201.
899 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
901 * libs/gst/base/gstbasetransform.c:
902 (gst_base_transform_class_init), (gst_base_transform_init),
903 (gst_base_transform_transform_caps),
904 (gst_base_transform_prepare_output_buffer):
906 When a buffer is writable, its metadata is also writable so we don't
907 need to subbuffer (which then makes the buffer not-writable anymore).
909 === release 0.10.20 ===
911 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
914 releasing 0.10.20, "You Crazy Diamond"
916 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
919 0.10.19.3 pre-release
921 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
925 Rename DATADIR to GST_DATADIR to avoid build problems
926 on win32. Patch By: David Schleef <ds@schleef.org>
929 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
932 Explicitely link with -ldl if dladdr() is found there. Before it was
933 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
934 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
936 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
938 * gst/gsterror.c: (_gst_stream_errors_init):
939 Fix typo (spotted by Fabricio Godoy, #536723).
941 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
944 0.10.19.2 pre-release
946 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
948 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
949 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
951 Make sure we don't generate invalid QoS messages.
953 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
955 * gst/gstevent.c: (gst_event_new_qos):
956 Add some assert and docs for invalid input to the qos function.
958 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
960 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
961 (gst_base_sink_get_position):
962 The reported position must always be smaller than the last seen
963 timestamps (or timestamp + duration for reverse).
965 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
967 Patch by: Rob Bradford <rob at robster dot org dot uk>
969 * gst/gstregistry.c: (gst_registry_scan_path_level):
970 Don't recurse into .debug directories as some distros install
971 the debugging symbols next to the plugins in .debug directories
972 and dlopen() crashes on them sometimes. Fixes bug #508070.
974 Add FIXME for 0.11 to not recurse into directories at all because
975 it's very inconsistent to the behaviour of other PATH environment
978 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
980 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
981 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
982 Fix position query range checks in reverse playback.
984 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
988 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
989 clear of the reference to the resulting pad must be released later
990 or not, resulting in possible leaks. Fixes bug #533865.
992 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
994 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
996 * gst/gstelementfactory.c:
997 Small doc fix. Fixes #535285.
999 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1001 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1003 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1004 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1005 (gst_base_src_loop), (gst_base_src_set_flushing),
1006 (gst_base_src_change_state):
1007 Make sending an EOS event to the basesrc non-blocking even if the
1008 implementation does blocking waits in the create function. This is done
1009 by unlocking the create function when EOS is sent.
1012 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1014 * tools/gst-inspect.c: (print_element_properties_info):
1015 If possible print the element type of GValueArray properties.
1017 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1019 * gst/gstiterator.c:
1020 Remove an unused field from the private GstListIterator struct.
1022 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1024 * libs/gst/controller/gstcontroller.c:
1025 Add parameter guards.
1027 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1029 * tests/check/gst/gstpipeline.c:
1030 Revert test change and add comment why it should not work.
1032 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1034 * tests/check/gst/gstpipeline.c:
1035 Extending the test a little to verify that we also get the NULL state-
1038 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1040 * gst/gstpreset.c: (gst_preset_default_get_meta),
1041 (gst_preset_get_preset_names), (gst_preset_get_property_names),
1042 (gst_preset_load_preset), (gst_preset_save_preset),
1043 (gst_preset_rename_preset), (gst_preset_delete_preset),
1044 (gst_preset_set_meta):
1045 Add Since: markers to docs blurbs.
1047 * win32/common/libgstreamer.def:
1048 Add recently-added API.
1050 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1052 Patch by: Stefan Kost <ensonic@users.sf.net>
1055 Add DATADIR for storing presets.
1057 * docs/gst/gstreamer-docs.sgml:
1058 * docs/gst/gstreamer-sections.txt:
1059 * docs/gst/gstreamer.types.in:
1060 Add GstPreset to docs.
1064 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1065 (preset_open_and_parse_header), (preset_parse_version),
1066 (preset_merge), (preset_get_keyfile),
1067 (gst_preset_default_get_preset_names),
1068 (gst_preset_default_get_property_names),
1069 (gst_preset_default_load_preset),
1070 (gst_preset_default_save_presets_file),
1071 (gst_preset_default_save_preset),
1072 (gst_preset_default_rename_preset),
1073 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1074 (gst_preset_default_get_meta), (gst_preset_default_randomize),
1075 (gst_preset_default_reset), (gst_preset_get_preset_names),
1076 (gst_preset_get_property_names), (gst_preset_load_preset),
1077 (gst_preset_save_preset), (gst_preset_rename_preset),
1078 (gst_preset_delete_preset), (gst_preset_set_meta),
1079 (gst_preset_get_meta), (gst_preset_class_init),
1080 (gst_preset_base_init), (gst_preset_get_type):
1082 Add GstPreset to core. Fixes #396779
1084 * tests/check/Makefile.am:
1085 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1086 (gst_preset_test_set_property), (gst_preset_test_class_init),
1087 (gst_preset_test_base_init), (gst_preset_test_get_type),
1088 (gst_preset_test_plugin_init), (GST_START_TEST),
1089 (remove_preset_file), (test_setup), (test_teardown),
1091 Add GstPreset unit tests.
1093 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1095 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1096 The default event function on a sinkpad should return TRUE when
1097 there are no internal links but should collect the return values from
1098 the internal links otherwise.
1100 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1102 * plugins/elements/gsttypefindelement.c:
1103 (gst_type_find_element_src_event),
1104 (gst_type_find_element_handle_event):
1105 Use faster and safer _pad_push_event().
1107 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1109 * docs/gst/gstreamer-sections.txt:
1110 * gst/gstutils.c: (element_find_unlinked_pad),
1111 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1113 API: add gst_bin_find_unlinked_pad()
1114 API: deprecate gst_bin_find_unconnected_pad() (#401456)
1116 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
1122 Fixed a bunch of typos.
1124 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1127 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1128 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1129 (gst_parse_bin_from_description_full):
1131 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1133 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1135 * docs/pwg/advanced-tagging.xml:
1136 Small docs update, can't be bothered to rewrite the nonsensical
1139 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1142 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1144 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1146 * gst/parse/grammar.y:
1147 Remove unneeded casts.
1149 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1151 * gst/parse/grammar.y:
1152 * tests/check/pipelines/parse-launch.c:
1153 Get all missing elements from a parse launch string if possible
1154 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1156 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1158 * tests/check/Makefile.am:
1159 * tests/check/pipelines/parse-launch.c:
1160 Add some unit tests for the new gst_parse_launch*_full() API.
1161 (Exposes a previously-existing memory leak in the error code
1162 path, so adding to VALGRIND_TO_FIX for now).
1164 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1166 * docs/gst/gstreamer-sections.txt:
1167 * gst/gst.c: (init_post):
1168 * gst/gst_private.h: (_GstParseContext):
1169 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1170 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1171 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1172 (gst_parse_launch_full):
1173 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1174 (GstParseFlags), (GstParseContext):
1175 * gst/gstutils.c: (gst_parse_bin_from_description),
1176 (gst_parse_bin_from_description_full):
1178 * gst/parse/grammar.y:
1179 * gst/parse/types.h:
1180 * win32/common/libgstreamer.def:
1181 Add new gst_parse_*_full API (#528178):
1182 API: gst_parse_launch_full()
1183 API: gst_parse_launchv_full()
1184 API: gst_parse_bin_from_description_full()
1185 API: gst_parse_context_new()
1186 API: gst_parse_context_free()
1187 API: gst_parse_context_get_missing_elements()
1189 2008-05-23 Stefan Kost <ensonic@users.sf.net>
1191 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1193 * docs/faq/gst-uninstalled:
1194 Also support ffmpeg in gst-uninstalled.
1196 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1199 After discussion on IRC use the binary registry as default
1200 but allow to disable it with --disable-binary-registry.
1202 * win32/common/libgstreamer.def:
1203 Add the two new symbols for the binary registry.
1205 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
1207 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1208 * gst/gstutils.c: (gst_parse_bin_from_description):
1209 * gst/parse/grammar.y: (graph):
1210 More guards against bad input; typo fix; some minor clean-ups.
1212 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1214 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1216 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1217 If nothing else can be used, use the last buffer's start time as
1218 the segment's last stop. Fixes bug #534258.
1220 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
1222 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1223 Move size sanity check to the right place: downstream may return
1224 a buffer with a smaller size if the buffer caps are different than
1225 the requested ones, as may happen when doing reverse negotiation.
1227 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1229 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1230 (gst_file_sink_render):
1231 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1232 (gst_file_src_start):
1233 Small cleanups. Add note adbout g_fopen() on windows and why we don't
1236 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1238 * gst/gstpad.c: (gst_pad_load_and_link):
1239 * gst/gstutils.c: (gst_element_link_pads),
1240 (gst_element_unlink_pads):
1241 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1242 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1243 (gst_check_teardown_sink_pad),
1244 (gst_check_element_push_buffer_list):
1245 * tests/check/elements/fakesink.c: (GST_START_TEST):
1246 * tests/check/elements/filesink.c:
1247 * tests/check/elements/filesrc.c: (GST_START_TEST):
1248 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1249 (mq_sinkpad_to_srcpad):
1250 * tests/check/elements/tee.c: (GST_START_TEST):
1251 * tests/check/generic/sinks.c: (GST_START_TEST):
1252 * tests/check/gst/gstbin.c: (GST_START_TEST):
1253 * tests/check/gst/gstevent.c: (GST_START_TEST):
1254 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1255 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1256 * tests/check/gst/gstquery.c: (GST_START_TEST):
1257 * tests/check/gst/gstutils.c: (GST_START_TEST):
1258 * tests/check/libs/basesrc.c: (GST_START_TEST):
1259 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1260 (gst_parse_test_element_change_state):
1261 Don't use gst_element_get_pad().
1263 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
1266 Fix installing plugin documentation when gtk-doc is disabled.
1268 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1270 * docs/manual/advanced-autoplugging.xml:
1271 * docs/manual/basics-helloworld.xml:
1272 * docs/manual/basics-pads.xml:
1273 * docs/manual/highlevel-components.xml:
1274 Avoid using a bad function in the example code.
1276 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1278 * gst/gstclock.c: (gst_clock_set_calibration):
1279 Fix debug of the new clock rate.
1281 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1283 * win32/common/libgstbase.def:
1284 Add gst_base_sink_wait_clock() to the exported symbols.
1286 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1288 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1290 * libs/gst/base/gstbasetransform.c:
1291 (gst_base_transform_sink_event):
1292 Unref events that the GstBaseTransform::event vfunc didn't want to
1293 have forwarded by the base class. Closes a leak in identity.
1296 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1298 * docs/libs/gstreamer-libs-sections.txt:
1299 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1300 * libs/gst/base/gstbasesink.h:
1301 Expose a method that was previously used internally to synchronize
1302 against the clock because it can be useful for subclasses too.
1303 API: GstBaseSink::gst_base_sink_wait_clock()
1305 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1307 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1308 Add sanity check to make sure we don't get smaller buffers
1309 than requested (and fallback to normal buffer alloc if we do).
1311 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1313 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1314 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1315 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1316 Refactor adjusting the running_time with latency and offset into a
1318 When doing clipping, we still want to use the subclass get_times method,
1319 just in case the DURATION or TIMESTAMP are not set.
1321 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1323 * docs/gst/gstreamer-sections.txt:
1324 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1325 * gst/gsttypefind.h:
1326 * win32/common/libgstreamer.def:
1327 API: add gst_type_find_suggest_simple(), #533740.
1329 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1331 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1332 Use right error code when typefinding fails, so we can use
1333 the default (translated) error messages.
1335 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1337 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1338 (gst_base_src_start):
1339 When the subclass did not set caps on outgoing buffers, configure the
1340 caps we negotiated on the source pad.
1341 When the typefind helper does not find caps, error out properly instead
1342 of doing things with NULL caps.
1344 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1346 * gst/gsttypefind.h:
1347 Tabs to spaces, oh yes!
1349 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1351 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1352 Add David's and Benjamin's tests for array intersection to the
1353 unit test suite (#147931).
1355 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1358 Document that gst_event_new_tag() and gst_event_new_navigation()
1359 take ownership of the taglist/structure passed to them. (#533635).
1361 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1364 Don't descend into the plugins dir if plugin docs building
1368 Add a note about the new type:GTypeName syntax for the plugin
1369 documentation .types file.
1371 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1373 * gst/gstmessage.c: (gst_message_new_error),
1374 (gst_message_new_warning), (gst_message_new_info):
1376 Mark the debug string parameters as const. Fixes bug #533490.
1378 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1380 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1381 Sort buffer cache list by end offsets. This makes sure that we don't
1382 stop to search for a cached buffer that contains the requested data
1384 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1385 more efficient. Fixes bug #459862.
1387 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1390 Explain why we copy the list.
1392 * gst/gstpipeline.c:
1396 Add one debug-log statement to help tracing probelms with linking pads.
1398 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1400 * tests/check/gst/gstinfo.c:
1401 Add a test for removing the default log handler. Seems to fail under
1404 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1406 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1407 Release pad lock before calling out to avoid a possible deadlock.
1409 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1411 * gst/parse/grammar.y:
1412 Remove unneeded value unset.
1414 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1415 Add unit test for de/serialization of caps.
1417 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1419 * plugins/elements/gstfakesink.c:
1420 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1421 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1422 (gst_fake_src_class_init):
1423 Use custom marshalers that take GstMiniObject as first parameter.
1424 Using OBJECT as parameter while a GstMiniObject is given will lead
1425 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1427 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1429 * plugins/elements/gsttypefindelement.c:
1430 (gst_type_find_element_handle_event),
1431 (gst_type_find_element_send_cached_events),
1432 (gst_type_find_element_change_state):
1433 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1436 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1438 * plugins/elements/gsttypefindelement.c:
1439 (gst_type_find_handle_src_query), (stop_typefinding),
1440 (gst_type_find_element_handle_event),
1441 (gst_type_find_element_send_cached_events),
1442 (gst_type_find_element_change_state):
1443 Forward FLUSH_START events immediately and clean up instead of
1446 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1448 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1450 * libs/gst/base/gstbasetransform.c:
1451 (gst_base_transform_buffer_alloc):
1452 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1453 fall back to default negotiation in the chain function if the caps
1454 are different from what was requested. Fixes bug #526768.
1456 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1459 * tests/check/gst/gstsegment.c:
1460 No, let's not use g_slice_{dup|copy} here, since they only exist
1461 since GLib 2.14 and we still depend only on >= 2.12. Also add
1462 unit test for gst_segment_copy().
1464 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1466 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1467 Try to fix 'dereferencing type-punned pointer will break strict
1468 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1469 changed the default GType typedef from gulong to gsize at some point,
1470 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1471 g_once_* functions all take a gsize * though, so work around the type
1472 mismatch for C++ by doing everything in gsize and casting to GType
1475 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1477 * plugins/elements/gstmultiqueue.c:
1478 Add documentation for the signals to push our core plugin docs
1479 coverage back up to 100%.
1481 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1483 * gst/gstinfo.h (GST_FUNCTION):
1484 Reverted GST_FUNCTION to the old version as we don't want the
1485 full signature in C++ code. Also added support for MSVC.
1487 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1490 Intern the type name string, similar to what G_DEFINE_TYPE does.
1492 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1495 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1497 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1499 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1501 * libs/gst/base/gstbasetransform.c:
1502 (gst_base_transform_buffer_alloc):
1503 Don't passthrough buffer allocation too easily if the caps change.
1504 This breaks when working in passthrough mode and upstream changes
1505 it's caps. Fixes bug #526768.
1507 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1509 * gst/gstinfo.c (gst_debug_log_valist):
1510 Improved the __FILE__ part of debug output for MSVC.
1512 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1514 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1515 Declaration after statement fix for compilers like MSVC.
1517 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1519 * win32/common/config.h.in:
1520 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1521 use the real thing than having "???" unconditionally.
1523 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1525 * gst/gstinfo.h (GST_FUNCTION):
1526 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1528 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1530 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1533 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1534 (gst_base_sink_set_flushing):
1535 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1538 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1540 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1541 (gst_fake_src_init), (gst_fake_src_set_property),
1542 (gst_fake_src_get_property), (gst_fake_src_start):
1543 * plugins/elements/gstfakesrc.h:
1544 Added format property to control the format of the newsegment events.
1545 API: GstFakeSrc:format
1547 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1549 * win32/common/libgstreamer.def:
1550 Add gst_pad_has_name() to the exported symbols.
1552 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1554 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1555 * libs/gst/base/gstbasetransform.c:
1556 (gst_base_transform_prepare_output_buffer):
1557 Don't allow negative sizes when allocating new buffers.
1560 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1562 Patch by: Sjoerd Simons <sjoerd at luon net>
1564 * gst/gstbus.c: (gst_bus_source_dispatch):
1565 Don't print a warning if the queue is empty when we try to pop
1566 here. That could happen if another thread or callback set the
1567 bus to flushing between the source's check/prepare and the
1568 dispatch being called (#531538).
1570 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1572 * plugins/elements/gstmultiqueue.c:
1575 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1577 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1578 Add unit test for deserializing uint64s and check some really large
1579 numbers in the int64 test.
1581 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1583 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1584 (print_interfaces), (print_element_properties_info),
1585 (print_signal_info):
1586 Use "%s" as format string instead of printing strings directly.
1588 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1590 * gst/gstclock.c: (gst_clock_set_calibration):
1591 Make some checks actually useful.
1593 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1594 Remove some unused code. Unsigned integers tend to be >= 0.
1596 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1598 * gst/gstminiobject.c: (gst_value_get_mini_object):
1599 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1600 function was not in the unscheduled 0.10.19 release.
1602 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1604 * gst/gstregistry.c: (gst_registry_scan_path_level):
1605 Only print one log message per non-plugin file.
1607 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1609 * gst/gstinfo.c: (gst_debug_log_default):
1610 Fix alignment of debug log columns on 64-bit.
1612 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1614 * docs/libs/Makefile.am:
1615 * docs/libs/gstreamer-libs-sections.txt:
1616 Ignore private controller headers for docs.
1618 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1620 * libs/gst/controller/gstcontrollerprivate.h:
1621 * libs/gst/controller/gsthelper.c:
1622 * libs/gst/controller/gstinterpolation.c:
1623 * libs/gst/controller/gstinterpolationcontrolsource.c:
1624 (gst_interpolation_control_source_set_interpolation_mode):
1625 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1626 * libs/gst/controller/lib.c:
1627 Move some private declarations into private headers.
1629 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1631 * gst/gstdebugutils.c: (debug_dump_element_pad):
1632 Remove some code that is unused after Stefan's refactoring and uses
1633 uninitialized variables now, resulting in a compiler warning.
1635 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1637 * gst/gstregistry.c: (gst_registry_scan_path_level):
1638 Run g_str_has_suffix() only on the file name, not the
1641 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1643 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1644 Since we're not called only from the chain function any longer,
1645 we can't assume that there's always data in the queue, so move
1646 the is_full check to the beginning of the loop (otherwise we'd
1647 hit the assert when changing the limit properties while the
1648 queue is empty or not running yet).
1649 Also, only set a discont if items were actually removed from
1652 * tests/check/elements/queue.c: (test_leaky_downstream):
1653 Test case for the above.
1655 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1657 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1659 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1660 (gst_queue_chain), (queue_capacity_change),
1661 (gst_queue_set_property):
1662 When changing thr max capacity of a leaky queue, immediatly drop buffers
1663 instead of waiting for a push on the sinkpad. Fixes #530637.
1665 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1667 * gst/gstdebugutils.c:
1668 Refactor code and fix handling of ghostpads and their proxypads.
1670 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1672 * docs/gst/gstreamer-sections.txt:
1673 * gst/gstevent.c: (gst_event_has_name):
1675 * tests/check/gst/gstevent.c: (GST_START_TEST):
1676 Add method to conveniently check the name of a custom event with
1677 gst_event_has_name().
1678 Reformat the event docs so that related methods are put together instead
1679 of the default alphabetical sort.
1680 Update unit test with new method.
1681 API: GstEvent::gst_event_has_name()
1683 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1685 * libs/gst/check/Makefile.am:
1686 Don't add an explicit link to libgstreamer-0.10.la; it's already
1687 included in GST_OBJ_LIBS.
1689 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1692 Register GstClock type from a type-safe context. Fixes bug #530317.
1694 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1696 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1698 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1700 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1702 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1704 Use the GLib stuff to create a private structure.
1705 Add some locking around some dispose methods to make them a little
1706 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1708 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1710 * libs/gst/base/gstbasesink.h:
1711 * libs/gst/base/gstbasesrc.h:
1712 * libs/gst/base/gstbasetransform.h:
1713 * libs/gst/base/gstcollectpads.h:
1714 Fix doc typos and unify caps a bit.
1716 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1718 * tools/gst-launch.1.in:
1719 Forgot to also add the envvar docs here.
1721 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1723 * gst/gst.c: (init_post), (gst_deinit):
1724 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1725 (test_concurrent_create), (gst_pipeline_suite):
1726 Ref some more classes in gst_init() to work around thread-safety
1727 issues in pre-2.16 GLibs, and add basic unit test.
1729 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1731 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1732 (gst_base_sink_send_event):
1733 Rearrange the latency query code. We always want to do the upstream
1734 query, even if we are not live so that the upstream elements can get the
1735 latency results too. If we fail doing the query and we are live, we
1736 return TRUE afterwards.
1738 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1740 patch by: Jason Zhao <e3423c@motorola.com>
1742 * docs/gst/running.xml:
1744 Enable/disable scan_and_update_registry() based on commandline switch
1745 or environment variable. Fixes #520468.
1748 Fix typo in my previous commit.
1750 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1752 * gst/gstregistrybinary.c:
1753 Add a warning if we hit unhandled factories when saving.
1754 More debug logging detail, but move to LOG category.
1756 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1758 * gst/gstregistry.c:
1759 Tell the *truth* when improving the documentation.
1761 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1763 * gst/gstelementfactory.c: (gst_element_factory_make):
1764 Unref the factory after it was used the last time, not before.
1766 * gst/gstindexfactory.c: (gst_index_factory_make):
1767 Improve debugging a bit and don't leak a ref to the index factory with
1770 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1772 * gst/gstregistry.c:
1773 Improve the documentation.
1775 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1778 The glib macro seems to be borked. Use g_slice_copy directly and cast
1779 in the hope that this fixes the warning on 64bit.
1781 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1784 Document the new function. Use g_slice_dup() (no need for
1785 gst_segment_init()).
1787 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1789 * docs/gst/gstreamer-sections.txt:
1790 Move GParamSepc macros to standart section.
1793 Dn't document _get_type - its in private section in docs anyway and
1794 this doc-blob was incomplete.
1797 Fix wrong symbol names in docs.
1800 Add once doc sentence.
1802 * tests/check/gst/.cvsignore:
1805 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1807 * docs/gst/Makefile.am:
1808 And remove those libs here.
1810 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1812 * docs/libs/Makefile.am:
1813 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1815 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1817 Patch by: Olivier Crete <tester at tester dot ca>
1819 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1820 Add the min-threshold to the min latency if possible. Fixes #529148.
1822 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1824 * docs/gst/gstreamer.types.in:
1825 Stupid editor, I removed that line as it should go in yet.
1827 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1829 * docs/gst/gstreamer.types.in:
1830 * docs/libs/gstreamer-libs.types:
1831 Remove library types fro core docs and have them in libs docs.
1832 Reformat and cleanup. Add comment for miniobject types.
1834 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1836 * gst/gsturi.c: (gst_uri_get_protocol):
1837 Fix leak: g_strdown operates on the string in place, while
1838 g_ascii_strdown() returns a newly-allocated string.
1840 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1842 * tools/gst-inspect.c: (print_uri_handler_info),
1843 (print_element_info):
1844 Print the URI protocols and the URI type supported by the element.
1846 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1848 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1849 Use g_value_take_string() instead of the deprecated
1850 g_value_set_string_take_ownership().
1852 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1854 * gst/gstregistrybinary.c: (_gst_crc32):
1855 Return the old CRC instead of 0 if we give a NULL buffer
1856 or a buffer with a length of 0.
1858 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1860 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1861 (gst_uri_get_protocol), (gst_uri_has_protocol),
1862 (gst_uri_construct), (gst_uri_handler_set_uri):
1863 A valid URI scheme can also include '+', '-' and '.' additional
1864 to alphanumeric characters as per RFC 3986 Section 3.1.
1866 Handle URI schemes case insensitive in all places and convert
1867 to lower-case when constructing an URI or setting an URI with
1868 the GstURIHandler interface. Fixes bug #528868.
1869 All elements can still assume (as before) that they will
1870 get passed URIs with a lower-case URI scheme by the GstURIHandler
1873 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1875 * gst/gstcaps.c: (gst_static_caps_get):
1876 * gst/gstclock.c: (gst_clock_entry_new):
1877 Don't use g_atomic_set_int where it's not needed.
1879 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1881 * gst/gstvalue.c: (gst_value_deserialize_caps):
1882 * gst/parse/grammar.y:
1885 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1887 * gst/gstutils.c: (gst_atomic_int_set):
1888 Use g_atomic_int_set() here too instead of assignment +
1891 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1895 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1896 now that we depend on new enough GLib.
1898 * gst/gstcaps.c: (gst_static_caps_get):
1899 * gst/gstclock.c: (gst_clock_entry_new):
1900 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1901 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1902 (gst_debug_category_set_threshold):
1903 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1904 (gst_base_sink_set_qos_enabled):
1905 * libs/gst/net/gstnettimeprovider.c:
1906 (gst_net_time_provider_set_property):
1907 Use g_atomic_int_set() instead of gst_atomic_int_set().
1909 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1912 Also use G_GINT64_CONSTANT for the queries.
1914 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1917 Use G_GINT64_CONSTANT in varargs function.
1919 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1921 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1922 Initialize the registry magic with zeroes.
1924 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1926 * gst/gstregistrybinary.c: (_gst_crc32),
1927 (gst_registry_binary_write),
1928 (gst_registry_binary_initialize_magic),
1929 (gst_registry_binary_write_cache),
1930 (gst_registry_binary_check_magic),
1931 (gst_registry_binary_read_cache):
1932 * gst/gstregistrybinary.h:
1933 Add crc32 checksum to the binary registry file and check this before
1934 accepting a registry file.
1936 Also free the data list when writing to the registry file fails.
1938 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1940 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1941 (gst_registry_binary_load_feature),
1942 (gst_registry_binary_load_plugin):
1943 If an element supports the Uri interface, returns a valid pointer
1944 to the supported URI protocols but this pointer contains nothing
1945 don't try to save that as it will corrupt the registry.
1947 Don't unref the plugin if we added it to the registry already but
1948 fail to load a feature as gst_registry_add_plugin() takes ownership
1951 Improve debugging a bit.
1953 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1956 Clarify some tag item docs after discussion on irc.
1958 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1960 * docs/gst/gstreamer-docs.sgml:
1961 Remove commented out plugins (they have their own docs). Update
1964 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1966 * docs/gst/gstreamer-docs.sgml:
1967 * docs/gst/gstreamer-sections.txt:
1968 * gst/gstparamspecs.c:
1969 * gst/gstparamspecs.h:
1970 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1971 docs to own section.
1974 This now only documents GValue.
1976 * docs/libs/gstreamer-libs-sections.txt:
1977 * libs/gst/controller/gstcontroller.h:
1978 Remove GST_PARAM_CONTROLLABLE.
1980 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1983 Correct file path. Tell about how to use -overrides.txt.
1984 * docs/design/draft-tagreading.txt:
1985 Small design update.
1987 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1989 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1990 (gst_registry_binary_load_plugin):
1991 Fix a typo in a debug message and revert change from yesterday as
1992 gst_registry_add_plugin() will only fail if something is really wrong
1993 already and we can't survive it anyway.
1995 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1997 * gst/gst.c: (init_post), (gst_deinit):
1998 Pre-register GstGError GType from a thread-safe context
1999 (fixes #527967); unref enum type classes in deinit.
2001 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2003 Patch by: Rene Stadler <mail at renestadler de>
2005 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2006 Merging an empty list with another list in KEEP_ALL mode should
2007 yield an empty list as result and not the second list (#512578).
2009 * tests/check/gst/gsttagsetter.c:
2010 Add unit test for tag merge modes and the aforementioned bug.
2012 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2014 Patch by: Rene Stadler <mail at renestadler de>
2017 Fix description to match the order in the table (#512577).
2019 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2021 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
2023 * libs/gst/net/gstnettimepacket.h:
2024 * docs/libs/gstreamer-libs-sections.txt:
2025 Define socklen_t as int if it's not defined yet. Fixes compilation
2026 with MSVC6 and other versions where socklen_t is not defined in
2027 the windows headers (#518022).
2029 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
2031 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2032 If gst_registry_add_plugin() fails our reference to the plugin is
2033 invalid so don't try to use it anymore and instead error out.
2035 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
2037 * tools/gst-xmlinspect.c: (print_element_info), (main):
2038 De-cruft a bit. If no argument is specified, print all elements in
2039 XML syntax rather than a freestyle list of elements like gst-inspect.
2040 Also, don't print XML header chunk unless we actually have something
2041 to print (ie. don't print it before an error message); print error
2042 message to stderr not stdout. Remove support for printing plugin
2043 info (it would just output something freestyle along the lines of
2044 gst-inspect so far), which fixes #514507. Also add license header.
2046 2008-04-11 Julien Moutte <julien@fluendo.com>
2049 * configure.ac: Merge platform specific defines, introduce a new
2050 define on OS X to remember that forking when updating registry is
2052 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2054 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2056 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2057 condition that leads to absolutely no plugins being registered on
2060 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2062 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2064 * gst/gstutils.c: (gst_pad_add_data_probe),
2065 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2066 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2067 (gst_pad_add_buffer_probe_full):
2069 * docs/gst/gstreamer-sections.txt:
2070 * win32/common/libgstreamer.def:
2071 Add gst_pad_add_*_probe_full() functions with a notify callback that
2072 lets the caller free the data it passes to the probe functions. This
2073 is useful for bindings such as gst-python or gstreamermm (#526814).
2074 API: gst_pad_add_data_probe_full
2075 API: gst_pad_add_buffer_probe_full
2076 API: gst_pad_add_event_probe_full
2078 * tests/check/gst/gstutils.c:
2079 Add minimal unit test to make sure freeing the data actually works
2082 * tests/benchmarks/.cvsignore:
2083 Random cvsignore addendum.
2085 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2087 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2088 (GST_DEBUG_BIN_TO_DOT_FILE):
2089 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2090 to it in the docs (since these are macros the types of the arguments
2091 won't be shown in the docs otherwise).
2093 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2096 Do not abort on out of memory for pad_alloc_buffer.
2098 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2100 * libs/gst/check/gstcheck.c:
2101 Remove blank line between symbol name ad parameters to fix gtkdoc
2104 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2106 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2108 * docs/gst/gstreamer-sections.txt:
2111 * win32/common/libgstreamer.def:
2112 Expose gst_segment_copy() to make things easier for the c++ bindings.
2114 API: gst_segment_copy()
2116 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2118 * gst/gst.c: (gst_init_get_option_group), (init_post):
2119 Fix const position; ref GType classes for enum types to work
2120 around thread-safety issues in GLib versions < 2.16.
2122 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
2124 * docs/design/part-buffering.txt:
2125 Fix some typos and set the estimated total for push mode to -1.
2127 * gst/gstquery.c: (gst_query_new_buffering):
2128 Set buffering-left to 0 as we're not buffering by default.
2130 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2131 Implement BUFFERING query.
2133 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2135 Based on patch by: Milosz Derezynski <internalerror gmail com>
2137 * gst/gsterror.c: (_gst_stream_errors_init):
2139 Add two new error codes for encrypted content. Fixes #524659.
2140 API: GST_STREAM_ERROR_DECRYPT
2141 API: GST_STREAM_ERROR_DECRYPT_NOKEY
2143 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2148 * win32/common/libgstreamer.def:
2151 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
2153 * plugins/elements/gstidentity.c: (gst_identity_event),
2154 (gst_identity_start):
2155 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2156 event after processing some data. Fixes bug #526042.
2158 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2160 * docs/gst/gstreamer-sections.txt:
2161 * gst/gstquery.c: (gst_query_parse_latency),
2162 (gst_query_set_buffering_percent),
2163 (gst_query_parse_buffering_percent),
2164 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2166 Rename _avail -> _range
2167 API: gst_query_set_buffering_range
2168 API: gst_query_parse_buffering_range
2170 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2172 * docs/design/part-buffering.txt:
2175 * gst/gstquery.c: (gst_query_parse_latency),
2176 (gst_query_new_buffering), (gst_query_set_buffering_percent),
2177 (gst_query_parse_buffering_percent):
2179 Add busy field and quark for the buffering query so that the app can
2180 only use the query to see if buffering is in progress.
2182 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2184 * docs/gst/gstreamer-sections.txt:
2185 * gst/gstmessage.c: (gst_message_set_buffering_stats),
2186 (gst_message_parse_buffering_stats):
2188 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2189 (gst_query_parse_latency), (gst_query_new_buffering),
2190 (gst_query_set_buffering_percent),
2191 (gst_query_parse_buffering_percent),
2192 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2193 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2195 Reorder the message docs and headers for clarity.
2196 Add aditional buffering stats API for messages.
2197 Add buffering query.
2198 Convert some leftover queries to use GstQuark.
2199 API: gst_message_set_buffering_stats
2200 API: gst_message_parse_buffering_stats
2201 API: GST_QUERY_BUFFERING
2202 API: GstBufferingMode
2203 API: gst_query_new_buffering
2204 API: gst_query_set_buffering_percent
2205 API: gst_query_parse_buffering_percent
2206 API: gst_query_set_buffering_stats
2207 API: gst_query_parse_buffering_stats
2209 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2211 * gst/gstmessage.c: (gst_message_new_error),
2212 (gst_message_new_warning), (gst_message_new_info),
2213 (gst_message_new_buffering), (gst_message_new_state_changed),
2214 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2215 (gst_message_new_new_clock), (gst_message_new_segment_start),
2216 (gst_message_new_segment_done), (gst_message_new_duration),
2217 (gst_message_new_async_start), (gst_message_parse_buffering),
2218 (gst_message_parse_state_changed),
2219 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2220 (gst_message_parse_new_clock), (gst_message_parse_error),
2221 (gst_message_parse_warning), (gst_message_parse_info),
2222 (gst_message_parse_segment_start),
2223 (gst_message_parse_segment_done), (gst_message_parse_duration),
2224 (gst_message_parse_async_start):
2225 Use GstQuark for messages.
2227 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2229 * gst/gstquark.c: (_priv_gst_quarks_initialize):
2231 Add some more quarks needed for messages and queries.
2233 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2235 * docs/design/part-buffering.txt:
2236 Remove the "none" buffering mode, STREAM is a good default.
2237 Move estimated-time to the avail query, that's when it will be needed.
2238 Other small typo fixes and updates.
2240 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2242 * gst/gstindex.c: (gst_index_resolver_get_type):
2243 Don't put descriptions into the nick field of a GEnumValue: it's not
2244 meant for that and some language bindings rely on the nick field to
2245 construct constants and the like. Fixes #526705.
2247 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2252 Merge other changes from 0.10.19 release branch.
2254 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
2256 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2259 Actually build dlls when cross-compiling with mingw32.
2262 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
2264 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2267 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2269 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
2271 * docs/design/draft-latency.txt:
2274 * docs/design/part-buffering.txt:
2275 Update design docs with more buffering ideas.
2277 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2280 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2282 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2285 Revert part that belongs to the preset patch.
2287 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2290 Add qoutes to the define. Fixes # 525961.
2292 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2294 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2295 (gst_file_index_load), (gst_file_index_add_id),
2296 (gst_file_index_get_assoc_entry):
2297 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2298 (gst_mem_index_free_id), (gst_mem_index_add_id),
2299 (gst_mem_index_index_format):
2300 Use GSlice when possible.
2302 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2304 * libs/gst/controller/gstinterpolationcontrolsource.c:
2305 (gst_control_point_free),
2306 (gst_interpolation_control_source_set_internal):
2307 Use GSlice for allocating the control points.
2309 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2311 * plugins/elements/gsttypefindelement.c:
2312 (gst_type_find_element_class_init),
2313 (gst_type_find_element_set_property),
2314 (gst_type_find_element_get_property),
2315 (gst_type_find_element_activate):
2316 * plugins/elements/gsttypefindelement.h:
2318 Fix pad leak when peer query fails.
2319 We can still typefind when the peer returns -1.
2320 Add property to force caps and bypass typefinding. This will be used in
2324 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2329 * gst/glib-compat-private.h:
2330 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2331 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2332 Unconditionally use GSlice for allocation.
2334 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2335 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2336 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2337 (gst_structure_free):
2338 Use GSlice for allocation.
2340 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2342 * gst/parse/Makefile.am:
2343 * gst/parse/grammar.tab.pre.c:
2344 * gst/parse/grammar.tab.pre.h:
2345 * gst/parse/lex._gst_parse_yy.pre.c:
2346 Require a new enough flex and bison and remove the parser hacks to use
2347 a pre-regenerated version.
2349 2008-04-01 Julien Moutte <julien@fluendo.com>
2351 patch by: Jason Zhao <E3423C@motorola.com>
2353 * configure.ac: Add a configure switch to disable option parsing
2357 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2360 * gst/gstregistry.c:
2361 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2362 and handle this case.
2365 Add a comment here describing, why we stat each plugin and not try to
2368 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2370 * libs/gst/base/gstbasetransform.c:
2371 (gst_base_transform_prepare_output_buffer):
2372 Also unset the GAP flag on buffers if we're working inplace but
2373 the element is not GAP-aware.
2375 Mark a comment as FIXME 0.11.
2377 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2380 Fix type in log message and add one to ease seeing how long registry
2381 cache verification takes.
2383 * gst/gstregistry.c:
2384 Only test plugin filenames against G_MODULE_SUFFIX.
2386 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2388 * gst/gstdebugutils.c:
2389 Improve handling ghost/proxy pads.
2391 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2393 * docs/gst/gstreamer-sections.txt:
2396 Expose macro to docs and fix link to it.
2398 2008-03-27 Michael Smith <msmith@fluendo.com>
2400 * libs/gst/dataprotocol/dataprotocol.c:
2401 (gst_dp_packet_from_event_1_0):
2402 When calculating GDP body CRC, use the correct pointer.
2403 Fixes part of #522401.
2405 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2407 Patch by: Mark Nauwelaerts <manauw at skynet be>
2409 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2410 (gst_identity_init), (gst_identity_prepare_output_buffer):
2411 Identity is not always a passthrough element, it can modify the buffer
2412 timestamps when it has a datarate and operates in single-segment mode.
2413 We therefore make it an in_place filter with a custom buffer prepare
2414 function that conditionally makes the input buffer metadata writable
2415 when needed. Fixes #523985.
2417 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2419 Patch by: Mark Nauwelaerts <manauw at skynet be>
2422 * libs/gst/base/gstbasesrc.h:
2423 * libs/gst/base/gstbasetransform.c:
2424 * libs/gst/check/gstcheck.c:
2425 Small documentation fixes. Fixes #523978.
2427 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2429 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2430 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2431 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2433 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2435 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2436 (single_queue_underrun_cb):
2437 When trying to make room in the queue, bump the max allowed buffers
2438 bigger than the current amount of buffers in the queue. this fixes some
2439 nasty deadlocks in multiqueue when dynamically changing the limits of
2442 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2444 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2446 * gst/gstcaps.c: (gst_caps_set_simple),
2447 (gst_caps_set_simple_valist), (gst_caps_intersect):
2449 Constify the field gchar * params in set_simple and friends.
2452 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2454 * gst/gstvalue.c: (gst_value_transform_object_string):
2455 Transform a GstObject to a more meaningfull string that includes the
2456 object type in addition to its name.
2458 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2461 ChangeLog surgery to add bugnumber to commit.
2463 2008-03-23 Rene Stadler <mail@renestadler.de>
2465 * libs/gst/base/gstbasetransform.c:
2466 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2468 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2470 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2471 Rename constant everywhere and don't forget one occurence.
2473 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2475 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2476 Align memory to the pointer size even if the architecture allows
2477 unaligned memory access. Unaligned memory access usually comes with
2478 performance penality.
2480 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2482 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2483 (gst_registry_binary_check_magic),
2484 (gst_registry_binary_load_pad_template),
2485 (gst_registry_binary_load_feature),
2486 (gst_registry_binary_load_plugin):
2487 Align memory to the pointer size instead of always 32 bit. Fixes
2488 unaligned memory accesses on ia64 and friends.
2490 * gst/gstregistrybinary.h:
2491 Bump binary registry format version for this as it changes the
2492 format on those architectures that don't have unaligned access
2493 and 64 bit pointers.
2495 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2497 * docs/pwg/advanced-dparams.xml:
2498 * docs/pwg/building-props.xml:
2499 * docs/pwg/other-source.xml:
2500 * gst/glib-compat.h:
2501 * gst/gstbin.c: (gst_bin_class_init):
2502 * gst/gstclock.c: (gst_clock_class_init):
2503 * gst/gstindex.c: (gst_index_class_init):
2504 * gst/gstobject.c: (gst_object_class_init):
2505 * gst/gstpad.c: (gst_pad_class_init):
2506 * gst/gstpipeline.c: (gst_pipeline_class_init):
2507 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2508 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2509 * libs/gst/base/gstbasetransform.c:
2510 (gst_base_transform_class_init):
2511 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2512 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2513 (_gst_check_fault_handler_sighandler),
2514 (_gst_check_fault_handler_setup), (gst_check_init):
2515 * libs/gst/controller/gstcontroller.c:
2516 (_gst_controller_class_init):
2517 * libs/gst/controller/gstlfocontrolsource.c:
2518 (gst_lfo_control_source_class_init):
2519 * libs/gst/net/gstnetclientclock.c:
2520 (gst_net_client_clock_class_init):
2521 * libs/gst/net/gstnettimeprovider.c:
2522 (gst_net_time_provider_class_init):
2523 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2524 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2525 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2526 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2527 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2528 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2529 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2530 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2531 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2532 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2533 * plugins/elements/gsttee.c: (gst_tee_class_init):
2534 * plugins/elements/gsttypefindelement.c:
2535 (gst_type_find_element_class_init):
2536 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2537 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2538 use it everywhere for GParamSpecs that use static strings (i.e. all).
2539 This gives us less memory usage, fewer allocations and thus less
2540 memory defragmentation. Fixes bug #523806.
2542 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2544 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2545 (gst_param_spec_mini_object):
2546 * gst/gstminiobject.h:
2547 * win32/common/libgstreamer.def:
2548 * docs/gst/gstreamer-sections.txt:
2549 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2550 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2551 GstParamSpecMiniObject into a public header for this.
2553 This make GstMiniObject a bit more consistent with GObject and makes
2554 it possible to extend the param specs.
2556 gst_value_dup_mini_object is mainly useful for set_property methods.
2560 * tools/gst-inspect.c: (print_element_properties_info):
2561 Print something useful for GstMiniObject properties and not just
2564 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2566 * docs/gst/gstreamer-sections.txt:
2567 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2568 (gst_registry_binary_check_magic):
2569 * gst/gstregistrybinary.h:
2570 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2571 and add it to the (private part) of the docs to fix the build.
2573 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2575 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2576 (gst_registry_binary_check_magic),
2577 (gst_registry_binary_read_cache):
2578 * gst/gstregistrybinary.h:
2579 Don't use GST_MAJORMINOR for the binary registry version. Instead
2580 hardcode a value that must be changed whenever the format changes
2581 in an incompatible way.
2582 Also don't GST_ERROR when there is a version mismatch, just
2583 regenerate the registry silently.
2585 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2588 Back to development - 0.10.18.1
2590 === release 0.10.18 ===
2592 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2595 releasing 0.10.18, "So far away"
2597 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2600 * win32/common/config.h:
2601 0.10.17.4 pre-release
2603 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2605 Patch by: Ole André Vadla Ravnås
2606 <ole dot andre dot ravnas at tandberg dot com>
2608 * docs/gst/gstreamer-sections.txt:
2609 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2610 (gst_poll_update_winsock_event_mask),
2611 (gst_poll_prepare_winsock_active_sets),
2612 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2613 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2614 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2615 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2616 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2618 * win32/common/libgstreamer.def:
2619 Add new function gst_poll_fd_ignored() for improved Windows
2621 Various minor fixes and cleanups. See #520808.
2623 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2625 * gst/gstindex.c: (gst_index_entry_free):
2627 Don't free key strings which we don't own. Fixes crash in
2628 gst_index_entry_free() (#522741).
2630 * tests/check/Makefile.am:
2631 * tests/check/gst/.cvsignore:
2632 * tests/check/gst/gstindex.c: (test_index_entries),
2633 (gst_index_suite), (gst_index):
2634 Add unit test for the above.
2636 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2638 * win32/common/libgstreamer.def:
2639 Remove symbols that were removed recently. Fixes bug #521740.
2641 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2644 * win32/common/config.h:
2645 0.10.17.3 pre-release
2647 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2649 Patch by: Ole André Vadla Ravnås
2650 <ole dot andre dot ravnas at tandberg dot com>
2652 * docs/gst/gstreamer-sections.txt:
2653 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2654 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2655 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2656 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2657 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2658 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2659 (gst_poll_fd_can_write), (gst_poll_wait),
2660 (gst_poll_set_controllable), (gst_poll_restart),
2661 (gst_poll_set_flushing):
2663 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2664 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2665 (gst_net_time_provider_new):
2666 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2667 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2668 * tests/benchmarks/gstpollstress.c: (main):
2669 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2670 Remove GstPollMode from the API, it does not make sense to let the
2671 application control this.
2672 Add support for Win32.
2673 Fix the testsuite. Fixes #520671.
2675 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2677 Patch by: Ole André Vadla Ravnås
2678 <ole dot andre dot ravnas at tandberg dot com>
2680 * gst/gstregistrybinary.c:
2681 Include io.h for write() and close() when building with MSVC. Fixes
2684 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2687 * gst/gst_private.h:
2688 * gst/gstconfig.h.in:
2689 * gst/gstregistry.h:
2690 * gst/gstregistrybinary.c:
2691 * win32/common/gstconfig.h:
2692 Move registry backend API to private headers where we can. Add
2693 fixme-0.11 comments for the others. Add stubs for the xml backend when
2694 using the binary to ensure they functions exists (they should not be
2695 used though). Fixes #520756.
2697 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2700 * win32/common/config.h:
2703 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2705 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2706 (gst_registry_binary_read_cache):
2707 * gst/gstregistryxml.c: (gst_registry_save):
2708 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2709 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2710 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2711 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2712 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2715 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2717 * gst/gstminiobject.c:
2718 Import gst_private.h before any other header that might include other
2719 glib headers. This fixes the build on windows using native compilers.
2721 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2723 * win32/common/gstconfig.h:
2724 Add here too, just for completeness.
2726 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2729 * gst/gstconfig.h.in:
2730 * gst/gstregistry.h:
2731 Fix broken use of config.h-defined preprocessor directive in a public
2732 header file. Add a corresponding define to gstconfig.h, since we can't
2733 really remove those function declarations from the header file now
2734 (or can we? and why are they there in the first place?).
2736 2008-03-03 Andy Wingo <wingo@pobox.com>
2738 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2741 * gst/gststructure.c (gst_structure_from_string): Warn if
2742 structure_from_string didn't consume the whole string, but the
2743 caller did not provide an end pointer.
2745 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2747 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2749 * gst/gstregistryxml.c: (read_string), (load_feature):
2750 Strings allocated by libxml2 should be freed with xmlFree(), not
2751 with g_free(). Fixes issues on windows in certain contexts (#519698).
2753 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2755 * gst/gstinterface.c: (gst_element_implements_interface):
2756 Don't crash if the element supports the interface queried, but does
2757 not implement GstImplementsInterface. Fixes #519584.
2759 * tests/check/Makefile.am:
2760 * tests/check/gst/.cvsignore:
2761 * tests/check/gst/gstinterface.c:
2762 Add unit test for the above.
2764 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2766 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2769 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2771 * gst/gstsegment.c: (gst_segment_set_seek),
2772 (gst_segment_to_stream_time):
2773 Improve some comment.
2774 Update variables where it makes more sense.
2776 2008-02-29 Rene Stadler <mail@renestadler.de>
2778 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2779 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2780 URIHandlers implemented using language bindings.
2782 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2784 * gst/gstelementfactory.h:
2785 * tests/check/elements/fakesink.c:
2786 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2787 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2788 * tests/check/elements/filesink.c: (setup_filesink):
2789 * tests/check/elements/filesrc.c: (setup_filesrc):
2790 * tests/check/elements/identity.c: (setup_identity):
2791 * tests/check/elements/tee.c:
2792 * tests/check/generic/sinks.c:
2793 * tests/check/generic/states.c: (setup), (teardown):
2794 * tests/check/gst/gst.c:
2795 * tests/check/gst/gstabi.c:
2796 * tests/check/gst/gstbin.c:
2797 * tests/check/gst/gstbus.c: (pull_messages):
2798 * tests/check/gst/gstcaps.c:
2799 * tests/check/gst/gstelement.c:
2800 * tests/check/gst/gstevent.c:
2801 * tests/check/gst/gstghostpad.c:
2802 * tests/check/gst/gstiterator.c:
2803 * tests/check/gst/gstmessage.c:
2804 * tests/check/gst/gstminiobject.c: (my_foo_init):
2805 * tests/check/gst/gstobject.c: (thread_name_object),
2807 * tests/check/gst/gstpad.c:
2808 * tests/check/gst/gstplugin.c:
2809 * tests/check/gst/gstpoll.c:
2810 * tests/check/gst/gstquery.c:
2811 * tests/check/gst/gstsegment.c:
2812 * tests/check/gst/gststructure.c:
2813 * tests/check/gst/gstsystemclock.c:
2814 * tests/check/gst/gsttask.c:
2815 * tests/check/gst/gstutils.c:
2816 * tests/check/gst/gstvalue.c:
2817 * tests/check/gst/struct_hppa.h:
2818 * tests/check/gst/struct_i386.h:
2819 * tests/check/gst/struct_ppc32.h:
2820 * tests/check/gst/struct_ppc64.h:
2821 * tests/check/gst/struct_x86_64.h:
2822 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2823 * tests/check/libs/basesrc.c:
2824 * tests/check/libs/controller.c: (GST_START_TEST):
2825 * tests/check/libs/gdp.c:
2826 * tests/check/libs/gstnetclientclock.c:
2827 * tests/check/libs/gstnettimeprovider.c:
2828 * tests/check/libs/libsabi.c:
2829 * tests/check/libs/struct_hppa.h:
2830 * tests/check/libs/struct_i386.h:
2831 * tests/check/libs/struct_ppc32.h:
2832 * tests/check/libs/struct_ppc64.h:
2833 * tests/check/libs/struct_x86_64.h:
2834 * tests/check/pipelines/cleanup.c:
2835 * tests/check/pipelines/simple-launch-lines.c:
2836 * tests/check/pipelines/stress.c:
2837 And correct even more valid sparse warnings.
2839 * win32/common/libgstreamer.def:
2840 Add gst_poll_fd_init to the list of symbols.
2842 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2844 * gst/gstconfig.h.in:
2845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2846 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2847 (gst_check_log_critical_func), (gst_check_drop_buffers),
2848 (gst_check_element_push_buffer_list):
2849 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2850 (gst_controller_get_type):
2851 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2852 (gst_object_get_controller), (gst_object_get_control_source):
2853 * libs/gst/controller/gstinterpolationcontrolsource.c:
2854 (gst_interpolation_control_source_new):
2855 * libs/gst/controller/gstlfocontrolsource.c:
2856 (gst_lfo_control_source_new):
2857 * libs/gst/dataprotocol/dataprotocol.c:
2858 (gst_dp_event_from_packet_0_2):
2859 * plugins/elements/gstfdsrc.c:
2860 * plugins/elements/gstmultiqueue.c:
2861 * plugins/elements/gsttee.c:
2862 * plugins/elements/gsttypefindelement.c:
2863 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2864 (gst_file_index_add_association):
2865 * plugins/indexers/gstmemindex.c:
2866 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2867 * tests/check/elements/queue.c: (setup_queue):
2868 * tests/check/gst/gstpipeline.c:
2869 * tests/check/libs/collectpads.c: (setup), (teardown),
2870 (gst_collect_pads_suite):
2871 * tests/examples/adapter/adapter_test.c:
2872 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2873 * tests/examples/xml/createxml.c:
2874 * tests/examples/xml/runxml.c:
2875 * tools/gst-inspect.c:
2877 Correct all relevant warnings found by the sparse semantic code
2878 analyzer. This include marking several symbols static, using
2879 NULL instead of 0 for pointers, not using variable sized arrays
2880 on the stack, moving variable declarations to the beginning of
2881 a block and using "foo (void)" instead of "foo ()" for declarations.
2883 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2885 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2886 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2887 Don't reset GstPollFDs, this is not necessary at all.
2889 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2890 (delayed_restart), (delayed_control):
2891 Use GST_POLL_FD_INIT.
2893 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2895 * gst/gstpoll.c: (gst_poll_fd_init):
2899 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2900 Use some more init macros.
2902 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2904 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2905 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2906 Use init macros and functions.
2908 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2910 * docs/gst/gstreamer-sections.txt:
2911 * gst/gstpoll.c: (gst_poll_fd_init):
2913 Add INIT macro and _init method for initializing the GstPollFD.
2915 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2917 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2918 (gst_fd_sink_update_fd):
2919 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2920 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2921 (delayed_restart), (delayed_control):
2922 Initialize some uninitialized variables as spotted by valgrind.
2924 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2926 * tests/benchmarks/Makefile.am:
2927 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2929 Add poll stress test.
2931 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2933 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2935 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2936 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2937 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2938 * plugins/elements/gstfdsink.h:
2939 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2940 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2941 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2942 (gst_fd_src_uri_set_uri):
2943 * plugins/elements/gstfdsrc.h:
2944 Port to GstPoll. See #505417.
2946 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2948 * win32/common/libgstreamer.def:
2949 Add new gst_poll_ symbols to win32 defs.
2951 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2953 * docs/libs/gstreamer-libs-sections.txt:
2954 * libs/gst/net/gstnetclientclock.c:
2955 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2956 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2957 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2958 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2959 * libs/gst/net/gstnetclientclock.h:
2960 * libs/gst/net/gstnettimeprovider.c:
2961 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2962 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2963 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2964 (gst_net_time_provider_new):
2965 * libs/gst/net/gstnettimeprovider.h:
2966 Use a private stuct to not break ABI.
2968 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2970 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2972 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2973 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2974 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2975 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2976 * libs/gst/net/gstnetclientclock.h:
2977 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2978 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2979 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2980 (gst_net_time_provider_new):
2981 * libs/gst/net/gstnettimeprovider.h:
2982 Massive code removal and cleanups because of GstPoll.
2985 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2988 Add checks for poll, ppoll and pselect.
2990 * docs/gst/gstreamer-docs.sgml:
2991 * docs/gst/gstreamer-sections.txt:
2992 Add docs for GstPoll.
2996 * gst/gstpoll.c: (find_index), (selectable_fds),
2997 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2998 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2999 (gst_poll_set_mode), (gst_poll_get_mode),
3000 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3001 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3002 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3003 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3004 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3005 (gst_poll_fd_can_write), (gst_poll_wait),
3006 (gst_poll_set_controllable), (gst_poll_restart),
3007 (gst_poll_set_flushing):
3009 Add generic poll abstraction. We ideally don't want to have this in core
3010 here but in glib intead...
3011 This code will be used in various network elements and ultimately for
3012 the nanosecond precision monotonic clock (that's why it's here in core).
3013 It'll allow us to implement cancelable socket operations for windows too.
3015 * tests/check/Makefile.am:
3016 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3017 (delayed_stop), (delayed_restart), (delayed_flush),
3018 (delayed_control), (gst_poll_suite):
3019 Add GstPoll unit test.
3021 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
3024 Improve documentation of gst_filter_run(). Fixes #518627.
3026 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
3029 Add a few lines about the new 'check-inspected-versions' target.
3031 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3033 * tests/check/gst/gstevent.c:
3034 Add qos to the event test. Rename tcase/tsuite; is not only about
3037 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3039 * plugins/elements/gstqueue.c:
3040 Ensure that buffer metadata is writeable, before modifying. Spotted by
3043 2008-02-20 Stefan Kost <ensonic@users.sf.net>
3045 * plugins/elements/gstqueue.c:
3046 * plugins/elements/gstqueue.h:
3047 When dropping buffers in leaky modes, mark next buffers we sent as
3050 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3052 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3053 Also, if mmap() fails that would be a READ error, not OPEN_READ.
3055 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3057 * plugins/elements/Makefile.am:
3058 * plugins/elements/gstbufferstore.c:
3059 * plugins/elements/gstbufferstore.h:
3060 * plugins/elements/gsttypefindelement.h:
3061 Remove GstBufferStore, no idea why we were still building it.
3062 It's not used anywhere and superseded by GstAdapter.
3064 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3065 (gst_file_src_create_mmap):
3066 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3067 Printf format fixes for 64-bit integers.
3069 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3072 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3073 We're not in 0.8 times anymore.
3075 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
3077 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3078 (gst_check_element_push_buffer_list):
3079 * libs/gst/check/gstcheck.h:
3080 Make the declaration in the header for
3081 gst_check_element_push_buffer_list match the implementation.
3083 Fix up spelling, grammar and wording of the documentation in a few
3084 places, and add the Since keyword to new API functions.
3085 Use g_list_delete_link instead of g_list_remove in
3086 gst_check_drop_buffers, since it's immeasurably more efficient.
3088 * tests/check/elements/fakesrc.c: (GST_START_TEST):
3089 Use new gst_check_drop_buffers function where appropriate.
3091 * win32/common/libgstbase.def:
3092 * win32/common/libgstreamer.def:
3093 Add new symbols gst_collect_pads_take_buffer,
3094 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3097 Changelog surgery to add API keyword to new gst_check API.
3099 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3101 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3102 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3103 Update pre-generated flex files with flex 2.3.34.
3105 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3107 * gst/gstminiobject.c:
3108 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3109 friendly to subclasses and not require them to know all internals
3110 of their parent class.
3112 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3114 * docs/libs/gstreamer-libs-sections.txt:
3115 * libs/gst/base/gstcollectpads.c:
3116 * libs/gst/base/gstcollectpads.h:
3117 Add sub-buffer functions to collectpads. Fixes #516187.
3118 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3120 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3123 Copy selected buffer-flags when creating subbuffers.
3126 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
3128 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3129 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3130 * gst/gstmessage.c: (gst_message_class_init),
3131 (gst_message_finalize):
3132 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3133 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3134 (gst_mmap_buffer_finalize):
3135 Properly chain up finalize functions to the parent class.
3137 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
3139 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3141 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3142 (gst_index_set_resolver_full):
3144 Add new function with option to dispose of user_data in resolver.
3145 Actually call the dispose function when finalizing the object and not
3146 just when changing the resolver/filter.
3147 API: GstIndex::gst_index_set_resolver_full()
3149 * docs/gst/gstreamer-sections.txt:
3150 Add new function to docs. Fixes #515469.
3152 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
3154 * gst/gstindex.c: (gst_index_finalize):
3155 Chain up finalize to the parent class. Fixes leaking the GstObject
3156 name and other things.
3158 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
3161 Make DISABLE_DEPRECATED defined *only* during CVS, not during
3162 pre-releases or releases.
3164 * docs/faq/gst-uninstalled:
3167 * docs/random/release:
3168 Change one of the steps - we only upload core & base to Gnome FTP
3170 2008-02-06 Stefan Kost <ensonic@users.sf.net>
3172 * gst/gstconfig.h.in:
3173 Add 'id' for example.
3177 * plugins/elements/gstfdsink.c:
3178 Link to signals. Doc and comment fixes.
3180 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
3182 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3183 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3184 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3185 unused and unimplemented; finally, it is plugin features, not
3186 plugins, that have ranks.
3188 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3190 * gst/gstpluginfeature.h:
3191 Clarify GstRank range docs.
3193 2008-02-05 David Schleef <ds@schleef.org>
3195 * gst/gst.c: Add a separate gst_deinitialized that prevents
3196 gst_init() from being called after gst_deinit(). Fixes #509559
3198 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3200 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3201 (gst_bin_class_init):
3202 * gst/gstelement.c: (gst_element_base_class_init),
3203 (gst_element_class_add_pad_template):
3204 * gst/gstpadtemplate.c: (gst_pad_template_init):
3205 * gst/gstpipeline.c: (gst_pipeline_get_type),
3206 (gst_pipeline_base_init), (gst_pipeline_class_init):
3207 * libs/gst/base/gstbasesink.c:
3208 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3209 (gst_base_src_base_init), (gst_base_src_class_init):
3210 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3211 (gst_capsfilter_class_init):
3212 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3213 (gst_fake_sink_class_init):
3214 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3215 (gst_fake_src_class_init):
3216 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3217 (gst_fd_sink_class_init):
3218 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3219 (gst_fd_src_class_init):
3220 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3221 (gst_file_sink_class_init):
3222 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3223 (gst_file_src_class_init):
3224 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3225 (gst_identity_class_init):
3226 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3227 (gst_multi_queue_class_init):
3228 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3229 (gst_queue_class_init):
3230 * plugins/elements/gsttee.c: (gst_tee_base_init),
3231 (gst_tee_class_init):
3232 * plugins/elements/gsttypefindelement.c:
3233 (gst_type_find_element_base_init),
3234 (gst_type_find_element_class_init):
3235 * tests/check/gst/gstelement.c: (gst_element_suite):
3236 Revert previous changes to the behaviour of GstPadTemplates, etc
3237 and the possiblity to call them in class_init as it breaks too
3238 many elements. Reopens bug #491501.
3240 Should be applied again for 0.11, thus added a few FIXME 0.11 at
3243 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3245 * tools/gst-launch.c:
3246 Dump one graph per pipeline state-change and state change name
3247 (if GST_DEBUG_DUMP_DOT_DIR is set).
3249 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
3252 * tests/check/gst/gstpad.c:
3253 Be sure that we have a new copy of the caps and not
3254 reffed caps from a template
3256 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3258 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3259 * gst/gstpipeline.c: (gst_pipeline_get_type),
3260 (gst_pipeline_class_init):
3261 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3262 (gst_base_sink_class_init):
3263 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3264 (gst_base_src_class_init):
3265 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3266 (gst_base_transform_class_init):
3267 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3268 (gst_collect_pads_class_init):
3269 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3270 * libs/gst/net/gstnettimeprovider.c:
3271 (gst_net_time_provider_base_init),
3272 (gst_net_time_provider_class_init):
3273 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3274 (gst_capsfilter_class_init):
3275 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3276 (gst_fake_sink_class_init):
3277 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3278 (gst_fake_src_class_init):
3279 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3280 (gst_fd_sink_class_init):
3281 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3282 (gst_fd_src_class_init):
3283 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3284 (gst_file_sink_class_init):
3285 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3286 (gst_file_src_class_init):
3287 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3288 (gst_identity_class_init):
3289 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3290 (gst_multi_queue_class_init):
3291 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3292 (gst_queue_class_init):
3293 * plugins/elements/gsttee.c: (gst_tee_base_init),
3294 (gst_tee_class_init):
3295 * plugins/elements/gsttypefindelement.c:
3296 (gst_type_find_element_base_init),
3297 (gst_type_find_element_class_init):
3298 Don't use base_init where not absolutely necessary. For example it's
3299 not necessary anymore for adding pad templates or setting element
3302 Leave empty base_init functions in several places as GST_BOILERPLATE
3303 still defines and uses them.
3305 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3307 * gst/gstelement.c: (gst_element_base_class_init),
3308 (gst_element_class_add_pad_template):
3309 * gst/gstpadtemplate.c:
3310 Make it possible (and recommended) to set element details and add
3311 pad templates in the class_init functions by copying the details/pad
3312 templates in GstElement's base_init.
3314 Also make it possible to replace existing pad templates by adding
3315 a new one with the same name. This was done in a hackish fashion
3316 in same elements before already.
3318 Don't reference pad templates that are added a second time. A
3319 new pad template has a refcount of one and is not floating anymore
3320 and to be owned by the element's class. Make this more explicit by
3321 mentioning it in the docs of gst_element_class_add_pad_template().
3323 These changes are backwards compatible. Fixes bug #491501.
3325 * tests/check/gst/gstelement.c:
3326 Add unit test for setting element details, adding pad templates and
3327 replacing them in a subclass.
3329 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3331 * tools/gst-inspect.c: (print_interfaces),
3332 (print_element_properties_info), (print_pad_info),
3333 (print_signal_info), (print_element_info):
3334 Fix a few memory leaks.
3336 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3338 * docs/libs/gstreamer-libs-sections.txt:
3339 * libs/gst/check/gstcheck.c:
3340 * libs/gst/check/gstcheck.h:
3341 Add more functions for unit testing: gst_check_drop_buffers,
3342 gst_check_caps_equal, gst_check_element_push_buffer_list,
3343 gst_check_element_push_buffer
3344 API: gst_check_drop_buffers
3345 API: gst_check_caps_equal
3346 API: gst_check_element_push_buffer_list
3347 API: gst_check_element_push_buffer
3349 2008-02-01 Julien Moutte <julien@fluendo.com>
3351 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3352 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3353 (gst_index_finalize), (gst_index_entry_free),
3354 (gst_index_add_association): Fix memory leaks.
3355 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3356 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3357 (gst_mem_index_free_format), (gst_mem_index_free_id),
3358 (gst_mem_index_finalize): Fix memory leaks.
3359 * win32/common/config.h: Updated to CVS HEAD.
3361 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3364 Some more details about how the plugin docs works.
3366 * docs/plugins/gstreamer-plugins-sections.txt:
3369 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3371 * gst/parse/grammar.tab.pre.c:
3372 * gst/parse/grammar.tab.pre.h:
3373 * gst/parse/grammar.y:
3374 * gst/parse/lex._gst_parse_yy.pre.c:
3375 Add delayed set-property. This allows to set properties on dynamicaly
3376 created objects (pads in videomxer). Fixes #509391.
3378 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3381 Check if caps are not NULL (fix bug #510194)
3383 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3385 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3386 (gst_base_sink_get_position_paused):
3387 Add fixme regarding EOS in pull mode.
3388 Fix position reporting in PAUSED for negative rates.
3390 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3392 * gst/gstminiobject.c: (gst_mini_object_replace):
3393 When replacing a miniobject, do a quick equality check first so that we
3394 can avoid a ref/unref pair.
3396 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3398 * docs/design/part-synchronisation.txt:
3401 * docs/plugins/Makefile.am:
3402 * docs/plugins/gstreamer-plugins-docs.sgml:
3403 * docs/plugins/gstreamer-plugins-sections.txt:
3404 * plugins/elements/gstmultiqueue.c:
3405 Add multiqueue to the docs.
3407 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3412 === release 0.10.17 ===
3414 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3417 releasing 0.10.17, "Due Negligence"
3419 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3422 Revert caps != NULL check temporarily for 0.10.17 release.
3424 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3427 Check if caps are not NULL (fix bug #510194)
3429 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3432 Fix compilation on systems that have posix timers but no
3435 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3438 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3440 * tools/gst-inspect.c:
3441 Revert previous commit in preparation for an impromptu 0.10.17 release
3443 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3445 * tools/gst-inspect.c: (print_interfaces),
3446 (print_element_properties_info), (print_pad_info),
3447 (print_signal_info), (print_element_info):
3448 Fix a few memory leaks.
3450 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3455 === release 0.10.16 ===
3457 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3460 releasing 0.10.16, "Special Dispensation"
3462 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3465 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3466 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3467 not fail when trying to crosscompile on OpenEmbedded (#511750).
3469 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3472 Use $(MAKE) instead of make to fix the build if GNU make is
3473 called different. Fixes bug #510747.
3475 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3477 * gst/gstplugin.c: (_gst_plugin_initialize):
3478 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3479 again, which I broke two commits ago when changing the API
3480 of gst_plugin_register_static(): the g_list_foreach() in
3481 _gst_plugin_register_static still assumed the old function
3482 signature and would therefore fail (re-fixes #510187).
3484 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3485 (_gst_plugin_register_static), (gst_plugin_register_static):
3486 Revert the (technically correct) change to call g_thread_init() from
3487 the pre-main() constructor. This will break programs which call
3488 g_thread_init() without an if (!g_thread_supported()) guard in their
3489 main function. We could just blame it on GLib or the application, but
3490 it's probably best to just avoid this altogether and simply not use
3491 any GLib functions here and use plain old malloc() with a simple
3492 array to store the plugins to register later when gst_init() is
3493 finally called (re-fixes #510187).
3495 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3496 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3497 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3498 (GST_START_TEST), (gst_plugin_suite):
3499 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3502 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3504 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3505 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3506 This makes gtk-doc complain, but results in slightly better
3507 compiler errors. The old _gst_plugin_register_static() is
3508 still guarded, so there'll be a compiler warning about that
3509 instead. Fixes #510187 too.
3511 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3513 * gst/gst.c: (init_post):
3514 * gst/gstplugin.c: (_gst_plugin_register_static),
3515 (gst_plugin_register_static), (_gst_plugin_initialize):
3516 * gst/gstplugin.h: (GstPluginFilter):
3517 Change API of gst_plugin_register_static() to not take
3518 a GstPluginDesc, but rather just take all the arguments
3519 in a GstPluginDesc directly. This is more intuitive and
3520 avoids certain mistakes when porting code from
3521 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3524 * tests/check/gst/gstplugin.c:
3525 Fix up for changed API.
3527 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3529 * docs/faq/legal.xml:
3530 Update FAQ, Totem actually has an exception these days.
3532 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3534 * win32/common/libgstreamer.def:
3535 Add new API declarations
3537 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3539 * gst/gstminiobject.c:
3540 Spelling fixes for the API docs.
3542 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3544 * libs/gst/base/gstbasetransform.c:
3545 Fix long property description for QoS.
3547 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3550 _gst_trace_on is already provided by gsttrace.h, no need to declare
3553 * docs/libs/gstreamer-libs-sections.txt:
3554 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3555 and remove strange tcase_add_test which is outputting a warning.
3557 * libs/gst/check/gstcheck.c:
3558 * libs/gst/check/gstcheck.h:
3559 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3560 and define them in gstcheck.c instead of having every .c file whcih
3561 includes gstcheck.h be defining its own copy and relying on symbol
3562 interposing to marry them all, which doesn't work on Solaris.
3564 * tests/check/elements/identity.c: (GST_START_TEST):
3565 Don't define 'buffers' locally, it comes from libgstcheck.
3567 * tests/check/generic/sinks.c: (send_buffer):
3568 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3570 * tests/check/gst/gststructure.c: (GST_START_TEST):
3571 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3572 * tests/check/gst/gstutils.c: (GST_START_TEST):
3573 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3574 Add a bunch of casts to make various constants fit the types
3575 they're being assigned to.
3577 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3579 * gst/gstchildproxy.c:
3580 Improve docs and add some ideas for making this more general-purpose.
3582 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3584 * gst/gst_private.h: (GST_CAT_TYPES):
3585 Add GST_CAT_TYPES, for consistency, and so that the other
3586 debug categories don't make fun of it. Spotted by Saur on IRC.
3588 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3590 * gst/parse/Makefile.am:
3591 Move types.h from EXTRA_DIST to noinst_HEADERS.
3593 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3596 Add -Wno-portability to the automake parameters to stop warnings
3597 about GNU make extensions being used. We require GNU make in almost
3598 every Makefile anyway.
3601 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3602 at the same time is required for per target flags.
3604 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3607 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3608 __GNUC__ is defined before using it.
3610 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3612 * docs/gst/gstreamer-sections.txt:
3613 * gst/gst.c: (init_post):
3614 * gst/gstplugin.c: (_gst_plugin_register_static),
3615 (gst_plugin_register_static), (_gst_plugin_initialize),
3616 (gst_plugin_register_func):
3617 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3618 API: add gst_plugin_register_static() and deprecate
3619 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3621 Also, in _gst_plugin_register_static(), make sure to call
3622 g_thread_init() before calling GLib functions such as
3623 g_list_append() if we're not initialised yet, since that
3624 may lead to random crashes with older GSlice/GLib versions.
3626 * tests/check/gst/gstplugin.c:
3627 Adapt unit test to above changes.
3629 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3631 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3632 * gst/gstcaps.c: (gst_caps_to_string):
3633 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3634 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3635 Yet another gratuitous GString micro-optimisation: add a (private)
3636 function that serialises a structure appending to an existing
3637 GString, so that when we serialise caps we don't need to alloc+free
3638 a throwaway GString for each structure (each of which also entailing
3639 multiple reallocs on the way); also use g_string_sized_new() in
3640 various places with an approximate string length to avoid reallocs
3641 within GString. See #500143.
3643 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3645 * gst/gststructure.c: (gst_structure_id_set_value):
3646 Always check UTF-8 conformance of structure strings and not only
3647 if the debugging system is enabled; reasoning: the behaviour of
3648 the actual code shouldn't really change depending on whether the
3649 debugging system is enabled or not (#508291).
3651 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3654 Remove old coverage target in favour of "make lcov".
3656 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3658 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3659 (gst_base_src_loop):
3660 The start segment for reverse playback goes from start to last_stop.
3662 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3664 Patch by: Peter Kjellerstedt <pkj axis com>
3667 Cast the results from the timeval/spec_to_time macros to what the
3668 docs say it casts to, a GstClockTime. fixes #508175.
3670 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3673 Update some comments.
3675 * tools/gst-inspect.c: (print_element_properties_info):
3676 Improve printing of flags.
3678 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3680 * libs/gst/base/gstbasetransform.c:
3681 (gst_base_transform_transform_size):
3682 Print element name with g_warning() if there's a problem
3685 2008-01-07 David Schleef <ds@schleef.org>
3687 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3689 * libs/gst/controller/gstcontroller.h:
3690 * libs/gst/controller/gstcontrolsource.h:
3691 * libs/gst/controller/gstinterpolationcontrolsource.h:
3692 * libs/gst/controller/gstlfocontrolsource.h:
3693 * libs/gst/dataprotocol/dataprotocol.h:
3694 Fix empty prototypes. Fixes bug #507957.
3696 2008-01-07 David Schleef <ds@schleef.org>
3698 * docs/faq/dependencies.xml: Fix typo.
3700 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3702 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3703 (gst_base_src_loop):
3704 Don't update the last_stop position in do_seek, that's the position we
3706 Read backwards when we have a negative rate.
3708 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3709 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3711 Add check for reverse reading.
3713 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3715 Patch by: Alexis Ballier <aballier at gentoo org>
3717 * tests/check/gst/gstabi.c:
3718 * tests/check/gst/struct_ppc64.h:
3719 * tests/check/libs/libsabi.c:
3720 * tests/check/libs/struct_ppc64.h:
3721 Decide which header to include based on the userland ABI target
3722 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3723 for 64-bit userland (#503590). Might need something similar for
3726 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3728 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3729 Log the reason why fopen fails in addition to the fact that it failed.
3731 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gst/parse/parse.l:
3734 Use "%option never-interactive" to prevent useless calls to isatty()
3735 on every input when parsing. Also use "%option noinput" to not define
3736 the static input/yyinput functions which we don't use anyway. This
3737 removes a compiler warning with gcc 4.3 and saves some bytes in the
3740 * gst/parse/lex._gst_parse_yy.pre.c:
3741 Regenerated for the above change.
3743 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3745 * gst/gstpad.c: (fixate_value):
3746 Don't crash when trying to fixate and empty list.
3749 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3751 * docs/faq/gst-uninstalled:
3752 Clarify the comments to make the usage of this script and what it
3753 does easier to understand.
3755 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3757 * tools/gst-plot-timeline.py:
3758 Add more options to gst-plot-timeline
3760 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3762 * docs/design/part-synchronisation.txt:
3763 Some more info on how the stream_time in GstBaseSink is done.
3765 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3767 * tests/check/generic/sinks.c: (gst_sinks_suite):
3768 Put back the tcase_set_timeout(), apparently it's needed after
3769 all; fix it up in a way that makes things work with valgrind too.
3771 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3773 * gst/gstdebugutils.c:
3774 Add warning when failed to open file for writing.
3776 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3778 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3780 * gst/gstvalue.c: (gst_value_is_fixed):
3781 Optimisation: bail out of the loop as early as possible (#500143).
3783 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3785 * gst/gstcaps.c: (gst_caps_to_string):
3786 * gst/gstinfo.c: (gst_debug_construct_term_color):
3787 * gst/gstparse.c: (gst_parse_launchv):
3788 * gst/gstutils.c: (gst_util_dump_mem):
3789 * gst/gstvalue.c: (gst_value_serialize_any_list),
3790 (gst_value_transform_any_list_string):
3791 Bunch of gratuitous nano-optimisations.
3793 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3795 * tests/check/generic/sinks.c: (async_done_func),
3796 (async_done_eos_func):
3797 Fix leak in unit test (bus sync handler must unref the message
3798 if it returns GST_BUS_DROP). Don't fiddle with the default test
3799 timeout, this is smaller than the current preconfigured value
3800 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3801 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3803 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3805 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3808 Check for stdio_ext.h for the filesink changes.
3810 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3811 (gst_file_sink_class_init), (gst_file_sink_init),
3812 (gst_file_sink_dispose), (gst_file_sink_set_property),
3813 (gst_file_sink_get_property), (gst_file_sink_open_file),
3814 (gst_file_sink_close_file):
3815 * plugins/elements/gstfilesink.h:
3816 Add two properties to control the buffering mode and size.
3817 API: GstFileSink::buffer-mode
3818 API: GstFileSink::buffer-size
3821 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3823 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3824 Add some more docs to explain why a FIXME was wrongly added.
3826 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3829 Fix typo in the gst_object_{ref,unref} documentation.
3831 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3833 * tests/check/libs/controller.c:
3834 * tests/check/libs/typefindhelper.c:
3835 * tests/check/pipelines/parse-launch.c:
3836 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3837 going to be deprecated (see #498924).
3839 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3841 * gst/gsttypefind.c: (gst_type_find_register):
3842 Make gst_type_find_register work for static typefind functions,
3843 ie. allow passing plugin == NULL (prerequisite for #498924).
3845 * gst/gstelementfactory.c: (gst_element_register):
3846 Small docs addition.
3848 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3850 * gst/gstpad.c: (gst_pad_dispose):
3851 Really unlink the peer pad instead of setting the peer pointer to NULL
3852 when we dispose the pad.
3853 This correctly calls the unlink functions and makes sure that the peer
3854 does not have a handle to invalid memory. See #504671.
3856 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3857 Add testsuite for above case.
3859 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3861 Patch by: Peter Kjellerstedt <pkj axis com>
3863 * libs/gst/check/gstcheck.h:
3864 Fix detection of the check version we're compiling against (would
3865 otherwise break if check goes v0.10.0); correctly report the
3866 name of the failed test again in case of failure, instead of
3867 just 'tf' (fixes #504499).
3869 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3871 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3872 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3873 (gst_base_src_loop), (gst_base_src_set_flushing),
3874 (gst_base_src_change_state):
3875 Allow sending EOS to the source to make it send out an EOS event from
3876 the streaming thread.
3877 Update docs and deprecate the old NULL/READY shutdown method.
3879 * tests/check/libs/basesrc.c: (GST_START_TEST),
3880 (gst_basesrc_suite):
3881 Add unit test for controlled shutdown.
3883 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3885 * docs/design/part-synchronisation.txt:
3888 * gst/gstsegment.c: (gst_segment_set_seek),
3889 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3890 (gst_segment_to_running_time):
3891 The seek format can be different from the segment format when the start
3892 and stop values are not to be updated, when we only do a rate change for
3895 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3896 (gst_segment_suite):
3897 Add a testcase for the rate-only seeks, checking that the format is
3898 correctly ignored when start and stop are not updated.
3900 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3902 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3904 * win32/vs8/grammar.vcproj:
3905 * win32/vs8/libgstcontroller.vcproj:
3906 * win32/vs8/libgstreamer.vcproj:
3907 Fix compilation with VS8 and include some missing files.
3909 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3912 Small docs addition: mention that the strings returned by
3913 gst_tag_list_get_string*() are in UTF-8 encoding.
3915 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3918 The check-exports stuff moved to common/win32.mak, so include that.
3920 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3922 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3923 (gst_base_src_perform_seek), (gst_base_src_get_range),
3924 (gst_base_src_set_playing), (gst_base_src_change_state):
3925 Make _wait_playing() not check any variables so that we can call this
3926 function from subclasses. Move the checks elsewhere similar to
3927 _wait_preroll() in basesink.
3929 Only signal the LIVE cond when we are going back to PLAYING.
3931 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3933 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3934 Use g_remove() and g_rename(). Check result of g_rename(), and
3935 don't leak the open file descriptor if we error out when writing.
3937 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3938 Must check the return value of close() after writing out the new
3939 registry file. Sometimes write problems such as out-of-diskspace
3940 are only reported when the file is closed and not already during
3941 the write. This may have caused partial/broken registry files in
3942 some rare circumstances. Should fix #503675.
3944 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3946 * docs/gst/.cvsignore:
3947 * docs/libs/.cvsignore:
3948 * docs/plugins/.cvsignore:
3949 Ignore files generated by new common/* modifications
3951 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3953 * win32/common/libgstbase.def:
3954 Yes, you can also have a <TAB> if you want.
3956 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3958 * win32/common/libgstbase.def:
3959 Add new basetransform API to win export file.
3961 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3963 * tests/check/gst/gstbin.c:
3964 Adjust the test to the refcount change two days ago.
3966 2007-12-14 David Schleef <ds@schleef.org>
3968 * docs/faq/getting.xml: Fix typo.
3970 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3972 * docs/libs/gstreamer-libs-sections.txt:
3973 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3974 (gst_base_transform_prepare_output_buffer),
3975 (gst_base_transform_set_gap_aware):
3976 * libs/gst/base/gstbasetransform.h:
3977 API: Add gst_base_transform_set_gap_aware() to control whether
3978 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3979 get buffers with this flag at all. Fixes #503231.
3981 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3983 * libs/gst/base/gstbasesink.c:
3984 * libs/gst/base/gstbasesrc.c:
3985 * libs/gst/base/gstbasetransform.c:
3986 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3987 thread. Correct log message in gstbasesrc.c.
3989 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3991 * gst/gstutils.c: (element_find_unconnected_pad):
3992 Fix possible compiler warning (#503417).
3994 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3996 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3997 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3999 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
4001 * tools/gst-inspect.c: (print_element_properties_info):
4002 Add support for GstFraction properties.
4004 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
4007 Add check-exports target and run it as part of 'make check'
4008 (see #499140 and #493983).
4010 * gst/gst_private.h:
4011 * gst/gstelementfactory.h:
4012 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4013 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4014 (_priv_gst_in_valgrind):
4015 * gst/gstinfo.h: (GstLogFunction):
4016 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4017 (gst_type_find_register):
4018 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4019 (gst_type_find_factory_get_type):
4020 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4021 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4022 (gst_controller_new_valist), (gst_controller_new_list),
4023 (_gst_controller_dispose), (_gst_controller_class_init):
4024 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4025 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4026 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4027 (gst_object_get_controller), (gst_object_set_controller),
4028 (gst_object_suggest_next_sync), (gst_object_sync_values),
4029 (gst_object_set_control_source), (gst_object_get_control_source),
4030 (gst_object_get_value_arrays), (gst_object_get_value_array),
4031 (gst_object_get_control_rate), (gst_object_set_control_rate):
4032 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4033 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4034 Make some functions that should be static static; rename some
4035 private symbols so that they don't get exported; add some FIXME
4036 comments so we can move accidentally exported functions into
4037 our private section in 0.11.
4039 * win32/common/libgstreamer.def:
4040 Add gst_utils_get_timestamp().
4042 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4046 Add more missing "Since:" tags to docs.
4048 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4051 Add mising "Since:" to docs.
4053 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4056 Include "glib-compat-private.h" to fix the build on system with
4057 glib < 2.10. Fixes #503131.
4059 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4063 Actually its not PURE as it gets the time from elsewhere.
4065 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4067 * docs/gst/gstreamer-sections.txt:
4069 * gst/gstdebugutils.c:
4073 * libs/gst/base/gstbasesink.c:
4074 * tools/gst-launch.c:
4075 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4076 uses as we don't have HAVE_POSIX_TIMERS in public headers.
4077 Thanks Tim for spotting.
4078 API: gst_util_get_timestamp
4080 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
4083 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4085 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
4087 * gst/gststructure.c: (gst_structure_validate_name),
4088 (gst_structure_new_valist), (gst_structure_parse_value),
4089 (gst_structure_from_string):
4090 Don't crash in _from_string() if the structure name is not valid
4091 (fixes #501560). Allow structure names to start with a number
4092 again (this apparently broke the ubuntu codec installer).
4094 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4096 Add unit test for the crash; update unit tests for new behaviour.
4098 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
4101 Clarify gst_element_get_compatible_pad() documentation.
4104 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
4106 * tests/check/Makefile.am:
4107 Don't forget to dist {gst,libs}/struct_hppa.h.
4109 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4111 * libs/gst/base/gstbasesink.c:
4112 Use new API to get elapsed time.
4114 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4116 * gst/gstdebugutils.c:
4118 Fix wrong order of args in GST_CLOCK_DIFF() usage.
4120 * tools/gst-launch.c:
4121 Use new API to get elapsed time.
4123 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4125 * docs/gst/gstreamer-sections.txt:
4127 * gst/gstdebugutils.c:
4129 Rename new API + ChangeLog surgery to remove old name from last entry..
4131 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4133 * docs/gst/gstreamer-sections.txt:
4135 * gst/gstdebugutils.c:
4137 Now hide the different clock stuff behind a macro.
4139 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4142 * gst/gstdebugutils.c:
4144 Apply the posix-timer check from #361155. Conditionally use the posix
4145 timer for logging. This gives better timestamp precission, less
4146 overhead and no ntp jitter.
4148 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
4150 * gst/gstminiobject.c: (gst_mini_object_get_type),
4151 (gst_mini_object_class_init), (gst_mini_object_copy_default),
4152 (gst_mini_object_finalize), (gst_mini_object_copy),
4153 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4154 (gst_mini_object_replace), (param_mini_object_validate),
4155 (gst_param_spec_mini_object_get_type):
4156 Some cleanup and checking against invalid function parameters.
4158 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
4160 * docs/gst/gstreamer-sections.txt:
4162 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4163 (gst_systemclock_suite):
4164 Start merging in the easy bits of #361155, the monotonic clock patch.
4165 This one adds a few handy macros with docs and a testsuite.
4167 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
4169 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4170 Be a bit smarter when seeking, like, don't try to do a seek when it's
4171 not needed. This avoids errors when the file is not seekable.
4174 2007-11-26 Stefan Kost <ensonic@users.sf.net>
4176 * docs/gst/gstreamer-docs.sgml:
4177 * docs/gst/gstreamer-sections.txt:
4178 * docs/gst/gstreamer.types.in:
4183 * plugins/elements/gstqueue.c:
4184 Due to popular request remove preset interface again. :-(.
4186 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4188 * tools/gst-inspect.c:
4189 Print 'default value' for enums and flags too.
4191 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4193 * docs/random/ensonic/profiling.txt:
4197 Fix typo and give better log output.
4199 * gst/gstdebugutils.c:
4200 * gst/gstdebugutils.h:
4201 More ideas, make graphs a bit smaller and fix param name in macro.
4203 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4206 Try harder to use the return value from fgets().
4208 2007-11-21 Stefan Kost <ensonic@users.sf.net>
4211 For theses two fgets we handle the error below.
4213 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4215 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4216 Only send upstream events upstream. Fixes #498746.
4218 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4220 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4222 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4223 (gst_identity_init), (gst_identity_transform_ip),
4224 (gst_identity_set_property), (gst_identity_get_property):
4225 * plugins/elements/gstidentity.h:
4226 Add property to disable handoff signal emission. Fixes #498694.
4227 API: GstIdentity::signal-handoffs
4229 2007-11-21 Julien Moutte <julien@fluendo.com>
4231 * docs/faq/gst-uninstalled: Yet another missing library for the
4232 uninstalled script (fft)
4234 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
4236 * docs/faq/developing.xml:
4237 Add a question about how to submit new translations.
4239 * docs/random/release:
4240 Update the contact email address for the Translation Project
4242 * plugins/elements/gstfdsrc.c:
4243 The parent_class for fdsrc is pushsrc, not GstElement.
4245 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4248 Plug a leak and fix saving.
4250 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
4252 * docs/gst/gstreamer-sections.txt:
4253 Add new gst_preset__get_property_names() function to the docs
4256 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4260 Change _get_preset_names API to return a strv with copies. Add
4261 _get_property_names to allow implementations to filter and provide
4262 good default implementation.
4264 2007-11-20 Julien MOUTTE <julien@moutte.net>
4266 * docs/faq/gst-uninstalled: Add another library to the uninstalled
4269 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4272 More cleanups, docs, and TODOs from comments that now slowly come in.
4274 2007-11-19 Julien MOUTTE <julien@moutte.net>
4276 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4279 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4282 Fix bogus warning and make the property type specific code more
4285 2007-11-19 Julien MOUTTE <julien@moutte.net>
4287 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4290 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4292 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4293 (gst_bin_add_func), (gst_bin_remove_func),
4294 (gst_bin_change_state_func), (gst_bin_continue_func):
4295 Change email, cleanups add some more debug and comments.
4296 Also set bus and clock on new elements when the pipeline was in error.
4298 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4301 * gst/gstdebugutils.c:
4302 Fix build with --disable-gst-debug. Fixes #497859.
4303 Spotted by Sameer Naik.
4305 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4308 Little documentation improvment.
4311 More TODO cleanups. Remove c++ comments.
4313 * libs/gst/controller/gstcontroller.c:
4314 Add TODO and use quark from static string.
4316 * tests/check/gst/gstmessage.c:
4317 * tests/check/gst/gststructure.c:
4318 Use quark from static string.
4320 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4323 Add some comments and TODOs.
4326 Add padding for future changes.
4328 * plugins/elements/gstqueue.c:
4329 Implement the iface.
4331 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4333 * docs/gst/gstreamer-docs.sgml:
4334 * docs/gst/gstreamer-sections.txt:
4335 * docs/gst/gstreamer.types.in:
4340 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4342 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4348 === release 0.10.15 ===
4350 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4353 releasing 0.10.15, "October"
4355 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4357 * win32/vs6/libgstreamer.dsp:
4358 Convert line endings back to DOS.
4360 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4362 * docs/design/draft-tagreading.txt:
4363 * docs/random/ensonic/profiling.txt:
4364 Update fast tagreading draft and performance profiling ideas.
4366 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4368 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4369 Don't hold the object lock when unreffing a buffer because it could
4370 cause a deadlock when the finalize function wants to grab the object
4371 lock too. Fixes #495133.
4373 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4375 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4376 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4377 Also accumulate time correctly when doing reverse playback. Fixes
4379 When converting to running and stream time, use default values for
4380 start/stop/time/accum when comparing different formats. Fixes #494245.
4382 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4383 Do running/stream time in TIME format.
4385 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4386 (gst_segment_suite):
4387 2 new unit tests for segment accumulation.
4389 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4391 * gst/gst.c: (init_pre):
4392 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4393 (_gst_debug_bin_to_dot_file):
4394 Move getenv() back into gst_init, so everyone can live happily
4395 ever after. Make sure the symbol isn't exported though.
4397 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4399 Patch by: Sebastien Moutte <sebastien moutte net>
4401 * win32/common/gstenumtypes.c:
4402 * win32/common/gstenumtypes.h:
4405 * win32/vs6/libgstreamer.dsp:
4406 Update vs6 project files (#494343).
4408 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4410 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4411 (gst_base_src_perform_seek), (gst_base_src_default_event),
4412 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4413 (gst_base_src_activate_pull):
4414 Unify flushing code, remove some old unlock code that is no longer used.
4415 Take the streaming lock when seeking to avoid races. Fixes #492729.
4416 Added some more comments.
4418 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4420 * gst/gst.c: (_gst_disable_segtrap):
4421 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4422 we can use gst_segtrap_is_enabled() there now that we have that API.
4423 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4424 to do the getenv here (and export the variable).
4426 * gst/gstdebugutils.c: (debug_dump_element),
4427 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4428 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4430 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4431 (gst_debug_log_default):
4432 Rename _gst_info_start_time to priv_gst_info_start_time so it
4433 doesn't get exported (was never in any header).
4435 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4436 (gst_plugin_loading_mutex):
4437 Make static mutex gst_plugin_loading_mutex really static (was never
4438 in any header), and use gst_segtrap_is_enabled() instead of
4439 _gst_disable_segtrap.
4441 * gst/gsttrace.c: (_gst_trace_default):
4442 Make local _gst_trace_default static (was never in any header).
4444 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4446 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4448 * win32/common/libgstbase.def:
4449 * win32/common/libgstcontroller.def:
4450 * win32/common/libgstdataprotocol.def:
4451 * win32/common/libgstnet.def:
4452 * win32/common/libgstreamer.def:
4453 Add more missing symbols, remove some duplicates, and sort
4454 as the 'sort' command sorts it (partially fixes #493983).
4456 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4458 * gst/gstelement.c: (gst_element_set_state_func):
4459 Only change the state cookie if a different state was set on the
4460 element. See #492729.
4462 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4465 Remove unused and uninitialised type variables that were still
4466 exported for some reason (they were never in any header files
4469 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4471 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4472 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4473 (gst_base_sink_event), (gst_base_sink_get_position_last),
4474 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4475 (gst_base_sink_change_state):
4476 Don't try to report a 0 position when we don't know, return -1 and FALSE
4477 instead. This mostly happens when we are prerolling.
4478 Make sure we can report the right position before we post the ASYNC_DONE
4479 message so that a message handler can query position without races.
4481 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4482 (async_done_handoff), (async_done_func), (send_buffer),
4483 (async_done_eos_func), (gst_sinks_suite):
4484 Add two tests for the above.
4486 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4489 Update with new email address.
4491 * docs/design/part-TODO.txt:
4492 Add some more info about future pad-block and negotiation changes.
4494 * docs/design/part-buffering.txt:
4495 Add some ideas about buffering reporting.
4497 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4499 * tests/check/gst/gstobject.c:
4500 Disable silly racy test that always fails on this combination of CPU
4503 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4505 Patch by: Murray Cumming <murrayc@murrayc.com>
4508 Corrected the registration of the parent-set and parent-unset
4509 signals: The parameter is a GstObject, not a GObject (#493134).
4511 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4513 * gst/gst_private.h:
4522 Move declaration of private _gst_foo_initialize() functions into
4523 our private header file where they should have been all along.
4525 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4527 * docs/plugins/gstreamer-plugins-sections.txt:
4528 * gst/gstdebugutils.h:
4530 * plugins/elements/gstqueue.c:
4531 gtk-doc fixes; trailing-comma-in-enum fix.
4533 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4535 * gst/gst.c: (gst_deinit):
4536 Clean up on deinit (not the external ones though, doesn't seem to be
4537 needed for some reason).
4539 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4541 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4542 Remove __declspec(dllimport) for MSVC that was copied over into core
4543 from a plugin, obviously without ever having been tested (note the
4544 single underscore in _declspec in the initial commit), and that doesn't
4545 really make sense. See #492077.
4547 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4549 * gst/gst.c: (init_post):
4550 * gst/gstevent.c: (_gst_event_initialize):
4551 * gst/gstquery.c: (_gst_query_initialize):
4552 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4553 g_type_class_ref() other types as well, see #349410 and #64764.
4555 * gst/gstbuffer.c: (_gst_buffer_initialize):
4556 * gst/gstmessage.c: (_gst_message_initialize):
4557 Simplify existing g_type_class_ref().
4559 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4561 * gst/gstformat.c: (_gst_format_initialize):
4562 g_type_class_ref() our GstFormat type to make sure we avoid the
4563 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4564 bug #64764. Should fix intermittent tee unit test failures (#474823).
4566 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4568 * tests/check/elements/tee.c: (test_num_buffers):
4569 Simplify, simplify, simplify - or not. Rewrite unit test
4570 not to use gst_parse_launch(); allow N sub-streams. Increasing
4571 the number of sub-streams seems to reproduce #474823 more easily.
4573 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4575 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4578 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4579 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4580 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4581 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4582 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4583 so use _pipe() directly (#492077).
4585 * win32/common/dirent.c: (_treaddir):
4586 Add a couple of casts to make it build without warnings with MSVC.
4588 * win32/common/libgstreamer.def:
4589 Add some more symbols that need to be exported.
4591 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4593 * tests/examples/metadata/read-metadata.c: (message_loop):
4594 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4595 arriving in a second or third tag message are added to
4596 the tag list as well.
4598 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4600 * libs/gst/base/gstbasesrc.c:
4601 Its "Since:" and not "@Since:". And remove an superflous cast.
4603 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4605 * docs/libs/gstreamer-libs-sections.txt:
4606 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4607 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4608 (gst_base_sink_get_property), (gst_base_sink_render_object),
4609 (gst_base_sink_preroll_object),
4610 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4611 (gst_base_sink_change_state):
4612 * libs/gst/base/gstbasesink.h:
4613 Add a new last-buffer property that contains the last buffer used in
4614 basesink for preroll or rendering. useful for making snapshots.
4615 API: gst_base_sink_get_last_buffer()
4616 API: GstBaseSink::last-buffer
4618 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4620 * docs/gst/running.xml:
4622 * gst/gstdebugutils.c:
4623 * gst/gstdebugutils.h:
4624 * tools/gst-launch.c:
4625 Improve bin graph dumping, by using the envvar to specify a path.
4626 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4628 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4630 * plugins/elements/gsttypefindelement.c:
4631 (gst_type_find_element_handle_event),
4632 (gst_type_find_element_activate):
4633 Post special error message if we can't determine the type of a stream
4636 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4638 * docs/gst/running.xml:
4639 * gst/gstdebugutils.c:
4640 Document new env-var. Add one log-line after dumpng a graph.
4642 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4645 Ugly hack to put the (recently removed and non-portable, apparently)
4646 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4647 GNU ld, because without that 'make check' fails miserably on my debian
4648 stable box. Someone with more knowledge of linker intricacies and
4649 portability issues than me fix this properly please.
4651 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4653 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4654 Reset last seen position after flushing so that we don't report the old
4657 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4659 * gst/gstelementfactory.c: (gst_element_register):
4661 Patch from Alessandro Decina adding get_type_full and
4662 get_protocols_full private vfuncs to the URIHandler interface
4663 to allow bindings to support creating URI handlers.
4664 Partially fixes: #339279
4665 API: GstURIHandlerInterface::get_type_full
4666 API: GstURIHandlerInterface::get_protocols_full
4668 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4670 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4671 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4672 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4673 Make it so that pads are considered linked until a buffer is pushed
4674 and discovered otherwise. This avoids problems with decodebin2 hanging
4675 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4678 Make sure we lock the multiqueue when updating the max-size properties.
4680 Fix a crash on Solaris in a debug statement in get_request_pad that
4681 passes a NULL string to GST_DEBUG.
4683 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4684 (run_output_order_test):
4685 Fix the test to allow the first buffer on not-linked pads to come out
4686 of sequence while multiqueue discovers that they are not-linked.
4688 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4691 * libs/gst/check/Makefile.am:
4692 Use a custom export symbol regex for libgstcheck, as it needs
4693 to export symbols that don't match the standard GStreamer gst_*
4694 pattern, and --export-dynamic is not portable (only works on
4697 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4698 (gst_check_setup_sink_pad):
4699 Make sure to pass a message parameter to the fail_* macros.
4701 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4702 Fix some compiler warnings.
4704 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4706 * tests/check/gst/gststructure.c: (test_to_string):
4707 Disable test that checks that white spaces are not allowed
4708 in structure names or field names, since we need to
4709 support that for now for backwards compatibility reasons.
4711 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4713 * docs/gst/gstreamer-sections.txt:
4716 API: add GST_TAG_ARTIST_SORTNAME
4717 API: add GST_TAG_ALBUM_SORTNAME
4718 API: add GST_TAG_TITLE_SORTNAME
4719 Add tag variants for sorting (#414539).
4721 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4723 * gst/gststructure.c:
4724 Also allow white space for names so we don't break
4725 backwards compatibility.
4727 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4729 * docs/design/part-TODO.txt:
4730 * docs/design/part-segments.txt:
4731 * docs/design/part-streams.txt:
4734 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4736 * docs/gst/gstreamer-sections.txt:
4737 Fixed documentation from my previous commit (added new API add
4738 gst_value_set_structure(), add gst_value_get_structure() and
4739 GST_VALUE_HOLDS_STRUCTURE).
4741 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4743 * gst/gstdebugutils.c:
4744 Reflow code to fix uninitialized variable warning.
4746 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4748 * gst/gstcaps.c: (gst_caps_to_string),
4749 (gst_caps_from_string_inplace):
4750 * gst/gststructure.c: (gst_structure_get_abbrs),
4751 (gst_structure_to_string), (gst_structure_from_string):
4752 * gst/gstvalue.c: (gst_value_set_structure),
4753 (gst_value_get_structure), (gst_value_serialize_structure),
4754 (gst_value_deserialize_structure), (_gst_value_initialize):
4756 * tests/check/gst/gststructure.c: (GST_START_TEST),
4757 (gst_structure_suite):
4758 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4759 Added GstStructure to gst_value_table and its related functions.
4760 Changed gst_structure_to_string to print ';' in the end.
4761 Changed gst_caps_to_string to not print ';' beteween its
4762 fields (structures) anymore and remove the lastes ';' from latest
4763 structure. Now it is possible to have nested structures.
4764 In addition, backward compatibilty is assured by accepting '\0' as
4765 end delimiter. Fixes: #487969.
4766 API: add gst_value_set_structure()
4767 API: add gst_value_get_structure()
4768 API: add GST_VALUE_HOLDS_STRUCTURE
4770 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4773 When no GSource callback has been set up, tell developer
4774 to use a function that actually exists.
4776 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4778 * docs/gst/gstreamer-sections.txt:
4782 * gst/gstdebugutils.c:
4783 * gst/gstdebugutils.h:
4786 * tools/gst-launch.c:
4787 Allow dumping pipelines as dot graphs. Fixes #456573.
4789 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4791 * gst/gststructure.c:
4792 Allow '+' as well, it can be part of media or mime types
4793 such as image/svg+xml.
4795 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4797 * docs/gst/gstreamer-sections.txt:
4800 API: add gst_bus_pop_filtered
4801 API: add gst_bus_timed_pop_filtered
4802 Two new functions for waiting for specific message types on the
4803 bus for a specified amount of time without iterating any main
4804 loops or main contexts.
4806 * tests/check/gst/gstbus.c:
4807 Some tests for the new functions.
4809 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4811 * docs/libs/gstreamer-libs-sections.txt:
4812 Make gtk-doc ignore stuff it should ignore.
4814 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4816 * libs/gst/check/gstcheck.c:
4817 * libs/gst/check/gstcheck.h:
4818 Allow runtime selection of unit tests to run via the GST_CHECKS
4819 environment variable (test case function names, comma-separated).
4821 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4823 * gst/gststructure.c:
4824 * tests/check/gst/gststructure.c:
4825 Revert serialisation change and constrain structure-names after
4826 consensus on irc. Update api documentation to reflect the change.
4828 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4830 * gst/gststructure.c:
4831 Improve serialization and fix tests.
4833 * tests/check/gst/gststructure.c:
4834 Add another test that covers why I actually did the previous structure
4837 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4839 * tools/gst-inspect.c: (print_element_info):
4840 Don't crash when inspecting an element.
4842 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4844 * tests/check/gst/gststructure.c:
4845 Add unit test for escaping of structure name when serialising
4846 and deserialising to/from strings.
4848 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4850 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4851 (gst_single_queue_new):
4852 * plugins/elements/gstqueue.c: (gst_queue_init),
4853 (gst_queue_push_one):
4854 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4855 upstream is tricked into thinking it can suggest a format downstream
4856 while downstream does not support that format. The real problem is that
4857 core calls acceptcaps when pushing a buffer with new caps, for which we
4858 do a little workaround by setting the caps on the srcpad ourselves
4859 before pushing the buffer (until this is figured out). Fixes #486758.
4861 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4863 * gst/gststructure.c:
4865 Add some more comments and debug output. Quote structure name to fix
4866 deserialisation of some strings.
4868 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4871 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4872 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4874 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4876 * tools/gst-inspect.c:
4877 Save approx. 400 1 byte allocs when printing. Use API to acces element
4883 * tools/gst-xmlinspect.c:
4884 Use API to acces element details.
4886 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4889 Fix some spelling errors.
4891 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4893 * gst/gstbin.c: (bin_handle_async_done):
4894 Correctly set the next state if all of our async children commited their
4895 state. This makes sure we can actually cancel the state change in
4896 progress. Fixes a regression in Rhythmbox when seeking.
4898 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4901 Don't shadow local variable.
4904 Don't shadow global function name.
4906 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4908 * gst/gstelementfactory.c:
4909 * gst/gstpluginfeature.c:
4910 * gst/gstpluginfeature.h:
4911 * gst/gstregistrybinary.c:
4912 * gst/gstregistryxml.c:
4913 * gst/gsttypefind.c:
4914 Use already-interned string for the private GstPluginFeature
4917 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4919 * docs/libs/gstreamer-libs-sections.txt:
4920 Add new API to docs; fixes the build.
4922 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4924 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4926 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4927 (gst_base_sink_event):
4928 * libs/gst/base/gstbasesink.h:
4929 Add function to wait for EOS, subclasses can use this to correctly wait
4930 for devices to drain before performing the EOS logic. Fixes #485343.
4931 API: gst_base_sink_wait_eos()
4933 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4936 Cast description string constants in GST_PLUGIN_DEFINE macros
4937 to a (gchar*) to make C++ code using these macros compile
4938 without warning with g++-4.2 (see #462737). Even if slightly
4939 ugly, this seems preferable to putting the description strings
4940 into the GLib quark table or making the structure member a
4941 const gchar * and doing casts in core code that allocs and
4942 frees these strings, or requiring a cast in the C++ code.
4944 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4947 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4948 to print the entire class/function signature into the log
4949 file for C++ code. This only affects C++ code, for C code
4950 everything remains the same.
4952 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4954 * gst/gstbin.c: (remove_from_queue):
4955 Work around a problem with pipelines containing (semi)loops until a
4956 proper, more complicated solution is ready. See #475455.
4958 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4962 * gst/gstregistrybinary.c:
4963 * gst/gstregistryxml.c:
4964 Put more strings into the GLib quark table. No need to keep
4965 a hundred-something copies of identical version strings,
4966 license strings, package name strings and package origin
4969 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4971 * docs/manual/advanced-dataaccess.xml:
4972 Don't imply that it's okay to unconditionally change
4973 buffer data or buffer metadata in a pad probe callback,
4974 and a bunch of other comments. Fixes #430031.
4976 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4978 * win32/common/gstenumtypes.c:
4979 * win32/common/gstenumtypes.h:
4980 * win32/common/gstversion.h:
4981 Update generated files.
4983 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4985 * docs/manual/advanced-autoplugging.xml:
4986 Prefix section with broken code with a warning (see #342432).
4988 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4990 * docs/manual/appendix-integration.xml:
4991 * docs/manual/basics-init.xml:
4992 Call g_thread_init() before g_option_context_new() to
4993 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4995 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4997 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4998 (gst_base_sink_queue_object_unlocked),
4999 (gst_base_sink_queue_object), (gst_base_sink_event),
5000 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5001 When we received EOS and are waiting for when to post the EOS message,
5002 our state is prerolled and we should not return ASYNC.
5003 Reorganize some code paths to implement this behavior.
5005 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5007 Add unit test to verify above EOS fix.
5009 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5011 * plugins/elements/gsttypefindelement.c:
5012 (gst_type_find_element_have_type), (gst_type_find_element_init),
5013 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5014 Move detecting the input caps of the sinkpad to the setcaps function.
5015 This allows us to update the output caps when we receive new input caps
5016 instead of always using the first detected caps.
5018 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5020 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5021 (gst_base_sink_get_position):
5022 Don't try to preroll non-async elements after a flush.
5023 Subtract latency form clock times when reporting position.
5025 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5027 * gst/gstpad.c: (gst_pad_pause_task):
5029 Small comment and documentation update.
5031 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5033 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5034 (gst_base_src_set_live), (gst_base_src_is_live),
5035 (gst_base_src_query_latency), (gst_base_src_perform_seek),
5036 (gst_base_src_default_event), (gst_base_src_wait),
5037 (gst_base_src_do_sync), (gst_base_src_get_range),
5038 (gst_base_src_pad_get_range), (gst_base_src_loop),
5039 (gst_base_src_unlock), (gst_base_src_unlock_stop),
5040 (gst_base_src_set_flushing), (gst_base_src_set_playing),
5041 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5042 (gst_base_src_change_state):
5043 Rework the locking of basesrc in a similar fashion to basesink. We
5044 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5045 us to handle live sources and semi live ones much better.
5047 Fix unlocking when seeking, shutting down and pausing in live sources.
5049 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5051 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5052 Fix compilation again.
5054 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5057 Use meaningful categories for the logs to clean the default one.
5059 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5061 * tests/check/pipelines/cleanup.c:
5062 Print message name and not just number.
5064 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5066 * docs/design/draft-tagreading.txt:
5067 Add some more thoughts.
5069 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5071 * tests/check/pipelines/simple-launch-lines.c:
5072 Print message name and not just number.
5074 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5076 * libs/gst/base/gsttypefindhelper.c:
5077 Speedup typefinding. This is work in progress (see #459862).
5079 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5082 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5083 Spotted by Josep Torra Valles <josep@fluendo.com>.
5085 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
5088 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5089 field has moved to GstObject.
5091 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
5093 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5094 (gst_base_src_get_range), (gst_base_src_change_state):
5095 Call unlock for live sources so that they can't get stuck in _create and
5096 produce a buffer before they are set back to PLAYING.
5098 2007-10-02 Edward Hervey <bilboed@bilboed.com>
5100 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5101 (gst_queue_locked_dequeue):
5102 Comment the segment-related code... in the PROPER function.
5103 See #482147 and my commit from yesterday.
5105 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
5107 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5108 Also initialize the counter that calculates the first timestamp on a
5109 buffer correctly for non-live sources.
5111 2007-10-01 Edward Hervey <bilboed@bilboed.com>
5113 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5114 Disable code that's breaking the current-time-level reporting.
5117 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
5119 * docs/gst/gstreamer-sections.txt:
5120 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5121 as they shouldn't show up. Fixes the docs build.
5123 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
5126 Add an explicit variable importation needed on VS6 (only for MSC_VER)
5127 Define M_PI which is used in files which are including gstinfo.h.
5128 VS6 includes doesn't define it.
5129 * win32/common/libgstbase.def:
5130 * win32/common/libgstcontroller.def:
5131 * win32/common/libgstreamer.def:
5132 Add new exported functions and variables.
5133 * win32/vs6/libgstcontroller.dsp:
5134 * win32/vs6/libgstreamer.dsp:
5135 Update the list of files to build.
5137 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5139 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5141 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5142 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5143 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5144 Improve debugging. Fixes #480858.
5146 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5148 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5150 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5151 First patch of code cleanups, use the macros and right arguments in the
5152 macros to signal and lock the queue. See #480858.
5154 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
5156 * gst/gstbus.c: (poll_func):
5157 Improve debugging when dealing with _poll().
5159 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
5161 * gst/gstregistryxml.c:
5162 Fix memory leak I introduced a few days ago.
5164 2007-09-26 Michael Smith <msmith@fluendo.com>
5166 * gst/gstbuffer.c: (gst_buffer_finalize):
5167 Make it once again possible to free GstBuffers in the default
5169 The poisoning scribbles on parts of the miniobject we need in
5173 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
5175 * docs/gst/gstreamer-sections.txt:
5178 API: add GST_TAG_COMPOSER, fixes #459809.
5180 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
5184 Add the 3-clause BSD license and the MIT/X11 license to the license
5185 list. Fixes #479784.
5187 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
5189 * docs/faq/getting.xml:
5190 Add Q+A about different GStreamer versions (#364056).
5192 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5194 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5195 (gst_base_sink_event), (gst_base_sink_change_state):
5196 Return correct gboolean from query function.
5198 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5200 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5201 (gst_base_sink_event), (gst_base_sink_query),
5202 (gst_base_sink_change_state):
5203 Simplify latency query.
5204 When not synchronizing, we can report latency without querying the peer
5207 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5211 Fix small typos in the docs.
5213 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5215 * docs/design/draft-latency.txt:
5216 * docs/design/draft-push-pull.txt:
5217 * docs/design/draft-tagreading.txt:
5218 * docs/design/part-MT-refcounting.txt:
5219 * docs/design/part-activation.txt:
5220 * docs/design/part-block.txt:
5221 * docs/design/part-element-source.txt:
5222 * docs/design/part-events.txt:
5223 * docs/design/part-gstbin.txt:
5224 * docs/design/part-gstelement.txt:
5225 * docs/design/part-gstobject.txt:
5226 * docs/design/part-gstpipeline.txt:
5227 * docs/design/part-messages.txt:
5228 * docs/design/part-preroll.txt:
5229 * docs/design/part-push-pull.txt:
5230 * docs/design/part-qos.txt:
5231 * docs/design/part-query.txt:
5232 * docs/design/part-scheduling.txt:
5233 * docs/design/part-seeking.txt:
5234 * docs/design/part-segments.txt:
5235 * docs/design/part-states.txt:
5236 Documentation updates and typo fixes.
5238 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
5240 * plugins/elements/gstfakesink.c:
5241 Add some debug text to error message to indicate that
5242 we errored out on request.
5244 * tools/gst-launch.c:
5245 When the state change to PLAYING fails, check for an
5246 error message on the bus and print it.
5248 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5250 translated by: Jorge González González <aloriel@gmail.com>
5254 Added Spanish translation.
5256 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
5258 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5259 Fix printf arguments.
5261 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5263 * tests/check/generic/states.c:
5264 Improved state change unit test.
5266 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5269 Move priv to the right place.
5271 * gst/gstsystemclock.c:
5272 Add FIXME: and improve log.
5274 * tests/check/Makefile.am:
5275 * tests/examples/manual/Makefile.am:
5276 Work with all types of registries.
5278 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5280 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5281 Don't unref the event after pushing it. Fixes #478401.
5283 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5286 * tests/examples/manual/.cvsignore:
5287 Ignore registries in any format.
5289 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5291 * gst/glib-compat-private.h:
5292 Add compatibility macro for g_intern_string() for
5293 GLib-2.8 (any reason we can't just bump the
5294 requirement to at least 2.10?)
5296 * gst/gstpadtemplate.h:
5297 * gst/gstelementfactory.c:
5298 * gst/gstregistryxml.c:
5299 * gst/gstregistrybinary.c:
5300 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5301 up the internal code accordingly. This shouldn't be a problem, since
5302 there is no reason external code could ever assume the string in such
5303 a structure is dynamically allocated unless it did that itself; the
5304 use of g_strdup() is private to element factories. The new code also
5305 saves some memory by putting pad template name strings into the GLib
5306 quark table instead of allocating them dynamically.
5307 Declaring this field constant fixes warnings with g++-4.2 when using
5308 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5310 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5312 * gst/gstelementfactory.c:
5313 Release static caps. Fixes #475723.
5315 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5319 Make some internal API take const gchar * instead of just
5320 gchar * to avoid compiler warnings with g++-4.2.2 when
5321 passing string constants (partially fixes #478092).
5323 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5325 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5326 A latency query fails when one of the sinks fail.
5328 * gst/gstelement.c: (gst_element_set_base_time):
5331 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5333 * gst/gstbin.c: (gst_bin_continue_func):
5334 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5336 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5338 Fix minor compilation warnings shown with Forte.
5340 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5342 * plugins/elements/gstqueue.c: (apply_buffer),
5343 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5344 Measure queue level based on the diff between head and tail timestamps
5345 even when pushing the first buffer.
5347 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5349 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5350 (gst_base_sink_event), (gst_base_sink_change_state):
5351 Sinks that don't preroll can always be queried for the latency.
5352 Don't post ASYNC start when we are not async.
5354 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5356 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5357 (gst_queue_handle_sink_event), (gst_queue_chain),
5358 (gst_queue_push_one), (gst_queue_handle_src_query),
5359 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5360 * plugins/elements/gstqueue.h:
5361 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5362 push more buffers but allow pushing of EOS and NEWSEGMENT.
5363 Add some more debug info here and there. Fixes #476514.
5365 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5367 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5368 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5369 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5370 (gst_base_sink_set_flushing), (gst_base_sink_query),
5371 (gst_base_sink_change_state):
5372 Latency query is allowed after we are prerolled. Introduce a new flag
5373 for this and stop abusing other variables.
5375 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5377 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5378 Push OOB events downstream when we get them in send_event. This allows
5379 the application to insert events in the pipeline.
5380 Add some more comments.
5382 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5384 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5385 (do_bin_latency), (gst_bin_change_state_func):
5386 * gst/gstpipeline.c: (gst_pipeline_change_state):
5387 Move latency query from GstPipeline to GstBin so that we can also
5388 use it when async-handling is enabled on bins.
5390 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5392 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5393 (gst_base_src_do_sync), (gst_base_src_change_state):
5395 Clean up the timestamping and syncing code for pseudo live sources.
5397 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5399 Patch by: Steve Fink <sphink gmail com>
5401 * docs/manual/appendix-checklist.xml:
5402 Mention less -R switch in the section about debug output (#474055).
5404 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5406 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5407 Queue can latency to the pipeline up to the configured max size in time.
5408 Report this fact in the latency query.
5410 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5412 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5414 * libs/gst/controller/gstinterpolation.c:
5415 * libs/gst/controller/gstlfocontrolsource.c:
5416 Use gst_guint64_to_gdouble() when converting from a uint64 or
5417 GstClockTime to double to fix the build on win32. Fixes #474371.
5419 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5421 * gst/gstbuffer.c: (gst_buffer_finalize):
5422 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5423 When finalizing a buffer the complete struct is filled with 0xff,
5424 thus making a use of the buffer after the final unref impossible.
5426 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5428 * tests/check/libs/controller.c: (GST_START_TEST):
5429 Use fail_unless_equals_int(a, b) instead of
5430 fail_unless_equals (a == b) to get better output on failures.
5432 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5434 * tests/check/gst/gsturi.c:
5435 Also check for the other file URI variant on win32.
5437 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5439 * gst/gsturi.c: (gst_uri_get_location):
5440 If there's no hostname, we want to return 'c:/foo/bar.txt'
5441 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5443 * tests/check/gst/gsturi.c:
5444 Unit test for the above and a few more things.
5446 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5448 * docs/design/part-live-source.txt:
5449 Add docs on how live sources should timestamp.
5451 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5452 Add some more debug info.
5453 For subclasses that are live and like to sync, add aditional startup
5454 latency to sync time and timestamps so that we timstamp according to the
5457 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5460 Also do a g_type_class_ref() for the subbuffer type in
5463 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5465 * docs/gst/gstreamer-sections.txt:
5466 * gst/gstpad.c: (gst_pad_peer_query):
5468 Add function to perform a query on the peer of a pad.
5469 API: gst_pad_peer_query()
5471 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5473 * tests/check/gst/gstsystemclock.c:
5474 Cleanup the test a little (use gst-logging and not g_message). Improve
5475 test to check if a wait reached the target.
5477 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5479 * docs/libs/gstreamer-libs-sections.txt:
5480 Add new API to docs and fix the build.
5482 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5484 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5485 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5486 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5487 (gst_base_src_get_property), (gst_base_src_do_sync):
5488 * libs/gst/base/gstbasesrc.h:
5489 Add property to make the basesrc timestamp buffers based on the current
5491 API: GstBaseSrc::do-timestamp
5492 API: gst_base_src_set_do_timestamp()
5493 API: gst_base_src_get_do_timestamp()
5495 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5497 * docs/random/release:
5498 Really make sure translations are up-to-date before
5499 a release (#465010).
5501 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5503 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5504 Always destroy the timer, also in error cases.
5506 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5508 * docs/manual/highlevel-xml.xml:
5509 Fix XML example code. Fixes #472714.
5511 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5513 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5514 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5515 (gst_base_sink_query):
5516 Protect eos and have_preroll with the OBJECT lock so we don't need to
5517 take the PREROLL lock when querying the latency. Fixes #473846.
5519 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5522 Give some log-messages a category.
5524 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5526 * gst/gststructure.c:
5527 (gst_structure_fixate_field_nearest_fraction):
5528 Fix fraction list fixation code. Take the fraction with the smallest
5529 difference with the target instead of the first one in the list.
5531 * tests/check/gst/gststructure.c: (GST_START_TEST),
5532 (gst_structure_suite):
5533 Added test to verify correct fraction list fixation behaviour.
5535 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5537 * win32/common/libgstreamer.def:
5538 Export gst_bus_add_signal_watch too.
5540 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5542 * docs/libs/gstreamer-libs-sections.txt:
5543 Add new methods to docs.
5545 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5546 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5547 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5548 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5549 * libs/gst/base/gstbasesink.h:
5550 Add ts-offset property to fine-tune the synchronisation.
5551 API: GstBaseSink::ts-offset property
5552 API: gst_base_sink_set_ts_offset()
5553 API: gst_base_sink_get_ts_offset()
5555 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5557 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5558 (gst_base_sink_init), (gst_base_sink_set_sync),
5559 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5560 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5561 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5562 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5563 (gst_base_sink_get_property), (gst_base_sink_change_state):
5564 * libs/gst/base/gstbasesink.h:
5565 Add async property to instruct the sink never to inform the parent about
5566 ASYNC state changes, update docs.
5567 Check argument with g_return_* for the public functions.
5568 API: GstBaseSink::async property
5569 API: gst_base_sink_set_async_enabled()
5570 API: gst_base_sink_is_async_enabled()
5572 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5574 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5577 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5578 (gst_base_src_default_query), (gst_base_src_wait),
5579 (gst_base_src_do_sync), (gst_base_src_change_state):
5580 Rearrange some code so that we can add support for measuring the
5583 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5585 * docs/random/ensonic/dynlink.txt:
5586 More thoughs on this.
5588 * plugins/elements/gstcapsfilter.c:
5589 Add bugzilla ticket number to FIXME comment.
5591 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5593 * docs/design/part-TODO.txt:
5594 * docs/design/part-block.txt:
5597 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5600 Revert patch which uses $(gst_headers) instead of $^ because it
5603 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5605 * tests/check/gst/gstbin.c: (GST_START_TEST):
5606 Fix leaks in the new unit test.
5608 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5611 Don't use GST_INFO before the debug system is actually initialised
5612 (shouldn't do any harm, but won't print anything either, so we can
5613 just as well remove it).
5616 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5617 compilers that don't support variadic macros (such as MSVC), should
5618 check for debug_level <= __gst_debug_min as well, since that's the
5619 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5620 inline helper functions. Should improve performance a bit, but also
5621 makes sure uses of GST_INFO et.al are ignored if the debugging
5622 system isn't initialised yet (instead of printing an assertion
5625 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5627 patch by: David Nečas <yeti@physics.muni.cz>
5630 Replace some non portable makefile constructs.
5632 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5634 * common/gtk-doc-plugins.mak:
5635 Grrrrr. Don't remove the types file on make clean.
5637 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5639 * tools/gst-launch.1.in:
5640 Add colorspace to example pipeline. Fixes #458274.
5642 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5644 * docs/random/release:
5645 The release manager should run 'make download-po' before making a
5646 release to make sure translations are up-to-date.
5652 Add some new translations.
5654 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5656 * tools/gst-launch.c: (event_loop), (main):
5657 Don´t try to do any state management when a live pipeline posts
5659 Also make the buffering string translatable.
5661 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5663 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5664 (bin_handle_async_start), (gst_bin_handle_message_func):
5666 When adding elements, insert messages into the bus of the newly added
5667 element and make sure the element is the source of the message. This
5668 allows the parent bin to intercept the message and do the
5669 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5670 messages to the app (which is not allowed).
5673 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5674 Fix testsuite so that is does not work around messages that should not
5675 have been posted in the first place.
5677 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5679 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5680 (update_degree), (gst_bin_sort_iterator_next):
5681 Fix annoying bug in the sorted iterator where a sink that is not really
5682 a sink (when it has downstream links) screwed up the iterator.
5684 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5685 Unit test to verify the fix.
5687 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5690 Add some more docs for the messages.
5692 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5693 (gst_base_sink_query):
5694 Add some more debugging.
5696 * tools/gst-launch.c: (event_loop):
5697 When interrupting, don't try to set pipeline to PAUSED twice.
5699 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5702 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5703 (bin_handle_async_start), (gst_bin_handle_message_func):
5704 Move ASYNC_START message posting to where it belongs, similar to
5706 Don't post ASYNC_START when we are in error.
5707 Post ASYNC_START when we added an async element to a bin.
5709 2007-08-14 Julien MOUTTE <julien@moutte.net>
5711 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5712 generation from vargs. Fixes #466595.
5714 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5716 * gst/gstbin.c: (gst_bin_element_set_state):
5717 Always change the state of a NO_PREROLL element even if it has ASYNC
5718 elements inside (in case of a bin).
5720 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5721 Unit test for this case.
5723 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5725 * libs/gst/check/gstbufferstraw.c:
5726 * libs/gst/check/gstcheck.h:
5727 * libs/gst/controller/gstcontroller.c:
5728 * libs/gst/controller/gstcontrolsource.h:
5729 * libs/gst/controller/gstlfocontrolsource.h:
5730 * plugins/elements/gstcapsfilter.h:
5731 * plugins/elements/gstfdsink.h:
5732 * plugins/elements/gstfdsrc.h:
5733 Add more missing docs.
5735 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5737 * gst/gststructure.c:
5738 Add Since tag to docs.
5740 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5742 * docs/gst/gstreamer-sections.txt:
5743 * gst/gststructure.c: (gst_structure_get_uint):
5744 * gst/gststructure.h:
5745 Add function to get uint from a structure.
5746 API: gst_structure_get_uint()
5748 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5750 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5751 (gst_caps_intersect):
5752 Fix proper check for simple caps.
5754 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5756 * docs/gst/Makefile.am:
5757 * docs/libs/Makefile.am:
5758 Remove cruft and do some cleanups.
5760 * docs/gst/gstreamer-docs.sgml:
5761 * docs/libs/gstreamer-libs-docs.sgml:
5762 Prepare for comming gtkdoc features (rebase against online docs).
5764 2007-08-10 Michael Smith <msmith@fluendo.com>
5766 * docs/gst/gstreamer-sections.txt:
5767 Add gst_registry_add_path to docs.
5769 2007-08-10 Michael Smith <msmith@fluendo.com>
5771 * gst/gstregistry.h:
5772 Add gst_registry_add_path, which was missing from this header.
5774 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5776 * libs/gst/controller/gstlfocontrolsource.c:
5779 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5781 * libs/gst/base/gstbasesink.c:
5782 Don't send an async_start message during downwards state change if
5783 target state is less than READY
5785 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5787 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5791 Added Hungarian translation.
5793 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5800 Updated translations.
5802 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5804 * libs/gst/controller/Makefile.am:
5805 Dist gstlfocontrolsourceprivate.h
5807 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5809 * docs/libs/gstreamer-libs.types:
5810 Don't register the enum type gst_lfo_waveform_get_type() in the
5811 .types file - only GObject derived types belong.
5813 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5815 Patch by: <arenevier at fdn dot fr>
5818 Remove comma from last element in enum to avoid compile errors when
5819 using -pendantic. Fixes #464366.
5821 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5823 * docs/design/part-TODO.txt:
5824 Add some more TODO items
5826 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5829 * gst/gstcaps.c: (gst_caps_intersect):
5830 Optimize trivial intersection case between identical caps pointers.
5832 * gst/gstelement.c: (gst_element_continue_state),
5833 (gst_element_set_state_func):
5835 Fix spelling and grammar mistakes.
5837 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5841 Update POTFILES. Fixes #461599.
5843 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5846 Fix confusing typo in debug output.
5848 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5850 reviewed by: Stefan Kost <ensonic@users.sf.net>
5852 * libs/gst/controller/Makefile.am:
5853 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5854 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5855 (gst_lfo_control_source_new),
5856 (gst_lfo_control_source_set_waveform),
5857 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5858 (gst_lfo_control_source_finalize),
5859 (gst_lfo_control_source_dispose),
5860 (gst_lfo_control_source_set_property),
5861 (gst_lfo_control_source_get_property),
5862 (gst_lfo_control_source_class_init):
5863 * libs/gst/controller/gstlfocontrolsource.h:
5864 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5865 API: Add GstLFOControlSource, a control source that gives values
5866 for specific timestamps based on several periodic waveforms.
5869 * tests/check/libs/controller.c: (GST_START_TEST),
5870 (gst_controller_suite):
5871 * docs/libs/gstreamer-libs-docs.sgml:
5872 * docs/libs/gstreamer-libs-sections.txt:
5873 * docs/libs/gstreamer-libs.types:
5874 Add documentation and unit tests for GstLFOControlSource.
5876 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5881 === release 0.10.14 ===
5883 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5886 releasing 0.10.14, "Breathing Vacuum"
5888 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5890 * gst/gstelement.c: (gst_element_class_set_details_simple):
5892 Make strings passed to gst_element_class_set_details_simple()
5893 constant, as they should be (#462752).
5895 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5897 * gst/gstbin.c: (gst_bin_change_state_func),
5898 (bin_handle_async_done), (gst_bin_handle_message_func):
5899 Don't forget about the fact that some element went ASYNC even after a
5900 resync. This makes us post the ASYNC_DONE message correctly.
5903 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5905 * gst/gstregistry.c: (gst_registry_add_feature):
5906 When replacing an existing feature in the registry, make sure to
5907 continue holding a reference until we've replaced the name string
5908 within our feature hash table. Make sure to use g_hash_table_replace
5909 instead of g_hash_table_insert to ensure the new name string is used
5910 as a key instead of the old one that we're about to free.
5913 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5915 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5916 (gst_plugin_feature_set_name):
5917 Revert patch from #459466 until after the release and we can work
5918 out exactly what the problem is (if any).
5920 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5922 * docs/gst/gstreamer-sections.txt:
5925 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5927 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5929 * docs/libs/Makefile.am:
5930 Include our build-prefix libs and includes before the generic ones to
5931 avoid linking against the installed libs when we want the build-tree
5934 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5936 Patch by: Steve Fink <sphink gmail com>
5938 * docs/pwg/building-testapp.xml:
5939 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5940 if people try to build or install the example from the plugin
5941 template against a GStreamer from package using the configure
5944 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5946 Patch by: Steve Fink <sphink gmail com>
5948 * tools/gst-inspect.1.in:
5949 Document --print-all and --print-plugin-auto-install-info command
5950 line options in man page.
5952 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5954 * docs/gst/gstreamer-sections.txt:
5955 Add docs for new api function.
5957 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5959 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5960 * gst/gstelementfactory.h:
5961 API: gst_element_factory_has_interface()
5962 Added method to check if an element factory implements a named
5965 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5968 * docs/gst/gstreamer.types.in:
5969 Another conditional doc check.
5972 * gst/gstparamspecs.h:
5973 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5978 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5980 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5981 (gst_registry_binary_load_feature),
5982 (gst_registry_binary_load_plugin),
5983 (gst_registry_binary_read_cache):
5984 Print error just once and with additional info.
5986 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5988 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5989 (helper_find_suggest), (helper_find_get_length),
5990 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5991 (gst_type_find_helper_for_buffer):
5992 Cleanup the typefindhelper code and add private doc comments.
5994 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5996 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5997 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5998 Fix capsfilter for cases where the caps set on capsfilter will provide
5999 additional information.
6002 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6004 * gst/gsttypefindfactory.c:
6005 Fix docs that recommened wrong function to use.
6007 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6009 * tools/gst-inspect.c: (print_plugin_features):
6010 Also give media-type for typefinders in element output.
6012 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6014 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6015 (gst_registry_remove_features_for_plugin_unlocked),
6016 (gst_registry_add_feature), (gst_registry_remove_feature),
6017 (gst_registry_lookup_feature_locked):
6018 * gst/gstregistry.h:
6019 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6022 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6024 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6025 (gst_plugin_feature_set_name):
6026 Avoid double memory usage for pluginfeature names. Fixes #459466.
6028 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6031 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6032 driving the pipeline may need to explicitly check for NOT_LINKED as
6033 well, since IS_FATAL doesn't cover that.
6035 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6037 * docs/pwg/advanced-types.xml:
6038 Fix typo and duplicate entry in video formats list.
6040 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
6042 * libs/gst/controller/gstinterpolation.c:
6043 Also round to the nearest int when using cubic interpolation.
6045 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
6047 * libs/gst/controller/gstinterpolation.c:
6048 When linearly interpolating integer types, round to the nearest int
6049 by adding 0.5. Don't do it for float/double types.
6050 Fixes the failing controller test on my machine, which is somehow
6051 rounding differently than on the buildbots.
6053 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6055 * tools/gst-plot-timeline.py:
6056 Better log parsing (categories can have -). Adjust text vs. lines, so
6057 that they span the same y-range.
6059 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6061 * docs/random/ensonic/audiobaseclasses.txt:
6062 * docs/random/ensonic/dynlink.txt:
6063 * docs/random/ensonic/profiling.txt:
6066 * docs/random/moving-plugins:
6067 Add note to use g_assert type macros.
6069 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6072 * libs/gst/check/Makefile.am:
6073 Add libm check as we use in for plugins.
6075 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
6077 * gst/gstbin.c: (gst_bin_continue_func):
6078 Check that the state_cookie hasn't changed since the continue_func
6079 was scheduled. Avoids problems where the state changes back to
6080 something it shouldn't be because it was changed in the meantime.
6082 2007-07-17 Stefan Kost <ensonic@users.sf.net>
6084 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6085 (gst_registry_binary_save_string),
6086 (gst_registry_binary_save_pad_template),
6087 (gst_registry_binary_save_feature),
6088 (gst_registry_binary_save_plugin),
6089 (gst_registry_binary_load_feature),
6090 (gst_registry_binary_load_plugin),
6091 (gst_registry_binary_read_cache):
6092 Fix memory leak. Be less verbose in the log.
6094 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6096 * tests/check/elements/.cvsignore:
6097 Add file to cvsignore as commanded.
6099 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6101 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6102 (mq_dummypad_event), (run_output_order_test):
6103 Use a GStaticMutex to protect all cases where libcheck
6104 fail_if/fail_unless macros might be called from multiple threads
6105 simultaneously to avoid errors like:
6106 "check_pack.c:107: :-1081725400:Bad message type arg"
6108 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6110 * tests/check/pipelines/stress.c: (GST_START_TEST):
6111 Make sure we set the pipeline back to the NULL state before
6112 dropping our final reference.
6114 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6116 * tests/check/elements/tee.c: (GST_START_TEST):
6117 Make the tee stress-test a little less stressful so it doesn't just
6118 time out on slow-machines, and remove a small race when it's starting
6119 up by adding a get_state() call.
6121 2007-07-16 Stefan Kost <ensonic@users.sf.net>
6124 Avoid reading registry twice on startup. Fixes #457322.
6126 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6128 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6129 * pkgconfig/gstreamer-check.pc.in:
6130 Substitute the CFLAGS for libcheck into our .pc file too so that
6131 dependent modules will pick it up properly if libcheck is installed
6132 into some other prefix.
6134 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6137 Revert the pkg-config check for libcheck, since it pulls in the
6138 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6139 a proper solution, either from the check project, or something else.
6141 2007-07-12 Stefan Kost <ensonic@users.sf.net>
6144 Use pkg-config to locate check.
6146 2007-07-10 Stefan Kost <ensonic@users.sf.net>
6153 Add deprecation guards.
6155 * libs/gst/base/gstcollectpads.h:
6156 Don't document object (this is implicitly private).
6158 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
6160 * gst/gststructure.c: (gst_structure_parse_value):
6161 When deserialising foo=bar without a type cast, check if it's a
6162 boolean before falling back to a string type, otherwise things like
6163 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6164 because the filtercaps end up having a signed=(string)true field,
6165 which causes problems later when intersection caps.
6167 * tests/check/gst/gststructure.c: (GST_START_TEST):
6168 Add a unit test for this.
6170 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
6172 Reviewed by: Stefan Kost <ensonic@users.sf.net>
6174 * libs/gst/controller/Makefile.am:
6175 * libs/gst/controller/gstcontroller.c:
6176 (gst_controlled_property_add_interpolation_control_source),
6177 (gst_controlled_property_new), (gst_controlled_property_free),
6178 (gst_controller_find_controlled_property),
6179 (gst_controller_new_valist), (gst_controller_new_list),
6180 (gst_controller_new), (gst_controller_remove_properties_valist),
6181 (gst_controller_remove_properties_list),
6182 (gst_controller_remove_properties),
6183 (gst_controller_set_property_disabled),
6184 (gst_controller_set_disabled), (gst_controller_set_control_source),
6185 (gst_controller_get_control_source), (gst_controller_get),
6186 (gst_controller_sync_values), (gst_controller_get_value_array),
6187 (_gst_controller_dispose), (gst_controller_get_type),
6188 (gst_controlled_property_set_interpolation_mode),
6189 (gst_controller_set), (gst_controller_set_from_list),
6190 (gst_controller_unset), (gst_controller_unset_all),
6191 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6192 * libs/gst/controller/gstcontroller.h:
6193 * libs/gst/controller/gstcontrollerprivate.h:
6194 * libs/gst/controller/gstcontrolsource.c:
6195 (gst_control_source_class_init), (gst_control_source_init),
6196 (gst_control_source_get_value),
6197 (gst_control_source_get_value_array), (gst_control_source_bind):
6198 * libs/gst/controller/gstcontrolsource.h:
6199 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6200 (gst_object_get_control_source):
6201 * libs/gst/controller/gstinterpolation.c:
6202 (gst_interpolation_control_source_find_control_point_node),
6203 (gst_interpolation_control_source_get_first_value),
6204 (_interpolate_none_get), (interpolate_none_get),
6205 (interpolate_none_get_boolean_value_array),
6206 (interpolate_none_get_enum_value_array),
6207 (interpolate_none_get_string_value_array),
6208 (_interpolate_trigger_get), (interpolate_trigger_get),
6209 (interpolate_trigger_get_boolean_value_array),
6210 (interpolate_trigger_get_enum_value_array),
6211 (interpolate_trigger_get_string_value_array):
6212 * libs/gst/controller/gstinterpolationcontrolsource.c:
6213 (gst_control_point_free), (gst_interpolation_control_source_reset),
6214 (gst_interpolation_control_source_new),
6215 (gst_interpolation_control_source_set_interpolation_mode),
6216 (gst_interpolation_control_source_bind),
6217 (gst_control_point_compare), (gst_control_point_find),
6218 (gst_interpolation_control_source_set_internal),
6219 (gst_interpolation_control_source_set),
6220 (gst_interpolation_control_source_set_from_list),
6221 (gst_interpolation_control_source_unset),
6222 (gst_interpolation_control_source_unset_all),
6223 (gst_interpolation_control_source_get_all),
6224 (gst_interpolation_control_source_get_count),
6225 (gst_interpolation_control_source_init),
6226 (gst_interpolation_control_source_finalize),
6227 (gst_interpolation_control_source_dispose),
6228 (gst_interpolation_control_source_class_init):
6229 * libs/gst/controller/gstinterpolationcontrolsource.h:
6230 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6231 API: Refactor GstController into the core controller which can take
6232 a GstControlSource for providing actual values for timestamps.
6233 Implement a interpolation control source and use this for backward
6234 compatibility, deprecate a bunch of functions that are now handled
6235 by GstControlSource or GstInterpolationControlSource.
6236 Make it possible to disable the controller completely or only for
6237 specific properties. Fixes #450711.
6238 * docs/libs/gstreamer-libs-docs.sgml:
6239 * docs/libs/gstreamer-libs-sections.txt:
6240 * docs/libs/gstreamer-libs.types:
6241 Add new functions and classes to the docs.
6242 * tests/check/libs/controller.c: (GST_START_TEST),
6243 (gst_controller_suite):
6244 * tests/examples/controller/audio-example.c: (main):
6245 Port unit test and example to the new API and add some new
6248 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
6250 Patch by: Mark Nauwelaerts <manauw at skynet be>
6252 * plugins/elements/gstmultiqueue.c:
6253 (gst_multi_queue_get_internal_links), (apply_buffer),
6254 (single_queue_overrun_cb), (gst_single_queue_new):
6255 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6256 the pipeline layout can be tracked correctly. Fixes #453732.
6258 2007-07-05 Stefan Kost <ensonic@users.sf.net>
6260 * docs/gst/Makefile.am:
6261 * docs/libs/Makefile.am:
6262 * docs/plugins/Makefile.am:
6263 Simplify --extra-dir as gtkdoc scans recursively.
6265 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6267 * tools/gst-launch.c: (main):
6268 When we got an error, there is no point in waiting for preroll when
6271 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6273 * plugins/elements/gsttee.c: (gst_tee_base_init),
6274 (gst_tee_request_new_pad), (gst_tee_release_pad),
6275 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6276 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6278 Be a lot smarter when deciding what srcpad to use for proxying
6279 the buffer_alloc. Also handle pad added/removed when doing so.
6281 Keep track of what pads we already pushed on in case we have pads
6282 added/removed while pushing. Fixes #374639
6284 * tests/check/Makefile.am:
6285 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6287 Added unit test for pad resync.
6289 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6293 Updated translations.
6295 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6297 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6301 Added new Finnish translation.
6303 2007-06-28 Wim Taymans <wim@fluendo.com>
6305 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6306 (single_queue_overrun_cb):
6307 When figuring out when a queue is filled, use our internal time estimate
6308 based on segments, just like check_full does.
6310 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6312 * gst/gstminiobject.c: (gst_mini_object_get_type):
6313 Remove 3 do-nothing methods.
6315 2007-06-27 Wim Taymans <wim@fluendo.com>
6317 Patch by: Tim Angus <tim at ngus dot net>
6319 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6320 (gst_capsfilter_set_property):
6321 Take a reference instead of a copy when setting "caps".
6322 Fix documentation to clarify this behaviour. Fixes #449414.
6324 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6326 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6327 * gst/gstplugin.c: (gst_plugin_init):
6328 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6329 * gst/gstquery.c: (gst_query_get_type):
6330 * gst/gstregistry.c: (gst_registry_init):
6331 * gst/gsturi.c: (gst_uri_handler_base_init):
6332 Remove empty instance_init() functions to save relocs and lessen the
6333 noise. Remove some of the function prototypes that are doubled by
6336 2007-06-27 Wim Taymans <wim@fluendo.com>
6338 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6340 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6341 Add peer and direction in the XML serialisation of ghostpads.
6344 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6347 Preserve useful information, thanks Tim.
6349 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6351 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6352 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6353 (gst_single_queue_push_one), (gst_multi_queue_loop),
6354 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6355 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6356 (compute_high_id), (gst_single_queue_new):
6357 * plugins/elements/gstmultiqueue.h:
6358 Take the multiqueue lock when updating the fill level so we don't get
6361 After applying a buffer or event on the src pad segment, make sure to
6362 call gst_data_queue_limits_changed() to get the data queue to unblock
6363 and check the filled state again.
6365 Rework the not-linked pad handling so the logic is that not-linked
6366 pads can push as fast as they like, but only so they never get
6367 ahead of any linked pads.
6369 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6370 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6371 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6373 Add a test to check that not-linked pads always stay behind
6378 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6380 * docs/random/release:
6381 Some updates to the release procedure.
6383 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6385 * gst/gstelementfactory.c: (__gst_element_details_clear):
6386 Microoptimization that saves stunning 80 bytes.
6388 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6390 * docs/plugins/gstreamer-plugins.args:
6391 * docs/plugins/inspect/plugin-coreelements.xml:
6392 * docs/plugins/inspect/plugin-coreindexers.xml:
6393 Update docs with caps info.
6395 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6398 Updated Italian translation.
6400 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6404 Update Vietnamese translations.
6406 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6408 * libs/gst/base/gstbasesink.c:
6409 Remove unused signal enum.
6411 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6413 * docs/gst/gstreamer-sections.txt:
6415 * gst/gstutils.c: (gst_type_register_static_full):
6416 Beef up and include the docs for gst_type_register_static_full and
6417 gst_element_class_set_details_simple and add the API keyword
6420 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6422 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6423 (update_time_level), (gst_single_queue_push_one),
6424 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6425 (single_queue_overrun_cb), (single_queue_underrun_cb),
6426 (single_queue_check_full):
6427 Fix setting max-* properties after adding queues.
6428 Use IS_FILLED for checking visible items.
6429 Signal overrun if multiple queues overrun.
6430 Add extra debug output.
6431 Patch by: Wim Taymans <wim@fluendo.com>
6433 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6435 * gst/gstelement.c: (gst_element_class_set_details_simple):
6437 * gst/gstutils.c: (gst_type_register_static_full):
6439 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6440 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6441 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6442 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6443 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6444 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6445 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6446 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6447 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6448 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6449 (apply_buffer), (gst_queue_chain):
6450 * plugins/elements/gsttee.c: (gst_tee_base_init):
6451 * plugins/elements/gsttypefindelement.c:
6452 (gst_type_find_element_base_init),
6453 (gst_type_find_element_class_init):
6454 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6455 API: add gst_type_register_static_full
6456 API: add gst_element_class_set_details_simple
6458 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6460 * docs/pwg/advanced-types.xml:
6461 Fix typo in iana.org URI.
6463 2007-06-19 Andy Wingo <wingo@pobox.com>
6465 * tests/check/pipelines/simple-launch-lines.c
6466 (test_state_change_returns): Enable pull-mode tests now that
6467 basesink has been fixed.
6469 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6470 Changed from gst_base_sink_is_prerolled, reversing the sense of
6471 the return value. Returns FALSE also if the sink is in pull mode,
6472 in which case it needs no preroll.
6473 (gst_base_sink_query, gst_base_sink_change_state): Update for
6474 needs_preroll change.
6475 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6476 chaining up, in which we return SUCCESS directly if we activated
6477 in pull mode instead of ASYNC. Involves countering an async_start
6478 message sent before chaining up; not sure if this is correct, in
6479 an ideal world we only send async-start when activating in push
6482 * tests/check/pipelines/simple-launch-lines.c
6483 (test_state_change_returns): New test, partially disabled until
6486 2007-06-19 Wim Taymans <wim@fluendo.com>
6488 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6489 (gst_multi_queue_sink_event):
6492 2007-06-19 Wim Taymans <wim@fluendo.com>
6494 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6495 (gst_bin_change_state_func), (bin_push_state_continue),
6496 (bin_handle_async_start), (bin_handle_async_done),
6497 (gst_bin_handle_message_func):
6498 Move the common code for posting state-change messages into
6500 Broadcast the state signal after we posted the messages.
6501 Mark the bin as busy when it's doing a state-change.
6502 Make sure async-start/done messages don't interfere with the bin's
6503 state when it's busy.
6504 After the state change, let the bin check which elements completed the
6505 state change while it was busy so that it can update its state.
6507 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6509 * docs/random/release:
6510 Add a note about updating the doap file to the release checklist
6512 2007-06-18 Wim Taymans <wim@fluendo.com>
6514 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6515 (gst_single_queue_push_one), (gst_multi_queue_chain),
6516 (gst_multi_queue_sink_event):
6517 Make sure we don't reference the buffer/event after we have given away
6518 ownership in the queue.
6520 2007-06-18 Wim Taymans <wim@fluendo.com>
6522 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6523 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6524 Update queue state _after_ adding the item in the queue because else we
6525 could end up being full without the element added yet.
6527 2007-06-18 Wim Taymans <wim@fluendo.com>
6529 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6530 (gst_bin_remove_func), (gst_bin_get_state_func),
6531 (gst_bin_element_set_state), (gst_bin_continue_func),
6532 (bin_push_state_continue), (bin_handle_async_start),
6533 (bin_handle_async_done), (gst_bin_handle_message_func):
6535 Immediatly commit the toplevel bin state when receiving an async-done
6536 message. This enables us to avoid spawning a thread to commit the state
6537 in some common cases and it also avoids some races.
6538 Avoid spawning a state thread when adding/removing async elements to a
6539 toplevel bin. Instead we immediatly update the bin state.
6540 Get rid of iterating all the children when getting the state in the bin
6541 because it is now always up-to-date.
6542 Fix bug where locked elements would always return _SUCCESS even it they
6543 returned NO_PREROLL before being locked.
6544 Fix the order of the state_change, async-start/done messages that was
6545 sometimes incorrect.
6546 Mark the state_dirty field as deprecated, we don't need it anymore as we
6547 are always up-to-date.
6549 * gst/gstelement.c: (gst_element_get_state_func),
6550 (gst_element_continue_state):
6551 Small debug inprovements.
6552 Return the previous element state return when nothing is pending instead
6553 of blindly returning SUCCESS.
6555 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6557 Add a whole bunch of new testcases.
6559 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6563 Update translations.
6565 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6568 Fix typo in the docs.
6570 2007-06-15 Wim Taymans <wim@fluendo.com>
6572 * docs/libs/gstreamer-libs-sections.txt:
6573 Add docs for new methods.
6575 2007-06-15 Wim Taymans <wim@fluendo.com>
6577 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6578 (gst_multi_queue_item_new):
6579 Don't use GSlice because we don't depend on >= 2.10 yet.
6581 2007-06-15 Wim Taymans <wim@fluendo.com>
6583 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6584 (update_time_level), (apply_segment), (apply_buffer),
6585 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6586 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6587 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6588 (single_queue_underrun_cb), (single_queue_check_full):
6589 Remove debug printf.
6591 2007-06-15 Wim Taymans <wim@fluendo.com>
6593 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6594 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6595 (gst_data_queue_set_flushing), (gst_data_queue_push),
6596 (gst_data_queue_pop), (gst_data_queue_drop_head),
6597 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6598 * libs/gst/base/gstdataqueue.h:
6600 Added methods to get the current levels and to inform the queue that the
6601 'full' limits changed.
6603 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6604 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6605 (gst_single_queue_flush), (update_time_level), (apply_segment),
6606 (apply_buffer), (gst_single_queue_push_one),
6607 (gst_multi_queue_item_steal_object),
6608 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6609 (gst_multi_queue_loop), (gst_multi_queue_chain),
6610 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6611 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6612 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6613 (single_queue_underrun_cb), (single_queue_check_full),
6614 (gst_single_queue_new):
6615 Keep track of time in the queue by measuring the difference between
6616 running_time on input and output. This gives more accurate results and
6617 can compensate for segments correctly.
6618 Make a queue by default only 5 buffers deep. We will now increase the
6619 buffer size depending on the filledness of the other queues.
6620 Factor out commong flush code.
6621 Make sure we don't add additional refcounts to buffers when we can avoid
6623 Propagate GstFlowReturn differently.
6624 Use GSlice for intermediate GstMultiQueueItems.
6626 Resize queues on over and underruns based on filled level of other
6628 When checking if the queue is filled, prefer to measure in time if we
6629 can and fall back to bytes when no time is known.
6631 * plugins/elements/gstqueue.c:
6634 2007-06-15 Wim Taymans <wim@fluendo.com>
6636 * libs/gst/base/gstbasetransform.c:
6637 (gst_base_transform_sink_event):
6638 Work around the brokenness of the event vmethod in basetransform. Prefer
6639 to return TRUE when the subclass returned FALSE (meaning don't forward
6642 * libs/gst/base/gstbasetransform.h:
6645 2007-06-15 Wim Taymans <wim@fluendo.com>
6647 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6648 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6649 (gst_base_src_default_query), (gst_base_src_get_range),
6650 (gst_base_src_start):
6651 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6654 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6656 * docs/pwg/advanced-types.xml:
6657 Added more formats to caps table.
6659 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6661 * tools/gst-launch.c: (main):
6662 Remove crufy code. GOption does not need this workaround.
6664 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6666 * libs/gst/controller/gstcontroller.c:
6667 (gst_controlled_property_set_interpolation_mode):
6668 Fix wrong getter for enums in controller.
6670 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6672 * libs/gst/check/gstcheck.c: (gst_check_init):
6673 Intercept criticals and warnings in the Gst-Phonon log domain, so
6674 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6677 2007-06-14 Edward Hervey <edward@fluendo.com>
6679 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6680 Since this file doesn't include "gst.h" it will not go through the
6681 macros that disable GST_LOG if debugging was disabled.
6683 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6685 * libs/gst/check/Makefile.am:
6686 * libs/gst/check/gstcheck.h:
6687 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6688 * pkgconfig/gstreamer-check.pc.in:
6689 Ugly 'fix' for the controller unit test on the p5 bot: in
6690 fail_unless_equals_float() check whether the values are 'almost
6691 equal' by allowing a small absolute error, which should be good
6692 enough for our use cases (normal numbers and values close to 0).
6693 Proper fixage left to floating point arithmetic aficionados.
6695 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6697 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6698 (gst_base_sink_render_object), (gst_base_sink_get_position):
6699 Add two breaks thats where missing.
6701 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6703 * docs/libs/gstreamer-libs-sections.txt:
6704 * libs/gst/check/gstcheck.h:
6705 API: add fail_unless_equals_float() and assert_equals_float().
6706 Add documentation for some of the macros.
6708 * tests/check/libs/controller.c: (GST_START_TEST):
6709 Use newly-added asserts.
6711 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6713 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6714 Show the caps change in the log to help spotting the case of not
6715 exactly matching caps.
6717 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6719 * docs/pwg/building-boiler.xml:
6720 Fix typos, spotted by Thijs Vermeir (#447190).
6722 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6724 * docs/plugins/tmpl/.cvsignore:
6725 Ignore file to keep the buildbots happy
6727 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6729 * docs/plugins/Makefile.am:
6730 * docs/plugins/gstreamer-plugins-docs.sgml:
6731 * docs/plugins/gstreamer-plugins-sections.txt:
6732 Pull fdsink into the docs too.
6734 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6736 * libs/gst/controller/gstinterpolation.c:
6737 Actually use the new functions with min/max checks for the trigger and
6738 none interpolation modes for get() and get_value_array() instead of
6741 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6743 * libs/gst/controller/gstcontroller.c:
6744 (gst_controlled_property_free):
6745 Unset the minimum and maximum GValues when freeing the corresponding
6746 GstControllerProperty struct.
6748 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6750 * libs/gst/controller/gstcontroller.c:
6751 (gst_controlled_property_new):
6752 * libs/gst/controller/gstcontrollerprivate.h:
6753 * libs/gst/controller/gstinterpolation.c:
6754 (gst_controlled_property_find_control_point_node),
6755 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6756 (interpolate_none_get_string_value_array),
6757 (interpolate_trigger_get),
6758 (interpolate_trigger_get_enum_value_array),
6759 (interpolate_trigger_get_string_value_array):
6760 Protect against values larger or smaller than the minimum or maximum
6761 allowed value for the property when using values that can be compared.
6763 Optimize trigger interpolator a bit by taking the last requested value
6764 into account instead of always looping through the complete list.
6766 Fix coding style a bit, everywhere else we use "return foo" instead
6769 * tests/check/libs/controller.c: (GST_START_TEST),
6770 (gst_controller_suite):
6771 Add unit test for the protection against too large or too small
6774 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6776 * docs/random/slomo/controller.txt:
6777 Add some thoughts about the future of the controller.
6779 2007-06-08 Wim Taymans <wim@fluendo.com>
6781 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6782 Don't overflow in retimestamping code.
6784 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6786 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6787 Use gst_util_guint64_to_gdouble for conversions.
6788 * win32/common/libgstreamer.def:
6789 Add new exported functions.
6791 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6794 Small docs addition.
6796 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6799 Remove that test line again.
6801 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6804 Test commit mail sending.
6806 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6809 Fix typo and test commit mail sending.
6811 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6813 * tests/examples/controller/audio-example.c:
6814 Improve comment and test commit mail sending.
6816 2007-06-07 Wim Taymans <wim@fluendo.com>
6818 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6819 (gst_bin_remove_func), (gst_bin_element_set_state),
6820 (bin_handle_async_start), (bin_handle_async_done),
6821 (gst_bin_handle_message_func):
6822 Add helper function to find messages.
6823 Generate the async-done messages together with the state change
6825 Small cleanups in handling toplevel bins.
6827 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6829 * libs/gst/base/gstdataqueue.c:
6830 * libs/gst/base/gstdataqueue.h:
6831 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6832 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6833 (gst_multi_queue_sink_event):
6834 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6835 Fix multiqueue leaking buffers and events when downstream or the
6836 queue are flushing. Make refcounting assumptions explicit and
6837 document them (shouldn't break existing code that uses it other than
6838 maybe leak miniobjects, but that already happens anyway). Add unit
6839 test for the most common flushing case. Fixes #423700.
6841 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6843 * libs/gst/controller/gstcontroller.c:
6844 Clarify docs: The get_all, get_value_array(s) functions
6845 don't modify the GObject properties.
6847 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6849 * libs/gst/controller/gstcontroller.c:
6850 (gst_controlled_property_set_interpolation_mode),
6851 (gst_controlled_property_prepend_default),
6852 (gst_controlled_property_new), (gst_controller_set_unlocked),
6853 (gst_controller_set), (gst_controller_set_from_list),
6854 (gst_controller_unset), (gst_controller_unset_all):
6855 * libs/gst/controller/gstcontrollerprivate.h:
6856 * libs/gst/controller/gstinterpolation.c:
6857 Factor out the 'set' logic into gst_controller_set_unlocked for the
6858 gst_controller_set and gst_controller_set_from_list functions.
6860 To make life of the interpolators easier always add a control point
6861 at timestamp zero with the default value.
6863 In the linear interpolator make things more obvious by better variable
6866 Implement cubic interpolation mode (by using a natural cubic spline)
6867 and map the quadratic interpolation mode to this too (as quadratic
6868 doesn't make much sense, see discussion on the list).
6870 * tests/check/libs/controller.c: (GST_START_TEST),
6871 (gst_controller_suite):
6872 Add unit test for the cubic interpolation mode and check everywhere
6873 if the interpolation mode could be set as expected.
6875 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6877 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6878 Don't use GLib-2.10 functions, we still depend on
6879 GLib-how-old-is-it-again-2.8.
6881 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6883 * docs/gst/gstreamer-sections.txt:
6887 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6888 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6889 (_gst_param_fraction_values_cmp),
6890 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6891 * gst/gstparamspecs.h:
6893 * tests/check/Makefile.am:
6894 * tests/check/gst/.cvsignore:
6895 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6896 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6897 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6898 (GST_START_TEST), (gst_param_spec_suite):
6899 API: add GstParamSpecFraction, so elements can have fraction
6900 properties without lots of painful string parsing (#444648).
6902 2007-06-05 Wim Taymans <wim@fluendo.com>
6904 * gst/gstobject.c: (gst_object_class_init):
6905 Fix signal signature.
6908 Add small clarification in the api docs.
6910 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6911 States are protected with object lock.
6913 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6916 I should probably be listed as an author by now.
6918 * docs/random/release:
6919 Update the release doc
6921 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6924 Make docs for gst_value_compare() mention return enums that
6927 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6932 === release 0.10.13 ===
6934 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6937 releasing 0.10.13, "With or without you"
6939 2007-05-25 Wim Taymans <wim@fluendo.com>
6941 * gst/gstbin.c: (bin_handle_async_done):
6942 Make sure that the child bin stops after completing the async state
6943 change so that the parent can continue the state change to PLAYING.
6946 2007-05-25 Wim Taymans <wim@fluendo.com>
6948 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6949 (unref_data), (gst_collect_pads_remove_pad),
6950 (gst_collect_pads_check_pads):
6951 Use additional refcounting to avoid crashes when dynamically adding and
6952 removing pads. Fixes #420206.
6954 2007-05-24 Wim Taymans <wim@fluendo.com>
6956 * tools/gst-launch.c: (event_loop):
6957 When buffering goes from a two digit to a single digit number, make sure
6958 to remove the old second digit by writing a blank over it.
6960 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6962 * libs/gst/base/gstdataqueue.c:
6963 Eliminate tabs and trailing comma in enum list; fix some typos.
6965 2007-05-24 Wim Taymans <wim@fluendo.com>
6967 * tests/check/gst/gstbin.c: (GST_START_TEST):
6968 Allow refcount of 3 and 4 because some state thread might still be busy
6971 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6973 * plugins/elements/Makefile.am:
6974 * plugins/elements/gstmultiqueue.h:
6975 * plugins/elements/gstqueue.h:
6976 These are not installed headers, no need for padding.
6978 2007-05-24 Wim Taymans <wim@fluendo.com>
6980 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6981 (gst_bin_continue_func):
6982 Enable latency for next release.
6983 Restore STATE_LOCK around recalc_state that was left out during the
6984 rewrite and could result in racy behaviour when _get_state and
6985 recalc_state are run concurrently. See #440463.
6987 2007-05-23 Wim Taymans <wim@fluendo.com>
6989 * tests/check/gst/gstsystemclock.c: (store_callback),
6991 Improve test_async_order to also work when both timers are already
6992 expired when we get scheduled to check it.
6994 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6996 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6997 (gst_bin_set_property), (gst_bin_get_property),
6998 (gst_bin_remove_func), (gst_bin_handle_message_func):
7000 'private' is a c++ keyword, let's not use that in header files,
7001 otherwise c++ compilers will throw a tantrum.
7003 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7005 * plugins/elements/gstelements.c:
7006 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7007 (gst_file_sink_get_current_offset):
7008 * plugins/indexers/gstindexers.c: (plugin_init):
7009 Use #ifdef for HAVE_XYZ for consistency.
7011 * tests/check/Makefile.am:
7012 * tests/check/elements/.cvsignore:
7013 * tests/check/elements/filesink.c: (setup_filesink),
7014 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7015 Add some unit tests for filesink.
7017 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7019 Patch by: Mark Nauwelaerts <manauw at skynet be>
7021 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7022 (gst_file_sink_query), (gst_file_sink_do_seek),
7023 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7024 * plugins/elements/gstfilesink.h:
7025 Fix position reporting; rename data_written member to current_pos to
7026 reflect its real meaning (fixes #412648).
7028 2007-05-22 Edward Hervey <edward@fluendo.com>
7030 * docs/gst/gstreamer-sections.txt:
7031 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7032 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7033 (gst_bin_remove_func), (gst_bin_handle_message_func):
7035 Add a property for bins that handle the state change of their childs.
7038 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
7040 * libs/gst/controller/gstinterpolation.c:
7041 Use an array of the correct type when using _get_value_array with
7042 linear interpolation.
7044 2007-05-22 Stefan Kost <ensonic@users.sf.net>
7046 * gst/gstelement.c (gst_element_requires_clock,
7047 gst_element_provides_clock, gst_element_request_pad,
7048 gst_element_class_set_details, gst_element_class_set_details_simple,
7049 gst_element_default_send_event, gst_element_abort_state,
7050 gst_element_continue_state, gst_element_set_state,
7051 gst_element_set_state_func, iterator_activate_fold_with_resync):
7052 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7053 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7054 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7055 gst_pad_get_range, gst_pad_pull_range):
7056 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7057 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7058 GstPadActivateModeFunction, GstPadChainFunction,
7059 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7060 GstPadFixateCapsFunction, GstPadTemplate):
7061 * gst/gstpipeline.c (gst_pipeline_change_state,
7062 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7063 gst_pipeline_set_clock, gst_pipeline_auto_clock,
7064 gst_pipeline_get_delay):
7065 Whitespace and docs fixes.
7067 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7069 * libs/gst/controller/gstinterpolation.c:
7070 (interpolate_trigger_get_enum_value_array),
7071 (interpolate_trigger_get_string_value_array):
7072 Add support for retrieving value arrays when using the trigger
7075 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7077 * libs/gst/controller/gstcontroller.c:
7078 (gst_controller_get_value_array):
7079 * libs/gst/controller/gstcontroller.h:
7080 Clarify the docs of gst_controller_get_value_array(): The array where
7081 the values should be written to must be allocated as there seems to be
7082 no way to get the size of a random GType. This doesn't change any
7083 behaviour. Also fix some typos all over the place and remove an unused,
7084 commented function that is not necessary as g_object_set() could be
7086 * tests/check/libs/controller.c: (GST_START_TEST),
7087 (gst_controller_suite):
7088 Add unit test for gst_controller_get_value_array().
7090 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
7092 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7094 Disable part of the gst_buffer_try_new_and_alloc test, because
7095 it can happily succeed on 64-bit systems where there's more address
7098 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7100 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7101 Add unit test for the improved caps checking from bug #421543.
7103 2007-05-21 Wim Taymans <wim@fluendo.com>
7105 * docs/design/part-synchronisation.txt:
7108 * gst/gstbin.c: (gst_bin_query):
7109 * plugins/elements/gstqueue.c: (apply_segment):
7115 2007-05-21 Wim Taymans <wim@fluendo.com>
7117 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7118 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7119 (gst_pad_configure_src):
7120 Added simple version of improved caps checking. It was previously
7121 assumed that a setcaps function would check the validity of the caps but
7122 people prefer us to check caps against the template automatically.
7125 2007-05-21 Wim Taymans <wim@fluendo.com>
7127 * libs/gst/base/gstbasetransform.h:
7128 Fix macro for locking/unlocking the transform lock.
7130 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
7132 * docs/plugins/tmpl/.cvsignore:
7135 2007-05-18 Edward Hervey <edward@fluendo.com>
7137 * plugins/elements/gstqueue.c: (gst_queue_loop):
7138 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7139 for the subtle art of warning a potentially blocking thread that it
7140 should check the source pad return value, and relay the information
7143 2007-05-18 Edward Hervey <edward@fluendo.com>
7145 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7146 Release the queue lock !
7148 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7150 * docs/libs/gstreamer-libs-sections.txt:
7151 Add the two new controller functions to the appropiate places.
7153 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7155 reviewed by: Stefan Kost <ensonic@users.sf.net>
7157 * libs/gst/controller/gstcontroller.c:
7158 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7159 (_gst_controller_get_property), (_gst_controller_set_property),
7160 (_gst_controller_init), (_gst_controller_class_init):
7161 * libs/gst/controller/gstcontroller.h:
7162 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7163 (gst_object_get_control_rate), (gst_object_set_control_rate):
7164 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7165 Add API that provides sync suggestion timestamps for elements that
7166 call gst_object_sync_values() from which those elements can subdivide
7167 their processing loop to get the best results for the controlled
7168 properties. For now it just suggests last_sync + control_rate as
7169 new timestamp but this will be improved in the future.
7171 While doing that change the control-rate property to a GstClockTime
7172 from guint and change it's meaning from samples to nanoseconds as
7173 the GstController doesn't know anything about sampling rate. Strictly
7174 speaking this breaks ABI but as the control-rate property didn't do
7175 anything in the past and as such couldn't be used this should be no
7178 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7180 reviewed by: Stefan Kost <ensonic@users.sf.net>
7182 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7183 (gst_controller_unset_all):
7184 * libs/gst/controller/gstcontrollerprivate.h:
7185 * libs/gst/controller/gstinterpolation.c:
7186 (gst_controlled_property_find_control_point_node):
7187 Save last synced value from the list to continue searching from there
7188 in future syncs. This speeds everything up a bit.
7190 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7192 reviewed by: Stefan Kost <ensonic@users.sf.net>
7194 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7195 (gst_control_point_find), (gst_controlled_property_new),
7196 (gst_control_point_free), (gst_controlled_property_free),
7197 (gst_controller_set), (gst_controller_set_from_list),
7198 (gst_controller_unset), (gst_controller_unset_all),
7199 (gst_controller_sync_values):
7200 * libs/gst/controller/gstcontroller.h:
7201 * libs/gst/controller/gstcontrollerprivate.h:
7202 * libs/gst/controller/gstinterpolation.c:
7203 (gst_controlled_property_find_control_point_node),
7204 (interpolate_none_get), (interpolate_trigger_get):
7205 Add a new private GstControlPoint struct which "inherits" from
7206 GstTimedValue to allow different interpolators to store internal
7207 values next to each control point. From the outside everything is
7208 still a GstControlPoint so we don't loose binary compatibility.
7209 Also fixup all the GValue handling to not leak GValues or list nodes.
7210 * tests/check/libs/controller.c: (GST_START_TEST):
7211 Free the list nodes and GValues in the controller_misc test.
7213 2007-05-17 Edward Hervey <edward@fluendo.com>
7218 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
7220 * gst/gstplugin.c: (gst_plugin_load_file):
7221 If we fail to load a plugin because of unresolved symbols or missing
7222 libraries and spew a warning to stderr, we may just as well mention
7223 which plugin it was that failed to load.
7225 2007-05-13 David Schleef <ds@schleef.org>
7227 * docs/Makefile.am: the gtk-doc makefile snippet correctly
7228 handles the case when ENABLE_GTK_DOC is false, and installs
7229 the prebuilt documentation. So gtk-doc subdirs are
7230 unconditionally enabled. Fixes: #349099.
7232 2007-05-13 David Schleef <ds@schleef.org>
7234 * gst/gstutils.h: Reword some documentation.
7236 2007-05-12 David Schleef <ds@schleef.org>
7238 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7239 do anything with the passed "module" parameter, so remove it.
7240 Allows removal of additional vestigal code.
7242 2007-05-12 David Schleef <ds@schleef.org>
7245 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7246 Switch to using g_stat() because it's more portable.
7248 2007-05-12 David Schleef <ds@schleef.org>
7251 Add GST_DISABLE_OPTION_PARSING, in order to disable option
7252 parsing for embedded systems.
7253 * gst/gstelementfactory.c:
7254 Allow gst_element_register() to be called with plugin==NULL.
7255 Did nobody notice that static elements were broken?
7257 2007-05-12 Wim Taymans <wim@fluendo.com>
7259 * tools/gst-launch.c: (event_loop):
7260 Give more interesting info when buffering starts and stops.
7261 Fix case where buffering starts but we fail to update the buffering flag
7262 because the target state is not PLAYING.
7264 2007-05-12 Wim Taymans <wim@fluendo.com>
7266 * plugins/elements/gstqueue.c: (gst_queue_init),
7267 (gst_queue_finalize), (update_time_level), (apply_segment),
7268 (apply_buffer), (gst_queue_locked_flush),
7269 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7270 (gst_queue_handle_sink_event), (gst_queue_chain),
7271 (gst_queue_push_one), (gst_queue_loop):
7272 * plugins/elements/gstqueue.h:
7273 Refactor an cleanup queue a bit.
7274 Do better time level calculations that also work when the srcpad is not
7276 Remove some unneeded debug lines.
7278 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7279 Added testcase for time level measurement.
7280 Try to make some stuff more racefree.
7282 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7284 * gst/gsturi.c: (gst_element_make_from_uri):
7285 Don't leak plugin feature.
7287 * tests/check/Makefile.am:
7288 * tests/check/gst/.cvsignore:
7289 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7290 Add brain-dead unit test.
7292 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7294 Patch by: Jeroen Wouters <woutersj at gmail com>
7296 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7297 Treat protocol strings in a case-insensitive way (#437563).
7299 2007-05-11 Michael Smith <msmith@fluendo.com>
7301 * gst/gstplugin.c: (gst_plugin_load_file):
7302 * gst/gstregistry.c: (gst_registry_scan_path_level):
7303 Don't print a g_warning for any failure to load a shared object.
7304 Instead, push this down into gstplugin.c, and warn _only_ if we
7305 failed to open the module (i.e. failure to link).
7306 Avoids warnings on normal, working, non-plugin .so files.
7308 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7310 * gst/gstplugin.c (gst_plugin_load_file):
7311 * gst/gstregistry.c (GST_CAT_DEFAULT,
7312 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7313 Print a g_warning if there was an error when loading a plugins during
7314 registry scan. The shuld help beginners starting with gst-plugin
7317 2007-05-10 Wim Taymans <wim@fluendo.com>
7319 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7320 (update_time_level), (gst_queue_locked_flush),
7321 (gst_queue_handle_sink_event), (gst_queue_chain),
7322 (gst_queue_push_one), (gst_queue_loop):
7323 * plugins/elements/gstqueue.h:
7324 Be smarter when calculating the current amount of data in the queue by
7325 measuring the difference between start and end timestamps (in running
7326 time) inside the queue. Fixes #432876.
7327 API: GstQueue::pushing to notify elements that we are pushing data again
7328 since the running signal is rather broken for this purpose.
7330 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7332 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7333 gst_queue_base_init, gst_queue_init):
7336 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7338 * win32/common/libgstreamer.def:
7339 Add new exported functions.
7340 * win32/vs6/grammar.dsp:
7341 Use grammar pre-generated files.
7343 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7345 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7348 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7350 * gst/gstutils.c: (gst_parse_bin_from_description):
7352 Maintain API and ABI when --disable-parse is used. Now that
7353 we have an appropriate error code, we can just return NULL and the
7354 appropriate error when gst_parse_launch() is used despite it having
7355 been disabled (#342564).
7357 * tests/check/Makefile.am:
7358 * tests/check/pipelines/.cvsignore:
7359 * tests/check/pipelines/parse-disabled.c:
7360 Make sure these functions exist and return NULL plus a GError when
7361 --disable-parse is used.
7363 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7365 * tests/benchmarks/complexity.c: (main):
7366 * tests/benchmarks/mass-elements.c: (main):
7367 Set a good example and don't leak messages.
7369 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7371 * docs/gst/Makefile.am:
7372 * docs/libs/Makefile.am:
7373 Correct fixxrefs options.
7375 * docs/plugins/Makefile.am:
7376 * docs/plugins/gstreamer-plugins-docs.sgml:
7377 * docs/plugins/gstreamer-plugins-sections.txt:
7378 * plugins/elements/Makefile.am:
7379 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7380 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7381 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7382 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7383 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7384 _GstCapsFilterClass, trans_class):
7385 * plugins/elements/gstelements.c (name, rank, type, _elements):
7386 * plugins/elements/gstidentity.c
7387 (gst_identity_check_imperfect_timestamp,
7388 gst_identity_check_imperfect_offset):
7389 Document capsfilter and add doc-blurb to identity.
7391 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7393 * libs/gst/controller/gstcontroller.c:
7394 (gst_controlled_property_set_interpolation_mode):
7395 * libs/gst/controller/gstinterpolation.c:
7396 Don't crash if someone tries to set an interpolation mode that
7397 is invalid or that isn't supported yet. Fixes #422295.
7399 * tests/check/libs/controller.c: (GST_START_TEST),
7400 (gst_controller_suite):
7401 Add a test case for the above.
7403 2007-05-03 Edward Hervey <edward@fluendo.com>
7405 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7406 Properly set the last_stop position on GstSegment. This will only happen
7407 if there is a buffer to push out.
7409 2007-05-03 Wim Taymans <wim@fluendo.com>
7411 * libs/gst/base/gstbasetransform.c:
7412 (gst_base_transform_buffer_alloc):
7413 always_in_place does not mean that the sink and source caps are the
7414 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7416 2007-05-03 Wim Taymans <wim@fluendo.com>
7418 * docs/libs/gstreamer-libs-sections.txt:
7419 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7420 (gst_base_src_default_query), (gst_base_src_get_range):
7421 * libs/gst/base/gstbasesrc.h:
7422 API: gst_base_src_query_latency(). Added method so that subclasses can
7423 easily get the latency values of the base source class.
7425 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7427 * tools/gst-inspect.c (print_implementation_info):
7430 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7432 * tools/Makefile.am:
7433 * tools/gst-launch.1.in:
7434 Don't create a customised man page based on the host architecture,
7435 describe the default registry path generically. That way the man
7436 page is the same for all architectures and packagers have one
7437 multilib issue less to deal with. Fixes #434926.
7439 2007-05-02 Wim Taymans <wim@fluendo.com>
7442 Fix documentation as spotted by rg on IRC.
7444 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7447 Improve docs for gst_element_{link,unlink}.
7449 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7451 * docs/design/part-events.txt:
7452 * docs/design/part-overview.txt:
7456 * libs/gst/base/gstbasesink.c:
7457 Typo fixes; minor docs addition.
7459 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7461 * docs/gst/gstreamer-sections.txt:
7462 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7463 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7465 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7466 or src that supports a given URI protocol exists.
7468 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7470 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7471 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7472 Set the location to NULL if "file://" is set as URI. Otherwise
7473 some random previous URI would still be set if "file://" is
7474 set on an already used filesink/filesrc.
7476 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7478 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7479 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7480 Special case the "file://" URI as as this is used by some
7481 applications to test with gst_element_make_from_uri if there's
7482 an element that supports the URI protocol.
7483 Also move the g_path_is_absolute() check for the location part
7484 of the URI to also check this for "file://localhost/bla" URIs.
7486 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7488 * docs/gst/gstreamer-sections.txt:
7489 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7491 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7493 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7495 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7497 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7498 (gst_registry_binary_load_pad_template),
7499 (gst_registry_binary_load_plugin),
7500 (gst_registry_binary_read_cache):
7501 * gst/gstregistrybinary.h:
7502 Implement no-mmap alternative for registry reading. Do code cleanups.
7503 Add more comments about avoiding strdups for all text data. Comments
7506 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7508 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7509 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7510 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7511 Comment structs and reformat to fix the build (that stuff should go
7512 into a priv. header).
7514 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7516 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7517 (gst_registry_binary_load_feature):
7518 * gst/gstregistrybinary.h:
7519 Refactor so that we can implement multiple features. Add support for
7520 TypeFindFactory features.
7522 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7524 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7527 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7529 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7531 * gst/gstbin.c: (gst_bin_element_set_state),
7532 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7533 (bin_handle_async_done), (gst_bin_handle_message_func):
7534 Fix build with --gst-disable-gst-debug
7536 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7538 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7539 Make sure streaming has finished before calling the ::stop() vfunc,
7540 since that vfunc might clear state which is being used in the
7541 streaming thread. This fixes a race that caused crashes in
7542 audioresample when shutting down a pipeline (#420106).
7544 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7546 * docs/gst/gstreamer-sections.txt:
7547 That was one byte missing.
7549 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7552 * docs/gst/gstreamer-sections.txt:
7554 * gst/gstconfig.h.in:
7555 * gst/gstobject.c: (gst_object_class_init),
7556 (gst_signal_object_class_init):
7558 2nd attempt to have a xml-less build as a joined effort of #413123
7561 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7563 * docs/design/draft-tagreading.txt:
7564 Added open issues/thoughts to draft.
7566 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7568 * gst/parse/grammar.tab.pre.c:
7569 * gst/parse/grammar.tab.pre.h:
7570 * gst/parse/lex._gst_parse_yy.pre.c:
7571 Update the prebuild parser sources.
7573 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7575 * gst/parse/Makefile.am:
7576 And now fix the building of the flex sources. Now everything should
7579 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7581 * gst/parse/Makefile.am:
7582 Now hopefully fix the build failures by setting proper rule
7583 dependencies and moving instead of copying.
7585 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7587 * tests/benchmarks/complexity.gnuplot:
7588 * tests/benchmarks/complexity.scm:
7589 * tests/benchmarks/mass-elements.gnuplot:
7590 * tests/benchmarks/mass-elements.scm:
7591 Total licensification.
7593 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7595 * gst/parse/Makefile.am:
7596 Fix the build by correcting the rule that gave wrong files to flex.
7598 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7600 * tests/benchmarks/complexity.c:
7601 * tests/benchmarks/mass-elements.c:
7602 Change licence to LGPL as granted by Benjamin and Andy.
7604 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7606 * gst/parse/Makefile.am:
7607 Add correct grammar.tab.h dependency if compiling without new enough
7608 flex. Fixes #431150.
7610 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7612 * gst/parse/Makefile.am:
7613 Fix typo and use outdated sources if the flex/bison sources are newer
7614 than the pregenerated ones but flex is too old. Print a warning in
7615 that case. This should fix the build on the build bot.
7617 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7619 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7620 * gst/parse/Makefile.am:
7621 * gst/parse/grammar.y:
7622 * gst/parse/parse.l:
7623 Make the parser reentrant and recursively callable. This requires flex
7624 >= 2.5.31, for older versions pregenerated sources are used as we
7625 can't bump the build dependency. Finally fixes #349180.
7627 * gst/gstparse.c: (gst_parse_launch):
7628 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7631 * docs/gst/Makefile.am:
7632 * docs/gst/Makefile.am:
7633 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7634 (__gst_parse_strfree), (__gst_parse_link_new),
7635 (__gst_parse_link_free), (__gst_parse_chain_new),
7636 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7637 (gst_parse_element_set), (gst_parse_free_link),
7638 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7639 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7640 (_gst_parse_launch):
7641 * gst/parse/grammar.tab.pre.h:
7642 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7643 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7644 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7645 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7646 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7647 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7648 (_gst_parse_yypop_buffer_state),
7649 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7650 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7651 (yy_fatal_error), (_gst_parse_yyget_extra),
7652 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7653 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7654 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7655 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7656 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7657 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7658 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7659 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7660 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7661 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7662 (_gst_parse_yyfree):
7663 If the installed flex version is too old use pre-generated parser
7664 sources. These pre-generated parser sources are always updated when
7665 the actual flex/bison sources change but require everybody who wants
7666 to change something in the parser to have flex >= 2.5.31 installed.
7668 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7670 * common/m4/gst-gettext.m4:
7671 * gst/gst-i18n-lib.h:
7672 Make --disable-nls to work
7674 2007-04-17 Wim Taymans <wim@fluendo.com>
7676 * gst/gstconfig.h.in:
7677 Revert previous change that broke the build.
7679 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7683 * gst/gstconfig.h.in:
7684 Drop libxml2 dependency when building with
7685 --enable-binary-registry --disable-loadsave
7687 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7689 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7690 (gst_registry_binary_read_cache):
7691 * gst/gstregistrybinary.h:
7692 Remove unnecessary <sys/mman.h> include which broke the win32 build
7693 with MingW; move includes from header file to .c file, even if the
7694 header file isn't installed; use g_strerror() where UTF-8 strings
7695 are expected, such as in GST_DEBUG messages.
7697 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7699 * docs/libs/gstreamer-libs-sections.txt:
7700 Remove bogus addition for API I didn't end up keeping.
7702 * libs/gst/base/gstbasesrc.h:
7703 Mention Since: 0.10.13 in the documentation.
7705 Add the API keyword to the previous ChangeLog entry.
7707 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7709 * docs/libs/gstreamer-libs-sections.txt:
7710 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7711 (gst_base_src_default_prepare_seek_segment),
7712 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7713 * libs/gst/base/gstbasesrc.h:
7714 Allow basesrc derived classes to execute seeks in other formats
7715 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7716 to prepare the GstSegment in any format that their perform_seek method
7717 will be able to understand. The default implementation provides the
7718 old behaviour of attempting to convert the seek offsets to the
7719 configured native format.
7721 API: basesrc::prepare_seek_segment vmethod.
7723 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7725 * gst/gstelement.c: (gst_element_get_state_func):
7726 Don't output the same debug statement twice.
7728 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7729 (gst_adapter_peek), (gst_adapter_take_buffer):
7730 Optimise the case where we have buffers at the head of the queue that
7731 can be joined quickly (because they're contiguous sub-buffers) by
7732 merging them together rather than copying data out into new memory.
7734 * gst/parse/grammar.y:
7735 * tests/check/pipelines/parse-launch.c:
7736 Fix a leak in an error path for parse_launch, and add a check
7737 for it to the testsuite.
7739 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7741 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7742 Don't deadlock when releasing a pad - gst_pad_set_active may try
7743 and take the multiqueue lock too.
7745 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7747 * gst/gsterror.c: (_gst_core_errors_init):
7749 API: add GST_CORE_ERROR_DISABLED (#392804).
7751 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7753 * docs/faq/gst-uninstalled:
7754 don't get empty paths on the PATH variables
7755 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7756 Don't format for the uncommon terminal width of 84 characters.
7758 2007-04-06 Wim Taymans <wim@fluendo.com>
7760 * gst/gstpipeline.c: (reset_stream_time),
7761 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7762 Only try to select a different pipeline clock when we went back to
7763 PAUSED and not when we merely got flushed.
7765 2007-04-05 Michael Smith <msmith@fluendo.com>
7767 * tools/gst-launch.1.in:
7768 fractions are better supported in gstreamer than ractions, so
7769 suggest using those.
7771 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7773 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7777 Added Danish translation.
7779 2007-04-05 Wim Taymans <wim@fluendo.com>
7781 * libs/gst/base/gstbasesink.c:
7782 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7783 Fix leak caused when refusing newsegment after EOS.
7785 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7786 (gst_fake_sink_init), (gst_fake_sink_set_property),
7787 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7788 (gst_fake_sink_render), (gst_fake_sink_change_state):
7789 * plugins/elements/gstfakesink.h:
7790 Add num-buffers property to make the element generate EOS after a
7791 configurable amount of buffers.
7792 API: fakesink::num-buffers property.
7794 * tests/check/elements/fakesink.c: (GST_START_TEST),
7796 Fix GstBus leak in test.
7797 Test for fakesink num-buffers.
7799 2007-04-05 Wim Taymans <wim@fluendo.com>
7801 * libs/gst/base/gstbasesink.c:
7802 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7803 (gst_base_sink_change_state):
7804 Don't accept anything after an EOS, return UNEXPECTED instead.
7806 * tests/check/elements/fakesink.c: (GST_START_TEST),
7808 Unit test for new EOS behaviour.
7810 2007-04-05 Wim Taymans <wim@fluendo.com>
7812 * gst/gstelement.c: (gst_element_get_request_pad):
7813 Make padtemplates also work when they don't contain %s or %d.
7815 2007-04-05 Wim Taymans <wim@fluendo.com>
7817 * docs/gst/gstreamer-sections.txt:
7818 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7819 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7821 Improve _adjust_unlocked() so that it overflows less.
7822 Add gst_clock_unadjust_unlocked to convert from external time to
7823 internal time based on calibration.
7824 Add some more debug.
7825 API: GstClock::gst_clock_unadjust_unlocked()
7827 2007-04-03 Wim Taymans <wim@fluendo.com>
7829 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7831 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7832 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7833 when releasing sink pad. Fixes #425400.
7835 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7837 * docs/random/ensonic/dynlink.txt:
7838 More work on proposal for new core api.
7840 * docs/libs/gstreamer-libs-sections.txt:
7841 * libs/gst/base/gstbasetransform.h:
7842 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7844 * libs/gst/controller/gstcontroller.c:
7845 (on_object_controlled_property_changed),
7846 (gst_controller_sync_values),
7847 (gst_controller_set_interpolation_mode):
7848 * libs/gst/controller/gstcontroller.h:
7849 Less verbose logging add docs for unimplemented parts and correctly
7850 return when using unavailable parts.
7852 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7854 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7855 Move all the debug to the CLOCK category, and associate it with
7858 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7860 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7861 Make take_buffer a bit quicker by removing redundant checks
7862 caused by calling gst_adapter_take.
7864 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7866 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7869 * tests/check/Makefile.am:
7870 * tests/check/elements/.cvsignore:
7871 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7872 (GST_START_TEST), (multiqueue_suite):
7873 Add some dead simple unit tests for the 'multiqueue' element
7874 (some bits don't work yet and are disabled for now).
7876 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7878 * gst/gstelement.c: (gst_element_get_request_pad),
7879 (gst_element_class_get_request_pad_template):
7880 Make gst_element_get_request_pad() create request pads only for
7881 request pad templates and not for, say, sometimes pad templates.
7883 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7885 * docs/design/draft-klass.txt:
7886 Add example that needs more thinking.
7888 * docs/design/draft-missing-plugins.txt:
7889 More thoughts about wrapper plugins.
7891 * docs/random/ensonic/embedded.txt:
7892 * docs/random/ensonic/profiling.txt:
7895 2007-03-25 Wim Taymans <wim@fluendo.com>
7897 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7898 (gst_base_src_loop):
7899 Only push the segment events in the PLAYING state for live sources.
7901 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7903 * gst/gstpipeline.c: (gst_pipeline_change_state):
7904 Modify the clock distribution path in PAUSED->PLAYING so that we
7905 never attempt to choose a new clock unless we're actually leaving
7906 the PAUSED state for the first time. This prevents choosing a
7907 different clock when the state_change gets called for a 2nd time due
7908 to some element doing an async state change.
7910 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7912 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7913 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7914 (gst_pad_chain_unchecked), (gst_pad_push):
7915 Revert last commit. This needs some more thoughts.
7917 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7919 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7920 (gst_pad_chain_unchecked), (gst_pad_push):
7921 Check in set_caps if the caps are compatible with the pad and remove
7922 two functions that are redundant now. Fixes #421543.
7924 2007-03-22 Wim Taymans <wim@fluendo.com>
7926 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7927 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7928 Unref some more to make valgrind happy.
7930 2007-03-22 Wim Taymans <wim@fluendo.com>
7932 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7933 (gst_system_clock_id_wait_jitter),
7934 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7935 Fix anoying regression that survived a few releases. When adding an
7936 async entry while blocking on a sync entry, the sync entry will unblock
7937 but still be busy, so it should continue to wait instead of returning
7939 Add some comments here and there.
7941 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7942 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7943 Add testcase for this.
7945 2007-03-22 Wim Taymans <wim@fluendo.com>
7947 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7948 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7949 WRONG_STATE and can silently pause the task. All other cases should
7952 2007-03-22 Wim Taymans <wim@fluendo.com>
7954 Patch by: Ville Syrjala <syrjala at sci dot fi>
7956 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7957 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7960 2007-03-21 Michael Smith <msmith@fluendo.com>
7962 * docs/pwg/advanced-types.xml:
7963 Fix some errors in the typefinding docs pointed out on irc.
7965 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7967 * libs/gst/base/gstbasesrc.c:
7968 Clarify FIXME comment in the face of having added unlock_stop()
7970 2007-03-21 Wim Taymans <wim@fluendo.com>
7972 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7973 Prepare for release where we warn against possible app breakage in the
7974 case of live pipelines along with an env var to enable/disable live
7975 preroll mode (GST_COMPAT=[no-]live-preroll).
7977 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7979 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7980 So we should use correct constants for checking for None offset.
7982 2007-03-20 Wim Taymans <wim@fluendo.com>
7984 * docs/design/part-block.txt:
7985 Mention the fact that the newly switched element should be set to at
7988 2007-03-20 Wim Taymans <wim@fluendo.com>
7991 Fix compilation with registry disabled as spotted by Saur.
7993 2007-03-20 Wim Taymans <wim@fluendo.com>
7995 Patch by: Olivier Crete <tester at tester dot ca>
7997 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7998 Look at the pending state too when syncing the element state to the
7999 parent. Fixes #420133.
8001 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
8003 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8004 (gst_base_sink_change_state):
8005 * libs/gst/base/gstbasesink.h:
8006 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8007 (gst_base_src_default_event), (gst_base_src_unlock_stop),
8008 (gst_base_src_deactivate):
8009 * libs/gst/base/gstbasesrc.h:
8010 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8011 for sub-classes to correctly clear any state they set trying to
8012 unlock, such as clearing out unlock commands from a command fd.
8013 API: basesrc::unlock_stop
8014 API: basesink::unlock_stop
8016 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8017 (gst_fd_sink_render), (gst_fd_sink_unlock),
8018 (gst_fd_sink_unlock_stop):
8019 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8020 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8021 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8023 Implement unlock_stop in fdsrc and fdsink.
8024 Implement seeking in fdsrc when a seekable fd is passed, as in
8025 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8027 2007-03-19 Wim Taymans <wim@fluendo.com>
8029 Patch by: Evan Nemerson <evan at coeus dash group dot com>
8031 * gst/gstelement.c: (gst_element_class_init):
8032 Fix pad-added and pad-removed signal signatures so that the pad type is
8033 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8035 2007-03-19 Wim Taymans <wim@fluendo.com>
8037 * docs/gst/gstreamer-sections.txt:
8038 Add new element field and method.
8040 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8041 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8042 (gst_bin_recalc_state), (gst_bin_get_state_func),
8043 (gst_bin_element_set_state), (gst_bin_change_state_func),
8044 (gst_bin_continue_func), (bin_bus_handler),
8045 (bin_push_state_continue), (bin_handle_async_start),
8046 (bin_handle_async_done), (gst_bin_handle_message_func):
8047 Make async state changes a bit smarter by using new ASYNC_START and
8048 ASYNC_DONE messages. This reduces the number of times we run the state
8049 recalculation thread.
8050 Don't change state of element with a pending ASYNC_START message.
8051 Deprecate STATE_DIRTY messages.
8053 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8054 (gst_element_get_state_func), (gst_element_continue_state),
8055 (gst_element_lost_state), (gst_element_set_state_func),
8056 (gst_element_change_state):
8058 Keep the state that was last set by the app in a new element field.
8059 Don't allow state changes when handling an element event.
8060 Post ASYNC_START and ASYNC_DONE messages.
8061 Change lost_state so that we go to PAUSED and wait for the parent to set
8062 us to PLAYING again (so latency calculation can be performed)
8063 Export gst_element_change_state() method so that subclasses can use it.
8064 API: gst_element_change_state()
8065 API: GST_STATE_TARGET
8067 * gst/gstpipeline.c: (gst_pipeline_class_init),
8068 (reset_stream_time), (gst_pipeline_change_state),
8069 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8070 Using the new ASYNC_START message we can reset the base_time when
8071 needed. This can then be used to implement base_time redistribution in
8072 flushing seeks so that we can remove the explicit seek handling.
8073 Perform latency query and configuration when going to PLAYING.
8075 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8076 (gst_base_sink_query), (gst_base_sink_change_state):
8077 Post new ASYNC_START/ASYNC_DONE messages.
8079 * tests/check/generic/sinks.c: (GST_START_TEST):
8080 Fix test because the bin will not set the async element to PLAYING right
8083 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8084 Make the message check a little stronger.
8085 Handle ASYNC messages.
8087 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8088 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8089 Expect ASYNC_DONE messages.
8091 2007-03-19 Wim Taymans <wim@fluendo.com>
8093 * docs/gst/gstreamer-sections.txt:
8094 * gst/gstmessage.c: (gst_message_new_async_start),
8095 (gst_message_new_async_done), (gst_message_parse_info),
8096 (gst_message_parse_async_start):
8098 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8101 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
8103 * tools/gst-inspect.c:
8104 (print_plugin_automatic_install_info_codecs):
8105 Now that we don't check for the 'Codec' keyword any longer in the
8106 klass, we shouldn't spew a warning if the klass isn't a decoder or
8107 encoder (since it might be a Source/Network, for example).
8109 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
8111 * tools/gst-inspect.c:
8112 (print_plugin_automatic_install_info_codecs):
8113 Don't require decoder/demuxer/depayloader elements or
8114 encoder/muxer/paylader elements to have 'Codec' as part of their
8115 factory class string when introspecting a plugin's capabilities.
8116 draft-klass.txt mentions that it might be removed in future, and
8117 flump3dec doesn't have it as part of its class string, so chances
8118 are others might also not have it.
8120 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
8142 Update translations from translation project
8144 2007-03-14 Stefan Kost <ensonic@users.sf.net>
8146 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8147 (gst_child_proxy_set_property):
8148 Invert precondition check to be alike the ones in the mimiced gobject
8151 2007-03-13 Stefan Kost <ensonic@users.sf.net>
8153 * docs/design/draft-tagreading.txt:
8154 * docs/random/ensonic/audiobaseclasses.txt:
8155 Do some Architect work.
8157 * gst/gstobject.c: (gst_object_set_name):
8161 Add docs that point from gst_pad_get_range to gst_pad_pull_range
8163 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
8165 * gst/gstsystemclock.c: (gst_system_clock_init),
8166 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8167 Defer starting the async system clock thread until the first async
8168 wait is scheduled. Fixes #414986.
8170 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
8172 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8173 (gst_single_queue_free):
8174 Fix small leak (free GstSingleQueue structure too, not only contents).
8176 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
8178 * gst/gstbin.c:(gst_bin_add):
8179 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8180 * win32/common/libgstbase.def:
8181 * win32/common/libgstreamer.def:
8182 Add new exported functions.
8184 2007-03-09 Wim Taymans <wim@fluendo.com>
8186 * docs/plugins/gstreamer-plugins-sections.txt:
8189 2007-03-09 Wim Taymans <wim@fluendo.com>
8191 * docs/gst/gstreamer-sections.txt:
8192 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8194 Add metadata copy functions. Fixes #393099.
8195 API: gst_buffer_copy_metadata()
8197 * gst/gstutils.c: (gst_buffer_stamp):
8198 * libs/gst/base/gstbasetransform.c:
8199 (gst_base_transform_prepare_output_buffer):
8200 Use new metadata copy functions.
8202 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
8204 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8205 (gst_identity_init), (gst_identity_check_perfect),
8206 (gst_identity_check_imperfect_timestamp),
8207 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8208 (gst_identity_set_property), (gst_identity_get_property):
8209 * plugins/elements/gstidentity.h:
8210 Separate out check-imperfect-timestamp and check-imperfect-offset.
8211 Put back check-perfect as it was to keep compatibility.
8213 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
8215 * gst/gstelement.c: (gst_element_dispose):
8216 There's no need to warn if VOID_PENDING is not NONE here, as
8217 long as the state is NULL it's ok, and that's checked immediately
8220 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8222 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8223 Fix check for perfect stream to ignore buffers with -1
8224 offsets/offset ends when checking data contiguity.
8226 2007-03-08 Wim Taymans <wim@fluendo.com>
8228 * tools/gst-launch.c: (event_loop):
8229 Print INFO messages.
8231 2007-03-08 Wim Taymans <wim@fluendo.com>
8233 * libs/gst/base/gstbasetransform.c:
8234 (gst_base_transform_sink_eventfunc),
8235 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8236 (gst_base_transform_activate):
8237 * libs/gst/base/gstbasetransform.h:
8238 Add support for dropping buffers with custom GstFlowReturn.
8239 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8240 buffers or dropped buffers.
8242 * docs/libs/gstreamer-libs-sections.txt:
8243 docs for new custom return code.
8245 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8246 Use drop support in base class to implement drop-probability.
8248 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
8250 * gst/gst.c: (load_plugin_func):
8251 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8252 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8253 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8254 Remove newlines at end of debug log strings.
8256 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8258 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8259 Only post bus message at max, once per buffer received.
8261 2007-03-07 Wim Taymans <wim@fluendo.com>
8263 * docs/design/Makefile.am:
8264 * docs/design/part-synchronisation.txt:
8265 Add doc about synchronisation
8267 * docs/design/draft-latency.txt:
8268 * docs/design/part-TODO.txt:
8269 * docs/design/part-clocks.txt:
8270 * docs/design/part-events.txt:
8271 * docs/design/part-gstbus.txt:
8272 * docs/design/part-gstpipeline.txt:
8273 * docs/design/part-live-source.txt:
8274 * docs/design/part-messages.txt:
8275 * docs/design/part-overview.txt:
8276 * docs/design/part-streams.txt:
8277 * docs/design/part-trickmodes.txt:
8278 Documentation updates.
8280 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8283 Update the doap file.
8285 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8287 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8288 Rename non-perfect to imperfect for Mike and for the sanctity of the
8290 Also make sure bus message gets emitted for data-incontiguities.
8292 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8294 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8295 (gst_identity_start):
8296 * plugins/elements/gstidentity.h:
8297 Emit bus message if check-perfect is true and we encounter a
8298 non-perfect stream between 2 consecutive buffers.
8301 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8306 === release 0.10.12 ===
8308 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8311 releasing 0.10.12, "Inevitable Demise"
8313 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8316 Version 0.10.11.2 (0.10.12 pre-release)
8317 Bump libtool versioning.
8319 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8321 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8322 Log flow-names and not numbers.
8324 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8327 Convert to new AG_GST style.
8329 2007-02-28 Wim Taymans <wim@fluendo.com>
8331 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8332 Don't unref query twice.
8334 2007-02-28 Wim Taymans <wim@fluendo.com>
8336 * gst/gstvalue.c: (gst_value_transform_object_string),
8337 (_gst_value_initialize):
8338 Implement GstObject -> string transform so we print object names
8339 when serializing GValues containing GstObjects.
8341 2007-02-28 Wim Taymans <wim@fluendo.com>
8343 * docs/gst/gstreamer-sections.txt:
8344 Add new stuff to docs.
8346 2007-02-28 Wim Taymans <wim@fluendo.com>
8348 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8349 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8350 (gst_base_sink_change_state):
8351 Improve latency query code.
8352 Don't leak latency events.
8354 * tests/check/gst/gstbin.c: (GST_START_TEST):
8357 2007-02-28 Wim Taymans <wim@fluendo.com>
8359 * gst/gstelement.c: (gst_element_message_full),
8360 (gst_element_get_state_func):
8362 Improve docs a little. Added Since: for new macro.
8364 * gst/gstobject.c: (gst_object_sink):
8365 * gst/gstpipeline.c: (gst_pipeline_change_state),
8366 (gst_pipeline_set_new_stream_time):
8367 * gst/gstpipeline.h:
8368 Improve debugging and docs.
8370 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8373 2007-02-28 Wim Taymans <wim@fluendo.com>
8375 * gst/gstelement.c: (gst_element_message_full),
8376 (gst_element_set_locked_state), (gst_element_get_state_func),
8377 (gst_element_change_state):
8378 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8379 Documentation updates.
8380 Small code cleanups.
8382 * gst/gstmessage.c: (gst_message_new_info),
8383 (gst_message_parse_info):
8385 API: gst_message_new_info()
8386 API: gst_message_parse_info()
8387 Add INFO message create and parse code.
8389 2007-02-28 Wim Taymans <wim@fluendo.com>
8391 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8392 (bin_query_latency_done):
8393 Also report the live parameter of a latency query.
8395 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8397 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8398 Copy the current generic/states example from -base and adapt so
8399 we can use the exact same code everywhere.
8400 Check a STATES_IGNORE_ELEMENTS env var which can be used
8401 to ignore certain element factories for this test, which is
8402 what is being done in -base
8403 * tests/check/Makefile.am:
8404 Mention this environment variable.
8406 2007-02-27 Wim Taymans <wim@fluendo.com>
8408 * docs/gst/gstreamer-sections.txt:
8409 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8410 (gst_bus_timed_pop), (gst_bus_pop):
8412 API: gst_bus_timed_pop()
8413 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8414 message to arrive on the bus.
8416 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8418 Two unit tests for new _timed_pop() function.
8420 2007-02-23 Wim Taymans <wim@fluendo.com>
8422 * gst/gstpipeline.c: (gst_pipeline_change_state),
8423 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8424 Don't ref a NULL clock in _provide_clock_func().
8425 Don't allow an INVALID delay.
8426 Don't try to calculate base_time with an invalid start_time.
8427 Also distribute and notify a NULL clock when it was selected.
8429 * tools/gst-launch.c: (event_loop):
8430 Don't crash when a NULL clock was selected in the pipeline.
8432 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8434 * docs/design/Makefile.am:
8435 * docs/design/draft-missing-plugins.txt:
8436 * docs/random/draft-missing-plugins.txt:
8437 Some small updates: update plugin system identifier prefix
8438 ('gstreamer.net' to 'gstreamer'), mention our new install
8439 API in libgstbaseutils rather than libgimme-codec, add
8440 reference to the online docs.
8442 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8444 * win32/common/config.h:
8445 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8446 use moap cl ci to only check in what is mentioned in the ChangeLog.
8448 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8450 * docs/gst/gstreamer-sections.txt:
8452 Fix up documentation to link to the correct GstGError section.
8453 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8455 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8457 * tools/gst-launch.c: (event_loop):
8458 Make sure that we actually show the important message part of a
8460 No need to check if the gerror is not NULL to free; first of all
8461 g_free accepts NULL; and second the default error handler would
8462 segfault if gerror was NULL.
8464 2007-02-21 Wim Taymans <wim@fluendo.com>
8466 * docs/gst/gstreamer-sections.txt:
8467 Removed docs as well.
8469 2007-02-21 Wim Taymans <wim@fluendo.com>
8471 * gst/gstmessage.c: (gst_message_parse_duration):
8473 Remove new messages for release.
8475 2007-02-20 Wim Taymans <wim@fluendo.com>
8477 * docs/design/part-gstghostpad.txt:
8478 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8479 (gst_ghost_pad_new_full):
8480 Make the ghostpad a parent of the internal pad again for better backward
8481 compatibility. Don't write code that relies on this however.
8483 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8484 (gst_pad_link_check_hierarchy):
8485 Require that parents should be GstElements in the hierarchy check.
8487 2007-02-20 Wim Taymans <wim@fluendo.com>
8489 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8490 (gst_bin_change_state_func), (bin_query_min_max_init),
8491 (bin_query_latency_fold), (bin_query_latency_done),
8494 Implement latency query.
8496 2007-02-20 Wim Taymans <wim@fluendo.com>
8498 * docs/design/part-gstghostpad.txt:
8499 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8500 (gst_ghost_pad_internal_do_activate_push),
8501 (gst_ghost_pad_internal_do_activate_pull),
8502 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8503 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8504 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8505 Do not set the internal pad as a parent anymore so we can avoid
8506 hierarchy linking errors when the ghostpad has no parent yet. This also
8507 fixes failed activation because of unlinked internal pads, which in
8508 turn fixes the impossible case where you have to activate a pad before
8509 you can add it to a running element.
8512 * gst/gstpad.c: (pre_activate), (post_activate),
8513 (gst_pad_set_active), (gst_pad_activate_pull),
8514 (gst_pad_activate_push), (gst_pad_check_pull_range):
8515 Add some more debug info.
8516 Mark activation mode in pre_activate so that we don't try to activate in
8517 endless loops. Fixes #385084.
8519 2007-02-19 Wim Taymans <wim@fluendo.com>
8521 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8522 (gst_base_transform_check_get_range):
8523 Implement a checkgetrange function instead of relying on the default
8524 core behaviour that assumes we can operate in pull mode if we have a
8525 getrange function. First step at fixing #385084.
8527 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8529 * gst/gstchildproxy.h:
8530 * libs/gst/base/gstbasesink.h:
8531 * libs/gst/base/gstbasesrc.h:
8532 * libs/gst/base/gstbasetransform.h:
8533 More docs coverage and some ChangeLog surgery (add missing names)
8535 2007-02-15 Wim Taymans <wim@fluendo.com>
8537 * docs/design/part-TODO.txt:
8538 * docs/design/part-activation.txt:
8539 * docs/design/part-block.txt:
8540 * docs/design/part-buffering.txt:
8541 * docs/design/part-clocks.txt:
8542 * docs/design/part-element-source.txt:
8543 * docs/design/part-events.txt:
8544 * docs/design/part-gstbin.txt:
8545 * docs/design/part-gstbus.txt:
8546 * docs/design/part-gstpipeline.txt:
8547 * docs/design/part-live-source.txt:
8548 * docs/design/part-messages.txt:
8549 * docs/design/part-overview.txt:
8550 * docs/design/part-qos.txt:
8551 * docs/design/part-query.txt:
8552 * docs/design/part-states.txt:
8553 * docs/design/part-trickmodes.txt:
8554 Some doc updates. Start renaming from stream_time to running_time where
8555 it was used wrongly.
8557 2007-02-15 Wim Taymans <wim@fluendo.com>
8559 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8560 Answer LATENCY query.
8562 2007-02-15 Wim Taymans <wim@fluendo.com>
8564 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8568 2007-02-15 Wim Taymans <wim@fluendo.com>
8570 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8571 (gst_pad_dispatcher):
8572 Improve debugging of default pad dispatcher and query functions.
8574 2007-02-15 Wim Taymans <wim@fluendo.com>
8576 * docs/gst/gstreamer-sections.txt:
8577 Remove old unused method.
8579 2007-02-13 Wim Taymans <wim@fluendo.com>
8581 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8584 2007-02-13 Wim Taymans <wim@fluendo.com>
8586 * docs/design/part-seeking.txt:
8589 * gst/gstsegment.c: (gst_segment_set_seek):
8590 Revert old bogus change that should make seeking work again.
8592 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8594 * docs/random/ensonic/dynlink.txt:
8595 * docs/random/ensonic/interfaces.txt:
8596 * docs/random/ensonic/receipies.txt:
8597 Possible dynamic reconnection api, plus some type fixes the other two
8600 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8602 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8603 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8604 Also check for an absolute path following file:// in the filesrc
8605 element. Remove redundant check and call g_path_is_absolute() on the
8608 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8610 * docs/design/draft-klass.txt:
8611 Add existing category analysis.
8614 Fix doc example, framerate is a fraction.
8616 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8619 * docs/gst/Makefile.am:
8620 * docs/gst/gstreamer-sections.txt:
8621 * docs/libs/Makefile.am:
8622 Erm, forgot a bunch of --extra-dir.
8624 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8627 * docs/gst/Makefile.am:
8628 * docs/libs/Makefile.am:
8629 * docs/plugins/Makefile.am:
8630 Add crossreferences to glib/gobject docs.
8632 2007-02-12 Wim Taymans <wim@fluendo.com>
8634 * docs/design/draft-latency.txt:
8637 * docs/libs/gstreamer-libs-sections.txt:
8638 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8639 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8640 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8641 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8642 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8643 (gst_base_sink_get_position), (gst_base_sink_query),
8644 (gst_base_sink_change_state):
8645 * libs/gst/base/gstbasesink.h:
8646 API: gst_base_sink_query_latency() to let subclasses query the upstream
8648 API: gst_base_sink_get_latency() to let subclasses query the configured
8649 latency in the sink.
8650 Implement query and set latency.
8652 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8653 don't continue preroll when we are flushing. Fixes #405284.
8655 * tests/check/pipelines/stress.c: (change_state_timeout),
8656 (quit_timeout), (GST_START_TEST), (stress_suite):
8659 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8661 Patch by: René Stadler <mail at renestadler de>
8663 * docs/gst/gstreamer-sections.txt:
8664 * gst/gsttaglist.c: (_gst_tag_initialize):
8666 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8668 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8670 * docs/libs/Makefile.am:
8671 Fix path to core docs.
8673 * gst/gstbin.c: (gst_bin_get_by_interface),
8674 (gst_bin_iterate_all_by_interface):
8675 Refix docs by also renaming 'interface' to 'iface' in implementation.
8677 * docs/gst/gstreamer-sections.txt:
8679 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8680 * gst/gstchildproxy.h:
8681 * gst/gstelementfactory.c:
8682 * gst/gstpadtemplate.h:
8683 * libs/gst/controller/gstcontroller.c:
8684 (gst_controlled_property_new):
8687 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8689 * gst/gstbin.h:(gst_bin_get_by_interface),
8690 (gst_bin_iterate_all_by_interface):
8691 Replace interface parameter name by iface as interface is
8692 a reserved keyword in Visual Studio for C++ projects so it removes
8693 a build error for application developpers using VS.
8694 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8695 Fix a bug on Windows in uri format check. Now the prefix checked
8696 is file:// and next we check if the path after file:// is absolute.
8697 * win32/common/libgstbase.def:
8698 * win32/common/libgstdataprotocol.def:
8699 * win32/common/libgstgstreamer.def:
8700 Add new exported functions.
8702 2007-02-09 Andy Wingo <wingo@pobox.com>
8704 * tests/check/pipelines/simple-launch-lines.c
8705 (simple_launch_lines_suite, test_tee): Disable tee test until I
8706 have time to fix it :-(
8708 * tests/check/Makefile.am (noinst_HEADERS):
8709 * tests/check/libs/libsabi.c:
8710 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8711 * tests/check/gst/gstabi.c:
8712 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8714 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8715 tests for push and pull tee behavior.
8717 * plugins/elements/gsttee.h:
8718 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8719 mark as deprecated as well as unimplemented. It was a crack idea.
8720 Add support for tee operating in pull mode, off by default.
8722 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8723 normal-case logs down to LOG, raise errors to WARNING.
8724 (gst_registry_xml_read_cache): Don't log before calling a function
8727 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8728 exit (registry finalize).
8729 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8730 DEBUG log when we emit signals that people don't even have the
8731 chance to connect to.
8732 (gst_registry_scan_path_level): Less logging in the normal case.
8734 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8736 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8738 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8739 Correctly generate EOS for non-seekable files. We don't have a total
8740 length for them and would get an unexpected end of file if we only
8741 special-cased for regular files. (Fixes: #404569)
8743 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8745 * tests/check/elements/filesrc.c: (GST_START_TEST),
8747 Add unit test for the GstURIHandler interface in filesrc. This also
8748 tests the newly added file://localhost/foo/bar support.
8750 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8752 * gst/gstelementfactory.h:
8753 The klass string is not a hierarchy. Add reference to the design doc
8754 for more information and common types.
8756 2007-02-02 Wim Taymans <wim@fluendo.com>
8758 * gst/gstquery.c: (gst_query_new_latency):
8759 Remove old structure field.
8761 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8763 * tools/gst-launch.1.in:
8764 Give example for network streaming (#351998)
8766 2007-02-02 Wim Taymans <wim@fluendo.com>
8768 * docs/gst/gstreamer-sections.txt:
8769 Add docs for new methods.
8771 * gst/gstevent.c: (gst_event_new_latency),
8772 (gst_event_parse_latency):
8774 Add new LATENCY event to configure latency in a pipeline.
8775 API: gst_event_new_latency
8776 API: gst_event_parse_latency
8778 * gst/gstmessage.c: (gst_message_new_buffering),
8779 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8780 (gst_message_new_latency), (gst_message_parse_buffering),
8781 (gst_message_parse_lost_preroll):
8783 Added messages used in draft-latency.
8784 API: gst_message_new_lost_preroll
8785 API: gst_message_parse_lost_preroll
8786 API: gst_message_new_prerolled
8787 API: gst_message_new_latency
8789 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8790 (gst_query_parse_latency):
8792 Implemented new latency query as in design doc.
8793 API: gst_query_new_latency
8794 API: gst_query_set_latency
8795 API: gst_query_parse_latency
8797 2007-02-02 Wim Taymans <wim@fluendo.com>
8799 * docs/design/draft-latency.txt:
8800 Slight redesign to allow for dynamic latency adjustments.
8802 * docs/design/part-negotiation.txt:
8805 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8807 reviewed by: Wim Taymans <wim@fluendo.com>
8809 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8810 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8811 Allow file://localhost/foo/bar URLs and correctly fail for every other
8812 hostname that one sets. This was gnomevfssrc is linked for those if
8813 installed as it can handle it (#403172)
8815 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8817 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8819 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8820 (unref_data), (gst_collect_pads_add_pad_full):
8821 * libs/gst/base/gstcollectpads.h:
8822 Don't put the previously added destroy notify in the GstCollectData
8823 struct as all it's padding is already used and we don't want to break
8824 ABI. Instead put in the pad's GObject data for now. This should be
8825 cleaned up for 0.11 (#402393).
8827 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8829 reviewed by: Wim Taymans <wim@fluendo.com>
8831 * docs/libs/gstreamer-libs-sections.txt:
8832 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8833 (unref_data), (gst_collect_pads_add_pad),
8834 (gst_collect_pads_add_pad_full):
8835 * libs/gst/base/gstcollectpads.h:
8836 API: Add function to specify a destroy notification for custom
8837 GstCollectData when adding new pads in GstCollectPads (#402393).
8839 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8842 Update Swedish translation (#378255).
8844 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8846 * docs/design/draft-klass.txt:
8847 Fix the previous change, this is a list of categories and not a hierarchy.
8849 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8851 * docs/design/draft-klass.txt:
8852 Add info about how to get a list of used classes.
8854 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8856 * plugins/elements/gsttypefindelement.c:
8857 (gst_type_find_element_chain_do_typefinding),
8858 (gst_type_find_element_change_state):
8859 Don't leak found caps in chain function (no idea why that never
8860 showed up as a leak anywhere).
8862 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8865 Fix and expand GstPluginDesc API docs.
8867 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8870 * gst/gstelementfactory.c:
8871 * gst/gstpadtemplate.h:
8874 * libs/gst/controller/gstcontroller.c:
8875 (gst_controlled_property_new):
8876 * tests/examples/controller/audio-example.c:
8879 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8882 comment about refining the xml deps
8885 comments about moving away from jade for docs
8888 recommit the ifdefs to use the binary registry
8890 * gst/gstbin.c: (gst_bin_change_state_func):
8891 this break is obsolete
8893 * gst/gstelementfactory.h:
8894 better GST_ELEMENT_DETAILS docs, add comment about translation
8899 * gst/gstobject.c: (gst_signal_object_get_type):
8900 add G_UNLIKELY as usual
8902 * gst/gstpad.c: (gst_pad_event_default):
8903 add fall trhu comment
8905 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8906 (gst_registry_binary_initialize_magic),
8907 (gst_registry_binary_save_string),
8908 (gst_registry_binary_save_pad_template),
8909 (gst_registry_binary_save_feature),
8910 (gst_registry_binary_save_plugin),
8911 (gst_registry_binary_write_cache),
8912 (gst_registry_binary_check_magic),
8913 (gst_registry_binary_load_pad_template),
8914 (gst_registry_binary_load_feature),
8915 (gst_registry_binary_load_plugin),
8916 (gst_registry_binary_read_cache):
8917 comment typo and formatting
8919 * gst/gstutils.c: (gst_element_state_get_name),
8920 (gst_element_state_change_return_get_name):
8921 remove obsolete breaks
8923 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8924 add FIXME 0.11 and remove cpp comment
8926 2007-01-29 Edward Hervey <edward@fluendo.com>
8928 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8929 Fix print statement in an even more portable way.
8931 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8933 * docs/gst/gstreamer-sections.txt:
8935 API: add GST_ROUND_DOWN_* macros (#401781).
8937 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8939 * docs/gst/gstreamer.types.in:
8940 * gst/gstregistry.c: (gst_registry_class_init):
8941 Document registry signals and make gtk-doc pick them up (#401381).
8943 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8945 * docs/pwg/building-testapp.xml:
8946 Add some audioconverts and audioresample to the pipeline, and some
8947 more comments and error handling.
8949 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8951 * docs/manual/manual.xml:
8955 2007-01-26 Wim Taymans <wim@fluendo.com>
8957 * gst/gstcaps.c: (gst_static_caps_get):
8958 Init caps flags too.
8960 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8962 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8964 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8965 If not using mmap'ed files try to seek to the end instead of the
8966 start to determine whether we can seek at all. This fixes the case
8967 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8968 seeks for everything afterwards fail. Fixes #400656
8970 2007-01-25 Wim Taymans <wim@fluendo.com>
8972 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8973 Add some refcount debugging.
8974 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8975 in multiple streaming threads.
8977 2007-01-25 Wim Taymans <wim@fluendo.com>
8979 Patch by: David Schleef <ds at schleef dot org>
8981 * docs/libs/gstreamer-libs-sections.txt:
8982 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8983 * libs/gst/base/gstadapter.h:
8984 API: gst_adapter_copy() that can reduce the amount of memcpy when
8985 getting data from the adapter. Fixes #388201.
8987 2007-01-25 Edward Hervey <edward@fluendo.com>
8989 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8990 In print statements, "%x" is for guint. Fixes build on macosx.
8992 2007-01-24 Edward Hervey <edward@fluendo.com>
8994 * plugins/elements/gstmultiqueue.c:
8995 (gst_multi_queue_loop):
8997 (single_queue_overrun_cb), (single_queue_underrun_cb),
8998 (single_queue_check_full), (gst_single_queue_new):
8999 Implement single queue growth system.
9000 This uses the extra-size properties, and will grow single queues by
9001 that much if one goes full whereas there are others empty. This is
9002 called extra-mode in the code.
9003 When a single queue's levels go back below the initial max-size
9004 limits, it is no longer in extra-mode. This is to ensure we don't
9005 consume too much memory.
9008 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
9010 * gst/gst.c: (gst_init_get_option_group):
9011 Make warning about late g_thread_init() calls a bit more explicit,
9012 so that it's more obvious to application developers what they need
9013 to do if a user files a bug against their application.
9015 2007-01-22 Edward Hervey <edward@fluendo.com>
9017 * plugins/elements/gstmultiqueue.c:
9018 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9019 Remove previous hack of unsetting the flushing flag for the source pad
9020 instead of activating it. Instead, fix the source pad activate function
9021 so that it no longer depends on having a parent set or not.
9023 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
9025 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9027 * docs/manual/basics-bus.xml:
9028 Fix example code, gst_element_unref() doesn't exist any longer.
9030 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
9032 Patch by: Mark Nauwelaerts <manauw at skynet be>
9035 Fix two docs typoes (#399094).
9037 2007-01-19 Edward Hervey <edward@fluendo.com>
9039 * docs/faq/gst-uninstalled:
9040 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9041 depending on libgstbaseutils can work in uninstalled environment.
9043 2007-01-18 Stefan Kost <ensonic@users.sf.net>
9046 * gst/gsttagsetter.c:
9047 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9048 statement for new tag.
9050 2007-01-17 Edward Hervey <edward@fluendo.com>
9052 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9053 When dynamically creating single queues, activate sinkpad before adding
9055 We should be doing the same thing for the source pad, but we can't
9056 since it would call a method which needs the parent to be set in order
9057 to work propertly. Instead of activating the source pad, we just unset
9058 the flushing flag, which is the minimal requirement for adding a pad
9059 to an element in a state greater than READY.
9061 2007-01-17 Edward Hervey <edward@fluendo.com>
9063 * docs/faq/gst-uninstalled:
9064 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9067 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
9069 * tests/check/gst/gstabi.c:
9070 * tests/check/gst/struct_hppa.h:
9071 * tests/check/libs/libsabi.c:
9072 * tests/check/libs/struct_hppa.h:
9073 Add ABI structs for HPPA (see #393796).
9075 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
9077 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9078 Actually write ABI structs to the file specified in the GST_ABI
9079 environment variable, as the message we print claims we would.
9081 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9083 * tests/check/gst/gsttask.c:
9086 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9088 * gst/gsttaglist.c: (_gst_tag_initialize):
9089 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9090 previous two entries.
9092 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9094 * docs/gst/gstreamer-sections.txt:
9095 * gst/gsttaglist.c: (_gst_tag_initialize):
9097 Add tag support for beat-per-minute.
9099 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9101 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9102 (gst_registry_binary_initialize_magic),
9103 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9104 (gst_registry_binary_save_pad_template),
9105 (gst_registry_binary_save_feature),
9106 (gst_registry_binary_save_plugin),
9107 (gst_registry_binary_write_cache),
9108 (gst_registry_binary_check_magic),
9109 (gst_registry_binary_load_pad_template),
9110 (gst_registry_binary_load_feature),
9111 (gst_registry_binary_load_plugin),
9112 (gst_registry_binary_read_cache):
9113 * gst/gstregistrybinary.h:
9114 Use glib types, cleanup comments, impement interfaces and uri-types.
9116 2007-01-13 Andy Wingo <wingo@pobox.com>
9118 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9119 getrange() to return buffers with other caps, while we fix
9120 demuxers and typefind, or otherwise change part-negotiation.txt.
9122 2007-01-12 Andy Wingo <wingo@pobox.com>
9124 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9125 Factor start/stop into this private function instead of partially
9126 in activate functions and partially in the change_state function.
9127 Fixes setup before the element has changed from READY->PAUSED, as
9128 is the case in pull-mode pipelines.
9129 (gst_base_transform_sink_activate_push)
9130 (gst_base_transform_src_activate_pull): Refactor to use
9131 gst_base_transform_activate().
9132 (gst_base_transform_change_state): Removed, not needed any more.
9134 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9135 Truncate before fixating.
9137 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9138 Don't set_caps() if the result of fixating is ANY, as it's not
9139 supported, and not necessary in the case of a link with no
9140 template caps on either side. Fixes tests/check/libs/basesrc in
9141 some pull-mode tests.
9143 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9144 (gst_base_transform_init, gst_base_transform_sink_activate_push)
9145 (gst_base_transform_src_activate_pull):
9146 Track the activation mode.
9147 (gst_base_transform_setcaps): In pull mode, when activating the
9148 src pad, after activating the sink pad, activate the sink pad's
9149 peer, as discussed in part-negotiation.txt.
9151 * libs/gst/base/gstbasesrc.h:
9152 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9153 vmethod, as in basesink.
9155 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9157 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9158 mode, first proxy the setcaps to the peer pad.
9159 (gst_base_sink_pad_fixate): Add a fixate function that calls the
9161 (gst_base_sink_default_activate_pull): Rename from
9162 gst_base_sink_activate_pull.
9163 (gst_base_sink_negotiate_pull): New function, performs negotiation
9164 in pull mode before calling ::activate_pull().
9165 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9166 vmethod instead of the default implementation. I have no idea how
9167 this worked before. Negotiate before calling activate_pull.
9169 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9170 sink pads in pull mode. In addition to being correct, fixes
9171 filesrc ! decodebin ! identity ! fakesink.
9172 (gst_pad_get_range, gst_pad_pull_range): Don't call
9173 gst_pad_set_caps() if the caps changes; instead error out with
9174 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9176 2007-01-12 Andy Wingo <wingo@pobox.com>
9178 * docs/design/part-negotiation.txt: Update with more policy.
9180 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9182 * libs/gst/check/gstbufferstraw.h:
9183 * libs/gst/check/gstcheck.h:
9184 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9187 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9189 * tests/check/Makefile.am:
9190 * tests/check/gst/.cvsignore:
9191 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9192 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9193 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9194 (GST_START_TEST), (gst_tag_setter_suite):
9195 Add minimal unit test for beforementioned GstTagSetter bug.
9197 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9199 Patch by: René Stadler <mail at renestadler dot de>
9201 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9202 gst_tag_list_merge() returns a new list, so it's not the best idea
9203 to ingore its return value. Effectively meant that tags could only
9204 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9205 Also add function guard to require a non-NULL taglist as input (has
9206 always been so due to gst_tag_list_copy(), just making it explicit).
9208 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9210 * docs/random/draft-missing-plugins.txt:
9211 Some additions: mention new API that is supposed to be used at the
9212 various stages; short blob about new gst-inspect introspection
9213 option; mention potential future problem with plugins that have
9214 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9216 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9218 * tools/gst-inspect.c:
9219 (print_plugin_automatic_install_info_codecs),
9220 (print_plugin_automatic_install_info_protocols),
9221 (print_plugin_automatic_install_info), (main):
9222 Add --print-plugin-auto-install-info option to gst-inspect, so we can
9223 introspect plugin files and get machine-parsable output that corresponds
9224 to the last bit of the missing-plugin installer string (small gotcha:
9225 doesn't take into account ranks).
9227 2007-01-11 Stefan Kost <ensonic@users.sf.net>
9230 * docs/gst/gstreamer-sections.txt:
9232 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9233 (gst_registry_lookup_locked):
9234 * gst/gstregistry.h:
9235 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9236 (gst_registry_binary_initialize_magic),
9237 (gst_registry_binary_save_string),
9238 (gst_registry_binary_save_pad_template),
9239 (gst_registry_binary_save_feature),
9240 (gst_registry_binary_save_plugin),
9241 (gst_registry_binary_write_cache),
9242 (gst_registry_binary_check_magic),
9243 (gst_registry_binary_load_pad_template),
9244 (gst_registry_binary_load_feature),
9245 (gst_registry_binary_load_plugin),
9246 (gst_registry_binary_read_cache):
9247 * gst/gstregistrybinary.h:
9248 * gst/gstregistryxml.c: (load_feature),
9249 (gst_registry_xml_read_cache):
9250 commit binary registry (disabled by default, see #359653)
9252 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9254 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9255 Fix 'make check' too.
9257 2007-01-10 Andy Wingo <wingo@pobox.com>
9259 * docs/design/part-negotiation.txt: Fix a typo, add a couple
9262 * docs/design/part-negotiation.txt: Update with, um, one way that
9263 pull-mode negotiation might work?
9266 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9267 that the pad must be a src pad; makes sense to call it the other
9268 way in pull mode, and the logic is symmetric anyway.
9270 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
9272 * plugins/elements/gstfilesink.c:
9273 Include <stdio.h> for fseeko().
9275 2007-01-10 Wim Taymans <wim@fluendo.com>
9279 Reserve LATENCY event.
9281 2007-01-09 Wim Taymans <wim@fluendo.com>
9283 * docs/design/draft-latency.txt:
9286 2007-01-09 Wim Taymans <wim@fluendo.com>
9288 * docs/design/draft-latency.txt:
9292 * gst/gststructure.c:
9296 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9298 * tests/check/.cvsignore:
9299 Ignore test-registry.xml as well.
9301 2007-01-09 Wim Taymans <wim@fluendo.com>
9303 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9304 unref data at the end when we are done with the pad.
9306 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9308 * docs/gst/gstreamer-sections.txt:
9309 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9310 (init_post), (gst_deinit), (gst_update_registry):
9312 API: add gst_update_registry() (#391296).
9314 * tests/check/Makefile.am:
9315 * tests/check/gst/gstregistry.c:
9316 * tests/check/gst/.cvsignore:
9317 Simple unit test for the above.
9319 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9321 * gst/gstregistry.c: (gst_registry_scan_path_level):
9322 Plugin extension on HP-UX is .sl, add that to the list of approved
9323 plugin extensions (see #393796).
9325 * tests/check/gst/gstpad.c: (GST_START_TEST):
9326 ulong => gulong. Fixes compilation with HP-UX compiler.
9328 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9329 Fix compilation if valgrind headers are not available.
9331 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9333 * win32/common/libgstreamer.def:
9334 Add new exported function.
9335 * win32/vs6/libgstbase.dsp:
9336 Add gstdataqueue.c to the build.
9337 * win32/vs6/libgstcoreelements.dsp:
9338 Add gstmultiqueue.c to the build.
9340 2007-01-06 Andy Wingo <wingo@pobox.com>
9342 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9343 activate_pull(), providing for a way to specialize the process of
9344 spawning a thread to pull on the sink pad. There is a default
9347 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9348 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9349 (gst_base_sink_init): Renamed pad activation functions (inserting
9350 "_pad" in their names). Refactor to use the new activate_pull
9351 vmethod, as appropriate.
9352 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9353 default activate_pull function to start a task pulling from the
9354 sink pad, as before.
9356 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9357 on the pads if necessary, as in push()/chain(). Update docs.
9358 Shouldn't affect existing pull() usage as it is currently only
9359 being used on buffers without caps.
9361 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9363 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9365 Call g_thread_init() first thing in gst_init() / gst_check_init().
9366 When initialisation is done via gst_init_get_option_group() and
9367 GOption parsing, issue a warning if the GLib thread system has not
9368 been initialised yet by the time gst_init_get_option_group() is
9369 called, as it's quite likely other GLib functions such as
9370 g_option_context_new() have been called already then, and
9371 g_thread_init() must be called before any other GLib function. The
9372 application in question must be fixed in that case, since memory
9373 corruption might happen otherwise.
9374 We issue the warning because even if the GLib folks decide to work
9375 around the problem on their end in future, this is still an issue
9376 with all GLib versions >= 2.10.0, so we should warn until we depend
9377 on a GLib version we know to be safe.
9378 Update documentation as well.
9381 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9383 * tools/gst-inspect.c: (main):
9384 * tools/gst-launch.c: (main):
9385 * tools/gst-typefind.c: (main):
9386 * tools/gst-xmlinspect.c: (main):
9387 Call g_thread_init() really really early, before any other GLib
9388 function (see #342564 and recent discussion on gtk-devel-list).
9390 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9392 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9394 * gst/gst_private.h:
9395 * gst/gstconfig.h.in:
9397 On win32, all the __declspec stuff for symbol exporting is
9398 apparently only needed with MSVC, but doesn't work with MingW.
9399 Fixes compilation with MingW and #391909.
9401 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9403 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9404 Change some GST_ERROR_OBJECT that aren't really errors to
9405 GST_WARNING_OBJECT in order to reduce terminal spam.
9407 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9409 * tests/check/Makefile.am:
9410 disable test again, as there seem to be still race problems
9412 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9414 * tests/check/Makefile.am:
9415 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9416 (GST_START_TEST), (queue_suite):
9417 enable queue test again, add tests for the leaky behaviour
9419 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9422 * tests/examples/Makefile.am:
9423 Compile adapter test/example only if the required headers are
9424 available (fixes #391915).
9426 2007-01-01 David Schleef <ds@schleef.org>
9429 Restore the previous signal handler for SIGSEGV instead of
9430 setting to default, since we may have stolen it away from
9431 someone. (i.e., Mono)
9433 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9435 * docs/random/draft-missing-plugins.txt:
9436 Some small additions and clarifications.
9438 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9440 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9441 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9442 since that can lead to random memory corruptions and crashes
9443 (may or may not be related to #383244, #386711, and #386711).
9445 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9447 * tests/check/.cvsignore:
9448 * tests/check/Makefile.am:
9449 sync .cvsignome and CLEANFILES
9451 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9453 * tests/check/Makefile.am:
9456 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9458 * docs/design/part-states.txt:
9459 two tiny additional comments
9461 * gst/gststructure.c:
9464 * tests/check/Makefile.am:
9465 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9467 disable test for now, unless it gets fixed
9469 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9471 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9473 fix race in underrun test
9475 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9477 * tests/check/elements/.cvsignore:
9480 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9482 try to narrow test failure
9484 2006-12-21 David Schleef <ds@schleef.org>
9486 * plugins/elements/gstfakesrc.c:
9487 Use g_random_int_range(), since it produces better random
9488 numbers in a range than almost-correct floating point code.
9490 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9492 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9493 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9494 (gst_check_teardown_sink_pad):
9495 do not automatically (de)activate pads
9497 * tests/check/Makefile.am:
9498 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9499 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9500 add new, yet simple tests for queue
9502 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9503 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9504 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9506 * tests/check/elements/identity.c: (cleanup_identity):
9507 consistent pad (de)activation
9509 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9511 Patch by: Sebastian Dröge <slomo ubuntu com>
9513 * libs/gst/base/gstcollectpads.c:
9514 Fix two doc typos (#387866).
9516 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9518 * docs/manual/advanced-dparams.xml:
9519 Fix typo (g_object_control_properties() doesn't exist).
9521 2006-12-19 Edward Hervey <edward@fluendo.com>
9523 * gst/gstsegment.c: (gst_segment_set_seek):
9524 Fine tune the cases where the segment start/stop values are really
9526 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9527 Add tests for the return values of gst_segment_set_seek().
9529 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9534 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9536 Fix incorrect documentation and flesh it out a bit more.
9537 Set default values for the max properties on the GParamSpec as well,
9538 so it shows up correctly in gst-inspect.
9540 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9542 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9543 Correct docs of queue, add more detail and crosslink it more.
9545 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9547 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9548 Print additional debug info when the stream isn't perfectly
9549 timestamped; don't try to use invalid durations.
9551 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9553 * docs/design/Makefile.am:
9554 Dist new design docs.
9556 2006-12-16 Wim Taymans <wim@fluendo.com>
9558 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9560 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9561 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9562 (gst_collect_pads_stop), (gst_collect_pads_event),
9563 (gst_collect_pads_chain):
9564 * libs/gst/base/gstcollectpads.h:
9565 Add refcounting to the collectpads data so we can track when it's safe
9566 to free the data. Fixes #383382.
9568 2006-12-15 Wim Taymans <wim@fluendo.com>
9570 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9571 (gst_collect_pads_remove_pad):
9572 Automatically activate/deactivate pads when they are added to a
9573 started/stoped collectpads.
9575 2006-12-15 Wim Taymans <wim@fluendo.com>
9577 * gst/gstelement.c: (gst_element_add_pad):
9578 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9579 * gst/gstpad.c: (gst_pad_init):
9580 Set pads to FLUSHING when they are created. Check, warn and fix when a
9581 demuxer adds an inactive pad to itself when running. Fixes #339326.
9583 2006-12-15 Wim Taymans <wim@fluendo.com>
9585 * gst/gstelement.c: (gst_element_class_init),
9586 (gst_element_default_send_event), (gst_element_send_event),
9587 (gst_element_default_query), (gst_element_query):
9588 Expose default element send_event and query handling as vmethods that
9589 subclasses can chain up to.
9591 2006-12-15 Wim Taymans <wim@fluendo.com>
9593 * gst/gstelement.c: (gst_element_set_state_func):
9594 Small documentation fixes.
9596 2006-12-15 Wim Taymans <wim@fluendo.com>
9598 * docs/design/draft-latency.txt:
9599 Checked in draft for handling latency in pipelines.
9601 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9605 * gstreamer.spec.in:
9608 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9610 * gst/gst.c: (init_pre), (init_post):
9611 init_pre() and init_post() might be called via our GOptionGroup or
9612 from gst_init(), and we should skip both of them if we've already
9613 been initialised, otherwise we will init some things twice or add
9614 two default log functions.
9616 2006-12-13 Edward Hervey <edward@fluendo.com>
9618 * docs/manual/basics-bus.xml:
9619 No, gst_main_loop does not exist. Its g_main_loop.
9620 Discovered by somebody who abused the copy-paste technique of coding :)
9622 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9624 * gst/gstghostpad.c:
9625 Log ghostpad debug stuff to the GST_PADS category as well rather
9626 than just to the default category.
9628 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9631 * gst/gst.c: (init_pre):
9632 Add some basic system details such as OS and architecture
9633 to the debug output if possible, courtesy of uname().
9635 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9637 * docs/gst/running.xml:
9638 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9639 environment variables.
9641 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9643 * tests/check/gst/gstbin.c: (GST_START_TEST):
9644 It is acceptable to have a refcount of 2 or 3 at this point in the
9645 test, because the pipeline might be just posting its state_change
9646 message. The next line then waits for that message to appear using
9647 bus_poll, so that should be fine too.
9649 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9651 * gst/gst.c: (ensure_current_registry_forking):
9652 Ignore EINTR when reading from the child registry pipe.
9653 Explicitly ignore the return value from close, since it makes no
9656 * gst/gstminiobject.c: (gst_mini_object_ref),
9657 (gst_mini_object_unref):
9658 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9660 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9661 When removing cached plugins, remove their features too, so they're
9662 not visible after they've disappeared.
9664 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9665 In the unlikely case that we are linking pads with no parents, don't
9666 crash trying to get the non-existent parent bin.
9668 * gst/parse/grammar.y:
9669 Output debug in the PIPELINE category
9671 2005-03-08 Wim Taymans <wim@fluendo.com>
9673 Patch by: René Stadler <mail at renestadler dot de>
9675 * gst/gstclock.c: (gst_clock_new_periodic_id):
9676 Reject invalid clock times for interval of periodic ids.
9679 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9681 * gst/gstelementfactory.c: (gst_element_factory_create):
9682 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9683 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9684 * tools/gst-inspect.c: (print_element_info):
9685 Fix refcounting of gst_plugin_feature_load to match the docs.
9688 2006-12-07 Wim Taymans <wim@fluendo.com>
9690 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9691 (gst_base_sink_get_position):
9692 Improve debugging of events.
9694 2006-12-07 Wim Taymans <wim@fluendo.com>
9696 Patch by: René Stadler <mail at renestadler dot de>
9698 * gst/gstclock.c: (gst_clock_id_wait):
9699 Make period ids add the interval to the origial requested time instead
9700 of the possibly updated time which can be wrong when there are multiple
9701 waiters for the same id. Fixes #382592.
9703 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9704 (gst_system_clock_id_wait_jitter_unlocked),
9705 (gst_system_clock_id_wait_jitter):
9706 Fix restart in the async notify thread when an async entry is added to
9707 the front of the list. Fixes #381492.
9709 * tests/check/gst/gstsystemclock.c: (store_callback),
9710 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9711 Added test for multiple async waits.
9712 Added test for async wait order.
9714 2006-12-07 Wim Taymans <wim@fluendo.com>
9716 * gst/gstbin.c: (gst_bin_query):
9717 Add some more docs about the POSITION query.
9719 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9722 Bump version nano - back to CVS.
9724 === release 0.10.11 ===
9726 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9729 releasing 0.10.11, "Love never runs on time"
9731 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9733 * win32/common/libgstbase.def:
9734 * win32/common/libgstreamer.def:
9735 * win32/vs8/libgstbase.vcproj:
9736 * win32/vs8/libgstcoreelements.vcproj:
9737 * win32/vs8/libgstreamer.vcproj:
9738 Fix compilation on win32 under VS8
9739 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9740 Partially fixes #381175
9742 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9744 * gst/gstvalue.c: (gst_value_compare_fraction):
9745 If someone is foolish enough to compare 2 fractions with denominator =
9746 0, return UNORDERED rather than aborting.
9748 2006-11-28 Edward Hervey <edward@fluendo.com>
9750 * libs/gst/base/Makefile.am:
9751 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9752 (gst_data_queue_base_init), (gst_data_queue_class_init),
9753 (gst_data_queue_init), (gst_data_queue_new),
9754 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9755 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9756 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9757 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9758 (gst_data_queue_set_flushing), (gst_data_queue_push),
9759 (gst_data_queue_pop), (gst_data_queue_drop_head),
9760 (gst_data_queue_set_property), (gst_data_queue_get_property):
9761 * libs/gst/base/gstdataqueue.h:
9762 New GstDataQueue object for threadsafe queueing. Most useful for
9763 elements that need some queueing functionnality.
9764 * docs/libs/gstreamer-libs-docs.sgml:
9765 * docs/libs/gstreamer-libs-sections.txt:
9766 Insert documentation for GstDataQueue
9767 * plugins/elements/Makefile.am:
9768 * plugins/elements/gstelements.c:
9769 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9770 (gst_multi_queue_class_init), (gst_multi_queue_init),
9771 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9772 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9773 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9774 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9775 (gst_multi_queue_loop), (gst_multi_queue_chain),
9776 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9777 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9778 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9779 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9780 (wake_up_next_non_linked), (compute_next_non_linked),
9781 (single_queue_overrun_cb), (single_queue_underrun_cb),
9782 (single_queue_check_full), (gst_single_queue_new):
9783 * plugins/elements/gstmultiqueue.h:
9784 New multiqueue element, using GstDataQueue. Used for queuing multiple
9786 Closes #344639 and #347785
9788 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9790 * docs/pwg/advanced-types.xml:
9791 add more missing type details
9793 * tools/gst-run.c: (main):
9794 remove unused variable
9796 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9798 * docs/libs/Makefile.am:
9799 * docs/libs/gstreamer-libs.types:
9800 add types of base classes to enable gobject specific stuff in the docs
9802 * docs/random/ensonic/embedded.txt:
9803 more ideas about isolating platform specific things
9805 2006-11-20 Wim Taymans <wim@fluendo.com>
9807 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9809 * libs/gst/check/gstcheck.h:
9810 Fix compilation and running against 0.9.4. Fixes #377332.
9812 2006-11-20 Wim Taymans <wim@fluendo.com>
9814 * gst/gstsegment.c: (gst_segment_set_seek),
9815 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9816 (gst_segment_to_running_time):
9817 Fix boundary checking in to_running_time() and to_stream_time().
9820 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9821 stream and running time can now be calculated for the complete
9824 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9826 * gst/gstpad.c: (gst_pad_push_event):
9827 Can't access event structure after giving away ownership of
9830 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9832 * docs/random/ensonic/embedded.txt:
9833 * docs/random/ensonic/profiling.txt:
9834 * docs/random/ensonic/receipies.txt:
9837 2006-11-13 Wim Taymans <wim@fluendo.com>
9839 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9842 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9844 2006-11-13 Wim Taymans <wim@fluendo.com>
9846 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9848 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9849 Store new length in segment duration so we don't keep on calling the
9850 potentially expensize get_size() call. Fixes #370865.
9852 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9854 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9856 * win32/common/libgstreamer.def:
9857 Add two missing symbols (#366492).
9859 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9861 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9862 (gst_adapter_take_buffer):
9863 Fix format string to use all its arguments.
9864 Remove useless >= check on a guint
9866 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9868 * tests/examples/adapter/.cvsignore:
9869 Ignore build file as commanded by the build-bot
9871 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9873 * tests/examples/adapter/Makefile.am:
9874 * tests/examples/adapter/adapter_test.c: (run_test_take),
9875 (run_test_take_buffer), (run_tests), (main):
9877 Add new files from the previous commit
9879 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9883 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9884 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9885 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9886 * libs/gst/base/gstadapter.h:
9887 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9888 (GST_START_TEST), (gst_adapter_suite):
9889 * tests/examples/Makefile.am:
9890 Do some optimisation work in GstAdapter to avoid copies in more cases.
9891 It could still do slightly better by merging buffers when
9892 gst_buffer_is_span_fast is true, but is already faster.
9894 Also, avoid traversing a single-linked list to append each incoming
9895 buffer inside the adapter.
9897 Add simple test app that times the adapter behaviour in different
9898 situations, and extend the unit test to check that bytes enter and
9899 exit the adapter in their original order.
9901 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9903 * docs/random/draft-missing-plugins.txt:
9904 Update: use element message instead of adding a new message
9905 type to the core; don't provide GStreamer API to initiate the
9906 plugin download, just provide API to compose the strings needed
9907 and let an external libgimmestuff handle the rest.
9909 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9911 * tools/gst-inspect.c: (print_element_properties_info):
9912 Print a string instead of 'unknown type' for GValueArray properties
9914 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9916 * docs/random/draft-missing-plugins.txt:
9919 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9921 * tests/examples/typefind/typefind.c: (type_found), (main):
9922 Make typefind element example work again (#371894); add a
9925 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9927 * docs/random/draft-missing-plugins.txt:
9928 Commit initial draft about how to deal with missing plugins,
9929 needs work (API too).
9931 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9933 * docs/pwg/advanced-types.xml:
9934 documents the new caps elements (see #363118)
9936 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9938 * gst/gstplugin.c: (gst_plugin_load_file):
9939 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9940 (gst_file_src_map_region), (gst_file_src_start):
9941 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9942 (gst_file_index_commit):
9943 Use g_strerror() instead of strerror() - we want UTF-8.
9945 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9947 Patch by: Peter Kjellerstedt <pkj at axis com>
9949 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9950 Another printf fix (#371493).
9952 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9954 * tests/check/gst/gsttag.c:
9955 relicence (okay with author=company)
9957 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9959 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9960 (gst_pad_push_event):
9961 Enhance debug and improve docs
9966 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9968 * docs/random/ensonic/distributed.txt:
9969 * docs/random/ensonic/profiling.txt:
9972 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9974 * docs/gst/gstreamer-sections.txt:
9975 add new API and fix the build
9977 * gst/gstbin.c: (gst_bin_recalc_state):
9978 * gst/gstelement.c: (gst_element_message_full),
9979 (gst_element_get_state_func), (gst_element_set_state_func):
9980 use new API and improve logging
9982 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9984 API: add function to get StateChangereturn names to improve logs
9986 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9988 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9989 I'm considering shooting the next person to put strerror stuff
9990 in the translateable part of the message.
9992 2006-11-03 Wim Taymans <wim@fluendo.com>
9994 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9995 Get the type and printf conversion specifiers right.
9997 2006-11-03 Wim Taymans <wim@fluendo.com>
9999 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10001 * gst/gstpad.c: (gst_pad_init), (pre_activate),
10002 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10003 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10004 Some small cleanups. Improve debugging.
10006 Signal all waiting threads with a broadcast instead of just one.
10009 2006-11-03 Wim Taymans <wim@fluendo.com>
10011 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10012 (gst_fd_src_create):
10013 Add some debugging.
10014 Only update fd when it's different from the old.
10016 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10018 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10019 Printf fixes for PPC/OSX, take two (#369366).
10021 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10023 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
10025 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10026 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10027 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10028 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10029 don't cast to long long for portability reasons, but use
10030 GLib's types instead.
10032 2006-10-30 Michael Smith <msmith@fluendo.com>
10034 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10035 Get the arguments to lseek() the right way around.
10038 2006-10-30 Wim Taymans <wim@fluendo.com>
10040 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10043 _declspec should be __declspec (two underscores, not one). Fixes 366572.
10045 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10047 Patch by: Kjartan Maraas <kmaraas at gnome org>
10049 * docs/design/part-MT-refcounting.txt:
10050 * docs/random/wtay/capsnego2-docs:
10053 Typo fixes (#366212).
10055 2006-10-28 Wim Taymans <wim@fluendo.com>
10057 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10060 * win32/common/libgstbase.def:
10061 * win32/common/libgstreamer.def:
10062 * win32/vs8/libgstbase.vcproj:
10063 * win32/vs8/libgstcontroller.vcproj:
10064 Add needed entries in .def files.
10066 Rearrange def files in vs8 solutions. Fixes #366286.
10068 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10070 * win32/common/gstconfig.h:
10071 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10072 hand-made win32 gstconfig.h. Fixes #366321.
10074 2006-10-27 Wim Taymans <wim@fluendo.com>
10076 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10077 (gst_ghost_pad_new_full):
10078 Make acceptcaps return TRUE when we don't have a target, just like
10081 2006-10-27 Wim Taymans <wim@fluendo.com>
10083 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10084 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10086 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
10088 * gst/gststructure.c: (gst_structure_id_set_value):
10089 If someone tries to set a non-UTF8 string field on a structure,
10090 don't just print a warning, but also ignore the request and do
10091 not change/add that field to the structure.
10093 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10094 Test for the above.
10096 2006-10-25 David Schleef <ds@schleef.org>
10099 g_hash_table_insert() needs a cast to a non-const pointer duh.
10101 2006-10-25 David Schleef <ds@schleef.org>
10105 Change name parameter of _gst_debug_register_funcptr to const
10106 to reflect the constness of its use in the function as well
10107 as to quiet a gcc warning.
10109 2006-10-25 Edward Hervey <edward@fluendo.com>
10111 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10112 Don't push the buffer if it's empty.
10115 2006-10-24 Wim Taymans <wim@fluendo.com>
10120 * libs/gst/base/gstbasetransform.c:
10121 (gst_base_transform_sink_eventfunc):
10122 Debug segment values *after* updating them as this is more
10125 2006-10-23 Wim Taymans <wim@fluendo.com>
10127 * docs/design/part-events.txt:
10130 * docs/design/part-block.txt:
10131 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10132 (gst_pad_push_event):
10133 Revert BLOCKING patch, it tries to be smart without really having a
10134 clear idea what or how. So, now we discard all FLUSHING events again on
10135 a blocking pad. Should fix gnonlin again.
10137 2006-10-23 Wim Taymans <wim@fluendo.com>
10139 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10141 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10142 (gst_base_src_start), (gst_base_src_activate_push):
10143 Make sure size is always initialized. Fixes #364388.
10145 2006-10-20 Stefan Kost <ensonic@users.sf.net>
10147 * docs/random/ensonic/distributed.txt:
10148 add some ideas about doing distributed processing
10150 * docs/random/ensonic/profiling.txt:
10151 get_rusage look promising
10153 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10155 * docs/manual/basics-helloworld.xml:
10156 Add a cast in example to fix compile warning
10158 2006-10-18 Wim Taymans <wim@fluendo.com>
10160 * gst/gstsegment.c: (gst_segment_set_last_stop),
10161 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10162 Relax arg checking again, -1 is allowed.
10164 2006-10-18 Wim Taymans <wim@fluendo.com>
10166 * gst/gstsegment.c: (gst_segment_set_last_stop),
10167 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10168 _set_last_stop() must be with a value != -1
10169 A _TYPE_SET to -1 means seek to 0.
10170 Calc last_stop correctly for negative rates.
10171 Make sure we work with positive durations when updating a segment.
10173 2006-10-18 Wim Taymans <wim@fluendo.com>
10175 * docs/design/part-live-source.txt:
10179 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
10182 Add an explicit cast to GstBuffer** to keep old code that added an
10183 explicit cast to GstMiniObject** for gst_mini_object_replace()
10184 compiling without warning.
10186 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10188 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10189 check for validity of dates
10191 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10193 * docs/gst/gstreamer-sections.txt:
10194 Forgot this one, makes gtk-doc shut up.
10196 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10198 Patch by: Peter Kjellerstedt <pkj at axis com>
10201 Don't define xmlNodePtr to gpointer if the core was built with
10202 --disable-loadsave and --disable-registry, this will break
10203 applications that want to use libxml2 but are buildling against a
10204 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10205 instead so we don't have to mess with the libxml2 namespace
10208 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10211 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10212 type-punned pointer warnings.
10214 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
10216 * gst/gstelement.h:
10217 Add casts to the correct return type to state <=> state transition
10220 2006-10-16 Stefan Kost <ensonic@users.sf.net>
10222 * docs/design/part-live-source.txt:
10223 describe howto handle latency
10225 * docs/random/ensonic/profiling.txt:
10228 * tools/gst-plot-timeline.py:
10229 fix log parsing for solaris, remove unused function
10231 2006-10-16 Wim Taymans <wim@fluendo.com>
10233 * docs/design/part-trickmodes.txt:
10235 Update some docs regarding reverse playback.
10237 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
10239 Patch by: Marcus Granado <mrc dot gran at gmail com>
10241 * win32/vs8/grammar.vcproj:
10242 Error out with a warning if glib-genmarshal.exe is not in path,
10243 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10245 2006-10-13 Wim Taymans <wim@fluendo.com>
10247 * gst/gstsegment.c: (gst_segment_set_seek):
10248 When seeking to stop -1, set last_stop (current position) to the
10249 duration of the segment.
10251 2006-10-13 Wim Taymans <wim@fluendo.com>
10253 * gst/gstelement.h:
10254 Clarify _NO_PREROLL a bit more.
10259 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10260 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10261 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10262 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10263 due to wrong locking order. Fixes #361769.
10264 Remove some redundant/misplaced checks in pad_block.
10266 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10267 For negative rates, count backwards from the duration.
10269 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
10271 * gst/gsterror.c: (_gst_library_errors_init):
10272 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10273 up with something better).
10275 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10277 * win32/vs6/libgstreamer.dsp:
10278 * win32/vs7/libgstreamer.vcproj:
10279 * win32/vs8/libgstreamer.vcproj:
10280 Don't reference glib-compat.c which is currently not used and not
10281 disted; add gstquark.c which was recently added. Fixes #361730.
10283 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10285 * win32/common/libgstbase.def:
10286 * win32/common/libgstcontroller.def:
10287 * win32/common/libgstreamer.def:
10288 Add gst_caps_merge() and a bunch of other recently-added functions.
10291 2006-10-11 Wim Taymans <wim@fluendo.com>
10293 * docs/plugins/gstreamer-plugins.args:
10294 * docs/plugins/inspect/plugin-coreelements.xml:
10295 * docs/plugins/inspect/plugin-coreindexers.xml:
10296 Update element args.
10298 * gst/gstsystemclock.c:
10299 Small comment update.
10301 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10302 (gst_tee_request_new_pad), (gst_tee_release_pad),
10303 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10304 (gst_tee_sink_activate_pull):
10305 * plugins/elements/gsttee.h:
10307 Add default property defines.
10308 Implement release pad function.
10309 Give properties better blubs etc.
10310 Activate pads before adding them to a running tee.
10311 Do simple buffer_alloc on the first requested pad.
10312 Post error when activation fails.
10314 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10316 * gst/gst.c: (ensure_current_registry_forking):
10317 Check return value of write() to make compiler happy.
10319 2006-10-11 Wim Taymans <wim@fluendo.com>
10321 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10323 * plugins/elements/gstqueue.c: (gst_queue_chain):
10324 Recheck queue filledness after signalling the overrun when we're about
10325 to leak downstream because we released the lock when emitting the signal
10326 and the queue could be empty again. Fixes #352345.
10328 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10330 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10331 Fix refcounting here too, just like we did for _new_valist() a few
10332 days ago (#357180) (thanks to René Stadler). Also remove all those
10333 'Since: 0.9' from the gtk-doc blobs.
10335 * tests/check/libs/controller.c: (controller_refcount_new_list),
10336 (gst_controller_suite):
10337 Unit test for the above.
10339 2006-10-10 Wim Taymans <wim@fluendo.com>
10341 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10343 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10344 (gst_pad_save_thyself):
10346 Write pad direction in XML output. Fixes #345496.
10348 2006-10-10 Wim Taymans <wim@fluendo.com>
10350 Patch by: René Stadler <mail at renestadler dot de>
10352 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10353 (gst_controller_new_list), (_gst_controller_dispose),
10354 (_gst_controller_finalize), (_gst_controller_class_init):
10355 Take ref to controlled object so that it cannot disappear.
10358 2006-10-10 Wim Taymans <wim@fluendo.com>
10360 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10361 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10362 (gst_check_teardown_sink_pad):
10363 Activate/deactivate pads in setup/teardown respectively.
10365 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10367 Patch by: Josep Torra Valles <josep@fluendo.com>
10370 Cast values when making gstenumtypes.h. This pacifies Forte
10371 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10372 in the enumeration.
10374 2006-10-09 Wim Taymans <wim@fluendo.com>
10376 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10377 Rename some more @cur to @start to fix docs.
10379 * gst/gstsegment.c: (gst_segment_set_seek):
10381 time and start must always stay in sync as defined in design doc.
10383 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10384 Rename param to fix docs.
10386 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10387 Check that start and time are in sync.
10389 * tests/check/pipelines/parse-launch.c:
10390 (gst_parse_test_element_change_state):
10391 Activate pad before adding to the element.
10393 2006-10-09 Wim Taymans <wim@fluendo.com>
10395 * docs/design/part-qos.txt:
10400 Update seek event docs regarding negative rates.
10401 Rename @cur to @start.
10403 * gst/gstsegment.c: (gst_segment_set_seek):
10404 * gst/gstsegment.h:
10405 Update set_seek docs regarding negative rates.
10406 Correctly update last_stop to @stop when dealing with negative
10408 Rename @cur to @start.
10410 * tests/check/gst/gstpad.c: (GST_START_TEST):
10411 Activate pads before trying to use them.
10413 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10414 (gst_segment_suite):
10415 Add simple check for segments and negative rates.
10417 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10419 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10420 * gst/gsttaglist.h:
10421 * docs/gst/gstreamer-sections.txt:
10422 API: add gst_tag_list_is_empty() (#360467).
10424 * tests/check/gst/gsttag.c: (GST_START_TEST):
10427 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10429 * gst/gstmessage.h:
10430 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10431 a value that doesn't fit on enumeration.
10433 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10435 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10436 Remove local debugging system and use Gstreamer's instead.
10438 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10440 Patch by: Josep Torra Valles <josep@fluendo.com>
10442 * common/m4/gst-error.m4:
10443 Disable warning of statement not reached on Forte.
10444 * gst/gstmessage.h:
10445 Fix warning on Forte (value doesn't fit on enumeration).
10446 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10447 Fix warning on Forte (value doesn't fit on enumeration).
10448 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10449 DEBUG macro says it takes minimum of 2 args and so Forte
10450 complains about the use with just 1 arg.
10451 * plugins/elements/gstfdsink.c:
10452 * plugins/elements/gstfdsrc.c:
10453 * plugins/elements/gstfilesink.c:
10454 * plugins/elements/gstfilesrc.c:
10455 Use correct return type for the uri handler implementations.
10457 All these fix warnings in Forte. Fixes bug #360860.
10459 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10461 * gst/gstelement.h:
10462 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10463 format string, so don't use G_GNUC_PRINTF for those versions.
10465 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10467 * gst/gsttaglist.c: (gst_is_tag_list):
10468 * gst/gsttaglist.h:
10469 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10471 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10472 Small test for the above.
10474 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10476 * gst/gsttaglist.h:
10477 Less tabs, more spaces.
10479 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10482 Those two function declarations do actually belong there, revert
10483 commit from yesterday that turned them intro macros.
10485 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10487 Patch by: Josep Torra Valles <josep@fluendo.com>
10489 * gst/gst.c: (gst_init_get_option_group):
10490 Fix empty declaration and type mismatch.
10491 * gst/gstbin.c: (gst_bin_change_state_func):
10493 * gst/gstelement.c: (gst_element_continue_state),
10494 (gst_element_set_state_func), (gst_element_change_state),
10495 (gst_element_change_state_func):
10496 Fix type mismatches.
10497 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10498 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10499 Cast as appropriate.
10500 * gst/gstobject.c: (gst_class_signal_connect):
10501 Cast as appropriate. The function pointer parameter really
10502 has the wrong type but would break API if we change it.
10504 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10505 order of including string.h.
10506 * gst/gstutils.c: (gst_element_state_get_name):
10507 Remove unreachable line.
10508 * gst/gstxml.c: (gst_xml_parse_doc):
10510 All these caught by Forte.
10512 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10514 Patch by: Josep Torra Valles <josep@fluendo.com>
10516 * common/m4/gst-error.m4:
10518 We need to disable warnings on Forte for empty declarations
10519 due to gst-indent adding ;s to lines that just use macros
10520 where the macro actually doesn't need a ; at end to end
10523 2006-10-06 Wim Taymans <wim@fluendo.com>
10525 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10526 (gst_file_sink_close_file), (gst_file_sink_event),
10527 (gst_file_sink_render):
10528 Add some FIXME for the NEWSEGMENT handling.
10530 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10532 * gst/parse/grammar.y:
10533 Remove static function gst_parse_element_lock as all it does
10534 is return. Looks like cruft from 0.8.
10536 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10538 Patch by: Josep Torra Valles <josep@fluendo.com>
10540 * common/m4/gst-error.m4:
10542 * libs/gst/net/Makefile.am:
10543 Fix a compilation issue with Forte on Solaris. inet_aton is in
10546 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10548 * gst/gstpad.c: (pre_activate):
10549 * gst/gstregistry.c: (gst_registry_scan_path_level):
10550 * gst/gstregistryxml.c: (load_plugin):
10551 * libs/gst/controller/gstcontroller.c:
10552 (gst_controlled_property_set_interpolation_mode):
10553 * libs/gst/dataprotocol/dataprotocol.c:
10554 (gst_dp_packet_from_event_1_0):
10555 * libs/gst/net/gstnetclientclock.c:
10556 (gst_net_client_clock_observe_times):
10557 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10560 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10563 * docs/gst/gstreamer-sections.txt:
10564 * gst/gstconfig.h.in:
10565 * gst/gstelement.h:
10567 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10568 whether we can use G_GNUC_PRINTF in other header files and at
10569 least check the printf format/arguments of debug messages and
10570 GST_ELEMENT_ERROR messages when the printf extension is not
10572 Replace more tabs with spaces in gstinfo.h and remove two spurious
10573 function declarations in GST_DISABLE_DEBUG part with macros.
10575 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10577 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10578 More docs for the sync-message signal (mention that it is not
10579 emitted by default); log message structures of messages posted on
10582 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10584 * gst/gst.c: (ensure_current_registry_forking):
10585 Use a pipe pair to receive status results from the forked child, and
10586 ignore the result from waitpid. Fixes #355499
10588 2006-10-02 Wim Taymans <wim@fluendo.com>
10590 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10591 (gst_ghost_pad_suite):
10594 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10597 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10599 2006-10-02 Edward Hervey <edward@fluendo.com>
10601 * docs/design/part-block.txt:
10602 Further explain the use of flushing on blocked pads.
10603 * docs/gst/gstreamer-sections.txt:
10604 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10605 (gst_pad_push_event):
10607 Added new GstPadFlag : GST_PAD_BLOCKING.
10608 Adds the notion of pads really blocking, which enables to properly
10609 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10611 API: gst_pad_is_blocking()
10612 API: GST_PAD_IS_BLOCKING() macro
10613 API: GST_PAD_BLOCKING GstPadFlag
10615 2006-10-02 Wim Taymans <wim@fluendo.com>
10617 Patch by: mrcgran <mrc.gran at gmail dot com>
10619 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10620 Filter the proxied caps against the padtemplate if we have one.
10622 * gst/gstquery.c: (gst_query_new_segment):
10623 Add include for gstinfo.h so that compilation with
10624 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10626 2006-10-02 Wim Taymans <wim@fluendo.com>
10628 Patch by: Alessandro Decina <alessandro at nnva org>
10630 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10631 (gst_file_sink_set_location), (gst_file_sink_open_file),
10632 (gst_file_sink_close_file), (gst_file_sink_event),
10633 (gst_file_sink_render):
10634 Set file to NULL when closing filesink so that we can set a new filename
10635 in READY. Fixes #358613.
10637 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10639 Patch by: Alessandro Decina <alessandro at nnva org>
10641 * gst/gstevent.c: (_gst_event_copy):
10642 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10643 with event structures by setting the parent refcount address of the
10644 copied structure to the address of the refcount member of the newly
10645 copied event rather than the address of the refcount member of the
10646 original event. Fixes #358737.
10648 * tests/check/gst/gstevent.c: (GST_START_TEST):
10649 Unit test for the above.
10651 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10653 * docs/design/Makefile.am:
10654 Dist some more files.
10656 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10658 * tests/check/libs/controller.c: (GST_START_TEST),
10659 (gst_controller_suite):
10660 Add test for the previous fix; add some more tests
10661 for correct refcounting behaviour; fix a few leaks
10662 in test cases; call gst_controller_init() at start
10665 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10667 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10668 (gst_controller_set_from_list):
10669 Don't g_return_val_if_fail() on timed values with invalid timestamps
10670 inside a critical section without unlocking the mutex. Spotted by
10671 René Stadler. (#357617)
10672 Also, fix up refcounting properly: when returning an existing
10673 controller, we should increase the reference only once and not
10674 once per property and when trying to control a property again
10675 we should also increase the refcount.
10677 2006-09-29 Wim Taymans <wim@fluendo.com>
10679 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10680 * libs/gst/net/gstnettimeprovider.c:
10681 (gst_net_time_provider_thread):
10682 Stop reading commands when EOF as well.
10684 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10685 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10686 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10687 Unify description of the dump property.
10689 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10691 * tests/examples/manual/.cvsignore:
10692 OK, so it's actually cvsignore that needs changing. Stop laughing.
10694 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10696 * tests/examples/manual/Makefile.am:
10697 Gah, declare vars *before* using them
10699 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10701 * gst/gst.c: (init_pre), (scan_and_update_registry),
10702 (ensure_current_registry_nonforking),
10703 (ensure_current_registry_forking), (ensure_current_registry),
10704 (init_post), (gst_debug_help), (gst_deinit):
10705 * gst/gst_private.h:
10706 * gst/gstregistry.c: (gst_registry_finalize),
10707 (gst_registry_remove_features_for_plugin_unlocked),
10708 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10709 (gst_registry_scan_path),
10710 (_priv_gst_registry_remove_cache_plugins),
10711 (_priv_gst_registry_cleanup):
10712 * gst/gstregistry.h:
10713 Re-commit the registry changes, along with an extra fix:
10714 When a cached plugin is encountered at a different file path,
10715 update the stored path in the registry cache so that the parent
10716 process knows where it actually is now when it re-reads the registry
10717 cache. Fixes the thing that broke distcheck with the previous commit.
10719 * tests/check/Makefile.am:
10720 Clean up files named 'core' too when running make clean.
10722 * tests/examples/manual/Makefile.am:
10723 Set up a registry path for running these tests, and clean it properly
10726 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10729 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10730 want gmodule-no-export-2.0.pc instead so that we don't drag in
10731 --export-dynamic on every project that links to GStreamer.
10733 Also, make our export regex only match the start of symbols, rather
10734 than any symbol that contains '_gst' somewhere.
10736 * libs/gst/check/Makefile.am:
10737 The libgstcheck we build does however need export-dynamic, as it
10738 produces some symbols that don't match our _gst... style regex.
10741 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10743 * gst/gst.c: (init_pre), (scan_and_update_registry),
10744 (ensure_current_registry_nonforking),
10745 (ensure_current_registry_forking), (ensure_current_registry),
10746 (init_post), (gst_debug_help), (gst_deinit):
10747 * gst/gst_private.h:
10748 * gst/gstregistry.c: (gst_registry_finalize),
10749 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10750 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10751 (_gst_registry_cleanup):
10752 * gst/gstregistry.h:
10753 Revert previous change until I figure out why it breaks distcheck.
10755 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10757 * gst/gst.c: (init_pre), (scan_and_update_registry),
10758 (ensure_current_registry_nonforking),
10759 (ensure_current_registry_forking), (ensure_current_registry),
10760 (init_post), (gst_debug_help), (gst_deinit):
10762 Make init_pre and init_post take the full complement of GOptionFunc
10763 args so they can return useful GErrors. Make the registry updating
10766 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10767 ensure that the registry we're about to write out doesn't contain
10768 stale information about old-deleted plugin files.
10770 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10771 that deletion of plugin files is considered a registry change.
10773 * gst/gst_private.h:
10774 * gst/gstregistry.c: (gst_registry_finalize),
10775 (gst_registry_remove_features_for_plugin_unlocked),
10776 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10777 (gst_registry_scan_path),
10778 (_priv_gst_registry_remove_cache_plugins),
10779 (_priv_gst_registry_cleanup):
10780 * gst/gstregistry.h:
10781 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10782 by adding _priv prefix, so that they won't appear in the global
10783 symbol table. They still do atm though because of #318031. Move the
10784 prototypes to gst_private.h
10786 When removing a plugin, remove all features for that plugin too.
10789 2006-09-27 Wim Taymans <wim@fluendo.com>
10791 * docs/random/moving-plugins:
10792 Make it clear that the "compiled-in descriptions" really mean
10793 the element details.
10795 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10796 (gst_base_sink_wait_preroll):
10799 * docs/libs/gstreamer-libs-sections.txt:
10800 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10801 (gst_base_src_get_range), (gst_base_src_activate_push):
10802 * libs/gst/base/gstbasesrc.h:
10803 Added function to block while waiting for PLAYING, this function
10804 is used by live sources that block on the clock.
10805 API: gst_base_src_wait_playing()
10807 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10809 Patch by: Peter Kjellerstedt <pkj at axis com>
10812 gst-element-check.m4 is generated and should therefore be
10813 copied from the build dir rather than the source dir (#357593).
10814 'make distcheck' hasn't noticed this because we were disting
10815 the file as well, so stop doing that.
10817 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10819 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10820 Add some tests for gst_caps_intersect().
10822 * tools/gst-launch.c: (event_loop):
10823 Print all buffering percentages we get, even the 100% one.
10825 2006-09-26 Wim Taymans <wim@fluendo.com>
10827 * tools/gst-inspect.c: (print_element_properties_info),
10828 (print_signal_info):
10829 Fix printing of flags to match the look of enums.
10831 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10833 * gst/gstelementfactory.c:
10834 Fix typo in docs blurb.
10836 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10838 * gst/gsturi.c: (search_by_entry):
10839 Don't assert/crash here if a uri handler doesn't return any
10840 supported protocols. The list of protocols could be generated
10841 dynamically at runtime or at plugin registration, and an error
10842 in the underlying library shouldn't be fatal (#353301).
10844 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10847 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10848 (spotted by Peter Kjellerstedt).
10850 2006-09-23 Wim Taymans <wim@fluendo.com>
10852 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10854 * libs/gst/base/gstbasesrc.c:
10855 (gst_base_src_default_check_get_range), (gst_base_src_start),
10856 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10857 (gst_base_src_change_state):
10858 Match _start/_stop calls in the activate functions. Remove redundant
10859 _stop call from the state change function. Fixes #356910.
10860 Turn failure DEBUG into ERROR.
10862 2006-09-22 Wim Taymans <wim@fluendo.com>
10864 * docs/design/part-buffering.txt:
10865 * gst/gstmessage.c: (gst_message_new_buffering),
10866 (gst_message_parse_buffering):
10867 Update docs about buffering.
10869 * docs/design/part-trickmodes.txt:
10872 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10874 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10875 (gst_controller_new_list):
10876 Ref instances when returning them again (fixes #357180)
10878 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10880 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10881 Don't forget to release proxy lock when there's an error.
10883 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10886 Add extra initialisers for Caps things, to fix some plugin warnings
10889 2006-09-18 Wim Taymans <wim@fluendo.com>
10891 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10892 Also set template on the internal pad so that a getcaps from the
10893 target pad returns the template caps.
10895 2006-09-18 Wim Taymans <wim@fluendo.com>
10897 * gst/gstelement.c: (gst_element_post_message),
10898 (gst_element_dispose):
10899 Use _DEBUG_OBJECT some more.
10901 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10904 * tools/gst-launch.c: (main):
10905 If the toplevel element is not a GstPipeline, it must be put in a
10906 pipeline so that a bus and clock is selected.
10908 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10910 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10911 JITTER, RATE, and LATENCY query should be handled by the
10912 default case and not by the CONVERT query code.
10914 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10916 * gst/gstformat.c: (gst_format_register):
10917 Fix locking order (must take lock before using n_values).
10919 * gst/gstvalue.c: (gst_value_serialize_enum),
10920 (gst_value_deserialize_enum_iter_cmp),
10921 (gst_value_deserialize_enum):
10922 Fix serialisation/deserialisation of custom registered GstFormats.
10924 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10925 Unit test for custom format serialisation/deserialisation.
10927 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10929 * docs/pwg/building-boiler.xml:
10930 * plugins/elements/gstcapsfilter.c:
10931 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10934 2006-09-16 Edward Hervey <edward@fluendo.com>
10936 * libs/gst/base/gstbasetransform.c:
10937 (gst_base_transform_buffer_alloc):
10938 Check if requested caps are the same as the sinks caps IF
10939 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10941 This fixes the renegotiation issues stated in #352827.
10943 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10946 * docs/manual/advanced-autoplugging.xml:
10947 * tests/examples/Makefile.am:
10948 * tests/examples/manual/.cvsignore:
10949 * tests/examples/manual/Makefile.am:
10950 * tests/examples/manual/extract.pl:
10951 Extract the manual examples again like we used to do.
10954 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10956 * win32/common/config.h:
10959 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10962 Documents how to receive errors.
10964 2006-09-15 Wim Taymans <wim@fluendo.com>
10966 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10967 (event_loop), (main):
10968 Added some comments here and there.
10969 Post an application message when an interrupt is caught instead of doing
10970 an uncontrolled state change.
10971 Clean up the event loop.
10972 Handle buffering messages, pause/resume the pipeline.
10973 Make shutdown because of an interrupt more reliable.
10975 2006-09-15 Wim Taymans <wim@fluendo.com>
10977 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10978 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10979 (gst_base_sink_preroll_object):
10980 Make sure that our internal state is correct when we commit our state
10981 asynchronously. This solves a race where a state change to PLAYING
10982 could cause the sink to remain blocked in preroll in some situations.
10984 2006-09-15 Wim Taymans <wim@fluendo.com>
10986 * tools/gst-inspect.c: (print_element_properties_info),
10987 (print_signal_info):
10988 List flags as hex so it's easier to deal with.
10990 2006-09-15 Wim Taymans <wim@fluendo.com>
10992 * docs/libs/gstreamer-libs-sections.txt:
10993 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10994 (gst_base_sink_do_sync):
10995 * libs/gst/base/gstbasesink.h:
10996 Expose logic to wait for preroll so that subclasses such as audiosink
10997 can also use this method.
10998 API: gst_base_sink_wait_preroll()
11000 2006-09-15 Wim Taymans <wim@fluendo.com>
11002 * gst/gstobject.c: (gst_object_set_parent):
11003 * gst/gstpipeline.c: (do_pipeline_seek):
11004 Small cleanups in docs and code.
11006 * gst/gstsegment.c: (gst_segment_clip):
11007 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11008 if stop == start and start is in the segment, no clipping should be
11009 done. Also add a test for this.
11011 2006-09-15 Wim Taymans <wim@fluendo.com>
11013 * docs/design/part-buffering.txt:
11014 * docs/gst/gstreamer-sections.txt:
11015 * gst/gstmessage.c: (gst_message_new_buffering),
11016 (gst_message_parse_buffering):
11017 * gst/gstmessage.h:
11018 Added methods to create and parse BUFFERING messages.
11019 Added preliminary docs about buffering.
11020 API: gst_message_new_buffering
11021 API: gst_message_parse_buffering
11023 2006-09-06 Wim Taymans <wim@fluendo.com>
11026 Update documentation.
11028 * gst/gstelement.c: (gst_element_class_init),
11029 (gst_element_release_request_pad), (gst_element_set_clock),
11030 (gst_element_get_index), (gst_element_add_pad),
11031 (gst_element_remove_pad), (gst_element_get_random_pad),
11032 (gst_element_send_event), (gst_element_get_query_types),
11033 (gst_element_query), (gst_element_post_message),
11034 (gst_element_message_full), (gst_element_continue_state),
11035 (gst_element_lost_state), (gst_element_save_thyself),
11036 (gst_element_restore_thyself):
11037 Documentation updates.
11038 Rename last bit of the new-pad -> pad-added signal rename.
11039 Fix the case where an element query would only work if the source
11041 Avoid some useless type checking in message handling.
11046 Documentation updates.
11048 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11050 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11051 add an INFO line for when we actually update the fd
11053 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11058 === release 0.10.10 ===
11060 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11063 releasing 0.10.10, "Pais"
11065 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
11067 * docs/manual/advanced-position.xml:
11068 Fix typo in sample code.
11070 2006-09-05 Wim Taymans <wim@fluendo.com>
11072 * libs/gst/net/gstnetclientclock.c: (inet_aton),
11073 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11074 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11075 * libs/gst/net/gstnetclientclock.h:
11076 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11077 * libs/gst/net/gstnettimepacket.h:
11078 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11079 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11080 (gst_net_time_provider_thread), (gst_net_time_provider_new):
11081 * libs/gst/net/gstnettimeprovider.h:
11082 Make stuff compile on windows. Fixes #345295.
11084 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11086 * gst/gst.c: (ensure_current_registry_forking):
11087 Print better details when child was terminated by signal.
11089 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11091 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11092 Print a warning rather than g_assert() if a plugin feature
11093 is a URI handler but returns no protocols (#353976).
11095 2006-09-02 Stefan Kost <ensonic@users.sf.net>
11097 * docs/random/moving-plugins:
11100 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
11102 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11103 Fix locking order, handle NULL function values properly.
11108 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11109 Initialise variable before using it and fix debug statement to
11110 print the address of the function rather than the address of the
11111 variable on the stack holding the address of the function.
11113 2006-09-01 Wim Taymans <wim@fluendo.com>
11115 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11116 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11117 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11118 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11119 (gst_ghost_pad_parent_unset),
11120 (gst_ghost_pad_internal_do_activate_push),
11121 (gst_ghost_pad_internal_do_activate_pull),
11122 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11123 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11124 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11125 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11126 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11127 (gst_ghost_pad_new_no_target_from_template),
11128 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11130 Avoid needless typechecking in macros.
11131 Since the internal pad is always present and never changes, there is
11132 no need to locking or ref when retrieving it.
11133 Improve debugging a bit.
11134 Handle link errors when setting the target. Fixes #341029.
11136 2006-09-01 Wim Taymans <wim@fluendo.com>
11138 * docs/libs/gstreamer-libs-sections.txt:
11139 * docs/plugins/gstreamer-plugins-sections.txt:
11140 Fix docs some more.
11142 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11143 (gst_collect_pads_event):
11144 * libs/gst/base/gstcollectpads.h:
11145 Documentation updates.
11146 Free queued buffer when removing a pad.
11148 2006-08-31 Michael Smith <msmith@fluendo.com>
11150 * gst/gstutils.c: (gst_element_link_pads),
11151 (gst_element_link_pads_filtered):
11152 Ensure that we set a capsfilter to NULL if we failed to link it
11153 when doing filtered linking, to avoid criticals.
11155 No need to check for unreffing srcpad, which is explicly NULLed
11156 above (a trivial code cleanup).
11158 2006-08-31 Wim Taymans <wim@fluendo.com>
11160 * docs/design/part-gstghostpad.txt:
11161 Update ascii art in documentation.
11163 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11164 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11165 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11166 (gst_ghost_pad_internal_do_activate_push),
11167 (gst_ghost_pad_internal_do_activate_pull),
11168 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11169 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11170 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11171 (gst_ghost_pad_set_target):
11172 Small cleanups and leak fixes.
11173 Remove some checks now that the internal pad is never NULL.
11174 Fix the case where linking pads without a target would create nasty
11175 criticals. Fixes #341029.
11176 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11177 value of _set_target().
11179 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11180 (gst_ghost_pad_suite):
11181 Some more tests for creating and linking untargeted ghostpads.
11183 2006-08-31 Edward Hervey <edward@fluendo.com>
11185 * docs/gst/gstreamer-sections.txt:
11186 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11187 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11188 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11189 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11190 (gst_ghost_pad_new_from_template),
11191 (gst_ghost_pad_new_no_target_from_template):
11192 * gst/gstghostpad.h:
11193 Refactored *_new() functions.
11194 Templates are now used as a g_object_new() parameter.
11195 Use template in _do_getcaps() if we don't have a target.
11196 Small documentation cleanups.
11197 Added two new constructors:
11198 gst_ghost_pad_new_from_template()
11199 gst_ghost_pad_new_no_target_from_template()
11200 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11201 (gst_ghost_pad_suite):
11202 Added tests for new ghostpad instanciation functions.
11204 API additions: gst_ghost_pad_new_from_template,
11205 gst_ghost_pad_new_no_target_from_template
11207 2006-08-30 Stefan Kost <ensonic@users.sf.net>
11209 * docs/random/ensonic/profiling.txt:
11210 Ideas about qos profiling.
11212 2006-08-29 Wim Taymans <wim@fluendo.com>
11214 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11218 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
11221 Improve and detypofy docs.
11223 * tests/check/Makefile.am:
11224 * tests/check/gst/.cvsignore:
11225 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11226 Add a basic test suite for GstXML.
11228 2006-08-29 Wim Taymans <wim@fluendo.com>
11230 * gst/gstelement.c: (activate_pads), (clear_caps),
11231 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11232 Clear the pad caps when the element shut down all of the pads and
11233 is not streaming data that could modify the caps.
11236 2006-08-28 Michael Smith <msmith@fluendo.com>
11238 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11239 Revert previous change; I misunderstood single-segment mode.
11241 2006-08-28 Michael Smith <msmith@fluendo.com>
11243 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11244 Unset DISCONT on buffers when using single-segment mode.
11246 2006-08-28 Wim Taymans <wim@fluendo.com>
11248 * gst/gstcaps.c: (gst_caps_merge_structure):
11250 Fix docs and indentation again.
11252 * tests/check/gst/gstquery.c: (GST_START_TEST):
11253 Fix leak in tests and add some more tests.
11255 2006-08-28 Edward Hervey <edward@fluendo.com>
11257 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11258 Inform GstSegment of the last stop position in order for the current
11259 segment to have a proper duration if it doesn't have a specific stop
11260 position from which a duration could be calculated.
11261 This bug was noticeable when a non-flushing, non-update new segment was
11262 followed by another segment (all buffers from the new segment were being
11265 2006-08-28 Wim Taymans <wim@fluendo.com>
11267 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11268 Small comment update.
11270 * plugins/elements/gstidentity.c: (gst_identity_class_init),
11271 (gst_identity_transform_ip):
11272 Drop-probability is broken, mention this in the code with a
11273 FIXME and also in the property description.
11274 Make silent also be silent about the drop messages.
11276 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11278 * docs/manual/appendix-win32.xml:
11279 Remove mention of popt, we don't depend on that any
11280 longer (#353136). Add some comments pointing out that
11281 this section is slightly outdated.
11283 2006-08-28 Wim Taymans <wim@fluendo.com>
11285 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11287 * gst/gstquery.c: (gst_query_new_segment):
11288 * tests/check/gst/gstquery.c: (GST_START_TEST):
11289 Initialize variables when creating a new segment query.
11292 2006-08-28 Wim Taymans <wim@fluendo.com>
11294 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11296 * gst/gstelement.c: (gst_element_get_bus):
11297 * tests/check/gst/gstelement.c: (GST_START_TEST):
11298 Check for NULL before _reffing the bus. Fixes #353122.
11300 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11302 * docs/manual/basics-bus.xml:
11303 Docs update: fix wrong callback return value explanation; add
11304 some lines about the implicit relationship between main loop
11305 and main context; remove duplicate main loop variable declaration.
11307 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11309 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11310 Don't leak caps in unit test; add a few more simple
11313 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11315 * docs/gst/gstreamer-sections.txt:
11316 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11317 (gst_caps_structure_is_subset), (gst_caps_merge),
11318 (gst_caps_merge_structure):
11320 * libs/gst/base/gstbasetransform.c:
11321 (gst_base_transform_transform_caps):
11322 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11323 implement caps merging (fixes #352580)
11325 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11327 * tools/Makefile.am:
11328 * tools/gst-plot-timeline.py:
11329 add debug-log plotting developer tool (#340674)
11331 2006-08-23 Wim Taymans <wim@fluendo.com>
11333 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11334 (gst_pad_stop_task):
11335 Improve debugging for task functions.
11337 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11338 (gst_task_start), (gst_task_pause), (gst_task_join):
11339 Make sure that the task function started and finished after a
11341 Don't try to push the task function on the threadpool multiple
11343 Improve the g_warning message with some useful suggestions
11344 about how to fix the problem.
11346 2006-08-23 Wim Taymans <wim@fluendo.com>
11348 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11349 Handle RESYNC correctly in _proxy_getcaps.
11351 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11353 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11354 (gst_xml_parse_memory), (gst_xml_get_element):
11355 Chain up to parent class in dispose function and also
11356 unref the elements in the toplevel_elements GList.
11357 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11358 Always return a reference in gst_xml_get_element() rather
11359 than only sometimes.
11361 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11362 Don't leak GstXml object.
11364 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11366 * docs/gst/gstreamer-sections.txt:
11367 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11370 * libs/gst/base/gstbasetransform.c:
11371 (gst_base_transform_transform_caps):
11372 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11375 2006-08-21 Edward Hervey <edward@fluendo.com>
11377 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11378 Implement GObject::dispose virtual method in GstXML so we can free the
11379 top_elements GList.
11381 2006-08-21 Wim Taymans <wim@fluendo.com>
11383 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11384 (gst_buffer_create_sub):
11385 Copy duration/offset_end/caps when creating a subbuffer of the
11387 Make the subbuffer read-only when we make the metadata writable for
11388 now. Fixes #351768.
11390 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11391 Added check for metadata copy when creating subbuffers.
11393 2006-08-21 Edward Hervey <edward@fluendo.com>
11395 * libs/gst/base/gstbasetransform.c:
11396 (gst_base_transform_buffer_alloc):
11397 Only call downstream buffer_alloc if transform element is passthrough
11398 or always_in_place. Closes #350449.
11400 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11403 ChangeLog surgery to add comments to previous changes
11405 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11410 * gst/gstpad.c: (gst_pad_set_active):
11411 Be more verbose in the log
11413 * libs/gst/base/gstbasetransform.c:
11414 (gst_base_transform_transform_caps):
11415 Simplify caps to get rid of duplicates, fixes #345444
11417 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11421 Use these optimizations only internally.
11423 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11425 * gst/gstvalue.c: (gst_value_compare_list),
11426 (gst_value_compare_fraction_range),
11427 (gst_value_intersect_fraction_fraction_range),
11428 (gst_value_intersect_fraction_range_fraction_range),
11429 (gst_value_subtract_fraction_fraction_range),
11430 (gst_value_subtract_fraction_range_fraction_range),
11431 (gst_value_get_compare_func), (gst_value_compare),
11432 (gst_value_compare_with_func):
11434 Saves the expensive lookup of the compare function in many cases
11437 2006-08-18 Edward Hervey <edward@fluendo.com>
11439 * tests/check/gst/gstinfo.c: (gst_info_suite):
11440 Disable test that require gstdebug if it wasn't built in core.
11442 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11444 * docs/random/ensonic/logging.txt:
11447 * gst/gstinfo.c: (gst_debug_log_default):
11448 reorder fields, save some columns, add optional color codes for log
11451 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11453 * docs/random/ensonic/logging.txt:
11454 add ideas about making the logs a bit more useful
11456 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11458 * docs/pwg/advanced-events.xml:
11459 * docs/pwg/titlepage.xml:
11460 Update for 0.10 API (#340627). Add myself
11463 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11465 * docs/libs/gstreamer-libs-docs.sgml:
11466 * docs/libs/gstreamer-libs-sections.txt:
11467 * libs/gst/check/gstbufferstraw.c:
11468 Make gstcheck stuff show up in docs (still needs to
11469 be documented properly though).
11471 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11473 * docs/gst/gstreamer-sections.txt:
11475 * gst/gst.c: (init_post):
11476 * gst/gst_private.h:
11477 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11479 * gst/gstquery.c: (gst_query_new_position),
11480 (gst_query_set_position), (gst_query_parse_position),
11481 (gst_query_new_duration), (gst_query_set_duration),
11482 (gst_query_parse_duration), (gst_query_new_convert),
11483 (gst_query_set_convert), (gst_query_parse_convert),
11484 (gst_query_new_segment), (gst_query_set_segment),
11485 (gst_query_parse_segment), (gst_query_new_seeking),
11486 (gst_query_set_seeking), (gst_query_parse_seeking):
11487 Add internal helpers for pre-registering quarks from static strings
11488 and using the quark values directly instead of looking them up when
11489 creating and parsing queries. Can be used for event construction too.
11492 2006-08-16 Wim Taymans <wim@fluendo.com>
11497 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11499 * gst/gstutils.c: (gst_util_set_value_from_string):
11500 Fix memleak (#351502).
11502 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11503 Add unit test for most of gst_util_set_value_from_string()
11504 (not that one would want to encourage use of this function).
11506 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11508 * libs/gst/check/gstcheck.h:
11509 Use const gchar * variables in fail_unless_equals_string
11510 macro to avoid compiler warnings (and don't use tabs for
11513 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11515 * tools/gst-launch.c: (print_tag):
11516 More space on the left for the tag names, to cater
11517 for the 'extended comment' tag (not touching the
11518 string for the first line since it's translated).
11520 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11522 * libs/gst/check/gstcheck.h:
11523 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11524 print something when they fail.
11526 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11528 * docs/gst/gstreamer-sections.txt:
11529 * gst/gsttaglist.c: (_gst_tag_initialize):
11530 * gst/gsttaglist.h:
11531 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11532 Also change merge function for GST_TAG_COMMENT to
11535 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11537 * gst/gstinfo.c: (gst_debug_print_object):
11538 Make GST_PTR_FORMAT print messages as well.
11540 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11541 (GST_START_TEST), (gst_info_suite):
11544 2006-08-14 Edward Hervey <edward@fluendo.com>
11546 * gst/gstelementfactory.c: (gst_element_register):
11547 If the GstElementClass doesn't have a GstElementDetails with all fields
11548 filled up correctly (longname, description AND author), then error out
11549 nicely instead of crashing.
11551 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11553 * gst/gststructure.c:
11554 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11557 Expand on the difference between arrays and lists as we use them.
11559 2006-08-14 Wim Taymans <wim@fluendo.com>
11561 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11562 If the parent state change function failed, don't assume we can safely
11563 stop the source, this will be done when the pads are deactivated.
11565 2006-08-14 Wim Taymans <wim@fluendo.com>
11568 * gst/gsttask.c: (gst_task_join):
11571 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11572 (gst_pad_stop_task):
11573 When pad (de)activation failed for some reason, restore the old
11574 activation mode and set the pad to flushing instead of assuming the
11575 pad is deactivated.
11576 If the _task_join() failed, reinstall the task on the pad so that it can
11577 be stopped later and return an error.
11579 2006-08-11 Andy Wingo <wingo@pobox.com>
11582 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11583 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11584 is only for users of API that don't want to see deprecated
11585 functions in the headers; people that want to compile out
11586 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11587 CFLAGS. Fixes the build of multifdsink, or will soon..
11589 2006-08-11 Wim Taymans <wim@fluendo.com>
11591 * docs/gst/gstreamer-sections.txt:
11592 Add GstClockClass vmethod docs.
11595 Mark #endif with comment for associated #if
11597 * gst/gstclock.c: (gst_clock_id_wait):
11599 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11600 most clock implementations.
11602 Flesh out docs about resolution methods.
11603 API: GstClockClass::wait_jitter
11605 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11606 (gst_system_clock_async_thread),
11607 (gst_system_clock_id_wait_jitter_unlocked),
11608 (gst_system_clock_id_wait_jitter):
11609 Use base class wait_jitter variant for improved performance
11610 due to less clock polling.
11612 2006-08-11 Edward Hervey <edward@fluendo.com>
11614 * gst/gst.c: (gst_init_check), (init_post):
11615 Set gst as being initialized before scanning/updating the registry,
11616 since there might be my python plugin loader that calls gst_init() and
11617 we don't want to loop back in.
11620 2006-08-11 Wim Taymans <wim@fluendo.com>
11622 * docs/design/part-qos.txt:
11623 Bring docs in line with the code. Mostly the sign of the jitter was
11624 wrong in the docs. Fixes #349943.
11627 Fix the docs for the jitter.
11629 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11630 (gst_event_parse_tag), (gst_event_new_buffer_size),
11631 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11632 (gst_event_new_seek), (gst_event_parse_seek),
11633 (gst_event_new_navigation):
11634 Make sure the GstStructure has no parent when creating custom
11636 Add some more argument checking so that we avoid 0.0 rates.
11637 Flesh out the docs for the QoS event some more.
11639 2006-08-11 Wim Taymans <wim@fluendo.com>
11641 * docs/gst/gstreamer-sections.txt:
11642 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11643 (ensure_current_registry_forking), (ensure_current_registry),
11644 (parse_one_option), (parse_goption_arg), (gst_deinit),
11645 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11648 Added API and command line option to disable registry forking in
11649 addition to the environment variable.
11650 Constify some static arrays.
11651 Added some more debug.
11652 Don't deinit twice.
11653 API: gst_registry_fork_is_enabled()
11654 API: gst_registry_fork_set_enabled()
11655 API: --gst-disable-registry-fork command line option
11658 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11660 * gst/gst.c: (gst_init):
11661 Fix typo in error message.
11663 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11665 * libs/gst/controller/gstcontroller.h:
11666 fix ABI size-correction
11668 * tests/check/libs/gdp.c: (gst_dp_suite):
11669 make tests that use deprecated API conditional
11671 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11673 * docs/libs/gstreamer-libs-sections.txt:
11674 * libs/gst/controller/gstcontroller.c:
11675 (_gst_controller_get_property), (_gst_controller_set_property),
11676 (_gst_controller_init), (_gst_controller_class_init):
11677 * libs/gst/controller/gstcontroller.h:
11678 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11679 (gst_object_set_control_rate):
11680 API: add gst_object_{s,g}et_control_rate(), add private data section,
11683 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11684 * libs/gst/dataprotocol/dataprotocol.h:
11685 add deprecation guards to make gtk-doc happy and allow disabling cruft
11687 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11689 * tests/check/Makefile.am:
11690 * tests/check/gst/.cvsignore:
11691 Let's enable the new unit test as well.
11693 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11696 * docs/gst/gstreamer-sections.txt:
11697 * gst/gstconfig.h.in:
11698 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11699 (_gst_info_printf_extension_ptr),
11700 (_gst_info_printf_extension_segment):
11701 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11702 register that lets us easily dump GstSegments into debug
11705 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11706 (info_segment_format_printf_extension), (gst_info_suite):
11707 Add simple unit test that logs a bunch of different segments (not
11708 valgrinded at the moment because of leaks in
11709 gst_debug_add_log_function).
11711 2006-08-09 Edward Hervey <edward@fluendo.com>
11713 * libs/gst/base/gstbasetransform.c:
11714 (gst_base_transform_buffer_alloc):
11715 Even if we can't figure out the proper format to request downstream,
11716 call buffer_alloc() downstream with the input parameters without setting
11717 the caps on the srcpad. This will force negotiation in the chain
11721 2006-08-08 Edward Hervey <edward@fluendo.com>
11723 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11724 Unlinking from a pad without a target is now a perfectly valid case
11725 which should NOT raise an assertion.
11726 This case would happen if a linked ghostpad its target set to NULL after
11727 it was previously linked.
11729 2006-08-08 Edward Hervey <edward@fluendo.com>
11731 * tests/check/libs/gdp.c:
11732 Also comment out the test (see below).
11734 2006-08-08 Edward Hervey <edward@fluendo.com>
11736 * tests/check/libs/gdp.c: (gst_dp_suite):
11737 Use the architecture information from config.h and not gcc macros
11738 in order to properly disable a test that fails on PPC64.
11740 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11742 * gst/gstelement.c: (gst_element_remove_pad):
11743 Don't crash printing the warning if the pad has no parent.
11745 2006-08-02 Wim Taymans <wim@fluendo.com>
11747 * libs/gst/dataprotocol/dataprotocol.c:
11748 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11749 (gst_dp_crc), (gst_dp_header_payload_length),
11750 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11751 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11752 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11753 (gst_dp_event_from_packet), (gst_dp_validate_header),
11754 (gst_dp_validate_payload):
11755 Make debug category static
11756 Constify the crc table.
11757 Do some more arg checking in public functions.
11758 Fix some docs and do some small cleanups.
11760 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11761 Add some more checks to see if GDP deals with bogus input.
11763 2006-07-31 Wim Taymans <wim@fluendo.com>
11765 * gst/gstvalue.c: (gst_value_compare_list):
11766 Fix GstValueList comparison code. Fixes #347293.
11768 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11769 Check to test GstValueList comparison.
11771 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11773 * gst/gstelementfactory.c: (gst_element_factory_create):
11774 Remove unnecessary ref/unref pair
11776 * gst/parse/grammar.y:
11777 Make sure to free the parse buffer on all code paths.
11778 Move a g_free up to the error handler where it's easier to see.
11780 * tests/check/gst/gstevent.c: (test_event):
11781 Extending timeout for downstream travelling events to 10 seconds to
11782 hopefully avoid intermittent failure on the buildbots.
11784 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11785 Don't manually set the state of the src element - it will happen as a
11786 natural consequence of the pipeline changing state, and that way it
11787 will do it in the right order too.
11789 2006-07-31 Wim Taymans <wim@fluendo.com>
11791 * libs/gst/base/gstbasetransform.c:
11792 (gst_base_transform_buffer_alloc):
11793 Use OBJECT_LOCK and refcounting to get the pad caps in the
11794 buffer_alloc function because the caps could change while we are
11795 busy with them. Fixes #349105
11797 2006-07-31 Wim Taymans <wim@fluendo.com>
11799 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11800 Protect _PAD_CAPS with OBJECT_LOCK.
11802 2006-07-31 Wim Taymans <wim@fluendo.com>
11804 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11805 (gst_pad_get_property), (gst_pad_activate_pull),
11806 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11807 (gst_pad_set_activate_function),
11808 (gst_pad_set_activatepull_function),
11809 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11810 (gst_pad_set_getrange_function),
11811 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11812 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11813 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11814 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11815 (gst_pad_set_acceptcaps_function),
11816 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11817 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11818 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11819 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11820 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11821 (gst_pad_configure_sink), (gst_pad_configure_src),
11822 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11823 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11824 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11825 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11826 (gst_pad_send_event):
11827 Use _DEBUG_OBJECT when it makes sense.
11828 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11829 Small cleanups and code reflows.
11830 Avoid caps refcounting in _accept_caps.
11831 Refactor alloc_buffer so that the code performed on the peer is in a
11832 separate function. Also if the pad does not implement a buffer alloc
11833 function, we should still check if the pad is flushing before falling
11834 back to the default allocator.
11836 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11838 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11839 Make all uses of identity and fakesink have silent=true to avoid
11840 serialising every passing data structure, which is breaking tests
11841 on FC4 for some unknown reason.
11843 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11845 * gst/parse/Makefile.am:
11846 * gst/parse/grammar.y:
11847 * gst/parse/parse.l:
11848 Reverted previous patch as it required to bump the flex dependency to
11849 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11851 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11853 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11855 * gst/parse/Makefile.am:
11856 * gst/parse/grammar.y:
11857 * gst/parse/parse.l:
11858 push & pop the state of the lexer for reentrant use case
11861 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11863 * libs/gst/base/gstbasesrc.h:
11864 Note in the docs that the ::newsegment vfunc is not actually used by
11867 2006-07-28 Wim Taymans <wim@fluendo.com>
11869 * libs/gst/base/gstcollectpads.c:
11870 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11871 (gst_collect_pads_clear), (gst_collect_pads_flush),
11872 (gst_collect_pads_event), (gst_collect_pads_chain):
11873 When flushing a pad, also clear the queued buffer so that we don't
11874 accidentally use it when we shouldn't.
11875 Fix leaks by inreffing incomming buffer.
11876 Flush out queued buffers in case of errors.
11879 2006-07-28 Wim Taymans <wim@fluendo.com>
11881 * docs/random/phonon-gst:
11882 Random notes about a Phonon backend.
11884 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11886 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11888 * tests/check/libs/gdp.c: (gst_dp_suite):
11889 Take a whack at fixing the ppc compile using a different define to
11890 disable the broken test.
11892 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11893 Remove excess g_print()
11895 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11897 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11898 Oops, meant to uncomment this line too to dampen the noise a bit.
11900 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11902 * gst/parse/grammar.y:
11903 * gst/parse/parse.l:
11904 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11905 (GST_START_TEST), (parse_suite):
11906 Fix some of the leaks exposed by extending the parse-launch testsuite,
11907 and move the 3 I can't figure out into a separate test that won't run
11908 the pipelines unless the appropriate line is uncommented.
11910 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11912 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11913 Requesting 0 bytes before the end of the file should result in
11914 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11917 2006-07-27 Wim Taymans <wim@fluendo.com>
11919 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11920 Fix useless assert, a uint is always positive.
11922 * gst/gststructure.c: (gst_structure_nth_field_name),
11923 (gst_structure_foreach), (gst_structure_map_in_place):
11924 Check input arguments for public functions to avoid obvious crashes.
11926 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11927 * plugins/elements/gstfakesink.h:
11928 Do less useless typechecking.
11930 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11932 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11933 Do not use mmap() by default since there are a number of error
11934 conditions that we would like to handle in a non-fatal way that
11935 will result in a SIGBUS if we use mmap(). Examples: external
11936 devices (USB harddrive, portable music player) being unplugged
11937 while in use; file on mounted CD/DVD that can't be read because
11938 the medium is partly damaged. Fixes #348455 and #348475.
11940 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11943 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11944 rates are a gdouble
11946 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11948 * gst/gstregistry.c:
11949 Move big documentation comment into class section header, so that it
11950 appears in the API docs.
11952 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11954 * docs/gst/gstreamer-sections.txt:
11955 Oops. Commit the docs additions too for new API.
11956 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11958 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11960 * gst/gststructure.c: (gst_structure_id_set),
11961 (gst_structure_id_set_valist):
11962 * gst/gststructure.h:
11963 Add API for setting values into structures without performing
11964 a quark lookup, if the appropriate quark is already known.
11966 API: gst_structure_id_set
11967 API: gst_structure_id_set_valist
11969 * gst/parse/grammar.y:
11970 * gst/parse/parse.l:
11971 Remove some dead code shown by the coverage information.
11972 Don't throw a critical g_warning when encountering a syntax error,
11973 just warn and let the normal error path handle it.
11975 * plugins/elements/gstelements.c:
11976 Bump the rank of filesink up to PRIMARY so that it is preferred over
11977 gnomevfssink for file:// sink uri's
11979 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11980 (GST_START_TEST), (run_delayed_test),
11981 (gst_parse_test_element_base_init),
11982 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11983 (gst_parse_test_element_change_state),
11984 (gst_register_parse_element), (parse_suite):
11985 Beef up the tests for parse syntax to check that more error cases
11986 fail as they are supposed to. Increases the test coverage a bit.
11988 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11990 * docs/manual/basics-elements.xml:
11991 Fix gst_element_link() example.
11994 Mention in API docs that one should usually gst_bin_add()
11995 elements to a bin or pipeline before doing the linking.
11997 2006-07-26 Wim Taymans <wim@fluendo.com>
11999 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12000 (gst_subbuffer_get_type), (gst_buffer_create_sub):
12001 Avoid function call for known types by keeping the buffer and
12002 subbuffer GType global.
12004 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12005 Random silly optimisations in read() path.
12007 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12009 * tools/gst-launch.c: (main):
12010 If the top-level of the parse is a normal bin, it doesn't do the
12011 right logic to run as a top-level element, so place it inside a
12014 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
12016 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12017 Remove superfluous g_object_notify() calls, GObject does
12018 that for us automatically.
12020 2006-07-25 Stefan Kost <ensonic@users.sf.net>
12023 on Win32, use dllspec to export the debug category symbols
12025 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
12027 * gst/gsttaglist.c: (_gst_tag_initialize):
12028 Allow more than one GST_TAG_IMAGE per taglist.
12030 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
12032 * gst/gstminiobject.c:
12034 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12035 (gst_fd_src_create):
12036 log recurring events at LOG level
12037 add more debug for when the fd gets set
12039 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12041 * gst/gstparse.c: (gst_parse_launch):
12042 Also remove reentrance checks if flex is MT safe (#348179)
12043 Fix my empty ChangeLog entry below
12045 2006-07-21 Andy Wingo <wingo@pobox.com>
12047 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12049 * libs/gst/check/Makefile.am
12050 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12051 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
12052 * libs/gst/check/gstbufferstraw.h:
12053 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12054 functions, thus proving I am still a GStreamer haxor. OK I wrote
12055 them a long time ago, but anyways.
12057 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12060 * gst/gstparse.c: (gst_parse_launch):
12061 Check for flex version and omit mutex if we have a MT save flex
12064 2006-07-21 Wim Taymans <wim@fluendo.com>
12066 * gst/gstparse.c: (gst_parse_launch):
12067 Protect recursive calls to _parse with a recursive mutex
12070 2006-07-21 Wim Taymans <wim@fluendo.com>
12072 * tests/check/gst/gstpad.c: (GST_START_TEST):
12075 2006-07-20 Stefan Kost <ensonic@users.sf.net>
12077 * gst/gstparse.c: (gst_parse_launch):
12078 Do not hang on recursive usage of gst_parse_launch()
12080 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12082 * gst/gsttaglist.c:
12083 Add some more docs, comments and FIXME 0.11s here and there
12084 and also fix some typos.
12086 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12088 * gst/gstsegment.h:
12089 Convert tabs to spaces for better readability.
12091 2006-07-20 Edward Hervey <edward@fluendo.com>
12093 * tests/check/libs/gdp.c: (gst_dp_suite):
12094 the test_buffer test fails at line 140 on ppc64 at the following
12096 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12097 GST_BUFFER_FLAG_IN_CAPS),
12098 "GST_BUFFER_IN_CAPS flag should have been copied !");
12099 See bug #348114 for more details.
12101 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
12103 * docs/pwg/advanced-scheduling.xml:
12105 Fix typos (#348000).
12107 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
12109 * docs/pwg/intro-basics.xml:
12110 Fix wrong links (#347927).
12112 2006-07-18 Stefan Kost <ensonic@users.sf.net>
12114 * gst/gstregistry.h:
12115 * gst/gstregistryxml.c: (load_feature),
12116 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12117 * win32/common/config.h:
12118 make --disable-index work (#342564)
12120 2006-07-18 Wim Taymans <wim@fluendo.com>
12122 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12126 The attached patch adds two missing defines to gsttrace.h when tracing
12127 is disabled. It also corrects one existing define.
12130 2006-07-17 Wim Taymans <wim@fluendo.com>
12132 * docs/gst/gstreamer-sections.txt:
12133 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12135 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12136 Add two functions to check and change the SIGSEGV behaviour
12137 when loading plugins.
12138 Don't mess with the SIGSEGV handler when we were told not to.
12140 API: gst_segtrap_is_enabled
12141 API: gst_segtrap_set_enabled
12143 2006-07-14 Wim Taymans <wim@fluendo.com>
12145 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12146 * tests/check/elements/filesrc.c: (GST_START_TEST):
12147 Revert fix for regression in #347408 after release.
12149 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
12151 Patch by: Antoine Tremblay <hexa00 at gmail com>
12153 * gst/gstutils.c: (gst_element_unlink):
12154 Free iterator when done (#347311).
12156 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12157 And add a test case for this.
12159 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
12162 Bump nano back to CVS
12164 === release 0.10.9 ===
12166 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
12169 releasing 0.10.9, "On the road again"
12171 2006-07-13 Wim Taymans <wim@fluendo.com>
12173 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12174 * tests/check/elements/filesrc.c: (GST_START_TEST):
12175 Revert pull-0 fix for release. Disable check. Fixes #347408.
12177 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12179 * libs/gst/dataprotocol/dataprotocol.c:
12180 (gst_dp_event_from_packet_1_0):
12181 Fixes #347337: failure to deserialize event packets with
12182 empty payload (only event type)
12184 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12187 do not install a .c file in the header directory
12189 2006-07-13 Edward Hervey <edward@fluendo.com>
12191 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12192 GhostPad no longer implicitely use the padtemplates of the targets.
12195 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
12197 * gst/gstvalue.c: (gst_value_compare_list),
12198 (gst_value_compare_array), (_gst_value_initialize):
12199 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12200 Make GstValueArray comparison be order dependent as designed.
12201 Add checks for value lists and value array comparisons.
12204 2006-07-11 Edward Hervey <edward@fluendo.com>
12206 * gst/gstbin.c: (activate_pads),
12207 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12208 (gst_bin_change_state_func):
12209 (de)activate src pads before calling state_change on the childs.
12210 This is to avoid the case where a src ghostpad is blocked (holding the
12211 stream lock), which would block the deactivation of the ghostpad's
12213 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12214 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12215 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12216 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12217 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12218 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12219 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12220 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12221 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12222 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12223 (gst_ghost_pad_class_init),
12224 (gst_ghost_pad_internal_do_activate_push),
12225 (gst_ghost_pad_internal_do_activate_pull),
12226 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12227 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12228 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12229 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12230 GhostPads now create their internal GstProxyPad at creation (and not
12231 when they're linked, as it was being done previously).
12232 The internal and target pads are linked straight away.
12233 The data will also travel through the other pad in order to make
12234 pad blocking and probes non-hackish (the probe/block now really happens
12235 on the GhostPad and not on the target).
12236 * gst/gstpad.c: (gst_pad_set_blocked_async),
12237 (gst_pad_link_prepare), (gst_pad_push_event):
12238 Remove previous ghostpad cruft.
12239 * gst/gstutils.c: (gst_pad_add_data_probe),
12240 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12241 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12242 (gst_pad_remove_buffer_probe):
12243 Remove previous ghost pad cruft.
12244 Added more detailed debug statements.
12245 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12246 Fix the testsuite for refcounting changes.
12247 The comments about who has references were correct, but the refcount
12248 being checked wasn't the same (!?!).
12252 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12254 * docs/gst/gstreamer-sections.txt:
12255 * gst/gstconfig.h.in:
12256 More docs for configuration options, add docs to gtk-doc.
12258 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12261 * gst/gstconfig.h.in:
12262 * win32/common/config.h:
12263 Fix build when disabling tracing (fixes #344016). Also start to document
12264 the defines that disable the sub-systems.
12266 2006-07-10 Edward Hervey <edward@fluendo.com>
12268 * gst/gst.c: (ensure_current_registry_forking):
12269 let's make valgrind happy...
12271 2006-07-09 Wim Taymans <wim@fluendo.com>
12273 * gst/gstelement.c: (activate_pads),
12274 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12275 Better pad activation code: Reset the collect value too on resync.
12278 2006-07-09 Wim Taymans <wim@fluendo.com>
12280 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12281 (gst_pad_activate_push):
12282 Use some more macros where it makes sense.
12283 Allow pad mode switching instead of asserting. When a pad
12284 is activated in one mode and we activate it in another,
12285 deactivate it first before activating it in a different mode.
12288 2006-07-08 Andy Wingo <wingo@pobox.com>
12290 * tools/gst-launch.c (main): Handle err == NULL.
12292 * gst/gst.c (init_post, ensure_current_registry)
12293 (ensure_current_registry_forking)
12294 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12295 factoring out the registry scanning into separate functions. Don't
12296 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12297 Better environment var name/interface suggestions accepted.
12299 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12301 * gst/gstobject.c: (gst_object_set_name_default),
12302 (gst_object_set_name):
12303 Random micro-optimisation: don't use a hash table
12304 with strings as keys and the usual strdup/strcmp
12305 involved, but rather just use the GQuark of the
12306 type name as key, since it needs to be looked up
12307 anyway to get the type name string.
12309 * tests/check/gst/gstobject.c: (GST_START_TEST):
12312 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12314 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12315 (gst_bin_iterate_all_by_interface):
12316 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12317 GTypes are gulongs and thus the top 4 bytes might be cut
12318 off on some platforms when doing GPOINTER_TO_INT, leading
12319 to invalid GTypes and bad things happening (see RH bug #179654).
12320 Also add a check to make sure the type passed in is really
12323 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12328 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12332 * gst-element-check.m4:
12333 * gst-element-check.m4.in:
12334 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12335 instead of the unversioned gst-inspect (#324176, #168659).
12337 2006-07-06 Wim Taymans <wim@fluendo.com>
12339 * gst/gstmessage.h:
12340 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12343 2006-07-06 Wim Taymans <wim@fluendo.com>
12345 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12346 (gst_base_src_wait), (gst_base_src_update_length),
12347 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12348 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12349 (gst_base_src_loop), (gst_base_src_start),
12350 (gst_base_src_activate_pull):
12352 blocksize == 0 now means the default blocksize when working in push
12354 Remove some pointless asserts in _wait function.
12355 Fix offset/length calculations and EOS handling. We can now pull 0
12356 bytes as well, which is allowed.
12357 use _check_get_range() to decide if we can operate in _pull based
12359 Fix refcounting leak when check_get_range function was not
12361 API GstBaseSrc::blocksize range can be 0 too now (default)
12363 * tests/check/elements/filesrc.c: (GST_START_TEST),
12365 Added check to test _get_range() behaviour.
12367 2006-07-06 Wim Taymans <wim@fluendo.com>
12369 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12370 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12371 (gst_pad_pull_range):
12373 Lots of comments and docs added to the pad functions.
12374 Flesh out the expected behaviour of the get_range() functions.
12376 2006-07-06 Wim Taymans <wim@fluendo.com>
12381 * gst/gstiterator.h:
12385 Remove comma at end of enumerator list.
12387 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12389 * win32/common/libgstbase.def:
12390 * win32/common/libgstdataprotocol.def:
12391 * win32/common/libsgtreamer.def:
12392 Add new exported functions.
12394 2006-07-05 Wim Taymans <wim@fluendo.com>
12396 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12397 Add some more docs here and there.
12399 2006-07-05 Wim Taymans <wim@fluendo.com>
12401 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12402 (gst_base_sink_loop), (gst_base_sink_get_position):
12403 When operating in pull mode update the offset so that we
12406 2006-07-05 Wim Taymans <wim@fluendo.com>
12408 * gst/gstregistryxml.c: (read_string):
12409 Avoid strdup. (will happen in libxml, but hey!)
12412 Add some more docs.
12414 2006-07-05 Wim Taymans <wim@fluendo.com>
12416 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12417 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12418 (gst_buffer_suite):
12419 No point in checking if the size of the subbuffer > 0, the
12420 code handles it correclty as demonstrated by unit test.
12421 Also add a unit test for the zero sized _new_and_alloc and
12422 _copy. Fixes #346663.
12424 2006-07-05 Wim Taymans <wim@fluendo.com>
12426 * libs/gst/base/gstbasetransform.c:
12427 (gst_base_transform_prepare_output_buffer),
12428 (gst_base_transform_buffer_alloc),
12429 (gst_base_transform_handle_buffer):
12430 Make sure the buffer we pass to transform_ip has a refcount of
12431 1 and thus is writable. Fixes #343196
12433 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12435 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12436 (gst_file_src_init), (gst_file_src_set_property),
12437 (gst_file_src_get_property), (gst_file_src_map_region):
12438 * plugins/elements/gstfilesrc.h:
12439 Add "sequential" property, off by default, to use madvise and hint
12440 to the kernel that sequential access is desired.
12441 Touch all retrieved pages by default to ensure they are pulled
12442 into memory. (Closes #345720)
12444 2006-07-03 Wim Taymans <wim@fluendo.com>
12446 * docs/design/part-block.txt:
12447 * docs/design/part-dynamic.txt:
12448 Small docs updates.
12450 2006-07-03 Wim Taymans <wim@fluendo.com>
12452 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12453 (gst_caps_unref), (gst_static_caps_get),
12454 (gst_caps_append_structure):
12455 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12456 Use GSlice when the glib we build against is >= 2.10
12458 2006-07-03 Wim Taymans <wim@fluendo.com>
12460 * gst/gstelement.c: (gst_element_pads_activate):
12461 Small cleanup in pad activation code.
12463 2006-07-03 Wim Taymans <wim@fluendo.com>
12465 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12467 * gst/gst-i18n-app.h:
12468 * gst/gst-i18n-lib.h:
12469 * tools/gst-inspect.c: (print_signal_info):
12470 The attached patch will make the inclusion of gettext.h unconditional in
12471 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12472 libintl.h in tools/gst-inspect.c.
12473 This allows use of --disable-nls again and fixes #344642.
12475 2006-07-03 Edward Hervey <edward@fluendo.com>
12477 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12478 Implement pad blocking on events according to part-block.txt.
12479 More comments on behaviour.
12480 * tests/check/gst/gstevent.c: (test_event):
12481 Send event to peer pad of blocked pad (else it will block).
12483 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12485 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12486 (gst_check_run_suite):
12487 if we get the wrong message, give us the types as string
12488 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12490 * tests/check/elements/filesrc.c: (GST_START_TEST):
12491 add a test for trying to open a non-existing file
12493 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12495 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12496 add a test for adding self
12498 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12500 * libs/gst/check/gstcheck.h:
12501 add some assert_ as alias for fail_unless_*
12502 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12503 increase test coverage
12505 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12508 include lcov.mak for lcov coverage generation
12509 * tools/Makefile.am:
12512 2006-07-02 Edward Hervey <edward@fluendo.com>
12514 * tests/check/elements/.cvsignore:
12517 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12520 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12521 * tests/check/Makefile.am:
12522 clean up gcov files
12524 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12526 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12527 remove gst_caps_simplify; it was not declared and not used
12528 and deprecated in 0.8
12530 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12532 * docs/faq/gst-uninstalled:
12533 don't put empty paths on PYTHONPATH
12534 * docs/gst/gstreamer-sections.txt:
12535 remove some symbols that are not there
12537 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12539 * gst/gstcaps.c: (gst_caps_compare_structures):
12541 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12542 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12545 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12547 * libs/gst/dataprotocol/Makefile.am:
12548 build dataprotocol test by linking to the lib, instead of
12549 compiling the source, so we get coverage
12550 * tests/check/Makefile.am:
12551 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12552 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12553 add a test for filesrc
12555 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12557 * tests/check/gst/gststructure.c: (GST_START_TEST),
12558 (gst_structure_suite):
12559 Push coverage from 59.04% to 70.00%
12561 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12563 * tests/check/Makefile.am:
12564 gst-inspect every element; this makes sure that we also get
12565 coverage on element's get/set functions
12567 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12570 set CFLAGS and friends to -O0 if gcov is being used
12573 * libs/gst/base/Makefile.am:
12574 * libs/gst/check/Makefile.am:
12575 * libs/gst/controller/Makefile.am:
12576 * libs/gst/dataprotocol/Makefile.am:
12577 * libs/gst/net/Makefile.am:
12578 * plugins/elements/Makefile.am:
12579 * plugins/indexers/Makefile.am:
12580 add makefile rules to generate gcov data and clean up
12581 * tests/check/Makefile.am:
12582 add a coverage target that generates an html overview
12585 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12587 * tests/check/elements/fakesink.c:
12588 * tests/check/elements/fakesrc.c:
12589 * tests/check/elements/fdsrc.c:
12590 * tests/check/elements/identity.c:
12591 * tests/check/generic/sinks.c: (gst_sinks_suite):
12592 * tests/check/generic/states.c:
12593 * tests/check/gst/gst.c:
12594 * tests/check/gst/gstabi.c:
12595 * tests/check/gst/gstbin.c:
12596 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12597 * tests/check/gst/gstbus.c: (gst_bus_suite):
12598 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12599 * tests/check/gst/gstelement.c:
12600 * tests/check/gst/gstevent.c: (gst_event_suite):
12601 * tests/check/gst/gstghostpad.c:
12602 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12603 * tests/check/gst/gstmessage.c: (gst_message_suite):
12604 * tests/check/gst/gstminiobject.c:
12605 * tests/check/gst/gstobject.c:
12606 * tests/check/gst/gstpad.c:
12607 * tests/check/gst/gstpipeline.c:
12608 * tests/check/gst/gstplugin.c:
12609 * tests/check/gst/gstquery.c: (gst_query_suite):
12610 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12611 * tests/check/gst/gststructure.c:
12612 * tests/check/gst/gstsystemclock.c:
12613 * tests/check/gst/gsttag.c:
12614 * tests/check/gst/gsttask.c: (gst_task_suite):
12615 * tests/check/gst/gstutils.c:
12616 * tests/check/gst/gstvalue.c:
12617 * tests/check/libs/adapter.c:
12618 * tests/check/libs/basesrc.c:
12619 * tests/check/libs/collectpads.c:
12620 * tests/check/libs/controller.c:
12621 * tests/check/libs/gdp.c: (gst_dp_suite):
12622 * tests/check/libs/gstnetclientclock.c:
12623 * tests/check/libs/gstnettimeprovider.c:
12624 * tests/check/libs/libsabi.c: (libsabi_suite):
12625 * tests/check/libs/typefindhelper.c:
12626 * tests/check/pipelines/cleanup.c:
12627 * tests/check/pipelines/parse-launch.c:
12628 * tests/check/pipelines/simple-launch-lines.c:
12629 * tests/check/pipelines/stress.c: (stress_suite):
12632 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12634 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12635 * libs/gst/check/gstcheck.h:
12636 create a macro and function so that the simple unit test
12637 case can be just one macro to create main()
12639 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12641 * gst/gstbin.c: (gst_bin_restore_thyself):
12642 * gst/gstxml.c: (gst_xml_make_element):
12643 Fix deserialisation from XML. Set parent manually
12644 instead of using gst_bin_add(), since gst_bin_add()
12645 will unlink all pads of the element being added.
12648 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12650 Patch by: Peter Kjellerstedt <pkj at axis com>
12652 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12653 Fix missing g_strdup() and double free when using the
12654 --gst-plugin-load command line option (#346097).
12656 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12659 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12661 * libs/gst/net/gstnetclientclock.c:
12662 * libs/gst/net/gstnettimeprovider.c:
12663 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12665 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12667 * docs/manual/advanced-dataaccess.xml:
12668 Fix buffer probe example compilation in
12671 2006-06-22 Edward Hervey <edward@fluendo.com>
12673 * gst/gstelement.c: (gst_element_pads_activate):
12674 We need to deactivate src pads first and then sink pads.
12675 The reason is the src pads might be blocking while holding the streaming
12676 lock, so we need to deactivate them first so that deactivating the sink
12677 pads doesn't block (since it will require the streaming lock).
12679 2006-06-22 Wim Taymans <wim@fluendo.com>
12681 * libs/gst/base/gstbasetransform.c:
12682 (gst_base_transform_buffer_alloc):
12683 Forgot to remove two unneeded unrefs.
12684 Simplify a check _is_equal allready checks the obvious case.
12686 2006-06-22 Wim Taymans <wim@fluendo.com>
12688 * docs/design/part-block.txt:
12689 Some docs about what pad_block should do.
12691 2006-06-22 Wim Taymans <wim@fluendo.com>
12693 * gst/gstcaps.c: (gst_caps_replace):
12694 Fix crasher when passed NULL. Doc clarification.
12695 Optimize for the trivial case.
12697 * gst/gstpipeline.c: (gst_pipeline_change_state):
12700 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12701 Small documentation cleanup.
12703 * libs/gst/base/gstbasetransform.c:
12704 (gst_base_transform_buffer_alloc):
12705 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12706 is what we need and it avoids a whole lot of redundant
12707 refcount operations.
12709 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12711 Patch by: Philip Jägenstedt <philip at lysator liu se>
12713 * docs/manual/advanced-dataaccess.xml:
12714 Fix 'Embedding static elements' section to use
12715 GST_PLUGIN_DEFINE_STATIC (#345607).
12717 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12719 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12720 Attempt to 'fix' spuriously failing test case: it seems like the
12721 timeout of half a second is simply too small when the system is under
12722 load otherwise, and the timeout doesn't really seem to serve any
12723 particular purpose here. Give the pipeline a few seconds to preroll
12724 first, and then give it another half a second to go from PAUSED to
12725 PLAYING and marshal the message into the main thread.
12727 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12729 * tools/gst-feedback-m.m:
12730 Don't only use unversioned tools, try versioned tools as well
12733 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12735 * gst/gstbus.c: (gst_bus_class_init):
12736 Fix some typos, make docs more explicit.
12738 2006-06-20 Wim Taymans <wim@fluendo.com>
12740 * tests/check/gst/gstghostpad.c: (block_callback),
12741 (GST_START_TEST), (gst_ghost_pad_suite):
12742 Added some more ghostpad tests, mainly blocking
12745 2006-06-16 Wim Taymans <wim@fluendo.com>
12747 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12748 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12749 (gst_file_sink_event), (gst_file_sink_render):
12750 * plugins/elements/gstfilesink.h:
12751 Check if we can seek in the file instead of assuming
12752 we always can. Post an error when we are asked to seek in a
12753 non-seekable file (like a fifo). Fixes #343312.
12756 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12758 * tools/gst-launch.1.in:
12759 Un-garble (fourcc) bit in filtered caps section.
12761 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12763 * docs/manual/advanced-autoplugging.xml:
12764 * docs/manual/basics-helloworld.xml:
12765 * docs/manual/highlevel-components.xml:
12766 Don't leak bus reference in sample code.
12768 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12771 Add default for new --enable-plugin-docs switch.
12774 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12777 * docs/Makefile.am:
12778 Use new ENABLE_PLUGIN_DOCS conditional.
12780 2006-06-14 Wim Taymans <wim@fluendo.com>
12782 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12783 Make it clear with a FIXME and a real define what the #if 0
12784 previously disabled.
12786 2006-06-14 Wim Taymans <wim@fluendo.com>
12788 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12789 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12790 * libs/gst/base/gstbasetransform.c:
12791 (gst_base_transform_sink_eventfunc):
12792 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12793 Don't randomly and silently reset a segment when the format
12794 changes as this is a bug somewhere upstream. Fixes #330379.
12796 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12798 Patch by: Wouter Paesen <wouter at kangaroot net>
12800 * libs/gst/controller/gstcontroller.c:
12801 (gst_controlled_property_new):
12802 Fix controlling of float properties (#344849).
12804 * tests/check/libs/controller.c:
12805 (gst_test_mono_source_get_property),
12806 (gst_test_mono_source_set_property),
12807 (gst_test_mono_source_class_init), (GST_START_TEST):
12808 While we're at it, add some float stuff to unit test.
12810 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12813 * docs/images/gdp-header.svg:
12815 * docs/libs/Makefile.am:
12816 * docs/libs/gdp-header.png:
12817 * libs/gst/dataprotocol/dataprotocol.c:
12818 add it to the API docs
12819 * docs/manual/intro-motivation.xml:
12822 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12824 * gst/gst.c: (scan_and_update_registry), (init_post):
12825 If the fork()'ed child process can't write the updated registry cache
12826 file to disk for some reason, make it exit with a failure exit code,
12827 so that the parent can then re-scan the plugins itself and update the
12828 registry structures in memory and work with that (rather than failing
12829 when creating elements because seemingly no plugins are available).
12830 Refactor registry scanning code into separate function for this and
12831 also separate fork() and non-fork() code paths. Fixes #344748.
12833 2006-06-13 Wim Taymans <wim@fluendo.com>
12835 * docs/manual/advanced-dataaccess.xml:
12836 Fix wrong PluginDesc. Fixes #344755.
12838 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12840 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12841 Fix silly bug that prevented us from creating
12842 ~/.gstreamer-0.10 and writing the registry in one
12843 go (the first call to g_mkstemp() would overwrite the
12844 placeholder in the template string, so the second call
12845 to g_mkstemp() after creating the missing directory
12846 would then error out with 'invalid argument').
12848 2006-06-13 Edward Hervey <edward@fluendo.com>
12850 * gst/gst.c: (init_post):
12853 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12855 * gst/glib-compat-private.h:
12856 * gst/glib-compat.c:
12857 * gst/glib-compat.h:
12858 * gst/gstvalue.c: (gst_value_serialize_flags):
12859 remove GLib 2.6 compatibility code
12861 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12863 * gst/parse/Makefile.am:
12864 Fix build with 'make -j N' even more (#340016).
12866 2006-06-12 Wim Taymans <wim@fluendo.com>
12868 * docs/gst/gstreamer-sections.txt:
12871 2006-06-12 Wim Taymans <wim@fluendo.com>
12873 * gst/gstsegment.c: (gst_segment_set_duration),
12874 (gst_segment_set_last_stop), (gst_segment_set_seek),
12875 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12876 (gst_segment_to_running_time), (gst_segment_clip):
12877 Use G_UNLIKELY to help the compiler a bit.
12879 2006-06-12 Wim Taymans <wim@fluendo.com>
12881 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12883 * gst/gstevent.c: (gst_event_get_type):
12884 * gst/gstmessage.c:
12885 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12887 constify quark registration strings. Fixes #344115
12888 Avoid unneeded type checking is _pad_push() by internally
12889 calling gst_pad_chain_unchecked().
12891 2006-06-12 Wim Taymans <wim@fluendo.com>
12893 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12894 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12895 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12896 (gst_buffer_is_span_fast), (gst_buffer_span):
12897 Init _type for consistency.
12898 Use _FLAGS macro to avoid type check.
12899 Avoid unneeded type checks in subbufer code.
12901 2006-06-12 Wim Taymans <wim@fluendo.com>
12903 * gst/gst.c: (gst_debug_help):
12904 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12905 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12906 (gst_plugin_feature_list_free):
12907 * gst/gstregistry.c: (gst_registry_add_plugin),
12908 (gst_registry_add_feature), (gst_registry_plugin_filter),
12909 (gst_registry_feature_filter), (gst_registry_find_plugin),
12910 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12911 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12912 * gst/gstregistryxml.c: (load_feature),
12913 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12914 * gst/gstminiobject.c: (gst_mini_object_unref),
12915 (gst_mini_object_replace), (gst_value_mini_object_free),
12916 (gst_value_mini_object_copy):
12917 Use _CAST macros to avoid unneeded type checking.
12918 Added some more G_UNLIKELY.
12920 2006-06-12 Wim Taymans <wim@fluendo.com>
12923 Avoid unneeded type checking.
12924 API: GST_BUFFER_IS_DISCONT
12926 * gst/gstminiobject.h:
12927 Avoid type check in flag accessor.
12929 * gst/gstelementfactory.h:
12931 * gst/gstpluginfeature.h:
12933 API: GST_ELEMENT_FACTORY_CAST
12934 API: GST_PLUGIN_CAST
12935 API: GST_PLUGIN_FEATURE_CAST
12937 2006-06-12 Wim Taymans <wim@fluendo.com>
12939 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12940 (gst_object_unref):
12941 Add G_UNLIKELY in type registration.
12942 Avoid type check in _ref/_unref since that is also
12945 2006-06-12 Wim Taymans <wim@fluendo.com>
12947 * gst/gsterror.c: (gst_g_error_get_type):
12948 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12949 (gst_static_pad_template_get_type):
12950 * gst/gsttaglist.c: (gst_tag_list_get_type):
12951 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12952 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12953 * gst/gsturi.c: (gst_uri_handler_get_type):
12954 * gst/gstvalue.c: (gst_date_get_type):
12955 * gst/gstxml.c: (gst_xml_get_type):
12956 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12957 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12958 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12959 Add G_UNLIKELY in type registration.
12961 2006-06-12 Wim Taymans <wim@fluendo.com>
12963 * tools/gst-inspect.c: (print_signal_info):
12964 Properly print enum values.
12966 2006-06-12 Wim Taymans <wim@fluendo.com>
12968 * gst/gstinfo.c: (gst_debug_set_active),
12969 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12971 Add some G_[UN]LIKELY.
12972 Maintain __gst_debug_min to avoid formatting the arguments of
12973 debug messages that will be dropped anyway to avoid a lot of
12974 overhead from the debugging system.
12976 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12979 * po/POTFILES.skip:
12980 add missing files containing translatable strings, tell intltool about
12983 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12985 * tests/check/libs/.cvsignore:
12986 add test-binary to ignore list
12988 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12990 * docs/libs/gstreamer-libs-docs.sgml:
12991 reorder (put dp into a chapter) and indent
12993 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12998 === release 0.10.8 ===
13000 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13003 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13005 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13007 * gst/gst.c: (init_post):
13008 move pid declaration to declaration block
13010 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13012 * gst/gst.c: (init_post):
13013 use _exit() instead of exit() in our forked child; this ensures
13014 that none of the registered exit handlers from whatever is using
13015 GStreamer get executed. This fixes gnome-mixer-applet failing
13016 to load, because ORBit would shut down.
13017 Spotted by: Edward Hervey <edward@fluendo.com>
13018 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
13021 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13026 === release 0.10.7 ===
13028 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13031 releasing 0.10.7, "Soepeke, ik zie ou"
13033 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
13056 * win32/common/config.h:
13057 0.10.6.2 prerelease
13059 2006-06-07 Wim Taymans <wim@fluendo.com>
13061 * gst/gstindex.c: (gst_index_gtype_resolver):
13062 * tools/gst-xmlinspect.c: (print_plugin_info):
13063 Fix leak spotted by coverity checker. Fixes #343827
13064 Fix another other leak found by paolo borelli.
13066 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13068 * libs/gst/dataprotocol/dataprotocol.c:
13069 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13070 (gst_dp_version_get_type), (gst_dp_init),
13071 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13072 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13073 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13074 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13075 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13076 (gst_dp_packetizer_free):
13077 * libs/gst/dataprotocol/dataprotocol.h:
13078 API: add a GstDPPacketizer object, and create/free functions
13079 API: add GstDPVersion enum
13080 Add 1.0 event function that uses the string serialization
13081 Serialize more useful buffer flags
13084 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13086 * tests/check/Makefile.am:
13087 * tests/check/gst/gstabi.c:
13088 * tests/check/gst/struct_ppc64.h:
13089 * tests/check/libs/libsabi.c:
13090 * tests/check/libs/struct_ppc64.h:
13091 add ppc64 structure sizes
13093 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13095 * tests/check/Makefile.am:
13096 * tests/check/gst/gstabi.c:
13097 * tests/check/gst/struct_x86_64.h:
13098 * tests/check/libs/libsabi.c:
13099 * tests/check/libs/struct_x86_64.h:
13100 generate and add structure size lists for x86_64
13102 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13104 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13105 * libs/gst/check/gstcheck.h:
13106 factor out the method from tests that checks size of structures,
13107 and add code to generate the header containing these sizes
13108 * tests/check/gst/gstabi.c: (GST_START_TEST):
13109 * tests/check/gst/struct_i386.h:
13110 * tests/check/libs/libsabi.c: (GST_START_TEST):
13111 * tests/check/libs/struct_i386.h:
13114 2006-06-06 Michael Smith <msmith@fluendo.com>
13116 * gst/gstsegment.h:
13117 Don't use c++-style comments, fixes #343929
13119 2006-06-05 Edward Hervey <edward@fluendo.com>
13122 plugin_paths is not used if we build without registry support.
13124 * gst/gstsegment.c: (gst_segment_copy):
13125 _copy() was always returning NULL...
13127 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13129 * libs/gst/dataprotocol/dataprotocol.c:
13130 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13131 (gst_dp_packet_from_event):
13132 factor out CRC code
13134 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13136 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13137 make sure we unset caps
13139 2006-06-02 Michael Smith <msmith@fluendo.com>
13141 * libs/gst/check/gstcheck.c: (gst_check_init),
13142 (gst_check_chain_func):
13143 * libs/gst/check/gstcheck.h:
13144 Add a cond/mutex to the check support lib, signal this whenever we
13145 add to the buffers list. This will allow tests to not busy-wait on
13148 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13150 * libs/gst/dataprotocol/dataprotocol.c:
13151 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13152 (gst_dp_packet_from_event):
13153 factor out some common header init code
13155 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13157 * docs/libs/gstreamer-libs-sections.txt:
13158 * docs/libs/tmpl/gstdataprotocol.sgml:
13159 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13160 * libs/gst/dataprotocol/dataprotocol.h:
13161 API: make gst_dp_crc() public
13163 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13165 * plugins/indexers/gstindexers.c: (plugin_init):
13166 conditionally register fileindexer (fixes #343598)
13168 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13170 * gst/gsttagsetter.h:
13171 Can't cast ifaces to a class
13173 * libs/gst/net/gstnetclientclock.h:
13174 * libs/gst/net/gstnettimeprovider.h:
13175 * plugins/elements/gstfakesink.h:
13176 * plugins/elements/gstfakesrc.h:
13177 * plugins/elements/gstfdsink.h:
13178 * plugins/elements/gstfdsrc.h:
13179 * plugins/elements/gstfilesink.h:
13180 * plugins/elements/gstfilesrc.h:
13181 * plugins/elements/gstidentity.h:
13182 * plugins/elements/gstqueue.h:
13183 * plugins/elements/gsttee.h:
13184 * plugins/indexers/gstfileindex.c:
13185 * plugins/indexers/gstmemindex.c:
13186 * tests/old/examples/plugins/example.h:
13187 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13189 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
13191 * libs/gst/dataprotocol/dataprotocol.c:
13192 (gst_dp_header_from_buffer):
13193 make sure we zero the whole ABI-compatible area
13195 2006-06-01 Wim Taymans <wim@fluendo.com>
13197 Patch by: Alessandro Decina <alessandro at nnva dot org>
13199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13200 Make sure the EOS flag is cleared from pads after a flush
13201 or stop. Fixes #343538.
13203 * tests/check/libs/collectpads.c: (GST_START_TEST),
13204 (gst_collect_pads_suite):
13205 Added test for collectpads reusage after EOS.
13207 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
13210 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13211 * win32/common/libgstbase.def:
13212 export gst_collect_pads_set_flushing
13213 * win32/common/libgstreamer.def:
13214 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13215 gst_value_fraction_multiply
13216 * win32/vs6/gst_inspect.dsp:
13217 add a link to intl.lib
13219 2006-05-30 Wim Taymans <wim@fluendo.com>
13221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13222 (gst_collect_pads_chain):
13223 Handle the case where a pad is removed from the collection
13224 that could cause the other pads to become collectable.
13226 2006-05-30 Wim Taymans <wim@fluendo.com>
13228 * gst/gstelement.c:
13229 Clarify the use of _release_request_pad() and
13230 _get_request_pad() a bit better.
13232 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13233 (gst_adapter_take_buffer):
13234 Fix some doc and comment typos.
13236 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13238 * docs/gst/gstreamer-sections.txt:
13239 * docs/libs/gstreamer-libs-sections.txt:
13240 add declared symbols
13242 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
13244 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13245 Add debug that can be enabled using a #define at the top of the file,
13246 for dumping stats about how late/early we were when waking up from
13247 waiting on the clock.
13249 2006-05-30 Wim Taymans <wim@fluendo.com>
13251 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13252 When rebuilding the pad list, don't leak the previous list.
13254 2006-05-30 Wim Taymans <wim@fluendo.com>
13256 Patch by: Lutz Mueller <lutz at topfrose dot de>
13258 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13259 (gst_base_src_get_query_types), (gst_base_src_update_length):
13260 Publish supported query types.
13261 Update last_stop field in get_range mode so the position
13262 query works. Fixes #342321.
13264 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
13266 * docs/gst/gstreamer-sections.txt:
13267 * gst/gsttaglist.c: (_gst_tag_initialize):
13268 * gst/gsttaglist.h:
13269 API: add GST_TAG_PREVIEW_IMAGE (#343341).
13271 2006-05-30 Wim Taymans <wim@fluendo.com>
13273 Patch by: Alessandro Decina <alessandro at nnva dot org>
13275 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13276 Unlock mutex when removing an unknown pad.
13279 * tests/check/Makefile.am:
13280 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13281 (push_event), (setup), (teardown), (GST_START_TEST),
13282 (gst_collect_pads_suite), (main):
13283 Added collecpads check, disabled for now as check crashes for
13286 2006-05-29 Wim Taymans <wim@fluendo.com>
13288 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13289 Don't leak pads lists.
13291 2006-05-29 Wim Taymans <wim@fluendo.com>
13293 * docs/libs/gstreamer-libs-sections.txt:
13294 * libs/gst/base/gstcollectpads.c:
13295 (gst_collect_pads_set_flushing_unlocked),
13296 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13297 (gst_collect_pads_stop):
13298 * libs/gst/base/gstcollectpads.h:
13299 API: gst_collect_pads_set_flushing()
13300 Added api to set the pads to flushing, useful for seeking
13301 code in elements using collectpads.
13302 Clear segment when receiving a flush.
13304 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13306 * gst/gst.c: (add_path_func), (init_post):
13307 Don't scan registry paths passed via --gst-plugin-path immediately
13308 (will crash, because absolutely nothing is set up and no types are
13309 registered etc.); do this later in init_post(). Fixes #343057.
13311 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13313 * gst/gst.c: (init_post):
13314 if we have fork, fork while reading/rebuilding the registry
13315 so the parent doesn't take the hit of having all plugins loaded
13316 in memory. Fixes #342777.
13318 Check if we have fork()
13319 * win32/common/config.h.in:
13322 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13324 * plugins/elements/gstelements.c:
13325 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13326 (gst_file_src_init), (gst_file_src_set_property),
13327 (gst_file_src_get_property), (gst_file_src_start):
13328 * plugins/elements/gstfilesrc.h:
13329 API: GstFileSrc::use-mmap
13331 Add a use-mmap property to enable easier testing of all code paths.
13332 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13333 in the absence of gnomevfssrc. (Closes #340501)
13335 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13337 * tools/gst-inspect.c:
13338 Add missing include, removes warning of ngettext not being defined on
13341 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13343 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13344 Handle NULL input and output pointers silently as a failed conversion,
13345 rather than g_warnings.
13347 2006-05-25 Wim Taymans <wim@fluendo.com>
13349 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13350 Initialize variable before using. Fixes #342820.
13352 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13354 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13355 Fix off-by-one bug that would only allow peeks of N-1 bytes
13356 from the start even if the buffer to typefind on contains
13357 in fact N bytes of data (makes vorbis typefinding from a
13358 vorbis identification header buffer work).
13360 * tests/check/Makefile.am:
13361 * tests/check/libs/.cvsignore:
13362 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13363 (gst_typefindhelper_suite), (main), (foobar_typefind),
13365 Add very basic unit test for gst_type_find_helper_for_buffer()
13366 that checks for the problem fixed above.
13368 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13370 * tools/gst-inspect.c: (print_interfaces),
13371 (print_element_properties_info), (print_element_list), (main):
13372 add more translatable strings
13374 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13376 Patch by: Julien Moutte <julien at moutte net>
13378 * docs/gst/gstreamer-sections.txt:
13379 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13381 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13382 (gst_fake_sink_preroll):
13383 * plugins/elements/gstfakesink.h:
13384 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13386 2006-05-23 Wim Taymans <wim@fluendo.com>
13388 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13390 Added _CUSTOM error and success GstFlowReturn that can be
13391 used be elements internally.
13392 Added macro to check for SUCCESS flowreturns.
13393 API: GST_FLOW_CUSTOM_SUCCESS
13394 API: GST_FLOW_CUSTOM_ERROR
13395 API: GST_FLOW_IS_SUCCESS
13397 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13398 Added check for GstFlowReturn sanity.
13400 2006-05-23 Wim Taymans <wim@fluendo.com>
13402 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13404 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13405 (gst_collect_pads_event):
13406 clear/reset segment info in FLUSH_STOP.
13409 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13411 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13412 (gst_collect_pads_check_collected):
13413 Flush queued buffer on _stop(), fixes playing again (#342454)
13415 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13417 * tests/check/gst/gststructure.c: (GST_START_TEST),
13418 (gst_structure_suite):
13419 add a test for a complete structure
13421 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13423 * docs/faq/developing.xml:
13424 * docs/faq/faq.xml:
13425 * docs/faq/troubleshooting.xml:
13426 * docs/faq/using.xml:
13427 Some minor FAQ updates that won't change the fact that
13428 our FAQ is badly structured, full of information hardly
13429 anyone new to GStreamer needs to know and lacking lots
13430 of information people constantly ask for.
13432 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13434 * gst/gstpad.c: (gst_pad_set_caps):
13435 Short-circuit gst_pad_set_caps if setting the existing
13436 caps pointer again, and avoid printing debug and
13437 reffing/unreffing the caps.
13439 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13440 There's actually no need to set the caps before pushing -
13441 the acceptcaps method will handle it anyway.
13443 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13445 * docs/gst/gstreamer-sections.txt:
13446 * win32/common/libgstreamer.def:
13447 * gst/gstutils.c: (gst_element_seek_simple):
13449 API: add gst_element_seek_simple() (#342238).
13451 2006-05-18 Edward Hervey <edward@fluendo.com>
13453 * gst/gsttypefind.c: (gst_type_find_get_type):
13454 * gst/gsttypefind.h:
13455 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13456 registered for GstTypeFind pointers. This allows wrapping the structure
13457 in bindings (i.e. gst-python).
13459 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13461 * gst/gsttagsetter.c:
13462 Docs additions and fixes (see #339918).
13464 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13466 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13467 The caps intersection algorithm can produce multiple copies of the
13468 caps. Until that is fixed, we need to simplify the result to be
13469 sure whether the allowed caps are fixed or not.
13471 * plugins/elements/gstqueue.c: (gst_queue_init),
13472 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13473 (gst_queue_push_one):
13474 Proxied buffer alloc should not set the caps on the source pad.
13475 When pushing buffers, we always accept the caps change that triggers.
13476 This prevents negotiation errors caused by caps changing mid-stream
13477 and then being refused on our source pad (because upstream is now
13478 refusing those caps).
13480 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13482 * tests/examples/helloworld/helloworld.c: (main):
13483 Must plug audioconvert and audioresample between decoder
13486 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13488 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13489 (load_feature), (load_plugin):
13490 Allow empty strings for some of the plugin fields so we don't
13491 drop valid plugin entries that were written out correctly
13494 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13496 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13497 Use g_remove and g_rename instead of remove and rename that don't
13498 handle utf8 characters. rename was failing for users who had specific
13499 characters in their name then the registry was built at each
13501 * win32/vs6/gst_inspect.dsp:
13502 * win32/vs6/gst_launch.dsp:
13503 * win32/vs6/libgstbase.dsp:
13504 * win32/vs6/libgstcoreelements.dsp:
13505 * win32/vs6/libgstreamer.dsp:
13506 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13507 build of libgstreamer and clean unused libraries in projects link
13510 2006-05-17 Edward Hervey <edward@fluendo.com>
13512 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13513 The queue is not responsible for pushing an EOS when receiving a fatal
13514 flow error. It's up to the real element driving the pipeline to do that.
13516 2006-05-16 Edward Hervey <edward@fluendo.com>
13518 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13519 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13520 buffer returned a fatal error. It should just send an EOS and stop
13522 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13523 when pushing buffers on the queue and will be able to handle the event.
13525 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13527 * docs/manual/basics-bins.xml:
13528 * docs/manual/basics-init.xml:
13529 Fix typos and minor errors in sample code (#341856).
13531 2006-05-16 Wim Taymans <wim@fluendo.com>
13533 * docs/design/part-qos.txt:
13534 Fix indexes in formulas to make more sense.
13536 2006-05-15 Wim Taymans <wim@fluendo.com>
13538 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13539 Don't report POSITION based on clock time if sync is
13540 disabled in a sink.
13542 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13545 Add cast to make compiler happy - refcount variable was a gint
13546 in GstObject but is a guint in GObject and g_atomic_int_get()
13549 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13551 * gst/parse/Makefile.am:
13552 chain commands using &&, which also makes parallel make work
13554 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13556 * docs/gst/gstreamer-sections.txt:
13559 * gst/gstmessage.h:
13562 === release 0.10.6 ===
13564 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13567 releasing 0.10.6, "Take the cannoli"
13569 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13571 * tools/gst-launch.c: (print_tag):
13572 Fix use of uninitialized variable in the hypothetical
13573 case that some broken plugin creates a GST_TAG_IMAGE
13574 tag containing a NULL buffer (#341667).
13576 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13578 * tools/gst-launch.c: (print_tag):
13579 Print something more intelligible for image tags when
13580 using the -t switch (#341556).
13582 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13587 define GST_MAJORMINOR so we have it available in win32/common/config.h
13588 Possibly remove it from our Makefile.am files later
13589 * win32/common/config.h:
13590 * win32/common/config.h.in:
13591 added GST_MAJORMINOR
13592 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13593 * win32/common/gstversion.h:
13596 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13599 Update win32 files listing.
13600 * win32/common/gstversion.h:
13601 Add GST_MAJORMINOR definition.
13602 * win32/common/libgstreamer.def:
13603 Add new exported functions.
13605 2006-05-12 Michael Smith <msmith@fluendo.com>
13607 * gst/gstplugin.c: (gst_plugin_load_file):
13608 If an so file has no plugin entry point, unload the module.
13610 2006-05-11 Wim Taymans <wim@fluendo.com>
13612 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13613 (gst_queue_set_property):
13614 Don't forget to signal the _chain or _loop function
13615 when the queue size or thresholds change since that might
13616 cause them to make progres again.
13618 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13620 * gst/gstclock.c: (gst_clock_class_init):
13621 * gst/gstindex.c: (gst_index_class_init):
13622 * gst/gstobject.c: (gst_object_class_init):
13623 * gst/gstpad.c: (gst_pad_class_init):
13624 * gst/gstpipeline.c: (gst_pipeline_class_init):
13625 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13626 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13627 * libs/gst/base/gstbasetransform.c:
13628 (gst_base_transform_class_init):
13629 * libs/gst/net/gstnetclientclock.c:
13630 (gst_net_client_clock_class_init):
13631 * libs/gst/net/gstnettimeprovider.c:
13632 (gst_net_time_provider_class_init):
13633 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13634 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13635 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13636 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13637 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13638 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13639 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13640 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13641 * plugins/elements/gsttee.c: (gst_tee_class_init):
13642 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13643 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13644 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13646 2006-05-11 Wim Taymans <wim@fluendo.com>
13648 * gst/gstbuffer.c: (_gst_buffer_initialize):
13649 Register subbufer along with the buffer type so that
13650 it does not accidentally gets registered from N
13651 different streaming threads in a non threadsafe way.
13653 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13657 * gst/gstmessage.h:
13658 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13659 gst_event_ref() and gst_message_ref() functions again
13660 (ugly hack, please do fix if there's a better way besides
13661 overrides.txt, which doesn't seem to work).
13663 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13665 * libs/gst/check/gstcheck.h:
13666 add an assert for setting state to avoid lots of repetitive code
13669 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13671 * gst/gstvalue.c: (gst_value_serialize_flags):
13672 fix a leak if no flags are set
13673 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13676 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13678 * docs/manual/basics-pads.xml:
13679 Expand a bit on caps and filtered links and update
13680 examples that were still using the no longer existing
13681 gst_pad_link_filtered() (#338206).
13683 2006-05-10 Wim Taymans <wim@fluendo.com>
13685 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13686 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13687 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13688 (gst_collect_pads_stop):
13689 * libs/gst/base/gstcollectpads.h:
13690 No need to call _stop in _finalize.
13691 Iterate the main pad list in _finalize.
13692 Added some more debug.
13693 Free lists and data in the right order.
13694 Also free data whem doing _remove_pad when stopped for
13695 backward compatibility protect ::started with PAD_LOCK as
13698 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13701 (gst_structure_parse_value):
13703 rename a method so that it actually says what it does better
13705 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13707 * gst/gstevent.c: (_gst_event_initialize):
13708 * gst/gstformat.c: (_gst_format_initialize):
13709 make sure some essential types used by events are registered
13710 as part of gst_init()
13711 * gst/gstvalue.c: (gst_value_serialize_flags):
13712 if no flags are set, serialize them to a value that represents NONE
13713 so that deserializing them works
13714 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13715 add tests for serialization and deserialization of flags
13717 2006-05-10 Wim Taymans <wim@fluendo.com>
13719 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13720 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13721 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13722 (gst_collect_pads_event), (gst_collect_pads_chain):
13725 Catch and return errors from the collect function
13726 Refuse data on eos pads.
13728 2006-05-10 Edward Hervey <edward@fluendo.com>
13730 * gst/gstinterface.h:
13731 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13732 GInterface type checking.
13733 They were previously using non-defined macros.
13735 2006-05-09 Wim Taymans <wim@fluendo.com>
13737 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13738 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13739 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13740 (gst_collect_pads_start), (gst_collect_pads_stop),
13741 (gst_collect_pads_peek), (gst_collect_pads_pop),
13742 (gst_collect_pads_available), (gst_collect_pads_read),
13743 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13744 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13745 (gst_collect_pads_chain):
13746 * libs/gst/base/gstcollectpads.h:
13747 Clean up the mess that is collectpads, add comments and
13748 FIXMEs where needed.
13749 Maintain a separate pad list so we can add pads while
13750 collecting the other ones. For this we need a new separate
13752 Fix memory leak in finalize.
13753 Refactor some weird code to set/unset pad flushing flags, mark
13755 Don't crash in _available, _read, _flush when we're EOS.
13757 * tests/check/libs/.cvsignore:
13758 Ignore adapter check binary.
13760 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13762 * gst/gstindex.c: (gst_index_resolver_get_type):
13763 * plugins/elements/gstfakesink.c:
13764 (gst_fake_sink_state_error_get_type):
13765 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13766 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13767 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13768 Const-ify GEnumValue arrays.
13770 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13772 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13773 Add test case for flags + gst_buffer_make_metadata_writable().
13775 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13777 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13778 gst_buffer_make_metadata_writable() should maintain the
13779 buffer flags (those that make sense at least) (see #340859).
13781 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13783 * tools/gst-inspect.c:
13784 * tools/gst-launch.c:
13785 * tools/gst-typefind.c:
13786 * tools/gst-xmlinspect.c:
13788 Fix up includes: need to include stdlib.h in tools.h for exit().
13790 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13792 * gst/gsttaglist.c: (_gst_tag_initialize):
13793 * gst/gsttaglist.h:
13794 API: add GST_TAG_IMAGE tag (#340721).
13796 2006-05-08 Wim Taymans <wim@fluendo.com>
13799 Added some docs for the segment query.
13801 2006-05-08 Wim Taymans <wim@fluendo.com>
13803 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13804 (gst_base_src_loop), (gst_base_src_change_state):
13805 Always push non-flushing serialized events in the streaming
13808 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13810 * gst/gsterror.c: (_gst_stream_errors_init):
13811 Add a missing error string.
13813 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13815 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13816 Add applied_rate to the debug
13818 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13819 Copy applied_rate into the outgoing NEWSEGMENT event
13821 2006-05-08 Wim Taymans <wim@fluendo.com>
13823 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13825 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13826 (gst_base_sink_change_state):
13827 call ::unlock before taking the PREROLL_LOCK so we can safely
13828 handle elements that lock in ::render.
13831 2006-05-08 Edward Hervey <edward@fluendo.com>
13833 * autogen.sh: (CONFIGURE_DEF_OPT):
13834 Darwin's libtoolize is in fact called glibtoolize.
13835 Adding glibtoolize to the list of accepted names for libtoolize.
13837 2006-05-08 Wim Taymans <wim@fluendo.com>
13839 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13840 Unify error handling, don't post an error message
13841 when a push() returns EOS but perform our normal EOS
13842 handling code. Fixes #340772.
13844 2006-05-08 Wim Taymans <wim@fluendo.com>
13846 * docs/design/part-overview.txt:
13847 Make upsteam/downstream concepts more clear.
13848 Give an example of serialized/non-serialized events.
13850 * docs/design/part-events.txt:
13851 * docs/design/part-streams.txt:
13852 Mention applied_rate.
13854 * docs/design/part-trickmodes.txt:
13855 Mention applied rate, flesh out some more use cases.
13857 * gst/gstevent.c: (gst_event_new_new_segment),
13858 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13859 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13860 (gst_event_parse_tag), (gst_event_new_buffer_size),
13861 (gst_event_parse_buffer_size), (gst_event_new_qos),
13862 (gst_event_parse_qos), (gst_event_parse_seek),
13863 (gst_event_new_navigation):
13865 Add applied_rate field to NEWSEGMENT event.
13866 API: gst_event_new_new_segment_full()
13867 API: gst_event_parse_new_segment_full()
13869 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13870 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13871 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13872 * gst/gstsegment.h:
13873 Add applied_rate to GstSegment structure.
13874 Make calculation of stream_time and running_time more correct
13875 wrt rate/applied_rate.
13876 Add some more docs.
13877 API: GstSegment::applied_rate field
13878 API: gst_segment_set_newsegment_full();
13880 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13881 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13882 * libs/gst/base/gstbasetransform.c:
13883 (gst_base_transform_sink_eventfunc),
13884 (gst_base_transform_handle_buffer):
13885 Parse and use applied_rate in the GstSegment field.
13887 * tests/check/gst/gstevent.c: (GST_START_TEST):
13888 Add check for applied_rate field.
13890 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13891 (gstsegments_suite):
13892 Add more checks for various GstSegment operations.
13894 2006-05-08 Wim Taymans <wim@fluendo.com>
13896 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13897 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13898 (gst_base_sink_get_position), (gst_base_sink_change_state):
13899 Store the sync time of the buffer end position separatly in a
13900 new variable eos_rtime so we can properly sync the EOS event.
13902 Fix the docs for gst_base_sink_set_qos_enabled().
13903 Don't set segment start to invalid value when we receive a
13904 non TIME newsegment.
13905 get closer to handling position reporting for negative rates
13908 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13911 Docs about how to print caps for debug purposes.
13913 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13914 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13916 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13918 * gst/gstelement.c:
13919 use full enum names and preprend a '%' in docs strings to make recent
13920 gtk-doc turn that into a link
13922 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13924 * docs/manual/basics-bins.xml:
13925 * docs/manual/basics-bus.xml:
13926 * docs/manual/basics-pads.xml:
13927 Some typo fixes, some additions, some clarifications.
13929 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13931 * tools/gst-inspect.c: (main):
13932 * tools/gst-launch.c: (main):
13933 * tools/gst-run.c: (main):
13934 * tools/gst-typefind.c: (main):
13935 * tools/gst-xmlinspect.c: (main):
13936 Use the string passed to g_option_context_new() for
13937 what it's intended for - the program name is already
13940 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13942 * tools/Makefile.am:
13943 * tools/gst-inspect.c: (main):
13944 * tools/gst-launch.c: (main):
13945 * tools/gst-xmlinspect.c: (main):
13947 Add back --version command line option (#340460).
13949 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13950 Add --version option and use GOption for argument parsing; refactor a
13951 bit; accept directories as arguments and recurse into them; lastly,
13952 print a decent error message when things go wrong.
13954 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13956 * docs/manual/basics-bins.xml:
13957 Don't mention GstThread (#340611)
13958 * docs/manual/basics-elements.xml:
13959 Update link to GObject tutorial (#340607)
13961 2006-05-05 Wim Taymans <wim@fluendo.com>
13964 * gst/gstminiobject.c:
13965 Add note about refcounting and miniobject/buffer writeability
13966 to docs. Fixes #340604
13968 * gst/gstelementfactory.h:
13969 Added some explanation about @klass.
13971 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13973 * docs/manual/intro-motivation.xml:
13974 * docs/manual/manual.xml:
13975 Avoid CORBA & Bonobo references (#340598)
13977 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13979 * docs/manual/basics-bus.xml:
13980 * docs/manual/basics-pads.xml:
13981 Fix up some inaccuracies and omissions (#340609)
13983 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13985 * gst/gstghostpad.c:
13986 Small typo in docs (#340625)
13988 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13990 * gst/parse/Makefile.am:
13991 Make 'make -j' proof (see #340698).
13993 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13996 Require GLib-2.8 here as well.
13998 2006-05-05 Wim Taymans <wim@fluendo.com>
14000 * gst/glib-compat.c:
14001 * gst/gst.c: (init_pre):
14002 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14003 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14004 (gst_object_dispatch_properties_changed):
14006 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14007 * gst/gststructure.c: (gst_structure_set_valist):
14008 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14009 Remove pre glib2.8 compatibility, fixes #340508
14011 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14013 * gst/gsttaglist.h:
14014 Mention type of tags in doc blurbs.
14016 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
14018 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14019 (gst_pad_configure_src), (gst_pad_push):
14020 Restore acceptcaps checking behaviour now that good plugins have
14023 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14025 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14032 * gst/gstmessage.c:
14036 * gst/parse/Makefile.am:
14037 * libs/gst/base/gstadapter.c:
14038 * libs/gst/base/gstbasesrc.c:
14039 * libs/gst/base/gstpushsrc.c:
14040 * libs/gst/base/gsttypefindhelper.c:
14041 * plugins/elements/gstfakesrc.c:
14042 * plugins/elements/gstidentity.c:
14043 Make sure gstprivate.h and/or config.h are
14044 always included first, otherwise some of our
14045 defines (like _FILE_OFFSET_BITS) might be
14046 redefined in the system headers. Fixes build
14047 on opensolaris (#340016).
14049 2006-05-04 Wim Taymans <wim@fluendo.com>
14051 * docs/libs/gstreamer-libs-sections.txt:
14052 API: addition: gst_adapter_take_buffer()
14054 * libs/gst/base/gstadapter.c: (gst_adapter_push),
14055 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14056 (gst_adapter_available_fast):
14057 * libs/gst/base/gstadapter.h:
14058 Prepare for optimizing the hell out of this hugely inefficient
14060 Added gst_adapter_take_buffer() so we can at least start thinking
14061 about subbuffering and merging.
14062 Added some comments.
14064 * tests/check/Makefile.am:
14065 * tests/check/libs/adapter.c: (GST_START_TEST),
14066 (gst_adapter_suite), (main):
14067 Added GstAdapter check.
14069 2006-05-04 Wim Taymans <wim@fluendo.com>
14071 * docs/design/part-overview.txt:
14072 Fix some typos, add blurb about buffer flags.
14074 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
14076 * docs/libs/gstreamer-libs-sections.txt:
14077 make sure GstBaseTransformClass shows up in the docs
14078 * libs/gst/base/gstbasetransform.c:
14079 * libs/gst/base/gstbasetransform.h:
14080 move docs so gtk-doc picks it up now
14082 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14084 * docs/libs/gstreamer-libs-sections.txt:
14085 add missing symbols to docs
14087 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14089 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14090 back out the newsegment handling change, see #340060 for ongoing
14093 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
14095 * tools/gst-run.c: (get_candidates), (main):
14096 Fix wrong g_file_test() usage (see glib docs for why it doesn't
14097 work); fix typo in error message. Fixes #340079.
14099 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14101 * common/Makefile.am:
14102 * docs/Makefile.am:
14103 * docs/faq/Makefile.am:
14104 * docs/gst/Makefile.am:
14105 * docs/libs/Makefile.am:
14106 * docs/manual/Makefile.am:
14107 * docs/plugins/Makefile.am:
14108 * docs/pwg/Makefile.am:
14109 * docs/slides/Makefile.am:
14111 * common/upload.mak:
14112 move upload.mak to common
14114 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14116 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14117 add more asserts on refcounts
14118 do more cleanup at end of tests
14119 fix test leaks showing in FC5
14121 2006-04-29 Stefan Kost <ensonic@users.sf.net>
14123 * plugins/elements/gsttypefindelement.c:
14124 (gst_type_find_element_handle_event):
14125 reverted wrong change and reflowed code to avoid others falling into
14128 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14130 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14131 fix changelog entry about last collectpads change,
14132 add notes about proper fix
14134 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14137 * gst/gstregistry.c: (gst_registry_scan_path_level),
14138 (gst_registry_scan_path):
14139 * gst/gstregistry.h:
14140 only write out registry if it has changed, fixes #338339
14142 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14145 * gst/gstpipeline.c:
14146 * plugins/elements/gstcapsfilter.c:
14147 * plugins/elements/gstfakesink.c:
14148 * plugins/elements/gstfakesrc.c:
14149 * plugins/elements/gstfdsink.c:
14150 * plugins/elements/gstfdsrc.c:
14151 * plugins/elements/gstfilesink.c:
14152 * plugins/elements/gstfilesrc.c:
14153 * plugins/elements/gstidentity.c:
14154 * plugins/elements/gstqueue.c:
14155 * plugins/elements/gsttee.c:
14156 * plugins/elements/gsttypefindelement.c:
14157 (gst_type_find_element_handle_event):
14158 make GstElementDetails const
14160 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14162 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14163 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14164 (gst_collect_pads_is_collected), (gst_collect_pads_event):
14165 more detailed debug and formatting cleanup,
14166 forward newsegments to src-pad (so that e.g. adder not eats them)
14168 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14170 * gst/gstutils.c: (gst_element_link_pads):
14171 cleanup double code
14173 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14175 * libs/gst/controller/gstcontroller.c:
14176 (gst_controller_sync_values):
14178 * tests/check/libs/controller.c: (GST_START_TEST),
14179 (gst_controller_suite):
14180 a new test for live value handling
14182 2006-04-28 Wim Taymans <wim@fluendo.com>
14184 * gst/gstutils.c: (push_and_ref):
14185 Added some more docs.
14186 Fix refcount issue whith gst_element_found_tags() helper
14187 function. Fixes #338335
14189 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14190 Added testsuite for gst_element_found_tags().
14192 2006-04-28 Michael Smith <msmith@fluendo.com>
14194 * gst/gstvalue.c: (gst_value_serialize_flags):
14195 Avoid NULL dereference when trying to serialize flags containing
14198 2006-04-28 Michael Smith <msmith@fluendo.com>
14200 * plugins/elements/gsttypefindelement.c:
14201 (gst_type_find_element_handle_event):
14202 If we get EOS before any data is accumulated, don't use
14203 uninitialised local variables.
14205 2006-04-28 Michael Smith <msmith@fluendo.com>
14207 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14208 (gst_dp_event_from_packet):
14209 Fixes in reading/writing events over GDP (not currently used?) -
14210 dereferencing NULL events for unknown/invalid event types, memory
14211 leak, and change g_warning to GST_WARNING.
14213 2006-04-28 Wim Taymans <wim@fluendo.com>
14215 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14216 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14217 (gst_base_sink_get_position), (gst_base_sink_change_state):
14218 When frame dropping is enabled, we should not ignore frames
14219 without a duration.
14220 Update some documentation.
14222 2006-04-28 Wim Taymans <wim@fluendo.com>
14224 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14225 (gst_base_src_send_event), (gst_base_src_change_state):
14226 Documentation updates.
14228 2006-04-28 Wim Taymans <wim@fluendo.com>
14230 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14231 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14232 handle EAGAIN, EINTR and short writes correctly. Also clean
14233 up some error cases, avoid a deadlock on bad file descriptors and
14234 use GST_DEBUG_OBJECT.
14237 2006-04-28 Wim Taymans <wim@fluendo.com>
14239 * gst/gstvalue.c: (gst_value_serialize_buffer),
14240 (gst_value_deserialize_buffer):
14241 Don't try to serialize a GValue with a NULL buffer.
14244 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14245 Added check for serialisation of NULL buffers.
14247 2006-04-28 Wim Taymans <wim@fluendo.com>
14249 * gst/gstminiobject.c: (gst_value_take_mini_object):
14250 Taking a NULL miniobject is valid, fix the case where
14251 we try to unref the NULL miniobject.
14253 2006-04-28 Wim Taymans <wim@fluendo.com>
14255 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14257 * gst/gstbin.c: (gst_bin_handle_message_func):
14259 Don't leak bin refcount when a state recalc is
14260 in progress and we delay another one #339808.
14262 2006-04-28 Wim Taymans <wim@fluendo.com>
14264 * docs/design/part-TODO.txt:
14265 Mention QoS as an ongoing work item.
14267 * docs/design/part-buffering.txt:
14268 New doc about buffering that needs to be fleshed out
14271 * docs/design/part-qos.txt:
14272 More QoS policy for decoders/demuxers/transforms
14274 * docs/design/part-trickmodes.txt:
14277 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14282 === release 0.10.5 ===
14284 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14287 releasing 0.10.5, "Fogo"
14289 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14291 patch by: Wim Taymans
14293 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14294 (gst_pad_configure_src), (gst_pad_push):
14295 * gst/gstpipeline.c: (gst_pipeline_init):
14296 Fix internal data flow errors. Fixes #338711.
14298 2006-04-12 Wim Taymans <wim@fluendo.com>
14300 * tests/check/gst/gstelement.c: (GST_START_TEST):
14301 Don't leak the factory.
14303 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14306 * win32/common/config.h:
14309 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14311 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14312 (gst_controller_unset_all):
14313 Free allocated GstTimedValues when freeing list nodes.
14314 Should fix leaks 'make check-valgrind' complains about.
14316 * win32/common/libgstcontroller.def:
14317 Add gst_controller_unset_all.
14319 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14321 * docs/libs/gstreamer-libs-sections.txt:
14322 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14323 (gst_controller_unset_all):
14324 * libs/gst/controller/gstcontroller.h:
14325 API: Added new method gst_controller_unset_all()
14326 fixed gst_controller_unset()
14327 * tests/check/libs/controller.c: (GST_START_TEST),
14328 (gst_controller_suite):
14329 Added two testcases for new and fixed method
14331 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14333 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14334 MSG_DONTWAIT is not defined on Cygwin, so work
14335 around that (fixes #317048).
14337 2006-04-11 Wim Taymans <wim@fluendo.com>
14339 * gst/gstelementfactory.c: (gst_element_register),
14340 (gst_element_factory_create), (gst_element_factory_make):
14343 Updated docs (Fixes #131079)
14345 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14348 * tests/check/gst/gstelement.c: (GST_START_TEST),
14349 (gst_element_suite):
14350 Added testcase for elementfactory class field.
14352 2006-04-10 Wim Taymans <wim@fluendo.com>
14354 * gst/gstsegment.c:
14355 Added some more docs.
14357 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14358 (gst_base_sink_reset_qos):
14359 Calculate more accurate rate values.
14361 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14363 * gst/gst_private.h:
14364 add a new #ifdef to use __declspec(dllimport) only for
14365 other modules and not for gstreamer core
14366 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14367 use gst_guint64_to_gdouble for conversion
14368 * win32/common/libgstreamer.def:
14369 add new exported functions
14370 * win32/vs6/gst_inspect.dsp:
14371 * win32/vs6/gst_launch.dsp:
14372 * win32/vs6/libgstbase.dsp:
14373 * win32/vs6/libgstcontroller.dsp:
14374 * win32/vs6/libgstcoreelements.dsp:
14375 * win32/vs6/libgstdataprotocol.dsp:
14376 * win32/vs6/libgstnet.dsp:
14377 update project files
14379 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14381 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14382 * gst/gstclock.c: (gst_clock_class_init):
14383 * gst/gstelement.c: (gst_element_class_init):
14384 * gst/gstindex.c: (gst_index_class_init):
14385 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14386 * gst/gstobject.c: (gst_object_class_init),
14387 (gst_signal_object_class_init):
14388 * gst/gstpad.c: (gst_pad_class_init):
14389 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14390 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14391 * gst/gstregistry.c: (gst_registry_class_init):
14392 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14393 * gst/gsttask.c: (gst_task_class_init):
14394 * gst/gstxml.c: (gst_xml_class_init):
14395 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14396 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14397 (gst_base_src_loop):
14398 * libs/gst/controller/gstcontroller.c:/
14399 (_gst_controller_class_init):
14400 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14401 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14402 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14403 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14404 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14405 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14407 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14409 * gst/gstpad.c: (gst_pad_link):
14410 Must set peer pads before calling the link function, otherwise
14411 a task started from a link function might get a flow-not-linked
14412 result when trying to push because the other thread where the
14413 linking happens hasn't had a chance to set the peers yet. This
14414 might happen for example when a queue gets linked to a downstream
14415 element, as queue starts a streaming task when its source pad
14416 gets linked. Happens in real life when playing back flac/musepack
14417 files in playbin (#332390).
14419 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14423 * libs/gst/base/gstadapter.h:
14424 * libs/gst/base/gstbasesink.h:
14425 * libs/gst/base/gstbasesrc.h:
14426 * libs/gst/base/gstbasetransform.h:
14427 * libs/gst/base/gstcollectpads.h:
14428 * libs/gst/base/gstpushsrc.h:
14429 Fix broken GObject macros
14431 2006-04-07 Wim Taymans <wim@fluendo.com>
14433 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14434 Initialize start and stop times, thanks valgrind.
14436 2006-04-07 Wim Taymans <wim@fluendo.com>
14438 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14439 Be a bit nicer to badly behaving upstream elements that expect
14440 us to deal with non TIME segments and timestamps (such as fakesrc
14443 2006-04-07 Wim Taymans <wim@fluendo.com>
14446 Small documentation clarification about the signal watch.
14448 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14449 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14450 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14451 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14452 (gst_base_sink_get_position_last),
14453 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14454 Convert and store timestamps in stream time and running time, the
14455 raw timestamps are not useful, also document this better.
14456 Use different window sizes for good and bad QoS observations so
14457 we react to badness a little quicker.
14458 Keep track of the amount of rendered and dropped buffers.
14459 Send QoS timestamps in running time.
14461 * libs/gst/base/gstbasetransform.c:
14462 (gst_base_transform_sink_eventfunc),
14463 (gst_base_transform_handle_buffer):
14464 Compare QoS timestamps against running time.
14466 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14469 Typo fixes in docs.
14471 2006-04-06 Michael Smith <msmith@fluendo.com>
14473 * gst/gstpad.c: (gst_pad_set_property):
14474 Use g_value_get_object() instead of g_value_dup_gst_object(),
14475 to avoid double-reffing the pad template (which we then sink,
14476 so this worked previously if (and only if) the pad template
14479 * gst/gstpadtemplate.c: (gst_pad_template_init),
14480 (gst_pad_template_pad_created):
14481 Never return floating references to pad templates, create
14482 them as initially-sunken.
14484 Document an extra function (and make this stop sinking our
14485 pad template, since that is now guaranteed to do nothing,
14486 since we created it sunken).
14488 * gst/gstghostpad.c:
14491 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14493 * gst/gstinfo.c: (__gst_in_valgrind):
14496 * plugins/elements/gsttypefindelement.c:
14497 (gst_type_find_element_chain):
14498 Don't leak buffer caps.
14500 2006-04-06 Michael Smith <msmith@fluendo.com>
14502 * gst/parse/grammar.y:
14503 Fix a leak in parse-launch for any source-or-sink named element
14506 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14507 Unref the pipeline if it exists after we've failed parsing.
14509 2006-04-05 Michael Smith <msmith@fluendo.com>
14511 * gst/gstpipeline.c: (gst_pipeline_init):
14512 When we create a pipeline bus, initially create it in flushing mode.
14513 Fixes leaks in at least one test, and makes a new pipeline work the
14514 same as one that has gone to READY and then back to NULL.
14516 * gst/gstelement.c:
14519 2006-04-05 Michael Smith <msmith@fluendo.com>
14521 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14522 Unref a pad we reffed.
14523 * tests/check/gst/gstutils.c: (GST_START_TEST):
14526 2006-04-05 Michael Smith <msmith@fluendo.com>
14528 * gst/gstquery.c: (gst_query_set_formats),
14529 (gst_query_set_formatsv):
14530 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14532 2006-04-05 Michael Smith <msmith@fluendo.com>
14534 * tests/check/generic/sinks.c: (GST_START_TEST):
14535 Fix a variety of memleaks in sinks check, which are only sometimes
14536 shown by running the tests under valgrind (weird?).
14538 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14540 * docs/version.entities.in:
14541 Fix the substituted entity name after thomas' changes on the
14544 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14546 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14549 2006-04-05 Andy Wingo <wingo@pobox.com>
14551 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14553 * libs/gst/base/gstbasetransform.c
14554 (gst_base_transform_sink_eventfunc): When resetting our segment on
14555 FLUSH_STOP, also update the flag saying we haven't seen a
14558 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14560 Patch by: Paolo Borelli <pborelli at katamail dot com>
14562 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14563 (gst_plugin_check_license):
14564 minor clean-ups: G_DEFINE_TYPE already takes care of the
14565 parent_class stuff, no need to do it twice. Mark array of
14566 license strings as constant. (#337103)
14568 2006-04-04 Michael Smith <msmith@fluendo.com>
14570 * tools/gst-inspect.c: (print_element_list):
14571 Free the right plugin list; fixes a memory leak.
14573 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14575 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14577 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14578 Don't error out on empty buffers (#336945).
14580 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14582 * docs/libs/gstreamer-libs-sections.txt:
14583 * gst/gsttaglist.c:
14584 * libs/gst/base/gstbasesink.c:
14585 * libs/gst/base/gstbasesink.h:
14586 * libs/gst/base/gstbasesrc.c:
14587 * libs/gst/base/gstbasesrc.h:
14588 Documentation updates. Make BaseSink and BaseSrc docs contain the
14589 class structure so that people can actually see the prototypes for
14590 virtual functions they're supposed to be overriding.
14592 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14594 * plugins/elements/gsttypefindelement.c:
14595 (gst_type_find_element_chain):
14596 More debug info; when skipping typefinding, send cached
14597 events in all cases.
14599 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14602 use new AS_VERSION and AS_NANO macros
14603 * gst/gst-i18n-lib.h:
14606 * gst/gstversion.h.in:
14607 * win32/common/config.h:
14608 * win32/common/config.h.in:
14611 2006-03-31 Michael Smith <msmith@fluendo.com>
14613 * plugins/elements/gsttypefindelement.c:
14614 (gst_type_find_element_chain):
14615 Do not typefind content if the buffers already have caps.
14616 Neccesary for icydemux (#333657), and the right thing to do anyway.
14618 2006-03-30 Wim Taymans <wim@fluendo.com>
14620 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14621 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14622 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14623 (gst_base_sink_record_qos_observation),
14624 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14625 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14626 (gst_base_sink_change_state):
14627 More QoS measurements as described in the design doc.
14628 Get rid of ringbuffer with observations, running average is
14629 more simple and equally good.
14630 Calculates valid proportion now.
14631 Added beginning of flood measurement.
14633 2006-03-29 Wim Taymans <wim@fluendo.com>
14635 * docs/design/part-qos.txt:
14637 Small documentation updates and additions.
14639 2006-03-29 Wim Taymans <wim@fluendo.com>
14641 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14642 (gst_base_src_send_event), (gst_base_src_loop),
14643 (gst_base_src_change_state):
14644 Perform the EOS logic when we reach the segment stop position.
14645 Fix compilation on gcc4.1
14647 2006-03-29 Wim Taymans <wim@fluendo.com>
14649 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14651 * plugins/elements/gstqueue.c: (gst_queue_init),
14652 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14653 (gst_queue_set_property):
14654 * plugins/elements/gstqueue.h:
14655 In queue, when EOS is received, if minimum threshold > max_size -
14656 current_level, there is chance that queue blocks forever in conditional
14657 item del wait. This is because the queue is not emptied completely due
14658 to minimum threshold. Here is another approach. Instead of setting
14659 cur_levels to max in EOS, just zero all minimum threshold levels. This
14660 should make sure that queue gives out all data. When going to READY
14661 (stop) state, just reset the original minimum threshold levels.
14664 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14666 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14667 (gst_type_find_element_handle_event),
14668 (gst_type_find_element_send_cached_events),
14669 (gst_type_find_element_change_state):
14670 * plugins/elements/gsttypefindelement.h:
14671 When typefinding is done in push mode, we should cache
14672 events we receive during typefinding instead of just
14673 dropping them (e.g. newsegment, custom events from
14674 dvdreadsrc etc.) and then send them out once we've
14675 determined the type of the stream (and decodebin
14676 has had a chance to plug in a decoder/demuxer).
14678 2006-03-27 Wim Taymans <wim@fluendo.com>
14680 * docs/design/part-qos.txt:
14683 2006-03-27 Wim Taymans <wim@fluendo.com>
14685 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14687 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14688 (gst_base_src_send_event), (gst_base_src_change_state):
14689 Handle element seek correctly when we are streaming.
14692 2006-03-24 Michael Smith <msmith@fluendo.com>
14694 * docs/faq/gst-uninstalled:
14695 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14696 allow you to correctly run intalled applications built against old
14697 core, using plugins that require updated core (e.g. running
14698 installed totem against a full uninstalled gstreamer stack)
14700 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14702 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14705 2006-03-24 Wim Taymans <wim@fluendo.com>
14707 * docs/gst/gstreamer-sections.txt:
14708 Rearrange the order of the methods so that related methods
14709 are grouped together in sections.
14711 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14713 * gst/gstelement.c:
14714 Little clarification in the docs
14716 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14720 * plugins/elements/gstidentity.c:
14721 * plugins/elements/gstqueue.c:
14722 * plugins/elements/gsttee.c:
14723 * plugins/elements/gsttypefindelement.c:
14724 GST_ELEMENT_DETAILS formatting
14726 2006-03-24 Wim Taymans <wim@fluendo.com>
14728 * libs/gst/base/gstbasesink.h:
14729 Only add fields, not insert or we break ABI.
14731 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14733 * win32/common/libgstbase.def:
14734 * win32/common/libgstreamer.def:
14735 Update, add recently added functions.
14737 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14739 * docs/gst/gstreamer-sections.txt:
14740 * gst/gstutils.c: (gst_pad_query_peer_position),
14741 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14743 API: add some new utility functions:
14744 - gst_pad_query_peer_position()
14745 - gst_pad_query_peer_duration()
14746 - gst_pad_query_peer_convert()
14748 2006-03-23 Wim Taymans <wim@fluendo.com>
14750 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14751 (gst_base_sink_init), (gst_base_sink_finalize),
14752 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14753 (gst_base_sink_set_property), (gst_base_sink_get_property),
14754 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14755 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14756 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14757 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14758 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14759 (gst_base_sink_preroll_object), (gst_base_sink_event),
14760 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14761 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14762 (gst_base_sink_query), (gst_base_sink_change_state):
14763 Decouple max-lateness and the fact that QoS messages are generated
14764 with a new property (qos).
14765 added API: GstBaseSink::async_play()
14766 Add vmethod so subclasses can be notified of ASYNC playing
14768 Collect timestamp start and stop to report better current
14769 position in EOS/PLAYING/PAUSED/READY/NULL.
14770 Refactor QoS/frame dropping and other measurements.
14771 API: GstBaseSrc::qos
14774 * libs/gst/base/gstbasesink.h:
14775 Added Private struct.
14776 API: gst_base_sink_set_qos_enabled()
14777 API: gst_base_sink_is_qos_enabled()
14779 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14781 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14782 If compiling against GLib-2.8 or newer, try to read the
14783 registry file using GMappedFile first before falling back
14784 to fopen() + fread() (#332151).
14786 2006-03-22 Wim Taymans <wim@fluendo.com>
14788 * gst/gstinfo.c: (gst_debug_set_active),
14789 (gst_debug_category_set_threshold):
14790 Disable debugging unless explicitly activated.
14793 2006-03-22 Wim Taymans <wim@fluendo.com>
14795 * gst/gstelement.c: (gst_element_set_locked_state),
14796 (gst_element_dispose):
14797 Cleanup the error case.
14799 * gst/gstobject.c: (gst_object_dispose):
14800 print a critical when some object was disposed with
14801 a parent, also revive the object since it might
14804 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14806 * tools/gst-launch.1.in:
14809 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14812 * tests/check/Makefile.am:
14813 disable some tests when we don't have a registry
14814 * tests/check/gst/gstutils.c: (gst_utils_suite):
14815 don't build the part that needs parsing
14817 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14820 * tests/examples/Makefile.am:
14821 fix --disable-parse build
14823 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14825 * tools/gst-feedback.1.in:
14826 Fix typo: s/feeback/feedback/ (#133494).
14828 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14830 * tools/Makefile.am:
14831 * tools/gst-launch.1.in:
14832 Add FILES section and correct entry about GST_REGISTRY_PATH
14833 environment variable (#133495; #133494).
14835 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14837 * tools/Makefile.am:
14838 * tools/gst-md5sum.1.in:
14839 * tools/gst-md5sum.c:
14840 Remove gst-md5sum and man page (the md5sink element
14841 required was removed ages ago)
14843 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14845 * gst/gststructure.c: (gst_structure_id_set_value):
14846 Make sure that string fields in structures/taglists
14847 contain valid UTF-8 - we don't want to pass rubbish to
14848 applications because of a buggy plugin (cp. #334167).
14850 2006-03-21 Edward Hervey <edward@fluendo.com>
14852 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14853 (gst_bin_handle_message_func):
14854 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14855 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14856 (gst_element_set_bus_func):
14857 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14858 * gst/gstminiobject.c: (gst_value_set_mini_object),
14859 (gst_value_take_mini_object):
14860 * gst/gstpad.c: (gst_pad_set_pad_template):
14861 * gst/gstpipeline.c: (gst_pipeline_dispose),
14862 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14863 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14864 (gst_collect_pads_chain):
14865 * libs/gst/net/gstnettimeprovider.c:
14866 (gst_net_time_provider_set_property):
14867 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14868 It's in fact all issues with gst_*object_replace().
14870 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14872 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14874 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14875 * pkgconfig/gstreamer-check.pc.in:
14876 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14878 2006-03-21 Edward Hervey <edward@fluendo.com>
14882 * gst/gstmessage.h:
14883 gst_[buffer|event|message]_ref() macros are replaced by a static
14884 inline functions because gcc-4.1 will about if the return value
14886 * tests/check/gst/gstevent.c: (event_probe):
14887 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14889 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14892 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14893 the type' case. (Closes: #335195 for now). In the future, when we
14894 depend on GLib 2.10, we could also intern the type name using
14895 g_intern_static_string()
14897 2006-03-20 Wim Taymans <wim@fluendo.com>
14899 * gst/gstbin.c: (gst_bin_handle_message_func),
14900 (bin_query_max_init), (bin_query_position_fold),
14901 (bin_query_position_done), (gst_bin_query):
14902 Position query should also take max of all streams.
14904 2006-03-20 Wim Taymans <wim@fluendo.com>
14906 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14907 (gst_fake_src_finalize):
14908 Fix leaks in fakesrc.
14910 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14911 Fix leaks in the testcase.
14913 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14915 * gst/gst_private.h:
14916 add win32 specific import decoration(__declspec(dllimport))
14917 for all extern GstDebugCategory * variables
14918 * win32/common/libgstbase.def:
14919 * win32/common/libgstcontroller.def:
14920 * win32/common/libgstreamer.def:
14921 Add some exports, remove empty lines
14922 * win32/common/libgstdataprotocol.def:
14923 * win32/common/libgstdataprotocol.dsp:
14924 * win32/common/libgstnet.def:
14925 * win32/common/libgstnet.dsp:
14926 new project files and exportation files added
14928 2006-03-19 Wim Taymans <wim@fluendo.com>
14930 * tests/check/libs/basesrc.c: (eos_event_counter):
14931 Use proper return value for probe.
14933 2006-03-17 Wim Taymans <wim@fluendo.com>
14935 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14937 Don't leak buffers, caps and pads on negotiation errors.
14939 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14941 * docs/faq/cvs.xml:
14942 * docs/faq/dependencies.xml:
14943 * docs/faq/developing.xml:
14944 * docs/faq/faq.xml:
14945 * docs/faq/general.xml:
14946 * docs/faq/getting.xml:
14947 * docs/faq/legal.xml:
14948 * docs/faq/troubleshooting.xml:
14949 * docs/faq/using.xml:
14950 Faq review and update.
14952 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14954 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14956 Don't pound the cpu to pieces by checking get_caps when accept_caps
14957 is called with the same caps as the pad already has.
14958 Use GST_DEBUG_OBJECT when outputting caps change information.
14960 2006-03-15 Wim Taymans <wim@fluendo.com>
14962 * gst/gstclock.c: (gst_clock_class_init):
14965 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14970 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14971 (gst_pad_accept_caps), (gst_pad_configure_sink),
14972 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14973 Make the default acceptcaps behaviour be to check the requested
14974 caps against the gst_pad_get_caps output.
14976 Ensure that gst_pad_accept_caps is used to check caps when a pad
14977 doesn't have a setcaps function, so that pads automatically refuse
14978 caps that they don't allow in their pad template. (Fixes #332986)
14980 When a buffer with attached caps is pushed, ensure that the source
14981 pad receives those caps even if the element didn't call
14982 gst_pad_set_caps first.
14984 2006-03-15 Wim Taymans <wim@fluendo.com>
14986 * libs/gst/base/gstadapter.c:
14989 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14991 * win32/common/libgstbase.def:
14992 * win32/common/libgstcontroller.def:
14993 * win32/common/libgstreamer.def:
14994 Add a whole bunch of missing functions (#334434).
14996 2006-03-14 Wim Taymans <wim@fluendo.com>
14998 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14999 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15000 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15001 Better debug info when we receive a segment event.
15002 Reorganize a bit so we can pass the get_times() results around.
15003 Use the segment format when calculating the running time.
15004 Don't do QoS is sync is disabled or we have no clock or the
15005 element does not want us to sync to the clock.
15006 Don't drop buffers if QoS is disabled for now.
15008 2006-03-14 Wim Taymans <wim@fluendo.com>
15010 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15011 Marked the stats property as unimplemented so people don't get
15013 Add debug message when regression goes wrong.
15014 Added some more docs.
15016 2006-03-14 Wim Taymans <wim@fluendo.com>
15018 * gst/gstsegment.c: (gst_segment_to_stream_time):
15019 Return correct return type in case of errors.
15021 2006-03-14 Wim Taymans <wim@fluendo.com>
15023 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15024 Don't segfault on invalid formats.
15026 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15028 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15029 Can't use gst_segment_to_running_time() when the segment
15030 is not in GST_TIME_FORMAT (like with filesink, for example).
15031 Stops flac encoding pipelines from spewing critical warnings
15034 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15036 * gst/gstpipeline.c: (gst_pipeline_class_init):
15037 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15039 * plugins/elements/gsttypefindelement.c:
15040 (gst_type_find_element_handle_event):
15041 Don't try to typefind empty streams.
15043 2006-03-14 Wim Taymans <wim@fluendo.com>
15045 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15046 (gst_base_sink_do_qos):
15047 Separate QoS calculation.
15048 Only drop buffers when lateness is bigger than the
15049 duration of the buffer.
15051 2006-03-13 Wim Taymans <wim@fluendo.com>
15053 * gst/gstpipeline.c: (gst_pipeline_set_property),
15054 (gst_pipeline_get_property), (do_pipeline_seek),
15055 (gst_pipeline_change_state), (gst_pipeline_set_delay),
15056 (gst_pipeline_get_delay):
15057 Don't deadlock when reading properties.
15059 2006-03-13 Wim Taymans <wim@fluendo.com>
15061 * libs/gst/base/gstbasetransform.c:
15062 (gst_base_transform_class_init), (gst_base_transform_init),
15063 (gst_base_transform_sink_event),
15064 (gst_base_transform_sink_eventfunc),
15065 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15066 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15067 (gst_base_transform_set_property),
15068 (gst_base_transform_get_property),
15069 (gst_base_transform_change_state), (gst_base_transform_update_qos),
15070 (gst_base_transform_set_qos_enabled),
15071 (gst_base_transform_is_qos_enabled):
15072 * libs/gst/base/gstbasetransform.h:
15073 Make basetransform virtual method for src events too.
15074 Handle QOS in basetransform.
15075 API: gst_base_transform_update_qos()
15076 API: gst_base_transform_set_qos_enabled()
15077 API: gst_base_transform_is_qos_enabled()
15079 2006-03-13 Wim Taymans <wim@fluendo.com>
15081 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15082 (gst_base_sink_do_sync):
15084 Use QOS debug category.
15086 2006-03-13 Wim Taymans <wim@fluendo.com>
15088 * plugins/elements/gstqueue.c:
15089 Very small doc update.
15091 2006-03-13 Wim Taymans <wim@fluendo.com>
15093 * gst/gst_private.h:
15094 * gst/gstinfo.c: (_gst_debug_init):
15095 Added QOS debug category
15097 2006-03-13 Wim Taymans <wim@fluendo.com>
15099 * docs/gst/gstreamer-sections.txt:
15100 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15102 * gst/gstbus.c: (gst_bus_class_init):
15105 * gst/gstelement.c: (gst_element_set_locked_state):
15106 * gst/gstsegment.c:
15107 Documentation updates.
15109 * gst/gstpipeline.c: (gst_pipeline_get_type),
15110 (gst_pipeline_class_init), (gst_pipeline_init),
15111 (gst_pipeline_dispose), (gst_pipeline_set_property),
15112 (gst_pipeline_get_property), (do_pipeline_seek),
15113 (gst_pipeline_send_event), (gst_pipeline_change_state),
15114 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15115 (gst_pipeline_get_delay):
15116 * gst/gstpipeline.h:
15117 Added methods for setting the delay.
15118 API: gst_pipeline_set_delay()
15119 API: gst_pipeline_get_delay()
15120 Add pipeline debug category
15123 Don't reset stream time when seek failed.
15125 2006-03-13 Wim Taymans <wim@fluendo.com>
15127 * docs/design/draft-klass.txt:
15128 * docs/design/part-clocks.txt:
15129 * docs/design/part-events.txt:
15130 * docs/design/part-gstbin.txt:
15131 * docs/design/part-gstpipeline.txt:
15132 * docs/design/part-messages.txt:
15133 * docs/design/part-negotiation.txt:
15134 * docs/design/part-overview.txt:
15135 * docs/design/part-preroll.txt:
15136 * docs/design/part-seeking.txt:
15137 * docs/design/part-states.txt:
15138 * docs/design/part-streams.txt:
15139 Documentation updates.
15141 2006-03-12 Julien MOUTTE <julien@moutte.net>
15143 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15144 us to leak strings...
15146 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
15148 * libs/gst/net/gstnettimeprovider.c:
15150 * win32/common/config.h:
15153 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
15155 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15158 Don't check for libgnomeui (leftover from old examples
15159 that aren't built or disted any longer) (#334303).
15161 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
15163 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15164 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15165 Emit RESOURCE_NO_SPACE_LEFT error here as well when
15166 there's no space left on the device.
15168 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
15171 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15172 to cast the input to GstClockTime before comparing with
15173 another GstClockTime value.
15175 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15180 === release 0.10.4 ===
15182 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15185 releasing 0.10.4, "Light"
15187 2006-03-10 Michael Smith <msmith@fluendo.com>
15189 * libs/gst/dataprotocol/dataprotocol.c:
15190 Fix docs for dataprocotol to not get the return types completely
15191 wrong for a few functions.
15193 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15195 * docs/gst/gstreamer-sections.txt:
15196 * gst/gstpipeline.c: (gst_pipeline_class_init),
15197 (gst_pipeline_init), (gst_pipeline_set_property),
15198 (gst_pipeline_get_property), (gst_pipeline_change_state),
15199 (gst_pipeline_set_auto_flush_bus),
15200 (gst_pipeline_get_auto_flush_bus):
15201 * gst/gstpipeline.h:
15202 Add new API: gst_pipeline_set_auto_flush_bus() and
15203 gst_pipeline_get_auto_flush_bus() to disable automatic
15204 flushing of the pipeline's GstBus when going from READY
15205 to NULL state (#332045).
15207 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15209 * docs/gst/gstreamer-sections.txt:
15210 * gst/gsturi.c: (gst_uri_has_protocol):
15212 Add new API: gst_uri_has_protocol() (#333779).
15214 2006-03-09 Wim Taymans <wim@fluendo.com>
15216 * gst/gstclock.c: (gst_clock_entry_new),
15217 (gst_clock_id_compare_func), (gst_clock_id_wait),
15218 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15219 (gst_clock_init), (gst_clock_get_internal_time),
15220 (gst_clock_set_master), (do_linear_regression),
15221 (gst_clock_add_observation), (gst_clock_set_property):
15225 Fix a possible segfault when the window-size is made smaller.
15226 Calculate jitter before performing the clock wait. Ideally
15227 the clock implementation should calculate jitter but we need
15228 API breakage for that.
15230 * gst/gstsystemclock.c: (gst_system_clock_init):
15233 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15234 Remove leftover else
15236 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15237 (gst_systemclock_suite):
15238 Added check to test GST_CLOCK_DIFF.
15240 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15242 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15243 (gst_type_find_helper_get_range):
15244 If we are provided with the size, we should implement
15245 GstTypeFind::get_length, so that typefind functions who
15246 want to can actually peek at the middle of a file.
15248 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
15250 * docs/manual/advanced-dataaccess.xml:
15251 Add some very very basic error checking.
15253 * docs/pwg/appendix-checklist.xml:
15254 Some updates to the list of things to check when writing an element.
15256 2006-03-08 Wim Taymans <wim@fluendo.com>
15258 * docs/design/part-element-transform.txt:
15259 Added some docs about the design of tranform elements.
15261 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15262 (gst_base_src_loop), (gst_base_src_change_state):
15263 Mark buffers with the DISCONT flag.
15265 2006-03-08 Michael Smith <msmith@fluendo.com>
15267 * gst/gstregistry.h:
15268 * gst/gstregistryxml.c: (gst_registry_save),
15269 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15270 (gst_registry_xml_save_pad_template),
15271 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15272 (gst_registry_xml_write_cache):
15273 Rewrite registry-saving to avoid race conditions and check for
15276 2006-03-08 Wim Taymans <wim@fluendo.com>
15278 * libs/gst/base/gstbasetransform.c:
15279 (gst_base_transform_transform_caps),
15280 (gst_base_transform_transform_size),
15281 (gst_base_transform_prepare_output_buffer),
15282 (gst_base_transform_get_unit_size),
15283 (gst_base_transform_buffer_alloc),
15284 (gst_base_transform_handle_buffer),
15285 (gst_base_transform_change_state):
15286 Cleanups, separate normal flow from errors, add sensible
15288 Don't try to renegotiate when allocating an output buffer.
15289 Also copy DISCONT buffer flag when copying a buffer.
15290 Reset the transform after we finish streaming, not during.
15292 2006-03-08 Wim Taymans <wim@fluendo.com>
15294 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15295 Use last buffer timestamp in qos message.
15297 2006-03-07 Wim Taymans <wim@fluendo.com>
15299 Patch by: Christophe Fergeau
15301 * docs/pwg/advanced-tagging.xml:
15302 * docs/pwg/building-pads.xml:
15305 2006-03-07 Wim Taymans <wim@fluendo.com>
15307 * docs/libs/gstreamer-libs-sections.txt:
15308 Added basesink new methods.
15312 Docs updates. Flesh out the QoS docs.
15314 * libs/gst/base/gstadapter.c:
15315 Small doc clarification about ownership and flushing.
15317 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15318 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15319 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15320 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15321 * libs/gst/base/gstbasesink.h:
15323 Added new methods to allow subclass to control max-lateness
15325 Generate very basic QoS events based on last sync observation.
15326 Updated docs, fix typo, added some QoS blurb.
15328 * libs/gst/base/gstbasesrc.c:
15329 Remove obsolete _get_state() calls from docs.
15331 2006-03-07 Wim Taymans <wim@fluendo.com>
15333 * docs/libs/gstreamer-libs-sections.txt:
15334 * libs/gst/base/gstbasetransform.h:
15335 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15336 Fix docs for GstBaseSrc.
15338 2006-03-07 Wim Taymans <wim@fluendo.com>
15340 * docs/gst/gstreamer-sections.txt:
15343 * libs/gst/base/gstbasetransform.h:
15344 Small documentation fixes.
15346 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15349 Document thread-unsafety of gst_value_register_foo_func()
15350 when used at the same time as gst_value_foo() (#322628).
15352 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15354 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15355 (gst_push_src_check_get_range):
15356 Push sources don't support pull mode by default.
15358 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15360 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15361 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15362 (gst_base_src_default_check_get_range):
15363 * libs/gst/base/gstbasesrc.h:
15364 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15365 provide default implementation, and rename
15366 gst_base_src_check_get_range() to
15367 gst_base_src_pad_check_get_range() for clarity.
15369 2006-03-06 Wim Taymans <wim@fluendo.com>
15371 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15372 Make property overridable.
15374 2006-03-06 Wim Taymans <wim@fluendo.com>
15376 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15377 (gst_base_sink_init), (gst_base_sink_set_property),
15378 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15379 * libs/gst/base/gstbasesink.h:
15380 API addition: Make max-lateness a property.
15382 2006-03-06 Wim Taymans <wim@fluendo.com>
15384 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15385 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15386 Don't ever draw a frame that is >10ms late.
15388 2006-03-06 Michael Smith <msmith@fluendo.com>
15390 * gst/gstmessage.c: (_gst_message_copy):
15391 When copying a message, set the parent_refcount of the enclosed
15392 structure to point at the copy, not the original message.
15394 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15396 Patch by: Christophe Fergeau
15399 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15400 usable in c++ code (#333417)
15402 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15405 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15407 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15409 * libs/gst/base/gstbasetransform.c:
15410 (gst_base_transform_transform_caps):
15411 Make sure caps are writable before passing them to
15414 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15417 Fix some minor docs errors.
15419 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15421 Patch by: Ross Burton <ross at burtonini dot com>
15423 * gst/gsterror.c: (_gst_resource_errors_init):
15425 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15427 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15430 Add a check and output a g_warning when GStreamer is built
15431 against GLib 2.6 but running against 2.8 or higher, and vice
15432 versa. (Closes: #323542)
15434 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15436 * gst/parse/parse.l:
15437 Commit patch for parse_launch syntax from #331255. Removes
15438 support for quoted strings and mimetypes when writing filtered
15439 caps. See the bug report for more details - I'm pretty sure this
15440 obscure feature is not in use by _anyone_ anywhere.
15442 With this simple change, the size of the gstreamer.so here
15443 drops from 2193KB to 1565KB.
15445 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15447 * plugins/elements/gsttypefindelement.h:
15448 * plugins/elements/gsttypefindelement.c:
15449 (gst_type_find_element_src_event), (start_typefinding),
15450 (stop_typefinding), (gst_type_find_element_handle_event),
15451 (gst_type_find_element_chain),
15452 (gst_type_find_element_chain_do_typefinding):
15453 Use gst_type_find_helper_for_buffer() for chain-based
15456 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15458 * plugins/elements/gsttypefindelement.c:
15459 (gst_type_find_element_class_init),
15460 (gst_type_find_element_set_property),
15461 (gst_type_find_element_get_property):
15462 Deprecate "maximum" property (not only was it only taken into
15463 account for typefinding in push-mode anyway, it also was never
15464 actually possible to set it in the first place because the
15465 property was registered with the numeric property ID for the
15466 "minimum" property). Register "maximum" property correctly,
15467 for the sake of future copy'n'pasters. Remove some cruft
15468 from property get/set functions.
15470 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15472 * plugins/elements/gsttypefindelement.c:
15473 (gst_type_find_element_activate):
15474 Use gst_type_find_helper_get_range() here, so we
15475 can honour the "minimum" property and also emit
15476 the signal with the correct probability of the found caps.
15478 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15480 * docs/libs/gstreamer-libs-sections.txt:
15481 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15482 (helper_find_suggest), (gst_type_find_helper_get_range),
15483 (gst_type_find_helper):
15484 * libs/gst/base/gsttypefindhelper.h:
15485 New API: gst_type_find_helper_get_range() (#333042).
15487 2006-03-02 Michael Smith <msmith@fluendo.com>
15489 * gst/gstregistryxml.c: (load_feature):
15490 Asserting on a failure to read part of the registry is Not Cool.
15491 Just log a warning and return NULL (which is already handled)
15493 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15495 * win32/common/libgstbase.def:
15496 added export of gst_type_find_helper_for_buffer
15497 * win32/common/libgstbase.def:
15498 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15499 gst_ghost_pad_get_target
15501 2006-02-28 Wim Taymans <wim@fluendo.com>
15503 * docs/design/draft-klass.txt:
15505 Added Connector to mark elements that are only used to
15506 allow pipeline connections.
15507 Moved Debug to extra feature since most of them are
15508 functionally something else.
15510 2006-02-28 Wim Taymans <wim@fluendo.com>
15512 * docs/design/draft-klass.txt:
15513 Some updates and clarifications.
15515 2006-02-28 Wim Taymans <wim@fluendo.com>
15517 * docs/design/draft-klass.txt:
15518 Proposal for klass field values.
15520 * docs/design/part-streams.txt:
15521 Start of a doc describing stream anatomy.
15523 2006-02-28 Wim Taymans <wim@fluendo.com>
15525 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15526 Help the compiler a bit with type registration.
15527 Use existing forward cod path instead of duplicating it when
15528 handling a message.
15530 * gst/gstbus.c: (gst_bus_get_type):
15531 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15532 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15533 * gst/gstclock.c: (gst_clock_get_type):
15534 * gst/gstelement.c: (gst_element_get_type),
15535 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15536 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15537 * gst/gstminiobject.c: (gst_mini_object_get_type):
15538 * gst/gstpad.c: (gst_pad_get_type):
15539 * gst/gstsegment.c: (gst_segment_get_type):
15540 * gst/gststructure.c: (gst_structure_get_type):
15541 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15542 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15544 Help compiler with type registration.
15546 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15549 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15551 * plugins/elements/gsttypefindelement.c:
15552 (gst_type_find_element_handle_event):
15553 When we get an EOS event and have not found a type yet
15554 (most likely because we had not yet accumulated
15555 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15556 type given the data we have so far. Fixes typefinding
15557 for very short streams again, most notably quicktime
15558 redirections as used on Apple's trailer site (#331701).
15560 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15562 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15563 (gst_type_find_helper):
15564 Try typefinding factories with the highest rank first.
15566 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15568 * docs/libs/gstreamer-libs-docs.sgml:
15569 * docs/libs/gstreamer-libs-sections.txt:
15570 * libs/gst/base/gsttypefindhelper.c:
15571 Add section for typefind helper and add documentation
15572 for the old and the new function.
15574 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15576 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15577 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15578 (gst_type_find_helper_for_buffer):
15579 * libs/gst/base/gsttypefindhelper.h:
15580 New API: gst_type_find_helper_for_buffer() (#332723).
15582 2006-02-27 Michael Smith <msmith@fluendo.com>
15584 Patch by: Loïc Minier
15587 * docs/Makefile.am:
15588 * docs/slides/Makefile.am:
15589 prevent CVS directories getting disted.
15591 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15593 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15594 Use the REFCOUNTING category for caps refcounting.
15596 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15598 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15599 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15601 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15603 * plugins/elements/gsttypefindelement.c:
15604 (gst_type_find_element_activate):
15605 Use gst_pad_check_pull_range() before _activate_pull()
15606 to avoid unnecessary open/close (see #331690).
15608 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15611 Docs enhancement: make it crystal clear what the
15612 gst_pad_add_*_probe() callbacks should look like.
15614 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15616 * libs/gst/base/gstbasesrc.c:
15617 Document how applications can stop recording from
15618 live sources (see #330996).
15620 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15622 * tests/check/Makefile.am:
15623 * tests/check/libs/basesrc.c: (eos_event_counter),
15624 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15625 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15626 (gst_basesrc_suite), (main):
15627 ... and add some tests for the base source EOS stuff.
15629 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15631 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15632 Test case originally showed the problem fixed below,
15633 but was then amended. Add checks back at the place
15634 where they used to be.
15636 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15638 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15639 (gst_base_src_init), (gst_base_src_loop),
15640 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15641 (gst_base_src_change_state):
15642 * libs/gst/base/gstbasesrc.h:
15643 Don't unconditionally send EOS when going from PAUSED to
15644 READY state, esp. make sure we don't send two EOS events
15645 in some cases (e.g. one when reaching EOS and one when
15646 going from PAUSED to READY). Also, we don't want to send
15647 EOS events when operating in pull mode. However, we do
15648 want to send an EOS event when shutting down a live
15649 source explicitly, for example (fixes #330996).
15651 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15653 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15654 Update src->read_position after a seek when not using mmap.
15655 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15657 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15663 Make things work with --disable-parse as they do with
15664 --disable-load-save - the symbols involved disappear, but the
15665 header is still installed and GST_DISABLE_PARSE is included via
15668 2006-02-20 Julien MOUTTE <julien@moutte.net>
15670 * libs/gst/base/gstbasetransform.c:
15671 (gst_base_transform_change_state): Fix a stupid bug. I was
15672 sure I compiled that.
15674 2006-02-20 Julien MOUTTE <julien@moutte.net>
15676 * gst/gstpad.c: (gst_pad_set_blocked_async):
15677 * gst/gstutils.c: (gst_pad_add_data_probe),
15678 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15679 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15680 (gst_pad_remove_buffer_probe): Make those function act on the
15681 ghostpad target when it's a ghostpad. (Closes #331727)
15683 2006-02-20 Julien MOUTTE <julien@moutte.net>
15685 * libs/gst/base/gstbasetransform.c:
15686 (gst_base_transform_change_state): Make basetransform reusable.
15689 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15691 * docs/random/release:
15692 Move the current documentation of how to do a release to the top
15695 * gst/gstbin.c: (gst_bin_class_init),
15696 (gst_bin_handle_message_func):
15697 Allow multiple state-recalculation threads. (Closes #328873)
15699 2006-02-19 Julien MOUTTE <julien@moutte.net>
15701 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15702 * gst/gstpad.c: (gst_pad_set_event_function),
15703 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15704 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15705 2 strings. You can't use the STR_NULL macro on that.
15707 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15709 * gst/gstpad.c: (gst_pad_set_event_function),
15710 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15711 (gst_pad_set_getcaps_function)
15712 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15713 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15714 So now, we can use --gst-debug-level=5 on Windows
15715 * win32/common/libgstcontroller.def:
15716 Added export of gst_controller_init
15717 * win32/vs6/libgstcontroller.dsp:
15718 Fixed Release post build configuration
15720 2006-02-17 Wim Taymans <wim@fluendo.com>
15722 * tests/check/gst/gstquery.c: (GST_START_TEST):
15723 Added another check.
15725 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15727 * plugins/elements/gsttypefindelement.c: (find_peek):
15728 We can do peeks at non-zero offsets, as long as they
15729 fall within the buffer we have.
15731 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15733 * tests/check/Makefile.am:
15734 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15735 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15736 (parse_suite), (main):
15737 Add testsuite for parse launch syntax
15739 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15741 * plugins/elements/gsttypefindelement.c:
15742 (gst_type_find_element_chain):
15743 When typefinding is unsuccessful in the chain function, don't
15744 error out immediately. Only error out with NO_CAPS_FOUND if
15745 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15746 otherwise simply wait for more data so we can try typefinding
15747 again with more data later. Also, don't attempt to typefind
15748 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15749 this should improve typefinding from network sources where the
15750 size of the first buffer can be somewhat random.
15752 2006-02-14 Wim Taymans <wim@fluendo.com>
15754 * docs/gst/gstreamer-sections.txt:
15755 * gst/gstpadtemplate.c:
15756 * gst/gstpadtemplate.h:
15757 Fix padtemplate docs, fixes #328805.
15759 2006-02-14 Wim Taymans <wim@fluendo.com>
15761 * tools/gst-launch.c: (main):
15762 NO_PREROLL is not an ERROR so don't send confusing messages
15765 2006-02-14 Wim Taymans <wim@fluendo.com>
15767 Patch by: Torsten Schoenfeld
15769 * gst/gstregistry.c: (gst_registry_get_default),
15770 (_gst_registry_cleanup):
15771 Protect default registry with lock and ref/sink it.
15774 2006-02-14 Wim Taymans <wim@fluendo.com>
15777 * gst/gstquery.c: (gst_query_list_add_format),
15778 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15779 (gst_query_parse_formats_nth):
15780 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15783 2006-02-14 Wim Taymans <wim@fluendo.com>
15785 * docs/gst/gstreamer-sections.txt:
15786 Reworked query docs.
15788 * gst/gstquery.c: (gst_query_new_formats),
15789 (gst_query_list_add_format), (gst_query_set_formats),
15790 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15791 (gst_query_parse_formats_nth):
15793 Flesh out formats query, added some new methods.
15794 Fix part of #324398.
15796 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15797 Added query creation tests.
15799 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15801 * gst/gstpad.c: (fixate_value):
15802 Add a default fixation for fraction lists.
15804 2006-02-13 Wim Taymans <wim@fluendo.com>
15806 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15807 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15810 Detect and warn for obvious deadlocks. fixes #320340
15811 Fix error case where lock was not released.
15813 * tests/check/Makefile.am:
15814 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15815 (task_func), (gst_element_suite), (main):
15818 2006-02-13 Wim Taymans <wim@fluendo.com>
15820 * docs/gst/gstreamer-sections.txt:
15822 Add new functions to docs.
15824 2006-02-13 Wim Taymans <wim@fluendo.com>
15826 * docs/design/part-TODO.txt:
15827 Updated TODO list, basesrc supports seeking to non-bytes
15830 * docs/design/part-element-sink.txt:
15833 * gst/gstbin.c: (bin_replace_message),
15834 (gst_bin_handle_message_func):
15835 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15836 * gst/gstevent.c: (gst_event_finalize):
15837 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15838 (gst_pad_send_event):
15839 Use shiny new _TYPE_NAME macros.
15841 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15842 Move debug statement up.
15844 * gst/gstelement.c: (gst_element_set_locked_state):
15845 Add some debugging.
15847 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15849 * docs/gst/gstreamer-sections.txt:
15850 * gst/gstmessage.h:
15852 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15853 macros (#330906). Also, document the already existing
15854 GST_QUERY_TYPE macro.
15856 2006-02-13 Wim Taymans <wim@fluendo.com>
15858 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15859 (event_probe), (GST_START_TEST):
15860 Only events up to the pipeline EOS are counted, there are
15861 some more when going to NULL currently which we don't care
15864 2006-02-13 Wim Taymans <wim@fluendo.com>
15866 * gst/gstpad.c: (gst_pad_send_event):
15867 Correctly check flushing and emit probes. fixes #330125
15869 2006-02-10 Andy Wingo <wingo@pobox.com>
15871 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15873 (gst_bus_init): Cache the location of the private data in the
15874 instance structure.
15875 (gst_bus_enable_sync_message_emission)
15876 (gst_bus_disable_sync_message_emission): Implement new public
15878 (gst_bus_post): Emit the sync-message signal if the user asked for
15881 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15882 location of the bus-private structure.
15883 (gst_bus_enable_sync_message_emission)
15884 (gst_bus_disable_sync_message_emission): API addition
15886 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15888 Patch by: Vincent Torri
15890 * docs/pwg/building-boiler.xml:
15891 PWG patch from #326800
15893 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15896 * docs/Makefile.am:
15897 * docs/design/Makefile.am:
15900 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15905 === release 0.10.3 ===
15907 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15910 releasing 0.10.3, "Like a virgin"
15912 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15915 2nd prerelease of 0.10.3
15916 Bump libtool versioning.
15918 2006-02-07 Andy Wingo <wingo@pobox.com>
15920 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15921 update last_stop if we're in TIME format and the timestamp is
15924 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15925 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15926 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15927 If we get a new newsegment with a different format, adapt
15930 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15931 of 0. Not a problem, really.
15933 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15936 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15941 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15944 project files updated to the default vs7 configuration
15945 * win32/common/libgstbase.def:
15946 * win32/common/libgstreamer.def:
15948 removed empty lines,
15949 sorted all exported symbols alphabetically
15950 * win32/common/dirent.c:
15951 * win32/common/dirent.h:
15952 * win32/common/gchar.h:
15953 use windows line end.
15955 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15957 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15958 Send EOS event when stopping.
15960 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15963 Tell folks what to do if the plugin-foobar.xml file
15964 hasn't been generated for a newly-added plugin.
15966 2006-02-05 Julien MOUTTE <julien@moutte.net>
15968 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15969 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15970 (gst_collect_pads_start), (gst_collect_pads_stop),
15971 (gst_collect_pads_event): Collectpads now holds a reference
15972 to the GstPad that was added. Indeed we don't want to look
15973 at pads that might just go away with no warning...
15975 2006-02-05 Julien MOUTTE <julien@moutte.net>
15977 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15978 (gst_collect_pads_start), (gst_collect_pads_stop),
15979 (gst_collect_pads_event), (gst_collect_pads_chain):
15980 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15981 Mark Nauwelaerts's patch on bug #328491.
15983 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15985 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15987 Add some simple tests for gst_parse_bin_from_description() and
15988 gst_bin_find_unconnected_pad() (#329069).
15990 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15992 * tools/gst-launch.c: (event_loop), (main):
15993 Catch errors during preroll (#320084).
15995 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15997 * plugins/elements/gsttypefindelement.c:
15998 (gst_type_find_element_activate):
15999 Post TYPE_NOT_FOUND error message when typefinding
16000 is unsuccessful in the activate function as well.
16002 2006-02-02 Wim Taymans <wim@fluendo.com>
16004 * docs/design/part-element-sink.txt:
16007 2006-02-02 Wim Taymans <wim@fluendo.com>
16009 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16010 (gst_base_sink_render_object),
16011 (gst_base_sink_queue_object_unlocked):
16012 Only keep track of prerollable items when we are
16014 Before rendering after preroll, always check if we
16016 Added some more debugging.
16018 2006-02-02 Wim Taymans <wim@fluendo.com>
16020 * gst/gstelement.c: (gst_element_continue_state),
16021 (gst_element_set_state_func), (gst_element_change_state):
16022 Fixed #326576, been running this for quite some time with
16023 no regressions at all.
16025 2006-02-02 Wim Taymans <wim@fluendo.com>
16028 Added more suppressions
16030 2006-02-02 Wim Taymans <wim@fluendo.com>
16032 * docs/design/part-element-sink.txt:
16035 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16036 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16037 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16038 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16039 (gst_base_sink_do_sync), (gst_base_sink_render_object),
16040 (gst_base_sink_preroll_object),
16041 (gst_base_sink_queue_object_unlocked),
16042 (gst_base_sink_queue_object), (gst_base_sink_event),
16043 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16044 (gst_base_sink_loop), (gst_base_sink_activate_pull),
16045 (gst_base_sink_get_position), (gst_base_sink_change_state):
16046 * libs/gst/base/gstbasesink.h:
16047 Totally refactored matching the design doc.
16048 Use two segments, one to clip incomming buffers and another to
16050 Handle queueing correctly, bypass the queue when playing.
16051 Make EOS cancelable.
16052 Handle errors correctly when operating in pull based mode.
16054 * tests/check/elements/fakesink.c: (GST_START_TEST),
16056 Added new check for sinks.
16058 2006-02-02 Wim Taymans <wim@fluendo.com>
16060 * gst/gstsegment.c: (gst_segment_clip):
16061 No reason to refuse to clip when start == -1
16063 2006-02-02 Stefan Kost <ensonic@users.sf.net>
16066 * docs/manual/intro-basics.xml:
16067 * docs/manual/intro-preface.xml:
16068 * docs/manual/manual.xml:
16069 * docs/pwg/advanced-dparams.xml:
16070 * docs/pwg/intro-basics.xml:
16071 * docs/pwg/intro-preface.xml:
16072 * docs/pwg/pwg.xml:
16073 describe dparams (controller) for plugins
16074 unify docs a little more
16076 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
16078 * docs/gst/gstreamer-sections.txt:
16079 * gst/gstutils.c: (element_find_unconnected_pad),
16080 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16082 Add new API: gst_parse_bin_from_description() and
16083 gst_bin_find_unconnected_pad() (#329069).
16085 2006-02-01 Stefan Kost <ensonic@users.sf.net>
16087 * docs/manual/README:
16088 uncover a nasty detail of the docs build
16090 2006-01-31 Wim Taymans <wim@fluendo.com>
16092 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16093 Don't cache duration messages if we're not going to use or
16096 2006-01-31 Stefan Kost <ensonic@users.sf.net>
16098 * docs/manual/advanced-dparams.xml:
16099 * docs/pwg/advanced-dparams.xml:
16103 * libs/gst/controller/lib.c: (gst_controller_init):
16106 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
16108 * gst/gstelement.c: (gst_element_message_full):
16109 also show file/line/func if no additional debug was given
16111 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
16113 * win32/vs7/grammar.vcproj:
16114 activate copy of autogenerated files for Release mode
16116 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16118 * win32/common/libgstreamer.def:
16119 export gst_value_compare
16121 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
16123 * plugins/elements/Makefile.am:
16124 * plugins/elements/gstelements.c:
16125 * plugins/elements/gstfdsink.c: (_do_init),
16126 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16127 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16128 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16129 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16130 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16131 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16132 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16133 * plugins/elements/gstfdsink.h:
16134 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16136 2006-01-30 Stefan Kost <ensonic@users.sf.net>
16138 * docs/manual/advanced-dparams.xml:
16139 describe controller
16140 * docs/manual/advanced-position.xml:
16141 * docs/manual/basics-init.xml:
16142 * docs/manual/manual.xml:
16143 * docs/manual/titlepage.xml:
16144 * docs/pwg/pwg.xml:
16145 * docs/pwg/titlepage.xml:
16146 cleanup xml (more to come)
16147 * libs/gst/controller/gstcontroller.c:
16150 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16152 * win32/vs6/grammar.dsp:
16153 add autogen of gstmarshal.c,h for Release mode
16155 2006-01-30 Wim Taymans <wim@fluendo.com>
16157 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16158 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16159 (gst_base_sink_handle_object), (gst_base_sink_event),
16160 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16161 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16162 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16163 (gst_base_sink_deactivate), (gst_base_sink_activate),
16164 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16165 (gst_base_sink_query), (gst_base_sink_change_state):
16166 Basesink cleanups, remove some old code.
16167 Handle the case where a subclass can preroll in the render
16168 method (mostly audiosinks).
16169 Handle more events.
16170 Remove some locks around variables that are now protected
16171 with the PREROLL_LOCK (clock_id, flushing, ..).
16172 Optimize position query some more, do correct locking.
16173 Remove old code to push queue in state change, this is not
16174 needed anymore since preroll blocks on all prerollable items
16176 Almost implemented as described in design doc.
16178 2006-01-30 Wim Taymans <wim@fluendo.com>
16180 * tests/check/gst/gstbin.c: (GST_START_TEST):
16181 Wait for refcount to settle down before checking.
16183 2006-01-30 Wim Taymans <wim@fluendo.com>
16185 * docs/design/part-element-sink.txt:
16186 Pseudo code overview of desired sink behaviour regarding
16189 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16190 * win32/vs6/grammar.dsp:
16191 fix some bugs in Release mode for autogenerated files
16193 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16194 * win32/common/libgstbase.def:
16195 * win32/common/libgstreamer.def:
16196 export some new symbols: gst_base_src_set_format,
16197 gst_iterator_next, gst_structure_set_valist
16199 2006-01-29 Julien MOUTTE <julien@moutte.net>
16201 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16202 Set pad functions unconditionally. Fixes #329105.
16204 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16206 add vs8 project files created by Sergey Scobich
16208 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
16210 * gst/gstutils.c: (gst_element_unlink_pads):
16211 Don't leak pad references.
16213 * tests/check/elements/fakesink.c: (GST_START_TEST):
16214 * tests/check/generic/sinks.c: (GST_START_TEST):
16215 * tests/check/generic/states.c: (GST_START_TEST):
16216 * tests/check/gst/gstbin.c: (GST_START_TEST):
16217 * tests/check/gst/gstcaps.c: (GST_START_TEST):
16218 * tests/check/gst/gstelement.c: (GST_START_TEST):
16219 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16220 * tests/check/gst/gstiterator.c: (GST_START_TEST):
16221 * tests/check/gst/gstvalue.c: (GST_START_TEST):
16222 Fix a bunch of leaks. Make generic/sinks.c
16223 use a bit less cpu by slowing the buffer rate
16224 between fakesrc and fakesink.
16226 2006-01-27 Stefan Kost <ensonic@users.sf.net>
16228 * gst/gstelement.c: (gst_element_send_event):
16231 * gst/gstiterator.c:
16232 * gst/gstiterator.h:
16233 * gst/gstpad.c: (gst_pad_send_event):
16234 * gst/gststructure.c:
16238 * libs/gst/base/gstadapter.c:
16239 doc fixes, to link to function, just write gst_cool_function(), don't
16242 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16244 * plugins/elements/gsttee.c: (gst_tee_do_push),
16245 (gst_tee_handle_buffer):
16246 Always prefer an actual return value from a src
16247 pad in place of NOT_LINKED. This means we return
16248 WRONG_STATE when all src pads are WRONG_STATE
16249 instead of NOT_LINKED.
16251 Lock when replacing the last message to prevent
16252 racing with the get_property method.
16256 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16258 * tests/check/Makefile.am:
16259 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16261 Add a very simple check that should have caught the memleak I fixed
16262 last night (if not for the slice allocator hiding it)
16264 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16266 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16267 (gst_bin_remove_func), (gst_bin_handle_message_func),
16268 (bin_query_duration_fold), (bin_query_generic_fold):
16269 Clean up references to the clock provider when disposed or when
16270 handling a clock-lost message from it.
16272 Unref sinks when performing a query via gst_iterator_fold, as the
16273 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16275 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16276 (gst_clock_set_master):
16277 Drop our reference to the master clock, if any, when we are disposed.
16279 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16280 Chain up in dispose.
16282 2006-01-26 Wim Taymans <wim@fluendo.com>
16284 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16285 Add some debugging.
16287 2006-01-26 Julien MOUTTE <julien@moutte.net>
16289 * plugins/elements/gsttee.c: (gst_tee_do_push),
16290 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16291 handles pad being NOT_LINKED or in WRONG_STATE.
16293 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16298 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16301 remove obsolete entry
16303 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16305 * docs/gst/gstreamer-sections.txt:
16306 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16307 (gst_bin_iterate_sources), (gst_bin_send_event):
16309 * gst/gstelement.c: (gst_element_send_event):
16311 * gst/gstpad.c: (gst_pad_send_event):
16312 added code for downstream events, reviewed docs in gstevent.c
16314 2006-01-25 Julien MOUTTE <julien@moutte.net>
16316 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16317 We only query position using the clock in the playing state.
16318 Query peer in the other cases.
16319 * win32/common/config.h: Updates.
16321 2006-01-24 Wim Taymans <wim@fluendo.com>
16323 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16324 A clock entry that is scheduled for the exact time of the
16325 clock is still in time.
16327 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16328 (gst_base_sink_do_sync):
16329 Add some more debug info.
16331 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16334 Add new vs7 project files and solution.
16336 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16339 all files removed as they were out-dated.
16341 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16343 * docs/random/release:
16345 * gst/gstbin.c: (gst_bin_init):
16346 * gst/gstbus.c: (gst_bus_new):
16348 * gst/gstpipeline.c: (gst_pipeline_init):
16349 use gst_bus_new(), improve logging, fix docs
16350 * win32/common/config.h:
16351 update for cvs build
16353 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16356 up required version of automake to 1.7
16358 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16360 * win32/common/libgstreamer.def:
16361 export gst_buffer_is_metadata_writable
16363 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16365 * docs/gst/gstreamer-sections.txt:
16367 Add gst_event_replace() (#327001)
16369 2006-01-20 Wim Taymans <wim@fluendo.com>
16371 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16372 Make it actually compile too..
16374 2006-01-20 Wim Taymans <wim@fluendo.com>
16377 Clarify behaviour of _is_equal() when passing NULL parameters.
16379 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16380 (gst_pad_set_caps):
16381 Cleanups. Don't unref NULL caps.
16382 When setting the same caps, protect caps of the pad with
16384 Use full functionality of _is_equal() when comparing caps.
16386 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16388 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16389 Don't loop infinitely if there are no buffers to present. Partially
16390 fixes #327197, but collectpads is just broken for reusing elements
16391 to do multiple encodes atm.
16393 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16395 * tools/gst-inspect.c: (print_element_features):
16396 * tools/gst-xmlinspect.c: (main):
16397 URL_HANDLER is not a plugin feature we can search for in
16400 2006-01-19 Edward Hervey <edward@fluendo.com>
16402 * gst/gstelement.c: (gst_element_pads_activate):
16403 When activating, do src pads first, then sink pads.
16404 When de-activating, do sink pads first, then src pads.
16406 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16408 * docs/gst/gstreamer-sections.txt:
16409 Add gst_index_add_associationv to the docs
16411 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16416 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16417 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16418 Do some refactoring. Doesn't actually change functionality,
16419 but makes landing the DRAIN event easier later.
16421 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16423 * docs/pwg/advanced-scheduling.xml:
16424 Update from 0.9.x to 0.10 API and make example a bit
16427 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16429 * docs/gst/gstreamer-sections.txt:
16430 Add gst_buffer_(is|make)_metadata_writable methods.
16432 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16434 * docs/design/part-sparsestreams.txt:
16435 Update sparse streams doc, hopefully for greater clarity
16437 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16439 * docs/design/part-events.txt:
16440 Remove mention of FILLER events.
16443 * docs/design/part-sparsestreams.txt:
16444 Write some things about using NEWSEGMENT to keep sparse streams
16447 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16449 * gst/gstbin.c: (gst_bin_dispose):
16450 Guard gst_object_unref call against a NULL object (dispose
16451 can theoretically be called multiple times).
16453 2006-01-18 Wim Taymans <wim@fluendo.com>
16455 * gst/gstbin.c: (gst_bin_element_set_state):
16456 * gst/gstclock.c: (gst_clock_id_wait):
16457 Added some more debug info.
16459 * libs/gst/base/gstadapter.c:
16462 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16463 (gst_base_sink_do_sync), (gst_base_sink_chain):
16464 Added some comments.
16466 2006-01-18 Wim Taymans <wim@fluendo.com>
16468 * tests/check/Makefile.am:
16469 * tests/check/elements/fakesink.c: (chain_async_buffer),
16470 (chain_async), (chain_async_return), (GST_START_TEST),
16471 (fakesink_suite), (main):
16472 Added fakesink test that checks prerolling and clipping
16475 * tests/check/gst/gstutils.c: (GST_START_TEST):
16476 Make check run faster so that buildbots don't timeout.
16478 2006-01-18 Wim Taymans <wim@fluendo.com>
16480 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16481 (gst_base_sink_do_sync):
16483 When the sink finishes blocking on the preroll buffer, it can
16484 immediatly render it instead of rendering when the next buffer
16487 2006-01-18 Wim Taymans <wim@fluendo.com>
16489 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16490 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16491 (gst_base_sink_chain):
16493 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16494 Don't store _last_stop if the buffer is dropped.
16496 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16498 * plugins/elements/gsttypefindelement.c:
16499 (gst_type_find_element_class_init):
16500 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16501 object method handler that sets the caps on the pad and we want
16502 that to happen before we emit the signal (fixes e.g. feeding a
16503 plain text file to decodebin).
16505 2006-01-18 Christian Schaller <Christian@fluendo.com>
16507 * gst/gstplugin.c: Add MPL and Proprietary as license options
16509 2006-01-18 Andy Wingo <wingo@pobox.com>
16511 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16512 symbol was exported before, it appears this was just an oversight.
16514 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16516 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16517 prototype to gint. OK since this prototype was not in the header.
16519 2006-01-17 Andy Wingo <wingo@pobox.com>
16521 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16522 registry while we remove plugins.
16524 * tools/gst-inspect.c (print_element_info): Don't unref the
16525 factory arg, that should be the responsibility of whatever code
16526 received the ref. Fixes a double-free when called from
16527 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16528 (main): Unref the factory if we have one.
16529 (print_element_list): No change -- relies on the
16530 plugin_feature_list_free to free the list of features.
16532 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16534 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16535 (gst_buffer_make_metadata_writable):
16537 * libs/gst/base/gstbasetransform.c:
16538 (gst_base_transform_prepare_output_buf):
16539 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16540 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16541 Replace gst_buffer_(make|is)_metadata_writable patch now
16542 that the release is out.
16544 2006-01-17 Andy Wingo <wingo@pobox.com>
16546 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16547 in the present tense without reference to versions.
16549 * gst/gstregistry.c (gst_registry_add_plugin)
16550 (gst_registry_remove_plugin, gst_registry_remove_feature)
16551 (gst_registry_find_feature, gst_registry_get_feature_list)
16552 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16553 (gst_registry_lookup, gst_registry_scan_path)
16554 (_gst_registry_remove_cache_plugins)
16555 (gst_registry_get_feature_list_by_plugin): Add argument
16558 === release 0.10.2 ===
16560 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16563 releasing 0.10.2, "If man is five"
16565 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16569 * libs/gst/base/gstbasetransform.c:
16570 (gst_base_transform_prepare_output_buf):
16571 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16572 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16573 Back out patch until after the release.
16575 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16577 * gst/gstminiobject.c:
16578 Spelling fix in docs.
16579 * ChangeLog - remove conflict indicator
16581 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16583 Reviewed By: Andy Wingo
16585 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16586 (gst_buffer_make_metadata_writable):
16588 Add gst_buffer_(is|make)_metadata_writable as analogues of
16589 gst_buffer_(is|make)_writable.
16591 * libs/gst/base/gstbasetransform.c:
16592 (gst_base_transform_prepare_output_buf):
16593 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16594 Use name gst_buffer_(is|make)_metadata_writable functions.
16596 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16597 Test gst_buffer_(is|make)_metadata_writable
16601 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16603 * docs/manual/Makefile.am:
16604 don't do parallel make
16607 * win32/common/config.h.in:
16608 add generations for HOST_CPU and GST_MAJORMINOR
16609 * win32/common/config.h:
16610 commit generated result
16612 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16614 * docs/manual/appendix-integration.xml:
16615 Update GNOME integration section to use gst_init_get_option_group()
16616 instead of the old popt stuff (#322911). Also, GNOME applications
16617 should now use gconf*sink and gconf*src instead of the old gconf
16620 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16623 * docs/gst/gstreamer-docs.sgml:
16624 * docs/gst/gstreamer-sections.txt:
16625 * docs/libs/gstreamer-libs-sections.txt:
16626 add new API entries to the docs
16627 * libs/gst/controller/Makefile.am:
16628 * libs/gst/controller/gstcontroller.c:
16629 * libs/gst/controller/gstcontroller.h:
16630 * libs/gst/controller/gstcontrollerprivate.h:
16631 * libs/gst/controller/gsthelper.c:
16632 * libs/gst/controller/gstinterpolation.c:
16633 move private structs to private header
16635 gstreamer-0.7 -> gstreamer-0.10
16636 * tests/check/libs/struct_i386.h:
16637 remove private structs
16639 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16641 * plugins/indexers/Makefile.am:
16642 Fixes as part of #317048
16644 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16646 * plugins/indexers/Makefile.am:
16647 fix #316086 - compilation when mmap is missing
16649 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16651 * libs/gst/base/gstbasesink.c:
16652 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16653 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16654 * win32/common/config.h:
16655 added some defines GST_MAJORMINOR and HOST_CPU
16656 * win32/common/libgstbase.def:
16657 * win32/common/libgstreamer.def:
16658 added some exported functions.
16660 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16662 * libs/gst/controller/gstcontroller.c:
16663 (gst_controlled_property_set_interpolation_mode),
16664 (gst_controlled_property_new):
16665 * libs/gst/controller/gstcontroller.h:
16666 * libs/gst/controller/gstinterpolation.c:
16667 (interpolate_none_get_string_value_array):
16668 make G_TYPE_STRING controlable
16670 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16673 * tools/gst-feedback.1.in:
16674 * tools/gst-inspect.1.in:
16675 * tools/gst-launch.1.in:
16676 * tools/gst-md5sum.1.in:
16677 * tools/gst-typefind.1.in:
16678 * tools/gst-xmlinspect.1.in:
16679 * tools/gst-xmllaunch.1.in:
16680 cleanup man-pages, remove reference to gst-register, document env-vars
16682 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16684 * gst/gstbuffer.c: (gst_buffer_span):
16685 gst_buffer_span should copy the timestamp of the first buffer
16686 if they were both originally overlapping subbuffers of the
16687 same parent, using the same logic as the 'slow copy' case.
16689 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16691 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16692 Need to awaken ALL the pads when we pop a buffer, otherwise
16693 collectpads only works when there is 2 input streams.
16695 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16697 * docs/random/ensonic/media-device-daemon.txt:
16700 fix doc example, add clarification
16701 * tools/gst-launch.1.in:
16702 add initial info about GST_PLUGIN_PATH, needs more work
16704 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16706 * docs/manual/basics-bins.xml:
16707 * docs/manual/basics-elements.xml:
16708 * docs/manual/intro-basics.xml:
16709 Some more minor docs additions and updates.
16711 2006-01-11 Wim Taymans <wim@fluendo.com>
16713 * docs/manual/basics-bins.xml:
16714 * docs/manual/basics-elements.xml:
16715 Some small fixes as pointed out by Ser-ver on IRC.
16717 2006-01-10 Edward Hervey <edward@fluendo.com>
16719 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16720 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16721 the single-segment mode.
16723 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16725 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16727 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16728 (gst_base_src_perform_seek), (gst_base_src_send_event),
16729 (gst_base_src_set_property), (gst_base_src_get_property),
16730 (gst_base_src_loop), (gst_base_src_start),
16731 (gst_base_src_activate_push):
16732 * libs/gst/base/gstbasesrc.h:
16733 Name (private) union; makes Sun's Forte compiler happy (#324900).
16735 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16738 gst-register is gone.
16740 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16742 * gst/gstvalue.c: (_gst_value_initialize):
16743 make the G_TYPE_DATE instantiation work if debug is disabled
16745 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16747 * gst/gstmessage.c: (gst_message_parse_tag),
16748 (gst_message_parse_error), (gst_message_parse_warning):
16749 Don't crash when return location for error/warning debug
16750 string is NULL; add fact that return locations can be
16751 NULL to docs where appropriate.
16753 2006-01-05 Wim Taymans <wim@fluendo.com>
16755 * gst/gstplugin.c: (gst_plugin_load_file):
16756 Replace strdup by g_strdup.
16758 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16760 * docs/pwg/advanced-types.xml:
16763 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16765 submitted by: Abel Cheung
16769 Added Chinese (traditional) translation
16771 2006-01-04 Wim Taymans <wim@fluendo.com>
16773 * docs/manual/basics-pads.xml:
16774 * docs/plugins/Makefile.am:
16775 * docs/plugins/gstreamer-plugins-docs.sgml:
16776 * docs/plugins/gstreamer-plugins-sections.txt:
16777 * docs/pwg/advanced-clock.xml:
16778 * docs/pwg/advanced-scheduling.xml:
16779 * docs/pwg/advanced-types.xml:
16780 * plugins/elements/gstfdsink.c:
16781 * plugins/elements/gstfdsrc.c:
16782 * plugins/elements/gstfdsrc.h:
16783 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16784 * plugins/elements/gstidentity.h:
16785 * plugins/elements/gstqueue.h:
16786 * plugins/elements/gsttee.c:
16787 * plugins/elements/gsttee.h:
16788 * plugins/elements/gsttypefindelement.c:
16789 (gst_type_find_element_class_init):
16790 * plugins/elements/gsttypefindelement.h:
16791 Small updates to various docs.
16792 Added core plugins to docs.
16794 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16797 add a suppression for liboil's uninitialized variable
16799 2006-01-02 James Livingston <jrl at ids dot org dot au>
16801 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16804 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16805 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16806 compiler switch is being used (#325429).
16808 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16810 * gst/gstbin.c: (gst_bin_query):
16811 Disable duration query caching in bins until it gets
16812 fixed (see #324807).
16814 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16816 * tools/gst-inspect.c: (print_element_properties_info):
16817 Handle properties of POINTER and BOXED type.
16819 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16821 * gst/gst.c: (init_post):
16822 Init tags stuff and some other things before loading
16823 any static plugins (there may be other static plugins
16824 than just the GStreamer ones, and they may want to
16825 register their own tags or formats or whatever, and
16826 preferably without segfaulting).
16828 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16829 Print at least a warning in the debug logs if we drop a
16830 query just because we don't know how to adjust the value
16831 in the particular format.
16833 2005-12-24 David Schleef <ds@schleef.org>
16835 * tools/gstreamer-completion:
16836 Replacement for gst-complete written in sh and sed. Only
16837 completes names of features, but that's 90% of what I want
16838 it for. Properties are not available in registry.xml. (Maybe
16841 === release 0.10.1 ===
16843 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16846 releasing 0.10.1, "Nollaig chridheil"
16848 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16850 * docs/faq/cvs.xml:
16851 Add missing quote, should be make ERROR_CFLAGS="".
16853 2005-12-20 Wim Taymans <wim@fluendo.com>
16855 * docs/design/part-trickmodes.txt:
16856 More documentation on trickmodes.
16858 2005-12-20 Edward Hervey <edward@fluendo.com>
16860 * gst/gstcaps.c: (gst_static_caps_get_type):
16862 API addition: GST_TYPE_STATIC_CAPS
16863 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16864 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16865 * gst/gstpadtemplate.h:
16866 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16867 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16870 2005-12-18 Wim Taymans <wim@fluendo.com>
16872 * libs/gst/base/gstadapter.c:
16873 * libs/gst/base/gstadapter.h:
16874 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16875 (gst_base_sink_get_position):
16876 * libs/gst/base/gstbasesink.h:
16877 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16878 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16879 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16880 (gst_base_src_send_event), (gst_base_src_update_length),
16881 (gst_base_src_get_range), (gst_base_src_loop),
16882 (gst_base_src_start):
16883 * libs/gst/base/gstbasesrc.h:
16884 * libs/gst/base/gstbasetransform.h:
16885 * libs/gst/base/gstcollectpads.h:
16886 * libs/gst/base/gstpushsrc.c:
16887 * libs/gst/base/gstpushsrc.h:
16888 * libs/gst/dataprotocol/dataprotocol.c:
16889 * libs/gst/dataprotocol/dataprotocol.h:
16890 * libs/gst/net/gstnetclientclock.h:
16891 * libs/gst/net/gstnettimeprovider.h:
16892 Documentation updates.
16894 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16896 * docs/manual/basics-helloworld.xml:
16897 Remove superfluous closing bracket in helloworld example.
16899 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16901 * tools/gst-launch.1.in:
16902 Update gst-launch man page; add a section with useful
16903 environment variables. Fixes #323882.
16905 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16908 * gst/gst_private.h:
16909 change some char* into char[]
16911 2005-12-16 Wim Taymans <wim@fluendo.com>
16913 * gst/gstregistryxml.c: (load_feature):
16915 Don't use g_object_unref on GstObjects so that we avoid
16916 leaks on unsafe glibs.
16918 2005-12-16 Wim Taymans <wim@fluendo.com>
16920 * gst/gstbin.c: (gst_bin_recalc_state):
16923 2005-12-16 Wim Taymans <wim@fluendo.com>
16925 * common/check.mak:
16926 Added make forever target for check.
16928 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16930 * gst/gst.c: (init_post):
16931 make the registry cache file HOST_CPU-dependent
16933 2005-12-16 Andy Wingo <wingo@pobox.com>
16935 * plugins/elements/gstbufferstore.c
16936 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16939 * tests/check/gst/gstobject.c
16940 (test_fake_object_name_threaded_unique): Pay attention to
16941 g_list_sort return value.
16943 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16945 * tools/gst-feedback-m.m:
16946 Update for 0.9/0.10 (fixes #323870).
16948 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16950 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16951 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16953 * tests/check/gst/gstminiobject.c: (my_foo_init),
16954 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16955 (test_value_collection), (gst_mini_object_suite):
16956 Add test to ensure refcounts end up as expected when passing
16957 GstMiniObjects through g_object_get() and g_object_set().
16959 2005-12-14 Julien MOUTTE <julien@moutte.net>
16961 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16962 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16963 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16964 of collectpads. This version removes a lot of races without
16965 touching API/ABI. Yay !
16967 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16969 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16970 Don't allow activation of a srcpad in pull_range if it has no
16972 Change some debug statements to be a little clearer
16974 * plugins/elements/gsttypefindelement.c:
16975 (gst_type_find_handle_src_query):
16976 Check that we have a peer before executing queries thereupon.
16978 * tests/examples/metadata/read-metadata.c: (message_loop):
16979 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16980 immediately return us any available message with 0 timeout.
16982 2005-12-12 Michael Smith <msmith@fluendo.com>
16984 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16985 Don't unref factories after calling them.
16986 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16987 * plugins/elements/gsttypefindelement.c:
16988 (gst_type_find_element_chain):
16989 Free lists of factories after using them. Fixing typefinding memory
16992 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16994 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16995 (gst_plugin_feature_load):
16996 more meaningful debug output
16998 * tests/Makefile.am:
16999 * tests/old/examples/Makefile.am:
17000 make make distcheck happy again
17002 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17004 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17005 Catch the special case where we are operating chain-based,
17006 but the downstream peer pad has no chain function. Emit a
17007 custom error message in this case instead of letting the
17008 core generate one implying that this is some sort of core
17009 bug. It's not, it just means that whatever got plugged
17010 into the pipeline downstream when we announced the type
17011 can only operate pull-based, while our source can only
17012 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17013 Error string has not been marked for translation yet, as
17014 it probably needs some more work first.
17016 (gst_type_find_element_get_best_possibility):
17017 Add helper function to find the best of all available
17018 found possibilities that qualify given the min. threshold.
17020 (gst_type_find_element_handle_event):
17021 Fix the case where we get an EOS while still in TYPEFIND
17022 mode (we want to chose the best of all possible types,
17023 not just the first type that happens to be in our unsorted
17024 list of possible types).
17026 (gst_type_find_element_chain):
17027 Make sure we return GST_FLOW_ERROR when we errored out
17028 in stop_typefinding(); also, don't just find the best of
17029 all found type entries and then use the last examined
17030 type entry, but actually use the best entry.
17032 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17034 * tests/examples/typefind/typefind.c: (type_found):
17035 * tests/examples/xml/runxml.c: (xml_loaded):
17036 More gcc4 fixes and a mem leak fix.
17038 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17040 * tests/examples/xml/createxml.c: (object_saved):
17043 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17045 * tests/Makefile.am:
17046 enable the examples even more
17048 2005-12-12 Andy Wingo <wingo@pobox.com>
17050 * libs/gst/net/gstnettimeprovider.c
17051 (gst_net_time_provider_class_init, gst_net_time_provider_init)
17052 (gst_net_time_provider_set_property)
17053 (gst_net_time_provider_get_property):
17054 API addition: Export "active" as a GObject property.
17055 (gst_net_time_provider_thread): Only respond to time queries if
17056 the time provider is active.
17058 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17059 NetTimeProvider, preserving binary compat.
17061 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17063 * tests/examples/controller/audio-example.c: (main):
17064 * tests/examples/launch/Makefile.am:
17065 convert comments again
17067 2005-12-12 Wim Taymans <wim@fluendo.com>
17069 * libs/gst/base/gstpushsrc.c:
17072 2005-12-12 Wim Taymans <wim@fluendo.com>
17074 * docs/libs/gstreamer-libs-sections.txt:
17075 Added new symbol to docs.
17077 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17078 (gst_base_src_init), (gst_base_src_set_format),
17079 (gst_base_src_default_query), (gst_base_src_query),
17080 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17081 (gst_base_src_perform_seek), (gst_base_src_send_event),
17082 (gst_base_src_default_event), (gst_base_src_event_handler),
17083 (gst_base_src_set_property), (gst_base_src_get_property),
17084 (gst_base_src_wait), (gst_base_src_do_sync),
17085 (gst_base_src_update_length), (gst_base_src_get_range),
17086 (gst_base_src_check_get_range), (gst_base_src_loop),
17087 (gst_base_src_default_negotiate), (gst_base_src_start),
17088 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17089 (gst_base_src_change_state):
17090 * libs/gst/base/gstbasesrc.h:
17091 Implement seeking to other formats than _BYTES.
17092 Implement more seeking methods correctly.
17094 Added query vmethod.
17095 Added do_seek vmethod to make life easier for subclasses
17097 API addition: gst_base_src_set_format()
17099 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17101 * tests/examples/Makefile.am:
17104 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17107 * docs/random/ensonic/media-device-daemon.txt:
17108 * tests/examples/controller/.cvsignore:
17109 * tests/examples/controller/Makefile.am:
17110 * tests/examples/controller/audio-example.c: (main):
17111 * tests/examples/helloworld/.cvsignore:
17112 * tests/examples/helloworld/Makefile.am:
17113 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17114 * tests/examples/launch/.cvsignore:
17115 * tests/examples/launch/Makefile.am:
17116 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17117 * tests/examples/metadata/.cvsignore:
17118 * tests/examples/metadata/Makefile.am:
17119 * tests/examples/metadata/read-metadata.c: (message_loop),
17120 (make_pipeline), (print_tag), (main):
17121 * tests/examples/queue/.cvsignore:
17122 * tests/examples/queue/Makefile.am:
17123 * tests/examples/queue/queue.c: (event_loop), (main):
17124 * tests/examples/typefind/.cvsignore:
17125 * tests/examples/typefind/Makefile.am:
17126 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17128 * tests/examples/xml/.cvsignore:
17129 * tests/examples/xml/Makefile.am:
17130 * tests/examples/xml/createxml.c: (object_saved), (main):
17131 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17132 * tests/old/examples/Makefile.am:
17133 * tests/old/examples/TODO:
17134 * tests/old/examples/controller/.cvsignore:
17135 * tests/old/examples/controller/Makefile.am:
17136 * tests/old/examples/controller/audio-example.c:
17137 * tests/old/examples/helloworld/.cvsignore:
17138 * tests/old/examples/helloworld/Makefile.am:
17139 * tests/old/examples/helloworld/helloworld.c:
17140 * tests/old/examples/launch/.cvsignore:
17141 * tests/old/examples/launch/Makefile.am:
17142 * tests/old/examples/launch/mp3parselaunch.c:
17143 * tests/old/examples/launch/mp3play:
17144 * tests/old/examples/manual/Makefile.am:
17145 * tests/old/examples/metadata/Makefile.am:
17146 * tests/old/examples/metadata/read-metadata.c:
17147 * tests/old/examples/queue/.cvsignore:
17148 * tests/old/examples/queue/Makefile.am:
17149 * tests/old/examples/queue/queue.c:
17150 * tests/old/examples/typefind/.cvsignore:
17151 * tests/old/examples/typefind/Makefile.am:
17152 * tests/old/examples/typefind/typefind.c:
17153 * tests/old/examples/xml/.cvsignore:
17154 * tests/old/examples/xml/Makefile.am:
17155 * tests/old/examples/xml/createxml.c:
17156 * tests/old/examples/xml/runxml.c:
17157 applied some simple fixing to some examples
17158 re-enabled the working examples
17160 2005-12-12 Wim Taymans <wim@fluendo.com>
17162 * gst/gstsegment.c: (gst_segment_init),
17163 (gst_segment_set_last_stop), (gst_segment_set_seek),
17164 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17165 (gst_segment_to_running_time):
17166 Added more documentation.
17167 Make sure the last_pos value is updated properly.
17168 Make sure to_stream_time and to_running_time don't
17169 operate on wrong values.
17171 * tests/check/gst/gstsegment.c: (GST_START_TEST):
17174 2005-12-12 Michael Smith <msmith@fluendo.com>
17176 * plugins/elements/gsttypefindelement.c: (free_entry),
17177 (gst_type_find_element_chain):
17178 Now that we're not leaking factories, make sure we keep references
17179 to them while we need them.
17181 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17183 * tests/check/gst/struct_i386.h:
17184 ifdef out the XML structs
17186 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17188 * gst/gstvalue.c: (gst_value_transform_double_fraction):
17189 floor is not needed, F is always positive; this obviates the
17190 need for adding -lm when building without libxml
17192 2005-12-12 Wim Taymans <wim@fluendo.com>
17194 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17195 Take current playback rate into account when reporting
17198 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17200 * docs/manual/mime-world.fig:
17201 Let's try this again, this time with a file that is
17202 actually in XFig format.
17204 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17206 * docs/manual/mime-world.fig:
17207 Add audioconvert element to diagram so that it
17208 matches the text and the code (fixes #319526).
17210 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17212 * docs/pwg/building-chainfn.xml:
17213 * docs/pwg/building-pads.xml:
17214 * docs/pwg/building-state.xml:
17215 * docs/pwg/other-source.xml:
17216 Update state change stuff for 0.10 (fixes #322969).
17218 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17220 * docs/manual/advanced-dataaccess.xml:
17221 * docs/manual/appendix-checklist.xml:
17222 * docs/manual/appendix-programs.xml:
17223 * docs/manual/basics-pads.xml:
17224 * docs/manual/highlevel-components.xml:
17225 * docs/manual/manual.xml:
17226 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17227 add converters in front of pipelines; remove curly
17228 brackets for threads stuff, they no longer exist; use
17229 GST_TYPE_FRACTION for framerates; update some pieces of
17230 code to 0.10, but there's plenty more to do.
17232 * docs/manual/appendix-porting.xml:
17233 Expand on asynchroneous state changes; s/0.9/0.10/;
17234 mention disappearance of gst_init_get_popt_table()
17237 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17239 * docs/faq/using.xml:
17240 Spider no longer exists, and neither does gst-launch-ext.
17241 Update examples to use decodebin and playbin and put
17242 converters in front of sinks (fixes #323726).
17244 2005-12-09 Michael Smith <msmith@fluendo.com>
17246 * plugins/elements/gsttypefindelement.c: (find_peek),
17247 (gst_type_find_element_chain):
17248 Fix leaking element factories in typefinding.
17249 Fix problem where we forgot about a probable type on non-seekable
17250 files, and thus later mis-typefound it.
17252 2005-12-09 Michael Smith <msmith@fluendo.com>
17254 * common/m4/gst-makecontext.m4:
17255 * common/m4/gst-mcsc.m4:
17257 * win32/common/config.h:
17258 * win32/common/config.h.in:
17259 Remove makecontext stuff; not used in 0.10 and causes problems on
17260 HPUX according to bug #322441
17262 2005-12-07 Wim Taymans <wim@fluendo.com>
17264 * tests/check/Makefile.am:
17265 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17267 * tests/check/libs/struct_i386.h:
17268 Added ABI check for libs
17270 2005-12-07 Wim Taymans <wim@fluendo.com>
17272 * tests/check/Makefile.am:
17273 And add the struct_i386.h to dist.
17275 2005-12-07 Wim Taymans <wim@fluendo.com>
17277 * tests/check/Makefile.am:
17278 * tests/check/gst/.cvsignore:
17279 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17281 * tests/check/gst/struct_i386.h:
17282 Added check for ABI compatibility.
17284 2005-12-07 Wim Taymans <wim@fluendo.com>
17286 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17287 (gst_fake_src_get_times), (gst_fake_src_create):
17288 Fix broken sync option, fixes #323259
17290 2005-12-07 Wim Taymans <wim@fluendo.com>
17295 * gst/gstcaps.c: (gst_caps_is_equal):
17296 Don't assert on NULL <--> X. Fixes #323260
17298 * gst/gstminiobject.c: (gst_mini_object_replace):
17299 If we're doing atomic operations, we might just as well use
17300 the proper way to get an atomic pointer.
17302 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17303 Clean up debugging.
17305 2005-12-07 Michael Smith <msmith@fluendo.com>
17307 * gst/parse/grammar.y:
17308 Remove handling of { } for threads.
17310 2005-12-06 David Schleef <ds@schleef.org>
17312 * libs/gst/base/gstbasetransform.c: speling fix.
17314 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17316 * docs/libs/tmpl/gstdataprotocol.sgml:
17317 * docs/random/omega/testing/gstobject.c:
17320 * gst/gstelement.c:
17321 * gst/gstelementfactory.c:
17324 * gst/gstghostpad.c:
17326 * gst/gstpadtemplate.c:
17327 * gst/gstregistryxml.c:
17328 * gst/gsttaglist.c:
17329 * gst/gsttagsetter.c:
17330 * gst/gsttypefind.c:
17332 * libs/gst/base/gstbasesrc.c:
17333 * libs/gst/net/gstnetclientclock.c:
17334 * libs/gst/net/gstnettimeprovider.c:
17335 * plugins/elements/gstfakesrc.c:
17336 * plugins/elements/gstfdsrc.c:
17337 * plugins/elements/gstfilesrc.c:
17338 * plugins/elements/gstidentity.c:
17339 * plugins/elements/gstqueue.c:
17340 * plugins/elements/gsttypefindelement.c:
17341 * plugins/indexers/gstfileindex.c:
17342 * plugins/indexers/gstmemindex.c:
17343 * tests/check/gst/gsttag.c:
17344 * tests/old/examples/cutter/cutter.c:
17345 * tests/old/examples/mixer/mixer.c:
17346 * tests/old/examples/xml/runxml.c: (main):
17347 * tests/old/testsuite/caps/normalisation.c:
17348 * tests/old/testsuite/debug/global.c:
17349 * tests/old/testsuite/parse/parse1.c:
17350 * tools/gst-xmlinspect.c:
17351 * win32/common/dirent.c:
17354 === release 0.10.0 ===
17356 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17359 releasing 0.10.0, "Maroilles"
17361 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17363 submitted by: Funda Wang <fundawang@linux.net.cn>
17367 added Chinese (Traditional) translation
17369 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17371 * docs/gst/gstreamer-sections.txt:
17372 * docs/libs/tmpl/gstdataprotocol.sgml:
17373 * docs/random/thomasvs/TODO:
17378 2005-12-05 Andy Wingo <wingo@pobox.com>
17380 patch by: Wim Taymans <wim@fluendo.com>
17382 * libs/gst/base/gstbasetransform.c
17383 (gst_base_transform_prepare_output_buf)
17384 (gst_base_transform_buffer_alloc):
17385 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17386 alloc_buffer_and_set_caps.
17388 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17389 set_caps on the source pad.
17390 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17391 alloc_buffer used to do. Fixes #322874.
17393 * docs/gst/gstreamer-sections.txt:
17394 * docs/design/part-negotiation.txt:
17395 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17398 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17400 patch by: Sebastien Moutte
17403 * win32/common/config.h.in:
17404 * win32/vs6/libgstcontroller.dsp:
17407 2005-12-05 Wim Taymans <wim@fluendo.com>
17409 * gst/gstcaps.c: (gst_caps_is_equal):
17410 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17411 (gst_fake_src_create):
17412 Back out previous code changes, leave doc updates, file bugs
17415 2005-12-05 Wim Taymans <wim@fluendo.com>
17417 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17418 (gst_fake_src_get_times), (gst_fake_src_create):
17419 * plugins/elements/gstfakesrc.h:
17420 Fix broken sync code.
17422 2005-12-05 Wim Taymans <wim@fluendo.com>
17424 * gst/gstcaps.c: (gst_caps_is_equal):
17425 Comparing NULL against !NULL yields different caps, not a
17428 2005-12-05 Wim Taymans <wim@fluendo.com>
17430 * gst/gstpipeline.c:
17431 Fix small typo in docs.
17433 2005-12-05 Andy Wingo <wingo@pobox.com>
17435 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17437 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17438 registries/plugins with a MAJORMINOR one.
17439 (plugin_desc): Rename library from gstcoreleements to
17440 staticelements. Fixes #323222.
17442 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17444 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17445 Change debug category to 'collectpads' from 'collect_pads'
17448 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17450 patch by: Sebastien Moutte
17452 * libs/gst/controller/gstinterpolation.c:
17453 use convert function for uint64/double
17454 * win32/vs6/libgstcontroller.dsp:
17457 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17459 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17460 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17462 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17463 add tests that seem to show that the guint64/gdouble conversions
17466 2005-12-02 Wim Taymans <wim@fluendo.com>
17468 * gst/gstregistry.c: (gst_registry_add_path):
17469 * gst/gstregistry.h:
17470 * gst/gstregistryxml.c:
17473 2005-12-02 Wim Taymans <wim@fluendo.com>
17475 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17476 (gst_util_uint64_scale_int):
17479 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17480 Add debug log line.
17482 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17485 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17488 * win32/common/config.h:
17489 * win32/vs6/gstreamer.dsw:
17490 * win32/vs6/libgstcoreelements.dsp:
17491 * win32/vs6/libgstelements.dsp:
17492 renamed core elements plugin
17494 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17496 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17498 do piece-wise major/minor comparison so 0.9 < 0.10
17499 also allow .exe extensions for tools
17501 2005-12-02 Michael Smith <msmith@fluendo.com>
17504 Escape a % to make gtkdoc happier; bug 322958.
17506 === release 0.9.7 ===
17508 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17511 releasing 0.9.7, "My Dog Has No Nose"
17513 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17515 * common/gst-xmlinspect.py:
17517 * docs/libs/tmpl/gstdataprotocol.sgml:
17518 * docs/random/release:
17537 * win32/common/config.h:
17538 * win32/common/config.h.in:
17539 * win32/vs6/gst_inspect.dsp:
17540 * win32/vs6/gst_launch.dsp:
17541 * win32/vs6/libgstbase.dsp:
17542 * win32/vs6/libgstelements.dsp:
17543 * win32/vs6/libgstreamer.dsp:
17544 * win32/vs7/GStreamer.vcproj:
17545 * win32/vs7/gst-inspect.vcproj:
17546 * win32/vs7/gst-launch.vcproj:
17547 * win32/vs7/libgstbase.vcproj:
17548 bump GST_MAJORMINOR to 0.10
17549 reset libtool version
17551 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17555 Added Bulgarian translation by (Alexander Shopov)
17557 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17559 * tests/check/gst/gstplugin.c:
17562 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17564 * common/gst-xmlinspect.py:
17565 * common/gtk-doc-plugins.mak:
17567 * docs/Makefile.am:
17568 * docs/gst/Makefile.am:
17569 * docs/gst/gstreamer-docs.sgml:
17570 * docs/gst/gstreamer-sections.txt:
17571 * docs/gst/gstreamer.types:
17572 * docs/gst/gstreamer.types.in:
17573 * docs/plugins/Makefile.am:
17574 * docs/plugins/gstreamer-plugins-docs.sgml:
17575 * docs/plugins/gstreamer-plugins-sections.txt:
17576 * docs/plugins/gstreamer-plugins.types:
17577 * docs/plugins/inspect.stamp:
17578 * docs/plugins/inspect/plugin-coreelements.xml:
17579 * docs/plugins/inspect/plugin-coreindexers.xml:
17580 * docs/plugins/scanobj-build.stamp:
17581 * gstreamer.spec.in:
17582 * plugins/elements/Makefile.am:
17583 * plugins/elements/gstelements.c:
17584 * plugins/elements/gstfakesink.c:
17585 * plugins/elements/gstfakesrc.c:
17586 * plugins/elements/gstfilesink.c:
17587 * plugins/elements/gstfilesrc.c:
17588 * plugins/elements/gstqueue.c:
17589 * plugins/indexers/Makefile.am:
17590 * plugins/indexers/gstindexers.c:
17591 document core plugins in a separate document just like all the
17593 rename these plugins to something starting with core
17595 2005-12-01 Andy Wingo <wingo@pobox.com>
17597 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17598 padding here before, but it missed the commit.
17600 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17602 * libs/gst/controller/gstinterpolation.c:
17603 whitespace prices have crashed, we should feel free to use some now
17604 use gst_guint64_to_gdouble
17606 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17608 * libs/gst/controller/gstcontroller.c:
17609 * libs/gst/controller/gsthelper.c:
17610 * libs/gst/controller/gstinterpolation.c:
17611 * libs/gst/controller/lib.c:
17612 wrap config.h include
17614 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17616 * docs/gst/gstreamer-sections.txt:
17619 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17621 * plugins/elements/gstelements.c:
17622 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17623 (gst_fd_sink__class_init), (gst_fd_sink__init),
17624 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17625 (gst_fd_sink__get_property):
17626 * plugins/elements/gstfdsink.h:
17627 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17628 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17629 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17630 (gst_fd_src_unlock), (gst_fd_src_set_property),
17631 (gst_fd_src_get_property), (gst_fd_src_create),
17632 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17633 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17634 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17635 (gst_fd_src_uri_handler_init):
17636 * plugins/elements/gstfdsrc.h:
17637 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17640 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17642 * docs/gst/Makefile.am:
17643 * docs/gst/gstreamer.types.in:
17647 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17653 * gst/gstregistry.h:
17654 * tests/benchmarks/complexity.c:
17655 * tests/benchmarks/mass-elements.c:
17656 * tests/check/Makefile.am:
17657 * tools/Makefile.am:
17658 * tools/gst-inspect.c:
17659 * tools/gst-xmlinspect.c:
17660 various fixes to make
17661 --disable-nls --disable-registry --disable-loadsave
17662 --disable-parse --disable-gst-debug
17663 work and get the core .so down to 360444 bytes after stripping
17665 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17670 * docs/random/thomasvs/TODO:
17671 * tests/Makefile.am:
17675 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17677 * win32/GStreamer.vcproj:
17680 * win32/Makefile.inspect:
17681 * win32/Makefile.launch:
17682 * win32/Makefile.register:
17683 * win32/README.txt:
17684 * win32/gst-inspect.vcproj:
17685 * win32/gst-launch.vcproj:
17686 * win32/gst-register.vcproj:
17687 * win32/gstelements.vcproj:
17688 * win32/gstgetbits.def:
17689 * win32/gstgetbits.vcproj:
17690 * win32/gstreamer-dbg.def:
17691 * win32/gstreamer.def:
17692 * win32/libgstbase.def:
17693 * win32/libgstbase.vcproj:
17694 * win32/link_oldruntime.c:
17698 * win32/msvc71.sln:
17699 move even more stuff, win32/ is nice and clean now
17701 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17703 * libs/gst/control/.cvsignore:
17708 * win32/gstbytestream.def:
17709 * win32/gstbytestream.vcproj:
17710 * win32/gstconfig.h:
17711 * win32/gstenumtypes.c:
17712 * win32/gstenumtypes.h:
17713 * win32/gstoptimalscheduler.vcproj:
17714 * win32/gstversion.h:
17716 * win32/testsuite/bins.vcproj:
17717 * win32/testsuite/bytestream.vcproj:
17718 * win32/testsuite/caps.vcproj:
17719 * win32/testsuite/cleanup.vcproj:
17720 * win32/testsuite/clock.vcproj:
17721 * win32/testsuite/debug.vcproj:
17722 * win32/testsuite/dlopen.vcproj:
17723 * win32/testsuite/dynparams.vcproj:
17724 * win32/testsuite/elements.vcproj:
17725 * win32/testsuite/ghostpads.vcproj:
17726 * win32/testsuite/indexers.vcproj:
17727 * win32/testsuite/negotiation.vcproj:
17728 * win32/testsuite/parse.vcproj:
17729 * win32/testsuite/plugin.vcproj:
17730 * win32/testsuite/refcounting.vcproj:
17731 * win32/testsuite/schedulers.vcproj:
17732 * win32/testsuite/states.vcproj:
17733 * win32/testsuite/tags.vcproj:
17734 * win32/testsuite/threads.vcproj:
17735 remove old win32 stuff that isn't maintained and should be
17738 2005-11-30 Andy Wingo <wingo@pobox.com>
17740 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17741 loading the gst.interfaces python module bork.
17743 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17744 available since GLib 2.2. Fixes #318031.
17746 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17749 * check/.cvsignore:
17750 * check/Makefile.am:
17751 * check/elements/.cvsignore:
17752 * check/elements/fakesrc.c:
17753 * check/elements/fdsrc.c:
17754 * check/elements/identity.c:
17755 * check/generic/.cvsignore:
17756 * check/generic/states.c:
17757 * check/gst-libs/.cvsignore:
17758 * check/gst-libs/controller.c:
17759 * check/gst-libs/gdp.c:
17760 * check/gst/.cvsignore:
17761 * check/gst/capslist.h:
17763 * check/gst/gstbin.c:
17764 * check/gst/gstbuffer.c:
17765 * check/gst/gstbus.c:
17766 * check/gst/gstcaps.c:
17767 * check/gst/gstelement.c:
17768 * check/gst/gstevent.c:
17769 * check/gst/gstghostpad.c:
17770 * check/gst/gstiterator.c:
17771 * check/gst/gstmessage.c:
17772 * check/gst/gstminiobject.c:
17773 * check/gst/gstobject.c:
17774 * check/gst/gstpad.c:
17775 * check/gst/gstpipeline.c:
17776 * check/gst/gstplugin.c:
17777 * check/gst/gstsegment.c:
17778 * check/gst/gststructure.c:
17779 * check/gst/gstsystemclock.c:
17780 * check/gst/gsttag.c:
17781 * check/gst/gstutils.c:
17782 * check/gst/gstvalue.c:
17783 * check/net/.cvsignore:
17784 * check/net/gstnetclientclock.c:
17785 * check/net/gstnettimeprovider.c:
17786 * check/pipelines/.cvsignore:
17787 * check/pipelines/cleanup.c:
17788 * check/pipelines/simple_launch_lines.c:
17789 * check/pipelines/stress.c:
17790 * check/states/.cvsignore:
17791 * check/states/sinks.c:
17793 * examples/Makefile.am:
17794 * examples/appreader/.cvsignore:
17795 * examples/appreader/Makefile.am:
17796 * examples/appreader/appreader.c:
17797 * examples/controller/.cvsignore:
17798 * examples/controller/Makefile.am:
17799 * examples/controller/audio-example.c:
17800 * examples/cutter/.cvsignore:
17801 * examples/cutter/Makefile.am:
17802 * examples/cutter/cutter.c:
17803 * examples/cutter/cutter.h:
17804 * examples/events/Makefile.am:
17805 * examples/events/seek.c:
17806 * examples/helloworld/.cvsignore:
17807 * examples/helloworld/Makefile.am:
17808 * examples/helloworld/helloworld.c:
17809 * examples/helloworld2/.cvsignore:
17810 * examples/helloworld2/Makefile.am:
17811 * examples/helloworld2/helloworld2.c:
17812 * examples/launch/.cvsignore:
17813 * examples/launch/Makefile.am:
17814 * examples/launch/mp3parselaunch.c:
17815 * examples/launch/mp3play:
17816 * examples/manual/.cvsignore:
17817 * examples/manual/Makefile.am:
17818 * examples/manual/extract.pl:
17819 * examples/metadata/Makefile.am:
17820 * examples/metadata/read-metadata.c:
17821 * examples/mixer/.cvsignore:
17822 * examples/mixer/Makefile.am:
17823 * examples/mixer/mixer.c:
17824 * examples/mixer/mixer.h:
17825 * examples/pingpong/.cvsignore:
17826 * examples/pingpong/Makefile.am:
17827 * examples/pingpong/pingpong.c:
17828 * examples/plugins/.cvsignore:
17829 * examples/plugins/Makefile.am:
17830 * examples/plugins/example.c:
17831 * examples/plugins/example.h:
17832 * examples/pwg/.cvsignore:
17833 * examples/pwg/Makefile.am:
17834 * examples/pwg/extract.pl:
17835 * examples/queue/.cvsignore:
17836 * examples/queue/Makefile.am:
17837 * examples/queue/queue.c:
17838 * examples/queue2/.cvsignore:
17839 * examples/queue2/Makefile.am:
17840 * examples/queue2/queue2.c:
17841 * examples/queue3/.cvsignore:
17842 * examples/queue3/Makefile.am:
17843 * examples/queue3/queue3.c:
17844 * examples/queue4/.cvsignore:
17845 * examples/queue4/Makefile.am:
17846 * examples/queue4/queue4.c:
17847 * examples/retag/.cvsignore:
17848 * examples/retag/Makefile.am:
17849 * examples/retag/retag.c:
17850 * examples/retag/transcode.c:
17851 * examples/thread/.cvsignore:
17852 * examples/thread/Makefile.am:
17853 * examples/thread/thread.c:
17854 * examples/typefind/.cvsignore:
17855 * examples/typefind/Makefile.am:
17856 * examples/typefind/typefind.c:
17857 * examples/xml/.cvsignore:
17858 * examples/xml/Makefile.am:
17859 * examples/xml/createxml.c:
17860 * examples/xml/runxml.c:
17861 * tests/Makefile.am:
17862 * tests/check/Makefile.am:
17863 * testsuite/.cvsignore:
17864 * testsuite/Makefile.am:
17866 * testsuite/caps/.cvsignore:
17867 * testsuite/caps/Makefile.am:
17868 * testsuite/caps/app_fixate.c:
17869 * testsuite/caps/audioscale.c:
17870 * testsuite/caps/caps.c:
17871 * testsuite/caps/caps.h:
17872 * testsuite/caps/caps_strings:
17873 * testsuite/caps/compatibility.c:
17874 * testsuite/caps/deserialize.c:
17875 * testsuite/caps/enumcaps.c:
17876 * testsuite/caps/eratosthenes.c:
17877 * testsuite/caps/filtercaps.c:
17878 * testsuite/caps/fixed.c:
17879 * testsuite/caps/fraction-convert.c:
17880 * testsuite/caps/fraction-multiply-and-zero.c:
17881 * testsuite/caps/intersect2.c:
17882 * testsuite/caps/intersection.c:
17883 * testsuite/caps/normalisation.c:
17884 * testsuite/caps/random.c:
17885 * testsuite/caps/renegotiate.c:
17886 * testsuite/caps/sets.c:
17887 * testsuite/caps/simplify.c:
17888 * testsuite/caps/string-conversions.c:
17889 * testsuite/caps/structure.c:
17890 * testsuite/caps/subtract.c:
17891 * testsuite/caps/union.c:
17892 * testsuite/debug/.cvsignore:
17893 * testsuite/debug/Makefile.am:
17894 * testsuite/debug/category.c:
17895 * testsuite/debug/commandline.c:
17896 * testsuite/debug/global.c:
17897 * testsuite/debug/output.c:
17898 * testsuite/debug/printf_extension.c:
17899 * testsuite/dlopen/.cvsignore:
17900 * testsuite/dlopen/Makefile.am:
17901 * testsuite/dlopen/dlopen_gst.c:
17902 * testsuite/dlopen/loadgst.c:
17903 * testsuite/elements/.cvsignore:
17904 * testsuite/elements/Makefile.am:
17905 * testsuite/elements/gst-inspect-check.in:
17906 * testsuite/elements/struct_i386.h:
17907 * testsuite/elements/struct_size.c:
17908 * testsuite/indexers/.cvsignore:
17909 * testsuite/indexers/Makefile.am:
17910 * testsuite/indexers/cache1.c:
17911 * testsuite/indexers/indexdump.c:
17912 * testsuite/parse/.cvsignore:
17913 * testsuite/parse/Makefile.am:
17914 * testsuite/parse/parse1.c:
17915 * testsuite/parse/parse2.c:
17916 * testsuite/plugin/.cvsignore:
17917 * testsuite/plugin/Makefile.am:
17918 * testsuite/plugin/README:
17919 * testsuite/plugin/dynamic.c:
17920 * testsuite/plugin/linked.c:
17921 * testsuite/plugin/loading.c:
17922 * testsuite/plugin/registry.c:
17923 * testsuite/plugin/static.c:
17924 * testsuite/plugin/static2.c:
17925 * testsuite/plugin/testplugin.c:
17926 * testsuite/plugin/testplugin2.c:
17927 * testsuite/plugin/testplugin2_s.c:
17928 * testsuite/plugin/testplugin_s.c:
17929 * testsuite/refcounting/.cvsignore:
17930 * testsuite/refcounting/Makefile.am:
17931 * testsuite/refcounting/bin.c:
17932 * testsuite/refcounting/element.c:
17933 * testsuite/refcounting/element_pad.c:
17934 * testsuite/refcounting/mainloop.c:
17935 * testsuite/refcounting/mem.c:
17936 * testsuite/refcounting/mem.h:
17937 * testsuite/refcounting/object.c:
17938 * testsuite/refcounting/pad.c:
17939 * testsuite/refcounting/sched.c:
17940 * testsuite/refcounting/thread.c:
17941 * testsuite/states/.cvsignore:
17942 * testsuite/states/Makefile.am:
17943 * testsuite/states/bin.c:
17944 * testsuite/states/locked.c:
17945 * testsuite/states/parent.c:
17946 * testsuite/threads/.cvsignore:
17947 * testsuite/threads/159566.c:
17948 * testsuite/threads/159852.c:
17949 * testsuite/threads/Makefile.am:
17950 * testsuite/threads/queue.c:
17951 * testsuite/threads/signals.c:
17952 * testsuite/threads/staticrec.c:
17953 * testsuite/threads/thread.c:
17954 * testsuite/threads/threadb.c:
17955 * testsuite/threads/threadc.c:
17956 * testsuite/threads/threadd.c:
17957 * testsuite/threads/threade.c:
17958 * testsuite/threads/threadf.c:
17959 * testsuite/threads/threadg.c:
17960 * testsuite/threads/threadh.c:
17961 * testsuite/threads/threadi.c:
17962 move all of these under tests
17964 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17967 * tests/Makefile.am:
17970 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17972 * docs/gst/gstreamer-sections.txt:
17973 * tests/sched/.cvsignore:
17974 * tests/sched/Makefile.am:
17975 * tests/sched/cases/(fs-fs).xml:
17976 * tests/sched/cases/(fs-i-fs).xml:
17977 * tests/sched/cases/(fs-i-i-fs).xml:
17978 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17979 * tests/sched/dynamic-pipeline.c:
17980 * tests/sched/interrupt1.c:
17981 * tests/sched/interrupt2.c:
17982 * tests/sched/interrupt3.c:
17983 * tests/sched/runtestcases:
17984 * tests/sched/runxml.c:
17985 * tests/sched/sched-stress.c:
17986 * tests/sched/sort.c:
17987 * tests/sched/testcases:
17988 * tests/sched/testcases1.tc:
17989 * tests/seeking/.cvsignore:
17990 * tests/seeking/Makefile.am:
17991 * tests/seeking/seeking1.c:
17992 * tests/threadstate/.cvsignore:
17993 * tests/threadstate/Makefile.am:
17994 * tests/threadstate/test1.c:
17995 * tests/threadstate/test2.c:
17996 * tests/threadstate/threadstate1.c:
17997 * tests/threadstate/threadstate2.c:
17998 * tests/threadstate/threadstate3.c:
17999 * tests/threadstate/threadstate4.c:
18000 * tests/threadstate/threadstate5.c:
18001 remove obsolete tests
18003 * tests/bench-complexity.scm:
18004 * tests/bench-mass_elements.scm:
18005 * tests/complexity.c:
18006 * tests/complexity.gnuplot:
18007 * tests/instantiate/.cvsignore:
18008 * tests/instantiate/Makefile.am:
18009 * tests/instantiate/caps.c:
18010 * tests/mass_elements.c:
18011 * tests/network-clock-utils.scm:
18012 * tests/network-clock.scm:
18014 First pass at cleaning up tests/ dir before moving the rest
18015 Combined with CVS surgery
18017 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18020 queue has moved, update
18022 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18024 * docs/gst/gstreamer-sections.txt:
18025 remove double entries from the docs
18026 * gst/gst_private.h:
18027 * gst/gstinfo.c: (_gst_debug_init):
18028 remove the THREAD debug category
18032 * docs/gst/gstreamer.types:
18033 * plugins/elements/gstqueue.c: (gst_queue_get_type),
18034 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18035 completely move queue and fix up debugging categories
18037 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18039 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18040 make initialization portable, using LL is not
18042 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18044 * win32/common/gstconfig.h:
18047 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18049 * win32/common/libgstreamer.def:
18050 rename symbols; sort base section
18052 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18054 * gst/gstclock.c: (do_linear_regression):
18055 remove crack non-portable handrolled DEBUG macro
18057 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18059 * docs/random/release:
18061 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18062 (gst_object_flags_get_type), (register_gst_bin_flags),
18063 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18064 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18065 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18066 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18067 (gst_caps_flags_get_type), (register_gst_clock_return),
18068 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18069 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18070 (gst_clock_flags_get_type), (register_gst_state),
18071 (gst_state_get_type), (register_gst_state_change_return),
18072 (gst_state_change_return_get_type), (register_gst_state_change),
18073 (gst_state_change_get_type), (register_gst_element_flags),
18074 (gst_element_flags_get_type), (register_gst_core_error),
18075 (gst_core_error_get_type), (register_gst_library_error),
18076 (gst_library_error_get_type), (register_gst_resource_error),
18077 (gst_resource_error_get_type), (register_gst_stream_error),
18078 (gst_stream_error_get_type), (register_gst_event_type_flags),
18079 (gst_event_type_flags_get_type), (register_gst_event_type),
18080 (gst_event_type_get_type), (register_gst_seek_type),
18081 (gst_seek_type_get_type), (register_gst_seek_flags),
18082 (gst_seek_flags_get_type), (register_gst_format),
18083 (gst_format_get_type), (register_gst_index_certainty),
18084 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18085 (gst_index_entry_type_get_type),
18086 (register_gst_index_lookup_method),
18087 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18088 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18089 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18090 (gst_index_flags_get_type), (register_gst_debug_level),
18091 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18092 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18093 (gst_iterator_result_get_type), (register_gst_iterator_item),
18094 (gst_iterator_item_get_type), (register_gst_message_type),
18095 (gst_message_type_get_type), (register_gst_mini_object_flags),
18096 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18097 (gst_pad_link_return_get_type), (register_gst_flow_return),
18098 (gst_flow_return_get_type), (register_gst_activate_mode),
18099 (gst_activate_mode_get_type), (register_gst_pad_direction),
18100 (gst_pad_direction_get_type), (register_gst_pad_flags),
18101 (gst_pad_flags_get_type), (register_gst_pad_presence),
18102 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18103 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18104 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18105 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18106 (gst_plugin_flags_get_type), (register_gst_rank),
18107 (gst_rank_get_type), (register_gst_query_type),
18108 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18109 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18110 (gst_tag_flag_get_type), (register_gst_task_state),
18111 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18112 (gst_alloc_trace_flags_get_type),
18113 (register_gst_type_find_probability),
18114 (gst_type_find_probability_get_type), (register_gst_uri_type),
18115 (gst_uri_type_get_type), (register_gst_parse_error),
18116 (gst_parse_error_get_type):
18117 * win32/common/gstenumtypes.h:
18118 * win32/common/gstversion.h:
18119 update visual studio generated files
18121 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18123 * win32/vs6/libgstbase.dsp:
18124 * win32/vs6/libgstelements.dsp:
18125 update project files for new locations
18127 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18132 reinstate and update
18137 * docs/random/LICENSE:
18140 2005-11-30 Edward Hervey <edward@fluendo.com>
18142 * gst/gsttypefind.c: (gst_type_find_register):
18143 * gst/gsttypefind.h:
18144 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18145 (gst_type_find_factory_dispose):
18146 * gst/gsttypefindfactory.h:
18147 Fix memory leak in GstTypeFindFactory.
18149 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18152 * plugins/elements/Makefile.am:
18153 * plugins/elements/gstelements.c:
18154 * plugins/elements/gstqueue.c:
18155 move queue from core to the elements plugin
18157 2005-11-29 Andy Wingo <wingo@pobox.com>
18159 * libs/gst/base/gstbasetransform.h:
18160 * libs/gst/base/gstbasesrc.h:
18161 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18163 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18164 of pointers by which to pad very extensible base classes (like the
18165 ones in libs/gst/base).
18167 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18169 * docs/gst/gstreamer-docs.sgml:
18170 * docs/gst/gstreamer-sections.txt:
18171 * docs/libs/gstreamer-libs-docs.sgml:
18172 * docs/libs/gstreamer-libs-sections.txt:
18173 moving documentation from core to lib
18175 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18177 * check/Makefile.am:
18179 * docs/gst/Makefile.am:
18181 * gst/base/.cvsignore:
18182 * gst/base/Makefile.am:
18184 * gst/base/gstadapter.c:
18185 * gst/base/gstadapter.h:
18186 * gst/base/gstbasesink.c:
18187 * gst/base/gstbasesink.h:
18188 * gst/base/gstbasesrc.c:
18189 * gst/base/gstbasesrc.h:
18190 * gst/base/gstbasetransform.c:
18191 * gst/base/gstbasetransform.h:
18192 * gst/base/gstcollectpads.c:
18193 * gst/base/gstcollectpads.h:
18194 * gst/base/gstpushsrc.c:
18195 * gst/base/gstpushsrc.h:
18196 * gst/base/gsttypefindhelper.c:
18197 * gst/base/gsttypefindhelper.h:
18198 * gst/check/Makefile.am:
18199 * gst/check/gstcheck.c:
18200 * gst/check/gstcheck.h:
18201 * gst/net/Makefile.am:
18202 * gst/net/gstnet.h:
18203 * gst/net/gstnetclientclock.c:
18204 * gst/net/gstnetclientclock.h:
18205 * gst/net/gstnettimepacket.c:
18206 * gst/net/gstnettimepacket.h:
18207 * gst/net/gstnettimeprovider.c:
18208 * gst/net/gstnettimeprovider.h:
18209 * libs/gst/Makefile.am:
18210 * libs/gst/base/Makefile.am:
18211 * libs/gst/base/gstbasetransform.c:
18212 * libs/gst/check/Makefile.am:
18213 * plugins/elements/Makefile.am:
18215 CVS surgery + support to move base, check, and net out of gst
18218 2005-11-29 Andy Wingo <wingo@pobox.com>
18220 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18222 * gst/gststructure.h (struct _GstStructure): Only one pointer of
18225 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18227 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18229 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18231 * gst/gstobject.h: (struct _GstObject): Only one pointer of
18232 padding; reduces object size by about 30%. We don't expect
18233 anything else to go into gstobject.
18235 * gst/gstminiobject.h (struct _GstMiniObject)
18236 (struct _GstMiniObjectClass): Only one pointer of padding; the
18237 payload is only a pointer and two ints anyway. For the class there
18238 are only two methods as well.
18240 * gst/gstelement.h (struct _GstElementClass): Removed
18241 the state_changed signal callback, it is not used.
18243 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18245 * docs/gst/gstreamer.types:
18246 fix includes, though they are a little dinky
18248 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18250 * check/Makefile.am:
18251 look in the right place for elements, a lot more chance of
18254 remove indexers and elements subdirs
18255 * plugins/Makefile.am:
18256 make indexers conditional
18258 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18262 * plugins/elements/Makefile.am:
18263 * plugins/elements/gstcapsfilter.c:
18264 * plugins/elements/gstfilesink.c:
18265 * plugins/elements/gstfilesrc.c:
18266 * plugins/elements/gstidentity.c:
18267 * plugins/indexers/Makefile.am:
18268 do CVS surgery and related build fixery to move elements
18269 and indexers in a new gstreamer/plugins directory, out of the
18272 2005-11-29 Andy Wingo <wingo@pobox.com>
18274 * check/Makefile.am:
18275 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18276 * pkgconfig/gstreamer-net.pc.in:
18277 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18280 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18282 * tools/Makefile.am:
18283 * tools/gst-complete.1.in:
18284 * tools/gst-complete.c:
18285 * tools/gst-compprep.1.in:
18286 * tools/gst-compprep.c:
18287 removing -compprep and -complete
18289 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18291 * gst/gstevent.c: (gst_event_new_new_segment),
18292 (gst_event_parse_new_segment):
18294 fix #320529 - clean up new_segment API and structure.
18295 Let's hope everyone was using the methods, and not the structure.
18297 2005-11-29 Edward Hervey <edward@fluendo.com>
18299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18300 (gst_base_sink_event), (gst_base_sink_do_sync),
18301 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18302 Properly handle non GST_FORMAT_TIME segment
18303 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18304 Properly handle non GST_FORMAT_TIME segment
18305 * gst/gstsegment.c:
18306 This function is valid if the accumulator is 0 and the format
18307 is different from the requested format.
18309 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18311 * docs/gst/gstreamer-sections.txt:
18312 Add gst_query_new_seeking and gst_query_parse_seeking to the
18315 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18317 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18318 Treat a pad alloc with new caps the same as if we were not
18319 negotiated, in order to allow a changing upstream output
18320 to produce a new format of data.
18322 2005-11-29 Edward Hervey <edward@fluendo.com>
18324 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18325 (gst_base_transform_event), (gst_base_transform_eventfunc):
18326 The event virtual method is now properly implemented, with a default
18328 Sub classes should call the parent_class event method. They should
18329 return FALSE if they had a problem handling the given event, or don't
18330 want GstBaseTransform to send that even downstream
18331 * gst/elements/gstidentity.c: (gst_identity_class_init),
18332 (gst_identity_init), (gst_identity_event),
18333 (gst_identity_transform_ip), (gst_identity_set_property),
18334 (gst_identity_get_property):
18335 * gst/elements/gstidentity.h:
18336 Added the single-segment boolean property.
18337 If set to TRUE, it will output a single segment of data, starting from
18338 0, will eat up all incoming newsegment, and modify the timestamp of the
18339 buffers accordingly
18341 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18343 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18344 Don't ref NULL target pad (#322751). Improve docs.
18346 2005-11-29 Michael Smith <msmith@fluendo.com>
18348 * gst/gstregistryxml.c: (load_plugin):
18349 Don't crash if we failed to load a feature from a plugin.
18351 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18353 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18355 use more check API and less GLib API
18357 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18360 don't run checks if we don't have check
18361 * common/check.mak:
18362 remove the registry when running make torture
18363 * docs/gst/gstreamer-sections.txt:
18364 remove second multiply
18365 * gst/gstqueue.c: (gst_queue_loop):
18366 fix a compile warning when disabling debug
18368 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18371 Hey! Let's print the pad name if the pointer != NULL instead
18372 of when it == NULL :-)
18374 2005-11-28 Wim Taymans <wim@fluendo.com>
18376 * check/gst/gstutils.c: (GST_START_TEST):
18377 Updated check, add some scaling accuracy checking code.
18379 * gst/gstutils.c: (gst_util_div128_64),
18380 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18381 (gst_util_uint64_scale_int):
18382 Fix 6 times faster division code. Optimize for common
18383 1/1 and less common X/1 cases.
18385 2005-11-28 Wim Taymans <wim@fluendo.com>
18387 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18390 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18391 (do_linear_regression), (gst_clock_add_observation):
18393 Release lock when the clock cannot be slaved.
18394 Catch the case where the regression returned an invalid denominator.
18396 * gst/gstutils.c: (gst_util_div128_64_iterate),
18397 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18398 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18399 Add protentially more performant non-iterative 128/64 divide function
18400 that unfortunatly does not work yet.
18401 Shortcut the trivial 0/X = 0 case.
18402 Remove the warnings on overflow.
18404 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18406 * gst/gstplugin.c: (gst_plugin_register_func):
18407 everything causing a plugin not to load should be at least a WARNING
18409 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18411 * docs/random/ensonic/dparams.txt:
18412 some TODOs for the next dev cycle
18413 * libs/gst/controller/gstcontroller.c:
18414 (gst_controlled_property_set_interpolation_mode),
18415 (gst_controlled_property_new):
18416 * libs/gst/controller/gstcontroller.h:
18417 use base type to assign acccessor functions
18419 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18421 * check/Makefile.am:
18422 Oops, that should have been top_srcdir
18424 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18426 * check/Makefile.am:
18427 * check/elements/fdsrc.c: (GST_START_TEST):
18428 Use a cmdline define to specify the location of a file to use for
18429 testing, to avoid breaking distcheck.
18431 2005-11-28 Andy Wingo <wingo@pobox.com>
18433 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18435 2005-11-28 Edward Hervey <edward@fluendo.com>
18437 * tools/gst-launch.c: (main):
18438 Clarify the output strings, makes it easier to translate.
18441 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18444 don't try and build net if we don't even have <sys/socket.h>
18446 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18448 * check/Makefile.am:
18449 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18450 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18451 Add tests for fdsrc seekability
18453 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18454 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18455 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18456 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18457 * gst/elements/gstfdsrc.h:
18458 fdsrc should not be a 'live' source.
18459 Implement seeking on seekable fd's.
18461 * gst/gstquery.c: (gst_query_new_seeking),
18462 (gst_query_parse_seeking):
18464 Implement SEEKING query functions:
18465 *_new_seeking and *_parse_seeking
18467 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18469 * gst/gstelement.c: (gst_element_dispose):
18472 * gst/gstiterator.c:
18473 * gst/gststructure.c:
18476 * libs/gst/controller/gstcontroller.c:
18477 (gst_controlled_property_set_interpolation_mode):
18478 * libs/gst/controller/gstcontroller.h:
18479 * libs/gst/controller/gstinterpolation.c:
18480 (interpolate_none_get_enum_value_array):
18481 support controlling enums
18483 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18486 Improve documentation for gst_value_union().
18489 Change return value for union, intersect and subtract functions
18490 from gint to gboolean.
18492 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18494 * gst/gstvalue.c: (gst_value_serialize_any_list),
18495 (gst_value_transform_any_list_string),
18496 (gst_value_deserialize_list), (gst_value_deserialize_array),
18497 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18498 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18499 (gst_value_set_fraction_range_full),
18500 (gst_value_deserialize_fraction_range),
18501 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18502 (gst_value_deserialize_boolean),
18503 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18504 (gst_value_serialize_float), (gst_value_deserialize_float),
18505 (gst_string_wrap), (gst_value_deserialize_string),
18506 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18507 (gst_value_union_int_range_int_range),
18508 (gst_value_intersect_int_range_int_range),
18509 (gst_value_intersect_double_range_double_range),
18510 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18511 (gst_value_subtract_int_range_int_range),
18512 (gst_value_subtract_double_double_range),
18513 (gst_value_subtract_double_range_double_range),
18514 (gst_value_deserialize_fraction):
18516 Use gint, gdouble and gchar in our API instead of int, double and
18517 char (and make usage in gstvalue.c more consistent).
18519 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18521 * check/Makefile.am:
18522 * libs/gst/controller/Makefile.am:
18523 * libs/gst/dataprotocol/Makefile.am:
18524 fix up Makefile.am and remove GST_ENABLE_NEW
18526 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18530 * gst/base/Makefile.am:
18531 * gst/check/Makefile.am:
18532 * gst/elements/Makefile.am:
18533 * gst/net/Makefile.am:
18534 update LDFLAGS use some more
18536 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18538 * common/m4/gst-doc.m4:
18541 2005-11-26 Edward Hervey <edward@fluendo.com>
18543 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18544 This shouldn't issue a g_warning since it returns NULL if it
18545 couldn't find the plugin, and all functions using this behave
18546 properly on a NULL return. Switching to a GST_WARNING.
18548 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18550 * gst/gstbin.c: (gst_bin_handle_message_func):
18551 Don't leak clock messages.
18553 2005-11-25 Wim Taymans <wim@fluendo.com>
18555 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18556 (gst_util_uint64_scale_int):
18557 Optimisations, remove unneeded vars.
18559 2005-11-25 Wim Taymans <wim@fluendo.com>
18561 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18562 Added more checks for the high precision uint64 cases.
18564 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18565 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18566 Implement high precision (guint64 * guint64) / guint64.
18568 2005-11-24 Wim Taymans <wim@fluendo.com>
18570 * gst/base/gstbasesrc.c: (gst_base_src_query):
18571 Fix wrong percentage query.
18573 * gst/gstutils.c: (gst_util_uint64_scale),
18574 (gst_util_uint64_scale_int):
18575 Add some more common cases that can be handled
18576 efficiently to _scale.
18578 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18580 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18581 (gst_mini_object_suite):
18582 don't use check calls from threads; check probably isn't
18583 threadsafe and using a lock to make it threadsafe would
18584 defeat the purpose of this check
18585 * gst/check/gstcheck.c:
18586 * gst/check/gstcheck.h:
18587 use GST_DEBUG some more
18589 2005-11-24 Wim Taymans <wim@fluendo.com>
18591 * gst/gstutils.c: (gst_util_uint64_scale),
18592 (gst_util_uint64_scale_int):
18593 Chain trivial case to _scale_int.
18595 2005-11-24 Wim Taymans <wim@fluendo.com>
18597 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18598 Added test for scaling.
18603 * gst/gstutils.c: (gst_util_uint64_scale_int):
18604 Implemented high precision scaling code.
18606 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18609 do not crash on pad==NULL
18611 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18613 Patch by: Stefan Kost
18615 * common/gtk-doc.mak:
18616 * docs/gst/Makefile.am:
18617 * docs/libs/Makefile.am:
18618 Fix distcheck issues for the libraries docs build
18621 2005-11-24 Michael Smith <msmith@fluendo.com>
18623 * docs/manual/basics-helloworld.xml:
18624 Fix bug #315027: memory leak in example code in docs.
18626 2005-11-24 Michael Smith <msmith@fluendo.com>
18628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18629 Unlock the PREROLL_LOCK in a failure case.
18631 2005-11-24 Wim Taymans <wim@fluendo.com>
18633 * docs/gst/gstreamer-sections.txt:
18634 * gst/base/gstadapter.h:
18635 * gst/base/gstbasesink.h:
18636 * gst/base/gstbasesrc.h:
18637 * gst/base/gstbasetransform.h:
18638 * gst/base/gstpushsrc.h:
18639 * gst/elements/gstfakesink.h:
18640 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18641 * gst/elements/gstfakesrc.h:
18642 * gst/elements/gstfilesink.h:
18643 * gst/elements/gstfilesrc.h:
18646 * gst/gstbuffer.c: (_gst_buffer_copy):
18649 * gst/gstchildproxy.c:
18651 * gst/gstelement.c:
18652 * gst/gstelementfactory.c:
18653 * gst/gstelementfactory.h:
18655 * gst/gstghostpad.h:
18657 * gst/gstinterface.h:
18658 * gst/gstminiobject.c:
18659 * gst/gstminiobject.h:
18662 * gst/gstpadtemplate.h:
18663 * gst/gstpipeline.h:
18664 * gst/gstpluginfeature.h:
18667 * gst/gsttaglist.c:
18668 * gst/gsttaglist.h:
18669 * gst/gsttagsetter.c:
18670 * gst/gsttagsetter.h:
18673 * gst/gsttypefind.h:
18676 * gst/net/gstnetclientclock.c:
18677 * gst/net/gstnetclientclock.h:
18678 * gst/net/gstnettimepacket.c:
18679 * gst/net/gstnettimeprovider.c:
18680 * gst/net/gstnettimeprovider.h:
18683 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18685 * configure.ac: back to HEAD
18687 === release 0.9.6 ===
18689 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18692 releasing 0.9.6, "Always On Time"
18694 2005-11-23 Wim Taymans <wim@fluendo.com>
18696 * docs/gst/gstreamer-sections.txt:
18697 * gst/glib-compat.c:
18698 * gst/gsttagsetter.c:
18700 * gst/net/gstnetclientclock.c:
18701 * gst/net/gstnettimepacket.h:
18704 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18706 * docs/faq/using.xml:
18707 * docs/libs/tmpl/gstcontrol.sgml:
18708 * docs/manual/advanced-dparams.xml:
18709 * docs/manual/appendix-checklist.xml:
18710 * docs/manual/basics-elements.xml:
18711 * docs/pwg/other-source.xml:
18712 * docs/random/moving-plugins:
18714 * tools/gst-launch.1.in:
18715 remove mentions of sinesrc
18717 2005-11-23 Michael Smith <msmith@fluendo.com>
18719 * docs/gst/gstreamer-sections.txt:
18720 Update for new API and API changes.
18722 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18724 Documentation typo fix.
18725 * gst/net/gstnettimepacket.c:
18726 Documentation fixes for arguments.
18728 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18730 * gst/gststructure.c: (gst_structure_get_fraction),
18731 (gst_structure_parse_value),
18732 (gst_structure_fixate_field_nearest_fraction):
18733 * gst/gststructure.h:
18734 * gst/gstutils.c: (gst_util_uint64_scale_int):
18736 * scripts/update-funcnames:
18738 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18739 Make gst_structure_fixate_field_nearest_fraction take a numerator
18740 and denominator argument instead of a GValue
18741 add gst_structure_get_fraction helper function.
18743 2005-11-23 Wim Taymans <wim@fluendo.com>
18745 * docs/design/part-TODO.txt:
18748 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18749 * gst/net/gstnetclientclock.h:
18750 Use parent fields for timeout and window_size.
18752 2005-11-23 Andy Wingo <wingo@pobox.com>
18754 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18755 rate_num/rate_denom change.
18757 * gst/net/gstnetclientclock.c
18758 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18759 OBJECT_LOCK. Don't call add_observation with the lock.
18761 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18763 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18765 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18766 deal with rate as a fraction whose numerator and denominator are
18767 GstClockTime values.
18768 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18769 master; the other fields are protected by the SLAVE_LOCK.
18770 (do_linear_regression): Note that this must be called with the
18772 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18773 OBJECT_LOCK. Call set_calibration instead of touching the
18774 variables directly.
18775 (gst_clock_set_property, gst_clock_get_property): Protect
18776 master/slave parameters with the SLAVE_LOCK.
18778 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18779 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18780 note that all of the instance variables that add_observation and
18781 the set_master functions use are protected by that lock and not
18783 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18785 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18786 the caller to take the object lock.
18788 2005-11-23 Wim Taymans <wim@fluendo.com>
18790 * gst/gsterror.c: (_gst_core_errors_init):
18792 Add error for clock stuff.
18794 * gst/gstpipeline.c: (gst_pipeline_change_state),
18795 (gst_pipeline_set_clock):
18796 Post clock error when clock cannot be used in a pipeline.
18798 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18800 * docs/gst/gstreamer-sections.txt:
18801 make two symbols from gstinfo private for the docs
18802 * gst/base/gstcollectpads.h:
18804 fix doc typos, update docs
18806 2005-11-22 Wim Taymans <wim@fluendo.com>
18808 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18809 (gst_base_sink_wait), (gst_base_sink_do_sync),
18810 (gst_base_sink_handle_event):
18811 * gst/base/gstbasesink.h:
18812 No need to store the clock, the parent element class already
18815 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18816 Updates for clock_set returning a gboolean
18818 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18819 (gst_clock_id_wait_async), (gst_clock_class_init),
18820 (gst_clock_init), (gst_clock_finalize),
18821 (gst_clock_get_internal_time), (gst_clock_get_time),
18822 (gst_clock_slave_callback), (gst_clock_set_master),
18823 (gst_clock_get_master), (do_linear_regression),
18824 (gst_clock_add_observation), (gst_clock_set_property),
18825 (gst_clock_get_property):
18827 Implement master/slave. When setting a clock as a slave, a
18828 periodic timeout is scheduled to sample master and slave times.
18829 Then the slave clock is recalibrated to match offset and rate
18830 of the master clock.
18831 Update logging a bit.
18832 Add flag so that a clock can state that is cannot be slaved to
18835 * gst/gstelement.c: (gst_element_set_clock):
18836 * gst/gstelement.h:
18837 The set clock returns a gboolean for when an element cannot
18838 deal with the selected clock in the pipeline.
18840 * gst/gstpipeline.c: (gst_pipeline_change_state),
18841 (gst_pipeline_set_clock):
18842 * gst/gstpipeline.h:
18843 Handle the case where the selected clock cannot be set on
18846 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18847 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18848 (gst_net_client_clock_set_property),
18849 (gst_net_client_clock_get_property),
18850 (gst_net_client_clock_observe_times):
18851 * gst/net/gstnetclientclock.h:
18852 Use regression code in GstClock parent, remove duplicated
18855 2005-11-22 Michael Smith <msmith@fluendo.com>
18857 * gst/gstutils.c: (gst_util_clock_time_scale):
18859 * docs/gst/gstreamer-sections.txt:
18860 Rename method to have extra underscore.
18862 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18864 * gst/elements/Makefile.am:
18865 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18866 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18867 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18868 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18869 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18870 * gst/elements/gstfakesrc.h:
18871 * gst/gstqueue.c: (queue_leaky_get_type):
18872 correctly fix GEnumValues so that nick is the short lowercase
18874 * tools/gst-inspect.c: (print_element_properties_info):
18875 also show the nick, since it's useful to use from parse_launch
18879 2005-11-22 Michael Smith <msmith@fluendo.com>
18881 * gst/gstutils.c: (gst_util_clocktime_scale):
18883 * docs/gst/gstreamer-sections.txt:
18884 Add util method for scaling a clocktime by a fraction. Useful
18885 implementation is left as an exercise for the reader.
18887 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18889 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18890 If needed, allocate storage in the destination value during
18893 2005-11-22 Edward Hervey <edward@fluendo.com>
18895 * docs/gst/gstreamer-sections.txt:
18898 * gst/gsturitype.c:
18899 * gst/gsturitype.h:
18900 * gst/gstutils.c: (gst_util_set_object_arg):
18901 * tools/gst-compprep.c: (main):
18902 * tools/gst-inspect.c: (print_element_properties_info):
18903 Removed GstURI, closes bug #321061
18905 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18907 * check/gst/gststructure.c: (GST_START_TEST):
18908 * gst/gststructure.c: (gst_structure_parse_value):
18909 Oops, broke automatic string type parsing.
18910 Add a test to catch it in future.
18912 2005-11-22 Andy Wingo <wingo@pobox.com>
18914 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18915 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18916 Actually rename the function implementations. Grr.
18918 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18920 * check/gst/capslist.h:
18922 * check/gst/gststructure.c: (GST_START_TEST),
18923 (gst_structure_suite):
18924 Test automatic value type detection in gst_structure_from_string.
18925 * gst/gststructure.c: (gst_structure_parse_value):
18926 Add fraction as a type we try and guess automatically in
18927 caps/structure strings.
18929 2005-11-22 Andy Wingo <wingo@pobox.com>
18931 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18933 * gst/gsttagsetter.h:
18934 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18935 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18936 (gst_tag_setter_add_tag_valist)
18937 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18938 _add_values, _add_valist, and _add_valist_values. Since this is an
18939 interface the function suffixes should be more explicit so
18940 language binding don't end up with element.add_valist ->
18941 gst_tag_setter_add_valist, for example. Fixes #322069.
18943 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18945 * check/gst/gstcaps.c: (GST_START_TEST):
18946 Extend caps string tests to check that a caps to string
18947 conversion is reversible and produces the same caps.
18949 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18950 Output "fraction" as the generic type fraction range, so caps
18951 serialisation and deserialisation works.
18952 * check/gst/capslist.h:
18953 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18954 Support 'MIN' and 'MAX' for deserialising fractions.
18956 2005-11-22 Andy Wingo <wingo@pobox.com>
18958 * gst/gstevent.h (gst_event_new_new_segment)
18959 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18960 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18961 Renamed from *_newsegment, *_buffersize, *_notarget.
18963 * scripts/update-funcnames: New script, performs the changes
18966 2005-11-22 Wim Taymans <wim@fluendo.com>
18968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18969 Make sure the GstFlowReturn is returned.
18971 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18972 (gst_bus_add_signal_watch):
18974 add gst_bus_add_signal_watch_full.
18976 * gst/gstplugin.c: (gst_plugin_load_file):
18977 Small style cleanup.
18979 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18981 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18982 Block the fakesrc srcpad when we send an event, to avoid
18983 contention on the stream_lock causing random test failures.
18985 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18987 * check/gst/gstvalue.c: (GST_START_TEST):
18988 * gst/gstvalue.c: (gst_value_fraction_subtract):
18991 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18994 include "gstchildproxy.h"
18995 * gst/gstchildproxy.h:
18996 * libs/gst/controller/gstcontroller.h:
18997 use G_GNUC_NULL_TERMINATED
18999 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19001 * check/gst/capslist.h:
19002 * check/gst/gstcaps.c: (GST_START_TEST):
19003 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19004 * gst/gststructure.c: (gst_structure_parse_range),
19005 (gst_structure_fixate_field_nearest_fraction):
19006 * gst/gststructure.h:
19007 * gst/gstvalue.c: (gst_value_init_fraction_range),
19008 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19009 (gst_value_collect_fraction_range),
19010 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19011 (gst_value_set_fraction_range_full),
19012 (gst_value_get_fraction_range_min),
19013 (gst_value_get_fraction_range_max),
19014 (gst_value_serialize_fraction_range),
19015 (gst_value_transform_fraction_range_string),
19016 (gst_value_compare_fraction_range),
19017 (gst_value_deserialize_fraction_range),
19018 (gst_value_intersect_fraction_fraction_range),
19019 (gst_value_intersect_fraction_range_fraction_range),
19020 (gst_value_subtract_fraction_fraction_range),
19021 (gst_value_subtract_fraction_range_fraction),
19022 (gst_value_subtract_fraction_range_fraction_range),
19023 (gst_value_collect_fraction), (gst_value_fraction_multiply),
19024 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19025 (gst_value_transform_string_fraction), (_gst_value_initialize):
19027 Implement fraction ranges and extend GstFraction to support
19028 arithmetic subtraction, as well as deserialization from integer
19029 strings such as "100"
19030 Add a testsuite as for int and double range set operations
19032 2005-11-21 Andy Wingo <wingo@pobox.com>
19034 * gst/gsttaglist.h:
19036 * gst/gststructure.h: Add glib-compat.h.
19038 2005-11-21 Wim Taymans <wim@fluendo.com>
19040 * gst/gstbin.c: (gst_bin_change_state_func):
19043 2005-11-21 Wim Taymans <wim@fluendo.com>
19045 * gst/gstsegment.h:
19046 And add a nice define too.
19048 2005-11-21 Wim Taymans <wim@fluendo.com>
19050 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19051 (gst_segment_new), (gst_segment_free), (gst_segment_init),
19052 (gst_segment_set_duration), (gst_segment_set_last_stop),
19053 (gst_segment_set_seek), (gst_segment_set_newsegment),
19054 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19055 (gst_segment_clip):
19056 * gst/gstsegment.h:
19057 Make binding friendly.
19059 2005-11-21 Andy Wingo <wingo@pobox.com>
19061 * gst/gsttagsetter.h:
19062 * gst/gsttaglist.h:
19063 * gst/gststructure.h:
19065 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19068 * gst/gsterror.c (_gst_core_errors_init):
19069 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19072 * gst/Makefile.am (gst_headers): Add glib-compat.h.
19073 (noinst_HEADERS): noinst the -private.
19075 2005-11-21 Michael Smith <msmith@fluendo.com>
19078 * gst/gstregistry.h:
19079 Remove unimplemented declarations for which we can see no sensible
19082 2005-11-21 Andy Wingo <wingo@pobox.com>
19084 * gst/gst.h: Include glib-compat.h.
19086 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19088 * gst/glib-compat.c: Include the public and the private header.
19090 * gst/glib-compat-private.h: Copied here from glib-compat.h.
19094 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19096 * check/gst/gstevent.c (create_custom_events): Check that
19097 FLUSH_STOP is serialized.
19099 * check/elements/identity.c (event_func):
19100 * check/elements/fakesrc.c (event_func): No stream lock, the core
19103 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19104 stream lock taking, yay.
19106 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19107 ensure that core takes the stream lock.
19109 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19112 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19113 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19114 it already. For the flush start we do take it though so we get the
19115 right preroll state change messages.
19117 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19118 the stream lock here, the core does it for us.
19120 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19121 GST_STREAM_GET_LOCK.
19122 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
19123 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
19124 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19125 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19126 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
19127 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19129 * gst/gstpad.c: Update for stream lock name change.
19131 * gst/base/gstbasesink.c: Update for preroll lock name change.
19133 2005-11-21 Wim Taymans <wim@fluendo.com>
19135 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19136 (gst_clock_get_master):
19138 * gst/gstsystemclock.c: (gst_system_clock_init):
19139 Convert Clock flags to object flags.
19140 Added methods to manage master/slave clocks.
19142 2005-11-21 Wim Taymans <wim@fluendo.com>
19144 * check/gst/gstsegment.c: (GST_START_TEST):
19145 * docs/design/part-TODO.txt:
19146 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19147 (gst_base_sink_event), (gst_base_sink_do_sync),
19148 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19149 (gst_base_sink_query), (gst_base_sink_change_state):
19150 * gst/base/gstbasesink.h:
19151 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19152 (gst_base_src_default_newsegment),
19153 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19154 (gst_base_src_get_range), (gst_base_src_loop),
19155 (gst_base_src_change_state):
19156 * gst/base/gstbasesrc.h:
19157 * gst/base/gstbasetransform.c:
19158 (gst_base_transform_prepare_output_buf),
19159 (gst_base_transform_event), (gst_base_transform_change_state):
19160 * gst/base/gstbasetransform.h:
19161 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19162 (gst_collect_pads_event):
19163 * gst/base/gstcollectpads.h:
19164 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19165 (gst_fake_src_create):
19166 * gst/elements/gstfakesrc.h:
19167 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19168 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19169 (gst_segment_set_last_stop), (gst_segment_set_seek),
19170 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19171 (gst_segment_to_running_time), (gst_segment_clip):
19172 * gst/gstsegment.h:
19173 More segment updates, replace code in plugins with segment
19176 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19178 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19179 Don't ignore sscanf results
19181 2005-11-21 Andy Wingo <wingo@pobox.com>
19183 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19186 * *.c: Ran scripts/update-macros. Oh yes.
19188 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19189 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19192 * scripts/update-macros: New script. Run it on your files to
19193 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19196 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19198 * docs/gst/Makefile.am:
19199 * docs/gst/gstreamer-docs.sgml:
19200 * docs/gst/gstreamer-sections.txt:
19201 * docs/gst/gstreamer.types:
19203 more docs fixes, add new api to the docs
19205 2005-11-21 Andy Wingo <wingo@pobox.com>
19207 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19208 state_broadcast call.
19210 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19212 2005-11-21 Julien MOUTTE <julien@moutte.net>
19214 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19215 function calls for arrays.
19217 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19219 * docs/random/ensonic/media-device-daemon.txt:
19220 wild idea, can this be done?
19221 * docs/gst/gstreamer-sections.txt:
19226 * gst/gstpluginfeature.c:
19230 doc fixes and additions
19232 2005-11-21 Andy Wingo <wingo@pobox.com>
19234 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
19235 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
19236 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
19237 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19238 private to the basesrc implementation.
19240 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19241 behalf of event function if necessary. It should no longer be
19242 necessary to take the stream lock in pad's event functions. Fixes
19245 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19246 * docs/gst/gstreamer-sections.txt:
19247 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19248 (gst_structure_fixate_field_nearest_double),
19249 (gst_structure_fixate_field_boolean):
19250 * gst/gststructure.h:
19251 * win32/common/libgstreamer.def:
19252 * win32/gstreamer.def:
19254 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19257 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19259 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19260 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19261 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19262 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19263 (gst_fdsrc_uri_handler_init):
19264 * gst/elements/gstfdsrc.h:
19265 Port fd:// URI handler from 0.8 to fdsrc
19267 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19269 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19270 (gst_value_serialize_fourcc):
19272 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19273 consistent with our other format defines (#320324).
19275 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19277 * gst/gstvalue.c: (gst_value_is_fixed):
19278 Revert previous commit. Value lists are by definition
19279 not fixed, as they are a list of possible values.
19281 2005-11-21 Andy Wingo <wingo@pobox.com>
19283 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19284 during the stable series if we need it. Fixes #319178.
19286 * gst/gstevent.c (gst_event_new_filler): Removed.
19288 * check/gst/gstevent.c: Update comment about filler events.
19290 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19292 * gst/gstvalue.c: (gst_value_is_fixed):
19293 Should handle both value arrays and value lists.
19295 2005-11-21 Andy Wingo <wingo@pobox.com>
19297 patch by: Alessandro Dessina <alessandro nnva org>
19299 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19300 functions to access arrays. Fixes #321962.
19302 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19304 * docs/gst/gstreamer.types:
19305 gst_collectpads_get_type => gst_collect_pads_get_type.
19307 * gst/base/gstbasetransform.c:
19308 Remove unused SIGNAL_HANDOFF enum.
19310 2005-11-21 Andy Wingo <wingo@pobox.com>
19312 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19313 the event type (upstream, downstream, serialized). Renamed
19314 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19315 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19316 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19318 * gst/gstevent.c: Update for new CUSTOM event names.
19320 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19323 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19326 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19328 * docs/gst/gstreamer-sections.txt:
19329 * win32/common/libgstbase.def:
19330 * win32/libgstbase.def:
19331 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19332 (gst_collect_pads_class_init), (gst_collect_pads_init),
19333 (gst_collect_pads_finalize), (gst_collect_pads_new),
19334 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19335 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19336 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19337 (gst_collect_pads_start), (gst_collect_pads_stop),
19338 (gst_collect_pads_peek), (gst_collect_pads_pop),
19339 (gst_collect_pads_available), (gst_collect_pads_read),
19340 (gst_collect_pads_flush), (gst_collect_pads_event),
19341 (gst_collect_pads_chain):
19342 * gst/base/gstcollectpads.h:
19343 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19344 unimplemented functions as unimplemented. Add padding to
19345 GstCollectData. (#320766, #320423)
19347 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19349 * gst/gstmessage.c:
19350 Improve docs for DURATION message (usage of duration parameter)
19353 2005-11-20 Wim Taymans <wim@fluendo.com>
19355 * check/Makefile.am:
19356 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19360 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19361 (gst_segment_set_seek), (gst_segment_set_newsegment),
19362 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19363 (gst_segment_clip):
19364 * gst/gstsegment.h:
19365 Added segment helper structure and methods. Not fully implemented
19367 Added segment check.
19369 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19371 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19372 Add a deserialisation test for fractions
19373 * examples/metadata/read-metadata.c: (message_loop),
19374 (make_pipeline), (main):
19375 Fix up metadata reading sample.
19376 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19378 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19379 Don't try and fixate empty caps
19380 * gst/gst_private.h:
19381 Wrap in G_BEGIN_DECLS/G_END_DECLS
19382 * gst/gstvalue.c: (gst_value_collect_fraction),
19383 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19384 (gst_value_transform_string_fraction),
19385 (gst_value_compare_fraction):
19386 Add some extra guards to ensure that we don't end up
19387 with an invalid denominator of 0 in a gstfraction and
19388 that fractions always get reduced.
19390 2005-11-20 Wim Taymans <wim@fluendo.com>
19392 * docs/gst/gstreamer-sections.txt:
19394 * gst/gstelement.c:
19403 2005-11-20 Wim Taymans <wim@fluendo.com>
19405 * docs/design/part-TODO.txt:
19407 Make a proper enum of the flag.
19409 2005-11-19 Wim Taymans <wim@fluendo.com>
19411 * docs/design/part-TODO.txt:
19412 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19413 (gst_format_to_quark), (gst_format_register):
19415 * gst/gstquery.c: (_gst_query_initialize),
19416 (gst_query_type_get_name), (gst_query_type_to_quark),
19417 (gst_query_type_register):
19419 Add type to quark and type to string conversions.
19421 2005-11-19 Andy Wingo <wingo@pobox.com>
19423 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19426 2005-11-19 Wim Taymans <wim@fluendo.com>
19428 * docs/design/part-TODO.txt:
19429 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19430 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19431 (gst_bin_handle_message_func):
19433 Make message handling overridable.
19435 2005-11-19 Andy Wingo <wingo@pobox.com>
19437 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19440 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19442 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19443 is a GstClockTime. Fixes #321710.
19445 * gst/gstclock.h (GstClock): Remove offset property. Add
19446 internal_calibration and external_calibration. Fix padding. Pad
19447 also by GstClockTime so we don't run into problems.
19449 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19450 (gst_clock_get_rate_offset): Remove.
19451 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19454 * gst/gstutils.c (g_static_rec_cond_wait)
19455 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19457 * gst/gstbin.c: Remove terrible continue_state prototype.
19459 * gst/gstelement.h (gst_element_continue_state): Make public.
19461 * gst/gstelement.h:
19462 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19463 by continue_state. Fixes #319389.
19465 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19466 Really fixes #168438. However I don't see anywhere where the
19467 filter function is called... stupid GStreamer...
19469 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19470 don't have a dispose function, so it won't get called when the
19471 object is unreffed, but oh well!
19473 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19474 allows a destroy function to be set so user_data can be freed.
19476 (gst_index_set_filter): Call gst_index_set_filter_full.
19478 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19480 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19481 string should produce an error, given the lack of a way to
19482 represent NULL strings. Fixes #165650.
19485 * gst/gstvalue.c (gst_value_array_append_value)
19486 (gst_value_array_prepend_value, gst_value_array_get_size)
19487 (gst_value_array_get_value): New API, copied from
19488 gst_value_list_*, only operates on arrays.
19489 (gst_value_list_append_value, gst_value_list_prepend_value)
19490 (gst_value_list_concat, gst_value_list_get_size)
19491 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19493 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19494 init_list, because it works on both.
19495 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19496 (gst_value_copy_list_or_array): Renamed from copy_list.
19497 (gst_value_free_list_or_array): Renamed from free_list.
19498 (gst_value_collect_list_or_array): Renamed from collect_list.
19499 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19500 (gst_value_list_or_array_peek_pointer): Renamed from
19502 (_gst_value_array_value_table, _gst_value_list_value_table):
19503 Update value table functions.
19504 (gst_value_compare_list_or_array): Renamed from compare_list.
19506 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19509 * gst/gsttaglist.c:
19510 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19511 GstTagList*. Fixes #143472.
19513 * gst/gststructure.h: Clarify what the foreach/map functions can
19514 or can't do to their arguments.
19516 2005-11-18 Wim Taymans <wim@fluendo.com>
19518 * gst/gstclock.c: (gst_clock_set_calibration),
19519 (gst_clock_get_calibration):
19521 Calibration can be set with internal time equal to current
19524 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19530 2005-11-18 Andy Wingo <wingo@pobox.com>
19533 * pkgconfig/gstreamer-net.pc.in:
19534 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19535 * pkgconfig/Makefile.am: Add net pkgconfig files.
19537 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19540 * gst/gstghostpad.c:
19546 2005-11-18 Andy Wingo <wingo@pobox.com>
19548 * gst/net/gstnetclientclock.c: Turn off debugging.
19550 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19551 times connverge somewhat. Can't make a real test.
19553 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19554 integer arithmetic. Return the minimum of the domain, which can be
19555 set as "internal" for gst_clock_set_calibration.
19556 (gst_net_client_clock_observe_times): Call _set_calibration.
19557 (gst_net_client_clock_new): Call _set_calibration instead of
19560 * check/net/gstnetclientclock.c (test_functioning): Use the right
19564 * gst/gstclock.c (gst_clock_get_calibration)
19565 (gst_clock_set_calibration): New functions, obsolete the ones I
19566 added yesterday. Doh. Precision issues mean we have to extrapolate
19567 from a point in the more recent past than 1970.
19568 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19570 (gst_clock_adjust_unlocked): Use the right calibration data.
19572 2005-11-18 Edward Hervey <edward@fluendo.com>
19574 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19575 Also reset the ->current_* values in READY->PAUSED
19577 2005-11-18 Andy Wingo <wingo@pobox.com>
19579 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19580 Whoops, check the right fd. Also add some debugging.
19581 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19582 (do_linear_regression): Add a crapload of debugging. Subtract off
19583 the minimum values from the input series to discard unneeded bits.
19584 Use only int arithmetic. There is still double arithmetic when
19585 calculating the intercept that needs fixing. Return boolean to
19586 indicate success; FALSE would mean the domain or range is too
19587 great. Still needs fixes.
19589 2005-11-18 Wim Taymans <wim@fluendo.com>
19591 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19592 For the current position in stream time, we need to subtract
19595 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19596 Release lock before calling the callback function of async
19599 2005-11-18 Andy Wingo <wingo@pobox.com>
19601 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19602 Port goes all the way to MAXUINT16.
19604 * gst/net/gstnettimeprovider.c: Make the port range the same as
19605 for the kernel: 0 assigns, otherwise ports are less than
19608 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19611 * check/net/gstnetclientclock.c (test_functioning): Add the start
19614 2005-11-18 Wim Taymans <wim@fluendo.com>
19616 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19617 (gst_bin_remove_func), (bin_bus_handler):
19619 Removing a clock provider from a bin, triggers a clock lost message
19620 so that a new clock will be selected.
19621 Adding a clock to a bin triggers a clock provider message.
19622 Make sure we reselect a clock when we received a clock lost message.
19623 Keep a reference to the element that provided the clock.
19625 2005-11-18 Andy Wingo <wingo@pobox.com>
19627 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19628 the clock initially so it produces values around the base time.
19629 (gst_net_client_clock_class_init): Typo fix.
19630 (gst_net_client_clock_thread): Add note on when the socket gets
19633 2005-11-17 Wim Taymans <wim@fluendo.com>
19635 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19636 Free remote and local time arrays.
19638 2005-11-17 Wim Taymans <wim@fluendo.com>
19640 * gst/net/gstnetclientclock.c: (do_linear_regression),
19641 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19642 Fix compilation, uninitialized vars and a forgotten continue.
19644 2005-11-17 Andy Wingo <wingo@pobox.com>
19646 * check/Makefile.am (check_PROGRAMS):
19647 * check/net/gstnetclientclock.c: Add a most minimal test for the
19648 net client clock. More to come later.
19650 * gst/net/gstnet.h:
19651 * gst/net/Makefile.am: Add netclientclock.
19653 * gst/net/gstnetclientclock.h:
19654 * gst/net/gstnetclientclock.c: New files, implement an untested
19655 GstClock that takes its time from a network time provider.
19656 Implements the algorithm in network-clock.scm.
19658 * tests/network-clock.scm (*window-size*): Rename from
19660 * tests/network-clock.scm (network-time):
19661 * tests/network-clock-utils.scm (q-push): Update callers.
19663 2005-11-17 Wim Taymans <wim@fluendo.com>
19665 * gst/gstbin.c: (gst_bin_provide_clock_func),
19666 (gst_bin_sort_iterator_new):
19667 And unref the child too..
19669 2005-11-17 Wim Taymans <wim@fluendo.com>
19671 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19672 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19673 Refactor the sort iterator so it can be used while holding the
19675 Make clock selection select a clock closest to the source.
19677 2005-11-17 Michael Smith <msmith@fluendo.com>
19679 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19680 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19682 Anonymous structs are a gcc (and some other compilers) extension, so
19683 don't use them. Since this is only for ABI-compatibility, and our
19684 API/ABI freeze is over in a few days, this whole thing will only
19685 last a few days, so don't bother trying to think up a meaningful
19686 name for the struct.
19688 2005-11-17 Andy Wingo <wingo@pobox.com>
19690 * gst/gstclock.h (GstClock): Add rate and offset properties,
19691 preserving ABI stability. Add rate/offset accessors. Will file bug
19692 for the freeze break.
19694 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19695 and offset, trying to keep precision and avoiding
19696 underflow/overflow.
19697 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19698 functions. Make gst_clock_set_time_adjust obsolete.
19699 (gst_clock_set_time_adjust): Note that this function is obsolete.
19700 Will file bug soon.
19702 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19703 greppable by using GST_PADDING-1+1.
19705 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19707 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19709 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19710 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19712 * gst/gstpadtemplate.h:
19713 * gst/gstpluginfeature.h:
19714 Don't use c++ style comments in headers (#321638).
19716 2005-11-16 Andy Wingo <wingo@pobox.com>
19718 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19721 * check/net/gstnettimeprovider.c: Check to see that the time
19722 provider actually provides times. Works, yo!
19724 2005-11-16 Wim Taymans <wim@fluendo.com>
19726 * check/Makefile.am:
19729 * check/elements/fakesrc.c: (GST_START_TEST):
19730 Set element to NULL before disposing it.
19732 2005-11-16 Andy Wingo <wingo@pobox.com>
19734 * gst/net/Makefile.am:
19735 * gst/net/gstnet.h:
19736 * gst/net/gstnettimeprovider.c:
19737 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19738 provider, include it from gstnet.h, and add it to the build.
19740 * gst/net/gstnettimepacket.h:
19741 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19742 sending and receiving.
19744 2005-11-16 Wim Taymans <wim@fluendo.com>
19746 * check/Makefile.am:
19747 Enable valgrind check.
19749 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19750 (gst_fake_src_alloc_buffer):
19753 2005-11-16 Wim Taymans <wim@fluendo.com>
19755 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19756 Call parent finalize too.
19758 2005-11-16 Wim Taymans <wim@fluendo.com>
19760 * check/Makefile.am:
19761 Enable valgrind check that should work fine now.
19763 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19764 * gst/gstqueue.c: (gst_queue_init):
19765 Fix memleaks in pad allocation.
19767 2005-11-16 Andy Wingo <wingo@pobox.com>
19769 * gst/net/Makefile.am:
19770 * gst/net/gstnet.h: New part of core to hold network elements and
19771 objects. Put in core because it exposes API that applications want
19772 to use. The library is named libgstnet-tempname right now because
19773 of the existing libgstnet in gst-plugins-base. Solution is
19774 probably to rename the one in plugins-base; will file a bug for
19777 * gst/net/gstnettimeprovider.c:
19778 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19779 get_time call over the network.
19782 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19784 * check/Makefile.am:
19785 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19786 get additions shortly.
19788 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19790 * gst/gstpad.c: (gst_pad_new_from_static_template):
19792 add gst_pad_new_from_static_template functions
19793 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19794 (gst_check_setup_sink_pad):
19795 * gst/elements/gsttee.c: (gst_tee_init):
19798 2005-11-16 Wim Taymans <wim@fluendo.com>
19800 * gst/gstpad.c: (gst_pad_pause_task):
19801 Removed warning, it's not really an error either.
19803 2005-11-16 Wim Taymans <wim@fluendo.com>
19805 * gst/base/gstbasetransform.c:
19806 (gst_base_transform_prepare_output_buf),
19807 (gst_base_transform_event):
19808 Check if the caps are NULL, this can happen if the element
19809 is shutting down and the pad caps are set to NULL.
19811 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19813 * gst/elements/gsttee.c: (gst_tee_init):
19814 fix pad template leak in tee
19816 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * gst/glib-compat.c: (g_value_dup_gst_object):
19819 * gst/glib-compat.h:
19820 * gst/gstpad.c: (gst_pad_set_property):
19821 use gst_object_ref when setting the pad template; this will
19822 trigger the pad template leaks on GLib 2.6 and the slaves
19824 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19826 * gst/glib-compat.c: (gst_flags_get_first_value):
19827 * gst/glib-compat.h:
19828 * gst/gstregistryxml.c:
19829 remove functions copied from GLib 2.6
19831 2005-11-16 Michael Smith <msmith@fluendo.com>
19834 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19835 do, but only breaks with newer valgrind versions. We're not a
19836 valgrind tool, we have no link-time dependencies on libcoregrind.
19838 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19840 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19842 * gst/gstmessage.h:
19845 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19847 * gst/base/gstbasesrc.c: (gst_base_src_init):
19848 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19849 * gst/gstqueue.c: (gst_queue_init):
19850 * gst/gstregistryxml.c: (load_feature):
19851 Revert all these unrefs, they don't even pass make check !
19853 2005-11-15 Johan Dahlin <johan@gnome.org>
19855 * gst/base/gstbasesrc.c: (gst_base_src_init):
19856 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19857 * gst/gstqueue.c: (gst_queue_init):
19858 Free pad templates, fixes a couple of leaks.
19860 2005-11-15 Daniel Fischer <dan at f3c dot com>
19862 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19864 * gst/gstpad.c: (gst_pad_get_property):
19865 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19866 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19869 2005-11-15 Wim Taymans <wim@fluendo.com>
19874 2005-11-15 Andy Wingo <wingo@pobox.com>
19876 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19878 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19879 using GST_CLOCK_TIME_NONE to disable base time management.
19880 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19881 time if it was NONE before.
19882 (gst_pipeline_change_state): Only munge the base time if
19883 stream_time != GST_CLOCK_TIME_NONE.
19885 * check/gst/gstpipeline.c (test_base_time): Punt around the
19886 problem of the probe not being called, because that's not the
19887 issue I'm looking at. Add a check that setting stream_time to NONE
19888 disables base time management.
19890 2005-11-15 Wim Taymans <wim@fluendo.com>
19892 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19893 segment_stop == -1 at startup.
19895 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19896 (gst_base_transform_change_state):
19897 Init segment values at start.
19899 2005-11-15 Wim Taymans <wim@fluendo.com>
19901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19902 0 segment values are 0 in any format.
19904 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19905 * gst/base/gstbasetransform.h:
19906 Parse newsegment correctly in basetransform
19908 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19909 Sync to clock using updated segment values.
19911 2005-11-15 Andy Wingo <wingo@pobox.com>
19913 * check/gst/gstpipeline.c (test_base_time): Add check that the
19914 base time and stream time are reset correctly.
19916 2005-11-15 Wim Taymans <wim@fluendo.com>
19918 * docs/design/part-TODO.txt:
19919 Some more TODO items.
19921 2005-11-15 Andy Wingo <wingo@pobox.com>
19923 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19924 error if the user selected "no clock" as the clocking method.
19926 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19927 timestamps with live capture.
19929 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19930 is 0 but we are a live source, timestamp the buffers using the
19933 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19935 * docs/gst/gstreamer-sections.txt:
19937 * gst/gstghostpad.c:
19942 2005-11-14 Wim Taymans <wim@fluendo.com>
19945 add suppressions from Wim's Debian machine
19947 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19950 add suppressions from Andy's AMD64 Ubuntu machine
19952 2005-11-14 Andy Wingo <wingo@pobox.com>
19954 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19955 STATE_LOCK not necessary. Fixes #311489.
19957 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19960 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19961 this function is not implemented.
19963 2005-11-14 Julien MOUTTE <julien@moutte.net>
19965 * gst/base/gstbasetransform.c:
19966 (gst_base_transform_prepare_output_buf):
19967 Ref the source pad caps while we need them.
19970 2005-11-11 Wim Taymans <wim@fluendo.com>
19972 * docs/gst/gstreamer-sections.txt:
19973 Added some docs for GstCollectData.
19975 * gst/base/gstadapter.c:
19976 Some small code example fix.
19978 * gst/base/gstcollectpads.c:
19979 * gst/base/gstcollectpads.h:
19980 Document some more.
19982 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19984 * configure.ac: back to HEAD
19986 === release 0.9.5 ===
19988 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19991 releasing 0.9.5, "Bike Lunch Day"
19993 2005-11-11 Wim Taymans <wim@fluendo.com>
19995 * gst/gstbuffer.c: (_gst_buffer_copy):
19998 * gst/gstcaps.c: (gst_caps_is_equal):
20000 Make _is_equal fast in the trivial cases.
20002 * gst/gstminiobject.c:
20003 * gst/gstminiobject.h:
20004 More docs. Spifify .h file.
20009 2005-11-11 Wim Taymans <wim@fluendo.com>
20011 * gst/base/gstbasetransform.c:
20012 (gst_base_transform_prepare_output_buf),
20013 (gst_base_transform_handle_buffer):
20015 If we're processing a buffer and need to allocate an output
20016 buffer, we cannot accept a format change. If we did get a
20017 format change, we have to alloc a buffer ourselves of the
20020 2005-11-11 Wim Taymans <wim@fluendo.com>
20022 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20023 While checking the flag for reentrancy in the gstcaps function
20024 is nice to detect recursive invocations, it also makes it
20025 impossible to call getcaps from multiple threads, which must be
20026 possible. So, checking for recursive calls has to go.
20028 2005-11-11 Michael Smith <msmith@fluendo.com>
20030 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20031 Don't sync on buffers that fall partially outside our current
20032 segment. Prevents an assertion failure/abort playing some files.
20034 2005-11-10 Andy Wingo <wingo@pobox.com>
20036 * check/gst/gstbin.c (test_message_state_changed_children): Style
20039 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20040 gst_bus_poll with the signal watch. Ensures that poll and a signal
20041 watch see the same messages.
20043 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20044 a poll and a watch at the same time get the same messages.
20046 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20048 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20049 * gst/gstcaps.c: (gst_caps_intersect):
20050 Don't call gst_caps_do_simplify - it doesn't respect order of caps
20051 and it's not needed.
20053 2005-11-10 Wim Taymans <wim@fluendo.com>
20055 * docs/design/part-TODO.txt:
20058 2005-11-10 Wim Taymans <wim@fluendo.com>
20060 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20061 * gst/base/gstbasesrc.c: (gst_base_src_wait),
20062 (gst_base_src_do_sync), (gst_base_src_get_range):
20063 Implement clock sync in base class.
20065 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20067 patch by: Tim-Philipp Müller <tim at centricular dot net>
20069 * gst/gststructure.c: (gst_structure_parse_field),
20070 (gst_structure_from_string):
20071 Forward-port a 0.8 patch to handle escaped spaces in structure string,
20072 so that gst_parse_launch() can deal with spaces in filtered link
20073 caps (fixes #164479)
20074 * check/gst/capslist.h:
20075 * check/gst/gststructure.c: (GST_START_TEST):
20076 add unit tests for this change
20078 2005-11-10 Wim Taymans <wim@fluendo.com>
20080 * docs/gst/gstreamer-sections.txt:
20081 * gst/gstelement.c:
20082 * gst/gstelement.h:
20083 Fix docs, move some STATE macros to private.
20085 2005-11-10 Wim Taymans <wim@fluendo.com>
20087 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20088 Added check for bug #317341
20092 Some more spiffifying.
20094 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20095 Call peer linkfunction if we are a source pad. Totally fixes
20099 Update docs, source pads should call the peer linkfunction
20100 so they can atomically perform the pad link.
20102 2005-11-09 Wim Taymans <wim@fluendo.com>
20106 Uber-spiffy-spiffify some more.
20108 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
20110 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20111 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20112 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20113 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20114 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20115 * gst/gstpad.c: (gst_pad_init):
20116 Use GST_DEBUG_FUNCPTR() more extensively.
20118 2005-11-09 Wim Taymans <wim@fluendo.com>
20120 * gst/gstobject.c: (gst_object_class_init):
20122 Documentation fixes.
20124 2005-11-09 Edward Hervey <edward@fluendo.com>
20126 * gst/gsttypefindfactory.c:
20129 2005-11-09 Edward Hervey <edward@fluendo.com>
20131 * gst/base/gsttypefindhelper.c:
20132 * gst/gsttypefind.c:
20133 * gst/gsttypefind.h:
20136 2005-11-09 Wim Taymans <wim@fluendo.com>
20138 * gst/gstiterator.c:
20145 2005-11-09 Wim Taymans <wim@fluendo.com>
20151 2005-11-09 Wim Taymans <wim@fluendo.com>
20153 * docs/gst/gstreamer-sections.txt:
20154 Moved the message async delivery private lock and cond
20155 to the private section.
20157 * gst/gstmessage.c:
20158 * gst/gstmessage.h:
20161 2005-11-09 Edward Hervey <edward@fluendo.com>
20163 * docs/gst/gstreamer-sections.txt:
20166 Document GstURIHandler
20168 2005-11-09 Wim Taymans <wim@fluendo.com>
20170 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20171 (gst_iterator_find_custom):
20172 * gst/gstiterator.h:
20175 2005-11-09 Wim Taymans <wim@fluendo.com>
20178 Document another field.
20180 * gst/gststructure.c:
20181 * gst/gststructure.h:
20184 2005-11-09 Wim Taymans <wim@fluendo.com>
20187 Documented structs.
20189 2005-11-09 Wim Taymans <wim@fluendo.com>
20191 * docs/gst/gstreamer-sections.txt:
20192 Added some new macros.
20199 2005-11-09 Wim Taymans <wim@fluendo.com>
20201 * docs/design/part-TODO.txt:
20202 Some more items for the TODO
20208 2005-11-09 Andy Wingo <wingo@pobox.com>
20210 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20211 to work on something else now tho...
20213 * gst/base/gstadapter.c: More adapter docs.
20215 * gst/elements/gstfilesink.c (gst_file_sink_start)
20216 (gst_file_sink_stop): New functions, replace the state change
20218 (gst_file_sink_class_init): Hook up the start and stop functions.
20219 (gst_file_sink_base_init): Don't set the state change handler any
20220 more. It was a bit ugly too, being set from here...
20221 (gst_file_sink_get_property, gst_file_sink_set_property):
20223 (gst_file_sink_set_location): More robust check that doesn't call
20224 GST_STATE. Ugggggg.
20226 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
20228 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20229 Hold STREAM_LOCK while pushing newsegment or tag events as well.
20231 2005-11-08 Wim Taymans <wim@fluendo.com>
20233 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20234 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20235 (gst_base_sink_chain), (gst_base_sink_change_state):
20236 * gst/base/gstbasesink.h:
20237 * gst/base/gstbasesrc.h:
20238 * gst/gstelement.h:
20240 Avoid excessive typechecking in macros.
20242 * gst/gstminiobject.c: (gst_mini_object_get_type),
20243 (gst_mini_object_init), (gst_mini_object_new),
20244 (gst_mini_object_free):
20245 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20246 (gst_object_finalize):
20247 Remove cruft code, optimize alloc_trace.
20249 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
20251 * docs/faq/gst-uninstalled:
20252 fix up PS1 for systems that try to reset it
20254 2005-11-07 Wim Taymans <wim@fluendo.com>
20256 * gst/base/gstbasesrc.c: (gst_base_src_init),
20257 (gst_base_src_get_range):
20258 Set the segment_end to -1 initially. Fixed typefind.
20260 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
20262 * gst/base/gstadapter.c:
20263 Debug category should be 'adapter', not 'GstAdapter'.
20265 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20266 (gst_collectpads_class_init), (gst_collectpads_init),
20267 (gst_collectpads_peek), (gst_collectpads_pop),
20268 (gst_collectpads_event), (gst_collectpads_chain):
20269 Add debug category and some debugging output. Use boilerplate
20270 macros. Remove some extraneous words from docs.
20272 2005-11-05 Andy Wingo <wingo@pobox.com>
20274 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20277 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20279 * docs/gst/gstreamer-sections.txt:
20282 * gst/gstminiobject.h:
20287 2005-11-04 Wim Taymans <wim@fluendo.com>
20289 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20290 Small update to stop at the configured segment_end
20293 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20295 * gst/gstregistry.c:
20296 * gst/gstregistry.h:
20299 2005-11-04 Edward Hervey <edward@fluendo.com>
20301 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20302 Check if we are doing a segment seek and have arrived at the
20303 end of that segment.
20305 2005-11-04 Wim Taymans <wim@fluendo.com>
20307 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20308 Don't leak a mutex unlock in case of an error.
20313 2005-11-04 Wim Taymans <wim@fluendo.com>
20315 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20317 Get the context to wake up only once.
20319 2005-11-03 Wim Taymans <wim@fluendo.com>
20321 * check/states/sinks.c: (GST_START_TEST):
20322 Uncomment fixed check.
20324 * docs/design/part-TODO.txt:
20327 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20328 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20329 (gst_base_sink_get_position):
20330 If we are going to PLAYING, post the right pending state
20331 when we post the intermediate paused message.
20333 * gst/gstelement.c: (gst_element_continue_state),
20334 (gst_element_set_state_func), (gst_element_change_state):
20335 Don't post state changes that were between the same state
20336 and were not ASYNC.
20338 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20340 * docs/gst/gstreamer-sections.txt:
20343 * gst/gstminiobject.h:
20346 more docs and doc style fixes
20348 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20350 * docs/gst/gstreamer-sections.txt:
20351 * gst/gstelement.c:
20352 * gst/gstminiobject.c:
20355 2005-11-03 Andy Wingo <wingo@pobox.com>
20357 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20358 state-changed messages actually have the right order and the right
20361 2005-11-03 Wim Taymans <wim@fluendo.com>
20363 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20364 Added some more checks. Specifically the case where NO_PREROLL
20365 elements are in the pipeline.
20367 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20368 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20369 (gst_base_sink_get_position):
20370 Post READY->PAUSED state change messages too.
20371 Fix bug where VOID was posted as pending state...
20373 * gst/gstbin.c: (gst_bin_recalc_state):
20374 use _element_continue_state() to continue the state change.
20376 * gst/gstelement.c: (gst_element_continue_state),
20377 (gst_element_commit_state), (gst_element_set_state_func),
20378 (gst_element_change_state), (gst_element_change_state_func):
20379 Lots of state change cleanups, assign the STATE_RETURN in
20380 a new continue_state() function that also propagates the
20381 last return value from a state change to the app.
20382 Update some debug statements with proper category.
20384 2005-11-03 Wim Taymans <wim@fluendo.com>
20386 * docs/design/part-events.txt:
20387 * docs/design/part-gstpipeline.txt:
20388 * docs/design/part-messages.txt:
20389 * docs/design/part-overview.txt:
20390 * docs/design/part-seeking.txt:
20391 * docs/design/part-states.txt:
20392 * docs/design/part-trickmodes.txt:
20393 * docs/manual/advanced-position.xml:
20394 Small docs updates.
20397 People think !! is ugly, this looks better.
20399 * gst/gstpad.c: (gst_pad_set_blocked_async):
20400 Remove !! since it's fixed elsewhere now.
20402 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20404 * gst/gstminiobject.h:
20406 Add !! to _FLAG_IS_SET macros to make the result boolean.
20408 2005-11-03 Edward Hervey <edward@fluendo.com>
20410 * gst/gstpad.c: (gst_pad_set_blocked_async):
20411 comparing a flag and a gboolean rarely returns coherent results...
20412 Added two characters (!!) to make that work correctly.
20414 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20416 * gst/gstbus.c: (gst_bus_class_init):
20419 * gst/gstqueue.c: (gst_queue_loop):
20420 Don't assume a miniobject that isn't a buffer is an
20421 event (it could be that there is a refcounting
20422 problem somewhere and the pointer is stale and
20423 refers to an already destroyed miniobject).
20425 2005-11-03 Julien MOUTTE <julien@moutte.net>
20427 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20429 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20431 * docs/manual/advanced-position.xml:
20432 Update seek example and explanations to current 0.9 API.
20434 * gst/elements/gsttypefindelement.c:
20435 (gst_type_find_element_activate):
20436 Remove FIXME comment now that the found caps
20439 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20441 * gst/gstregistryxml.c: (load_feature):
20442 Add another GST_STR_NULL instance
20444 2005-11-02 Edward Hervey <edward@fluendo.com>
20446 * gst/gstpad.c: (handle_pad_block):
20447 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20449 2005-11-02 Wim Taymans <wim@fluendo.com>
20454 * gst/gstelement.c: (gst_element_commit_state):
20455 Remove unused value.
20457 * gst/gstiterator.c:
20458 Mention that the returned element is reffed in the docs.
20460 2005-11-02 Wim Taymans <wim@fluendo.com>
20462 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20463 (gst_pad_push), (gst_pad_push_event):
20464 Unlock blocked pads when they are flushed.
20466 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20469 * docs/gst/gstreamer-sections.txt:
20472 * gst/gstregistry.c: (gst_registry_scan_path_level):
20473 fix for a nasty little missed situation where an installed plug-in
20474 which was in the cache did not get overridden by an uninstalled one
20475 which was earlier in the plugin path because the newly created plugin
20476 for the uninstalled one (not in the registry) didn't get its
20477 ->registered set to TRUE
20479 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20481 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20482 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20483 (gst_collectpads_is_active), (gst_collectpads_collect),
20484 (gst_collectpads_collect_range), (gst_collectpads_start),
20485 (gst_collectpads_stop), (gst_collectpads_peek),
20486 (gst_collectpads_pop), (gst_collectpads_available),
20487 (gst_collectpads_read), (gst_collectpads_flush):
20488 Guard public API with assertions.
20491 Fix docs for gst_pad_set_link_function().
20493 2005-11-02 Johan Dahlin <johan@gnome.org>
20495 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20496 Unref found_caps after we used it.
20498 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20500 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20501 Don't try to ref NULL.
20503 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20505 * win32/common/config.h.in:
20506 provide a GST_FUNCTION that just gives a string for now
20508 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20510 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20511 (gst_object_flags_get_type), (register_gst_bin_flags),
20512 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20513 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20514 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20515 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20516 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20517 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20518 (gst_clock_flags_get_type), (register_gst_state),
20519 (gst_state_get_type), (register_gst_state_change_return),
20520 (gst_state_change_return_get_type), (register_gst_state_change),
20521 (gst_state_change_get_type), (register_gst_element_flags),
20522 (gst_element_flags_get_type), (register_gst_core_error),
20523 (gst_core_error_get_type), (register_gst_library_error),
20524 (gst_library_error_get_type), (register_gst_resource_error),
20525 (gst_resource_error_get_type), (register_gst_stream_error),
20526 (gst_stream_error_get_type), (register_gst_event_type),
20527 (gst_event_type_get_type), (register_gst_seek_type),
20528 (gst_seek_type_get_type), (register_gst_seek_flags),
20529 (gst_seek_flags_get_type), (register_gst_format),
20530 (gst_format_get_type), (register_gst_index_certainty),
20531 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20532 (gst_index_entry_type_get_type),
20533 (register_gst_index_lookup_method),
20534 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20535 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20536 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20537 (gst_index_flags_get_type), (register_gst_debug_level),
20538 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20539 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20540 (gst_iterator_result_get_type), (register_gst_iterator_item),
20541 (gst_iterator_item_get_type), (register_gst_message_type),
20542 (gst_message_type_get_type), (register_gst_mini_object_flags),
20543 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20544 (gst_pad_link_return_get_type), (register_gst_flow_return),
20545 (gst_flow_return_get_type), (register_gst_activate_mode),
20546 (gst_activate_mode_get_type), (register_gst_pad_direction),
20547 (gst_pad_direction_get_type), (register_gst_pad_flags),
20548 (gst_pad_flags_get_type), (register_gst_pad_presence),
20549 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20550 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20551 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20552 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20553 (gst_plugin_flags_get_type), (register_gst_rank),
20554 (gst_rank_get_type), (register_gst_query_type),
20555 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20556 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20557 (gst_tag_flag_get_type), (register_gst_task_state),
20558 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20559 (gst_alloc_trace_flags_get_type),
20560 (register_gst_type_find_probability),
20561 (gst_type_find_probability_get_type), (register_gst_uri_type),
20562 (gst_uri_type_get_type), (register_gst_parse_error),
20563 (gst_parse_error_get_type):
20564 * win32/common/gstversion.h:
20565 update win32 copies
20567 2005-11-01 Luca Ognibene <luogni@tin.it>
20570 fix docs. popt is dead, long live GOption.
20572 2005-10-31 Wim Taymans <wim@fluendo.com>
20577 2005-10-31 Andy Wingo <wingo@pobox.com>
20581 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20583 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20584 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20585 the possibility of deadlocks here if code calling notify() or
20586 set() has a lock that can be taken in another notify handler (ABBA
20587 with class lock and e.g. python GIL state lock).
20589 2005-10-28 Julien MOUTTE <julien@moutte.net>
20591 * gst/gstbus.c: Doc updates.
20593 2005-10-28 Wim Taymans <wim@fluendo.com>
20595 * docs/design/part-TODO.txt:
20596 * gst/gstiterator.c:
20597 * gst/gstsystemclock.c:
20598 * gst/gstsystemclock.h:
20601 2005-10-28 Edward Hervey <edward@fluendo.com>
20603 * docs/gst/gstreamer-docs.sgml:
20604 * docs/gst/gstreamer-sections.txt:
20605 the GstURIType documentation page is private, it only defines GstURIType
20606 which should be defined in the GstURIHandler page
20608 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20610 * gst/gstbin.c: (gst_bin_class_init):
20613 Documentation updates.
20615 2005-10-28 Wim Taymans <wim@fluendo.com>
20617 * docs/gst/gstreamer-sections.txt:
20620 Documented the clocks.
20622 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20624 * docs/gst/gstreamer-sections.txt:
20625 move some macros to private sections
20626 * gst/gstminiobject.c:
20627 * gst/gstminiobject.h:
20628 add descriptions provided by ds and some more
20630 mark macro as to be removed
20632 2005-10-28 Wim Taymans <wim@fluendo.com>
20634 * docs/design/part-TODO.txt:
20635 Add an item to TODO.
20637 * gst/gstiterator.c: (gst_iterator_fold),
20638 (gst_iterator_find_custom):
20639 * gst/gstiterator.h:
20642 2005-10-28 Wim Taymans <wim@fluendo.com>
20644 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20645 (gst_base_transform_init):
20648 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20649 An EOS event marks the queue as completely filled.
20651 2005-10-27 Wim Taymans <wim@fluendo.com>
20653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20654 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20655 Some more debugging.
20657 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20658 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20659 (gst_base_transform_event), (gst_base_transform_getrange),
20660 (gst_base_transform_chain):
20661 * gst/base/gstbasetransform.h:
20663 Protect transform and concurrent buffer alloc with a new lock.
20664 Try not to break ABI/API.
20666 2005-10-27 Wim Taymans <wim@fluendo.com>
20668 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20669 (gst_base_src_init), (gst_base_src_query),
20670 (gst_base_src_default_newsegment),
20671 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20672 (gst_base_src_send_event), (gst_base_src_event_handler),
20673 (gst_base_src_pad_get_range), (gst_base_src_loop),
20674 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20675 (gst_base_src_start), (gst_base_src_deactivate),
20676 (gst_base_src_activate_push), (gst_base_src_change_state):
20677 Move some stuff around and cleanup things.
20679 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20681 * gst/base/gstbasesrc.c: (gst_base_src_query):
20682 Add missing break statements.
20684 2005-10-27 Wim Taymans <wim@fluendo.com>
20686 * check/gst/gstbin.c: (GST_START_TEST):
20687 An extra refcount is taken in basesrc.
20689 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20690 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20691 (gst_base_src_loop):
20692 Small cleanups, check for flushing after being unlocked from the
20693 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20694 Don't send out EOS when going to READY.
20696 2005-10-27 Wim Taymans <wim@fluendo.com>
20698 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20699 (gst_base_sink_get_position):
20702 * gst/gstbin.c: (message_check), (bin_replace_message),
20703 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20704 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20705 (bin_query_duration_init), (bin_query_duration_fold),
20706 (bin_query_duration_done), (bin_query_generic_fold),
20708 * tools/gst-launch.c: (main):
20711 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20713 * examples/controller/audio-example.c: (main):
20714 * examples/queue/queue.c: (event_loop):
20715 * gst/base/gstbasetransform.h:
20716 * gst/gstelement.c: (gst_element_send_event):
20718 * gst/gstpad.c: (gst_pad_send_event):
20721 changing log priority in error situations
20723 2005-10-25 Wim Taymans <wim@fluendo.com>
20725 * gst/gstbin.c: (message_check), (bin_replace_message),
20726 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20727 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20728 (bin_query_duration_init), (bin_query_duration_fold),
20729 (bin_query_duration_done), (bin_query_generic_fold),
20731 Some doc and debug updates.
20732 Cache previously requested query DURATION for speed. invalidate
20733 cached duration if element posts a DURATION message.
20735 2005-10-25 Wim Taymans <wim@fluendo.com>
20737 * docs/design/part-TODO.txt:
20740 * gst/gstbin.c: (message_check), (bin_replace_message),
20741 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20742 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20743 (bin_query_duration_init), (bin_query_duration_fold),
20744 (bin_query_duration_done), (bin_query_generic_fold),
20746 Handle SEGMENT_START/DONE messages correctly.
20747 More evolved query algorithm that handles duration queries
20750 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20751 (gst_element_get_state_func), (gst_element_abort_state),
20752 (gst_element_commit_state), (gst_element_lost_state):
20753 Some more debugging.
20755 * gst/gstmessage.h:
20758 2005-10-25 Wim Taymans <wim@fluendo.com>
20760 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20761 Don't use invalid stream_time.
20763 * gst/gstevent.c: (gst_event_new_newsegment):
20764 stream_time in newsegment cannot be undefined.
20766 2005-10-24 Wim Taymans <wim@fluendo.com>
20771 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20773 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20775 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20777 * docs/libs/tmpl/gstdparam.sgml:
20778 * docs/libs/tmpl/gstdplinint.sgml:
20779 * docs/libs/tmpl/gstdpman.sgml:
20780 * docs/libs/tmpl/gstdpsmooth.sgml:
20781 * docs/libs/tmpl/gstunitconvert.sgml:
20784 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20789 === release 0.9.4 ===
20791 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20794 releasing 0.9.4, "Tyrannosaurus Rex"
20796 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20798 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20799 (gst_file_sink_get_current_offset):
20800 Use fseeko() and ftello() if available. When falling back on
20801 lseek() to get the current offset, fflush() first to make sure
20802 everything is up-to-date and we get the right offset.
20804 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20807 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20808 * gst/gsterror.c: (_gst_stream_errors_init):
20810 * gst/gstqueue.c: (gst_queue_loop):
20812 remove prematurely added error category and clean up the instances
20814 2005-10-21 Wim Taymans <wim@fluendo.com>
20816 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20817 (gst_base_sink_get_position), (gst_base_sink_query),
20818 (gst_base_sink_change_state):
20819 Simply set the right flag when going to playing, that's all
20820 we need to do instead of calling a function inside the object
20821 lock (that could take the lock as well and deadlock)
20823 2005-10-21 Wim Taymans <wim@fluendo.com>
20825 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20826 (gst_base_src_loop):
20827 Don't warn, the peer element knows what to do best when
20828 the seek failed, it might try something else.
20830 2005-10-21 Wim Taymans <wim@fluendo.com>
20832 * gst/base/gstbasesrc.c: (gst_base_src_init),
20833 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20836 2005-10-21 Wim Taymans <wim@fluendo.com>
20838 * docs/design/part-segments.txt:
20841 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20842 Correctly set caps, even on the subbufer.
20844 2005-10-21 Wim Taymans <wim@fluendo.com>
20846 * docs/gst/gstreamer-docs.sgml:
20847 * docs/gst/gstreamer-sections.txt:
20848 * gst/gstelement.h:
20851 * gst/gstmessage.h:
20854 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20858 And 2% more doc coverage.
20860 2005-10-21 Andy Wingo <wingo@pobox.com>
20862 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20863 position reporting.
20865 2005-10-20 Wim Taymans <wim@fluendo.com>
20867 * gst/gsterror.c: (gst_error_get_message):
20870 * gst/gststructure.c:
20875 2005-10-20 Wim Taymans <wim@fluendo.com>
20880 Another 1% more coverage.
20882 2005-10-20 Wim Taymans <wim@fluendo.com>
20884 * docs/gst/gstreamer-sections.txt:
20885 * gst/gstelement.c: (gst_element_get_state_func),
20886 (gst_element_abort_state), (gst_element_commit_state),
20887 (gst_element_lost_state):
20889 * gst/gstquery.c: (gst_query_set_position),
20890 (gst_query_parse_position), (gst_query_set_duration),
20891 (gst_query_parse_duration), (gst_query_new_convert):
20893 Yay! 1% more docs coverage.
20895 2005-10-20 Wim Taymans <wim@fluendo.com>
20898 * gst/gstquery.c: (gst_query_set_position),
20899 (gst_query_parse_position), (gst_query_set_duration),
20900 (gst_query_parse_duration), (gst_query_new_convert):
20902 * gst/gstutils.c: (gst_element_query_convert):
20904 Docs and consistency fixes.
20906 2005-10-20 Wim Taymans <wim@fluendo.com>
20912 2005-10-20 Wim Taymans <wim@fluendo.com>
20914 * gst/gstbin.c: (message_check), (bin_replace_message),
20915 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20916 (update_degree), (gst_bin_sort_iterator_next),
20917 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20918 Reworked the message handling a bit, cache the messages instead of
20919 only the senders. alows us to do more in the future.
20921 2005-10-20 Wim Taymans <wim@fluendo.com>
20923 * docs/design/part-TODO.txt:
20926 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20927 (gst_base_sink_query):
20928 Don't use clock time to report position when in EOS.
20930 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20932 * tools/gst-inspect.c: (print_interfaces),
20933 (print_element_properties_info), (print_element_info):
20934 Fix interface output with gst-inspect -a; don't print
20935 newlines after double/float properties.
20937 2005-10-20 Wim Taymans <wim@fluendo.com>
20939 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20940 (gst_base_sink_query):
20941 Speed up current position calculation.
20943 * gst/base/gstbasesrc.c: (gst_base_src_query),
20944 (gst_base_src_default_newsegment):
20945 Correctly set stream position in newsegment.
20947 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20948 (update_degree), (gst_bin_sort_iterator_next),
20949 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20950 * gst/gstmessage.c: (gst_message_new_custom):
20951 Clean up debugging info
20953 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20954 (gst_queue_loop), (gst_queue_handle_src_query):
20957 2005-10-19 Wim Taymans <wim@fluendo.com>
20959 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20960 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20961 Fix query handling again.
20963 2005-10-19 Wim Taymans <wim@fluendo.com>
20965 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20966 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20967 * gst/base/gstbasesrc.c: (gst_base_src_query):
20968 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20969 * gst/elements/gsttypefindelement.c:
20970 (gst_type_find_handle_src_query), (find_element_get_length),
20971 (gst_type_find_element_activate):
20974 * gst/gstquery.c: (gst_query_new_position),
20975 (gst_query_set_position), (gst_query_parse_position),
20976 (gst_query_new_duration), (gst_query_set_duration),
20977 (gst_query_parse_duration), (gst_query_set_segment),
20978 (gst_query_parse_segment):
20980 Bundling query position/duration is not a good idea since duration
20981 does not change much and we don't want to recalculate it for every
20982 position query, so they are separated again..
20983 Base value in segment query is not needed.
20985 * gst/gstqueue.c: (gst_queue_handle_src_query):
20986 * gst/gstutils.c: (gst_element_query_position),
20987 (gst_element_query_duration), (gst_pad_query_position),
20988 (gst_pad_query_duration):
20990 Updates for query API change.
20991 Added some docs here and there.
20993 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20995 * check/gst/gstbin.c: (GST_START_TEST):
20996 * check/gst/gstghostpad.c: (GST_START_TEST):
20997 * check/pipelines/cleanup.c: (GST_START_TEST):
20998 wait on thread to die so we can check refcount correctly
21000 2005-10-18 Wim Taymans <wim@fluendo.com>
21002 * check/pipelines/stress.c: (GST_START_TEST):
21003 Make check a little more time consuming.
21005 2005-10-18 Wim Taymans <wim@fluendo.com>
21007 * check/Makefile.am:
21008 * check/pipelines/stress.c: (GST_START_TEST),
21009 (simple_launch_lines_suite), (main):
21010 Small state change torture test.
21012 * docs/design/part-states.txt:
21013 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21014 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21015 (gst_base_sink_change_state):
21016 Never take state lock from streaming thread, clean up ugly
21017 hacks. Unfortunatly core does not yet support nice ways to
21018 async commit state.
21020 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21022 Start state recalc if a STATE_DIRTY message is posted, but only
21023 on the toplevel bin.
21025 * gst/gstelement.c: (gst_element_sync_state_with_parent),
21026 (gst_element_get_state_func), (gst_element_abort_state),
21027 (gst_element_commit_state), (gst_element_lost_state),
21028 (gst_element_set_state_func), (gst_element_change_state):
21029 * gst/gstelement.h:
21030 State variables are now protected with the LOCK, the state
21031 lock is only used to serialize _set_state().
21033 2005-10-18 Wim Taymans <wim@fluendo.com>
21035 * check/gst/gstbin.c: (GST_START_TEST):
21036 * check/gst/gstmessage.c: (GST_START_TEST):
21037 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21038 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21040 * gst/gstelement.c: (gst_element_abort_state),
21041 (gst_element_commit_state), (gst_element_lost_state):
21042 * gst/gstmessage.c: (gst_message_new_state_changed),
21043 (gst_message_new_state_dirty), (gst_message_new_segment_start),
21044 (gst_message_new_segment_done), (gst_message_new_duration),
21045 (gst_message_parse_state_changed),
21046 (gst_message_parse_segment_start),
21047 (gst_message_parse_segment_done), (gst_message_parse_duration):
21048 * gst/gstmessage.h:
21049 * tools/gst-launch.c: (event_loop):
21050 Seriously, this is better than a previous commit as we only need
21051 to notify the fact that an element changed state in a streaming
21052 thread, marking the state of the parents dirty, hence the
21053 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21056 2005-10-18 Wim Taymans <wim@fluendo.com>
21058 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21059 (gst_bin_recalc_func):
21060 * gst/gstelement.c: (gst_element_set_clock),
21061 (gst_element_abort_state), (gst_element_lost_state):
21062 Cleanups, prepare for state change fixes.
21064 2005-10-18 Wim Taymans <wim@fluendo.com>
21067 * gst/gstelement.c: (gst_element_class_init),
21068 (gst_element_set_state), (gst_element_set_state_func):
21069 * gst/gstelement.h:
21070 Pending ABI changes.
21071 GThreadPool in GstBinClass to monitor async state changes.
21072 state_cookie in GstElement to detect concurrent gst/set state.
21073 set_state is now virtual too in case a very complicated element
21074 has to be constructed.
21076 2005-10-18 Wim Taymans <wim@fluendo.com>
21078 * check/gst/gstbin.c: (GST_START_TEST):
21079 * check/gst/gstmessage.c: (GST_START_TEST):
21080 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21081 * gst/gstbin.c: (bin_bus_handler):
21082 * gst/gstelement.c: (gst_element_commit_state),
21083 (gst_element_lost_state):
21084 * gst/gstmessage.c: (gst_message_new_state_changed),
21085 (gst_message_new_segment_start), (gst_message_new_segment_done),
21086 (gst_message_new_duration), (gst_message_parse_state_changed),
21087 (gst_message_parse_segment_start),
21088 (gst_message_parse_segment_done), (gst_message_parse_duration):
21089 * gst/gstmessage.h:
21090 * tools/gst-launch.c: (event_loop):
21091 Make messages future proof.
21092 state-change gets a flag if it was a message comming from the
21094 segment-start/stop can also be specified in other formats.
21095 A message to notify an app that a pipeline changed playback
21097 Also fix a GstMessage leak in -launch
21099 2005-10-18 Andy Wingo <wingo@pobox.com>
21101 * gst/gstelement.c (gst_element_dispose): More helpful message.
21103 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21105 reviewed by: <delete if not using a buddy>
21107 * common/gtk-doc.mak:
21109 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21111 * gst/gstregistry.c: (gst_registry_scan_path_level):
21112 unref a plug-in we get that was already initialized
21114 2005-10-18 Stefan Kost <ensonic@users.sf.net>
21116 * docs/gst/gstreamer-sections.txt:
21117 * docs/libs/gstreamer-libs-sections.txt:
21118 * gst/gstelement.h:
21119 add new api entries
21120 hide internal macro
21122 2005-10-17 Andy Wingo <wingo@pobox.com>
21124 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21127 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21129 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21131 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21132 (gst_element_get_state_func): Better debug message.
21133 (gst_element_commit_state): s/INFO/DEBUG/.
21134 (gst_element_lost_state, gst_element_change_state):
21136 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21137 (gst_message_new_custom): s/INFO/LOG/.
21139 2005-10-17 Michael Smith <msmith@fluendo.com>
21141 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21142 Check if end time is valid using end time, not start time.
21144 2005-10-17 Stefan Kost <ensonic@users.sf.net>
21146 * check/gst-libs/controller.c: (GST_START_TEST),
21147 (gst_controller_suite):
21148 * libs/gst/controller/gstcontroller.c:
21149 (gst_controlled_property_set_interpolation_mode):
21150 * libs/gst/controller/gstcontroller.h:
21151 * libs/gst/controller/gstinterpolation.c:
21152 * testsuite/controller/.cvsignore:
21153 * testsuite/controller/Makefile.am:
21154 * testsuite/controller/interpolator.c:
21155 merge controller testsuites
21157 remove mem-chunk from docs
21159 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21161 * gst/gstmemchunk.c:
21162 * gst/gstmemchunk.h:
21163 * gst/gsttrashstack.c:
21164 * gst/gsttrashstack.h:
21165 out. get out. you're fired. to the Attic !
21167 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21169 * gst/gstcaps.c: (gst_caps_intersect):
21170 fix signedness issues in a (hopefully) correct way
21171 * gst/gstelement.c: (gst_element_pads_activate):
21173 * gst/gstobject.c: (gst_object_set_parent):
21176 2005-10-17 Julien MOUTTE <julien@moutte.net>
21178 * gst/gstvalue.h: Fix prototypes.
21180 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21182 * docs/gst/gstreamer-sections.txt:
21183 * gst/gst.c: (gst_version_string):
21185 * gst/gstversion.h.in:
21186 * win32/common/libgstreamer.def:
21187 add gst_version_string ()
21189 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21193 * gst/gst.c: (init_post):
21194 * win32/common/config.h.in:
21196 * gst/gstcaps.c: (gst_caps_intersect):
21197 use gint64, the range could be bigger than a guint
21199 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21202 document potential problem in 2038
21204 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21206 * gst/gstcaps.c: (gst_caps_intersect):
21207 Fix guint j diving under 0
21209 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21212 * win32/common/config.h:
21213 * win32/common/config.h.in:
21214 check for process.h, declares getpid() on Windows
21216 include process.h if we have it
21217 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21218 * gst/gstmemchunk.h:
21219 fix signedness issues
21220 * win32/common/libgstreamer.def:
21223 2005-10-16 Julien MOUTTE <julien@moutte.net>
21225 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21226 fix. Because of unsigned ints, caps intersection was going nuts and
21227 trying to access structures with G_MAXUINT index. That fixes
21228 videotestsrc ! ffmpegcolorspace ! fakesink
21229 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21232 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21235 use the gettext macro
21236 * gst/elements/gstelements.c:
21238 * gst/indexers/gstindexers.c:
21239 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21240 * win32/common/config.h:
21242 * win32/common/config.h.in:
21243 add the template to generate config.h
21244 * win32/common/gstenumtypes.c:
21245 * win32/common/gstversion.h:
21248 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21250 * gst/gst.c: (gst_version):
21251 * gst/gstversion.h.in:
21254 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21257 Oops, add missing closing bracket.
21259 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21262 use common m4's for argument checking
21264 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21266 * docs/gst/gstreamer-sections.txt:
21268 Add GST_EVENT_TYPE_NAME() macro.
21270 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21273 * gst/gstpluginfeature.c:
21275 privatize more symbols
21277 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21280 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21281 everything that uses GStreamer API should have the includes
21283 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21285 * docs/gst/gstreamer-sections.txt:
21286 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21288 give each value a _get_type, removes the DATA exports
21290 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21294 remove _gst_registry_auto_load, not used anymore
21295 * gst/gstbin.c: (gst_bin_get_type):
21297 * gst/gstelement.c: (gst_element_get_type):
21298 * gst/gstelement.h:
21299 * gst/gstobject.c: (gst_object_get_type):
21301 * gst/gstpad.c: (gst_pad_get_type):
21303 make _get_type functions similar, fixes data export from library
21305 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21308 correctly make conditionals
21309 * gst/elements/Makefile.am:
21310 * gst/elements/gstelements.c:
21311 fix typo causing fdsrc not to build
21313 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21315 * testsuite/Makefile.am:
21316 * testsuite/bytestream/.cvsignore:
21317 * testsuite/bytestream/Makefile.am:
21318 * testsuite/bytestream/filepadsink.c:
21319 * testsuite/bytestream/gstbstest.c:
21320 * testsuite/bytestream/test1.c:
21321 * testsuite/bytestream/testfile1:
21322 * testsuite/caps/normalisation.c:
21323 * testsuite/caps/random.c: (main):
21324 * testsuite/cleanup/.cvsignore:
21325 * testsuite/cleanup/Makefile.am:
21326 * testsuite/cleanup/cleanup1.c:
21327 * testsuite/cleanup/cleanup2.c:
21328 * testsuite/cleanup/cleanup3.c:
21329 * testsuite/cleanup/cleanup4.c:
21330 * testsuite/cleanup/cleanup5.c:
21331 * testsuite/controller/interpolator.c:
21332 * testsuite/debug/printf_extension.c: (main):
21333 * testsuite/elements/tee.c:
21334 * testsuite/negotiation/.cvsignore:
21335 * testsuite/negotiation/Makefile.am:
21336 * testsuite/negotiation/pad_link.c:
21337 * testsuite/pad/Makefile.am:
21338 * testsuite/pad/chainnopull.c:
21339 * testsuite/pad/getnopush.c:
21340 * testsuite/pad/link.c:
21341 * testsuite/refcounting/sched.c: (create_pipeline):
21342 * testsuite/registry/Makefile.am:
21343 * testsuite/registry/gst-print-formats.c:
21344 * testsuite/schedulers/.cvsignore:
21345 * testsuite/schedulers/142183-2.c:
21346 * testsuite/schedulers/142183.c:
21347 * testsuite/schedulers/143777-2.c:
21348 * testsuite/schedulers/143777.c:
21349 * testsuite/schedulers/147713.c:
21350 * testsuite/schedulers/147819.c:
21351 * testsuite/schedulers/147894-2.c:
21352 * testsuite/schedulers/147894.c:
21353 * testsuite/schedulers/Makefile.am:
21354 * testsuite/schedulers/group_link.c:
21355 * testsuite/schedulers/queue_link.c:
21356 * testsuite/schedulers/relink.c:
21357 * testsuite/schedulers/unlink.c:
21358 * testsuite/schedulers/unref.c:
21359 * testsuite/schedulers/useless_iteration.c:
21360 * testsuite/states/bin.c:
21361 clean out/remove some stuff from the testsuite directories
21363 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21366 check for some headers
21367 * gst/elements/Makefile.am:
21368 * gst/elements/gstelements.c:
21369 don't compile fdsrc without sys/socket.h
21370 * gst/indexers/Makefile.am:
21371 * gst/indexers/gstindexers.c: (plugin_init):
21372 don't compile fileindex without mmap
21374 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21381 * check/Makefile.am:
21382 * docs/gst/Makefile.am:
21383 * examples/helloworld/Makefile.am:
21385 * gst/base/Makefile.am:
21386 * gst/check/Makefile.am:
21387 * gst/elements/Makefile.am:
21388 * gst/indexers/Makefile.am:
21389 * gst/parse/Makefile.am:
21390 * libs/gst/controller/Makefile.am:
21391 * libs/gst/dataprotocol/Makefile.am:
21392 * examples/helloworld/helloworld.c: (event_loop):
21393 compile fixes, though it's not being compiled currently
21395 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21397 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21398 Add some simple tests for the new taglist date API.
21400 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21402 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21403 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21404 Beautify 'last-message' output: print 'none' for buffer timestamps
21405 and durations if none is set; improve alignment with next messages.
21407 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21409 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21410 * gst/gstpluginfeature.h:
21411 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21412 * gst/gstregistry.h:
21413 * docs/gst/gstreamer-sections.txt:
21414 Add new API to check plugin feature version requirements.
21416 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21417 Some basic tests for the above.
21419 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21421 * gst/gststructure.c: (gst_structure_to_string):
21422 guard against NULL printf - happens when for example
21423 a message structure with GstClock gets serialized
21425 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21427 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21428 Fix presumable copy'n'pasto.
21430 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21432 * gst/elements/gstfakesrc.h:
21433 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21434 * gst/elements/gsttypefindelement.c:
21435 fix some signedness
21436 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21437 I wonder if this could actually write +2GB files before
21439 2005-10-13 Andy Wingo <wingo@pobox.com>
21441 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21442 Fix Timmeke Waymans bug.
21443 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21444 string of the proper length to gst_caps_from_string. There's a
21445 potential for, before this fix, that this could cause someone
21446 connecting over the network to cause a segfault if the payload is
21447 not NUL-terminated.
21449 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21451 * docs/design/draft-push-pull.txt:
21452 * docs/design/part-overview.txt:
21453 * docs/random/TODO-pre-0.9:
21454 * docs/random/old/ChangeLog.gstreamer:
21455 * gst/base/gstpushsrc.c:
21459 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21461 * gst/glib-compat.c: (gst_flags_get_first_value):
21462 * gst/glib-compat.h:
21463 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21464 (gst_value_compare_double), (gst_value_serialize_flags):
21465 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21468 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21471 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21473 * tools/gst-launch.c: (event_loop):
21474 print out clock nicely
21476 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21478 * docs/gst/gstreamer-sections.txt:
21479 * gst/gsttaglist.h:
21480 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21481 (gst_tag_list_get_date_index):
21482 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21483 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21485 2005-10-13 Julien MOUTTE <julien@moutte.net>
21487 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21488 (gst_collectpads_chain):
21489 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21492 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21494 * docs/gst/gstreamer-sections.txt:
21497 * tools/gst-inspect.c: (main):
21498 * tools/gst-launch.c: (main):
21499 * tools/gst-run.c: (main):
21500 * tools/gst-xmlinspect.c: (main):
21501 fix GOption context leaks
21504 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21508 * win32/common/config.h:
21510 * win32/vs6/grammar.dsp:
21511 * win32/vs6/libgstelements.dsp:
21512 * win32/vs6/libgstreamer.dsp:
21515 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21518 * gst/base/gstbasesrc.c: (gst_base_src_query):
21519 fix more guint64<->gdouble conversions
21521 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21524 add win32-update target
21525 * win32/common/gstconfig.h:
21526 * win32/common/gstenumtypes.c:
21527 * win32/common/gstenumtypes.h:
21528 * win32/common/gstversion.h:
21529 add files that visual studio can't generate
21531 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21534 add a win32-update target
21537 2005-10-12 Wim Taymans <wim@fluendo.com>
21539 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21540 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21541 * gst/gstelement.c: (gst_element_commit_state),
21542 (gst_element_set_state):
21543 Protect flags with proper lock.
21544 unref provided cached clock in dispose.
21546 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21549 * gst/gstminiobject.h:
21551 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21552 removed unused flags from miniobject
21555 2005-10-12 Wim Taymans <wim@fluendo.com>
21557 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21558 (gst_file_sink_event), (gst_file_sink_render):
21559 Flush before seeking.
21561 2005-10-12 Andy Wingo <wingo@pobox.com>
21563 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21564 always been the case.
21566 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21568 * check/gst/gstbin.c: (GST_START_TEST):
21569 * docs/gst/gstreamer-sections.txt:
21570 * gst/base/gstbasesink.c: (gst_base_sink_init):
21571 * gst/base/gstbasesrc.c: (gst_base_src_init),
21572 (gst_base_src_get_range), (gst_base_src_check_get_range),
21573 (gst_base_src_start), (gst_base_src_stop):
21574 * gst/base/gstbasesrc.h:
21575 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21576 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21577 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21581 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21583 * gst/gstelement.c: (gst_element_is_locked_state),
21584 (gst_element_set_locked_state), (gst_element_commit_state),
21585 (gst_element_set_state):
21586 * gst/gstelement.h:
21587 * gst/gstindex.c: (gst_index_init):
21589 * gst/gstminiobject.h:
21590 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21591 (gst_object_set_parent):
21593 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21594 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21596 * gst/gstpadtemplate.h:
21597 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21598 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21599 * gst/gstpipeline.h:
21600 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21601 (gst_file_index_commit):
21602 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21603 * testsuite/pad/link.c: (gst_test_src_init),
21604 (gst_test_filter_init), (gst_test_sink_init):
21605 * testsuite/states/locked.c: (main):
21606 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21607 moved bitshift from macro to enum definition
21609 2005-10-12 Wim Taymans <wim@fluendo.com>
21611 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21612 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21613 (gst_file_sink_render):
21614 Some more debugging info.
21616 2005-10-12 Wim Taymans <wim@fluendo.com>
21618 * docs/design/part-states.txt:
21619 * tools/gst-launch.c: (main):
21621 Revert non-intentional change.
21623 2005-10-12 Wim Taymans <wim@fluendo.com>
21625 * check/gst/gstbin.c: (GST_START_TEST):
21626 * check/gst/gstelement.c: (GST_START_TEST):
21627 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21628 * check/gst/gstghostpad.c: (GST_START_TEST):
21629 * check/gst/gstpipeline.c: (GST_START_TEST):
21630 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21631 * check/states/sinks.c: (GST_START_TEST):
21632 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21633 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21634 (gst_bin_remove_func), (gst_bin_get_state_func),
21635 (gst_bin_recalc_state), (gst_bin_change_state_func),
21637 * gst/gstelement.c: (gst_element_get_state_func),
21638 (gst_element_get_state), (gst_element_abort_state),
21639 (gst_element_commit_state), (gst_element_set_state),
21640 (gst_element_change_state), (gst_element_change_state_func):
21641 * gst/gstelement.h:
21642 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21643 (gst_pipeline_provide_clock_func):
21644 * gst/gstutils.c: (gst_element_link_pads_filtered):
21645 * tools/gst-launch.c: (main):
21646 * tools/gst-typefind.c: (main):
21647 Use GstClockTime in _get_state() instead of GTimeVal.
21648 Remove old code in gstutils.c
21650 2005-10-12 Andy Wingo <wingo@pobox.com>
21652 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21655 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21656 there is no task. Shouldn't affect any code, as nothing in our
21657 plugins checks this return value.
21658 (gst_pad_stop_task): Also take the stream lock if the pad has no
21659 task. Docs updated.
21661 2005-10-12 Wim Taymans <wim@fluendo.com>
21663 * gst/gstpad.c: (pre_activate), (post_activate),
21664 (gst_pad_activate_pull), (gst_pad_activate_push):
21665 Cleanup activation code. Reset old state if
21668 2005-10-12 Wim Taymans <wim@fluendo.com>
21670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21671 (gst_base_sink_change_state):
21672 No need to prerol after receiving EOS.
21674 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21675 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21676 * gst/elements/gstidentity.c: (gst_identity_event):
21677 Print events more verbosely.
21679 2005-10-12 Wim Taymans <wim@fluendo.com>
21681 * check/Makefile.am:
21682 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21683 * check/states/sinks2.c:
21684 Moved sinks2 testcode in sinks check.
21686 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21687 (gst_bin_remove_func), (gst_bin_recalc_state),
21688 (gst_bin_change_state_func), (bin_bus_handler):
21689 Fix potential race condition when _get_state() iterated over an
21690 ASYNC element right before it posted a state completion.
21693 Do proper cast here.
21695 * gst/gstevent.c: (gst_event_new_newsegment),
21696 (gst_event_parse_newsegment):
21697 A playback rate of 0.0 is not allowed.
21699 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21701 * win32/common/config.h:
21702 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21703 (_trewinddir), (_ttelldir), (_tseekdir):
21704 * win32/common/dirent.h:
21705 * win32/common/gtchar.h:
21706 * win32/common/libgstbase.def:
21707 * win32/common/libgstreamer.def:
21708 * win32/vs6/grammar.dsp:
21709 * win32/vs6/gst_inspect.dsp:
21710 * win32/vs6/gst_launch.dsp:
21711 * win32/vs6/gstreamer.dsw:
21712 * win32/vs6/libgstbase.dsp:
21713 * win32/vs6/libgstelements.dsp:
21714 * win32/vs6/libgstreamer.dsp:
21715 Visual Studio 6 project files, and a new common directory.
21718 2005-10-11 Wim Taymans <wim@fluendo.com>
21720 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21721 (gst_base_sink_do_sync), (gst_base_sink_query),
21722 (gst_base_sink_change_state):
21723 * gst/base/gstbasesink.h:
21724 Correctly parse newsegment info.
21726 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21728 * gst/gst.c: (init_post):
21729 split plugin paths correctly
21731 2005-10-11 Wim Taymans <wim@fluendo.com>
21733 * check/gst/gstevent.c: (GST_START_TEST):
21734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21735 (gst_base_sink_change_state):
21736 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21737 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21738 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21739 * gst/gstevent.c: (gst_event_new_newsegment),
21740 (gst_event_parse_newsegment):
21742 Added extra flag to newsegment for future API freeze.
21743 Updated check and base elements.
21745 2005-10-11 Julien MOUTTE <julien@moutte.net>
21747 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21748 (gst_collectpads_add_pad), (gst_collectpads_pop),
21749 (gst_collectpads_event), (gst_collectpads_chain):
21750 * gst/base/gstcollectpads.h: Handle EOS correctly.
21752 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21754 * tools/gst-launch.c: (main):
21755 more null protecting
21757 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21759 * gst/gst-i18n-lib.h:
21760 check for ENABLE_NLS, not GETTEXT_PACKAGE
21761 * gst/gstregistry.c: (gst_registry_add_plugin),
21762 (gst_registry_scan_path_level),
21763 (_gst_registry_remove_cache_plugins):
21764 protect possibly NULL strings
21765 * gst/parse/types.h:
21766 config.h already included before
21767 * tools/gst-inspect.c: (main):
21768 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21769 check for ENABLE_NLS, not GETTEXT_PACKAGE
21770 * tools/gst-launch.c: (main):
21771 check for ENABLE_NLS, not GETTEXT_PACKAGE
21773 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21776 if we don't have glib, fail before testing 2.8
21777 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21778 fix a leak, should fix plugins-base testsuite
21780 2005-10-11 Andy Wingo <wingo@pobox.com>
21782 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21783 take the mode we're going to as an arg. Go head and set the mode
21784 and flushing flags now, so that if the activate function starts a
21785 thread all the flags will be in the right state.
21786 (post_activate): Renamed also. Just handle making sure streaming
21787 finishes for the deactivation case, and setting the deactivated
21789 (gst_pad_set_active): Complain loudly if deactivation fails.
21790 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21791 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21792 remove the terrible hack.
21794 2005-10-11 Wim Taymans <wim@fluendo.com>
21796 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21797 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21798 (gst_bin_recalc_state), (gst_bin_change_state_func),
21799 (gst_bin_dispose), (bin_bus_handler):
21801 Prepare to make current EOS message queue more generic.
21804 * gst/gstevent.c: (gst_event_new_newsegment),
21805 (gst_event_parse_newsegment):
21807 Rename base to stream_time.
21809 * gst/gstmessage.h:
21812 2005-10-11 Wim Taymans <wim@fluendo.com>
21814 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21815 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21816 (gst_bin_change_state_func), (bin_bus_handler):
21818 Work on proper clock selection.
21820 2005-10-11 Edward Hervey <edward@fluendo.com>
21822 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21823 * libs/gst/controller/gstcontroller.h:
21824 Added GList* version of _remove_properties() in order to be able to wrap
21827 2005-10-11 Wim Taymans <wim@fluendo.com>
21829 * docs/design/part-states.txt:
21832 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21833 (gst_bin_change_state_func), (bin_bus_handler):
21834 Doc updates. Don't distribute the same clock over and over again.
21840 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21841 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21842 (gst_pad_send_event):
21844 Make probe emission threadsafe again.
21845 Register quarks and move _get_name() from utils.
21848 * gst/gstpipeline.c: (gst_pipeline_class_init),
21849 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21850 Only redistribute the clock of it changed.
21852 * gst/gstsystemclock.h:
21857 Moved the _flow_get_name() to GstPad.
21859 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21861 * check/gst-libs/gdp.c: (GST_START_TEST):
21862 * check/gst/gstcaps.c: (GST_START_TEST):
21863 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21864 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21865 (gst_dp_packet_from_caps):
21866 fix more valgrind warnings before turning up the heat
21868 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21870 * gst/parse/grammar.y:
21871 some cleanup before the hacking
21873 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21875 * gst/base/gstbasesrc.c: (gst_base_src_query):
21877 * gst/gstutils.c: (gst_guint64_to_gdouble),
21878 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21880 externalize, basesrc uses it
21881 obviously the implementation needs testing
21883 2005-10-10 Wim Taymans <wim@fluendo.com>
21885 * tests/sched/Makefile.am:
21886 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21887 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21889 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21891 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21892 apparently converting from guint64 to double is not implemented
21895 2005-10-10 Wim Taymans <wim@fluendo.com>
21897 * check/Makefile.am:
21898 * check/generic/states.c: (GST_START_TEST):
21899 * check/gst/gstbin.c: (GST_START_TEST):
21900 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21901 * check/states/sinks.c: (GST_START_TEST):
21902 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21904 Check fixes, use API as stated in design docs, remove hacks.
21906 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21907 (gst_base_sink_change_state):
21908 Catch stopping our task while we're shutting down.
21910 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21911 (gst_bin_remove_func), (gst_bin_get_state_func),
21912 (gst_bin_recalc_state), (gst_bin_change_state_func),
21915 * gst/gstelement.c: (gst_element_init),
21916 (gst_element_get_state_func), (gst_element_abort_state),
21917 (gst_element_commit_state), (gst_element_lost_state),
21918 (gst_element_set_state), (gst_element_change_state),
21919 (gst_element_change_state_func):
21920 * gst/gstelement.h:
21921 New state change algorithm (see #318116)
21923 * gst/gstpipeline.c: (gst_pipeline_class_init),
21924 (gst_pipeline_init), (gst_pipeline_set_property),
21925 (gst_pipeline_get_property), (do_pipeline_seek),
21926 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21927 * gst/gstpipeline.h:
21928 Remove crude state change hacks.
21931 Remove crude hacks.
21933 * tools/gst-launch.c: (main):
21934 Fixes for state change. Needs some more work to fully use the
21937 2005-10-10 Andy Wingo <wingo@pobox.com>
21939 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21941 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21942 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21945 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21947 * gst/gstiterator.c: (gst_iterator_new):
21948 Fix my previous commit: GTypes passed to gst_iterator_new()
21949 can be fundamental types.
21951 2005-10-10 Wim Taymans <wim@fluendo.com>
21953 * gst/gstelement.c: (gst_element_iterate_pad_list),
21954 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21955 (gst_element_iterate_sink_pads):
21956 Use src/sink pads lists for the respective iterators instead
21959 2005-10-10 Andy Wingo <wingo@pobox.com>
21961 Merged in popt removal + GOption addition patch from Ronald, bug
21964 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21965 GstElement macros around, remove popt-related symbols, add goption
21968 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21970 * docs/gst/Makefile.am:
21971 * docs/libs/Makefile.am: No POPT_CFLAGS.
21973 * examples/manual/Makefile.am:
21974 * docs/manual/basics-init.xml: Doc updates with an example.
21976 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21977 (gst_init), (parse_one_option), (parse_goption_arg):
21978 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21979 bit of hand merging and debugging to get the GOption stuff working
21982 * tests/Makefile.am:
21983 * tools/Makefile.am:
21984 * tools/gst-inspect.c: (main):
21985 * tools/gst-launch.c: (main):
21986 * tools/gst-run.c: (main):
21987 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21989 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21991 * gst/gstiterator.c: (gst_iterator_new):
21992 Add assertions to make sure passed GType is likely to really
21993 be a GType (as the compiler won't catch it if the size and
21994 GType arguments get mixed up, see #318447).
21996 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21998 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22000 * gst/gstbin.c: (gst_bin_iterate_sorted):
22001 Pass GType and size arguments to gst_iterator_new() in the right
22002 order (maybe we should make _new() take the GType as first argument
22003 just like _new_list()?) (#318447).
22006 2005-10-10 Wim Taymans <wim@fluendo.com>
22008 * gst/gstelement.c: (gst_element_finalize):
22009 And free the GStaticRecMutex too
22011 2005-10-10 Andy Wingo <wingo@pobox.com>
22013 * gst/gstelement.c (gst_element_init, gst_element_finalize):
22014 Allocate and free the mutex properly.
22016 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22018 (GstElement): The state_lock is now recursive. Rebuild your
22019 plugins, suckers. Old macros adapted.
22021 * docs/gst/gstreamer-sections.txt: Doc updates.
22024 * gst/gstutils.c (g_static_rec_cond_timed_wait)
22025 (g_static_rec_cond_wait): Ported from state changes patch, while
22026 we wait on bug #317802 to be solved in a well-distributed GLib.
22028 * gst/gstelement.c (gst_element_change_state_func): Renamed from
22029 gst_element_change_state, variable name changes.
22030 (gst_element_change_state): Split out of gst_element_set_state in
22031 preparation for the state change merge. Doesn't pay attention to
22032 the 'transition' argument.
22033 (gst_element_set_state): Updates, hopefully purely cosmetic.
22034 (gst_element_sync_state_with_parent): MT-safety. Ported from the
22035 state change patch.
22036 (gst_element_get_state_func): Renamed from get_state, cosmetic
22039 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22041 * gst/elements/gstelements.c:
22042 * win32/GStreamer.vcproj:
22044 * win32/dirent.c: (_tseekdir):
22045 * win32/gst-inspect.vcproj:
22046 * win32/gst-launch.vcproj:
22047 * win32/gstconfig.h:
22048 * win32/gstelements.vcproj:
22049 * win32/gstenumtypes.c: (gst_object_flags_get_type):
22050 * win32/gstreamer.def:
22051 * win32/msvc71.sln:
22052 updates for the win32 build (patch from Sebastien Moutte)
22054 2005-10-10 Andy Wingo <wingo@pobox.com>
22056 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22057 gst_bin_get_state, cleaned up (but no logic changes).
22058 (bin_element_is_sink): Comment updates.
22059 (sink_iterator_filter): Remove needless cast.
22060 (gst_bin_iterate_sinks): Doc update.
22061 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22062 cleaned up (but no logic changes).
22064 * check/states/sinks.c (test_src_sink): Cleanups from the state
22066 (test_livesrc_sink): Sync on the state.
22068 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22069 the state change patch.
22071 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22074 * check/gst/gstbin.c: Merge in some style fixes and additional
22075 checks from Wim's state change patch.
22077 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22079 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22080 (gst_type_find_helper):
22081 Check whether we have the requested data already in our list of
22082 cached buffers before pulling a new buffer; also make the buffer
22083 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22085 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22090 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22091 don't use long long, it's not portable. Replacing with
22092 gint64 seems to work; let's hope no skeletons fall out of the closet.
22094 2005-10-10 Andy Wingo <wingo@pobox.com>
22096 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22098 2005-10-09 Stefan Kost <ensonic@users.sf.net>
22100 * docs/gst/gstreamer-sections.txt:
22105 * gst/gstmessage.c: (gst_message_parse_state_changed):
22108 more docs, fix compilation
22110 2005-10-09 Philippe Khalaf <burger@speedy.org>
22111 * gst/gstmessage.c:
22112 Fixed a few forgotten variables on previous commit
22114 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
22116 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22117 Fix evil typefind crasher: getrange() might return a short
22118 buffer at the end of a file, but gst_type_find_peek() must
22119 either return the full data as requested or NULL, but
22120 never a short buffer.
22122 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
22124 * gst/gstmessage.c: (gst_message_new_state_changed),
22125 (gst_message_parse_state_changed):
22126 * gst/gstmessage.h:
22127 don't use "new", it's a C++ keyword
22129 2005-10-08 Wim Taymans <wim@fluendo.com>
22131 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22132 * gst/gstelement.c: (gst_element_post_message):
22133 * gst/gstpipeline.c: (gst_pipeline_change_state):
22134 Small docs and debug updates.
22136 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22138 * docs/gst/gstreamer-sections.txt:
22139 * gst/gstelementfactory.c:
22141 * gst/gsttaglist.c:
22144 2005-10-08 Wim Taymans <wim@fluendo.com>
22146 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22147 (gst_bin_dispose), (bin_bus_handler):
22148 Fix typos, add comments.
22149 Clear EOS list when going to PAUSED from any direction and do it
22150 in a threadsafe way.
22151 Get base time in a threadsafe way too.
22152 Fix confusing debug in the change_state function.
22153 Various other small cleanups.
22155 * gst/gstelement.c: (gst_element_post_message):
22156 Fix very verbose bus posting code.
22158 * gst/gstpipeline.c: (gst_pipeline_class_init),
22159 (gst_pipeline_set_property), (gst_pipeline_get_property),
22160 (gst_pipeline_change_state):
22161 Small ARG_ -> PROP_ cleanup
22163 2005-10-08 Wim Taymans <wim@fluendo.com>
22165 * gst/gstbin.c: (is_eos), (bin_bus_handler):
22166 Do a less CPU demanding EOS check because we can.
22168 2005-10-08 Wim Taymans <wim@fluendo.com>
22170 * libs/gst/dataprotocol/dataprotocol.c:
22171 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22172 (gst_dp_packet_from_event):
22173 * libs/gst/dataprotocol/dataprotocol.h:
22174 * libs/gst/dataprotocol/dp-private.h:
22175 It's about time we bump the version number.
22176 Since event types don't fit in the guint8 anymore describing
22177 the payload type, make payload type 16 bits wide.
22179 2005-10-08 Wim Taymans <wim@fluendo.com>
22181 * docs/design/part-TODO.txt:
22182 * docs/design/part-clocks.txt:
22183 * docs/design/part-events.txt:
22184 * docs/design/part-gstbin.txt:
22185 * docs/design/part-gstelement.txt:
22186 * docs/design/part-gstpipeline.txt:
22187 * docs/design/part-live-source.txt:
22188 * docs/design/part-messages.txt:
22189 * docs/design/part-overview.txt:
22190 * docs/design/part-states.txt:
22193 2005-10-08 Wim Taymans <wim@fluendo.com>
22197 Fix event quark registration.
22198 Add some space between events so we can insert them in the
22201 2005-10-08 Wim Taymans <wim@fluendo.com>
22203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22204 (gst_base_sink_handle_buffer):
22205 Better log message.
22208 * gst/gstelement.h:
22211 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22212 (gst_queue_set_property), (gst_queue_get_property):
22214 Remove old unused properties.
22216 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22217 * docs/gst/gstreamer-sections.txt:
22218 * gst/gstmessage.c:
22219 * gst/gstmessage.h:
22220 * gst/gstminiobject.c:
22221 * gst/gstminiobject.h:
22225 lots of new docs and doc fixes
22227 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22229 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22231 * gst/gstregistry.c: (gst_registry_lookup_locked),
22232 (gst_registry_scan_path_level):
22233 * gst/gstregistryxml.c: (load_plugin):
22234 Only ever load one plugin for a given plugin basename.
22235 This ensures correct overriding of GST_PLUGIN_PATH over
22236 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22237 system installed plugins.
22239 2005-10-08 Wim Taymans <wim@fluendo.com>
22241 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22242 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22243 Prepare for doing QOS.
22245 2005-10-08 Wim Taymans <wim@fluendo.com>
22247 * check/gst/gstbin.c: (GST_START_TEST):
22248 * check/pipelines/cleanup.c: (GST_START_TEST):
22249 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22250 Allow new clock message too.
22252 2005-10-08 Wim Taymans <wim@fluendo.com>
22254 * gst/gstmessage.c: (gst_message_new_error),
22255 (gst_message_new_warning), (gst_message_new_tag),
22256 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22257 (gst_message_new_clock_lost), (gst_message_new_new_clock),
22258 (gst_message_new_segment_start), (gst_message_new_segment_done),
22259 (gst_message_parse_state_changed),
22260 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22261 (gst_message_parse_new_clock):
22262 * gst/gstmessage.h:
22263 Also carry the clock in question.
22265 2005-10-08 Wim Taymans <wim@fluendo.com>
22267 * gst/gstmessage.c: (gst_message_new_custom),
22268 (gst_message_new_eos), (gst_message_new_error),
22269 (gst_message_new_warning), (gst_message_new_tag),
22270 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22271 (gst_message_new_new_clock), (gst_message_new_segment_start),
22272 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22273 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22274 * gst/gstmessage.h:
22276 Added clock related messages.
22278 * gst/gstpipeline.c: (gst_pipeline_change_state):
22279 Post message when the clock changed.
22281 * tools/gst-launch.c: (event_loop):
22284 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22286 * tools/gst-inspect.c: (print_element_properties_info):
22287 Can't pass NULL strings to g_print() on windows.
22289 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22291 * docs/Makefile.am:
22292 * docs/gst/Makefile.am:
22293 * docs/gst/gstreamer-docs.sgml:
22294 * docs/gst/running.xml:
22295 * docs/version.entities.in:
22296 add a chapter on running GStreamer.
22297 document GST_DEBUG and GST_PLUGIN* env vars
22299 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22304 remove PLUGINS_BUILDDIR stuff
22305 * gst/gst.c: (init_post):
22306 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22308 remove, it was condescending and not needed
22310 2005-10-08 Wim Taymans <wim@fluendo.com>
22312 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22313 (gst_base_sink_handle_object), (gst_base_sink_event),
22314 (gst_base_sink_wait), (gst_base_sink_handle_event),
22315 (gst_base_sink_change_state):
22316 * gst/base/gstbasesink.h:
22317 Repost EOS message while going to PLAYING if still EOS.
22318 Make sure that when receiving a FLUSH_START we don't attempt
22319 to sync on the clock anymore.
22321 2005-10-08 Wim Taymans <wim@fluendo.com>
22323 * tools/gst-launch.c: (event_loop):
22324 Better message printout.
22326 2005-10-08 Wim Taymans <wim@fluendo.com>
22328 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22329 (gst_bin_child_proxy_get_children_count):
22330 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22331 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22332 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22333 (gst_child_proxy_set_valist):
22334 * gst/parse/grammar.y:
22335 Make ChildProxy threadsafe and fix mem leaks.
22337 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22339 * gst/gst.c: (init_post):
22340 debug the GST_PLUGIN_ env vars
22342 2005-10-08 Wim Taymans <wim@fluendo.com>
22344 * check/gst/gstbin.c: (GST_START_TEST):
22345 * check/gst/gstmessage.c: (GST_START_TEST):
22346 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22347 * gst/gstelement.c: (gst_element_commit_state),
22348 (gst_element_lost_state):
22349 * gst/gstmessage.c: (gst_message_new_state_changed),
22350 (gst_message_parse_state_changed):
22351 * gst/gstmessage.h:
22352 * tools/gst-launch.c: (event_loop):
22353 Added extra field to STATE_CHANGE message with the pending
22354 state, which will be different from the new state soon.
22356 2005-10-08 Wim Taymans <wim@fluendo.com>
22358 * gst/gstbus.c: (gst_bus_pop):
22360 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22361 Small cleanups and doc updates.
22363 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22365 * gst/gst.c: (init_pre):
22366 * gst/gstbin.c: (gst_bin_add_func):
22367 log distributing clocks and base time
22368 * gst/gstregistry.c: (gst_registry_add_plugin),
22369 (gst_registry_scan_path_level), (gst_registry_scan_path):
22370 clean up the debugging output a little
22371 * gst/gstutils.c: (gst_element_state_get_name):
22372 warn about a memleak (I've actually seen this be used, though
22373 it was probably a bug)
22375 2005-10-07 Wim Taymans <wim@fluendo.com>
22377 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22378 (gst_base_src_init), (gst_base_src_default_newsegment),
22379 (gst_base_src_newsegment), (gst_base_src_do_seek),
22380 (gst_base_src_loop), (gst_base_src_start):
22381 * gst/base/gstbasesrc.h:
22382 Make the newsegment event customizable by subclasses.
22384 2005-10-07 Wim Taymans <wim@fluendo.com>
22386 * gst/gstevent.c: (gst_event_new_buffersize),
22387 (gst_event_parse_buffersize):
22389 New event for future idea.
22391 2005-10-07 Andy Wingo <wingo@pobox.com>
22393 * gst/gstelement.c (gst_element_post_message): Doc update.
22395 * docs/gst/gstreamer-sections.txt: Update.
22397 * gst/gstmessage.c (gst_message_new_application): Made into a
22398 function like honest API calls.
22399 (gst_message_new_element): New message type.
22401 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22403 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22404 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22407 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22408 NO_PREROLL from gst_element_change_state to fall through.
22410 2005-10-07 Wim Taymans <wim@fluendo.com>
22412 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22413 (gst_ghost_pad_do_activate_push):
22414 Activating a ghostpad with no internal pad in push mode
22417 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22420 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22421 Fixes compilation on Windows.
22423 2005-10-07 Michael Smith <msmith@fluendo.com>
22425 * tools/gst-inspect.c:
22426 Print out feature and plugin count at the end when printing out
22429 2005-10-04 Michael Smith <msmith@fluendo.com>
22431 * gst/gsterror.c: (_gst_stream_errors_init):
22432 Add another error string used in a few existing plugins.
22435 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22436 * tools/gst-inspect.c: (print_element_info):
22437 When a feature disappears from a plugin (and the feature exists in
22438 the cached registry file), things went horribly wrong. This isn't a
22439 complete fix, we should actually be removing the 'missing' features
22440 from the features list when we load the actual plugin. That's not
22443 2005-10-04 Johan Dahlin <johan@gnome.org>
22445 * check/gst/gstiterator.c: (GST_START_TEST):
22446 * gst/gstbin.c: (gst_bin_iterate_elements),
22447 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22448 * gst/gstelement.c: (gst_element_iterate_pads):
22449 * gst/gstformat.c: (gst_format_iterate_definitions):
22450 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22451 (gst_iterator_new_list), (gst_iterator_filter):
22452 * gst/gstiterator.h:
22453 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22454 Add a GType to GstIterator, update callsites and tests.
22456 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22458 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22459 give events a chance to be handled by event probes when the pad
22462 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22464 * gst/gstevent.c: (gst_event_type_get_name),
22465 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22467 add string representations for event types
22469 2005-10-06 Wim Taymans <wim@fluendo.com>
22471 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22472 Don't use NULL pointers.
22474 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22476 * gst/gst_private.h:
22478 * gst/gstelement.c:
22480 * gst/gstpluginfeature.c:
22481 widen the debug category in output to fit the biggest one we have
22482 add a bus category and use it
22483 play with the colors
22484 fix up some categories
22486 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22488 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22489 add push activation of sink ghost pads.
22490 Andye, please verify
22492 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22494 * gst/gstutils.c: (gst_element_link_pads):
22495 fix a bug in the case where neither element has a pad
22496 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22497 add a test for that case
22499 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22501 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22502 emit have-data before checking for peers. This allows
22503 for probe handlers to connect elements. This helps autopluggers.
22504 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22506 add six checks, linked/unlinked with no/true/false probe
22508 2005-10-04 Wim Taymans <wim@fluendo.com>
22510 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22511 (gst_fake_sink_event), (gst_fake_sink_preroll),
22512 (gst_fake_sink_render), (gst_fake_sink_change_state):
22513 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22514 (gst_fake_src_get_property), (gst_fake_src_create),
22515 (gst_fake_src_stop):
22516 * gst/elements/gstidentity.c: (gst_identity_stop):
22517 Protect last_message with lock.
22519 2005-10-04 Edward Hervey <edward@fluendo.com>
22522 Added precision in the comments for GST_FORMAT_DEFAULT
22524 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22526 * tools/gst-launch.c: (main):
22527 Don't try to run erroneous pipelines.
22529 2005-10-04 Julien MOUTTE <julien@moutte.net>
22531 * gst/gstbus.c: We don't need this header.
22533 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22536 back to development
22538 === release 0.9.3 ===
22540 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22544 Releasing 0.9.3, "Unregistered"
22546 2005-10-03 Andy Wingo <wingo@pobox.com>
22548 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22549 whereby calling a pad's activatepush() function can start a thread
22550 that starts to push or pull before the pad gets the FLUSHING flag
22551 unset. Hack around it by holding the stream lock until the flag is
22552 set. Need to replace this with a proper solution. Together with
22553 the ghost pad fixes, this fixes mp3 playing/tagreading.
22555 * docs/design/part-gstghostpad.txt: Add a note about activation of
22556 proxy pads outside of ghost pads.
22558 * gst/gstghostpad.c: Implement the ghost pad activation design.
22560 2005-10-02 Andy Wingo <wingo@pobox.com>
22562 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22563 It is volatile, after all.
22565 * docs/design/part-gstghostpad.txt: Flesh out activation with
22568 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22571 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22574 Fix (unused) AM_CONDITIONAL tests.
22576 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22578 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22580 * gst/gstutils.c: (gst_pad_query_convert):
22581 Add assertion that makes sure src_val is >=0, just like
22582 gst_query_new_convert() has. (#315895)
22584 2005-09-30 Edward Hervey <edward@fluendo.com>
22586 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22587 Let's not iterate pads we're not interested in, it avoids getting
22588 sky-high refcounts on sinkpad.
22590 2005-09-30 Wim Taymans <wim@fluendo.com>
22592 * gst/gstelement.c: (gst_element_set_state),
22593 (gst_element_change_state):
22594 Small tweak, element in ASYNC remains ASYNC.
22596 2005-09-30 Wim Taymans <wim@fluendo.com>
22598 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22599 Only error is an error.
22601 * gst/gstbin.c: (gst_bin_change_state):
22604 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22605 Also call pad_block in pad alloc.
22607 * gst/gstutils.c: (gst_flow_get_name):
22610 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22612 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22613 (gst_base_src_get_range):
22614 Fix documentation typos. Add some more debug info.
22616 2005-09-29 David Schleef <ds@schleef.org>
22618 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22619 more end-user friendly.
22620 * tools/gst-inspect.c: (main): Check if command-line argument is
22621 a file and attempt to load that file as a plugin.
22623 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22625 * check/gst/gstbin.c:
22626 * check/states/sinks.c:
22627 fix tests for the new warning
22628 * check/gst/gstpipeline.c:
22629 add a test for pipeline and bus interaction
22630 * gst/gstelement.c:
22631 elements should be NULL if they get disposed; add a warning if not
22633 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22636 for 2.6 refcounting, make debug log more correct by printing
22637 the actual refcounts at the time of swap (Wim)
22639 2005-09-29 Andy Wingo <wingo@pobox.com>
22641 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22642 removes signal watches previously added via
22643 gst_bus_add_signal_watch.
22644 (gst_bus_add_signal_watch): Don't return the source id, just store
22645 it on the bus if there wasn't an id already.
22647 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22648 add_signal_watch and remove_signal_watch.
22650 2005-09-29 Edward Hervey <edward@fluendo.com>
22652 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22653 Better if we actually iterate the list :)
22655 2005-09-29 Wim Taymans <wim@fluendo.com>
22657 * check/gst/gstbin.c: (GST_START_TEST):
22658 Change for new bus API.
22660 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22661 (send_messages), (GST_START_TEST), (gstbus_suite):
22662 Change for new bus signal API.
22664 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22665 (gst_bus_source_prepare), (gst_bus_source_check),
22666 (gst_bus_create_watch), (gst_bus_add_watch_full),
22667 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22668 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22670 Remove support for multiple GSources operating on different
22671 message types as it is too complex and unneeded when using
22673 Added support for receiving signals from the bus.
22675 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22677 * docs/libs/tmpl/gstdataprotocol.sgml:
22678 * docs/manual/advanced-dataaccess.xml:
22679 * gst/elements/gstcapsfilter.c:
22681 rename filter-caps to caps property
22683 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22685 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22686 More robust fraction string parsing.
22688 * docs/pwg/appendix-porting.xml:
22689 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22691 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22693 * gst/gstcaps.c: (gst_caps_do_simplify):
22694 Thou shalt not free a structure and then continue using it
22695 in the next loop iteration.
22697 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22699 Add test case for caps simplification.
22701 2005-09-29 Wim Taymans <wim@fluendo.com>
22703 * check/gst/gstbin.c: (GST_START_TEST):
22706 2005-09-29 Wim Taymans <wim@fluendo.com>
22708 * check/gst/gstbin.c: (GST_START_TEST):
22711 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22712 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22713 (find_element), (gst_bin_sort_iterator_next),
22714 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22715 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22716 (gst_bin_change_state), (gst_bin_dispose):
22717 A bin does not have a bus, it gets the bus from the parent.
22719 * gst/gstelement.c: (gst_element_requires_clock),
22720 (gst_element_provides_clock), (gst_element_is_indexable),
22721 (gst_element_is_locked_state), (gst_element_change_state),
22722 (gst_element_set_bus_func):
22725 * gst/gstpipeline.c: (gst_pipeline_class_init),
22726 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22727 The pipeline provides a bus.
22729 2005-09-28 Johan Dahlin <johan@gnome.org>
22731 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22732 gst_structure_get_enum instead of gst_structure_get_int
22734 * gst/gststructure.c (gst_structure_get_enum): Impl.
22736 * gst/gststructure.h (gst_structure_get_enum): Add
22738 * docs/gst/gstreamer-sections.txt: Ditto
22740 * gst/gstmessage.c (gst_message_new_state_changed): Use
22741 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22742 which does introspection.
22743 Reviewed by Christian Schaller
22745 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22747 * gst/gstinfo.c: (gst_debug_log_default):
22748 don't do dummy g_strdup()s
22749 * libs/gst/controller/gstcontroller.c:
22750 (on_object_controlled_property_changed),
22751 (gst_controlled_property_new), (gst_controller_new_valist),
22752 (gst_controller_new_list),
22753 (gst_controller_remove_properties_valist), (gst_controller_set),
22754 (gst_controller_get), (gst_controller_sync_values),
22755 (gst_controller_get_value_array), (_gst_controller_class_init),
22756 (gst_controller_get_type):
22757 * libs/gst/controller/gstcontroller.h:
22758 * libs/gst/controller/gstinterpolation.c:
22759 (gst_controlled_property_find_timed_value_node):
22760 convert // to /**/ comments
22762 2005-09-28 Wim Taymans <wim@fluendo.com>
22764 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22765 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22766 (gst_bus_sync_signal_handler):
22768 Added async-message and sync-message signals to the bus.
22769 Added helper BusFunc to emit signals for all posted messages.
22771 * gst/gstmessage.c: (gst_message_type_get_name),
22772 (gst_message_type_to_quark), (gst_message_get_type):
22773 * gst/gstmessage.h:
22774 Register quarks for message names.
22776 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22778 * docs/libs/gstreamer-libs-sections.txt:
22779 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22780 (gst_controller_new_list):
22781 * libs/gst/controller/gstcontroller.h:
22782 added another constructor for language bindings
22784 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22786 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22790 * gst/gstinfo.c: (_gst_debug_init):
22791 slightly more readable color for refcount debugging
22793 2005-09-28 Wim Taymans <wim@fluendo.com>
22795 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22796 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22797 (find_element), (gst_bin_sort_iterator_next),
22798 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22799 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22800 (gst_bin_change_state), (gst_bin_dispose):
22801 Small doc fixes. get_clock -> provide_clock.
22803 * gst/gstelement.c: (gst_element_class_init),
22804 (gst_element_provides_clock), (gst_element_provide_clock),
22805 (gst_element_get_clock), (gst_element_commit_state),
22806 (gst_element_lost_state):
22807 * gst/gstelement.h:
22808 Make get/set_clock() symetric. Add provide_clock vmethod since
22809 that is actually what this function does.
22811 * gst/gstpipeline.c: (gst_pipeline_class_init),
22812 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22813 (gst_pipeline_get_clock):
22814 get_clock -> provide_clock.
22816 2005-09-28 Andy Wingo <wingo@pobox.com>
22818 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22819 lieu of real docs...
22821 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22823 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22825 * gst/elements/gstcapsfilter.c:
22826 * gst/elements/gstfakesink.c:
22827 * gst/elements/gstfakesrc.c:
22828 * gst/elements/gstfdsink.c:
22829 * gst/elements/gstfdsrc.c:
22830 * gst/elements/gstfilesink.c:
22831 * gst/elements/gstfilesrc.c:
22832 * gst/elements/gstidentity.c:
22833 * gst/elements/gsttee.c:
22834 * gst/elements/gsttypefindelement.c:
22835 Make element details static.
22837 2005-09-28 Wim Taymans <wim@fluendo.com>
22839 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22840 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22841 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22842 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22843 (gst_bin_change_state), (gst_bin_dispose):
22844 Some documentation updates.
22845 Clean up dispose handlers.
22847 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22848 * gst/gstpad.c: (gst_pad_dispose):
22849 Clean up dispose handler.
22851 * gst/gstpipeline.c: (gst_pipeline_change_state):
22852 Removed spurious UNLOCK.
22854 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22856 * docs/gst/gstreamer-sections.txt:
22857 * gst/base/gstbasesrc.h:
22858 * gst/gstelement.h:
22862 * gst/gstpipeline.c:
22863 * gst/gstpipeline.h:
22866 added two new functions to the docs
22867 documents all undocumented GstXXXFlags
22868 completed some incomplete docs
22870 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22872 * gst/gstbin.c: (gst_bin_dispose):
22873 * gst/gstelement.c: (gst_element_dispose):
22874 remove now useless and leaky resurrection code in dispose
22875 * gst/base/gstbasesrc.c: (gst_base_src_init):
22876 * gst/gstelementfactory.c: (gst_element_factory_create):
22877 * gst/gstobject.c: (gst_object_set_parent):
22880 2005-09-27 Wim Taymans <wim@fluendo.com>
22882 * docs/design/part-TODO.txt:
22885 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22886 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22887 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22888 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22889 (gst_bin_change_state):
22890 * gst/gstelement.h:
22891 Remove element variable, we keep element info in the iterator now.
22893 2005-09-27 Andy Wingo <wingo@pobox.com>
22895 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22898 2005-09-27 Wim Taymans <wim@fluendo.com>
22900 * check/gst/gstbin.c: (GST_START_TEST):
22901 Enable check that works now.
22903 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22904 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22905 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22906 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22907 (gst_bin_change_state):
22909 Redid the state change algorithm using a topological sort algo.
22910 Handles all cases correctly.
22911 Exposed iterator for state change order.
22913 * gst/gstelement.h:
22914 Temp storage for state changes. Need to get rid of this soon.
22916 2005-09-27 Wim Taymans <wim@fluendo.com>
22918 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22919 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22920 (link_fold_func), (gst_pad_proxy_setcaps):
22921 Leak fixes, the fold functions need to unref the passed object and
22922 _get_parent_*() returns ref to parent.
22924 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22926 * check/gst/gstbuffer.c: (test_make_writable):
22927 Plug leak in test case and fix 'make check-valgrind'
22929 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22931 * gst/gstbuffer.c: (gst_subbuffer_init):
22932 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22933 works correctly in all circumstances (we could have just copied
22934 the parent buffer's readonly flag, but conceptually it seems
22935 cleaner to mark all subbuffers as read-only). (based on patch
22936 by Alessandro Decina, #314710).
22938 * check/gst/gstbuffer.c: (create_read_only_buffer),
22939 (test_make_writable), (test_subbuffer_make_writable),
22941 Add some tests for gst_buffer_make_writable().
22943 2005-09-27 Wim Taymans <wim@fluendo.com>
22945 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22946 use gst_object_has_ancestor().
22948 * gst/gstobject.c: (gst_object_has_ancestor):
22950 gst_object_has_ancestor() copied from gstbin.c as it is a
22953 * tests/instantiate/create.c: (create_all_elements):
22954 * tests/lat.c: (handoff_src), (handoff_sink):
22955 * tests/sched/runxml.c: (main):
22956 * tests/seeking/seeking1.c: (main):
22957 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22959 Fix compilation of some tests.
22961 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22964 Remove comment. GST_TYPE_G_ERROR is here to stay,
22965 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22966 (#316961, #300610).
22968 2005-09-26 Wim Taymans <wim@fluendo.com>
22970 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22971 Added check that shows error in state change order.
22973 2005-09-26 Wim Taymans <wim@fluendo.com>
22975 * gst/gstbin.c: (gst_bin_change_state):
22976 Make state change function use 3 queues again, we were
22977 adding elements in the wrong order.
22979 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22982 * gst/gstpad.c: (gst_pad_dispose):
22983 Added some debug info first.
22985 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22987 * docs/design/draft-push-pull.txt:
22988 * docs/design/part-events.txt:
22989 * docs/design/part-overview.txt:
22990 * docs/design/part-scheduling.txt:
22991 Replace all _pull_region() with _pull_range()
22993 2005-09-26 Andy Wingo <wingo@pobox.com>
22995 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22997 * check/gst-libs/controller.c: Update for controller api change.
23000 * tests/Makefile.am:
23001 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23002 over by GLib bug 118439.
23004 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23005 routines to a function.
23007 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23009 * libs/gst/controller/gsthelper.c:
23010 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23011 (gst_object_sync_values): Renamed from sink_values. Ugh.
23013 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23015 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23016 Renamed from controller_key, as it is exported.
23018 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23020 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * gst/gstpadtemplate.h:
23028 * gst/gstqueryutils.c:
23029 * gst/gstqueryutils.h:
23030 remove queryutils headers after moving the two used functions
23031 to gstquery. also fixes build problem for gstsiddec
23033 2005-09-26 Michael Smith <msmith@fluendo.com>
23035 * tools/gst-launch.1.in:
23036 Correct documentation in manpage of debug syntax
23038 2005-09-26 Wim Taymans <wim@fluendo.com>
23040 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23041 (gst_base_src_is_seekable), (gst_base_src_change_state):
23042 Some more debugging info.
23044 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23046 * docs/gst/gstreamer-sections.txt:
23047 * gst/base/gstbasetransform.h:
23051 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23053 * docs/gst/.cvsignore:
23054 * docs/gst/tmpl/.cvsignore:
23055 * docs/gst/tmpl/gstpipeline.sgml:
23056 * docs/gst/tmpl/gstplugin.sgml:
23057 * gst/gstpipeline.c:
23060 inlined the last two docs files
23061 removed the tmpl directory from cvs (no more conflicts here!)
23063 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23065 * docs/gst/gstreamer-sections.txt:
23066 * docs/gst/tmpl/.cvsignore:
23067 * docs/gst/tmpl/gstpad.sgml:
23068 * docs/gst/tmpl/gstpadtemplate.sgml:
23070 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23071 (gst_pad_finalize), (gst_pad_set_pad_template):
23073 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23074 (gst_pad_template_class_init), (gst_pad_template_init),
23075 (gst_pad_template_dispose), (name_is_valid),
23076 (gst_static_pad_template_get), (gst_pad_template_new),
23077 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23078 (gst_pad_template_pad_created):
23079 * gst/gstpadtemplate.h:
23080 inlined two more docs
23081 factored gstpadtemplate out of gstpad
23083 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
23085 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23086 (test_children_state_change_order_semi_sink):
23087 Fix test case: we can't rely on a fixed state change order when
23088 going from READY => PAUSED because the sink might commit its
23089 new state first when the first buffer created by the source
23090 reaches the sink before the source has finished its change state.
23091 (Test case still fails at times, see #316856, comment 5 onwards)
23093 2005-09-24 Wim Taymans <wim@fluendo.com>
23095 * docs/design/part-events.txt:
23096 * docs/design/part-gstbus.txt:
23097 * docs/design/part-gstpipeline.txt:
23098 * docs/design/part-messages.txt:
23099 * docs/design/part-overview.txt:
23100 * docs/design/part-segments.txt:
23104 * gst/gstelement.c:
23107 * gst/gstiterator.c:
23108 Various documentation updates.
23110 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
23113 Well, that's embarassing. Luckily we weren't using
23114 GST_CLOCK_DIFF anywhere.
23116 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23118 * common/gtk-doc.mak:
23119 don't fail on building XML, FC4 slave shows a bunch of doc
23120 missing bits that I don't get
23122 * gst/gstpipeline.c:
23123 * gst/gststructure.c:
23126 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23128 * docs/design/part-gstbin.txt:
23129 * docs/design/part-gstbus.txt:
23131 Add blurb about how the bus goes into flushing mode and
23132 drops all messages when its bin goes from READY into NULL
23135 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23137 * docs/gst/gstreamer-sections.txt:
23138 * gst/gststructure.c: (gst_structure_get_clock_time):
23139 * gst/gststructure.h:
23140 add a method to get a GstClockTime out of a structure
23142 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23144 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23145 (test_children_state_change_order_semi_sink), (gst_bin_suite):
23146 Added test to check state change order in bins (can still be made
23147 to fail here under heavy disk load; bails out with 'Push on pad
23148 fakesink:sink0, but it was not activated in push mode').
23150 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23151 Fix state change order when there is only a semi sink (#316856)
23153 * gst/gstbus.c: (gst_bus_class_init):
23154 Use _class_peek_parent(), not _class_ref(); fix docs to say
23155 'default main context' instead of 'mainloop' where that is
23158 * gst/gstelement.c: (gst_element_commit_state),
23159 (gst_element_set_state):
23160 Fix typos in debug messages
23162 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23165 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23166 * gst/gstpluginfeature.c:
23168 various doc updates
23169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23170 change an assert into an error until it gets fixed properly
23172 2005-09-23 Stefan Kost <ensonic@users.sf.net>
23174 * docs/gst/gstreamer-sections.txt:
23175 * docs/gst/tmpl/.cvsignore:
23176 * docs/gst/tmpl/gstelement.sgml:
23177 * docs/gst/tmpl/gstinfo.sgml:
23178 * docs/gst/tmpl/gstobject.sgml:
23179 * gst/gstelement.c:
23180 * gst/gstelement.h:
23183 * gst/gstobject.c: (gst_object_class_init):
23185 inlined 3 more biiiig doc files and added some missing docs on the fly
23187 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23189 * check/gst/.cvsignore:
23190 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23191 * gst/gstregistryxml.c: (load_plugin),
23192 (gst_registry_xml_save_plugin):
23193 put back source in registry. add checks for find_plugin.
23194 * testsuite/states/bin.c: (assert_state), (empty_bin),
23195 (test_adding_one_element), (main):
23196 * testsuite/states/locked.c: (main):
23197 some compile/run fixes
23199 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
23201 * check/gst/gstvalue.c: (GST_START_TEST):
23202 fix leaks in the test itself
23204 2005-09-22 Wim Taymans <wim@fluendo.com>
23206 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23207 (gst_base_sink_send_event), (gst_base_sink_peer_query),
23208 (gst_base_sink_query):
23209 Prepare for more accurate position reporting and query
23212 * gst/gstelement.c: (gst_element_send_event),
23213 (gst_element_set_state):
23216 2005-09-22 Wim Taymans <wim@fluendo.com>
23218 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23219 (gst_query_parse_segment):
23221 More documentation.
23222 Add segment query for future use.
23224 2005-09-22 Wim Taymans <wim@fluendo.com>
23226 * gst/gstbin.c: (gst_bin_add_func):
23227 Some more debug info.
23229 * gst/gstelement.c: (gst_element_send_event):
23230 Simplify send_event
23232 * gst/gstelement.h:
23233 Don't know how flags got broken.
23238 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23240 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23241 Add simplistic test suite for GST_TYPE_DATE serialisation and
23244 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23246 * docs/gst/gstreamer-sections.txt:
23247 * gst/gststructure.c: (gst_structure_set_valist),
23248 (gst_structure_get_date):
23249 * gst/gststructure.h:
23250 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23251 (gst_date_copy), (gst_value_compare_date),
23252 (gst_value_serialize_date), (gst_value_deserialize_date),
23253 (gst_value_transform_date_string),
23254 (gst_value_transform_string_date), (_gst_value_initialize):
23256 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23257 bunch of utility functions along with a hack that checks that
23258 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23259 is required. Part of the grand scheme in #170777.
23261 2005-09-22 Andy Wingo <wingo@pobox.com>
23263 * gst/gstconfig.h.in: Psych out gtk-doc.
23265 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23267 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23269 * tools/gst-inspect.c (print_element_list): Plug some
23270 inconsequential leaks.
23272 * gst/gstregistry.c (gst_registry_get_default): Doc.
23274 * check/gst/gstplugin.c:
23275 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23276 * gst/gstelementfactory.c (gst_element_factory_create):
23277 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23280 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23281 (gst_plugin_feature_load): Doc, don't eat refs.
23283 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23284 (gst_plugin_list_free): Doc.
23285 (gst_plugin_load_file): Doc updates.
23287 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23288 accessors returning refcounted objects, return a ref.
23290 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23291 accessor for caps. IDEMPOTENCE. Oh yes.
23293 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23295 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23297 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23298 (_gst_debug_register_funcptr):
23299 Add mutex to serialise access to the hash table with
23300 the function pointer => function name string mapping;
23301 make that hash table static scope (#316809).
23303 * gst/registries/.cvsignore:
23304 Remove left-over file.
23306 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23308 * docs/pwg/appendix-porting.xml:
23309 And something about newsegment events and caps-on-buffers to
23310 the porting guide (feel free to improve).
23312 2005-09-21 Andy Wingo <wingo@pobox.com>
23314 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23315 data and event probes on the same pad.
23316 (test_buffer_probe_once): Test that removing probes from within
23317 the probe functions works.
23319 2005-09-21 Andy Wingo <wingo@pobox.com>
23321 * check/gst/gstutils.c: New file.
23322 (test_buffer_probe_n_times): A simple buffer probe test. More to
23325 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23326 have-data::buffer, not have-data.
23327 (gst_pad_add_event_probe): Likewise for have-data::event.
23328 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23329 peer' isn't quite right yet though.
23330 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23331 (gst_pad_remove_data_probe): Change to take the guint handler_id
23332 as their arg, not the function+data, which is more glib-like.
23334 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23335 the signal emission to indicate if the data is a buffer or an
23337 (gst_pad_get_type): Initialize buffer and event quarks.
23338 (gst_pad_class_init): have-data is now a detailed signal, yes it
23341 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23343 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23344 * gst/gstutils.c: (gst_util_set_value_from_string),
23345 (gst_util_set_object_arg):
23346 Don't put functional code in g_return_if_fail() or
23347 g_return_val_if_fail() statements, otherwise things will
23348 break when G_DISABLE_CHECKS is defined during compilation.
23350 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23352 * docs/gst/tmpl/.cvsignore:
23353 * docs/gst/tmpl/gstvalue.sgml:
23356 inlied another one and added some obvious docs
23358 2005-09-21 Wim Taymans <wim@fluendo.com>
23360 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23361 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23362 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23363 (gst_fdsrc_get_property), (gst_fdsrc_create):
23364 * gst/elements/gstfdsrc.h:
23365 Properly implement fdsrc. Removed signal and timeout,
23366 better implemented somewhere else.
23368 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23370 * docs/gst/tmpl/.cvsignore:
23371 * docs/gst/tmpl/gstimplementsinterface.sgml:
23372 * gst/gstinterface.c:
23375 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23377 * docs/gst/gstreamer-sections.txt:
23378 * docs/gst/tmpl/.cvsignore:
23379 * docs/gst/tmpl/gstenumtypes.sgml:
23380 remove obsolete doc file
23382 2005-09-21 David Schleef <ds@schleef.org>
23384 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23385 little beer, fix a little leak.
23387 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23389 * docs/gst/gstreamer-docs.sgml:
23390 * docs/gst/gstreamer-sections.txt:
23391 * docs/gst/tmpl/.cvsignore:
23395 * gst/gstelement.h:
23396 * gst/gstindex.c: (gst_index_class_init):
23398 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23399 (gst_index_factory_class_init), (gst_index_factory_init),
23400 (gst_index_factory_finalize), (gst_index_factory_new),
23401 (gst_index_factory_destroy), (gst_index_factory_find),
23402 (gst_index_factory_create), (gst_index_factory_make):
23403 * gst/gstindexfactory.h:
23404 * gst/gstpluginfeature.c:
23405 * gst/gstpluginfeature.h:
23406 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23407 more docs inlined, splitted gstindex.{c,h}
23409 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23411 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23414 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23416 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23417 Set sync to FALSE by default.
23419 2005-09-20 Wim Taymans <wim@fluendo.com>
23421 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23422 (gst_base_sink_init):
23423 Make sync property settable from subclass.
23425 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23426 (gst_fake_sink_change_state):
23427 Set sync to FALSE by default.
23429 2005-09-20 Wim Taymans <wim@fluendo.com>
23431 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23432 * tools/gst-launch.c: (main):
23433 The timeout handler should have lower priority than the source
23434 so we don't timeout before popping a message with 0 timeout.
23435 Dump error messages after failed state change.
23437 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23439 * tools/gst-inspect.c: (print_element_properties_info):
23442 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23444 * check/gst/gstevent.c:
23445 * gst/elements/gstfakesink.c:
23446 * gst/elements/gstfakesink.h:
23447 remove the sync property from fakesink.
23448 has the side effect of setting sync TRUE
23449 for fakesink, which is a change. Anyone who knows how
23450 to fix this nicely in a GObject-y way, feel free.
23452 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23454 * docs/gst/gstreamer-docs.sgml:
23455 remove probe refsection
23457 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23459 * check/Makefile.am:
23460 disable valgrinding the controller test again
23461 * docs/gst/gstreamer-sections.txt:
23462 update for api-changes
23464 2005-09-20 Wim Taymans <wim@fluendo.com>
23466 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23467 (gst_base_sink_set_property), (gst_base_sink_get_property),
23468 (gst_base_sink_do_sync):
23469 * gst/base/gstbasesink.h:
23470 Added sync property to basesink to disable clock sync.
23472 2005-09-20 Andy Wingo <wingo@pobox.com>
23474 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23475 eating the caller's refcount.
23477 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23478 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23481 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23482 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23483 of GLib 2.8 public, so we can know which refcount to check in
23486 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23487 (gst_object_init): Only set the gst refcount if we're going ahead
23488 with the refcount hack.
23490 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23492 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23493 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23494 more leaks plumbed, added more debug-logging
23498 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23500 * gst/gstmessage.c:
23501 remove include of gstmemchunk.h
23503 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23505 * gst/gstclock.c: (_gst_clock_id_free):
23506 Commit from the Political Party For More Atomic CVS Commits,
23507 so that people don't waste too much of their day fishing
23508 out obvious leaks out of massive commits.
23509 Oh, and fix a pretty damn obvious leak in the memchunk
23512 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23514 * check/Makefile.am:
23515 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23516 plug mem-leak, re-add to valgrindable tests
23518 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23521 unbreak the build for those who have chronic arthritis
23522 and typing "make check" is just too taxing on the hands
23524 2005-09-20 Andy Wingo <wingo@pobox.com>
23526 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23527 really want it out, you should fix plugins at the same time.
23529 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23532 * docs/gst/gstreamer-sections.txt:
23534 added missing symbols to api docs
23535 disable ref-count hack if we have glib >= 2.8
23537 2005-09-19 David Schleef <ds@schleef.org>
23539 * docs/gst/Makefile.am: Ignore a few more internal headers
23540 * docs/gst/gstreamer-docs.sgml: Remove old sections
23541 * docs/gst/gstreamer-sections.txt: Remove old sections
23542 * docs/gst/tmpl/gstobject.sgml: update
23543 * docs/gst/tmpl/gstplugin.sgml: update
23544 * docs/gst/tmpl/gstpluginfeature.sgml: update
23545 * docs/random/ds/0.9-suggested-changes: update.
23546 * gst/Makefile.am: remove memchunk and trashstack, since they're
23548 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23549 * gst/gst.h: don't include some headers
23550 * gst/gstchildproxy.c: add gstmarshal.h
23551 * gst/gstclock.c: Don't use memchunks
23552 * gst/gstminiobject.c: Add some docs
23553 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23554 * gst/gstobject.h: same
23555 * gst/gstplugin.c: include gstmacros.h
23556 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23557 * gst/gstquery.c: don't use memchunks
23558 * gst/gstregistry.c: rename gst_registry_deinit()
23559 * gst/gstregistry.h: same
23561 2005-09-19 David Schleef <ds@schleef.org>
23563 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23564 * docs/libs/gstreamer-libs-sections.txt:
23565 * docs/libs/tmpl/gstgetbits.sgml:
23566 * docs/libs/tmpl/gstputbits.sgml:
23568 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23570 * win32/gstenumtypes.c:
23571 * win32/gstenumtypes.h:
23574 2005-09-19 Wim Taymans <wim@fluendo.com>
23576 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23577 Automatically PAUSE and RESUME a pipeline when a flushing seek
23580 2005-09-19 Andy Wingo <wingo@pobox.com>
23582 * gst/gstregistry.h: Spacing fixen.
23584 2005-09-19 Wim Taymans <wim@fluendo.com>
23586 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23587 Handle state change failure more correctly.
23589 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23591 * check/Makefile.am:
23592 * check/pipelines/cleanup.c: (run_pipeline):
23593 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23595 enable cleanup again after fixing the leak
23597 some more info on docs
23599 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23601 * check/Makefile.am:
23602 re-enable tests now that leaks are plugged
23604 * check/gst/gstbin.c:
23605 * check/gst/gstpipeline.c:
23606 add some more tests while fixing leaks
23607 * common/check.mak:
23608 make sure binaries are uptodate when valgrinding/gdbing
23610 * gst/gstelementfactory.c:
23611 remove a ref too many, and add a FIXME for when we get
23612 round to disposing of classes
23614 fix the refcounting when loading a plugin from a file and
23615 the code pretends that the pointer is the same even though
23616 of course it can change
23617 * gst/gstpluginfeature.c:
23618 unref plugins marked cached (a bit confusing as a name)
23619 as the docs state should be done
23620 various doc additions to explain refcounting
23621 * gst/gstregistry.c:
23622 * gst/gstregistryxml.c:
23625 2005-09-19 Wim Taymans <wim@fluendo.com>
23627 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23628 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23629 (send_messages), (GST_START_TEST), (gstbus_suite):
23630 * check/gst/gstpipeline.c: (GST_START_TEST):
23631 * check/pipelines/cleanup.c: (run_pipeline):
23632 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23634 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23635 (gst_bus_source_check), (gst_bus_source_dispatch),
23636 (gst_bus_create_watch), (gst_bus_add_watch_full),
23637 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23639 * tools/gst-launch.c: (event_loop):
23640 * tools/gst-md5sum.c: (event_loop):
23641 GstBusHandler -> GstBusFunc, return value has the same meaning as
23642 any other GSource (FALSE == remove source).
23643 _add_watch() and _add_watch_full() now take a MessageType mask to
23644 only handle specific types of messages.
23645 _poll() returns the GstMessage instead of the message type to avoid
23647 _have_pending() takes a MessageType mask now too.
23648 Added testsuite for multiple bus watches.
23649 Fix testsuites and applications for new bus API.
23651 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23653 * check/Makefile.am:
23654 mark a bunch of the tests as to fix until we fix them
23656 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23658 * common/check.mak:
23659 use GST_PLUGIN settings for valgrind tests as well, so we're
23660 valgrinding the correct thing
23661 * gst/gst.c: (init_post):
23664 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23666 * gst/gst.c: (init_post), (gst_deinit):
23667 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23668 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23669 * gst/gstindex.c: (gst_index_factory_class_init),
23670 (gst_index_factory_finalize):
23671 * gst/gstobject.c: (gst_object_dispose):
23672 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23673 (gst_plugin_load_file), (gst_plugin_desc_free):
23674 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23675 (gst_plugin_feature_finalize):
23676 * gst/gstregistry.c: (gst_registry_class_init),
23677 (gst_registry_init), (gst_registry_finalize),
23678 (gst_registry_get_default), (gst_registry_deinit):
23679 * gst/gstregistry.h:
23680 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23681 various cleanups and memleak plugging. make valgrind is happy now.
23683 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23685 * common/check.mak:
23686 add a check-valgrind target
23688 2005-09-18 David Schleef <ds@schleef.org>
23690 * tools/gst-inspect.c: Revert the GOption code.
23692 2005-09-17 David Schleef <ds@schleef.org>
23694 * check/Makefile.am: Fix environment variables.
23695 * check/gst/gstplugin.c: Fix for API changes.
23696 * tools/gst-inspect.c: Fix for API changes.
23697 * tools/gst-xmlinspect.c: Fix for API changes.
23698 * gst/gstelementfactory.c:
23701 * gst/gstpluginfeature.c:
23702 * gst/gstpluginfeature.h:
23703 * gst/gstregistry.c:
23704 * gst/gstregistry.h:
23705 * gst/gstregistryxml.c:
23706 * gst/gsttypefind.c:
23707 * gst/gsttypefindfactory.c:
23708 * gst/indexers/gstfileindex.c:
23709 * gst/indexers/gstmemindex.c:
23710 * gst/schedulers/Makefile.am:
23711 Change registry to keep track of both plugins and features,
23712 removing the feature tracking from plugins themselves.
23714 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23716 * check/Makefile.am:
23717 * tools/gst-register.1.in:
23718 remove gst-register
23720 2005-09-15 David Schleef <ds@schleef.org>
23722 * check/gst/gstplugin.c:
23723 * gst/gstelementfactory.c:
23725 * gst/gstpluginfeature.c:
23726 * gst/gstregistry.c:
23727 Getting tired of debugging. Disabled all the unreffing of
23728 plugins and features, which fixes the segfaults, but of
23729 course leaks like crazy. At least playbin works.
23731 2005-09-15 David Schleef <ds@schleef.org>
23733 * check/gst/gstplugin.c: (register_check_elements),
23734 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23736 * gst/elements/gsttypefindelement.c: Fix refcounting.
23737 * gst/gsttypefind.c:
23738 * gst/gsttypefindfactory.c:
23739 * gst/gsttypefindfactory.h:
23741 2005-09-15 David Schleef <ds@schleef.org>
23743 * gst/gstindex.c: get refcounting correct.
23744 * gst/gstregistry.c: Handle the case where a feature/plugin is
23747 2005-09-15 David Schleef <ds@schleef.org>
23749 * check/Makefile.am:
23750 * check/gst/gstplugin.c: Add test
23751 * gst/gstplugin.c: Fix problems noticed by testsuite
23753 * gst/gstregistry.c:
23754 * gst/gstregistry.h:
23756 2005-09-15 David Schleef <ds@schleef.org>
23758 * gst/gstplugin.c: Implement semi-decent recounting and locking
23759 in plugins and plugin features.
23761 * gst/gstpluginfeature.c:
23762 * gst/gstpluginfeature.h:
23763 * gst/gstregistry.c:
23765 2005-09-15 Michael Smith <msmith@fluendo.com>
23767 * gst/gstregistry.c: (gst_registry_get_feature_list):
23768 Implement this. Makes oggdemux work; decodebin still broken.
23770 2005-09-14 David Schleef <ds@schleef.org>
23772 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23774 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23775 * gst/check/Makefile.am:
23776 * libs/gst/controller/Makefile.am:
23777 * libs/gst/dataprotocol/Makefile.am:
23779 2005-09-14 David Schleef <ds@schleef.org>
23781 * configure.ac: Remove getbits library. Nothing uses it, and
23782 it should be in something like liboil if someone did want
23784 * libs/gst/Makefile.am:
23785 * libs/gst/getbits/Makefile.am:
23786 * libs/gst/getbits/gbtest.c:
23787 * libs/gst/getbits/getbits.c:
23788 * libs/gst/getbits/getbits.h:
23789 * libs/gst/getbits/gstgetbits_generic.c:
23790 * libs/gst/getbits/gstgetbits_i386.s:
23791 * libs/gst/getbits/gstgetbits_inl.h:
23793 2005-09-14 David Schleef <ds@schleef.org>
23795 * gst/Makefile.am: Dist glib-compat.h
23797 2005-09-14 David Schleef <ds@schleef.org>
23799 * configure.ac: Remove gst/registries, since it's no longer used.
23800 * gst/registries/Makefile.am:
23801 * gst/registries/gstlibxmlregistry.c:
23802 * gst/registries/gstlibxmlregistry.h:
23803 * gst/registries/gstxmlregistry.c:
23804 * gst/registries/gstxmlregistry.h:
23805 * gst/registries/registrytest.c:
23807 2005-09-14 David Schleef <ds@schleef.org>
23809 * gst/glib-compat.h:
23810 * gst/gstregistryxml.c:
23811 Convergence is near. Seriously.
23813 2005-09-14 David Schleef <ds@schleef.org>
23815 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23816 * gst/glib-compat.h:
23817 Attempt #4 to appease the buildbots.
23819 2005-09-14 David Schleef <ds@schleef.org>
23821 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23824 2005-09-14 David Schleef <ds@schleef.org>
23826 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23829 2005-09-14 David Schleef <ds@schleef.org>
23831 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23834 2005-09-14 David Schleef <ds@schleef.org>
23836 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23837 * gst/glib-compat.h: Add some functions that are in newer versions
23838 of glib than we care to require.
23839 * gst/gstregistryxml.c: Use them.
23841 2005-09-14 David Schleef <ds@schleef.org>
23843 * po/POTFILES.in: remove gst-register.c
23845 2005-09-14 David Schleef <ds@schleef.org>
23847 * docs/gst/gstreamer-docs.sgml:
23848 * docs/gst/gstreamer-sections.txt:
23849 * docs/gst/gstreamer.types:
23850 * docs/gst/tmpl/gstelement.sgml:
23851 * docs/gst/tmpl/gstplugin.sgml:
23852 * docs/gst/tmpl/gstpluginfeature.sgml:
23853 Documentation updates for registry changes.
23855 2005-09-14 David Schleef <ds@schleef.org>
23857 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23858 because we don't require glib-2.8.
23860 2005-09-14 David Schleef <ds@schleef.org>
23862 * gst/gstregistryxml.c: Added. Essentially moved out of the
23863 registries directory.
23865 2005-09-14 David Schleef <ds@schleef.org>
23867 * check/Makefile.am:
23868 * check/generic/states.c:
23872 * gst/gst_private.h:
23873 * gst/gstelementfactory.c:
23878 * gst/gstpluginfeature.c:
23879 * gst/gstpluginfeature.h:
23880 * gst/gstregistry.c:
23881 * gst/gstregistry.h:
23882 * gst/gstregistrypool.c: remove
23883 * gst/gstregistrypool.h: remove
23884 * gst/gsttypefind.c:
23885 * gst/gsttypefindfactory.c:
23887 * tools/Makefile.am:
23888 * tools/gst-compprep.c:
23889 * tools/gst-inspect.c:
23890 * tools/gst-register.c: remove
23891 * tools/gst-xmlinspect.c:
23892 Registry rewrite. Changes registry from being a file created
23893 by a tool into a simple cache file created automatically by
23894 libgstreamer. Removed gst-register (because it's no longer
23895 needed). Remove registry pools, because we only have one
23896 registry implementation (XML). Fix up other subsystems as
23899 2005-09-13 Michael Smith <msmith@fluendo.com>
23901 * gst/gstconfig.h.in:
23902 Don't Use windows linking attributes for MinGW. Fixes #316157
23904 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23906 * gst/gstutils.c: (set_state_async_thread_func),
23907 (gst_element_set_state_async):
23908 Apparently people think it's better if this function doesn't
23909 try to set the state to whatever state was asked for on the first
23910 call to this function for any object. Seriously.
23912 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23914 * check/gst/gstpipeline.c: (GST_START_TEST):
23915 * docs/gst/gstreamer-sections.txt:
23916 * gst/gstutils.c: (set_state_async_thread_func),
23917 (gst_element_set_state_async):
23919 add a "gst_element_set_state_async" method that
23920 sets the state and starts a thread to make sure the state
23921 change completes as best as it can
23923 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23925 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23926 codify design+behaviour in testsuite after discussion
23928 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23930 * docs/gst/tmpl/gstelement.sgml:
23931 * docs/manual/appendix-quotes.xml:
23933 * gst/gstelement.c: (gst_element_set_state):
23936 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23938 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23939 (gst_base_transform_prepare_output_buf),
23940 (gst_base_transform_handle_buffer):
23941 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23942 (gst_capsfilter_prepare_buf):
23943 Remove the requirement for sub-classes to call the parent
23944 implementation of prepare_output_buffer with a wrapper function.
23946 * gst/gsttaglist.h:
23947 * gst/gsttagsetter.h:
23948 Fix #define wrapper
23950 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23952 * docs/gst/gstreamer-sections.txt:
23955 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23957 * docs/gst/gstreamer-sections.txt:
23958 * docs/gst/tmpl/gstelement.sgml:
23959 * docs/gst/tmpl/gstplugin.sgml:
23960 * gst/gstminiobject.c:
23962 docs now stop throwing warnings
23964 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23966 * docs/gst/gstreamer-sections.txt:
23967 * docs/gst/gstreamer.types:
23968 * docs/gst/tmpl/gstpad.sgml:
23969 * docs/gst/tmpl/gsttypes.sgml:
23970 * gst/base/gstadapter.h:
23971 * gst/base/gstbasesink.h:
23972 * gst/base/gstbasesrc.h:
23978 * gst/gstelement.h:
23980 * gst/gstmessage.h:
23982 * gst/gststructure.c:
23983 * gst/registries/gstlibxmlregistry.h:
23984 various documentation fixes
23986 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23988 * docs/gst/gstreamer-sections.txt:
23989 * docs/gst/tmpl/gstvalue.sgml:
23990 rearrange gstvalue section
23991 * gst/gstutils.c: (gst_element_state_get_name):
23993 * gst/gstvalue.c: (_gst_value_initialize):
23997 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23999 * check/gst-libs/controller.c:
24000 Header include fix.
24001 * gst/base/gstbasetransform.c:
24002 (gst_base_transform_default_prepare_buf),
24003 (gst_base_transform_handle_buffer):
24004 * gst/base/gstbasetransform.h:
24005 Some more basetransform changes and fixes to enable sub-classes
24006 that modify buffer metadata only.
24007 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24008 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24009 (gst_capsfilter_prepare_buf):
24010 If the output pad has fixed allowed caps and input buffers
24011 don't have any, set the fixed caps on outgoing buffers.
24013 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
24014 * check/elements/identity.c: (GST_START_TEST):
24015 Make the error a little clearer when the test fails because
24016 identity made a copy of the buffer.
24017 * docs/gst/gstreamer-sections.txt:
24018 New symbols in gstbasetransform.h
24019 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24020 (gst_base_transform_init), (gst_base_transform_transform_size),
24021 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24022 (gst_base_transform_default_prepare_buf),
24023 (gst_base_transform_get_unit_size),
24024 (gst_base_transform_buffer_alloc),
24025 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24026 (gst_base_transform_change_state),
24027 (gst_base_transform_set_passthrough),
24028 (gst_base_transform_set_in_place),
24029 (gst_base_transform_is_in_place):
24030 * gst/base/gstbasetransform.h:
24031 Change BaseTransform to separate in_place operate from same_caps
24032 output. in_place implies that the element can perform the transform
24033 on incoming buffers in-place, even if the caps on the output are
24035 Sub-class elements can now implement special buffer allocation
24036 methods for outgoing buffers if they wish to.
24037 Big documentation addition.
24038 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24039 * gst/elements/gstelements.c:
24040 Changes for basetransform modifications.
24041 * gst/elements/Makefile.am:
24042 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24043 Compile fix. Extra debug output.
24045 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24047 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24049 add tests for valid pad naming
24050 * gst/check/gstcheck.c: (gst_check_log_message_func),
24051 (gst_check_log_critical_func):
24053 remove printing of code, it is fragile when the code contains
24054 % and the line number is enough info
24055 * gst/check/gstcheck.h:
24056 * gst/gstpad.c: (gst_pad_template_new):
24059 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24062 say what CHECK flags we use
24063 * docs/libs/gstreamer-libs.types:
24064 * libs/gst/controller/Makefile.am:
24065 * libs/gst/controller/gst-controller.c:
24066 * libs/gst/controller/gst-controller.h:
24067 * libs/gst/controller/gst-helper.c:
24068 * libs/gst/controller/gst-interpolation.c:
24069 * libs/gst/controller/gstcontroller.c:
24070 * libs/gst/controller/gsthelper.c:
24071 * libs/gst/controller/gstinterpolation.c:
24072 * tools/gst-inspect.c: (print_plugin_info):
24073 we don't use dashes in header names
24075 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24077 * check/Makefile.am:
24078 * check/gst/.cvsignore:
24079 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24080 (gst_pipeline_suite), (main):
24081 adding a test for pipelines and state changes
24082 * gst/gstutils.c: (get_state_func):
24084 * gstreamer.spec.in:
24087 2005-09-08 Michael Smith <msmith@fluendo.com>
24089 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24090 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24091 (gst_file_src_is_seekable), (gst_file_src_get_size),
24092 (gst_file_src_start):
24093 * gst/elements/gstfilesrc.h:
24094 Various fixes for unseekable, unmmapable, and non-normal files, so
24095 that fallback to read() rather than mmap() works.
24096 * gst/gstevent.c: (gst_event_new_newsegment):
24097 Allow newsegment events with segment_start == segment_end, as will
24098 correctly happen if you use filesrc on a zero-size file, for
24101 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24103 * gst/gstplugin.c: (gst_plugin_load_file):
24104 Call g_module_close when we don't load the module
24106 * gst/registries/gstlibxmlregistry.c:
24107 (gst_xml_registry_get_property):
24108 Port leak fix from 0.8
24110 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24112 * docs/gst/gstreamer-docs.sgml:
24113 * docs/gst/tmpl/.cvsignore:
24114 * docs/gst/tmpl/gsttrace.sgml:
24115 * docs/gst/tmpl/gsttrashstack.sgml:
24118 * gst/gstelement.h:
24120 * gst/gstmessage.c:
24121 * gst/gstmessage.h:
24124 * gst/gsttaginterface.c:
24125 * gst/gsttaginterface.h:
24126 * gst/gsttaglist.c:
24127 * gst/gsttaglist.h:
24128 * gst/gsttagsetter.c:
24129 * gst/gsttagsetter.h:
24132 * gst/gsttrashstack.c:
24133 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24134 inlined docs for gsttrace, gsttrashstack
24136 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24139 * gst/elements/gstbufferstore.h:
24140 * gst/elements/gsttypefindelement.c:
24141 * gst/elements/gsttypefindelement.h:
24143 * gst/gsttypefind.c:
24144 * gst/gsttypefind.h:
24145 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24146 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24147 (gst_type_find_factory_dispose),
24148 (gst_type_find_factory_unload_thyself),
24149 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24150 (gst_type_find_factory_get_caps),
24151 (gst_type_find_factory_get_extensions),
24152 (gst_type_find_factory_call_function):
24153 * gst/gsttypefindfactory.h:
24154 * gst/registries/gstlibxmlregistry.c:
24155 * gst/registries/gstxmlregistry.c:
24156 splitted gsttypefind into gsttypefind, gsttypefindfactory
24158 2005-09-07 Andy Wingo <wingo@pobox.com>
24160 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24161 condition whereby the pad's task function is entered before the
24162 pad_mode variable was set.
24164 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24166 * gst/gstpad.c: (gst_pad_alloc_buffer):
24167 Catch misbehaving pad_alloc functions that don't
24168 set up caps and do it for them.
24170 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24172 * check/pipelines/simple_launch_lines.c: (run_pipeline):
24173 test for pipe!=NULL
24174 * docs/gst/tmpl/.cvsignore:
24175 * docs/gst/tmpl/gstmemchunk.sgml:
24176 * docs/gst/tmpl/gstparse.sgml:
24177 * docs/gst/tmpl/gsttaglist.sgml:
24178 * docs/gst/tmpl/gsttagsetter.sgml:
24179 * docs/gst/tmpl/gsttypefind.sgml:
24180 * docs/gst/tmpl/gsttypefindfactory.sgml:
24181 * gst/gstmemchunk.c:
24184 * gst/gsttaginterface.c:
24185 * gst/gsttypefind.c:
24186 * gst/gsttypefind.h:
24189 === release 0.9.2 ===
24191 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
24196 releasing 0.9.2, "South"
24198 2005-09-05 Andy Wingo <wingo@pobox.com>
24200 * gst/registries/gstxmlregistry.h:
24201 * gst/registries/gstxmlregistry.c: Um... resurrect...
24203 * gst/registries/gstxmlregistry.h:
24204 * gst/registries/gstxmlregistry.c: and update to newer API.
24205 Incidentally they should be a bit faster now that they don't have
24208 2005-09-05 Andy Wingo <wingo@pobox.com>
24210 * gst/registries/gstxmlregistry.h:
24211 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24212 replaced by the libxml registry a while back
24214 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24216 * docs/gst/tmpl/gstplugin.sgml:
24217 * gst/elements/gstelements.c:
24219 * gst/gstplugin.c: (gst_plugin_register_func),
24220 (gst_plugin_desc_copy), (gst_plugin_desc_free),
24221 (gst_plugin_get_source):
24223 * gst/registries/gstlibxmlregistry.c: (load_plugin),
24224 (gst_xml_registry_save_plugin):
24225 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24226 (gst_xml_registry_save_plugin):
24227 * tools/gst-inspect.c: (print_plugin_info):
24228 add a "source" plugin description field, to represent the source
24229 module this plugin is a part of. By default GST_PLUGIN_DEFINE
24230 will set it to PACKAGE, which is automake's idea of the name of
24231 the source project.
24233 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24238 * docs/Makefile.am:
24239 * docs/faq/Makefile.am:
24240 * docs/gst/tmpl/gstelement.sgml:
24241 * docs/gst/tmpl/gsttypes.sgml:
24242 * docs/htmlinstall.mak:
24243 * docs/manual/Makefile.am:
24244 * docs/pwg/Makefile.am:
24245 reorganize doc build a little
24246 split out docbook and gtk-doc stuff
24247 have two separate --enable's and enable them through autogen
24248 but disable by default in configure (to be similar to other
24250 * gstreamer.spec.in:
24251 clean up docs install
24269 translation updates
24271 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
24273 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24276 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24277 (gst_fake_sink_change_state):
24278 Make state change function thread-safe.
24280 * gst/gstpad.c: (gst_pad_alloc_buffer):
24281 Set offset on generic buffer allocated by fallback.
24283 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24285 * docs/gst/gstreamer-sections.txt:
24286 * docs/gst/tmpl/gstelement.sgml:
24288 * libs/gst/controller/gst-controller.c:
24289 (gst_controlled_property_set_interpolation_mode),
24290 (gst_controlled_property_new),
24291 (gst_controller_find_controlled_property):
24292 run the wingo-magic script against the docs
24294 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24296 * docs/gst/gstreamer-docs.sgml:
24297 * docs/gst/gstreamer-sections.txt:
24298 * docs/gst/tmpl/.cvsignore:
24299 * docs/gst/tmpl/gstelementdetails.sgml:
24300 * docs/gst/tmpl/gstelementfactory.sgml:
24303 * gst/gstelementfactory.c:
24304 * gst/gstelementfactory.h:
24305 merged elementdetails docs into elementfactory docs
24308 2005-09-02 Andy Wingo <wingo@pobox.com>
24310 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24311 consider this enum an enum and not a flags.
24313 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24315 * docs/gst/gstreamer-docs.sgml:
24316 * docs/gst/tmpl/.cvsignore:
24317 * docs/gst/tmpl/gstghostpad.sgml:
24318 * docs/gst/tmpl/gstiterator.sgml:
24319 * docs/gst/tmpl/gstmacros.sgml:
24320 * docs/gst/tmpl/gstrealpad.sgml:
24321 * docs/gst/tmpl/gstregistry.sgml:
24322 * docs/gst/tmpl/gstregistrypool.sgml:
24323 * docs/gst/tmpl/gststructure.sgml:
24324 * docs/gst/tmpl/gstsystemclock.sgml:
24325 * docs/gst/tmpl/gsttrace.sgml:
24326 * gst/gstghostpad.c:
24328 * gst/gstmemchunk.c:
24329 * gst/gstmemchunk.h:
24331 * gst/gstregistry.c:
24332 * gst/gstregistrypool.c:
24333 * gst/gststructure.c:
24334 * gst/gstsystemclock.c:
24337 2005-09-02 Andy Wingo <wingo@pobox.com>
24339 * gst/gstelement.h (GstState): Renamed from GstElementState,
24340 changed to be a normal enum instead of flags.
24341 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24342 munged to be GST_STATE_CHANGE_*.
24343 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24344 work with the new state representation.
24345 (GstStateChange): New enumeration of possible state transitions.
24346 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24347 (GstElementClass::change_state): Pass the GstStateChange along as
24348 an argument. Helps language bindings, so they don't have to use
24349 tricky lock-needing macros like GST_STATE_CHANGE ().
24351 * scripts/update-states (file): New script. Run it on a file to
24352 update it for state naming and API changes. Updates files in
24355 * All files updated for the new API.
24357 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24359 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24360 * gst/gstutils.c: (gst_util_set_value_from_string),
24361 (gst_util_set_object_arg):
24362 fix a bunch of unchecked return values
24363 * tools/gst-complete.c: (main):
24364 * gstreamer.spec.in:
24367 2005-09-01 Wim Taymans <wim@fluendo.com>
24369 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24370 (gst_base_sink_event), (gst_base_sink_do_sync),
24371 (gst_base_sink_handle_event):
24372 * gst/base/gstbasesink.h:
24373 Handle newsegments more correctly.
24378 * gst/gstevent.c: (gst_event_new_newsegment):
24379 A newsegment cannot have a start_time of -1
24381 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24383 * win32/gstenumtypes.c:
24384 * win32/gstenumtypes.h:
24387 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24389 * libs/gst/controller/gst-controller.c:
24390 (gst_controlled_property_set_interpolation_mode),
24391 (gst_controlled_property_new):
24392 fixed boolean again
24394 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24396 * docs/faq/gst-uninstalled:
24401 * gst/gstutils.c: (gst_element_link_filtered):
24403 add gst_element_link_filtered
24405 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24407 * docs/gst/gstreamer-docs.sgml:
24408 * docs/gst/gstreamer-sections.txt:
24409 * docs/gst/tmpl/.cvsignore:
24410 * docs/gst/tmpl/gsterror.sgml:
24411 * docs/gst/tmpl/gstfilter.sgml:
24412 * docs/gst/tmpl/gsturihandler.sgml:
24413 * docs/gst/tmpl/gsturitype.sgml:
24414 * docs/gst/tmpl/gstutils.sgml:
24415 * docs/gst/tmpl/gstxml.sgml:
24420 * gst/gsturitype.c:
24423 inlined more docs, fixed double id-ref
24425 2005-08-31 Wim Taymans <wim@fluendo.com>
24427 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24428 (gst_base_transform_handle_buffer):
24429 Passthrough elements don't need the caps as they don't care.
24431 2005-08-31 Wim Taymans <wim@fluendo.com>
24433 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24434 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24435 Don't leak refcounts on buffers.
24437 2005-08-31 Wim Taymans <wim@fluendo.com>
24439 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24440 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24441 (gst_base_transform_chain), (gst_base_transform_change_state):
24442 * gst/base/gstbasetransform.h:
24443 Handle the case where we are not negotiated more gracefully.
24445 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24447 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24448 (gst_file_src_map_region):
24449 Set READONLY flag on mmap'ed buffers, otherwise
24450 gst_buffer_make_writable() won't work properly (#314708).
24452 2005-08-31 Wim Taymans <wim@fluendo.com>
24454 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24455 passthrough elements can even do inplace on non writable
24456 buffers (as they don't touch them).
24458 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24460 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24461 (gst_test_mono_source_set_property),
24462 (gst_test_mono_source_class_init), (GST_START_TEST),
24463 (gst_controller_suite):
24464 more tests (hehe I have the most)
24466 describe popping messages whenusing mulltiple sources
24467 * libs/gst/controller/gst-controller.c:
24468 (gst_controlled_property_set_interpolation_mode),
24469 (gst_controlled_property_new):
24470 * libs/gst/controller/gst-controller.h:
24471 * libs/gst/controller/gst-interpolation.c:
24472 implement boolean properties
24474 2005-08-31 Wim Taymans <wim@fluendo.com>
24476 * gst/gstminiobject.c: (gst_mini_object_ref):
24477 Cannot assert that the refcount has to be positive
24478 since a disposed object can be resurrected.
24480 2005-08-31 Wim Taymans <wim@fluendo.com>
24482 * gst/gstpad.c: (gst_pad_init):
24483 Revert change, need to first fix badly behaving
24486 2005-08-30 Wim Taymans <wim@fluendo.com>
24488 * check/elements/fakesrc.c: (setup_fakesrc):
24489 * check/elements/identity.c: (setup_identity):
24490 Activate pads before using them.
24492 2005-08-30 Wim Taymans <wim@fluendo.com>
24494 * gst/base/gstadapter.c: (gst_adapter_flush):
24495 Flushing out 0 bytes is ok for this function.
24497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24498 no newsegment gives a warning and sets the start/stop to
24501 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24502 (gst_base_transform_set_passthrough):
24505 * gst/gstminiobject.c: (gst_mini_object_ref):
24506 Check refcount here too.
24508 * gst/gstpad.c: (gst_pad_init):
24509 Pads are initially flushing and refusing data.
24511 * gst/gstutils.c: (gst_element_link_pads_filtered):
24512 When adding a capsfilter element make sure it has the
24513 same state as the parent bin.
24515 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24517 * docs/gst/tmpl/.cvsignore:
24518 * docs/gst/tmpl/gstformat.sgml:
24519 * docs/gst/tmpl/gstversion.sgml:
24523 * gst/gstversion.h.in:
24524 more docs and two more inlined
24526 2005-08-30 Wim Taymans <wim@fluendo.com>
24528 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24529 Don't sync to clock.
24531 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24533 * docs/gst/gstreamer-sections.txt:
24534 ultral33t func10ns deserve to appear in the docs actually
24535 * docs/gst/tmpl/.cvsignore:
24536 * docs/gst/tmpl/gstcompat.sgml:
24537 * docs/gst/tmpl/gstconfig.sgml:
24538 * gst/check/gstcheck.c:
24540 * gst/gstconfig.h.in:
24543 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24545 * docs/gst/tmpl/.cvsignore:
24546 * docs/gst/tmpl/gstquery.sgml:
24547 * docs/gst/tmpl/gstutils.sgml:
24550 inlined and extended docs
24552 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24554 * check/gst-libs/controller.c: (GST_START_TEST),
24555 (gst_controller_suite):
24557 * docs/gst/tmpl/gstutils.sgml:
24558 * docs/libs/gstreamer-libs-sections.txt:
24559 * docs/libs/tmpl/gstdataprotocol.sgml:
24561 * examples/controller/audio-example.c: (main):
24562 controller example works now
24565 * tools/gst-inspect.c: (print_element_properties_info):
24566 show param spec flags
24568 2005-08-29 Andy Wingo <wingo@pobox.com>
24570 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24572 2005-08-28 Andy Wingo <wingo@pobox.com>
24574 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24575 as having two arguments instead of just one. Allows superclasses
24576 to access information on subclasses -- see the terrible for() loop
24577 in gtype.c:g_type_create_instance for the reason why. All callers
24580 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24582 * docs/design/part-messages.txt:
24584 * docs/gst/tmpl/.cvsignore:
24585 * docs/gst/tmpl/gstcaps.sgml:
24586 * docs/gst/tmpl/gstclock.sgml:
24592 * gst/gstmessage.c:
24593 added descriptions for bus and message
24594 inline caps and clock docs
24596 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24598 * gst/gstmessage.c:
24599 * gst/gstmessage.h:
24602 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24604 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24607 2005-08-26 Andy Wingo <wingo@pobox.com>
24609 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24610 element_set_state's return val.
24611 (test_2_elements): Add test that's been disabled for months.
24613 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24614 can-activate-pull properties.
24616 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24617 can-activate-pull properties. Implement is_seekable so fakesrc can
24618 operate in pull mode.
24620 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24622 (gst_base_sink_activate, gst_base_sink_activate_pull)
24623 (gst_base_sink_activate_push): Make activation mode choosing work.
24625 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24626 is right. Make pull mode work. Post an eos before pausing in pull
24628 (gst_base_sink_change_state): Pay attention to the core's
24629 change_state() return val.
24631 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24632 has-getrange properties. Cleanups.
24634 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24635 has_getrange and replace with can_activate_pull and
24638 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24639 locking comments. Remove has_loop, has_chain and replace with
24640 can_activate_pull and can_activate_push.
24642 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24645 * examples/Makefile.am:
24646 * examples/metadata/Makefile.am:
24647 * examples/metadata/read-metadata.c: (message_loop),
24648 (have_pad_handler), (make_pipeline), (print_tag), (main):
24649 Add metadata reading example that loops over a list of filenames,
24650 dumping any tags found.
24652 * gst/gstbus.c: (gst_bus_dispose):
24653 * gst/gstelement.c: (gst_element_dispose):
24654 Release a few potentially-held references in dispose.
24656 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24658 * docs/gst/tmpl/gstminiobject.sgml:
24659 do *not* add tmpl/*.sgml files to CVS!
24661 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24663 * libs/gst/bytestream/.cvsignore:
24664 * libs/gst/bytestream/Makefile.am:
24665 * libs/gst/bytestream/adapter.c:
24666 * libs/gst/bytestream/adapter.h:
24667 * libs/gst/bytestream/bytestream.c:
24668 * libs/gst/bytestream/bytestream.h:
24669 * libs/gst/bytestream/filepad.c:
24670 * libs/gst/bytestream/filepad.h:
24671 removing obsolete files
24673 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24675 * docs/gst/gstreamer-docs.sgml:
24676 * docs/libs/gstreamer-libs-docs.sgml:
24677 disabed additional index entries again, as this makes docs-gen just
24678 slow and they aren't useful yet
24679 * docs/libs/gstreamer-libs-sections.txt:
24680 little -section.txt cleanup for libs
24682 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24685 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24686 fix up some debugging
24687 (gst_base_transform_get_unit_size),
24688 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24689 (gst_base_transform_handle_buffer):
24690 * gst/base/gstbasetransform.h:
24691 handle and store timed NEWSEGMENT events so that subclasses that
24692 calculate time by counting samples have a segment_start time they
24693 need to add to their timestamps - see audioresample
24695 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24698 removed ';' from the end of macro defs
24699 * docs/gst/gstreamer-docs.sgml:
24700 * docs/gst/gstreamer-sections.txt:
24701 * docs/gst/tmpl/.cvsignore:
24703 * gst/gstelement.c: (gst_element_class_init),
24704 (gst_element_set_state), (activate_pads),
24705 (gst_element_save_thyself):
24706 * gst/gstevent.c: (gst_event_new_newsegment):
24708 * gst/gstiterator.c:
24709 * gst/gstiterator.h:
24712 * gst/gstutils.c: (gst_pad_query_convert):
24714 fixed parameter name mismatches between source, header and docs
24715 added some more docs, resolved the last batch of unused elements in
24716 docs (now someone needs to doc them)
24718 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24720 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24721 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24722 don't walk through the plugins backwards. Where is all this
24723 reversed logic coming from ?
24725 2005-08-25 Wim Taymans <wim@fluendo.com>
24727 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24728 (gst_base_transform_transform_size),
24729 (gst_base_transform_configure_caps),
24730 (gst_base_transform_get_unit_size),
24731 (gst_base_transform_buffer_alloc),
24732 (gst_base_transform_change_state):
24733 * gst/base/gstbasetransform.h:
24734 Cache caps unit_size.
24735 Make sure we cannot negotiate up and downstream at the
24738 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24740 * gst/gst.c: (init_pre), (init_post):
24741 register the installed plugin path after the env var
24742 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24743 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24744 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24745 directories, so the tests can prefer uninstalled over installed
24747 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24749 * gst/base/gstbasetransform.h:
24754 2005-08-25 Wim Taymans <wim@fluendo.com>
24756 * gst/gstbin.c: (bin_bus_handler):
24757 Be a bit more conservative about the posted message.
24759 * gst/gstbus.c: (gst_bus_post):
24760 Some cleanups, warn wrong return values.
24762 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24764 * check/gst/gstbin.c: (GST_START_TEST):
24765 * gst/gstbin.c: (bin_bus_handler):
24766 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24767 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24768 (gst_message_new_warning), (gst_message_new_tag),
24769 (gst_message_new_state_changed), (gst_message_new_segment_start),
24770 (gst_message_new_segment_done), (gst_message_new_custom):
24771 * gst/gstmessage.h:
24772 * tools/gst-launch.c: (event_loop):
24773 * tools/gst-md5sum.c: (event_loop):
24774 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24776 2005-08-25 Wim Taymans <wim@fluendo.com>
24778 * check/generic/states.c: (GST_START_TEST):
24779 Cleanup can be done at the end.
24781 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24782 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24783 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24784 Oh boy.. Thanks for finding this, Thomas.
24786 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24788 * docs/gst/gstreamer.types:
24789 added missing types
24791 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24793 * docs/gst/gstreamer-docs.sgml:
24794 * docs/gst/gstreamer-sections.txt:
24795 * docs/gst/tmpl/.cvsignore:
24797 * gst/gstiterator.c:
24799 * gst/registries/gstxmlregistry.h:
24800 added missing classes and symbols (123 more to go)
24801 removed removed symbols from section file
24802 fixed many doc-comments
24804 2005-08-24 Wim Taymans <wim@fluendo.com>
24806 * check/generic/states.c: (GST_START_TEST):
24807 Make sure all tasks are stopped.
24809 * check/gst/gstbin.c: (GST_START_TEST):
24810 Unref after usage for proper valgrinding.
24812 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24813 Really wait for the task to stop before destroying the
24816 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24817 (gst_queue_src_activate_push):
24818 Small cleanups. Don't stop the task when we did not start
24821 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24822 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24823 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24826 Protect the stream lock with the object lock.
24827 Disallow setting the stream lock when running.
24828 Add cleanup_all to wait for the threadpool to finish.
24829 Remove code to autoallocate a mutex if none was provided.
24830 Add _join() to wait for a task to stop.
24831 Protect the thread pool with a global lock.
24833 2005-08-24 Wim Taymans <wim@fluendo.com>
24835 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24836 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24837 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24838 * gst/base/gstbasesink.h:
24839 Handle newsegment events correctly.
24840 Drop buffers out of the segment range.
24842 2005-08-22 Andy Wingo <wingo@pobox.com>
24844 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24845 macro, implements an interface and gstimplementsinterface for a
24848 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24850 * check/Makefile.am:
24851 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24852 add a test that does a bunch of state changes on elements
24853 needs some fixing for valgrind
24854 * check/states/sinks.c: (gst_object_suite):
24857 add prototype for gst_caps_is_equal_fixed
24859 * gst/gstregistrypool.c:
24862 2005-08-24 Andy Wingo <wingo@pobox.com>
24864 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24865 convert a negative value. Doesn't make much sense. Mostly this is
24866 here to force callers to ensure -1 maps to -1.
24868 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24870 * docs/pwg/advanced-types.xml:
24871 Well done to Michael for catching my deliberate introduction
24872 of this spelling mistake.
24873 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24874 * gst/gstelement.h:
24875 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24876 unlink pads before removing the element from the bin.
24878 2005-08-24 Andy Wingo <wingo@pobox.com>
24880 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24881 the same thing as GST_DEBUG=*:4.
24882 (parse_debug_level, parse_debug_category): New helper parsers.
24884 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24886 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24887 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24888 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24889 (gst_base_transform_buffer_alloc),
24890 (gst_base_transform_handle_buffer):
24891 use gboolean return values and pointers to size so we can use the
24892 full GST_BUFFER_SIZE range (guint) for buffer sizes
24893 use GstPadDirection for transform_caps
24894 * gst/base/gstbasetransform.h:
24895 rename get_size to get_unit_size since that's what it is
24896 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24897 use GstPadDirection for transform_caps
24898 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24900 cleanup and debugging
24902 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24904 * gst/gstelement.c: (gst_element_class_init),
24905 (gst_element_set_state), (activate_pads),
24906 (gst_element_save_thyself):
24907 * tools/gst-compprep.c: (main):
24908 * tools/gst-inspect.c: (print_element_properties_info):
24909 * tools/gst-xmlinspect.c: (print_element_properties):
24910 Fixed long standing mem-leak
24912 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24914 * check/gst/gstbin.c: (GST_START_TEST):
24915 * gst/gstbin.c: (bin_bus_handler):
24916 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24917 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24918 (gst_message_new_warning), (gst_message_new_tag),
24919 (gst_message_new_state_changed), (gst_message_new_segment_start),
24920 (gst_message_new_segment_done), (gst_message_new_custom):
24921 * gst/gstmessage.h:
24922 * tools/gst-launch.c: (event_loop):
24923 * tools/gst-md5sum.c: (event_loop):
24924 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24925 that applications can sensibly post custom messages with references
24926 to their own objects.
24928 2005-08-24 Andy Wingo <wingo@pobox.com>
24930 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24933 2005-08-24 Wim Taymans <wim@fluendo.com>
24935 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24936 (gst_base_transform_transform_caps),
24937 (gst_base_transform_transform_size),
24938 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24939 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24940 (gst_base_transform_handle_buffer):
24941 * gst/base/gstbasetransform.h:
24942 Many fixes and new features added by Thomas. Can now also do
24943 transforms with variable sizes and a custom fixate_caps function.
24945 2005-08-24 Wim Taymans <wim@fluendo.com>
24947 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24951 Cast to ClockTime before formatting to time.
24956 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24958 * check/gst-libs/controller.c: (GST_START_TEST),
24959 (gst_controller_suite):
24960 * docs/gst/tmpl/gstcaps.sgml:
24961 * docs/gst/tmpl/gstghostpad.sgml:
24962 * docs/gst/tmpl/gstquery.sgml:
24963 * docs/gst/tmpl/gstutils.sgml:
24964 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24965 (gst_object_sink_values), (gst_object_get_value_arrays),
24966 (gst_object_get_value_array):
24967 gracefully handle helper method calls to objects that are not beeing
24968 controlled, added test case for that
24970 2005-08-23 Wim Taymans <wim@fluendo.com>
24972 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24973 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24974 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24975 (gst_event_parse_qos), (gst_event_new_seek),
24976 (gst_event_parse_seek):
24978 Some more debugging output and doc cleanups.
24980 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24981 Fix possible deadlock.
24983 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24985 * docs/gst/gstreamer-docs.sgml:
24986 * docs/gst/gstreamer-sections.txt:
24987 * docs/gst/gstreamer.types:
24988 * docs/gst/tmpl/.cvsignore:
24991 * gst/gstelement.c:
24993 added 100 symbols from gstreamer-unused.txt to the right sections
24994 fixed more broken comments
24995 added GstBus to docs
24997 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24999 * docs/gst/gstreamer-sections.txt:
25000 * docs/gst/tmpl/.cvsignore:
25001 * docs/gst/tmpl/gstbin.sgml:
25002 * docs/gst/tmpl/gstbuffer.sgml:
25003 * gst/base/gstbasesrc.c:
25004 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25007 * tools/gst-launch.1.in:
25008 inlined more doc comments, added missing comments and fixed comments
25011 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
25013 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25017 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25019 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25020 * gst/gststructure.h:
25021 add a fixate function for booleans; add a FIXME that these func
25022 names should probably be gst_structure_fixate_*
25024 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25026 * docs/gst/gstreamer-docs.sgml:
25027 * docs/gst/gstreamer-sections.txt:
25029 * gst/gstbin.c: (gst_bin_get_type),
25030 (gst_bin_child_proxy_get_child_by_index),
25031 (gst_bin_child_proxy_get_children_count),
25032 (gst_bin_child_proxy_init):
25033 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25034 (gst_child_proxy_get_child_by_index),
25035 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25036 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25037 (gst_child_proxy_get), (gst_child_proxy_set_property),
25038 (gst_child_proxy_set_valist), (gst_child_proxy_set),
25039 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25040 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25041 * gst/gstchildproxy.h:
25042 * gst/parse/grammar.y:
25043 * tools/gst-inspect.c: (print_interfaces),
25044 (print_element_properties_info), (print_element_info):
25045 ported gstchildproxy over from 0.8
25046 ported gst-inspect fixes and enhancements over from 0.8
25048 2005-08-22 Wim Taymans <wim@fluendo.com>
25050 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25051 (gst_base_transform_handle_buffer):
25052 Also call the transform function if we have ANY caps.
25054 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25057 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25059 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25060 Don't pretend to handle seek events if the source is not seekable
25062 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25064 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25065 Remove extra parameter to debug output
25067 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25068 (gst_base_src_do_seek), (gst_base_src_activate_push):
25069 Fix seek event handling.
25071 * gst/gstpipeline.c: (gst_pipeline_change_state):
25072 * gst/gstqueue.c: (gst_queue_handle_sink_event),
25073 (gst_queue_src_activate_push):
25074 Don't start the src pad task on FLUSH_STOP if the pad
25078 2005-08-22 Wim Taymans <wim@fluendo.com>
25080 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25081 Added check for gst_static_caps_get() refcounting.
25083 2005-08-22 Wim Taymans <wim@fluendo.com>
25085 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25086 Make _static_caps_get() refcounting sane.
25088 * gst/gstelement.c: (gst_element_set_state):
25089 Add g_return_val_if_fail() to protect against segfaults.
25091 2005-08-22 Stefan Kost <ensonic@users.sf.net>
25093 * docs/gst/tmpl/gstevent.sgml:
25096 inlined remaining docs, added missing doc comments
25098 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
25100 * check/gst/gstbin.c: (GST_START_TEST):
25101 since we don't know when preroll is done, use refcount range
25103 * gst/check/gstcheck.h:
25104 add macro for checking refcount range
25106 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25108 * check/Makefile.am:
25109 clean up environment for when registry gets built versus
25110 when actual tests are run; valgrind seems to not report
25111 leaks if GST_PLUGIN_PATH is set to some specific values
25112 * check/gst/gstbin.c: (GST_START_TEST):
25113 add more refcounting checks; maybe this exposes a
25115 * common/check.mak:
25116 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25117 * gst/check/gstcheck.h:
25118 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25119 (gst_bin_change_state):
25120 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25121 add/fix debugging/whitespace
25123 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25125 * check/gst/gstevent.c: (event_probe), (test_event),
25127 Er, don't call gst_bin_watch_for_state_change you idiot.
25129 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25131 * check/Makefile.am:
25132 Use CHECK_CFLAGS and CHECK_LIBS
25133 * check/gst/gstevent.c: (event_probe), (test_event),
25136 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25137 (gst_base_src_start), (gst_base_src_stop),
25138 (gst_base_src_activate_push), (gst_base_src_activate_pull),
25139 (gst_base_src_change_state):
25140 Sprinkle gst_base_src_stop liberally around error paths to fix
25141 problems reusing a source after failed state changes.
25142 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25143 (helper_find_suggest), (gst_type_find_helper):
25144 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25146 * docs/gst/tmpl/gstevent.sgml:
25147 Migrate part of the docs from the SGML file. Wait for ensonic to
25148 tell me how I did it wrong ;)
25149 * tools/gst-typefind.c: (main):
25150 Extra robustness to state changes between files.
25152 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25154 * check/Makefile.am:
25155 don't valgrind the controller test - it's leaking - Stefan, HELP
25156 * gst/check/gstcheck.c: (gst_check_message_error),
25157 (gst_check_chain_func), (gst_check_setup_element),
25158 (gst_check_teardown_element), (gst_check_setup_src_pad),
25159 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25160 (gst_check_teardown_sink_pad):
25161 * gst/check/gstcheck.h:
25162 add a bunch of methods to set up elements, and src and sink pads
25163 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25164 * check/elements/identity.c: (setup_identity), (cleanup_identity),
25167 * gst/gstmessage.c:
25169 whitespace/doc fixes
25171 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25173 * gst/gstelement.h:
25174 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25175 be handled by the application and not always printed as well
25177 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25179 * check/Makefile.am:
25181 * gst/check/gstcheck.c: (gst_check_message_error):
25182 * gst/check/gstcheck.h:
25183 add a fail_unless_equals_int
25184 add fail_unless for error messages
25186 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25188 * check/Makefile.am:
25190 * common/Makefile.am:
25191 * common/check.mak:
25193 factor out some of the common stuff so we can use it
25195 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25197 * check/Makefile.am:
25198 * check/gst/gstiterator.c: (GST_START_TEST):
25199 * check/gst/gstsystemclock.c: (GST_START_TEST),
25200 (gst_systemclock_suite):
25201 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25203 valgrind more tests
25205 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25207 * check/elements/.cvsignore:
25208 * check/elements/gstfakesrc.c:
25209 rename to name of element
25210 * check/elements/identity.c: (chain_func), (event_func),
25211 (setup_identity), (cleanup_identity), (GST_START_TEST),
25212 (identity_suite), (main):
25213 add a test for identity
25214 * check/Makefile.am:
25215 * pkgconfig/Makefile.am:
25216 * pkgconfig/gstreamer-check.pc.in:
25217 * pkgconfig/gstreamer-check-uninstalled.pc.in:
25221 move the check stuff to a library that gets installed
25222 * check/gst-libs/controller.c: (GST_START_TEST):
25223 * check/gst-libs/gdp.c:
25224 * check/gst/gst.c: (GST_START_TEST):
25225 * check/gst/gstbin.c:
25226 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25227 * check/gst/gstbus.c:
25228 * check/gst/gstcaps.c: (GST_START_TEST):
25229 * check/gst/gstelement.c:
25230 * check/gst/gstghostpad.c:
25231 * check/gst/gstiterator.c:
25232 * check/gst/gstmessage.c:
25233 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25234 * check/gst/gstobject.c:
25235 * check/gst/gstpad.c: (GST_START_TEST):
25236 * check/gst/gststructure.c: (GST_START_TEST):
25237 * check/gst/gstsystemclock.c: (GST_START_TEST),
25238 (gst_systemclock_suite):
25239 * check/gst/gsttag.c: (gst_tag_suite):
25240 * check/gst/gstvalue.c:
25241 * check/pipelines/cleanup.c:
25242 * check/pipelines/simple_launch_lines.c:
25243 * check/states/sinks.c:
25244 change include statement
25246 * docs/gst/gstreamer-sections.txt:
25247 * docs/gst/tmpl/gstpad.sgml:
25248 document more pad stuff
25249 * gst/gstminiobject.c: (gst_mini_object_ref),
25250 (gst_mini_object_unref):
25253 2005-08-19 Stefan Kost <ensonic@users.sf.net>
25255 * docs/gst/tmpl/gst.sgml:
25257 eliminate another tmpl file, fix spelling in the long-description
25259 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25261 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25262 (test_event), (timediff), (gstevents_suite):
25263 Should fix build on 64-bit arch's
25265 2005-08-18 Andy Wingo <wingo@pobox.com>
25267 Make sure that when a pipeline goes to PLAYING, that data has
25268 actually hit the sink.
25270 * check/states/sinks.c (test_sink): A sink that doesn't get any
25271 data shouldn't return SUCCESS for going to either PLAYING or
25272 PAUSED. Test also the return values on the way back down.
25274 * gst/gstelement.c (gst_element_set_state): When changing the
25275 state of an element currently changing state asynchronously, go to
25276 lost-state after commiting the pending state. Makes future calls
25277 to get_state continue to return ASYNC.
25279 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25280 ASYNC when going to PLAYING if we still don't have preroll, as can
25281 happen with live sources.
25283 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25285 * docs/pwg/advanced-types.xml:
25286 Hack long paragraph into 2 chunks as a workaround for buggy
25287 jadetex version in sid and breezy that loops infinitely and
25290 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25292 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25293 (test_event), (timediff), (gstevents_suite):
25294 Provide more error margin in clock measurements to allow for
25295 g_get_current_time inaccuracies.
25297 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25299 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25300 (test_event), (timediff), (gstevents_suite):
25301 Fix error message output so I might be able to tell why the
25302 test works here but fails on the build farm.
25304 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25306 * check/Makefile.am:
25307 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25308 (test_event), (timediff), (gstevents_suite), (main):
25311 * docs/design/part-seeking.txt:
25312 Spelling correction
25314 * docs/gst/tmpl/gstevent.sgml:
25315 * docs/gst/tmpl/gstfakesrc.sgml:
25318 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25319 Treat a buffer-without-newsegment the same as a receiving
25320 a newsegment not in time format, and disable syncing to the clock
25323 * gst/gstbus.c: (gst_bus_set_sync_handler):
25324 Assert if anyone tries to replace the existing sync_handler for bus,
25325 as only the owner should be setting it.
25328 Have a fixed set of custom event enums with events identified by
25329 their structure name (as in 0.8), rather than a free-for-all
25330 allowing collisions between enum values from different plugins.
25332 * gst/gstpad.c: (gst_pad_class_init):
25335 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25336 Handle out-of-band downstream events from the sending thread.
25338 2005-08-17 Andy Wingo <wingo@pobox.com>
25340 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25341 play-timeout==0 to mean no timeout at all. In that case, don't
25342 bother with a get_state or a warning, just return directly, even
25345 * gst/base/gstbasetransform.c: Debug changes.
25348 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25349 ensure bins post state change messages. A bit of a hack but I can't
25350 think of a way to avoid it.
25352 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25354 2005-08-16 Andy Wingo <wingo@pobox.com>
25356 * gst/base/gstadapter.h:
25357 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25358 peek() but you own the data. Not terribly efficient atm.
25360 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25362 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25363 (gst_element_found_tags):
25365 Add two utility functions for tag handling.
25367 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25369 * docs/manual/advanced-dataaccess.xml:
25370 * docs/manual/basics-helloworld.xml:
25371 Fix docs to use _bin_add() before _link(), which fixes the examples
25372 with recent core versions (reported by Madhan Raj M
25373 <raj_madan@rediffmail.com>, #313199).
25375 2005-08-16 Wim Taymans <wim@fluendo.com>
25377 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25378 Added subtract checks.
25380 * docs/design/part-events.txt:
25381 Some more docs about newsegment
25383 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25386 * gst/gstcaps.c: (gst_caps_to_string):
25387 Add comments, cleanups.
25389 * gst/gstelement.c: (gst_element_save_thyself):
25392 * gst/gstvalue.c: (gst_value_collect_int_range),
25393 (gst_string_unwrap), (gst_value_union_int_int_range),
25394 (gst_value_union_int_range_int_range),
25395 (gst_value_intersect_int_int_range),
25396 (gst_value_intersect_int_range_int_range),
25397 (gst_value_intersect_double_double_range),
25398 (gst_value_intersect_double_range_double_range),
25399 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25400 (gst_value_subtract_int_range_int),
25401 (gst_value_subtract_double_range_double),
25402 (gst_value_subtract_double_range_double_range),
25403 (gst_value_subtract_from_list), (gst_value_subtract_list),
25404 (gst_value_can_compare), (gst_value_compare_fraction):
25405 Cleanups, add comments, remove unneeded asserts.
25407 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25409 * tools/gst-launch.c: (event_loop):
25410 don't convert NULL structures to strings
25412 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25414 * docs/gst/gstreamer-sections.txt:
25415 made some defines private
25416 * docs/gst/tmpl/gstconfig.sgml:
25417 * docs/gst/tmpl/gstqueue.sgml:
25418 * docs/gst/tmpl/gsttaglist.sgml:
25419 * docs/gst/tmpl/gsttypes.sgml:
25420 * docs/gst/tmpl/gstutils.sgml:
25421 * docs/pwg/appendix-porting.xml:
25422 * gst/base/gstbasesink.h:
25423 * gst/base/gstbasesrc.c:
25424 * gst/base/gstbasesrc.h:
25425 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25426 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25427 * gst/gstelement.c: (gst_element_class_init):
25428 * gst/gstpad.c: (gst_pad_class_init):
25429 * gst/gstqueue.c: (gst_queue_class_init):
25430 * gst/gstxml.c: (gst_xml_class_init):
25431 documented all undocumented signal inline
25432 * libs/gst/controller/gst-controller.h:
25435 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25437 * docs/pwg/appendix-porting.xml:
25438 Document _set_link_function -> _set_setcaps_function.
25440 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25442 * check/Makefile.am:
25443 add a .check target for running the check
25444 * check/gst-libs/controller.c: (GST_START_TEST):
25446 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25447 complete checks for gstbuffer; would be nice if I could get the
25448 gcov stuff to work so I can see if I actually completed gstbuffer.c
25449 * check/gstcheck.h:
25450 add ASSERT_BUFFER_REFCOUNT
25452 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25454 * docs/gst/gstreamer-sections.txt:
25455 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25457 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25458 spew out a warning if a tag that is already registered
25459 is re-registered, unless it is re-registered with a
25460 different type (#308438).
25462 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25464 * docs/pwg/appendix-porting.xml:
25465 * docs/pwg/building-state.xml:
25466 Add some paragraphs about state changes in 0.9 to the PWG
25467 and the porting guide, in particular about the new meaning
25468 of GST_STATE_PAUSED and how to write state change functions
25469 with concurrent access by multiple threads in mind.
25471 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25473 * docs/gst/gstreamer-docs.sgml:
25474 * docs/libs/gstreamer-libs-docs.sgml:
25475 added deprecation and since indexes
25476 * libs/gst/controller/gst-controller.c:
25477 * libs/gst/controller/gst-helper.c:
25481 2005-08-11 Wim Taymans <wim@fluendo.com>
25483 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25484 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25485 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25486 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25487 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25488 (gst_ghost_pad_set_target):
25489 Actually implement (re)setting the target on a ghostpad
25490 as described in the docs.
25492 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25494 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25495 Check whether GST_DEBUG_NO_COLOR environment variable is
25496 set and disable coloured debug output if that is the case.
25498 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25500 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25501 (gst_type_find_helper):
25502 The memory returned by gst_type_find_peek() needs to
25503 stay valid until the end of a typefind function, and
25504 typefind functions may keep results from different
25505 offsets around, so we can't just unref the buffer from
25506 the previous _peek(), but have to save all buffers
25507 returned by _peek() until typefinding is done and only
25510 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25512 * docs/gst/gstreamer-sections.txt:
25514 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25516 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25518 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25519 Fix a pretty good memleak.
25521 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25523 * gst/gstiterator.h:
25524 Fix wrong include and 'make distcheck'.
25526 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25528 * gst/gstbin.c: (bin_bus_handler):
25529 Use gst_element_post_message() instead.
25531 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25533 * gst/base/gstadapter.h:
25534 * gst/base/gstbasesink.h:
25535 * gst/base/gstbasesrc.h:
25536 * gst/base/gstbasetransform.h:
25537 * gst/base/gstcollectpads.h:
25538 * gst/base/gstpushsrc.h:
25539 * gst/gstiterator.h:
25540 Add padding to our base elements' class and instance structs and
25541 to GstIterator (you will need to rebuild all plugins and apps!)
25543 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25545 * gst/gstbin.c: (bin_bus_handler):
25546 Make default message forwarding from child->bus to bin->bus
25547 threadsafe and make it not emit warnings if the parent has no bus.
25549 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25551 * gst/gstelement.c: (activate_pads):
25552 On paused->ready, set pad->caps to NULL, as is the documented
25553 behaviour in this state change. Fixes playback of series of
25554 media files when visualization is enabled in Totem.
25556 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25558 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25559 Allow NULL as filter-caps (which means "any").
25561 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25563 * docs/libs/gstreamer-libs-sections.txt:
25564 * libs/gst/controller/gst-controller.c:
25565 * libs/gst/controller/gst-controller.h:
25566 * libs/gst/controller/gst-helper.c:
25567 adding more entries to the docs and fix small doc-bugs
25569 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25571 * docs/gst/gstreamer-docs.sgml:
25572 * docs/gst/gstreamer-sections.txt:
25573 * docs/gst/gstreamer.types:
25574 * docs/gst/tmpl/gstbasesink.sgml:
25575 * docs/gst/tmpl/gstbasesrc.sgml:
25576 * docs/gst/tmpl/gstbasetransform.sgml:
25577 * docs/gst/tmpl/gstfakesrc.sgml:
25578 * gst/base/gstcollectpads.c:
25579 * gst/base/gstcollectpads.h:
25580 * libs/gst/controller/gst-controller.c:
25581 * libs/gst/controller/gst-controller.h:
25582 * libs/gst/controller/gst-helper.c:
25583 * libs/gst/controller/gst-interpolation.c:
25584 * libs/gst/controller/lib.c:
25585 added long/short desc for controller docs
25586 added collectpads base class docs
25587 added correct includes to base-class docs
25589 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25591 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25592 (gst_test_mono_source_set_property),
25593 (gst_test_mono_source_class_init), (GST_START_TEST),
25594 (gst_controller_suite):
25595 * docs/gst/gstreamer-docs.sgml:
25596 * docs/gst/gstreamer-sections.txt:
25597 * docs/gst/gstreamer.types:
25598 * docs/libs/gstreamer-libs-docs.sgml:
25599 * docs/libs/gstreamer-libs-sections.txt:
25600 * gst/base/gstadapter.c:
25601 * libs/gst/controller/gst-controller.c:
25602 (gst_controlled_property_new), (gst_controlled_property_free),
25603 (gst_controller_new_valist),
25604 (gst_controller_remove_properties_valist),
25605 (gst_controller_sink_values), (_gst_controller_finalize):
25606 * libs/gst/controller/gst-controller.h:
25607 * libs/gst/controller/gst-helper.c:
25608 (gst_object_control_properties), (gst_object_uncontrol_properties),
25609 (gst_object_get_controller), (gst_object_set_controller),
25610 (gst_object_sink_values), (gst_object_get_value_arrays),
25611 (gst_object_get_value_array):
25612 more tests (and fixes) for the controller
25613 more docs for the controller
25614 integrated companies docs for the adapter
25616 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25618 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25619 (GST_START_TEST), (fakesrc_suite):
25620 add tests for sizetype
25622 2005-08-04 Andy Wingo <wingo@pobox.com>
25624 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25625 fixes buffer_alloc proxying among other things.
25627 * gst/base/gstbasetransform.c:
25628 * gst/base/gstbasetransform.h:
25629 Revert patch to gstbasetransform from 7-28 removing
25632 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25633 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25634 Semantics changed, should return not the size of the output buffer
25635 but the byte size of a buffer with a given caps.
25637 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25639 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25640 out) are not the pad caps until setcaps finishes.
25641 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25642 not-in-place case as well. Deal with changing from in-place to
25643 not-in-place within calling pad_alloc_buffer. Still a bit
25644 concerned about the overhead here...
25646 2005-08-03 Andy Wingo <wingo@pobox.com>
25648 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25649 fixating is an error.
25651 2005-08-04 Edward Hervey <edward@fluendo.com>
25653 * gst/base/gstadapter.h:
25654 Added gst_adapter_get_type() to the header
25656 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25658 * check/Makefile.am:
25659 * check/gst-libs/controller.c:
25660 * libs/gst/controller/gst-controller.c:
25661 (gst_controller_new_valist):
25662 added check test suite for the controller
25663 * gst/base/gstpushsrc.c:
25666 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25668 * docs/gst/Makefile.am:
25669 * docs/gst/gstreamer-docs.sgml:
25670 * docs/gst/gstreamer-sections.txt:
25671 * docs/gst/gstreamer.types:
25672 * docs/gst/tmpl/gstfakesrc.sgml:
25674 * gst/base/gstbasesink.c:
25675 * gst/base/gstbasesink.h:
25676 * gst/base/gstbasesrc.c:
25677 * gst/base/gstbasesrc.h:
25678 * gst/base/gstbasetransform.c:
25679 * gst/base/gstpushsrc.c:
25680 * gst/base/gstpushsrc.h:
25681 add short/long description docs to base classes
25682 add pushsrc to the docs
25683 remove consolidated doc fragments
25685 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25688 * docs/libs/Makefile.am:
25689 * docs/libs/gstreamer-libs-docs.sgml:
25690 * docs/libs/gstreamer-libs-sections.txt:
25691 * docs/libs/gstreamer-libs.types:
25692 * examples/Makefile.am:
25693 * examples/controller/.cvsignore:
25694 * examples/controller/Makefile.am:
25695 * examples/controller/audio-example.c: (main):
25696 * libs/gst/Makefile.am:
25697 * libs/gst/controller/.cvsignore:
25698 * libs/gst/controller/Makefile.am:
25699 * libs/gst/controller/gst-controller.c:
25700 (on_object_controlled_property_changed), (gst_timed_value_compare),
25701 (gst_timed_value_find),
25702 (gst_controlled_property_set_interpolation_mode),
25703 (gst_controlled_property_new), (gst_controlled_property_free),
25704 (gst_controller_find_controlled_property),
25705 (gst_controller_new_valist), (gst_controller_new),
25706 (gst_controller_remove_properties_valist),
25707 (gst_controller_remove_properties), (gst_controller_set),
25708 (gst_controller_set_from_list), (gst_controller_unset),
25709 (gst_controller_get), (gst_controller_get_all),
25710 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25711 (gst_controller_get_value_array),
25712 (gst_controller_set_interpolation_mode),
25713 (_gst_controller_finalize), (_gst_controller_init),
25714 (_gst_controller_class_init), (gst_controller_get_type):
25715 * libs/gst/controller/gst-controller.h:
25716 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25717 (g_object_uncontrol_properties), (g_object_get_controller),
25718 (g_object_set_controller), (g_object_sink_values),
25719 (g_object_get_value_arrays), (g_object_get_value_array):
25720 * libs/gst/controller/gst-interpolation.c:
25721 (gst_controlled_property_find_timed_value_node),
25722 (interpolate_none_get), (interpolate_trigger_get),
25723 (interpolate_trigger_get_value_array):
25724 * libs/gst/controller/lib.c: (gst_controller_init):
25725 * pkgconfig/Makefile.am:
25726 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25727 * pkgconfig/gstreamer-control.pc.in:
25728 * testsuite/Makefile.am:
25729 * testsuite/controller/.cvsignore:
25730 * testsuite/controller/Makefile.am:
25731 * testsuite/controller/interpolator.c: (main):
25732 added controller code
25733 removed dparam pc files
25735 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25736 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25737 (gst_collectpads_stop):
25738 Broadcast the condition when shutting down, to make sure we wake all
25739 threads up. Shut down pads on finalize, for safety.
25741 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25742 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25743 (gst_base_transform_handle_buffer),
25744 (gst_base_transform_change_state):
25745 Handle PAUSED->READY->PAUSED transition after negotiation
25747 * gst/gstmessage.c: (gst_message_init):
25748 Extra piece of debug for new messages.
25750 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25753 * docs/gst/tmpl/gstbasesrc.sgml:
25754 * docs/gst/tmpl/gstelement.sgml:
25755 * docs/gst/tmpl/gstevent.sgml:
25756 * docs/gst/tmpl/gstfakesrc.sgml:
25757 * docs/gst/tmpl/gstformat.sgml:
25758 * docs/gst/tmpl/gstghostpad.sgml:
25759 * docs/gst/tmpl/gstpad.sgml:
25760 * docs/gst/tmpl/gstquery.sgml:
25761 * docs/gst/tmpl/gststructure.sgml:
25762 * docs/gst/tmpl/gsttaglist.sgml:
25763 * docs/gst/tmpl/gstvalue.sgml:
25764 * docs/libs/gstreamer-libs-docs.sgml:
25765 * docs/libs/gstreamer-libs-sections.txt:
25766 * docs/libs/gstreamer-libs.types:
25767 * libs/gst/Makefile.am:
25768 * libs/gst/control/.cvsignore:
25769 * libs/gst/control/Makefile.am:
25770 * libs/gst/control/control.c:
25771 * libs/gst/control/control.h:
25772 * libs/gst/control/dparam.c:
25773 * libs/gst/control/dparam.h:
25774 * libs/gst/control/dparam_smooth.c:
25775 * libs/gst/control/dparam_smooth.h:
25776 * libs/gst/control/dparamcommon.h:
25777 * libs/gst/control/dparammanager.c:
25778 * libs/gst/control/dparammanager.h:
25779 * libs/gst/control/dplinearinterp.c:
25780 * libs/gst/control/dplinearinterp.h:
25781 * libs/gst/control/unitconvert.c:
25782 * libs/gst/control/unitconvert.h:
25783 * testsuite/Makefile.am:
25784 * testsuite/dynparams/.cvsignore:
25785 * testsuite/dynparams/Makefile.am:
25786 * testsuite/dynparams/dparamstest.c:
25787 * tools/Makefile.am:
25788 * tools/gst-inspect.c: (print_element_info), (main):
25789 * tools/gst-xmlinspect.c: (print_element_info), (main):
25790 deactivate and remove dparams (libgstcontrol)
25792 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25794 * gst/elements/gsttypefindelement.c:
25795 (gst_type_find_element_have_type), (gst_type_find_element_init),
25796 (stop_typefinding), (gst_type_find_element_handle_event),
25797 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25798 * gst/elements/gsttypefindelement.h:
25799 Set caps on all outgoing buffers, not just the first one.
25801 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25803 * gst/elements/gsttypefindelement.c:
25804 (gst_type_find_element_have_type),
25805 (gst_type_find_element_check_set_buffer_caps),
25806 (gst_type_find_element_init), (stop_typefinding),
25807 (gst_type_find_element_handle_event),
25808 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25809 * gst/elements/gsttypefindelement.h:
25810 Set caps on first outgoing buffer when we've found the type.
25812 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25814 * docs/gst/gstreamer-docs.sgml:
25815 * docs/gst/gstreamer-sections.txt:
25816 * docs/gst/tmpl/gstscheduler.sgml:
25817 * docs/gst/tmpl/gstschedulerfactory.sgml:
25818 Remove some old cruft from docs.
25820 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25823 Fix inline docs for GstPadLinkReturn.
25825 * gst/gststructure.c: (gst_structure_has_name):
25826 * gst/gststructure.h:
25827 * docs/gst/gstreamer-sections.txt:
25828 New API: gst_structure_has_name().
25830 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25833 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25834 and _LARGEFILE_SOURCE in config.h as required. Do not
25835 export those flags in our .pc files any longer (#142209).
25837 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25839 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25840 (gst_file_sink_do_seek), (gst_file_sink_event),
25841 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25842 Redo seek/tell calls with large file support in mind; add some
25843 debugging messages; add log message that tells us when large
25844 file support is unavailable or not enabled for some reason.
25846 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25847 Add log message that tells us when large file support
25848 is unavailable or not enabled for some reason.
25850 2005-07-29 Wim Taymans <wim@fluendo.com>
25852 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25853 Added test for removing an element with ghostpad from a bin.
25854 Fixed test as current implementation does the right thing.
25856 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25857 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25858 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25859 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25860 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25861 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25862 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25863 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25864 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25865 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25866 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25867 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25868 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25869 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25870 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25871 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25872 * gst/gstghostpad.h:
25873 Clean up ghostpads, remove properties for internal stuff.
25876 Prepare for switching targets, not all use cases work yet.
25878 2005-07-29 Wim Taymans <wim@fluendo.com>
25880 * docs/design/part-gstghostpad.txt:
25883 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25884 (gst_bin_remove_func):
25885 Unlinking pads while holding the bin LOCK is not a good
25888 * gst/gstpad.c: (gst_pad_class_init),
25889 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25890 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25891 No prob setting template after creating the pad.
25893 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25895 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25896 (gst_bus_peek), (gst_bus_source_dispatch),
25897 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25898 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25899 gst_bus_poll may be called from other threads. Handle
25900 this nicely by not making poll_data disappear off the
25901 stack once gst_bus_poll returns.
25902 gst_bus_peek now increments the refcount on the returned
25905 2005-07-29 Wim Taymans <wim@fluendo.com>
25907 * docs/design/part-gstghostpad.txt:
25908 Overview of current GhostPad datastructures and use
25909 cases for changing the target.
25911 2005-07-28 Wim Taymans <wim@fluendo.com>
25913 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25914 Added checks for hierarchy consistency whan adding linked
25917 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25918 Added check to test element scheduling without bin/pipeline.
25920 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25921 First add elements to bin, then link.
25923 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25924 (gst_bin_remove_func):
25925 Unlink pads from elements added/removed from bin to maintain
25926 hierarchy consistency.
25928 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25930 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25931 (gst_base_transform_handle_buffer):
25932 * gst/base/gstbasetransform.h:
25933 Remove broken delay_configure (fixes renegotiation of software
25934 scaling pipelines); remove some leftover printf()s.
25936 2005-07-28 Wim Taymans <wim@fluendo.com>
25938 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25939 Added some more tests for wrong hierarchy
25941 * docs/design/part-overview.txt:
25944 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25947 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25948 (gst_element_dispose):
25949 Some more cleanups.
25951 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25952 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25953 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25954 (gst_pad_set_caps), (gst_pad_send_event):
25955 Check for correct hierarchy when linking pads. Moving to
25956 strict requirement for ghostpads when linking elements in
25960 Clean ups. Added WRONG_HIERARCHY return value.
25962 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25964 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25965 Better debug if no transform is possible.
25967 2005-07-27 Wim Taymans <wim@fluendo.com>
25969 * docs/random/wtay/network-transp:
25970 Some old doc I had.
25972 2005-07-27 Wim Taymans <wim@fluendo.com>
25974 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25975 (gst_dp_event_from_packet):
25976 Fix serialization of seek events.
25978 2005-07-27 Wim Taymans <wim@fluendo.com>
25980 * check/gst-libs/gdp.c: (GST_START_TEST):
25981 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25982 Fix compilation and fix event serialization.
25984 2005-07-27 Wim Taymans <wim@fluendo.com>
25987 * docs/design/part-TODO.txt:
25988 * docs/design/part-events.txt:
25991 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25992 (gst_base_sink_event), (gst_base_sink_do_sync),
25993 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25994 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25995 (gst_base_src_do_seek), (gst_base_src_event_handler),
25996 (gst_base_src_loop):
25997 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25998 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25999 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26000 (gst_base_transform_event), (gst_base_transform_handle_buffer),
26001 (gst_base_transform_set_passthrough),
26002 (gst_base_transform_is_passthrough):
26003 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26004 * gst/elements/gstfilesink.c: (gst_file_sink_event):
26010 * gst/gstelement.c: (gst_element_seek):
26011 * gst/gstelement.h:
26012 Update gst_element_seek.
26014 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26015 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26016 (gst_event_new_flush_start), (gst_event_new_flush_stop),
26017 (gst_event_new_eos), (gst_event_new_newsegment),
26018 (gst_event_parse_newsegment), (gst_event_new_tag),
26019 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26020 (gst_event_parse_qos), (gst_event_new_seek),
26021 (gst_event_parse_seek), (gst_event_new_navigation):
26023 Make GstEvent use GstStructure. Add parsing code, make sure the
26024 API is sufficiently generic.
26025 Mark possible directions of events and serialization.
26027 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26028 (_gst_message_copy), (gst_message_new_segment_start),
26029 (gst_message_new_segment_done), (gst_message_new_custom),
26030 (gst_message_parse_segment_start),
26031 (gst_message_parse_segment_done):
26034 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26035 (gst_pad_set_caps), (gst_pad_send_event):
26036 Update for new events.
26037 Catch events sent in wrong directions.
26039 * gst/gstqueue.c: (gst_queue_link_src),
26040 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26041 (gst_queue_handle_src_query):
26046 Remove event code from this file.
26048 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26049 (gst_dp_event_from_packet):
26052 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26054 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26055 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26056 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26057 Make debugging actually useful.
26059 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26061 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26062 (gst_pad_fixate_caps):
26063 Implement default fixation once again, so that gst_pad_fixate()
26064 actually does anything at all. This probably needs to be some
26065 sort of a last resort, and use profile-based fixation first, but
26066 since that doesn't exist yet, this is the best we have. Fixes
26067 visualization in Totem.
26069 2005-07-22 Wim Taymans <wim@fluendo.com>
26071 * docs/design/part-events.txt:
26074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26075 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26076 (gst_base_sink_activate_pull):
26077 Some more comments.
26079 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26080 (gst_fake_src_create):
26081 Fix handoff marshall.
26083 * gst/elements/gstidentity.c: (gst_identity_class_init),
26084 (gst_identity_transform_ip):
26085 We're a real inplace element.
26087 * gst/gstbus.c: (gst_bus_post):
26088 Added some comments.
26090 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26091 * tests/muxing/case1.c: (main):
26092 * tests/sched/dynamic-pipeline.c: (main):
26093 * tests/sched/interrupt1.c: (main):
26094 * tests/sched/interrupt2.c: (main):
26095 * tests/sched/interrupt3.c: (main):
26096 * tests/sched/runxml.c: (main):
26097 * tests/sched/sched-stress.c: (main):
26098 * tests/seeking/seeking1.c: (event_received), (main):
26099 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26101 * tests/threadstate/threadstate3.c: (main):
26102 * tests/threadstate/threadstate4.c: (main):
26103 * tests/threadstate/threadstate5.c: (main):
26106 2005-07-21 Wim Taymans <wim@fluendo.com>
26108 * docs/design/part-seeking.txt:
26109 Some small additions.
26111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26112 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26113 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26114 * gst/base/gstbasesink.h:
26115 discont values are gint64, handle the math correctly.
26117 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26118 Make the basesrc report error if the source pad is not linked.
26120 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26121 (gst_queue_loop), (gst_queue_handle_src_query),
26122 (gst_queue_src_activate_push):
26123 Make queue collect data even if the srcpad is not linked.
26124 Start pushing out data as soon as it is linked.
26126 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26128 Added gst_flow_get_name() to ease error reporting.
26130 2005-07-20 Wim Taymans <wim@fluendo.com>
26132 * gst/gstmessage.c: (gst_message_new_segment_start),
26133 (gst_message_new_segment_done), (gst_message_parse_segment_start),
26134 (gst_message_parse_segment_done):
26135 * gst/gstmessage.h:
26136 Added a bunch of messages for advanced seeking.
26138 * gst/parse/grammar.y:
26139 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26140 (gst_dpman_state_changed):
26141 Fix some new-pad -> pad-added signals
26143 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26145 * docs/manual/appendix-porting.xml:
26146 * docs/pwg/appendix-porting.xml:
26147 Document new-pad/state-change signal renames and the FixedList
26150 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26152 * docs/manual/advanced-autoplugging.xml:
26153 * docs/manual/basics-helloworld.xml:
26154 * docs/manual/basics-pads.xml:
26155 * docs/random/ds/0.9-suggested-changes:
26156 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26157 * gst/gstelement.h:
26161 * gst/gststructure.c: (gst_structure_value_get_generic_type),
26162 (gst_structure_parse_array), (gst_structure_parse_value):
26163 * gst/gstvalue.c: (gst_type_is_fixed),
26164 (gst_value_list_prepend_value), (gst_value_list_append_value),
26165 (gst_value_list_get_size), (gst_value_list_get_value),
26166 (gst_value_transform_array_string), (gst_value_serialize_array),
26167 (gst_value_deserialize_array), (gst_value_intersect_array),
26168 (gst_value_is_fixed), (_gst_value_initialize):
26170 GstElement::new-pad -> pad-added, GstElement::state-change ->
26171 state-changed, GstValueFixedList -> GstValueArray, add format and
26172 flags as their own arguments in gst_element_seek() (should improve
26173 "bindeability"), remove function generators since they don't work
26174 under a whole bunch of compilers (they were deprecated already
26177 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26179 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26180 (_gst_debug_register_funcptr):
26182 Fix illegal cast on some platforms (#309253).
26184 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26186 * gst/gstmessage.c: (gst_message_new_custom):
26187 * gst/gstmessage.h:
26188 Add _new_custom, make _new_application a macro to _new_custom.
26190 2005-07-20 Wim Taymans <wim@fluendo.com>
26192 * gst/base/gstbasesrc.c: (gst_base_src_init),
26193 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26194 * gst/base/gstbasesrc.h:
26195 Add a gboolean to decide when to push out a discont.
26197 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26198 (gst_queue_loop), (gst_queue_handle_src_query),
26199 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26200 (gst_queue_set_property), (gst_queue_get_property):
26203 * tests/threadstate/threadstate1.c: (main):
26204 Make a thread test compile and run... very silly..
26207 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26209 * docs/manual/appendix-porting.xml:
26210 Mention removal of libgstgconf-0.9.la and existence of gconf
26213 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26215 * docs/pwg/advanced-clock.xml:
26216 * docs/pwg/appendix-porting.xml:
26217 * docs/pwg/intro-preface.xml:
26218 * docs/pwg/other-base.xml:
26219 * docs/pwg/other-manager.xml:
26220 * docs/pwg/other-nton.xml:
26221 * docs/pwg/other-ntoone.xml:
26222 * docs/pwg/other-oneton.xml:
26223 * docs/pwg/pwg.xml:
26224 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26225 demuxer), remove n-to-n (was never written), fix some code examples
26226 and links and update the porting section to include all this.
26228 2005-07-19 Wim Taymans <wim@fluendo.com>
26230 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26231 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26232 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26233 (gst_queue_src_activate_push), (gst_queue_change_state),
26234 (gst_queue_get_property):
26236 Propagate GstFlowReturn more intelligently upstream and output
26237 an ERROR/EOS when streaming stopped due to fatal error.
26239 2005-07-19 Wim Taymans <wim@fluendo.com>
26241 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26242 Don't block forever for the state change to complete, the
26243 pipeline already did with a sensible timeout.
26245 2005-07-19 Wim Taymans <wim@fluendo.com>
26247 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26248 Make sure we never call the create function is we
26251 2005-07-19 Andy Wingo <wingo@pobox.com>
26253 * gst/parse/parse.l: Attempt to solve bug #172815.
26255 2005-07-19 Wim Taymans <wim@fluendo.com>
26257 * docs/design/part-clocks.txt:
26258 * docs/design/part-events.txt:
26259 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26260 Small docs updates.
26261 Only update the seeking values when we are not
26264 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26266 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26267 Oops, ignore the result of gst_pad_push_event here.
26269 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26271 * gst/base/gstbasesrc.c: (gst_base_src_loop),
26272 (gst_base_src_activate_push):
26273 Send discont event from the loop function, as pads
26274 aren't activated yet in the activate_push handler.
26276 * gst/gstbin.c: (bin_bus_handler):
26277 Don't leak element name.
26279 2005-07-18 Andy Wingo <wingo@pobox.com>
26281 * configure.ac: Use AS_LIBTOOL_TAGS.
26283 2005-07-18 Wim Taymans <wim@fluendo.com>
26285 * docs/gst/gstreamer.types:
26286 Remove deleted types.
26288 2005-07-18 Wim Taymans <wim@fluendo.com>
26290 * check/elements/gstfakesrc.c: (GST_START_TEST):
26293 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26294 (init_popt_callback):
26296 * gst/gst_private.h:
26297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26298 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26301 * gst/gstconfig.h.in:
26302 * gst/gstelement.c: (gst_element_class_init),
26303 (gst_element_set_base_time), (gst_element_get_base_time),
26304 (iterator_fold_with_resync), (gst_element_change_state),
26305 (gst_element_dispose), (gst_element_get_bus):
26306 * gst/gstelement.h:
26307 * gst/gstelementfactory.h:
26308 * gst/gsterror.c: (_gst_core_errors_init):
26311 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26313 * gst/gstinfo.c: (_gst_debug_init):
26314 * gst/gstmessage.c: (_gst_message_copy):
26315 * gst/gstmessage.h:
26316 * gst/gstminiobject.h:
26319 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26320 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26323 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26324 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26325 (gst_pipeline_get_last_stream_time):
26326 * gst/gstpipeline.h:
26327 * gst/gstpluginfeature.h:
26329 * gst/gstscheduler.c:
26330 * gst/gstscheduler.h:
26331 * gst/gststructure.h:
26332 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26333 (gst_task_finalize), (gst_task_func), (gst_task_create),
26334 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26335 (gst_task_stop), (gst_task_pause):
26337 * gst/gsttypefind.h:
26339 * gst/registries/gstlibxmlregistry.c: (load_feature),
26340 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26341 * gst/registries/gstxmlregistry.c:
26342 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26343 * gst/schedulers/threadscheduler.c:
26344 * libs/gst/control/dparammanager.h:
26345 * tools/gst-inspect.c: (print_element_list),
26346 (print_plugin_features), (print_element_features):
26347 * tools/gst-xmlinspect.c: (print_element_list),
26348 (print_plugin_info), (main):
26349 Removed plugable schedulers.
26350 Removed Scheduler/Manager from elements.
26351 Removed gsttypes.h, rearranged includes.
26352 Removed dependency pad<->element, element<>pipeline, and
26353 various others, fix includes.
26354 implement gst_pad_get_parent() with gst_object_get_parent()
26355 Make GstTask sefcontained.
26356 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26358 Fix endless loop in iterator_fold_with_resync.
26361 2005-07-18 Wim Taymans <wim@fluendo.com>
26367 2005-07-18 Wim Taymans <wim@fluendo.com>
26370 No more cothreads.h
26372 2005-07-18 Wim Taymans <wim@fluendo.com>
26376 Let's remove these.
26378 2005-07-18 Wim Taymans <wim@fluendo.com>
26380 * docs/design/part-dynamic.txt:
26381 * docs/design/part-events.txt:
26382 * docs/design/part-seeking.txt:
26383 Some more docs in the works.
26385 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26386 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26387 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26388 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26389 (gst_base_transform_handle_buffer),
26390 (gst_base_transform_sink_activate_push),
26391 (gst_base_transform_src_activate_pull),
26392 (gst_base_transform_set_passthrough),
26393 (gst_base_transform_is_passthrough):
26396 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26399 * gst/gstevent.c: (gst_event_finalize):
26402 * gst/gstutils.c: (gst_element_unlink),
26403 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26404 (gst_pad_proxy_setcaps):
26406 Add _get_parent_element() to get a pads parent as an element.
26408 2005-07-18 Wim Taymans <wim@fluendo.com>
26410 * check/gst/gstbin.c: (GST_START_TEST):
26413 2005-07-18 Wim Taymans <wim@fluendo.com>
26415 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26416 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26417 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26418 (gst_base_sink_event), (gst_base_sink_do_sync),
26419 (gst_base_sink_chain), (gst_base_sink_loop),
26420 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26421 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26423 Fix logic for returning ASYNC when not prerolled.
26425 2005-07-18 Wim Taymans <wim@fluendo.com>
26427 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26428 Fix nasty refcount bug.
26430 2005-07-16 Philippe Khalaf <burger@speedy.org>
26432 * gst/elements/gstfdsrc.c:
26433 * gst/elements/gstfdsrc.h:
26434 * gst/elements/gstelements.c:
26435 * gst/elements/Makefile.am:
26436 Ported fdsrc to 0.9.
26438 2005-07-16 Wim Taymans <wim@fluendo.com>
26440 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26441 (gst_base_sink_do_sync):
26444 2005-07-16 Wim Taymans <wim@fluendo.com>
26446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26447 (gst_base_sink_event), (gst_base_sink_get_times),
26448 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26449 * gst/base/gstbasesink.h:
26450 Store and use discont values when syncing buffers as described
26453 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26454 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26455 (gst_base_src_activate_push):
26456 Push discont event when starting.
26458 * gst/elements/gstidentity.c: (gst_identity_transform):
26461 * gst/gstbin.c: (gst_bin_change_state):
26462 Small cleanups in base_time distribution.
26464 * gst/gstelement.c: (gst_element_set_base_time),
26465 (gst_element_get_base_time), (gst_element_change_state):
26466 * gst/gstelement.h:
26467 Added methods for the base_time of the element.
26470 * gst/gstpipeline.c: (gst_pipeline_send_event),
26471 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26472 (gst_pipeline_get_last_stream_time):
26473 * gst/gstpipeline.h:
26475 Handle seeking as described in design doc, remove stream_time
26477 Cleanups clock and stream_time selection code. Added accessors
26478 for the stream_time.
26481 2005-07-16 Andy Wingo <wingo@pobox.com>
26483 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26486 2005-07-16 Wim Taymans <wim@fluendo.com>
26488 * check/gst/gstbin.c: (GST_START_TEST):
26489 Make elements silent as the deep_notify refs the
26490 parent, which might make the test fail.
26492 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26493 Don't hold the lock for too long.
26495 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26497 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26498 Don't unref the caps we passed to gst_caps_make_writable() after
26499 passing them. gst_caps_make_writable() will do that for us.
26501 2005-07-15 Andy Wingo <wingo@pobox.com>
26503 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26506 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26507 own marshalling function for the handoff signal. Properly type the
26508 buffer as a buffer. Fixes some warnings. Should do a more general
26510 (gst_identity_class_init): Plug into the right marshaller.
26512 2005-07-15 Wim Taymans <wim@fluendo.com>
26514 * docs/design/part-TODO.txt:
26515 * docs/design/part-clocks.txt:
26516 * docs/design/part-element-sink.txt:
26517 * docs/design/part-events.txt:
26518 * docs/design/part-gstpipeline.txt:
26519 Updated docs, mostly DISCONT related.
26521 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26523 * docs/pwg/building-pads.xml:
26524 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26526 2005-07-15 Andy Wingo <wingo@pobox.com>
26528 * tools/gst-typefind.c: Update, add copyright block.
26530 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26531 Normalize and truncate caps before fixation.
26534 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26535 discards all but the first structure from its argument.
26537 2005-07-15 Wim Taymans <wim@fluendo.com>
26539 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26540 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26541 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26542 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26543 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26544 (gst_base_transform_chain), (gst_base_transform_change_state),
26545 (gst_base_transform_set_passthrough),
26546 (gst_base_transform_is_passthrough):
26547 * gst/base/gstbasetransform.h:
26548 Make passthrough work using the bufferpools.
26549 Changed API a bit, subclasses have to write into a buffer
26550 provided by the base class.
26551 More debug info in nego functions.
26553 * gst/elements/gstidentity.c: (gst_identity_init),
26554 (gst_identity_transform):
26555 Port to new base class.
26557 2005-07-15 Wim Taymans <wim@fluendo.com>
26559 * gst/gstmessage.c: (gst_message_new_state_changed):
26560 * tools/gst-launch.c: (event_loop), (main):
26561 Totally dump messages in -launch with the -m option.
26562 Fix message name for State messages,
26564 2005-07-14 Wim Taymans <wim@fluendo.com>
26566 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26567 Post error messages on errors.
26569 2005-07-14 Wim Taymans <wim@fluendo.com>
26571 * gst/gstcaps.c: (gst_caps_do_simplify):
26575 Define error for stream stopped.
26577 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26578 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26579 Do proper return values.
26581 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26582 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26583 (gst_pad_get_range):
26584 Better return values.
26587 Reorganise return values, add macro to check for fatal errors.
26589 * gst/gstqueue.c: (gst_queue_chain):
26590 Return proper GstFlowReturn values,
26592 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26594 * docs/gst/gstreamer-sections.txt:
26595 * docs/gst/gstreamer.types:
26596 * docs/gst/tmpl/gst.sgml:
26597 * docs/gst/tmpl/gstbasesink.sgml:
26598 * docs/gst/tmpl/gstbasesrc.sgml:
26599 * docs/gst/tmpl/gstbasetransform.sgml:
26600 * docs/gst/tmpl/gstbin.sgml:
26601 * docs/gst/tmpl/gstbuffer.sgml:
26602 * docs/gst/tmpl/gstcaps.sgml:
26603 * docs/gst/tmpl/gstclock.sgml:
26604 * docs/gst/tmpl/gstcompat.sgml:
26605 * docs/gst/tmpl/gstconfig.sgml:
26606 * docs/gst/tmpl/gstelement.sgml:
26607 * docs/gst/tmpl/gstelementdetails.sgml:
26608 * docs/gst/tmpl/gstelementfactory.sgml:
26609 * docs/gst/tmpl/gstenumtypes.sgml:
26610 * docs/gst/tmpl/gsterror.sgml:
26611 * docs/gst/tmpl/gstevent.sgml:
26612 * docs/gst/tmpl/gstfakesink.sgml:
26613 * docs/gst/tmpl/gstfakesrc.sgml:
26614 * docs/gst/tmpl/gstfilesink.sgml:
26615 * docs/gst/tmpl/gstfilesrc.sgml:
26616 * docs/gst/tmpl/gstfilter.sgml:
26617 * docs/gst/tmpl/gstformat.sgml:
26618 * docs/gst/tmpl/gstghostpad.sgml:
26619 * docs/gst/tmpl/gstimplementsinterface.sgml:
26620 * docs/gst/tmpl/gstindex.sgml:
26621 * docs/gst/tmpl/gstindexfactory.sgml:
26622 * docs/gst/tmpl/gstinfo.sgml:
26623 * docs/gst/tmpl/gstiterator.sgml:
26624 * docs/gst/tmpl/gstmacros.sgml:
26625 * docs/gst/tmpl/gstmemchunk.sgml:
26626 * docs/gst/tmpl/gstminiobject.sgml:
26627 * docs/gst/tmpl/gstobject.sgml:
26628 * docs/gst/tmpl/gstpad.sgml:
26629 * docs/gst/tmpl/gstpadtemplate.sgml:
26630 * docs/gst/tmpl/gstparse.sgml:
26631 * docs/gst/tmpl/gstpipeline.sgml:
26632 * docs/gst/tmpl/gstplugin.sgml:
26633 * docs/gst/tmpl/gstpluginfeature.sgml:
26634 * docs/gst/tmpl/gstquery.sgml:
26635 * docs/gst/tmpl/gstqueue.sgml:
26636 * docs/gst/tmpl/gstregistry.sgml:
26637 * docs/gst/tmpl/gstregistrypool.sgml:
26638 * docs/gst/tmpl/gstscheduler.sgml:
26639 * docs/gst/tmpl/gstschedulerfactory.sgml:
26640 * docs/gst/tmpl/gststructure.sgml:
26641 * docs/gst/tmpl/gstsystemclock.sgml:
26642 * docs/gst/tmpl/gsttaglist.sgml:
26643 * docs/gst/tmpl/gsttagsetter.sgml:
26644 * docs/gst/tmpl/gsttrace.sgml:
26645 * docs/gst/tmpl/gsttrashstack.sgml:
26646 * docs/gst/tmpl/gsttypefind.sgml:
26647 * docs/gst/tmpl/gsttypefindfactory.sgml:
26648 * docs/gst/tmpl/gsttypes.sgml:
26649 * docs/gst/tmpl/gsturihandler.sgml:
26650 * docs/gst/tmpl/gsturitype.sgml:
26651 * docs/gst/tmpl/gstutils.sgml:
26652 * docs/gst/tmpl/gstvalue.sgml:
26653 * docs/gst/tmpl/gstversion.sgml:
26654 * docs/gst/tmpl/gstxml.sgml:
26655 * docs/libs/tmpl/gstcontrol.sgml:
26656 * docs/libs/tmpl/gstdataprotocol.sgml:
26657 * docs/libs/tmpl/gstdparam.sgml:
26658 * docs/libs/tmpl/gstdplinint.sgml:
26659 * docs/libs/tmpl/gstdpman.sgml:
26660 * docs/libs/tmpl/gstdpsmooth.sgml:
26661 * docs/libs/tmpl/gstgetbits.sgml:
26662 * docs/libs/tmpl/gstunitconvert.sgml:
26663 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26664 (gst_push_src_base_init), (gst_push_src_class_init),
26665 (gst_push_src_init), (gst_push_src_create):
26666 * gst/base/gstpushsrc.h:
26667 * gst/elements/gstelements.c:
26668 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26669 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26670 (gst_fake_sink_init), (gst_fake_sink_set_property),
26671 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26672 (gst_fake_sink_event), (gst_fake_sink_preroll),
26673 (gst_fake_sink_render), (gst_fake_sink_change_state):
26674 * gst/elements/gstfakesink.h:
26675 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26676 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26677 (gst_fake_src_base_init), (gst_fake_src_class_init),
26678 (gst_fake_src_init), (gst_fake_src_event_handler),
26679 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26680 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26681 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26682 (gst_fake_src_create_buffer), (gst_fake_src_create),
26683 (gst_fake_src_start), (gst_fake_src_stop):
26684 * gst/elements/gstfakesrc.h:
26685 * gst/elements/gstfilesink.c: (_do_init),
26686 (gst_file_sink_base_init), (gst_file_sink_class_init),
26687 (gst_file_sink_init), (gst_file_sink_dispose),
26688 (gst_file_sink_set_location), (gst_file_sink_set_property),
26689 (gst_file_sink_get_property), (gst_file_sink_open_file),
26690 (gst_file_sink_close_file), (gst_file_sink_query),
26691 (gst_file_sink_event), (gst_file_sink_render),
26692 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26693 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26694 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26695 * gst/elements/gstfilesink.h:
26696 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26697 (gst_file_src_class_init), (gst_file_src_init),
26698 (gst_file_src_finalize), (gst_file_src_set_location),
26699 (gst_file_src_set_property), (gst_file_src_get_property),
26700 (gst_file_src_map_region), (gst_file_src_map_small_region),
26701 (gst_file_src_create_mmap), (gst_file_src_create_read),
26702 (gst_file_src_create), (gst_file_src_is_seekable),
26703 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26704 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26705 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26706 (gst_file_src_uri_handler_init):
26707 * gst/elements/gstfilesrc.h:
26708 more autistic cleanliness in functions/names/defines
26710 2005-07-13 Andy Wingo <wingo@pobox.com>
26712 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26713 source couldn't negotiate.
26715 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26719 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26720 function. I am channeling Hades. Put your boots on suckers!!!
26722 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26724 * testsuite/caps/Makefile.am:
26725 * testsuite/caps/value_compare.c:
26726 * testsuite/caps/value_intersect.c:
26727 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26728 move two testsuite apps over to the check dir
26730 2005-07-12 Wim Taymans <wim@fluendo.com>
26732 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26733 Added more debug info in the negotiate process.
26735 * gst/gstmessage.h:
26736 Prepare for segment playback.
26738 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26744 * tools/gst-launch.c: (main):
26745 NULL pipeline on errors.
26747 2005-07-12 Andy Wingo <wingo@pobox.com>
26749 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26750 not it comes from a malloc region. Make sure our copy gets freed.
26752 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26754 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26755 * check/gst/gstmessage.c: (GST_START_TEST):
26756 * check/gst/gststructure.c: (GST_START_TEST),
26757 (gst_structure_suite), (main):
26759 * gst/gstelement.c: (gst_element_message_full):
26760 clean up GError and debug string now that they get copied
26761 * gst/gstmessage.c: (gst_message_new_error),
26762 (gst_message_new_warning), (gst_message_parse_error),
26763 (gst_message_parse_warning):
26764 use GST_TYPE_G_ERROR for structure_new, and take copies of
26765 arguments, so that we don't mess up refcounting
26767 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26769 * check/Makefile.am:
26770 add per-test valgrind targets
26771 * check/gst-libs/gdp.c: (GST_START_TEST),
26772 (gst_data_protocol_suite), (main):
26775 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26777 * check/Makefile.am:
26778 instate more valgrindable tests
26779 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26780 (GST_START_TEST), (fakesrc_suite):
26781 * check/gst/gstpad.c: (GST_START_TEST):
26782 * check/gst/gststructure.c: (GST_START_TEST):
26784 * docs/gst/tmpl/gstminiobject.sgml:
26785 * gst/gstpad.c: (gst_pad_finalize):
26786 fix the static mutex leak
26788 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26790 * check/Makefile.am:
26791 add two more tests for valgrinding
26792 * check/gst/gstvalue.c: (GST_START_TEST):
26793 test refcount of deserialized buffer, found a leak
26794 * docs/gst/gstreamer-docs.sgml:
26795 * docs/gst/gstreamer-sections.txt:
26796 * docs/gst/gstreamer.types:
26797 * docs/gst/tmpl/gstminiobject.sgml:
26798 add miniobject to docs
26799 * gst/gstminiobject.c:
26801 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26802 (gst_string_unwrap):
26803 fix a hard-to-find invalid write for one of the tests
26804 fix a leak for deserialized buffers
26806 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26808 * docs/pwg/advanced-events.xml:
26809 * docs/pwg/advanced-request.xml:
26810 * docs/pwg/advanced-scheduling.xml:
26811 * docs/pwg/appendix-porting.xml:
26812 * docs/pwg/building-boiler.xml:
26813 * docs/pwg/intro-preface.xml:
26814 * docs/pwg/other-ntoone.xml:
26815 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26816 of example code and explanation for pad activation, loop() and
26817 getrange() functions and a bit more. Remove old comments pointing
26819 * examples/pwg/Makefile.am:
26820 Add loop/getrange examples.
26822 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26825 check for valgrind binary + some fixes
26827 valgrind suppressions for the tests
26828 * check/Makefile.am:
26829 add a valgrind: target that valgrinds the unit tests
26830 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26831 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26832 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26833 * check/gst/gstghostpad.c:
26835 * check/gst/gstdata.c:
26837 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26838 (thread_unref), (gst_mini_object_suite), (main):
26840 * gst/gst.c: (gst_deinit):
26842 add a method to clean up.
26843 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26844 (gst_system_clock_obtain):
26845 allow for disposing the system clock.
26846 * tools/gst-launch.c: (main):
26849 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26851 * docs/gst/tmpl/gstbasesrc.sgml:
26852 * docs/gst/tmpl/gstfakesrc.sgml:
26853 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26854 (gst_base_src_init), (gst_base_src_set_property),
26855 (gst_base_src_get_property), (gst_base_src_get_range),
26856 (gst_base_src_start):
26857 * gst/base/gstbasesrc.h:
26858 add num-buffers property
26859 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26860 (gst_fakesrc_init), (gst_fakesrc_set_property),
26861 (gst_fakesrc_get_property), (gst_fakesrc_create),
26862 (gst_fakesrc_start):
26863 remove num-buffers property
26865 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26867 * docs/gst/gstreamer-sections.txt:
26868 * docs/gst/tmpl/gstbasesink.sgml:
26869 * docs/gst/tmpl/gstbasesrc.sgml:
26870 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26871 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26872 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26873 (gst_base_sink_set_property), (gst_base_sink_get_property),
26874 (gst_base_sink_handle_object), (gst_base_sink_event),
26875 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26876 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26877 (gst_base_sink_loop), (gst_base_sink_deactivate),
26878 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26879 (gst_base_sink_change_state):
26880 * gst/base/gstbasesink.h:
26881 * gst/base/gstbasesrc.h:
26882 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26883 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26884 (gst_filesink_init):
26885 more macro splitting
26887 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26889 * gst/gstelement.c: (gst_element_get_bus):
26891 * tools/gst-launch.c: (check_intr), (event_loop):
26894 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26896 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26899 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26901 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26902 (gst_base_src_finalize):
26903 add finalize method and clean up properly
26904 * gst/gstpipeline.c: (gst_pipeline_dispose):
26907 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26909 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26911 add more things to check
26912 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26913 * gst/gstelement.c:
26916 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26918 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26919 (GST_START_TEST), (fakesrc_suite):
26920 * check/gst-libs/gdp.c: (GST_START_TEST):
26921 * check/gst/gst.c: (GST_START_TEST):
26922 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26923 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26924 * check/gst/gstbus.c: (GST_START_TEST):
26925 * check/gst/gstcaps.c: (GST_START_TEST):
26926 * check/gst/gstdata.c: (GST_START_TEST):
26927 * check/gst/gstelement.c: (GST_START_TEST):
26928 * check/gst/gstghostpad.c: (GST_START_TEST):
26929 * check/gst/gstiterator.c: (GST_START_TEST):
26930 * check/gst/gstmessage.c: (GST_START_TEST):
26931 * check/gst/gstobject.c: (GST_START_TEST):
26932 * check/gst/gstpad.c: (GST_START_TEST):
26933 * check/gst/gststructure.c: (GST_START_TEST):
26934 * check/gst/gstsystemclock.c: (GST_START_TEST),
26935 (gst_systemclock_suite):
26936 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26937 * check/gst/gstvalue.c: (GST_START_TEST):
26938 * check/pipelines/cleanup.c: (GST_START_TEST):
26939 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26940 * check/states/sinks.c: (GST_START_TEST):
26941 * check/gstcheck.c: (gst_check_init):
26942 * check/gstcheck.h:
26943 add debugging category
26944 use GST_START_TEST now, so we add a debug line
26946 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26948 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26949 add test for state change message on a bin
26950 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26952 * gst/gstbin.c: (gst_bin_init):
26953 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26954 * gst/gstelement.c: (gst_element_post_message),
26955 (gst_element_set_state):
26956 * gst/gstelementfactory.c: (gst_element_factory_create):
26957 * gst/gstmessage.c: (gst_message_new):
26958 * gst/gstscheduler.c:
26959 various debugging additions and cleanups
26961 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26963 * check/Makefile.am:
26964 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26966 adding tests for elements
26967 * gst/gstelement.c: (gst_element_dispose):
26969 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26971 * gst/registries/gstlibxmlregistry.c: (load_feature):
26972 plug more leaks. A simple gst_init() now is leakfree, yay.
26974 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26976 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26977 (gst_xml_registry_load):
26978 plug another memleak
26980 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26983 use GST_SET_ERROR_CFLAGS
26984 * docs/faq/cvs.xml:
26985 change to ERROR_CFLAGS
26987 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26990 make GST_ERROR_CFLAGS overridable and re-enable Werror
26991 * docs/faq/cvs.xml:
26992 add a note about error CFLAGS
26993 * docs/gst/tmpl/gstfakesrc.sgml:
26994 * gst/elements/gstfakesrc.c:
26995 comment out some unused code
26996 * gst/gst.c: (split_and_iterate):
26997 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
27001 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27003 * common/Makefile.am:
27004 * common/gtk-doc.mak:
27005 * docs/gst/Makefile.am:
27006 factor out gtk-doc.mak
27008 2005-07-07 Wim Taymans <wim@fluendo.com>
27010 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27011 (gst_thread_scheduler_dispose):
27012 Unlock the STREAM_LOCK completely.
27014 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27016 * check/Makefile.am:
27017 * check/elements/.cvsignore:
27018 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27019 (START_TEST), (fakesrc_suite), (main):
27020 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27021 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27022 (gst_fakesrc_create), (gst_fakesrc_start):
27023 * gst/elements/gstfakesrc.h:
27024 adding a first element test
27026 2005-07-07 Andy Wingo <wingo@pobox.com>
27028 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27031 2005-07-07 Wim Taymans <wim@fluendo.com>
27037 2005-07-07 Wim Taymans <wim@fluendo.com>
27039 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27040 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27041 Allow subclasses to implement their own negotiation.
27043 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27045 * docs/design/part-gstbin.txt:
27046 * docs/design/part-gstpipeline.txt:
27047 Update design notes to reflect the movement of
27048 responsibility for bus handling from GstPipeline to
27051 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27054 Remove unnecessary queue2/3/4 examples.
27056 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27058 * examples/Makefile.am:
27059 * examples/helloworld/helloworld.c: (event_loop), (main):
27060 * examples/queue/queue.c: (event_loop), (main):
27061 * examples/queue2/queue2.c: (main):
27062 Update a couple of the examples to work again.
27064 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27065 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27066 Spelling corrections and extra debug.
27068 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27069 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27070 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27072 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27073 (gst_pipeline_change_state):
27074 * gst/gstpipeline.h:
27075 Move the bus handler for children to the GstBin, and create a
27076 separate bus for receiving messages from children to the one the
27077 bus sends 'upwards' on.
27079 2005-07-06 Wim Taymans <wim@fluendo.com>
27082 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27083 (gst_base_sink_handle_object), (gst_base_sink_loop),
27084 (gst_base_sink_change_state):
27085 * gst/base/gstbasesink.h:
27086 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27087 (gst_base_src_init), (gst_base_src_setcaps),
27088 (gst_base_src_getcaps), (gst_base_src_loop),
27089 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27090 (gst_base_src_start), (gst_base_src_change_state):
27091 * gst/base/gstbasesrc.h:
27092 Make basesrc negotiate.
27093 Handle the case where preroll fails in basesink.
27096 2005-07-06 Wim Taymans <wim@fluendo.com>
27098 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27099 Implement the fixate function.
27100 Clean up acceptcaps.
27102 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27104 * docs/pwg/building-filterfactory.xml:
27105 * docs/pwg/pwg.xml:
27106 Remove never-written filter-factory chapter; I'll add the various
27107 base classes to part 4 ("other element types") later on.
27109 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27111 * docs/pwg/advanced-negotiation.xml:
27112 * docs/pwg/building-boiler.xml:
27113 * docs/pwg/building-pads.xml:
27114 * docs/pwg/pwg.xml:
27115 * examples/pwg/Makefile.am:
27116 Add a chapter on caps negotiation, simplify the original code
27117 samples a bit w.r.t. caps negotiation, add link to the advanced
27118 section. Add a bunch of examples showing different use cases of
27119 different types of caps negotiation. Upstream renegotiation isn't
27120 fully documented yet since nobody knows how that works.
27122 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
27124 * check/gst/gstpad.c:
27125 * check/gstcheck.c:
27126 * gst/gstpad.c: (gst_pad_get_internal_links_default):
27127 if pad has no parent, return NULL as list of internal links
27129 2005-07-05 Andy Wingo <wingo@pobox.com>
27131 * gst/elements/gstfilesrc.c:
27132 * gst/elements/gstfakesrc.c:
27133 * gst/base/gstpushsrc.c:
27134 * gst/base/gstbasesrc.h:
27135 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27137 2005-07-05 Stefan Kost <ensonic@users.sf.net>
27140 better report generation target (lcov needs a patch)
27142 2005-07-05 Andy Wingo <wingo@pobox.com>
27144 * gst/elements, testsuite: Null if we got it...
27146 2005-07-05 Wim Taymans <wim@fluendo.com>
27149 * libs/gst/dataprotocol/Makefile.am:
27150 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27151 * libs/gst/dataprotocol/dataprotocol.h:
27152 * pkgconfig/Makefile.am:
27153 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27154 * pkgconfig/gstreamer-dataprotocol.pc.in:
27155 Ported dataprotol to 0.9.
27156 Added pkgconfig files.
27158 2005-07-05 Andy Wingo <wingo@pobox.com>
27160 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27161 Default to returning TRUE for the case when tranform_caps returns
27162 a fixed caps, like for identity or volume.
27164 * check/gst/gstbus.c (pound_bus_with_messages):
27165 * check/gst/gstmessage.c (START_TEST):
27166 * check/pipelines/simple_launch_lines.c (got_handoff): Application
27167 message API change.
27169 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27170 logic weaks here: always run transform_caps, trying passthrough
27171 operation only if the original caps intersects with the transform.
27173 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27174 source and sink caps.
27176 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27177 Intersect the peer caps with the pad template before going into
27179 (gst_base_transform_transform_caps): More debugging.
27181 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27184 2005-07-04 Edward Hervey <edward@fluendo.com>
27188 (gst_pad_add_*_probe): now returns the signal id for better wrapping
27191 2005-07-04 Andy Wingo <wingo@pobox.com>
27193 * check/gst/gstpad.c: Only set explicit caps on pads.
27195 2005-07-01 Andy Wingo <wingo@pobox.com>
27197 * tests/network-clock.scm: Commentary update.
27199 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27200 Didn't really make sense, not implementable with basetransform,
27202 (gst_identity_transform): Unref inbuf via make_writable. Feeble
27203 attempt at implementing the sync property, needs an unlock method.
27205 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27206 New func, by default returns the same caps (the identity
27208 (gst_base_transform_getcaps): Uses transform_caps to return
27209 something sensible.
27210 (gst_base_transform_setcaps): Complicated logic to get caps on
27211 both pads, even if they are different, and to call set_caps once
27212 for every time both pads get their caps set.
27213 (gst_base_transform_handle_buffer): Give the ref to the transform
27214 function. Allows in-place modification of the buffer.
27216 * gst/base/gstbasetransform.h (transform_caps): New class method.
27217 Given caps on one side, what can I do on the other.
27218 (set_caps): Take two caps, one for each side of the element.
27221 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27222 caps in place. This is safe because we can check the mutability of
27223 the caps, and a good idea because fixate functions are just called
27224 as a matter of last resort. (Not actually implemented.)
27225 (gst_pad_set_caps): If the caps we're setting is actually the same
27226 as the existing pad caps, just update the pointer without calling
27227 setcaps. Assert that caps is either NULL or fixed, as per the
27230 * gst/gstghostpad.c: Update for fixate changes.
27232 2005-07-02 Andy Wingo <wingo@pobox.com>
27235 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27236 two refcounts makes it immutable, which is enough. Doc more.
27238 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
27240 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27241 Put the mini_object into GValue as a mini_object,
27242 not a gpointer, since that's how we declared
27245 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27247 * examples/pwg/Makefile.am:
27248 Fix buildbot again.
27250 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27252 * docs/pwg/building-testapp.xml:
27254 * examples/pwg/Makefile.am:
27257 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27260 * examples/Makefile.am:
27261 * examples/pwg/Makefile.am:
27262 * examples/pwg/extract.pl:
27263 Enable building the PWG examples.
27264 * docs/pwg/advanced-interfaces.xml:
27265 Add URI interface stub.
27266 * docs/pwg/advanced-types.xml:
27267 * docs/pwg/other-autoplugger.xml:
27268 * docs/pwg/appendix-porting.xml:
27269 * docs/pwg/pwg.xml:
27270 Add porting guide (mostly stubs), remove autoplugging (see ADM).
27271 * docs/pwg/building-boiler.xml:
27272 * docs/pwg/building-chainfn.xml:
27273 * docs/pwg/building-pads.xml:
27274 * docs/pwg/building-props.xml:
27275 * docs/pwg/building-state.xml:
27276 * docs/pwg/building-testapp.xml:
27277 Update the building-*.xml parts for 0.9 changes. All examples
27278 code blocks compile in examples/pwg/*.
27280 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27282 * docs/manual/advanced-autoplugging.xml:
27283 * docs/manual/appendix-checklist.xml:
27284 * docs/manual/appendix-integration.xml:
27285 * docs/manual/highlevel-components.xml:
27286 Fix playbin/decodebin examples, update docs a bit, mention bus
27287 instead of signals in various places, mention kmplayer and
27288 kaffeine since they have a working GStreamer backend in the KDE
27291 2005-06-30 Wim Taymans <wim@fluendo.com>
27294 * docs/design/draft-ghostpads.txt:
27295 * docs/design/draft-push-pull.txt:
27296 * docs/design/draft-query.txt:
27297 * docs/design/part-TODO.txt:
27298 * docs/design/part-query.txt:
27299 Added CHANGES-0.9 doc, updated status of other docs.
27304 2005-06-30 Wim Taymans <wim@fluendo.com>
27306 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27307 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27308 (gst_base_sink_change_state):
27309 * gst/base/gstbasesink.h:
27310 Some tweaks, only EOS and a buffer complete a preroll.
27312 2005-06-30 Andy Wingo <wingo@pobox.com>
27314 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27315 activate_push down to the internal pad as well.
27317 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27319 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27321 * gst/gsttaginterface.c:
27322 Some documentation fixes (#307394 and #307397).
27324 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27326 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27328 * gst/gstvalue.c: (gst_value_intersect_list):
27329 Fix memleak (#309125).
27331 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27333 * docs/manual/advanced-dataaccess.xml:
27334 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27335 * docs/manual/basics-pads.xml:
27336 Add reference for filtered caps to above chapter.
27338 2005-06-30 Wim Taymans <wim@fluendo.com>
27340 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27341 (gst_bin_change_state):
27343 Lame attempt at making the state change function a bit
27346 2005-06-30 Wim Taymans <wim@fluendo.com>
27348 * docs/design/part-clocks.txt:
27349 * docs/design/part-element-sink.txt:
27350 * docs/design/part-events.txt:
27351 * docs/design/part-preroll.txt:
27352 * docs/design/part-states.txt:
27353 Some more tweeks and additions to the docs.
27355 2005-06-30 Wim Taymans <wim@fluendo.com>
27357 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27358 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27359 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27360 (gst_pad_check_pull_range), (gst_pad_get_range),
27361 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27363 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27364 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27365 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27366 (gst_pad_remove_buffer_probe):
27367 Removed atomic operations, use existing LOCK.
27368 Move exception handling out of main code path.
27370 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27372 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27373 (silly_return_true_function), (gst_pad_class_init),
27374 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27375 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27376 (gst_pad_send_event):
27377 Fix accumulator, add default value by using _emitv() instead
27378 of _emit() for signal emission.
27380 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27382 * docs/manual/advanced-dataaccess.xml:
27383 * examples/manual/Makefile.am:
27385 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27388 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27390 * gst/elements/gstfilesink.c: (gst_filesink_render):
27391 Simplify code so that we don't have to handle short
27392 writes and return GST_FLOW_ERROR if an error occured.
27394 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27396 * docs/gst/gstreamer-docs.sgml:
27397 Remove probes more.
27399 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27401 * docs/gst/gstreamer-sections.txt:
27402 * docs/gst/tmpl/gstpad.sgml:
27403 * docs/gst/tmpl/gstprobe.sgml:
27405 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27406 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27407 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27408 (gst_pad_push_event), (gst_pad_send_event):
27410 * gst/gstutils.c: (gst_pad_add_data_probe),
27411 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27412 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27413 (gst_pad_remove_buffer_probe):
27415 Remove old probes, add new g-signal-based probes and some utility
27418 2005-06-29 Edward Hervey <edward@fluendo.com>
27420 * gst/gstelementfactory.c:
27423 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27424 the definition to the header file.
27426 2005-06-29 Andy Wingo <wingo@pobox.com>
27428 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27429 plugins from the source directory.
27431 2005-06-29 Wim Taymans <wim@fluendo.com>
27433 * docs/gst/tmpl/gstbuffer.sgml:
27434 * docs/gst/tmpl/gstclock.sgml:
27435 Some fixings for blantently wrong text.
27437 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27439 * check/Makefile.am:
27440 * gst/gst.c: (add_path_func), (init_pre):
27441 * gst/gstregistry.c: (gst_registry_add_path):
27442 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27443 only scan the GST_PLUGIN_PATH locations, and not add
27446 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27448 * docs/gst/gstreamer-sections.txt:
27449 * docs/gst/tmpl/gstbasesrc.sgml:
27450 * gst/gstelement.c:
27451 * gst/gstelement.h:
27456 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27458 * docs/manual/advanced-autoplugging.xml:
27459 Fix autoplugging example.
27461 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27463 * docs/manual/advanced-autoplugging.xml:
27464 * docs/manual/mime-world.fig:
27465 Try to get autoplugging working, fix type detection. Fix text
27466 in hello-world image.
27468 2005-06-29 Wim Taymans <wim@fluendo.com>
27470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27471 (gst_base_sink_change_state):
27475 map SIGNAL and BROADCAST to the right function.
27478 Remove redundant braces.
27480 * gst/gstpad.c: (gst_pad_set_caps):
27481 Don't call setcaps function when reseting caps to NULL.
27483 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27484 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27485 (gst_system_clock_id_unschedule):
27486 Use BROADCAST as this is what we do.
27488 2005-06-29 Wim Taymans <wim@fluendo.com>
27490 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27491 We are actually prerolling before commiting the state
27494 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27496 * docs/manual/advanced-clocks.xml:
27497 * docs/manual/advanced-interfaces.xml:
27498 * docs/manual/advanced-metadata.xml:
27499 * docs/manual/advanced-position.xml:
27500 * docs/manual/advanced-schedulers.xml:
27501 * docs/manual/advanced-threads.xml:
27502 * docs/manual/appendix-porting.xml:
27503 * docs/manual/basics-bins.xml:
27504 * docs/manual/basics-bus.xml:
27505 * docs/manual/basics-elements.xml:
27506 * docs/manual/basics-helloworld.xml:
27507 * docs/manual/basics-pads.xml:
27508 * docs/manual/highlevel-components.xml:
27509 * docs/manual/manual.xml:
27510 * docs/manual/thread.fig:
27511 Update (until threads/scheduling) Application Development Manual;
27512 remove GstThread, add GstBus, add simple porting checklist, add
27513 documentation for tag writing, clocks, make all examples until this
27514 part compile and run.
27515 * examples/manual/Makefile.am:
27516 Update from changes to Application Development Manual; add bus
27517 example, remove thread example.
27519 2005-06-28 Wim Taymans <wim@fluendo.com>
27521 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27522 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27523 (gst_bus_source_dispatch):
27524 Add debugging messages.
27525 Make internal methods static.
27526 Handle the case where the bus is flushed in the handler.
27528 * gst/gstelement.c: (gst_element_get_bus):
27529 Fix refcount in _get_bus();
27531 * gst/gstpipeline.c: (gst_pipeline_change_state),
27532 (gst_pipeline_get_clock_func):
27533 Clock refcounting fixes.
27534 Handle the case where preroll timed out more gracefully.
27536 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27537 Clean up the internal thread in dispose. This is needed
27538 for subclasses that actually get disposed.
27540 * gst/schedulers/threadscheduler.c:
27541 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27542 (gst_thread_scheduler_dispose):
27543 Free thread pool in dispose.
27545 2005-06-28 Andy Wingo <wingo@pobox.com>
27547 * tests/network-clock-utils.scm (debug, print-event): New utils.
27549 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27550 (*packet-loss*): Unified loss probability.
27551 (network-time): Report out-of-band events.
27553 * tests/plot-data: Add support for out-of-band events. Hack it
27554 into this script instead of passing it down the pipe; should fix
27557 2005-06-28 Wim Taymans <wim@fluendo.com>
27559 * docs/gst/gstreamer.types:
27560 * docs/gst/tmpl/gstbasesrc.sgml:
27561 * docs/gst/tmpl/gstpad.sgml:
27564 2005-06-28 Wim Taymans <wim@fluendo.com>
27566 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27567 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27568 (gst_proxy_pad_do_fixatecaps):
27569 Correctly proxy the check_pull_range function.
27571 2005-06-28 Andy Wingo <wingo@pobox.com>
27573 * tests/network-clock.scm: Removed need for slib.
27575 2005-06-28 Wim Taymans <wim@fluendo.com>
27577 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27578 (gst_basesink_preroll_queue_flush):
27579 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27580 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27581 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27582 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27583 (gst_proxy_pad_set_property):
27586 * gst/gstqueue.c: (gst_queue_init):
27587 The deprecated pad loop function is removed now.
27589 2005-06-28 Andy Wingo <wingo@pobox.com>
27591 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27592 New parameters, simulate network packet loss.
27594 * tests/network-clock-utils.scm: Initialize the RNG.
27596 2005-06-28 Wim Taymans <wim@fluendo.com>
27598 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27599 (gst_basesink_event), (gst_basesink_deactivate):
27600 Flushing the preroll queue always needs to unlock the waiters.
27602 2005-06-28 Edward Hervey <edward@fluendo.com>
27604 * gst/gstpipeline.c: (gst_pipeline_send_event):
27605 Wheen a seek was successful on a pipeline, set the stream_time to the
27606 seek offset in order to have a synchronized stream_time.
27608 2005-06-28 Wim Taymans <wim@fluendo.com>
27610 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27611 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27612 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27613 (gst_proxy_pad_do_fixatecaps):
27614 Call wrapper function instead of just calling the function
27615 pointers. This takes care of any locking and whatmore.
27617 2005-06-28 Wim Taymans <wim@fluendo.com>
27619 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27620 (gst_pad_pull_range):
27622 CONNECTED -> LINKED.
27624 2005-06-28 Andy Wingo <wingo@pobox.com>
27626 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27627 source-munging commit!!!
27629 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27630 (gst_object_sink): Take gpointer arguments, not GstObject --
27631 avoids casts. Like GLib.
27633 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27636 2005-06-27 Andy Wingo <wingo@pobox.com>
27638 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27641 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27642 returns a sorted copy of the trace list.
27643 (gst_alloc_trace_print_live): New API, only prints traces with
27644 live objects. Sort the list.
27645 (gst_alloc_trace_print_all): Sort the list.
27646 (gst_alloc_trace_print): Align columns.
27648 * gst/elements/gstttypefindelement.c:
27649 * gst/elements/gsttee.c:
27650 * gst/base/gstbasesrc.c:
27651 * gst/base/gstbasesink.c:
27652 * gst/base/gstbasetransform.c:
27653 * gst/gstqueue.c: Adapt for pad activation changes.
27655 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27657 (gst_pipeline_dispose): Drop ref on sched.
27659 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27660 (gst_pad_activate_default): Push mode by default.
27661 (pre_activate_switch, post_activate_switch): New stubs, things to
27662 do before and after switching activation modes on pads.
27663 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27664 the pad's activate function to choose which mode to activate.
27665 Shortcut on deactivation and call the right function directly.
27666 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27668 (gst_pad_activate_push): New API, same for push mode.
27669 (gst_pad_set_activate_function)
27670 (gst_pad_set_activatepull_function)
27671 (gst_pad_set_activatepush_function): Setters for new API.
27673 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27674 Trace all miniobjects.
27675 (gst_mini_object_make_writable): Unref the arg if we copy, like
27676 gst_caps_make_writable.
27678 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27680 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27681 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27682 Adapt for new pad API.
27684 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27686 * gst/gstelement.h:
27687 * gst/gstelement.c (gst_element_iterate_src_pads)
27688 (gst_element_iterate_sink_pads): New API functions.
27690 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27691 should fold into gstiterator.c in some form.
27692 (gst_element_pads_activate): Simplified via use of fold and
27693 delegation of decisions to gstpad->activate.
27695 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27698 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27699 class once in init, like gstmessage. Didn't run into this issue
27700 but it seems correct. Don't initialize a trace, gstminiobject does
27703 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27704 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27706 (assert_live_count): New util function, uses alloc traces to check
27709 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27710 To be modified when unlink drops the internal pad.
27712 2005-06-27 Wim Taymans <wim@fluendo.com>
27714 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27715 (gst_bin_change_state):
27716 Cleanup the get_state() function a little, make sure it
27717 iterates the same set of elements.
27718 Added stub iterate_state_order().
27720 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27722 * docs/gst/gstreamer-docs.sgml:
27723 * docs/gst/gstreamer-sections.txt:
27724 * docs/gst/gstreamer.types:
27725 * docs/gst/tmpl/gstbasesink.sgml:
27726 * docs/gst/tmpl/gstbasesrc.sgml:
27727 * docs/gst/tmpl/gstbasetransform.sgml:
27728 * docs/gst/tmpl/gstelement.sgml:
27729 * docs/gst/tmpl/gstiterator.sgml:
27730 * gst/base/gstbasesrc.c:
27731 * gst/base/gstbasesrc.h:
27732 * gst/base/gstbasetransform.h:
27733 * gst/gstelement.c:
27734 * gst/gstiterator.h:
27735 adding basetransform and iterator docs
27737 2005-06-27 Andy Wingo <wingo@pobox.com>
27739 * docs/design/part-activation.txt: Notes on how activation should
27740 work -- not quite implemented yet.
27742 2005-06-25 Wim Taymans <wim@fluendo.com>
27744 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27745 At least get the chain function correct, needs more
27748 2005-06-25 Wim Taymans <wim@fluendo.com>
27750 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27751 (gst_basesink_handle_object), (gst_basesink_event),
27752 (gst_basesink_do_sync), (gst_basesink_handle_event),
27753 (gst_basesink_change_state):
27755 Right, two problems here: ghostpads don't take locks and
27756 glib _rec_mutex_lock_full() with depth==0 still locks.
27757 Catch illegal locking and g_warn them.
27759 2005-06-25 Wim Taymans <wim@fluendo.com>
27761 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27762 Have to check for completion now...
27764 2005-06-25 Wim Taymans <wim@fluendo.com>
27766 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27767 (gst_basesink_handle_object), (gst_basesink_event),
27768 (gst_basesink_do_sync), (gst_basesink_handle_event),
27769 (gst_basesink_change_state):
27771 Unlock STREAM_LOCK whatever the recursion was.
27773 2005-06-25 Wim Taymans <wim@fluendo.com>
27775 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27776 (gst_basesink_preroll_queue_empty),
27777 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27778 (gst_basesink_event), (gst_basesink_do_sync),
27779 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27780 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27781 (gst_basesink_change_state):
27782 Reworked the base sink, handle event and buffer serialisation
27783 correctly and removed possible deadlock.
27784 Handle EOS correctly.
27786 2005-06-25 Wim Taymans <wim@fluendo.com>
27788 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27789 (gst_pipeline_change_state):
27790 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27791 Allow elements to post EOS in the state change function.
27792 Fix up -launch, make it exit the poll loop when the
27793 pipeline actually changed state.
27794 Fix up warning parsing in -launch.
27796 2005-06-25 Wim Taymans <wim@fluendo.com>
27798 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27799 (gst_tee_sink_activate):
27800 Core takes STREAM_LOCK for us now.
27802 2005-06-25 Wim Taymans <wim@fluendo.com>
27804 * gst/gstelement.c: (gst_element_get_state_func),
27805 (gst_element_set_state):
27806 * gst/gstelement.h:
27807 * gst/gstmessage.c: (gst_message_parse_error),
27808 (gst_message_parse_warning):
27809 Keep track of current target state while performing a state
27810 change so that subclasses can do something interesting.
27811 Fix parsing of warning/error messages when GError is NULL.
27813 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27815 * docs/gst/Makefile.am:
27816 * docs/gst/gstreamer-docs.sgml:
27817 * docs/gst/gstreamer-sections.txt:
27818 * docs/gst/gstreamer.types:
27819 * docs/gst/tmpl/gstbasesink.sgml:
27820 * docs/gst/tmpl/gstbasesrc.sgml:
27821 * docs/gst/tmpl/gstbin.sgml:
27822 * docs/gst/tmpl/gstcompat.sgml:
27823 * docs/gst/tmpl/gstfakesink.sgml:
27824 * docs/gst/tmpl/gstfakesrc.sgml:
27825 * docs/gst/tmpl/gstfilesink.sgml:
27826 * docs/gst/tmpl/gstfilesrc.sgml:
27827 * docs/gst/tmpl/gstindex.sgml:
27828 * docs/manual/appendix-quotes.xml:
27829 * gst/base/gstbasesrc.h:
27830 * gst/elements/gstfakesrc.h:
27831 * gst/gstmessage.h:
27832 start pulling in base classes and elements in our docs
27834 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27836 * docs/gst/Makefile.am:
27837 * docs/libs/Makefile.am:
27838 fixed make distcheck with gtk-doc 1.3
27840 2005-06-23 Wim Taymans <wim@fluendo.com>
27842 * gst/gstelement.c: (gst_element_get_state_func),
27843 (gst_element_set_state), (gst_element_change_state):
27844 When the state did not change, also report NO_PREROLL
27847 2005-06-23 Wim Taymans <wim@fluendo.com>
27849 * gst/gstpad.c: (gst_pad_event_default):
27850 * gst/gstqueue.c: (gst_queue_loop):
27851 No unsafe task pausing please.
27853 2005-06-23 Wim Taymans <wim@fluendo.com>
27855 * gst/schedulers/threadscheduler.c:
27856 (gst_thread_scheduler_task_start),
27857 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27858 Ref the task before pushing it on the threadpool. This
27859 makes sure that we have a ref when the threadfunction is
27862 2005-06-23 Andy Wingo <wingo@pobox.com>
27864 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27865 offset is greater than the file's size.
27867 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27868 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27869 * gst/gstobject.c (gst_object_class_init): Make the class lock
27870 recursive. Wim won't let me drop deep_notify. Decodebin works
27871 again, whoopdy doo.
27873 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27874 internal pad, and hacks accordingly. Doesn't do it on the target
27875 pad because we change its caps. Probably catches all cases of
27877 (gst_ghost_pad_set_property): Connect to notify::caps as
27880 * tests/network-clock.scm (plot-simulation): Pipe data to the
27881 elite python skript.
27883 * tests/network-clock-utils.scm (define-parameter): New macro,
27884 defines a parameter that can be set via the command line.
27885 (set-parameter!, parse-parameter-arguments): Command line args
27888 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27891 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27893 * gst/elements/gsttypefindelement.c:
27894 (gst_type_find_element_handle_event):
27895 Don't restart typefinding on a discont.
27896 * gst/gstelement.c: (gst_element_set_state):
27897 Debug spelling fix.
27898 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27899 Allow changing mode of an active pad.
27900 Debug output fixes.
27901 * gst/registries/gstlibxmlregistry.c: (load_feature):
27902 Don't cast a static pad template to a normal pad template.
27904 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27906 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27907 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27908 remove gst_strtoll completely, since it didn't actually do
27909 anything more than what g_ascii_strtoull already does.
27910 check for range errors when deserializing
27911 do a cast for the unsigned cases; but further fixing needs
27912 a decision on what the interpretation of "(int)" and
27913 deserialization should be for values that fall outside the
27914 type's boundaries (ie, refuse, or interpret as casting)
27916 2005-06-23 Wim Taymans <wim@fluendo.com>
27918 * check/Makefile.am:
27919 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27920 * docs/design/part-live-source.txt:
27921 * docs/design/part-states.txt:
27922 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27923 (gst_basesrc_set_live), (gst_basesrc_is_live),
27924 (gst_basesrc_get_range), (gst_basesrc_activate),
27925 (gst_basesrc_change_state):
27926 * gst/base/gstbasesrc.h:
27927 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27928 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27929 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27930 * gst/gstelement.c: (gst_element_get_state_func),
27931 (gst_element_set_state):
27932 * gst/gstelement.h:
27934 * tools/gst-launch.c: (event_loop), (main):
27935 Added support for live sources and other elements that
27937 Updated design docs, added live-source design doc.
27938 Implemented live source functionality in basesrc
27939 Fix error condition in _bin_get_state()
27940 Implement live source handling in -launch.
27941 Added check for live sources.
27942 Fixed case in GstBin where elements were changed state
27946 2005-06-23 Andy Wingo <wingo@pobox.com>
27948 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27949 borken refcounting.
27951 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27952 gst_caps_replace takes care of this for us.
27954 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27955 gst_pad_set_caps on the target, not just its setcaps() function.
27957 * tests/network-clock.scm:
27958 * tests/network-clock-utils.scm: A network clock simulator.
27959 Something of an algorithmic testbed before doing something in C.
27961 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27963 * check/Makefile.am:
27964 * check/gst/capslist.h:
27965 copy over from 0.8, and add two with bitmasks specified with
27967 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27968 add test to parse everything from capslist.h
27969 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27971 add test for structure deserialization
27972 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27973 add tests for deserialization of strings to int types
27974 * gst/gststructure.c: (gst_structure_nth_field_name):
27975 * gst/gststructure.h:
27976 add a way to get the name of a field referenced by index
27977 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27978 instead of checking if the resulting long long lies between
27979 min and max, we check if the long long would fit into
27980 a number of bytes for the final type.
27981 This fixes cases where a string represents 2^32 - 1, which
27982 when cast to int would be the (valid) -1, but is bigger than
27985 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27987 * gst/parse/grammar.y:
27988 add a log line for type deserialization
27990 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27992 * check/gst/gstvalue.c: (START_TEST):
27993 * gst/gstvalue.c: (gst_value_deserialize):
27994 return long long, not int, so gint64 deserialization actually
27995 works. Is there any flag that makes the compiler check this ?
27998 2005-06-22 Wim Taymans <wim@fluendo.com>
28001 Added convenience macros for setting buffers in GValue.
28003 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28005 * check/gst/.cvsignore:
28006 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28007 add a test deserializing int64, and comment part out because
28010 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28012 * check/Makefile.am:
28013 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28014 * testsuite/Makefile.am:
28015 * testsuite/caps/Makefile.am:
28016 * testsuite/caps/value_serialize.c:
28017 * testsuite/test_gst_init.c:
28018 move a value_serialize test over
28020 2005-06-20 Wim Taymans <wim@fluendo.com>
28025 * gst/gstvalue.c: (gst_value_compare_buffer),
28026 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28027 (gst_value_compare_flags), (gst_value_serialize_flags),
28028 (gst_value_deserialize_flags), (_gst_value_initialize):
28029 Fix serialisation of buffers, they are not boxed types anymore
28031 2005-06-20 Wim Taymans <wim@fluendo.com>
28033 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28034 Testcase to show error in buffer-on-caps serialisation.
28036 2005-06-20 Andy Wingo <wingo@pobox.com>
28038 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28039 will be adding to later.
28041 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28042 if its socks fill with rocks.
28043 (gst_system_clock_obtain): Set the name on object construction.
28044 Avoid double-checked locking.
28046 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
28048 * gst/gsturi.c: (gst_element_make_from_uri):
28049 Fix potential endless loop.
28051 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28053 * check/Makefile.am:
28055 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28057 move over from testsuite dir and clean up
28060 * testsuite/Makefile.am:
28061 * testsuite/tags/.cvsignore:
28062 * testsuite/tags/Makefile.am:
28063 * testsuite/tags/merge.c:
28064 remove testsuite/tags
28066 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28068 * docs/gst/gstreamer-sections.txt:
28069 * docs/gst/tmpl/gstenumtypes.sgml:
28070 * win32/gstenumtypes.c:
28071 clean up documentation build a little
28073 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28075 * check/gstcheck.h:
28076 add macros for checking refcounts on objects and caps
28077 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28078 add some more unit tests
28079 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28080 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28081 fix leaked refcounts (I hope :)) so unittest works
28085 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28087 * configure.ac: back to HEAD
28089 === release 0.9.1 ===
28091 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
28097 2005-06-17 Andy Wingo <wingo@pobox.com>
28099 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28100 assert; it's always possible that the pad gets deactivated in
28101 between the checks in gstpad.c and the implementation. Rely on
28102 finish_preroll() to return a FLUSHING or similar instead of on the
28105 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28106 clock and post an EOS message if we come out of finish_preroll in
28109 2005-06-16 David Schleef <ds@schleef.org>
28111 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28112 (gst_capsfilter_set_property): Allow NULL as possible value
28113 for filter_caps property, indicating GST_CAPS_ANY.
28115 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28117 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28119 * gst/schedulers/Makefile.am:
28121 * gstreamer.spec.in:
28124 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28126 * gstreamer.spec.in:
28129 2005-06-08 Andy Wingo <wingo@pobox.com>
28131 * gst/gstutils.c: RPAD fixes all around.
28132 (gst_element_link_pads): Refcounting fixes.
28134 * tools/gst-inspect.c:
28135 * tools/gst-xmlinspect.c:
28137 * gst/base/gsttypefindhelper.c:
28138 * gst/base/gstbasesink.c:
28139 * gst/gstqueue.c: RPAD fixes.
28141 * gst/gstghostpad.h:
28142 * gst/gstghostpad.c: New ghost pad implementation as full proxy
28143 pads. The tricky thing is they provide both source and sink
28144 interfaces, since they proxy the internal pad for the external
28145 pad, and vice versa. Implement with lower-level ProxyPad objects,
28146 with the interior proxy pad as a child of the exterior ghost pad.
28147 Should write a doc on this.
28149 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28150 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28153 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28154 pads are real pads. No ghost pads in this file. Not documenting
28155 the myriad s/RPAD/PAD/ and REALIZE fixes.
28156 (gst_pad_class_init): Add properties for "direction" and
28157 "template". Both are construct-only, so they can't change during
28158 the life of the pad. Fixes properly deriving from GstPad.
28159 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28160 derived objects, just set properties when creating the objects via
28162 (gst_pad_get_parent): Implement as a function, return NULL if the
28163 parent is not an element.
28164 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28165 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28167 * gst/gstobject.c (gst_object_class_init): Make name a construct
28168 property. Don't set it in the object init.
28170 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28171 with UNKNOWN direction.
28172 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28173 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28174 (gst_element_remove_pad): Remove ghost-pad special cases.
28175 (gst_element_pads_activate): Remove rpad cruft.
28177 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28178 catch the pad's-parent-not-an-element case.
28180 * gst/gst.h: Include gstghostpad.h.
28182 * gst/gst.c (init_post): No more real, ghost pads.
28184 * gst/Makefile.am: Add gstghostpad.[ch].
28186 * check/Makefile.am:
28187 * check/gst/gstbin.c:
28188 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28189 into a bin creates ghost pads, and that the refcounts are right.
28190 Partly moved from gstbin.c.
28192 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28194 * check/gst-libs/.cvsignore:
28195 * check/gst/.cvsignore:
28196 * check/pipelines/.cvsignore:
28198 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28199 (START_TEST), (cleanup_suite), (main):
28200 add some tests related to cleanup after running pipelines
28202 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28204 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28205 add a testsuite for GstBuffer
28207 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28209 * gst/gstminiobject.h:
28210 add defines for accessing the refcount
28212 2005-06-03 Stefan Kost <ensonic@users.sf.net>
28214 * Makefile.am: added support for html unit test coverage reports
28216 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
28218 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28219 Free existing caps if the capsfilter changes. Add a FIXME about
28220 setting those caps on the pads.
28222 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28223 Before adding a ghost pad to a parent bin, check that there isn't
28224 already one for the element on the bin. Prevents infinite recursion
28225 when using decodebin in parse pipelines. Andy says he'll rewrite the
28226 way this works anyway, so ignore the hack.
28228 2005-06-02 Andy Wingo <wingo@pobox.com>
28230 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28231 file size, pass it on to the type find helper.
28233 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28234 segment_start and segment_end properly according to the seek
28235 method. Segment_end is still a bit flaky because offset can be
28236 negative for CUR and END cases, but it takes -1 as an "unset"
28239 2005-06-02 Wim Taymans <wim@fluendo.com>
28241 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28242 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28243 (gst_basesink_activate):
28244 * gst/base/gstbasesink.h:
28245 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28246 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28247 (gst_pad_query), (gst_pad_start_task):
28249 * gst/gstqueue.c: (gst_queue_bufferalloc),
28250 (gst_queue_handle_sink_event), (gst_queue_chain):
28251 Bufferalloc: return GstFlowReturn to more accuratly report
28252 why allocation failed.
28254 2005-06-02 Wim Taymans <wim@fluendo.com>
28256 * gst/gstpipeline.c: (gst_pipeline_send_event):
28257 Take snapshot of state without blocking.
28259 2005-06-02 Wim Taymans <wim@fluendo.com>
28261 * docs/design/part-TODO.txt:
28262 * docs/design/part-caps.txt:
28263 * docs/design/part-clocks.txt:
28264 * docs/design/part-negotiation.txt:
28265 * docs/design/part-preroll.txt:
28268 2005-05-30 Wim Taymans <wim@fluendo.com>
28270 * gst/elements/gstidentity.c: (gst_identity_event),
28271 (gst_identity_transform), (gst_identity_get_property):
28272 Protect last_message property as it is accessed from
28275 2005-05-30 Wim Taymans <wim@fluendo.com>
28277 * gst/gstelement.c: (gst_element_init),
28278 (gst_element_pads_activate), (gst_element_change_state):
28279 Slicker pad activation code.
28281 2005-05-30 Wim Taymans <wim@fluendo.com>
28284 * gst/gstelement.h:
28285 * gst/gstelementfactory.h:
28287 Move elementfactory methods to separate .h file.
28289 2005-05-30 Wim Taymans <wim@fluendo.com>
28291 * docs/design/part-overview.txt:
28292 * gst/gstsystemclock.h:
28293 Small typo fixes, doc updates.
28295 2005-05-30 Wim Taymans <wim@fluendo.com>
28297 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28298 (init_popt_callback):
28299 Remove cpu-opt flag.
28301 2005-05-30 Wim Taymans <wim@fluendo.com>
28303 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28304 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28306 Avoid typechecking in places where not needed.
28307 Added accessor for malloc_data.
28309 2005-05-30 Wim Taymans <wim@fluendo.com>
28311 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28312 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28313 (gst_pad_configure_sink), (gst_pad_configure_src),
28314 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28315 (gst_pad_start_task):
28316 Propagate errors from _set_caps() in configure_src/sink
28317 functions instead of returning TRUE.
28318 FLUSH events can travel up and downstream
28321 2005-05-30 Wim Taymans <wim@fluendo.com>
28323 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28324 (gst_basesink_activate):
28325 Handle EOS in preroll.
28327 2005-05-30 Wim Taymans <wim@fluendo.com>
28329 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28330 (gst_queue_loop), (gst_queue_handle_src_event):
28331 Remove old pieces of code
28332 Flushing the queue in an upstream event is a very bad idea.
28334 2005-05-26 Andy Wingo <wingo@pobox.com>
28336 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28337 gst_value_set_mini_object so as to add a ref on the object (which
28338 will be removed when the value is unset).
28340 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28341 arg type in ::handoff.
28343 * gst/gstelement.c (gst_element_change_state): Also deactivate
28344 pads in READY->NULL, just in case the element didn't make it to
28345 PAUSED. Wingo tested, Wim approved.
28347 2005-05-26 Wim Taymans <wim@fluendo.com>
28349 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28350 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28351 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28352 A flushing pad cannot be used to alloc_buffer from.
28354 2005-05-26 Wim Taymans <wim@fluendo.com>
28356 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28357 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28358 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28359 (gst_bus_create_watch), (gst_bus_add_watch_full):
28361 Implement a real GSource and use g_main_context_wakeup() to
28362 signal new messages instead of the socketpair.
28364 2005-05-25 Wim Taymans <wim@fluendo.com>
28366 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28367 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28368 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28369 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28370 (gst_pad_send_event), (gst_pad_start_task):
28371 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28372 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28373 (gst_queue_sink_activate), (gst_queue_src_activate),
28374 (gst_queue_change_state):
28376 Fix state changes for non sinks. We now change sinks, then elements
28377 with unconnected srcpads, then the rest.
28378 More efficient queue unlocking in flush and state changes.
28379 Set the pad activate mode even if it does not have an activate
28382 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28384 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28385 Don't go in pull mode for non-seekable sources.
28386 * gst/elements/gsttypefindelement.h:
28387 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28388 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28389 (free_entry), (stop_typefinding),
28390 (gst_type_find_element_handle_event), (find_peek),
28391 (gst_type_find_element_chain), (do_pull_typefind),
28392 (gst_type_find_element_change_state):
28393 Allow typefinding (w/o seeking) in push-mode, simplified version
28394 of what was in 0.8.
28395 * gst/gstutils.c: (gst_buffer_join):
28397 gst_buffer_join() from 0.8.
28399 2005-05-25 Wim Taymans <wim@fluendo.com>
28401 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28402 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28403 (gst_pad_send_event), (gst_pad_start_task):
28404 Disable attempt at mode switching until it is figured out.
28406 2005-05-25 Wim Taymans <wim@fluendo.com>
28408 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28409 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28410 (gst_basesink_finish_preroll), (gst_basesink_chain),
28411 (gst_basesink_loop), (gst_basesink_activate),
28412 (gst_basesink_change_state):
28413 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28414 (gst_basesrc_get_range), (gst_basesrc_loop),
28415 (gst_basesrc_activate):
28416 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28417 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28418 (gst_real_pad_init), (gst_real_pad_set_property),
28419 (gst_real_pad_get_property), (gst_pad_set_active),
28420 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28421 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28422 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28423 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28424 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28425 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28426 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28427 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28428 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28429 (gst_pad_stop_task):
28431 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28432 (gst_queue_loop), (gst_queue_src_activate):
28433 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28434 (gst_task_get_state):
28436 * gst/schedulers/threadscheduler.c:
28437 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28438 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28440 Remove ACTIVE pad flag, use FLUSHING everywhere
28441 Added _pad_chain(), _pad_get_range() to call chain/getrange
28443 Add locks around IS_FLUSHING when reading.
28444 Take STREAM lock in chain(), get_range() functions so plugins
28445 don't need to take it anymore.
28449 2005-05-25 Wim Taymans <wim@fluendo.com>
28451 * tools/gst-launch.c: (event_loop):
28452 Unref message after using its contents instead of
28455 2005-05-24 Wim Taymans <wim@fluendo.com>
28457 * docs/design/draft-ghostpads.txt:
28458 * docs/design/draft-push-pull.txt:
28459 * docs/design/draft-query.txt:
28460 * docs/design/part-overview.txt:
28461 Docs updates, added general overview doc.
28463 2005-05-21 David Schleef <ds@schleef.org>
28465 * docs/gst/tmpl/old/GstBin.sgml:
28466 * docs/gst/tmpl/old/GstBuffer.sgml:
28467 * docs/gst/tmpl/old/GstCaps.sgml:
28468 * docs/gst/tmpl/old/GstClock.sgml:
28469 * docs/gst/tmpl/old/GstCompat.sgml:
28470 * docs/gst/tmpl/old/GstData.sgml:
28471 * docs/gst/tmpl/old/GstElement.sgml:
28472 * docs/gst/tmpl/old/GstEvent.sgml:
28473 * docs/gst/tmpl/old/GstIndex.sgml:
28474 * docs/gst/tmpl/old/GstStructure.sgml:
28475 * docs/gst/tmpl/old/GstTag.sgml:
28476 * docs/gst/tmpl/old/cothreads.sgml:
28477 * docs/gst/tmpl/old/cothreads_compat.sgml:
28478 * docs/gst/tmpl/old/gettext.sgml:
28479 * docs/gst/tmpl/old/gobject2gtk.sgml:
28480 * docs/gst/tmpl/old/grammar.tab.sgml:
28481 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28482 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28483 * docs/gst/tmpl/old/gst_private.sgml:
28484 * docs/gst/tmpl/old/gstaggregator.sgml:
28485 * docs/gst/tmpl/old/gstarch.sgml:
28486 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28487 * docs/gst/tmpl/old/gstbufferstore.sgml:
28488 * docs/gst/tmpl/old/gstdata_private.sgml:
28489 * docs/gst/tmpl/old/gstdisksink.sgml:
28490 * docs/gst/tmpl/old/gstdisksrc.sgml:
28491 * docs/gst/tmpl/old/gstelementfactory.sgml:
28492 * docs/gst/tmpl/old/gstextratypes.sgml:
28493 * docs/gst/tmpl/old/gstfakesink.sgml:
28494 * docs/gst/tmpl/old/gstfakesrc.sgml:
28495 * docs/gst/tmpl/old/gstfdsink.sgml:
28496 * docs/gst/tmpl/old/gstfdsrc.sgml:
28497 * docs/gst/tmpl/old/gstfilesink.sgml:
28498 * docs/gst/tmpl/old/gstfilesrc.sgml:
28499 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28500 * docs/gst/tmpl/old/gstidentity.sgml:
28501 * docs/gst/tmpl/old/gstindexfactory.sgml:
28502 * docs/gst/tmpl/old/gstmarshal.sgml:
28503 * docs/gst/tmpl/old/gstmd5sink.sgml:
28504 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28505 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28506 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28507 * docs/gst/tmpl/old/gstpipefilter.sgml:
28508 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28509 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28510 * docs/gst/tmpl/old/gstshaper.sgml:
28511 * docs/gst/tmpl/old/gstspider.sgml:
28512 * docs/gst/tmpl/old/gstspideridentity.sgml:
28513 * docs/gst/tmpl/old/gststatistics.sgml:
28514 * docs/gst/tmpl/old/gsttee.sgml:
28515 * docs/gst/tmpl/old/gsttimecache.sgml:
28516 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28517 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28518 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28519 * docs/gst/tmpl/old/types.sgml:
28520 I didn't intend to add these or check them in.
28522 2005-05-19 David Schleef <ds@schleef.org>
28524 * configure.ac: Use -no-common everywhere. In a sane world, it
28525 would be the default in libtool, because without it, you can't
28526 build DLLs on Windows.
28527 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28528 * docs/gst/gstreamer-sections.txt:
28529 * docs/gst/tmpl/gstcpu.sgml:
28530 * docs/gst/tmpl/gstdata.sgml:
28531 * docs/gst/tmpl/gstthread.sgml:
28533 2005-05-19 David Schleef <ds@schleef.org>
28535 * gst/gstminiobject.c: (gst_value_set_mini_object),
28536 (gst_value_take_mini_object), (gst_value_get_mini_object):
28537 * gst/gstminiobject.h: Add GValue set/get functions.
28539 2005-05-19 Wim Taymans <wim@fluendo.com>
28541 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28542 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28543 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28545 * gst/gstbus.c: (gst_bus_post):
28546 * gst/gstelement.c: (gst_element_get_random_pad):
28547 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28548 Make subbufer unref the parent in finalize.
28549 some more debugging info.
28552 2005-05-19 Wim Taymans <wim@fluendo.com>
28554 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28555 (gst_basesink_init), (gst_basesink_finalize),
28556 (gst_basesink_activate), (gst_basesink_change_state):
28557 Don't free preroll queue too early.
28559 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28563 Hi, I'm outdated. Please shoot me.
28565 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28567 * gst/gstpipeline.c: (gst_pipeline_send_event):
28568 Do not access variables after they have been deleted.
28570 2005-05-19 Wim Taymans <wim@fluendo.com>
28572 * tools/gst-inspect.c: (print_plugin_features):
28573 A plugin feature does unfortunatly not use the
28576 2005-05-18 Wim Taymans <wim@fluendo.com>
28578 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28579 Port _span() functions to new subbuffers.
28581 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28583 * gst/gstbin.c: (gst_bin_add_func):
28584 Fix clock settery in bins when adding kids after the clock has
28587 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28589 * gst/elements/gstidentity.c: (gst_identity_class_init):
28590 Workaround until signals support GstMiniObject.
28592 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28595 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28597 2005-05-18 Wim Taymans <wim@fluendo.com>
28599 * gst/base/Makefile.am:
28600 * gst/base/gstadapter.c: (gst_adapter_base_init),
28601 (gst_adapter_class_init), (gst_adapter_init),
28602 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28603 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28604 (gst_adapter_flush), (gst_adapter_available),
28605 (gst_adapter_available_fast):
28606 * gst/base/gstadapter.h:
28607 Ported and added adapter to the base classes.
28609 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28612 * gst/gstmessage.c:
28613 Make sure the class is reffed/unreffed once before threads can be
28614 used. Fixes #304551.
28616 2005-05-17 Wim Taymans <wim@fluendo.com>
28618 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28619 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28620 * gst/gstminiobject.c: (gst_mini_object_get_type),
28621 (gst_mini_object_free):
28622 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28623 (gst_pad_push), (gst_pad_push_event):
28624 * gst/gstqueue.c: (gst_queue_change_state):
28625 Don't queue buffers in basesink when we are flushing.
28626 Unref buffer when flushing in basesink.
28627 Flush queue when going to READY
28628 Unref buffer when _push() returns an error.
28629 Don't free MiniObject instance when refcount is incremented
28630 in _finalize() so that we can recover objects.
28632 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28634 * docs/manual/advanced-schedulers.xml:
28635 * docs/manual/appendix-checklist.xml:
28636 * docs/pwg/advanced-clock.xml:
28637 * docs/pwg/advanced-interfaces.xml:
28638 * docs/pwg/advanced-request.xml:
28639 * docs/pwg/advanced-types.xml:
28640 * docs/pwg/intro-preface.xml:
28641 * examples/plugins/example.c: (gst_example_get_type),
28642 (gst_example_class_init), (gst_example_chain),
28643 (gst_example_set_property), (gst_example_get_property),
28644 (gst_example_change_state), (plugin_init):
28645 * examples/plugins/example.h:
28648 2005-05-17 Wim Taymans <wim@fluendo.com>
28650 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28651 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28652 * gst/gstqueue.c: (gst_queue_change_state):
28653 Clear queue when going to READY.
28654 Remove IN_SETCAPS flag too.
28656 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28658 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28659 Remove implicit cast from gboolean to GstElementStateReturn;
28660 make sure we still return failure in paused => ready case if
28661 the parent class fails to change state and our own stop
28664 2005-05-17 Wim Taymans <wim@fluendo.com>
28666 * tools/gst-launch.c: (event_loop):
28667 Message was unreffed too soon.
28669 2005-05-16 Andy Wingo <wingo@pobox.com>
28671 * gst/gstbin.c (sink_iterator_filter): Err... um...
28673 * check/gst/gstbin.c (test_ghost_pads): New test for the
28674 ghosting-if-elements-not-in-same-bin behavior.
28676 2005-05-16 David Schleef <ds@schleef.org>
28678 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28679 accessing refcount directly.
28681 2005-05-15 David Schleef <ds@schleef.org>
28683 * check/Makefile.am: remove GstData checks
28684 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28685 * gst/Makefile.am: add miniobject, remove data
28686 * gst/gst.h: add miniobject, remove data
28687 * gst/gstdata.c: remove
28688 * gst/gstdata.h: remove
28689 * gst/gstdata_private.h: remove
28690 * gst/gsttypes.h: remove GstEvent and GstMessage
28691 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28692 * gst/gstmarshal.list: change BOXED -> OBJECT
28694 Implement GstMiniObject.
28695 * gst/gstminiobject.c:
28696 * gst/gstminiobject.h:
28698 Modify to be subclasses of GstMiniObject.
28699 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28700 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28701 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28702 (gst_subbuffer_get_type), (gst_subbuffer_init),
28703 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28706 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28707 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28708 (_gst_event_copy), (gst_event_new):
28710 * gst/gstmessage.c: (_gst_message_initialize),
28711 (gst_message_get_type), (gst_message_class_init),
28712 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28713 (gst_message_new), (gst_message_new_error),
28714 (gst_message_new_warning), (gst_message_new_tag),
28715 (gst_message_new_state_changed), (gst_message_new_application):
28716 * gst/gstmessage.h:
28717 * gst/gstprobe.c: (gst_probe_perform),
28718 (gst_probe_dispatcher_dispatch):
28720 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28721 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28722 (_gst_query_copy), (gst_query_new):
28724 Update elements for GstData -> GstMiniObject changes
28726 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28727 (gst_queue_chain), (gst_queue_loop):
28728 * gst/elements/gstbufferstore.c:
28729 (gst_buffer_store_add_buffer_func),
28730 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28731 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28732 (gst_fakesink_render):
28733 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28734 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28735 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28736 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28737 (gst_filesrc_create_read):
28738 * gst/elements/gstidentity.c: (gst_identity_class_init):
28739 * gst/elements/gsttypefindelement.c:
28740 (gst_type_find_element_src_event), (free_entry_buffers),
28741 (gst_type_find_element_handle_event):
28742 * libs/gst/dataprotocol/dataprotocol.c:
28743 (gst_dp_header_from_buffer):
28744 * libs/gst/dataprotocol/dataprotocol.h:
28745 * libs/gst/dataprotocol/dp-private.h:
28747 2005-05-15 David Schleef <ds@schleef.org>
28749 * gst/elements/gstelements.c: Don't include headers that were
28752 2005-05-15 David Schleef <ds@schleef.org>
28754 * gst/elements/Makefile.am: Remove some elements that don't
28755 need to be in the core (or even exist at all).
28756 * gst/elements/gstaggregator.c:
28757 * gst/elements/gstaggregator.h:
28758 * gst/elements/gstmd5sink.c:
28759 * gst/elements/gstmd5sink.h:
28760 * gst/elements/gstmultifilesrc.c:
28761 * gst/elements/gstmultifilesrc.h:
28762 * gst/elements/gstpipefilter.c:
28763 * gst/elements/gstpipefilter.h:
28764 * gst/elements/gstshaper.c:
28765 * gst/elements/gstshaper.h:
28766 * gst/elements/gststatistics.c:
28767 * gst/elements/gststatistics.h:
28768 * po/POTFILES.in: Remove above files.
28770 2005-05-14 Andy Wingo <wingo@pobox.com>
28772 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28773 so as to get the refs right.
28774 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28775 unreffing objects that don't pass the filter.
28777 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28778 gst_element_set_bus.
28779 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28780 normal cases, this will destroy the bus.
28782 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28785 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28788 2005-05-13 Andy Wingo <wingo@pobox.com>
28790 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28791 gst_pad_link, call pad_link_maybe_ghosting,
28792 (pad_link_maybe_ghosting): Links pads, making sure that the
28793 elements being linked are in the same bin.
28794 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28795 Helpers for pad_link_maybe_ghosting.
28797 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28800 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28802 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28804 * docs/design/part-element-source.txt:
28807 2005-05-12 Wim Taymans <wim@fluendo.com>
28809 * gst/base/gstbasesink.c: (gst_basesink_init),
28810 (gst_basesink_activate):
28811 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28812 (gst_basesrc_is_seekable):
28813 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28814 (bin_element_is_sink), (gst_bin_change_state):
28815 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28816 * gst/gstelement.h:
28817 Identify sinks by their flag to avoid overly complicated
28819 Do state changes even for elements not reachable from the
28821 BaseSink is a sink now :)
28822 Some more debugging info in the basesrc.
28825 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28827 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28828 Implement _query on a bin, similar to _send_event.
28830 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28832 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28833 Discont event offset format should be GST_FORMAT_BYTES,
28834 not GST_FORMAT_TIME.
28836 2005-05-12 Wim Taymans <wim@fluendo.com>
28838 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28839 Same fix as Ronald's but without the signal.
28841 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28843 * gst/gstutils.c: (gst_element_query_position):
28844 No, an element is not a pad.
28846 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28848 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28849 (gst_bin_get_state):
28850 If a child is removed from a bin while we remove the child from
28851 the bin and while we're retrieving its state, signal this to the
28852 get_state function so we abort the wait (instead of waiting for
28853 a timeout) and can immediately re-iterate over all other elements.
28855 2005-05-12 Wim Taymans <wim@fluendo.com>
28857 * gst/base/Makefile.am:
28858 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28859 (gst_basesrc_start):
28860 * gst/base/gstbasesrc.h:
28861 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28862 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28863 (gst_pushsrc_init), (gst_pushsrc_create):
28864 * gst/base/gstpushsrc.h:
28865 Added is_seekable to BaseSrc
28866 Added simple PushSrc.
28868 2005-05-11 Wim Taymans <wim@fluendo.com>
28870 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28871 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28872 (gst_element_link_pads), (gst_element_query_position),
28873 (gst_element_query_convert), (intersect_caps_func),
28874 (gst_pad_query_position), (gst_pad_query_convert):
28875 Fix refcounting in utils function.
28876 No point in trying to activate a pad when it's added, it could
28877 be added from the state change function and then we deadlock, the
28878 element has to decide what to do.
28880 2005-05-10 Andy Wingo <wingo@pobox.com>
28882 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28883 *all* the arguments.
28885 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28886 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28887 lock (according to the docs -- if this is wrong change the docs).
28889 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28890 flush messages in the NULL state.
28892 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28893 message immediately and return.
28894 (gst_bus_set_flushing): New function. If a bus is flushing, it
28895 flushes out any queued messages and immediately unrefs new
28896 messages. This is so when an element goes to NULL, all of the
28897 unhandled messages coming from it can be freed, and their
28898 references to the element dropped. In other words: message source
28899 ref considered harmful :P
28901 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28902 we're finished with it.
28904 * gst/gstmessage.c (gst_message_new_state_changed):
28906 2005-05-10 Wim Taymans <wim@fluendo.com>
28908 * gst/gstvalue.c: (gst_value_compare_flags),
28909 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28910 (_gst_value_initialize):
28911 Added flags serialize/deserialize/compare code.
28913 2005-05-09 Andy Wingo <wingo@pobox.com>
28915 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28916 Intersect the peer's caps with our caps.
28918 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28920 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28921 * gst/elements/gsttypefindelement.c: (find_peek):
28922 Handle negative offsets better. Fixes decodebin.
28924 2005-05-09 Wim Taymans <wim@fluendo.com>
28926 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28927 (gst_base_transform_event):
28928 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28929 Implement accept_caps.
28930 Fix silly lock/unlock mismatch in base class.
28932 2005-05-09 Wim Taymans <wim@fluendo.com>
28934 * docs/design/draft-push-pull.txt:
28935 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28936 * gst/elements/gstfilesink.c: (gst_filesink_init),
28937 (gst_filesink_query):
28938 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28939 (gst_type_find_handle_src_query), (find_element_get_length):
28940 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28941 * gst/gstelement.h:
28942 * gst/gstmessage.c:
28943 * gst/gstmessage.h:
28944 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28945 (gst_real_pad_get_caps_unlocked),
28946 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28947 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28948 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28949 (gst_real_pad_dispose), (gst_real_pad_finalize),
28950 (gst_pad_load_and_link), (gst_pad_save_thyself),
28951 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28952 (gst_pad_check_pull_range), (gst_pad_pull_range),
28953 (gst_pad_template_get_type), (gst_pad_template_class_init),
28954 (gst_pad_template_init), (gst_pad_template_dispose),
28955 (name_is_valid), (gst_static_pad_template_get),
28956 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28957 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28958 (gst_pad_get_element_private), (gst_pad_start_task),
28959 (gst_pad_pause_task), (gst_pad_stop_task),
28960 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28961 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28962 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28963 (gst_ghost_pad_new):
28965 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28966 (gst_query_new_position), (gst_query_set_position),
28967 (gst_query_parse_position), (gst_query_new_convert),
28968 (gst_query_set_convert), (gst_query_parse_convert):
28970 * gst/gstqueryutils.c:
28971 * gst/gstqueryutils.h:
28972 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28973 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28974 (gst_queue_handle_src_query):
28975 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28976 (gst_element_query_position), (gst_element_query_convert),
28977 (intersect_caps_func), (gst_pad_query_position),
28978 (gst_pad_query_convert):
28980 * tools/gst-inspect.c: (print_pad_info):
28981 * tools/gst-xmlinspect.c: (print_element_info):
28982 Remove old query functions. Ported old code.
28983 Added position/convert helper functions to gstutils.
28984 Reordered gstpad.c code, grouping relevant things.
28985 Remove gst_message_new(), always need to speficy a specific
28989 2005-05-09 Andy Wingo <wingo@pobox.com>
28991 * gst/gstiterator.h: Add some includes.
28993 * gst/gstqueryutils.h: Include more headers.
28996 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28997 some uses of gst_pad_query.
28999 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29000 NULL out parameters.
29001 (gst_query_new_position): New proc, allocates a new position
29004 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29005 gstqueryutils.c to the build.
29007 * gst/gststructure.c (gst_structure_set_valist): Implement with
29008 the generic G_VALUE_COLLECT.
29010 2005-05-08 Edward Hervey <bilboed@bilboed.com>
29012 * gst/Makefile.am: (gst_headers):
29013 Added gstqueryutils.h to the list of headers to install, that was
29014 a 'nachty' move wingo :)
29016 2005-05-06 Andy Wingo <wingo@pobox.com>
29019 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29020 GstData, init a memchunk.
29021 (standard_definitions): Add a few query types, deprecate a few.
29022 (gst_query_get_type): New proc.
29023 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29025 (gst_query_new_application, gst_query_get_structure): New public
29028 * docs/design/draft-query.txt: Removed LINKS from the query types,
29029 because all the rest can be dispatched to other pads -- seemed
29030 ugly to have a query that couldn't be dispatched. internal_links
29031 is fine as a pad method.
29033 * gst/gstpad.h: Add query2 as a pad method, add the new functions
29034 in gstpad.c, but maintain binary compatibility for the moment.
29035 Will fix before 0.9 is out.
29037 * gst/gstqueryutils.c:
29038 * gst/gstqueryutils.h: New files, implement 3 methods for each
29039 query type: parse_query, parse_response, and set. Probably need an
29042 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29044 * gst/elements/gstfilesink.c (gst_filesink_query2):
29045 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29046 query_types, and formats methods.
29048 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29049 (gst_pad_set_query2_function): New functions.
29050 (gst_real_pad_init): Set query2_default as the default query2
29051 function. Basically just dispatches to internally linked pads.
29055 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29056 without using the atomic operations. Only one thread can possibly
29057 be accessing the data at this point. Changed so as to avoid
29058 gst_atomic operations.
29060 2005-05-06 Wim Taymans <wim@fluendo.com>
29062 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29063 Also set caps if we use the fallback buffer alloc.
29065 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
29067 * docs/gst/Makefile.am:
29068 * docs/gst/gstreamer-docs.sgml:
29069 * docs/gst/gstreamer-sections.txt:
29070 * docs/gst/tmpl/gstatomic.sgml:
29071 * docs/gst/tmpl/gstmemchunk.sgml:
29072 * testsuite/elements/struct_i386.h:
29073 * win32/GStreamer.vcproj:
29075 Purge GstAtomic stuff from docs and win32 makefiles as well
29077 2005-05-06 Wim Taymans <wim@fluendo.com>
29079 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29080 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29081 * gst/gstpad.c: (gst_pad_peer_get_caps):
29082 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29083 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29084 (gst_queue_src_activate), (gst_queue_change_state):
29086 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29087 (intersect_caps_func):
29088 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29089 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29090 Some fixes for the peer_get_caps() change.
29092 2005-05-06 Wim Taymans <wim@fluendo.com>
29094 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29095 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29096 (gst_basesink_activate):
29097 Actually do something with error codes returned from the push
29100 2005-05-06 Wim Taymans <wim@fluendo.com>
29102 * docs/design/part-element-sink.txt:
29103 * docs/design/part-element-source.txt:
29104 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29105 (gst_basesink_event), (gst_basesink_activate):
29106 * gst/base/gstbasesink.h:
29107 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29108 (gst_basesrc_activate):
29109 * gst/base/gstbasesrc.h:
29110 * gst/gstelement.c: (gst_element_pads_activate):
29111 Some more documentation.
29112 Fixed scheduling decision in _pads_activate().
29114 2005-05-05 Andy Wingo <wingo@pobox.com>
29116 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29119 2005-05-05 Wim Taymans <wim@fluendo.com>
29121 * gst/base/Makefile.am:
29122 * gst/base/gstbasesink.h:
29123 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29124 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29125 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29126 (gst_collectpads_class_init), (gst_collectpads_init),
29127 (gst_collectpads_finalize), (gst_collectpads_new),
29128 (gst_collectpads_set_function), (gst_collectpads_add_pad),
29129 (find_pad), (gst_collectpads_remove_pad),
29130 (gst_collectpads_is_active), (gst_collectpads_collect),
29131 (gst_collectpads_collect_range), (gst_collectpads_start),
29132 (gst_collectpads_stop), (gst_collectpads_peek),
29133 (gst_collectpads_pop), (gst_collectpads_available),
29134 (gst_collectpads_read), (gst_collectpads_flush),
29135 (gst_collectpads_chain):
29136 * gst/base/gstcollectpads.h:
29137 * gst/elements/Makefile.am:
29138 * gst/elements/gstelements.c:
29139 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29140 (gst_fakesink_get_times), (gst_fakesink_event),
29141 (gst_fakesink_preroll), (gst_fakesink_render):
29142 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29143 (gst_filesink_init), (gst_filesink_set_location),
29144 (gst_filesink_open_file), (gst_filesink_close_file),
29145 (gst_filesink_pad_query), (gst_filesink_event),
29146 (gst_filesink_render), (gst_filesink_change_state):
29147 * gst/elements/gstfilesink.h:
29148 Added object to help in making collect pad based elements.
29150 Make event function in sink baseclass return gboolean.
29152 2005-05-05 Wim Taymans <wim@fluendo.com>
29154 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29155 (gst_bin_get_by_name):
29157 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29158 (gst_clock_finalize):
29159 * gst/gstdata.c: (gst_data_replace):
29161 * gst/gstelement.c: (gst_element_request_pad),
29162 (gst_element_pads_activate):
29163 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29164 (gst_object_unref):
29165 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29166 (gst_pad_set_checkgetrange_function),
29167 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29168 (gst_pad_check_pull_range), (gst_pad_pull_range),
29169 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29170 (gst_pad_pause_task), (gst_pad_stop_task):
29171 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29172 (gst_element_request_pad), (gst_pad_proxy_getcaps):
29173 Fix name lookup in GstBin.
29174 Added _data_replace() function and _buffer_replace()
29175 Use finalize method to clean up clock.
29176 Fix refcounting on request pads.
29177 Fix pad schedule mode error.
29178 Some more object refcounting debug info,
29181 2005-05-04 Andy Wingo <wingo@pobox.com>
29183 * check/Makefile.am:
29184 * docs/gst/tmpl/gstatomic.sgml:
29185 * docs/gst/tmpl/gstplugin.sgml:
29186 * gst/base/gstbasesink.c: (gst_basesink_activate):
29187 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29188 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29189 (gst_basesrc_query), (gst_basesrc_set_property),
29190 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29191 (gst_basesrc_activate):
29192 * gst/base/gstbasesrc.h:
29193 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29194 (gst_base_transform_src_activate):
29195 * gst/elements/gstelements.c:
29196 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29197 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29198 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29199 * gst/elements/gsttypefindelement.c: (find_element_get_length),
29200 (gst_type_find_element_checkgetrange),
29201 (gst_type_find_element_activate):
29202 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29203 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29204 (gst_caps_load_thyself):
29205 * gst/gstelement.c: (gst_element_pads_activate),
29206 (gst_element_save_thyself), (gst_element_restore_thyself):
29207 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29208 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29210 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29211 (gst_xml_parse_file), (gst_xml_parse_memory),
29212 (gst_xml_get_element), (gst_xml_make_element):
29213 * gst/indexers/gstfileindex.c: (gst_file_index_load),
29214 (_file_index_id_save_xml), (gst_file_index_commit):
29215 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29216 (read_enum), (load_pad_template), (load_feature), (load_plugin),
29218 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29219 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29220 * tools/gst-complete.c: (main):
29221 * tools/gst-compprep.c: (main):
29222 * tools/gst-inspect.c: (print_element_properties_info):
29223 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29224 * tools/gst-xmlinspect.c: (print_element_properties):
29227 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
29229 * gst/gstplugin.c: (gst_plugin_check_module),
29230 (gst_plugin_check_file), (gst_plugin_load_file):
29231 apply patch from #172526 to make register work on MacOSX
29233 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29235 * docs/gst/tmpl/gstconfig.sgml:
29236 * gst/gstconfig.h.in:
29237 move documentation for some symbols. Add doc for GST_PTR_FORMAT
29238 * testsuite/debug/printf_extension.c: (main):
29239 Do not use GST_PTR_FORMAT on pointers to types with
29240 sizeof < sizeof(gpointer). Fixes test on 64-bit
29241 * testsuite/elements/property.h:
29242 use correct printf format
29244 2005-05-02 Wim Taymans <wim@fluendo.com>
29246 * docs/design/draft-push-pull.txt:
29247 * docs/design/draft-query.txt:
29248 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29249 (gst_basesrc_start):
29250 Added draft for new query API.
29251 Added draft for better selecting scheduling methods.
29252 Make basesrc ignore length if the subclass does not support
29255 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29258 possible fixes for automake-1.5 - _LIBADD is reserved
29260 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29262 * docs/faq/Makefile.am:
29263 * docs/manual/Makefile.am:
29264 * docs/manuals.mak:
29265 * docs/pwg/Makefile.am:
29267 possible fixes for automake-1.5
29269 2005-04-28 Wim Taymans <wim@fluendo.com>
29271 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29272 (gst_basesink_pad_getcaps), (gst_basesink_init),
29273 (gst_basesink_do_sync):
29274 * gst/gstclock.c: (gst_clock_entry_new):
29275 * gst/gstevent.c: (gst_event_discont_get_value):
29276 * gst/gstpipeline.c: (pipeline_bus_handler),
29277 (gst_pipeline_change_state):
29278 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29279 Better debugging of clocking info.
29280 Allow NULL values when getting discont values.
29282 2005-04-27 Wim Taymans <wim@fluendo.com>
29284 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29285 * check/gst/gstpad.c: (gst_pad_suite):
29286 Increase timeout for checks.
29288 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29290 * check/Makefile.am:
29291 fix the broken rule for cleanup. Apparently this rule is
29292 only needed on FC2, so maybe this warrants further autotool
29295 2005-04-26 Wim Taymans <wim@fluendo.com>
29297 * gst/gsttrashstack.h:
29298 Ooohh. a nasty one! After having a failed pop() from the stack,
29299 it's possible that the stack is empty. In that case, don't
29300 follow the NULL pointer.
29302 2005-04-25 Wim Taymans <wim@fluendo.com>
29304 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29305 (gst_pad_set_checkgetrange_function),
29306 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29307 (gst_pad_check_pull_range), (gst_pad_pull_range),
29308 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29309 (gst_pad_pause_task), (gst_pad_stop_task):
29310 * gst/gstplugin.c: (gst_plugin_load):
29312 Remove gst_library_load as it does more harm than good with
29313 the new g_module flags.
29314 Revert bogus caps template check in pad linking, pad caps
29315 are important when linking not the template, which is more
29316 general than the current caps.
29318 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29320 * gst/autoplug/.cvsignore:
29321 * gst/autoplug/Makefile.am:
29322 * gst/autoplug/gstsearchfuncs.c:
29323 * gst/autoplug/gstsearchfuncs.h:
29324 * gst/autoplug/gstspider.c:
29325 * gst/autoplug/gstspider.h:
29326 * gst/autoplug/gstspideridentity.c:
29327 * gst/autoplug/gstspideridentity.h:
29328 * gst/autoplug/spidertest.c:
29331 2005-04-25 Wim Taymans <wim@fluendo.com>
29333 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29334 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29335 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29336 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29338 Added stubs for unimplemented functions.
29340 2005-04-24 David Schleef <ds@schleef.org>
29342 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29345 2005-04-24 David Schleef <ds@schleef.org>
29347 Convert everything from GstAtomicInt to g_atomic_int_*, and
29352 * gst/gstatomic_impl.h:
29360 * gst/gstdata_private.h:
29364 * gst/gstmessage.c:
29367 * gst/gststructure.c:
29368 * gst/gststructure.h:
29369 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29372 2005-04-24 David Schleef <ds@schleef.org>
29374 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29375 make the regressions tests work. Remove some code that is no
29377 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29378 Disable warning for pads without templates.
29380 2005-04-24 David Schleef <ds@schleef.org>
29382 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29383 functions that handle filtered links.
29384 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29386 * gst/gstutils.c: Fix/remove utility functions that handle
29389 * gst/gstvalue.c: Add serialization/deserialization of caps
29390 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29391 requires fixing so that the filter caps notation creates
29392 a capsfilter element and sets the filter_caps property. I
29393 think everyone probably wants to keep the shorthand notation.
29394 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29395 * docs/gst/tmpl/gstpad.sgml:
29397 * gst/elements/gstelements.c: Register capsfilter element.
29398 * gst/Makefile.am: fix spacing
29399 * docs/random/ds/0.9-suggested-changes: random
29401 2005-04-23 David Schleef <ds@schleef.org>
29403 * gst/elements/Makefile.am:
29404 * gst/elements/gstcapsfilter.c: New element that acts like an
29405 identity, but filters caps. Will eventually replace filtered
29406 caps in pad linking.
29407 * gst/gstutils.c: (gst_element_create_all_pads): New function
29408 to create all the ALWAYS pads that are registered with an
29409 element class. This functionality should eventually be
29410 merged in with GstElement initialization.
29412 * testsuite/trigger/README: part of trigger test code that should
29413 have been checked in a long time ago.
29415 2005-04-23 David Schleef <ds@schleef.org>
29417 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29418 needed with new versions of libtool (nobody will confirm this),
29419 and hard to carry around.
29420 * gst/autoplug/Makefile.am:
29421 * gst/base/Makefile.am:
29422 * gst/elements/Makefile.am:
29423 * gst/indexers/Makefile.am:
29424 * gst/schedulers/Makefile.am:
29425 * libs/gst/bytestream/Makefile.am:
29426 * libs/gst/control/Makefile.am:
29427 * libs/gst/dataprotocol/Makefile.am:
29428 * libs/gst/getbits/Makefile.am:
29430 2005-04-21 Wim Taymans <wim@fluendo.com>
29432 * docs/design/draft-push-pull.txt:
29433 * docs/design/part-MT-refcounting.txt:
29434 * docs/design/part-TODO.txt:
29435 * docs/design/part-caps.txt:
29436 * docs/design/part-events.txt:
29437 * docs/design/part-gstbus.txt:
29438 * docs/design/part-gstpipeline.txt:
29439 * docs/design/part-messages.txt:
29440 * docs/design/part-push-pull.txt:
29441 * docs/design/part-query.txt:
29444 2005-04-21 Wim Taymans <wim@fluendo.com>
29446 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29447 (gst_message_new), (gst_message_new_error),
29448 (gst_message_new_warning), (gst_message_new_tag),
29449 (gst_message_new_state_changed), (gst_message_new_application),
29450 (gst_message_get_structure):
29451 * gst/gstmessage.h:
29452 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29453 (gst_structure_copy_conditional):
29454 Use parent refcount in GstMessage to ensure GstStructure
29456 Cleaned up headers a bit.
29459 2005-04-20 Wim Taymans <wim@fluendo.com>
29461 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29462 (gst_basesink_pad_getcaps), (gst_basesink_init),
29463 (gst_basesink_chain_unlocked):
29464 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29465 (gst_type_find_helper):
29466 * gst/elements/gsttypefindelement.c:
29467 (gst_type_find_element_have_type), (gst_type_find_element_init),
29468 (stop_typefinding), (gst_type_find_element_handle_event),
29469 (find_suggest), (gst_type_find_element_chain),
29470 (gst_type_find_element_checkgetrange),
29471 (gst_type_find_element_getrange), (do_typefind),
29472 (gst_type_find_element_activate):
29473 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29474 (gst_buffer_default_free), (gst_buffer_default_copy),
29475 (gst_buffer_set_caps):
29476 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29477 (gst_caps_replace):
29478 * gst/gstmessage.c: (gst_message_new),
29479 (gst_message_new_state_changed):
29480 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29481 (gst_pad_set_checkgetrange_function),
29482 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29483 (gst_pad_set_caps), (gst_pad_check_pull_range),
29484 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29486 * gst/gsttypefind.c: (gst_type_find_register):
29487 Make gst_caps_replace() work like other _replace() functions.
29488 Use _caps_replace() where possible.
29489 Make sure _message_new() initialises its field.
29490 Add gst_static_pad_template_get_caps()
29493 2005-04-18 Andy Wingo <wingo@pobox.com>
29495 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29496 on the peer, not the pad. I think that was a typo. Pass an extra
29497 arg to see if random access is possible. Activate the pads as
29498 PULL_RANGE if possible.
29500 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29502 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29503 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29506 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29508 * docs/faq/using.xml:
29509 Add note on gstreamer-properties (#154996).
29511 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29513 * docs/random/bbb/optional-properties:
29514 Some analysis on optional properties.
29516 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29518 * docs/gst/tmpl/gstelementfactory.sgml:
29519 * gst/gstelement.h:
29520 * gst/gstelementfactory.c: (gst_element_factory_init),
29521 (gst_element_factory_cleanup), (gst_element_register),
29522 (__gst_element_factory_add_static_pad_template),
29523 (gst_element_factory_get_static_pad_templates),
29524 (gst_element_factory_can_src_caps),
29525 (gst_element_factory_can_sink_caps):
29526 * gst/registries/Makefile.am:
29527 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29528 (gst_xml_registry_class_init), (gst_xml_registry_init),
29529 (gst_xml_registry_new), (gst_xml_registry_set_property),
29530 (gst_xml_registry_get_property), (get_time), (make_dir),
29531 (gst_xml_registry_get_perms_func),
29532 (plugin_times_older_than_recurse), (plugin_times_older_than),
29533 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29534 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29535 (add_to_char_array), (read_string), (read_uint), (read_enum),
29536 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29537 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29538 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29539 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29540 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29541 (gst_xml_registry_rebuild):
29542 * gst/registries/gstlibxmlregistry.h:
29543 * tools/gst-compprep.c: (main):
29544 * tools/gst-inspect.c: (print_pad_templates_info):
29545 * tools/gst-xmlinspect.c: (print_element_info):
29546 Use libxml2 for registry parsing, use staticpadtemplates in
29547 elementfactories. Makes gst_init() +/- 10x faster.
29549 2005-04-12 Wim Taymans <wim@fluendo.com>
29551 * gst/base/Makefile.am:
29552 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29553 (gst_basesink_pad_getcaps), (gst_basesink_init),
29554 (gst_basesink_event), (gst_basesink_change_state):
29555 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29556 (gst_basesrc_init), (gst_basesrc_query),
29557 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29558 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29559 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29560 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29561 (gst_basesrc_stop), (gst_basesrc_activate),
29562 (gst_basesrc_change_state):
29563 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29564 (helper_find_suggest), (gst_type_find_helper):
29565 * gst/base/gsttypefindhelper.h:
29566 * gst/elements/Makefile.am:
29567 * gst/elements/gstelements.c:
29568 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29569 (gst_fakesink_get_times), (gst_fakesink_event),
29570 (gst_fakesink_preroll), (gst_fakesink_render):
29571 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29572 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29573 (gst_fakesrc_get_property), (gst_fakesrc_create),
29574 (gst_fakesrc_start), (gst_fakesrc_stop):
29575 * gst/elements/gstfakesrc.h:
29576 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29577 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29578 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29579 (gst_filesrc_create_read), (gst_filesrc_create),
29580 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29581 (gst_filesrc_start):
29582 * gst/elements/gsttypefindelement.c:
29583 (gst_type_find_element_have_type), (gst_type_find_element_init),
29584 (start_typefinding), (stop_typefinding), (push_buffer_store),
29585 (gst_type_find_element_handle_event),
29586 (gst_type_find_element_chain),
29587 (gst_type_find_element_checkgetrange),
29588 (gst_type_find_element_getrange), (do_typefind),
29589 (gst_type_find_element_activate),
29590 (gst_type_find_element_change_state):
29591 * gst/elements/gsttypefindelement.h:
29592 * gst/gstpipeline.c: (pipeline_bus_handler):
29593 Added typefind helper.
29594 Small preroll fix in the base sink.
29595 Disable typefind code in basesrc.
29596 Crude port of typefindelement.
29600 2005-04-11 Wim Taymans <wim@fluendo.com>
29602 * check/gst/gstbus.c: (gstbus_suite):
29603 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29604 * check/gstcheck.h:
29605 Fix up the timeout so that the test does not fail.
29607 2005-04-06 Wim Taymans <wim@fluendo.com>
29610 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29611 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29612 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29613 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29614 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29615 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29616 (gst_basesrc_stop), (gst_basesrc_activate),
29617 (gst_basesrc_change_state), (basesrc_find_peek),
29618 (basesrc_find_suggest), (gst_basesrc_type_find):
29619 * gst/base/gstbasesrc.h:
29620 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29621 (gst_filesrc_class_init), (gst_filesrc_init),
29622 (gst_filesrc_finalize), (gst_filesrc_set_location),
29623 (gst_filesrc_set_property), (gst_filesrc_get_property),
29624 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29625 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29626 (gst_filesrc_create_read), (gst_filesrc_create),
29627 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29628 * gst/elements/gstfilesrc.h:
29629 * gst/gstelement.c: (gst_element_get_state_func),
29630 (gst_element_lost_state), (gst_element_pads_activate):
29631 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29632 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29633 (gst_pad_pull_range):
29635 More work on the generic source base class, implement seeking,
29637 Make filesrc extend the base source class.
29638 Added gst_pad_set_checkgetrange_function to GstPad.
29640 2005-04-06 Andy Wingo <wingo@pobox.com>
29642 * pkgconfig/gstreamer-base.pc.in:
29643 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29645 * pkgconfig/Makefile.am:
29646 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29648 2005-04-04 Wim Taymans <wim@fluendo.com>
29650 * gst/base/Makefile.am:
29652 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29653 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29654 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29655 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29656 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29657 (gst_basesrc_base_init), (gst_basesrc_class_init),
29658 (gst_basesrc_init), (gst_basesrc_get_formats),
29659 (gst_basesrc_get_query_types), (gst_basesrc_query),
29660 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29661 (gst_basesrc_set_property), (gst_basesrc_get_property),
29662 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29663 (gst_basesrc_loop), (gst_basesrc_activate),
29664 (gst_basesrc_change_state):
29665 * gst/base/gstbasesrc.h:
29666 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29667 (gst_fakesrc_class_init), (gst_fakesrc_init),
29668 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29669 (gst_fakesrc_get_property), (gst_fakesrc_create):
29670 * gst/elements/gstfakesrc.h:
29671 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29672 (gst_filesrc_open_file), (gst_filesrc_loop),
29673 (gst_filesrc_activate), (filesrc_find_peek),
29674 (gst_filesrc_type_find):
29675 Made base source class, make fakesrc extend it.
29676 Add comments to basesink class.
29677 Some filesrc cleanup.
29679 2005-03-31 David Schleef <ds@schleef.org>
29681 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29682 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29683 expected to link against libgstreamer.
29684 * gst/base/Makefile.am: link against libgstreamer
29685 * gst/elements/Makefile.am: same
29687 2005-03-31 Andy Wingo <wingo@pobox.com>
29689 * tests/instantiate/Makefile.am:
29690 * tests/instantiate/caps.c: Add test to test speed of caps copy
29693 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29694 GMemChunk to be fair.
29696 * gst/gsttrashstack.h: Remove warning about using the fallback
29697 trash stack implementation, it's still faster than malloc.
29699 2005-03-30 Andy Wingo <wingo@pobox.com>
29701 * tests/complexity.c: Add a copyright.
29703 2005-03-31 Wim Taymans <wim@fluendo.com>
29705 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29706 (gst_base_transform_class_init), (gst_base_transform_init),
29707 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29708 (gst_base_transform_get_property),
29709 (gst_base_transform_sink_activate),
29710 (gst_base_transform_src_activate),
29711 (gst_base_transform_change_state):
29712 * gst/base/gstbasetransform.h:
29713 * gst/elements/gstidentity.c: (gst_identity_class_init),
29714 (gst_identity_event), (gst_identity_check_perfect),
29715 (gst_identity_transform), (gst_identity_start),
29716 (gst_identity_stop):
29717 Added start/stop methods to transform base class so subclasses
29718 don't need to deal with state changes even.
29720 2005-03-31 Wim Taymans <wim@fluendo.com>
29722 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29723 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29725 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29726 (gst_pad_pull_range):
29727 Added rate to the discont event to prepare for variable speed
29728 and reverse playback.
29730 2005-03-29 David Schleef <ds@schleef.org>
29733 * testsuite/trigger/Makefile.am:
29734 * testsuite/trigger/trigger.c: A little example program to show
29735 how trigger-based elements can work.
29737 2005-03-29 Wim Taymans <wim@fluendo.com>
29739 * gst/base/Makefile.am:
29741 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29742 (gst_basesink_base_init), (gst_basesink_class_init),
29743 (gst_basesink_pad_getcaps), (gst_basesink_init),
29744 (gst_basesink_activate), (gst_basesink_change_state):
29745 * gst/base/gstbasesink.h:
29746 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29747 (gst_base_transform_base_init), (gst_base_transform_finalize),
29748 (gst_base_transform_class_init), (gst_base_transform_init),
29749 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29750 (gst_base_transform_event), (gst_base_transform_getrange),
29751 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29752 (gst_base_transform_set_property),
29753 (gst_base_transform_get_property),
29754 (gst_base_transform_sink_activate),
29755 (gst_base_transform_src_activate),
29756 (gst_base_transform_change_state):
29757 * gst/base/gstbasetransform.h:
29758 * gst/elements/gstidentity.c: (gst_identity_finalize),
29759 (gst_identity_class_init), (gst_identity_init),
29760 (gst_identity_event), (gst_identity_check_perfect),
29761 (gst_identity_transform), (gst_identity_set_property),
29762 (gst_identity_get_property), (gst_identity_change_state):
29763 * gst/elements/gstidentity.h:
29764 * gst/gstelement.c: (gst_element_get_state_func),
29765 (gst_element_lost_state), (gst_element_pads_activate):
29766 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29767 (gst_pad_check_pull_range), (gst_pad_pull_range):
29769 Simplify pad activation.
29770 Added function to check if pull_range can be performed.
29771 Error out when pulling inactive or flushing pads.
29772 Removed const from refcounted types as it does not make sense.
29773 Simplify pad templates in basesink
29774 Added base class for simple 1-to-1 transforms.
29775 Make identity subclass the base transform.
29777 2005-03-29 Andy Wingo <wingo@pobox.com>
29779 * docs/libs/gstreamer-libs-overrides.txt:
29780 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29781 really don't understand what's going on, but like whatever. I want
29784 * docs/gst/Makefile.am:
29785 * docs/libs/Makefile.am: Dist the overrides files.
29787 * check/Makefile.am (clean-local): Remove .libs directories.
29789 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29790 elements to EXTRA_DIST, so po/ files are happy.
29792 * po/POTFILES.in: Er, remove it here.
29794 * po/POTFILES: Remove gstspider.c.
29796 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29798 * docs/libs/gstreamer-libs-docs.sgml:
29799 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29802 * tests/complexity.c (main): Set the length of the preroll queue
29803 on the sinks to prevent a lockup.
29805 * libs/gst/dataprotocol/Makefile.am:
29806 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29807 the same as the one in check/gst-libs/gdp.c.
29809 * po/, docs/gst/: Commit automatic changes to docs and po files.
29811 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29812 the versioned libgstbase.
29814 * check/Makefile.am: Depend on an unversioned gst-register, seems
29815 to make autoconf happier.
29817 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29819 2005-03-28 Wim Taymans <wim@fluendo.com>
29822 * docs/design/part-gstelement.txt:
29823 * docs/design/part-negotiation.txt:
29824 * docs/design/part-preroll.txt:
29825 * docs/design/part-scheduling.txt:
29826 * docs/design/part-states.txt:
29828 * gst/base/Makefile.am:
29830 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29831 (gst_basesink_base_init), (gst_basesink_class_init),
29832 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29833 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29834 (gst_basesink_set_pad_functions),
29835 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29836 (gst_basesink_set_property), (gst_basesink_get_property),
29837 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29838 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29839 (gst_basesink_preroll_queue_push),
29840 (gst_basesink_preroll_queue_empty),
29841 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29842 (gst_basesink_event), (gst_basesink_get_times),
29843 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29844 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29845 (gst_basesink_loop), (gst_basesink_activate),
29846 (gst_basesink_change_state):
29847 * gst/base/gstbasesink.h:
29848 * gst/elements/Makefile.am:
29849 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29850 (gst_fakesink_class_init), (gst_fakesink_init),
29851 (gst_fakesink_set_property), (gst_fakesink_get_property),
29852 (gst_fakesink_get_times), (gst_fakesink_event),
29853 (gst_fakesink_preroll), (gst_fakesink_render),
29854 (gst_fakesink_change_state):
29855 * gst/elements/gstfakesink.h:
29856 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29857 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29858 * gst/gstelement.c: (gst_element_add_pad),
29859 (gst_element_get_state_func), (gst_element_abort_state),
29860 (gst_element_commit_state), (gst_element_lost_state),
29861 (gst_element_set_state), (gst_element_pads_activate):
29862 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29863 * gst/gstpipeline.c: (gst_pipeline_send_event),
29864 (gst_pipeline_change_state):
29865 Added state change code.
29866 Added/updated docs.
29867 Added sink base class, make fakesink extend the base class.
29868 Small cleanups in GstPipeline.
29870 2005-03-26 David Schleef <ds@schleef.org>
29872 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29873 is broken and should be implemented in a different library.
29874 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29875 * gst/gst.h: remove gstcpu.h
29876 * gst/gstcpu.c: remove
29877 * gst/gstcpu.h: remove
29878 * gst/Makefile.am.future: Remove this file. It's ancient.
29880 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29882 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29883 (gst_bin_send_event):
29884 Add default event/set_manager handlers. The set_manager handler
29885 takes care that the manager is distributed over kids that were
29886 already in the bin before the manager was set. The event handler
29887 is a utility virtual function that sends the event over all sinks,
29888 so that gst_element_send_event (bin, event); has the expected
29890 * gst/gstpad.c: (gst_pad_event_default):
29891 Re-install default event handling for discontinuities, so that
29892 seeking works without requiring hacks in applications or extra
29894 * gst/gstpipeline.c: (gst_pipeline_class_init),
29895 (gst_pipeline_send_event):
29896 Half hack, half utility: set a pipeline to PAUSED for seek events,
29897 since that is the only way we can guarantee a/v sync. Means that
29898 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29899 and it "just works".
29901 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29903 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29904 Lock/unlock mismatch.
29906 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29908 * docs/faq/gst-uninstalled:
29909 add gst-plugins-base
29910 * docs/gst/Makefile.am:
29911 don't error out until docs are fixed
29912 * docs/gst/gstreamer.types:
29915 2005-03-22 Wim Taymans <wim@fluendo.com>
29917 * check/Makefile.am:
29918 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29919 * gst/gststructure.c: (gst_structure_set_valist),
29920 (gst_structure_copy_conditional):
29921 Activated more tests.
29922 Added message test.
29923 Added G_TYPE_POINTER to GstStructure.
29926 2005-03-22 Wim Taymans <wim@fluendo.com>
29928 * docs/design/part-TODO.txt:
29929 * docs/design/part-events.txt:
29930 * docs/design/part-gstbin.txt:
29931 * docs/design/part-gstbus.txt:
29932 * docs/design/part-gstpipeline.txt:
29933 * docs/design/part-messages.txt:
29935 * gst/gstmessage.c:
29938 2005-03-21 Wim Taymans <wim@fluendo.com>
29940 * gst/gstbus.c: (gst_bus_post):
29941 Fix copy-and-paste error.
29943 2005-03-21 Wim Taymans <wim@fluendo.com>
29945 * check/Makefile.am:
29947 * gst/elements/Makefile.am:
29948 * gst/elements/gstelements.c:
29949 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29950 (gst_fakesink_event), (gst_fakesink_chain):
29951 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29952 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29953 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29954 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29955 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29956 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29957 (gst_fakesrc_loop), (gst_fakesrc_activate),
29958 (gst_fakesrc_change_state):
29959 * gst/elements/gstfakesrc.h:
29960 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29961 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29962 (gst_filesrc_open_file), (gst_filesrc_loop),
29963 (gst_filesrc_activate), (gst_filesrc_change_state),
29964 (filesrc_find_peek), (filesrc_find_suggest),
29965 (gst_filesrc_type_find):
29966 * gst/elements/gstidentity.c: (gst_identity_finalize),
29967 (gst_identity_class_init), (gst_identity_init),
29968 (gst_identity_proxy_getcaps), (identity_queue_push),
29969 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29970 (gst_identity_getrange), (gst_identity_chain),
29971 (gst_identity_sink_loop), (gst_identity_src_loop),
29972 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29973 (gst_identity_set_property), (gst_identity_get_property),
29974 (gst_identity_change_state):
29975 * gst/elements/gstidentity.h:
29976 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29977 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29978 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29979 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29980 (gst_tee_sink_activate):
29981 * gst/elements/gsttee.h:
29982 * gst/gst.c: (gst_register_core_elements), (init_post):
29984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29985 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29986 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29987 (gst_bin_change_state):
29989 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29990 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29991 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29992 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29993 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29994 (bus_watch_callback), (bus_watch_destroy),
29995 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29996 (poll_timeout), (gst_bus_poll):
30000 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30001 (gst_element_post_message), (gst_element_message_full),
30002 (gst_element_get_state_func), (gst_element_get_state),
30003 (gst_element_abort_state), (gst_element_commit_state),
30004 (gst_element_lost_state), (gst_element_set_state),
30005 (gst_element_pads_activate), (gst_element_change_state),
30006 (gst_element_dispose), (gst_element_set_manager_func),
30007 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30008 (gst_element_set_manager), (gst_element_get_manager),
30009 (gst_element_set_bus), (gst_element_get_bus),
30010 (gst_element_set_scheduler), (gst_element_get_scheduler):
30011 * gst/gstelement.h:
30012 * gst/gstevent.c: (gst_event_new_segment_seek),
30013 (gst_event_new_flush):
30015 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30016 (_gst_message_free), (gst_message_get_type), (gst_message_new),
30017 (gst_message_new_eos), (gst_message_new_error),
30018 (gst_message_new_warning), (gst_message_new_tag),
30019 (gst_message_new_state_changed), (gst_message_new_application),
30020 (gst_message_get_structure), (gst_message_parse_tag),
30021 (gst_message_parse_state_changed), (gst_message_parse_error),
30022 (gst_message_parse_warning):
30023 * gst/gstmessage.h:
30024 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30025 (gst_real_pad_set_property), (gst_pad_set_active),
30026 (gst_pad_is_active), (gst_pad_set_blocked_async),
30027 (gst_pad_set_blocked), (gst_pad_is_blocked),
30028 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30029 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30030 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30031 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30032 (gst_pad_link_filtered), (gst_pad_relink_filtered),
30033 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30034 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30035 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30036 (gst_pad_set_caps), (gst_pad_configure_sink),
30037 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30038 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30039 (gst_real_pad_dispose), (gst_real_pad_finalize),
30040 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30041 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30042 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30044 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30045 (pipeline_bus_handler), (gst_pipeline_change_state),
30046 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30047 * gst/gstpipeline.h:
30049 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30050 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30051 (gst_queue_link_src), (gst_queue_bufferalloc),
30052 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30053 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30054 (gst_queue_loop), (gst_queue_handle_src_event),
30055 (gst_queue_handle_src_query), (gst_queue_src_activate),
30056 (gst_queue_change_state):
30058 * gst/gstscheduler.c: (gst_scheduler_init),
30059 (gst_scheduler_dispose), (gst_scheduler_create_task),
30060 (gst_scheduler_factory_create):
30061 * gst/gstscheduler.h:
30062 * gst/gststructure.c: (gst_structure_get_type),
30063 (gst_structure_copy_conditional):
30064 * gst/gststructure.h:
30065 * gst/gsttaginterface.h:
30066 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30067 (gst_task_init), (gst_task_dispose), (gst_task_create),
30068 (gst_task_get_state), (gst_task_start), (gst_task_stop),
30074 * gst/schedulers/Makefile.am:
30075 * gst/schedulers/cothreads_compat.h:
30076 * gst/schedulers/entryscheduler.c:
30077 * gst/schedulers/faircothreads.c:
30078 * gst/schedulers/faircothreads.h:
30079 * gst/schedulers/fairscheduler.c:
30080 * gst/schedulers/gstbasicscheduler.c:
30081 * gst/schedulers/gstoptimalscheduler.c:
30082 * gst/schedulers/gthread-cothreads.h:
30083 * gst/schedulers/threadscheduler.c:
30084 (gst_thread_scheduler_task_get_type),
30085 (gst_thread_scheduler_task_class_init),
30086 (gst_thread_scheduler_task_init),
30087 (gst_thread_scheduler_task_start),
30088 (gst_thread_scheduler_task_stop),
30089 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30090 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30091 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30092 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30094 * libs/gst/Makefile.am:
30095 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30096 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30097 (gst_file_pad_parent_set):
30098 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30099 (gst_dp_event_from_packet):
30100 * tests/complexity.c: (main):
30101 * tests/mass_elements.c: (main):
30102 * testsuite/states/locked.c: (message_received), (main):
30103 * testsuite/states/parent.c: (main):
30104 * tools/gst-inspect.c: (print_element_flag_info),
30105 (print_implementation_info), (print_pad_info):
30106 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30108 * tools/gst-md5sum.c: (event_loop), (main):
30109 * tools/gst-typefind.c: (main):
30110 * tools/gst-xmlinspect.c: (print_element_info):
30112 Added GstBus for mainloop integration.
30113 Added GstMessage for sending notifications on the bus.
30114 Added GstTask as an abstraction for pipeline entry points.
30116 Removed Schedulers.
30117 Simplified GstQueue for multithreaded core.
30118 Made _link threadsafe, removed old capsnego.
30119 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30120 Added pad blocking functions.
30121 Reworked scheduling functions in GstPad to prepare for
30122 scheduling updates soon.
30123 Moved events out of data stream.
30124 Simplified GstEvent types.
30125 Added return values to push/pull.
30126 Removed clocking from GstElement.
30127 Added prototypes for state change function for next merge.
30128 Removed iterate from bins and state change management.
30129 Fixed some elements, disabled others for now.
30130 Fixed -inspect and -launch.
30131 Added check for GstBus.
30133 2005-03-10 Wim Taymans <wim@fluendo.com>
30135 * docs/design/part-MT-refcounting.txt:
30136 * docs/design/part-clocks.txt:
30137 * docs/design/part-gstelement.txt:
30138 * docs/design/part-gstobject.txt:
30139 * docs/design/part-standards.txt:
30140 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30141 (gst_bin_remove_func), (gst_bin_remove):
30145 * testsuite/clock/clock1.c: (main):
30146 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30148 * testsuite/dlopen/loadgst.c: (do_test):
30149 * testsuite/refcounting/bin.c: (add_remove_test1),
30150 (add_remove_test2), (main):
30151 * testsuite/refcounting/element.c: (main):
30152 * testsuite/refcounting/element_pad.c: (main):
30153 * testsuite/refcounting/pad.c: (main):
30154 * tools/gst-launch.c: (sigint_handler_sighandler):
30155 * tools/gst-typefind.c: (main):
30157 Added doc about clock.
30158 removed gst_bin_iterate_recurse_up(), marked methods
30160 Fix more testsuites.
30162 2005-03-09 Wim Taymans <wim@fluendo.com>
30164 * gst/gstpad.c: (gst_pad_get_direction),
30165 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30166 (gst_pad_collect_valist):
30167 * testsuite/bins/interface.c: (main):
30168 * testsuite/caps/audioscale.c: (test_caps):
30169 * testsuite/caps/caps.c: (test1), (test2), (test3):
30170 * testsuite/caps/deserialize.c: (main):
30171 * testsuite/caps/enumcaps.c: (main):
30172 * testsuite/caps/filtercaps.c: (main):
30173 * testsuite/caps/intersect2.c: (main):
30174 * testsuite/caps/random.c: (main):
30175 * testsuite/caps/renegotiate.c: (my_fixate), (main):
30176 * testsuite/caps/sets.c: (check_caps):
30177 * testsuite/caps/simplify.c: (check_caps), (main):
30178 * testsuite/caps/subtract.c: (check_caps):
30179 Fix _pad_get_direction wrt ghostpads.
30180 Fix caps testsuite.
30182 2005-03-09 Wim Taymans <wim@fluendo.com>
30184 * check/Makefile.am:
30185 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30186 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30187 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30188 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30189 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30190 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30191 (gst_bin_remove), (gst_bin_iterate_recurse_up),
30192 (bin_element_is_sink), (gst_bin_iterate_sinks),
30193 (gst_bin_iterate_all_by_interface):
30195 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30196 (gst_element_change_state), (gst_element_dispose),
30197 (gst_element_finalize), (gst_element_set_loop_function):
30198 * gst/gstelement.h:
30199 * gst/gstiterator.c: (find_custom_fold_func):
30200 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30201 (gst_pad_collectv), (gst_pad_collect_valist),
30202 (gst_pad_template_new):
30203 * gst/gstpipeline.c: (gst_pipeline_class_init),
30204 (gst_pipeline_dispose), (gst_pipeline_set_property),
30205 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30206 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30207 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30209 * gst/schedulers/entryscheduler.c:
30210 * gst/schedulers/gstbasicscheduler.c:
30211 (gst_basic_scheduler_cothreaded_chain),
30212 (gst_basic_scheduler_chain_add_element):
30213 * testsuite/bins/interface.c: (main):
30215 Added GstSystemClock test.
30216 Implemented clock distribution code in GstBin.
30217 Implemented iterate sinks method for future use.
30218 Rearranged gstelement.h
30219 Fix GstIterator comparison bug.
30220 Moved some code to GstPipeline, mostly clocking related.
30222 2005-03-09 Wim Taymans <wim@fluendo.com>
30225 * gst/gst_private.h:
30226 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30227 (gst_bin_remove_func), (gst_bin_remove),
30228 (gst_bin_get_by_name_recurse_up):
30229 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30230 (gst_clock_id_compare_func), (gst_clock_id_wait),
30231 (gst_clock_id_wait_async), (gst_clock_init),
30232 (gst_clock_adjust_unlocked), (gst_clock_get_time):
30233 * gst/gstelement.h:
30234 * gst/gstinfo.c: (_gst_debug_init):
30236 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30237 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30239 Bump version number, we're now 0.9.0
30240 Add future debugging category.
30241 Fix NULL _unref() in _get_by_name_recurse_up
30242 Rearrange gstpad.h.
30245 2005-03-08 Wim Taymans <wim@fluendo.com>
30247 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30248 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30249 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30250 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30251 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30252 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30253 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30254 * gst/elements/gstidentity.c: (gst_identity_class_init):
30255 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30256 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30257 * gst/elements/gstshaper.c: (gst_shaper_class_init):
30258 * gst/elements/gststatistics.c: (gst_statistics_class_init):
30259 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30261 * gst/gstelement.c: (gst_element_class_init),
30262 (gst_element_base_class_init), (gst_element_init),
30263 (gst_element_get_random_pad), (gst_element_wait_state_change),
30264 (gst_element_change_state), (gst_element_dispose),
30265 (gst_element_finalize), (gst_element_set_loop_function):
30266 * gst/gstelement.h:
30267 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30268 * gst/gstthread.c: (gst_thread_class_init),
30269 (gst_thread_release_children_locks), (gst_thread_change_state):
30270 * gst/schedulers/gstbasicscheduler.c:
30271 (gst_basic_scheduler_loopfunc_wrapper),
30272 (gst_basic_scheduler_chain_wrapper),
30273 (gst_basic_scheduler_src_wrapper),
30274 (gst_basic_scheduler_remove_element):
30275 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30276 Remove threadsafe properties. Fix elements because GObject
30277 complains when installing a property before declaring a
30278 set/get_property handler.
30279 Rearrange gstelement.h file, use STATE macros for state locks.
30280 Free mutexes in the finalize method instead of dispose.
30282 2005-03-08 Wim Taymans <wim@fluendo.com>
30284 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30285 * gst/gstthread.c: (gst_thread_release_children_locks):
30286 Added parentage check.
30287 Fix build og GstThread again.
30289 2005-03-08 Wim Taymans <wim@fluendo.com>
30291 * docs/design/part-MT-refcounting.txt:
30292 * docs/design/part-conventions.txt:
30293 * docs/design/part-gstobject.txt:
30294 * docs/design/part-relations.txt:
30295 * docs/design/part-standards.txt:
30296 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30297 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30298 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30299 (gst_bin_iterate_all_by_interface):
30302 * gst/gstelement.c: (gst_element_class_init),
30303 (gst_element_change_state), (gst_element_set_loop_function):
30304 * gst/gstelement.h:
30305 * gst/gstiterator.c:
30306 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30307 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30308 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30309 (gst_object_set_parent), (gst_object_unparent),
30310 (gst_object_check_uniqueness):
30312 Docs updates, clean up some headers.
30314 2005-03-07 Wim Taymans <wim@fluendo.com>
30316 * check/.cvsignore:
30317 * check/Makefile.am:
30318 * check/gst-libs/.cvsignore:
30319 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30320 * check/gst/.cvsignore:
30321 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30322 (START_TEST), (gstbus_suite), (main):
30323 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30324 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30325 (gst_data_suite), (main):
30326 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30327 (add_fold_func), (gstiterator_suite), (main):
30328 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30329 (thread_name_object), (thread_name_object_default),
30330 (gst_object_name_compare), (gst_object_suite), (main):
30331 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30332 (gst_pad_suite), (main):
30333 * check/gstcheck.c: (gst_check_log_message_func),
30334 (gst_check_log_critical_func), (gst_check_init):
30335 * check/gstcheck.h:
30336 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30337 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30340 2005-03-07 Wim Taymans <wim@fluendo.com>
30342 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30343 (gst_list_iterator_next), (gst_list_iterator_resync),
30344 (gst_list_iterator_free), (gst_iterator_new_list),
30345 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30346 (gst_iterator_free), (gst_iterator_push), (filter_next),
30347 (filter_resync), (filter_uninit), (filter_free),
30348 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30349 (gst_iterator_foreach), (find_custom_fold_func),
30350 (gst_iterator_find_custom):
30351 * gst/gstiterator.h:
30352 Added missing files.
30354 2005-03-07 Wim Taymans <wim@fluendo.com>
30358 * docs/design/part-MT-refcounting.txt:
30359 * docs/design/part-conventions.txt:
30360 * docs/design/part-gstobject.txt:
30361 * docs/design/part-relations.txt:
30362 * examples/mixer/mixer.c: (main):
30363 * examples/thread/thread.c: (eos), (main):
30365 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30366 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30367 (gst_spider_plug_from_srcpad):
30368 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30369 (gst_spider_identity_change_state),
30370 (gst_spider_identity_sink_loop_type_finding):
30371 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30372 * gst/elements/gstidentity.c: (gst_identity_init):
30373 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30374 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30375 * gst/elements/gsttypefindelement.c: (free_entry):
30378 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30379 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30380 (gst_bin_set_index), (gst_bin_set_element_sched),
30381 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30382 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30383 (gst_bin_iterate_elements), (iterate_child_recurse),
30384 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30385 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30386 (compare_interface), (gst_bin_get_by_interface),
30387 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30389 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30390 (gst_buffer_default_free), (gst_buffer_default_copy),
30391 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30392 (gst_buffer_create_sub):
30394 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30395 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30396 (gst_caps_unref), (gst_static_caps_get),
30397 (gst_caps_remove_and_get_structure), (gst_caps_append),
30398 (gst_caps_append_structure), (gst_caps_remove_structure),
30399 (gst_caps_copy_nth), (gst_caps_set_simple),
30400 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30401 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30402 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30403 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30404 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30405 (gst_caps_structure_figure_out_union),
30406 (gst_caps_switch_structures), (gst_caps_do_simplify),
30407 (gst_caps_replace), (gst_caps_from_string),
30408 (gst_caps_copy_conditional):
30410 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30411 (_gst_clock_id_free), (gst_clock_id_unref),
30412 (gst_clock_id_compare_func), (gst_clock_id_wait),
30413 (gst_clock_id_wait_async), (gst_clock_class_init),
30414 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30415 (gst_clock_get_time), (gst_clock_set_time_adjust),
30416 (gst_clock_set_property), (gst_clock_get_property):
30419 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30420 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30422 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30423 (gst_element_requires_clock), (gst_element_provides_clock),
30424 (gst_element_set_clock), (gst_element_clock_wait),
30425 (gst_element_wait), (gst_element_set_time_delay),
30426 (gst_element_is_indexable), (gst_element_add_pad),
30427 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30428 (pad_compare_name), (gst_element_get_static_pad),
30429 (gst_element_request_pad), (gst_element_get_request_pad),
30430 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30431 (gst_element_class_get_pad_template_list),
30432 (gst_element_class_get_pad_template), (gst_element_error_func),
30433 (gst_element_get_random_pad), (gst_element_get_event_masks),
30434 (gst_element_send_event), (gst_element_seek),
30435 (gst_element_get_query_types), (gst_element_query),
30436 (gst_element_get_formats), (gst_element_convert),
30437 (gst_element_is_locked_state), (gst_element_set_locked_state),
30438 (gst_element_sync_state_with_parent), (gst_element_change_state),
30439 (gst_element_finalize), (gst_element_yield),
30440 (gst_element_interrupt), (gst_element_set_scheduler),
30441 (gst_element_get_scheduler), (gst_element_set_loop_function):
30442 * gst/gstelement.h:
30444 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30445 (gst_format_get_by_nick), (gst_format_get_details),
30446 (gst_format_iterate_definitions):
30448 * gst/gstindex.c: (gst_index_gtype_resolver):
30451 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30452 (gst_mem_chunk_free):
30453 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30454 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30455 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30456 (gst_object_dispatch_properties_changed),
30457 (gst_object_set_name_default), (gst_object_set_name),
30458 (gst_object_get_name), (gst_object_set_name_prefix),
30459 (gst_object_get_name_prefix), (gst_object_set_parent),
30460 (gst_object_get_parent), (gst_object_unparent),
30461 (gst_object_check_uniqueness), (gst_object_save_thyself),
30462 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30463 (gst_object_set_property), (gst_object_get_property),
30464 (gst_object_get_path_string):
30466 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30467 (gst_real_pad_init), (gst_real_pad_get_property),
30468 (gst_pad_custom_new), (gst_pad_get_direction),
30469 (gst_pad_set_active), (gst_pad_is_active),
30470 (gst_pad_set_event_function), (gst_pad_is_linked),
30471 (gst_pad_link_free), (gst_pad_link_intersect),
30472 (gst_pad_link_fixate), (gst_pad_set_caps),
30473 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30474 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30475 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30476 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30477 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30478 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30479 (gst_pad_realize), (gst_pad_get_allowed_caps),
30480 (gst_real_pad_dispose), (gst_real_pad_finalize),
30481 (gst_pad_collectv), (gst_pad_collect_valist),
30482 (gst_pad_template_dispose), (gst_pad_template_new),
30483 (gst_pad_get_internal_links):
30485 * gst/gstpipeline.c: (gst_pipeline_dispose),
30486 (gst_pipeline_change_state):
30487 * gst/gstpipeline.h:
30489 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30490 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30491 * gst/gstpluginfeature.h:
30492 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30493 * gst/gstquery.c: (_gst_query_type_initialize),
30494 (gst_query_type_register), (gst_query_type_get_by_nick),
30495 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30497 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30498 * gst/gstscheduler.c: (gst_scheduler_add_element),
30499 (gst_scheduler_factory_create):
30500 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30501 (gst_structure_free), (gst_structure_set_name),
30502 (gst_structure_id_set_value), (gst_structure_set_value),
30503 (gst_structure_set_valist), (gst_structure_remove_field),
30504 (gst_structure_remove_fields),
30505 (gst_structure_remove_fields_valist),
30506 (gst_structure_remove_all_fields), (gst_structure_foreach),
30507 (gst_structure_map_in_place),
30508 (gst_caps_structure_fixate_field_nearest_int),
30509 (gst_caps_structure_fixate_field_nearest_double):
30510 * gst/gststructure.h:
30511 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30512 (gst_system_clock_init), (gst_system_clock_dispose),
30513 (gst_system_clock_async_thread),
30514 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30515 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30516 * gst/gstsystemclock.h:
30517 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30518 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30519 * gst/gsttaginterface.c:
30520 * gst/gstthread.c: (gst_thread_dispose),
30521 (gst_thread_release_children_locks), (gst_thread_change_state),
30522 (gst_thread_main_loop):
30523 * gst/gsttrashstack.h:
30524 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30526 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30527 (gst_element_request_pad), (gst_element_get_pad_from_template),
30528 (gst_element_request_compatible_pad),
30529 (gst_element_get_compatible_pad_filtered),
30530 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30531 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30532 (gst_element_link_many), (gst_element_link),
30533 (gst_element_link_pads), (gst_element_unlink_pads),
30534 (gst_element_unlink_many), (gst_element_unlink),
30535 (gst_pad_can_link_filtered), (gst_pad_can_link),
30536 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30537 (gst_object_default_error), (gst_bin_add_many),
30538 (gst_bin_remove_many), (gst_element_populate_std_props),
30539 (gst_element_class_install_std_props), (gst_buffer_merge),
30540 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30541 (link_fold_func), (gst_pad_proxy_setcaps):
30543 * gst/gstvalue.c: (gst_value_deserialize_string):
30544 * gst/parse/grammar.y:
30545 * gst/schedulers/gstbasicscheduler.c:
30546 (gst_basic_scheduler_cothreaded_chain),
30547 (gst_basic_scheduler_chain_recursive_add),
30548 (gst_basic_scheduler_pad_link):
30549 * gst/schedulers/gstoptimalscheduler.c:
30550 (get_group_schedule_function),
30551 (gst_opt_scheduler_state_transition),
30552 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30553 * libs/gst/bytestream/bytestream.c:
30554 * libs/gst/dataprotocol/dataprotocol.c:
30555 (gst_dp_header_from_buffer):
30558 * tests/threadstate/threadstate2.c: (eos):
30559 * tools/gst-compprep.c: (main):
30560 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30561 (print_pad_info), (print_children_info):
30562 * tools/gst-launch.c: (idle_func), (main):
30563 * tools/gst-md5sum.c: (idle_func), (main):
30564 * tools/gst-xmlinspect.c: (print_element_info):
30565 First THREADED backport attempt, focusing on adding locks and
30566 making sure the API is threadsafe. Needs more work. More docs
30569 2005-02-24 Andy Wingo <wingo@pobox.com>
30571 * tests/bench-complexity.scm:
30572 * tests/complexity.gnuplot: New files, good for running complexity
30575 * tests/Makefile.am:
30576 * tests/complexity.c: New test, sets up N elements, at each level
30577 teeing into M streams per element. Eeeenteresting.
30579 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30580 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30581 running bench-mass_elements.scm.
30583 * tests/bench-mass_elements.scm: New script, runs mass_elements
30584 for various numbers of identities, outputting the results to a
30585 file. Requires guile 1.6. Just for testing.
30587 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30589 * gst/schedulers/fairscheduler.c:
30590 compile with debug disabled
30592 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30595 hunting season on 0.9 is now OPEN