1 2008-08-01 Stefan Kost <ensonic@users.sf.net>
4 * docs/gst/gstreamer.types:
5 Revert 'accidential' change of the configure option removal. We still
6 need to generate the types file in configure --disable-load-save.
8 2008-08-01 Stefan Kost <ensonic@users.sf.net>
10 * docs/gst/gstreamer-sections.txt:
12 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
14 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
16 * gst/gstpadtemplate.c:
17 (gst_pad_template_class_init), (gst_static_pad_template_get),
18 (gst_pad_template_new), (gst_pad_template_pad_created),
19 (gst_pad_template_set_property), (gst_pad_template_get_property):
20 Add "name-template", "direction", "presence" and "caps" properties,
21 so that gst_pad_template_new() is just a thin wrapper around
22 g_object_new(), which is better for bindings. (Fixes: #539772)
24 2008-07-31 Michael Smith <msmith@songbirdnest.com>
27 Be more liberal in what URIs we accept.
28 Do not unescape bits of the URI for no apparent reason before passing to
29 the element. Fixes #545352.
31 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
33 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
36 Include gstconfig.h as macros from it are used. Fixes bug #545607.
38 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
41 * docs/gst/gstreamer-sections.txt:
42 * docs/gst/gstreamer.types:
43 * docs/gst/gstreamer.types.in:
46 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
48 * gst/gstelement.c: (gst_element_get_index):
49 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
50 (gst_registry_binary_load_feature),
51 (gst_registry_binary_read_cache):
52 * gst/gstregistryxml.c: (load_feature),
53 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
54 * plugins/Makefile.am:
56 * tools/gst-inspect.c: (print_index_info), (print_element_list),
57 (print_plugin_features), (print_element_features):
58 * tools/gst-xmlinspect.c: (print_event_masks),
60 * win32/common/gstconfig.h:
61 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
63 Disabling the indexers and URI handler code will only reduce the
64 required amount of memory by a very small amount but on the other hand
65 requires much more maintaince work. Apart from that many places of
66 code are broken when disabling them.
68 Disabling the enum types doesn't reduce the required amount of memory
69 by more than a few bytes and makes it hard to fix bugs like #539772,
70 i.e. use the enums as GObject properties.
72 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
74 * docs/design/part-TODO.txt:
75 Add some thoughts and problems with upstream renegotiation.
77 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
79 * gst/gstpad.c: (gst_pad_acceptcaps_default),
80 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
81 Remove silly redundant debug.
82 Add some more debug info.
83 Clarify the docs regarding new caps received from pad_alloc.
85 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
87 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
88 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
89 Make setting the caps more threadsafe.
91 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
93 * docs/design/part-element-transform.txt:
96 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
98 * plugins/elements/gstqueue.c: (gst_queue_init),
99 (gst_queue_acceptcaps):
100 Add and use a custom acceptcaps function instead of falling back to the
101 potentially less optimized default implementation.
103 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
105 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
106 Only sanity-check the buffer size if requested_caps == buffer_caps
107 (ie. don't take pad caps into account, they're not relevant here)
109 2008-07-29 Stefan Kost <ensonic@users.sf.net>
111 * plugins/elements/gsttee.c:
112 * plugins/elements/gsttee.h:
113 Reverting as not everything is clear yet. Needs some general design
116 2008-07-29 Stefan Kost <ensonic@users.sf.net>
119 ChangeLog surgery for tee commit.
121 2008-07-29 Stefan Kost <ensonic@users.sf.net>
123 * docs/gst/gstreamer-sections.txt:
124 Cleanup section-file.
126 2008-07-29 Stefan Kost <ensonic@users.sf.net>
128 * plugins/elements/gsttee.c:
129 * plugins/elements/gsttee.h:
130 Relay tag events in tee. Fixes parts of #474016.
131 Downgrades 3 reoccurring debugs to log.
133 2008-07-28 Michael Smith <msmith@songbirdnest.com>
136 * libs/gst/Makefile.am:
137 Build the net library if we have winsock2.
139 2008-07-26 Stefan Kost <ensonic@users.sf.net>
141 patch by: Luc Pionchon <luc.pionchon@nokia.com>
143 * docs/manual/advanced-threads.xml:
144 * docs/manual/diagrams-pipelines.svg:
145 * docs/manual/hello-world.png:
146 * docs/manual/linked-elements.png:
147 * docs/manual/mime-world.png:
148 * docs/manual/queue.png:
149 * docs/manual/thread-buffering.png:
150 * docs/manual/thread-synchronizing.png:
151 Replace one diagram with two separate ones and updates others.
154 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
157 Fix link in documentation.
159 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
162 Fix confusing documentation.
164 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
166 * libs/gst/base/gstbasesrc.h:
167 revert the changes to the header file for the ABI.
169 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
171 * libs/gst/base/gstbasesrc.c:
172 * libs/gst/base/gstbasesrc.h:
173 Don't cache the seekable status.
176 2008-07-24 Rene Stadler <mail@renestadler.de>
178 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
179 code to close the pipeline graph. This prevents the program from
180 printing internal data flow errors.
182 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
184 * docs/manual/basics-bus.xml:
185 Correct typo. Fixes bug #544320.
187 2008-07-22 Michael Smith <msmith@songbirdnest.com>
190 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
191 Add check (taken from -base) for winsock, adds WIN32_LIBS
193 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
195 Define GST_EXPORTS when building libgstreamer (only used on win32)
198 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
199 for symbols that we need to export in both these files.
201 Include gst_private.h higher up to avoid some compile problems on win32.
203 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
208 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
211 Previous commit was wrong NULL caps does not exist
212 and indicate an error, so also add a FIXME to
213 gst_caps_is_equal where NULL caps are accepted.
215 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
218 Allow passing of NULL to gst_caps_union
220 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
223 Add in doc that gst_ghost_pad_set_target can accept
226 2008-07-15 Michael Smith <msmith@songbirdnest.com>
230 GstRegistryPool doesn't exist; don't refer to it in docs.
231 Don't refer to functions that don't exist in docs, it's
234 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
237 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
239 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
241 Patch by: tmatth <le dot businessman at gmail dot com>
243 * docs/pwg/building-testapp.xml:
244 Don't use an undeclared variable in the example program.
247 2008-07-12 Stefan Kost <ensonic@users.sf.net>
249 * gst/gstdebugutils.c:
250 Squeeze ghost-pad links and remove <> from classname labels to save
251 more horizontal space.
253 2008-07-11 Stefan Kost <ensonic@users.sf.net>
255 * gst/gstdebugutils.c:
256 Give request and sometimes pads a different shpe style. Condense the
257 graphs a little more.
259 2008-07-09 Michael Smith <msmith@songbirdnest.com>
262 Don't require flex and bison if the parser is disabled.
264 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
266 * libs/gst/controller/gstinterpolationcontrolsource.c:
267 (_list_find_sorted_custom):
268 Don't use declarations after statements.
270 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
272 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
273 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
274 of the the child-added / -removed signals as GstChildProxy
275 only supports GstObjects.
277 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
279 * gst/gstdebugutils.c:
282 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
284 Patch by: Alessandro Decina <alessandro at nnva dot org>
287 Fix "ignored return value" compiler warning with newer glibc.
289 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
291 * gst/gstchildproxy.c:
292 Fix copy&paste error in gst_child_proxy_removed() documentation.
294 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
296 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
297 Print error debug message if plugin description fields that should
300 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
301 Don't crash if the string to serialise is NULL (it really should
302 not be, but apparently this used to work with the xml registry ...).
304 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
306 * tools/gst-plot-timeline.py:
307 Fix parsing of log messages
309 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
311 * win32/common/libgstbase.def::
312 Sort alphabetically so make check-exports doesn't barf.
314 2008-07-01 Stefan Kost <ensonic@users.sf.net>
317 Use gst_format_get_name() to improve debug output.
320 Remove #ifdef'ed code. Add TODO comment.
323 Add debug output to ease spotting format != segment.format assertions.
325 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
327 * tests/check/libs/gdp.c: (gst_dp_suite):
328 Also enable the GDP unit test again on PPC now that the bug
331 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
333 * libs/gst/dataprotocol/dataprotocol.c:
334 Don't write to the same region of memory as a uint64 and uint16
335 as this breaks strict aliasing rules and apparantly breaks on PPC
336 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
338 2008-06-29 Stefan Kost <ensonic@users.sf.net>
340 * libs/gst/controller/gstinterpolationcontrolsource.c:
341 Optimize list handling. Use own find function. Exploit that fact that
342 the list is sorted. Also pass back the node before, so that we can
343 insert quickly. Have a fast path for append.
345 2008-06-29 Stefan Kost <ensonic@users.sf.net>
347 * docs/design/draft-framestep.txt:
348 * docs/design/part-negotiation.txt:
351 2008-06-27 Stefan Kost <ensonic@users.sf.net>
354 Show configuration sumary after configure run. Based on patch by
355 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
357 2008-06-27 Stefan Kost <ensonic@users.sf.net>
359 patch by: Luc Pionchon <luc.pionchon@nokia.com>
361 * docs/manual/advanced-autoplugging.xml:
362 * docs/manual/advanced-threads.xml:
363 * docs/manual/basics-bins.xml:
364 * docs/manual/basics-elements.xml:
365 * docs/manual/basics-helloworld.xml:
366 * docs/manual/basics-pads.xml:
367 Add scale factor for pdf output.
369 * docs/manual/intro-basics.xml:
370 Switched sections "pads" and "bins" and added a pipeline diagram.
372 * docs/manual/intro-gstreamer.xml:
373 Added more info on gstreamer.
375 * docs/manual/intro-motivation.xml:
376 Commented out the whole section "current problem", which sounds
377 historical and somehow osolete; it could be turned in a positive
378 way and reused to improve the design principles.
380 * docs/manual/intro-preface.xml:
381 - Update URLs to library.gnome.org.
382 - Do not mention GTK+ in preliminary reading (irrelevant).
383 - Mention Plugin Writer's Manual and further reading only in the
385 - Added a list of most relevant GObject/glib topics.
387 * docs/manual/Makefile.am:
388 * docs/manual/bin-element-ghost.fig:
389 * docs/manual/bin-element-ghost.png:
390 * docs/manual/bin-element-noghost.fig:
391 * docs/manual/bin-element-noghost.png:
392 * docs/manual/bin-element.fig:
393 * docs/manual/bin-element.png:
394 * docs/manual/filter-element-multi.fig:
395 * docs/manual/filter-element-multi.png:
396 * docs/manual/filter-element.fig:
397 * docs/manual/filter-element.png:
398 * docs/manual/gstreamer-overview.png:
399 * docs/manual/hello-world.fig:
400 * docs/manual/hello-world.png:
401 * docs/manual/linked-elements.fig:
402 * docs/manual/linked-elements.png:
403 * docs/manual/mime-world.fig:
404 * docs/manual/mime-world.png:
405 * docs/manual/queue.fig:
406 * docs/manual/queue.png:
407 * docs/manual/simple-player.png:
408 * docs/manual/sink-element.fig:
409 * docs/manual/sink-element.png:
410 * docs/manual/src-element.fig:
411 * docs/manual/src-element.png:
412 * docs/manual/diagrams-general.svg:
413 * docs/manual/diagrams-pipelines.svg:
414 Removed .fig, added .png counterpart.
418 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
420 * plugins/elements/gstmultiqueue.c:
421 * plugins/elements/gstmultiqueue.h:
422 revert extra-size-buffers stuff, caused some race conditions
423 and extra-size-buffers is not used anymore. Docs needs some updates
425 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
427 * win32/common/config.h:
428 * win32/common/gstenumtypes.c:
429 * win32/common/gstenumtypes.h:
430 * win32/common/gstversion.h:
433 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
435 * gst/gstdebugutils.h: (GstDebugGraphDetails),
436 (GST_DEBUG_BIN_TO_DOT_FILE):
437 Add missing Since' markers to gtk-doc blurbs.
439 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
441 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
442 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
443 (set_caps_1), (set_caps_ct1), (transform_ct1),
444 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
445 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
446 (transform_size_ct2), (buffer_alloc_ct2):
447 Add some more tests with switching caps in buffer_alloc.
449 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
451 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
452 (gst_test_trans_class_init), (result_sink_chain),
453 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
454 (gst_test_trans_push), (gst_test_trans_pop):
455 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
456 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
457 (set_caps_1), (set_caps_ct1), (transform_ct1),
458 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
459 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
460 (transform_size_ct2), (buffer_alloc_ct2),
461 (gst_basetransform_suite):
462 More tests, prepare for tests with switching caps in buffer_alloc.
464 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
466 * plugins/elements/gstmultiqueue.c:
467 * plugins/elements/gstmultiqueue.h:
468 Fix dead-lock in underrun_cb
470 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
472 * docs/design/part-states.txt:
473 Fix device open/close docs.
475 2008-06-25 Stefan Kost <ensonic@users.sf.net>
478 Mention bugnumber for last commit.
480 2008-06-25 Stefan Kost <ensonic@users.sf.net>
482 patch by: Luc Pionchon <luc.pionchon@nokia.com>
484 * docs/manual/manual.xml:
485 - Reorganised the previous "introduction" bundle into Foreword,
486 Introduction, and About GStreamer. The two first are <preface>
487 docbook elements. The later is the first part of the book.
488 - added intro-gstreamer.xml (content partially from
490 - moved appendix-win32.xml into appendix-integration.xml
492 * docs/manual/intro-preface.xml: gstreamer section moved...
493 * docs/manual/intro-gstreamer.xml: ...here. new file.
495 * docs/manual/appendix-win32.xml: removed file. Content moved...
496 * docs/manual/appendix-integration.xml: ...here.
498 * docs/manual/highlevel-components.xml: section about GstEditor moved...
499 * docs/manual/appendix-checklist.xml: ...here.
503 2008-06-25 Stefan Kost <ensonic@users.sf.net>
505 patch by: Luc Pionchon <luc.pionchon@nokia.com>
507 * docs/manual/basics-helloworld.xml:
508 * docs/manual/hello-world.fig:
509 - Explicitely include glib.h.
510 - Do not use global variables.
511 - Use g_printerr() instead of g_print().
512 - Minor formating/renaming to increase readibility.
513 - Renamed new_pad() to on_pad_added()
514 - Improved explenatory comments.
515 - renamed ogg parser to ogg demuxer
516 - Use "autoaudiosink" instead of "alsasink".
519 2008-06-25 Stefan Kost <ensonic@users.sf.net>
522 Remove cvs conflict marker.
524 2008-06-25 Stefan Kost <ensonic@users.sf.net>
527 Document that for plgin-docs we extraxt he short-desc from the element
530 * docs/design/part-states.txt:
531 Tell that devices should be closed in PAUSED -> READY.
533 * docs/manual/README:
534 Document how tests in the manual are handled.
539 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
541 * gst/gstbin.c: (bin_query_latency_fold):
542 Only care about latency min and max when the sink is actually a live
545 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
547 * docs/design/part-block.txt:
550 * docs/design/part-element-transform.txt:
551 Add notes about why transform needs to know input/output sizes.
552 Add some issues that need to be solved.
553 Add some more use cases.
555 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
556 (gst_test_trans_class_init), (result_sink_chain),
557 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
558 (gst_test_trans_push), (gst_test_trans_pop):
559 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
560 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
561 (set_caps_1), (set_caps_ct1), (transform_ct1),
562 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
563 (gst_basetransform_suite):
564 Add suport for different pad templates and buffer-alloc.
565 Add more checks for caps and buffer-alloc.
566 Add checks for proxy buffer alloc.
567 Add unit test for copy transform.
569 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
571 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
573 * docs/manual/appendix-integration.xml:
574 * docs/manual/appendix-licensing.xml:
575 * docs/manual/basics-elements.xml:
576 * docs/manual/basics-helloworld.xml:
577 * docs/manual/basics-pads.xml:
578 * docs/manual/highlevel-components.xml:
579 * docs/manual/highlevel-xml.xml:
580 * docs/manual/intro-basics.xml:
581 * docs/manual/intro-preface.xml:
582 Typo and formatting fixes (#538594).
584 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
586 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
587 Fix some memory leaks and uses of object instances that we don't
590 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
592 * plugins/elements/gstmultiqueue.c:
593 Add functionality to extra-size-buffers property.
595 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
597 * plugins/elements/gstmultiqueue.c:
598 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
599 activate the pads if they are added in STATE_NULL.
601 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
603 * docs/libs/gstreamer-libs-sections.txt:
605 * libs/gst/check/gstcheck.c:
606 * libs/gst/check/gstcheck.h:
607 API: gst_check_teardown_pad_by_name
609 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
611 * libs/gst/check/gstcheck.c:
612 * libs/gst/check/gstcheck.h:
613 Also setup request pads and allow setup pads by name (#537812)
614 API: gst_check_setup_src_pad_by_name
615 API: gst_check_setup_sink_pad_by_name
617 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
619 * tests/check/gst/gstbuffer.c:
620 * tests/check/pipelines/parse-launch.c:
621 Use HAVE_VALGRIND_H some more.
623 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
625 * scripts/cvs-update.sh:
626 Pass arguments to make.
627 Run autoregen.sh if Makefile is not there.
629 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
633 Don't assume that <valgrind/valgrind.h> exists just because
636 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
638 * tests/check/Makefile.am:
639 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
640 (gst_test_trans_class_init), (gst_test_trans_init),
641 (gst_test_trans_set_data), (result_sink_chain),
642 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
643 (gst_test_trans_pop):
644 * tests/check/libs/transform1.c: (GST_START_TEST),
645 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
646 Add some test basetransform element and the beginnings of various
649 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
651 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
652 Increase code readability.
653 Don't try to compare buffer offsets when ther are invalid.
655 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
657 * docs/design/Makefile.am:
658 Dist some more design docs.
660 * docs/random/moving-plugins:
661 Small addition: good plugins mustn't have functional code
662 within assertion macros.
664 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
666 * docs/design/draft-framestep.txt:
667 Some ideas about a framestep API
669 * docs/design/part-element-transform.txt:
670 Start design and use cases for basetransform in order to get it
673 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
676 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
677 be in UTF-8 encoding.
679 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
682 Make it known that gst_bus_poll() is pure evil (fixes #538810).
684 2008-06-20 Stefan Kost <ensonic@users.sf.net>
686 * plugins/elements/gstcapsfilter.c:
687 * plugins/elements/gstfakesink.c:
688 * plugins/elements/gstfakesrc.c:
689 * plugins/elements/gstfdsink.c:
690 * plugins/elements/gstfdsrc.c:
691 * plugins/elements/gstfilesink.c:
692 * plugins/elements/gstfilesrc.c:
693 * plugins/elements/gstidentity.c:
694 * plugins/elements/gstmultiqueue.c:
695 * plugins/elements/gstqueue.c:
696 * plugins/elements/gsttee.c:
697 * plugins/elements/gsttypefindelement.c:
698 Remove short_description. Add basic docs for gsttypefindelement.
699 Simplify markup for fakesrc/fdsrc.
701 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
703 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
706 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
708 Patch by: joel larsson <tilljoel at gmail dot com>
710 * docs/plugins/gstreamer-plugins.args:
711 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
712 (gst_fd_src_init), (gst_fd_src_update_fd),
713 (gst_fd_src_set_property), (gst_fd_src_get_property),
715 * plugins/elements/gstfdsrc.h:
716 Add timeout property like udpsrc. Fixes #538628.
717 Add some more docs and example pipelines.
719 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
721 * docs/libs/gstreamer-libs-sections.txt:
722 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
723 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
724 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
725 (gst_base_sink_do_sync):
726 * libs/gst/base/gstbasesink.h:
727 * win32/common/libgstbase.def:
728 Add method to allow sinks to specify additional delay between the sync
729 times and the actual rendering of the data.
730 API: gst_base_sink_set_render_delay()
731 API: gst_base_sink_get_render_delay()
733 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
736 Bump version number back to dev -> 0.10.20.1
738 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
740 * docs/gst/gstreamer-sections.txt:
741 * gst/gsttaglist.c: (_gst_tag_initialize):
743 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
746 2008-06-20 Stefan Kost <ensonic@users.sf.net>
748 * libs/gst/controller/gstcontroller.c:
749 Revert one change, that make ret value possible uninitialized.
751 2008-06-20 Stefan Kost <ensonic@users.sf.net>
753 * libs/gst/controller/gstcontroller.c:
754 Use freeze/thaw notify to sync notify emission a bit (its also more
755 efficient). Move debug output to LOG (is called a lot in a loop).
756 Always unset g_values if the have been initialized.
758 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
760 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
761 (gst_base_sink_wait_eos), (gst_base_sink_event):
762 If we have not seen a buffer before EOS, use the segment values to
763 report the current position instead of invalid positions.
765 2008-06-20 Stefan Kost <ensonic@users.sf.net>
767 * docs/plugins/tmpl/.cvsignore:
768 * tests/check/gst/.cvsignore:
771 2008-06-20 Stefan Kost <ensonic@users.sf.net>
773 * libs/gst/controller/gstinterpolation.c:
774 * libs/gst/controller/gstinterpolationcontrolsource.c:
775 * tests/check/libs/controller.c:
776 Rewrite handling of default values. Fix overflow with unsigned types
777 in linear interpolation. Remove now obsolete _first_value() function.
778 Add more tests. Fixes #538201.
780 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
782 * libs/gst/base/gstbasetransform.c:
783 (gst_base_transform_class_init), (gst_base_transform_init),
784 (gst_base_transform_transform_caps),
785 (gst_base_transform_prepare_output_buffer):
787 When a buffer is writable, its metadata is also writable so we don't
788 need to subbuffer (which then makes the buffer not-writable anymore).
790 === release 0.10.20 ===
792 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
795 releasing 0.10.20, "You Crazy Diamond"
797 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
800 0.10.19.3 pre-release
802 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
806 Rename DATADIR to GST_DATADIR to avoid build problems
807 on win32. Patch By: David Schleef <ds@schleef.org>
810 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
813 Explicitely link with -ldl if dladdr() is found there. Before it was
814 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
815 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
817 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
819 * gst/gsterror.c: (_gst_stream_errors_init):
820 Fix typo (spotted by Fabricio Godoy, #536723).
822 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
825 0.10.19.2 pre-release
827 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
829 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
830 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
832 Make sure we don't generate invalid QoS messages.
834 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
836 * gst/gstevent.c: (gst_event_new_qos):
837 Add some assert and docs for invalid input to the qos function.
839 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
841 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
842 (gst_base_sink_get_position):
843 The reported position must always be smaller than the last seen
844 timestamps (or timestamp + duration for reverse).
846 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
848 Patch by: Rob Bradford <rob at robster dot org dot uk>
850 * gst/gstregistry.c: (gst_registry_scan_path_level):
851 Don't recurse into .debug directories as some distros install
852 the debugging symbols next to the plugins in .debug directories
853 and dlopen() crashes on them sometimes. Fixes bug #508070.
855 Add FIXME for 0.11 to not recurse into directories at all because
856 it's very inconsistent to the behaviour of other PATH environment
859 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
861 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
862 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
863 Fix position query range checks in reverse playback.
865 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
869 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
870 clear of the reference to the resulting pad must be released later
871 or not, resulting in possible leaks. Fixes bug #533865.
873 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
875 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
877 * gst/gstelementfactory.c:
878 Small doc fix. Fixes #535285.
880 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
882 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
884 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
885 (gst_base_src_get_range), (gst_base_src_pad_get_range),
886 (gst_base_src_loop), (gst_base_src_set_flushing),
887 (gst_base_src_change_state):
888 Make sending an EOS event to the basesrc non-blocking even if the
889 implementation does blocking waits in the create function. This is done
890 by unlocking the create function when EOS is sent.
893 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
895 * tools/gst-inspect.c: (print_element_properties_info):
896 If possible print the element type of GValueArray properties.
898 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
901 Remove an unused field from the private GstListIterator struct.
903 2008-05-27 Stefan Kost <ensonic@users.sf.net>
905 * libs/gst/controller/gstcontroller.c:
906 Add parameter guards.
908 2008-05-27 Stefan Kost <ensonic@users.sf.net>
910 * tests/check/gst/gstpipeline.c:
911 Revert test change and add comment why it should not work.
913 2008-05-27 Stefan Kost <ensonic@users.sf.net>
915 * tests/check/gst/gstpipeline.c:
916 Extending the test a little to verify that we also get the NULL state-
919 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
921 * gst/gstpreset.c: (gst_preset_default_get_meta),
922 (gst_preset_get_preset_names), (gst_preset_get_property_names),
923 (gst_preset_load_preset), (gst_preset_save_preset),
924 (gst_preset_rename_preset), (gst_preset_delete_preset),
925 (gst_preset_set_meta):
926 Add Since: markers to docs blurbs.
928 * win32/common/libgstreamer.def:
929 Add recently-added API.
931 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
933 Patch by: Stefan Kost <ensonic@users.sf.net>
936 Add DATADIR for storing presets.
938 * docs/gst/gstreamer-docs.sgml:
939 * docs/gst/gstreamer-sections.txt:
940 * docs/gst/gstreamer.types.in:
941 Add GstPreset to docs.
945 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
946 (preset_open_and_parse_header), (preset_parse_version),
947 (preset_merge), (preset_get_keyfile),
948 (gst_preset_default_get_preset_names),
949 (gst_preset_default_get_property_names),
950 (gst_preset_default_load_preset),
951 (gst_preset_default_save_presets_file),
952 (gst_preset_default_save_preset),
953 (gst_preset_default_rename_preset),
954 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
955 (gst_preset_default_get_meta), (gst_preset_default_randomize),
956 (gst_preset_default_reset), (gst_preset_get_preset_names),
957 (gst_preset_get_property_names), (gst_preset_load_preset),
958 (gst_preset_save_preset), (gst_preset_rename_preset),
959 (gst_preset_delete_preset), (gst_preset_set_meta),
960 (gst_preset_get_meta), (gst_preset_class_init),
961 (gst_preset_base_init), (gst_preset_get_type):
963 Add GstPreset to core. Fixes #396779
965 * tests/check/Makefile.am:
966 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
967 (gst_preset_test_set_property), (gst_preset_test_class_init),
968 (gst_preset_test_base_init), (gst_preset_test_get_type),
969 (gst_preset_test_plugin_init), (GST_START_TEST),
970 (remove_preset_file), (test_setup), (test_teardown),
972 Add GstPreset unit tests.
974 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
976 * gst/gstpad.c: (gst_pad_event_default_dispatch):
977 The default event function on a sinkpad should return TRUE when
978 there are no internal links but should collect the return values from
979 the internal links otherwise.
981 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
983 * plugins/elements/gsttypefindelement.c:
984 (gst_type_find_element_src_event),
985 (gst_type_find_element_handle_event):
986 Use faster and safer _pad_push_event().
988 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
990 * docs/gst/gstreamer-sections.txt:
991 * gst/gstutils.c: (element_find_unlinked_pad),
992 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
994 API: add gst_bin_find_unlinked_pad()
995 API: deprecate gst_bin_find_unconnected_pad() (#401456)
997 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
1003 Fixed a bunch of typos.
1005 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1008 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1009 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1010 (gst_parse_bin_from_description_full):
1012 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1014 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1016 * docs/pwg/advanced-tagging.xml:
1017 Small docs update, can't be bothered to rewrite the nonsensical
1020 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1023 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1025 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1027 * gst/parse/grammar.y:
1028 Remove unneeded casts.
1030 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1032 * gst/parse/grammar.y:
1033 * tests/check/pipelines/parse-launch.c:
1034 Get all missing elements from a parse launch string if possible
1035 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1037 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1039 * tests/check/Makefile.am:
1040 * tests/check/pipelines/parse-launch.c:
1041 Add some unit tests for the new gst_parse_launch*_full() API.
1042 (Exposes a previously-existing memory leak in the error code
1043 path, so adding to VALGRIND_TO_FIX for now).
1045 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1047 * docs/gst/gstreamer-sections.txt:
1048 * gst/gst.c: (init_post):
1049 * gst/gst_private.h: (_GstParseContext):
1050 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1051 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1052 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1053 (gst_parse_launch_full):
1054 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1055 (GstParseFlags), (GstParseContext):
1056 * gst/gstutils.c: (gst_parse_bin_from_description),
1057 (gst_parse_bin_from_description_full):
1059 * gst/parse/grammar.y:
1060 * gst/parse/types.h:
1061 * win32/common/libgstreamer.def:
1062 Add new gst_parse_*_full API (#528178):
1063 API: gst_parse_launch_full()
1064 API: gst_parse_launchv_full()
1065 API: gst_parse_bin_from_description_full()
1066 API: gst_parse_context_new()
1067 API: gst_parse_context_free()
1068 API: gst_parse_context_get_missing_elements()
1070 2008-05-23 Stefan Kost <ensonic@users.sf.net>
1072 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1074 * docs/faq/gst-uninstalled:
1075 Also support ffmpeg in gst-uninstalled.
1077 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1080 After discussion on IRC use the binary registry as default
1081 but allow to disable it with --disable-binary-registry.
1083 * win32/common/libgstreamer.def:
1084 Add the two new symbols for the binary registry.
1086 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
1088 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1089 * gst/gstutils.c: (gst_parse_bin_from_description):
1090 * gst/parse/grammar.y: (graph):
1091 More guards against bad input; typo fix; some minor clean-ups.
1093 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1095 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1097 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1098 If nothing else can be used, use the last buffer's start time as
1099 the segment's last stop. Fixes bug #534258.
1101 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
1103 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1104 Move size sanity check to the right place: downstream may return
1105 a buffer with a smaller size if the buffer caps are different than
1106 the requested ones, as may happen when doing reverse negotiation.
1108 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1110 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1111 (gst_file_sink_render):
1112 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1113 (gst_file_src_start):
1114 Small cleanups. Add note adbout g_fopen() on windows and why we don't
1117 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1119 * gst/gstpad.c: (gst_pad_load_and_link):
1120 * gst/gstutils.c: (gst_element_link_pads),
1121 (gst_element_unlink_pads):
1122 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1123 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1124 (gst_check_teardown_sink_pad),
1125 (gst_check_element_push_buffer_list):
1126 * tests/check/elements/fakesink.c: (GST_START_TEST):
1127 * tests/check/elements/filesink.c:
1128 * tests/check/elements/filesrc.c: (GST_START_TEST):
1129 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1130 (mq_sinkpad_to_srcpad):
1131 * tests/check/elements/tee.c: (GST_START_TEST):
1132 * tests/check/generic/sinks.c: (GST_START_TEST):
1133 * tests/check/gst/gstbin.c: (GST_START_TEST):
1134 * tests/check/gst/gstevent.c: (GST_START_TEST):
1135 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1136 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1137 * tests/check/gst/gstquery.c: (GST_START_TEST):
1138 * tests/check/gst/gstutils.c: (GST_START_TEST):
1139 * tests/check/libs/basesrc.c: (GST_START_TEST):
1140 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1141 (gst_parse_test_element_change_state):
1142 Don't use gst_element_get_pad().
1144 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
1147 Fix installing plugin documentation when gtk-doc is disabled.
1149 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1151 * docs/manual/advanced-autoplugging.xml:
1152 * docs/manual/basics-helloworld.xml:
1153 * docs/manual/basics-pads.xml:
1154 * docs/manual/highlevel-components.xml:
1155 Avoid using a bad function in the example code.
1157 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1159 * gst/gstclock.c: (gst_clock_set_calibration):
1160 Fix debug of the new clock rate.
1162 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1164 * win32/common/libgstbase.def:
1165 Add gst_base_sink_wait_clock() to the exported symbols.
1167 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1169 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1171 * libs/gst/base/gstbasetransform.c:
1172 (gst_base_transform_sink_event):
1173 Unref events that the GstBaseTransform::event vfunc didn't want to
1174 have forwarded by the base class. Closes a leak in identity.
1177 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1179 * docs/libs/gstreamer-libs-sections.txt:
1180 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1181 * libs/gst/base/gstbasesink.h:
1182 Expose a method that was previously used internally to synchronize
1183 against the clock because it can be useful for subclasses too.
1184 API: GstBaseSink::gst_base_sink_wait_clock()
1186 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1188 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1189 Add sanity check to make sure we don't get smaller buffers
1190 than requested (and fallback to normal buffer alloc if we do).
1192 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1194 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1195 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1196 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1197 Refactor adjusting the running_time with latency and offset into a
1199 When doing clipping, we still want to use the subclass get_times method,
1200 just in case the DURATION or TIMESTAMP are not set.
1202 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1204 * docs/gst/gstreamer-sections.txt:
1205 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1206 * gst/gsttypefind.h:
1207 * win32/common/libgstreamer.def:
1208 API: add gst_type_find_suggest_simple(), #533740.
1210 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1212 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1213 Use right error code when typefinding fails, so we can use
1214 the default (translated) error messages.
1216 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1218 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1219 (gst_base_src_start):
1220 When the subclass did not set caps on outgoing buffers, configure the
1221 caps we negotiated on the source pad.
1222 When the typefind helper does not find caps, error out properly instead
1223 of doing things with NULL caps.
1225 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1227 * gst/gsttypefind.h:
1228 Tabs to spaces, oh yes!
1230 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1232 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1233 Add David's and Benjamin's tests for array intersection to the
1234 unit test suite (#147931).
1236 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1239 Document that gst_event_new_tag() and gst_event_new_navigation()
1240 take ownership of the taglist/structure passed to them. (#533635).
1242 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1245 Don't descend into the plugins dir if plugin docs building
1249 Add a note about the new type:GTypeName syntax for the plugin
1250 documentation .types file.
1252 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1254 * gst/gstmessage.c: (gst_message_new_error),
1255 (gst_message_new_warning), (gst_message_new_info):
1257 Mark the debug string parameters as const. Fixes bug #533490.
1259 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1261 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1262 Sort buffer cache list by end offsets. This makes sure that we don't
1263 stop to search for a cached buffer that contains the requested data
1265 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1266 more efficient. Fixes bug #459862.
1268 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1271 Explain why we copy the list.
1273 * gst/gstpipeline.c:
1277 Add one debug-log statement to help tracing probelms with linking pads.
1279 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1281 * tests/check/gst/gstinfo.c:
1282 Add a test for removing the default log handler. Seems to fail under
1285 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1287 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1288 Release pad lock before calling out to avoid a possible deadlock.
1290 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1292 * gst/parse/grammar.y:
1293 Remove unneeded value unset.
1295 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1296 Add unit test for de/serialization of caps.
1298 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1300 * plugins/elements/gstfakesink.c:
1301 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1302 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1303 (gst_fake_src_class_init):
1304 Use custom marshalers that take GstMiniObject as first parameter.
1305 Using OBJECT as parameter while a GstMiniObject is given will lead
1306 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1308 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1310 * plugins/elements/gsttypefindelement.c:
1311 (gst_type_find_element_handle_event),
1312 (gst_type_find_element_send_cached_events),
1313 (gst_type_find_element_change_state):
1314 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1317 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1319 * plugins/elements/gsttypefindelement.c:
1320 (gst_type_find_handle_src_query), (stop_typefinding),
1321 (gst_type_find_element_handle_event),
1322 (gst_type_find_element_send_cached_events),
1323 (gst_type_find_element_change_state):
1324 Forward FLUSH_START events immediately and clean up instead of
1327 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1329 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1331 * libs/gst/base/gstbasetransform.c:
1332 (gst_base_transform_buffer_alloc):
1333 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1334 fall back to default negotiation in the chain function if the caps
1335 are different from what was requested. Fixes bug #526768.
1337 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1340 * tests/check/gst/gstsegment.c:
1341 No, let's not use g_slice_{dup|copy} here, since they only exist
1342 since GLib 2.14 and we still depend only on >= 2.12. Also add
1343 unit test for gst_segment_copy().
1345 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1347 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1348 Try to fix 'dereferencing type-punned pointer will break strict
1349 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1350 changed the default GType typedef from gulong to gsize at some point,
1351 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1352 g_once_* functions all take a gsize * though, so work around the type
1353 mismatch for C++ by doing everything in gsize and casting to GType
1356 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1358 * plugins/elements/gstmultiqueue.c:
1359 Add documentation for the signals to push our core plugin docs
1360 coverage back up to 100%.
1362 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1364 * gst/gstinfo.h (GST_FUNCTION):
1365 Reverted GST_FUNCTION to the old version as we don't want the
1366 full signature in C++ code. Also added support for MSVC.
1368 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1371 Intern the type name string, similar to what G_DEFINE_TYPE does.
1373 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1376 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1378 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1380 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1382 * libs/gst/base/gstbasetransform.c:
1383 (gst_base_transform_buffer_alloc):
1384 Don't passthrough buffer allocation too easily if the caps change.
1385 This breaks when working in passthrough mode and upstream changes
1386 it's caps. Fixes bug #526768.
1388 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1390 * gst/gstinfo.c (gst_debug_log_valist):
1391 Improved the __FILE__ part of debug output for MSVC.
1393 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1395 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1396 Declaration after statement fix for compilers like MSVC.
1398 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1400 * win32/common/config.h.in:
1401 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1402 use the real thing than having "???" unconditionally.
1404 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1406 * gst/gstinfo.h (GST_FUNCTION):
1407 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1409 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1411 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1414 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1415 (gst_base_sink_set_flushing):
1416 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1419 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1421 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1422 (gst_fake_src_init), (gst_fake_src_set_property),
1423 (gst_fake_src_get_property), (gst_fake_src_start):
1424 * plugins/elements/gstfakesrc.h:
1425 Added format property to control the format of the newsegment events.
1426 API: GstFakeSrc:format
1428 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1430 * win32/common/libgstreamer.def:
1431 Add gst_pad_has_name() to the exported symbols.
1433 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1435 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1436 * libs/gst/base/gstbasetransform.c:
1437 (gst_base_transform_prepare_output_buffer):
1438 Don't allow negative sizes when allocating new buffers.
1441 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1443 Patch by: Sjoerd Simons <sjoerd at luon net>
1445 * gst/gstbus.c: (gst_bus_source_dispatch):
1446 Don't print a warning if the queue is empty when we try to pop
1447 here. That could happen if another thread or callback set the
1448 bus to flushing between the source's check/prepare and the
1449 dispatch being called (#531538).
1451 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1453 * plugins/elements/gstmultiqueue.c:
1456 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1458 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1459 Add unit test for deserializing uint64s and check some really large
1460 numbers in the int64 test.
1462 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1464 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1465 (print_interfaces), (print_element_properties_info),
1466 (print_signal_info):
1467 Use "%s" as format string instead of printing strings directly.
1469 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1471 * gst/gstclock.c: (gst_clock_set_calibration):
1472 Make some checks actually useful.
1474 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1475 Remove some unused code. Unsigned integers tend to be >= 0.
1477 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1479 * gst/gstminiobject.c: (gst_value_get_mini_object):
1480 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1481 function was not in the unscheduled 0.10.19 release.
1483 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1485 * gst/gstregistry.c: (gst_registry_scan_path_level):
1486 Only print one log message per non-plugin file.
1488 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1490 * gst/gstinfo.c: (gst_debug_log_default):
1491 Fix alignment of debug log columns on 64-bit.
1493 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1495 * docs/libs/Makefile.am:
1496 * docs/libs/gstreamer-libs-sections.txt:
1497 Ignore private controller headers for docs.
1499 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1501 * libs/gst/controller/gstcontrollerprivate.h:
1502 * libs/gst/controller/gsthelper.c:
1503 * libs/gst/controller/gstinterpolation.c:
1504 * libs/gst/controller/gstinterpolationcontrolsource.c:
1505 (gst_interpolation_control_source_set_interpolation_mode):
1506 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1507 * libs/gst/controller/lib.c:
1508 Move some private declarations into private headers.
1510 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1512 * gst/gstdebugutils.c: (debug_dump_element_pad):
1513 Remove some code that is unused after Stefan's refactoring and uses
1514 uninitialized variables now, resulting in a compiler warning.
1516 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1518 * gst/gstregistry.c: (gst_registry_scan_path_level):
1519 Run g_str_has_suffix() only on the file name, not the
1522 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1524 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1525 Since we're not called only from the chain function any longer,
1526 we can't assume that there's always data in the queue, so move
1527 the is_full check to the beginning of the loop (otherwise we'd
1528 hit the assert when changing the limit properties while the
1529 queue is empty or not running yet).
1530 Also, only set a discont if items were actually removed from
1533 * tests/check/elements/queue.c: (test_leaky_downstream):
1534 Test case for the above.
1536 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1538 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1540 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1541 (gst_queue_chain), (queue_capacity_change),
1542 (gst_queue_set_property):
1543 When changing thr max capacity of a leaky queue, immediatly drop buffers
1544 instead of waiting for a push on the sinkpad. Fixes #530637.
1546 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1548 * gst/gstdebugutils.c:
1549 Refactor code and fix handling of ghostpads and their proxypads.
1551 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1553 * docs/gst/gstreamer-sections.txt:
1554 * gst/gstevent.c: (gst_event_has_name):
1556 * tests/check/gst/gstevent.c: (GST_START_TEST):
1557 Add method to conveniently check the name of a custom event with
1558 gst_event_has_name().
1559 Reformat the event docs so that related methods are put together instead
1560 of the default alphabetical sort.
1561 Update unit test with new method.
1562 API: GstEvent::gst_event_has_name()
1564 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1566 * libs/gst/check/Makefile.am:
1567 Don't add an explicit link to libgstreamer-0.10.la; it's already
1568 included in GST_OBJ_LIBS.
1570 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1573 Register GstClock type from a type-safe context. Fixes bug #530317.
1575 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1577 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1579 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1581 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1583 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1585 Use the GLib stuff to create a private structure.
1586 Add some locking around some dispose methods to make them a little
1587 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1589 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1591 * libs/gst/base/gstbasesink.h:
1592 * libs/gst/base/gstbasesrc.h:
1593 * libs/gst/base/gstbasetransform.h:
1594 * libs/gst/base/gstcollectpads.h:
1595 Fix doc typos and unify caps a bit.
1597 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1599 * tools/gst-launch.1.in:
1600 Forgot to also add the envvar docs here.
1602 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1604 * gst/gst.c: (init_post), (gst_deinit):
1605 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1606 (test_concurrent_create), (gst_pipeline_suite):
1607 Ref some more classes in gst_init() to work around thread-safety
1608 issues in pre-2.16 GLibs, and add basic unit test.
1610 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1612 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1613 (gst_base_sink_send_event):
1614 Rearrange the latency query code. We always want to do the upstream
1615 query, even if we are not live so that the upstream elements can get the
1616 latency results too. If we fail doing the query and we are live, we
1617 return TRUE afterwards.
1619 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1621 patch by: Jason Zhao <e3423c@motorola.com>
1623 * docs/gst/running.xml:
1625 Enable/disable scan_and_update_registry() based on commandline switch
1626 or environment variable. Fixes #520468.
1629 Fix typo in my previous commit.
1631 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1633 * gst/gstregistrybinary.c:
1634 Add a warning if we hit unhandled factories when saving.
1635 More debug logging detail, but move to LOG category.
1637 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1639 * gst/gstregistry.c:
1640 Tell the *truth* when improving the documentation.
1642 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1644 * gst/gstelementfactory.c: (gst_element_factory_make):
1645 Unref the factory after it was used the last time, not before.
1647 * gst/gstindexfactory.c: (gst_index_factory_make):
1648 Improve debugging a bit and don't leak a ref to the index factory with
1651 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1653 * gst/gstregistry.c:
1654 Improve the documentation.
1656 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1659 The glib macro seems to be borked. Use g_slice_copy directly and cast
1660 in the hope that this fixes the warning on 64bit.
1662 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1665 Document the new function. Use g_slice_dup() (no need for
1666 gst_segment_init()).
1668 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1670 * docs/gst/gstreamer-sections.txt:
1671 Move GParamSepc macros to standart section.
1674 Dn't document _get_type - its in private section in docs anyway and
1675 this doc-blob was incomplete.
1678 Fix wrong symbol names in docs.
1681 Add once doc sentence.
1683 * tests/check/gst/.cvsignore:
1686 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1688 * docs/gst/Makefile.am:
1689 And remove those libs here.
1691 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1693 * docs/libs/Makefile.am:
1694 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1696 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1698 Patch by: Olivier Crete <tester at tester dot ca>
1700 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1701 Add the min-threshold to the min latency if possible. Fixes #529148.
1703 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1705 * docs/gst/gstreamer.types.in:
1706 Stupid editor, I removed that line as it should go in yet.
1708 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1710 * docs/gst/gstreamer.types.in:
1711 * docs/libs/gstreamer-libs.types:
1712 Remove library types fro core docs and have them in libs docs.
1713 Reformat and cleanup. Add comment for miniobject types.
1715 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1717 * gst/gsturi.c: (gst_uri_get_protocol):
1718 Fix leak: g_strdown operates on the string in place, while
1719 g_ascii_strdown() returns a newly-allocated string.
1721 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1723 * tools/gst-inspect.c: (print_uri_handler_info),
1724 (print_element_info):
1725 Print the URI protocols and the URI type supported by the element.
1727 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1729 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1730 Use g_value_take_string() instead of the deprecated
1731 g_value_set_string_take_ownership().
1733 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1735 * gst/gstregistrybinary.c: (_gst_crc32):
1736 Return the old CRC instead of 0 if we give a NULL buffer
1737 or a buffer with a length of 0.
1739 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1741 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1742 (gst_uri_get_protocol), (gst_uri_has_protocol),
1743 (gst_uri_construct), (gst_uri_handler_set_uri):
1744 A valid URI scheme can also include '+', '-' and '.' additional
1745 to alphanumeric characters as per RFC 3986 Section 3.1.
1747 Handle URI schemes case insensitive in all places and convert
1748 to lower-case when constructing an URI or setting an URI with
1749 the GstURIHandler interface. Fixes bug #528868.
1750 All elements can still assume (as before) that they will
1751 get passed URIs with a lower-case URI scheme by the GstURIHandler
1754 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1756 * gst/gstcaps.c: (gst_static_caps_get):
1757 * gst/gstclock.c: (gst_clock_entry_new):
1758 Don't use g_atomic_set_int where it's not needed.
1760 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1762 * gst/gstvalue.c: (gst_value_deserialize_caps):
1763 * gst/parse/grammar.y:
1766 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1768 * gst/gstutils.c: (gst_atomic_int_set):
1769 Use g_atomic_int_set() here too instead of assignment +
1772 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1776 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1777 now that we depend on new enough GLib.
1779 * gst/gstcaps.c: (gst_static_caps_get):
1780 * gst/gstclock.c: (gst_clock_entry_new):
1781 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1782 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1783 (gst_debug_category_set_threshold):
1784 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1785 (gst_base_sink_set_qos_enabled):
1786 * libs/gst/net/gstnettimeprovider.c:
1787 (gst_net_time_provider_set_property):
1788 Use g_atomic_int_set() instead of gst_atomic_int_set().
1790 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1793 Also use G_GINT64_CONSTANT for the queries.
1795 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1798 Use G_GINT64_CONSTANT in varargs function.
1800 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1802 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1803 Initialize the registry magic with zeroes.
1805 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1807 * gst/gstregistrybinary.c: (_gst_crc32),
1808 (gst_registry_binary_write),
1809 (gst_registry_binary_initialize_magic),
1810 (gst_registry_binary_write_cache),
1811 (gst_registry_binary_check_magic),
1812 (gst_registry_binary_read_cache):
1813 * gst/gstregistrybinary.h:
1814 Add crc32 checksum to the binary registry file and check this before
1815 accepting a registry file.
1817 Also free the data list when writing to the registry file fails.
1819 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1821 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1822 (gst_registry_binary_load_feature),
1823 (gst_registry_binary_load_plugin):
1824 If an element supports the Uri interface, returns a valid pointer
1825 to the supported URI protocols but this pointer contains nothing
1826 don't try to save that as it will corrupt the registry.
1828 Don't unref the plugin if we added it to the registry already but
1829 fail to load a feature as gst_registry_add_plugin() takes ownership
1832 Improve debugging a bit.
1834 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1837 Clarify some tag item docs after discussion on irc.
1839 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1841 * docs/gst/gstreamer-docs.sgml:
1842 Remove commented out plugins (they have their own docs). Update
1845 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1847 * docs/gst/gstreamer-docs.sgml:
1848 * docs/gst/gstreamer-sections.txt:
1849 * gst/gstparamspecs.c:
1850 * gst/gstparamspecs.h:
1851 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1852 docs to own section.
1855 This now only documents GValue.
1857 * docs/libs/gstreamer-libs-sections.txt:
1858 * libs/gst/controller/gstcontroller.h:
1859 Remove GST_PARAM_CONTROLLABLE.
1861 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1864 Correct file path. Tell about how to use -overrides.txt.
1865 * docs/design/draft-tagreading.txt:
1866 Small design update.
1868 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1870 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1871 (gst_registry_binary_load_plugin):
1872 Fix a typo in a debug message and revert change from yesterday as
1873 gst_registry_add_plugin() will only fail if something is really wrong
1874 already and we can't survive it anyway.
1876 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1878 * gst/gst.c: (init_post), (gst_deinit):
1879 Pre-register GstGError GType from a thread-safe context
1880 (fixes #527967); unref enum type classes in deinit.
1882 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1884 Patch by: Rene Stadler <mail at renestadler de>
1886 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1887 Merging an empty list with another list in KEEP_ALL mode should
1888 yield an empty list as result and not the second list (#512578).
1890 * tests/check/gst/gsttagsetter.c:
1891 Add unit test for tag merge modes and the aforementioned bug.
1893 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1895 Patch by: Rene Stadler <mail at renestadler de>
1898 Fix description to match the order in the table (#512577).
1900 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1902 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1904 * libs/gst/net/gstnettimepacket.h:
1905 * docs/libs/gstreamer-libs-sections.txt:
1906 Define socklen_t as int if it's not defined yet. Fixes compilation
1907 with MSVC6 and other versions where socklen_t is not defined in
1908 the windows headers (#518022).
1910 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1912 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1913 If gst_registry_add_plugin() fails our reference to the plugin is
1914 invalid so don't try to use it anymore and instead error out.
1916 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1918 * tools/gst-xmlinspect.c: (print_element_info), (main):
1919 De-cruft a bit. If no argument is specified, print all elements in
1920 XML syntax rather than a freestyle list of elements like gst-inspect.
1921 Also, don't print XML header chunk unless we actually have something
1922 to print (ie. don't print it before an error message); print error
1923 message to stderr not stdout. Remove support for printing plugin
1924 info (it would just output something freestyle along the lines of
1925 gst-inspect so far), which fixes #514507. Also add license header.
1927 2008-04-11 Julien Moutte <julien@fluendo.com>
1930 * configure.ac: Merge platform specific defines, introduce a new
1931 define on OS X to remember that forking when updating registry is
1933 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1935 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1937 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1938 condition that leads to absolutely no plugins being registered on
1941 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1943 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1945 * gst/gstutils.c: (gst_pad_add_data_probe),
1946 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1947 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1948 (gst_pad_add_buffer_probe_full):
1950 * docs/gst/gstreamer-sections.txt:
1951 * win32/common/libgstreamer.def:
1952 Add gst_pad_add_*_probe_full() functions with a notify callback that
1953 lets the caller free the data it passes to the probe functions. This
1954 is useful for bindings such as gst-python or gstreamermm (#526814).
1955 API: gst_pad_add_data_probe_full
1956 API: gst_pad_add_buffer_probe_full
1957 API: gst_pad_add_event_probe_full
1959 * tests/check/gst/gstutils.c:
1960 Add minimal unit test to make sure freeing the data actually works
1963 * tests/benchmarks/.cvsignore:
1964 Random cvsignore addendum.
1966 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1968 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1969 (GST_DEBUG_BIN_TO_DOT_FILE):
1970 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1971 to it in the docs (since these are macros the types of the arguments
1972 won't be shown in the docs otherwise).
1974 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1977 Do not abort on out of memory for pad_alloc_buffer.
1979 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1981 * libs/gst/check/gstcheck.c:
1982 Remove blank line between symbol name ad parameters to fix gtkdoc
1985 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1987 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1989 * docs/gst/gstreamer-sections.txt:
1992 * win32/common/libgstreamer.def:
1993 Expose gst_segment_copy() to make things easier for the c++ bindings.
1995 API: gst_segment_copy()
1997 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1999 * gst/gst.c: (gst_init_get_option_group), (init_post):
2000 Fix const position; ref GType classes for enum types to work
2001 around thread-safety issues in GLib versions < 2.16.
2003 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
2005 * docs/design/part-buffering.txt:
2006 Fix some typos and set the estimated total for push mode to -1.
2008 * gst/gstquery.c: (gst_query_new_buffering):
2009 Set buffering-left to 0 as we're not buffering by default.
2011 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2012 Implement BUFFERING query.
2014 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2016 Based on patch by: Milosz Derezynski <internalerror gmail com>
2018 * gst/gsterror.c: (_gst_stream_errors_init):
2020 Add two new error codes for encrypted content. Fixes #524659.
2021 API: GST_STREAM_ERROR_DECRYPT
2022 API: GST_STREAM_ERROR_DECRYPT_NOKEY
2024 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2029 * win32/common/libgstreamer.def:
2032 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
2034 * plugins/elements/gstidentity.c: (gst_identity_event),
2035 (gst_identity_start):
2036 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2037 event after processing some data. Fixes bug #526042.
2039 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2041 * docs/gst/gstreamer-sections.txt:
2042 * gst/gstquery.c: (gst_query_parse_latency),
2043 (gst_query_set_buffering_percent),
2044 (gst_query_parse_buffering_percent),
2045 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2047 Rename _avail -> _range
2048 API: gst_query_set_buffering_range
2049 API: gst_query_parse_buffering_range
2051 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2053 * docs/design/part-buffering.txt:
2056 * gst/gstquery.c: (gst_query_parse_latency),
2057 (gst_query_new_buffering), (gst_query_set_buffering_percent),
2058 (gst_query_parse_buffering_percent):
2060 Add busy field and quark for the buffering query so that the app can
2061 only use the query to see if buffering is in progress.
2063 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2065 * docs/gst/gstreamer-sections.txt:
2066 * gst/gstmessage.c: (gst_message_set_buffering_stats),
2067 (gst_message_parse_buffering_stats):
2069 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2070 (gst_query_parse_latency), (gst_query_new_buffering),
2071 (gst_query_set_buffering_percent),
2072 (gst_query_parse_buffering_percent),
2073 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2074 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2076 Reorder the message docs and headers for clarity.
2077 Add aditional buffering stats API for messages.
2078 Add buffering query.
2079 Convert some leftover queries to use GstQuark.
2080 API: gst_message_set_buffering_stats
2081 API: gst_message_parse_buffering_stats
2082 API: GST_QUERY_BUFFERING
2083 API: GstBufferingMode
2084 API: gst_query_new_buffering
2085 API: gst_query_set_buffering_percent
2086 API: gst_query_parse_buffering_percent
2087 API: gst_query_set_buffering_stats
2088 API: gst_query_parse_buffering_stats
2090 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2092 * gst/gstmessage.c: (gst_message_new_error),
2093 (gst_message_new_warning), (gst_message_new_info),
2094 (gst_message_new_buffering), (gst_message_new_state_changed),
2095 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2096 (gst_message_new_new_clock), (gst_message_new_segment_start),
2097 (gst_message_new_segment_done), (gst_message_new_duration),
2098 (gst_message_new_async_start), (gst_message_parse_buffering),
2099 (gst_message_parse_state_changed),
2100 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2101 (gst_message_parse_new_clock), (gst_message_parse_error),
2102 (gst_message_parse_warning), (gst_message_parse_info),
2103 (gst_message_parse_segment_start),
2104 (gst_message_parse_segment_done), (gst_message_parse_duration),
2105 (gst_message_parse_async_start):
2106 Use GstQuark for messages.
2108 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2110 * gst/gstquark.c: (_priv_gst_quarks_initialize):
2112 Add some more quarks needed for messages and queries.
2114 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2116 * docs/design/part-buffering.txt:
2117 Remove the "none" buffering mode, STREAM is a good default.
2118 Move estimated-time to the avail query, that's when it will be needed.
2119 Other small typo fixes and updates.
2121 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2123 * gst/gstindex.c: (gst_index_resolver_get_type):
2124 Don't put descriptions into the nick field of a GEnumValue: it's not
2125 meant for that and some language bindings rely on the nick field to
2126 construct constants and the like. Fixes #526705.
2128 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2133 Merge other changes from 0.10.19 release branch.
2135 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
2137 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2140 Actually build dlls when cross-compiling with mingw32.
2143 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
2145 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2148 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2150 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
2152 * docs/design/draft-latency.txt:
2155 * docs/design/part-buffering.txt:
2156 Update design docs with more buffering ideas.
2158 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2161 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2163 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2166 Revert part that belongs to the preset patch.
2168 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2171 Add qoutes to the define. Fixes # 525961.
2173 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2175 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2176 (gst_file_index_load), (gst_file_index_add_id),
2177 (gst_file_index_get_assoc_entry):
2178 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2179 (gst_mem_index_free_id), (gst_mem_index_add_id),
2180 (gst_mem_index_index_format):
2181 Use GSlice when possible.
2183 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2185 * libs/gst/controller/gstinterpolationcontrolsource.c:
2186 (gst_control_point_free),
2187 (gst_interpolation_control_source_set_internal):
2188 Use GSlice for allocating the control points.
2190 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2192 * plugins/elements/gsttypefindelement.c:
2193 (gst_type_find_element_class_init),
2194 (gst_type_find_element_set_property),
2195 (gst_type_find_element_get_property),
2196 (gst_type_find_element_activate):
2197 * plugins/elements/gsttypefindelement.h:
2199 Fix pad leak when peer query fails.
2200 We can still typefind when the peer returns -1.
2201 Add property to force caps and bypass typefinding. This will be used in
2205 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2210 * gst/glib-compat-private.h:
2211 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2212 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2213 Unconditionally use GSlice for allocation.
2215 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2216 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2217 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2218 (gst_structure_free):
2219 Use GSlice for allocation.
2221 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2223 * gst/parse/Makefile.am:
2224 * gst/parse/grammar.tab.pre.c:
2225 * gst/parse/grammar.tab.pre.h:
2226 * gst/parse/lex._gst_parse_yy.pre.c:
2227 Require a new enough flex and bison and remove the parser hacks to use
2228 a pre-regenerated version.
2230 2008-04-01 Julien Moutte <julien@fluendo.com>
2232 patch by: Jason Zhao <E3423C@motorola.com>
2234 * configure.ac: Add a configure switch to disable option parsing
2238 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2241 * gst/gstregistry.c:
2242 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2243 and handle this case.
2246 Add a comment here describing, why we stat each plugin and not try to
2249 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2251 * libs/gst/base/gstbasetransform.c:
2252 (gst_base_transform_prepare_output_buffer):
2253 Also unset the GAP flag on buffers if we're working inplace but
2254 the element is not GAP-aware.
2256 Mark a comment as FIXME 0.11.
2258 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2261 Fix type in log message and add one to ease seeing how long registry
2262 cache verification takes.
2264 * gst/gstregistry.c:
2265 Only test plugin filenames against G_MODULE_SUFFIX.
2267 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2269 * gst/gstdebugutils.c:
2270 Improve handling ghost/proxy pads.
2272 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2274 * docs/gst/gstreamer-sections.txt:
2277 Expose macro to docs and fix link to it.
2279 2008-03-27 Michael Smith <msmith@fluendo.com>
2281 * libs/gst/dataprotocol/dataprotocol.c:
2282 (gst_dp_packet_from_event_1_0):
2283 When calculating GDP body CRC, use the correct pointer.
2284 Fixes part of #522401.
2286 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2288 Patch by: Mark Nauwelaerts <manauw at skynet be>
2290 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2291 (gst_identity_init), (gst_identity_prepare_output_buffer):
2292 Identity is not always a passthrough element, it can modify the buffer
2293 timestamps when it has a datarate and operates in single-segment mode.
2294 We therefore make it an in_place filter with a custom buffer prepare
2295 function that conditionally makes the input buffer metadata writable
2296 when needed. Fixes #523985.
2298 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2300 Patch by: Mark Nauwelaerts <manauw at skynet be>
2303 * libs/gst/base/gstbasesrc.h:
2304 * libs/gst/base/gstbasetransform.c:
2305 * libs/gst/check/gstcheck.c:
2306 Small documentation fixes. Fixes #523978.
2308 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2310 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2311 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2312 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2314 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2316 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2317 (single_queue_underrun_cb):
2318 When trying to make room in the queue, bump the max allowed buffers
2319 bigger than the current amount of buffers in the queue. this fixes some
2320 nasty deadlocks in multiqueue when dynamically changing the limits of
2323 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2325 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2327 * gst/gstcaps.c: (gst_caps_set_simple),
2328 (gst_caps_set_simple_valist), (gst_caps_intersect):
2330 Constify the field gchar * params in set_simple and friends.
2333 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2335 * gst/gstvalue.c: (gst_value_transform_object_string):
2336 Transform a GstObject to a more meaningfull string that includes the
2337 object type in addition to its name.
2339 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2342 ChangeLog surgery to add bugnumber to commit.
2344 2008-03-23 Rene Stadler <mail@renestadler.de>
2346 * libs/gst/base/gstbasetransform.c:
2347 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2349 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2351 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2352 Rename constant everywhere and don't forget one occurence.
2354 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2356 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2357 Align memory to the pointer size even if the architecture allows
2358 unaligned memory access. Unaligned memory access usually comes with
2359 performance penality.
2361 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2363 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2364 (gst_registry_binary_check_magic),
2365 (gst_registry_binary_load_pad_template),
2366 (gst_registry_binary_load_feature),
2367 (gst_registry_binary_load_plugin):
2368 Align memory to the pointer size instead of always 32 bit. Fixes
2369 unaligned memory accesses on ia64 and friends.
2371 * gst/gstregistrybinary.h:
2372 Bump binary registry format version for this as it changes the
2373 format on those architectures that don't have unaligned access
2374 and 64 bit pointers.
2376 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2378 * docs/pwg/advanced-dparams.xml:
2379 * docs/pwg/building-props.xml:
2380 * docs/pwg/other-source.xml:
2381 * gst/glib-compat.h:
2382 * gst/gstbin.c: (gst_bin_class_init):
2383 * gst/gstclock.c: (gst_clock_class_init):
2384 * gst/gstindex.c: (gst_index_class_init):
2385 * gst/gstobject.c: (gst_object_class_init):
2386 * gst/gstpad.c: (gst_pad_class_init):
2387 * gst/gstpipeline.c: (gst_pipeline_class_init):
2388 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2389 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2390 * libs/gst/base/gstbasetransform.c:
2391 (gst_base_transform_class_init):
2392 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2393 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2394 (_gst_check_fault_handler_sighandler),
2395 (_gst_check_fault_handler_setup), (gst_check_init):
2396 * libs/gst/controller/gstcontroller.c:
2397 (_gst_controller_class_init):
2398 * libs/gst/controller/gstlfocontrolsource.c:
2399 (gst_lfo_control_source_class_init):
2400 * libs/gst/net/gstnetclientclock.c:
2401 (gst_net_client_clock_class_init):
2402 * libs/gst/net/gstnettimeprovider.c:
2403 (gst_net_time_provider_class_init):
2404 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2405 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2406 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2407 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2408 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2409 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2410 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2411 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2412 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2413 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2414 * plugins/elements/gsttee.c: (gst_tee_class_init):
2415 * plugins/elements/gsttypefindelement.c:
2416 (gst_type_find_element_class_init):
2417 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2418 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2419 use it everywhere for GParamSpecs that use static strings (i.e. all).
2420 This gives us less memory usage, fewer allocations and thus less
2421 memory defragmentation. Fixes bug #523806.
2423 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2425 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2426 (gst_param_spec_mini_object):
2427 * gst/gstminiobject.h:
2428 * win32/common/libgstreamer.def:
2429 * docs/gst/gstreamer-sections.txt:
2430 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2431 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2432 GstParamSpecMiniObject into a public header for this.
2434 This make GstMiniObject a bit more consistent with GObject and makes
2435 it possible to extend the param specs.
2437 gst_value_dup_mini_object is mainly useful for set_property methods.
2441 * tools/gst-inspect.c: (print_element_properties_info):
2442 Print something useful for GstMiniObject properties and not just
2445 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2447 * docs/gst/gstreamer-sections.txt:
2448 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2449 (gst_registry_binary_check_magic):
2450 * gst/gstregistrybinary.h:
2451 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2452 and add it to the (private part) of the docs to fix the build.
2454 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2456 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2457 (gst_registry_binary_check_magic),
2458 (gst_registry_binary_read_cache):
2459 * gst/gstregistrybinary.h:
2460 Don't use GST_MAJORMINOR for the binary registry version. Instead
2461 hardcode a value that must be changed whenever the format changes
2462 in an incompatible way.
2463 Also don't GST_ERROR when there is a version mismatch, just
2464 regenerate the registry silently.
2466 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2469 Back to development - 0.10.18.1
2471 === release 0.10.18 ===
2473 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2476 releasing 0.10.18, "So far away"
2478 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2481 * win32/common/config.h:
2482 0.10.17.4 pre-release
2484 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2486 Patch by: Ole André Vadla Ravnås
2487 <ole dot andre dot ravnas at tandberg dot com>
2489 * docs/gst/gstreamer-sections.txt:
2490 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2491 (gst_poll_update_winsock_event_mask),
2492 (gst_poll_prepare_winsock_active_sets),
2493 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2494 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2495 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2496 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2497 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2499 * win32/common/libgstreamer.def:
2500 Add new function gst_poll_fd_ignored() for improved Windows
2502 Various minor fixes and cleanups. See #520808.
2504 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2506 * gst/gstindex.c: (gst_index_entry_free):
2508 Don't free key strings which we don't own. Fixes crash in
2509 gst_index_entry_free() (#522741).
2511 * tests/check/Makefile.am:
2512 * tests/check/gst/.cvsignore:
2513 * tests/check/gst/gstindex.c: (test_index_entries),
2514 (gst_index_suite), (gst_index):
2515 Add unit test for the above.
2517 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2519 * win32/common/libgstreamer.def:
2520 Remove symbols that were removed recently. Fixes bug #521740.
2522 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2525 * win32/common/config.h:
2526 0.10.17.3 pre-release
2528 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2530 Patch by: Ole André Vadla Ravnås
2531 <ole dot andre dot ravnas at tandberg dot com>
2533 * docs/gst/gstreamer-sections.txt:
2534 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2535 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2536 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2537 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2538 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2539 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2540 (gst_poll_fd_can_write), (gst_poll_wait),
2541 (gst_poll_set_controllable), (gst_poll_restart),
2542 (gst_poll_set_flushing):
2544 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2545 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2546 (gst_net_time_provider_new):
2547 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2548 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2549 * tests/benchmarks/gstpollstress.c: (main):
2550 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2551 Remove GstPollMode from the API, it does not make sense to let the
2552 application control this.
2553 Add support for Win32.
2554 Fix the testsuite. Fixes #520671.
2556 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2558 Patch by: Ole André Vadla Ravnås
2559 <ole dot andre dot ravnas at tandberg dot com>
2561 * gst/gstregistrybinary.c:
2562 Include io.h for write() and close() when building with MSVC. Fixes
2565 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2568 * gst/gst_private.h:
2569 * gst/gstconfig.h.in:
2570 * gst/gstregistry.h:
2571 * gst/gstregistrybinary.c:
2572 * win32/common/gstconfig.h:
2573 Move registry backend API to private headers where we can. Add
2574 fixme-0.11 comments for the others. Add stubs for the xml backend when
2575 using the binary to ensure they functions exists (they should not be
2576 used though). Fixes #520756.
2578 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2581 * win32/common/config.h:
2584 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2586 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2587 (gst_registry_binary_read_cache):
2588 * gst/gstregistryxml.c: (gst_registry_save):
2589 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2590 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2591 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2592 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2593 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2596 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2598 * gst/gstminiobject.c:
2599 Import gst_private.h before any other header that might include other
2600 glib headers. This fixes the build on windows using native compilers.
2602 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2604 * win32/common/gstconfig.h:
2605 Add here too, just for completeness.
2607 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2610 * gst/gstconfig.h.in:
2611 * gst/gstregistry.h:
2612 Fix broken use of config.h-defined preprocessor directive in a public
2613 header file. Add a corresponding define to gstconfig.h, since we can't
2614 really remove those function declarations from the header file now
2615 (or can we? and why are they there in the first place?).
2617 2008-03-03 Andy Wingo <wingo@pobox.com>
2619 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2622 * gst/gststructure.c (gst_structure_from_string): Warn if
2623 structure_from_string didn't consume the whole string, but the
2624 caller did not provide an end pointer.
2626 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2628 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2630 * gst/gstregistryxml.c: (read_string), (load_feature):
2631 Strings allocated by libxml2 should be freed with xmlFree(), not
2632 with g_free(). Fixes issues on windows in certain contexts (#519698).
2634 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2636 * gst/gstinterface.c: (gst_element_implements_interface):
2637 Don't crash if the element supports the interface queried, but does
2638 not implement GstImplementsInterface. Fixes #519584.
2640 * tests/check/Makefile.am:
2641 * tests/check/gst/.cvsignore:
2642 * tests/check/gst/gstinterface.c:
2643 Add unit test for the above.
2645 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2647 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2650 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2652 * gst/gstsegment.c: (gst_segment_set_seek),
2653 (gst_segment_to_stream_time):
2654 Improve some comment.
2655 Update variables where it makes more sense.
2657 2008-02-29 Rene Stadler <mail@renestadler.de>
2659 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2660 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2661 URIHandlers implemented using language bindings.
2663 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2665 * gst/gstelementfactory.h:
2666 * tests/check/elements/fakesink.c:
2667 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2668 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2669 * tests/check/elements/filesink.c: (setup_filesink):
2670 * tests/check/elements/filesrc.c: (setup_filesrc):
2671 * tests/check/elements/identity.c: (setup_identity):
2672 * tests/check/elements/tee.c:
2673 * tests/check/generic/sinks.c:
2674 * tests/check/generic/states.c: (setup), (teardown):
2675 * tests/check/gst/gst.c:
2676 * tests/check/gst/gstabi.c:
2677 * tests/check/gst/gstbin.c:
2678 * tests/check/gst/gstbus.c: (pull_messages):
2679 * tests/check/gst/gstcaps.c:
2680 * tests/check/gst/gstelement.c:
2681 * tests/check/gst/gstevent.c:
2682 * tests/check/gst/gstghostpad.c:
2683 * tests/check/gst/gstiterator.c:
2684 * tests/check/gst/gstmessage.c:
2685 * tests/check/gst/gstminiobject.c: (my_foo_init):
2686 * tests/check/gst/gstobject.c: (thread_name_object),
2688 * tests/check/gst/gstpad.c:
2689 * tests/check/gst/gstplugin.c:
2690 * tests/check/gst/gstpoll.c:
2691 * tests/check/gst/gstquery.c:
2692 * tests/check/gst/gstsegment.c:
2693 * tests/check/gst/gststructure.c:
2694 * tests/check/gst/gstsystemclock.c:
2695 * tests/check/gst/gsttask.c:
2696 * tests/check/gst/gstutils.c:
2697 * tests/check/gst/gstvalue.c:
2698 * tests/check/gst/struct_hppa.h:
2699 * tests/check/gst/struct_i386.h:
2700 * tests/check/gst/struct_ppc32.h:
2701 * tests/check/gst/struct_ppc64.h:
2702 * tests/check/gst/struct_x86_64.h:
2703 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2704 * tests/check/libs/basesrc.c:
2705 * tests/check/libs/controller.c: (GST_START_TEST):
2706 * tests/check/libs/gdp.c:
2707 * tests/check/libs/gstnetclientclock.c:
2708 * tests/check/libs/gstnettimeprovider.c:
2709 * tests/check/libs/libsabi.c:
2710 * tests/check/libs/struct_hppa.h:
2711 * tests/check/libs/struct_i386.h:
2712 * tests/check/libs/struct_ppc32.h:
2713 * tests/check/libs/struct_ppc64.h:
2714 * tests/check/libs/struct_x86_64.h:
2715 * tests/check/pipelines/cleanup.c:
2716 * tests/check/pipelines/simple-launch-lines.c:
2717 * tests/check/pipelines/stress.c:
2718 And correct even more valid sparse warnings.
2720 * win32/common/libgstreamer.def:
2721 Add gst_poll_fd_init to the list of symbols.
2723 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2725 * gst/gstconfig.h.in:
2726 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2727 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2728 (gst_check_log_critical_func), (gst_check_drop_buffers),
2729 (gst_check_element_push_buffer_list):
2730 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2731 (gst_controller_get_type):
2732 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2733 (gst_object_get_controller), (gst_object_get_control_source):
2734 * libs/gst/controller/gstinterpolationcontrolsource.c:
2735 (gst_interpolation_control_source_new):
2736 * libs/gst/controller/gstlfocontrolsource.c:
2737 (gst_lfo_control_source_new):
2738 * libs/gst/dataprotocol/dataprotocol.c:
2739 (gst_dp_event_from_packet_0_2):
2740 * plugins/elements/gstfdsrc.c:
2741 * plugins/elements/gstmultiqueue.c:
2742 * plugins/elements/gsttee.c:
2743 * plugins/elements/gsttypefindelement.c:
2744 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2745 (gst_file_index_add_association):
2746 * plugins/indexers/gstmemindex.c:
2747 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2748 * tests/check/elements/queue.c: (setup_queue):
2749 * tests/check/gst/gstpipeline.c:
2750 * tests/check/libs/collectpads.c: (setup), (teardown),
2751 (gst_collect_pads_suite):
2752 * tests/examples/adapter/adapter_test.c:
2753 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2754 * tests/examples/xml/createxml.c:
2755 * tests/examples/xml/runxml.c:
2756 * tools/gst-inspect.c:
2758 Correct all relevant warnings found by the sparse semantic code
2759 analyzer. This include marking several symbols static, using
2760 NULL instead of 0 for pointers, not using variable sized arrays
2761 on the stack, moving variable declarations to the beginning of
2762 a block and using "foo (void)" instead of "foo ()" for declarations.
2764 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2766 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2767 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2768 Don't reset GstPollFDs, this is not necessary at all.
2770 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2771 (delayed_restart), (delayed_control):
2772 Use GST_POLL_FD_INIT.
2774 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2776 * gst/gstpoll.c: (gst_poll_fd_init):
2780 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2781 Use some more init macros.
2783 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2785 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2786 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2787 Use init macros and functions.
2789 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2791 * docs/gst/gstreamer-sections.txt:
2792 * gst/gstpoll.c: (gst_poll_fd_init):
2794 Add INIT macro and _init method for initializing the GstPollFD.
2796 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2798 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2799 (gst_fd_sink_update_fd):
2800 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2801 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2802 (delayed_restart), (delayed_control):
2803 Initialize some uninitialized variables as spotted by valgrind.
2805 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2807 * tests/benchmarks/Makefile.am:
2808 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2810 Add poll stress test.
2812 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2814 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2816 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2817 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2818 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2819 * plugins/elements/gstfdsink.h:
2820 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2821 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2822 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2823 (gst_fd_src_uri_set_uri):
2824 * plugins/elements/gstfdsrc.h:
2825 Port to GstPoll. See #505417.
2827 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2829 * win32/common/libgstreamer.def:
2830 Add new gst_poll_ symbols to win32 defs.
2832 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2834 * docs/libs/gstreamer-libs-sections.txt:
2835 * libs/gst/net/gstnetclientclock.c:
2836 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2837 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2838 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2839 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2840 * libs/gst/net/gstnetclientclock.h:
2841 * libs/gst/net/gstnettimeprovider.c:
2842 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2843 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2844 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2845 (gst_net_time_provider_new):
2846 * libs/gst/net/gstnettimeprovider.h:
2847 Use a private stuct to not break ABI.
2849 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2851 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2853 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2854 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2855 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2856 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2857 * libs/gst/net/gstnetclientclock.h:
2858 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2859 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2860 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2861 (gst_net_time_provider_new):
2862 * libs/gst/net/gstnettimeprovider.h:
2863 Massive code removal and cleanups because of GstPoll.
2866 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2869 Add checks for poll, ppoll and pselect.
2871 * docs/gst/gstreamer-docs.sgml:
2872 * docs/gst/gstreamer-sections.txt:
2873 Add docs for GstPoll.
2877 * gst/gstpoll.c: (find_index), (selectable_fds),
2878 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2879 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2880 (gst_poll_set_mode), (gst_poll_get_mode),
2881 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2882 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2883 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2884 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2885 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2886 (gst_poll_fd_can_write), (gst_poll_wait),
2887 (gst_poll_set_controllable), (gst_poll_restart),
2888 (gst_poll_set_flushing):
2890 Add generic poll abstraction. We ideally don't want to have this in core
2891 here but in glib intead...
2892 This code will be used in various network elements and ultimately for
2893 the nanosecond precision monotonic clock (that's why it's here in core).
2894 It'll allow us to implement cancelable socket operations for windows too.
2896 * tests/check/Makefile.am:
2897 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2898 (delayed_stop), (delayed_restart), (delayed_flush),
2899 (delayed_control), (gst_poll_suite):
2900 Add GstPoll unit test.
2902 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2905 Improve documentation of gst_filter_run(). Fixes #518627.
2907 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2910 Add a few lines about the new 'check-inspected-versions' target.
2912 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2914 * tests/check/gst/gstevent.c:
2915 Add qos to the event test. Rename tcase/tsuite; is not only about
2918 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2920 * plugins/elements/gstqueue.c:
2921 Ensure that buffer metadata is writeable, before modifying. Spotted by
2924 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2926 * plugins/elements/gstqueue.c:
2927 * plugins/elements/gstqueue.h:
2928 When dropping buffers in leaky modes, mark next buffers we sent as
2931 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2933 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2934 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2936 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2938 * plugins/elements/Makefile.am:
2939 * plugins/elements/gstbufferstore.c:
2940 * plugins/elements/gstbufferstore.h:
2941 * plugins/elements/gsttypefindelement.h:
2942 Remove GstBufferStore, no idea why we were still building it.
2943 It's not used anywhere and superseded by GstAdapter.
2945 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2946 (gst_file_src_create_mmap):
2947 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2948 Printf format fixes for 64-bit integers.
2950 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2953 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2954 We're not in 0.8 times anymore.
2956 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2958 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2959 (gst_check_element_push_buffer_list):
2960 * libs/gst/check/gstcheck.h:
2961 Make the declaration in the header for
2962 gst_check_element_push_buffer_list match the implementation.
2964 Fix up spelling, grammar and wording of the documentation in a few
2965 places, and add the Since keyword to new API functions.
2966 Use g_list_delete_link instead of g_list_remove in
2967 gst_check_drop_buffers, since it's immeasurably more efficient.
2969 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2970 Use new gst_check_drop_buffers function where appropriate.
2972 * win32/common/libgstbase.def:
2973 * win32/common/libgstreamer.def:
2974 Add new symbols gst_collect_pads_take_buffer,
2975 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2978 Changelog surgery to add API keyword to new gst_check API.
2980 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2982 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2983 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2984 Update pre-generated flex files with flex 2.3.34.
2986 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2988 * gst/gstminiobject.c:
2989 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2990 friendly to subclasses and not require them to know all internals
2991 of their parent class.
2993 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2995 * docs/libs/gstreamer-libs-sections.txt:
2996 * libs/gst/base/gstcollectpads.c:
2997 * libs/gst/base/gstcollectpads.h:
2998 Add sub-buffer functions to collectpads. Fixes #516187.
2999 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3001 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3004 Copy selected buffer-flags when creating subbuffers.
3007 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
3009 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3010 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3011 * gst/gstmessage.c: (gst_message_class_init),
3012 (gst_message_finalize):
3013 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3014 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3015 (gst_mmap_buffer_finalize):
3016 Properly chain up finalize functions to the parent class.
3018 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
3020 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3022 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3023 (gst_index_set_resolver_full):
3025 Add new function with option to dispose of user_data in resolver.
3026 Actually call the dispose function when finalizing the object and not
3027 just when changing the resolver/filter.
3028 API: GstIndex::gst_index_set_resolver_full()
3030 * docs/gst/gstreamer-sections.txt:
3031 Add new function to docs. Fixes #515469.
3033 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
3035 * gst/gstindex.c: (gst_index_finalize):
3036 Chain up finalize to the parent class. Fixes leaking the GstObject
3037 name and other things.
3039 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
3042 Make DISABLE_DEPRECATED defined *only* during CVS, not during
3043 pre-releases or releases.
3045 * docs/faq/gst-uninstalled:
3048 * docs/random/release:
3049 Change one of the steps - we only upload core & base to Gnome FTP
3051 2008-02-06 Stefan Kost <ensonic@users.sf.net>
3053 * gst/gstconfig.h.in:
3054 Add 'id' for example.
3058 * plugins/elements/gstfdsink.c:
3059 Link to signals. Doc and comment fixes.
3061 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
3063 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3064 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3065 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3066 unused and unimplemented; finally, it is plugin features, not
3067 plugins, that have ranks.
3069 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3071 * gst/gstpluginfeature.h:
3072 Clarify GstRank range docs.
3074 2008-02-05 David Schleef <ds@schleef.org>
3076 * gst/gst.c: Add a separate gst_deinitialized that prevents
3077 gst_init() from being called after gst_deinit(). Fixes #509559
3079 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3081 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3082 (gst_bin_class_init):
3083 * gst/gstelement.c: (gst_element_base_class_init),
3084 (gst_element_class_add_pad_template):
3085 * gst/gstpadtemplate.c: (gst_pad_template_init):
3086 * gst/gstpipeline.c: (gst_pipeline_get_type),
3087 (gst_pipeline_base_init), (gst_pipeline_class_init):
3088 * libs/gst/base/gstbasesink.c:
3089 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3090 (gst_base_src_base_init), (gst_base_src_class_init):
3091 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3092 (gst_capsfilter_class_init):
3093 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3094 (gst_fake_sink_class_init):
3095 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3096 (gst_fake_src_class_init):
3097 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3098 (gst_fd_sink_class_init):
3099 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3100 (gst_fd_src_class_init):
3101 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3102 (gst_file_sink_class_init):
3103 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3104 (gst_file_src_class_init):
3105 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3106 (gst_identity_class_init):
3107 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3108 (gst_multi_queue_class_init):
3109 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3110 (gst_queue_class_init):
3111 * plugins/elements/gsttee.c: (gst_tee_base_init),
3112 (gst_tee_class_init):
3113 * plugins/elements/gsttypefindelement.c:
3114 (gst_type_find_element_base_init),
3115 (gst_type_find_element_class_init):
3116 * tests/check/gst/gstelement.c: (gst_element_suite):
3117 Revert previous changes to the behaviour of GstPadTemplates, etc
3118 and the possiblity to call them in class_init as it breaks too
3119 many elements. Reopens bug #491501.
3121 Should be applied again for 0.11, thus added a few FIXME 0.11 at
3124 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3126 * tools/gst-launch.c:
3127 Dump one graph per pipeline state-change and state change name
3128 (if GST_DEBUG_DUMP_DOT_DIR is set).
3130 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
3133 * tests/check/gst/gstpad.c:
3134 Be sure that we have a new copy of the caps and not
3135 reffed caps from a template
3137 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3139 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3140 * gst/gstpipeline.c: (gst_pipeline_get_type),
3141 (gst_pipeline_class_init):
3142 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3143 (gst_base_sink_class_init):
3144 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3145 (gst_base_src_class_init):
3146 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3147 (gst_base_transform_class_init):
3148 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3149 (gst_collect_pads_class_init):
3150 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3151 * libs/gst/net/gstnettimeprovider.c:
3152 (gst_net_time_provider_base_init),
3153 (gst_net_time_provider_class_init):
3154 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3155 (gst_capsfilter_class_init):
3156 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3157 (gst_fake_sink_class_init):
3158 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3159 (gst_fake_src_class_init):
3160 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3161 (gst_fd_sink_class_init):
3162 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3163 (gst_fd_src_class_init):
3164 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3165 (gst_file_sink_class_init):
3166 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3167 (gst_file_src_class_init):
3168 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3169 (gst_identity_class_init):
3170 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3171 (gst_multi_queue_class_init):
3172 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3173 (gst_queue_class_init):
3174 * plugins/elements/gsttee.c: (gst_tee_base_init),
3175 (gst_tee_class_init):
3176 * plugins/elements/gsttypefindelement.c:
3177 (gst_type_find_element_base_init),
3178 (gst_type_find_element_class_init):
3179 Don't use base_init where not absolutely necessary. For example it's
3180 not necessary anymore for adding pad templates or setting element
3183 Leave empty base_init functions in several places as GST_BOILERPLATE
3184 still defines and uses them.
3186 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3188 * gst/gstelement.c: (gst_element_base_class_init),
3189 (gst_element_class_add_pad_template):
3190 * gst/gstpadtemplate.c:
3191 Make it possible (and recommended) to set element details and add
3192 pad templates in the class_init functions by copying the details/pad
3193 templates in GstElement's base_init.
3195 Also make it possible to replace existing pad templates by adding
3196 a new one with the same name. This was done in a hackish fashion
3197 in same elements before already.
3199 Don't reference pad templates that are added a second time. A
3200 new pad template has a refcount of one and is not floating anymore
3201 and to be owned by the element's class. Make this more explicit by
3202 mentioning it in the docs of gst_element_class_add_pad_template().
3204 These changes are backwards compatible. Fixes bug #491501.
3206 * tests/check/gst/gstelement.c:
3207 Add unit test for setting element details, adding pad templates and
3208 replacing them in a subclass.
3210 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3212 * tools/gst-inspect.c: (print_interfaces),
3213 (print_element_properties_info), (print_pad_info),
3214 (print_signal_info), (print_element_info):
3215 Fix a few memory leaks.
3217 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3219 * docs/libs/gstreamer-libs-sections.txt:
3220 * libs/gst/check/gstcheck.c:
3221 * libs/gst/check/gstcheck.h:
3222 Add more functions for unit testing: gst_check_drop_buffers,
3223 gst_check_caps_equal, gst_check_element_push_buffer_list,
3224 gst_check_element_push_buffer
3225 API: gst_check_drop_buffers
3226 API: gst_check_caps_equal
3227 API: gst_check_element_push_buffer_list
3228 API: gst_check_element_push_buffer
3230 2008-02-01 Julien Moutte <julien@fluendo.com>
3232 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3233 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3234 (gst_index_finalize), (gst_index_entry_free),
3235 (gst_index_add_association): Fix memory leaks.
3236 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3237 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3238 (gst_mem_index_free_format), (gst_mem_index_free_id),
3239 (gst_mem_index_finalize): Fix memory leaks.
3240 * win32/common/config.h: Updated to CVS HEAD.
3242 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3245 Some more details about how the plugin docs works.
3247 * docs/plugins/gstreamer-plugins-sections.txt:
3250 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3252 * gst/parse/grammar.tab.pre.c:
3253 * gst/parse/grammar.tab.pre.h:
3254 * gst/parse/grammar.y:
3255 * gst/parse/lex._gst_parse_yy.pre.c:
3256 Add delayed set-property. This allows to set properties on dynamicaly
3257 created objects (pads in videomxer). Fixes #509391.
3259 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3262 Check if caps are not NULL (fix bug #510194)
3264 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3266 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3267 (gst_base_sink_get_position_paused):
3268 Add fixme regarding EOS in pull mode.
3269 Fix position reporting in PAUSED for negative rates.
3271 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3273 * gst/gstminiobject.c: (gst_mini_object_replace):
3274 When replacing a miniobject, do a quick equality check first so that we
3275 can avoid a ref/unref pair.
3277 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3279 * docs/design/part-synchronisation.txt:
3282 * docs/plugins/Makefile.am:
3283 * docs/plugins/gstreamer-plugins-docs.sgml:
3284 * docs/plugins/gstreamer-plugins-sections.txt:
3285 * plugins/elements/gstmultiqueue.c:
3286 Add multiqueue to the docs.
3288 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3293 === release 0.10.17 ===
3295 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3298 releasing 0.10.17, "Due Negligence"
3300 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3303 Revert caps != NULL check temporarily for 0.10.17 release.
3305 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3308 Check if caps are not NULL (fix bug #510194)
3310 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3313 Fix compilation on systems that have posix timers but no
3316 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3319 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3321 * tools/gst-inspect.c:
3322 Revert previous commit in preparation for an impromptu 0.10.17 release
3324 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3326 * tools/gst-inspect.c: (print_interfaces),
3327 (print_element_properties_info), (print_pad_info),
3328 (print_signal_info), (print_element_info):
3329 Fix a few memory leaks.
3331 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3336 === release 0.10.16 ===
3338 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3341 releasing 0.10.16, "Special Dispensation"
3343 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3346 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3347 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3348 not fail when trying to crosscompile on OpenEmbedded (#511750).
3350 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3353 Use $(MAKE) instead of make to fix the build if GNU make is
3354 called different. Fixes bug #510747.
3356 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3358 * gst/gstplugin.c: (_gst_plugin_initialize):
3359 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3360 again, which I broke two commits ago when changing the API
3361 of gst_plugin_register_static(): the g_list_foreach() in
3362 _gst_plugin_register_static still assumed the old function
3363 signature and would therefore fail (re-fixes #510187).
3365 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3366 (_gst_plugin_register_static), (gst_plugin_register_static):
3367 Revert the (technically correct) change to call g_thread_init() from
3368 the pre-main() constructor. This will break programs which call
3369 g_thread_init() without an if (!g_thread_supported()) guard in their
3370 main function. We could just blame it on GLib or the application, but
3371 it's probably best to just avoid this altogether and simply not use
3372 any GLib functions here and use plain old malloc() with a simple
3373 array to store the plugins to register later when gst_init() is
3374 finally called (re-fixes #510187).
3376 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3377 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3378 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3379 (GST_START_TEST), (gst_plugin_suite):
3380 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3383 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3385 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3386 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3387 This makes gtk-doc complain, but results in slightly better
3388 compiler errors. The old _gst_plugin_register_static() is
3389 still guarded, so there'll be a compiler warning about that
3390 instead. Fixes #510187 too.
3392 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3394 * gst/gst.c: (init_post):
3395 * gst/gstplugin.c: (_gst_plugin_register_static),
3396 (gst_plugin_register_static), (_gst_plugin_initialize):
3397 * gst/gstplugin.h: (GstPluginFilter):
3398 Change API of gst_plugin_register_static() to not take
3399 a GstPluginDesc, but rather just take all the arguments
3400 in a GstPluginDesc directly. This is more intuitive and
3401 avoids certain mistakes when porting code from
3402 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3405 * tests/check/gst/gstplugin.c:
3406 Fix up for changed API.
3408 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3410 * docs/faq/legal.xml:
3411 Update FAQ, Totem actually has an exception these days.
3413 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3415 * win32/common/libgstreamer.def:
3416 Add new API declarations
3418 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3420 * gst/gstminiobject.c:
3421 Spelling fixes for the API docs.
3423 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3425 * libs/gst/base/gstbasetransform.c:
3426 Fix long property description for QoS.
3428 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3431 _gst_trace_on is already provided by gsttrace.h, no need to declare
3434 * docs/libs/gstreamer-libs-sections.txt:
3435 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3436 and remove strange tcase_add_test which is outputting a warning.
3438 * libs/gst/check/gstcheck.c:
3439 * libs/gst/check/gstcheck.h:
3440 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3441 and define them in gstcheck.c instead of having every .c file whcih
3442 includes gstcheck.h be defining its own copy and relying on symbol
3443 interposing to marry them all, which doesn't work on Solaris.
3445 * tests/check/elements/identity.c: (GST_START_TEST):
3446 Don't define 'buffers' locally, it comes from libgstcheck.
3448 * tests/check/generic/sinks.c: (send_buffer):
3449 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3451 * tests/check/gst/gststructure.c: (GST_START_TEST):
3452 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3453 * tests/check/gst/gstutils.c: (GST_START_TEST):
3454 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3455 Add a bunch of casts to make various constants fit the types
3456 they're being assigned to.
3458 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3460 * gst/gstchildproxy.c:
3461 Improve docs and add some ideas for making this more general-purpose.
3463 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3465 * gst/gst_private.h: (GST_CAT_TYPES):
3466 Add GST_CAT_TYPES, for consistency, and so that the other
3467 debug categories don't make fun of it. Spotted by Saur on IRC.
3469 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3471 * gst/parse/Makefile.am:
3472 Move types.h from EXTRA_DIST to noinst_HEADERS.
3474 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3477 Add -Wno-portability to the automake parameters to stop warnings
3478 about GNU make extensions being used. We require GNU make in almost
3479 every Makefile anyway.
3482 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3483 at the same time is required for per target flags.
3485 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3488 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3489 __GNUC__ is defined before using it.
3491 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3493 * docs/gst/gstreamer-sections.txt:
3494 * gst/gst.c: (init_post):
3495 * gst/gstplugin.c: (_gst_plugin_register_static),
3496 (gst_plugin_register_static), (_gst_plugin_initialize),
3497 (gst_plugin_register_func):
3498 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3499 API: add gst_plugin_register_static() and deprecate
3500 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3502 Also, in _gst_plugin_register_static(), make sure to call
3503 g_thread_init() before calling GLib functions such as
3504 g_list_append() if we're not initialised yet, since that
3505 may lead to random crashes with older GSlice/GLib versions.
3507 * tests/check/gst/gstplugin.c:
3508 Adapt unit test to above changes.
3510 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3512 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3513 * gst/gstcaps.c: (gst_caps_to_string):
3514 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3515 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3516 Yet another gratuitous GString micro-optimisation: add a (private)
3517 function that serialises a structure appending to an existing
3518 GString, so that when we serialise caps we don't need to alloc+free
3519 a throwaway GString for each structure (each of which also entailing
3520 multiple reallocs on the way); also use g_string_sized_new() in
3521 various places with an approximate string length to avoid reallocs
3522 within GString. See #500143.
3524 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3526 * gst/gststructure.c: (gst_structure_id_set_value):
3527 Always check UTF-8 conformance of structure strings and not only
3528 if the debugging system is enabled; reasoning: the behaviour of
3529 the actual code shouldn't really change depending on whether the
3530 debugging system is enabled or not (#508291).
3532 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3535 Remove old coverage target in favour of "make lcov".
3537 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3539 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3540 (gst_base_src_loop):
3541 The start segment for reverse playback goes from start to last_stop.
3543 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3545 Patch by: Peter Kjellerstedt <pkj axis com>
3548 Cast the results from the timeval/spec_to_time macros to what the
3549 docs say it casts to, a GstClockTime. fixes #508175.
3551 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3554 Update some comments.
3556 * tools/gst-inspect.c: (print_element_properties_info):
3557 Improve printing of flags.
3559 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3561 * libs/gst/base/gstbasetransform.c:
3562 (gst_base_transform_transform_size):
3563 Print element name with g_warning() if there's a problem
3566 2008-01-07 David Schleef <ds@schleef.org>
3568 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3570 * libs/gst/controller/gstcontroller.h:
3571 * libs/gst/controller/gstcontrolsource.h:
3572 * libs/gst/controller/gstinterpolationcontrolsource.h:
3573 * libs/gst/controller/gstlfocontrolsource.h:
3574 * libs/gst/dataprotocol/dataprotocol.h:
3575 Fix empty prototypes. Fixes bug #507957.
3577 2008-01-07 David Schleef <ds@schleef.org>
3579 * docs/faq/dependencies.xml: Fix typo.
3581 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3583 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3584 (gst_base_src_loop):
3585 Don't update the last_stop position in do_seek, that's the position we
3587 Read backwards when we have a negative rate.
3589 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3590 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3592 Add check for reverse reading.
3594 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3596 Patch by: Alexis Ballier <aballier at gentoo org>
3598 * tests/check/gst/gstabi.c:
3599 * tests/check/gst/struct_ppc64.h:
3600 * tests/check/libs/libsabi.c:
3601 * tests/check/libs/struct_ppc64.h:
3602 Decide which header to include based on the userland ABI target
3603 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3604 for 64-bit userland (#503590). Might need something similar for
3607 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3609 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3610 Log the reason why fopen fails in addition to the fact that it failed.
3612 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3614 * gst/parse/parse.l:
3615 Use "%option never-interactive" to prevent useless calls to isatty()
3616 on every input when parsing. Also use "%option noinput" to not define
3617 the static input/yyinput functions which we don't use anyway. This
3618 removes a compiler warning with gcc 4.3 and saves some bytes in the
3621 * gst/parse/lex._gst_parse_yy.pre.c:
3622 Regenerated for the above change.
3624 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3626 * gst/gstpad.c: (fixate_value):
3627 Don't crash when trying to fixate and empty list.
3630 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3632 * docs/faq/gst-uninstalled:
3633 Clarify the comments to make the usage of this script and what it
3634 does easier to understand.
3636 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3638 * tools/gst-plot-timeline.py:
3639 Add more options to gst-plot-timeline
3641 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3643 * docs/design/part-synchronisation.txt:
3644 Some more info on how the stream_time in GstBaseSink is done.
3646 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3648 * tests/check/generic/sinks.c: (gst_sinks_suite):
3649 Put back the tcase_set_timeout(), apparently it's needed after
3650 all; fix it up in a way that makes things work with valgrind too.
3652 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3654 * gst/gstdebugutils.c:
3655 Add warning when failed to open file for writing.
3657 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3659 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3661 * gst/gstvalue.c: (gst_value_is_fixed):
3662 Optimisation: bail out of the loop as early as possible (#500143).
3664 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3666 * gst/gstcaps.c: (gst_caps_to_string):
3667 * gst/gstinfo.c: (gst_debug_construct_term_color):
3668 * gst/gstparse.c: (gst_parse_launchv):
3669 * gst/gstutils.c: (gst_util_dump_mem):
3670 * gst/gstvalue.c: (gst_value_serialize_any_list),
3671 (gst_value_transform_any_list_string):
3672 Bunch of gratuitous nano-optimisations.
3674 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3676 * tests/check/generic/sinks.c: (async_done_func),
3677 (async_done_eos_func):
3678 Fix leak in unit test (bus sync handler must unref the message
3679 if it returns GST_BUS_DROP). Don't fiddle with the default test
3680 timeout, this is smaller than the current preconfigured value
3681 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3682 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3684 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3686 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3689 Check for stdio_ext.h for the filesink changes.
3691 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3692 (gst_file_sink_class_init), (gst_file_sink_init),
3693 (gst_file_sink_dispose), (gst_file_sink_set_property),
3694 (gst_file_sink_get_property), (gst_file_sink_open_file),
3695 (gst_file_sink_close_file):
3696 * plugins/elements/gstfilesink.h:
3697 Add two properties to control the buffering mode and size.
3698 API: GstFileSink::buffer-mode
3699 API: GstFileSink::buffer-size
3702 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3704 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3705 Add some more docs to explain why a FIXME was wrongly added.
3707 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3710 Fix typo in the gst_object_{ref,unref} documentation.
3712 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3714 * tests/check/libs/controller.c:
3715 * tests/check/libs/typefindhelper.c:
3716 * tests/check/pipelines/parse-launch.c:
3717 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3718 going to be deprecated (see #498924).
3720 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3722 * gst/gsttypefind.c: (gst_type_find_register):
3723 Make gst_type_find_register work for static typefind functions,
3724 ie. allow passing plugin == NULL (prerequisite for #498924).
3726 * gst/gstelementfactory.c: (gst_element_register):
3727 Small docs addition.
3729 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3731 * gst/gstpad.c: (gst_pad_dispose):
3732 Really unlink the peer pad instead of setting the peer pointer to NULL
3733 when we dispose the pad.
3734 This correctly calls the unlink functions and makes sure that the peer
3735 does not have a handle to invalid memory. See #504671.
3737 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3738 Add testsuite for above case.
3740 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3742 Patch by: Peter Kjellerstedt <pkj axis com>
3744 * libs/gst/check/gstcheck.h:
3745 Fix detection of the check version we're compiling against (would
3746 otherwise break if check goes v0.10.0); correctly report the
3747 name of the failed test again in case of failure, instead of
3748 just 'tf' (fixes #504499).
3750 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3752 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3753 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3754 (gst_base_src_loop), (gst_base_src_set_flushing),
3755 (gst_base_src_change_state):
3756 Allow sending EOS to the source to make it send out an EOS event from
3757 the streaming thread.
3758 Update docs and deprecate the old NULL/READY shutdown method.
3760 * tests/check/libs/basesrc.c: (GST_START_TEST),
3761 (gst_basesrc_suite):
3762 Add unit test for controlled shutdown.
3764 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3766 * docs/design/part-synchronisation.txt:
3769 * gst/gstsegment.c: (gst_segment_set_seek),
3770 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3771 (gst_segment_to_running_time):
3772 The seek format can be different from the segment format when the start
3773 and stop values are not to be updated, when we only do a rate change for
3776 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3777 (gst_segment_suite):
3778 Add a testcase for the rate-only seeks, checking that the format is
3779 correctly ignored when start and stop are not updated.
3781 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3783 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3785 * win32/vs8/grammar.vcproj:
3786 * win32/vs8/libgstcontroller.vcproj:
3787 * win32/vs8/libgstreamer.vcproj:
3788 Fix compilation with VS8 and include some missing files.
3790 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3793 Small docs addition: mention that the strings returned by
3794 gst_tag_list_get_string*() are in UTF-8 encoding.
3796 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3799 The check-exports stuff moved to common/win32.mak, so include that.
3801 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3803 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3804 (gst_base_src_perform_seek), (gst_base_src_get_range),
3805 (gst_base_src_set_playing), (gst_base_src_change_state):
3806 Make _wait_playing() not check any variables so that we can call this
3807 function from subclasses. Move the checks elsewhere similar to
3808 _wait_preroll() in basesink.
3810 Only signal the LIVE cond when we are going back to PLAYING.
3812 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3814 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3815 Use g_remove() and g_rename(). Check result of g_rename(), and
3816 don't leak the open file descriptor if we error out when writing.
3818 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3819 Must check the return value of close() after writing out the new
3820 registry file. Sometimes write problems such as out-of-diskspace
3821 are only reported when the file is closed and not already during
3822 the write. This may have caused partial/broken registry files in
3823 some rare circumstances. Should fix #503675.
3825 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3827 * docs/gst/.cvsignore:
3828 * docs/libs/.cvsignore:
3829 * docs/plugins/.cvsignore:
3830 Ignore files generated by new common/* modifications
3832 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3834 * win32/common/libgstbase.def:
3835 Yes, you can also have a <TAB> if you want.
3837 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3839 * win32/common/libgstbase.def:
3840 Add new basetransform API to win export file.
3842 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3844 * tests/check/gst/gstbin.c:
3845 Adjust the test to the refcount change two days ago.
3847 2007-12-14 David Schleef <ds@schleef.org>
3849 * docs/faq/getting.xml: Fix typo.
3851 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3853 * docs/libs/gstreamer-libs-sections.txt:
3854 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3855 (gst_base_transform_prepare_output_buffer),
3856 (gst_base_transform_set_gap_aware):
3857 * libs/gst/base/gstbasetransform.h:
3858 API: Add gst_base_transform_set_gap_aware() to control whether
3859 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3860 get buffers with this flag at all. Fixes #503231.
3862 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3864 * libs/gst/base/gstbasesink.c:
3865 * libs/gst/base/gstbasesrc.c:
3866 * libs/gst/base/gstbasetransform.c:
3867 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3868 thread. Correct log message in gstbasesrc.c.
3870 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3872 * gst/gstutils.c: (element_find_unconnected_pad):
3873 Fix possible compiler warning (#503417).
3875 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3877 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3878 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3880 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3882 * tools/gst-inspect.c: (print_element_properties_info):
3883 Add support for GstFraction properties.
3885 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3888 Add check-exports target and run it as part of 'make check'
3889 (see #499140 and #493983).
3891 * gst/gst_private.h:
3892 * gst/gstelementfactory.h:
3893 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3894 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3895 (_priv_gst_in_valgrind):
3896 * gst/gstinfo.h: (GstLogFunction):
3897 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3898 (gst_type_find_register):
3899 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3900 (gst_type_find_factory_get_type):
3901 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3902 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3903 (gst_controller_new_valist), (gst_controller_new_list),
3904 (_gst_controller_dispose), (_gst_controller_class_init):
3905 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3906 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3907 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3908 (gst_object_get_controller), (gst_object_set_controller),
3909 (gst_object_suggest_next_sync), (gst_object_sync_values),
3910 (gst_object_set_control_source), (gst_object_get_control_source),
3911 (gst_object_get_value_arrays), (gst_object_get_value_array),
3912 (gst_object_get_control_rate), (gst_object_set_control_rate):
3913 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3914 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3915 Make some functions that should be static static; rename some
3916 private symbols so that they don't get exported; add some FIXME
3917 comments so we can move accidentally exported functions into
3918 our private section in 0.11.
3920 * win32/common/libgstreamer.def:
3921 Add gst_utils_get_timestamp().
3923 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3927 Add more missing "Since:" tags to docs.
3929 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3932 Add mising "Since:" to docs.
3934 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3937 Include "glib-compat-private.h" to fix the build on system with
3938 glib < 2.10. Fixes #503131.
3940 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3944 Actually its not PURE as it gets the time from elsewhere.
3946 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3948 * docs/gst/gstreamer-sections.txt:
3950 * gst/gstdebugutils.c:
3954 * libs/gst/base/gstbasesink.c:
3955 * tools/gst-launch.c:
3956 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3957 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3958 Thanks Tim for spotting.
3959 API: gst_util_get_timestamp
3961 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3964 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3966 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3968 * gst/gststructure.c: (gst_structure_validate_name),
3969 (gst_structure_new_valist), (gst_structure_parse_value),
3970 (gst_structure_from_string):
3971 Don't crash in _from_string() if the structure name is not valid
3972 (fixes #501560). Allow structure names to start with a number
3973 again (this apparently broke the ubuntu codec installer).
3975 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3977 Add unit test for the crash; update unit tests for new behaviour.
3979 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3982 Clarify gst_element_get_compatible_pad() documentation.
3985 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3987 * tests/check/Makefile.am:
3988 Don't forget to dist {gst,libs}/struct_hppa.h.
3990 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3992 * libs/gst/base/gstbasesink.c:
3993 Use new API to get elapsed time.
3995 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3997 * gst/gstdebugutils.c:
3999 Fix wrong order of args in GST_CLOCK_DIFF() usage.
4001 * tools/gst-launch.c:
4002 Use new API to get elapsed time.
4004 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4006 * docs/gst/gstreamer-sections.txt:
4008 * gst/gstdebugutils.c:
4010 Rename new API + ChangeLog surgery to remove old name from last entry..
4012 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4014 * docs/gst/gstreamer-sections.txt:
4016 * gst/gstdebugutils.c:
4018 Now hide the different clock stuff behind a macro.
4020 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4023 * gst/gstdebugutils.c:
4025 Apply the posix-timer check from #361155. Conditionally use the posix
4026 timer for logging. This gives better timestamp precission, less
4027 overhead and no ntp jitter.
4029 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
4031 * gst/gstminiobject.c: (gst_mini_object_get_type),
4032 (gst_mini_object_class_init), (gst_mini_object_copy_default),
4033 (gst_mini_object_finalize), (gst_mini_object_copy),
4034 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4035 (gst_mini_object_replace), (param_mini_object_validate),
4036 (gst_param_spec_mini_object_get_type):
4037 Some cleanup and checking against invalid function parameters.
4039 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
4041 * docs/gst/gstreamer-sections.txt:
4043 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4044 (gst_systemclock_suite):
4045 Start merging in the easy bits of #361155, the monotonic clock patch.
4046 This one adds a few handy macros with docs and a testsuite.
4048 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
4050 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4051 Be a bit smarter when seeking, like, don't try to do a seek when it's
4052 not needed. This avoids errors when the file is not seekable.
4055 2007-11-26 Stefan Kost <ensonic@users.sf.net>
4057 * docs/gst/gstreamer-docs.sgml:
4058 * docs/gst/gstreamer-sections.txt:
4059 * docs/gst/gstreamer.types.in:
4064 * plugins/elements/gstqueue.c:
4065 Due to popular request remove preset interface again. :-(.
4067 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4069 * tools/gst-inspect.c:
4070 Print 'default value' for enums and flags too.
4072 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4074 * docs/random/ensonic/profiling.txt:
4078 Fix typo and give better log output.
4080 * gst/gstdebugutils.c:
4081 * gst/gstdebugutils.h:
4082 More ideas, make graphs a bit smaller and fix param name in macro.
4084 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4087 Try harder to use the return value from fgets().
4089 2007-11-21 Stefan Kost <ensonic@users.sf.net>
4092 For theses two fgets we handle the error below.
4094 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4096 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4097 Only send upstream events upstream. Fixes #498746.
4099 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4101 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4103 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4104 (gst_identity_init), (gst_identity_transform_ip),
4105 (gst_identity_set_property), (gst_identity_get_property):
4106 * plugins/elements/gstidentity.h:
4107 Add property to disable handoff signal emission. Fixes #498694.
4108 API: GstIdentity::signal-handoffs
4110 2007-11-21 Julien Moutte <julien@fluendo.com>
4112 * docs/faq/gst-uninstalled: Yet another missing library for the
4113 uninstalled script (fft)
4115 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
4117 * docs/faq/developing.xml:
4118 Add a question about how to submit new translations.
4120 * docs/random/release:
4121 Update the contact email address for the Translation Project
4123 * plugins/elements/gstfdsrc.c:
4124 The parent_class for fdsrc is pushsrc, not GstElement.
4126 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4129 Plug a leak and fix saving.
4131 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
4133 * docs/gst/gstreamer-sections.txt:
4134 Add new gst_preset__get_property_names() function to the docs
4137 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4141 Change _get_preset_names API to return a strv with copies. Add
4142 _get_property_names to allow implementations to filter and provide
4143 good default implementation.
4145 2007-11-20 Julien MOUTTE <julien@moutte.net>
4147 * docs/faq/gst-uninstalled: Add another library to the uninstalled
4150 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4153 More cleanups, docs, and TODOs from comments that now slowly come in.
4155 2007-11-19 Julien MOUTTE <julien@moutte.net>
4157 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4160 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4163 Fix bogus warning and make the property type specific code more
4166 2007-11-19 Julien MOUTTE <julien@moutte.net>
4168 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4171 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4173 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4174 (gst_bin_add_func), (gst_bin_remove_func),
4175 (gst_bin_change_state_func), (gst_bin_continue_func):
4176 Change email, cleanups add some more debug and comments.
4177 Also set bus and clock on new elements when the pipeline was in error.
4179 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4182 * gst/gstdebugutils.c:
4183 Fix build with --disable-gst-debug. Fixes #497859.
4184 Spotted by Sameer Naik.
4186 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4189 Little documentation improvment.
4192 More TODO cleanups. Remove c++ comments.
4194 * libs/gst/controller/gstcontroller.c:
4195 Add TODO and use quark from static string.
4197 * tests/check/gst/gstmessage.c:
4198 * tests/check/gst/gststructure.c:
4199 Use quark from static string.
4201 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4204 Add some comments and TODOs.
4207 Add padding for future changes.
4209 * plugins/elements/gstqueue.c:
4210 Implement the iface.
4212 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4214 * docs/gst/gstreamer-docs.sgml:
4215 * docs/gst/gstreamer-sections.txt:
4216 * docs/gst/gstreamer.types.in:
4221 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4223 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4229 === release 0.10.15 ===
4231 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4234 releasing 0.10.15, "October"
4236 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4238 * win32/vs6/libgstreamer.dsp:
4239 Convert line endings back to DOS.
4241 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4243 * docs/design/draft-tagreading.txt:
4244 * docs/random/ensonic/profiling.txt:
4245 Update fast tagreading draft and performance profiling ideas.
4247 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4249 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4250 Don't hold the object lock when unreffing a buffer because it could
4251 cause a deadlock when the finalize function wants to grab the object
4252 lock too. Fixes #495133.
4254 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4256 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4257 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4258 Also accumulate time correctly when doing reverse playback. Fixes
4260 When converting to running and stream time, use default values for
4261 start/stop/time/accum when comparing different formats. Fixes #494245.
4263 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4264 Do running/stream time in TIME format.
4266 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4267 (gst_segment_suite):
4268 2 new unit tests for segment accumulation.
4270 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4272 * gst/gst.c: (init_pre):
4273 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4274 (_gst_debug_bin_to_dot_file):
4275 Move getenv() back into gst_init, so everyone can live happily
4276 ever after. Make sure the symbol isn't exported though.
4278 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4280 Patch by: Sebastien Moutte <sebastien moutte net>
4282 * win32/common/gstenumtypes.c:
4283 * win32/common/gstenumtypes.h:
4286 * win32/vs6/libgstreamer.dsp:
4287 Update vs6 project files (#494343).
4289 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4291 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4292 (gst_base_src_perform_seek), (gst_base_src_default_event),
4293 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4294 (gst_base_src_activate_pull):
4295 Unify flushing code, remove some old unlock code that is no longer used.
4296 Take the streaming lock when seeking to avoid races. Fixes #492729.
4297 Added some more comments.
4299 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4301 * gst/gst.c: (_gst_disable_segtrap):
4302 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4303 we can use gst_segtrap_is_enabled() there now that we have that API.
4304 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4305 to do the getenv here (and export the variable).
4307 * gst/gstdebugutils.c: (debug_dump_element),
4308 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4309 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4311 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4312 (gst_debug_log_default):
4313 Rename _gst_info_start_time to priv_gst_info_start_time so it
4314 doesn't get exported (was never in any header).
4316 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4317 (gst_plugin_loading_mutex):
4318 Make static mutex gst_plugin_loading_mutex really static (was never
4319 in any header), and use gst_segtrap_is_enabled() instead of
4320 _gst_disable_segtrap.
4322 * gst/gsttrace.c: (_gst_trace_default):
4323 Make local _gst_trace_default static (was never in any header).
4325 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4327 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4329 * win32/common/libgstbase.def:
4330 * win32/common/libgstcontroller.def:
4331 * win32/common/libgstdataprotocol.def:
4332 * win32/common/libgstnet.def:
4333 * win32/common/libgstreamer.def:
4334 Add more missing symbols, remove some duplicates, and sort
4335 as the 'sort' command sorts it (partially fixes #493983).
4337 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4339 * gst/gstelement.c: (gst_element_set_state_func):
4340 Only change the state cookie if a different state was set on the
4341 element. See #492729.
4343 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4346 Remove unused and uninitialised type variables that were still
4347 exported for some reason (they were never in any header files
4350 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4352 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4353 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4354 (gst_base_sink_event), (gst_base_sink_get_position_last),
4355 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4356 (gst_base_sink_change_state):
4357 Don't try to report a 0 position when we don't know, return -1 and FALSE
4358 instead. This mostly happens when we are prerolling.
4359 Make sure we can report the right position before we post the ASYNC_DONE
4360 message so that a message handler can query position without races.
4362 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4363 (async_done_handoff), (async_done_func), (send_buffer),
4364 (async_done_eos_func), (gst_sinks_suite):
4365 Add two tests for the above.
4367 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4370 Update with new email address.
4372 * docs/design/part-TODO.txt:
4373 Add some more info about future pad-block and negotiation changes.
4375 * docs/design/part-buffering.txt:
4376 Add some ideas about buffering reporting.
4378 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4380 * tests/check/gst/gstobject.c:
4381 Disable silly racy test that always fails on this combination of CPU
4384 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4386 Patch by: Murray Cumming <murrayc@murrayc.com>
4389 Corrected the registration of the parent-set and parent-unset
4390 signals: The parameter is a GstObject, not a GObject (#493134).
4392 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4394 * gst/gst_private.h:
4403 Move declaration of private _gst_foo_initialize() functions into
4404 our private header file where they should have been all along.
4406 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4408 * docs/plugins/gstreamer-plugins-sections.txt:
4409 * gst/gstdebugutils.h:
4411 * plugins/elements/gstqueue.c:
4412 gtk-doc fixes; trailing-comma-in-enum fix.
4414 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4416 * gst/gst.c: (gst_deinit):
4417 Clean up on deinit (not the external ones though, doesn't seem to be
4418 needed for some reason).
4420 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4422 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4423 Remove __declspec(dllimport) for MSVC that was copied over into core
4424 from a plugin, obviously without ever having been tested (note the
4425 single underscore in _declspec in the initial commit), and that doesn't
4426 really make sense. See #492077.
4428 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4430 * gst/gst.c: (init_post):
4431 * gst/gstevent.c: (_gst_event_initialize):
4432 * gst/gstquery.c: (_gst_query_initialize):
4433 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4434 g_type_class_ref() other types as well, see #349410 and #64764.
4436 * gst/gstbuffer.c: (_gst_buffer_initialize):
4437 * gst/gstmessage.c: (_gst_message_initialize):
4438 Simplify existing g_type_class_ref().
4440 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4442 * gst/gstformat.c: (_gst_format_initialize):
4443 g_type_class_ref() our GstFormat type to make sure we avoid the
4444 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4445 bug #64764. Should fix intermittent tee unit test failures (#474823).
4447 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4449 * tests/check/elements/tee.c: (test_num_buffers):
4450 Simplify, simplify, simplify - or not. Rewrite unit test
4451 not to use gst_parse_launch(); allow N sub-streams. Increasing
4452 the number of sub-streams seems to reproduce #474823 more easily.
4454 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4456 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4459 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4460 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4461 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4462 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4463 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4464 so use _pipe() directly (#492077).
4466 * win32/common/dirent.c: (_treaddir):
4467 Add a couple of casts to make it build without warnings with MSVC.
4469 * win32/common/libgstreamer.def:
4470 Add some more symbols that need to be exported.
4472 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4474 * tests/examples/metadata/read-metadata.c: (message_loop):
4475 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4476 arriving in a second or third tag message are added to
4477 the tag list as well.
4479 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4481 * libs/gst/base/gstbasesrc.c:
4482 Its "Since:" and not "@Since:". And remove an superflous cast.
4484 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4486 * docs/libs/gstreamer-libs-sections.txt:
4487 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4488 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4489 (gst_base_sink_get_property), (gst_base_sink_render_object),
4490 (gst_base_sink_preroll_object),
4491 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4492 (gst_base_sink_change_state):
4493 * libs/gst/base/gstbasesink.h:
4494 Add a new last-buffer property that contains the last buffer used in
4495 basesink for preroll or rendering. useful for making snapshots.
4496 API: gst_base_sink_get_last_buffer()
4497 API: GstBaseSink::last-buffer
4499 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4501 * docs/gst/running.xml:
4503 * gst/gstdebugutils.c:
4504 * gst/gstdebugutils.h:
4505 * tools/gst-launch.c:
4506 Improve bin graph dumping, by using the envvar to specify a path.
4507 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4509 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4511 * plugins/elements/gsttypefindelement.c:
4512 (gst_type_find_element_handle_event),
4513 (gst_type_find_element_activate):
4514 Post special error message if we can't determine the type of a stream
4517 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4519 * docs/gst/running.xml:
4520 * gst/gstdebugutils.c:
4521 Document new env-var. Add one log-line after dumpng a graph.
4523 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4526 Ugly hack to put the (recently removed and non-portable, apparently)
4527 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4528 GNU ld, because without that 'make check' fails miserably on my debian
4529 stable box. Someone with more knowledge of linker intricacies and
4530 portability issues than me fix this properly please.
4532 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4534 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4535 Reset last seen position after flushing so that we don't report the old
4538 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4540 * gst/gstelementfactory.c: (gst_element_register):
4542 Patch from Alessandro Decina adding get_type_full and
4543 get_protocols_full private vfuncs to the URIHandler interface
4544 to allow bindings to support creating URI handlers.
4545 Partially fixes: #339279
4546 API: GstURIHandlerInterface::get_type_full
4547 API: GstURIHandlerInterface::get_protocols_full
4549 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4551 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4552 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4553 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4554 Make it so that pads are considered linked until a buffer is pushed
4555 and discovered otherwise. This avoids problems with decodebin2 hanging
4556 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4559 Make sure we lock the multiqueue when updating the max-size properties.
4561 Fix a crash on Solaris in a debug statement in get_request_pad that
4562 passes a NULL string to GST_DEBUG.
4564 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4565 (run_output_order_test):
4566 Fix the test to allow the first buffer on not-linked pads to come out
4567 of sequence while multiqueue discovers that they are not-linked.
4569 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4572 * libs/gst/check/Makefile.am:
4573 Use a custom export symbol regex for libgstcheck, as it needs
4574 to export symbols that don't match the standard GStreamer gst_*
4575 pattern, and --export-dynamic is not portable (only works on
4578 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4579 (gst_check_setup_sink_pad):
4580 Make sure to pass a message parameter to the fail_* macros.
4582 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4583 Fix some compiler warnings.
4585 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4587 * tests/check/gst/gststructure.c: (test_to_string):
4588 Disable test that checks that white spaces are not allowed
4589 in structure names or field names, since we need to
4590 support that for now for backwards compatibility reasons.
4592 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4594 * docs/gst/gstreamer-sections.txt:
4597 API: add GST_TAG_ARTIST_SORTNAME
4598 API: add GST_TAG_ALBUM_SORTNAME
4599 API: add GST_TAG_TITLE_SORTNAME
4600 Add tag variants for sorting (#414539).
4602 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4604 * gst/gststructure.c:
4605 Also allow white space for names so we don't break
4606 backwards compatibility.
4608 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4610 * docs/design/part-TODO.txt:
4611 * docs/design/part-segments.txt:
4612 * docs/design/part-streams.txt:
4615 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4617 * docs/gst/gstreamer-sections.txt:
4618 Fixed documentation from my previous commit (added new API add
4619 gst_value_set_structure(), add gst_value_get_structure() and
4620 GST_VALUE_HOLDS_STRUCTURE).
4622 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4624 * gst/gstdebugutils.c:
4625 Reflow code to fix uninitialized variable warning.
4627 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4629 * gst/gstcaps.c: (gst_caps_to_string),
4630 (gst_caps_from_string_inplace):
4631 * gst/gststructure.c: (gst_structure_get_abbrs),
4632 (gst_structure_to_string), (gst_structure_from_string):
4633 * gst/gstvalue.c: (gst_value_set_structure),
4634 (gst_value_get_structure), (gst_value_serialize_structure),
4635 (gst_value_deserialize_structure), (_gst_value_initialize):
4637 * tests/check/gst/gststructure.c: (GST_START_TEST),
4638 (gst_structure_suite):
4639 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4640 Added GstStructure to gst_value_table and its related functions.
4641 Changed gst_structure_to_string to print ';' in the end.
4642 Changed gst_caps_to_string to not print ';' beteween its
4643 fields (structures) anymore and remove the lastes ';' from latest
4644 structure. Now it is possible to have nested structures.
4645 In addition, backward compatibilty is assured by accepting '\0' as
4646 end delimiter. Fixes: #487969.
4647 API: add gst_value_set_structure()
4648 API: add gst_value_get_structure()
4649 API: add GST_VALUE_HOLDS_STRUCTURE
4651 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4654 When no GSource callback has been set up, tell developer
4655 to use a function that actually exists.
4657 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4659 * docs/gst/gstreamer-sections.txt:
4663 * gst/gstdebugutils.c:
4664 * gst/gstdebugutils.h:
4667 * tools/gst-launch.c:
4668 Allow dumping pipelines as dot graphs. Fixes #456573.
4670 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4672 * gst/gststructure.c:
4673 Allow '+' as well, it can be part of media or mime types
4674 such as image/svg+xml.
4676 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4678 * docs/gst/gstreamer-sections.txt:
4681 API: add gst_bus_pop_filtered
4682 API: add gst_bus_timed_pop_filtered
4683 Two new functions for waiting for specific message types on the
4684 bus for a specified amount of time without iterating any main
4685 loops or main contexts.
4687 * tests/check/gst/gstbus.c:
4688 Some tests for the new functions.
4690 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4692 * docs/libs/gstreamer-libs-sections.txt:
4693 Make gtk-doc ignore stuff it should ignore.
4695 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4697 * libs/gst/check/gstcheck.c:
4698 * libs/gst/check/gstcheck.h:
4699 Allow runtime selection of unit tests to run via the GST_CHECKS
4700 environment variable (test case function names, comma-separated).
4702 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4704 * gst/gststructure.c:
4705 * tests/check/gst/gststructure.c:
4706 Revert serialisation change and constrain structure-names after
4707 consensus on irc. Update api documentation to reflect the change.
4709 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4711 * gst/gststructure.c:
4712 Improve serialization and fix tests.
4714 * tests/check/gst/gststructure.c:
4715 Add another test that covers why I actually did the previous structure
4718 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4720 * tools/gst-inspect.c: (print_element_info):
4721 Don't crash when inspecting an element.
4723 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4725 * tests/check/gst/gststructure.c:
4726 Add unit test for escaping of structure name when serialising
4727 and deserialising to/from strings.
4729 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4731 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4732 (gst_single_queue_new):
4733 * plugins/elements/gstqueue.c: (gst_queue_init),
4734 (gst_queue_push_one):
4735 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4736 upstream is tricked into thinking it can suggest a format downstream
4737 while downstream does not support that format. The real problem is that
4738 core calls acceptcaps when pushing a buffer with new caps, for which we
4739 do a little workaround by setting the caps on the srcpad ourselves
4740 before pushing the buffer (until this is figured out). Fixes #486758.
4742 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4744 * gst/gststructure.c:
4746 Add some more comments and debug output. Quote structure name to fix
4747 deserialisation of some strings.
4749 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4752 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4753 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4755 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4757 * tools/gst-inspect.c:
4758 Save approx. 400 1 byte allocs when printing. Use API to acces element
4764 * tools/gst-xmlinspect.c:
4765 Use API to acces element details.
4767 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4770 Fix some spelling errors.
4772 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4774 * gst/gstbin.c: (bin_handle_async_done):
4775 Correctly set the next state if all of our async children commited their
4776 state. This makes sure we can actually cancel the state change in
4777 progress. Fixes a regression in Rhythmbox when seeking.
4779 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4782 Don't shadow local variable.
4785 Don't shadow global function name.
4787 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4789 * gst/gstelementfactory.c:
4790 * gst/gstpluginfeature.c:
4791 * gst/gstpluginfeature.h:
4792 * gst/gstregistrybinary.c:
4793 * gst/gstregistryxml.c:
4794 * gst/gsttypefind.c:
4795 Use already-interned string for the private GstPluginFeature
4798 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4800 * docs/libs/gstreamer-libs-sections.txt:
4801 Add new API to docs; fixes the build.
4803 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4805 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4807 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4808 (gst_base_sink_event):
4809 * libs/gst/base/gstbasesink.h:
4810 Add function to wait for EOS, subclasses can use this to correctly wait
4811 for devices to drain before performing the EOS logic. Fixes #485343.
4812 API: gst_base_sink_wait_eos()
4814 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4817 Cast description string constants in GST_PLUGIN_DEFINE macros
4818 to a (gchar*) to make C++ code using these macros compile
4819 without warning with g++-4.2 (see #462737). Even if slightly
4820 ugly, this seems preferable to putting the description strings
4821 into the GLib quark table or making the structure member a
4822 const gchar * and doing casts in core code that allocs and
4823 frees these strings, or requiring a cast in the C++ code.
4825 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4828 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4829 to print the entire class/function signature into the log
4830 file for C++ code. This only affects C++ code, for C code
4831 everything remains the same.
4833 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4835 * gst/gstbin.c: (remove_from_queue):
4836 Work around a problem with pipelines containing (semi)loops until a
4837 proper, more complicated solution is ready. See #475455.
4839 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4843 * gst/gstregistrybinary.c:
4844 * gst/gstregistryxml.c:
4845 Put more strings into the GLib quark table. No need to keep
4846 a hundred-something copies of identical version strings,
4847 license strings, package name strings and package origin
4850 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4852 * docs/manual/advanced-dataaccess.xml:
4853 Don't imply that it's okay to unconditionally change
4854 buffer data or buffer metadata in a pad probe callback,
4855 and a bunch of other comments. Fixes #430031.
4857 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4859 * win32/common/gstenumtypes.c:
4860 * win32/common/gstenumtypes.h:
4861 * win32/common/gstversion.h:
4862 Update generated files.
4864 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4866 * docs/manual/advanced-autoplugging.xml:
4867 Prefix section with broken code with a warning (see #342432).
4869 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4871 * docs/manual/appendix-integration.xml:
4872 * docs/manual/basics-init.xml:
4873 Call g_thread_init() before g_option_context_new() to
4874 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4876 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4878 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4879 (gst_base_sink_queue_object_unlocked),
4880 (gst_base_sink_queue_object), (gst_base_sink_event),
4881 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4882 When we received EOS and are waiting for when to post the EOS message,
4883 our state is prerolled and we should not return ASYNC.
4884 Reorganize some code paths to implement this behavior.
4886 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4888 Add unit test to verify above EOS fix.
4890 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4892 * plugins/elements/gsttypefindelement.c:
4893 (gst_type_find_element_have_type), (gst_type_find_element_init),
4894 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4895 Move detecting the input caps of the sinkpad to the setcaps function.
4896 This allows us to update the output caps when we receive new input caps
4897 instead of always using the first detected caps.
4899 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4901 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4902 (gst_base_sink_get_position):
4903 Don't try to preroll non-async elements after a flush.
4904 Subtract latency form clock times when reporting position.
4906 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4908 * gst/gstpad.c: (gst_pad_pause_task):
4910 Small comment and documentation update.
4912 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4914 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4915 (gst_base_src_set_live), (gst_base_src_is_live),
4916 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4917 (gst_base_src_default_event), (gst_base_src_wait),
4918 (gst_base_src_do_sync), (gst_base_src_get_range),
4919 (gst_base_src_pad_get_range), (gst_base_src_loop),
4920 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4921 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4922 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4923 (gst_base_src_change_state):
4924 Rework the locking of basesrc in a similar fashion to basesink. We
4925 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4926 us to handle live sources and semi live ones much better.
4928 Fix unlocking when seeking, shutting down and pausing in live sources.
4930 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4932 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4933 Fix compilation again.
4935 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4938 Use meaningful categories for the logs to clean the default one.
4940 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4942 * tests/check/pipelines/cleanup.c:
4943 Print message name and not just number.
4945 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4947 * docs/design/draft-tagreading.txt:
4948 Add some more thoughts.
4950 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4952 * tests/check/pipelines/simple-launch-lines.c:
4953 Print message name and not just number.
4955 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4957 * libs/gst/base/gsttypefindhelper.c:
4958 Speedup typefinding. This is work in progress (see #459862).
4960 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4963 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4964 Spotted by Josep Torra Valles <josep@fluendo.com>.
4966 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4969 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4970 field has moved to GstObject.
4972 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4974 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4975 (gst_base_src_get_range), (gst_base_src_change_state):
4976 Call unlock for live sources so that they can't get stuck in _create and
4977 produce a buffer before they are set back to PLAYING.
4979 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4981 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4982 (gst_queue_locked_dequeue):
4983 Comment the segment-related code... in the PROPER function.
4984 See #482147 and my commit from yesterday.
4986 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4988 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4989 Also initialize the counter that calculates the first timestamp on a
4990 buffer correctly for non-live sources.
4992 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4994 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4995 Disable code that's breaking the current-time-level reporting.
4998 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
5000 * docs/gst/gstreamer-sections.txt:
5001 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5002 as they shouldn't show up. Fixes the docs build.
5004 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
5007 Add an explicit variable importation needed on VS6 (only for MSC_VER)
5008 Define M_PI which is used in files which are including gstinfo.h.
5009 VS6 includes doesn't define it.
5010 * win32/common/libgstbase.def:
5011 * win32/common/libgstcontroller.def:
5012 * win32/common/libgstreamer.def:
5013 Add new exported functions and variables.
5014 * win32/vs6/libgstcontroller.dsp:
5015 * win32/vs6/libgstreamer.dsp:
5016 Update the list of files to build.
5018 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5020 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5022 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5023 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5024 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5025 Improve debugging. Fixes #480858.
5027 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5029 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5031 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5032 First patch of code cleanups, use the macros and right arguments in the
5033 macros to signal and lock the queue. See #480858.
5035 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
5037 * gst/gstbus.c: (poll_func):
5038 Improve debugging when dealing with _poll().
5040 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
5042 * gst/gstregistryxml.c:
5043 Fix memory leak I introduced a few days ago.
5045 2007-09-26 Michael Smith <msmith@fluendo.com>
5047 * gst/gstbuffer.c: (gst_buffer_finalize):
5048 Make it once again possible to free GstBuffers in the default
5050 The poisoning scribbles on parts of the miniobject we need in
5054 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
5056 * docs/gst/gstreamer-sections.txt:
5059 API: add GST_TAG_COMPOSER, fixes #459809.
5061 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
5065 Add the 3-clause BSD license and the MIT/X11 license to the license
5066 list. Fixes #479784.
5068 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
5070 * docs/faq/getting.xml:
5071 Add Q+A about different GStreamer versions (#364056).
5073 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5075 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5076 (gst_base_sink_event), (gst_base_sink_change_state):
5077 Return correct gboolean from query function.
5079 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5081 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5082 (gst_base_sink_event), (gst_base_sink_query),
5083 (gst_base_sink_change_state):
5084 Simplify latency query.
5085 When not synchronizing, we can report latency without querying the peer
5088 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5092 Fix small typos in the docs.
5094 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5096 * docs/design/draft-latency.txt:
5097 * docs/design/draft-push-pull.txt:
5098 * docs/design/draft-tagreading.txt:
5099 * docs/design/part-MT-refcounting.txt:
5100 * docs/design/part-activation.txt:
5101 * docs/design/part-block.txt:
5102 * docs/design/part-element-source.txt:
5103 * docs/design/part-events.txt:
5104 * docs/design/part-gstbin.txt:
5105 * docs/design/part-gstelement.txt:
5106 * docs/design/part-gstobject.txt:
5107 * docs/design/part-gstpipeline.txt:
5108 * docs/design/part-messages.txt:
5109 * docs/design/part-preroll.txt:
5110 * docs/design/part-push-pull.txt:
5111 * docs/design/part-qos.txt:
5112 * docs/design/part-query.txt:
5113 * docs/design/part-scheduling.txt:
5114 * docs/design/part-seeking.txt:
5115 * docs/design/part-segments.txt:
5116 * docs/design/part-states.txt:
5117 Documentation updates and typo fixes.
5119 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
5121 * plugins/elements/gstfakesink.c:
5122 Add some debug text to error message to indicate that
5123 we errored out on request.
5125 * tools/gst-launch.c:
5126 When the state change to PLAYING fails, check for an
5127 error message on the bus and print it.
5129 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5131 translated by: Jorge González González <aloriel@gmail.com>
5135 Added Spanish translation.
5137 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
5139 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5140 Fix printf arguments.
5142 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5144 * tests/check/generic/states.c:
5145 Improved state change unit test.
5147 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5150 Move priv to the right place.
5152 * gst/gstsystemclock.c:
5153 Add FIXME: and improve log.
5155 * tests/check/Makefile.am:
5156 * tests/examples/manual/Makefile.am:
5157 Work with all types of registries.
5159 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5161 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5162 Don't unref the event after pushing it. Fixes #478401.
5164 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5167 * tests/examples/manual/.cvsignore:
5168 Ignore registries in any format.
5170 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5172 * gst/glib-compat-private.h:
5173 Add compatibility macro for g_intern_string() for
5174 GLib-2.8 (any reason we can't just bump the
5175 requirement to at least 2.10?)
5177 * gst/gstpadtemplate.h:
5178 * gst/gstelementfactory.c:
5179 * gst/gstregistryxml.c:
5180 * gst/gstregistrybinary.c:
5181 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5182 up the internal code accordingly. This shouldn't be a problem, since
5183 there is no reason external code could ever assume the string in such
5184 a structure is dynamically allocated unless it did that itself; the
5185 use of g_strdup() is private to element factories. The new code also
5186 saves some memory by putting pad template name strings into the GLib
5187 quark table instead of allocating them dynamically.
5188 Declaring this field constant fixes warnings with g++-4.2 when using
5189 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5191 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5193 * gst/gstelementfactory.c:
5194 Release static caps. Fixes #475723.
5196 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5200 Make some internal API take const gchar * instead of just
5201 gchar * to avoid compiler warnings with g++-4.2.2 when
5202 passing string constants (partially fixes #478092).
5204 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5206 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5207 A latency query fails when one of the sinks fail.
5209 * gst/gstelement.c: (gst_element_set_base_time):
5212 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5214 * gst/gstbin.c: (gst_bin_continue_func):
5215 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5216 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5217 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5219 Fix minor compilation warnings shown with Forte.
5221 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5223 * plugins/elements/gstqueue.c: (apply_buffer),
5224 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5225 Measure queue level based on the diff between head and tail timestamps
5226 even when pushing the first buffer.
5228 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5230 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5231 (gst_base_sink_event), (gst_base_sink_change_state):
5232 Sinks that don't preroll can always be queried for the latency.
5233 Don't post ASYNC start when we are not async.
5235 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5237 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5238 (gst_queue_handle_sink_event), (gst_queue_chain),
5239 (gst_queue_push_one), (gst_queue_handle_src_query),
5240 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5241 * plugins/elements/gstqueue.h:
5242 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5243 push more buffers but allow pushing of EOS and NEWSEGMENT.
5244 Add some more debug info here and there. Fixes #476514.
5246 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5248 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5249 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5250 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5251 (gst_base_sink_set_flushing), (gst_base_sink_query),
5252 (gst_base_sink_change_state):
5253 Latency query is allowed after we are prerolled. Introduce a new flag
5254 for this and stop abusing other variables.
5256 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5258 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5259 Push OOB events downstream when we get them in send_event. This allows
5260 the application to insert events in the pipeline.
5261 Add some more comments.
5263 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5265 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5266 (do_bin_latency), (gst_bin_change_state_func):
5267 * gst/gstpipeline.c: (gst_pipeline_change_state):
5268 Move latency query from GstPipeline to GstBin so that we can also
5269 use it when async-handling is enabled on bins.
5271 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5273 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5274 (gst_base_src_do_sync), (gst_base_src_change_state):
5276 Clean up the timestamping and syncing code for pseudo live sources.
5278 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5280 Patch by: Steve Fink <sphink gmail com>
5282 * docs/manual/appendix-checklist.xml:
5283 Mention less -R switch in the section about debug output (#474055).
5285 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5287 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5288 Queue can latency to the pipeline up to the configured max size in time.
5289 Report this fact in the latency query.
5291 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5293 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5295 * libs/gst/controller/gstinterpolation.c:
5296 * libs/gst/controller/gstlfocontrolsource.c:
5297 Use gst_guint64_to_gdouble() when converting from a uint64 or
5298 GstClockTime to double to fix the build on win32. Fixes #474371.
5300 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5302 * gst/gstbuffer.c: (gst_buffer_finalize):
5303 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5304 When finalizing a buffer the complete struct is filled with 0xff,
5305 thus making a use of the buffer after the final unref impossible.
5307 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5309 * tests/check/libs/controller.c: (GST_START_TEST):
5310 Use fail_unless_equals_int(a, b) instead of
5311 fail_unless_equals (a == b) to get better output on failures.
5313 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5315 * tests/check/gst/gsturi.c:
5316 Also check for the other file URI variant on win32.
5318 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5320 * gst/gsturi.c: (gst_uri_get_location):
5321 If there's no hostname, we want to return 'c:/foo/bar.txt'
5322 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5324 * tests/check/gst/gsturi.c:
5325 Unit test for the above and a few more things.
5327 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5329 * docs/design/part-live-source.txt:
5330 Add docs on how live sources should timestamp.
5332 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5333 Add some more debug info.
5334 For subclasses that are live and like to sync, add aditional startup
5335 latency to sync time and timestamps so that we timstamp according to the
5338 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5341 Also do a g_type_class_ref() for the subbuffer type in
5344 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5346 * docs/gst/gstreamer-sections.txt:
5347 * gst/gstpad.c: (gst_pad_peer_query):
5349 Add function to perform a query on the peer of a pad.
5350 API: gst_pad_peer_query()
5352 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5354 * tests/check/gst/gstsystemclock.c:
5355 Cleanup the test a little (use gst-logging and not g_message). Improve
5356 test to check if a wait reached the target.
5358 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5360 * docs/libs/gstreamer-libs-sections.txt:
5361 Add new API to docs and fix the build.
5363 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5365 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5366 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5367 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5368 (gst_base_src_get_property), (gst_base_src_do_sync):
5369 * libs/gst/base/gstbasesrc.h:
5370 Add property to make the basesrc timestamp buffers based on the current
5372 API: GstBaseSrc::do-timestamp
5373 API: gst_base_src_set_do_timestamp()
5374 API: gst_base_src_get_do_timestamp()
5376 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5378 * docs/random/release:
5379 Really make sure translations are up-to-date before
5380 a release (#465010).
5382 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5384 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5385 Always destroy the timer, also in error cases.
5387 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5389 * docs/manual/highlevel-xml.xml:
5390 Fix XML example code. Fixes #472714.
5392 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5394 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5395 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5396 (gst_base_sink_query):
5397 Protect eos and have_preroll with the OBJECT lock so we don't need to
5398 take the PREROLL lock when querying the latency. Fixes #473846.
5400 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5403 Give some log-messages a category.
5405 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5407 * gst/gststructure.c:
5408 (gst_structure_fixate_field_nearest_fraction):
5409 Fix fraction list fixation code. Take the fraction with the smallest
5410 difference with the target instead of the first one in the list.
5412 * tests/check/gst/gststructure.c: (GST_START_TEST),
5413 (gst_structure_suite):
5414 Added test to verify correct fraction list fixation behaviour.
5416 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5418 * win32/common/libgstreamer.def:
5419 Export gst_bus_add_signal_watch too.
5421 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5423 * docs/libs/gstreamer-libs-sections.txt:
5424 Add new methods to docs.
5426 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5427 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5428 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5429 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5430 * libs/gst/base/gstbasesink.h:
5431 Add ts-offset property to fine-tune the synchronisation.
5432 API: GstBaseSink::ts-offset property
5433 API: gst_base_sink_set_ts_offset()
5434 API: gst_base_sink_get_ts_offset()
5436 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5438 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5439 (gst_base_sink_init), (gst_base_sink_set_sync),
5440 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5441 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5442 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5443 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5444 (gst_base_sink_get_property), (gst_base_sink_change_state):
5445 * libs/gst/base/gstbasesink.h:
5446 Add async property to instruct the sink never to inform the parent about
5447 ASYNC state changes, update docs.
5448 Check argument with g_return_* for the public functions.
5449 API: GstBaseSink::async property
5450 API: gst_base_sink_set_async_enabled()
5451 API: gst_base_sink_is_async_enabled()
5453 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5455 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5458 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5459 (gst_base_src_default_query), (gst_base_src_wait),
5460 (gst_base_src_do_sync), (gst_base_src_change_state):
5461 Rearrange some code so that we can add support for measuring the
5464 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5466 * docs/random/ensonic/dynlink.txt:
5467 More thoughs on this.
5469 * plugins/elements/gstcapsfilter.c:
5470 Add bugzilla ticket number to FIXME comment.
5472 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5474 * docs/design/part-TODO.txt:
5475 * docs/design/part-block.txt:
5478 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5481 Revert patch which uses $(gst_headers) instead of $^ because it
5484 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5486 * tests/check/gst/gstbin.c: (GST_START_TEST):
5487 Fix leaks in the new unit test.
5489 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5492 Don't use GST_INFO before the debug system is actually initialised
5493 (shouldn't do any harm, but won't print anything either, so we can
5494 just as well remove it).
5497 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5498 compilers that don't support variadic macros (such as MSVC), should
5499 check for debug_level <= __gst_debug_min as well, since that's the
5500 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5501 inline helper functions. Should improve performance a bit, but also
5502 makes sure uses of GST_INFO et.al are ignored if the debugging
5503 system isn't initialised yet (instead of printing an assertion
5506 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5508 patch by: David Nečas <yeti@physics.muni.cz>
5511 Replace some non portable makefile constructs.
5513 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5515 * common/gtk-doc-plugins.mak:
5516 Grrrrr. Don't remove the types file on make clean.
5518 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5520 * tools/gst-launch.1.in:
5521 Add colorspace to example pipeline. Fixes #458274.
5523 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5525 * docs/random/release:
5526 The release manager should run 'make download-po' before making a
5527 release to make sure translations are up-to-date.
5533 Add some new translations.
5535 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5537 * tools/gst-launch.c: (event_loop), (main):
5538 Don´t try to do any state management when a live pipeline posts
5540 Also make the buffering string translatable.
5542 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5544 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5545 (bin_handle_async_start), (gst_bin_handle_message_func):
5547 When adding elements, insert messages into the bus of the newly added
5548 element and make sure the element is the source of the message. This
5549 allows the parent bin to intercept the message and do the
5550 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5551 messages to the app (which is not allowed).
5554 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5555 Fix testsuite so that is does not work around messages that should not
5556 have been posted in the first place.
5558 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5560 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5561 (update_degree), (gst_bin_sort_iterator_next):
5562 Fix annoying bug in the sorted iterator where a sink that is not really
5563 a sink (when it has downstream links) screwed up the iterator.
5565 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5566 Unit test to verify the fix.
5568 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5571 Add some more docs for the messages.
5573 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5574 (gst_base_sink_query):
5575 Add some more debugging.
5577 * tools/gst-launch.c: (event_loop):
5578 When interrupting, don't try to set pipeline to PAUSED twice.
5580 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5583 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5584 (bin_handle_async_start), (gst_bin_handle_message_func):
5585 Move ASYNC_START message posting to where it belongs, similar to
5587 Don't post ASYNC_START when we are in error.
5588 Post ASYNC_START when we added an async element to a bin.
5590 2007-08-14 Julien MOUTTE <julien@moutte.net>
5592 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5593 generation from vargs. Fixes #466595.
5595 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5597 * gst/gstbin.c: (gst_bin_element_set_state):
5598 Always change the state of a NO_PREROLL element even if it has ASYNC
5599 elements inside (in case of a bin).
5601 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5602 Unit test for this case.
5604 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5606 * libs/gst/check/gstbufferstraw.c:
5607 * libs/gst/check/gstcheck.h:
5608 * libs/gst/controller/gstcontroller.c:
5609 * libs/gst/controller/gstcontrolsource.h:
5610 * libs/gst/controller/gstlfocontrolsource.h:
5611 * plugins/elements/gstcapsfilter.h:
5612 * plugins/elements/gstfdsink.h:
5613 * plugins/elements/gstfdsrc.h:
5614 Add more missing docs.
5616 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5618 * gst/gststructure.c:
5619 Add Since tag to docs.
5621 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5623 * docs/gst/gstreamer-sections.txt:
5624 * gst/gststructure.c: (gst_structure_get_uint):
5625 * gst/gststructure.h:
5626 Add function to get uint from a structure.
5627 API: gst_structure_get_uint()
5629 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5631 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5632 (gst_caps_intersect):
5633 Fix proper check for simple caps.
5635 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5637 * docs/gst/Makefile.am:
5638 * docs/libs/Makefile.am:
5639 Remove cruft and do some cleanups.
5641 * docs/gst/gstreamer-docs.sgml:
5642 * docs/libs/gstreamer-libs-docs.sgml:
5643 Prepare for comming gtkdoc features (rebase against online docs).
5645 2007-08-10 Michael Smith <msmith@fluendo.com>
5647 * docs/gst/gstreamer-sections.txt:
5648 Add gst_registry_add_path to docs.
5650 2007-08-10 Michael Smith <msmith@fluendo.com>
5652 * gst/gstregistry.h:
5653 Add gst_registry_add_path, which was missing from this header.
5655 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5657 * libs/gst/controller/gstlfocontrolsource.c:
5660 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5662 * libs/gst/base/gstbasesink.c:
5663 Don't send an async_start message during downwards state change if
5664 target state is less than READY
5666 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5668 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5672 Added Hungarian translation.
5674 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5681 Updated translations.
5683 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5685 * libs/gst/controller/Makefile.am:
5686 Dist gstlfocontrolsourceprivate.h
5688 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5690 * docs/libs/gstreamer-libs.types:
5691 Don't register the enum type gst_lfo_waveform_get_type() in the
5692 .types file - only GObject derived types belong.
5694 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5696 Patch by: <arenevier at fdn dot fr>
5699 Remove comma from last element in enum to avoid compile errors when
5700 using -pendantic. Fixes #464366.
5702 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5704 * docs/design/part-TODO.txt:
5705 Add some more TODO items
5707 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5710 * gst/gstcaps.c: (gst_caps_intersect):
5711 Optimize trivial intersection case between identical caps pointers.
5713 * gst/gstelement.c: (gst_element_continue_state),
5714 (gst_element_set_state_func):
5716 Fix spelling and grammar mistakes.
5718 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5722 Update POTFILES. Fixes #461599.
5724 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5727 Fix confusing typo in debug output.
5729 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5731 reviewed by: Stefan Kost <ensonic@users.sf.net>
5733 * libs/gst/controller/Makefile.am:
5734 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5735 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5736 (gst_lfo_control_source_new),
5737 (gst_lfo_control_source_set_waveform),
5738 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5739 (gst_lfo_control_source_finalize),
5740 (gst_lfo_control_source_dispose),
5741 (gst_lfo_control_source_set_property),
5742 (gst_lfo_control_source_get_property),
5743 (gst_lfo_control_source_class_init):
5744 * libs/gst/controller/gstlfocontrolsource.h:
5745 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5746 API: Add GstLFOControlSource, a control source that gives values
5747 for specific timestamps based on several periodic waveforms.
5750 * tests/check/libs/controller.c: (GST_START_TEST),
5751 (gst_controller_suite):
5752 * docs/libs/gstreamer-libs-docs.sgml:
5753 * docs/libs/gstreamer-libs-sections.txt:
5754 * docs/libs/gstreamer-libs.types:
5755 Add documentation and unit tests for GstLFOControlSource.
5757 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5762 === release 0.10.14 ===
5764 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5767 releasing 0.10.14, "Breathing Vacuum"
5769 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5771 * gst/gstelement.c: (gst_element_class_set_details_simple):
5773 Make strings passed to gst_element_class_set_details_simple()
5774 constant, as they should be (#462752).
5776 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5778 * gst/gstbin.c: (gst_bin_change_state_func),
5779 (bin_handle_async_done), (gst_bin_handle_message_func):
5780 Don't forget about the fact that some element went ASYNC even after a
5781 resync. This makes us post the ASYNC_DONE message correctly.
5784 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5786 * gst/gstregistry.c: (gst_registry_add_feature):
5787 When replacing an existing feature in the registry, make sure to
5788 continue holding a reference until we've replaced the name string
5789 within our feature hash table. Make sure to use g_hash_table_replace
5790 instead of g_hash_table_insert to ensure the new name string is used
5791 as a key instead of the old one that we're about to free.
5794 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5796 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5797 (gst_plugin_feature_set_name):
5798 Revert patch from #459466 until after the release and we can work
5799 out exactly what the problem is (if any).
5801 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5803 * docs/gst/gstreamer-sections.txt:
5806 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5808 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5810 * docs/libs/Makefile.am:
5811 Include our build-prefix libs and includes before the generic ones to
5812 avoid linking against the installed libs when we want the build-tree
5815 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5817 Patch by: Steve Fink <sphink gmail com>
5819 * docs/pwg/building-testapp.xml:
5820 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5821 if people try to build or install the example from the plugin
5822 template against a GStreamer from package using the configure
5825 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5827 Patch by: Steve Fink <sphink gmail com>
5829 * tools/gst-inspect.1.in:
5830 Document --print-all and --print-plugin-auto-install-info command
5831 line options in man page.
5833 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5835 * docs/gst/gstreamer-sections.txt:
5836 Add docs for new api function.
5838 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5840 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5841 * gst/gstelementfactory.h:
5842 API: gst_element_factory_has_interface()
5843 Added method to check if an element factory implements a named
5846 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5849 * docs/gst/gstreamer.types.in:
5850 Another conditional doc check.
5853 * gst/gstparamspecs.h:
5854 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5859 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5861 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5862 (gst_registry_binary_load_feature),
5863 (gst_registry_binary_load_plugin),
5864 (gst_registry_binary_read_cache):
5865 Print error just once and with additional info.
5867 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5869 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5870 (helper_find_suggest), (helper_find_get_length),
5871 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5872 (gst_type_find_helper_for_buffer):
5873 Cleanup the typefindhelper code and add private doc comments.
5875 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5877 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5878 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5879 Fix capsfilter for cases where the caps set on capsfilter will provide
5880 additional information.
5883 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5885 * gst/gsttypefindfactory.c:
5886 Fix docs that recommened wrong function to use.
5888 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5890 * tools/gst-inspect.c: (print_plugin_features):
5891 Also give media-type for typefinders in element output.
5893 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5895 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5896 (gst_registry_remove_features_for_plugin_unlocked),
5897 (gst_registry_add_feature), (gst_registry_remove_feature),
5898 (gst_registry_lookup_feature_locked):
5899 * gst/gstregistry.h:
5900 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5903 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5905 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5906 (gst_plugin_feature_set_name):
5907 Avoid double memory usage for pluginfeature names. Fixes #459466.
5909 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5912 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5913 driving the pipeline may need to explicitly check for NOT_LINKED as
5914 well, since IS_FATAL doesn't cover that.
5916 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5918 * docs/pwg/advanced-types.xml:
5919 Fix typo and duplicate entry in video formats list.
5921 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5923 * libs/gst/controller/gstinterpolation.c:
5924 Also round to the nearest int when using cubic interpolation.
5926 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5928 * libs/gst/controller/gstinterpolation.c:
5929 When linearly interpolating integer types, round to the nearest int
5930 by adding 0.5. Don't do it for float/double types.
5931 Fixes the failing controller test on my machine, which is somehow
5932 rounding differently than on the buildbots.
5934 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5936 * tools/gst-plot-timeline.py:
5937 Better log parsing (categories can have -). Adjust text vs. lines, so
5938 that they span the same y-range.
5940 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5942 * docs/random/ensonic/audiobaseclasses.txt:
5943 * docs/random/ensonic/dynlink.txt:
5944 * docs/random/ensonic/profiling.txt:
5947 * docs/random/moving-plugins:
5948 Add note to use g_assert type macros.
5950 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5953 * libs/gst/check/Makefile.am:
5954 Add libm check as we use in for plugins.
5956 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5958 * gst/gstbin.c: (gst_bin_continue_func):
5959 Check that the state_cookie hasn't changed since the continue_func
5960 was scheduled. Avoids problems where the state changes back to
5961 something it shouldn't be because it was changed in the meantime.
5963 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5965 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5966 (gst_registry_binary_save_string),
5967 (gst_registry_binary_save_pad_template),
5968 (gst_registry_binary_save_feature),
5969 (gst_registry_binary_save_plugin),
5970 (gst_registry_binary_load_feature),
5971 (gst_registry_binary_load_plugin),
5972 (gst_registry_binary_read_cache):
5973 Fix memory leak. Be less verbose in the log.
5975 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5977 * tests/check/elements/.cvsignore:
5978 Add file to cvsignore as commanded.
5980 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5982 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5983 (mq_dummypad_event), (run_output_order_test):
5984 Use a GStaticMutex to protect all cases where libcheck
5985 fail_if/fail_unless macros might be called from multiple threads
5986 simultaneously to avoid errors like:
5987 "check_pack.c:107: :-1081725400:Bad message type arg"
5989 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5991 * tests/check/pipelines/stress.c: (GST_START_TEST):
5992 Make sure we set the pipeline back to the NULL state before
5993 dropping our final reference.
5995 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5997 * tests/check/elements/tee.c: (GST_START_TEST):
5998 Make the tee stress-test a little less stressful so it doesn't just
5999 time out on slow-machines, and remove a small race when it's starting
6000 up by adding a get_state() call.
6002 2007-07-16 Stefan Kost <ensonic@users.sf.net>
6005 Avoid reading registry twice on startup. Fixes #457322.
6007 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6009 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6010 * pkgconfig/gstreamer-check.pc.in:
6011 Substitute the CFLAGS for libcheck into our .pc file too so that
6012 dependent modules will pick it up properly if libcheck is installed
6013 into some other prefix.
6015 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6018 Revert the pkg-config check for libcheck, since it pulls in the
6019 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6020 a proper solution, either from the check project, or something else.
6022 2007-07-12 Stefan Kost <ensonic@users.sf.net>
6025 Use pkg-config to locate check.
6027 2007-07-10 Stefan Kost <ensonic@users.sf.net>
6034 Add deprecation guards.
6036 * libs/gst/base/gstcollectpads.h:
6037 Don't document object (this is implicitly private).
6039 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
6041 * gst/gststructure.c: (gst_structure_parse_value):
6042 When deserialising foo=bar without a type cast, check if it's a
6043 boolean before falling back to a string type, otherwise things like
6044 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6045 because the filtercaps end up having a signed=(string)true field,
6046 which causes problems later when intersection caps.
6048 * tests/check/gst/gststructure.c: (GST_START_TEST):
6049 Add a unit test for this.
6051 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
6053 Reviewed by: Stefan Kost <ensonic@users.sf.net>
6055 * libs/gst/controller/Makefile.am:
6056 * libs/gst/controller/gstcontroller.c:
6057 (gst_controlled_property_add_interpolation_control_source),
6058 (gst_controlled_property_new), (gst_controlled_property_free),
6059 (gst_controller_find_controlled_property),
6060 (gst_controller_new_valist), (gst_controller_new_list),
6061 (gst_controller_new), (gst_controller_remove_properties_valist),
6062 (gst_controller_remove_properties_list),
6063 (gst_controller_remove_properties),
6064 (gst_controller_set_property_disabled),
6065 (gst_controller_set_disabled), (gst_controller_set_control_source),
6066 (gst_controller_get_control_source), (gst_controller_get),
6067 (gst_controller_sync_values), (gst_controller_get_value_array),
6068 (_gst_controller_dispose), (gst_controller_get_type),
6069 (gst_controlled_property_set_interpolation_mode),
6070 (gst_controller_set), (gst_controller_set_from_list),
6071 (gst_controller_unset), (gst_controller_unset_all),
6072 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6073 * libs/gst/controller/gstcontroller.h:
6074 * libs/gst/controller/gstcontrollerprivate.h:
6075 * libs/gst/controller/gstcontrolsource.c:
6076 (gst_control_source_class_init), (gst_control_source_init),
6077 (gst_control_source_get_value),
6078 (gst_control_source_get_value_array), (gst_control_source_bind):
6079 * libs/gst/controller/gstcontrolsource.h:
6080 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6081 (gst_object_get_control_source):
6082 * libs/gst/controller/gstinterpolation.c:
6083 (gst_interpolation_control_source_find_control_point_node),
6084 (gst_interpolation_control_source_get_first_value),
6085 (_interpolate_none_get), (interpolate_none_get),
6086 (interpolate_none_get_boolean_value_array),
6087 (interpolate_none_get_enum_value_array),
6088 (interpolate_none_get_string_value_array),
6089 (_interpolate_trigger_get), (interpolate_trigger_get),
6090 (interpolate_trigger_get_boolean_value_array),
6091 (interpolate_trigger_get_enum_value_array),
6092 (interpolate_trigger_get_string_value_array):
6093 * libs/gst/controller/gstinterpolationcontrolsource.c:
6094 (gst_control_point_free), (gst_interpolation_control_source_reset),
6095 (gst_interpolation_control_source_new),
6096 (gst_interpolation_control_source_set_interpolation_mode),
6097 (gst_interpolation_control_source_bind),
6098 (gst_control_point_compare), (gst_control_point_find),
6099 (gst_interpolation_control_source_set_internal),
6100 (gst_interpolation_control_source_set),
6101 (gst_interpolation_control_source_set_from_list),
6102 (gst_interpolation_control_source_unset),
6103 (gst_interpolation_control_source_unset_all),
6104 (gst_interpolation_control_source_get_all),
6105 (gst_interpolation_control_source_get_count),
6106 (gst_interpolation_control_source_init),
6107 (gst_interpolation_control_source_finalize),
6108 (gst_interpolation_control_source_dispose),
6109 (gst_interpolation_control_source_class_init):
6110 * libs/gst/controller/gstinterpolationcontrolsource.h:
6111 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6112 API: Refactor GstController into the core controller which can take
6113 a GstControlSource for providing actual values for timestamps.
6114 Implement a interpolation control source and use this for backward
6115 compatibility, deprecate a bunch of functions that are now handled
6116 by GstControlSource or GstInterpolationControlSource.
6117 Make it possible to disable the controller completely or only for
6118 specific properties. Fixes #450711.
6119 * docs/libs/gstreamer-libs-docs.sgml:
6120 * docs/libs/gstreamer-libs-sections.txt:
6121 * docs/libs/gstreamer-libs.types:
6122 Add new functions and classes to the docs.
6123 * tests/check/libs/controller.c: (GST_START_TEST),
6124 (gst_controller_suite):
6125 * tests/examples/controller/audio-example.c: (main):
6126 Port unit test and example to the new API and add some new
6129 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
6131 Patch by: Mark Nauwelaerts <manauw at skynet be>
6133 * plugins/elements/gstmultiqueue.c:
6134 (gst_multi_queue_get_internal_links), (apply_buffer),
6135 (single_queue_overrun_cb), (gst_single_queue_new):
6136 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6137 the pipeline layout can be tracked correctly. Fixes #453732.
6139 2007-07-05 Stefan Kost <ensonic@users.sf.net>
6141 * docs/gst/Makefile.am:
6142 * docs/libs/Makefile.am:
6143 * docs/plugins/Makefile.am:
6144 Simplify --extra-dir as gtkdoc scans recursively.
6146 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6148 * tools/gst-launch.c: (main):
6149 When we got an error, there is no point in waiting for preroll when
6152 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6154 * plugins/elements/gsttee.c: (gst_tee_base_init),
6155 (gst_tee_request_new_pad), (gst_tee_release_pad),
6156 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6157 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6159 Be a lot smarter when deciding what srcpad to use for proxying
6160 the buffer_alloc. Also handle pad added/removed when doing so.
6162 Keep track of what pads we already pushed on in case we have pads
6163 added/removed while pushing. Fixes #374639
6165 * tests/check/Makefile.am:
6166 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6168 Added unit test for pad resync.
6170 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6174 Updated translations.
6176 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6178 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6182 Added new Finnish translation.
6184 2007-06-28 Wim Taymans <wim@fluendo.com>
6186 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6187 (single_queue_overrun_cb):
6188 When figuring out when a queue is filled, use our internal time estimate
6189 based on segments, just like check_full does.
6191 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6193 * gst/gstminiobject.c: (gst_mini_object_get_type):
6194 Remove 3 do-nothing methods.
6196 2007-06-27 Wim Taymans <wim@fluendo.com>
6198 Patch by: Tim Angus <tim at ngus dot net>
6200 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6201 (gst_capsfilter_set_property):
6202 Take a reference instead of a copy when setting "caps".
6203 Fix documentation to clarify this behaviour. Fixes #449414.
6205 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6207 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6208 * gst/gstplugin.c: (gst_plugin_init):
6209 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6210 * gst/gstquery.c: (gst_query_get_type):
6211 * gst/gstregistry.c: (gst_registry_init):
6212 * gst/gsturi.c: (gst_uri_handler_base_init):
6213 Remove empty instance_init() functions to save relocs and lessen the
6214 noise. Remove some of the function prototypes that are doubled by
6217 2007-06-27 Wim Taymans <wim@fluendo.com>
6219 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6221 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6222 Add peer and direction in the XML serialisation of ghostpads.
6225 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6228 Preserve useful information, thanks Tim.
6230 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6232 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6233 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6234 (gst_single_queue_push_one), (gst_multi_queue_loop),
6235 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6236 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6237 (compute_high_id), (gst_single_queue_new):
6238 * plugins/elements/gstmultiqueue.h:
6239 Take the multiqueue lock when updating the fill level so we don't get
6242 After applying a buffer or event on the src pad segment, make sure to
6243 call gst_data_queue_limits_changed() to get the data queue to unblock
6244 and check the filled state again.
6246 Rework the not-linked pad handling so the logic is that not-linked
6247 pads can push as fast as they like, but only so they never get
6248 ahead of any linked pads.
6250 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6251 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6252 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6254 Add a test to check that not-linked pads always stay behind
6259 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6261 * docs/random/release:
6262 Some updates to the release procedure.
6264 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6266 * gst/gstelementfactory.c: (__gst_element_details_clear):
6267 Microoptimization that saves stunning 80 bytes.
6269 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6271 * docs/plugins/gstreamer-plugins.args:
6272 * docs/plugins/inspect/plugin-coreelements.xml:
6273 * docs/plugins/inspect/plugin-coreindexers.xml:
6274 Update docs with caps info.
6276 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6279 Updated Italian translation.
6281 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6285 Update Vietnamese translations.
6287 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6289 * libs/gst/base/gstbasesink.c:
6290 Remove unused signal enum.
6292 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6294 * docs/gst/gstreamer-sections.txt:
6296 * gst/gstutils.c: (gst_type_register_static_full):
6297 Beef up and include the docs for gst_type_register_static_full and
6298 gst_element_class_set_details_simple and add the API keyword
6301 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6303 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6304 (update_time_level), (gst_single_queue_push_one),
6305 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6306 (single_queue_overrun_cb), (single_queue_underrun_cb),
6307 (single_queue_check_full):
6308 Fix setting max-* properties after adding queues.
6309 Use IS_FILLED for checking visible items.
6310 Signal overrun if multiple queues overrun.
6311 Add extra debug output.
6312 Patch by: Wim Taymans <wim@fluendo.com>
6314 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6316 * gst/gstelement.c: (gst_element_class_set_details_simple):
6318 * gst/gstutils.c: (gst_type_register_static_full):
6320 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6321 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6322 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6323 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6324 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6325 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6326 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6327 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6328 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6329 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6330 (apply_buffer), (gst_queue_chain):
6331 * plugins/elements/gsttee.c: (gst_tee_base_init):
6332 * plugins/elements/gsttypefindelement.c:
6333 (gst_type_find_element_base_init),
6334 (gst_type_find_element_class_init):
6335 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6336 API: add gst_type_register_static_full
6337 API: add gst_element_class_set_details_simple
6339 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6341 * docs/pwg/advanced-types.xml:
6342 Fix typo in iana.org URI.
6344 2007-06-19 Andy Wingo <wingo@pobox.com>
6346 * tests/check/pipelines/simple-launch-lines.c
6347 (test_state_change_returns): Enable pull-mode tests now that
6348 basesink has been fixed.
6350 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6351 Changed from gst_base_sink_is_prerolled, reversing the sense of
6352 the return value. Returns FALSE also if the sink is in pull mode,
6353 in which case it needs no preroll.
6354 (gst_base_sink_query, gst_base_sink_change_state): Update for
6355 needs_preroll change.
6356 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6357 chaining up, in which we return SUCCESS directly if we activated
6358 in pull mode instead of ASYNC. Involves countering an async_start
6359 message sent before chaining up; not sure if this is correct, in
6360 an ideal world we only send async-start when activating in push
6363 * tests/check/pipelines/simple-launch-lines.c
6364 (test_state_change_returns): New test, partially disabled until
6367 2007-06-19 Wim Taymans <wim@fluendo.com>
6369 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6370 (gst_multi_queue_sink_event):
6373 2007-06-19 Wim Taymans <wim@fluendo.com>
6375 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6376 (gst_bin_change_state_func), (bin_push_state_continue),
6377 (bin_handle_async_start), (bin_handle_async_done),
6378 (gst_bin_handle_message_func):
6379 Move the common code for posting state-change messages into
6381 Broadcast the state signal after we posted the messages.
6382 Mark the bin as busy when it's doing a state-change.
6383 Make sure async-start/done messages don't interfere with the bin's
6384 state when it's busy.
6385 After the state change, let the bin check which elements completed the
6386 state change while it was busy so that it can update its state.
6388 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6390 * docs/random/release:
6391 Add a note about updating the doap file to the release checklist
6393 2007-06-18 Wim Taymans <wim@fluendo.com>
6395 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6396 (gst_single_queue_push_one), (gst_multi_queue_chain),
6397 (gst_multi_queue_sink_event):
6398 Make sure we don't reference the buffer/event after we have given away
6399 ownership in the queue.
6401 2007-06-18 Wim Taymans <wim@fluendo.com>
6403 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6404 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6405 Update queue state _after_ adding the item in the queue because else we
6406 could end up being full without the element added yet.
6408 2007-06-18 Wim Taymans <wim@fluendo.com>
6410 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6411 (gst_bin_remove_func), (gst_bin_get_state_func),
6412 (gst_bin_element_set_state), (gst_bin_continue_func),
6413 (bin_push_state_continue), (bin_handle_async_start),
6414 (bin_handle_async_done), (gst_bin_handle_message_func):
6416 Immediatly commit the toplevel bin state when receiving an async-done
6417 message. This enables us to avoid spawning a thread to commit the state
6418 in some common cases and it also avoids some races.
6419 Avoid spawning a state thread when adding/removing async elements to a
6420 toplevel bin. Instead we immediatly update the bin state.
6421 Get rid of iterating all the children when getting the state in the bin
6422 because it is now always up-to-date.
6423 Fix bug where locked elements would always return _SUCCESS even it they
6424 returned NO_PREROLL before being locked.
6425 Fix the order of the state_change, async-start/done messages that was
6426 sometimes incorrect.
6427 Mark the state_dirty field as deprecated, we don't need it anymore as we
6428 are always up-to-date.
6430 * gst/gstelement.c: (gst_element_get_state_func),
6431 (gst_element_continue_state):
6432 Small debug inprovements.
6433 Return the previous element state return when nothing is pending instead
6434 of blindly returning SUCCESS.
6436 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6438 Add a whole bunch of new testcases.
6440 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6444 Update translations.
6446 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6449 Fix typo in the docs.
6451 2007-06-15 Wim Taymans <wim@fluendo.com>
6453 * docs/libs/gstreamer-libs-sections.txt:
6454 Add docs for new methods.
6456 2007-06-15 Wim Taymans <wim@fluendo.com>
6458 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6459 (gst_multi_queue_item_new):
6460 Don't use GSlice because we don't depend on >= 2.10 yet.
6462 2007-06-15 Wim Taymans <wim@fluendo.com>
6464 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6465 (update_time_level), (apply_segment), (apply_buffer),
6466 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6467 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6468 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6469 (single_queue_underrun_cb), (single_queue_check_full):
6470 Remove debug printf.
6472 2007-06-15 Wim Taymans <wim@fluendo.com>
6474 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6475 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6476 (gst_data_queue_set_flushing), (gst_data_queue_push),
6477 (gst_data_queue_pop), (gst_data_queue_drop_head),
6478 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6479 * libs/gst/base/gstdataqueue.h:
6481 Added methods to get the current levels and to inform the queue that the
6482 'full' limits changed.
6484 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6485 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6486 (gst_single_queue_flush), (update_time_level), (apply_segment),
6487 (apply_buffer), (gst_single_queue_push_one),
6488 (gst_multi_queue_item_steal_object),
6489 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6490 (gst_multi_queue_loop), (gst_multi_queue_chain),
6491 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6492 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6493 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6494 (single_queue_underrun_cb), (single_queue_check_full),
6495 (gst_single_queue_new):
6496 Keep track of time in the queue by measuring the difference between
6497 running_time on input and output. This gives more accurate results and
6498 can compensate for segments correctly.
6499 Make a queue by default only 5 buffers deep. We will now increase the
6500 buffer size depending on the filledness of the other queues.
6501 Factor out commong flush code.
6502 Make sure we don't add additional refcounts to buffers when we can avoid
6504 Propagate GstFlowReturn differently.
6505 Use GSlice for intermediate GstMultiQueueItems.
6507 Resize queues on over and underruns based on filled level of other
6509 When checking if the queue is filled, prefer to measure in time if we
6510 can and fall back to bytes when no time is known.
6512 * plugins/elements/gstqueue.c:
6515 2007-06-15 Wim Taymans <wim@fluendo.com>
6517 * libs/gst/base/gstbasetransform.c:
6518 (gst_base_transform_sink_event):
6519 Work around the brokenness of the event vmethod in basetransform. Prefer
6520 to return TRUE when the subclass returned FALSE (meaning don't forward
6523 * libs/gst/base/gstbasetransform.h:
6526 2007-06-15 Wim Taymans <wim@fluendo.com>
6528 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6529 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6530 (gst_base_src_default_query), (gst_base_src_get_range),
6531 (gst_base_src_start):
6532 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6535 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6537 * docs/pwg/advanced-types.xml:
6538 Added more formats to caps table.
6540 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6542 * tools/gst-launch.c: (main):
6543 Remove crufy code. GOption does not need this workaround.
6545 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6547 * libs/gst/controller/gstcontroller.c:
6548 (gst_controlled_property_set_interpolation_mode):
6549 Fix wrong getter for enums in controller.
6551 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6553 * libs/gst/check/gstcheck.c: (gst_check_init):
6554 Intercept criticals and warnings in the Gst-Phonon log domain, so
6555 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6558 2007-06-14 Edward Hervey <edward@fluendo.com>
6560 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6561 Since this file doesn't include "gst.h" it will not go through the
6562 macros that disable GST_LOG if debugging was disabled.
6564 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6566 * libs/gst/check/Makefile.am:
6567 * libs/gst/check/gstcheck.h:
6568 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6569 * pkgconfig/gstreamer-check.pc.in:
6570 Ugly 'fix' for the controller unit test on the p5 bot: in
6571 fail_unless_equals_float() check whether the values are 'almost
6572 equal' by allowing a small absolute error, which should be good
6573 enough for our use cases (normal numbers and values close to 0).
6574 Proper fixage left to floating point arithmetic aficionados.
6576 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6578 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6579 (gst_base_sink_render_object), (gst_base_sink_get_position):
6580 Add two breaks thats where missing.
6582 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6584 * docs/libs/gstreamer-libs-sections.txt:
6585 * libs/gst/check/gstcheck.h:
6586 API: add fail_unless_equals_float() and assert_equals_float().
6587 Add documentation for some of the macros.
6589 * tests/check/libs/controller.c: (GST_START_TEST):
6590 Use newly-added asserts.
6592 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6594 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6595 Show the caps change in the log to help spotting the case of not
6596 exactly matching caps.
6598 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6600 * docs/pwg/building-boiler.xml:
6601 Fix typos, spotted by Thijs Vermeir (#447190).
6603 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6605 * docs/plugins/tmpl/.cvsignore:
6606 Ignore file to keep the buildbots happy
6608 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6610 * docs/plugins/Makefile.am:
6611 * docs/plugins/gstreamer-plugins-docs.sgml:
6612 * docs/plugins/gstreamer-plugins-sections.txt:
6613 Pull fdsink into the docs too.
6615 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6617 * libs/gst/controller/gstinterpolation.c:
6618 Actually use the new functions with min/max checks for the trigger and
6619 none interpolation modes for get() and get_value_array() instead of
6622 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6624 * libs/gst/controller/gstcontroller.c:
6625 (gst_controlled_property_free):
6626 Unset the minimum and maximum GValues when freeing the corresponding
6627 GstControllerProperty struct.
6629 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6631 * libs/gst/controller/gstcontroller.c:
6632 (gst_controlled_property_new):
6633 * libs/gst/controller/gstcontrollerprivate.h:
6634 * libs/gst/controller/gstinterpolation.c:
6635 (gst_controlled_property_find_control_point_node),
6636 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6637 (interpolate_none_get_string_value_array),
6638 (interpolate_trigger_get),
6639 (interpolate_trigger_get_enum_value_array),
6640 (interpolate_trigger_get_string_value_array):
6641 Protect against values larger or smaller than the minimum or maximum
6642 allowed value for the property when using values that can be compared.
6644 Optimize trigger interpolator a bit by taking the last requested value
6645 into account instead of always looping through the complete list.
6647 Fix coding style a bit, everywhere else we use "return foo" instead
6650 * tests/check/libs/controller.c: (GST_START_TEST),
6651 (gst_controller_suite):
6652 Add unit test for the protection against too large or too small
6655 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6657 * docs/random/slomo/controller.txt:
6658 Add some thoughts about the future of the controller.
6660 2007-06-08 Wim Taymans <wim@fluendo.com>
6662 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6663 Don't overflow in retimestamping code.
6665 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6667 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6668 Use gst_util_guint64_to_gdouble for conversions.
6669 * win32/common/libgstreamer.def:
6670 Add new exported functions.
6672 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6675 Small docs addition.
6677 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6680 Remove that test line again.
6682 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6685 Test commit mail sending.
6687 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6690 Fix typo and test commit mail sending.
6692 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6694 * tests/examples/controller/audio-example.c:
6695 Improve comment and test commit mail sending.
6697 2007-06-07 Wim Taymans <wim@fluendo.com>
6699 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6700 (gst_bin_remove_func), (gst_bin_element_set_state),
6701 (bin_handle_async_start), (bin_handle_async_done),
6702 (gst_bin_handle_message_func):
6703 Add helper function to find messages.
6704 Generate the async-done messages together with the state change
6706 Small cleanups in handling toplevel bins.
6708 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6710 * libs/gst/base/gstdataqueue.c:
6711 * libs/gst/base/gstdataqueue.h:
6712 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6713 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6714 (gst_multi_queue_sink_event):
6715 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6716 Fix multiqueue leaking buffers and events when downstream or the
6717 queue are flushing. Make refcounting assumptions explicit and
6718 document them (shouldn't break existing code that uses it other than
6719 maybe leak miniobjects, but that already happens anyway). Add unit
6720 test for the most common flushing case. Fixes #423700.
6722 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6724 * libs/gst/controller/gstcontroller.c:
6725 Clarify docs: The get_all, get_value_array(s) functions
6726 don't modify the GObject properties.
6728 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6730 * libs/gst/controller/gstcontroller.c:
6731 (gst_controlled_property_set_interpolation_mode),
6732 (gst_controlled_property_prepend_default),
6733 (gst_controlled_property_new), (gst_controller_set_unlocked),
6734 (gst_controller_set), (gst_controller_set_from_list),
6735 (gst_controller_unset), (gst_controller_unset_all):
6736 * libs/gst/controller/gstcontrollerprivate.h:
6737 * libs/gst/controller/gstinterpolation.c:
6738 Factor out the 'set' logic into gst_controller_set_unlocked for the
6739 gst_controller_set and gst_controller_set_from_list functions.
6741 To make life of the interpolators easier always add a control point
6742 at timestamp zero with the default value.
6744 In the linear interpolator make things more obvious by better variable
6747 Implement cubic interpolation mode (by using a natural cubic spline)
6748 and map the quadratic interpolation mode to this too (as quadratic
6749 doesn't make much sense, see discussion on the list).
6751 * tests/check/libs/controller.c: (GST_START_TEST),
6752 (gst_controller_suite):
6753 Add unit test for the cubic interpolation mode and check everywhere
6754 if the interpolation mode could be set as expected.
6756 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6758 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6759 Don't use GLib-2.10 functions, we still depend on
6760 GLib-how-old-is-it-again-2.8.
6762 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6764 * docs/gst/gstreamer-sections.txt:
6768 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6769 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6770 (_gst_param_fraction_values_cmp),
6771 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6772 * gst/gstparamspecs.h:
6774 * tests/check/Makefile.am:
6775 * tests/check/gst/.cvsignore:
6776 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6777 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6778 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6779 (GST_START_TEST), (gst_param_spec_suite):
6780 API: add GstParamSpecFraction, so elements can have fraction
6781 properties without lots of painful string parsing (#444648).
6783 2007-06-05 Wim Taymans <wim@fluendo.com>
6785 * gst/gstobject.c: (gst_object_class_init):
6786 Fix signal signature.
6789 Add small clarification in the api docs.
6791 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6792 States are protected with object lock.
6794 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6797 I should probably be listed as an author by now.
6799 * docs/random/release:
6800 Update the release doc
6802 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6805 Make docs for gst_value_compare() mention return enums that
6808 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6813 === release 0.10.13 ===
6815 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6818 releasing 0.10.13, "With or without you"
6820 2007-05-25 Wim Taymans <wim@fluendo.com>
6822 * gst/gstbin.c: (bin_handle_async_done):
6823 Make sure that the child bin stops after completing the async state
6824 change so that the parent can continue the state change to PLAYING.
6827 2007-05-25 Wim Taymans <wim@fluendo.com>
6829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6830 (unref_data), (gst_collect_pads_remove_pad),
6831 (gst_collect_pads_check_pads):
6832 Use additional refcounting to avoid crashes when dynamically adding and
6833 removing pads. Fixes #420206.
6835 2007-05-24 Wim Taymans <wim@fluendo.com>
6837 * tools/gst-launch.c: (event_loop):
6838 When buffering goes from a two digit to a single digit number, make sure
6839 to remove the old second digit by writing a blank over it.
6841 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6843 * libs/gst/base/gstdataqueue.c:
6844 Eliminate tabs and trailing comma in enum list; fix some typos.
6846 2007-05-24 Wim Taymans <wim@fluendo.com>
6848 * tests/check/gst/gstbin.c: (GST_START_TEST):
6849 Allow refcount of 3 and 4 because some state thread might still be busy
6852 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6854 * plugins/elements/Makefile.am:
6855 * plugins/elements/gstmultiqueue.h:
6856 * plugins/elements/gstqueue.h:
6857 These are not installed headers, no need for padding.
6859 2007-05-24 Wim Taymans <wim@fluendo.com>
6861 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6862 (gst_bin_continue_func):
6863 Enable latency for next release.
6864 Restore STATE_LOCK around recalc_state that was left out during the
6865 rewrite and could result in racy behaviour when _get_state and
6866 recalc_state are run concurrently. See #440463.
6868 2007-05-23 Wim Taymans <wim@fluendo.com>
6870 * tests/check/gst/gstsystemclock.c: (store_callback),
6872 Improve test_async_order to also work when both timers are already
6873 expired when we get scheduled to check it.
6875 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6877 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6878 (gst_bin_set_property), (gst_bin_get_property),
6879 (gst_bin_remove_func), (gst_bin_handle_message_func):
6881 'private' is a c++ keyword, let's not use that in header files,
6882 otherwise c++ compilers will throw a tantrum.
6884 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6886 * plugins/elements/gstelements.c:
6887 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6888 (gst_file_sink_get_current_offset):
6889 * plugins/indexers/gstindexers.c: (plugin_init):
6890 Use #ifdef for HAVE_XYZ for consistency.
6892 * tests/check/Makefile.am:
6893 * tests/check/elements/.cvsignore:
6894 * tests/check/elements/filesink.c: (setup_filesink),
6895 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6896 Add some unit tests for filesink.
6898 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6900 Patch by: Mark Nauwelaerts <manauw at skynet be>
6902 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6903 (gst_file_sink_query), (gst_file_sink_do_seek),
6904 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6905 * plugins/elements/gstfilesink.h:
6906 Fix position reporting; rename data_written member to current_pos to
6907 reflect its real meaning (fixes #412648).
6909 2007-05-22 Edward Hervey <edward@fluendo.com>
6911 * docs/gst/gstreamer-sections.txt:
6912 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6913 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6914 (gst_bin_remove_func), (gst_bin_handle_message_func):
6916 Add a property for bins that handle the state change of their childs.
6919 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6921 * libs/gst/controller/gstinterpolation.c:
6922 Use an array of the correct type when using _get_value_array with
6923 linear interpolation.
6925 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6927 * gst/gstelement.c (gst_element_requires_clock,
6928 gst_element_provides_clock, gst_element_request_pad,
6929 gst_element_class_set_details, gst_element_class_set_details_simple,
6930 gst_element_default_send_event, gst_element_abort_state,
6931 gst_element_continue_state, gst_element_set_state,
6932 gst_element_set_state_func, iterator_activate_fold_with_resync):
6933 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6934 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6935 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6936 gst_pad_get_range, gst_pad_pull_range):
6937 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6938 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6939 GstPadActivateModeFunction, GstPadChainFunction,
6940 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6941 GstPadFixateCapsFunction, GstPadTemplate):
6942 * gst/gstpipeline.c (gst_pipeline_change_state,
6943 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6944 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6945 gst_pipeline_get_delay):
6946 Whitespace and docs fixes.
6948 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6950 * libs/gst/controller/gstinterpolation.c:
6951 (interpolate_trigger_get_enum_value_array),
6952 (interpolate_trigger_get_string_value_array):
6953 Add support for retrieving value arrays when using the trigger
6956 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6958 * libs/gst/controller/gstcontroller.c:
6959 (gst_controller_get_value_array):
6960 * libs/gst/controller/gstcontroller.h:
6961 Clarify the docs of gst_controller_get_value_array(): The array where
6962 the values should be written to must be allocated as there seems to be
6963 no way to get the size of a random GType. This doesn't change any
6964 behaviour. Also fix some typos all over the place and remove an unused,
6965 commented function that is not necessary as g_object_set() could be
6967 * tests/check/libs/controller.c: (GST_START_TEST),
6968 (gst_controller_suite):
6969 Add unit test for gst_controller_get_value_array().
6971 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6973 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6975 Disable part of the gst_buffer_try_new_and_alloc test, because
6976 it can happily succeed on 64-bit systems where there's more address
6979 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6981 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6982 Add unit test for the improved caps checking from bug #421543.
6984 2007-05-21 Wim Taymans <wim@fluendo.com>
6986 * docs/design/part-synchronisation.txt:
6989 * gst/gstbin.c: (gst_bin_query):
6990 * plugins/elements/gstqueue.c: (apply_segment):
6996 2007-05-21 Wim Taymans <wim@fluendo.com>
6998 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6999 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7000 (gst_pad_configure_src):
7001 Added simple version of improved caps checking. It was previously
7002 assumed that a setcaps function would check the validity of the caps but
7003 people prefer us to check caps against the template automatically.
7006 2007-05-21 Wim Taymans <wim@fluendo.com>
7008 * libs/gst/base/gstbasetransform.h:
7009 Fix macro for locking/unlocking the transform lock.
7011 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
7013 * docs/plugins/tmpl/.cvsignore:
7016 2007-05-18 Edward Hervey <edward@fluendo.com>
7018 * plugins/elements/gstqueue.c: (gst_queue_loop):
7019 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7020 for the subtle art of warning a potentially blocking thread that it
7021 should check the source pad return value, and relay the information
7024 2007-05-18 Edward Hervey <edward@fluendo.com>
7026 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7027 Release the queue lock !
7029 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7031 * docs/libs/gstreamer-libs-sections.txt:
7032 Add the two new controller functions to the appropiate places.
7034 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7036 reviewed by: Stefan Kost <ensonic@users.sf.net>
7038 * libs/gst/controller/gstcontroller.c:
7039 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7040 (_gst_controller_get_property), (_gst_controller_set_property),
7041 (_gst_controller_init), (_gst_controller_class_init):
7042 * libs/gst/controller/gstcontroller.h:
7043 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7044 (gst_object_get_control_rate), (gst_object_set_control_rate):
7045 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7046 Add API that provides sync suggestion timestamps for elements that
7047 call gst_object_sync_values() from which those elements can subdivide
7048 their processing loop to get the best results for the controlled
7049 properties. For now it just suggests last_sync + control_rate as
7050 new timestamp but this will be improved in the future.
7052 While doing that change the control-rate property to a GstClockTime
7053 from guint and change it's meaning from samples to nanoseconds as
7054 the GstController doesn't know anything about sampling rate. Strictly
7055 speaking this breaks ABI but as the control-rate property didn't do
7056 anything in the past and as such couldn't be used this should be no
7059 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7061 reviewed by: Stefan Kost <ensonic@users.sf.net>
7063 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7064 (gst_controller_unset_all):
7065 * libs/gst/controller/gstcontrollerprivate.h:
7066 * libs/gst/controller/gstinterpolation.c:
7067 (gst_controlled_property_find_control_point_node):
7068 Save last synced value from the list to continue searching from there
7069 in future syncs. This speeds everything up a bit.
7071 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7073 reviewed by: Stefan Kost <ensonic@users.sf.net>
7075 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7076 (gst_control_point_find), (gst_controlled_property_new),
7077 (gst_control_point_free), (gst_controlled_property_free),
7078 (gst_controller_set), (gst_controller_set_from_list),
7079 (gst_controller_unset), (gst_controller_unset_all),
7080 (gst_controller_sync_values):
7081 * libs/gst/controller/gstcontroller.h:
7082 * libs/gst/controller/gstcontrollerprivate.h:
7083 * libs/gst/controller/gstinterpolation.c:
7084 (gst_controlled_property_find_control_point_node),
7085 (interpolate_none_get), (interpolate_trigger_get):
7086 Add a new private GstControlPoint struct which "inherits" from
7087 GstTimedValue to allow different interpolators to store internal
7088 values next to each control point. From the outside everything is
7089 still a GstControlPoint so we don't loose binary compatibility.
7090 Also fixup all the GValue handling to not leak GValues or list nodes.
7091 * tests/check/libs/controller.c: (GST_START_TEST):
7092 Free the list nodes and GValues in the controller_misc test.
7094 2007-05-17 Edward Hervey <edward@fluendo.com>
7099 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
7101 * gst/gstplugin.c: (gst_plugin_load_file):
7102 If we fail to load a plugin because of unresolved symbols or missing
7103 libraries and spew a warning to stderr, we may just as well mention
7104 which plugin it was that failed to load.
7106 2007-05-13 David Schleef <ds@schleef.org>
7108 * docs/Makefile.am: the gtk-doc makefile snippet correctly
7109 handles the case when ENABLE_GTK_DOC is false, and installs
7110 the prebuilt documentation. So gtk-doc subdirs are
7111 unconditionally enabled. Fixes: #349099.
7113 2007-05-13 David Schleef <ds@schleef.org>
7115 * gst/gstutils.h: Reword some documentation.
7117 2007-05-12 David Schleef <ds@schleef.org>
7119 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7120 do anything with the passed "module" parameter, so remove it.
7121 Allows removal of additional vestigal code.
7123 2007-05-12 David Schleef <ds@schleef.org>
7126 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7127 Switch to using g_stat() because it's more portable.
7129 2007-05-12 David Schleef <ds@schleef.org>
7132 Add GST_DISABLE_OPTION_PARSING, in order to disable option
7133 parsing for embedded systems.
7134 * gst/gstelementfactory.c:
7135 Allow gst_element_register() to be called with plugin==NULL.
7136 Did nobody notice that static elements were broken?
7138 2007-05-12 Wim Taymans <wim@fluendo.com>
7140 * tools/gst-launch.c: (event_loop):
7141 Give more interesting info when buffering starts and stops.
7142 Fix case where buffering starts but we fail to update the buffering flag
7143 because the target state is not PLAYING.
7145 2007-05-12 Wim Taymans <wim@fluendo.com>
7147 * plugins/elements/gstqueue.c: (gst_queue_init),
7148 (gst_queue_finalize), (update_time_level), (apply_segment),
7149 (apply_buffer), (gst_queue_locked_flush),
7150 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7151 (gst_queue_handle_sink_event), (gst_queue_chain),
7152 (gst_queue_push_one), (gst_queue_loop):
7153 * plugins/elements/gstqueue.h:
7154 Refactor an cleanup queue a bit.
7155 Do better time level calculations that also work when the srcpad is not
7157 Remove some unneeded debug lines.
7159 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7160 Added testcase for time level measurement.
7161 Try to make some stuff more racefree.
7163 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7165 * gst/gsturi.c: (gst_element_make_from_uri):
7166 Don't leak plugin feature.
7168 * tests/check/Makefile.am:
7169 * tests/check/gst/.cvsignore:
7170 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7171 Add brain-dead unit test.
7173 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7175 Patch by: Jeroen Wouters <woutersj at gmail com>
7177 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7178 Treat protocol strings in a case-insensitive way (#437563).
7180 2007-05-11 Michael Smith <msmith@fluendo.com>
7182 * gst/gstplugin.c: (gst_plugin_load_file):
7183 * gst/gstregistry.c: (gst_registry_scan_path_level):
7184 Don't print a g_warning for any failure to load a shared object.
7185 Instead, push this down into gstplugin.c, and warn _only_ if we
7186 failed to open the module (i.e. failure to link).
7187 Avoids warnings on normal, working, non-plugin .so files.
7189 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7191 * gst/gstplugin.c (gst_plugin_load_file):
7192 * gst/gstregistry.c (GST_CAT_DEFAULT,
7193 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7194 Print a g_warning if there was an error when loading a plugins during
7195 registry scan. The shuld help beginners starting with gst-plugin
7198 2007-05-10 Wim Taymans <wim@fluendo.com>
7200 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7201 (update_time_level), (gst_queue_locked_flush),
7202 (gst_queue_handle_sink_event), (gst_queue_chain),
7203 (gst_queue_push_one), (gst_queue_loop):
7204 * plugins/elements/gstqueue.h:
7205 Be smarter when calculating the current amount of data in the queue by
7206 measuring the difference between start and end timestamps (in running
7207 time) inside the queue. Fixes #432876.
7208 API: GstQueue::pushing to notify elements that we are pushing data again
7209 since the running signal is rather broken for this purpose.
7211 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7213 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7214 gst_queue_base_init, gst_queue_init):
7217 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7219 * win32/common/libgstreamer.def:
7220 Add new exported functions.
7221 * win32/vs6/grammar.dsp:
7222 Use grammar pre-generated files.
7224 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7226 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7229 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7231 * gst/gstutils.c: (gst_parse_bin_from_description):
7233 Maintain API and ABI when --disable-parse is used. Now that
7234 we have an appropriate error code, we can just return NULL and the
7235 appropriate error when gst_parse_launch() is used despite it having
7236 been disabled (#342564).
7238 * tests/check/Makefile.am:
7239 * tests/check/pipelines/.cvsignore:
7240 * tests/check/pipelines/parse-disabled.c:
7241 Make sure these functions exist and return NULL plus a GError when
7242 --disable-parse is used.
7244 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7246 * tests/benchmarks/complexity.c: (main):
7247 * tests/benchmarks/mass-elements.c: (main):
7248 Set a good example and don't leak messages.
7250 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7252 * docs/gst/Makefile.am:
7253 * docs/libs/Makefile.am:
7254 Correct fixxrefs options.
7256 * docs/plugins/Makefile.am:
7257 * docs/plugins/gstreamer-plugins-docs.sgml:
7258 * docs/plugins/gstreamer-plugins-sections.txt:
7259 * plugins/elements/Makefile.am:
7260 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7261 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7262 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7263 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7264 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7265 _GstCapsFilterClass, trans_class):
7266 * plugins/elements/gstelements.c (name, rank, type, _elements):
7267 * plugins/elements/gstidentity.c
7268 (gst_identity_check_imperfect_timestamp,
7269 gst_identity_check_imperfect_offset):
7270 Document capsfilter and add doc-blurb to identity.
7272 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7274 * libs/gst/controller/gstcontroller.c:
7275 (gst_controlled_property_set_interpolation_mode):
7276 * libs/gst/controller/gstinterpolation.c:
7277 Don't crash if someone tries to set an interpolation mode that
7278 is invalid or that isn't supported yet. Fixes #422295.
7280 * tests/check/libs/controller.c: (GST_START_TEST),
7281 (gst_controller_suite):
7282 Add a test case for the above.
7284 2007-05-03 Edward Hervey <edward@fluendo.com>
7286 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7287 Properly set the last_stop position on GstSegment. This will only happen
7288 if there is a buffer to push out.
7290 2007-05-03 Wim Taymans <wim@fluendo.com>
7292 * libs/gst/base/gstbasetransform.c:
7293 (gst_base_transform_buffer_alloc):
7294 always_in_place does not mean that the sink and source caps are the
7295 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7297 2007-05-03 Wim Taymans <wim@fluendo.com>
7299 * docs/libs/gstreamer-libs-sections.txt:
7300 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7301 (gst_base_src_default_query), (gst_base_src_get_range):
7302 * libs/gst/base/gstbasesrc.h:
7303 API: gst_base_src_query_latency(). Added method so that subclasses can
7304 easily get the latency values of the base source class.
7306 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7308 * tools/gst-inspect.c (print_implementation_info):
7311 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7313 * tools/Makefile.am:
7314 * tools/gst-launch.1.in:
7315 Don't create a customised man page based on the host architecture,
7316 describe the default registry path generically. That way the man
7317 page is the same for all architectures and packagers have one
7318 multilib issue less to deal with. Fixes #434926.
7320 2007-05-02 Wim Taymans <wim@fluendo.com>
7323 Fix documentation as spotted by rg on IRC.
7325 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7328 Improve docs for gst_element_{link,unlink}.
7330 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7332 * docs/design/part-events.txt:
7333 * docs/design/part-overview.txt:
7337 * libs/gst/base/gstbasesink.c:
7338 Typo fixes; minor docs addition.
7340 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7342 * docs/gst/gstreamer-sections.txt:
7343 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7344 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7346 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7347 or src that supports a given URI protocol exists.
7349 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7351 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7352 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7353 Set the location to NULL if "file://" is set as URI. Otherwise
7354 some random previous URI would still be set if "file://" is
7355 set on an already used filesink/filesrc.
7357 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7359 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7360 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7361 Special case the "file://" URI as as this is used by some
7362 applications to test with gst_element_make_from_uri if there's
7363 an element that supports the URI protocol.
7364 Also move the g_path_is_absolute() check for the location part
7365 of the URI to also check this for "file://localhost/bla" URIs.
7367 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7369 * docs/gst/gstreamer-sections.txt:
7370 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7372 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7374 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7376 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7378 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7379 (gst_registry_binary_load_pad_template),
7380 (gst_registry_binary_load_plugin),
7381 (gst_registry_binary_read_cache):
7382 * gst/gstregistrybinary.h:
7383 Implement no-mmap alternative for registry reading. Do code cleanups.
7384 Add more comments about avoiding strdups for all text data. Comments
7387 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7389 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7390 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7391 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7392 Comment structs and reformat to fix the build (that stuff should go
7393 into a priv. header).
7395 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7397 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7398 (gst_registry_binary_load_feature):
7399 * gst/gstregistrybinary.h:
7400 Refactor so that we can implement multiple features. Add support for
7401 TypeFindFactory features.
7403 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7405 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7408 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7410 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7412 * gst/gstbin.c: (gst_bin_element_set_state),
7413 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7414 (bin_handle_async_done), (gst_bin_handle_message_func):
7415 Fix build with --gst-disable-gst-debug
7417 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7419 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7420 Make sure streaming has finished before calling the ::stop() vfunc,
7421 since that vfunc might clear state which is being used in the
7422 streaming thread. This fixes a race that caused crashes in
7423 audioresample when shutting down a pipeline (#420106).
7425 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7427 * docs/gst/gstreamer-sections.txt:
7428 That was one byte missing.
7430 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7433 * docs/gst/gstreamer-sections.txt:
7435 * gst/gstconfig.h.in:
7436 * gst/gstobject.c: (gst_object_class_init),
7437 (gst_signal_object_class_init):
7439 2nd attempt to have a xml-less build as a joined effort of #413123
7442 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7444 * docs/design/draft-tagreading.txt:
7445 Added open issues/thoughts to draft.
7447 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7449 * gst/parse/grammar.tab.pre.c:
7450 * gst/parse/grammar.tab.pre.h:
7451 * gst/parse/lex._gst_parse_yy.pre.c:
7452 Update the prebuild parser sources.
7454 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7456 * gst/parse/Makefile.am:
7457 And now fix the building of the flex sources. Now everything should
7460 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7462 * gst/parse/Makefile.am:
7463 Now hopefully fix the build failures by setting proper rule
7464 dependencies and moving instead of copying.
7466 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7468 * tests/benchmarks/complexity.gnuplot:
7469 * tests/benchmarks/complexity.scm:
7470 * tests/benchmarks/mass-elements.gnuplot:
7471 * tests/benchmarks/mass-elements.scm:
7472 Total licensification.
7474 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7476 * gst/parse/Makefile.am:
7477 Fix the build by correcting the rule that gave wrong files to flex.
7479 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7481 * tests/benchmarks/complexity.c:
7482 * tests/benchmarks/mass-elements.c:
7483 Change licence to LGPL as granted by Benjamin and Andy.
7485 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7487 * gst/parse/Makefile.am:
7488 Add correct grammar.tab.h dependency if compiling without new enough
7489 flex. Fixes #431150.
7491 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7493 * gst/parse/Makefile.am:
7494 Fix typo and use outdated sources if the flex/bison sources are newer
7495 than the pregenerated ones but flex is too old. Print a warning in
7496 that case. This should fix the build on the build bot.
7498 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7500 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7501 * gst/parse/Makefile.am:
7502 * gst/parse/grammar.y:
7503 * gst/parse/parse.l:
7504 Make the parser reentrant and recursively callable. This requires flex
7505 >= 2.5.31, for older versions pregenerated sources are used as we
7506 can't bump the build dependency. Finally fixes #349180.
7508 * gst/gstparse.c: (gst_parse_launch):
7509 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7512 * docs/gst/Makefile.am:
7513 * docs/gst/Makefile.am:
7514 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7515 (__gst_parse_strfree), (__gst_parse_link_new),
7516 (__gst_parse_link_free), (__gst_parse_chain_new),
7517 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7518 (gst_parse_element_set), (gst_parse_free_link),
7519 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7520 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7521 (_gst_parse_launch):
7522 * gst/parse/grammar.tab.pre.h:
7523 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7524 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7525 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7526 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7527 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7528 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7529 (_gst_parse_yypop_buffer_state),
7530 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7531 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7532 (yy_fatal_error), (_gst_parse_yyget_extra),
7533 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7534 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7535 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7536 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7537 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7538 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7539 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7540 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7541 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7542 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7543 (_gst_parse_yyfree):
7544 If the installed flex version is too old use pre-generated parser
7545 sources. These pre-generated parser sources are always updated when
7546 the actual flex/bison sources change but require everybody who wants
7547 to change something in the parser to have flex >= 2.5.31 installed.
7549 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7551 * common/m4/gst-gettext.m4:
7552 * gst/gst-i18n-lib.h:
7553 Make --disable-nls to work
7555 2007-04-17 Wim Taymans <wim@fluendo.com>
7557 * gst/gstconfig.h.in:
7558 Revert previous change that broke the build.
7560 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7564 * gst/gstconfig.h.in:
7565 Drop libxml2 dependency when building with
7566 --enable-binary-registry --disable-loadsave
7568 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7570 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7571 (gst_registry_binary_read_cache):
7572 * gst/gstregistrybinary.h:
7573 Remove unnecessary <sys/mman.h> include which broke the win32 build
7574 with MingW; move includes from header file to .c file, even if the
7575 header file isn't installed; use g_strerror() where UTF-8 strings
7576 are expected, such as in GST_DEBUG messages.
7578 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7580 * docs/libs/gstreamer-libs-sections.txt:
7581 Remove bogus addition for API I didn't end up keeping.
7583 * libs/gst/base/gstbasesrc.h:
7584 Mention Since: 0.10.13 in the documentation.
7586 Add the API keyword to the previous ChangeLog entry.
7588 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7590 * docs/libs/gstreamer-libs-sections.txt:
7591 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7592 (gst_base_src_default_prepare_seek_segment),
7593 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7594 * libs/gst/base/gstbasesrc.h:
7595 Allow basesrc derived classes to execute seeks in other formats
7596 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7597 to prepare the GstSegment in any format that their perform_seek method
7598 will be able to understand. The default implementation provides the
7599 old behaviour of attempting to convert the seek offsets to the
7600 configured native format.
7602 API: basesrc::prepare_seek_segment vmethod.
7604 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7606 * gst/gstelement.c: (gst_element_get_state_func):
7607 Don't output the same debug statement twice.
7609 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7610 (gst_adapter_peek), (gst_adapter_take_buffer):
7611 Optimise the case where we have buffers at the head of the queue that
7612 can be joined quickly (because they're contiguous sub-buffers) by
7613 merging them together rather than copying data out into new memory.
7615 * gst/parse/grammar.y:
7616 * tests/check/pipelines/parse-launch.c:
7617 Fix a leak in an error path for parse_launch, and add a check
7618 for it to the testsuite.
7620 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7622 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7623 Don't deadlock when releasing a pad - gst_pad_set_active may try
7624 and take the multiqueue lock too.
7626 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7628 * gst/gsterror.c: (_gst_core_errors_init):
7630 API: add GST_CORE_ERROR_DISABLED (#392804).
7632 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7634 * docs/faq/gst-uninstalled:
7635 don't get empty paths on the PATH variables
7636 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7637 Don't format for the uncommon terminal width of 84 characters.
7639 2007-04-06 Wim Taymans <wim@fluendo.com>
7641 * gst/gstpipeline.c: (reset_stream_time),
7642 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7643 Only try to select a different pipeline clock when we went back to
7644 PAUSED and not when we merely got flushed.
7646 2007-04-05 Michael Smith <msmith@fluendo.com>
7648 * tools/gst-launch.1.in:
7649 fractions are better supported in gstreamer than ractions, so
7650 suggest using those.
7652 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7654 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7658 Added Danish translation.
7660 2007-04-05 Wim Taymans <wim@fluendo.com>
7662 * libs/gst/base/gstbasesink.c:
7663 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7664 Fix leak caused when refusing newsegment after EOS.
7666 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7667 (gst_fake_sink_init), (gst_fake_sink_set_property),
7668 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7669 (gst_fake_sink_render), (gst_fake_sink_change_state):
7670 * plugins/elements/gstfakesink.h:
7671 Add num-buffers property to make the element generate EOS after a
7672 configurable amount of buffers.
7673 API: fakesink::num-buffers property.
7675 * tests/check/elements/fakesink.c: (GST_START_TEST),
7677 Fix GstBus leak in test.
7678 Test for fakesink num-buffers.
7680 2007-04-05 Wim Taymans <wim@fluendo.com>
7682 * libs/gst/base/gstbasesink.c:
7683 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7684 (gst_base_sink_change_state):
7685 Don't accept anything after an EOS, return UNEXPECTED instead.
7687 * tests/check/elements/fakesink.c: (GST_START_TEST),
7689 Unit test for new EOS behaviour.
7691 2007-04-05 Wim Taymans <wim@fluendo.com>
7693 * gst/gstelement.c: (gst_element_get_request_pad):
7694 Make padtemplates also work when they don't contain %s or %d.
7696 2007-04-05 Wim Taymans <wim@fluendo.com>
7698 * docs/gst/gstreamer-sections.txt:
7699 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7700 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7702 Improve _adjust_unlocked() so that it overflows less.
7703 Add gst_clock_unadjust_unlocked to convert from external time to
7704 internal time based on calibration.
7705 Add some more debug.
7706 API: GstClock::gst_clock_unadjust_unlocked()
7708 2007-04-03 Wim Taymans <wim@fluendo.com>
7710 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7712 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7713 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7714 when releasing sink pad. Fixes #425400.
7716 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7718 * docs/random/ensonic/dynlink.txt:
7719 More work on proposal for new core api.
7721 * docs/libs/gstreamer-libs-sections.txt:
7722 * libs/gst/base/gstbasetransform.h:
7723 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7725 * libs/gst/controller/gstcontroller.c:
7726 (on_object_controlled_property_changed),
7727 (gst_controller_sync_values),
7728 (gst_controller_set_interpolation_mode):
7729 * libs/gst/controller/gstcontroller.h:
7730 Less verbose logging add docs for unimplemented parts and correctly
7731 return when using unavailable parts.
7733 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7735 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7736 Move all the debug to the CLOCK category, and associate it with
7739 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7741 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7742 Make take_buffer a bit quicker by removing redundant checks
7743 caused by calling gst_adapter_take.
7745 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7747 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7750 * tests/check/Makefile.am:
7751 * tests/check/elements/.cvsignore:
7752 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7753 (GST_START_TEST), (multiqueue_suite):
7754 Add some dead simple unit tests for the 'multiqueue' element
7755 (some bits don't work yet and are disabled for now).
7757 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7759 * gst/gstelement.c: (gst_element_get_request_pad),
7760 (gst_element_class_get_request_pad_template):
7761 Make gst_element_get_request_pad() create request pads only for
7762 request pad templates and not for, say, sometimes pad templates.
7764 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7766 * docs/design/draft-klass.txt:
7767 Add example that needs more thinking.
7769 * docs/design/draft-missing-plugins.txt:
7770 More thoughts about wrapper plugins.
7772 * docs/random/ensonic/embedded.txt:
7773 * docs/random/ensonic/profiling.txt:
7776 2007-03-25 Wim Taymans <wim@fluendo.com>
7778 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7779 (gst_base_src_loop):
7780 Only push the segment events in the PLAYING state for live sources.
7782 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7784 * gst/gstpipeline.c: (gst_pipeline_change_state):
7785 Modify the clock distribution path in PAUSED->PLAYING so that we
7786 never attempt to choose a new clock unless we're actually leaving
7787 the PAUSED state for the first time. This prevents choosing a
7788 different clock when the state_change gets called for a 2nd time due
7789 to some element doing an async state change.
7791 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7793 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7794 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7795 (gst_pad_chain_unchecked), (gst_pad_push):
7796 Revert last commit. This needs some more thoughts.
7798 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7800 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7801 (gst_pad_chain_unchecked), (gst_pad_push):
7802 Check in set_caps if the caps are compatible with the pad and remove
7803 two functions that are redundant now. Fixes #421543.
7805 2007-03-22 Wim Taymans <wim@fluendo.com>
7807 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7808 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7809 Unref some more to make valgrind happy.
7811 2007-03-22 Wim Taymans <wim@fluendo.com>
7813 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7814 (gst_system_clock_id_wait_jitter),
7815 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7816 Fix anoying regression that survived a few releases. When adding an
7817 async entry while blocking on a sync entry, the sync entry will unblock
7818 but still be busy, so it should continue to wait instead of returning
7820 Add some comments here and there.
7822 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7823 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7824 Add testcase for this.
7826 2007-03-22 Wim Taymans <wim@fluendo.com>
7828 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7829 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7830 WRONG_STATE and can silently pause the task. All other cases should
7833 2007-03-22 Wim Taymans <wim@fluendo.com>
7835 Patch by: Ville Syrjala <syrjala at sci dot fi>
7837 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7838 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7841 2007-03-21 Michael Smith <msmith@fluendo.com>
7843 * docs/pwg/advanced-types.xml:
7844 Fix some errors in the typefinding docs pointed out on irc.
7846 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7848 * libs/gst/base/gstbasesrc.c:
7849 Clarify FIXME comment in the face of having added unlock_stop()
7851 2007-03-21 Wim Taymans <wim@fluendo.com>
7853 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7854 Prepare for release where we warn against possible app breakage in the
7855 case of live pipelines along with an env var to enable/disable live
7856 preroll mode (GST_COMPAT=[no-]live-preroll).
7858 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7860 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7861 So we should use correct constants for checking for None offset.
7863 2007-03-20 Wim Taymans <wim@fluendo.com>
7865 * docs/design/part-block.txt:
7866 Mention the fact that the newly switched element should be set to at
7869 2007-03-20 Wim Taymans <wim@fluendo.com>
7872 Fix compilation with registry disabled as spotted by Saur.
7874 2007-03-20 Wim Taymans <wim@fluendo.com>
7876 Patch by: Olivier Crete <tester at tester dot ca>
7878 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7879 Look at the pending state too when syncing the element state to the
7880 parent. Fixes #420133.
7882 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7884 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7885 (gst_base_sink_change_state):
7886 * libs/gst/base/gstbasesink.h:
7887 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7888 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7889 (gst_base_src_deactivate):
7890 * libs/gst/base/gstbasesrc.h:
7891 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7892 for sub-classes to correctly clear any state they set trying to
7893 unlock, such as clearing out unlock commands from a command fd.
7894 API: basesrc::unlock_stop
7895 API: basesink::unlock_stop
7897 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7898 (gst_fd_sink_render), (gst_fd_sink_unlock),
7899 (gst_fd_sink_unlock_stop):
7900 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7901 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7902 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7904 Implement unlock_stop in fdsrc and fdsink.
7905 Implement seeking in fdsrc when a seekable fd is passed, as in
7906 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7908 2007-03-19 Wim Taymans <wim@fluendo.com>
7910 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7912 * gst/gstelement.c: (gst_element_class_init):
7913 Fix pad-added and pad-removed signal signatures so that the pad type is
7914 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7916 2007-03-19 Wim Taymans <wim@fluendo.com>
7918 * docs/gst/gstreamer-sections.txt:
7919 Add new element field and method.
7921 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7922 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7923 (gst_bin_recalc_state), (gst_bin_get_state_func),
7924 (gst_bin_element_set_state), (gst_bin_change_state_func),
7925 (gst_bin_continue_func), (bin_bus_handler),
7926 (bin_push_state_continue), (bin_handle_async_start),
7927 (bin_handle_async_done), (gst_bin_handle_message_func):
7928 Make async state changes a bit smarter by using new ASYNC_START and
7929 ASYNC_DONE messages. This reduces the number of times we run the state
7930 recalculation thread.
7931 Don't change state of element with a pending ASYNC_START message.
7932 Deprecate STATE_DIRTY messages.
7934 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7935 (gst_element_get_state_func), (gst_element_continue_state),
7936 (gst_element_lost_state), (gst_element_set_state_func),
7937 (gst_element_change_state):
7939 Keep the state that was last set by the app in a new element field.
7940 Don't allow state changes when handling an element event.
7941 Post ASYNC_START and ASYNC_DONE messages.
7942 Change lost_state so that we go to PAUSED and wait for the parent to set
7943 us to PLAYING again (so latency calculation can be performed)
7944 Export gst_element_change_state() method so that subclasses can use it.
7945 API: gst_element_change_state()
7946 API: GST_STATE_TARGET
7948 * gst/gstpipeline.c: (gst_pipeline_class_init),
7949 (reset_stream_time), (gst_pipeline_change_state),
7950 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7951 Using the new ASYNC_START message we can reset the base_time when
7952 needed. This can then be used to implement base_time redistribution in
7953 flushing seeks so that we can remove the explicit seek handling.
7954 Perform latency query and configuration when going to PLAYING.
7956 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7957 (gst_base_sink_query), (gst_base_sink_change_state):
7958 Post new ASYNC_START/ASYNC_DONE messages.
7960 * tests/check/generic/sinks.c: (GST_START_TEST):
7961 Fix test because the bin will not set the async element to PLAYING right
7964 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7965 Make the message check a little stronger.
7966 Handle ASYNC messages.
7968 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7969 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7970 Expect ASYNC_DONE messages.
7972 2007-03-19 Wim Taymans <wim@fluendo.com>
7974 * docs/gst/gstreamer-sections.txt:
7975 * gst/gstmessage.c: (gst_message_new_async_start),
7976 (gst_message_new_async_done), (gst_message_parse_info),
7977 (gst_message_parse_async_start):
7979 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7982 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7984 * tools/gst-inspect.c:
7985 (print_plugin_automatic_install_info_codecs):
7986 Now that we don't check for the 'Codec' keyword any longer in the
7987 klass, we shouldn't spew a warning if the klass isn't a decoder or
7988 encoder (since it might be a Source/Network, for example).
7990 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7992 * tools/gst-inspect.c:
7993 (print_plugin_automatic_install_info_codecs):
7994 Don't require decoder/demuxer/depayloader elements or
7995 encoder/muxer/paylader elements to have 'Codec' as part of their
7996 factory class string when introspecting a plugin's capabilities.
7997 draft-klass.txt mentions that it might be removed in future, and
7998 flump3dec doesn't have it as part of its class string, so chances
7999 are others might also not have it.
8001 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
8023 Update translations from translation project
8025 2007-03-14 Stefan Kost <ensonic@users.sf.net>
8027 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8028 (gst_child_proxy_set_property):
8029 Invert precondition check to be alike the ones in the mimiced gobject
8032 2007-03-13 Stefan Kost <ensonic@users.sf.net>
8034 * docs/design/draft-tagreading.txt:
8035 * docs/random/ensonic/audiobaseclasses.txt:
8036 Do some Architect work.
8038 * gst/gstobject.c: (gst_object_set_name):
8042 Add docs that point from gst_pad_get_range to gst_pad_pull_range
8044 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
8046 * gst/gstsystemclock.c: (gst_system_clock_init),
8047 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8048 Defer starting the async system clock thread until the first async
8049 wait is scheduled. Fixes #414986.
8051 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
8053 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8054 (gst_single_queue_free):
8055 Fix small leak (free GstSingleQueue structure too, not only contents).
8057 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
8059 * gst/gstbin.c:(gst_bin_add):
8060 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8061 * win32/common/libgstbase.def:
8062 * win32/common/libgstreamer.def:
8063 Add new exported functions.
8065 2007-03-09 Wim Taymans <wim@fluendo.com>
8067 * docs/plugins/gstreamer-plugins-sections.txt:
8070 2007-03-09 Wim Taymans <wim@fluendo.com>
8072 * docs/gst/gstreamer-sections.txt:
8073 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8075 Add metadata copy functions. Fixes #393099.
8076 API: gst_buffer_copy_metadata()
8078 * gst/gstutils.c: (gst_buffer_stamp):
8079 * libs/gst/base/gstbasetransform.c:
8080 (gst_base_transform_prepare_output_buffer):
8081 Use new metadata copy functions.
8083 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
8085 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8086 (gst_identity_init), (gst_identity_check_perfect),
8087 (gst_identity_check_imperfect_timestamp),
8088 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8089 (gst_identity_set_property), (gst_identity_get_property):
8090 * plugins/elements/gstidentity.h:
8091 Separate out check-imperfect-timestamp and check-imperfect-offset.
8092 Put back check-perfect as it was to keep compatibility.
8094 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
8096 * gst/gstelement.c: (gst_element_dispose):
8097 There's no need to warn if VOID_PENDING is not NONE here, as
8098 long as the state is NULL it's ok, and that's checked immediately
8101 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8103 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8104 Fix check for perfect stream to ignore buffers with -1
8105 offsets/offset ends when checking data contiguity.
8107 2007-03-08 Wim Taymans <wim@fluendo.com>
8109 * tools/gst-launch.c: (event_loop):
8110 Print INFO messages.
8112 2007-03-08 Wim Taymans <wim@fluendo.com>
8114 * libs/gst/base/gstbasetransform.c:
8115 (gst_base_transform_sink_eventfunc),
8116 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8117 (gst_base_transform_activate):
8118 * libs/gst/base/gstbasetransform.h:
8119 Add support for dropping buffers with custom GstFlowReturn.
8120 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8121 buffers or dropped buffers.
8123 * docs/libs/gstreamer-libs-sections.txt:
8124 docs for new custom return code.
8126 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8127 Use drop support in base class to implement drop-probability.
8129 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
8131 * gst/gst.c: (load_plugin_func):
8132 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8133 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8134 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8135 Remove newlines at end of debug log strings.
8137 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8139 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8140 Only post bus message at max, once per buffer received.
8142 2007-03-07 Wim Taymans <wim@fluendo.com>
8144 * docs/design/Makefile.am:
8145 * docs/design/part-synchronisation.txt:
8146 Add doc about synchronisation
8148 * docs/design/draft-latency.txt:
8149 * docs/design/part-TODO.txt:
8150 * docs/design/part-clocks.txt:
8151 * docs/design/part-events.txt:
8152 * docs/design/part-gstbus.txt:
8153 * docs/design/part-gstpipeline.txt:
8154 * docs/design/part-live-source.txt:
8155 * docs/design/part-messages.txt:
8156 * docs/design/part-overview.txt:
8157 * docs/design/part-streams.txt:
8158 * docs/design/part-trickmodes.txt:
8159 Documentation updates.
8161 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8164 Update the doap file.
8166 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8168 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8169 Rename non-perfect to imperfect for Mike and for the sanctity of the
8171 Also make sure bus message gets emitted for data-incontiguities.
8173 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8175 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8176 (gst_identity_start):
8177 * plugins/elements/gstidentity.h:
8178 Emit bus message if check-perfect is true and we encounter a
8179 non-perfect stream between 2 consecutive buffers.
8182 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8187 === release 0.10.12 ===
8189 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8192 releasing 0.10.12, "Inevitable Demise"
8194 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8197 Version 0.10.11.2 (0.10.12 pre-release)
8198 Bump libtool versioning.
8200 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8202 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8203 Log flow-names and not numbers.
8205 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8208 Convert to new AG_GST style.
8210 2007-02-28 Wim Taymans <wim@fluendo.com>
8212 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8213 Don't unref query twice.
8215 2007-02-28 Wim Taymans <wim@fluendo.com>
8217 * gst/gstvalue.c: (gst_value_transform_object_string),
8218 (_gst_value_initialize):
8219 Implement GstObject -> string transform so we print object names
8220 when serializing GValues containing GstObjects.
8222 2007-02-28 Wim Taymans <wim@fluendo.com>
8224 * docs/gst/gstreamer-sections.txt:
8225 Add new stuff to docs.
8227 2007-02-28 Wim Taymans <wim@fluendo.com>
8229 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8230 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8231 (gst_base_sink_change_state):
8232 Improve latency query code.
8233 Don't leak latency events.
8235 * tests/check/gst/gstbin.c: (GST_START_TEST):
8238 2007-02-28 Wim Taymans <wim@fluendo.com>
8240 * gst/gstelement.c: (gst_element_message_full),
8241 (gst_element_get_state_func):
8243 Improve docs a little. Added Since: for new macro.
8245 * gst/gstobject.c: (gst_object_sink):
8246 * gst/gstpipeline.c: (gst_pipeline_change_state),
8247 (gst_pipeline_set_new_stream_time):
8248 * gst/gstpipeline.h:
8249 Improve debugging and docs.
8251 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8254 2007-02-28 Wim Taymans <wim@fluendo.com>
8256 * gst/gstelement.c: (gst_element_message_full),
8257 (gst_element_set_locked_state), (gst_element_get_state_func),
8258 (gst_element_change_state):
8259 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8260 Documentation updates.
8261 Small code cleanups.
8263 * gst/gstmessage.c: (gst_message_new_info),
8264 (gst_message_parse_info):
8266 API: gst_message_new_info()
8267 API: gst_message_parse_info()
8268 Add INFO message create and parse code.
8270 2007-02-28 Wim Taymans <wim@fluendo.com>
8272 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8273 (bin_query_latency_done):
8274 Also report the live parameter of a latency query.
8276 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8278 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8279 Copy the current generic/states example from -base and adapt so
8280 we can use the exact same code everywhere.
8281 Check a STATES_IGNORE_ELEMENTS env var which can be used
8282 to ignore certain element factories for this test, which is
8283 what is being done in -base
8284 * tests/check/Makefile.am:
8285 Mention this environment variable.
8287 2007-02-27 Wim Taymans <wim@fluendo.com>
8289 * docs/gst/gstreamer-sections.txt:
8290 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8291 (gst_bus_timed_pop), (gst_bus_pop):
8293 API: gst_bus_timed_pop()
8294 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8295 message to arrive on the bus.
8297 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8299 Two unit tests for new _timed_pop() function.
8301 2007-02-23 Wim Taymans <wim@fluendo.com>
8303 * gst/gstpipeline.c: (gst_pipeline_change_state),
8304 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8305 Don't ref a NULL clock in _provide_clock_func().
8306 Don't allow an INVALID delay.
8307 Don't try to calculate base_time with an invalid start_time.
8308 Also distribute and notify a NULL clock when it was selected.
8310 * tools/gst-launch.c: (event_loop):
8311 Don't crash when a NULL clock was selected in the pipeline.
8313 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8315 * docs/design/Makefile.am:
8316 * docs/design/draft-missing-plugins.txt:
8317 * docs/random/draft-missing-plugins.txt:
8318 Some small updates: update plugin system identifier prefix
8319 ('gstreamer.net' to 'gstreamer'), mention our new install
8320 API in libgstbaseutils rather than libgimme-codec, add
8321 reference to the online docs.
8323 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8325 * win32/common/config.h:
8326 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8327 use moap cl ci to only check in what is mentioned in the ChangeLog.
8329 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8331 * docs/gst/gstreamer-sections.txt:
8333 Fix up documentation to link to the correct GstGError section.
8334 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8336 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8338 * tools/gst-launch.c: (event_loop):
8339 Make sure that we actually show the important message part of a
8341 No need to check if the gerror is not NULL to free; first of all
8342 g_free accepts NULL; and second the default error handler would
8343 segfault if gerror was NULL.
8345 2007-02-21 Wim Taymans <wim@fluendo.com>
8347 * docs/gst/gstreamer-sections.txt:
8348 Removed docs as well.
8350 2007-02-21 Wim Taymans <wim@fluendo.com>
8352 * gst/gstmessage.c: (gst_message_parse_duration):
8354 Remove new messages for release.
8356 2007-02-20 Wim Taymans <wim@fluendo.com>
8358 * docs/design/part-gstghostpad.txt:
8359 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8360 (gst_ghost_pad_new_full):
8361 Make the ghostpad a parent of the internal pad again for better backward
8362 compatibility. Don't write code that relies on this however.
8364 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8365 (gst_pad_link_check_hierarchy):
8366 Require that parents should be GstElements in the hierarchy check.
8368 2007-02-20 Wim Taymans <wim@fluendo.com>
8370 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8371 (gst_bin_change_state_func), (bin_query_min_max_init),
8372 (bin_query_latency_fold), (bin_query_latency_done),
8375 Implement latency query.
8377 2007-02-20 Wim Taymans <wim@fluendo.com>
8379 * docs/design/part-gstghostpad.txt:
8380 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8381 (gst_ghost_pad_internal_do_activate_push),
8382 (gst_ghost_pad_internal_do_activate_pull),
8383 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8384 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8385 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8386 Do not set the internal pad as a parent anymore so we can avoid
8387 hierarchy linking errors when the ghostpad has no parent yet. This also
8388 fixes failed activation because of unlinked internal pads, which in
8389 turn fixes the impossible case where you have to activate a pad before
8390 you can add it to a running element.
8393 * gst/gstpad.c: (pre_activate), (post_activate),
8394 (gst_pad_set_active), (gst_pad_activate_pull),
8395 (gst_pad_activate_push), (gst_pad_check_pull_range):
8396 Add some more debug info.
8397 Mark activation mode in pre_activate so that we don't try to activate in
8398 endless loops. Fixes #385084.
8400 2007-02-19 Wim Taymans <wim@fluendo.com>
8402 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8403 (gst_base_transform_check_get_range):
8404 Implement a checkgetrange function instead of relying on the default
8405 core behaviour that assumes we can operate in pull mode if we have a
8406 getrange function. First step at fixing #385084.
8408 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8410 * gst/gstchildproxy.h:
8411 * libs/gst/base/gstbasesink.h:
8412 * libs/gst/base/gstbasesrc.h:
8413 * libs/gst/base/gstbasetransform.h:
8414 More docs coverage and some ChangeLog surgery (add missing names)
8416 2007-02-15 Wim Taymans <wim@fluendo.com>
8418 * docs/design/part-TODO.txt:
8419 * docs/design/part-activation.txt:
8420 * docs/design/part-block.txt:
8421 * docs/design/part-buffering.txt:
8422 * docs/design/part-clocks.txt:
8423 * docs/design/part-element-source.txt:
8424 * docs/design/part-events.txt:
8425 * docs/design/part-gstbin.txt:
8426 * docs/design/part-gstbus.txt:
8427 * docs/design/part-gstpipeline.txt:
8428 * docs/design/part-live-source.txt:
8429 * docs/design/part-messages.txt:
8430 * docs/design/part-overview.txt:
8431 * docs/design/part-qos.txt:
8432 * docs/design/part-query.txt:
8433 * docs/design/part-states.txt:
8434 * docs/design/part-trickmodes.txt:
8435 Some doc updates. Start renaming from stream_time to running_time where
8436 it was used wrongly.
8438 2007-02-15 Wim Taymans <wim@fluendo.com>
8440 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8441 Answer LATENCY query.
8443 2007-02-15 Wim Taymans <wim@fluendo.com>
8445 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8449 2007-02-15 Wim Taymans <wim@fluendo.com>
8451 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8452 (gst_pad_dispatcher):
8453 Improve debugging of default pad dispatcher and query functions.
8455 2007-02-15 Wim Taymans <wim@fluendo.com>
8457 * docs/gst/gstreamer-sections.txt:
8458 Remove old unused method.
8460 2007-02-13 Wim Taymans <wim@fluendo.com>
8462 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8465 2007-02-13 Wim Taymans <wim@fluendo.com>
8467 * docs/design/part-seeking.txt:
8470 * gst/gstsegment.c: (gst_segment_set_seek):
8471 Revert old bogus change that should make seeking work again.
8473 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8475 * docs/random/ensonic/dynlink.txt:
8476 * docs/random/ensonic/interfaces.txt:
8477 * docs/random/ensonic/receipies.txt:
8478 Possible dynamic reconnection api, plus some type fixes the other two
8481 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8483 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8484 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8485 Also check for an absolute path following file:// in the filesrc
8486 element. Remove redundant check and call g_path_is_absolute() on the
8489 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8491 * docs/design/draft-klass.txt:
8492 Add existing category analysis.
8495 Fix doc example, framerate is a fraction.
8497 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8500 * docs/gst/Makefile.am:
8501 * docs/gst/gstreamer-sections.txt:
8502 * docs/libs/Makefile.am:
8503 Erm, forgot a bunch of --extra-dir.
8505 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8508 * docs/gst/Makefile.am:
8509 * docs/libs/Makefile.am:
8510 * docs/plugins/Makefile.am:
8511 Add crossreferences to glib/gobject docs.
8513 2007-02-12 Wim Taymans <wim@fluendo.com>
8515 * docs/design/draft-latency.txt:
8518 * docs/libs/gstreamer-libs-sections.txt:
8519 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8520 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8521 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8522 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8523 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8524 (gst_base_sink_get_position), (gst_base_sink_query),
8525 (gst_base_sink_change_state):
8526 * libs/gst/base/gstbasesink.h:
8527 API: gst_base_sink_query_latency() to let subclasses query the upstream
8529 API: gst_base_sink_get_latency() to let subclasses query the configured
8530 latency in the sink.
8531 Implement query and set latency.
8533 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8534 don't continue preroll when we are flushing. Fixes #405284.
8536 * tests/check/pipelines/stress.c: (change_state_timeout),
8537 (quit_timeout), (GST_START_TEST), (stress_suite):
8540 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8542 Patch by: René Stadler <mail at renestadler de>
8544 * docs/gst/gstreamer-sections.txt:
8545 * gst/gsttaglist.c: (_gst_tag_initialize):
8547 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8549 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8551 * docs/libs/Makefile.am:
8552 Fix path to core docs.
8554 * gst/gstbin.c: (gst_bin_get_by_interface),
8555 (gst_bin_iterate_all_by_interface):
8556 Refix docs by also renaming 'interface' to 'iface' in implementation.
8558 * docs/gst/gstreamer-sections.txt:
8560 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8561 * gst/gstchildproxy.h:
8562 * gst/gstelementfactory.c:
8563 * gst/gstpadtemplate.h:
8564 * libs/gst/controller/gstcontroller.c:
8565 (gst_controlled_property_new):
8568 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8570 * gst/gstbin.h:(gst_bin_get_by_interface),
8571 (gst_bin_iterate_all_by_interface):
8572 Replace interface parameter name by iface as interface is
8573 a reserved keyword in Visual Studio for C++ projects so it removes
8574 a build error for application developpers using VS.
8575 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8576 Fix a bug on Windows in uri format check. Now the prefix checked
8577 is file:// and next we check if the path after file:// is absolute.
8578 * win32/common/libgstbase.def:
8579 * win32/common/libgstdataprotocol.def:
8580 * win32/common/libgstgstreamer.def:
8581 Add new exported functions.
8583 2007-02-09 Andy Wingo <wingo@pobox.com>
8585 * tests/check/pipelines/simple-launch-lines.c
8586 (simple_launch_lines_suite, test_tee): Disable tee test until I
8587 have time to fix it :-(
8589 * tests/check/Makefile.am (noinst_HEADERS):
8590 * tests/check/libs/libsabi.c:
8591 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8592 * tests/check/gst/gstabi.c:
8593 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8595 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8596 tests for push and pull tee behavior.
8598 * plugins/elements/gsttee.h:
8599 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8600 mark as deprecated as well as unimplemented. It was a crack idea.
8601 Add support for tee operating in pull mode, off by default.
8603 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8604 normal-case logs down to LOG, raise errors to WARNING.
8605 (gst_registry_xml_read_cache): Don't log before calling a function
8608 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8609 exit (registry finalize).
8610 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8611 DEBUG log when we emit signals that people don't even have the
8612 chance to connect to.
8613 (gst_registry_scan_path_level): Less logging in the normal case.
8615 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8617 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8619 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8620 Correctly generate EOS for non-seekable files. We don't have a total
8621 length for them and would get an unexpected end of file if we only
8622 special-cased for regular files. (Fixes: #404569)
8624 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8626 * tests/check/elements/filesrc.c: (GST_START_TEST),
8628 Add unit test for the GstURIHandler interface in filesrc. This also
8629 tests the newly added file://localhost/foo/bar support.
8631 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8633 * gst/gstelementfactory.h:
8634 The klass string is not a hierarchy. Add reference to the design doc
8635 for more information and common types.
8637 2007-02-02 Wim Taymans <wim@fluendo.com>
8639 * gst/gstquery.c: (gst_query_new_latency):
8640 Remove old structure field.
8642 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8644 * tools/gst-launch.1.in:
8645 Give example for network streaming (#351998)
8647 2007-02-02 Wim Taymans <wim@fluendo.com>
8649 * docs/gst/gstreamer-sections.txt:
8650 Add docs for new methods.
8652 * gst/gstevent.c: (gst_event_new_latency),
8653 (gst_event_parse_latency):
8655 Add new LATENCY event to configure latency in a pipeline.
8656 API: gst_event_new_latency
8657 API: gst_event_parse_latency
8659 * gst/gstmessage.c: (gst_message_new_buffering),
8660 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8661 (gst_message_new_latency), (gst_message_parse_buffering),
8662 (gst_message_parse_lost_preroll):
8664 Added messages used in draft-latency.
8665 API: gst_message_new_lost_preroll
8666 API: gst_message_parse_lost_preroll
8667 API: gst_message_new_prerolled
8668 API: gst_message_new_latency
8670 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8671 (gst_query_parse_latency):
8673 Implemented new latency query as in design doc.
8674 API: gst_query_new_latency
8675 API: gst_query_set_latency
8676 API: gst_query_parse_latency
8678 2007-02-02 Wim Taymans <wim@fluendo.com>
8680 * docs/design/draft-latency.txt:
8681 Slight redesign to allow for dynamic latency adjustments.
8683 * docs/design/part-negotiation.txt:
8686 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8688 reviewed by: Wim Taymans <wim@fluendo.com>
8690 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8691 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8692 Allow file://localhost/foo/bar URLs and correctly fail for every other
8693 hostname that one sets. This was gnomevfssrc is linked for those if
8694 installed as it can handle it (#403172)
8696 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8698 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8700 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8701 (unref_data), (gst_collect_pads_add_pad_full):
8702 * libs/gst/base/gstcollectpads.h:
8703 Don't put the previously added destroy notify in the GstCollectData
8704 struct as all it's padding is already used and we don't want to break
8705 ABI. Instead put in the pad's GObject data for now. This should be
8706 cleaned up for 0.11 (#402393).
8708 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8710 reviewed by: Wim Taymans <wim@fluendo.com>
8712 * docs/libs/gstreamer-libs-sections.txt:
8713 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8714 (unref_data), (gst_collect_pads_add_pad),
8715 (gst_collect_pads_add_pad_full):
8716 * libs/gst/base/gstcollectpads.h:
8717 API: Add function to specify a destroy notification for custom
8718 GstCollectData when adding new pads in GstCollectPads (#402393).
8720 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8723 Update Swedish translation (#378255).
8725 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8727 * docs/design/draft-klass.txt:
8728 Fix the previous change, this is a list of categories and not a hierarchy.
8730 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8732 * docs/design/draft-klass.txt:
8733 Add info about how to get a list of used classes.
8735 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8737 * plugins/elements/gsttypefindelement.c:
8738 (gst_type_find_element_chain_do_typefinding),
8739 (gst_type_find_element_change_state):
8740 Don't leak found caps in chain function (no idea why that never
8741 showed up as a leak anywhere).
8743 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8746 Fix and expand GstPluginDesc API docs.
8748 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8751 * gst/gstelementfactory.c:
8752 * gst/gstpadtemplate.h:
8755 * libs/gst/controller/gstcontroller.c:
8756 (gst_controlled_property_new):
8757 * tests/examples/controller/audio-example.c:
8760 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8763 comment about refining the xml deps
8766 comments about moving away from jade for docs
8769 recommit the ifdefs to use the binary registry
8771 * gst/gstbin.c: (gst_bin_change_state_func):
8772 this break is obsolete
8774 * gst/gstelementfactory.h:
8775 better GST_ELEMENT_DETAILS docs, add comment about translation
8780 * gst/gstobject.c: (gst_signal_object_get_type):
8781 add G_UNLIKELY as usual
8783 * gst/gstpad.c: (gst_pad_event_default):
8784 add fall trhu comment
8786 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8787 (gst_registry_binary_initialize_magic),
8788 (gst_registry_binary_save_string),
8789 (gst_registry_binary_save_pad_template),
8790 (gst_registry_binary_save_feature),
8791 (gst_registry_binary_save_plugin),
8792 (gst_registry_binary_write_cache),
8793 (gst_registry_binary_check_magic),
8794 (gst_registry_binary_load_pad_template),
8795 (gst_registry_binary_load_feature),
8796 (gst_registry_binary_load_plugin),
8797 (gst_registry_binary_read_cache):
8798 comment typo and formatting
8800 * gst/gstutils.c: (gst_element_state_get_name),
8801 (gst_element_state_change_return_get_name):
8802 remove obsolete breaks
8804 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8805 add FIXME 0.11 and remove cpp comment
8807 2007-01-29 Edward Hervey <edward@fluendo.com>
8809 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8810 Fix print statement in an even more portable way.
8812 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8814 * docs/gst/gstreamer-sections.txt:
8816 API: add GST_ROUND_DOWN_* macros (#401781).
8818 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8820 * docs/gst/gstreamer.types.in:
8821 * gst/gstregistry.c: (gst_registry_class_init):
8822 Document registry signals and make gtk-doc pick them up (#401381).
8824 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8826 * docs/pwg/building-testapp.xml:
8827 Add some audioconverts and audioresample to the pipeline, and some
8828 more comments and error handling.
8830 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8832 * docs/manual/manual.xml:
8836 2007-01-26 Wim Taymans <wim@fluendo.com>
8838 * gst/gstcaps.c: (gst_static_caps_get):
8839 Init caps flags too.
8841 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8843 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8845 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8846 If not using mmap'ed files try to seek to the end instead of the
8847 start to determine whether we can seek at all. This fixes the case
8848 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8849 seeks for everything afterwards fail. Fixes #400656
8851 2007-01-25 Wim Taymans <wim@fluendo.com>
8853 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8854 Add some refcount debugging.
8855 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8856 in multiple streaming threads.
8858 2007-01-25 Wim Taymans <wim@fluendo.com>
8860 Patch by: David Schleef <ds at schleef dot org>
8862 * docs/libs/gstreamer-libs-sections.txt:
8863 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8864 * libs/gst/base/gstadapter.h:
8865 API: gst_adapter_copy() that can reduce the amount of memcpy when
8866 getting data from the adapter. Fixes #388201.
8868 2007-01-25 Edward Hervey <edward@fluendo.com>
8870 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8871 In print statements, "%x" is for guint. Fixes build on macosx.
8873 2007-01-24 Edward Hervey <edward@fluendo.com>
8875 * plugins/elements/gstmultiqueue.c:
8876 (gst_multi_queue_loop):
8878 (single_queue_overrun_cb), (single_queue_underrun_cb),
8879 (single_queue_check_full), (gst_single_queue_new):
8880 Implement single queue growth system.
8881 This uses the extra-size properties, and will grow single queues by
8882 that much if one goes full whereas there are others empty. This is
8883 called extra-mode in the code.
8884 When a single queue's levels go back below the initial max-size
8885 limits, it is no longer in extra-mode. This is to ensure we don't
8886 consume too much memory.
8889 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8891 * gst/gst.c: (gst_init_get_option_group):
8892 Make warning about late g_thread_init() calls a bit more explicit,
8893 so that it's more obvious to application developers what they need
8894 to do if a user files a bug against their application.
8896 2007-01-22 Edward Hervey <edward@fluendo.com>
8898 * plugins/elements/gstmultiqueue.c:
8899 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8900 Remove previous hack of unsetting the flushing flag for the source pad
8901 instead of activating it. Instead, fix the source pad activate function
8902 so that it no longer depends on having a parent set or not.
8904 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8906 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8908 * docs/manual/basics-bus.xml:
8909 Fix example code, gst_element_unref() doesn't exist any longer.
8911 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8913 Patch by: Mark Nauwelaerts <manauw at skynet be>
8916 Fix two docs typoes (#399094).
8918 2007-01-19 Edward Hervey <edward@fluendo.com>
8920 * docs/faq/gst-uninstalled:
8921 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8922 depending on libgstbaseutils can work in uninstalled environment.
8924 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8927 * gst/gsttagsetter.c:
8928 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8929 statement for new tag.
8931 2007-01-17 Edward Hervey <edward@fluendo.com>
8933 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8934 When dynamically creating single queues, activate sinkpad before adding
8936 We should be doing the same thing for the source pad, but we can't
8937 since it would call a method which needs the parent to be set in order
8938 to work propertly. Instead of activating the source pad, we just unset
8939 the flushing flag, which is the minimal requirement for adding a pad
8940 to an element in a state greater than READY.
8942 2007-01-17 Edward Hervey <edward@fluendo.com>
8944 * docs/faq/gst-uninstalled:
8945 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8948 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8950 * tests/check/gst/gstabi.c:
8951 * tests/check/gst/struct_hppa.h:
8952 * tests/check/libs/libsabi.c:
8953 * tests/check/libs/struct_hppa.h:
8954 Add ABI structs for HPPA (see #393796).
8956 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8958 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8959 Actually write ABI structs to the file specified in the GST_ABI
8960 environment variable, as the message we print claims we would.
8962 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8964 * tests/check/gst/gsttask.c:
8967 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8969 * gst/gsttaglist.c: (_gst_tag_initialize):
8970 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8971 previous two entries.
8973 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8975 * docs/gst/gstreamer-sections.txt:
8976 * gst/gsttaglist.c: (_gst_tag_initialize):
8978 Add tag support for beat-per-minute.
8980 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8982 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8983 (gst_registry_binary_initialize_magic),
8984 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8985 (gst_registry_binary_save_pad_template),
8986 (gst_registry_binary_save_feature),
8987 (gst_registry_binary_save_plugin),
8988 (gst_registry_binary_write_cache),
8989 (gst_registry_binary_check_magic),
8990 (gst_registry_binary_load_pad_template),
8991 (gst_registry_binary_load_feature),
8992 (gst_registry_binary_load_plugin),
8993 (gst_registry_binary_read_cache):
8994 * gst/gstregistrybinary.h:
8995 Use glib types, cleanup comments, impement interfaces and uri-types.
8997 2007-01-13 Andy Wingo <wingo@pobox.com>
8999 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9000 getrange() to return buffers with other caps, while we fix
9001 demuxers and typefind, or otherwise change part-negotiation.txt.
9003 2007-01-12 Andy Wingo <wingo@pobox.com>
9005 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9006 Factor start/stop into this private function instead of partially
9007 in activate functions and partially in the change_state function.
9008 Fixes setup before the element has changed from READY->PAUSED, as
9009 is the case in pull-mode pipelines.
9010 (gst_base_transform_sink_activate_push)
9011 (gst_base_transform_src_activate_pull): Refactor to use
9012 gst_base_transform_activate().
9013 (gst_base_transform_change_state): Removed, not needed any more.
9015 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9016 Truncate before fixating.
9018 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9019 Don't set_caps() if the result of fixating is ANY, as it's not
9020 supported, and not necessary in the case of a link with no
9021 template caps on either side. Fixes tests/check/libs/basesrc in
9022 some pull-mode tests.
9024 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9025 (gst_base_transform_init, gst_base_transform_sink_activate_push)
9026 (gst_base_transform_src_activate_pull):
9027 Track the activation mode.
9028 (gst_base_transform_setcaps): In pull mode, when activating the
9029 src pad, after activating the sink pad, activate the sink pad's
9030 peer, as discussed in part-negotiation.txt.
9032 * libs/gst/base/gstbasesrc.h:
9033 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9034 vmethod, as in basesink.
9036 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9038 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9039 mode, first proxy the setcaps to the peer pad.
9040 (gst_base_sink_pad_fixate): Add a fixate function that calls the
9042 (gst_base_sink_default_activate_pull): Rename from
9043 gst_base_sink_activate_pull.
9044 (gst_base_sink_negotiate_pull): New function, performs negotiation
9045 in pull mode before calling ::activate_pull().
9046 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9047 vmethod instead of the default implementation. I have no idea how
9048 this worked before. Negotiate before calling activate_pull.
9050 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9051 sink pads in pull mode. In addition to being correct, fixes
9052 filesrc ! decodebin ! identity ! fakesink.
9053 (gst_pad_get_range, gst_pad_pull_range): Don't call
9054 gst_pad_set_caps() if the caps changes; instead error out with
9055 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9057 2007-01-12 Andy Wingo <wingo@pobox.com>
9059 * docs/design/part-negotiation.txt: Update with more policy.
9061 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9063 * libs/gst/check/gstbufferstraw.h:
9064 * libs/gst/check/gstcheck.h:
9065 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9068 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9070 * tests/check/Makefile.am:
9071 * tests/check/gst/.cvsignore:
9072 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9073 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9074 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9075 (GST_START_TEST), (gst_tag_setter_suite):
9076 Add minimal unit test for beforementioned GstTagSetter bug.
9078 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9080 Patch by: René Stadler <mail at renestadler dot de>
9082 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9083 gst_tag_list_merge() returns a new list, so it's not the best idea
9084 to ingore its return value. Effectively meant that tags could only
9085 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9086 Also add function guard to require a non-NULL taglist as input (has
9087 always been so due to gst_tag_list_copy(), just making it explicit).
9089 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9091 * docs/random/draft-missing-plugins.txt:
9092 Some additions: mention new API that is supposed to be used at the
9093 various stages; short blob about new gst-inspect introspection
9094 option; mention potential future problem with plugins that have
9095 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9097 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9099 * tools/gst-inspect.c:
9100 (print_plugin_automatic_install_info_codecs),
9101 (print_plugin_automatic_install_info_protocols),
9102 (print_plugin_automatic_install_info), (main):
9103 Add --print-plugin-auto-install-info option to gst-inspect, so we can
9104 introspect plugin files and get machine-parsable output that corresponds
9105 to the last bit of the missing-plugin installer string (small gotcha:
9106 doesn't take into account ranks).
9108 2007-01-11 Stefan Kost <ensonic@users.sf.net>
9111 * docs/gst/gstreamer-sections.txt:
9113 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9114 (gst_registry_lookup_locked):
9115 * gst/gstregistry.h:
9116 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9117 (gst_registry_binary_initialize_magic),
9118 (gst_registry_binary_save_string),
9119 (gst_registry_binary_save_pad_template),
9120 (gst_registry_binary_save_feature),
9121 (gst_registry_binary_save_plugin),
9122 (gst_registry_binary_write_cache),
9123 (gst_registry_binary_check_magic),
9124 (gst_registry_binary_load_pad_template),
9125 (gst_registry_binary_load_feature),
9126 (gst_registry_binary_load_plugin),
9127 (gst_registry_binary_read_cache):
9128 * gst/gstregistrybinary.h:
9129 * gst/gstregistryxml.c: (load_feature),
9130 (gst_registry_xml_read_cache):
9131 commit binary registry (disabled by default, see #359653)
9133 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9135 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9136 Fix 'make check' too.
9138 2007-01-10 Andy Wingo <wingo@pobox.com>
9140 * docs/design/part-negotiation.txt: Fix a typo, add a couple
9143 * docs/design/part-negotiation.txt: Update with, um, one way that
9144 pull-mode negotiation might work?
9147 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9148 that the pad must be a src pad; makes sense to call it the other
9149 way in pull mode, and the logic is symmetric anyway.
9151 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
9153 * plugins/elements/gstfilesink.c:
9154 Include <stdio.h> for fseeko().
9156 2007-01-10 Wim Taymans <wim@fluendo.com>
9160 Reserve LATENCY event.
9162 2007-01-09 Wim Taymans <wim@fluendo.com>
9164 * docs/design/draft-latency.txt:
9167 2007-01-09 Wim Taymans <wim@fluendo.com>
9169 * docs/design/draft-latency.txt:
9173 * gst/gststructure.c:
9177 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9179 * tests/check/.cvsignore:
9180 Ignore test-registry.xml as well.
9182 2007-01-09 Wim Taymans <wim@fluendo.com>
9184 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9185 unref data at the end when we are done with the pad.
9187 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9189 * docs/gst/gstreamer-sections.txt:
9190 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9191 (init_post), (gst_deinit), (gst_update_registry):
9193 API: add gst_update_registry() (#391296).
9195 * tests/check/Makefile.am:
9196 * tests/check/gst/gstregistry.c:
9197 * tests/check/gst/.cvsignore:
9198 Simple unit test for the above.
9200 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9202 * gst/gstregistry.c: (gst_registry_scan_path_level):
9203 Plugin extension on HP-UX is .sl, add that to the list of approved
9204 plugin extensions (see #393796).
9206 * tests/check/gst/gstpad.c: (GST_START_TEST):
9207 ulong => gulong. Fixes compilation with HP-UX compiler.
9209 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9210 Fix compilation if valgrind headers are not available.
9212 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9214 * win32/common/libgstreamer.def:
9215 Add new exported function.
9216 * win32/vs6/libgstbase.dsp:
9217 Add gstdataqueue.c to the build.
9218 * win32/vs6/libgstcoreelements.dsp:
9219 Add gstmultiqueue.c to the build.
9221 2007-01-06 Andy Wingo <wingo@pobox.com>
9223 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9224 activate_pull(), providing for a way to specialize the process of
9225 spawning a thread to pull on the sink pad. There is a default
9228 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9229 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9230 (gst_base_sink_init): Renamed pad activation functions (inserting
9231 "_pad" in their names). Refactor to use the new activate_pull
9232 vmethod, as appropriate.
9233 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9234 default activate_pull function to start a task pulling from the
9235 sink pad, as before.
9237 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9238 on the pads if necessary, as in push()/chain(). Update docs.
9239 Shouldn't affect existing pull() usage as it is currently only
9240 being used on buffers without caps.
9242 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9244 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9246 Call g_thread_init() first thing in gst_init() / gst_check_init().
9247 When initialisation is done via gst_init_get_option_group() and
9248 GOption parsing, issue a warning if the GLib thread system has not
9249 been initialised yet by the time gst_init_get_option_group() is
9250 called, as it's quite likely other GLib functions such as
9251 g_option_context_new() have been called already then, and
9252 g_thread_init() must be called before any other GLib function. The
9253 application in question must be fixed in that case, since memory
9254 corruption might happen otherwise.
9255 We issue the warning because even if the GLib folks decide to work
9256 around the problem on their end in future, this is still an issue
9257 with all GLib versions >= 2.10.0, so we should warn until we depend
9258 on a GLib version we know to be safe.
9259 Update documentation as well.
9262 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9264 * tools/gst-inspect.c: (main):
9265 * tools/gst-launch.c: (main):
9266 * tools/gst-typefind.c: (main):
9267 * tools/gst-xmlinspect.c: (main):
9268 Call g_thread_init() really really early, before any other GLib
9269 function (see #342564 and recent discussion on gtk-devel-list).
9271 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9273 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9275 * gst/gst_private.h:
9276 * gst/gstconfig.h.in:
9278 On win32, all the __declspec stuff for symbol exporting is
9279 apparently only needed with MSVC, but doesn't work with MingW.
9280 Fixes compilation with MingW and #391909.
9282 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9284 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9285 Change some GST_ERROR_OBJECT that aren't really errors to
9286 GST_WARNING_OBJECT in order to reduce terminal spam.
9288 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9290 * tests/check/Makefile.am:
9291 disable test again, as there seem to be still race problems
9293 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9295 * tests/check/Makefile.am:
9296 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9297 (GST_START_TEST), (queue_suite):
9298 enable queue test again, add tests for the leaky behaviour
9300 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9303 * tests/examples/Makefile.am:
9304 Compile adapter test/example only if the required headers are
9305 available (fixes #391915).
9307 2007-01-01 David Schleef <ds@schleef.org>
9310 Restore the previous signal handler for SIGSEGV instead of
9311 setting to default, since we may have stolen it away from
9312 someone. (i.e., Mono)
9314 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9316 * docs/random/draft-missing-plugins.txt:
9317 Some small additions and clarifications.
9319 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9321 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9322 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9323 since that can lead to random memory corruptions and crashes
9324 (may or may not be related to #383244, #386711, and #386711).
9326 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9328 * tests/check/.cvsignore:
9329 * tests/check/Makefile.am:
9330 sync .cvsignome and CLEANFILES
9332 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9334 * tests/check/Makefile.am:
9337 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9339 * docs/design/part-states.txt:
9340 two tiny additional comments
9342 * gst/gststructure.c:
9345 * tests/check/Makefile.am:
9346 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9348 disable test for now, unless it gets fixed
9350 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9352 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9354 fix race in underrun test
9356 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9358 * tests/check/elements/.cvsignore:
9361 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9363 try to narrow test failure
9365 2006-12-21 David Schleef <ds@schleef.org>
9367 * plugins/elements/gstfakesrc.c:
9368 Use g_random_int_range(), since it produces better random
9369 numbers in a range than almost-correct floating point code.
9371 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9373 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9374 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9375 (gst_check_teardown_sink_pad):
9376 do not automatically (de)activate pads
9378 * tests/check/Makefile.am:
9379 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9380 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9381 add new, yet simple tests for queue
9383 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9384 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9385 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9387 * tests/check/elements/identity.c: (cleanup_identity):
9388 consistent pad (de)activation
9390 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9392 Patch by: Sebastian Dröge <slomo ubuntu com>
9394 * libs/gst/base/gstcollectpads.c:
9395 Fix two doc typos (#387866).
9397 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9399 * docs/manual/advanced-dparams.xml:
9400 Fix typo (g_object_control_properties() doesn't exist).
9402 2006-12-19 Edward Hervey <edward@fluendo.com>
9404 * gst/gstsegment.c: (gst_segment_set_seek):
9405 Fine tune the cases where the segment start/stop values are really
9407 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9408 Add tests for the return values of gst_segment_set_seek().
9410 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9415 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9417 Fix incorrect documentation and flesh it out a bit more.
9418 Set default values for the max properties on the GParamSpec as well,
9419 so it shows up correctly in gst-inspect.
9421 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9423 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9424 Correct docs of queue, add more detail and crosslink it more.
9426 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9428 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9429 Print additional debug info when the stream isn't perfectly
9430 timestamped; don't try to use invalid durations.
9432 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9434 * docs/design/Makefile.am:
9435 Dist new design docs.
9437 2006-12-16 Wim Taymans <wim@fluendo.com>
9439 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9441 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9442 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9443 (gst_collect_pads_stop), (gst_collect_pads_event),
9444 (gst_collect_pads_chain):
9445 * libs/gst/base/gstcollectpads.h:
9446 Add refcounting to the collectpads data so we can track when it's safe
9447 to free the data. Fixes #383382.
9449 2006-12-15 Wim Taymans <wim@fluendo.com>
9451 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9452 (gst_collect_pads_remove_pad):
9453 Automatically activate/deactivate pads when they are added to a
9454 started/stoped collectpads.
9456 2006-12-15 Wim Taymans <wim@fluendo.com>
9458 * gst/gstelement.c: (gst_element_add_pad):
9459 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9460 * gst/gstpad.c: (gst_pad_init):
9461 Set pads to FLUSHING when they are created. Check, warn and fix when a
9462 demuxer adds an inactive pad to itself when running. Fixes #339326.
9464 2006-12-15 Wim Taymans <wim@fluendo.com>
9466 * gst/gstelement.c: (gst_element_class_init),
9467 (gst_element_default_send_event), (gst_element_send_event),
9468 (gst_element_default_query), (gst_element_query):
9469 Expose default element send_event and query handling as vmethods that
9470 subclasses can chain up to.
9472 2006-12-15 Wim Taymans <wim@fluendo.com>
9474 * gst/gstelement.c: (gst_element_set_state_func):
9475 Small documentation fixes.
9477 2006-12-15 Wim Taymans <wim@fluendo.com>
9479 * docs/design/draft-latency.txt:
9480 Checked in draft for handling latency in pipelines.
9482 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9486 * gstreamer.spec.in:
9489 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9491 * gst/gst.c: (init_pre), (init_post):
9492 init_pre() and init_post() might be called via our GOptionGroup or
9493 from gst_init(), and we should skip both of them if we've already
9494 been initialised, otherwise we will init some things twice or add
9495 two default log functions.
9497 2006-12-13 Edward Hervey <edward@fluendo.com>
9499 * docs/manual/basics-bus.xml:
9500 No, gst_main_loop does not exist. Its g_main_loop.
9501 Discovered by somebody who abused the copy-paste technique of coding :)
9503 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9505 * gst/gstghostpad.c:
9506 Log ghostpad debug stuff to the GST_PADS category as well rather
9507 than just to the default category.
9509 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9512 * gst/gst.c: (init_pre):
9513 Add some basic system details such as OS and architecture
9514 to the debug output if possible, courtesy of uname().
9516 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9518 * docs/gst/running.xml:
9519 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9520 environment variables.
9522 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9524 * tests/check/gst/gstbin.c: (GST_START_TEST):
9525 It is acceptable to have a refcount of 2 or 3 at this point in the
9526 test, because the pipeline might be just posting its state_change
9527 message. The next line then waits for that message to appear using
9528 bus_poll, so that should be fine too.
9530 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9532 * gst/gst.c: (ensure_current_registry_forking):
9533 Ignore EINTR when reading from the child registry pipe.
9534 Explicitly ignore the return value from close, since it makes no
9537 * gst/gstminiobject.c: (gst_mini_object_ref),
9538 (gst_mini_object_unref):
9539 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9541 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9542 When removing cached plugins, remove their features too, so they're
9543 not visible after they've disappeared.
9545 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9546 In the unlikely case that we are linking pads with no parents, don't
9547 crash trying to get the non-existent parent bin.
9549 * gst/parse/grammar.y:
9550 Output debug in the PIPELINE category
9552 2005-03-08 Wim Taymans <wim@fluendo.com>
9554 Patch by: René Stadler <mail at renestadler dot de>
9556 * gst/gstclock.c: (gst_clock_new_periodic_id):
9557 Reject invalid clock times for interval of periodic ids.
9560 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9562 * gst/gstelementfactory.c: (gst_element_factory_create):
9563 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9564 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9565 * tools/gst-inspect.c: (print_element_info):
9566 Fix refcounting of gst_plugin_feature_load to match the docs.
9569 2006-12-07 Wim Taymans <wim@fluendo.com>
9571 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9572 (gst_base_sink_get_position):
9573 Improve debugging of events.
9575 2006-12-07 Wim Taymans <wim@fluendo.com>
9577 Patch by: René Stadler <mail at renestadler dot de>
9579 * gst/gstclock.c: (gst_clock_id_wait):
9580 Make period ids add the interval to the origial requested time instead
9581 of the possibly updated time which can be wrong when there are multiple
9582 waiters for the same id. Fixes #382592.
9584 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9585 (gst_system_clock_id_wait_jitter_unlocked),
9586 (gst_system_clock_id_wait_jitter):
9587 Fix restart in the async notify thread when an async entry is added to
9588 the front of the list. Fixes #381492.
9590 * tests/check/gst/gstsystemclock.c: (store_callback),
9591 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9592 Added test for multiple async waits.
9593 Added test for async wait order.
9595 2006-12-07 Wim Taymans <wim@fluendo.com>
9597 * gst/gstbin.c: (gst_bin_query):
9598 Add some more docs about the POSITION query.
9600 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9603 Bump version nano - back to CVS.
9605 === release 0.10.11 ===
9607 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9610 releasing 0.10.11, "Love never runs on time"
9612 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9614 * win32/common/libgstbase.def:
9615 * win32/common/libgstreamer.def:
9616 * win32/vs8/libgstbase.vcproj:
9617 * win32/vs8/libgstcoreelements.vcproj:
9618 * win32/vs8/libgstreamer.vcproj:
9619 Fix compilation on win32 under VS8
9620 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9621 Partially fixes #381175
9623 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9625 * gst/gstvalue.c: (gst_value_compare_fraction):
9626 If someone is foolish enough to compare 2 fractions with denominator =
9627 0, return UNORDERED rather than aborting.
9629 2006-11-28 Edward Hervey <edward@fluendo.com>
9631 * libs/gst/base/Makefile.am:
9632 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9633 (gst_data_queue_base_init), (gst_data_queue_class_init),
9634 (gst_data_queue_init), (gst_data_queue_new),
9635 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9636 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9637 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9638 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9639 (gst_data_queue_set_flushing), (gst_data_queue_push),
9640 (gst_data_queue_pop), (gst_data_queue_drop_head),
9641 (gst_data_queue_set_property), (gst_data_queue_get_property):
9642 * libs/gst/base/gstdataqueue.h:
9643 New GstDataQueue object for threadsafe queueing. Most useful for
9644 elements that need some queueing functionnality.
9645 * docs/libs/gstreamer-libs-docs.sgml:
9646 * docs/libs/gstreamer-libs-sections.txt:
9647 Insert documentation for GstDataQueue
9648 * plugins/elements/Makefile.am:
9649 * plugins/elements/gstelements.c:
9650 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9651 (gst_multi_queue_class_init), (gst_multi_queue_init),
9652 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9653 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9654 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9655 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9656 (gst_multi_queue_loop), (gst_multi_queue_chain),
9657 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9658 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9659 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9660 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9661 (wake_up_next_non_linked), (compute_next_non_linked),
9662 (single_queue_overrun_cb), (single_queue_underrun_cb),
9663 (single_queue_check_full), (gst_single_queue_new):
9664 * plugins/elements/gstmultiqueue.h:
9665 New multiqueue element, using GstDataQueue. Used for queuing multiple
9667 Closes #344639 and #347785
9669 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9671 * docs/pwg/advanced-types.xml:
9672 add more missing type details
9674 * tools/gst-run.c: (main):
9675 remove unused variable
9677 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9679 * docs/libs/Makefile.am:
9680 * docs/libs/gstreamer-libs.types:
9681 add types of base classes to enable gobject specific stuff in the docs
9683 * docs/random/ensonic/embedded.txt:
9684 more ideas about isolating platform specific things
9686 2006-11-20 Wim Taymans <wim@fluendo.com>
9688 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9690 * libs/gst/check/gstcheck.h:
9691 Fix compilation and running against 0.9.4. Fixes #377332.
9693 2006-11-20 Wim Taymans <wim@fluendo.com>
9695 * gst/gstsegment.c: (gst_segment_set_seek),
9696 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9697 (gst_segment_to_running_time):
9698 Fix boundary checking in to_running_time() and to_stream_time().
9701 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9702 stream and running time can now be calculated for the complete
9705 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9707 * gst/gstpad.c: (gst_pad_push_event):
9708 Can't access event structure after giving away ownership of
9711 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9713 * docs/random/ensonic/embedded.txt:
9714 * docs/random/ensonic/profiling.txt:
9715 * docs/random/ensonic/receipies.txt:
9718 2006-11-13 Wim Taymans <wim@fluendo.com>
9720 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9723 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9725 2006-11-13 Wim Taymans <wim@fluendo.com>
9727 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9729 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9730 Store new length in segment duration so we don't keep on calling the
9731 potentially expensize get_size() call. Fixes #370865.
9733 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9735 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9737 * win32/common/libgstreamer.def:
9738 Add two missing symbols (#366492).
9740 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9742 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9743 (gst_adapter_take_buffer):
9744 Fix format string to use all its arguments.
9745 Remove useless >= check on a guint
9747 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9749 * tests/examples/adapter/.cvsignore:
9750 Ignore build file as commanded by the build-bot
9752 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9754 * tests/examples/adapter/Makefile.am:
9755 * tests/examples/adapter/adapter_test.c: (run_test_take),
9756 (run_test_take_buffer), (run_tests), (main):
9758 Add new files from the previous commit
9760 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9764 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9765 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9766 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9767 * libs/gst/base/gstadapter.h:
9768 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9769 (GST_START_TEST), (gst_adapter_suite):
9770 * tests/examples/Makefile.am:
9771 Do some optimisation work in GstAdapter to avoid copies in more cases.
9772 It could still do slightly better by merging buffers when
9773 gst_buffer_is_span_fast is true, but is already faster.
9775 Also, avoid traversing a single-linked list to append each incoming
9776 buffer inside the adapter.
9778 Add simple test app that times the adapter behaviour in different
9779 situations, and extend the unit test to check that bytes enter and
9780 exit the adapter in their original order.
9782 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9784 * docs/random/draft-missing-plugins.txt:
9785 Update: use element message instead of adding a new message
9786 type to the core; don't provide GStreamer API to initiate the
9787 plugin download, just provide API to compose the strings needed
9788 and let an external libgimmestuff handle the rest.
9790 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9792 * tools/gst-inspect.c: (print_element_properties_info):
9793 Print a string instead of 'unknown type' for GValueArray properties
9795 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9797 * docs/random/draft-missing-plugins.txt:
9800 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9802 * tests/examples/typefind/typefind.c: (type_found), (main):
9803 Make typefind element example work again (#371894); add a
9806 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9808 * docs/random/draft-missing-plugins.txt:
9809 Commit initial draft about how to deal with missing plugins,
9810 needs work (API too).
9812 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9814 * docs/pwg/advanced-types.xml:
9815 documents the new caps elements (see #363118)
9817 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9819 * gst/gstplugin.c: (gst_plugin_load_file):
9820 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9821 (gst_file_src_map_region), (gst_file_src_start):
9822 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9823 (gst_file_index_commit):
9824 Use g_strerror() instead of strerror() - we want UTF-8.
9826 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9828 Patch by: Peter Kjellerstedt <pkj at axis com>
9830 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9831 Another printf fix (#371493).
9833 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9835 * tests/check/gst/gsttag.c:
9836 relicence (okay with author=company)
9838 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9840 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9841 (gst_pad_push_event):
9842 Enhance debug and improve docs
9847 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9849 * docs/random/ensonic/distributed.txt:
9850 * docs/random/ensonic/profiling.txt:
9853 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9855 * docs/gst/gstreamer-sections.txt:
9856 add new API and fix the build
9858 * gst/gstbin.c: (gst_bin_recalc_state):
9859 * gst/gstelement.c: (gst_element_message_full),
9860 (gst_element_get_state_func), (gst_element_set_state_func):
9861 use new API and improve logging
9863 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9865 API: add function to get StateChangereturn names to improve logs
9867 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9869 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9870 I'm considering shooting the next person to put strerror stuff
9871 in the translateable part of the message.
9873 2006-11-03 Wim Taymans <wim@fluendo.com>
9875 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9876 Get the type and printf conversion specifiers right.
9878 2006-11-03 Wim Taymans <wim@fluendo.com>
9880 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9882 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9883 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9884 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9885 Some small cleanups. Improve debugging.
9887 Signal all waiting threads with a broadcast instead of just one.
9890 2006-11-03 Wim Taymans <wim@fluendo.com>
9892 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9893 (gst_fd_src_create):
9895 Only update fd when it's different from the old.
9897 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9899 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9900 Printf fixes for PPC/OSX, take two (#369366).
9902 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9904 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9906 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9907 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9908 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9909 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9910 don't cast to long long for portability reasons, but use
9911 GLib's types instead.
9913 2006-10-30 Michael Smith <msmith@fluendo.com>
9915 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9916 Get the arguments to lseek() the right way around.
9919 2006-10-30 Wim Taymans <wim@fluendo.com>
9921 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9924 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9926 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9928 Patch by: Kjartan Maraas <kmaraas at gnome org>
9930 * docs/design/part-MT-refcounting.txt:
9931 * docs/random/wtay/capsnego2-docs:
9934 Typo fixes (#366212).
9936 2006-10-28 Wim Taymans <wim@fluendo.com>
9938 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9941 * win32/common/libgstbase.def:
9942 * win32/common/libgstreamer.def:
9943 * win32/vs8/libgstbase.vcproj:
9944 * win32/vs8/libgstcontroller.vcproj:
9945 Add needed entries in .def files.
9947 Rearrange def files in vs8 solutions. Fixes #366286.
9949 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9951 * win32/common/gstconfig.h:
9952 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9953 hand-made win32 gstconfig.h. Fixes #366321.
9955 2006-10-27 Wim Taymans <wim@fluendo.com>
9957 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9958 (gst_ghost_pad_new_full):
9959 Make acceptcaps return TRUE when we don't have a target, just like
9962 2006-10-27 Wim Taymans <wim@fluendo.com>
9964 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9965 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9967 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9969 * gst/gststructure.c: (gst_structure_id_set_value):
9970 If someone tries to set a non-UTF8 string field on a structure,
9971 don't just print a warning, but also ignore the request and do
9972 not change/add that field to the structure.
9974 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9977 2006-10-25 David Schleef <ds@schleef.org>
9980 g_hash_table_insert() needs a cast to a non-const pointer duh.
9982 2006-10-25 David Schleef <ds@schleef.org>
9986 Change name parameter of _gst_debug_register_funcptr to const
9987 to reflect the constness of its use in the function as well
9988 as to quiet a gcc warning.
9990 2006-10-25 Edward Hervey <edward@fluendo.com>
9992 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9993 Don't push the buffer if it's empty.
9996 2006-10-24 Wim Taymans <wim@fluendo.com>
10001 * libs/gst/base/gstbasetransform.c:
10002 (gst_base_transform_sink_eventfunc):
10003 Debug segment values *after* updating them as this is more
10006 2006-10-23 Wim Taymans <wim@fluendo.com>
10008 * docs/design/part-events.txt:
10011 * docs/design/part-block.txt:
10012 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10013 (gst_pad_push_event):
10014 Revert BLOCKING patch, it tries to be smart without really having a
10015 clear idea what or how. So, now we discard all FLUSHING events again on
10016 a blocking pad. Should fix gnonlin again.
10018 2006-10-23 Wim Taymans <wim@fluendo.com>
10020 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10022 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10023 (gst_base_src_start), (gst_base_src_activate_push):
10024 Make sure size is always initialized. Fixes #364388.
10026 2006-10-20 Stefan Kost <ensonic@users.sf.net>
10028 * docs/random/ensonic/distributed.txt:
10029 add some ideas about doing distributed processing
10031 * docs/random/ensonic/profiling.txt:
10032 get_rusage look promising
10034 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10036 * docs/manual/basics-helloworld.xml:
10037 Add a cast in example to fix compile warning
10039 2006-10-18 Wim Taymans <wim@fluendo.com>
10041 * gst/gstsegment.c: (gst_segment_set_last_stop),
10042 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10043 Relax arg checking again, -1 is allowed.
10045 2006-10-18 Wim Taymans <wim@fluendo.com>
10047 * gst/gstsegment.c: (gst_segment_set_last_stop),
10048 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10049 _set_last_stop() must be with a value != -1
10050 A _TYPE_SET to -1 means seek to 0.
10051 Calc last_stop correctly for negative rates.
10052 Make sure we work with positive durations when updating a segment.
10054 2006-10-18 Wim Taymans <wim@fluendo.com>
10056 * docs/design/part-live-source.txt:
10060 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
10063 Add an explicit cast to GstBuffer** to keep old code that added an
10064 explicit cast to GstMiniObject** for gst_mini_object_replace()
10065 compiling without warning.
10067 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10069 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10070 check for validity of dates
10072 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10074 * docs/gst/gstreamer-sections.txt:
10075 Forgot this one, makes gtk-doc shut up.
10077 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10079 Patch by: Peter Kjellerstedt <pkj at axis com>
10082 Don't define xmlNodePtr to gpointer if the core was built with
10083 --disable-loadsave and --disable-registry, this will break
10084 applications that want to use libxml2 but are buildling against a
10085 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10086 instead so we don't have to mess with the libxml2 namespace
10089 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10092 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10093 type-punned pointer warnings.
10095 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
10097 * gst/gstelement.h:
10098 Add casts to the correct return type to state <=> state transition
10101 2006-10-16 Stefan Kost <ensonic@users.sf.net>
10103 * docs/design/part-live-source.txt:
10104 describe howto handle latency
10106 * docs/random/ensonic/profiling.txt:
10109 * tools/gst-plot-timeline.py:
10110 fix log parsing for solaris, remove unused function
10112 2006-10-16 Wim Taymans <wim@fluendo.com>
10114 * docs/design/part-trickmodes.txt:
10116 Update some docs regarding reverse playback.
10118 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
10120 Patch by: Marcus Granado <mrc dot gran at gmail com>
10122 * win32/vs8/grammar.vcproj:
10123 Error out with a warning if glib-genmarshal.exe is not in path,
10124 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10126 2006-10-13 Wim Taymans <wim@fluendo.com>
10128 * gst/gstsegment.c: (gst_segment_set_seek):
10129 When seeking to stop -1, set last_stop (current position) to the
10130 duration of the segment.
10132 2006-10-13 Wim Taymans <wim@fluendo.com>
10134 * gst/gstelement.h:
10135 Clarify _NO_PREROLL a bit more.
10140 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10141 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10142 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10143 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10144 due to wrong locking order. Fixes #361769.
10145 Remove some redundant/misplaced checks in pad_block.
10147 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10148 For negative rates, count backwards from the duration.
10150 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
10152 * gst/gsterror.c: (_gst_library_errors_init):
10153 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10154 up with something better).
10156 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10158 * win32/vs6/libgstreamer.dsp:
10159 * win32/vs7/libgstreamer.vcproj:
10160 * win32/vs8/libgstreamer.vcproj:
10161 Don't reference glib-compat.c which is currently not used and not
10162 disted; add gstquark.c which was recently added. Fixes #361730.
10164 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10166 * win32/common/libgstbase.def:
10167 * win32/common/libgstcontroller.def:
10168 * win32/common/libgstreamer.def:
10169 Add gst_caps_merge() and a bunch of other recently-added functions.
10172 2006-10-11 Wim Taymans <wim@fluendo.com>
10174 * docs/plugins/gstreamer-plugins.args:
10175 * docs/plugins/inspect/plugin-coreelements.xml:
10176 * docs/plugins/inspect/plugin-coreindexers.xml:
10177 Update element args.
10179 * gst/gstsystemclock.c:
10180 Small comment update.
10182 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10183 (gst_tee_request_new_pad), (gst_tee_release_pad),
10184 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10185 (gst_tee_sink_activate_pull):
10186 * plugins/elements/gsttee.h:
10188 Add default property defines.
10189 Implement release pad function.
10190 Give properties better blubs etc.
10191 Activate pads before adding them to a running tee.
10192 Do simple buffer_alloc on the first requested pad.
10193 Post error when activation fails.
10195 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10197 * gst/gst.c: (ensure_current_registry_forking):
10198 Check return value of write() to make compiler happy.
10200 2006-10-11 Wim Taymans <wim@fluendo.com>
10202 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10204 * plugins/elements/gstqueue.c: (gst_queue_chain):
10205 Recheck queue filledness after signalling the overrun when we're about
10206 to leak downstream because we released the lock when emitting the signal
10207 and the queue could be empty again. Fixes #352345.
10209 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10211 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10212 Fix refcounting here too, just like we did for _new_valist() a few
10213 days ago (#357180) (thanks to René Stadler). Also remove all those
10214 'Since: 0.9' from the gtk-doc blobs.
10216 * tests/check/libs/controller.c: (controller_refcount_new_list),
10217 (gst_controller_suite):
10218 Unit test for the above.
10220 2006-10-10 Wim Taymans <wim@fluendo.com>
10222 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10224 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10225 (gst_pad_save_thyself):
10227 Write pad direction in XML output. Fixes #345496.
10229 2006-10-10 Wim Taymans <wim@fluendo.com>
10231 Patch by: René Stadler <mail at renestadler dot de>
10233 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10234 (gst_controller_new_list), (_gst_controller_dispose),
10235 (_gst_controller_finalize), (_gst_controller_class_init):
10236 Take ref to controlled object so that it cannot disappear.
10239 2006-10-10 Wim Taymans <wim@fluendo.com>
10241 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10242 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10243 (gst_check_teardown_sink_pad):
10244 Activate/deactivate pads in setup/teardown respectively.
10246 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10248 Patch by: Josep Torra Valles <josep@fluendo.com>
10251 Cast values when making gstenumtypes.h. This pacifies Forte
10252 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10253 in the enumeration.
10255 2006-10-09 Wim Taymans <wim@fluendo.com>
10257 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10258 Rename some more @cur to @start to fix docs.
10260 * gst/gstsegment.c: (gst_segment_set_seek):
10262 time and start must always stay in sync as defined in design doc.
10264 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10265 Rename param to fix docs.
10267 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10268 Check that start and time are in sync.
10270 * tests/check/pipelines/parse-launch.c:
10271 (gst_parse_test_element_change_state):
10272 Activate pad before adding to the element.
10274 2006-10-09 Wim Taymans <wim@fluendo.com>
10276 * docs/design/part-qos.txt:
10281 Update seek event docs regarding negative rates.
10282 Rename @cur to @start.
10284 * gst/gstsegment.c: (gst_segment_set_seek):
10285 * gst/gstsegment.h:
10286 Update set_seek docs regarding negative rates.
10287 Correctly update last_stop to @stop when dealing with negative
10289 Rename @cur to @start.
10291 * tests/check/gst/gstpad.c: (GST_START_TEST):
10292 Activate pads before trying to use them.
10294 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10295 (gst_segment_suite):
10296 Add simple check for segments and negative rates.
10298 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10300 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10301 * gst/gsttaglist.h:
10302 * docs/gst/gstreamer-sections.txt:
10303 API: add gst_tag_list_is_empty() (#360467).
10305 * tests/check/gst/gsttag.c: (GST_START_TEST):
10308 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10310 * gst/gstmessage.h:
10311 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10312 a value that doesn't fit on enumeration.
10314 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10316 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10317 Remove local debugging system and use Gstreamer's instead.
10319 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10321 Patch by: Josep Torra Valles <josep@fluendo.com>
10323 * common/m4/gst-error.m4:
10324 Disable warning of statement not reached on Forte.
10325 * gst/gstmessage.h:
10326 Fix warning on Forte (value doesn't fit on enumeration).
10327 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10328 Fix warning on Forte (value doesn't fit on enumeration).
10329 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10330 DEBUG macro says it takes minimum of 2 args and so Forte
10331 complains about the use with just 1 arg.
10332 * plugins/elements/gstfdsink.c:
10333 * plugins/elements/gstfdsrc.c:
10334 * plugins/elements/gstfilesink.c:
10335 * plugins/elements/gstfilesrc.c:
10336 Use correct return type for the uri handler implementations.
10338 All these fix warnings in Forte. Fixes bug #360860.
10340 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10342 * gst/gstelement.h:
10343 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10344 format string, so don't use G_GNUC_PRINTF for those versions.
10346 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10348 * gst/gsttaglist.c: (gst_is_tag_list):
10349 * gst/gsttaglist.h:
10350 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10352 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10353 Small test for the above.
10355 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10357 * gst/gsttaglist.h:
10358 Less tabs, more spaces.
10360 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10363 Those two function declarations do actually belong there, revert
10364 commit from yesterday that turned them intro macros.
10366 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10368 Patch by: Josep Torra Valles <josep@fluendo.com>
10370 * gst/gst.c: (gst_init_get_option_group):
10371 Fix empty declaration and type mismatch.
10372 * gst/gstbin.c: (gst_bin_change_state_func):
10374 * gst/gstelement.c: (gst_element_continue_state),
10375 (gst_element_set_state_func), (gst_element_change_state),
10376 (gst_element_change_state_func):
10377 Fix type mismatches.
10378 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10379 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10380 Cast as appropriate.
10381 * gst/gstobject.c: (gst_class_signal_connect):
10382 Cast as appropriate. The function pointer parameter really
10383 has the wrong type but would break API if we change it.
10385 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10386 order of including string.h.
10387 * gst/gstutils.c: (gst_element_state_get_name):
10388 Remove unreachable line.
10389 * gst/gstxml.c: (gst_xml_parse_doc):
10391 All these caught by Forte.
10393 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10395 Patch by: Josep Torra Valles <josep@fluendo.com>
10397 * common/m4/gst-error.m4:
10399 We need to disable warnings on Forte for empty declarations
10400 due to gst-indent adding ;s to lines that just use macros
10401 where the macro actually doesn't need a ; at end to end
10404 2006-10-06 Wim Taymans <wim@fluendo.com>
10406 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10407 (gst_file_sink_close_file), (gst_file_sink_event),
10408 (gst_file_sink_render):
10409 Add some FIXME for the NEWSEGMENT handling.
10411 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10413 * gst/parse/grammar.y:
10414 Remove static function gst_parse_element_lock as all it does
10415 is return. Looks like cruft from 0.8.
10417 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10419 Patch by: Josep Torra Valles <josep@fluendo.com>
10421 * common/m4/gst-error.m4:
10423 * libs/gst/net/Makefile.am:
10424 Fix a compilation issue with Forte on Solaris. inet_aton is in
10427 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10429 * gst/gstpad.c: (pre_activate):
10430 * gst/gstregistry.c: (gst_registry_scan_path_level):
10431 * gst/gstregistryxml.c: (load_plugin):
10432 * libs/gst/controller/gstcontroller.c:
10433 (gst_controlled_property_set_interpolation_mode):
10434 * libs/gst/dataprotocol/dataprotocol.c:
10435 (gst_dp_packet_from_event_1_0):
10436 * libs/gst/net/gstnetclientclock.c:
10437 (gst_net_client_clock_observe_times):
10438 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10441 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10444 * docs/gst/gstreamer-sections.txt:
10445 * gst/gstconfig.h.in:
10446 * gst/gstelement.h:
10448 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10449 whether we can use G_GNUC_PRINTF in other header files and at
10450 least check the printf format/arguments of debug messages and
10451 GST_ELEMENT_ERROR messages when the printf extension is not
10453 Replace more tabs with spaces in gstinfo.h and remove two spurious
10454 function declarations in GST_DISABLE_DEBUG part with macros.
10456 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10458 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10459 More docs for the sync-message signal (mention that it is not
10460 emitted by default); log message structures of messages posted on
10463 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10465 * gst/gst.c: (ensure_current_registry_forking):
10466 Use a pipe pair to receive status results from the forked child, and
10467 ignore the result from waitpid. Fixes #355499
10469 2006-10-02 Wim Taymans <wim@fluendo.com>
10471 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10472 (gst_ghost_pad_suite):
10475 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10478 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10480 2006-10-02 Edward Hervey <edward@fluendo.com>
10482 * docs/design/part-block.txt:
10483 Further explain the use of flushing on blocked pads.
10484 * docs/gst/gstreamer-sections.txt:
10485 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10486 (gst_pad_push_event):
10488 Added new GstPadFlag : GST_PAD_BLOCKING.
10489 Adds the notion of pads really blocking, which enables to properly
10490 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10492 API: gst_pad_is_blocking()
10493 API: GST_PAD_IS_BLOCKING() macro
10494 API: GST_PAD_BLOCKING GstPadFlag
10496 2006-10-02 Wim Taymans <wim@fluendo.com>
10498 Patch by: mrcgran <mrc.gran at gmail dot com>
10500 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10501 Filter the proxied caps against the padtemplate if we have one.
10503 * gst/gstquery.c: (gst_query_new_segment):
10504 Add include for gstinfo.h so that compilation with
10505 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10507 2006-10-02 Wim Taymans <wim@fluendo.com>
10509 Patch by: Alessandro Decina <alessandro at nnva org>
10511 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10512 (gst_file_sink_set_location), (gst_file_sink_open_file),
10513 (gst_file_sink_close_file), (gst_file_sink_event),
10514 (gst_file_sink_render):
10515 Set file to NULL when closing filesink so that we can set a new filename
10516 in READY. Fixes #358613.
10518 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10520 Patch by: Alessandro Decina <alessandro at nnva org>
10522 * gst/gstevent.c: (_gst_event_copy):
10523 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10524 with event structures by setting the parent refcount address of the
10525 copied structure to the address of the refcount member of the newly
10526 copied event rather than the address of the refcount member of the
10527 original event. Fixes #358737.
10529 * tests/check/gst/gstevent.c: (GST_START_TEST):
10530 Unit test for the above.
10532 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10534 * docs/design/Makefile.am:
10535 Dist some more files.
10537 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10539 * tests/check/libs/controller.c: (GST_START_TEST),
10540 (gst_controller_suite):
10541 Add test for the previous fix; add some more tests
10542 for correct refcounting behaviour; fix a few leaks
10543 in test cases; call gst_controller_init() at start
10546 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10548 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10549 (gst_controller_set_from_list):
10550 Don't g_return_val_if_fail() on timed values with invalid timestamps
10551 inside a critical section without unlocking the mutex. Spotted by
10552 René Stadler. (#357617)
10553 Also, fix up refcounting properly: when returning an existing
10554 controller, we should increase the reference only once and not
10555 once per property and when trying to control a property again
10556 we should also increase the refcount.
10558 2006-09-29 Wim Taymans <wim@fluendo.com>
10560 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10561 * libs/gst/net/gstnettimeprovider.c:
10562 (gst_net_time_provider_thread):
10563 Stop reading commands when EOF as well.
10565 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10566 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10567 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10568 Unify description of the dump property.
10570 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10572 * tests/examples/manual/.cvsignore:
10573 OK, so it's actually cvsignore that needs changing. Stop laughing.
10575 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10577 * tests/examples/manual/Makefile.am:
10578 Gah, declare vars *before* using them
10580 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10582 * gst/gst.c: (init_pre), (scan_and_update_registry),
10583 (ensure_current_registry_nonforking),
10584 (ensure_current_registry_forking), (ensure_current_registry),
10585 (init_post), (gst_debug_help), (gst_deinit):
10586 * gst/gst_private.h:
10587 * gst/gstregistry.c: (gst_registry_finalize),
10588 (gst_registry_remove_features_for_plugin_unlocked),
10589 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10590 (gst_registry_scan_path),
10591 (_priv_gst_registry_remove_cache_plugins),
10592 (_priv_gst_registry_cleanup):
10593 * gst/gstregistry.h:
10594 Re-commit the registry changes, along with an extra fix:
10595 When a cached plugin is encountered at a different file path,
10596 update the stored path in the registry cache so that the parent
10597 process knows where it actually is now when it re-reads the registry
10598 cache. Fixes the thing that broke distcheck with the previous commit.
10600 * tests/check/Makefile.am:
10601 Clean up files named 'core' too when running make clean.
10603 * tests/examples/manual/Makefile.am:
10604 Set up a registry path for running these tests, and clean it properly
10607 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10610 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10611 want gmodule-no-export-2.0.pc instead so that we don't drag in
10612 --export-dynamic on every project that links to GStreamer.
10614 Also, make our export regex only match the start of symbols, rather
10615 than any symbol that contains '_gst' somewhere.
10617 * libs/gst/check/Makefile.am:
10618 The libgstcheck we build does however need export-dynamic, as it
10619 produces some symbols that don't match our _gst... style regex.
10622 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10624 * gst/gst.c: (init_pre), (scan_and_update_registry),
10625 (ensure_current_registry_nonforking),
10626 (ensure_current_registry_forking), (ensure_current_registry),
10627 (init_post), (gst_debug_help), (gst_deinit):
10628 * gst/gst_private.h:
10629 * gst/gstregistry.c: (gst_registry_finalize),
10630 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10631 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10632 (_gst_registry_cleanup):
10633 * gst/gstregistry.h:
10634 Revert previous change until I figure out why it breaks distcheck.
10636 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10638 * gst/gst.c: (init_pre), (scan_and_update_registry),
10639 (ensure_current_registry_nonforking),
10640 (ensure_current_registry_forking), (ensure_current_registry),
10641 (init_post), (gst_debug_help), (gst_deinit):
10643 Make init_pre and init_post take the full complement of GOptionFunc
10644 args so they can return useful GErrors. Make the registry updating
10647 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10648 ensure that the registry we're about to write out doesn't contain
10649 stale information about old-deleted plugin files.
10651 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10652 that deletion of plugin files is considered a registry change.
10654 * gst/gst_private.h:
10655 * gst/gstregistry.c: (gst_registry_finalize),
10656 (gst_registry_remove_features_for_plugin_unlocked),
10657 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10658 (gst_registry_scan_path),
10659 (_priv_gst_registry_remove_cache_plugins),
10660 (_priv_gst_registry_cleanup):
10661 * gst/gstregistry.h:
10662 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10663 by adding _priv prefix, so that they won't appear in the global
10664 symbol table. They still do atm though because of #318031. Move the
10665 prototypes to gst_private.h
10667 When removing a plugin, remove all features for that plugin too.
10670 2006-09-27 Wim Taymans <wim@fluendo.com>
10672 * docs/random/moving-plugins:
10673 Make it clear that the "compiled-in descriptions" really mean
10674 the element details.
10676 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10677 (gst_base_sink_wait_preroll):
10680 * docs/libs/gstreamer-libs-sections.txt:
10681 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10682 (gst_base_src_get_range), (gst_base_src_activate_push):
10683 * libs/gst/base/gstbasesrc.h:
10684 Added function to block while waiting for PLAYING, this function
10685 is used by live sources that block on the clock.
10686 API: gst_base_src_wait_playing()
10688 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10690 Patch by: Peter Kjellerstedt <pkj at axis com>
10693 gst-element-check.m4 is generated and should therefore be
10694 copied from the build dir rather than the source dir (#357593).
10695 'make distcheck' hasn't noticed this because we were disting
10696 the file as well, so stop doing that.
10698 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10700 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10701 Add some tests for gst_caps_intersect().
10703 * tools/gst-launch.c: (event_loop):
10704 Print all buffering percentages we get, even the 100% one.
10706 2006-09-26 Wim Taymans <wim@fluendo.com>
10708 * tools/gst-inspect.c: (print_element_properties_info),
10709 (print_signal_info):
10710 Fix printing of flags to match the look of enums.
10712 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10714 * gst/gstelementfactory.c:
10715 Fix typo in docs blurb.
10717 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10719 * gst/gsturi.c: (search_by_entry):
10720 Don't assert/crash here if a uri handler doesn't return any
10721 supported protocols. The list of protocols could be generated
10722 dynamically at runtime or at plugin registration, and an error
10723 in the underlying library shouldn't be fatal (#353301).
10725 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10728 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10729 (spotted by Peter Kjellerstedt).
10731 2006-09-23 Wim Taymans <wim@fluendo.com>
10733 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10735 * libs/gst/base/gstbasesrc.c:
10736 (gst_base_src_default_check_get_range), (gst_base_src_start),
10737 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10738 (gst_base_src_change_state):
10739 Match _start/_stop calls in the activate functions. Remove redundant
10740 _stop call from the state change function. Fixes #356910.
10741 Turn failure DEBUG into ERROR.
10743 2006-09-22 Wim Taymans <wim@fluendo.com>
10745 * docs/design/part-buffering.txt:
10746 * gst/gstmessage.c: (gst_message_new_buffering),
10747 (gst_message_parse_buffering):
10748 Update docs about buffering.
10750 * docs/design/part-trickmodes.txt:
10753 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10755 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10756 (gst_controller_new_list):
10757 Ref instances when returning them again (fixes #357180)
10759 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10761 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10762 Don't forget to release proxy lock when there's an error.
10764 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10767 Add extra initialisers for Caps things, to fix some plugin warnings
10770 2006-09-18 Wim Taymans <wim@fluendo.com>
10772 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10773 Also set template on the internal pad so that a getcaps from the
10774 target pad returns the template caps.
10776 2006-09-18 Wim Taymans <wim@fluendo.com>
10778 * gst/gstelement.c: (gst_element_post_message),
10779 (gst_element_dispose):
10780 Use _DEBUG_OBJECT some more.
10782 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10785 * tools/gst-launch.c: (main):
10786 If the toplevel element is not a GstPipeline, it must be put in a
10787 pipeline so that a bus and clock is selected.
10789 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10791 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10792 JITTER, RATE, and LATENCY query should be handled by the
10793 default case and not by the CONVERT query code.
10795 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10797 * gst/gstformat.c: (gst_format_register):
10798 Fix locking order (must take lock before using n_values).
10800 * gst/gstvalue.c: (gst_value_serialize_enum),
10801 (gst_value_deserialize_enum_iter_cmp),
10802 (gst_value_deserialize_enum):
10803 Fix serialisation/deserialisation of custom registered GstFormats.
10805 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10806 Unit test for custom format serialisation/deserialisation.
10808 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10810 * docs/pwg/building-boiler.xml:
10811 * plugins/elements/gstcapsfilter.c:
10812 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10815 2006-09-16 Edward Hervey <edward@fluendo.com>
10817 * libs/gst/base/gstbasetransform.c:
10818 (gst_base_transform_buffer_alloc):
10819 Check if requested caps are the same as the sinks caps IF
10820 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10822 This fixes the renegotiation issues stated in #352827.
10824 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10827 * docs/manual/advanced-autoplugging.xml:
10828 * tests/examples/Makefile.am:
10829 * tests/examples/manual/.cvsignore:
10830 * tests/examples/manual/Makefile.am:
10831 * tests/examples/manual/extract.pl:
10832 Extract the manual examples again like we used to do.
10835 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10837 * win32/common/config.h:
10840 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10843 Documents how to receive errors.
10845 2006-09-15 Wim Taymans <wim@fluendo.com>
10847 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10848 (event_loop), (main):
10849 Added some comments here and there.
10850 Post an application message when an interrupt is caught instead of doing
10851 an uncontrolled state change.
10852 Clean up the event loop.
10853 Handle buffering messages, pause/resume the pipeline.
10854 Make shutdown because of an interrupt more reliable.
10856 2006-09-15 Wim Taymans <wim@fluendo.com>
10858 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10859 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10860 (gst_base_sink_preroll_object):
10861 Make sure that our internal state is correct when we commit our state
10862 asynchronously. This solves a race where a state change to PLAYING
10863 could cause the sink to remain blocked in preroll in some situations.
10865 2006-09-15 Wim Taymans <wim@fluendo.com>
10867 * tools/gst-inspect.c: (print_element_properties_info),
10868 (print_signal_info):
10869 List flags as hex so it's easier to deal with.
10871 2006-09-15 Wim Taymans <wim@fluendo.com>
10873 * docs/libs/gstreamer-libs-sections.txt:
10874 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10875 (gst_base_sink_do_sync):
10876 * libs/gst/base/gstbasesink.h:
10877 Expose logic to wait for preroll so that subclasses such as audiosink
10878 can also use this method.
10879 API: gst_base_sink_wait_preroll()
10881 2006-09-15 Wim Taymans <wim@fluendo.com>
10883 * gst/gstobject.c: (gst_object_set_parent):
10884 * gst/gstpipeline.c: (do_pipeline_seek):
10885 Small cleanups in docs and code.
10887 * gst/gstsegment.c: (gst_segment_clip):
10888 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10889 if stop == start and start is in the segment, no clipping should be
10890 done. Also add a test for this.
10892 2006-09-15 Wim Taymans <wim@fluendo.com>
10894 * docs/design/part-buffering.txt:
10895 * docs/gst/gstreamer-sections.txt:
10896 * gst/gstmessage.c: (gst_message_new_buffering),
10897 (gst_message_parse_buffering):
10898 * gst/gstmessage.h:
10899 Added methods to create and parse BUFFERING messages.
10900 Added preliminary docs about buffering.
10901 API: gst_message_new_buffering
10902 API: gst_message_parse_buffering
10904 2006-09-06 Wim Taymans <wim@fluendo.com>
10907 Update documentation.
10909 * gst/gstelement.c: (gst_element_class_init),
10910 (gst_element_release_request_pad), (gst_element_set_clock),
10911 (gst_element_get_index), (gst_element_add_pad),
10912 (gst_element_remove_pad), (gst_element_get_random_pad),
10913 (gst_element_send_event), (gst_element_get_query_types),
10914 (gst_element_query), (gst_element_post_message),
10915 (gst_element_message_full), (gst_element_continue_state),
10916 (gst_element_lost_state), (gst_element_save_thyself),
10917 (gst_element_restore_thyself):
10918 Documentation updates.
10919 Rename last bit of the new-pad -> pad-added signal rename.
10920 Fix the case where an element query would only work if the source
10922 Avoid some useless type checking in message handling.
10927 Documentation updates.
10929 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10931 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10932 add an INFO line for when we actually update the fd
10934 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10939 === release 0.10.10 ===
10941 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10944 releasing 0.10.10, "Pais"
10946 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10948 * docs/manual/advanced-position.xml:
10949 Fix typo in sample code.
10951 2006-09-05 Wim Taymans <wim@fluendo.com>
10953 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10954 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10955 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10956 * libs/gst/net/gstnetclientclock.h:
10957 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10958 * libs/gst/net/gstnettimepacket.h:
10959 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10960 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10961 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10962 * libs/gst/net/gstnettimeprovider.h:
10963 Make stuff compile on windows. Fixes #345295.
10965 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10967 * gst/gst.c: (ensure_current_registry_forking):
10968 Print better details when child was terminated by signal.
10970 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10972 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10973 Print a warning rather than g_assert() if a plugin feature
10974 is a URI handler but returns no protocols (#353976).
10976 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10978 * docs/random/moving-plugins:
10981 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10983 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10984 Fix locking order, handle NULL function values properly.
10989 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10990 Initialise variable before using it and fix debug statement to
10991 print the address of the function rather than the address of the
10992 variable on the stack holding the address of the function.
10994 2006-09-01 Wim Taymans <wim@fluendo.com>
10996 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10997 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10998 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10999 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11000 (gst_ghost_pad_parent_unset),
11001 (gst_ghost_pad_internal_do_activate_push),
11002 (gst_ghost_pad_internal_do_activate_pull),
11003 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11004 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11005 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11006 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11007 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11008 (gst_ghost_pad_new_no_target_from_template),
11009 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11011 Avoid needless typechecking in macros.
11012 Since the internal pad is always present and never changes, there is
11013 no need to locking or ref when retrieving it.
11014 Improve debugging a bit.
11015 Handle link errors when setting the target. Fixes #341029.
11017 2006-09-01 Wim Taymans <wim@fluendo.com>
11019 * docs/libs/gstreamer-libs-sections.txt:
11020 * docs/plugins/gstreamer-plugins-sections.txt:
11021 Fix docs some more.
11023 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11024 (gst_collect_pads_event):
11025 * libs/gst/base/gstcollectpads.h:
11026 Documentation updates.
11027 Free queued buffer when removing a pad.
11029 2006-08-31 Michael Smith <msmith@fluendo.com>
11031 * gst/gstutils.c: (gst_element_link_pads),
11032 (gst_element_link_pads_filtered):
11033 Ensure that we set a capsfilter to NULL if we failed to link it
11034 when doing filtered linking, to avoid criticals.
11036 No need to check for unreffing srcpad, which is explicly NULLed
11037 above (a trivial code cleanup).
11039 2006-08-31 Wim Taymans <wim@fluendo.com>
11041 * docs/design/part-gstghostpad.txt:
11042 Update ascii art in documentation.
11044 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11045 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11046 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11047 (gst_ghost_pad_internal_do_activate_push),
11048 (gst_ghost_pad_internal_do_activate_pull),
11049 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11050 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11051 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11052 (gst_ghost_pad_set_target):
11053 Small cleanups and leak fixes.
11054 Remove some checks now that the internal pad is never NULL.
11055 Fix the case where linking pads without a target would create nasty
11056 criticals. Fixes #341029.
11057 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11058 value of _set_target().
11060 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11061 (gst_ghost_pad_suite):
11062 Some more tests for creating and linking untargeted ghostpads.
11064 2006-08-31 Edward Hervey <edward@fluendo.com>
11066 * docs/gst/gstreamer-sections.txt:
11067 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11068 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11069 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11070 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11071 (gst_ghost_pad_new_from_template),
11072 (gst_ghost_pad_new_no_target_from_template):
11073 * gst/gstghostpad.h:
11074 Refactored *_new() functions.
11075 Templates are now used as a g_object_new() parameter.
11076 Use template in _do_getcaps() if we don't have a target.
11077 Small documentation cleanups.
11078 Added two new constructors:
11079 gst_ghost_pad_new_from_template()
11080 gst_ghost_pad_new_no_target_from_template()
11081 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11082 (gst_ghost_pad_suite):
11083 Added tests for new ghostpad instanciation functions.
11085 API additions: gst_ghost_pad_new_from_template,
11086 gst_ghost_pad_new_no_target_from_template
11088 2006-08-30 Stefan Kost <ensonic@users.sf.net>
11090 * docs/random/ensonic/profiling.txt:
11091 Ideas about qos profiling.
11093 2006-08-29 Wim Taymans <wim@fluendo.com>
11095 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11099 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
11102 Improve and detypofy docs.
11104 * tests/check/Makefile.am:
11105 * tests/check/gst/.cvsignore:
11106 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11107 Add a basic test suite for GstXML.
11109 2006-08-29 Wim Taymans <wim@fluendo.com>
11111 * gst/gstelement.c: (activate_pads), (clear_caps),
11112 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11113 Clear the pad caps when the element shut down all of the pads and
11114 is not streaming data that could modify the caps.
11117 2006-08-28 Michael Smith <msmith@fluendo.com>
11119 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11120 Revert previous change; I misunderstood single-segment mode.
11122 2006-08-28 Michael Smith <msmith@fluendo.com>
11124 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11125 Unset DISCONT on buffers when using single-segment mode.
11127 2006-08-28 Wim Taymans <wim@fluendo.com>
11129 * gst/gstcaps.c: (gst_caps_merge_structure):
11131 Fix docs and indentation again.
11133 * tests/check/gst/gstquery.c: (GST_START_TEST):
11134 Fix leak in tests and add some more tests.
11136 2006-08-28 Edward Hervey <edward@fluendo.com>
11138 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11139 Inform GstSegment of the last stop position in order for the current
11140 segment to have a proper duration if it doesn't have a specific stop
11141 position from which a duration could be calculated.
11142 This bug was noticeable when a non-flushing, non-update new segment was
11143 followed by another segment (all buffers from the new segment were being
11146 2006-08-28 Wim Taymans <wim@fluendo.com>
11148 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11149 Small comment update.
11151 * plugins/elements/gstidentity.c: (gst_identity_class_init),
11152 (gst_identity_transform_ip):
11153 Drop-probability is broken, mention this in the code with a
11154 FIXME and also in the property description.
11155 Make silent also be silent about the drop messages.
11157 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11159 * docs/manual/appendix-win32.xml:
11160 Remove mention of popt, we don't depend on that any
11161 longer (#353136). Add some comments pointing out that
11162 this section is slightly outdated.
11164 2006-08-28 Wim Taymans <wim@fluendo.com>
11166 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11168 * gst/gstquery.c: (gst_query_new_segment):
11169 * tests/check/gst/gstquery.c: (GST_START_TEST):
11170 Initialize variables when creating a new segment query.
11173 2006-08-28 Wim Taymans <wim@fluendo.com>
11175 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11177 * gst/gstelement.c: (gst_element_get_bus):
11178 * tests/check/gst/gstelement.c: (GST_START_TEST):
11179 Check for NULL before _reffing the bus. Fixes #353122.
11181 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11183 * docs/manual/basics-bus.xml:
11184 Docs update: fix wrong callback return value explanation; add
11185 some lines about the implicit relationship between main loop
11186 and main context; remove duplicate main loop variable declaration.
11188 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11190 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11191 Don't leak caps in unit test; add a few more simple
11194 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11196 * docs/gst/gstreamer-sections.txt:
11197 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11198 (gst_caps_structure_is_subset), (gst_caps_merge),
11199 (gst_caps_merge_structure):
11201 * libs/gst/base/gstbasetransform.c:
11202 (gst_base_transform_transform_caps):
11203 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11204 implement caps merging (fixes #352580)
11206 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11208 * tools/Makefile.am:
11209 * tools/gst-plot-timeline.py:
11210 add debug-log plotting developer tool (#340674)
11212 2006-08-23 Wim Taymans <wim@fluendo.com>
11214 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11215 (gst_pad_stop_task):
11216 Improve debugging for task functions.
11218 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11219 (gst_task_start), (gst_task_pause), (gst_task_join):
11220 Make sure that the task function started and finished after a
11222 Don't try to push the task function on the threadpool multiple
11224 Improve the g_warning message with some useful suggestions
11225 about how to fix the problem.
11227 2006-08-23 Wim Taymans <wim@fluendo.com>
11229 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11230 Handle RESYNC correctly in _proxy_getcaps.
11232 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11234 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11235 (gst_xml_parse_memory), (gst_xml_get_element):
11236 Chain up to parent class in dispose function and also
11237 unref the elements in the toplevel_elements GList.
11238 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11239 Always return a reference in gst_xml_get_element() rather
11240 than only sometimes.
11242 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11243 Don't leak GstXml object.
11245 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11247 * docs/gst/gstreamer-sections.txt:
11248 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11251 * libs/gst/base/gstbasetransform.c:
11252 (gst_base_transform_transform_caps):
11253 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11256 2006-08-21 Edward Hervey <edward@fluendo.com>
11258 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11259 Implement GObject::dispose virtual method in GstXML so we can free the
11260 top_elements GList.
11262 2006-08-21 Wim Taymans <wim@fluendo.com>
11264 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11265 (gst_buffer_create_sub):
11266 Copy duration/offset_end/caps when creating a subbuffer of the
11268 Make the subbuffer read-only when we make the metadata writable for
11269 now. Fixes #351768.
11271 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11272 Added check for metadata copy when creating subbuffers.
11274 2006-08-21 Edward Hervey <edward@fluendo.com>
11276 * libs/gst/base/gstbasetransform.c:
11277 (gst_base_transform_buffer_alloc):
11278 Only call downstream buffer_alloc if transform element is passthrough
11279 or always_in_place. Closes #350449.
11281 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11284 ChangeLog surgery to add comments to previous changes
11286 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11291 * gst/gstpad.c: (gst_pad_set_active):
11292 Be more verbose in the log
11294 * libs/gst/base/gstbasetransform.c:
11295 (gst_base_transform_transform_caps):
11296 Simplify caps to get rid of duplicates, fixes #345444
11298 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11302 Use these optimizations only internally.
11304 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11306 * gst/gstvalue.c: (gst_value_compare_list),
11307 (gst_value_compare_fraction_range),
11308 (gst_value_intersect_fraction_fraction_range),
11309 (gst_value_intersect_fraction_range_fraction_range),
11310 (gst_value_subtract_fraction_fraction_range),
11311 (gst_value_subtract_fraction_range_fraction_range),
11312 (gst_value_get_compare_func), (gst_value_compare),
11313 (gst_value_compare_with_func):
11315 Saves the expensive lookup of the compare function in many cases
11318 2006-08-18 Edward Hervey <edward@fluendo.com>
11320 * tests/check/gst/gstinfo.c: (gst_info_suite):
11321 Disable test that require gstdebug if it wasn't built in core.
11323 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11325 * docs/random/ensonic/logging.txt:
11328 * gst/gstinfo.c: (gst_debug_log_default):
11329 reorder fields, save some columns, add optional color codes for log
11332 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11334 * docs/random/ensonic/logging.txt:
11335 add ideas about making the logs a bit more useful
11337 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11339 * docs/pwg/advanced-events.xml:
11340 * docs/pwg/titlepage.xml:
11341 Update for 0.10 API (#340627). Add myself
11344 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11346 * docs/libs/gstreamer-libs-docs.sgml:
11347 * docs/libs/gstreamer-libs-sections.txt:
11348 * libs/gst/check/gstbufferstraw.c:
11349 Make gstcheck stuff show up in docs (still needs to
11350 be documented properly though).
11352 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11354 * docs/gst/gstreamer-sections.txt:
11356 * gst/gst.c: (init_post):
11357 * gst/gst_private.h:
11358 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11360 * gst/gstquery.c: (gst_query_new_position),
11361 (gst_query_set_position), (gst_query_parse_position),
11362 (gst_query_new_duration), (gst_query_set_duration),
11363 (gst_query_parse_duration), (gst_query_new_convert),
11364 (gst_query_set_convert), (gst_query_parse_convert),
11365 (gst_query_new_segment), (gst_query_set_segment),
11366 (gst_query_parse_segment), (gst_query_new_seeking),
11367 (gst_query_set_seeking), (gst_query_parse_seeking):
11368 Add internal helpers for pre-registering quarks from static strings
11369 and using the quark values directly instead of looking them up when
11370 creating and parsing queries. Can be used for event construction too.
11373 2006-08-16 Wim Taymans <wim@fluendo.com>
11378 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11380 * gst/gstutils.c: (gst_util_set_value_from_string):
11381 Fix memleak (#351502).
11383 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11384 Add unit test for most of gst_util_set_value_from_string()
11385 (not that one would want to encourage use of this function).
11387 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11389 * libs/gst/check/gstcheck.h:
11390 Use const gchar * variables in fail_unless_equals_string
11391 macro to avoid compiler warnings (and don't use tabs for
11394 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11396 * tools/gst-launch.c: (print_tag):
11397 More space on the left for the tag names, to cater
11398 for the 'extended comment' tag (not touching the
11399 string for the first line since it's translated).
11401 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11403 * libs/gst/check/gstcheck.h:
11404 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11405 print something when they fail.
11407 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11409 * docs/gst/gstreamer-sections.txt:
11410 * gst/gsttaglist.c: (_gst_tag_initialize):
11411 * gst/gsttaglist.h:
11412 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11413 Also change merge function for GST_TAG_COMMENT to
11416 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11418 * gst/gstinfo.c: (gst_debug_print_object):
11419 Make GST_PTR_FORMAT print messages as well.
11421 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11422 (GST_START_TEST), (gst_info_suite):
11425 2006-08-14 Edward Hervey <edward@fluendo.com>
11427 * gst/gstelementfactory.c: (gst_element_register):
11428 If the GstElementClass doesn't have a GstElementDetails with all fields
11429 filled up correctly (longname, description AND author), then error out
11430 nicely instead of crashing.
11432 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11434 * gst/gststructure.c:
11435 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11438 Expand on the difference between arrays and lists as we use them.
11440 2006-08-14 Wim Taymans <wim@fluendo.com>
11442 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11443 If the parent state change function failed, don't assume we can safely
11444 stop the source, this will be done when the pads are deactivated.
11446 2006-08-14 Wim Taymans <wim@fluendo.com>
11449 * gst/gsttask.c: (gst_task_join):
11452 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11453 (gst_pad_stop_task):
11454 When pad (de)activation failed for some reason, restore the old
11455 activation mode and set the pad to flushing instead of assuming the
11456 pad is deactivated.
11457 If the _task_join() failed, reinstall the task on the pad so that it can
11458 be stopped later and return an error.
11460 2006-08-11 Andy Wingo <wingo@pobox.com>
11463 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11464 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11465 is only for users of API that don't want to see deprecated
11466 functions in the headers; people that want to compile out
11467 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11468 CFLAGS. Fixes the build of multifdsink, or will soon..
11470 2006-08-11 Wim Taymans <wim@fluendo.com>
11472 * docs/gst/gstreamer-sections.txt:
11473 Add GstClockClass vmethod docs.
11476 Mark #endif with comment for associated #if
11478 * gst/gstclock.c: (gst_clock_id_wait):
11480 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11481 most clock implementations.
11483 Flesh out docs about resolution methods.
11484 API: GstClockClass::wait_jitter
11486 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11487 (gst_system_clock_async_thread),
11488 (gst_system_clock_id_wait_jitter_unlocked),
11489 (gst_system_clock_id_wait_jitter):
11490 Use base class wait_jitter variant for improved performance
11491 due to less clock polling.
11493 2006-08-11 Edward Hervey <edward@fluendo.com>
11495 * gst/gst.c: (gst_init_check), (init_post):
11496 Set gst as being initialized before scanning/updating the registry,
11497 since there might be my python plugin loader that calls gst_init() and
11498 we don't want to loop back in.
11501 2006-08-11 Wim Taymans <wim@fluendo.com>
11503 * docs/design/part-qos.txt:
11504 Bring docs in line with the code. Mostly the sign of the jitter was
11505 wrong in the docs. Fixes #349943.
11508 Fix the docs for the jitter.
11510 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11511 (gst_event_parse_tag), (gst_event_new_buffer_size),
11512 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11513 (gst_event_new_seek), (gst_event_parse_seek),
11514 (gst_event_new_navigation):
11515 Make sure the GstStructure has no parent when creating custom
11517 Add some more argument checking so that we avoid 0.0 rates.
11518 Flesh out the docs for the QoS event some more.
11520 2006-08-11 Wim Taymans <wim@fluendo.com>
11522 * docs/gst/gstreamer-sections.txt:
11523 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11524 (ensure_current_registry_forking), (ensure_current_registry),
11525 (parse_one_option), (parse_goption_arg), (gst_deinit),
11526 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11529 Added API and command line option to disable registry forking in
11530 addition to the environment variable.
11531 Constify some static arrays.
11532 Added some more debug.
11533 Don't deinit twice.
11534 API: gst_registry_fork_is_enabled()
11535 API: gst_registry_fork_set_enabled()
11536 API: --gst-disable-registry-fork command line option
11539 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11541 * gst/gst.c: (gst_init):
11542 Fix typo in error message.
11544 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11546 * libs/gst/controller/gstcontroller.h:
11547 fix ABI size-correction
11549 * tests/check/libs/gdp.c: (gst_dp_suite):
11550 make tests that use deprecated API conditional
11552 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11554 * docs/libs/gstreamer-libs-sections.txt:
11555 * libs/gst/controller/gstcontroller.c:
11556 (_gst_controller_get_property), (_gst_controller_set_property),
11557 (_gst_controller_init), (_gst_controller_class_init):
11558 * libs/gst/controller/gstcontroller.h:
11559 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11560 (gst_object_set_control_rate):
11561 API: add gst_object_{s,g}et_control_rate(), add private data section,
11564 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11565 * libs/gst/dataprotocol/dataprotocol.h:
11566 add deprecation guards to make gtk-doc happy and allow disabling cruft
11568 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11570 * tests/check/Makefile.am:
11571 * tests/check/gst/.cvsignore:
11572 Let's enable the new unit test as well.
11574 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11577 * docs/gst/gstreamer-sections.txt:
11578 * gst/gstconfig.h.in:
11579 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11580 (_gst_info_printf_extension_ptr),
11581 (_gst_info_printf_extension_segment):
11582 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11583 register that lets us easily dump GstSegments into debug
11586 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11587 (info_segment_format_printf_extension), (gst_info_suite):
11588 Add simple unit test that logs a bunch of different segments (not
11589 valgrinded at the moment because of leaks in
11590 gst_debug_add_log_function).
11592 2006-08-09 Edward Hervey <edward@fluendo.com>
11594 * libs/gst/base/gstbasetransform.c:
11595 (gst_base_transform_buffer_alloc):
11596 Even if we can't figure out the proper format to request downstream,
11597 call buffer_alloc() downstream with the input parameters without setting
11598 the caps on the srcpad. This will force negotiation in the chain
11602 2006-08-08 Edward Hervey <edward@fluendo.com>
11604 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11605 Unlinking from a pad without a target is now a perfectly valid case
11606 which should NOT raise an assertion.
11607 This case would happen if a linked ghostpad its target set to NULL after
11608 it was previously linked.
11610 2006-08-08 Edward Hervey <edward@fluendo.com>
11612 * tests/check/libs/gdp.c:
11613 Also comment out the test (see below).
11615 2006-08-08 Edward Hervey <edward@fluendo.com>
11617 * tests/check/libs/gdp.c: (gst_dp_suite):
11618 Use the architecture information from config.h and not gcc macros
11619 in order to properly disable a test that fails on PPC64.
11621 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11623 * gst/gstelement.c: (gst_element_remove_pad):
11624 Don't crash printing the warning if the pad has no parent.
11626 2006-08-02 Wim Taymans <wim@fluendo.com>
11628 * libs/gst/dataprotocol/dataprotocol.c:
11629 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11630 (gst_dp_crc), (gst_dp_header_payload_length),
11631 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11632 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11633 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11634 (gst_dp_event_from_packet), (gst_dp_validate_header),
11635 (gst_dp_validate_payload):
11636 Make debug category static
11637 Constify the crc table.
11638 Do some more arg checking in public functions.
11639 Fix some docs and do some small cleanups.
11641 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11642 Add some more checks to see if GDP deals with bogus input.
11644 2006-07-31 Wim Taymans <wim@fluendo.com>
11646 * gst/gstvalue.c: (gst_value_compare_list):
11647 Fix GstValueList comparison code. Fixes #347293.
11649 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11650 Check to test GstValueList comparison.
11652 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11654 * gst/gstelementfactory.c: (gst_element_factory_create):
11655 Remove unnecessary ref/unref pair
11657 * gst/parse/grammar.y:
11658 Make sure to free the parse buffer on all code paths.
11659 Move a g_free up to the error handler where it's easier to see.
11661 * tests/check/gst/gstevent.c: (test_event):
11662 Extending timeout for downstream travelling events to 10 seconds to
11663 hopefully avoid intermittent failure on the buildbots.
11665 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11666 Don't manually set the state of the src element - it will happen as a
11667 natural consequence of the pipeline changing state, and that way it
11668 will do it in the right order too.
11670 2006-07-31 Wim Taymans <wim@fluendo.com>
11672 * libs/gst/base/gstbasetransform.c:
11673 (gst_base_transform_buffer_alloc):
11674 Use OBJECT_LOCK and refcounting to get the pad caps in the
11675 buffer_alloc function because the caps could change while we are
11676 busy with them. Fixes #349105
11678 2006-07-31 Wim Taymans <wim@fluendo.com>
11680 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11681 Protect _PAD_CAPS with OBJECT_LOCK.
11683 2006-07-31 Wim Taymans <wim@fluendo.com>
11685 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11686 (gst_pad_get_property), (gst_pad_activate_pull),
11687 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11688 (gst_pad_set_activate_function),
11689 (gst_pad_set_activatepull_function),
11690 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11691 (gst_pad_set_getrange_function),
11692 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11693 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11694 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11695 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11696 (gst_pad_set_acceptcaps_function),
11697 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11698 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11699 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11700 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11701 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11702 (gst_pad_configure_sink), (gst_pad_configure_src),
11703 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11704 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11705 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11706 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11707 (gst_pad_send_event):
11708 Use _DEBUG_OBJECT when it makes sense.
11709 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11710 Small cleanups and code reflows.
11711 Avoid caps refcounting in _accept_caps.
11712 Refactor alloc_buffer so that the code performed on the peer is in a
11713 separate function. Also if the pad does not implement a buffer alloc
11714 function, we should still check if the pad is flushing before falling
11715 back to the default allocator.
11717 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11719 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11720 Make all uses of identity and fakesink have silent=true to avoid
11721 serialising every passing data structure, which is breaking tests
11722 on FC4 for some unknown reason.
11724 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11726 * gst/parse/Makefile.am:
11727 * gst/parse/grammar.y:
11728 * gst/parse/parse.l:
11729 Reverted previous patch as it required to bump the flex dependency to
11730 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11732 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11734 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11736 * gst/parse/Makefile.am:
11737 * gst/parse/grammar.y:
11738 * gst/parse/parse.l:
11739 push & pop the state of the lexer for reentrant use case
11742 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11744 * libs/gst/base/gstbasesrc.h:
11745 Note in the docs that the ::newsegment vfunc is not actually used by
11748 2006-07-28 Wim Taymans <wim@fluendo.com>
11750 * libs/gst/base/gstcollectpads.c:
11751 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11752 (gst_collect_pads_clear), (gst_collect_pads_flush),
11753 (gst_collect_pads_event), (gst_collect_pads_chain):
11754 When flushing a pad, also clear the queued buffer so that we don't
11755 accidentally use it when we shouldn't.
11756 Fix leaks by inreffing incomming buffer.
11757 Flush out queued buffers in case of errors.
11760 2006-07-28 Wim Taymans <wim@fluendo.com>
11762 * docs/random/phonon-gst:
11763 Random notes about a Phonon backend.
11765 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11767 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11769 * tests/check/libs/gdp.c: (gst_dp_suite):
11770 Take a whack at fixing the ppc compile using a different define to
11771 disable the broken test.
11773 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11774 Remove excess g_print()
11776 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11778 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11779 Oops, meant to uncomment this line too to dampen the noise a bit.
11781 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11783 * gst/parse/grammar.y:
11784 * gst/parse/parse.l:
11785 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11786 (GST_START_TEST), (parse_suite):
11787 Fix some of the leaks exposed by extending the parse-launch testsuite,
11788 and move the 3 I can't figure out into a separate test that won't run
11789 the pipelines unless the appropriate line is uncommented.
11791 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11793 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11794 Requesting 0 bytes before the end of the file should result in
11795 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11798 2006-07-27 Wim Taymans <wim@fluendo.com>
11800 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11801 Fix useless assert, a uint is always positive.
11803 * gst/gststructure.c: (gst_structure_nth_field_name),
11804 (gst_structure_foreach), (gst_structure_map_in_place):
11805 Check input arguments for public functions to avoid obvious crashes.
11807 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11808 * plugins/elements/gstfakesink.h:
11809 Do less useless typechecking.
11811 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11813 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11814 Do not use mmap() by default since there are a number of error
11815 conditions that we would like to handle in a non-fatal way that
11816 will result in a SIGBUS if we use mmap(). Examples: external
11817 devices (USB harddrive, portable music player) being unplugged
11818 while in use; file on mounted CD/DVD that can't be read because
11819 the medium is partly damaged. Fixes #348455 and #348475.
11821 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11824 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11825 rates are a gdouble
11827 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11829 * gst/gstregistry.c:
11830 Move big documentation comment into class section header, so that it
11831 appears in the API docs.
11833 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11835 * docs/gst/gstreamer-sections.txt:
11836 Oops. Commit the docs additions too for new API.
11837 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11839 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11841 * gst/gststructure.c: (gst_structure_id_set),
11842 (gst_structure_id_set_valist):
11843 * gst/gststructure.h:
11844 Add API for setting values into structures without performing
11845 a quark lookup, if the appropriate quark is already known.
11847 API: gst_structure_id_set
11848 API: gst_structure_id_set_valist
11850 * gst/parse/grammar.y:
11851 * gst/parse/parse.l:
11852 Remove some dead code shown by the coverage information.
11853 Don't throw a critical g_warning when encountering a syntax error,
11854 just warn and let the normal error path handle it.
11856 * plugins/elements/gstelements.c:
11857 Bump the rank of filesink up to PRIMARY so that it is preferred over
11858 gnomevfssink for file:// sink uri's
11860 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11861 (GST_START_TEST), (run_delayed_test),
11862 (gst_parse_test_element_base_init),
11863 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11864 (gst_parse_test_element_change_state),
11865 (gst_register_parse_element), (parse_suite):
11866 Beef up the tests for parse syntax to check that more error cases
11867 fail as they are supposed to. Increases the test coverage a bit.
11869 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11871 * docs/manual/basics-elements.xml:
11872 Fix gst_element_link() example.
11875 Mention in API docs that one should usually gst_bin_add()
11876 elements to a bin or pipeline before doing the linking.
11878 2006-07-26 Wim Taymans <wim@fluendo.com>
11880 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11881 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11882 Avoid function call for known types by keeping the buffer and
11883 subbuffer GType global.
11885 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11886 Random silly optimisations in read() path.
11888 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11890 * tools/gst-launch.c: (main):
11891 If the top-level of the parse is a normal bin, it doesn't do the
11892 right logic to run as a top-level element, so place it inside a
11895 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11897 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11898 Remove superfluous g_object_notify() calls, GObject does
11899 that for us automatically.
11901 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11904 on Win32, use dllspec to export the debug category symbols
11906 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11908 * gst/gsttaglist.c: (_gst_tag_initialize):
11909 Allow more than one GST_TAG_IMAGE per taglist.
11911 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11913 * gst/gstminiobject.c:
11915 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11916 (gst_fd_src_create):
11917 log recurring events at LOG level
11918 add more debug for when the fd gets set
11920 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11922 * gst/gstparse.c: (gst_parse_launch):
11923 Also remove reentrance checks if flex is MT safe (#348179)
11924 Fix my empty ChangeLog entry below
11926 2006-07-21 Andy Wingo <wingo@pobox.com>
11928 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11930 * libs/gst/check/Makefile.am
11931 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11932 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11933 * libs/gst/check/gstbufferstraw.h:
11934 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11935 functions, thus proving I am still a GStreamer haxor. OK I wrote
11936 them a long time ago, but anyways.
11938 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11941 * gst/gstparse.c: (gst_parse_launch):
11942 Check for flex version and omit mutex if we have a MT save flex
11945 2006-07-21 Wim Taymans <wim@fluendo.com>
11947 * gst/gstparse.c: (gst_parse_launch):
11948 Protect recursive calls to _parse with a recursive mutex
11951 2006-07-21 Wim Taymans <wim@fluendo.com>
11953 * tests/check/gst/gstpad.c: (GST_START_TEST):
11956 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11958 * gst/gstparse.c: (gst_parse_launch):
11959 Do not hang on recursive usage of gst_parse_launch()
11961 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11963 * gst/gsttaglist.c:
11964 Add some more docs, comments and FIXME 0.11s here and there
11965 and also fix some typos.
11967 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11969 * gst/gstsegment.h:
11970 Convert tabs to spaces for better readability.
11972 2006-07-20 Edward Hervey <edward@fluendo.com>
11974 * tests/check/libs/gdp.c: (gst_dp_suite):
11975 the test_buffer test fails at line 140 on ppc64 at the following
11977 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11978 GST_BUFFER_FLAG_IN_CAPS),
11979 "GST_BUFFER_IN_CAPS flag should have been copied !");
11980 See bug #348114 for more details.
11982 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11984 * docs/pwg/advanced-scheduling.xml:
11986 Fix typos (#348000).
11988 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11990 * docs/pwg/intro-basics.xml:
11991 Fix wrong links (#347927).
11993 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11995 * gst/gstregistry.h:
11996 * gst/gstregistryxml.c: (load_feature),
11997 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11998 * win32/common/config.h:
11999 make --disable-index work (#342564)
12001 2006-07-18 Wim Taymans <wim@fluendo.com>
12003 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12007 The attached patch adds two missing defines to gsttrace.h when tracing
12008 is disabled. It also corrects one existing define.
12011 2006-07-17 Wim Taymans <wim@fluendo.com>
12013 * docs/gst/gstreamer-sections.txt:
12014 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12016 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12017 Add two functions to check and change the SIGSEGV behaviour
12018 when loading plugins.
12019 Don't mess with the SIGSEGV handler when we were told not to.
12021 API: gst_segtrap_is_enabled
12022 API: gst_segtrap_set_enabled
12024 2006-07-14 Wim Taymans <wim@fluendo.com>
12026 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12027 * tests/check/elements/filesrc.c: (GST_START_TEST):
12028 Revert fix for regression in #347408 after release.
12030 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
12032 Patch by: Antoine Tremblay <hexa00 at gmail com>
12034 * gst/gstutils.c: (gst_element_unlink):
12035 Free iterator when done (#347311).
12037 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12038 And add a test case for this.
12040 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
12043 Bump nano back to CVS
12045 === release 0.10.9 ===
12047 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
12050 releasing 0.10.9, "On the road again"
12052 2006-07-13 Wim Taymans <wim@fluendo.com>
12054 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12055 * tests/check/elements/filesrc.c: (GST_START_TEST):
12056 Revert pull-0 fix for release. Disable check. Fixes #347408.
12058 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12060 * libs/gst/dataprotocol/dataprotocol.c:
12061 (gst_dp_event_from_packet_1_0):
12062 Fixes #347337: failure to deserialize event packets with
12063 empty payload (only event type)
12065 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12068 do not install a .c file in the header directory
12070 2006-07-13 Edward Hervey <edward@fluendo.com>
12072 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12073 GhostPad no longer implicitely use the padtemplates of the targets.
12076 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
12078 * gst/gstvalue.c: (gst_value_compare_list),
12079 (gst_value_compare_array), (_gst_value_initialize):
12080 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12081 Make GstValueArray comparison be order dependent as designed.
12082 Add checks for value lists and value array comparisons.
12085 2006-07-11 Edward Hervey <edward@fluendo.com>
12087 * gst/gstbin.c: (activate_pads),
12088 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12089 (gst_bin_change_state_func):
12090 (de)activate src pads before calling state_change on the childs.
12091 This is to avoid the case where a src ghostpad is blocked (holding the
12092 stream lock), which would block the deactivation of the ghostpad's
12094 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12095 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12096 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12097 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12098 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12099 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12100 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12101 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12102 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12103 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12104 (gst_ghost_pad_class_init),
12105 (gst_ghost_pad_internal_do_activate_push),
12106 (gst_ghost_pad_internal_do_activate_pull),
12107 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12108 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12109 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12110 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12111 GhostPads now create their internal GstProxyPad at creation (and not
12112 when they're linked, as it was being done previously).
12113 The internal and target pads are linked straight away.
12114 The data will also travel through the other pad in order to make
12115 pad blocking and probes non-hackish (the probe/block now really happens
12116 on the GhostPad and not on the target).
12117 * gst/gstpad.c: (gst_pad_set_blocked_async),
12118 (gst_pad_link_prepare), (gst_pad_push_event):
12119 Remove previous ghostpad cruft.
12120 * gst/gstutils.c: (gst_pad_add_data_probe),
12121 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12122 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12123 (gst_pad_remove_buffer_probe):
12124 Remove previous ghost pad cruft.
12125 Added more detailed debug statements.
12126 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12127 Fix the testsuite for refcounting changes.
12128 The comments about who has references were correct, but the refcount
12129 being checked wasn't the same (!?!).
12133 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12135 * docs/gst/gstreamer-sections.txt:
12136 * gst/gstconfig.h.in:
12137 More docs for configuration options, add docs to gtk-doc.
12139 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12142 * gst/gstconfig.h.in:
12143 * win32/common/config.h:
12144 Fix build when disabling tracing (fixes #344016). Also start to document
12145 the defines that disable the sub-systems.
12147 2006-07-10 Edward Hervey <edward@fluendo.com>
12149 * gst/gst.c: (ensure_current_registry_forking):
12150 let's make valgrind happy...
12152 2006-07-09 Wim Taymans <wim@fluendo.com>
12154 * gst/gstelement.c: (activate_pads),
12155 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12156 Better pad activation code: Reset the collect value too on resync.
12159 2006-07-09 Wim Taymans <wim@fluendo.com>
12161 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12162 (gst_pad_activate_push):
12163 Use some more macros where it makes sense.
12164 Allow pad mode switching instead of asserting. When a pad
12165 is activated in one mode and we activate it in another,
12166 deactivate it first before activating it in a different mode.
12169 2006-07-08 Andy Wingo <wingo@pobox.com>
12171 * tools/gst-launch.c (main): Handle err == NULL.
12173 * gst/gst.c (init_post, ensure_current_registry)
12174 (ensure_current_registry_forking)
12175 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12176 factoring out the registry scanning into separate functions. Don't
12177 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12178 Better environment var name/interface suggestions accepted.
12180 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12182 * gst/gstobject.c: (gst_object_set_name_default),
12183 (gst_object_set_name):
12184 Random micro-optimisation: don't use a hash table
12185 with strings as keys and the usual strdup/strcmp
12186 involved, but rather just use the GQuark of the
12187 type name as key, since it needs to be looked up
12188 anyway to get the type name string.
12190 * tests/check/gst/gstobject.c: (GST_START_TEST):
12193 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12195 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12196 (gst_bin_iterate_all_by_interface):
12197 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12198 GTypes are gulongs and thus the top 4 bytes might be cut
12199 off on some platforms when doing GPOINTER_TO_INT, leading
12200 to invalid GTypes and bad things happening (see RH bug #179654).
12201 Also add a check to make sure the type passed in is really
12204 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12209 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12213 * gst-element-check.m4:
12214 * gst-element-check.m4.in:
12215 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12216 instead of the unversioned gst-inspect (#324176, #168659).
12218 2006-07-06 Wim Taymans <wim@fluendo.com>
12220 * gst/gstmessage.h:
12221 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12224 2006-07-06 Wim Taymans <wim@fluendo.com>
12226 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12227 (gst_base_src_wait), (gst_base_src_update_length),
12228 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12229 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12230 (gst_base_src_loop), (gst_base_src_start),
12231 (gst_base_src_activate_pull):
12233 blocksize == 0 now means the default blocksize when working in push
12235 Remove some pointless asserts in _wait function.
12236 Fix offset/length calculations and EOS handling. We can now pull 0
12237 bytes as well, which is allowed.
12238 use _check_get_range() to decide if we can operate in _pull based
12240 Fix refcounting leak when check_get_range function was not
12242 API GstBaseSrc::blocksize range can be 0 too now (default)
12244 * tests/check/elements/filesrc.c: (GST_START_TEST),
12246 Added check to test _get_range() behaviour.
12248 2006-07-06 Wim Taymans <wim@fluendo.com>
12250 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12251 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12252 (gst_pad_pull_range):
12254 Lots of comments and docs added to the pad functions.
12255 Flesh out the expected behaviour of the get_range() functions.
12257 2006-07-06 Wim Taymans <wim@fluendo.com>
12262 * gst/gstiterator.h:
12266 Remove comma at end of enumerator list.
12268 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12270 * win32/common/libgstbase.def:
12271 * win32/common/libgstdataprotocol.def:
12272 * win32/common/libsgtreamer.def:
12273 Add new exported functions.
12275 2006-07-05 Wim Taymans <wim@fluendo.com>
12277 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12278 Add some more docs here and there.
12280 2006-07-05 Wim Taymans <wim@fluendo.com>
12282 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12283 (gst_base_sink_loop), (gst_base_sink_get_position):
12284 When operating in pull mode update the offset so that we
12287 2006-07-05 Wim Taymans <wim@fluendo.com>
12289 * gst/gstregistryxml.c: (read_string):
12290 Avoid strdup. (will happen in libxml, but hey!)
12293 Add some more docs.
12295 2006-07-05 Wim Taymans <wim@fluendo.com>
12297 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12298 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12299 (gst_buffer_suite):
12300 No point in checking if the size of the subbuffer > 0, the
12301 code handles it correclty as demonstrated by unit test.
12302 Also add a unit test for the zero sized _new_and_alloc and
12303 _copy. Fixes #346663.
12305 2006-07-05 Wim Taymans <wim@fluendo.com>
12307 * libs/gst/base/gstbasetransform.c:
12308 (gst_base_transform_prepare_output_buffer),
12309 (gst_base_transform_buffer_alloc),
12310 (gst_base_transform_handle_buffer):
12311 Make sure the buffer we pass to transform_ip has a refcount of
12312 1 and thus is writable. Fixes #343196
12314 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12316 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12317 (gst_file_src_init), (gst_file_src_set_property),
12318 (gst_file_src_get_property), (gst_file_src_map_region):
12319 * plugins/elements/gstfilesrc.h:
12320 Add "sequential" property, off by default, to use madvise and hint
12321 to the kernel that sequential access is desired.
12322 Touch all retrieved pages by default to ensure they are pulled
12323 into memory. (Closes #345720)
12325 2006-07-03 Wim Taymans <wim@fluendo.com>
12327 * docs/design/part-block.txt:
12328 * docs/design/part-dynamic.txt:
12329 Small docs updates.
12331 2006-07-03 Wim Taymans <wim@fluendo.com>
12333 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12334 (gst_caps_unref), (gst_static_caps_get),
12335 (gst_caps_append_structure):
12336 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12337 Use GSlice when the glib we build against is >= 2.10
12339 2006-07-03 Wim Taymans <wim@fluendo.com>
12341 * gst/gstelement.c: (gst_element_pads_activate):
12342 Small cleanup in pad activation code.
12344 2006-07-03 Wim Taymans <wim@fluendo.com>
12346 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12348 * gst/gst-i18n-app.h:
12349 * gst/gst-i18n-lib.h:
12350 * tools/gst-inspect.c: (print_signal_info):
12351 The attached patch will make the inclusion of gettext.h unconditional in
12352 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12353 libintl.h in tools/gst-inspect.c.
12354 This allows use of --disable-nls again and fixes #344642.
12356 2006-07-03 Edward Hervey <edward@fluendo.com>
12358 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12359 Implement pad blocking on events according to part-block.txt.
12360 More comments on behaviour.
12361 * tests/check/gst/gstevent.c: (test_event):
12362 Send event to peer pad of blocked pad (else it will block).
12364 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12366 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12367 (gst_check_run_suite):
12368 if we get the wrong message, give us the types as string
12369 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12371 * tests/check/elements/filesrc.c: (GST_START_TEST):
12372 add a test for trying to open a non-existing file
12374 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12376 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12377 add a test for adding self
12379 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12381 * libs/gst/check/gstcheck.h:
12382 add some assert_ as alias for fail_unless_*
12383 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12384 increase test coverage
12386 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12389 include lcov.mak for lcov coverage generation
12390 * tools/Makefile.am:
12393 2006-07-02 Edward Hervey <edward@fluendo.com>
12395 * tests/check/elements/.cvsignore:
12398 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12401 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12402 * tests/check/Makefile.am:
12403 clean up gcov files
12405 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12407 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12408 remove gst_caps_simplify; it was not declared and not used
12409 and deprecated in 0.8
12411 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12413 * docs/faq/gst-uninstalled:
12414 don't put empty paths on PYTHONPATH
12415 * docs/gst/gstreamer-sections.txt:
12416 remove some symbols that are not there
12418 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12420 * gst/gstcaps.c: (gst_caps_compare_structures):
12422 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12423 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12426 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12428 * libs/gst/dataprotocol/Makefile.am:
12429 build dataprotocol test by linking to the lib, instead of
12430 compiling the source, so we get coverage
12431 * tests/check/Makefile.am:
12432 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12433 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12434 add a test for filesrc
12436 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12438 * tests/check/gst/gststructure.c: (GST_START_TEST),
12439 (gst_structure_suite):
12440 Push coverage from 59.04% to 70.00%
12442 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12444 * tests/check/Makefile.am:
12445 gst-inspect every element; this makes sure that we also get
12446 coverage on element's get/set functions
12448 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12451 set CFLAGS and friends to -O0 if gcov is being used
12454 * libs/gst/base/Makefile.am:
12455 * libs/gst/check/Makefile.am:
12456 * libs/gst/controller/Makefile.am:
12457 * libs/gst/dataprotocol/Makefile.am:
12458 * libs/gst/net/Makefile.am:
12459 * plugins/elements/Makefile.am:
12460 * plugins/indexers/Makefile.am:
12461 add makefile rules to generate gcov data and clean up
12462 * tests/check/Makefile.am:
12463 add a coverage target that generates an html overview
12466 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12468 * tests/check/elements/fakesink.c:
12469 * tests/check/elements/fakesrc.c:
12470 * tests/check/elements/fdsrc.c:
12471 * tests/check/elements/identity.c:
12472 * tests/check/generic/sinks.c: (gst_sinks_suite):
12473 * tests/check/generic/states.c:
12474 * tests/check/gst/gst.c:
12475 * tests/check/gst/gstabi.c:
12476 * tests/check/gst/gstbin.c:
12477 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12478 * tests/check/gst/gstbus.c: (gst_bus_suite):
12479 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12480 * tests/check/gst/gstelement.c:
12481 * tests/check/gst/gstevent.c: (gst_event_suite):
12482 * tests/check/gst/gstghostpad.c:
12483 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12484 * tests/check/gst/gstmessage.c: (gst_message_suite):
12485 * tests/check/gst/gstminiobject.c:
12486 * tests/check/gst/gstobject.c:
12487 * tests/check/gst/gstpad.c:
12488 * tests/check/gst/gstpipeline.c:
12489 * tests/check/gst/gstplugin.c:
12490 * tests/check/gst/gstquery.c: (gst_query_suite):
12491 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12492 * tests/check/gst/gststructure.c:
12493 * tests/check/gst/gstsystemclock.c:
12494 * tests/check/gst/gsttag.c:
12495 * tests/check/gst/gsttask.c: (gst_task_suite):
12496 * tests/check/gst/gstutils.c:
12497 * tests/check/gst/gstvalue.c:
12498 * tests/check/libs/adapter.c:
12499 * tests/check/libs/basesrc.c:
12500 * tests/check/libs/collectpads.c:
12501 * tests/check/libs/controller.c:
12502 * tests/check/libs/gdp.c: (gst_dp_suite):
12503 * tests/check/libs/gstnetclientclock.c:
12504 * tests/check/libs/gstnettimeprovider.c:
12505 * tests/check/libs/libsabi.c: (libsabi_suite):
12506 * tests/check/libs/typefindhelper.c:
12507 * tests/check/pipelines/cleanup.c:
12508 * tests/check/pipelines/parse-launch.c:
12509 * tests/check/pipelines/simple-launch-lines.c:
12510 * tests/check/pipelines/stress.c: (stress_suite):
12513 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12515 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12516 * libs/gst/check/gstcheck.h:
12517 create a macro and function so that the simple unit test
12518 case can be just one macro to create main()
12520 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12522 * gst/gstbin.c: (gst_bin_restore_thyself):
12523 * gst/gstxml.c: (gst_xml_make_element):
12524 Fix deserialisation from XML. Set parent manually
12525 instead of using gst_bin_add(), since gst_bin_add()
12526 will unlink all pads of the element being added.
12529 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12531 Patch by: Peter Kjellerstedt <pkj at axis com>
12533 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12534 Fix missing g_strdup() and double free when using the
12535 --gst-plugin-load command line option (#346097).
12537 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12540 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12542 * libs/gst/net/gstnetclientclock.c:
12543 * libs/gst/net/gstnettimeprovider.c:
12544 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12546 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12548 * docs/manual/advanced-dataaccess.xml:
12549 Fix buffer probe example compilation in
12552 2006-06-22 Edward Hervey <edward@fluendo.com>
12554 * gst/gstelement.c: (gst_element_pads_activate):
12555 We need to deactivate src pads first and then sink pads.
12556 The reason is the src pads might be blocking while holding the streaming
12557 lock, so we need to deactivate them first so that deactivating the sink
12558 pads doesn't block (since it will require the streaming lock).
12560 2006-06-22 Wim Taymans <wim@fluendo.com>
12562 * libs/gst/base/gstbasetransform.c:
12563 (gst_base_transform_buffer_alloc):
12564 Forgot to remove two unneeded unrefs.
12565 Simplify a check _is_equal allready checks the obvious case.
12567 2006-06-22 Wim Taymans <wim@fluendo.com>
12569 * docs/design/part-block.txt:
12570 Some docs about what pad_block should do.
12572 2006-06-22 Wim Taymans <wim@fluendo.com>
12574 * gst/gstcaps.c: (gst_caps_replace):
12575 Fix crasher when passed NULL. Doc clarification.
12576 Optimize for the trivial case.
12578 * gst/gstpipeline.c: (gst_pipeline_change_state):
12581 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12582 Small documentation cleanup.
12584 * libs/gst/base/gstbasetransform.c:
12585 (gst_base_transform_buffer_alloc):
12586 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12587 is what we need and it avoids a whole lot of redundant
12588 refcount operations.
12590 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12592 Patch by: Philip Jägenstedt <philip at lysator liu se>
12594 * docs/manual/advanced-dataaccess.xml:
12595 Fix 'Embedding static elements' section to use
12596 GST_PLUGIN_DEFINE_STATIC (#345607).
12598 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12600 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12601 Attempt to 'fix' spuriously failing test case: it seems like the
12602 timeout of half a second is simply too small when the system is under
12603 load otherwise, and the timeout doesn't really seem to serve any
12604 particular purpose here. Give the pipeline a few seconds to preroll
12605 first, and then give it another half a second to go from PAUSED to
12606 PLAYING and marshal the message into the main thread.
12608 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12610 * tools/gst-feedback-m.m:
12611 Don't only use unversioned tools, try versioned tools as well
12614 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12616 * gst/gstbus.c: (gst_bus_class_init):
12617 Fix some typos, make docs more explicit.
12619 2006-06-20 Wim Taymans <wim@fluendo.com>
12621 * tests/check/gst/gstghostpad.c: (block_callback),
12622 (GST_START_TEST), (gst_ghost_pad_suite):
12623 Added some more ghostpad tests, mainly blocking
12626 2006-06-16 Wim Taymans <wim@fluendo.com>
12628 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12629 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12630 (gst_file_sink_event), (gst_file_sink_render):
12631 * plugins/elements/gstfilesink.h:
12632 Check if we can seek in the file instead of assuming
12633 we always can. Post an error when we are asked to seek in a
12634 non-seekable file (like a fifo). Fixes #343312.
12637 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12639 * tools/gst-launch.1.in:
12640 Un-garble (fourcc) bit in filtered caps section.
12642 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12644 * docs/manual/advanced-autoplugging.xml:
12645 * docs/manual/basics-helloworld.xml:
12646 * docs/manual/highlevel-components.xml:
12647 Don't leak bus reference in sample code.
12649 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12652 Add default for new --enable-plugin-docs switch.
12655 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12658 * docs/Makefile.am:
12659 Use new ENABLE_PLUGIN_DOCS conditional.
12661 2006-06-14 Wim Taymans <wim@fluendo.com>
12663 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12664 Make it clear with a FIXME and a real define what the #if 0
12665 previously disabled.
12667 2006-06-14 Wim Taymans <wim@fluendo.com>
12669 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12670 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12671 * libs/gst/base/gstbasetransform.c:
12672 (gst_base_transform_sink_eventfunc):
12673 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12674 Don't randomly and silently reset a segment when the format
12675 changes as this is a bug somewhere upstream. Fixes #330379.
12677 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12679 Patch by: Wouter Paesen <wouter at kangaroot net>
12681 * libs/gst/controller/gstcontroller.c:
12682 (gst_controlled_property_new):
12683 Fix controlling of float properties (#344849).
12685 * tests/check/libs/controller.c:
12686 (gst_test_mono_source_get_property),
12687 (gst_test_mono_source_set_property),
12688 (gst_test_mono_source_class_init), (GST_START_TEST):
12689 While we're at it, add some float stuff to unit test.
12691 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12694 * docs/images/gdp-header.svg:
12696 * docs/libs/Makefile.am:
12697 * docs/libs/gdp-header.png:
12698 * libs/gst/dataprotocol/dataprotocol.c:
12699 add it to the API docs
12700 * docs/manual/intro-motivation.xml:
12703 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12705 * gst/gst.c: (scan_and_update_registry), (init_post):
12706 If the fork()'ed child process can't write the updated registry cache
12707 file to disk for some reason, make it exit with a failure exit code,
12708 so that the parent can then re-scan the plugins itself and update the
12709 registry structures in memory and work with that (rather than failing
12710 when creating elements because seemingly no plugins are available).
12711 Refactor registry scanning code into separate function for this and
12712 also separate fork() and non-fork() code paths. Fixes #344748.
12714 2006-06-13 Wim Taymans <wim@fluendo.com>
12716 * docs/manual/advanced-dataaccess.xml:
12717 Fix wrong PluginDesc. Fixes #344755.
12719 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12721 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12722 Fix silly bug that prevented us from creating
12723 ~/.gstreamer-0.10 and writing the registry in one
12724 go (the first call to g_mkstemp() would overwrite the
12725 placeholder in the template string, so the second call
12726 to g_mkstemp() after creating the missing directory
12727 would then error out with 'invalid argument').
12729 2006-06-13 Edward Hervey <edward@fluendo.com>
12731 * gst/gst.c: (init_post):
12734 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12736 * gst/glib-compat-private.h:
12737 * gst/glib-compat.c:
12738 * gst/glib-compat.h:
12739 * gst/gstvalue.c: (gst_value_serialize_flags):
12740 remove GLib 2.6 compatibility code
12742 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12744 * gst/parse/Makefile.am:
12745 Fix build with 'make -j N' even more (#340016).
12747 2006-06-12 Wim Taymans <wim@fluendo.com>
12749 * docs/gst/gstreamer-sections.txt:
12752 2006-06-12 Wim Taymans <wim@fluendo.com>
12754 * gst/gstsegment.c: (gst_segment_set_duration),
12755 (gst_segment_set_last_stop), (gst_segment_set_seek),
12756 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12757 (gst_segment_to_running_time), (gst_segment_clip):
12758 Use G_UNLIKELY to help the compiler a bit.
12760 2006-06-12 Wim Taymans <wim@fluendo.com>
12762 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12764 * gst/gstevent.c: (gst_event_get_type):
12765 * gst/gstmessage.c:
12766 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12768 constify quark registration strings. Fixes #344115
12769 Avoid unneeded type checking is _pad_push() by internally
12770 calling gst_pad_chain_unchecked().
12772 2006-06-12 Wim Taymans <wim@fluendo.com>
12774 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12775 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12776 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12777 (gst_buffer_is_span_fast), (gst_buffer_span):
12778 Init _type for consistency.
12779 Use _FLAGS macro to avoid type check.
12780 Avoid unneeded type checks in subbufer code.
12782 2006-06-12 Wim Taymans <wim@fluendo.com>
12784 * gst/gst.c: (gst_debug_help):
12785 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12786 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12787 (gst_plugin_feature_list_free):
12788 * gst/gstregistry.c: (gst_registry_add_plugin),
12789 (gst_registry_add_feature), (gst_registry_plugin_filter),
12790 (gst_registry_feature_filter), (gst_registry_find_plugin),
12791 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12792 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12793 * gst/gstregistryxml.c: (load_feature),
12794 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12795 * gst/gstminiobject.c: (gst_mini_object_unref),
12796 (gst_mini_object_replace), (gst_value_mini_object_free),
12797 (gst_value_mini_object_copy):
12798 Use _CAST macros to avoid unneeded type checking.
12799 Added some more G_UNLIKELY.
12801 2006-06-12 Wim Taymans <wim@fluendo.com>
12804 Avoid unneeded type checking.
12805 API: GST_BUFFER_IS_DISCONT
12807 * gst/gstminiobject.h:
12808 Avoid type check in flag accessor.
12810 * gst/gstelementfactory.h:
12812 * gst/gstpluginfeature.h:
12814 API: GST_ELEMENT_FACTORY_CAST
12815 API: GST_PLUGIN_CAST
12816 API: GST_PLUGIN_FEATURE_CAST
12818 2006-06-12 Wim Taymans <wim@fluendo.com>
12820 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12821 (gst_object_unref):
12822 Add G_UNLIKELY in type registration.
12823 Avoid type check in _ref/_unref since that is also
12826 2006-06-12 Wim Taymans <wim@fluendo.com>
12828 * gst/gsterror.c: (gst_g_error_get_type):
12829 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12830 (gst_static_pad_template_get_type):
12831 * gst/gsttaglist.c: (gst_tag_list_get_type):
12832 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12833 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12834 * gst/gsturi.c: (gst_uri_handler_get_type):
12835 * gst/gstvalue.c: (gst_date_get_type):
12836 * gst/gstxml.c: (gst_xml_get_type):
12837 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12838 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12839 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12840 Add G_UNLIKELY in type registration.
12842 2006-06-12 Wim Taymans <wim@fluendo.com>
12844 * tools/gst-inspect.c: (print_signal_info):
12845 Properly print enum values.
12847 2006-06-12 Wim Taymans <wim@fluendo.com>
12849 * gst/gstinfo.c: (gst_debug_set_active),
12850 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12852 Add some G_[UN]LIKELY.
12853 Maintain __gst_debug_min to avoid formatting the arguments of
12854 debug messages that will be dropped anyway to avoid a lot of
12855 overhead from the debugging system.
12857 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12860 * po/POTFILES.skip:
12861 add missing files containing translatable strings, tell intltool about
12864 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12866 * tests/check/libs/.cvsignore:
12867 add test-binary to ignore list
12869 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12871 * docs/libs/gstreamer-libs-docs.sgml:
12872 reorder (put dp into a chapter) and indent
12874 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12879 === release 0.10.8 ===
12881 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12884 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12886 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12888 * gst/gst.c: (init_post):
12889 move pid declaration to declaration block
12891 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12893 * gst/gst.c: (init_post):
12894 use _exit() instead of exit() in our forked child; this ensures
12895 that none of the registered exit handlers from whatever is using
12896 GStreamer get executed. This fixes gnome-mixer-applet failing
12897 to load, because ORBit would shut down.
12898 Spotted by: Edward Hervey <edward@fluendo.com>
12899 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12902 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12907 === release 0.10.7 ===
12909 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12912 releasing 0.10.7, "Soepeke, ik zie ou"
12914 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12937 * win32/common/config.h:
12938 0.10.6.2 prerelease
12940 2006-06-07 Wim Taymans <wim@fluendo.com>
12942 * gst/gstindex.c: (gst_index_gtype_resolver):
12943 * tools/gst-xmlinspect.c: (print_plugin_info):
12944 Fix leak spotted by coverity checker. Fixes #343827
12945 Fix another other leak found by paolo borelli.
12947 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12949 * libs/gst/dataprotocol/dataprotocol.c:
12950 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12951 (gst_dp_version_get_type), (gst_dp_init),
12952 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12953 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12954 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12955 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12956 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12957 (gst_dp_packetizer_free):
12958 * libs/gst/dataprotocol/dataprotocol.h:
12959 API: add a GstDPPacketizer object, and create/free functions
12960 API: add GstDPVersion enum
12961 Add 1.0 event function that uses the string serialization
12962 Serialize more useful buffer flags
12965 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12967 * tests/check/Makefile.am:
12968 * tests/check/gst/gstabi.c:
12969 * tests/check/gst/struct_ppc64.h:
12970 * tests/check/libs/libsabi.c:
12971 * tests/check/libs/struct_ppc64.h:
12972 add ppc64 structure sizes
12974 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12976 * tests/check/Makefile.am:
12977 * tests/check/gst/gstabi.c:
12978 * tests/check/gst/struct_x86_64.h:
12979 * tests/check/libs/libsabi.c:
12980 * tests/check/libs/struct_x86_64.h:
12981 generate and add structure size lists for x86_64
12983 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12985 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12986 * libs/gst/check/gstcheck.h:
12987 factor out the method from tests that checks size of structures,
12988 and add code to generate the header containing these sizes
12989 * tests/check/gst/gstabi.c: (GST_START_TEST):
12990 * tests/check/gst/struct_i386.h:
12991 * tests/check/libs/libsabi.c: (GST_START_TEST):
12992 * tests/check/libs/struct_i386.h:
12995 2006-06-06 Michael Smith <msmith@fluendo.com>
12997 * gst/gstsegment.h:
12998 Don't use c++-style comments, fixes #343929
13000 2006-06-05 Edward Hervey <edward@fluendo.com>
13003 plugin_paths is not used if we build without registry support.
13005 * gst/gstsegment.c: (gst_segment_copy):
13006 _copy() was always returning NULL...
13008 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13010 * libs/gst/dataprotocol/dataprotocol.c:
13011 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13012 (gst_dp_packet_from_event):
13013 factor out CRC code
13015 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13017 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13018 make sure we unset caps
13020 2006-06-02 Michael Smith <msmith@fluendo.com>
13022 * libs/gst/check/gstcheck.c: (gst_check_init),
13023 (gst_check_chain_func):
13024 * libs/gst/check/gstcheck.h:
13025 Add a cond/mutex to the check support lib, signal this whenever we
13026 add to the buffers list. This will allow tests to not busy-wait on
13029 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13031 * libs/gst/dataprotocol/dataprotocol.c:
13032 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13033 (gst_dp_packet_from_event):
13034 factor out some common header init code
13036 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13038 * docs/libs/gstreamer-libs-sections.txt:
13039 * docs/libs/tmpl/gstdataprotocol.sgml:
13040 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13041 * libs/gst/dataprotocol/dataprotocol.h:
13042 API: make gst_dp_crc() public
13044 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13046 * plugins/indexers/gstindexers.c: (plugin_init):
13047 conditionally register fileindexer (fixes #343598)
13049 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13051 * gst/gsttagsetter.h:
13052 Can't cast ifaces to a class
13054 * libs/gst/net/gstnetclientclock.h:
13055 * libs/gst/net/gstnettimeprovider.h:
13056 * plugins/elements/gstfakesink.h:
13057 * plugins/elements/gstfakesrc.h:
13058 * plugins/elements/gstfdsink.h:
13059 * plugins/elements/gstfdsrc.h:
13060 * plugins/elements/gstfilesink.h:
13061 * plugins/elements/gstfilesrc.h:
13062 * plugins/elements/gstidentity.h:
13063 * plugins/elements/gstqueue.h:
13064 * plugins/elements/gsttee.h:
13065 * plugins/indexers/gstfileindex.c:
13066 * plugins/indexers/gstmemindex.c:
13067 * tests/old/examples/plugins/example.h:
13068 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13070 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
13072 * libs/gst/dataprotocol/dataprotocol.c:
13073 (gst_dp_header_from_buffer):
13074 make sure we zero the whole ABI-compatible area
13076 2006-06-01 Wim Taymans <wim@fluendo.com>
13078 Patch by: Alessandro Decina <alessandro at nnva dot org>
13080 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13081 Make sure the EOS flag is cleared from pads after a flush
13082 or stop. Fixes #343538.
13084 * tests/check/libs/collectpads.c: (GST_START_TEST),
13085 (gst_collect_pads_suite):
13086 Added test for collectpads reusage after EOS.
13088 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
13091 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13092 * win32/common/libgstbase.def:
13093 export gst_collect_pads_set_flushing
13094 * win32/common/libgstreamer.def:
13095 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13096 gst_value_fraction_multiply
13097 * win32/vs6/gst_inspect.dsp:
13098 add a link to intl.lib
13100 2006-05-30 Wim Taymans <wim@fluendo.com>
13102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13103 (gst_collect_pads_chain):
13104 Handle the case where a pad is removed from the collection
13105 that could cause the other pads to become collectable.
13107 2006-05-30 Wim Taymans <wim@fluendo.com>
13109 * gst/gstelement.c:
13110 Clarify the use of _release_request_pad() and
13111 _get_request_pad() a bit better.
13113 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13114 (gst_adapter_take_buffer):
13115 Fix some doc and comment typos.
13117 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13119 * docs/gst/gstreamer-sections.txt:
13120 * docs/libs/gstreamer-libs-sections.txt:
13121 add declared symbols
13123 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
13125 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13126 Add debug that can be enabled using a #define at the top of the file,
13127 for dumping stats about how late/early we were when waking up from
13128 waiting on the clock.
13130 2006-05-30 Wim Taymans <wim@fluendo.com>
13132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13133 When rebuilding the pad list, don't leak the previous list.
13135 2006-05-30 Wim Taymans <wim@fluendo.com>
13137 Patch by: Lutz Mueller <lutz at topfrose dot de>
13139 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13140 (gst_base_src_get_query_types), (gst_base_src_update_length):
13141 Publish supported query types.
13142 Update last_stop field in get_range mode so the position
13143 query works. Fixes #342321.
13145 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
13147 * docs/gst/gstreamer-sections.txt:
13148 * gst/gsttaglist.c: (_gst_tag_initialize):
13149 * gst/gsttaglist.h:
13150 API: add GST_TAG_PREVIEW_IMAGE (#343341).
13152 2006-05-30 Wim Taymans <wim@fluendo.com>
13154 Patch by: Alessandro Decina <alessandro at nnva dot org>
13156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13157 Unlock mutex when removing an unknown pad.
13160 * tests/check/Makefile.am:
13161 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13162 (push_event), (setup), (teardown), (GST_START_TEST),
13163 (gst_collect_pads_suite), (main):
13164 Added collecpads check, disabled for now as check crashes for
13167 2006-05-29 Wim Taymans <wim@fluendo.com>
13169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13170 Don't leak pads lists.
13172 2006-05-29 Wim Taymans <wim@fluendo.com>
13174 * docs/libs/gstreamer-libs-sections.txt:
13175 * libs/gst/base/gstcollectpads.c:
13176 (gst_collect_pads_set_flushing_unlocked),
13177 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13178 (gst_collect_pads_stop):
13179 * libs/gst/base/gstcollectpads.h:
13180 API: gst_collect_pads_set_flushing()
13181 Added api to set the pads to flushing, useful for seeking
13182 code in elements using collectpads.
13183 Clear segment when receiving a flush.
13185 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13187 * gst/gst.c: (add_path_func), (init_post):
13188 Don't scan registry paths passed via --gst-plugin-path immediately
13189 (will crash, because absolutely nothing is set up and no types are
13190 registered etc.); do this later in init_post(). Fixes #343057.
13192 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13194 * gst/gst.c: (init_post):
13195 if we have fork, fork while reading/rebuilding the registry
13196 so the parent doesn't take the hit of having all plugins loaded
13197 in memory. Fixes #342777.
13199 Check if we have fork()
13200 * win32/common/config.h.in:
13203 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13205 * plugins/elements/gstelements.c:
13206 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13207 (gst_file_src_init), (gst_file_src_set_property),
13208 (gst_file_src_get_property), (gst_file_src_start):
13209 * plugins/elements/gstfilesrc.h:
13210 API: GstFileSrc::use-mmap
13212 Add a use-mmap property to enable easier testing of all code paths.
13213 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13214 in the absence of gnomevfssrc. (Closes #340501)
13216 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13218 * tools/gst-inspect.c:
13219 Add missing include, removes warning of ngettext not being defined on
13222 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13224 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13225 Handle NULL input and output pointers silently as a failed conversion,
13226 rather than g_warnings.
13228 2006-05-25 Wim Taymans <wim@fluendo.com>
13230 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13231 Initialize variable before using. Fixes #342820.
13233 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13235 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13236 Fix off-by-one bug that would only allow peeks of N-1 bytes
13237 from the start even if the buffer to typefind on contains
13238 in fact N bytes of data (makes vorbis typefinding from a
13239 vorbis identification header buffer work).
13241 * tests/check/Makefile.am:
13242 * tests/check/libs/.cvsignore:
13243 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13244 (gst_typefindhelper_suite), (main), (foobar_typefind),
13246 Add very basic unit test for gst_type_find_helper_for_buffer()
13247 that checks for the problem fixed above.
13249 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13251 * tools/gst-inspect.c: (print_interfaces),
13252 (print_element_properties_info), (print_element_list), (main):
13253 add more translatable strings
13255 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13257 Patch by: Julien Moutte <julien at moutte net>
13259 * docs/gst/gstreamer-sections.txt:
13260 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13262 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13263 (gst_fake_sink_preroll):
13264 * plugins/elements/gstfakesink.h:
13265 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13267 2006-05-23 Wim Taymans <wim@fluendo.com>
13269 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13271 Added _CUSTOM error and success GstFlowReturn that can be
13272 used be elements internally.
13273 Added macro to check for SUCCESS flowreturns.
13274 API: GST_FLOW_CUSTOM_SUCCESS
13275 API: GST_FLOW_CUSTOM_ERROR
13276 API: GST_FLOW_IS_SUCCESS
13278 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13279 Added check for GstFlowReturn sanity.
13281 2006-05-23 Wim Taymans <wim@fluendo.com>
13283 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13285 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13286 (gst_collect_pads_event):
13287 clear/reset segment info in FLUSH_STOP.
13290 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13292 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13293 (gst_collect_pads_check_collected):
13294 Flush queued buffer on _stop(), fixes playing again (#342454)
13296 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13298 * tests/check/gst/gststructure.c: (GST_START_TEST),
13299 (gst_structure_suite):
13300 add a test for a complete structure
13302 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13304 * docs/faq/developing.xml:
13305 * docs/faq/faq.xml:
13306 * docs/faq/troubleshooting.xml:
13307 * docs/faq/using.xml:
13308 Some minor FAQ updates that won't change the fact that
13309 our FAQ is badly structured, full of information hardly
13310 anyone new to GStreamer needs to know and lacking lots
13311 of information people constantly ask for.
13313 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13315 * gst/gstpad.c: (gst_pad_set_caps):
13316 Short-circuit gst_pad_set_caps if setting the existing
13317 caps pointer again, and avoid printing debug and
13318 reffing/unreffing the caps.
13320 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13321 There's actually no need to set the caps before pushing -
13322 the acceptcaps method will handle it anyway.
13324 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13326 * docs/gst/gstreamer-sections.txt:
13327 * win32/common/libgstreamer.def:
13328 * gst/gstutils.c: (gst_element_seek_simple):
13330 API: add gst_element_seek_simple() (#342238).
13332 2006-05-18 Edward Hervey <edward@fluendo.com>
13334 * gst/gsttypefind.c: (gst_type_find_get_type):
13335 * gst/gsttypefind.h:
13336 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13337 registered for GstTypeFind pointers. This allows wrapping the structure
13338 in bindings (i.e. gst-python).
13340 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13342 * gst/gsttagsetter.c:
13343 Docs additions and fixes (see #339918).
13345 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13347 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13348 The caps intersection algorithm can produce multiple copies of the
13349 caps. Until that is fixed, we need to simplify the result to be
13350 sure whether the allowed caps are fixed or not.
13352 * plugins/elements/gstqueue.c: (gst_queue_init),
13353 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13354 (gst_queue_push_one):
13355 Proxied buffer alloc should not set the caps on the source pad.
13356 When pushing buffers, we always accept the caps change that triggers.
13357 This prevents negotiation errors caused by caps changing mid-stream
13358 and then being refused on our source pad (because upstream is now
13359 refusing those caps).
13361 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13363 * tests/examples/helloworld/helloworld.c: (main):
13364 Must plug audioconvert and audioresample between decoder
13367 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13369 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13370 (load_feature), (load_plugin):
13371 Allow empty strings for some of the plugin fields so we don't
13372 drop valid plugin entries that were written out correctly
13375 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13377 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13378 Use g_remove and g_rename instead of remove and rename that don't
13379 handle utf8 characters. rename was failing for users who had specific
13380 characters in their name then the registry was built at each
13382 * win32/vs6/gst_inspect.dsp:
13383 * win32/vs6/gst_launch.dsp:
13384 * win32/vs6/libgstbase.dsp:
13385 * win32/vs6/libgstcoreelements.dsp:
13386 * win32/vs6/libgstreamer.dsp:
13387 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13388 build of libgstreamer and clean unused libraries in projects link
13391 2006-05-17 Edward Hervey <edward@fluendo.com>
13393 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13394 The queue is not responsible for pushing an EOS when receiving a fatal
13395 flow error. It's up to the real element driving the pipeline to do that.
13397 2006-05-16 Edward Hervey <edward@fluendo.com>
13399 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13400 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13401 buffer returned a fatal error. It should just send an EOS and stop
13403 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13404 when pushing buffers on the queue and will be able to handle the event.
13406 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13408 * docs/manual/basics-bins.xml:
13409 * docs/manual/basics-init.xml:
13410 Fix typos and minor errors in sample code (#341856).
13412 2006-05-16 Wim Taymans <wim@fluendo.com>
13414 * docs/design/part-qos.txt:
13415 Fix indexes in formulas to make more sense.
13417 2006-05-15 Wim Taymans <wim@fluendo.com>
13419 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13420 Don't report POSITION based on clock time if sync is
13421 disabled in a sink.
13423 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13426 Add cast to make compiler happy - refcount variable was a gint
13427 in GstObject but is a guint in GObject and g_atomic_int_get()
13430 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13432 * gst/parse/Makefile.am:
13433 chain commands using &&, which also makes parallel make work
13435 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13437 * docs/gst/gstreamer-sections.txt:
13440 * gst/gstmessage.h:
13443 === release 0.10.6 ===
13445 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13448 releasing 0.10.6, "Take the cannoli"
13450 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13452 * tools/gst-launch.c: (print_tag):
13453 Fix use of uninitialized variable in the hypothetical
13454 case that some broken plugin creates a GST_TAG_IMAGE
13455 tag containing a NULL buffer (#341667).
13457 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13459 * tools/gst-launch.c: (print_tag):
13460 Print something more intelligible for image tags when
13461 using the -t switch (#341556).
13463 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13468 define GST_MAJORMINOR so we have it available in win32/common/config.h
13469 Possibly remove it from our Makefile.am files later
13470 * win32/common/config.h:
13471 * win32/common/config.h.in:
13472 added GST_MAJORMINOR
13473 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13474 * win32/common/gstversion.h:
13477 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13480 Update win32 files listing.
13481 * win32/common/gstversion.h:
13482 Add GST_MAJORMINOR definition.
13483 * win32/common/libgstreamer.def:
13484 Add new exported functions.
13486 2006-05-12 Michael Smith <msmith@fluendo.com>
13488 * gst/gstplugin.c: (gst_plugin_load_file):
13489 If an so file has no plugin entry point, unload the module.
13491 2006-05-11 Wim Taymans <wim@fluendo.com>
13493 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13494 (gst_queue_set_property):
13495 Don't forget to signal the _chain or _loop function
13496 when the queue size or thresholds change since that might
13497 cause them to make progres again.
13499 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13501 * gst/gstclock.c: (gst_clock_class_init):
13502 * gst/gstindex.c: (gst_index_class_init):
13503 * gst/gstobject.c: (gst_object_class_init):
13504 * gst/gstpad.c: (gst_pad_class_init):
13505 * gst/gstpipeline.c: (gst_pipeline_class_init):
13506 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13507 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13508 * libs/gst/base/gstbasetransform.c:
13509 (gst_base_transform_class_init):
13510 * libs/gst/net/gstnetclientclock.c:
13511 (gst_net_client_clock_class_init):
13512 * libs/gst/net/gstnettimeprovider.c:
13513 (gst_net_time_provider_class_init):
13514 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13515 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13516 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13517 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13518 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13519 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13520 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13521 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13522 * plugins/elements/gsttee.c: (gst_tee_class_init):
13523 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13524 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13525 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13527 2006-05-11 Wim Taymans <wim@fluendo.com>
13529 * gst/gstbuffer.c: (_gst_buffer_initialize):
13530 Register subbufer along with the buffer type so that
13531 it does not accidentally gets registered from N
13532 different streaming threads in a non threadsafe way.
13534 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13538 * gst/gstmessage.h:
13539 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13540 gst_event_ref() and gst_message_ref() functions again
13541 (ugly hack, please do fix if there's a better way besides
13542 overrides.txt, which doesn't seem to work).
13544 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13546 * libs/gst/check/gstcheck.h:
13547 add an assert for setting state to avoid lots of repetitive code
13550 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13552 * gst/gstvalue.c: (gst_value_serialize_flags):
13553 fix a leak if no flags are set
13554 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13557 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13559 * docs/manual/basics-pads.xml:
13560 Expand a bit on caps and filtered links and update
13561 examples that were still using the no longer existing
13562 gst_pad_link_filtered() (#338206).
13564 2006-05-10 Wim Taymans <wim@fluendo.com>
13566 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13567 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13568 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13569 (gst_collect_pads_stop):
13570 * libs/gst/base/gstcollectpads.h:
13571 No need to call _stop in _finalize.
13572 Iterate the main pad list in _finalize.
13573 Added some more debug.
13574 Free lists and data in the right order.
13575 Also free data whem doing _remove_pad when stopped for
13576 backward compatibility protect ::started with PAD_LOCK as
13579 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13581 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13582 (gst_structure_parse_value):
13584 rename a method so that it actually says what it does better
13586 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13588 * gst/gstevent.c: (_gst_event_initialize):
13589 * gst/gstformat.c: (_gst_format_initialize):
13590 make sure some essential types used by events are registered
13591 as part of gst_init()
13592 * gst/gstvalue.c: (gst_value_serialize_flags):
13593 if no flags are set, serialize them to a value that represents NONE
13594 so that deserializing them works
13595 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13596 add tests for serialization and deserialization of flags
13598 2006-05-10 Wim Taymans <wim@fluendo.com>
13600 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13601 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13602 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13603 (gst_collect_pads_event), (gst_collect_pads_chain):
13606 Catch and return errors from the collect function
13607 Refuse data on eos pads.
13609 2006-05-10 Edward Hervey <edward@fluendo.com>
13611 * gst/gstinterface.h:
13612 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13613 GInterface type checking.
13614 They were previously using non-defined macros.
13616 2006-05-09 Wim Taymans <wim@fluendo.com>
13618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13619 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13620 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13621 (gst_collect_pads_start), (gst_collect_pads_stop),
13622 (gst_collect_pads_peek), (gst_collect_pads_pop),
13623 (gst_collect_pads_available), (gst_collect_pads_read),
13624 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13625 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13626 (gst_collect_pads_chain):
13627 * libs/gst/base/gstcollectpads.h:
13628 Clean up the mess that is collectpads, add comments and
13629 FIXMEs where needed.
13630 Maintain a separate pad list so we can add pads while
13631 collecting the other ones. For this we need a new separate
13633 Fix memory leak in finalize.
13634 Refactor some weird code to set/unset pad flushing flags, mark
13636 Don't crash in _available, _read, _flush when we're EOS.
13638 * tests/check/libs/.cvsignore:
13639 Ignore adapter check binary.
13641 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13643 * gst/gstindex.c: (gst_index_resolver_get_type):
13644 * plugins/elements/gstfakesink.c:
13645 (gst_fake_sink_state_error_get_type):
13646 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13647 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13648 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13649 Const-ify GEnumValue arrays.
13651 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13653 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13654 Add test case for flags + gst_buffer_make_metadata_writable().
13656 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13658 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13659 gst_buffer_make_metadata_writable() should maintain the
13660 buffer flags (those that make sense at least) (see #340859).
13662 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13664 * tools/gst-inspect.c:
13665 * tools/gst-launch.c:
13666 * tools/gst-typefind.c:
13667 * tools/gst-xmlinspect.c:
13669 Fix up includes: need to include stdlib.h in tools.h for exit().
13671 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13673 * gst/gsttaglist.c: (_gst_tag_initialize):
13674 * gst/gsttaglist.h:
13675 API: add GST_TAG_IMAGE tag (#340721).
13677 2006-05-08 Wim Taymans <wim@fluendo.com>
13680 Added some docs for the segment query.
13682 2006-05-08 Wim Taymans <wim@fluendo.com>
13684 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13685 (gst_base_src_loop), (gst_base_src_change_state):
13686 Always push non-flushing serialized events in the streaming
13689 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13691 * gst/gsterror.c: (_gst_stream_errors_init):
13692 Add a missing error string.
13694 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13696 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13697 Add applied_rate to the debug
13699 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13700 Copy applied_rate into the outgoing NEWSEGMENT event
13702 2006-05-08 Wim Taymans <wim@fluendo.com>
13704 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13706 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13707 (gst_base_sink_change_state):
13708 call ::unlock before taking the PREROLL_LOCK so we can safely
13709 handle elements that lock in ::render.
13712 2006-05-08 Edward Hervey <edward@fluendo.com>
13714 * autogen.sh: (CONFIGURE_DEF_OPT):
13715 Darwin's libtoolize is in fact called glibtoolize.
13716 Adding glibtoolize to the list of accepted names for libtoolize.
13718 2006-05-08 Wim Taymans <wim@fluendo.com>
13720 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13721 Unify error handling, don't post an error message
13722 when a push() returns EOS but perform our normal EOS
13723 handling code. Fixes #340772.
13725 2006-05-08 Wim Taymans <wim@fluendo.com>
13727 * docs/design/part-overview.txt:
13728 Make upsteam/downstream concepts more clear.
13729 Give an example of serialized/non-serialized events.
13731 * docs/design/part-events.txt:
13732 * docs/design/part-streams.txt:
13733 Mention applied_rate.
13735 * docs/design/part-trickmodes.txt:
13736 Mention applied rate, flesh out some more use cases.
13738 * gst/gstevent.c: (gst_event_new_new_segment),
13739 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13740 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13741 (gst_event_parse_tag), (gst_event_new_buffer_size),
13742 (gst_event_parse_buffer_size), (gst_event_new_qos),
13743 (gst_event_parse_qos), (gst_event_parse_seek),
13744 (gst_event_new_navigation):
13746 Add applied_rate field to NEWSEGMENT event.
13747 API: gst_event_new_new_segment_full()
13748 API: gst_event_parse_new_segment_full()
13750 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13751 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13752 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13753 * gst/gstsegment.h:
13754 Add applied_rate to GstSegment structure.
13755 Make calculation of stream_time and running_time more correct
13756 wrt rate/applied_rate.
13757 Add some more docs.
13758 API: GstSegment::applied_rate field
13759 API: gst_segment_set_newsegment_full();
13761 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13762 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13763 * libs/gst/base/gstbasetransform.c:
13764 (gst_base_transform_sink_eventfunc),
13765 (gst_base_transform_handle_buffer):
13766 Parse and use applied_rate in the GstSegment field.
13768 * tests/check/gst/gstevent.c: (GST_START_TEST):
13769 Add check for applied_rate field.
13771 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13772 (gstsegments_suite):
13773 Add more checks for various GstSegment operations.
13775 2006-05-08 Wim Taymans <wim@fluendo.com>
13777 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13778 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13779 (gst_base_sink_get_position), (gst_base_sink_change_state):
13780 Store the sync time of the buffer end position separatly in a
13781 new variable eos_rtime so we can properly sync the EOS event.
13783 Fix the docs for gst_base_sink_set_qos_enabled().
13784 Don't set segment start to invalid value when we receive a
13785 non TIME newsegment.
13786 get closer to handling position reporting for negative rates
13789 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13792 Docs about how to print caps for debug purposes.
13794 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13795 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13797 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13799 * gst/gstelement.c:
13800 use full enum names and preprend a '%' in docs strings to make recent
13801 gtk-doc turn that into a link
13803 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13805 * docs/manual/basics-bins.xml:
13806 * docs/manual/basics-bus.xml:
13807 * docs/manual/basics-pads.xml:
13808 Some typo fixes, some additions, some clarifications.
13810 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13812 * tools/gst-inspect.c: (main):
13813 * tools/gst-launch.c: (main):
13814 * tools/gst-run.c: (main):
13815 * tools/gst-typefind.c: (main):
13816 * tools/gst-xmlinspect.c: (main):
13817 Use the string passed to g_option_context_new() for
13818 what it's intended for - the program name is already
13821 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13823 * tools/Makefile.am:
13824 * tools/gst-inspect.c: (main):
13825 * tools/gst-launch.c: (main):
13826 * tools/gst-xmlinspect.c: (main):
13828 Add back --version command line option (#340460).
13830 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13831 Add --version option and use GOption for argument parsing; refactor a
13832 bit; accept directories as arguments and recurse into them; lastly,
13833 print a decent error message when things go wrong.
13835 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13837 * docs/manual/basics-bins.xml:
13838 Don't mention GstThread (#340611)
13839 * docs/manual/basics-elements.xml:
13840 Update link to GObject tutorial (#340607)
13842 2006-05-05 Wim Taymans <wim@fluendo.com>
13845 * gst/gstminiobject.c:
13846 Add note about refcounting and miniobject/buffer writeability
13847 to docs. Fixes #340604
13849 * gst/gstelementfactory.h:
13850 Added some explanation about @klass.
13852 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13854 * docs/manual/intro-motivation.xml:
13855 * docs/manual/manual.xml:
13856 Avoid CORBA & Bonobo references (#340598)
13858 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13860 * docs/manual/basics-bus.xml:
13861 * docs/manual/basics-pads.xml:
13862 Fix up some inaccuracies and omissions (#340609)
13864 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13866 * gst/gstghostpad.c:
13867 Small typo in docs (#340625)
13869 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13871 * gst/parse/Makefile.am:
13872 Make 'make -j' proof (see #340698).
13874 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13877 Require GLib-2.8 here as well.
13879 2006-05-05 Wim Taymans <wim@fluendo.com>
13881 * gst/glib-compat.c:
13882 * gst/gst.c: (init_pre):
13883 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13884 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13885 (gst_object_dispatch_properties_changed):
13887 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13888 * gst/gststructure.c: (gst_structure_set_valist):
13889 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13890 Remove pre glib2.8 compatibility, fixes #340508
13892 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13894 * gst/gsttaglist.h:
13895 Mention type of tags in doc blurbs.
13897 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13899 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13900 (gst_pad_configure_src), (gst_pad_push):
13901 Restore acceptcaps checking behaviour now that good plugins have
13904 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13906 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13913 * gst/gstmessage.c:
13917 * gst/parse/Makefile.am:
13918 * libs/gst/base/gstadapter.c:
13919 * libs/gst/base/gstbasesrc.c:
13920 * libs/gst/base/gstpushsrc.c:
13921 * libs/gst/base/gsttypefindhelper.c:
13922 * plugins/elements/gstfakesrc.c:
13923 * plugins/elements/gstidentity.c:
13924 Make sure gstprivate.h and/or config.h are
13925 always included first, otherwise some of our
13926 defines (like _FILE_OFFSET_BITS) might be
13927 redefined in the system headers. Fixes build
13928 on opensolaris (#340016).
13930 2006-05-04 Wim Taymans <wim@fluendo.com>
13932 * docs/libs/gstreamer-libs-sections.txt:
13933 API: addition: gst_adapter_take_buffer()
13935 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13936 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13937 (gst_adapter_available_fast):
13938 * libs/gst/base/gstadapter.h:
13939 Prepare for optimizing the hell out of this hugely inefficient
13941 Added gst_adapter_take_buffer() so we can at least start thinking
13942 about subbuffering and merging.
13943 Added some comments.
13945 * tests/check/Makefile.am:
13946 * tests/check/libs/adapter.c: (GST_START_TEST),
13947 (gst_adapter_suite), (main):
13948 Added GstAdapter check.
13950 2006-05-04 Wim Taymans <wim@fluendo.com>
13952 * docs/design/part-overview.txt:
13953 Fix some typos, add blurb about buffer flags.
13955 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13957 * docs/libs/gstreamer-libs-sections.txt:
13958 make sure GstBaseTransformClass shows up in the docs
13959 * libs/gst/base/gstbasetransform.c:
13960 * libs/gst/base/gstbasetransform.h:
13961 move docs so gtk-doc picks it up now
13963 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13965 * docs/libs/gstreamer-libs-sections.txt:
13966 add missing symbols to docs
13968 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13970 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13971 back out the newsegment handling change, see #340060 for ongoing
13974 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13976 * tools/gst-run.c: (get_candidates), (main):
13977 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13978 work); fix typo in error message. Fixes #340079.
13980 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13982 * common/Makefile.am:
13983 * docs/Makefile.am:
13984 * docs/faq/Makefile.am:
13985 * docs/gst/Makefile.am:
13986 * docs/libs/Makefile.am:
13987 * docs/manual/Makefile.am:
13988 * docs/plugins/Makefile.am:
13989 * docs/pwg/Makefile.am:
13990 * docs/slides/Makefile.am:
13992 * common/upload.mak:
13993 move upload.mak to common
13995 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13997 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13998 add more asserts on refcounts
13999 do more cleanup at end of tests
14000 fix test leaks showing in FC5
14002 2006-04-29 Stefan Kost <ensonic@users.sf.net>
14004 * plugins/elements/gsttypefindelement.c:
14005 (gst_type_find_element_handle_event):
14006 reverted wrong change and reflowed code to avoid others falling into
14009 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14011 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14012 fix changelog entry about last collectpads change,
14013 add notes about proper fix
14015 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14018 * gst/gstregistry.c: (gst_registry_scan_path_level),
14019 (gst_registry_scan_path):
14020 * gst/gstregistry.h:
14021 only write out registry if it has changed, fixes #338339
14023 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14026 * gst/gstpipeline.c:
14027 * plugins/elements/gstcapsfilter.c:
14028 * plugins/elements/gstfakesink.c:
14029 * plugins/elements/gstfakesrc.c:
14030 * plugins/elements/gstfdsink.c:
14031 * plugins/elements/gstfdsrc.c:
14032 * plugins/elements/gstfilesink.c:
14033 * plugins/elements/gstfilesrc.c:
14034 * plugins/elements/gstidentity.c:
14035 * plugins/elements/gstqueue.c:
14036 * plugins/elements/gsttee.c:
14037 * plugins/elements/gsttypefindelement.c:
14038 (gst_type_find_element_handle_event):
14039 make GstElementDetails const
14041 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14043 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14044 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14045 (gst_collect_pads_is_collected), (gst_collect_pads_event):
14046 more detailed debug and formatting cleanup,
14047 forward newsegments to src-pad (so that e.g. adder not eats them)
14049 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14051 * gst/gstutils.c: (gst_element_link_pads):
14052 cleanup double code
14054 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14056 * libs/gst/controller/gstcontroller.c:
14057 (gst_controller_sync_values):
14059 * tests/check/libs/controller.c: (GST_START_TEST),
14060 (gst_controller_suite):
14061 a new test for live value handling
14063 2006-04-28 Wim Taymans <wim@fluendo.com>
14065 * gst/gstutils.c: (push_and_ref):
14066 Added some more docs.
14067 Fix refcount issue whith gst_element_found_tags() helper
14068 function. Fixes #338335
14070 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14071 Added testsuite for gst_element_found_tags().
14073 2006-04-28 Michael Smith <msmith@fluendo.com>
14075 * gst/gstvalue.c: (gst_value_serialize_flags):
14076 Avoid NULL dereference when trying to serialize flags containing
14079 2006-04-28 Michael Smith <msmith@fluendo.com>
14081 * plugins/elements/gsttypefindelement.c:
14082 (gst_type_find_element_handle_event):
14083 If we get EOS before any data is accumulated, don't use
14084 uninitialised local variables.
14086 2006-04-28 Michael Smith <msmith@fluendo.com>
14088 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14089 (gst_dp_event_from_packet):
14090 Fixes in reading/writing events over GDP (not currently used?) -
14091 dereferencing NULL events for unknown/invalid event types, memory
14092 leak, and change g_warning to GST_WARNING.
14094 2006-04-28 Wim Taymans <wim@fluendo.com>
14096 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14097 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14098 (gst_base_sink_get_position), (gst_base_sink_change_state):
14099 When frame dropping is enabled, we should not ignore frames
14100 without a duration.
14101 Update some documentation.
14103 2006-04-28 Wim Taymans <wim@fluendo.com>
14105 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14106 (gst_base_src_send_event), (gst_base_src_change_state):
14107 Documentation updates.
14109 2006-04-28 Wim Taymans <wim@fluendo.com>
14111 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14112 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14113 handle EAGAIN, EINTR and short writes correctly. Also clean
14114 up some error cases, avoid a deadlock on bad file descriptors and
14115 use GST_DEBUG_OBJECT.
14118 2006-04-28 Wim Taymans <wim@fluendo.com>
14120 * gst/gstvalue.c: (gst_value_serialize_buffer),
14121 (gst_value_deserialize_buffer):
14122 Don't try to serialize a GValue with a NULL buffer.
14125 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14126 Added check for serialisation of NULL buffers.
14128 2006-04-28 Wim Taymans <wim@fluendo.com>
14130 * gst/gstminiobject.c: (gst_value_take_mini_object):
14131 Taking a NULL miniobject is valid, fix the case where
14132 we try to unref the NULL miniobject.
14134 2006-04-28 Wim Taymans <wim@fluendo.com>
14136 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14138 * gst/gstbin.c: (gst_bin_handle_message_func):
14140 Don't leak bin refcount when a state recalc is
14141 in progress and we delay another one #339808.
14143 2006-04-28 Wim Taymans <wim@fluendo.com>
14145 * docs/design/part-TODO.txt:
14146 Mention QoS as an ongoing work item.
14148 * docs/design/part-buffering.txt:
14149 New doc about buffering that needs to be fleshed out
14152 * docs/design/part-qos.txt:
14153 More QoS policy for decoders/demuxers/transforms
14155 * docs/design/part-trickmodes.txt:
14158 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14163 === release 0.10.5 ===
14165 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14168 releasing 0.10.5, "Fogo"
14170 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14172 patch by: Wim Taymans
14174 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14175 (gst_pad_configure_src), (gst_pad_push):
14176 * gst/gstpipeline.c: (gst_pipeline_init):
14177 Fix internal data flow errors. Fixes #338711.
14179 2006-04-12 Wim Taymans <wim@fluendo.com>
14181 * tests/check/gst/gstelement.c: (GST_START_TEST):
14182 Don't leak the factory.
14184 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14187 * win32/common/config.h:
14190 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14192 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14193 (gst_controller_unset_all):
14194 Free allocated GstTimedValues when freeing list nodes.
14195 Should fix leaks 'make check-valgrind' complains about.
14197 * win32/common/libgstcontroller.def:
14198 Add gst_controller_unset_all.
14200 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14202 * docs/libs/gstreamer-libs-sections.txt:
14203 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14204 (gst_controller_unset_all):
14205 * libs/gst/controller/gstcontroller.h:
14206 API: Added new method gst_controller_unset_all()
14207 fixed gst_controller_unset()
14208 * tests/check/libs/controller.c: (GST_START_TEST),
14209 (gst_controller_suite):
14210 Added two testcases for new and fixed method
14212 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14214 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14215 MSG_DONTWAIT is not defined on Cygwin, so work
14216 around that (fixes #317048).
14218 2006-04-11 Wim Taymans <wim@fluendo.com>
14220 * gst/gstelementfactory.c: (gst_element_register),
14221 (gst_element_factory_create), (gst_element_factory_make):
14224 Updated docs (Fixes #131079)
14226 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14229 * tests/check/gst/gstelement.c: (GST_START_TEST),
14230 (gst_element_suite):
14231 Added testcase for elementfactory class field.
14233 2006-04-10 Wim Taymans <wim@fluendo.com>
14235 * gst/gstsegment.c:
14236 Added some more docs.
14238 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14239 (gst_base_sink_reset_qos):
14240 Calculate more accurate rate values.
14242 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14244 * gst/gst_private.h:
14245 add a new #ifdef to use __declspec(dllimport) only for
14246 other modules and not for gstreamer core
14247 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14248 use gst_guint64_to_gdouble for conversion
14249 * win32/common/libgstreamer.def:
14250 add new exported functions
14251 * win32/vs6/gst_inspect.dsp:
14252 * win32/vs6/gst_launch.dsp:
14253 * win32/vs6/libgstbase.dsp:
14254 * win32/vs6/libgstcontroller.dsp:
14255 * win32/vs6/libgstcoreelements.dsp:
14256 * win32/vs6/libgstdataprotocol.dsp:
14257 * win32/vs6/libgstnet.dsp:
14258 update project files
14260 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14262 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14263 * gst/gstclock.c: (gst_clock_class_init):
14264 * gst/gstelement.c: (gst_element_class_init):
14265 * gst/gstindex.c: (gst_index_class_init):
14266 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14267 * gst/gstobject.c: (gst_object_class_init),
14268 (gst_signal_object_class_init):
14269 * gst/gstpad.c: (gst_pad_class_init):
14270 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14271 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14272 * gst/gstregistry.c: (gst_registry_class_init):
14273 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14274 * gst/gsttask.c: (gst_task_class_init):
14275 * gst/gstxml.c: (gst_xml_class_init):
14276 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14277 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14278 (gst_base_src_loop):
14279 * libs/gst/controller/gstcontroller.c:/
14280 (_gst_controller_class_init):
14281 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14282 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14283 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14284 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14285 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14286 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14288 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14290 * gst/gstpad.c: (gst_pad_link):
14291 Must set peer pads before calling the link function, otherwise
14292 a task started from a link function might get a flow-not-linked
14293 result when trying to push because the other thread where the
14294 linking happens hasn't had a chance to set the peers yet. This
14295 might happen for example when a queue gets linked to a downstream
14296 element, as queue starts a streaming task when its source pad
14297 gets linked. Happens in real life when playing back flac/musepack
14298 files in playbin (#332390).
14300 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14304 * libs/gst/base/gstadapter.h:
14305 * libs/gst/base/gstbasesink.h:
14306 * libs/gst/base/gstbasesrc.h:
14307 * libs/gst/base/gstbasetransform.h:
14308 * libs/gst/base/gstcollectpads.h:
14309 * libs/gst/base/gstpushsrc.h:
14310 Fix broken GObject macros
14312 2006-04-07 Wim Taymans <wim@fluendo.com>
14314 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14315 Initialize start and stop times, thanks valgrind.
14317 2006-04-07 Wim Taymans <wim@fluendo.com>
14319 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14320 Be a bit nicer to badly behaving upstream elements that expect
14321 us to deal with non TIME segments and timestamps (such as fakesrc
14324 2006-04-07 Wim Taymans <wim@fluendo.com>
14327 Small documentation clarification about the signal watch.
14329 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14330 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14331 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14332 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14333 (gst_base_sink_get_position_last),
14334 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14335 Convert and store timestamps in stream time and running time, the
14336 raw timestamps are not useful, also document this better.
14337 Use different window sizes for good and bad QoS observations so
14338 we react to badness a little quicker.
14339 Keep track of the amount of rendered and dropped buffers.
14340 Send QoS timestamps in running time.
14342 * libs/gst/base/gstbasetransform.c:
14343 (gst_base_transform_sink_eventfunc),
14344 (gst_base_transform_handle_buffer):
14345 Compare QoS timestamps against running time.
14347 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14350 Typo fixes in docs.
14352 2006-04-06 Michael Smith <msmith@fluendo.com>
14354 * gst/gstpad.c: (gst_pad_set_property):
14355 Use g_value_get_object() instead of g_value_dup_gst_object(),
14356 to avoid double-reffing the pad template (which we then sink,
14357 so this worked previously if (and only if) the pad template
14360 * gst/gstpadtemplate.c: (gst_pad_template_init),
14361 (gst_pad_template_pad_created):
14362 Never return floating references to pad templates, create
14363 them as initially-sunken.
14365 Document an extra function (and make this stop sinking our
14366 pad template, since that is now guaranteed to do nothing,
14367 since we created it sunken).
14369 * gst/gstghostpad.c:
14372 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14374 * gst/gstinfo.c: (__gst_in_valgrind):
14377 * plugins/elements/gsttypefindelement.c:
14378 (gst_type_find_element_chain):
14379 Don't leak buffer caps.
14381 2006-04-06 Michael Smith <msmith@fluendo.com>
14383 * gst/parse/grammar.y:
14384 Fix a leak in parse-launch for any source-or-sink named element
14387 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14388 Unref the pipeline if it exists after we've failed parsing.
14390 2006-04-05 Michael Smith <msmith@fluendo.com>
14392 * gst/gstpipeline.c: (gst_pipeline_init):
14393 When we create a pipeline bus, initially create it in flushing mode.
14394 Fixes leaks in at least one test, and makes a new pipeline work the
14395 same as one that has gone to READY and then back to NULL.
14397 * gst/gstelement.c:
14400 2006-04-05 Michael Smith <msmith@fluendo.com>
14402 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14403 Unref a pad we reffed.
14404 * tests/check/gst/gstutils.c: (GST_START_TEST):
14407 2006-04-05 Michael Smith <msmith@fluendo.com>
14409 * gst/gstquery.c: (gst_query_set_formats),
14410 (gst_query_set_formatsv):
14411 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14413 2006-04-05 Michael Smith <msmith@fluendo.com>
14415 * tests/check/generic/sinks.c: (GST_START_TEST):
14416 Fix a variety of memleaks in sinks check, which are only sometimes
14417 shown by running the tests under valgrind (weird?).
14419 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14421 * docs/version.entities.in:
14422 Fix the substituted entity name after thomas' changes on the
14425 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14427 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14430 2006-04-05 Andy Wingo <wingo@pobox.com>
14432 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14434 * libs/gst/base/gstbasetransform.c
14435 (gst_base_transform_sink_eventfunc): When resetting our segment on
14436 FLUSH_STOP, also update the flag saying we haven't seen a
14439 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14441 Patch by: Paolo Borelli <pborelli at katamail dot com>
14443 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14444 (gst_plugin_check_license):
14445 minor clean-ups: G_DEFINE_TYPE already takes care of the
14446 parent_class stuff, no need to do it twice. Mark array of
14447 license strings as constant. (#337103)
14449 2006-04-04 Michael Smith <msmith@fluendo.com>
14451 * tools/gst-inspect.c: (print_element_list):
14452 Free the right plugin list; fixes a memory leak.
14454 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14456 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14458 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14459 Don't error out on empty buffers (#336945).
14461 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14463 * docs/libs/gstreamer-libs-sections.txt:
14464 * gst/gsttaglist.c:
14465 * libs/gst/base/gstbasesink.c:
14466 * libs/gst/base/gstbasesink.h:
14467 * libs/gst/base/gstbasesrc.c:
14468 * libs/gst/base/gstbasesrc.h:
14469 Documentation updates. Make BaseSink and BaseSrc docs contain the
14470 class structure so that people can actually see the prototypes for
14471 virtual functions they're supposed to be overriding.
14473 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14475 * plugins/elements/gsttypefindelement.c:
14476 (gst_type_find_element_chain):
14477 More debug info; when skipping typefinding, send cached
14478 events in all cases.
14480 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14483 use new AS_VERSION and AS_NANO macros
14484 * gst/gst-i18n-lib.h:
14487 * gst/gstversion.h.in:
14488 * win32/common/config.h:
14489 * win32/common/config.h.in:
14492 2006-03-31 Michael Smith <msmith@fluendo.com>
14494 * plugins/elements/gsttypefindelement.c:
14495 (gst_type_find_element_chain):
14496 Do not typefind content if the buffers already have caps.
14497 Neccesary for icydemux (#333657), and the right thing to do anyway.
14499 2006-03-30 Wim Taymans <wim@fluendo.com>
14501 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14502 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14503 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14504 (gst_base_sink_record_qos_observation),
14505 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14506 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14507 (gst_base_sink_change_state):
14508 More QoS measurements as described in the design doc.
14509 Get rid of ringbuffer with observations, running average is
14510 more simple and equally good.
14511 Calculates valid proportion now.
14512 Added beginning of flood measurement.
14514 2006-03-29 Wim Taymans <wim@fluendo.com>
14516 * docs/design/part-qos.txt:
14518 Small documentation updates and additions.
14520 2006-03-29 Wim Taymans <wim@fluendo.com>
14522 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14523 (gst_base_src_send_event), (gst_base_src_loop),
14524 (gst_base_src_change_state):
14525 Perform the EOS logic when we reach the segment stop position.
14526 Fix compilation on gcc4.1
14528 2006-03-29 Wim Taymans <wim@fluendo.com>
14530 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14532 * plugins/elements/gstqueue.c: (gst_queue_init),
14533 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14534 (gst_queue_set_property):
14535 * plugins/elements/gstqueue.h:
14536 In queue, when EOS is received, if minimum threshold > max_size -
14537 current_level, there is chance that queue blocks forever in conditional
14538 item del wait. This is because the queue is not emptied completely due
14539 to minimum threshold. Here is another approach. Instead of setting
14540 cur_levels to max in EOS, just zero all minimum threshold levels. This
14541 should make sure that queue gives out all data. When going to READY
14542 (stop) state, just reset the original minimum threshold levels.
14545 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14547 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14548 (gst_type_find_element_handle_event),
14549 (gst_type_find_element_send_cached_events),
14550 (gst_type_find_element_change_state):
14551 * plugins/elements/gsttypefindelement.h:
14552 When typefinding is done in push mode, we should cache
14553 events we receive during typefinding instead of just
14554 dropping them (e.g. newsegment, custom events from
14555 dvdreadsrc etc.) and then send them out once we've
14556 determined the type of the stream (and decodebin
14557 has had a chance to plug in a decoder/demuxer).
14559 2006-03-27 Wim Taymans <wim@fluendo.com>
14561 * docs/design/part-qos.txt:
14564 2006-03-27 Wim Taymans <wim@fluendo.com>
14566 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14568 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14569 (gst_base_src_send_event), (gst_base_src_change_state):
14570 Handle element seek correctly when we are streaming.
14573 2006-03-24 Michael Smith <msmith@fluendo.com>
14575 * docs/faq/gst-uninstalled:
14576 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14577 allow you to correctly run intalled applications built against old
14578 core, using plugins that require updated core (e.g. running
14579 installed totem against a full uninstalled gstreamer stack)
14581 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14583 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14586 2006-03-24 Wim Taymans <wim@fluendo.com>
14588 * docs/gst/gstreamer-sections.txt:
14589 Rearrange the order of the methods so that related methods
14590 are grouped together in sections.
14592 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14594 * gst/gstelement.c:
14595 Little clarification in the docs
14597 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14601 * plugins/elements/gstidentity.c:
14602 * plugins/elements/gstqueue.c:
14603 * plugins/elements/gsttee.c:
14604 * plugins/elements/gsttypefindelement.c:
14605 GST_ELEMENT_DETAILS formatting
14607 2006-03-24 Wim Taymans <wim@fluendo.com>
14609 * libs/gst/base/gstbasesink.h:
14610 Only add fields, not insert or we break ABI.
14612 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14614 * win32/common/libgstbase.def:
14615 * win32/common/libgstreamer.def:
14616 Update, add recently added functions.
14618 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14620 * docs/gst/gstreamer-sections.txt:
14621 * gst/gstutils.c: (gst_pad_query_peer_position),
14622 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14624 API: add some new utility functions:
14625 - gst_pad_query_peer_position()
14626 - gst_pad_query_peer_duration()
14627 - gst_pad_query_peer_convert()
14629 2006-03-23 Wim Taymans <wim@fluendo.com>
14631 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14632 (gst_base_sink_init), (gst_base_sink_finalize),
14633 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14634 (gst_base_sink_set_property), (gst_base_sink_get_property),
14635 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14636 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14637 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14638 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14639 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14640 (gst_base_sink_preroll_object), (gst_base_sink_event),
14641 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14642 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14643 (gst_base_sink_query), (gst_base_sink_change_state):
14644 Decouple max-lateness and the fact that QoS messages are generated
14645 with a new property (qos).
14646 added API: GstBaseSink::async_play()
14647 Add vmethod so subclasses can be notified of ASYNC playing
14649 Collect timestamp start and stop to report better current
14650 position in EOS/PLAYING/PAUSED/READY/NULL.
14651 Refactor QoS/frame dropping and other measurements.
14652 API: GstBaseSrc::qos
14655 * libs/gst/base/gstbasesink.h:
14656 Added Private struct.
14657 API: gst_base_sink_set_qos_enabled()
14658 API: gst_base_sink_is_qos_enabled()
14660 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14662 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14663 If compiling against GLib-2.8 or newer, try to read the
14664 registry file using GMappedFile first before falling back
14665 to fopen() + fread() (#332151).
14667 2006-03-22 Wim Taymans <wim@fluendo.com>
14669 * gst/gstinfo.c: (gst_debug_set_active),
14670 (gst_debug_category_set_threshold):
14671 Disable debugging unless explicitly activated.
14674 2006-03-22 Wim Taymans <wim@fluendo.com>
14676 * gst/gstelement.c: (gst_element_set_locked_state),
14677 (gst_element_dispose):
14678 Cleanup the error case.
14680 * gst/gstobject.c: (gst_object_dispose):
14681 print a critical when some object was disposed with
14682 a parent, also revive the object since it might
14685 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14687 * tools/gst-launch.1.in:
14690 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14693 * tests/check/Makefile.am:
14694 disable some tests when we don't have a registry
14695 * tests/check/gst/gstutils.c: (gst_utils_suite):
14696 don't build the part that needs parsing
14698 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14701 * tests/examples/Makefile.am:
14702 fix --disable-parse build
14704 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14706 * tools/gst-feedback.1.in:
14707 Fix typo: s/feeback/feedback/ (#133494).
14709 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14711 * tools/Makefile.am:
14712 * tools/gst-launch.1.in:
14713 Add FILES section and correct entry about GST_REGISTRY_PATH
14714 environment variable (#133495; #133494).
14716 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14718 * tools/Makefile.am:
14719 * tools/gst-md5sum.1.in:
14720 * tools/gst-md5sum.c:
14721 Remove gst-md5sum and man page (the md5sink element
14722 required was removed ages ago)
14724 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14726 * gst/gststructure.c: (gst_structure_id_set_value):
14727 Make sure that string fields in structures/taglists
14728 contain valid UTF-8 - we don't want to pass rubbish to
14729 applications because of a buggy plugin (cp. #334167).
14731 2006-03-21 Edward Hervey <edward@fluendo.com>
14733 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14734 (gst_bin_handle_message_func):
14735 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14736 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14737 (gst_element_set_bus_func):
14738 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14739 * gst/gstminiobject.c: (gst_value_set_mini_object),
14740 (gst_value_take_mini_object):
14741 * gst/gstpad.c: (gst_pad_set_pad_template):
14742 * gst/gstpipeline.c: (gst_pipeline_dispose),
14743 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14744 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14745 (gst_collect_pads_chain):
14746 * libs/gst/net/gstnettimeprovider.c:
14747 (gst_net_time_provider_set_property):
14748 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14749 It's in fact all issues with gst_*object_replace().
14751 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14753 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14755 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14756 * pkgconfig/gstreamer-check.pc.in:
14757 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14759 2006-03-21 Edward Hervey <edward@fluendo.com>
14763 * gst/gstmessage.h:
14764 gst_[buffer|event|message]_ref() macros are replaced by a static
14765 inline functions because gcc-4.1 will about if the return value
14767 * tests/check/gst/gstevent.c: (event_probe):
14768 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14770 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14773 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14774 the type' case. (Closes: #335195 for now). In the future, when we
14775 depend on GLib 2.10, we could also intern the type name using
14776 g_intern_static_string()
14778 2006-03-20 Wim Taymans <wim@fluendo.com>
14780 * gst/gstbin.c: (gst_bin_handle_message_func),
14781 (bin_query_max_init), (bin_query_position_fold),
14782 (bin_query_position_done), (gst_bin_query):
14783 Position query should also take max of all streams.
14785 2006-03-20 Wim Taymans <wim@fluendo.com>
14787 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14788 (gst_fake_src_finalize):
14789 Fix leaks in fakesrc.
14791 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14792 Fix leaks in the testcase.
14794 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14796 * gst/gst_private.h:
14797 add win32 specific import decoration(__declspec(dllimport))
14798 for all extern GstDebugCategory * variables
14799 * win32/common/libgstbase.def:
14800 * win32/common/libgstcontroller.def:
14801 * win32/common/libgstreamer.def:
14802 Add some exports, remove empty lines
14803 * win32/common/libgstdataprotocol.def:
14804 * win32/common/libgstdataprotocol.dsp:
14805 * win32/common/libgstnet.def:
14806 * win32/common/libgstnet.dsp:
14807 new project files and exportation files added
14809 2006-03-19 Wim Taymans <wim@fluendo.com>
14811 * tests/check/libs/basesrc.c: (eos_event_counter):
14812 Use proper return value for probe.
14814 2006-03-17 Wim Taymans <wim@fluendo.com>
14816 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14818 Don't leak buffers, caps and pads on negotiation errors.
14820 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14822 * docs/faq/cvs.xml:
14823 * docs/faq/dependencies.xml:
14824 * docs/faq/developing.xml:
14825 * docs/faq/faq.xml:
14826 * docs/faq/general.xml:
14827 * docs/faq/getting.xml:
14828 * docs/faq/legal.xml:
14829 * docs/faq/troubleshooting.xml:
14830 * docs/faq/using.xml:
14831 Faq review and update.
14833 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14835 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14837 Don't pound the cpu to pieces by checking get_caps when accept_caps
14838 is called with the same caps as the pad already has.
14839 Use GST_DEBUG_OBJECT when outputting caps change information.
14841 2006-03-15 Wim Taymans <wim@fluendo.com>
14843 * gst/gstclock.c: (gst_clock_class_init):
14846 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14851 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14852 (gst_pad_accept_caps), (gst_pad_configure_sink),
14853 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14854 Make the default acceptcaps behaviour be to check the requested
14855 caps against the gst_pad_get_caps output.
14857 Ensure that gst_pad_accept_caps is used to check caps when a pad
14858 doesn't have a setcaps function, so that pads automatically refuse
14859 caps that they don't allow in their pad template. (Fixes #332986)
14861 When a buffer with attached caps is pushed, ensure that the source
14862 pad receives those caps even if the element didn't call
14863 gst_pad_set_caps first.
14865 2006-03-15 Wim Taymans <wim@fluendo.com>
14867 * libs/gst/base/gstadapter.c:
14870 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14872 * win32/common/libgstbase.def:
14873 * win32/common/libgstcontroller.def:
14874 * win32/common/libgstreamer.def:
14875 Add a whole bunch of missing functions (#334434).
14877 2006-03-14 Wim Taymans <wim@fluendo.com>
14879 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14880 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14881 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14882 Better debug info when we receive a segment event.
14883 Reorganize a bit so we can pass the get_times() results around.
14884 Use the segment format when calculating the running time.
14885 Don't do QoS is sync is disabled or we have no clock or the
14886 element does not want us to sync to the clock.
14887 Don't drop buffers if QoS is disabled for now.
14889 2006-03-14 Wim Taymans <wim@fluendo.com>
14891 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14892 Marked the stats property as unimplemented so people don't get
14894 Add debug message when regression goes wrong.
14895 Added some more docs.
14897 2006-03-14 Wim Taymans <wim@fluendo.com>
14899 * gst/gstsegment.c: (gst_segment_to_stream_time):
14900 Return correct return type in case of errors.
14902 2006-03-14 Wim Taymans <wim@fluendo.com>
14904 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14905 Don't segfault on invalid formats.
14907 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14909 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14910 Can't use gst_segment_to_running_time() when the segment
14911 is not in GST_TIME_FORMAT (like with filesink, for example).
14912 Stops flac encoding pipelines from spewing critical warnings
14915 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14917 * gst/gstpipeline.c: (gst_pipeline_class_init):
14918 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14920 * plugins/elements/gsttypefindelement.c:
14921 (gst_type_find_element_handle_event):
14922 Don't try to typefind empty streams.
14924 2006-03-14 Wim Taymans <wim@fluendo.com>
14926 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14927 (gst_base_sink_do_qos):
14928 Separate QoS calculation.
14929 Only drop buffers when lateness is bigger than the
14930 duration of the buffer.
14932 2006-03-13 Wim Taymans <wim@fluendo.com>
14934 * gst/gstpipeline.c: (gst_pipeline_set_property),
14935 (gst_pipeline_get_property), (do_pipeline_seek),
14936 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14937 (gst_pipeline_get_delay):
14938 Don't deadlock when reading properties.
14940 2006-03-13 Wim Taymans <wim@fluendo.com>
14942 * libs/gst/base/gstbasetransform.c:
14943 (gst_base_transform_class_init), (gst_base_transform_init),
14944 (gst_base_transform_sink_event),
14945 (gst_base_transform_sink_eventfunc),
14946 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14947 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14948 (gst_base_transform_set_property),
14949 (gst_base_transform_get_property),
14950 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14951 (gst_base_transform_set_qos_enabled),
14952 (gst_base_transform_is_qos_enabled):
14953 * libs/gst/base/gstbasetransform.h:
14954 Make basetransform virtual method for src events too.
14955 Handle QOS in basetransform.
14956 API: gst_base_transform_update_qos()
14957 API: gst_base_transform_set_qos_enabled()
14958 API: gst_base_transform_is_qos_enabled()
14960 2006-03-13 Wim Taymans <wim@fluendo.com>
14962 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14963 (gst_base_sink_do_sync):
14965 Use QOS debug category.
14967 2006-03-13 Wim Taymans <wim@fluendo.com>
14969 * plugins/elements/gstqueue.c:
14970 Very small doc update.
14972 2006-03-13 Wim Taymans <wim@fluendo.com>
14974 * gst/gst_private.h:
14975 * gst/gstinfo.c: (_gst_debug_init):
14976 Added QOS debug category
14978 2006-03-13 Wim Taymans <wim@fluendo.com>
14980 * docs/gst/gstreamer-sections.txt:
14981 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14983 * gst/gstbus.c: (gst_bus_class_init):
14986 * gst/gstelement.c: (gst_element_set_locked_state):
14987 * gst/gstsegment.c:
14988 Documentation updates.
14990 * gst/gstpipeline.c: (gst_pipeline_get_type),
14991 (gst_pipeline_class_init), (gst_pipeline_init),
14992 (gst_pipeline_dispose), (gst_pipeline_set_property),
14993 (gst_pipeline_get_property), (do_pipeline_seek),
14994 (gst_pipeline_send_event), (gst_pipeline_change_state),
14995 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14996 (gst_pipeline_get_delay):
14997 * gst/gstpipeline.h:
14998 Added methods for setting the delay.
14999 API: gst_pipeline_set_delay()
15000 API: gst_pipeline_get_delay()
15001 Add pipeline debug category
15004 Don't reset stream time when seek failed.
15006 2006-03-13 Wim Taymans <wim@fluendo.com>
15008 * docs/design/draft-klass.txt:
15009 * docs/design/part-clocks.txt:
15010 * docs/design/part-events.txt:
15011 * docs/design/part-gstbin.txt:
15012 * docs/design/part-gstpipeline.txt:
15013 * docs/design/part-messages.txt:
15014 * docs/design/part-negotiation.txt:
15015 * docs/design/part-overview.txt:
15016 * docs/design/part-preroll.txt:
15017 * docs/design/part-seeking.txt:
15018 * docs/design/part-states.txt:
15019 * docs/design/part-streams.txt:
15020 Documentation updates.
15022 2006-03-12 Julien MOUTTE <julien@moutte.net>
15024 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15025 us to leak strings...
15027 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
15029 * libs/gst/net/gstnettimeprovider.c:
15031 * win32/common/config.h:
15034 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
15036 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15039 Don't check for libgnomeui (leftover from old examples
15040 that aren't built or disted any longer) (#334303).
15042 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
15044 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15045 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15046 Emit RESOURCE_NO_SPACE_LEFT error here as well when
15047 there's no space left on the device.
15049 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
15052 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15053 to cast the input to GstClockTime before comparing with
15054 another GstClockTime value.
15056 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15061 === release 0.10.4 ===
15063 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15066 releasing 0.10.4, "Light"
15068 2006-03-10 Michael Smith <msmith@fluendo.com>
15070 * libs/gst/dataprotocol/dataprotocol.c:
15071 Fix docs for dataprocotol to not get the return types completely
15072 wrong for a few functions.
15074 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15076 * docs/gst/gstreamer-sections.txt:
15077 * gst/gstpipeline.c: (gst_pipeline_class_init),
15078 (gst_pipeline_init), (gst_pipeline_set_property),
15079 (gst_pipeline_get_property), (gst_pipeline_change_state),
15080 (gst_pipeline_set_auto_flush_bus),
15081 (gst_pipeline_get_auto_flush_bus):
15082 * gst/gstpipeline.h:
15083 Add new API: gst_pipeline_set_auto_flush_bus() and
15084 gst_pipeline_get_auto_flush_bus() to disable automatic
15085 flushing of the pipeline's GstBus when going from READY
15086 to NULL state (#332045).
15088 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15090 * docs/gst/gstreamer-sections.txt:
15091 * gst/gsturi.c: (gst_uri_has_protocol):
15093 Add new API: gst_uri_has_protocol() (#333779).
15095 2006-03-09 Wim Taymans <wim@fluendo.com>
15097 * gst/gstclock.c: (gst_clock_entry_new),
15098 (gst_clock_id_compare_func), (gst_clock_id_wait),
15099 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15100 (gst_clock_init), (gst_clock_get_internal_time),
15101 (gst_clock_set_master), (do_linear_regression),
15102 (gst_clock_add_observation), (gst_clock_set_property):
15106 Fix a possible segfault when the window-size is made smaller.
15107 Calculate jitter before performing the clock wait. Ideally
15108 the clock implementation should calculate jitter but we need
15109 API breakage for that.
15111 * gst/gstsystemclock.c: (gst_system_clock_init):
15114 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15115 Remove leftover else
15117 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15118 (gst_systemclock_suite):
15119 Added check to test GST_CLOCK_DIFF.
15121 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15123 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15124 (gst_type_find_helper_get_range):
15125 If we are provided with the size, we should implement
15126 GstTypeFind::get_length, so that typefind functions who
15127 want to can actually peek at the middle of a file.
15129 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
15131 * docs/manual/advanced-dataaccess.xml:
15132 Add some very very basic error checking.
15134 * docs/pwg/appendix-checklist.xml:
15135 Some updates to the list of things to check when writing an element.
15137 2006-03-08 Wim Taymans <wim@fluendo.com>
15139 * docs/design/part-element-transform.txt:
15140 Added some docs about the design of tranform elements.
15142 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15143 (gst_base_src_loop), (gst_base_src_change_state):
15144 Mark buffers with the DISCONT flag.
15146 2006-03-08 Michael Smith <msmith@fluendo.com>
15148 * gst/gstregistry.h:
15149 * gst/gstregistryxml.c: (gst_registry_save),
15150 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15151 (gst_registry_xml_save_pad_template),
15152 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15153 (gst_registry_xml_write_cache):
15154 Rewrite registry-saving to avoid race conditions and check for
15157 2006-03-08 Wim Taymans <wim@fluendo.com>
15159 * libs/gst/base/gstbasetransform.c:
15160 (gst_base_transform_transform_caps),
15161 (gst_base_transform_transform_size),
15162 (gst_base_transform_prepare_output_buffer),
15163 (gst_base_transform_get_unit_size),
15164 (gst_base_transform_buffer_alloc),
15165 (gst_base_transform_handle_buffer),
15166 (gst_base_transform_change_state):
15167 Cleanups, separate normal flow from errors, add sensible
15169 Don't try to renegotiate when allocating an output buffer.
15170 Also copy DISCONT buffer flag when copying a buffer.
15171 Reset the transform after we finish streaming, not during.
15173 2006-03-08 Wim Taymans <wim@fluendo.com>
15175 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15176 Use last buffer timestamp in qos message.
15178 2006-03-07 Wim Taymans <wim@fluendo.com>
15180 Patch by: Christophe Fergeau
15182 * docs/pwg/advanced-tagging.xml:
15183 * docs/pwg/building-pads.xml:
15186 2006-03-07 Wim Taymans <wim@fluendo.com>
15188 * docs/libs/gstreamer-libs-sections.txt:
15189 Added basesink new methods.
15193 Docs updates. Flesh out the QoS docs.
15195 * libs/gst/base/gstadapter.c:
15196 Small doc clarification about ownership and flushing.
15198 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15199 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15200 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15201 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15202 * libs/gst/base/gstbasesink.h:
15204 Added new methods to allow subclass to control max-lateness
15206 Generate very basic QoS events based on last sync observation.
15207 Updated docs, fix typo, added some QoS blurb.
15209 * libs/gst/base/gstbasesrc.c:
15210 Remove obsolete _get_state() calls from docs.
15212 2006-03-07 Wim Taymans <wim@fluendo.com>
15214 * docs/libs/gstreamer-libs-sections.txt:
15215 * libs/gst/base/gstbasetransform.h:
15216 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15217 Fix docs for GstBaseSrc.
15219 2006-03-07 Wim Taymans <wim@fluendo.com>
15221 * docs/gst/gstreamer-sections.txt:
15224 * libs/gst/base/gstbasetransform.h:
15225 Small documentation fixes.
15227 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15230 Document thread-unsafety of gst_value_register_foo_func()
15231 when used at the same time as gst_value_foo() (#322628).
15233 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15235 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15236 (gst_push_src_check_get_range):
15237 Push sources don't support pull mode by default.
15239 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15241 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15242 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15243 (gst_base_src_default_check_get_range):
15244 * libs/gst/base/gstbasesrc.h:
15245 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15246 provide default implementation, and rename
15247 gst_base_src_check_get_range() to
15248 gst_base_src_pad_check_get_range() for clarity.
15250 2006-03-06 Wim Taymans <wim@fluendo.com>
15252 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15253 Make property overridable.
15255 2006-03-06 Wim Taymans <wim@fluendo.com>
15257 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15258 (gst_base_sink_init), (gst_base_sink_set_property),
15259 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15260 * libs/gst/base/gstbasesink.h:
15261 API addition: Make max-lateness a property.
15263 2006-03-06 Wim Taymans <wim@fluendo.com>
15265 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15266 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15267 Don't ever draw a frame that is >10ms late.
15269 2006-03-06 Michael Smith <msmith@fluendo.com>
15271 * gst/gstmessage.c: (_gst_message_copy):
15272 When copying a message, set the parent_refcount of the enclosed
15273 structure to point at the copy, not the original message.
15275 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15277 Patch by: Christophe Fergeau
15280 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15281 usable in c++ code (#333417)
15283 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15286 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15288 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15290 * libs/gst/base/gstbasetransform.c:
15291 (gst_base_transform_transform_caps):
15292 Make sure caps are writable before passing them to
15295 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15298 Fix some minor docs errors.
15300 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15302 Patch by: Ross Burton <ross at burtonini dot com>
15304 * gst/gsterror.c: (_gst_resource_errors_init):
15306 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15308 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15311 Add a check and output a g_warning when GStreamer is built
15312 against GLib 2.6 but running against 2.8 or higher, and vice
15313 versa. (Closes: #323542)
15315 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15317 * gst/parse/parse.l:
15318 Commit patch for parse_launch syntax from #331255. Removes
15319 support for quoted strings and mimetypes when writing filtered
15320 caps. See the bug report for more details - I'm pretty sure this
15321 obscure feature is not in use by _anyone_ anywhere.
15323 With this simple change, the size of the gstreamer.so here
15324 drops from 2193KB to 1565KB.
15326 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15328 * plugins/elements/gsttypefindelement.h:
15329 * plugins/elements/gsttypefindelement.c:
15330 (gst_type_find_element_src_event), (start_typefinding),
15331 (stop_typefinding), (gst_type_find_element_handle_event),
15332 (gst_type_find_element_chain),
15333 (gst_type_find_element_chain_do_typefinding):
15334 Use gst_type_find_helper_for_buffer() for chain-based
15337 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15339 * plugins/elements/gsttypefindelement.c:
15340 (gst_type_find_element_class_init),
15341 (gst_type_find_element_set_property),
15342 (gst_type_find_element_get_property):
15343 Deprecate "maximum" property (not only was it only taken into
15344 account for typefinding in push-mode anyway, it also was never
15345 actually possible to set it in the first place because the
15346 property was registered with the numeric property ID for the
15347 "minimum" property). Register "maximum" property correctly,
15348 for the sake of future copy'n'pasters. Remove some cruft
15349 from property get/set functions.
15351 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15353 * plugins/elements/gsttypefindelement.c:
15354 (gst_type_find_element_activate):
15355 Use gst_type_find_helper_get_range() here, so we
15356 can honour the "minimum" property and also emit
15357 the signal with the correct probability of the found caps.
15359 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15361 * docs/libs/gstreamer-libs-sections.txt:
15362 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15363 (helper_find_suggest), (gst_type_find_helper_get_range),
15364 (gst_type_find_helper):
15365 * libs/gst/base/gsttypefindhelper.h:
15366 New API: gst_type_find_helper_get_range() (#333042).
15368 2006-03-02 Michael Smith <msmith@fluendo.com>
15370 * gst/gstregistryxml.c: (load_feature):
15371 Asserting on a failure to read part of the registry is Not Cool.
15372 Just log a warning and return NULL (which is already handled)
15374 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15376 * win32/common/libgstbase.def:
15377 added export of gst_type_find_helper_for_buffer
15378 * win32/common/libgstbase.def:
15379 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15380 gst_ghost_pad_get_target
15382 2006-02-28 Wim Taymans <wim@fluendo.com>
15384 * docs/design/draft-klass.txt:
15386 Added Connector to mark elements that are only used to
15387 allow pipeline connections.
15388 Moved Debug to extra feature since most of them are
15389 functionally something else.
15391 2006-02-28 Wim Taymans <wim@fluendo.com>
15393 * docs/design/draft-klass.txt:
15394 Some updates and clarifications.
15396 2006-02-28 Wim Taymans <wim@fluendo.com>
15398 * docs/design/draft-klass.txt:
15399 Proposal for klass field values.
15401 * docs/design/part-streams.txt:
15402 Start of a doc describing stream anatomy.
15404 2006-02-28 Wim Taymans <wim@fluendo.com>
15406 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15407 Help the compiler a bit with type registration.
15408 Use existing forward cod path instead of duplicating it when
15409 handling a message.
15411 * gst/gstbus.c: (gst_bus_get_type):
15412 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15413 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15414 * gst/gstclock.c: (gst_clock_get_type):
15415 * gst/gstelement.c: (gst_element_get_type),
15416 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15417 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15418 * gst/gstminiobject.c: (gst_mini_object_get_type):
15419 * gst/gstpad.c: (gst_pad_get_type):
15420 * gst/gstsegment.c: (gst_segment_get_type):
15421 * gst/gststructure.c: (gst_structure_get_type):
15422 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15423 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15425 Help compiler with type registration.
15427 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15430 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15432 * plugins/elements/gsttypefindelement.c:
15433 (gst_type_find_element_handle_event):
15434 When we get an EOS event and have not found a type yet
15435 (most likely because we had not yet accumulated
15436 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15437 type given the data we have so far. Fixes typefinding
15438 for very short streams again, most notably quicktime
15439 redirections as used on Apple's trailer site (#331701).
15441 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15443 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15444 (gst_type_find_helper):
15445 Try typefinding factories with the highest rank first.
15447 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15449 * docs/libs/gstreamer-libs-docs.sgml:
15450 * docs/libs/gstreamer-libs-sections.txt:
15451 * libs/gst/base/gsttypefindhelper.c:
15452 Add section for typefind helper and add documentation
15453 for the old and the new function.
15455 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15457 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15458 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15459 (gst_type_find_helper_for_buffer):
15460 * libs/gst/base/gsttypefindhelper.h:
15461 New API: gst_type_find_helper_for_buffer() (#332723).
15463 2006-02-27 Michael Smith <msmith@fluendo.com>
15465 Patch by: Loïc Minier
15468 * docs/Makefile.am:
15469 * docs/slides/Makefile.am:
15470 prevent CVS directories getting disted.
15472 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15474 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15475 Use the REFCOUNTING category for caps refcounting.
15477 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15479 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15480 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15482 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15484 * plugins/elements/gsttypefindelement.c:
15485 (gst_type_find_element_activate):
15486 Use gst_pad_check_pull_range() before _activate_pull()
15487 to avoid unnecessary open/close (see #331690).
15489 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15492 Docs enhancement: make it crystal clear what the
15493 gst_pad_add_*_probe() callbacks should look like.
15495 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15497 * libs/gst/base/gstbasesrc.c:
15498 Document how applications can stop recording from
15499 live sources (see #330996).
15501 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15503 * tests/check/Makefile.am:
15504 * tests/check/libs/basesrc.c: (eos_event_counter),
15505 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15506 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15507 (gst_basesrc_suite), (main):
15508 ... and add some tests for the base source EOS stuff.
15510 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15512 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15513 Test case originally showed the problem fixed below,
15514 but was then amended. Add checks back at the place
15515 where they used to be.
15517 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15519 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15520 (gst_base_src_init), (gst_base_src_loop),
15521 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15522 (gst_base_src_change_state):
15523 * libs/gst/base/gstbasesrc.h:
15524 Don't unconditionally send EOS when going from PAUSED to
15525 READY state, esp. make sure we don't send two EOS events
15526 in some cases (e.g. one when reaching EOS and one when
15527 going from PAUSED to READY). Also, we don't want to send
15528 EOS events when operating in pull mode. However, we do
15529 want to send an EOS event when shutting down a live
15530 source explicitly, for example (fixes #330996).
15532 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15534 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15535 Update src->read_position after a seek when not using mmap.
15536 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15538 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15544 Make things work with --disable-parse as they do with
15545 --disable-load-save - the symbols involved disappear, but the
15546 header is still installed and GST_DISABLE_PARSE is included via
15549 2006-02-20 Julien MOUTTE <julien@moutte.net>
15551 * libs/gst/base/gstbasetransform.c:
15552 (gst_base_transform_change_state): Fix a stupid bug. I was
15553 sure I compiled that.
15555 2006-02-20 Julien MOUTTE <julien@moutte.net>
15557 * gst/gstpad.c: (gst_pad_set_blocked_async):
15558 * gst/gstutils.c: (gst_pad_add_data_probe),
15559 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15560 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15561 (gst_pad_remove_buffer_probe): Make those function act on the
15562 ghostpad target when it's a ghostpad. (Closes #331727)
15564 2006-02-20 Julien MOUTTE <julien@moutte.net>
15566 * libs/gst/base/gstbasetransform.c:
15567 (gst_base_transform_change_state): Make basetransform reusable.
15570 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15572 * docs/random/release:
15573 Move the current documentation of how to do a release to the top
15576 * gst/gstbin.c: (gst_bin_class_init),
15577 (gst_bin_handle_message_func):
15578 Allow multiple state-recalculation threads. (Closes #328873)
15580 2006-02-19 Julien MOUTTE <julien@moutte.net>
15582 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15583 * gst/gstpad.c: (gst_pad_set_event_function),
15584 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15585 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15586 2 strings. You can't use the STR_NULL macro on that.
15588 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15590 * gst/gstpad.c: (gst_pad_set_event_function),
15591 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15592 (gst_pad_set_getcaps_function)
15593 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15594 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15595 So now, we can use --gst-debug-level=5 on Windows
15596 * win32/common/libgstcontroller.def:
15597 Added export of gst_controller_init
15598 * win32/vs6/libgstcontroller.dsp:
15599 Fixed Release post build configuration
15601 2006-02-17 Wim Taymans <wim@fluendo.com>
15603 * tests/check/gst/gstquery.c: (GST_START_TEST):
15604 Added another check.
15606 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15608 * plugins/elements/gsttypefindelement.c: (find_peek):
15609 We can do peeks at non-zero offsets, as long as they
15610 fall within the buffer we have.
15612 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15614 * tests/check/Makefile.am:
15615 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15616 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15617 (parse_suite), (main):
15618 Add testsuite for parse launch syntax
15620 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15622 * plugins/elements/gsttypefindelement.c:
15623 (gst_type_find_element_chain):
15624 When typefinding is unsuccessful in the chain function, don't
15625 error out immediately. Only error out with NO_CAPS_FOUND if
15626 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15627 otherwise simply wait for more data so we can try typefinding
15628 again with more data later. Also, don't attempt to typefind
15629 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15630 this should improve typefinding from network sources where the
15631 size of the first buffer can be somewhat random.
15633 2006-02-14 Wim Taymans <wim@fluendo.com>
15635 * docs/gst/gstreamer-sections.txt:
15636 * gst/gstpadtemplate.c:
15637 * gst/gstpadtemplate.h:
15638 Fix padtemplate docs, fixes #328805.
15640 2006-02-14 Wim Taymans <wim@fluendo.com>
15642 * tools/gst-launch.c: (main):
15643 NO_PREROLL is not an ERROR so don't send confusing messages
15646 2006-02-14 Wim Taymans <wim@fluendo.com>
15648 Patch by: Torsten Schoenfeld
15650 * gst/gstregistry.c: (gst_registry_get_default),
15651 (_gst_registry_cleanup):
15652 Protect default registry with lock and ref/sink it.
15655 2006-02-14 Wim Taymans <wim@fluendo.com>
15658 * gst/gstquery.c: (gst_query_list_add_format),
15659 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15660 (gst_query_parse_formats_nth):
15661 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15664 2006-02-14 Wim Taymans <wim@fluendo.com>
15666 * docs/gst/gstreamer-sections.txt:
15667 Reworked query docs.
15669 * gst/gstquery.c: (gst_query_new_formats),
15670 (gst_query_list_add_format), (gst_query_set_formats),
15671 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15672 (gst_query_parse_formats_nth):
15674 Flesh out formats query, added some new methods.
15675 Fix part of #324398.
15677 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15678 Added query creation tests.
15680 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15682 * gst/gstpad.c: (fixate_value):
15683 Add a default fixation for fraction lists.
15685 2006-02-13 Wim Taymans <wim@fluendo.com>
15687 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15688 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15691 Detect and warn for obvious deadlocks. fixes #320340
15692 Fix error case where lock was not released.
15694 * tests/check/Makefile.am:
15695 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15696 (task_func), (gst_element_suite), (main):
15699 2006-02-13 Wim Taymans <wim@fluendo.com>
15701 * docs/gst/gstreamer-sections.txt:
15703 Add new functions to docs.
15705 2006-02-13 Wim Taymans <wim@fluendo.com>
15707 * docs/design/part-TODO.txt:
15708 Updated TODO list, basesrc supports seeking to non-bytes
15711 * docs/design/part-element-sink.txt:
15714 * gst/gstbin.c: (bin_replace_message),
15715 (gst_bin_handle_message_func):
15716 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15717 * gst/gstevent.c: (gst_event_finalize):
15718 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15719 (gst_pad_send_event):
15720 Use shiny new _TYPE_NAME macros.
15722 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15723 Move debug statement up.
15725 * gst/gstelement.c: (gst_element_set_locked_state):
15726 Add some debugging.
15728 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15730 * docs/gst/gstreamer-sections.txt:
15731 * gst/gstmessage.h:
15733 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15734 macros (#330906). Also, document the already existing
15735 GST_QUERY_TYPE macro.
15737 2006-02-13 Wim Taymans <wim@fluendo.com>
15739 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15740 (event_probe), (GST_START_TEST):
15741 Only events up to the pipeline EOS are counted, there are
15742 some more when going to NULL currently which we don't care
15745 2006-02-13 Wim Taymans <wim@fluendo.com>
15747 * gst/gstpad.c: (gst_pad_send_event):
15748 Correctly check flushing and emit probes. fixes #330125
15750 2006-02-10 Andy Wingo <wingo@pobox.com>
15752 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15754 (gst_bus_init): Cache the location of the private data in the
15755 instance structure.
15756 (gst_bus_enable_sync_message_emission)
15757 (gst_bus_disable_sync_message_emission): Implement new public
15759 (gst_bus_post): Emit the sync-message signal if the user asked for
15762 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15763 location of the bus-private structure.
15764 (gst_bus_enable_sync_message_emission)
15765 (gst_bus_disable_sync_message_emission): API addition
15767 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15769 Patch by: Vincent Torri
15771 * docs/pwg/building-boiler.xml:
15772 PWG patch from #326800
15774 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15777 * docs/Makefile.am:
15778 * docs/design/Makefile.am:
15781 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15786 === release 0.10.3 ===
15788 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15791 releasing 0.10.3, "Like a virgin"
15793 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15796 2nd prerelease of 0.10.3
15797 Bump libtool versioning.
15799 2006-02-07 Andy Wingo <wingo@pobox.com>
15801 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15802 update last_stop if we're in TIME format and the timestamp is
15805 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15806 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15807 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15808 If we get a new newsegment with a different format, adapt
15811 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15812 of 0. Not a problem, really.
15814 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15817 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15822 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15825 project files updated to the default vs7 configuration
15826 * win32/common/libgstbase.def:
15827 * win32/common/libgstreamer.def:
15829 removed empty lines,
15830 sorted all exported symbols alphabetically
15831 * win32/common/dirent.c:
15832 * win32/common/dirent.h:
15833 * win32/common/gchar.h:
15834 use windows line end.
15836 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15838 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15839 Send EOS event when stopping.
15841 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15844 Tell folks what to do if the plugin-foobar.xml file
15845 hasn't been generated for a newly-added plugin.
15847 2006-02-05 Julien MOUTTE <julien@moutte.net>
15849 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15850 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15851 (gst_collect_pads_start), (gst_collect_pads_stop),
15852 (gst_collect_pads_event): Collectpads now holds a reference
15853 to the GstPad that was added. Indeed we don't want to look
15854 at pads that might just go away with no warning...
15856 2006-02-05 Julien MOUTTE <julien@moutte.net>
15858 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15859 (gst_collect_pads_start), (gst_collect_pads_stop),
15860 (gst_collect_pads_event), (gst_collect_pads_chain):
15861 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15862 Mark Nauwelaerts's patch on bug #328491.
15864 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15866 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15868 Add some simple tests for gst_parse_bin_from_description() and
15869 gst_bin_find_unconnected_pad() (#329069).
15871 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15873 * tools/gst-launch.c: (event_loop), (main):
15874 Catch errors during preroll (#320084).
15876 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15878 * plugins/elements/gsttypefindelement.c:
15879 (gst_type_find_element_activate):
15880 Post TYPE_NOT_FOUND error message when typefinding
15881 is unsuccessful in the activate function as well.
15883 2006-02-02 Wim Taymans <wim@fluendo.com>
15885 * docs/design/part-element-sink.txt:
15888 2006-02-02 Wim Taymans <wim@fluendo.com>
15890 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15891 (gst_base_sink_render_object),
15892 (gst_base_sink_queue_object_unlocked):
15893 Only keep track of prerollable items when we are
15895 Before rendering after preroll, always check if we
15897 Added some more debugging.
15899 2006-02-02 Wim Taymans <wim@fluendo.com>
15901 * gst/gstelement.c: (gst_element_continue_state),
15902 (gst_element_set_state_func), (gst_element_change_state):
15903 Fixed #326576, been running this for quite some time with
15904 no regressions at all.
15906 2006-02-02 Wim Taymans <wim@fluendo.com>
15909 Added more suppressions
15911 2006-02-02 Wim Taymans <wim@fluendo.com>
15913 * docs/design/part-element-sink.txt:
15916 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15917 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15918 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15919 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15920 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15921 (gst_base_sink_preroll_object),
15922 (gst_base_sink_queue_object_unlocked),
15923 (gst_base_sink_queue_object), (gst_base_sink_event),
15924 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15925 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15926 (gst_base_sink_get_position), (gst_base_sink_change_state):
15927 * libs/gst/base/gstbasesink.h:
15928 Totally refactored matching the design doc.
15929 Use two segments, one to clip incomming buffers and another to
15931 Handle queueing correctly, bypass the queue when playing.
15932 Make EOS cancelable.
15933 Handle errors correctly when operating in pull based mode.
15935 * tests/check/elements/fakesink.c: (GST_START_TEST),
15937 Added new check for sinks.
15939 2006-02-02 Wim Taymans <wim@fluendo.com>
15941 * gst/gstsegment.c: (gst_segment_clip):
15942 No reason to refuse to clip when start == -1
15944 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15947 * docs/manual/intro-basics.xml:
15948 * docs/manual/intro-preface.xml:
15949 * docs/manual/manual.xml:
15950 * docs/pwg/advanced-dparams.xml:
15951 * docs/pwg/intro-basics.xml:
15952 * docs/pwg/intro-preface.xml:
15953 * docs/pwg/pwg.xml:
15954 describe dparams (controller) for plugins
15955 unify docs a little more
15957 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15959 * docs/gst/gstreamer-sections.txt:
15960 * gst/gstutils.c: (element_find_unconnected_pad),
15961 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15963 Add new API: gst_parse_bin_from_description() and
15964 gst_bin_find_unconnected_pad() (#329069).
15966 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15968 * docs/manual/README:
15969 uncover a nasty detail of the docs build
15971 2006-01-31 Wim Taymans <wim@fluendo.com>
15973 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15974 Don't cache duration messages if we're not going to use or
15977 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15979 * docs/manual/advanced-dparams.xml:
15980 * docs/pwg/advanced-dparams.xml:
15984 * libs/gst/controller/lib.c: (gst_controller_init):
15987 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15989 * gst/gstelement.c: (gst_element_message_full):
15990 also show file/line/func if no additional debug was given
15992 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15994 * win32/vs7/grammar.vcproj:
15995 activate copy of autogenerated files for Release mode
15997 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15999 * win32/common/libgstreamer.def:
16000 export gst_value_compare
16002 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
16004 * plugins/elements/Makefile.am:
16005 * plugins/elements/gstelements.c:
16006 * plugins/elements/gstfdsink.c: (_do_init),
16007 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16008 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16009 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16010 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16011 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16012 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16013 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16014 * plugins/elements/gstfdsink.h:
16015 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16017 2006-01-30 Stefan Kost <ensonic@users.sf.net>
16019 * docs/manual/advanced-dparams.xml:
16020 describe controller
16021 * docs/manual/advanced-position.xml:
16022 * docs/manual/basics-init.xml:
16023 * docs/manual/manual.xml:
16024 * docs/manual/titlepage.xml:
16025 * docs/pwg/pwg.xml:
16026 * docs/pwg/titlepage.xml:
16027 cleanup xml (more to come)
16028 * libs/gst/controller/gstcontroller.c:
16031 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16033 * win32/vs6/grammar.dsp:
16034 add autogen of gstmarshal.c,h for Release mode
16036 2006-01-30 Wim Taymans <wim@fluendo.com>
16038 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16039 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16040 (gst_base_sink_handle_object), (gst_base_sink_event),
16041 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16042 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16043 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16044 (gst_base_sink_deactivate), (gst_base_sink_activate),
16045 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16046 (gst_base_sink_query), (gst_base_sink_change_state):
16047 Basesink cleanups, remove some old code.
16048 Handle the case where a subclass can preroll in the render
16049 method (mostly audiosinks).
16050 Handle more events.
16051 Remove some locks around variables that are now protected
16052 with the PREROLL_LOCK (clock_id, flushing, ..).
16053 Optimize position query some more, do correct locking.
16054 Remove old code to push queue in state change, this is not
16055 needed anymore since preroll blocks on all prerollable items
16057 Almost implemented as described in design doc.
16059 2006-01-30 Wim Taymans <wim@fluendo.com>
16061 * tests/check/gst/gstbin.c: (GST_START_TEST):
16062 Wait for refcount to settle down before checking.
16064 2006-01-30 Wim Taymans <wim@fluendo.com>
16066 * docs/design/part-element-sink.txt:
16067 Pseudo code overview of desired sink behaviour regarding
16070 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16071 * win32/vs6/grammar.dsp:
16072 fix some bugs in Release mode for autogenerated files
16074 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16075 * win32/common/libgstbase.def:
16076 * win32/common/libgstreamer.def:
16077 export some new symbols: gst_base_src_set_format,
16078 gst_iterator_next, gst_structure_set_valist
16080 2006-01-29 Julien MOUTTE <julien@moutte.net>
16082 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16083 Set pad functions unconditionally. Fixes #329105.
16085 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16087 add vs8 project files created by Sergey Scobich
16089 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
16091 * gst/gstutils.c: (gst_element_unlink_pads):
16092 Don't leak pad references.
16094 * tests/check/elements/fakesink.c: (GST_START_TEST):
16095 * tests/check/generic/sinks.c: (GST_START_TEST):
16096 * tests/check/generic/states.c: (GST_START_TEST):
16097 * tests/check/gst/gstbin.c: (GST_START_TEST):
16098 * tests/check/gst/gstcaps.c: (GST_START_TEST):
16099 * tests/check/gst/gstelement.c: (GST_START_TEST):
16100 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16101 * tests/check/gst/gstiterator.c: (GST_START_TEST):
16102 * tests/check/gst/gstvalue.c: (GST_START_TEST):
16103 Fix a bunch of leaks. Make generic/sinks.c
16104 use a bit less cpu by slowing the buffer rate
16105 between fakesrc and fakesink.
16107 2006-01-27 Stefan Kost <ensonic@users.sf.net>
16109 * gst/gstelement.c: (gst_element_send_event):
16112 * gst/gstiterator.c:
16113 * gst/gstiterator.h:
16114 * gst/gstpad.c: (gst_pad_send_event):
16115 * gst/gststructure.c:
16119 * libs/gst/base/gstadapter.c:
16120 doc fixes, to link to function, just write gst_cool_function(), don't
16123 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16125 * plugins/elements/gsttee.c: (gst_tee_do_push),
16126 (gst_tee_handle_buffer):
16127 Always prefer an actual return value from a src
16128 pad in place of NOT_LINKED. This means we return
16129 WRONG_STATE when all src pads are WRONG_STATE
16130 instead of NOT_LINKED.
16132 Lock when replacing the last message to prevent
16133 racing with the get_property method.
16137 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16139 * tests/check/Makefile.am:
16140 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16142 Add a very simple check that should have caught the memleak I fixed
16143 last night (if not for the slice allocator hiding it)
16145 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16147 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16148 (gst_bin_remove_func), (gst_bin_handle_message_func),
16149 (bin_query_duration_fold), (bin_query_generic_fold):
16150 Clean up references to the clock provider when disposed or when
16151 handling a clock-lost message from it.
16153 Unref sinks when performing a query via gst_iterator_fold, as the
16154 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16156 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16157 (gst_clock_set_master):
16158 Drop our reference to the master clock, if any, when we are disposed.
16160 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16161 Chain up in dispose.
16163 2006-01-26 Wim Taymans <wim@fluendo.com>
16165 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16166 Add some debugging.
16168 2006-01-26 Julien MOUTTE <julien@moutte.net>
16170 * plugins/elements/gsttee.c: (gst_tee_do_push),
16171 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16172 handles pad being NOT_LINKED or in WRONG_STATE.
16174 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16179 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16182 remove obsolete entry
16184 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16186 * docs/gst/gstreamer-sections.txt:
16187 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16188 (gst_bin_iterate_sources), (gst_bin_send_event):
16190 * gst/gstelement.c: (gst_element_send_event):
16192 * gst/gstpad.c: (gst_pad_send_event):
16193 added code for downstream events, reviewed docs in gstevent.c
16195 2006-01-25 Julien MOUTTE <julien@moutte.net>
16197 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16198 We only query position using the clock in the playing state.
16199 Query peer in the other cases.
16200 * win32/common/config.h: Updates.
16202 2006-01-24 Wim Taymans <wim@fluendo.com>
16204 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16205 A clock entry that is scheduled for the exact time of the
16206 clock is still in time.
16208 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16209 (gst_base_sink_do_sync):
16210 Add some more debug info.
16212 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16215 Add new vs7 project files and solution.
16217 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16220 all files removed as they were out-dated.
16222 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16224 * docs/random/release:
16226 * gst/gstbin.c: (gst_bin_init):
16227 * gst/gstbus.c: (gst_bus_new):
16229 * gst/gstpipeline.c: (gst_pipeline_init):
16230 use gst_bus_new(), improve logging, fix docs
16231 * win32/common/config.h:
16232 update for cvs build
16234 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16237 up required version of automake to 1.7
16239 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16241 * win32/common/libgstreamer.def:
16242 export gst_buffer_is_metadata_writable
16244 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16246 * docs/gst/gstreamer-sections.txt:
16248 Add gst_event_replace() (#327001)
16250 2006-01-20 Wim Taymans <wim@fluendo.com>
16252 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16253 Make it actually compile too..
16255 2006-01-20 Wim Taymans <wim@fluendo.com>
16258 Clarify behaviour of _is_equal() when passing NULL parameters.
16260 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16261 (gst_pad_set_caps):
16262 Cleanups. Don't unref NULL caps.
16263 When setting the same caps, protect caps of the pad with
16265 Use full functionality of _is_equal() when comparing caps.
16267 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16269 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16270 Don't loop infinitely if there are no buffers to present. Partially
16271 fixes #327197, but collectpads is just broken for reusing elements
16272 to do multiple encodes atm.
16274 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16276 * tools/gst-inspect.c: (print_element_features):
16277 * tools/gst-xmlinspect.c: (main):
16278 URL_HANDLER is not a plugin feature we can search for in
16281 2006-01-19 Edward Hervey <edward@fluendo.com>
16283 * gst/gstelement.c: (gst_element_pads_activate):
16284 When activating, do src pads first, then sink pads.
16285 When de-activating, do sink pads first, then src pads.
16287 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16289 * docs/gst/gstreamer-sections.txt:
16290 Add gst_index_add_associationv to the docs
16292 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16297 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16298 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16299 Do some refactoring. Doesn't actually change functionality,
16300 but makes landing the DRAIN event easier later.
16302 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16304 * docs/pwg/advanced-scheduling.xml:
16305 Update from 0.9.x to 0.10 API and make example a bit
16308 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16310 * docs/gst/gstreamer-sections.txt:
16311 Add gst_buffer_(is|make)_metadata_writable methods.
16313 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16315 * docs/design/part-sparsestreams.txt:
16316 Update sparse streams doc, hopefully for greater clarity
16318 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16320 * docs/design/part-events.txt:
16321 Remove mention of FILLER events.
16324 * docs/design/part-sparsestreams.txt:
16325 Write some things about using NEWSEGMENT to keep sparse streams
16328 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16330 * gst/gstbin.c: (gst_bin_dispose):
16331 Guard gst_object_unref call against a NULL object (dispose
16332 can theoretically be called multiple times).
16334 2006-01-18 Wim Taymans <wim@fluendo.com>
16336 * gst/gstbin.c: (gst_bin_element_set_state):
16337 * gst/gstclock.c: (gst_clock_id_wait):
16338 Added some more debug info.
16340 * libs/gst/base/gstadapter.c:
16343 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16344 (gst_base_sink_do_sync), (gst_base_sink_chain):
16345 Added some comments.
16347 2006-01-18 Wim Taymans <wim@fluendo.com>
16349 * tests/check/Makefile.am:
16350 * tests/check/elements/fakesink.c: (chain_async_buffer),
16351 (chain_async), (chain_async_return), (GST_START_TEST),
16352 (fakesink_suite), (main):
16353 Added fakesink test that checks prerolling and clipping
16356 * tests/check/gst/gstutils.c: (GST_START_TEST):
16357 Make check run faster so that buildbots don't timeout.
16359 2006-01-18 Wim Taymans <wim@fluendo.com>
16361 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16362 (gst_base_sink_do_sync):
16364 When the sink finishes blocking on the preroll buffer, it can
16365 immediatly render it instead of rendering when the next buffer
16368 2006-01-18 Wim Taymans <wim@fluendo.com>
16370 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16371 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16372 (gst_base_sink_chain):
16374 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16375 Don't store _last_stop if the buffer is dropped.
16377 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16379 * plugins/elements/gsttypefindelement.c:
16380 (gst_type_find_element_class_init):
16381 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16382 object method handler that sets the caps on the pad and we want
16383 that to happen before we emit the signal (fixes e.g. feeding a
16384 plain text file to decodebin).
16386 2006-01-18 Christian Schaller <Christian@fluendo.com>
16388 * gst/gstplugin.c: Add MPL and Proprietary as license options
16390 2006-01-18 Andy Wingo <wingo@pobox.com>
16392 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16393 symbol was exported before, it appears this was just an oversight.
16395 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16397 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16398 prototype to gint. OK since this prototype was not in the header.
16400 2006-01-17 Andy Wingo <wingo@pobox.com>
16402 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16403 registry while we remove plugins.
16405 * tools/gst-inspect.c (print_element_info): Don't unref the
16406 factory arg, that should be the responsibility of whatever code
16407 received the ref. Fixes a double-free when called from
16408 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16409 (main): Unref the factory if we have one.
16410 (print_element_list): No change -- relies on the
16411 plugin_feature_list_free to free the list of features.
16413 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16415 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16416 (gst_buffer_make_metadata_writable):
16418 * libs/gst/base/gstbasetransform.c:
16419 (gst_base_transform_prepare_output_buf):
16420 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16421 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16422 Replace gst_buffer_(make|is)_metadata_writable patch now
16423 that the release is out.
16425 2006-01-17 Andy Wingo <wingo@pobox.com>
16427 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16428 in the present tense without reference to versions.
16430 * gst/gstregistry.c (gst_registry_add_plugin)
16431 (gst_registry_remove_plugin, gst_registry_remove_feature)
16432 (gst_registry_find_feature, gst_registry_get_feature_list)
16433 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16434 (gst_registry_lookup, gst_registry_scan_path)
16435 (_gst_registry_remove_cache_plugins)
16436 (gst_registry_get_feature_list_by_plugin): Add argument
16439 === release 0.10.2 ===
16441 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16444 releasing 0.10.2, "If man is five"
16446 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16450 * libs/gst/base/gstbasetransform.c:
16451 (gst_base_transform_prepare_output_buf):
16452 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16453 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16454 Back out patch until after the release.
16456 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16458 * gst/gstminiobject.c:
16459 Spelling fix in docs.
16460 * ChangeLog - remove conflict indicator
16462 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16464 Reviewed By: Andy Wingo
16466 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16467 (gst_buffer_make_metadata_writable):
16469 Add gst_buffer_(is|make)_metadata_writable as analogues of
16470 gst_buffer_(is|make)_writable.
16472 * libs/gst/base/gstbasetransform.c:
16473 (gst_base_transform_prepare_output_buf):
16474 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16475 Use name gst_buffer_(is|make)_metadata_writable functions.
16477 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16478 Test gst_buffer_(is|make)_metadata_writable
16482 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16484 * docs/manual/Makefile.am:
16485 don't do parallel make
16488 * win32/common/config.h.in:
16489 add generations for HOST_CPU and GST_MAJORMINOR
16490 * win32/common/config.h:
16491 commit generated result
16493 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16495 * docs/manual/appendix-integration.xml:
16496 Update GNOME integration section to use gst_init_get_option_group()
16497 instead of the old popt stuff (#322911). Also, GNOME applications
16498 should now use gconf*sink and gconf*src instead of the old gconf
16501 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16504 * docs/gst/gstreamer-docs.sgml:
16505 * docs/gst/gstreamer-sections.txt:
16506 * docs/libs/gstreamer-libs-sections.txt:
16507 add new API entries to the docs
16508 * libs/gst/controller/Makefile.am:
16509 * libs/gst/controller/gstcontroller.c:
16510 * libs/gst/controller/gstcontroller.h:
16511 * libs/gst/controller/gstcontrollerprivate.h:
16512 * libs/gst/controller/gsthelper.c:
16513 * libs/gst/controller/gstinterpolation.c:
16514 move private structs to private header
16516 gstreamer-0.7 -> gstreamer-0.10
16517 * tests/check/libs/struct_i386.h:
16518 remove private structs
16520 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16522 * plugins/indexers/Makefile.am:
16523 Fixes as part of #317048
16525 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16527 * plugins/indexers/Makefile.am:
16528 fix #316086 - compilation when mmap is missing
16530 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16532 * libs/gst/base/gstbasesink.c:
16533 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16534 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16535 * win32/common/config.h:
16536 added some defines GST_MAJORMINOR and HOST_CPU
16537 * win32/common/libgstbase.def:
16538 * win32/common/libgstreamer.def:
16539 added some exported functions.
16541 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16543 * libs/gst/controller/gstcontroller.c:
16544 (gst_controlled_property_set_interpolation_mode),
16545 (gst_controlled_property_new):
16546 * libs/gst/controller/gstcontroller.h:
16547 * libs/gst/controller/gstinterpolation.c:
16548 (interpolate_none_get_string_value_array):
16549 make G_TYPE_STRING controlable
16551 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16554 * tools/gst-feedback.1.in:
16555 * tools/gst-inspect.1.in:
16556 * tools/gst-launch.1.in:
16557 * tools/gst-md5sum.1.in:
16558 * tools/gst-typefind.1.in:
16559 * tools/gst-xmlinspect.1.in:
16560 * tools/gst-xmllaunch.1.in:
16561 cleanup man-pages, remove reference to gst-register, document env-vars
16563 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16565 * gst/gstbuffer.c: (gst_buffer_span):
16566 gst_buffer_span should copy the timestamp of the first buffer
16567 if they were both originally overlapping subbuffers of the
16568 same parent, using the same logic as the 'slow copy' case.
16570 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16572 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16573 Need to awaken ALL the pads when we pop a buffer, otherwise
16574 collectpads only works when there is 2 input streams.
16576 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16578 * docs/random/ensonic/media-device-daemon.txt:
16581 fix doc example, add clarification
16582 * tools/gst-launch.1.in:
16583 add initial info about GST_PLUGIN_PATH, needs more work
16585 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16587 * docs/manual/basics-bins.xml:
16588 * docs/manual/basics-elements.xml:
16589 * docs/manual/intro-basics.xml:
16590 Some more minor docs additions and updates.
16592 2006-01-11 Wim Taymans <wim@fluendo.com>
16594 * docs/manual/basics-bins.xml:
16595 * docs/manual/basics-elements.xml:
16596 Some small fixes as pointed out by Ser-ver on IRC.
16598 2006-01-10 Edward Hervey <edward@fluendo.com>
16600 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16601 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16602 the single-segment mode.
16604 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16606 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16608 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16609 (gst_base_src_perform_seek), (gst_base_src_send_event),
16610 (gst_base_src_set_property), (gst_base_src_get_property),
16611 (gst_base_src_loop), (gst_base_src_start),
16612 (gst_base_src_activate_push):
16613 * libs/gst/base/gstbasesrc.h:
16614 Name (private) union; makes Sun's Forte compiler happy (#324900).
16616 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16619 gst-register is gone.
16621 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16623 * gst/gstvalue.c: (_gst_value_initialize):
16624 make the G_TYPE_DATE instantiation work if debug is disabled
16626 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16628 * gst/gstmessage.c: (gst_message_parse_tag),
16629 (gst_message_parse_error), (gst_message_parse_warning):
16630 Don't crash when return location for error/warning debug
16631 string is NULL; add fact that return locations can be
16632 NULL to docs where appropriate.
16634 2006-01-05 Wim Taymans <wim@fluendo.com>
16636 * gst/gstplugin.c: (gst_plugin_load_file):
16637 Replace strdup by g_strdup.
16639 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16641 * docs/pwg/advanced-types.xml:
16644 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16646 submitted by: Abel Cheung
16650 Added Chinese (traditional) translation
16652 2006-01-04 Wim Taymans <wim@fluendo.com>
16654 * docs/manual/basics-pads.xml:
16655 * docs/plugins/Makefile.am:
16656 * docs/plugins/gstreamer-plugins-docs.sgml:
16657 * docs/plugins/gstreamer-plugins-sections.txt:
16658 * docs/pwg/advanced-clock.xml:
16659 * docs/pwg/advanced-scheduling.xml:
16660 * docs/pwg/advanced-types.xml:
16661 * plugins/elements/gstfdsink.c:
16662 * plugins/elements/gstfdsrc.c:
16663 * plugins/elements/gstfdsrc.h:
16664 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16665 * plugins/elements/gstidentity.h:
16666 * plugins/elements/gstqueue.h:
16667 * plugins/elements/gsttee.c:
16668 * plugins/elements/gsttee.h:
16669 * plugins/elements/gsttypefindelement.c:
16670 (gst_type_find_element_class_init):
16671 * plugins/elements/gsttypefindelement.h:
16672 Small updates to various docs.
16673 Added core plugins to docs.
16675 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16678 add a suppression for liboil's uninitialized variable
16680 2006-01-02 James Livingston <jrl at ids dot org dot au>
16682 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16685 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16686 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16687 compiler switch is being used (#325429).
16689 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16691 * gst/gstbin.c: (gst_bin_query):
16692 Disable duration query caching in bins until it gets
16693 fixed (see #324807).
16695 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16697 * tools/gst-inspect.c: (print_element_properties_info):
16698 Handle properties of POINTER and BOXED type.
16700 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16702 * gst/gst.c: (init_post):
16703 Init tags stuff and some other things before loading
16704 any static plugins (there may be other static plugins
16705 than just the GStreamer ones, and they may want to
16706 register their own tags or formats or whatever, and
16707 preferably without segfaulting).
16709 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16710 Print at least a warning in the debug logs if we drop a
16711 query just because we don't know how to adjust the value
16712 in the particular format.
16714 2005-12-24 David Schleef <ds@schleef.org>
16716 * tools/gstreamer-completion:
16717 Replacement for gst-complete written in sh and sed. Only
16718 completes names of features, but that's 90% of what I want
16719 it for. Properties are not available in registry.xml. (Maybe
16722 === release 0.10.1 ===
16724 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16727 releasing 0.10.1, "Nollaig chridheil"
16729 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16731 * docs/faq/cvs.xml:
16732 Add missing quote, should be make ERROR_CFLAGS="".
16734 2005-12-20 Wim Taymans <wim@fluendo.com>
16736 * docs/design/part-trickmodes.txt:
16737 More documentation on trickmodes.
16739 2005-12-20 Edward Hervey <edward@fluendo.com>
16741 * gst/gstcaps.c: (gst_static_caps_get_type):
16743 API addition: GST_TYPE_STATIC_CAPS
16744 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16745 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16746 * gst/gstpadtemplate.h:
16747 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16748 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16751 2005-12-18 Wim Taymans <wim@fluendo.com>
16753 * libs/gst/base/gstadapter.c:
16754 * libs/gst/base/gstadapter.h:
16755 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16756 (gst_base_sink_get_position):
16757 * libs/gst/base/gstbasesink.h:
16758 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16759 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16760 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16761 (gst_base_src_send_event), (gst_base_src_update_length),
16762 (gst_base_src_get_range), (gst_base_src_loop),
16763 (gst_base_src_start):
16764 * libs/gst/base/gstbasesrc.h:
16765 * libs/gst/base/gstbasetransform.h:
16766 * libs/gst/base/gstcollectpads.h:
16767 * libs/gst/base/gstpushsrc.c:
16768 * libs/gst/base/gstpushsrc.h:
16769 * libs/gst/dataprotocol/dataprotocol.c:
16770 * libs/gst/dataprotocol/dataprotocol.h:
16771 * libs/gst/net/gstnetclientclock.h:
16772 * libs/gst/net/gstnettimeprovider.h:
16773 Documentation updates.
16775 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16777 * docs/manual/basics-helloworld.xml:
16778 Remove superfluous closing bracket in helloworld example.
16780 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16782 * tools/gst-launch.1.in:
16783 Update gst-launch man page; add a section with useful
16784 environment variables. Fixes #323882.
16786 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16789 * gst/gst_private.h:
16790 change some char* into char[]
16792 2005-12-16 Wim Taymans <wim@fluendo.com>
16794 * gst/gstregistryxml.c: (load_feature):
16796 Don't use g_object_unref on GstObjects so that we avoid
16797 leaks on unsafe glibs.
16799 2005-12-16 Wim Taymans <wim@fluendo.com>
16801 * gst/gstbin.c: (gst_bin_recalc_state):
16804 2005-12-16 Wim Taymans <wim@fluendo.com>
16806 * common/check.mak:
16807 Added make forever target for check.
16809 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16811 * gst/gst.c: (init_post):
16812 make the registry cache file HOST_CPU-dependent
16814 2005-12-16 Andy Wingo <wingo@pobox.com>
16816 * plugins/elements/gstbufferstore.c
16817 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16820 * tests/check/gst/gstobject.c
16821 (test_fake_object_name_threaded_unique): Pay attention to
16822 g_list_sort return value.
16824 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16826 * tools/gst-feedback-m.m:
16827 Update for 0.9/0.10 (fixes #323870).
16829 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16831 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16832 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16834 * tests/check/gst/gstminiobject.c: (my_foo_init),
16835 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16836 (test_value_collection), (gst_mini_object_suite):
16837 Add test to ensure refcounts end up as expected when passing
16838 GstMiniObjects through g_object_get() and g_object_set().
16840 2005-12-14 Julien MOUTTE <julien@moutte.net>
16842 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16843 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16844 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16845 of collectpads. This version removes a lot of races without
16846 touching API/ABI. Yay !
16848 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16850 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16851 Don't allow activation of a srcpad in pull_range if it has no
16853 Change some debug statements to be a little clearer
16855 * plugins/elements/gsttypefindelement.c:
16856 (gst_type_find_handle_src_query):
16857 Check that we have a peer before executing queries thereupon.
16859 * tests/examples/metadata/read-metadata.c: (message_loop):
16860 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16861 immediately return us any available message with 0 timeout.
16863 2005-12-12 Michael Smith <msmith@fluendo.com>
16865 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16866 Don't unref factories after calling them.
16867 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16868 * plugins/elements/gsttypefindelement.c:
16869 (gst_type_find_element_chain):
16870 Free lists of factories after using them. Fixing typefinding memory
16873 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16875 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16876 (gst_plugin_feature_load):
16877 more meaningful debug output
16879 * tests/Makefile.am:
16880 * tests/old/examples/Makefile.am:
16881 make make distcheck happy again
16883 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16885 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16886 Catch the special case where we are operating chain-based,
16887 but the downstream peer pad has no chain function. Emit a
16888 custom error message in this case instead of letting the
16889 core generate one implying that this is some sort of core
16890 bug. It's not, it just means that whatever got plugged
16891 into the pipeline downstream when we announced the type
16892 can only operate pull-based, while our source can only
16893 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16894 Error string has not been marked for translation yet, as
16895 it probably needs some more work first.
16897 (gst_type_find_element_get_best_possibility):
16898 Add helper function to find the best of all available
16899 found possibilities that qualify given the min. threshold.
16901 (gst_type_find_element_handle_event):
16902 Fix the case where we get an EOS while still in TYPEFIND
16903 mode (we want to chose the best of all possible types,
16904 not just the first type that happens to be in our unsorted
16905 list of possible types).
16907 (gst_type_find_element_chain):
16908 Make sure we return GST_FLOW_ERROR when we errored out
16909 in stop_typefinding(); also, don't just find the best of
16910 all found type entries and then use the last examined
16911 type entry, but actually use the best entry.
16913 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16915 * tests/examples/typefind/typefind.c: (type_found):
16916 * tests/examples/xml/runxml.c: (xml_loaded):
16917 More gcc4 fixes and a mem leak fix.
16919 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16921 * tests/examples/xml/createxml.c: (object_saved):
16924 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16926 * tests/Makefile.am:
16927 enable the examples even more
16929 2005-12-12 Andy Wingo <wingo@pobox.com>
16931 * libs/gst/net/gstnettimeprovider.c
16932 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16933 (gst_net_time_provider_set_property)
16934 (gst_net_time_provider_get_property):
16935 API addition: Export "active" as a GObject property.
16936 (gst_net_time_provider_thread): Only respond to time queries if
16937 the time provider is active.
16939 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16940 NetTimeProvider, preserving binary compat.
16942 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16944 * tests/examples/controller/audio-example.c: (main):
16945 * tests/examples/launch/Makefile.am:
16946 convert comments again
16948 2005-12-12 Wim Taymans <wim@fluendo.com>
16950 * libs/gst/base/gstpushsrc.c:
16953 2005-12-12 Wim Taymans <wim@fluendo.com>
16955 * docs/libs/gstreamer-libs-sections.txt:
16956 Added new symbol to docs.
16958 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16959 (gst_base_src_init), (gst_base_src_set_format),
16960 (gst_base_src_default_query), (gst_base_src_query),
16961 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16962 (gst_base_src_perform_seek), (gst_base_src_send_event),
16963 (gst_base_src_default_event), (gst_base_src_event_handler),
16964 (gst_base_src_set_property), (gst_base_src_get_property),
16965 (gst_base_src_wait), (gst_base_src_do_sync),
16966 (gst_base_src_update_length), (gst_base_src_get_range),
16967 (gst_base_src_check_get_range), (gst_base_src_loop),
16968 (gst_base_src_default_negotiate), (gst_base_src_start),
16969 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16970 (gst_base_src_change_state):
16971 * libs/gst/base/gstbasesrc.h:
16972 Implement seeking to other formats than _BYTES.
16973 Implement more seeking methods correctly.
16975 Added query vmethod.
16976 Added do_seek vmethod to make life easier for subclasses
16978 API addition: gst_base_src_set_format()
16980 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16982 * tests/examples/Makefile.am:
16985 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16988 * docs/random/ensonic/media-device-daemon.txt:
16989 * tests/examples/controller/.cvsignore:
16990 * tests/examples/controller/Makefile.am:
16991 * tests/examples/controller/audio-example.c: (main):
16992 * tests/examples/helloworld/.cvsignore:
16993 * tests/examples/helloworld/Makefile.am:
16994 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16995 * tests/examples/launch/.cvsignore:
16996 * tests/examples/launch/Makefile.am:
16997 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16998 * tests/examples/metadata/.cvsignore:
16999 * tests/examples/metadata/Makefile.am:
17000 * tests/examples/metadata/read-metadata.c: (message_loop),
17001 (make_pipeline), (print_tag), (main):
17002 * tests/examples/queue/.cvsignore:
17003 * tests/examples/queue/Makefile.am:
17004 * tests/examples/queue/queue.c: (event_loop), (main):
17005 * tests/examples/typefind/.cvsignore:
17006 * tests/examples/typefind/Makefile.am:
17007 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17009 * tests/examples/xml/.cvsignore:
17010 * tests/examples/xml/Makefile.am:
17011 * tests/examples/xml/createxml.c: (object_saved), (main):
17012 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17013 * tests/old/examples/Makefile.am:
17014 * tests/old/examples/TODO:
17015 * tests/old/examples/controller/.cvsignore:
17016 * tests/old/examples/controller/Makefile.am:
17017 * tests/old/examples/controller/audio-example.c:
17018 * tests/old/examples/helloworld/.cvsignore:
17019 * tests/old/examples/helloworld/Makefile.am:
17020 * tests/old/examples/helloworld/helloworld.c:
17021 * tests/old/examples/launch/.cvsignore:
17022 * tests/old/examples/launch/Makefile.am:
17023 * tests/old/examples/launch/mp3parselaunch.c:
17024 * tests/old/examples/launch/mp3play:
17025 * tests/old/examples/manual/Makefile.am:
17026 * tests/old/examples/metadata/Makefile.am:
17027 * tests/old/examples/metadata/read-metadata.c:
17028 * tests/old/examples/queue/.cvsignore:
17029 * tests/old/examples/queue/Makefile.am:
17030 * tests/old/examples/queue/queue.c:
17031 * tests/old/examples/typefind/.cvsignore:
17032 * tests/old/examples/typefind/Makefile.am:
17033 * tests/old/examples/typefind/typefind.c:
17034 * tests/old/examples/xml/.cvsignore:
17035 * tests/old/examples/xml/Makefile.am:
17036 * tests/old/examples/xml/createxml.c:
17037 * tests/old/examples/xml/runxml.c:
17038 applied some simple fixing to some examples
17039 re-enabled the working examples
17041 2005-12-12 Wim Taymans <wim@fluendo.com>
17043 * gst/gstsegment.c: (gst_segment_init),
17044 (gst_segment_set_last_stop), (gst_segment_set_seek),
17045 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17046 (gst_segment_to_running_time):
17047 Added more documentation.
17048 Make sure the last_pos value is updated properly.
17049 Make sure to_stream_time and to_running_time don't
17050 operate on wrong values.
17052 * tests/check/gst/gstsegment.c: (GST_START_TEST):
17055 2005-12-12 Michael Smith <msmith@fluendo.com>
17057 * plugins/elements/gsttypefindelement.c: (free_entry),
17058 (gst_type_find_element_chain):
17059 Now that we're not leaking factories, make sure we keep references
17060 to them while we need them.
17062 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17064 * tests/check/gst/struct_i386.h:
17065 ifdef out the XML structs
17067 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17069 * gst/gstvalue.c: (gst_value_transform_double_fraction):
17070 floor is not needed, F is always positive; this obviates the
17071 need for adding -lm when building without libxml
17073 2005-12-12 Wim Taymans <wim@fluendo.com>
17075 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17076 Take current playback rate into account when reporting
17079 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17081 * docs/manual/mime-world.fig:
17082 Let's try this again, this time with a file that is
17083 actually in XFig format.
17085 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17087 * docs/manual/mime-world.fig:
17088 Add audioconvert element to diagram so that it
17089 matches the text and the code (fixes #319526).
17091 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17093 * docs/pwg/building-chainfn.xml:
17094 * docs/pwg/building-pads.xml:
17095 * docs/pwg/building-state.xml:
17096 * docs/pwg/other-source.xml:
17097 Update state change stuff for 0.10 (fixes #322969).
17099 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17101 * docs/manual/advanced-dataaccess.xml:
17102 * docs/manual/appendix-checklist.xml:
17103 * docs/manual/appendix-programs.xml:
17104 * docs/manual/basics-pads.xml:
17105 * docs/manual/highlevel-components.xml:
17106 * docs/manual/manual.xml:
17107 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17108 add converters in front of pipelines; remove curly
17109 brackets for threads stuff, they no longer exist; use
17110 GST_TYPE_FRACTION for framerates; update some pieces of
17111 code to 0.10, but there's plenty more to do.
17113 * docs/manual/appendix-porting.xml:
17114 Expand on asynchroneous state changes; s/0.9/0.10/;
17115 mention disappearance of gst_init_get_popt_table()
17118 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17120 * docs/faq/using.xml:
17121 Spider no longer exists, and neither does gst-launch-ext.
17122 Update examples to use decodebin and playbin and put
17123 converters in front of sinks (fixes #323726).
17125 2005-12-09 Michael Smith <msmith@fluendo.com>
17127 * plugins/elements/gsttypefindelement.c: (find_peek),
17128 (gst_type_find_element_chain):
17129 Fix leaking element factories in typefinding.
17130 Fix problem where we forgot about a probable type on non-seekable
17131 files, and thus later mis-typefound it.
17133 2005-12-09 Michael Smith <msmith@fluendo.com>
17135 * common/m4/gst-makecontext.m4:
17136 * common/m4/gst-mcsc.m4:
17138 * win32/common/config.h:
17139 * win32/common/config.h.in:
17140 Remove makecontext stuff; not used in 0.10 and causes problems on
17141 HPUX according to bug #322441
17143 2005-12-07 Wim Taymans <wim@fluendo.com>
17145 * tests/check/Makefile.am:
17146 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17148 * tests/check/libs/struct_i386.h:
17149 Added ABI check for libs
17151 2005-12-07 Wim Taymans <wim@fluendo.com>
17153 * tests/check/Makefile.am:
17154 And add the struct_i386.h to dist.
17156 2005-12-07 Wim Taymans <wim@fluendo.com>
17158 * tests/check/Makefile.am:
17159 * tests/check/gst/.cvsignore:
17160 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17162 * tests/check/gst/struct_i386.h:
17163 Added check for ABI compatibility.
17165 2005-12-07 Wim Taymans <wim@fluendo.com>
17167 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17168 (gst_fake_src_get_times), (gst_fake_src_create):
17169 Fix broken sync option, fixes #323259
17171 2005-12-07 Wim Taymans <wim@fluendo.com>
17176 * gst/gstcaps.c: (gst_caps_is_equal):
17177 Don't assert on NULL <--> X. Fixes #323260
17179 * gst/gstminiobject.c: (gst_mini_object_replace):
17180 If we're doing atomic operations, we might just as well use
17181 the proper way to get an atomic pointer.
17183 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17184 Clean up debugging.
17186 2005-12-07 Michael Smith <msmith@fluendo.com>
17188 * gst/parse/grammar.y:
17189 Remove handling of { } for threads.
17191 2005-12-06 David Schleef <ds@schleef.org>
17193 * libs/gst/base/gstbasetransform.c: speling fix.
17195 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17197 * docs/libs/tmpl/gstdataprotocol.sgml:
17198 * docs/random/omega/testing/gstobject.c:
17201 * gst/gstelement.c:
17202 * gst/gstelementfactory.c:
17205 * gst/gstghostpad.c:
17207 * gst/gstpadtemplate.c:
17208 * gst/gstregistryxml.c:
17209 * gst/gsttaglist.c:
17210 * gst/gsttagsetter.c:
17211 * gst/gsttypefind.c:
17213 * libs/gst/base/gstbasesrc.c:
17214 * libs/gst/net/gstnetclientclock.c:
17215 * libs/gst/net/gstnettimeprovider.c:
17216 * plugins/elements/gstfakesrc.c:
17217 * plugins/elements/gstfdsrc.c:
17218 * plugins/elements/gstfilesrc.c:
17219 * plugins/elements/gstidentity.c:
17220 * plugins/elements/gstqueue.c:
17221 * plugins/elements/gsttypefindelement.c:
17222 * plugins/indexers/gstfileindex.c:
17223 * plugins/indexers/gstmemindex.c:
17224 * tests/check/gst/gsttag.c:
17225 * tests/old/examples/cutter/cutter.c:
17226 * tests/old/examples/mixer/mixer.c:
17227 * tests/old/examples/xml/runxml.c: (main):
17228 * tests/old/testsuite/caps/normalisation.c:
17229 * tests/old/testsuite/debug/global.c:
17230 * tests/old/testsuite/parse/parse1.c:
17231 * tools/gst-xmlinspect.c:
17232 * win32/common/dirent.c:
17235 === release 0.10.0 ===
17237 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17240 releasing 0.10.0, "Maroilles"
17242 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17244 submitted by: Funda Wang <fundawang@linux.net.cn>
17248 added Chinese (Traditional) translation
17250 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17252 * docs/gst/gstreamer-sections.txt:
17253 * docs/libs/tmpl/gstdataprotocol.sgml:
17254 * docs/random/thomasvs/TODO:
17259 2005-12-05 Andy Wingo <wingo@pobox.com>
17261 patch by: Wim Taymans <wim@fluendo.com>
17263 * libs/gst/base/gstbasetransform.c
17264 (gst_base_transform_prepare_output_buf)
17265 (gst_base_transform_buffer_alloc):
17266 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17267 alloc_buffer_and_set_caps.
17269 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17270 set_caps on the source pad.
17271 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17272 alloc_buffer used to do. Fixes #322874.
17274 * docs/gst/gstreamer-sections.txt:
17275 * docs/design/part-negotiation.txt:
17276 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17279 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17281 patch by: Sebastien Moutte
17284 * win32/common/config.h.in:
17285 * win32/vs6/libgstcontroller.dsp:
17288 2005-12-05 Wim Taymans <wim@fluendo.com>
17290 * gst/gstcaps.c: (gst_caps_is_equal):
17291 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17292 (gst_fake_src_create):
17293 Back out previous code changes, leave doc updates, file bugs
17296 2005-12-05 Wim Taymans <wim@fluendo.com>
17298 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17299 (gst_fake_src_get_times), (gst_fake_src_create):
17300 * plugins/elements/gstfakesrc.h:
17301 Fix broken sync code.
17303 2005-12-05 Wim Taymans <wim@fluendo.com>
17305 * gst/gstcaps.c: (gst_caps_is_equal):
17306 Comparing NULL against !NULL yields different caps, not a
17309 2005-12-05 Wim Taymans <wim@fluendo.com>
17311 * gst/gstpipeline.c:
17312 Fix small typo in docs.
17314 2005-12-05 Andy Wingo <wingo@pobox.com>
17316 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17318 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17319 registries/plugins with a MAJORMINOR one.
17320 (plugin_desc): Rename library from gstcoreleements to
17321 staticelements. Fixes #323222.
17323 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17325 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17326 Change debug category to 'collectpads' from 'collect_pads'
17329 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17331 patch by: Sebastien Moutte
17333 * libs/gst/controller/gstinterpolation.c:
17334 use convert function for uint64/double
17335 * win32/vs6/libgstcontroller.dsp:
17338 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17340 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17341 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17343 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17344 add tests that seem to show that the guint64/gdouble conversions
17347 2005-12-02 Wim Taymans <wim@fluendo.com>
17349 * gst/gstregistry.c: (gst_registry_add_path):
17350 * gst/gstregistry.h:
17351 * gst/gstregistryxml.c:
17354 2005-12-02 Wim Taymans <wim@fluendo.com>
17356 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17357 (gst_util_uint64_scale_int):
17360 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17361 Add debug log line.
17363 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17366 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17369 * win32/common/config.h:
17370 * win32/vs6/gstreamer.dsw:
17371 * win32/vs6/libgstcoreelements.dsp:
17372 * win32/vs6/libgstelements.dsp:
17373 renamed core elements plugin
17375 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17377 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17379 do piece-wise major/minor comparison so 0.9 < 0.10
17380 also allow .exe extensions for tools
17382 2005-12-02 Michael Smith <msmith@fluendo.com>
17385 Escape a % to make gtkdoc happier; bug 322958.
17387 === release 0.9.7 ===
17389 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17392 releasing 0.9.7, "My Dog Has No Nose"
17394 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17396 * common/gst-xmlinspect.py:
17398 * docs/libs/tmpl/gstdataprotocol.sgml:
17399 * docs/random/release:
17418 * win32/common/config.h:
17419 * win32/common/config.h.in:
17420 * win32/vs6/gst_inspect.dsp:
17421 * win32/vs6/gst_launch.dsp:
17422 * win32/vs6/libgstbase.dsp:
17423 * win32/vs6/libgstelements.dsp:
17424 * win32/vs6/libgstreamer.dsp:
17425 * win32/vs7/GStreamer.vcproj:
17426 * win32/vs7/gst-inspect.vcproj:
17427 * win32/vs7/gst-launch.vcproj:
17428 * win32/vs7/libgstbase.vcproj:
17429 bump GST_MAJORMINOR to 0.10
17430 reset libtool version
17432 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17436 Added Bulgarian translation by (Alexander Shopov)
17438 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17440 * tests/check/gst/gstplugin.c:
17443 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17445 * common/gst-xmlinspect.py:
17446 * common/gtk-doc-plugins.mak:
17448 * docs/Makefile.am:
17449 * docs/gst/Makefile.am:
17450 * docs/gst/gstreamer-docs.sgml:
17451 * docs/gst/gstreamer-sections.txt:
17452 * docs/gst/gstreamer.types:
17453 * docs/gst/gstreamer.types.in:
17454 * docs/plugins/Makefile.am:
17455 * docs/plugins/gstreamer-plugins-docs.sgml:
17456 * docs/plugins/gstreamer-plugins-sections.txt:
17457 * docs/plugins/gstreamer-plugins.types:
17458 * docs/plugins/inspect.stamp:
17459 * docs/plugins/inspect/plugin-coreelements.xml:
17460 * docs/plugins/inspect/plugin-coreindexers.xml:
17461 * docs/plugins/scanobj-build.stamp:
17462 * gstreamer.spec.in:
17463 * plugins/elements/Makefile.am:
17464 * plugins/elements/gstelements.c:
17465 * plugins/elements/gstfakesink.c:
17466 * plugins/elements/gstfakesrc.c:
17467 * plugins/elements/gstfilesink.c:
17468 * plugins/elements/gstfilesrc.c:
17469 * plugins/elements/gstqueue.c:
17470 * plugins/indexers/Makefile.am:
17471 * plugins/indexers/gstindexers.c:
17472 document core plugins in a separate document just like all the
17474 rename these plugins to something starting with core
17476 2005-12-01 Andy Wingo <wingo@pobox.com>
17478 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17479 padding here before, but it missed the commit.
17481 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17483 * libs/gst/controller/gstinterpolation.c:
17484 whitespace prices have crashed, we should feel free to use some now
17485 use gst_guint64_to_gdouble
17487 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17489 * libs/gst/controller/gstcontroller.c:
17490 * libs/gst/controller/gsthelper.c:
17491 * libs/gst/controller/gstinterpolation.c:
17492 * libs/gst/controller/lib.c:
17493 wrap config.h include
17495 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17497 * docs/gst/gstreamer-sections.txt:
17500 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17502 * plugins/elements/gstelements.c:
17503 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17504 (gst_fd_sink__class_init), (gst_fd_sink__init),
17505 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17506 (gst_fd_sink__get_property):
17507 * plugins/elements/gstfdsink.h:
17508 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17509 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17510 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17511 (gst_fd_src_unlock), (gst_fd_src_set_property),
17512 (gst_fd_src_get_property), (gst_fd_src_create),
17513 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17514 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17515 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17516 (gst_fd_src_uri_handler_init):
17517 * plugins/elements/gstfdsrc.h:
17518 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17521 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17523 * docs/gst/Makefile.am:
17524 * docs/gst/gstreamer.types.in:
17528 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17534 * gst/gstregistry.h:
17535 * tests/benchmarks/complexity.c:
17536 * tests/benchmarks/mass-elements.c:
17537 * tests/check/Makefile.am:
17538 * tools/Makefile.am:
17539 * tools/gst-inspect.c:
17540 * tools/gst-xmlinspect.c:
17541 various fixes to make
17542 --disable-nls --disable-registry --disable-loadsave
17543 --disable-parse --disable-gst-debug
17544 work and get the core .so down to 360444 bytes after stripping
17546 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17551 * docs/random/thomasvs/TODO:
17552 * tests/Makefile.am:
17556 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17558 * win32/GStreamer.vcproj:
17561 * win32/Makefile.inspect:
17562 * win32/Makefile.launch:
17563 * win32/Makefile.register:
17564 * win32/README.txt:
17565 * win32/gst-inspect.vcproj:
17566 * win32/gst-launch.vcproj:
17567 * win32/gst-register.vcproj:
17568 * win32/gstelements.vcproj:
17569 * win32/gstgetbits.def:
17570 * win32/gstgetbits.vcproj:
17571 * win32/gstreamer-dbg.def:
17572 * win32/gstreamer.def:
17573 * win32/libgstbase.def:
17574 * win32/libgstbase.vcproj:
17575 * win32/link_oldruntime.c:
17579 * win32/msvc71.sln:
17580 move even more stuff, win32/ is nice and clean now
17582 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17584 * libs/gst/control/.cvsignore:
17589 * win32/gstbytestream.def:
17590 * win32/gstbytestream.vcproj:
17591 * win32/gstconfig.h:
17592 * win32/gstenumtypes.c:
17593 * win32/gstenumtypes.h:
17594 * win32/gstoptimalscheduler.vcproj:
17595 * win32/gstversion.h:
17597 * win32/testsuite/bins.vcproj:
17598 * win32/testsuite/bytestream.vcproj:
17599 * win32/testsuite/caps.vcproj:
17600 * win32/testsuite/cleanup.vcproj:
17601 * win32/testsuite/clock.vcproj:
17602 * win32/testsuite/debug.vcproj:
17603 * win32/testsuite/dlopen.vcproj:
17604 * win32/testsuite/dynparams.vcproj:
17605 * win32/testsuite/elements.vcproj:
17606 * win32/testsuite/ghostpads.vcproj:
17607 * win32/testsuite/indexers.vcproj:
17608 * win32/testsuite/negotiation.vcproj:
17609 * win32/testsuite/parse.vcproj:
17610 * win32/testsuite/plugin.vcproj:
17611 * win32/testsuite/refcounting.vcproj:
17612 * win32/testsuite/schedulers.vcproj:
17613 * win32/testsuite/states.vcproj:
17614 * win32/testsuite/tags.vcproj:
17615 * win32/testsuite/threads.vcproj:
17616 remove old win32 stuff that isn't maintained and should be
17619 2005-11-30 Andy Wingo <wingo@pobox.com>
17621 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17622 loading the gst.interfaces python module bork.
17624 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17625 available since GLib 2.2. Fixes #318031.
17627 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17630 * check/.cvsignore:
17631 * check/Makefile.am:
17632 * check/elements/.cvsignore:
17633 * check/elements/fakesrc.c:
17634 * check/elements/fdsrc.c:
17635 * check/elements/identity.c:
17636 * check/generic/.cvsignore:
17637 * check/generic/states.c:
17638 * check/gst-libs/.cvsignore:
17639 * check/gst-libs/controller.c:
17640 * check/gst-libs/gdp.c:
17641 * check/gst/.cvsignore:
17642 * check/gst/capslist.h:
17644 * check/gst/gstbin.c:
17645 * check/gst/gstbuffer.c:
17646 * check/gst/gstbus.c:
17647 * check/gst/gstcaps.c:
17648 * check/gst/gstelement.c:
17649 * check/gst/gstevent.c:
17650 * check/gst/gstghostpad.c:
17651 * check/gst/gstiterator.c:
17652 * check/gst/gstmessage.c:
17653 * check/gst/gstminiobject.c:
17654 * check/gst/gstobject.c:
17655 * check/gst/gstpad.c:
17656 * check/gst/gstpipeline.c:
17657 * check/gst/gstplugin.c:
17658 * check/gst/gstsegment.c:
17659 * check/gst/gststructure.c:
17660 * check/gst/gstsystemclock.c:
17661 * check/gst/gsttag.c:
17662 * check/gst/gstutils.c:
17663 * check/gst/gstvalue.c:
17664 * check/net/.cvsignore:
17665 * check/net/gstnetclientclock.c:
17666 * check/net/gstnettimeprovider.c:
17667 * check/pipelines/.cvsignore:
17668 * check/pipelines/cleanup.c:
17669 * check/pipelines/simple_launch_lines.c:
17670 * check/pipelines/stress.c:
17671 * check/states/.cvsignore:
17672 * check/states/sinks.c:
17674 * examples/Makefile.am:
17675 * examples/appreader/.cvsignore:
17676 * examples/appreader/Makefile.am:
17677 * examples/appreader/appreader.c:
17678 * examples/controller/.cvsignore:
17679 * examples/controller/Makefile.am:
17680 * examples/controller/audio-example.c:
17681 * examples/cutter/.cvsignore:
17682 * examples/cutter/Makefile.am:
17683 * examples/cutter/cutter.c:
17684 * examples/cutter/cutter.h:
17685 * examples/events/Makefile.am:
17686 * examples/events/seek.c:
17687 * examples/helloworld/.cvsignore:
17688 * examples/helloworld/Makefile.am:
17689 * examples/helloworld/helloworld.c:
17690 * examples/helloworld2/.cvsignore:
17691 * examples/helloworld2/Makefile.am:
17692 * examples/helloworld2/helloworld2.c:
17693 * examples/launch/.cvsignore:
17694 * examples/launch/Makefile.am:
17695 * examples/launch/mp3parselaunch.c:
17696 * examples/launch/mp3play:
17697 * examples/manual/.cvsignore:
17698 * examples/manual/Makefile.am:
17699 * examples/manual/extract.pl:
17700 * examples/metadata/Makefile.am:
17701 * examples/metadata/read-metadata.c:
17702 * examples/mixer/.cvsignore:
17703 * examples/mixer/Makefile.am:
17704 * examples/mixer/mixer.c:
17705 * examples/mixer/mixer.h:
17706 * examples/pingpong/.cvsignore:
17707 * examples/pingpong/Makefile.am:
17708 * examples/pingpong/pingpong.c:
17709 * examples/plugins/.cvsignore:
17710 * examples/plugins/Makefile.am:
17711 * examples/plugins/example.c:
17712 * examples/plugins/example.h:
17713 * examples/pwg/.cvsignore:
17714 * examples/pwg/Makefile.am:
17715 * examples/pwg/extract.pl:
17716 * examples/queue/.cvsignore:
17717 * examples/queue/Makefile.am:
17718 * examples/queue/queue.c:
17719 * examples/queue2/.cvsignore:
17720 * examples/queue2/Makefile.am:
17721 * examples/queue2/queue2.c:
17722 * examples/queue3/.cvsignore:
17723 * examples/queue3/Makefile.am:
17724 * examples/queue3/queue3.c:
17725 * examples/queue4/.cvsignore:
17726 * examples/queue4/Makefile.am:
17727 * examples/queue4/queue4.c:
17728 * examples/retag/.cvsignore:
17729 * examples/retag/Makefile.am:
17730 * examples/retag/retag.c:
17731 * examples/retag/transcode.c:
17732 * examples/thread/.cvsignore:
17733 * examples/thread/Makefile.am:
17734 * examples/thread/thread.c:
17735 * examples/typefind/.cvsignore:
17736 * examples/typefind/Makefile.am:
17737 * examples/typefind/typefind.c:
17738 * examples/xml/.cvsignore:
17739 * examples/xml/Makefile.am:
17740 * examples/xml/createxml.c:
17741 * examples/xml/runxml.c:
17742 * tests/Makefile.am:
17743 * tests/check/Makefile.am:
17744 * testsuite/.cvsignore:
17745 * testsuite/Makefile.am:
17747 * testsuite/caps/.cvsignore:
17748 * testsuite/caps/Makefile.am:
17749 * testsuite/caps/app_fixate.c:
17750 * testsuite/caps/audioscale.c:
17751 * testsuite/caps/caps.c:
17752 * testsuite/caps/caps.h:
17753 * testsuite/caps/caps_strings:
17754 * testsuite/caps/compatibility.c:
17755 * testsuite/caps/deserialize.c:
17756 * testsuite/caps/enumcaps.c:
17757 * testsuite/caps/eratosthenes.c:
17758 * testsuite/caps/filtercaps.c:
17759 * testsuite/caps/fixed.c:
17760 * testsuite/caps/fraction-convert.c:
17761 * testsuite/caps/fraction-multiply-and-zero.c:
17762 * testsuite/caps/intersect2.c:
17763 * testsuite/caps/intersection.c:
17764 * testsuite/caps/normalisation.c:
17765 * testsuite/caps/random.c:
17766 * testsuite/caps/renegotiate.c:
17767 * testsuite/caps/sets.c:
17768 * testsuite/caps/simplify.c:
17769 * testsuite/caps/string-conversions.c:
17770 * testsuite/caps/structure.c:
17771 * testsuite/caps/subtract.c:
17772 * testsuite/caps/union.c:
17773 * testsuite/debug/.cvsignore:
17774 * testsuite/debug/Makefile.am:
17775 * testsuite/debug/category.c:
17776 * testsuite/debug/commandline.c:
17777 * testsuite/debug/global.c:
17778 * testsuite/debug/output.c:
17779 * testsuite/debug/printf_extension.c:
17780 * testsuite/dlopen/.cvsignore:
17781 * testsuite/dlopen/Makefile.am:
17782 * testsuite/dlopen/dlopen_gst.c:
17783 * testsuite/dlopen/loadgst.c:
17784 * testsuite/elements/.cvsignore:
17785 * testsuite/elements/Makefile.am:
17786 * testsuite/elements/gst-inspect-check.in:
17787 * testsuite/elements/struct_i386.h:
17788 * testsuite/elements/struct_size.c:
17789 * testsuite/indexers/.cvsignore:
17790 * testsuite/indexers/Makefile.am:
17791 * testsuite/indexers/cache1.c:
17792 * testsuite/indexers/indexdump.c:
17793 * testsuite/parse/.cvsignore:
17794 * testsuite/parse/Makefile.am:
17795 * testsuite/parse/parse1.c:
17796 * testsuite/parse/parse2.c:
17797 * testsuite/plugin/.cvsignore:
17798 * testsuite/plugin/Makefile.am:
17799 * testsuite/plugin/README:
17800 * testsuite/plugin/dynamic.c:
17801 * testsuite/plugin/linked.c:
17802 * testsuite/plugin/loading.c:
17803 * testsuite/plugin/registry.c:
17804 * testsuite/plugin/static.c:
17805 * testsuite/plugin/static2.c:
17806 * testsuite/plugin/testplugin.c:
17807 * testsuite/plugin/testplugin2.c:
17808 * testsuite/plugin/testplugin2_s.c:
17809 * testsuite/plugin/testplugin_s.c:
17810 * testsuite/refcounting/.cvsignore:
17811 * testsuite/refcounting/Makefile.am:
17812 * testsuite/refcounting/bin.c:
17813 * testsuite/refcounting/element.c:
17814 * testsuite/refcounting/element_pad.c:
17815 * testsuite/refcounting/mainloop.c:
17816 * testsuite/refcounting/mem.c:
17817 * testsuite/refcounting/mem.h:
17818 * testsuite/refcounting/object.c:
17819 * testsuite/refcounting/pad.c:
17820 * testsuite/refcounting/sched.c:
17821 * testsuite/refcounting/thread.c:
17822 * testsuite/states/.cvsignore:
17823 * testsuite/states/Makefile.am:
17824 * testsuite/states/bin.c:
17825 * testsuite/states/locked.c:
17826 * testsuite/states/parent.c:
17827 * testsuite/threads/.cvsignore:
17828 * testsuite/threads/159566.c:
17829 * testsuite/threads/159852.c:
17830 * testsuite/threads/Makefile.am:
17831 * testsuite/threads/queue.c:
17832 * testsuite/threads/signals.c:
17833 * testsuite/threads/staticrec.c:
17834 * testsuite/threads/thread.c:
17835 * testsuite/threads/threadb.c:
17836 * testsuite/threads/threadc.c:
17837 * testsuite/threads/threadd.c:
17838 * testsuite/threads/threade.c:
17839 * testsuite/threads/threadf.c:
17840 * testsuite/threads/threadg.c:
17841 * testsuite/threads/threadh.c:
17842 * testsuite/threads/threadi.c:
17843 move all of these under tests
17845 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17848 * tests/Makefile.am:
17851 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17853 * docs/gst/gstreamer-sections.txt:
17854 * tests/sched/.cvsignore:
17855 * tests/sched/Makefile.am:
17856 * tests/sched/cases/(fs-fs).xml:
17857 * tests/sched/cases/(fs-i-fs).xml:
17858 * tests/sched/cases/(fs-i-i-fs).xml:
17859 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17860 * tests/sched/dynamic-pipeline.c:
17861 * tests/sched/interrupt1.c:
17862 * tests/sched/interrupt2.c:
17863 * tests/sched/interrupt3.c:
17864 * tests/sched/runtestcases:
17865 * tests/sched/runxml.c:
17866 * tests/sched/sched-stress.c:
17867 * tests/sched/sort.c:
17868 * tests/sched/testcases:
17869 * tests/sched/testcases1.tc:
17870 * tests/seeking/.cvsignore:
17871 * tests/seeking/Makefile.am:
17872 * tests/seeking/seeking1.c:
17873 * tests/threadstate/.cvsignore:
17874 * tests/threadstate/Makefile.am:
17875 * tests/threadstate/test1.c:
17876 * tests/threadstate/test2.c:
17877 * tests/threadstate/threadstate1.c:
17878 * tests/threadstate/threadstate2.c:
17879 * tests/threadstate/threadstate3.c:
17880 * tests/threadstate/threadstate4.c:
17881 * tests/threadstate/threadstate5.c:
17882 remove obsolete tests
17884 * tests/bench-complexity.scm:
17885 * tests/bench-mass_elements.scm:
17886 * tests/complexity.c:
17887 * tests/complexity.gnuplot:
17888 * tests/instantiate/.cvsignore:
17889 * tests/instantiate/Makefile.am:
17890 * tests/instantiate/caps.c:
17891 * tests/mass_elements.c:
17892 * tests/network-clock-utils.scm:
17893 * tests/network-clock.scm:
17895 First pass at cleaning up tests/ dir before moving the rest
17896 Combined with CVS surgery
17898 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17901 queue has moved, update
17903 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17905 * docs/gst/gstreamer-sections.txt:
17906 remove double entries from the docs
17907 * gst/gst_private.h:
17908 * gst/gstinfo.c: (_gst_debug_init):
17909 remove the THREAD debug category
17913 * docs/gst/gstreamer.types:
17914 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17915 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17916 completely move queue and fix up debugging categories
17918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17920 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17921 make initialization portable, using LL is not
17923 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17925 * win32/common/gstconfig.h:
17928 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17930 * win32/common/libgstreamer.def:
17931 rename symbols; sort base section
17933 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17935 * gst/gstclock.c: (do_linear_regression):
17936 remove crack non-portable handrolled DEBUG macro
17938 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17940 * docs/random/release:
17942 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17943 (gst_object_flags_get_type), (register_gst_bin_flags),
17944 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17945 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17946 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17947 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17948 (gst_caps_flags_get_type), (register_gst_clock_return),
17949 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17950 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17951 (gst_clock_flags_get_type), (register_gst_state),
17952 (gst_state_get_type), (register_gst_state_change_return),
17953 (gst_state_change_return_get_type), (register_gst_state_change),
17954 (gst_state_change_get_type), (register_gst_element_flags),
17955 (gst_element_flags_get_type), (register_gst_core_error),
17956 (gst_core_error_get_type), (register_gst_library_error),
17957 (gst_library_error_get_type), (register_gst_resource_error),
17958 (gst_resource_error_get_type), (register_gst_stream_error),
17959 (gst_stream_error_get_type), (register_gst_event_type_flags),
17960 (gst_event_type_flags_get_type), (register_gst_event_type),
17961 (gst_event_type_get_type), (register_gst_seek_type),
17962 (gst_seek_type_get_type), (register_gst_seek_flags),
17963 (gst_seek_flags_get_type), (register_gst_format),
17964 (gst_format_get_type), (register_gst_index_certainty),
17965 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17966 (gst_index_entry_type_get_type),
17967 (register_gst_index_lookup_method),
17968 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17969 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17970 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17971 (gst_index_flags_get_type), (register_gst_debug_level),
17972 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17973 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17974 (gst_iterator_result_get_type), (register_gst_iterator_item),
17975 (gst_iterator_item_get_type), (register_gst_message_type),
17976 (gst_message_type_get_type), (register_gst_mini_object_flags),
17977 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17978 (gst_pad_link_return_get_type), (register_gst_flow_return),
17979 (gst_flow_return_get_type), (register_gst_activate_mode),
17980 (gst_activate_mode_get_type), (register_gst_pad_direction),
17981 (gst_pad_direction_get_type), (register_gst_pad_flags),
17982 (gst_pad_flags_get_type), (register_gst_pad_presence),
17983 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17984 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17985 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17986 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17987 (gst_plugin_flags_get_type), (register_gst_rank),
17988 (gst_rank_get_type), (register_gst_query_type),
17989 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17990 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17991 (gst_tag_flag_get_type), (register_gst_task_state),
17992 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17993 (gst_alloc_trace_flags_get_type),
17994 (register_gst_type_find_probability),
17995 (gst_type_find_probability_get_type), (register_gst_uri_type),
17996 (gst_uri_type_get_type), (register_gst_parse_error),
17997 (gst_parse_error_get_type):
17998 * win32/common/gstenumtypes.h:
17999 * win32/common/gstversion.h:
18000 update visual studio generated files
18002 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18004 * win32/vs6/libgstbase.dsp:
18005 * win32/vs6/libgstelements.dsp:
18006 update project files for new locations
18008 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18013 reinstate and update
18018 * docs/random/LICENSE:
18021 2005-11-30 Edward Hervey <edward@fluendo.com>
18023 * gst/gsttypefind.c: (gst_type_find_register):
18024 * gst/gsttypefind.h:
18025 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18026 (gst_type_find_factory_dispose):
18027 * gst/gsttypefindfactory.h:
18028 Fix memory leak in GstTypeFindFactory.
18030 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18033 * plugins/elements/Makefile.am:
18034 * plugins/elements/gstelements.c:
18035 * plugins/elements/gstqueue.c:
18036 move queue from core to the elements plugin
18038 2005-11-29 Andy Wingo <wingo@pobox.com>
18040 * libs/gst/base/gstbasetransform.h:
18041 * libs/gst/base/gstbasesrc.h:
18042 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18044 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18045 of pointers by which to pad very extensible base classes (like the
18046 ones in libs/gst/base).
18048 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18050 * docs/gst/gstreamer-docs.sgml:
18051 * docs/gst/gstreamer-sections.txt:
18052 * docs/libs/gstreamer-libs-docs.sgml:
18053 * docs/libs/gstreamer-libs-sections.txt:
18054 moving documentation from core to lib
18056 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18058 * check/Makefile.am:
18060 * docs/gst/Makefile.am:
18062 * gst/base/.cvsignore:
18063 * gst/base/Makefile.am:
18065 * gst/base/gstadapter.c:
18066 * gst/base/gstadapter.h:
18067 * gst/base/gstbasesink.c:
18068 * gst/base/gstbasesink.h:
18069 * gst/base/gstbasesrc.c:
18070 * gst/base/gstbasesrc.h:
18071 * gst/base/gstbasetransform.c:
18072 * gst/base/gstbasetransform.h:
18073 * gst/base/gstcollectpads.c:
18074 * gst/base/gstcollectpads.h:
18075 * gst/base/gstpushsrc.c:
18076 * gst/base/gstpushsrc.h:
18077 * gst/base/gsttypefindhelper.c:
18078 * gst/base/gsttypefindhelper.h:
18079 * gst/check/Makefile.am:
18080 * gst/check/gstcheck.c:
18081 * gst/check/gstcheck.h:
18082 * gst/net/Makefile.am:
18083 * gst/net/gstnet.h:
18084 * gst/net/gstnetclientclock.c:
18085 * gst/net/gstnetclientclock.h:
18086 * gst/net/gstnettimepacket.c:
18087 * gst/net/gstnettimepacket.h:
18088 * gst/net/gstnettimeprovider.c:
18089 * gst/net/gstnettimeprovider.h:
18090 * libs/gst/Makefile.am:
18091 * libs/gst/base/Makefile.am:
18092 * libs/gst/base/gstbasetransform.c:
18093 * libs/gst/check/Makefile.am:
18094 * plugins/elements/Makefile.am:
18096 CVS surgery + support to move base, check, and net out of gst
18099 2005-11-29 Andy Wingo <wingo@pobox.com>
18101 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18103 * gst/gststructure.h (struct _GstStructure): Only one pointer of
18106 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18108 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18110 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18112 * gst/gstobject.h: (struct _GstObject): Only one pointer of
18113 padding; reduces object size by about 30%. We don't expect
18114 anything else to go into gstobject.
18116 * gst/gstminiobject.h (struct _GstMiniObject)
18117 (struct _GstMiniObjectClass): Only one pointer of padding; the
18118 payload is only a pointer and two ints anyway. For the class there
18119 are only two methods as well.
18121 * gst/gstelement.h (struct _GstElementClass): Removed
18122 the state_changed signal callback, it is not used.
18124 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18126 * docs/gst/gstreamer.types:
18127 fix includes, though they are a little dinky
18129 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18131 * check/Makefile.am:
18132 look in the right place for elements, a lot more chance of
18135 remove indexers and elements subdirs
18136 * plugins/Makefile.am:
18137 make indexers conditional
18139 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18143 * plugins/elements/Makefile.am:
18144 * plugins/elements/gstcapsfilter.c:
18145 * plugins/elements/gstfilesink.c:
18146 * plugins/elements/gstfilesrc.c:
18147 * plugins/elements/gstidentity.c:
18148 * plugins/indexers/Makefile.am:
18149 do CVS surgery and related build fixery to move elements
18150 and indexers in a new gstreamer/plugins directory, out of the
18153 2005-11-29 Andy Wingo <wingo@pobox.com>
18155 * check/Makefile.am:
18156 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18157 * pkgconfig/gstreamer-net.pc.in:
18158 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18161 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18163 * tools/Makefile.am:
18164 * tools/gst-complete.1.in:
18165 * tools/gst-complete.c:
18166 * tools/gst-compprep.1.in:
18167 * tools/gst-compprep.c:
18168 removing -compprep and -complete
18170 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18172 * gst/gstevent.c: (gst_event_new_new_segment),
18173 (gst_event_parse_new_segment):
18175 fix #320529 - clean up new_segment API and structure.
18176 Let's hope everyone was using the methods, and not the structure.
18178 2005-11-29 Edward Hervey <edward@fluendo.com>
18180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18181 (gst_base_sink_event), (gst_base_sink_do_sync),
18182 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18183 Properly handle non GST_FORMAT_TIME segment
18184 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18185 Properly handle non GST_FORMAT_TIME segment
18186 * gst/gstsegment.c:
18187 This function is valid if the accumulator is 0 and the format
18188 is different from the requested format.
18190 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18192 * docs/gst/gstreamer-sections.txt:
18193 Add gst_query_new_seeking and gst_query_parse_seeking to the
18196 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18198 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18199 Treat a pad alloc with new caps the same as if we were not
18200 negotiated, in order to allow a changing upstream output
18201 to produce a new format of data.
18203 2005-11-29 Edward Hervey <edward@fluendo.com>
18205 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18206 (gst_base_transform_event), (gst_base_transform_eventfunc):
18207 The event virtual method is now properly implemented, with a default
18209 Sub classes should call the parent_class event method. They should
18210 return FALSE if they had a problem handling the given event, or don't
18211 want GstBaseTransform to send that even downstream
18212 * gst/elements/gstidentity.c: (gst_identity_class_init),
18213 (gst_identity_init), (gst_identity_event),
18214 (gst_identity_transform_ip), (gst_identity_set_property),
18215 (gst_identity_get_property):
18216 * gst/elements/gstidentity.h:
18217 Added the single-segment boolean property.
18218 If set to TRUE, it will output a single segment of data, starting from
18219 0, will eat up all incoming newsegment, and modify the timestamp of the
18220 buffers accordingly
18222 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18224 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18225 Don't ref NULL target pad (#322751). Improve docs.
18227 2005-11-29 Michael Smith <msmith@fluendo.com>
18229 * gst/gstregistryxml.c: (load_plugin):
18230 Don't crash if we failed to load a feature from a plugin.
18232 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18234 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18236 use more check API and less GLib API
18238 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18241 don't run checks if we don't have check
18242 * common/check.mak:
18243 remove the registry when running make torture
18244 * docs/gst/gstreamer-sections.txt:
18245 remove second multiply
18246 * gst/gstqueue.c: (gst_queue_loop):
18247 fix a compile warning when disabling debug
18249 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18252 Hey! Let's print the pad name if the pointer != NULL instead
18253 of when it == NULL :-)
18255 2005-11-28 Wim Taymans <wim@fluendo.com>
18257 * check/gst/gstutils.c: (GST_START_TEST):
18258 Updated check, add some scaling accuracy checking code.
18260 * gst/gstutils.c: (gst_util_div128_64),
18261 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18262 (gst_util_uint64_scale_int):
18263 Fix 6 times faster division code. Optimize for common
18264 1/1 and less common X/1 cases.
18266 2005-11-28 Wim Taymans <wim@fluendo.com>
18268 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18271 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18272 (do_linear_regression), (gst_clock_add_observation):
18274 Release lock when the clock cannot be slaved.
18275 Catch the case where the regression returned an invalid denominator.
18277 * gst/gstutils.c: (gst_util_div128_64_iterate),
18278 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18279 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18280 Add protentially more performant non-iterative 128/64 divide function
18281 that unfortunatly does not work yet.
18282 Shortcut the trivial 0/X = 0 case.
18283 Remove the warnings on overflow.
18285 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18287 * gst/gstplugin.c: (gst_plugin_register_func):
18288 everything causing a plugin not to load should be at least a WARNING
18290 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18292 * docs/random/ensonic/dparams.txt:
18293 some TODOs for the next dev cycle
18294 * libs/gst/controller/gstcontroller.c:
18295 (gst_controlled_property_set_interpolation_mode),
18296 (gst_controlled_property_new):
18297 * libs/gst/controller/gstcontroller.h:
18298 use base type to assign acccessor functions
18300 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18302 * check/Makefile.am:
18303 Oops, that should have been top_srcdir
18305 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18307 * check/Makefile.am:
18308 * check/elements/fdsrc.c: (GST_START_TEST):
18309 Use a cmdline define to specify the location of a file to use for
18310 testing, to avoid breaking distcheck.
18312 2005-11-28 Andy Wingo <wingo@pobox.com>
18314 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18316 2005-11-28 Edward Hervey <edward@fluendo.com>
18318 * tools/gst-launch.c: (main):
18319 Clarify the output strings, makes it easier to translate.
18322 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18325 don't try and build net if we don't even have <sys/socket.h>
18327 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18329 * check/Makefile.am:
18330 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18331 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18332 Add tests for fdsrc seekability
18334 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18335 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18336 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18337 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18338 * gst/elements/gstfdsrc.h:
18339 fdsrc should not be a 'live' source.
18340 Implement seeking on seekable fd's.
18342 * gst/gstquery.c: (gst_query_new_seeking),
18343 (gst_query_parse_seeking):
18345 Implement SEEKING query functions:
18346 *_new_seeking and *_parse_seeking
18348 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18350 * gst/gstelement.c: (gst_element_dispose):
18353 * gst/gstiterator.c:
18354 * gst/gststructure.c:
18357 * libs/gst/controller/gstcontroller.c:
18358 (gst_controlled_property_set_interpolation_mode):
18359 * libs/gst/controller/gstcontroller.h:
18360 * libs/gst/controller/gstinterpolation.c:
18361 (interpolate_none_get_enum_value_array):
18362 support controlling enums
18364 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18367 Improve documentation for gst_value_union().
18370 Change return value for union, intersect and subtract functions
18371 from gint to gboolean.
18373 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18375 * gst/gstvalue.c: (gst_value_serialize_any_list),
18376 (gst_value_transform_any_list_string),
18377 (gst_value_deserialize_list), (gst_value_deserialize_array),
18378 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18379 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18380 (gst_value_set_fraction_range_full),
18381 (gst_value_deserialize_fraction_range),
18382 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18383 (gst_value_deserialize_boolean),
18384 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18385 (gst_value_serialize_float), (gst_value_deserialize_float),
18386 (gst_string_wrap), (gst_value_deserialize_string),
18387 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18388 (gst_value_union_int_range_int_range),
18389 (gst_value_intersect_int_range_int_range),
18390 (gst_value_intersect_double_range_double_range),
18391 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18392 (gst_value_subtract_int_range_int_range),
18393 (gst_value_subtract_double_double_range),
18394 (gst_value_subtract_double_range_double_range),
18395 (gst_value_deserialize_fraction):
18397 Use gint, gdouble and gchar in our API instead of int, double and
18398 char (and make usage in gstvalue.c more consistent).
18400 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18402 * check/Makefile.am:
18403 * libs/gst/controller/Makefile.am:
18404 * libs/gst/dataprotocol/Makefile.am:
18405 fix up Makefile.am and remove GST_ENABLE_NEW
18407 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18411 * gst/base/Makefile.am:
18412 * gst/check/Makefile.am:
18413 * gst/elements/Makefile.am:
18414 * gst/net/Makefile.am:
18415 update LDFLAGS use some more
18417 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18419 * common/m4/gst-doc.m4:
18422 2005-11-26 Edward Hervey <edward@fluendo.com>
18424 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18425 This shouldn't issue a g_warning since it returns NULL if it
18426 couldn't find the plugin, and all functions using this behave
18427 properly on a NULL return. Switching to a GST_WARNING.
18429 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18431 * gst/gstbin.c: (gst_bin_handle_message_func):
18432 Don't leak clock messages.
18434 2005-11-25 Wim Taymans <wim@fluendo.com>
18436 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18437 (gst_util_uint64_scale_int):
18438 Optimisations, remove unneeded vars.
18440 2005-11-25 Wim Taymans <wim@fluendo.com>
18442 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18443 Added more checks for the high precision uint64 cases.
18445 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18446 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18447 Implement high precision (guint64 * guint64) / guint64.
18449 2005-11-24 Wim Taymans <wim@fluendo.com>
18451 * gst/base/gstbasesrc.c: (gst_base_src_query):
18452 Fix wrong percentage query.
18454 * gst/gstutils.c: (gst_util_uint64_scale),
18455 (gst_util_uint64_scale_int):
18456 Add some more common cases that can be handled
18457 efficiently to _scale.
18459 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18461 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18462 (gst_mini_object_suite):
18463 don't use check calls from threads; check probably isn't
18464 threadsafe and using a lock to make it threadsafe would
18465 defeat the purpose of this check
18466 * gst/check/gstcheck.c:
18467 * gst/check/gstcheck.h:
18468 use GST_DEBUG some more
18470 2005-11-24 Wim Taymans <wim@fluendo.com>
18472 * gst/gstutils.c: (gst_util_uint64_scale),
18473 (gst_util_uint64_scale_int):
18474 Chain trivial case to _scale_int.
18476 2005-11-24 Wim Taymans <wim@fluendo.com>
18478 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18479 Added test for scaling.
18484 * gst/gstutils.c: (gst_util_uint64_scale_int):
18485 Implemented high precision scaling code.
18487 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18490 do not crash on pad==NULL
18492 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18494 Patch by: Stefan Kost
18496 * common/gtk-doc.mak:
18497 * docs/gst/Makefile.am:
18498 * docs/libs/Makefile.am:
18499 Fix distcheck issues for the libraries docs build
18502 2005-11-24 Michael Smith <msmith@fluendo.com>
18504 * docs/manual/basics-helloworld.xml:
18505 Fix bug #315027: memory leak in example code in docs.
18507 2005-11-24 Michael Smith <msmith@fluendo.com>
18509 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18510 Unlock the PREROLL_LOCK in a failure case.
18512 2005-11-24 Wim Taymans <wim@fluendo.com>
18514 * docs/gst/gstreamer-sections.txt:
18515 * gst/base/gstadapter.h:
18516 * gst/base/gstbasesink.h:
18517 * gst/base/gstbasesrc.h:
18518 * gst/base/gstbasetransform.h:
18519 * gst/base/gstpushsrc.h:
18520 * gst/elements/gstfakesink.h:
18521 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18522 * gst/elements/gstfakesrc.h:
18523 * gst/elements/gstfilesink.h:
18524 * gst/elements/gstfilesrc.h:
18527 * gst/gstbuffer.c: (_gst_buffer_copy):
18530 * gst/gstchildproxy.c:
18532 * gst/gstelement.c:
18533 * gst/gstelementfactory.c:
18534 * gst/gstelementfactory.h:
18536 * gst/gstghostpad.h:
18538 * gst/gstinterface.h:
18539 * gst/gstminiobject.c:
18540 * gst/gstminiobject.h:
18543 * gst/gstpadtemplate.h:
18544 * gst/gstpipeline.h:
18545 * gst/gstpluginfeature.h:
18548 * gst/gsttaglist.c:
18549 * gst/gsttaglist.h:
18550 * gst/gsttagsetter.c:
18551 * gst/gsttagsetter.h:
18554 * gst/gsttypefind.h:
18557 * gst/net/gstnetclientclock.c:
18558 * gst/net/gstnetclientclock.h:
18559 * gst/net/gstnettimepacket.c:
18560 * gst/net/gstnettimeprovider.c:
18561 * gst/net/gstnettimeprovider.h:
18564 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18566 * configure.ac: back to HEAD
18568 === release 0.9.6 ===
18570 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18573 releasing 0.9.6, "Always On Time"
18575 2005-11-23 Wim Taymans <wim@fluendo.com>
18577 * docs/gst/gstreamer-sections.txt:
18578 * gst/glib-compat.c:
18579 * gst/gsttagsetter.c:
18581 * gst/net/gstnetclientclock.c:
18582 * gst/net/gstnettimepacket.h:
18585 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18587 * docs/faq/using.xml:
18588 * docs/libs/tmpl/gstcontrol.sgml:
18589 * docs/manual/advanced-dparams.xml:
18590 * docs/manual/appendix-checklist.xml:
18591 * docs/manual/basics-elements.xml:
18592 * docs/pwg/other-source.xml:
18593 * docs/random/moving-plugins:
18595 * tools/gst-launch.1.in:
18596 remove mentions of sinesrc
18598 2005-11-23 Michael Smith <msmith@fluendo.com>
18600 * docs/gst/gstreamer-sections.txt:
18601 Update for new API and API changes.
18603 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18605 Documentation typo fix.
18606 * gst/net/gstnettimepacket.c:
18607 Documentation fixes for arguments.
18609 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18611 * gst/gststructure.c: (gst_structure_get_fraction),
18612 (gst_structure_parse_value),
18613 (gst_structure_fixate_field_nearest_fraction):
18614 * gst/gststructure.h:
18615 * gst/gstutils.c: (gst_util_uint64_scale_int):
18617 * scripts/update-funcnames:
18619 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18620 Make gst_structure_fixate_field_nearest_fraction take a numerator
18621 and denominator argument instead of a GValue
18622 add gst_structure_get_fraction helper function.
18624 2005-11-23 Wim Taymans <wim@fluendo.com>
18626 * docs/design/part-TODO.txt:
18629 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18630 * gst/net/gstnetclientclock.h:
18631 Use parent fields for timeout and window_size.
18633 2005-11-23 Andy Wingo <wingo@pobox.com>
18635 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18636 rate_num/rate_denom change.
18638 * gst/net/gstnetclientclock.c
18639 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18640 OBJECT_LOCK. Don't call add_observation with the lock.
18642 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18644 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18646 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18647 deal with rate as a fraction whose numerator and denominator are
18648 GstClockTime values.
18649 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18650 master; the other fields are protected by the SLAVE_LOCK.
18651 (do_linear_regression): Note that this must be called with the
18653 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18654 OBJECT_LOCK. Call set_calibration instead of touching the
18655 variables directly.
18656 (gst_clock_set_property, gst_clock_get_property): Protect
18657 master/slave parameters with the SLAVE_LOCK.
18659 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18660 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18661 note that all of the instance variables that add_observation and
18662 the set_master functions use are protected by that lock and not
18664 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18666 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18667 the caller to take the object lock.
18669 2005-11-23 Wim Taymans <wim@fluendo.com>
18671 * gst/gsterror.c: (_gst_core_errors_init):
18673 Add error for clock stuff.
18675 * gst/gstpipeline.c: (gst_pipeline_change_state),
18676 (gst_pipeline_set_clock):
18677 Post clock error when clock cannot be used in a pipeline.
18679 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18681 * docs/gst/gstreamer-sections.txt:
18682 make two symbols from gstinfo private for the docs
18683 * gst/base/gstcollectpads.h:
18685 fix doc typos, update docs
18687 2005-11-22 Wim Taymans <wim@fluendo.com>
18689 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18690 (gst_base_sink_wait), (gst_base_sink_do_sync),
18691 (gst_base_sink_handle_event):
18692 * gst/base/gstbasesink.h:
18693 No need to store the clock, the parent element class already
18696 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18697 Updates for clock_set returning a gboolean
18699 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18700 (gst_clock_id_wait_async), (gst_clock_class_init),
18701 (gst_clock_init), (gst_clock_finalize),
18702 (gst_clock_get_internal_time), (gst_clock_get_time),
18703 (gst_clock_slave_callback), (gst_clock_set_master),
18704 (gst_clock_get_master), (do_linear_regression),
18705 (gst_clock_add_observation), (gst_clock_set_property),
18706 (gst_clock_get_property):
18708 Implement master/slave. When setting a clock as a slave, a
18709 periodic timeout is scheduled to sample master and slave times.
18710 Then the slave clock is recalibrated to match offset and rate
18711 of the master clock.
18712 Update logging a bit.
18713 Add flag so that a clock can state that is cannot be slaved to
18716 * gst/gstelement.c: (gst_element_set_clock):
18717 * gst/gstelement.h:
18718 The set clock returns a gboolean for when an element cannot
18719 deal with the selected clock in the pipeline.
18721 * gst/gstpipeline.c: (gst_pipeline_change_state),
18722 (gst_pipeline_set_clock):
18723 * gst/gstpipeline.h:
18724 Handle the case where the selected clock cannot be set on
18727 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18728 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18729 (gst_net_client_clock_set_property),
18730 (gst_net_client_clock_get_property),
18731 (gst_net_client_clock_observe_times):
18732 * gst/net/gstnetclientclock.h:
18733 Use regression code in GstClock parent, remove duplicated
18736 2005-11-22 Michael Smith <msmith@fluendo.com>
18738 * gst/gstutils.c: (gst_util_clock_time_scale):
18740 * docs/gst/gstreamer-sections.txt:
18741 Rename method to have extra underscore.
18743 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18745 * gst/elements/Makefile.am:
18746 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18747 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18748 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18749 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18750 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18751 * gst/elements/gstfakesrc.h:
18752 * gst/gstqueue.c: (queue_leaky_get_type):
18753 correctly fix GEnumValues so that nick is the short lowercase
18755 * tools/gst-inspect.c: (print_element_properties_info):
18756 also show the nick, since it's useful to use from parse_launch
18760 2005-11-22 Michael Smith <msmith@fluendo.com>
18762 * gst/gstutils.c: (gst_util_clocktime_scale):
18764 * docs/gst/gstreamer-sections.txt:
18765 Add util method for scaling a clocktime by a fraction. Useful
18766 implementation is left as an exercise for the reader.
18768 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18770 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18771 If needed, allocate storage in the destination value during
18774 2005-11-22 Edward Hervey <edward@fluendo.com>
18776 * docs/gst/gstreamer-sections.txt:
18779 * gst/gsturitype.c:
18780 * gst/gsturitype.h:
18781 * gst/gstutils.c: (gst_util_set_object_arg):
18782 * tools/gst-compprep.c: (main):
18783 * tools/gst-inspect.c: (print_element_properties_info):
18784 Removed GstURI, closes bug #321061
18786 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18788 * check/gst/gststructure.c: (GST_START_TEST):
18789 * gst/gststructure.c: (gst_structure_parse_value):
18790 Oops, broke automatic string type parsing.
18791 Add a test to catch it in future.
18793 2005-11-22 Andy Wingo <wingo@pobox.com>
18795 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18796 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18797 Actually rename the function implementations. Grr.
18799 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18801 * check/gst/capslist.h:
18803 * check/gst/gststructure.c: (GST_START_TEST),
18804 (gst_structure_suite):
18805 Test automatic value type detection in gst_structure_from_string.
18806 * gst/gststructure.c: (gst_structure_parse_value):
18807 Add fraction as a type we try and guess automatically in
18808 caps/structure strings.
18810 2005-11-22 Andy Wingo <wingo@pobox.com>
18812 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18814 * gst/gsttagsetter.h:
18815 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18816 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18817 (gst_tag_setter_add_tag_valist)
18818 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18819 _add_values, _add_valist, and _add_valist_values. Since this is an
18820 interface the function suffixes should be more explicit so
18821 language binding don't end up with element.add_valist ->
18822 gst_tag_setter_add_valist, for example. Fixes #322069.
18824 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18826 * check/gst/gstcaps.c: (GST_START_TEST):
18827 Extend caps string tests to check that a caps to string
18828 conversion is reversible and produces the same caps.
18830 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18831 Output "fraction" as the generic type fraction range, so caps
18832 serialisation and deserialisation works.
18833 * check/gst/capslist.h:
18834 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18835 Support 'MIN' and 'MAX' for deserialising fractions.
18837 2005-11-22 Andy Wingo <wingo@pobox.com>
18839 * gst/gstevent.h (gst_event_new_new_segment)
18840 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18841 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18842 Renamed from *_newsegment, *_buffersize, *_notarget.
18844 * scripts/update-funcnames: New script, performs the changes
18847 2005-11-22 Wim Taymans <wim@fluendo.com>
18849 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18850 Make sure the GstFlowReturn is returned.
18852 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18853 (gst_bus_add_signal_watch):
18855 add gst_bus_add_signal_watch_full.
18857 * gst/gstplugin.c: (gst_plugin_load_file):
18858 Small style cleanup.
18860 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18862 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18863 Block the fakesrc srcpad when we send an event, to avoid
18864 contention on the stream_lock causing random test failures.
18866 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18868 * check/gst/gstvalue.c: (GST_START_TEST):
18869 * gst/gstvalue.c: (gst_value_fraction_subtract):
18872 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18875 include "gstchildproxy.h"
18876 * gst/gstchildproxy.h:
18877 * libs/gst/controller/gstcontroller.h:
18878 use G_GNUC_NULL_TERMINATED
18880 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18882 * check/gst/capslist.h:
18883 * check/gst/gstcaps.c: (GST_START_TEST):
18884 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18885 * gst/gststructure.c: (gst_structure_parse_range),
18886 (gst_structure_fixate_field_nearest_fraction):
18887 * gst/gststructure.h:
18888 * gst/gstvalue.c: (gst_value_init_fraction_range),
18889 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18890 (gst_value_collect_fraction_range),
18891 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18892 (gst_value_set_fraction_range_full),
18893 (gst_value_get_fraction_range_min),
18894 (gst_value_get_fraction_range_max),
18895 (gst_value_serialize_fraction_range),
18896 (gst_value_transform_fraction_range_string),
18897 (gst_value_compare_fraction_range),
18898 (gst_value_deserialize_fraction_range),
18899 (gst_value_intersect_fraction_fraction_range),
18900 (gst_value_intersect_fraction_range_fraction_range),
18901 (gst_value_subtract_fraction_fraction_range),
18902 (gst_value_subtract_fraction_range_fraction),
18903 (gst_value_subtract_fraction_range_fraction_range),
18904 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18905 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18906 (gst_value_transform_string_fraction), (_gst_value_initialize):
18908 Implement fraction ranges and extend GstFraction to support
18909 arithmetic subtraction, as well as deserialization from integer
18910 strings such as "100"
18911 Add a testsuite as for int and double range set operations
18913 2005-11-21 Andy Wingo <wingo@pobox.com>
18915 * gst/gsttaglist.h:
18917 * gst/gststructure.h: Add glib-compat.h.
18919 2005-11-21 Wim Taymans <wim@fluendo.com>
18921 * gst/gstbin.c: (gst_bin_change_state_func):
18924 2005-11-21 Wim Taymans <wim@fluendo.com>
18926 * gst/gstsegment.h:
18927 And add a nice define too.
18929 2005-11-21 Wim Taymans <wim@fluendo.com>
18931 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18932 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18933 (gst_segment_set_duration), (gst_segment_set_last_stop),
18934 (gst_segment_set_seek), (gst_segment_set_newsegment),
18935 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18936 (gst_segment_clip):
18937 * gst/gstsegment.h:
18938 Make binding friendly.
18940 2005-11-21 Andy Wingo <wingo@pobox.com>
18942 * gst/gsttagsetter.h:
18943 * gst/gsttaglist.h:
18944 * gst/gststructure.h:
18946 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18949 * gst/gsterror.c (_gst_core_errors_init):
18950 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18953 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18954 (noinst_HEADERS): noinst the -private.
18956 2005-11-21 Michael Smith <msmith@fluendo.com>
18959 * gst/gstregistry.h:
18960 Remove unimplemented declarations for which we can see no sensible
18963 2005-11-21 Andy Wingo <wingo@pobox.com>
18965 * gst/gst.h: Include glib-compat.h.
18967 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18969 * gst/glib-compat.c: Include the public and the private header.
18971 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18975 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18977 * check/gst/gstevent.c (create_custom_events): Check that
18978 FLUSH_STOP is serialized.
18980 * check/elements/identity.c (event_func):
18981 * check/elements/fakesrc.c (event_func): No stream lock, the core
18984 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18985 stream lock taking, yay.
18987 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18988 ensure that core takes the stream lock.
18990 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18993 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18994 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18995 it already. For the flush start we do take it though so we get the
18996 right preroll state change messages.
18998 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18999 the stream lock here, the core does it for us.
19001 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19002 GST_STREAM_GET_LOCK.
19003 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
19004 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
19005 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19006 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19007 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
19008 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19010 * gst/gstpad.c: Update for stream lock name change.
19012 * gst/base/gstbasesink.c: Update for preroll lock name change.
19014 2005-11-21 Wim Taymans <wim@fluendo.com>
19016 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19017 (gst_clock_get_master):
19019 * gst/gstsystemclock.c: (gst_system_clock_init):
19020 Convert Clock flags to object flags.
19021 Added methods to manage master/slave clocks.
19023 2005-11-21 Wim Taymans <wim@fluendo.com>
19025 * check/gst/gstsegment.c: (GST_START_TEST):
19026 * docs/design/part-TODO.txt:
19027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19028 (gst_base_sink_event), (gst_base_sink_do_sync),
19029 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19030 (gst_base_sink_query), (gst_base_sink_change_state):
19031 * gst/base/gstbasesink.h:
19032 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19033 (gst_base_src_default_newsegment),
19034 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19035 (gst_base_src_get_range), (gst_base_src_loop),
19036 (gst_base_src_change_state):
19037 * gst/base/gstbasesrc.h:
19038 * gst/base/gstbasetransform.c:
19039 (gst_base_transform_prepare_output_buf),
19040 (gst_base_transform_event), (gst_base_transform_change_state):
19041 * gst/base/gstbasetransform.h:
19042 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19043 (gst_collect_pads_event):
19044 * gst/base/gstcollectpads.h:
19045 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19046 (gst_fake_src_create):
19047 * gst/elements/gstfakesrc.h:
19048 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19049 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19050 (gst_segment_set_last_stop), (gst_segment_set_seek),
19051 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19052 (gst_segment_to_running_time), (gst_segment_clip):
19053 * gst/gstsegment.h:
19054 More segment updates, replace code in plugins with segment
19057 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19059 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19060 Don't ignore sscanf results
19062 2005-11-21 Andy Wingo <wingo@pobox.com>
19064 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19067 * *.c: Ran scripts/update-macros. Oh yes.
19069 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19070 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19073 * scripts/update-macros: New script. Run it on your files to
19074 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19077 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19079 * docs/gst/Makefile.am:
19080 * docs/gst/gstreamer-docs.sgml:
19081 * docs/gst/gstreamer-sections.txt:
19082 * docs/gst/gstreamer.types:
19084 more docs fixes, add new api to the docs
19086 2005-11-21 Andy Wingo <wingo@pobox.com>
19088 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19089 state_broadcast call.
19091 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19093 2005-11-21 Julien MOUTTE <julien@moutte.net>
19095 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19096 function calls for arrays.
19098 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19100 * docs/random/ensonic/media-device-daemon.txt:
19101 wild idea, can this be done?
19102 * docs/gst/gstreamer-sections.txt:
19107 * gst/gstpluginfeature.c:
19111 doc fixes and additions
19113 2005-11-21 Andy Wingo <wingo@pobox.com>
19115 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
19116 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
19117 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
19118 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19119 private to the basesrc implementation.
19121 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19122 behalf of event function if necessary. It should no longer be
19123 necessary to take the stream lock in pad's event functions. Fixes
19126 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19127 * docs/gst/gstreamer-sections.txt:
19128 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19129 (gst_structure_fixate_field_nearest_double),
19130 (gst_structure_fixate_field_boolean):
19131 * gst/gststructure.h:
19132 * win32/common/libgstreamer.def:
19133 * win32/gstreamer.def:
19135 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19138 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19140 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19141 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19142 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19143 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19144 (gst_fdsrc_uri_handler_init):
19145 * gst/elements/gstfdsrc.h:
19146 Port fd:// URI handler from 0.8 to fdsrc
19148 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19150 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19151 (gst_value_serialize_fourcc):
19153 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19154 consistent with our other format defines (#320324).
19156 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19158 * gst/gstvalue.c: (gst_value_is_fixed):
19159 Revert previous commit. Value lists are by definition
19160 not fixed, as they are a list of possible values.
19162 2005-11-21 Andy Wingo <wingo@pobox.com>
19164 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19165 during the stable series if we need it. Fixes #319178.
19167 * gst/gstevent.c (gst_event_new_filler): Removed.
19169 * check/gst/gstevent.c: Update comment about filler events.
19171 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19173 * gst/gstvalue.c: (gst_value_is_fixed):
19174 Should handle both value arrays and value lists.
19176 2005-11-21 Andy Wingo <wingo@pobox.com>
19178 patch by: Alessandro Dessina <alessandro nnva org>
19180 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19181 functions to access arrays. Fixes #321962.
19183 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19185 * docs/gst/gstreamer.types:
19186 gst_collectpads_get_type => gst_collect_pads_get_type.
19188 * gst/base/gstbasetransform.c:
19189 Remove unused SIGNAL_HANDOFF enum.
19191 2005-11-21 Andy Wingo <wingo@pobox.com>
19193 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19194 the event type (upstream, downstream, serialized). Renamed
19195 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19196 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19197 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19199 * gst/gstevent.c: Update for new CUSTOM event names.
19201 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19204 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19207 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19209 * docs/gst/gstreamer-sections.txt:
19210 * win32/common/libgstbase.def:
19211 * win32/libgstbase.def:
19212 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19213 (gst_collect_pads_class_init), (gst_collect_pads_init),
19214 (gst_collect_pads_finalize), (gst_collect_pads_new),
19215 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19216 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19217 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19218 (gst_collect_pads_start), (gst_collect_pads_stop),
19219 (gst_collect_pads_peek), (gst_collect_pads_pop),
19220 (gst_collect_pads_available), (gst_collect_pads_read),
19221 (gst_collect_pads_flush), (gst_collect_pads_event),
19222 (gst_collect_pads_chain):
19223 * gst/base/gstcollectpads.h:
19224 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19225 unimplemented functions as unimplemented. Add padding to
19226 GstCollectData. (#320766, #320423)
19228 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19230 * gst/gstmessage.c:
19231 Improve docs for DURATION message (usage of duration parameter)
19234 2005-11-20 Wim Taymans <wim@fluendo.com>
19236 * check/Makefile.am:
19237 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19241 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19242 (gst_segment_set_seek), (gst_segment_set_newsegment),
19243 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19244 (gst_segment_clip):
19245 * gst/gstsegment.h:
19246 Added segment helper structure and methods. Not fully implemented
19248 Added segment check.
19250 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19252 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19253 Add a deserialisation test for fractions
19254 * examples/metadata/read-metadata.c: (message_loop),
19255 (make_pipeline), (main):
19256 Fix up metadata reading sample.
19257 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19259 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19260 Don't try and fixate empty caps
19261 * gst/gst_private.h:
19262 Wrap in G_BEGIN_DECLS/G_END_DECLS
19263 * gst/gstvalue.c: (gst_value_collect_fraction),
19264 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19265 (gst_value_transform_string_fraction),
19266 (gst_value_compare_fraction):
19267 Add some extra guards to ensure that we don't end up
19268 with an invalid denominator of 0 in a gstfraction and
19269 that fractions always get reduced.
19271 2005-11-20 Wim Taymans <wim@fluendo.com>
19273 * docs/gst/gstreamer-sections.txt:
19275 * gst/gstelement.c:
19284 2005-11-20 Wim Taymans <wim@fluendo.com>
19286 * docs/design/part-TODO.txt:
19288 Make a proper enum of the flag.
19290 2005-11-19 Wim Taymans <wim@fluendo.com>
19292 * docs/design/part-TODO.txt:
19293 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19294 (gst_format_to_quark), (gst_format_register):
19296 * gst/gstquery.c: (_gst_query_initialize),
19297 (gst_query_type_get_name), (gst_query_type_to_quark),
19298 (gst_query_type_register):
19300 Add type to quark and type to string conversions.
19302 2005-11-19 Andy Wingo <wingo@pobox.com>
19304 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19307 2005-11-19 Wim Taymans <wim@fluendo.com>
19309 * docs/design/part-TODO.txt:
19310 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19311 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19312 (gst_bin_handle_message_func):
19314 Make message handling overridable.
19316 2005-11-19 Andy Wingo <wingo@pobox.com>
19318 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19321 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19323 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19324 is a GstClockTime. Fixes #321710.
19326 * gst/gstclock.h (GstClock): Remove offset property. Add
19327 internal_calibration and external_calibration. Fix padding. Pad
19328 also by GstClockTime so we don't run into problems.
19330 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19331 (gst_clock_get_rate_offset): Remove.
19332 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19335 * gst/gstutils.c (g_static_rec_cond_wait)
19336 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19338 * gst/gstbin.c: Remove terrible continue_state prototype.
19340 * gst/gstelement.h (gst_element_continue_state): Make public.
19342 * gst/gstelement.h:
19343 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19344 by continue_state. Fixes #319389.
19346 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19347 Really fixes #168438. However I don't see anywhere where the
19348 filter function is called... stupid GStreamer...
19350 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19351 don't have a dispose function, so it won't get called when the
19352 object is unreffed, but oh well!
19354 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19355 allows a destroy function to be set so user_data can be freed.
19357 (gst_index_set_filter): Call gst_index_set_filter_full.
19359 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19361 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19362 string should produce an error, given the lack of a way to
19363 represent NULL strings. Fixes #165650.
19366 * gst/gstvalue.c (gst_value_array_append_value)
19367 (gst_value_array_prepend_value, gst_value_array_get_size)
19368 (gst_value_array_get_value): New API, copied from
19369 gst_value_list_*, only operates on arrays.
19370 (gst_value_list_append_value, gst_value_list_prepend_value)
19371 (gst_value_list_concat, gst_value_list_get_size)
19372 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19374 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19375 init_list, because it works on both.
19376 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19377 (gst_value_copy_list_or_array): Renamed from copy_list.
19378 (gst_value_free_list_or_array): Renamed from free_list.
19379 (gst_value_collect_list_or_array): Renamed from collect_list.
19380 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19381 (gst_value_list_or_array_peek_pointer): Renamed from
19383 (_gst_value_array_value_table, _gst_value_list_value_table):
19384 Update value table functions.
19385 (gst_value_compare_list_or_array): Renamed from compare_list.
19387 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19390 * gst/gsttaglist.c:
19391 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19392 GstTagList*. Fixes #143472.
19394 * gst/gststructure.h: Clarify what the foreach/map functions can
19395 or can't do to their arguments.
19397 2005-11-18 Wim Taymans <wim@fluendo.com>
19399 * gst/gstclock.c: (gst_clock_set_calibration),
19400 (gst_clock_get_calibration):
19402 Calibration can be set with internal time equal to current
19405 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19411 2005-11-18 Andy Wingo <wingo@pobox.com>
19414 * pkgconfig/gstreamer-net.pc.in:
19415 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19416 * pkgconfig/Makefile.am: Add net pkgconfig files.
19418 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19421 * gst/gstghostpad.c:
19427 2005-11-18 Andy Wingo <wingo@pobox.com>
19429 * gst/net/gstnetclientclock.c: Turn off debugging.
19431 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19432 times connverge somewhat. Can't make a real test.
19434 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19435 integer arithmetic. Return the minimum of the domain, which can be
19436 set as "internal" for gst_clock_set_calibration.
19437 (gst_net_client_clock_observe_times): Call _set_calibration.
19438 (gst_net_client_clock_new): Call _set_calibration instead of
19441 * check/net/gstnetclientclock.c (test_functioning): Use the right
19445 * gst/gstclock.c (gst_clock_get_calibration)
19446 (gst_clock_set_calibration): New functions, obsolete the ones I
19447 added yesterday. Doh. Precision issues mean we have to extrapolate
19448 from a point in the more recent past than 1970.
19449 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19451 (gst_clock_adjust_unlocked): Use the right calibration data.
19453 2005-11-18 Edward Hervey <edward@fluendo.com>
19455 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19456 Also reset the ->current_* values in READY->PAUSED
19458 2005-11-18 Andy Wingo <wingo@pobox.com>
19460 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19461 Whoops, check the right fd. Also add some debugging.
19462 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19463 (do_linear_regression): Add a crapload of debugging. Subtract off
19464 the minimum values from the input series to discard unneeded bits.
19465 Use only int arithmetic. There is still double arithmetic when
19466 calculating the intercept that needs fixing. Return boolean to
19467 indicate success; FALSE would mean the domain or range is too
19468 great. Still needs fixes.
19470 2005-11-18 Wim Taymans <wim@fluendo.com>
19472 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19473 For the current position in stream time, we need to subtract
19476 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19477 Release lock before calling the callback function of async
19480 2005-11-18 Andy Wingo <wingo@pobox.com>
19482 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19483 Port goes all the way to MAXUINT16.
19485 * gst/net/gstnettimeprovider.c: Make the port range the same as
19486 for the kernel: 0 assigns, otherwise ports are less than
19489 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19492 * check/net/gstnetclientclock.c (test_functioning): Add the start
19495 2005-11-18 Wim Taymans <wim@fluendo.com>
19497 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19498 (gst_bin_remove_func), (bin_bus_handler):
19500 Removing a clock provider from a bin, triggers a clock lost message
19501 so that a new clock will be selected.
19502 Adding a clock to a bin triggers a clock provider message.
19503 Make sure we reselect a clock when we received a clock lost message.
19504 Keep a reference to the element that provided the clock.
19506 2005-11-18 Andy Wingo <wingo@pobox.com>
19508 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19509 the clock initially so it produces values around the base time.
19510 (gst_net_client_clock_class_init): Typo fix.
19511 (gst_net_client_clock_thread): Add note on when the socket gets
19514 2005-11-17 Wim Taymans <wim@fluendo.com>
19516 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19517 Free remote and local time arrays.
19519 2005-11-17 Wim Taymans <wim@fluendo.com>
19521 * gst/net/gstnetclientclock.c: (do_linear_regression),
19522 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19523 Fix compilation, uninitialized vars and a forgotten continue.
19525 2005-11-17 Andy Wingo <wingo@pobox.com>
19527 * check/Makefile.am (check_PROGRAMS):
19528 * check/net/gstnetclientclock.c: Add a most minimal test for the
19529 net client clock. More to come later.
19531 * gst/net/gstnet.h:
19532 * gst/net/Makefile.am: Add netclientclock.
19534 * gst/net/gstnetclientclock.h:
19535 * gst/net/gstnetclientclock.c: New files, implement an untested
19536 GstClock that takes its time from a network time provider.
19537 Implements the algorithm in network-clock.scm.
19539 * tests/network-clock.scm (*window-size*): Rename from
19541 * tests/network-clock.scm (network-time):
19542 * tests/network-clock-utils.scm (q-push): Update callers.
19544 2005-11-17 Wim Taymans <wim@fluendo.com>
19546 * gst/gstbin.c: (gst_bin_provide_clock_func),
19547 (gst_bin_sort_iterator_new):
19548 And unref the child too..
19550 2005-11-17 Wim Taymans <wim@fluendo.com>
19552 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19553 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19554 Refactor the sort iterator so it can be used while holding the
19556 Make clock selection select a clock closest to the source.
19558 2005-11-17 Michael Smith <msmith@fluendo.com>
19560 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19561 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19563 Anonymous structs are a gcc (and some other compilers) extension, so
19564 don't use them. Since this is only for ABI-compatibility, and our
19565 API/ABI freeze is over in a few days, this whole thing will only
19566 last a few days, so don't bother trying to think up a meaningful
19567 name for the struct.
19569 2005-11-17 Andy Wingo <wingo@pobox.com>
19571 * gst/gstclock.h (GstClock): Add rate and offset properties,
19572 preserving ABI stability. Add rate/offset accessors. Will file bug
19573 for the freeze break.
19575 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19576 and offset, trying to keep precision and avoiding
19577 underflow/overflow.
19578 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19579 functions. Make gst_clock_set_time_adjust obsolete.
19580 (gst_clock_set_time_adjust): Note that this function is obsolete.
19581 Will file bug soon.
19583 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19584 greppable by using GST_PADDING-1+1.
19586 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19588 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19590 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19591 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19593 * gst/gstpadtemplate.h:
19594 * gst/gstpluginfeature.h:
19595 Don't use c++ style comments in headers (#321638).
19597 2005-11-16 Andy Wingo <wingo@pobox.com>
19599 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19602 * check/net/gstnettimeprovider.c: Check to see that the time
19603 provider actually provides times. Works, yo!
19605 2005-11-16 Wim Taymans <wim@fluendo.com>
19607 * check/Makefile.am:
19610 * check/elements/fakesrc.c: (GST_START_TEST):
19611 Set element to NULL before disposing it.
19613 2005-11-16 Andy Wingo <wingo@pobox.com>
19615 * gst/net/Makefile.am:
19616 * gst/net/gstnet.h:
19617 * gst/net/gstnettimeprovider.c:
19618 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19619 provider, include it from gstnet.h, and add it to the build.
19621 * gst/net/gstnettimepacket.h:
19622 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19623 sending and receiving.
19625 2005-11-16 Wim Taymans <wim@fluendo.com>
19627 * check/Makefile.am:
19628 Enable valgrind check.
19630 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19631 (gst_fake_src_alloc_buffer):
19634 2005-11-16 Wim Taymans <wim@fluendo.com>
19636 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19637 Call parent finalize too.
19639 2005-11-16 Wim Taymans <wim@fluendo.com>
19641 * check/Makefile.am:
19642 Enable valgrind check that should work fine now.
19644 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19645 * gst/gstqueue.c: (gst_queue_init):
19646 Fix memleaks in pad allocation.
19648 2005-11-16 Andy Wingo <wingo@pobox.com>
19650 * gst/net/Makefile.am:
19651 * gst/net/gstnet.h: New part of core to hold network elements and
19652 objects. Put in core because it exposes API that applications want
19653 to use. The library is named libgstnet-tempname right now because
19654 of the existing libgstnet in gst-plugins-base. Solution is
19655 probably to rename the one in plugins-base; will file a bug for
19658 * gst/net/gstnettimeprovider.c:
19659 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19660 get_time call over the network.
19663 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19665 * check/Makefile.am:
19666 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19667 get additions shortly.
19669 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19671 * gst/gstpad.c: (gst_pad_new_from_static_template):
19673 add gst_pad_new_from_static_template functions
19674 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19675 (gst_check_setup_sink_pad):
19676 * gst/elements/gsttee.c: (gst_tee_init):
19679 2005-11-16 Wim Taymans <wim@fluendo.com>
19681 * gst/gstpad.c: (gst_pad_pause_task):
19682 Removed warning, it's not really an error either.
19684 2005-11-16 Wim Taymans <wim@fluendo.com>
19686 * gst/base/gstbasetransform.c:
19687 (gst_base_transform_prepare_output_buf),
19688 (gst_base_transform_event):
19689 Check if the caps are NULL, this can happen if the element
19690 is shutting down and the pad caps are set to NULL.
19692 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19694 * gst/elements/gsttee.c: (gst_tee_init):
19695 fix pad template leak in tee
19697 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19699 * gst/glib-compat.c: (g_value_dup_gst_object):
19700 * gst/glib-compat.h:
19701 * gst/gstpad.c: (gst_pad_set_property):
19702 use gst_object_ref when setting the pad template; this will
19703 trigger the pad template leaks on GLib 2.6 and the slaves
19705 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19707 * gst/glib-compat.c: (gst_flags_get_first_value):
19708 * gst/glib-compat.h:
19709 * gst/gstregistryxml.c:
19710 remove functions copied from GLib 2.6
19712 2005-11-16 Michael Smith <msmith@fluendo.com>
19715 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19716 do, but only breaks with newer valgrind versions. We're not a
19717 valgrind tool, we have no link-time dependencies on libcoregrind.
19719 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19721 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19723 * gst/gstmessage.h:
19726 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19728 * gst/base/gstbasesrc.c: (gst_base_src_init):
19729 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19730 * gst/gstqueue.c: (gst_queue_init):
19731 * gst/gstregistryxml.c: (load_feature):
19732 Revert all these unrefs, they don't even pass make check !
19734 2005-11-15 Johan Dahlin <johan@gnome.org>
19736 * gst/base/gstbasesrc.c: (gst_base_src_init):
19737 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19738 * gst/gstqueue.c: (gst_queue_init):
19739 Free pad templates, fixes a couple of leaks.
19741 2005-11-15 Daniel Fischer <dan at f3c dot com>
19743 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19745 * gst/gstpad.c: (gst_pad_get_property):
19746 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19747 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19750 2005-11-15 Wim Taymans <wim@fluendo.com>
19755 2005-11-15 Andy Wingo <wingo@pobox.com>
19757 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19759 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19760 using GST_CLOCK_TIME_NONE to disable base time management.
19761 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19762 time if it was NONE before.
19763 (gst_pipeline_change_state): Only munge the base time if
19764 stream_time != GST_CLOCK_TIME_NONE.
19766 * check/gst/gstpipeline.c (test_base_time): Punt around the
19767 problem of the probe not being called, because that's not the
19768 issue I'm looking at. Add a check that setting stream_time to NONE
19769 disables base time management.
19771 2005-11-15 Wim Taymans <wim@fluendo.com>
19773 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19774 segment_stop == -1 at startup.
19776 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19777 (gst_base_transform_change_state):
19778 Init segment values at start.
19780 2005-11-15 Wim Taymans <wim@fluendo.com>
19782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19783 0 segment values are 0 in any format.
19785 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19786 * gst/base/gstbasetransform.h:
19787 Parse newsegment correctly in basetransform
19789 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19790 Sync to clock using updated segment values.
19792 2005-11-15 Andy Wingo <wingo@pobox.com>
19794 * check/gst/gstpipeline.c (test_base_time): Add check that the
19795 base time and stream time are reset correctly.
19797 2005-11-15 Wim Taymans <wim@fluendo.com>
19799 * docs/design/part-TODO.txt:
19800 Some more TODO items.
19802 2005-11-15 Andy Wingo <wingo@pobox.com>
19804 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19805 error if the user selected "no clock" as the clocking method.
19807 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19808 timestamps with live capture.
19810 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19811 is 0 but we are a live source, timestamp the buffers using the
19814 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19816 * docs/gst/gstreamer-sections.txt:
19818 * gst/gstghostpad.c:
19823 2005-11-14 Wim Taymans <wim@fluendo.com>
19826 add suppressions from Wim's Debian machine
19828 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19831 add suppressions from Andy's AMD64 Ubuntu machine
19833 2005-11-14 Andy Wingo <wingo@pobox.com>
19835 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19836 STATE_LOCK not necessary. Fixes #311489.
19838 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19841 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19842 this function is not implemented.
19844 2005-11-14 Julien MOUTTE <julien@moutte.net>
19846 * gst/base/gstbasetransform.c:
19847 (gst_base_transform_prepare_output_buf):
19848 Ref the source pad caps while we need them.
19851 2005-11-11 Wim Taymans <wim@fluendo.com>
19853 * docs/gst/gstreamer-sections.txt:
19854 Added some docs for GstCollectData.
19856 * gst/base/gstadapter.c:
19857 Some small code example fix.
19859 * gst/base/gstcollectpads.c:
19860 * gst/base/gstcollectpads.h:
19861 Document some more.
19863 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19865 * configure.ac: back to HEAD
19867 === release 0.9.5 ===
19869 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19872 releasing 0.9.5, "Bike Lunch Day"
19874 2005-11-11 Wim Taymans <wim@fluendo.com>
19876 * gst/gstbuffer.c: (_gst_buffer_copy):
19879 * gst/gstcaps.c: (gst_caps_is_equal):
19881 Make _is_equal fast in the trivial cases.
19883 * gst/gstminiobject.c:
19884 * gst/gstminiobject.h:
19885 More docs. Spifify .h file.
19890 2005-11-11 Wim Taymans <wim@fluendo.com>
19892 * gst/base/gstbasetransform.c:
19893 (gst_base_transform_prepare_output_buf),
19894 (gst_base_transform_handle_buffer):
19896 If we're processing a buffer and need to allocate an output
19897 buffer, we cannot accept a format change. If we did get a
19898 format change, we have to alloc a buffer ourselves of the
19901 2005-11-11 Wim Taymans <wim@fluendo.com>
19903 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19904 While checking the flag for reentrancy in the gstcaps function
19905 is nice to detect recursive invocations, it also makes it
19906 impossible to call getcaps from multiple threads, which must be
19907 possible. So, checking for recursive calls has to go.
19909 2005-11-11 Michael Smith <msmith@fluendo.com>
19911 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19912 Don't sync on buffers that fall partially outside our current
19913 segment. Prevents an assertion failure/abort playing some files.
19915 2005-11-10 Andy Wingo <wingo@pobox.com>
19917 * check/gst/gstbin.c (test_message_state_changed_children): Style
19920 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19921 gst_bus_poll with the signal watch. Ensures that poll and a signal
19922 watch see the same messages.
19924 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19925 a poll and a watch at the same time get the same messages.
19927 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19929 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19930 * gst/gstcaps.c: (gst_caps_intersect):
19931 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19932 and it's not needed.
19934 2005-11-10 Wim Taymans <wim@fluendo.com>
19936 * docs/design/part-TODO.txt:
19939 2005-11-10 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19942 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19943 (gst_base_src_do_sync), (gst_base_src_get_range):
19944 Implement clock sync in base class.
19946 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19948 patch by: Tim-Philipp Müller <tim at centricular dot net>
19950 * gst/gststructure.c: (gst_structure_parse_field),
19951 (gst_structure_from_string):
19952 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19953 so that gst_parse_launch() can deal with spaces in filtered link
19954 caps (fixes #164479)
19955 * check/gst/capslist.h:
19956 * check/gst/gststructure.c: (GST_START_TEST):
19957 add unit tests for this change
19959 2005-11-10 Wim Taymans <wim@fluendo.com>
19961 * docs/gst/gstreamer-sections.txt:
19962 * gst/gstelement.c:
19963 * gst/gstelement.h:
19964 Fix docs, move some STATE macros to private.
19966 2005-11-10 Wim Taymans <wim@fluendo.com>
19968 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19969 Added check for bug #317341
19973 Some more spiffifying.
19975 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19976 Call peer linkfunction if we are a source pad. Totally fixes
19980 Update docs, source pads should call the peer linkfunction
19981 so they can atomically perform the pad link.
19983 2005-11-09 Wim Taymans <wim@fluendo.com>
19987 Uber-spiffy-spiffify some more.
19989 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19991 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19992 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19993 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19994 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19995 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19996 * gst/gstpad.c: (gst_pad_init):
19997 Use GST_DEBUG_FUNCPTR() more extensively.
19999 2005-11-09 Wim Taymans <wim@fluendo.com>
20001 * gst/gstobject.c: (gst_object_class_init):
20003 Documentation fixes.
20005 2005-11-09 Edward Hervey <edward@fluendo.com>
20007 * gst/gsttypefindfactory.c:
20010 2005-11-09 Edward Hervey <edward@fluendo.com>
20012 * gst/base/gsttypefindhelper.c:
20013 * gst/gsttypefind.c:
20014 * gst/gsttypefind.h:
20017 2005-11-09 Wim Taymans <wim@fluendo.com>
20019 * gst/gstiterator.c:
20026 2005-11-09 Wim Taymans <wim@fluendo.com>
20032 2005-11-09 Wim Taymans <wim@fluendo.com>
20034 * docs/gst/gstreamer-sections.txt:
20035 Moved the message async delivery private lock and cond
20036 to the private section.
20038 * gst/gstmessage.c:
20039 * gst/gstmessage.h:
20042 2005-11-09 Edward Hervey <edward@fluendo.com>
20044 * docs/gst/gstreamer-sections.txt:
20047 Document GstURIHandler
20049 2005-11-09 Wim Taymans <wim@fluendo.com>
20051 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20052 (gst_iterator_find_custom):
20053 * gst/gstiterator.h:
20056 2005-11-09 Wim Taymans <wim@fluendo.com>
20059 Document another field.
20061 * gst/gststructure.c:
20062 * gst/gststructure.h:
20065 2005-11-09 Wim Taymans <wim@fluendo.com>
20068 Documented structs.
20070 2005-11-09 Wim Taymans <wim@fluendo.com>
20072 * docs/gst/gstreamer-sections.txt:
20073 Added some new macros.
20080 2005-11-09 Wim Taymans <wim@fluendo.com>
20082 * docs/design/part-TODO.txt:
20083 Some more items for the TODO
20089 2005-11-09 Andy Wingo <wingo@pobox.com>
20091 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20092 to work on something else now tho...
20094 * gst/base/gstadapter.c: More adapter docs.
20096 * gst/elements/gstfilesink.c (gst_file_sink_start)
20097 (gst_file_sink_stop): New functions, replace the state change
20099 (gst_file_sink_class_init): Hook up the start and stop functions.
20100 (gst_file_sink_base_init): Don't set the state change handler any
20101 more. It was a bit ugly too, being set from here...
20102 (gst_file_sink_get_property, gst_file_sink_set_property):
20104 (gst_file_sink_set_location): More robust check that doesn't call
20105 GST_STATE. Ugggggg.
20107 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
20109 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20110 Hold STREAM_LOCK while pushing newsegment or tag events as well.
20112 2005-11-08 Wim Taymans <wim@fluendo.com>
20114 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20115 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20116 (gst_base_sink_chain), (gst_base_sink_change_state):
20117 * gst/base/gstbasesink.h:
20118 * gst/base/gstbasesrc.h:
20119 * gst/gstelement.h:
20121 Avoid excessive typechecking in macros.
20123 * gst/gstminiobject.c: (gst_mini_object_get_type),
20124 (gst_mini_object_init), (gst_mini_object_new),
20125 (gst_mini_object_free):
20126 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20127 (gst_object_finalize):
20128 Remove cruft code, optimize alloc_trace.
20130 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
20132 * docs/faq/gst-uninstalled:
20133 fix up PS1 for systems that try to reset it
20135 2005-11-07 Wim Taymans <wim@fluendo.com>
20137 * gst/base/gstbasesrc.c: (gst_base_src_init),
20138 (gst_base_src_get_range):
20139 Set the segment_end to -1 initially. Fixed typefind.
20141 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
20143 * gst/base/gstadapter.c:
20144 Debug category should be 'adapter', not 'GstAdapter'.
20146 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20147 (gst_collectpads_class_init), (gst_collectpads_init),
20148 (gst_collectpads_peek), (gst_collectpads_pop),
20149 (gst_collectpads_event), (gst_collectpads_chain):
20150 Add debug category and some debugging output. Use boilerplate
20151 macros. Remove some extraneous words from docs.
20153 2005-11-05 Andy Wingo <wingo@pobox.com>
20155 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20158 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20160 * docs/gst/gstreamer-sections.txt:
20163 * gst/gstminiobject.h:
20168 2005-11-04 Wim Taymans <wim@fluendo.com>
20170 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20171 Small update to stop at the configured segment_end
20174 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20176 * gst/gstregistry.c:
20177 * gst/gstregistry.h:
20180 2005-11-04 Edward Hervey <edward@fluendo.com>
20182 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20183 Check if we are doing a segment seek and have arrived at the
20184 end of that segment.
20186 2005-11-04 Wim Taymans <wim@fluendo.com>
20188 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20189 Don't leak a mutex unlock in case of an error.
20194 2005-11-04 Wim Taymans <wim@fluendo.com>
20196 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20198 Get the context to wake up only once.
20200 2005-11-03 Wim Taymans <wim@fluendo.com>
20202 * check/states/sinks.c: (GST_START_TEST):
20203 Uncomment fixed check.
20205 * docs/design/part-TODO.txt:
20208 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20209 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20210 (gst_base_sink_get_position):
20211 If we are going to PLAYING, post the right pending state
20212 when we post the intermediate paused message.
20214 * gst/gstelement.c: (gst_element_continue_state),
20215 (gst_element_set_state_func), (gst_element_change_state):
20216 Don't post state changes that were between the same state
20217 and were not ASYNC.
20219 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20221 * docs/gst/gstreamer-sections.txt:
20224 * gst/gstminiobject.h:
20227 more docs and doc style fixes
20229 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20231 * docs/gst/gstreamer-sections.txt:
20232 * gst/gstelement.c:
20233 * gst/gstminiobject.c:
20236 2005-11-03 Andy Wingo <wingo@pobox.com>
20238 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20239 state-changed messages actually have the right order and the right
20242 2005-11-03 Wim Taymans <wim@fluendo.com>
20244 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20245 Added some more checks. Specifically the case where NO_PREROLL
20246 elements are in the pipeline.
20248 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20249 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20250 (gst_base_sink_get_position):
20251 Post READY->PAUSED state change messages too.
20252 Fix bug where VOID was posted as pending state...
20254 * gst/gstbin.c: (gst_bin_recalc_state):
20255 use _element_continue_state() to continue the state change.
20257 * gst/gstelement.c: (gst_element_continue_state),
20258 (gst_element_commit_state), (gst_element_set_state_func),
20259 (gst_element_change_state), (gst_element_change_state_func):
20260 Lots of state change cleanups, assign the STATE_RETURN in
20261 a new continue_state() function that also propagates the
20262 last return value from a state change to the app.
20263 Update some debug statements with proper category.
20265 2005-11-03 Wim Taymans <wim@fluendo.com>
20267 * docs/design/part-events.txt:
20268 * docs/design/part-gstpipeline.txt:
20269 * docs/design/part-messages.txt:
20270 * docs/design/part-overview.txt:
20271 * docs/design/part-seeking.txt:
20272 * docs/design/part-states.txt:
20273 * docs/design/part-trickmodes.txt:
20274 * docs/manual/advanced-position.xml:
20275 Small docs updates.
20278 People think !! is ugly, this looks better.
20280 * gst/gstpad.c: (gst_pad_set_blocked_async):
20281 Remove !! since it's fixed elsewhere now.
20283 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20285 * gst/gstminiobject.h:
20287 Add !! to _FLAG_IS_SET macros to make the result boolean.
20289 2005-11-03 Edward Hervey <edward@fluendo.com>
20291 * gst/gstpad.c: (gst_pad_set_blocked_async):
20292 comparing a flag and a gboolean rarely returns coherent results...
20293 Added two characters (!!) to make that work correctly.
20295 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20297 * gst/gstbus.c: (gst_bus_class_init):
20300 * gst/gstqueue.c: (gst_queue_loop):
20301 Don't assume a miniobject that isn't a buffer is an
20302 event (it could be that there is a refcounting
20303 problem somewhere and the pointer is stale and
20304 refers to an already destroyed miniobject).
20306 2005-11-03 Julien MOUTTE <julien@moutte.net>
20308 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20310 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20312 * docs/manual/advanced-position.xml:
20313 Update seek example and explanations to current 0.9 API.
20315 * gst/elements/gsttypefindelement.c:
20316 (gst_type_find_element_activate):
20317 Remove FIXME comment now that the found caps
20320 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20322 * gst/gstregistryxml.c: (load_feature):
20323 Add another GST_STR_NULL instance
20325 2005-11-02 Edward Hervey <edward@fluendo.com>
20327 * gst/gstpad.c: (handle_pad_block):
20328 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20330 2005-11-02 Wim Taymans <wim@fluendo.com>
20335 * gst/gstelement.c: (gst_element_commit_state):
20336 Remove unused value.
20338 * gst/gstiterator.c:
20339 Mention that the returned element is reffed in the docs.
20341 2005-11-02 Wim Taymans <wim@fluendo.com>
20343 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20344 (gst_pad_push), (gst_pad_push_event):
20345 Unlock blocked pads when they are flushed.
20347 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20350 * docs/gst/gstreamer-sections.txt:
20353 * gst/gstregistry.c: (gst_registry_scan_path_level):
20354 fix for a nasty little missed situation where an installed plug-in
20355 which was in the cache did not get overridden by an uninstalled one
20356 which was earlier in the plugin path because the newly created plugin
20357 for the uninstalled one (not in the registry) didn't get its
20358 ->registered set to TRUE
20360 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20362 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20363 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20364 (gst_collectpads_is_active), (gst_collectpads_collect),
20365 (gst_collectpads_collect_range), (gst_collectpads_start),
20366 (gst_collectpads_stop), (gst_collectpads_peek),
20367 (gst_collectpads_pop), (gst_collectpads_available),
20368 (gst_collectpads_read), (gst_collectpads_flush):
20369 Guard public API with assertions.
20372 Fix docs for gst_pad_set_link_function().
20374 2005-11-02 Johan Dahlin <johan@gnome.org>
20376 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20377 Unref found_caps after we used it.
20379 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20381 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20382 Don't try to ref NULL.
20384 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20386 * win32/common/config.h.in:
20387 provide a GST_FUNCTION that just gives a string for now
20389 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20391 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20392 (gst_object_flags_get_type), (register_gst_bin_flags),
20393 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20394 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20395 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20396 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20397 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20398 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20399 (gst_clock_flags_get_type), (register_gst_state),
20400 (gst_state_get_type), (register_gst_state_change_return),
20401 (gst_state_change_return_get_type), (register_gst_state_change),
20402 (gst_state_change_get_type), (register_gst_element_flags),
20403 (gst_element_flags_get_type), (register_gst_core_error),
20404 (gst_core_error_get_type), (register_gst_library_error),
20405 (gst_library_error_get_type), (register_gst_resource_error),
20406 (gst_resource_error_get_type), (register_gst_stream_error),
20407 (gst_stream_error_get_type), (register_gst_event_type),
20408 (gst_event_type_get_type), (register_gst_seek_type),
20409 (gst_seek_type_get_type), (register_gst_seek_flags),
20410 (gst_seek_flags_get_type), (register_gst_format),
20411 (gst_format_get_type), (register_gst_index_certainty),
20412 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20413 (gst_index_entry_type_get_type),
20414 (register_gst_index_lookup_method),
20415 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20416 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20417 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20418 (gst_index_flags_get_type), (register_gst_debug_level),
20419 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20420 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20421 (gst_iterator_result_get_type), (register_gst_iterator_item),
20422 (gst_iterator_item_get_type), (register_gst_message_type),
20423 (gst_message_type_get_type), (register_gst_mini_object_flags),
20424 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20425 (gst_pad_link_return_get_type), (register_gst_flow_return),
20426 (gst_flow_return_get_type), (register_gst_activate_mode),
20427 (gst_activate_mode_get_type), (register_gst_pad_direction),
20428 (gst_pad_direction_get_type), (register_gst_pad_flags),
20429 (gst_pad_flags_get_type), (register_gst_pad_presence),
20430 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20431 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20432 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20433 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20434 (gst_plugin_flags_get_type), (register_gst_rank),
20435 (gst_rank_get_type), (register_gst_query_type),
20436 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20437 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20438 (gst_tag_flag_get_type), (register_gst_task_state),
20439 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20440 (gst_alloc_trace_flags_get_type),
20441 (register_gst_type_find_probability),
20442 (gst_type_find_probability_get_type), (register_gst_uri_type),
20443 (gst_uri_type_get_type), (register_gst_parse_error),
20444 (gst_parse_error_get_type):
20445 * win32/common/gstversion.h:
20446 update win32 copies
20448 2005-11-01 Luca Ognibene <luogni@tin.it>
20451 fix docs. popt is dead, long live GOption.
20453 2005-10-31 Wim Taymans <wim@fluendo.com>
20458 2005-10-31 Andy Wingo <wingo@pobox.com>
20462 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20464 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20465 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20466 the possibility of deadlocks here if code calling notify() or
20467 set() has a lock that can be taken in another notify handler (ABBA
20468 with class lock and e.g. python GIL state lock).
20470 2005-10-28 Julien MOUTTE <julien@moutte.net>
20472 * gst/gstbus.c: Doc updates.
20474 2005-10-28 Wim Taymans <wim@fluendo.com>
20476 * docs/design/part-TODO.txt:
20477 * gst/gstiterator.c:
20478 * gst/gstsystemclock.c:
20479 * gst/gstsystemclock.h:
20482 2005-10-28 Edward Hervey <edward@fluendo.com>
20484 * docs/gst/gstreamer-docs.sgml:
20485 * docs/gst/gstreamer-sections.txt:
20486 the GstURIType documentation page is private, it only defines GstURIType
20487 which should be defined in the GstURIHandler page
20489 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20491 * gst/gstbin.c: (gst_bin_class_init):
20494 Documentation updates.
20496 2005-10-28 Wim Taymans <wim@fluendo.com>
20498 * docs/gst/gstreamer-sections.txt:
20501 Documented the clocks.
20503 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20505 * docs/gst/gstreamer-sections.txt:
20506 move some macros to private sections
20507 * gst/gstminiobject.c:
20508 * gst/gstminiobject.h:
20509 add descriptions provided by ds and some more
20511 mark macro as to be removed
20513 2005-10-28 Wim Taymans <wim@fluendo.com>
20515 * docs/design/part-TODO.txt:
20516 Add an item to TODO.
20518 * gst/gstiterator.c: (gst_iterator_fold),
20519 (gst_iterator_find_custom):
20520 * gst/gstiterator.h:
20523 2005-10-28 Wim Taymans <wim@fluendo.com>
20525 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20526 (gst_base_transform_init):
20529 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20530 An EOS event marks the queue as completely filled.
20532 2005-10-27 Wim Taymans <wim@fluendo.com>
20534 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20535 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20536 Some more debugging.
20538 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20539 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20540 (gst_base_transform_event), (gst_base_transform_getrange),
20541 (gst_base_transform_chain):
20542 * gst/base/gstbasetransform.h:
20544 Protect transform and concurrent buffer alloc with a new lock.
20545 Try not to break ABI/API.
20547 2005-10-27 Wim Taymans <wim@fluendo.com>
20549 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20550 (gst_base_src_init), (gst_base_src_query),
20551 (gst_base_src_default_newsegment),
20552 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20553 (gst_base_src_send_event), (gst_base_src_event_handler),
20554 (gst_base_src_pad_get_range), (gst_base_src_loop),
20555 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20556 (gst_base_src_start), (gst_base_src_deactivate),
20557 (gst_base_src_activate_push), (gst_base_src_change_state):
20558 Move some stuff around and cleanup things.
20560 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20562 * gst/base/gstbasesrc.c: (gst_base_src_query):
20563 Add missing break statements.
20565 2005-10-27 Wim Taymans <wim@fluendo.com>
20567 * check/gst/gstbin.c: (GST_START_TEST):
20568 An extra refcount is taken in basesrc.
20570 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20571 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20572 (gst_base_src_loop):
20573 Small cleanups, check for flushing after being unlocked from the
20574 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20575 Don't send out EOS when going to READY.
20577 2005-10-27 Wim Taymans <wim@fluendo.com>
20579 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20580 (gst_base_sink_get_position):
20583 * gst/gstbin.c: (message_check), (bin_replace_message),
20584 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20585 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20586 (bin_query_duration_init), (bin_query_duration_fold),
20587 (bin_query_duration_done), (bin_query_generic_fold),
20589 * tools/gst-launch.c: (main):
20592 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20594 * examples/controller/audio-example.c: (main):
20595 * examples/queue/queue.c: (event_loop):
20596 * gst/base/gstbasetransform.h:
20597 * gst/gstelement.c: (gst_element_send_event):
20599 * gst/gstpad.c: (gst_pad_send_event):
20602 changing log priority in error situations
20604 2005-10-25 Wim Taymans <wim@fluendo.com>
20606 * gst/gstbin.c: (message_check), (bin_replace_message),
20607 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20608 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20609 (bin_query_duration_init), (bin_query_duration_fold),
20610 (bin_query_duration_done), (bin_query_generic_fold),
20612 Some doc and debug updates.
20613 Cache previously requested query DURATION for speed. invalidate
20614 cached duration if element posts a DURATION message.
20616 2005-10-25 Wim Taymans <wim@fluendo.com>
20618 * docs/design/part-TODO.txt:
20621 * gst/gstbin.c: (message_check), (bin_replace_message),
20622 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20623 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20624 (bin_query_duration_init), (bin_query_duration_fold),
20625 (bin_query_duration_done), (bin_query_generic_fold),
20627 Handle SEGMENT_START/DONE messages correctly.
20628 More evolved query algorithm that handles duration queries
20631 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20632 (gst_element_get_state_func), (gst_element_abort_state),
20633 (gst_element_commit_state), (gst_element_lost_state):
20634 Some more debugging.
20636 * gst/gstmessage.h:
20639 2005-10-25 Wim Taymans <wim@fluendo.com>
20641 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20642 Don't use invalid stream_time.
20644 * gst/gstevent.c: (gst_event_new_newsegment):
20645 stream_time in newsegment cannot be undefined.
20647 2005-10-24 Wim Taymans <wim@fluendo.com>
20652 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20654 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20656 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20658 * docs/libs/tmpl/gstdparam.sgml:
20659 * docs/libs/tmpl/gstdplinint.sgml:
20660 * docs/libs/tmpl/gstdpman.sgml:
20661 * docs/libs/tmpl/gstdpsmooth.sgml:
20662 * docs/libs/tmpl/gstunitconvert.sgml:
20665 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20670 === release 0.9.4 ===
20672 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20675 releasing 0.9.4, "Tyrannosaurus Rex"
20677 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20679 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20680 (gst_file_sink_get_current_offset):
20681 Use fseeko() and ftello() if available. When falling back on
20682 lseek() to get the current offset, fflush() first to make sure
20683 everything is up-to-date and we get the right offset.
20685 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20688 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20689 * gst/gsterror.c: (_gst_stream_errors_init):
20691 * gst/gstqueue.c: (gst_queue_loop):
20693 remove prematurely added error category and clean up the instances
20695 2005-10-21 Wim Taymans <wim@fluendo.com>
20697 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20698 (gst_base_sink_get_position), (gst_base_sink_query),
20699 (gst_base_sink_change_state):
20700 Simply set the right flag when going to playing, that's all
20701 we need to do instead of calling a function inside the object
20702 lock (that could take the lock as well and deadlock)
20704 2005-10-21 Wim Taymans <wim@fluendo.com>
20706 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20707 (gst_base_src_loop):
20708 Don't warn, the peer element knows what to do best when
20709 the seek failed, it might try something else.
20711 2005-10-21 Wim Taymans <wim@fluendo.com>
20713 * gst/base/gstbasesrc.c: (gst_base_src_init),
20714 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20717 2005-10-21 Wim Taymans <wim@fluendo.com>
20719 * docs/design/part-segments.txt:
20722 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20723 Correctly set caps, even on the subbufer.
20725 2005-10-21 Wim Taymans <wim@fluendo.com>
20727 * docs/gst/gstreamer-docs.sgml:
20728 * docs/gst/gstreamer-sections.txt:
20729 * gst/gstelement.h:
20732 * gst/gstmessage.h:
20735 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20739 And 2% more doc coverage.
20741 2005-10-21 Andy Wingo <wingo@pobox.com>
20743 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20744 position reporting.
20746 2005-10-20 Wim Taymans <wim@fluendo.com>
20748 * gst/gsterror.c: (gst_error_get_message):
20751 * gst/gststructure.c:
20756 2005-10-20 Wim Taymans <wim@fluendo.com>
20761 Another 1% more coverage.
20763 2005-10-20 Wim Taymans <wim@fluendo.com>
20765 * docs/gst/gstreamer-sections.txt:
20766 * gst/gstelement.c: (gst_element_get_state_func),
20767 (gst_element_abort_state), (gst_element_commit_state),
20768 (gst_element_lost_state):
20770 * gst/gstquery.c: (gst_query_set_position),
20771 (gst_query_parse_position), (gst_query_set_duration),
20772 (gst_query_parse_duration), (gst_query_new_convert):
20774 Yay! 1% more docs coverage.
20776 2005-10-20 Wim Taymans <wim@fluendo.com>
20779 * gst/gstquery.c: (gst_query_set_position),
20780 (gst_query_parse_position), (gst_query_set_duration),
20781 (gst_query_parse_duration), (gst_query_new_convert):
20783 * gst/gstutils.c: (gst_element_query_convert):
20785 Docs and consistency fixes.
20787 2005-10-20 Wim Taymans <wim@fluendo.com>
20793 2005-10-20 Wim Taymans <wim@fluendo.com>
20795 * gst/gstbin.c: (message_check), (bin_replace_message),
20796 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20797 (update_degree), (gst_bin_sort_iterator_next),
20798 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20799 Reworked the message handling a bit, cache the messages instead of
20800 only the senders. alows us to do more in the future.
20802 2005-10-20 Wim Taymans <wim@fluendo.com>
20804 * docs/design/part-TODO.txt:
20807 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20808 (gst_base_sink_query):
20809 Don't use clock time to report position when in EOS.
20811 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20813 * tools/gst-inspect.c: (print_interfaces),
20814 (print_element_properties_info), (print_element_info):
20815 Fix interface output with gst-inspect -a; don't print
20816 newlines after double/float properties.
20818 2005-10-20 Wim Taymans <wim@fluendo.com>
20820 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20821 (gst_base_sink_query):
20822 Speed up current position calculation.
20824 * gst/base/gstbasesrc.c: (gst_base_src_query),
20825 (gst_base_src_default_newsegment):
20826 Correctly set stream position in newsegment.
20828 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20829 (update_degree), (gst_bin_sort_iterator_next),
20830 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20831 * gst/gstmessage.c: (gst_message_new_custom):
20832 Clean up debugging info
20834 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20835 (gst_queue_loop), (gst_queue_handle_src_query):
20838 2005-10-19 Wim Taymans <wim@fluendo.com>
20840 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20841 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20842 Fix query handling again.
20844 2005-10-19 Wim Taymans <wim@fluendo.com>
20846 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20847 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20848 * gst/base/gstbasesrc.c: (gst_base_src_query):
20849 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20850 * gst/elements/gsttypefindelement.c:
20851 (gst_type_find_handle_src_query), (find_element_get_length),
20852 (gst_type_find_element_activate):
20855 * gst/gstquery.c: (gst_query_new_position),
20856 (gst_query_set_position), (gst_query_parse_position),
20857 (gst_query_new_duration), (gst_query_set_duration),
20858 (gst_query_parse_duration), (gst_query_set_segment),
20859 (gst_query_parse_segment):
20861 Bundling query position/duration is not a good idea since duration
20862 does not change much and we don't want to recalculate it for every
20863 position query, so they are separated again..
20864 Base value in segment query is not needed.
20866 * gst/gstqueue.c: (gst_queue_handle_src_query):
20867 * gst/gstutils.c: (gst_element_query_position),
20868 (gst_element_query_duration), (gst_pad_query_position),
20869 (gst_pad_query_duration):
20871 Updates for query API change.
20872 Added some docs here and there.
20874 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20876 * check/gst/gstbin.c: (GST_START_TEST):
20877 * check/gst/gstghostpad.c: (GST_START_TEST):
20878 * check/pipelines/cleanup.c: (GST_START_TEST):
20879 wait on thread to die so we can check refcount correctly
20881 2005-10-18 Wim Taymans <wim@fluendo.com>
20883 * check/pipelines/stress.c: (GST_START_TEST):
20884 Make check a little more time consuming.
20886 2005-10-18 Wim Taymans <wim@fluendo.com>
20888 * check/Makefile.am:
20889 * check/pipelines/stress.c: (GST_START_TEST),
20890 (simple_launch_lines_suite), (main):
20891 Small state change torture test.
20893 * docs/design/part-states.txt:
20894 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20895 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20896 (gst_base_sink_change_state):
20897 Never take state lock from streaming thread, clean up ugly
20898 hacks. Unfortunatly core does not yet support nice ways to
20899 async commit state.
20901 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20903 Start state recalc if a STATE_DIRTY message is posted, but only
20904 on the toplevel bin.
20906 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20907 (gst_element_get_state_func), (gst_element_abort_state),
20908 (gst_element_commit_state), (gst_element_lost_state),
20909 (gst_element_set_state_func), (gst_element_change_state):
20910 * gst/gstelement.h:
20911 State variables are now protected with the LOCK, the state
20912 lock is only used to serialize _set_state().
20914 2005-10-18 Wim Taymans <wim@fluendo.com>
20916 * check/gst/gstbin.c: (GST_START_TEST):
20917 * check/gst/gstmessage.c: (GST_START_TEST):
20918 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20921 * gst/gstelement.c: (gst_element_abort_state),
20922 (gst_element_commit_state), (gst_element_lost_state):
20923 * gst/gstmessage.c: (gst_message_new_state_changed),
20924 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20925 (gst_message_new_segment_done), (gst_message_new_duration),
20926 (gst_message_parse_state_changed),
20927 (gst_message_parse_segment_start),
20928 (gst_message_parse_segment_done), (gst_message_parse_duration):
20929 * gst/gstmessage.h:
20930 * tools/gst-launch.c: (event_loop):
20931 Seriously, this is better than a previous commit as we only need
20932 to notify the fact that an element changed state in a streaming
20933 thread, marking the state of the parents dirty, hence the
20934 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20937 2005-10-18 Wim Taymans <wim@fluendo.com>
20939 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20940 (gst_bin_recalc_func):
20941 * gst/gstelement.c: (gst_element_set_clock),
20942 (gst_element_abort_state), (gst_element_lost_state):
20943 Cleanups, prepare for state change fixes.
20945 2005-10-18 Wim Taymans <wim@fluendo.com>
20948 * gst/gstelement.c: (gst_element_class_init),
20949 (gst_element_set_state), (gst_element_set_state_func):
20950 * gst/gstelement.h:
20951 Pending ABI changes.
20952 GThreadPool in GstBinClass to monitor async state changes.
20953 state_cookie in GstElement to detect concurrent gst/set state.
20954 set_state is now virtual too in case a very complicated element
20955 has to be constructed.
20957 2005-10-18 Wim Taymans <wim@fluendo.com>
20959 * check/gst/gstbin.c: (GST_START_TEST):
20960 * check/gst/gstmessage.c: (GST_START_TEST):
20961 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20962 * gst/gstbin.c: (bin_bus_handler):
20963 * gst/gstelement.c: (gst_element_commit_state),
20964 (gst_element_lost_state):
20965 * gst/gstmessage.c: (gst_message_new_state_changed),
20966 (gst_message_new_segment_start), (gst_message_new_segment_done),
20967 (gst_message_new_duration), (gst_message_parse_state_changed),
20968 (gst_message_parse_segment_start),
20969 (gst_message_parse_segment_done), (gst_message_parse_duration):
20970 * gst/gstmessage.h:
20971 * tools/gst-launch.c: (event_loop):
20972 Make messages future proof.
20973 state-change gets a flag if it was a message comming from the
20975 segment-start/stop can also be specified in other formats.
20976 A message to notify an app that a pipeline changed playback
20978 Also fix a GstMessage leak in -launch
20980 2005-10-18 Andy Wingo <wingo@pobox.com>
20982 * gst/gstelement.c (gst_element_dispose): More helpful message.
20984 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20986 reviewed by: <delete if not using a buddy>
20988 * common/gtk-doc.mak:
20990 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20992 * gst/gstregistry.c: (gst_registry_scan_path_level):
20993 unref a plug-in we get that was already initialized
20995 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20997 * docs/gst/gstreamer-sections.txt:
20998 * docs/libs/gstreamer-libs-sections.txt:
20999 * gst/gstelement.h:
21000 add new api entries
21001 hide internal macro
21003 2005-10-17 Andy Wingo <wingo@pobox.com>
21005 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21008 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21010 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21012 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21013 (gst_element_get_state_func): Better debug message.
21014 (gst_element_commit_state): s/INFO/DEBUG/.
21015 (gst_element_lost_state, gst_element_change_state):
21017 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21018 (gst_message_new_custom): s/INFO/LOG/.
21020 2005-10-17 Michael Smith <msmith@fluendo.com>
21022 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21023 Check if end time is valid using end time, not start time.
21025 2005-10-17 Stefan Kost <ensonic@users.sf.net>
21027 * check/gst-libs/controller.c: (GST_START_TEST),
21028 (gst_controller_suite):
21029 * libs/gst/controller/gstcontroller.c:
21030 (gst_controlled_property_set_interpolation_mode):
21031 * libs/gst/controller/gstcontroller.h:
21032 * libs/gst/controller/gstinterpolation.c:
21033 * testsuite/controller/.cvsignore:
21034 * testsuite/controller/Makefile.am:
21035 * testsuite/controller/interpolator.c:
21036 merge controller testsuites
21038 remove mem-chunk from docs
21040 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21042 * gst/gstmemchunk.c:
21043 * gst/gstmemchunk.h:
21044 * gst/gsttrashstack.c:
21045 * gst/gsttrashstack.h:
21046 out. get out. you're fired. to the Attic !
21048 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21050 * gst/gstcaps.c: (gst_caps_intersect):
21051 fix signedness issues in a (hopefully) correct way
21052 * gst/gstelement.c: (gst_element_pads_activate):
21054 * gst/gstobject.c: (gst_object_set_parent):
21057 2005-10-17 Julien MOUTTE <julien@moutte.net>
21059 * gst/gstvalue.h: Fix prototypes.
21061 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21063 * docs/gst/gstreamer-sections.txt:
21064 * gst/gst.c: (gst_version_string):
21066 * gst/gstversion.h.in:
21067 * win32/common/libgstreamer.def:
21068 add gst_version_string ()
21070 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21074 * gst/gst.c: (init_post):
21075 * win32/common/config.h.in:
21077 * gst/gstcaps.c: (gst_caps_intersect):
21078 use gint64, the range could be bigger than a guint
21080 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21083 document potential problem in 2038
21085 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21087 * gst/gstcaps.c: (gst_caps_intersect):
21088 Fix guint j diving under 0
21090 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21093 * win32/common/config.h:
21094 * win32/common/config.h.in:
21095 check for process.h, declares getpid() on Windows
21097 include process.h if we have it
21098 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21099 * gst/gstmemchunk.h:
21100 fix signedness issues
21101 * win32/common/libgstreamer.def:
21104 2005-10-16 Julien MOUTTE <julien@moutte.net>
21106 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21107 fix. Because of unsigned ints, caps intersection was going nuts and
21108 trying to access structures with G_MAXUINT index. That fixes
21109 videotestsrc ! ffmpegcolorspace ! fakesink
21110 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21113 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21116 use the gettext macro
21117 * gst/elements/gstelements.c:
21119 * gst/indexers/gstindexers.c:
21120 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21121 * win32/common/config.h:
21123 * win32/common/config.h.in:
21124 add the template to generate config.h
21125 * win32/common/gstenumtypes.c:
21126 * win32/common/gstversion.h:
21129 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21131 * gst/gst.c: (gst_version):
21132 * gst/gstversion.h.in:
21135 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21138 Oops, add missing closing bracket.
21140 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21143 use common m4's for argument checking
21145 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21147 * docs/gst/gstreamer-sections.txt:
21149 Add GST_EVENT_TYPE_NAME() macro.
21151 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21154 * gst/gstpluginfeature.c:
21156 privatize more symbols
21158 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21161 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21162 everything that uses GStreamer API should have the includes
21164 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21166 * docs/gst/gstreamer-sections.txt:
21167 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21169 give each value a _get_type, removes the DATA exports
21171 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21175 remove _gst_registry_auto_load, not used anymore
21176 * gst/gstbin.c: (gst_bin_get_type):
21178 * gst/gstelement.c: (gst_element_get_type):
21179 * gst/gstelement.h:
21180 * gst/gstobject.c: (gst_object_get_type):
21182 * gst/gstpad.c: (gst_pad_get_type):
21184 make _get_type functions similar, fixes data export from library
21186 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21189 correctly make conditionals
21190 * gst/elements/Makefile.am:
21191 * gst/elements/gstelements.c:
21192 fix typo causing fdsrc not to build
21194 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21196 * testsuite/Makefile.am:
21197 * testsuite/bytestream/.cvsignore:
21198 * testsuite/bytestream/Makefile.am:
21199 * testsuite/bytestream/filepadsink.c:
21200 * testsuite/bytestream/gstbstest.c:
21201 * testsuite/bytestream/test1.c:
21202 * testsuite/bytestream/testfile1:
21203 * testsuite/caps/normalisation.c:
21204 * testsuite/caps/random.c: (main):
21205 * testsuite/cleanup/.cvsignore:
21206 * testsuite/cleanup/Makefile.am:
21207 * testsuite/cleanup/cleanup1.c:
21208 * testsuite/cleanup/cleanup2.c:
21209 * testsuite/cleanup/cleanup3.c:
21210 * testsuite/cleanup/cleanup4.c:
21211 * testsuite/cleanup/cleanup5.c:
21212 * testsuite/controller/interpolator.c:
21213 * testsuite/debug/printf_extension.c: (main):
21214 * testsuite/elements/tee.c:
21215 * testsuite/negotiation/.cvsignore:
21216 * testsuite/negotiation/Makefile.am:
21217 * testsuite/negotiation/pad_link.c:
21218 * testsuite/pad/Makefile.am:
21219 * testsuite/pad/chainnopull.c:
21220 * testsuite/pad/getnopush.c:
21221 * testsuite/pad/link.c:
21222 * testsuite/refcounting/sched.c: (create_pipeline):
21223 * testsuite/registry/Makefile.am:
21224 * testsuite/registry/gst-print-formats.c:
21225 * testsuite/schedulers/.cvsignore:
21226 * testsuite/schedulers/142183-2.c:
21227 * testsuite/schedulers/142183.c:
21228 * testsuite/schedulers/143777-2.c:
21229 * testsuite/schedulers/143777.c:
21230 * testsuite/schedulers/147713.c:
21231 * testsuite/schedulers/147819.c:
21232 * testsuite/schedulers/147894-2.c:
21233 * testsuite/schedulers/147894.c:
21234 * testsuite/schedulers/Makefile.am:
21235 * testsuite/schedulers/group_link.c:
21236 * testsuite/schedulers/queue_link.c:
21237 * testsuite/schedulers/relink.c:
21238 * testsuite/schedulers/unlink.c:
21239 * testsuite/schedulers/unref.c:
21240 * testsuite/schedulers/useless_iteration.c:
21241 * testsuite/states/bin.c:
21242 clean out/remove some stuff from the testsuite directories
21244 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21247 check for some headers
21248 * gst/elements/Makefile.am:
21249 * gst/elements/gstelements.c:
21250 don't compile fdsrc without sys/socket.h
21251 * gst/indexers/Makefile.am:
21252 * gst/indexers/gstindexers.c: (plugin_init):
21253 don't compile fileindex without mmap
21255 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21262 * check/Makefile.am:
21263 * docs/gst/Makefile.am:
21264 * examples/helloworld/Makefile.am:
21266 * gst/base/Makefile.am:
21267 * gst/check/Makefile.am:
21268 * gst/elements/Makefile.am:
21269 * gst/indexers/Makefile.am:
21270 * gst/parse/Makefile.am:
21271 * libs/gst/controller/Makefile.am:
21272 * libs/gst/dataprotocol/Makefile.am:
21273 * examples/helloworld/helloworld.c: (event_loop):
21274 compile fixes, though it's not being compiled currently
21276 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21278 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21279 Add some simple tests for the new taglist date API.
21281 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21283 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21284 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21285 Beautify 'last-message' output: print 'none' for buffer timestamps
21286 and durations if none is set; improve alignment with next messages.
21288 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21290 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21291 * gst/gstpluginfeature.h:
21292 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21293 * gst/gstregistry.h:
21294 * docs/gst/gstreamer-sections.txt:
21295 Add new API to check plugin feature version requirements.
21297 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21298 Some basic tests for the above.
21300 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21302 * gst/gststructure.c: (gst_structure_to_string):
21303 guard against NULL printf - happens when for example
21304 a message structure with GstClock gets serialized
21306 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21308 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21309 Fix presumable copy'n'pasto.
21311 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21313 * gst/elements/gstfakesrc.h:
21314 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21315 * gst/elements/gsttypefindelement.c:
21316 fix some signedness
21317 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21318 I wonder if this could actually write +2GB files before
21320 2005-10-13 Andy Wingo <wingo@pobox.com>
21322 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21323 Fix Timmeke Waymans bug.
21324 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21325 string of the proper length to gst_caps_from_string. There's a
21326 potential for, before this fix, that this could cause someone
21327 connecting over the network to cause a segfault if the payload is
21328 not NUL-terminated.
21330 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21332 * docs/design/draft-push-pull.txt:
21333 * docs/design/part-overview.txt:
21334 * docs/random/TODO-pre-0.9:
21335 * docs/random/old/ChangeLog.gstreamer:
21336 * gst/base/gstpushsrc.c:
21340 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21342 * gst/glib-compat.c: (gst_flags_get_first_value):
21343 * gst/glib-compat.h:
21344 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21345 (gst_value_compare_double), (gst_value_serialize_flags):
21346 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21349 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21352 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21354 * tools/gst-launch.c: (event_loop):
21355 print out clock nicely
21357 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21359 * docs/gst/gstreamer-sections.txt:
21360 * gst/gsttaglist.h:
21361 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21362 (gst_tag_list_get_date_index):
21363 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21364 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21366 2005-10-13 Julien MOUTTE <julien@moutte.net>
21368 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21369 (gst_collectpads_chain):
21370 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21373 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21375 * docs/gst/gstreamer-sections.txt:
21378 * tools/gst-inspect.c: (main):
21379 * tools/gst-launch.c: (main):
21380 * tools/gst-run.c: (main):
21381 * tools/gst-xmlinspect.c: (main):
21382 fix GOption context leaks
21385 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21389 * win32/common/config.h:
21391 * win32/vs6/grammar.dsp:
21392 * win32/vs6/libgstelements.dsp:
21393 * win32/vs6/libgstreamer.dsp:
21396 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21399 * gst/base/gstbasesrc.c: (gst_base_src_query):
21400 fix more guint64<->gdouble conversions
21402 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21405 add win32-update target
21406 * win32/common/gstconfig.h:
21407 * win32/common/gstenumtypes.c:
21408 * win32/common/gstenumtypes.h:
21409 * win32/common/gstversion.h:
21410 add files that visual studio can't generate
21412 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21415 add a win32-update target
21418 2005-10-12 Wim Taymans <wim@fluendo.com>
21420 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21421 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21422 * gst/gstelement.c: (gst_element_commit_state),
21423 (gst_element_set_state):
21424 Protect flags with proper lock.
21425 unref provided cached clock in dispose.
21427 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21430 * gst/gstminiobject.h:
21432 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21433 removed unused flags from miniobject
21436 2005-10-12 Wim Taymans <wim@fluendo.com>
21438 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21439 (gst_file_sink_event), (gst_file_sink_render):
21440 Flush before seeking.
21442 2005-10-12 Andy Wingo <wingo@pobox.com>
21444 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21445 always been the case.
21447 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21449 * check/gst/gstbin.c: (GST_START_TEST):
21450 * docs/gst/gstreamer-sections.txt:
21451 * gst/base/gstbasesink.c: (gst_base_sink_init):
21452 * gst/base/gstbasesrc.c: (gst_base_src_init),
21453 (gst_base_src_get_range), (gst_base_src_check_get_range),
21454 (gst_base_src_start), (gst_base_src_stop):
21455 * gst/base/gstbasesrc.h:
21456 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21457 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21458 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21462 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21464 * gst/gstelement.c: (gst_element_is_locked_state),
21465 (gst_element_set_locked_state), (gst_element_commit_state),
21466 (gst_element_set_state):
21467 * gst/gstelement.h:
21468 * gst/gstindex.c: (gst_index_init):
21470 * gst/gstminiobject.h:
21471 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21472 (gst_object_set_parent):
21474 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21475 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21477 * gst/gstpadtemplate.h:
21478 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21479 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21480 * gst/gstpipeline.h:
21481 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21482 (gst_file_index_commit):
21483 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21484 * testsuite/pad/link.c: (gst_test_src_init),
21485 (gst_test_filter_init), (gst_test_sink_init):
21486 * testsuite/states/locked.c: (main):
21487 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21488 moved bitshift from macro to enum definition
21490 2005-10-12 Wim Taymans <wim@fluendo.com>
21492 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21493 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21494 (gst_file_sink_render):
21495 Some more debugging info.
21497 2005-10-12 Wim Taymans <wim@fluendo.com>
21499 * docs/design/part-states.txt:
21500 * tools/gst-launch.c: (main):
21502 Revert non-intentional change.
21504 2005-10-12 Wim Taymans <wim@fluendo.com>
21506 * check/gst/gstbin.c: (GST_START_TEST):
21507 * check/gst/gstelement.c: (GST_START_TEST):
21508 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21509 * check/gst/gstghostpad.c: (GST_START_TEST):
21510 * check/gst/gstpipeline.c: (GST_START_TEST):
21511 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21512 * check/states/sinks.c: (GST_START_TEST):
21513 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21514 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21515 (gst_bin_remove_func), (gst_bin_get_state_func),
21516 (gst_bin_recalc_state), (gst_bin_change_state_func),
21518 * gst/gstelement.c: (gst_element_get_state_func),
21519 (gst_element_get_state), (gst_element_abort_state),
21520 (gst_element_commit_state), (gst_element_set_state),
21521 (gst_element_change_state), (gst_element_change_state_func):
21522 * gst/gstelement.h:
21523 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21524 (gst_pipeline_provide_clock_func):
21525 * gst/gstutils.c: (gst_element_link_pads_filtered):
21526 * tools/gst-launch.c: (main):
21527 * tools/gst-typefind.c: (main):
21528 Use GstClockTime in _get_state() instead of GTimeVal.
21529 Remove old code in gstutils.c
21531 2005-10-12 Andy Wingo <wingo@pobox.com>
21533 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21536 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21537 there is no task. Shouldn't affect any code, as nothing in our
21538 plugins checks this return value.
21539 (gst_pad_stop_task): Also take the stream lock if the pad has no
21540 task. Docs updated.
21542 2005-10-12 Wim Taymans <wim@fluendo.com>
21544 * gst/gstpad.c: (pre_activate), (post_activate),
21545 (gst_pad_activate_pull), (gst_pad_activate_push):
21546 Cleanup activation code. Reset old state if
21549 2005-10-12 Wim Taymans <wim@fluendo.com>
21551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21552 (gst_base_sink_change_state):
21553 No need to prerol after receiving EOS.
21555 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21556 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21557 * gst/elements/gstidentity.c: (gst_identity_event):
21558 Print events more verbosely.
21560 2005-10-12 Wim Taymans <wim@fluendo.com>
21562 * check/Makefile.am:
21563 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21564 * check/states/sinks2.c:
21565 Moved sinks2 testcode in sinks check.
21567 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21568 (gst_bin_remove_func), (gst_bin_recalc_state),
21569 (gst_bin_change_state_func), (bin_bus_handler):
21570 Fix potential race condition when _get_state() iterated over an
21571 ASYNC element right before it posted a state completion.
21574 Do proper cast here.
21576 * gst/gstevent.c: (gst_event_new_newsegment),
21577 (gst_event_parse_newsegment):
21578 A playback rate of 0.0 is not allowed.
21580 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21582 * win32/common/config.h:
21583 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21584 (_trewinddir), (_ttelldir), (_tseekdir):
21585 * win32/common/dirent.h:
21586 * win32/common/gtchar.h:
21587 * win32/common/libgstbase.def:
21588 * win32/common/libgstreamer.def:
21589 * win32/vs6/grammar.dsp:
21590 * win32/vs6/gst_inspect.dsp:
21591 * win32/vs6/gst_launch.dsp:
21592 * win32/vs6/gstreamer.dsw:
21593 * win32/vs6/libgstbase.dsp:
21594 * win32/vs6/libgstelements.dsp:
21595 * win32/vs6/libgstreamer.dsp:
21596 Visual Studio 6 project files, and a new common directory.
21599 2005-10-11 Wim Taymans <wim@fluendo.com>
21601 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21602 (gst_base_sink_do_sync), (gst_base_sink_query),
21603 (gst_base_sink_change_state):
21604 * gst/base/gstbasesink.h:
21605 Correctly parse newsegment info.
21607 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21609 * gst/gst.c: (init_post):
21610 split plugin paths correctly
21612 2005-10-11 Wim Taymans <wim@fluendo.com>
21614 * check/gst/gstevent.c: (GST_START_TEST):
21615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21616 (gst_base_sink_change_state):
21617 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21618 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21619 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21620 * gst/gstevent.c: (gst_event_new_newsegment),
21621 (gst_event_parse_newsegment):
21623 Added extra flag to newsegment for future API freeze.
21624 Updated check and base elements.
21626 2005-10-11 Julien MOUTTE <julien@moutte.net>
21628 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21629 (gst_collectpads_add_pad), (gst_collectpads_pop),
21630 (gst_collectpads_event), (gst_collectpads_chain):
21631 * gst/base/gstcollectpads.h: Handle EOS correctly.
21633 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21635 * tools/gst-launch.c: (main):
21636 more null protecting
21638 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21640 * gst/gst-i18n-lib.h:
21641 check for ENABLE_NLS, not GETTEXT_PACKAGE
21642 * gst/gstregistry.c: (gst_registry_add_plugin),
21643 (gst_registry_scan_path_level),
21644 (_gst_registry_remove_cache_plugins):
21645 protect possibly NULL strings
21646 * gst/parse/types.h:
21647 config.h already included before
21648 * tools/gst-inspect.c: (main):
21649 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21650 check for ENABLE_NLS, not GETTEXT_PACKAGE
21651 * tools/gst-launch.c: (main):
21652 check for ENABLE_NLS, not GETTEXT_PACKAGE
21654 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21657 if we don't have glib, fail before testing 2.8
21658 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21659 fix a leak, should fix plugins-base testsuite
21661 2005-10-11 Andy Wingo <wingo@pobox.com>
21663 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21664 take the mode we're going to as an arg. Go head and set the mode
21665 and flushing flags now, so that if the activate function starts a
21666 thread all the flags will be in the right state.
21667 (post_activate): Renamed also. Just handle making sure streaming
21668 finishes for the deactivation case, and setting the deactivated
21670 (gst_pad_set_active): Complain loudly if deactivation fails.
21671 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21672 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21673 remove the terrible hack.
21675 2005-10-11 Wim Taymans <wim@fluendo.com>
21677 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21678 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21679 (gst_bin_recalc_state), (gst_bin_change_state_func),
21680 (gst_bin_dispose), (bin_bus_handler):
21682 Prepare to make current EOS message queue more generic.
21685 * gst/gstevent.c: (gst_event_new_newsegment),
21686 (gst_event_parse_newsegment):
21688 Rename base to stream_time.
21690 * gst/gstmessage.h:
21693 2005-10-11 Wim Taymans <wim@fluendo.com>
21695 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21696 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21697 (gst_bin_change_state_func), (bin_bus_handler):
21699 Work on proper clock selection.
21701 2005-10-11 Edward Hervey <edward@fluendo.com>
21703 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21704 * libs/gst/controller/gstcontroller.h:
21705 Added GList* version of _remove_properties() in order to be able to wrap
21708 2005-10-11 Wim Taymans <wim@fluendo.com>
21710 * docs/design/part-states.txt:
21713 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21714 (gst_bin_change_state_func), (bin_bus_handler):
21715 Doc updates. Don't distribute the same clock over and over again.
21721 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21722 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21723 (gst_pad_send_event):
21725 Make probe emission threadsafe again.
21726 Register quarks and move _get_name() from utils.
21729 * gst/gstpipeline.c: (gst_pipeline_class_init),
21730 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21731 Only redistribute the clock of it changed.
21733 * gst/gstsystemclock.h:
21738 Moved the _flow_get_name() to GstPad.
21740 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21742 * check/gst-libs/gdp.c: (GST_START_TEST):
21743 * check/gst/gstcaps.c: (GST_START_TEST):
21744 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21745 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21746 (gst_dp_packet_from_caps):
21747 fix more valgrind warnings before turning up the heat
21749 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21751 * gst/parse/grammar.y:
21752 some cleanup before the hacking
21754 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21756 * gst/base/gstbasesrc.c: (gst_base_src_query):
21758 * gst/gstutils.c: (gst_guint64_to_gdouble),
21759 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21761 externalize, basesrc uses it
21762 obviously the implementation needs testing
21764 2005-10-10 Wim Taymans <wim@fluendo.com>
21766 * tests/sched/Makefile.am:
21767 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21768 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21770 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21772 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21773 apparently converting from guint64 to double is not implemented
21776 2005-10-10 Wim Taymans <wim@fluendo.com>
21778 * check/Makefile.am:
21779 * check/generic/states.c: (GST_START_TEST):
21780 * check/gst/gstbin.c: (GST_START_TEST):
21781 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21782 * check/states/sinks.c: (GST_START_TEST):
21783 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21785 Check fixes, use API as stated in design docs, remove hacks.
21787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21788 (gst_base_sink_change_state):
21789 Catch stopping our task while we're shutting down.
21791 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21792 (gst_bin_remove_func), (gst_bin_get_state_func),
21793 (gst_bin_recalc_state), (gst_bin_change_state_func),
21796 * gst/gstelement.c: (gst_element_init),
21797 (gst_element_get_state_func), (gst_element_abort_state),
21798 (gst_element_commit_state), (gst_element_lost_state),
21799 (gst_element_set_state), (gst_element_change_state),
21800 (gst_element_change_state_func):
21801 * gst/gstelement.h:
21802 New state change algorithm (see #318116)
21804 * gst/gstpipeline.c: (gst_pipeline_class_init),
21805 (gst_pipeline_init), (gst_pipeline_set_property),
21806 (gst_pipeline_get_property), (do_pipeline_seek),
21807 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21808 * gst/gstpipeline.h:
21809 Remove crude state change hacks.
21812 Remove crude hacks.
21814 * tools/gst-launch.c: (main):
21815 Fixes for state change. Needs some more work to fully use the
21818 2005-10-10 Andy Wingo <wingo@pobox.com>
21820 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21822 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21823 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21826 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21828 * gst/gstiterator.c: (gst_iterator_new):
21829 Fix my previous commit: GTypes passed to gst_iterator_new()
21830 can be fundamental types.
21832 2005-10-10 Wim Taymans <wim@fluendo.com>
21834 * gst/gstelement.c: (gst_element_iterate_pad_list),
21835 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21836 (gst_element_iterate_sink_pads):
21837 Use src/sink pads lists for the respective iterators instead
21840 2005-10-10 Andy Wingo <wingo@pobox.com>
21842 Merged in popt removal + GOption addition patch from Ronald, bug
21845 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21846 GstElement macros around, remove popt-related symbols, add goption
21849 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21851 * docs/gst/Makefile.am:
21852 * docs/libs/Makefile.am: No POPT_CFLAGS.
21854 * examples/manual/Makefile.am:
21855 * docs/manual/basics-init.xml: Doc updates with an example.
21857 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21858 (gst_init), (parse_one_option), (parse_goption_arg):
21859 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21860 bit of hand merging and debugging to get the GOption stuff working
21863 * tests/Makefile.am:
21864 * tools/Makefile.am:
21865 * tools/gst-inspect.c: (main):
21866 * tools/gst-launch.c: (main):
21867 * tools/gst-run.c: (main):
21868 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21870 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21872 * gst/gstiterator.c: (gst_iterator_new):
21873 Add assertions to make sure passed GType is likely to really
21874 be a GType (as the compiler won't catch it if the size and
21875 GType arguments get mixed up, see #318447).
21877 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21879 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21881 * gst/gstbin.c: (gst_bin_iterate_sorted):
21882 Pass GType and size arguments to gst_iterator_new() in the right
21883 order (maybe we should make _new() take the GType as first argument
21884 just like _new_list()?) (#318447).
21887 2005-10-10 Wim Taymans <wim@fluendo.com>
21889 * gst/gstelement.c: (gst_element_finalize):
21890 And free the GStaticRecMutex too
21892 2005-10-10 Andy Wingo <wingo@pobox.com>
21894 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21895 Allocate and free the mutex properly.
21897 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21899 (GstElement): The state_lock is now recursive. Rebuild your
21900 plugins, suckers. Old macros adapted.
21902 * docs/gst/gstreamer-sections.txt: Doc updates.
21905 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21906 (g_static_rec_cond_wait): Ported from state changes patch, while
21907 we wait on bug #317802 to be solved in a well-distributed GLib.
21909 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21910 gst_element_change_state, variable name changes.
21911 (gst_element_change_state): Split out of gst_element_set_state in
21912 preparation for the state change merge. Doesn't pay attention to
21913 the 'transition' argument.
21914 (gst_element_set_state): Updates, hopefully purely cosmetic.
21915 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21916 state change patch.
21917 (gst_element_get_state_func): Renamed from get_state, cosmetic
21920 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21922 * gst/elements/gstelements.c:
21923 * win32/GStreamer.vcproj:
21925 * win32/dirent.c: (_tseekdir):
21926 * win32/gst-inspect.vcproj:
21927 * win32/gst-launch.vcproj:
21928 * win32/gstconfig.h:
21929 * win32/gstelements.vcproj:
21930 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21931 * win32/gstreamer.def:
21932 * win32/msvc71.sln:
21933 updates for the win32 build (patch from Sebastien Moutte)
21935 2005-10-10 Andy Wingo <wingo@pobox.com>
21937 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21938 gst_bin_get_state, cleaned up (but no logic changes).
21939 (bin_element_is_sink): Comment updates.
21940 (sink_iterator_filter): Remove needless cast.
21941 (gst_bin_iterate_sinks): Doc update.
21942 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21943 cleaned up (but no logic changes).
21945 * check/states/sinks.c (test_src_sink): Cleanups from the state
21947 (test_livesrc_sink): Sync on the state.
21949 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21950 the state change patch.
21952 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21955 * check/gst/gstbin.c: Merge in some style fixes and additional
21956 checks from Wim's state change patch.
21958 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21960 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21961 (gst_type_find_helper):
21962 Check whether we have the requested data already in our list of
21963 cached buffers before pulling a new buffer; also make the buffer
21964 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21966 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21971 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21972 don't use long long, it's not portable. Replacing with
21973 gint64 seems to work; let's hope no skeletons fall out of the closet.
21975 2005-10-10 Andy Wingo <wingo@pobox.com>
21977 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21979 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21981 * docs/gst/gstreamer-sections.txt:
21986 * gst/gstmessage.c: (gst_message_parse_state_changed):
21989 more docs, fix compilation
21991 2005-10-09 Philippe Khalaf <burger@speedy.org>
21992 * gst/gstmessage.c:
21993 Fixed a few forgotten variables on previous commit
21995 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21997 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21998 Fix evil typefind crasher: getrange() might return a short
21999 buffer at the end of a file, but gst_type_find_peek() must
22000 either return the full data as requested or NULL, but
22001 never a short buffer.
22003 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
22005 * gst/gstmessage.c: (gst_message_new_state_changed),
22006 (gst_message_parse_state_changed):
22007 * gst/gstmessage.h:
22008 don't use "new", it's a C++ keyword
22010 2005-10-08 Wim Taymans <wim@fluendo.com>
22012 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22013 * gst/gstelement.c: (gst_element_post_message):
22014 * gst/gstpipeline.c: (gst_pipeline_change_state):
22015 Small docs and debug updates.
22017 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22019 * docs/gst/gstreamer-sections.txt:
22020 * gst/gstelementfactory.c:
22022 * gst/gsttaglist.c:
22025 2005-10-08 Wim Taymans <wim@fluendo.com>
22027 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22028 (gst_bin_dispose), (bin_bus_handler):
22029 Fix typos, add comments.
22030 Clear EOS list when going to PAUSED from any direction and do it
22031 in a threadsafe way.
22032 Get base time in a threadsafe way too.
22033 Fix confusing debug in the change_state function.
22034 Various other small cleanups.
22036 * gst/gstelement.c: (gst_element_post_message):
22037 Fix very verbose bus posting code.
22039 * gst/gstpipeline.c: (gst_pipeline_class_init),
22040 (gst_pipeline_set_property), (gst_pipeline_get_property),
22041 (gst_pipeline_change_state):
22042 Small ARG_ -> PROP_ cleanup
22044 2005-10-08 Wim Taymans <wim@fluendo.com>
22046 * gst/gstbin.c: (is_eos), (bin_bus_handler):
22047 Do a less CPU demanding EOS check because we can.
22049 2005-10-08 Wim Taymans <wim@fluendo.com>
22051 * libs/gst/dataprotocol/dataprotocol.c:
22052 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22053 (gst_dp_packet_from_event):
22054 * libs/gst/dataprotocol/dataprotocol.h:
22055 * libs/gst/dataprotocol/dp-private.h:
22056 It's about time we bump the version number.
22057 Since event types don't fit in the guint8 anymore describing
22058 the payload type, make payload type 16 bits wide.
22060 2005-10-08 Wim Taymans <wim@fluendo.com>
22062 * docs/design/part-TODO.txt:
22063 * docs/design/part-clocks.txt:
22064 * docs/design/part-events.txt:
22065 * docs/design/part-gstbin.txt:
22066 * docs/design/part-gstelement.txt:
22067 * docs/design/part-gstpipeline.txt:
22068 * docs/design/part-live-source.txt:
22069 * docs/design/part-messages.txt:
22070 * docs/design/part-overview.txt:
22071 * docs/design/part-states.txt:
22074 2005-10-08 Wim Taymans <wim@fluendo.com>
22078 Fix event quark registration.
22079 Add some space between events so we can insert them in the
22082 2005-10-08 Wim Taymans <wim@fluendo.com>
22084 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22085 (gst_base_sink_handle_buffer):
22086 Better log message.
22089 * gst/gstelement.h:
22092 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22093 (gst_queue_set_property), (gst_queue_get_property):
22095 Remove old unused properties.
22097 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22098 * docs/gst/gstreamer-sections.txt:
22099 * gst/gstmessage.c:
22100 * gst/gstmessage.h:
22101 * gst/gstminiobject.c:
22102 * gst/gstminiobject.h:
22106 lots of new docs and doc fixes
22108 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22110 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22112 * gst/gstregistry.c: (gst_registry_lookup_locked),
22113 (gst_registry_scan_path_level):
22114 * gst/gstregistryxml.c: (load_plugin):
22115 Only ever load one plugin for a given plugin basename.
22116 This ensures correct overriding of GST_PLUGIN_PATH over
22117 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22118 system installed plugins.
22120 2005-10-08 Wim Taymans <wim@fluendo.com>
22122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22123 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22124 Prepare for doing QOS.
22126 2005-10-08 Wim Taymans <wim@fluendo.com>
22128 * check/gst/gstbin.c: (GST_START_TEST):
22129 * check/pipelines/cleanup.c: (GST_START_TEST):
22130 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22131 Allow new clock message too.
22133 2005-10-08 Wim Taymans <wim@fluendo.com>
22135 * gst/gstmessage.c: (gst_message_new_error),
22136 (gst_message_new_warning), (gst_message_new_tag),
22137 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22138 (gst_message_new_clock_lost), (gst_message_new_new_clock),
22139 (gst_message_new_segment_start), (gst_message_new_segment_done),
22140 (gst_message_parse_state_changed),
22141 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22142 (gst_message_parse_new_clock):
22143 * gst/gstmessage.h:
22144 Also carry the clock in question.
22146 2005-10-08 Wim Taymans <wim@fluendo.com>
22148 * gst/gstmessage.c: (gst_message_new_custom),
22149 (gst_message_new_eos), (gst_message_new_error),
22150 (gst_message_new_warning), (gst_message_new_tag),
22151 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22152 (gst_message_new_new_clock), (gst_message_new_segment_start),
22153 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22154 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22155 * gst/gstmessage.h:
22157 Added clock related messages.
22159 * gst/gstpipeline.c: (gst_pipeline_change_state):
22160 Post message when the clock changed.
22162 * tools/gst-launch.c: (event_loop):
22165 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22167 * tools/gst-inspect.c: (print_element_properties_info):
22168 Can't pass NULL strings to g_print() on windows.
22170 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22172 * docs/Makefile.am:
22173 * docs/gst/Makefile.am:
22174 * docs/gst/gstreamer-docs.sgml:
22175 * docs/gst/running.xml:
22176 * docs/version.entities.in:
22177 add a chapter on running GStreamer.
22178 document GST_DEBUG and GST_PLUGIN* env vars
22180 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22185 remove PLUGINS_BUILDDIR stuff
22186 * gst/gst.c: (init_post):
22187 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22189 remove, it was condescending and not needed
22191 2005-10-08 Wim Taymans <wim@fluendo.com>
22193 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22194 (gst_base_sink_handle_object), (gst_base_sink_event),
22195 (gst_base_sink_wait), (gst_base_sink_handle_event),
22196 (gst_base_sink_change_state):
22197 * gst/base/gstbasesink.h:
22198 Repost EOS message while going to PLAYING if still EOS.
22199 Make sure that when receiving a FLUSH_START we don't attempt
22200 to sync on the clock anymore.
22202 2005-10-08 Wim Taymans <wim@fluendo.com>
22204 * tools/gst-launch.c: (event_loop):
22205 Better message printout.
22207 2005-10-08 Wim Taymans <wim@fluendo.com>
22209 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22210 (gst_bin_child_proxy_get_children_count):
22211 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22212 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22213 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22214 (gst_child_proxy_set_valist):
22215 * gst/parse/grammar.y:
22216 Make ChildProxy threadsafe and fix mem leaks.
22218 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22220 * gst/gst.c: (init_post):
22221 debug the GST_PLUGIN_ env vars
22223 2005-10-08 Wim Taymans <wim@fluendo.com>
22225 * check/gst/gstbin.c: (GST_START_TEST):
22226 * check/gst/gstmessage.c: (GST_START_TEST):
22227 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22228 * gst/gstelement.c: (gst_element_commit_state),
22229 (gst_element_lost_state):
22230 * gst/gstmessage.c: (gst_message_new_state_changed),
22231 (gst_message_parse_state_changed):
22232 * gst/gstmessage.h:
22233 * tools/gst-launch.c: (event_loop):
22234 Added extra field to STATE_CHANGE message with the pending
22235 state, which will be different from the new state soon.
22237 2005-10-08 Wim Taymans <wim@fluendo.com>
22239 * gst/gstbus.c: (gst_bus_pop):
22241 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22242 Small cleanups and doc updates.
22244 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22246 * gst/gst.c: (init_pre):
22247 * gst/gstbin.c: (gst_bin_add_func):
22248 log distributing clocks and base time
22249 * gst/gstregistry.c: (gst_registry_add_plugin),
22250 (gst_registry_scan_path_level), (gst_registry_scan_path):
22251 clean up the debugging output a little
22252 * gst/gstutils.c: (gst_element_state_get_name):
22253 warn about a memleak (I've actually seen this be used, though
22254 it was probably a bug)
22256 2005-10-07 Wim Taymans <wim@fluendo.com>
22258 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22259 (gst_base_src_init), (gst_base_src_default_newsegment),
22260 (gst_base_src_newsegment), (gst_base_src_do_seek),
22261 (gst_base_src_loop), (gst_base_src_start):
22262 * gst/base/gstbasesrc.h:
22263 Make the newsegment event customizable by subclasses.
22265 2005-10-07 Wim Taymans <wim@fluendo.com>
22267 * gst/gstevent.c: (gst_event_new_buffersize),
22268 (gst_event_parse_buffersize):
22270 New event for future idea.
22272 2005-10-07 Andy Wingo <wingo@pobox.com>
22274 * gst/gstelement.c (gst_element_post_message): Doc update.
22276 * docs/gst/gstreamer-sections.txt: Update.
22278 * gst/gstmessage.c (gst_message_new_application): Made into a
22279 function like honest API calls.
22280 (gst_message_new_element): New message type.
22282 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22284 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22285 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22288 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22289 NO_PREROLL from gst_element_change_state to fall through.
22291 2005-10-07 Wim Taymans <wim@fluendo.com>
22293 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22294 (gst_ghost_pad_do_activate_push):
22295 Activating a ghostpad with no internal pad in push mode
22298 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22301 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22302 Fixes compilation on Windows.
22304 2005-10-07 Michael Smith <msmith@fluendo.com>
22306 * tools/gst-inspect.c:
22307 Print out feature and plugin count at the end when printing out
22310 2005-10-04 Michael Smith <msmith@fluendo.com>
22312 * gst/gsterror.c: (_gst_stream_errors_init):
22313 Add another error string used in a few existing plugins.
22316 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22317 * tools/gst-inspect.c: (print_element_info):
22318 When a feature disappears from a plugin (and the feature exists in
22319 the cached registry file), things went horribly wrong. This isn't a
22320 complete fix, we should actually be removing the 'missing' features
22321 from the features list when we load the actual plugin. That's not
22324 2005-10-04 Johan Dahlin <johan@gnome.org>
22326 * check/gst/gstiterator.c: (GST_START_TEST):
22327 * gst/gstbin.c: (gst_bin_iterate_elements),
22328 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22329 * gst/gstelement.c: (gst_element_iterate_pads):
22330 * gst/gstformat.c: (gst_format_iterate_definitions):
22331 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22332 (gst_iterator_new_list), (gst_iterator_filter):
22333 * gst/gstiterator.h:
22334 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22335 Add a GType to GstIterator, update callsites and tests.
22337 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22339 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22340 give events a chance to be handled by event probes when the pad
22343 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22345 * gst/gstevent.c: (gst_event_type_get_name),
22346 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22348 add string representations for event types
22350 2005-10-06 Wim Taymans <wim@fluendo.com>
22352 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22353 Don't use NULL pointers.
22355 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22357 * gst/gst_private.h:
22359 * gst/gstelement.c:
22361 * gst/gstpluginfeature.c:
22362 widen the debug category in output to fit the biggest one we have
22363 add a bus category and use it
22364 play with the colors
22365 fix up some categories
22367 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22369 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22370 add push activation of sink ghost pads.
22371 Andye, please verify
22373 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22375 * gst/gstutils.c: (gst_element_link_pads):
22376 fix a bug in the case where neither element has a pad
22377 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22378 add a test for that case
22380 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22382 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22383 emit have-data before checking for peers. This allows
22384 for probe handlers to connect elements. This helps autopluggers.
22385 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22387 add six checks, linked/unlinked with no/true/false probe
22389 2005-10-04 Wim Taymans <wim@fluendo.com>
22391 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22392 (gst_fake_sink_event), (gst_fake_sink_preroll),
22393 (gst_fake_sink_render), (gst_fake_sink_change_state):
22394 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22395 (gst_fake_src_get_property), (gst_fake_src_create),
22396 (gst_fake_src_stop):
22397 * gst/elements/gstidentity.c: (gst_identity_stop):
22398 Protect last_message with lock.
22400 2005-10-04 Edward Hervey <edward@fluendo.com>
22403 Added precision in the comments for GST_FORMAT_DEFAULT
22405 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22407 * tools/gst-launch.c: (main):
22408 Don't try to run erroneous pipelines.
22410 2005-10-04 Julien MOUTTE <julien@moutte.net>
22412 * gst/gstbus.c: We don't need this header.
22414 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22417 back to development
22419 === release 0.9.3 ===
22421 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22425 Releasing 0.9.3, "Unregistered"
22427 2005-10-03 Andy Wingo <wingo@pobox.com>
22429 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22430 whereby calling a pad's activatepush() function can start a thread
22431 that starts to push or pull before the pad gets the FLUSHING flag
22432 unset. Hack around it by holding the stream lock until the flag is
22433 set. Need to replace this with a proper solution. Together with
22434 the ghost pad fixes, this fixes mp3 playing/tagreading.
22436 * docs/design/part-gstghostpad.txt: Add a note about activation of
22437 proxy pads outside of ghost pads.
22439 * gst/gstghostpad.c: Implement the ghost pad activation design.
22441 2005-10-02 Andy Wingo <wingo@pobox.com>
22443 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22444 It is volatile, after all.
22446 * docs/design/part-gstghostpad.txt: Flesh out activation with
22449 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22452 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22455 Fix (unused) AM_CONDITIONAL tests.
22457 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22459 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22461 * gst/gstutils.c: (gst_pad_query_convert):
22462 Add assertion that makes sure src_val is >=0, just like
22463 gst_query_new_convert() has. (#315895)
22465 2005-09-30 Edward Hervey <edward@fluendo.com>
22467 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22468 Let's not iterate pads we're not interested in, it avoids getting
22469 sky-high refcounts on sinkpad.
22471 2005-09-30 Wim Taymans <wim@fluendo.com>
22473 * gst/gstelement.c: (gst_element_set_state),
22474 (gst_element_change_state):
22475 Small tweak, element in ASYNC remains ASYNC.
22477 2005-09-30 Wim Taymans <wim@fluendo.com>
22479 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22480 Only error is an error.
22482 * gst/gstbin.c: (gst_bin_change_state):
22485 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22486 Also call pad_block in pad alloc.
22488 * gst/gstutils.c: (gst_flow_get_name):
22491 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22493 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22494 (gst_base_src_get_range):
22495 Fix documentation typos. Add some more debug info.
22497 2005-09-29 David Schleef <ds@schleef.org>
22499 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22500 more end-user friendly.
22501 * tools/gst-inspect.c: (main): Check if command-line argument is
22502 a file and attempt to load that file as a plugin.
22504 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22506 * check/gst/gstbin.c:
22507 * check/states/sinks.c:
22508 fix tests for the new warning
22509 * check/gst/gstpipeline.c:
22510 add a test for pipeline and bus interaction
22511 * gst/gstelement.c:
22512 elements should be NULL if they get disposed; add a warning if not
22514 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22517 for 2.6 refcounting, make debug log more correct by printing
22518 the actual refcounts at the time of swap (Wim)
22520 2005-09-29 Andy Wingo <wingo@pobox.com>
22522 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22523 removes signal watches previously added via
22524 gst_bus_add_signal_watch.
22525 (gst_bus_add_signal_watch): Don't return the source id, just store
22526 it on the bus if there wasn't an id already.
22528 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22529 add_signal_watch and remove_signal_watch.
22531 2005-09-29 Edward Hervey <edward@fluendo.com>
22533 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22534 Better if we actually iterate the list :)
22536 2005-09-29 Wim Taymans <wim@fluendo.com>
22538 * check/gst/gstbin.c: (GST_START_TEST):
22539 Change for new bus API.
22541 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22542 (send_messages), (GST_START_TEST), (gstbus_suite):
22543 Change for new bus signal API.
22545 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22546 (gst_bus_source_prepare), (gst_bus_source_check),
22547 (gst_bus_create_watch), (gst_bus_add_watch_full),
22548 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22549 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22551 Remove support for multiple GSources operating on different
22552 message types as it is too complex and unneeded when using
22554 Added support for receiving signals from the bus.
22556 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22558 * docs/libs/tmpl/gstdataprotocol.sgml:
22559 * docs/manual/advanced-dataaccess.xml:
22560 * gst/elements/gstcapsfilter.c:
22562 rename filter-caps to caps property
22564 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22566 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22567 More robust fraction string parsing.
22569 * docs/pwg/appendix-porting.xml:
22570 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22572 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22574 * gst/gstcaps.c: (gst_caps_do_simplify):
22575 Thou shalt not free a structure and then continue using it
22576 in the next loop iteration.
22578 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22580 Add test case for caps simplification.
22582 2005-09-29 Wim Taymans <wim@fluendo.com>
22584 * check/gst/gstbin.c: (GST_START_TEST):
22587 2005-09-29 Wim Taymans <wim@fluendo.com>
22589 * check/gst/gstbin.c: (GST_START_TEST):
22592 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22593 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22594 (find_element), (gst_bin_sort_iterator_next),
22595 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22596 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22597 (gst_bin_change_state), (gst_bin_dispose):
22598 A bin does not have a bus, it gets the bus from the parent.
22600 * gst/gstelement.c: (gst_element_requires_clock),
22601 (gst_element_provides_clock), (gst_element_is_indexable),
22602 (gst_element_is_locked_state), (gst_element_change_state),
22603 (gst_element_set_bus_func):
22606 * gst/gstpipeline.c: (gst_pipeline_class_init),
22607 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22608 The pipeline provides a bus.
22610 2005-09-28 Johan Dahlin <johan@gnome.org>
22612 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22613 gst_structure_get_enum instead of gst_structure_get_int
22615 * gst/gststructure.c (gst_structure_get_enum): Impl.
22617 * gst/gststructure.h (gst_structure_get_enum): Add
22619 * docs/gst/gstreamer-sections.txt: Ditto
22621 * gst/gstmessage.c (gst_message_new_state_changed): Use
22622 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22623 which does introspection.
22624 Reviewed by Christian Schaller
22626 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22628 * gst/gstinfo.c: (gst_debug_log_default):
22629 don't do dummy g_strdup()s
22630 * libs/gst/controller/gstcontroller.c:
22631 (on_object_controlled_property_changed),
22632 (gst_controlled_property_new), (gst_controller_new_valist),
22633 (gst_controller_new_list),
22634 (gst_controller_remove_properties_valist), (gst_controller_set),
22635 (gst_controller_get), (gst_controller_sync_values),
22636 (gst_controller_get_value_array), (_gst_controller_class_init),
22637 (gst_controller_get_type):
22638 * libs/gst/controller/gstcontroller.h:
22639 * libs/gst/controller/gstinterpolation.c:
22640 (gst_controlled_property_find_timed_value_node):
22641 convert // to /**/ comments
22643 2005-09-28 Wim Taymans <wim@fluendo.com>
22645 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22646 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22647 (gst_bus_sync_signal_handler):
22649 Added async-message and sync-message signals to the bus.
22650 Added helper BusFunc to emit signals for all posted messages.
22652 * gst/gstmessage.c: (gst_message_type_get_name),
22653 (gst_message_type_to_quark), (gst_message_get_type):
22654 * gst/gstmessage.h:
22655 Register quarks for message names.
22657 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22659 * docs/libs/gstreamer-libs-sections.txt:
22660 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22661 (gst_controller_new_list):
22662 * libs/gst/controller/gstcontroller.h:
22663 added another constructor for language bindings
22665 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22667 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22671 * gst/gstinfo.c: (_gst_debug_init):
22672 slightly more readable color for refcount debugging
22674 2005-09-28 Wim Taymans <wim@fluendo.com>
22676 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22677 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22678 (find_element), (gst_bin_sort_iterator_next),
22679 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22680 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22681 (gst_bin_change_state), (gst_bin_dispose):
22682 Small doc fixes. get_clock -> provide_clock.
22684 * gst/gstelement.c: (gst_element_class_init),
22685 (gst_element_provides_clock), (gst_element_provide_clock),
22686 (gst_element_get_clock), (gst_element_commit_state),
22687 (gst_element_lost_state):
22688 * gst/gstelement.h:
22689 Make get/set_clock() symetric. Add provide_clock vmethod since
22690 that is actually what this function does.
22692 * gst/gstpipeline.c: (gst_pipeline_class_init),
22693 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22694 (gst_pipeline_get_clock):
22695 get_clock -> provide_clock.
22697 2005-09-28 Andy Wingo <wingo@pobox.com>
22699 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22700 lieu of real docs...
22702 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22704 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22706 * gst/elements/gstcapsfilter.c:
22707 * gst/elements/gstfakesink.c:
22708 * gst/elements/gstfakesrc.c:
22709 * gst/elements/gstfdsink.c:
22710 * gst/elements/gstfdsrc.c:
22711 * gst/elements/gstfilesink.c:
22712 * gst/elements/gstfilesrc.c:
22713 * gst/elements/gstidentity.c:
22714 * gst/elements/gsttee.c:
22715 * gst/elements/gsttypefindelement.c:
22716 Make element details static.
22718 2005-09-28 Wim Taymans <wim@fluendo.com>
22720 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22721 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22722 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22723 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22724 (gst_bin_change_state), (gst_bin_dispose):
22725 Some documentation updates.
22726 Clean up dispose handlers.
22728 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22729 * gst/gstpad.c: (gst_pad_dispose):
22730 Clean up dispose handler.
22732 * gst/gstpipeline.c: (gst_pipeline_change_state):
22733 Removed spurious UNLOCK.
22735 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22737 * docs/gst/gstreamer-sections.txt:
22738 * gst/base/gstbasesrc.h:
22739 * gst/gstelement.h:
22743 * gst/gstpipeline.c:
22744 * gst/gstpipeline.h:
22747 added two new functions to the docs
22748 documents all undocumented GstXXXFlags
22749 completed some incomplete docs
22751 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22753 * gst/gstbin.c: (gst_bin_dispose):
22754 * gst/gstelement.c: (gst_element_dispose):
22755 remove now useless and leaky resurrection code in dispose
22756 * gst/base/gstbasesrc.c: (gst_base_src_init):
22757 * gst/gstelementfactory.c: (gst_element_factory_create):
22758 * gst/gstobject.c: (gst_object_set_parent):
22761 2005-09-27 Wim Taymans <wim@fluendo.com>
22763 * docs/design/part-TODO.txt:
22766 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22767 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22768 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22769 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22770 (gst_bin_change_state):
22771 * gst/gstelement.h:
22772 Remove element variable, we keep element info in the iterator now.
22774 2005-09-27 Andy Wingo <wingo@pobox.com>
22776 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22779 2005-09-27 Wim Taymans <wim@fluendo.com>
22781 * check/gst/gstbin.c: (GST_START_TEST):
22782 Enable check that works now.
22784 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22785 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22786 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22787 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22788 (gst_bin_change_state):
22790 Redid the state change algorithm using a topological sort algo.
22791 Handles all cases correctly.
22792 Exposed iterator for state change order.
22794 * gst/gstelement.h:
22795 Temp storage for state changes. Need to get rid of this soon.
22797 2005-09-27 Wim Taymans <wim@fluendo.com>
22799 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22800 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22801 (link_fold_func), (gst_pad_proxy_setcaps):
22802 Leak fixes, the fold functions need to unref the passed object and
22803 _get_parent_*() returns ref to parent.
22805 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22807 * check/gst/gstbuffer.c: (test_make_writable):
22808 Plug leak in test case and fix 'make check-valgrind'
22810 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22812 * gst/gstbuffer.c: (gst_subbuffer_init):
22813 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22814 works correctly in all circumstances (we could have just copied
22815 the parent buffer's readonly flag, but conceptually it seems
22816 cleaner to mark all subbuffers as read-only). (based on patch
22817 by Alessandro Decina, #314710).
22819 * check/gst/gstbuffer.c: (create_read_only_buffer),
22820 (test_make_writable), (test_subbuffer_make_writable),
22822 Add some tests for gst_buffer_make_writable().
22824 2005-09-27 Wim Taymans <wim@fluendo.com>
22826 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22827 use gst_object_has_ancestor().
22829 * gst/gstobject.c: (gst_object_has_ancestor):
22831 gst_object_has_ancestor() copied from gstbin.c as it is a
22834 * tests/instantiate/create.c: (create_all_elements):
22835 * tests/lat.c: (handoff_src), (handoff_sink):
22836 * tests/sched/runxml.c: (main):
22837 * tests/seeking/seeking1.c: (main):
22838 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22840 Fix compilation of some tests.
22842 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22845 Remove comment. GST_TYPE_G_ERROR is here to stay,
22846 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22847 (#316961, #300610).
22849 2005-09-26 Wim Taymans <wim@fluendo.com>
22851 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22852 Added check that shows error in state change order.
22854 2005-09-26 Wim Taymans <wim@fluendo.com>
22856 * gst/gstbin.c: (gst_bin_change_state):
22857 Make state change function use 3 queues again, we were
22858 adding elements in the wrong order.
22860 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22863 * gst/gstpad.c: (gst_pad_dispose):
22864 Added some debug info first.
22866 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22868 * docs/design/draft-push-pull.txt:
22869 * docs/design/part-events.txt:
22870 * docs/design/part-overview.txt:
22871 * docs/design/part-scheduling.txt:
22872 Replace all _pull_region() with _pull_range()
22874 2005-09-26 Andy Wingo <wingo@pobox.com>
22876 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22878 * check/gst-libs/controller.c: Update for controller api change.
22881 * tests/Makefile.am:
22882 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22883 over by GLib bug 118439.
22885 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22886 routines to a function.
22888 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22890 * libs/gst/controller/gsthelper.c:
22891 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22892 (gst_object_sync_values): Renamed from sink_values. Ugh.
22894 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22896 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22897 Renamed from controller_key, as it is exported.
22899 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22901 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22906 * gst/gstpadtemplate.h:
22909 * gst/gstqueryutils.c:
22910 * gst/gstqueryutils.h:
22911 remove queryutils headers after moving the two used functions
22912 to gstquery. also fixes build problem for gstsiddec
22914 2005-09-26 Michael Smith <msmith@fluendo.com>
22916 * tools/gst-launch.1.in:
22917 Correct documentation in manpage of debug syntax
22919 2005-09-26 Wim Taymans <wim@fluendo.com>
22921 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22922 (gst_base_src_is_seekable), (gst_base_src_change_state):
22923 Some more debugging info.
22925 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22927 * docs/gst/gstreamer-sections.txt:
22928 * gst/base/gstbasetransform.h:
22932 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22934 * docs/gst/.cvsignore:
22935 * docs/gst/tmpl/.cvsignore:
22936 * docs/gst/tmpl/gstpipeline.sgml:
22937 * docs/gst/tmpl/gstplugin.sgml:
22938 * gst/gstpipeline.c:
22941 inlined the last two docs files
22942 removed the tmpl directory from cvs (no more conflicts here!)
22944 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22946 * docs/gst/gstreamer-sections.txt:
22947 * docs/gst/tmpl/.cvsignore:
22948 * docs/gst/tmpl/gstpad.sgml:
22949 * docs/gst/tmpl/gstpadtemplate.sgml:
22951 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22952 (gst_pad_finalize), (gst_pad_set_pad_template):
22954 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22955 (gst_pad_template_class_init), (gst_pad_template_init),
22956 (gst_pad_template_dispose), (name_is_valid),
22957 (gst_static_pad_template_get), (gst_pad_template_new),
22958 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22959 (gst_pad_template_pad_created):
22960 * gst/gstpadtemplate.h:
22961 inlined two more docs
22962 factored gstpadtemplate out of gstpad
22964 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22966 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22967 (test_children_state_change_order_semi_sink):
22968 Fix test case: we can't rely on a fixed state change order when
22969 going from READY => PAUSED because the sink might commit its
22970 new state first when the first buffer created by the source
22971 reaches the sink before the source has finished its change state.
22972 (Test case still fails at times, see #316856, comment 5 onwards)
22974 2005-09-24 Wim Taymans <wim@fluendo.com>
22976 * docs/design/part-events.txt:
22977 * docs/design/part-gstbus.txt:
22978 * docs/design/part-gstpipeline.txt:
22979 * docs/design/part-messages.txt:
22980 * docs/design/part-overview.txt:
22981 * docs/design/part-segments.txt:
22985 * gst/gstelement.c:
22988 * gst/gstiterator.c:
22989 Various documentation updates.
22991 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22994 Well, that's embarassing. Luckily we weren't using
22995 GST_CLOCK_DIFF anywhere.
22997 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22999 * common/gtk-doc.mak:
23000 don't fail on building XML, FC4 slave shows a bunch of doc
23001 missing bits that I don't get
23003 * gst/gstpipeline.c:
23004 * gst/gststructure.c:
23007 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23009 * docs/design/part-gstbin.txt:
23010 * docs/design/part-gstbus.txt:
23012 Add blurb about how the bus goes into flushing mode and
23013 drops all messages when its bin goes from READY into NULL
23016 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23018 * docs/gst/gstreamer-sections.txt:
23019 * gst/gststructure.c: (gst_structure_get_clock_time):
23020 * gst/gststructure.h:
23021 add a method to get a GstClockTime out of a structure
23023 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23025 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23026 (test_children_state_change_order_semi_sink), (gst_bin_suite):
23027 Added test to check state change order in bins (can still be made
23028 to fail here under heavy disk load; bails out with 'Push on pad
23029 fakesink:sink0, but it was not activated in push mode').
23031 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23032 Fix state change order when there is only a semi sink (#316856)
23034 * gst/gstbus.c: (gst_bus_class_init):
23035 Use _class_peek_parent(), not _class_ref(); fix docs to say
23036 'default main context' instead of 'mainloop' where that is
23039 * gst/gstelement.c: (gst_element_commit_state),
23040 (gst_element_set_state):
23041 Fix typos in debug messages
23043 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23046 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23047 * gst/gstpluginfeature.c:
23049 various doc updates
23050 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23051 change an assert into an error until it gets fixed properly
23053 2005-09-23 Stefan Kost <ensonic@users.sf.net>
23055 * docs/gst/gstreamer-sections.txt:
23056 * docs/gst/tmpl/.cvsignore:
23057 * docs/gst/tmpl/gstelement.sgml:
23058 * docs/gst/tmpl/gstinfo.sgml:
23059 * docs/gst/tmpl/gstobject.sgml:
23060 * gst/gstelement.c:
23061 * gst/gstelement.h:
23064 * gst/gstobject.c: (gst_object_class_init):
23066 inlined 3 more biiiig doc files and added some missing docs on the fly
23068 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23070 * check/gst/.cvsignore:
23071 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23072 * gst/gstregistryxml.c: (load_plugin),
23073 (gst_registry_xml_save_plugin):
23074 put back source in registry. add checks for find_plugin.
23075 * testsuite/states/bin.c: (assert_state), (empty_bin),
23076 (test_adding_one_element), (main):
23077 * testsuite/states/locked.c: (main):
23078 some compile/run fixes
23080 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
23082 * check/gst/gstvalue.c: (GST_START_TEST):
23083 fix leaks in the test itself
23085 2005-09-22 Wim Taymans <wim@fluendo.com>
23087 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23088 (gst_base_sink_send_event), (gst_base_sink_peer_query),
23089 (gst_base_sink_query):
23090 Prepare for more accurate position reporting and query
23093 * gst/gstelement.c: (gst_element_send_event),
23094 (gst_element_set_state):
23097 2005-09-22 Wim Taymans <wim@fluendo.com>
23099 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23100 (gst_query_parse_segment):
23102 More documentation.
23103 Add segment query for future use.
23105 2005-09-22 Wim Taymans <wim@fluendo.com>
23107 * gst/gstbin.c: (gst_bin_add_func):
23108 Some more debug info.
23110 * gst/gstelement.c: (gst_element_send_event):
23111 Simplify send_event
23113 * gst/gstelement.h:
23114 Don't know how flags got broken.
23119 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23121 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23122 Add simplistic test suite for GST_TYPE_DATE serialisation and
23125 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23127 * docs/gst/gstreamer-sections.txt:
23128 * gst/gststructure.c: (gst_structure_set_valist),
23129 (gst_structure_get_date):
23130 * gst/gststructure.h:
23131 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23132 (gst_date_copy), (gst_value_compare_date),
23133 (gst_value_serialize_date), (gst_value_deserialize_date),
23134 (gst_value_transform_date_string),
23135 (gst_value_transform_string_date), (_gst_value_initialize):
23137 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23138 bunch of utility functions along with a hack that checks that
23139 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23140 is required. Part of the grand scheme in #170777.
23142 2005-09-22 Andy Wingo <wingo@pobox.com>
23144 * gst/gstconfig.h.in: Psych out gtk-doc.
23146 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23148 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23150 * tools/gst-inspect.c (print_element_list): Plug some
23151 inconsequential leaks.
23153 * gst/gstregistry.c (gst_registry_get_default): Doc.
23155 * check/gst/gstplugin.c:
23156 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23157 * gst/gstelementfactory.c (gst_element_factory_create):
23158 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23161 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23162 (gst_plugin_feature_load): Doc, don't eat refs.
23164 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23165 (gst_plugin_list_free): Doc.
23166 (gst_plugin_load_file): Doc updates.
23168 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23169 accessors returning refcounted objects, return a ref.
23171 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23172 accessor for caps. IDEMPOTENCE. Oh yes.
23174 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23176 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23178 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23179 (_gst_debug_register_funcptr):
23180 Add mutex to serialise access to the hash table with
23181 the function pointer => function name string mapping;
23182 make that hash table static scope (#316809).
23184 * gst/registries/.cvsignore:
23185 Remove left-over file.
23187 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23189 * docs/pwg/appendix-porting.xml:
23190 And something about newsegment events and caps-on-buffers to
23191 the porting guide (feel free to improve).
23193 2005-09-21 Andy Wingo <wingo@pobox.com>
23195 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23196 data and event probes on the same pad.
23197 (test_buffer_probe_once): Test that removing probes from within
23198 the probe functions works.
23200 2005-09-21 Andy Wingo <wingo@pobox.com>
23202 * check/gst/gstutils.c: New file.
23203 (test_buffer_probe_n_times): A simple buffer probe test. More to
23206 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23207 have-data::buffer, not have-data.
23208 (gst_pad_add_event_probe): Likewise for have-data::event.
23209 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23210 peer' isn't quite right yet though.
23211 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23212 (gst_pad_remove_data_probe): Change to take the guint handler_id
23213 as their arg, not the function+data, which is more glib-like.
23215 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23216 the signal emission to indicate if the data is a buffer or an
23218 (gst_pad_get_type): Initialize buffer and event quarks.
23219 (gst_pad_class_init): have-data is now a detailed signal, yes it
23222 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23224 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23225 * gst/gstutils.c: (gst_util_set_value_from_string),
23226 (gst_util_set_object_arg):
23227 Don't put functional code in g_return_if_fail() or
23228 g_return_val_if_fail() statements, otherwise things will
23229 break when G_DISABLE_CHECKS is defined during compilation.
23231 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23233 * docs/gst/tmpl/.cvsignore:
23234 * docs/gst/tmpl/gstvalue.sgml:
23237 inlied another one and added some obvious docs
23239 2005-09-21 Wim Taymans <wim@fluendo.com>
23241 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23242 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23243 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23244 (gst_fdsrc_get_property), (gst_fdsrc_create):
23245 * gst/elements/gstfdsrc.h:
23246 Properly implement fdsrc. Removed signal and timeout,
23247 better implemented somewhere else.
23249 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23251 * docs/gst/tmpl/.cvsignore:
23252 * docs/gst/tmpl/gstimplementsinterface.sgml:
23253 * gst/gstinterface.c:
23256 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23258 * docs/gst/gstreamer-sections.txt:
23259 * docs/gst/tmpl/.cvsignore:
23260 * docs/gst/tmpl/gstenumtypes.sgml:
23261 remove obsolete doc file
23263 2005-09-21 David Schleef <ds@schleef.org>
23265 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23266 little beer, fix a little leak.
23268 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23270 * docs/gst/gstreamer-docs.sgml:
23271 * docs/gst/gstreamer-sections.txt:
23272 * docs/gst/tmpl/.cvsignore:
23276 * gst/gstelement.h:
23277 * gst/gstindex.c: (gst_index_class_init):
23279 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23280 (gst_index_factory_class_init), (gst_index_factory_init),
23281 (gst_index_factory_finalize), (gst_index_factory_new),
23282 (gst_index_factory_destroy), (gst_index_factory_find),
23283 (gst_index_factory_create), (gst_index_factory_make):
23284 * gst/gstindexfactory.h:
23285 * gst/gstpluginfeature.c:
23286 * gst/gstpluginfeature.h:
23287 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23288 more docs inlined, splitted gstindex.{c,h}
23290 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23292 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23295 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23297 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23298 Set sync to FALSE by default.
23300 2005-09-20 Wim Taymans <wim@fluendo.com>
23302 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23303 (gst_base_sink_init):
23304 Make sync property settable from subclass.
23306 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23307 (gst_fake_sink_change_state):
23308 Set sync to FALSE by default.
23310 2005-09-20 Wim Taymans <wim@fluendo.com>
23312 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23313 * tools/gst-launch.c: (main):
23314 The timeout handler should have lower priority than the source
23315 so we don't timeout before popping a message with 0 timeout.
23316 Dump error messages after failed state change.
23318 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23320 * tools/gst-inspect.c: (print_element_properties_info):
23323 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23325 * check/gst/gstevent.c:
23326 * gst/elements/gstfakesink.c:
23327 * gst/elements/gstfakesink.h:
23328 remove the sync property from fakesink.
23329 has the side effect of setting sync TRUE
23330 for fakesink, which is a change. Anyone who knows how
23331 to fix this nicely in a GObject-y way, feel free.
23333 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23335 * docs/gst/gstreamer-docs.sgml:
23336 remove probe refsection
23338 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23340 * check/Makefile.am:
23341 disable valgrinding the controller test again
23342 * docs/gst/gstreamer-sections.txt:
23343 update for api-changes
23345 2005-09-20 Wim Taymans <wim@fluendo.com>
23347 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23348 (gst_base_sink_set_property), (gst_base_sink_get_property),
23349 (gst_base_sink_do_sync):
23350 * gst/base/gstbasesink.h:
23351 Added sync property to basesink to disable clock sync.
23353 2005-09-20 Andy Wingo <wingo@pobox.com>
23355 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23356 eating the caller's refcount.
23358 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23359 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23362 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23363 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23364 of GLib 2.8 public, so we can know which refcount to check in
23367 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23368 (gst_object_init): Only set the gst refcount if we're going ahead
23369 with the refcount hack.
23371 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23373 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23374 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23375 more leaks plumbed, added more debug-logging
23379 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23381 * gst/gstmessage.c:
23382 remove include of gstmemchunk.h
23384 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23386 * gst/gstclock.c: (_gst_clock_id_free):
23387 Commit from the Political Party For More Atomic CVS Commits,
23388 so that people don't waste too much of their day fishing
23389 out obvious leaks out of massive commits.
23390 Oh, and fix a pretty damn obvious leak in the memchunk
23393 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23395 * check/Makefile.am:
23396 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23397 plug mem-leak, re-add to valgrindable tests
23399 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23402 unbreak the build for those who have chronic arthritis
23403 and typing "make check" is just too taxing on the hands
23405 2005-09-20 Andy Wingo <wingo@pobox.com>
23407 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23408 really want it out, you should fix plugins at the same time.
23410 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23413 * docs/gst/gstreamer-sections.txt:
23415 added missing symbols to api docs
23416 disable ref-count hack if we have glib >= 2.8
23418 2005-09-19 David Schleef <ds@schleef.org>
23420 * docs/gst/Makefile.am: Ignore a few more internal headers
23421 * docs/gst/gstreamer-docs.sgml: Remove old sections
23422 * docs/gst/gstreamer-sections.txt: Remove old sections
23423 * docs/gst/tmpl/gstobject.sgml: update
23424 * docs/gst/tmpl/gstplugin.sgml: update
23425 * docs/gst/tmpl/gstpluginfeature.sgml: update
23426 * docs/random/ds/0.9-suggested-changes: update.
23427 * gst/Makefile.am: remove memchunk and trashstack, since they're
23429 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23430 * gst/gst.h: don't include some headers
23431 * gst/gstchildproxy.c: add gstmarshal.h
23432 * gst/gstclock.c: Don't use memchunks
23433 * gst/gstminiobject.c: Add some docs
23434 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23435 * gst/gstobject.h: same
23436 * gst/gstplugin.c: include gstmacros.h
23437 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23438 * gst/gstquery.c: don't use memchunks
23439 * gst/gstregistry.c: rename gst_registry_deinit()
23440 * gst/gstregistry.h: same
23442 2005-09-19 David Schleef <ds@schleef.org>
23444 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23445 * docs/libs/gstreamer-libs-sections.txt:
23446 * docs/libs/tmpl/gstgetbits.sgml:
23447 * docs/libs/tmpl/gstputbits.sgml:
23449 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23451 * win32/gstenumtypes.c:
23452 * win32/gstenumtypes.h:
23455 2005-09-19 Wim Taymans <wim@fluendo.com>
23457 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23458 Automatically PAUSE and RESUME a pipeline when a flushing seek
23461 2005-09-19 Andy Wingo <wingo@pobox.com>
23463 * gst/gstregistry.h: Spacing fixen.
23465 2005-09-19 Wim Taymans <wim@fluendo.com>
23467 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23468 Handle state change failure more correctly.
23470 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23472 * check/Makefile.am:
23473 * check/pipelines/cleanup.c: (run_pipeline):
23474 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23476 enable cleanup again after fixing the leak
23478 some more info on docs
23480 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23482 * check/Makefile.am:
23483 re-enable tests now that leaks are plugged
23485 * check/gst/gstbin.c:
23486 * check/gst/gstpipeline.c:
23487 add some more tests while fixing leaks
23488 * common/check.mak:
23489 make sure binaries are uptodate when valgrinding/gdbing
23491 * gst/gstelementfactory.c:
23492 remove a ref too many, and add a FIXME for when we get
23493 round to disposing of classes
23495 fix the refcounting when loading a plugin from a file and
23496 the code pretends that the pointer is the same even though
23497 of course it can change
23498 * gst/gstpluginfeature.c:
23499 unref plugins marked cached (a bit confusing as a name)
23500 as the docs state should be done
23501 various doc additions to explain refcounting
23502 * gst/gstregistry.c:
23503 * gst/gstregistryxml.c:
23506 2005-09-19 Wim Taymans <wim@fluendo.com>
23508 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23509 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23510 (send_messages), (GST_START_TEST), (gstbus_suite):
23511 * check/gst/gstpipeline.c: (GST_START_TEST):
23512 * check/pipelines/cleanup.c: (run_pipeline):
23513 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23515 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23516 (gst_bus_source_check), (gst_bus_source_dispatch),
23517 (gst_bus_create_watch), (gst_bus_add_watch_full),
23518 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23520 * tools/gst-launch.c: (event_loop):
23521 * tools/gst-md5sum.c: (event_loop):
23522 GstBusHandler -> GstBusFunc, return value has the same meaning as
23523 any other GSource (FALSE == remove source).
23524 _add_watch() and _add_watch_full() now take a MessageType mask to
23525 only handle specific types of messages.
23526 _poll() returns the GstMessage instead of the message type to avoid
23528 _have_pending() takes a MessageType mask now too.
23529 Added testsuite for multiple bus watches.
23530 Fix testsuites and applications for new bus API.
23532 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23534 * check/Makefile.am:
23535 mark a bunch of the tests as to fix until we fix them
23537 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23539 * common/check.mak:
23540 use GST_PLUGIN settings for valgrind tests as well, so we're
23541 valgrinding the correct thing
23542 * gst/gst.c: (init_post):
23545 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23547 * gst/gst.c: (init_post), (gst_deinit):
23548 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23549 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23550 * gst/gstindex.c: (gst_index_factory_class_init),
23551 (gst_index_factory_finalize):
23552 * gst/gstobject.c: (gst_object_dispose):
23553 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23554 (gst_plugin_load_file), (gst_plugin_desc_free):
23555 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23556 (gst_plugin_feature_finalize):
23557 * gst/gstregistry.c: (gst_registry_class_init),
23558 (gst_registry_init), (gst_registry_finalize),
23559 (gst_registry_get_default), (gst_registry_deinit):
23560 * gst/gstregistry.h:
23561 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23562 various cleanups and memleak plugging. make valgrind is happy now.
23564 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23566 * common/check.mak:
23567 add a check-valgrind target
23569 2005-09-18 David Schleef <ds@schleef.org>
23571 * tools/gst-inspect.c: Revert the GOption code.
23573 2005-09-17 David Schleef <ds@schleef.org>
23575 * check/Makefile.am: Fix environment variables.
23576 * check/gst/gstplugin.c: Fix for API changes.
23577 * tools/gst-inspect.c: Fix for API changes.
23578 * tools/gst-xmlinspect.c: Fix for API changes.
23579 * gst/gstelementfactory.c:
23582 * gst/gstpluginfeature.c:
23583 * gst/gstpluginfeature.h:
23584 * gst/gstregistry.c:
23585 * gst/gstregistry.h:
23586 * gst/gstregistryxml.c:
23587 * gst/gsttypefind.c:
23588 * gst/gsttypefindfactory.c:
23589 * gst/indexers/gstfileindex.c:
23590 * gst/indexers/gstmemindex.c:
23591 * gst/schedulers/Makefile.am:
23592 Change registry to keep track of both plugins and features,
23593 removing the feature tracking from plugins themselves.
23595 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23597 * check/Makefile.am:
23598 * tools/gst-register.1.in:
23599 remove gst-register
23601 2005-09-15 David Schleef <ds@schleef.org>
23603 * check/gst/gstplugin.c:
23604 * gst/gstelementfactory.c:
23606 * gst/gstpluginfeature.c:
23607 * gst/gstregistry.c:
23608 Getting tired of debugging. Disabled all the unreffing of
23609 plugins and features, which fixes the segfaults, but of
23610 course leaks like crazy. At least playbin works.
23612 2005-09-15 David Schleef <ds@schleef.org>
23614 * check/gst/gstplugin.c: (register_check_elements),
23615 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23617 * gst/elements/gsttypefindelement.c: Fix refcounting.
23618 * gst/gsttypefind.c:
23619 * gst/gsttypefindfactory.c:
23620 * gst/gsttypefindfactory.h:
23622 2005-09-15 David Schleef <ds@schleef.org>
23624 * gst/gstindex.c: get refcounting correct.
23625 * gst/gstregistry.c: Handle the case where a feature/plugin is
23628 2005-09-15 David Schleef <ds@schleef.org>
23630 * check/Makefile.am:
23631 * check/gst/gstplugin.c: Add test
23632 * gst/gstplugin.c: Fix problems noticed by testsuite
23634 * gst/gstregistry.c:
23635 * gst/gstregistry.h:
23637 2005-09-15 David Schleef <ds@schleef.org>
23639 * gst/gstplugin.c: Implement semi-decent recounting and locking
23640 in plugins and plugin features.
23642 * gst/gstpluginfeature.c:
23643 * gst/gstpluginfeature.h:
23644 * gst/gstregistry.c:
23646 2005-09-15 Michael Smith <msmith@fluendo.com>
23648 * gst/gstregistry.c: (gst_registry_get_feature_list):
23649 Implement this. Makes oggdemux work; decodebin still broken.
23651 2005-09-14 David Schleef <ds@schleef.org>
23653 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23655 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23656 * gst/check/Makefile.am:
23657 * libs/gst/controller/Makefile.am:
23658 * libs/gst/dataprotocol/Makefile.am:
23660 2005-09-14 David Schleef <ds@schleef.org>
23662 * configure.ac: Remove getbits library. Nothing uses it, and
23663 it should be in something like liboil if someone did want
23665 * libs/gst/Makefile.am:
23666 * libs/gst/getbits/Makefile.am:
23667 * libs/gst/getbits/gbtest.c:
23668 * libs/gst/getbits/getbits.c:
23669 * libs/gst/getbits/getbits.h:
23670 * libs/gst/getbits/gstgetbits_generic.c:
23671 * libs/gst/getbits/gstgetbits_i386.s:
23672 * libs/gst/getbits/gstgetbits_inl.h:
23674 2005-09-14 David Schleef <ds@schleef.org>
23676 * gst/Makefile.am: Dist glib-compat.h
23678 2005-09-14 David Schleef <ds@schleef.org>
23680 * configure.ac: Remove gst/registries, since it's no longer used.
23681 * gst/registries/Makefile.am:
23682 * gst/registries/gstlibxmlregistry.c:
23683 * gst/registries/gstlibxmlregistry.h:
23684 * gst/registries/gstxmlregistry.c:
23685 * gst/registries/gstxmlregistry.h:
23686 * gst/registries/registrytest.c:
23688 2005-09-14 David Schleef <ds@schleef.org>
23690 * gst/glib-compat.h:
23691 * gst/gstregistryxml.c:
23692 Convergence is near. Seriously.
23694 2005-09-14 David Schleef <ds@schleef.org>
23696 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23697 * gst/glib-compat.h:
23698 Attempt #4 to appease the buildbots.
23700 2005-09-14 David Schleef <ds@schleef.org>
23702 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23705 2005-09-14 David Schleef <ds@schleef.org>
23707 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23710 2005-09-14 David Schleef <ds@schleef.org>
23712 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23715 2005-09-14 David Schleef <ds@schleef.org>
23717 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23718 * gst/glib-compat.h: Add some functions that are in newer versions
23719 of glib than we care to require.
23720 * gst/gstregistryxml.c: Use them.
23722 2005-09-14 David Schleef <ds@schleef.org>
23724 * po/POTFILES.in: remove gst-register.c
23726 2005-09-14 David Schleef <ds@schleef.org>
23728 * docs/gst/gstreamer-docs.sgml:
23729 * docs/gst/gstreamer-sections.txt:
23730 * docs/gst/gstreamer.types:
23731 * docs/gst/tmpl/gstelement.sgml:
23732 * docs/gst/tmpl/gstplugin.sgml:
23733 * docs/gst/tmpl/gstpluginfeature.sgml:
23734 Documentation updates for registry changes.
23736 2005-09-14 David Schleef <ds@schleef.org>
23738 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23739 because we don't require glib-2.8.
23741 2005-09-14 David Schleef <ds@schleef.org>
23743 * gst/gstregistryxml.c: Added. Essentially moved out of the
23744 registries directory.
23746 2005-09-14 David Schleef <ds@schleef.org>
23748 * check/Makefile.am:
23749 * check/generic/states.c:
23753 * gst/gst_private.h:
23754 * gst/gstelementfactory.c:
23759 * gst/gstpluginfeature.c:
23760 * gst/gstpluginfeature.h:
23761 * gst/gstregistry.c:
23762 * gst/gstregistry.h:
23763 * gst/gstregistrypool.c: remove
23764 * gst/gstregistrypool.h: remove
23765 * gst/gsttypefind.c:
23766 * gst/gsttypefindfactory.c:
23768 * tools/Makefile.am:
23769 * tools/gst-compprep.c:
23770 * tools/gst-inspect.c:
23771 * tools/gst-register.c: remove
23772 * tools/gst-xmlinspect.c:
23773 Registry rewrite. Changes registry from being a file created
23774 by a tool into a simple cache file created automatically by
23775 libgstreamer. Removed gst-register (because it's no longer
23776 needed). Remove registry pools, because we only have one
23777 registry implementation (XML). Fix up other subsystems as
23780 2005-09-13 Michael Smith <msmith@fluendo.com>
23782 * gst/gstconfig.h.in:
23783 Don't Use windows linking attributes for MinGW. Fixes #316157
23785 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23787 * gst/gstutils.c: (set_state_async_thread_func),
23788 (gst_element_set_state_async):
23789 Apparently people think it's better if this function doesn't
23790 try to set the state to whatever state was asked for on the first
23791 call to this function for any object. Seriously.
23793 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23795 * check/gst/gstpipeline.c: (GST_START_TEST):
23796 * docs/gst/gstreamer-sections.txt:
23797 * gst/gstutils.c: (set_state_async_thread_func),
23798 (gst_element_set_state_async):
23800 add a "gst_element_set_state_async" method that
23801 sets the state and starts a thread to make sure the state
23802 change completes as best as it can
23804 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23806 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23807 codify design+behaviour in testsuite after discussion
23809 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23811 * docs/gst/tmpl/gstelement.sgml:
23812 * docs/manual/appendix-quotes.xml:
23814 * gst/gstelement.c: (gst_element_set_state):
23817 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23819 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23820 (gst_base_transform_prepare_output_buf),
23821 (gst_base_transform_handle_buffer):
23822 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23823 (gst_capsfilter_prepare_buf):
23824 Remove the requirement for sub-classes to call the parent
23825 implementation of prepare_output_buffer with a wrapper function.
23827 * gst/gsttaglist.h:
23828 * gst/gsttagsetter.h:
23829 Fix #define wrapper
23831 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23833 * docs/gst/gstreamer-sections.txt:
23836 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23838 * docs/gst/gstreamer-sections.txt:
23839 * docs/gst/tmpl/gstelement.sgml:
23840 * docs/gst/tmpl/gstplugin.sgml:
23841 * gst/gstminiobject.c:
23843 docs now stop throwing warnings
23845 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23847 * docs/gst/gstreamer-sections.txt:
23848 * docs/gst/gstreamer.types:
23849 * docs/gst/tmpl/gstpad.sgml:
23850 * docs/gst/tmpl/gsttypes.sgml:
23851 * gst/base/gstadapter.h:
23852 * gst/base/gstbasesink.h:
23853 * gst/base/gstbasesrc.h:
23859 * gst/gstelement.h:
23861 * gst/gstmessage.h:
23863 * gst/gststructure.c:
23864 * gst/registries/gstlibxmlregistry.h:
23865 various documentation fixes
23867 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23869 * docs/gst/gstreamer-sections.txt:
23870 * docs/gst/tmpl/gstvalue.sgml:
23871 rearrange gstvalue section
23872 * gst/gstutils.c: (gst_element_state_get_name):
23874 * gst/gstvalue.c: (_gst_value_initialize):
23878 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23880 * check/gst-libs/controller.c:
23881 Header include fix.
23882 * gst/base/gstbasetransform.c:
23883 (gst_base_transform_default_prepare_buf),
23884 (gst_base_transform_handle_buffer):
23885 * gst/base/gstbasetransform.h:
23886 Some more basetransform changes and fixes to enable sub-classes
23887 that modify buffer metadata only.
23888 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23889 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23890 (gst_capsfilter_prepare_buf):
23891 If the output pad has fixed allowed caps and input buffers
23892 don't have any, set the fixed caps on outgoing buffers.
23894 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23895 * check/elements/identity.c: (GST_START_TEST):
23896 Make the error a little clearer when the test fails because
23897 identity made a copy of the buffer.
23898 * docs/gst/gstreamer-sections.txt:
23899 New symbols in gstbasetransform.h
23900 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23901 (gst_base_transform_init), (gst_base_transform_transform_size),
23902 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23903 (gst_base_transform_default_prepare_buf),
23904 (gst_base_transform_get_unit_size),
23905 (gst_base_transform_buffer_alloc),
23906 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23907 (gst_base_transform_change_state),
23908 (gst_base_transform_set_passthrough),
23909 (gst_base_transform_set_in_place),
23910 (gst_base_transform_is_in_place):
23911 * gst/base/gstbasetransform.h:
23912 Change BaseTransform to separate in_place operate from same_caps
23913 output. in_place implies that the element can perform the transform
23914 on incoming buffers in-place, even if the caps on the output are
23916 Sub-class elements can now implement special buffer allocation
23917 methods for outgoing buffers if they wish to.
23918 Big documentation addition.
23919 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23920 * gst/elements/gstelements.c:
23921 Changes for basetransform modifications.
23922 * gst/elements/Makefile.am:
23923 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23924 Compile fix. Extra debug output.
23926 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23928 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23930 add tests for valid pad naming
23931 * gst/check/gstcheck.c: (gst_check_log_message_func),
23932 (gst_check_log_critical_func):
23934 remove printing of code, it is fragile when the code contains
23935 % and the line number is enough info
23936 * gst/check/gstcheck.h:
23937 * gst/gstpad.c: (gst_pad_template_new):
23940 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23943 say what CHECK flags we use
23944 * docs/libs/gstreamer-libs.types:
23945 * libs/gst/controller/Makefile.am:
23946 * libs/gst/controller/gst-controller.c:
23947 * libs/gst/controller/gst-controller.h:
23948 * libs/gst/controller/gst-helper.c:
23949 * libs/gst/controller/gst-interpolation.c:
23950 * libs/gst/controller/gstcontroller.c:
23951 * libs/gst/controller/gsthelper.c:
23952 * libs/gst/controller/gstinterpolation.c:
23953 * tools/gst-inspect.c: (print_plugin_info):
23954 we don't use dashes in header names
23956 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23958 * check/Makefile.am:
23959 * check/gst/.cvsignore:
23960 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23961 (gst_pipeline_suite), (main):
23962 adding a test for pipelines and state changes
23963 * gst/gstutils.c: (get_state_func):
23965 * gstreamer.spec.in:
23968 2005-09-08 Michael Smith <msmith@fluendo.com>
23970 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23971 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23972 (gst_file_src_is_seekable), (gst_file_src_get_size),
23973 (gst_file_src_start):
23974 * gst/elements/gstfilesrc.h:
23975 Various fixes for unseekable, unmmapable, and non-normal files, so
23976 that fallback to read() rather than mmap() works.
23977 * gst/gstevent.c: (gst_event_new_newsegment):
23978 Allow newsegment events with segment_start == segment_end, as will
23979 correctly happen if you use filesrc on a zero-size file, for
23982 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23984 * gst/gstplugin.c: (gst_plugin_load_file):
23985 Call g_module_close when we don't load the module
23987 * gst/registries/gstlibxmlregistry.c:
23988 (gst_xml_registry_get_property):
23989 Port leak fix from 0.8
23991 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23993 * docs/gst/gstreamer-docs.sgml:
23994 * docs/gst/tmpl/.cvsignore:
23995 * docs/gst/tmpl/gsttrace.sgml:
23996 * docs/gst/tmpl/gsttrashstack.sgml:
23999 * gst/gstelement.h:
24001 * gst/gstmessage.c:
24002 * gst/gstmessage.h:
24005 * gst/gsttaginterface.c:
24006 * gst/gsttaginterface.h:
24007 * gst/gsttaglist.c:
24008 * gst/gsttaglist.h:
24009 * gst/gsttagsetter.c:
24010 * gst/gsttagsetter.h:
24013 * gst/gsttrashstack.c:
24014 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24015 inlined docs for gsttrace, gsttrashstack
24017 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24020 * gst/elements/gstbufferstore.h:
24021 * gst/elements/gsttypefindelement.c:
24022 * gst/elements/gsttypefindelement.h:
24024 * gst/gsttypefind.c:
24025 * gst/gsttypefind.h:
24026 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24027 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24028 (gst_type_find_factory_dispose),
24029 (gst_type_find_factory_unload_thyself),
24030 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24031 (gst_type_find_factory_get_caps),
24032 (gst_type_find_factory_get_extensions),
24033 (gst_type_find_factory_call_function):
24034 * gst/gsttypefindfactory.h:
24035 * gst/registries/gstlibxmlregistry.c:
24036 * gst/registries/gstxmlregistry.c:
24037 splitted gsttypefind into gsttypefind, gsttypefindfactory
24039 2005-09-07 Andy Wingo <wingo@pobox.com>
24041 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24042 condition whereby the pad's task function is entered before the
24043 pad_mode variable was set.
24045 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24047 * gst/gstpad.c: (gst_pad_alloc_buffer):
24048 Catch misbehaving pad_alloc functions that don't
24049 set up caps and do it for them.
24051 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24053 * check/pipelines/simple_launch_lines.c: (run_pipeline):
24054 test for pipe!=NULL
24055 * docs/gst/tmpl/.cvsignore:
24056 * docs/gst/tmpl/gstmemchunk.sgml:
24057 * docs/gst/tmpl/gstparse.sgml:
24058 * docs/gst/tmpl/gsttaglist.sgml:
24059 * docs/gst/tmpl/gsttagsetter.sgml:
24060 * docs/gst/tmpl/gsttypefind.sgml:
24061 * docs/gst/tmpl/gsttypefindfactory.sgml:
24062 * gst/gstmemchunk.c:
24065 * gst/gsttaginterface.c:
24066 * gst/gsttypefind.c:
24067 * gst/gsttypefind.h:
24070 === release 0.9.2 ===
24072 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
24077 releasing 0.9.2, "South"
24079 2005-09-05 Andy Wingo <wingo@pobox.com>
24081 * gst/registries/gstxmlregistry.h:
24082 * gst/registries/gstxmlregistry.c: Um... resurrect...
24084 * gst/registries/gstxmlregistry.h:
24085 * gst/registries/gstxmlregistry.c: and update to newer API.
24086 Incidentally they should be a bit faster now that they don't have
24089 2005-09-05 Andy Wingo <wingo@pobox.com>
24091 * gst/registries/gstxmlregistry.h:
24092 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24093 replaced by the libxml registry a while back
24095 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24097 * docs/gst/tmpl/gstplugin.sgml:
24098 * gst/elements/gstelements.c:
24100 * gst/gstplugin.c: (gst_plugin_register_func),
24101 (gst_plugin_desc_copy), (gst_plugin_desc_free),
24102 (gst_plugin_get_source):
24104 * gst/registries/gstlibxmlregistry.c: (load_plugin),
24105 (gst_xml_registry_save_plugin):
24106 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24107 (gst_xml_registry_save_plugin):
24108 * tools/gst-inspect.c: (print_plugin_info):
24109 add a "source" plugin description field, to represent the source
24110 module this plugin is a part of. By default GST_PLUGIN_DEFINE
24111 will set it to PACKAGE, which is automake's idea of the name of
24112 the source project.
24114 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24119 * docs/Makefile.am:
24120 * docs/faq/Makefile.am:
24121 * docs/gst/tmpl/gstelement.sgml:
24122 * docs/gst/tmpl/gsttypes.sgml:
24123 * docs/htmlinstall.mak:
24124 * docs/manual/Makefile.am:
24125 * docs/pwg/Makefile.am:
24126 reorganize doc build a little
24127 split out docbook and gtk-doc stuff
24128 have two separate --enable's and enable them through autogen
24129 but disable by default in configure (to be similar to other
24131 * gstreamer.spec.in:
24132 clean up docs install
24150 translation updates
24152 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
24154 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24157 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24158 (gst_fake_sink_change_state):
24159 Make state change function thread-safe.
24161 * gst/gstpad.c: (gst_pad_alloc_buffer):
24162 Set offset on generic buffer allocated by fallback.
24164 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24166 * docs/gst/gstreamer-sections.txt:
24167 * docs/gst/tmpl/gstelement.sgml:
24169 * libs/gst/controller/gst-controller.c:
24170 (gst_controlled_property_set_interpolation_mode),
24171 (gst_controlled_property_new),
24172 (gst_controller_find_controlled_property):
24173 run the wingo-magic script against the docs
24175 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24177 * docs/gst/gstreamer-docs.sgml:
24178 * docs/gst/gstreamer-sections.txt:
24179 * docs/gst/tmpl/.cvsignore:
24180 * docs/gst/tmpl/gstelementdetails.sgml:
24181 * docs/gst/tmpl/gstelementfactory.sgml:
24184 * gst/gstelementfactory.c:
24185 * gst/gstelementfactory.h:
24186 merged elementdetails docs into elementfactory docs
24189 2005-09-02 Andy Wingo <wingo@pobox.com>
24191 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24192 consider this enum an enum and not a flags.
24194 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24196 * docs/gst/gstreamer-docs.sgml:
24197 * docs/gst/tmpl/.cvsignore:
24198 * docs/gst/tmpl/gstghostpad.sgml:
24199 * docs/gst/tmpl/gstiterator.sgml:
24200 * docs/gst/tmpl/gstmacros.sgml:
24201 * docs/gst/tmpl/gstrealpad.sgml:
24202 * docs/gst/tmpl/gstregistry.sgml:
24203 * docs/gst/tmpl/gstregistrypool.sgml:
24204 * docs/gst/tmpl/gststructure.sgml:
24205 * docs/gst/tmpl/gstsystemclock.sgml:
24206 * docs/gst/tmpl/gsttrace.sgml:
24207 * gst/gstghostpad.c:
24209 * gst/gstmemchunk.c:
24210 * gst/gstmemchunk.h:
24212 * gst/gstregistry.c:
24213 * gst/gstregistrypool.c:
24214 * gst/gststructure.c:
24215 * gst/gstsystemclock.c:
24218 2005-09-02 Andy Wingo <wingo@pobox.com>
24220 * gst/gstelement.h (GstState): Renamed from GstElementState,
24221 changed to be a normal enum instead of flags.
24222 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24223 munged to be GST_STATE_CHANGE_*.
24224 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24225 work with the new state representation.
24226 (GstStateChange): New enumeration of possible state transitions.
24227 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24228 (GstElementClass::change_state): Pass the GstStateChange along as
24229 an argument. Helps language bindings, so they don't have to use
24230 tricky lock-needing macros like GST_STATE_CHANGE ().
24232 * scripts/update-states (file): New script. Run it on a file to
24233 update it for state naming and API changes. Updates files in
24236 * All files updated for the new API.
24238 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24240 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24241 * gst/gstutils.c: (gst_util_set_value_from_string),
24242 (gst_util_set_object_arg):
24243 fix a bunch of unchecked return values
24244 * tools/gst-complete.c: (main):
24245 * gstreamer.spec.in:
24248 2005-09-01 Wim Taymans <wim@fluendo.com>
24250 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24251 (gst_base_sink_event), (gst_base_sink_do_sync),
24252 (gst_base_sink_handle_event):
24253 * gst/base/gstbasesink.h:
24254 Handle newsegments more correctly.
24259 * gst/gstevent.c: (gst_event_new_newsegment):
24260 A newsegment cannot have a start_time of -1
24262 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24264 * win32/gstenumtypes.c:
24265 * win32/gstenumtypes.h:
24268 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24270 * libs/gst/controller/gst-controller.c:
24271 (gst_controlled_property_set_interpolation_mode),
24272 (gst_controlled_property_new):
24273 fixed boolean again
24275 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24277 * docs/faq/gst-uninstalled:
24282 * gst/gstutils.c: (gst_element_link_filtered):
24284 add gst_element_link_filtered
24286 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24288 * docs/gst/gstreamer-docs.sgml:
24289 * docs/gst/gstreamer-sections.txt:
24290 * docs/gst/tmpl/.cvsignore:
24291 * docs/gst/tmpl/gsterror.sgml:
24292 * docs/gst/tmpl/gstfilter.sgml:
24293 * docs/gst/tmpl/gsturihandler.sgml:
24294 * docs/gst/tmpl/gsturitype.sgml:
24295 * docs/gst/tmpl/gstutils.sgml:
24296 * docs/gst/tmpl/gstxml.sgml:
24301 * gst/gsturitype.c:
24304 inlined more docs, fixed double id-ref
24306 2005-08-31 Wim Taymans <wim@fluendo.com>
24308 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24309 (gst_base_transform_handle_buffer):
24310 Passthrough elements don't need the caps as they don't care.
24312 2005-08-31 Wim Taymans <wim@fluendo.com>
24314 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24315 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24316 Don't leak refcounts on buffers.
24318 2005-08-31 Wim Taymans <wim@fluendo.com>
24320 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24321 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24322 (gst_base_transform_chain), (gst_base_transform_change_state):
24323 * gst/base/gstbasetransform.h:
24324 Handle the case where we are not negotiated more gracefully.
24326 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24328 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24329 (gst_file_src_map_region):
24330 Set READONLY flag on mmap'ed buffers, otherwise
24331 gst_buffer_make_writable() won't work properly (#314708).
24333 2005-08-31 Wim Taymans <wim@fluendo.com>
24335 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24336 passthrough elements can even do inplace on non writable
24337 buffers (as they don't touch them).
24339 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24341 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24342 (gst_test_mono_source_set_property),
24343 (gst_test_mono_source_class_init), (GST_START_TEST),
24344 (gst_controller_suite):
24345 more tests (hehe I have the most)
24347 describe popping messages whenusing mulltiple sources
24348 * libs/gst/controller/gst-controller.c:
24349 (gst_controlled_property_set_interpolation_mode),
24350 (gst_controlled_property_new):
24351 * libs/gst/controller/gst-controller.h:
24352 * libs/gst/controller/gst-interpolation.c:
24353 implement boolean properties
24355 2005-08-31 Wim Taymans <wim@fluendo.com>
24357 * gst/gstminiobject.c: (gst_mini_object_ref):
24358 Cannot assert that the refcount has to be positive
24359 since a disposed object can be resurrected.
24361 2005-08-31 Wim Taymans <wim@fluendo.com>
24363 * gst/gstpad.c: (gst_pad_init):
24364 Revert change, need to first fix badly behaving
24367 2005-08-30 Wim Taymans <wim@fluendo.com>
24369 * check/elements/fakesrc.c: (setup_fakesrc):
24370 * check/elements/identity.c: (setup_identity):
24371 Activate pads before using them.
24373 2005-08-30 Wim Taymans <wim@fluendo.com>
24375 * gst/base/gstadapter.c: (gst_adapter_flush):
24376 Flushing out 0 bytes is ok for this function.
24378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24379 no newsegment gives a warning and sets the start/stop to
24382 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24383 (gst_base_transform_set_passthrough):
24386 * gst/gstminiobject.c: (gst_mini_object_ref):
24387 Check refcount here too.
24389 * gst/gstpad.c: (gst_pad_init):
24390 Pads are initially flushing and refusing data.
24392 * gst/gstutils.c: (gst_element_link_pads_filtered):
24393 When adding a capsfilter element make sure it has the
24394 same state as the parent bin.
24396 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24398 * docs/gst/tmpl/.cvsignore:
24399 * docs/gst/tmpl/gstformat.sgml:
24400 * docs/gst/tmpl/gstversion.sgml:
24404 * gst/gstversion.h.in:
24405 more docs and two more inlined
24407 2005-08-30 Wim Taymans <wim@fluendo.com>
24409 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24410 Don't sync to clock.
24412 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24414 * docs/gst/gstreamer-sections.txt:
24415 ultral33t func10ns deserve to appear in the docs actually
24416 * docs/gst/tmpl/.cvsignore:
24417 * docs/gst/tmpl/gstcompat.sgml:
24418 * docs/gst/tmpl/gstconfig.sgml:
24419 * gst/check/gstcheck.c:
24421 * gst/gstconfig.h.in:
24424 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24426 * docs/gst/tmpl/.cvsignore:
24427 * docs/gst/tmpl/gstquery.sgml:
24428 * docs/gst/tmpl/gstutils.sgml:
24431 inlined and extended docs
24433 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24435 * check/gst-libs/controller.c: (GST_START_TEST),
24436 (gst_controller_suite):
24438 * docs/gst/tmpl/gstutils.sgml:
24439 * docs/libs/gstreamer-libs-sections.txt:
24440 * docs/libs/tmpl/gstdataprotocol.sgml:
24442 * examples/controller/audio-example.c: (main):
24443 controller example works now
24446 * tools/gst-inspect.c: (print_element_properties_info):
24447 show param spec flags
24449 2005-08-29 Andy Wingo <wingo@pobox.com>
24451 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24453 2005-08-28 Andy Wingo <wingo@pobox.com>
24455 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24456 as having two arguments instead of just one. Allows superclasses
24457 to access information on subclasses -- see the terrible for() loop
24458 in gtype.c:g_type_create_instance for the reason why. All callers
24461 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24463 * docs/design/part-messages.txt:
24465 * docs/gst/tmpl/.cvsignore:
24466 * docs/gst/tmpl/gstcaps.sgml:
24467 * docs/gst/tmpl/gstclock.sgml:
24473 * gst/gstmessage.c:
24474 added descriptions for bus and message
24475 inline caps and clock docs
24477 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24479 * gst/gstmessage.c:
24480 * gst/gstmessage.h:
24483 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24485 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24488 2005-08-26 Andy Wingo <wingo@pobox.com>
24490 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24491 element_set_state's return val.
24492 (test_2_elements): Add test that's been disabled for months.
24494 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24495 can-activate-pull properties.
24497 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24498 can-activate-pull properties. Implement is_seekable so fakesrc can
24499 operate in pull mode.
24501 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24503 (gst_base_sink_activate, gst_base_sink_activate_pull)
24504 (gst_base_sink_activate_push): Make activation mode choosing work.
24506 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24507 is right. Make pull mode work. Post an eos before pausing in pull
24509 (gst_base_sink_change_state): Pay attention to the core's
24510 change_state() return val.
24512 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24513 has-getrange properties. Cleanups.
24515 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24516 has_getrange and replace with can_activate_pull and
24519 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24520 locking comments. Remove has_loop, has_chain and replace with
24521 can_activate_pull and can_activate_push.
24523 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24526 * examples/Makefile.am:
24527 * examples/metadata/Makefile.am:
24528 * examples/metadata/read-metadata.c: (message_loop),
24529 (have_pad_handler), (make_pipeline), (print_tag), (main):
24530 Add metadata reading example that loops over a list of filenames,
24531 dumping any tags found.
24533 * gst/gstbus.c: (gst_bus_dispose):
24534 * gst/gstelement.c: (gst_element_dispose):
24535 Release a few potentially-held references in dispose.
24537 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24539 * docs/gst/tmpl/gstminiobject.sgml:
24540 do *not* add tmpl/*.sgml files to CVS!
24542 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24544 * libs/gst/bytestream/.cvsignore:
24545 * libs/gst/bytestream/Makefile.am:
24546 * libs/gst/bytestream/adapter.c:
24547 * libs/gst/bytestream/adapter.h:
24548 * libs/gst/bytestream/bytestream.c:
24549 * libs/gst/bytestream/bytestream.h:
24550 * libs/gst/bytestream/filepad.c:
24551 * libs/gst/bytestream/filepad.h:
24552 removing obsolete files
24554 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24556 * docs/gst/gstreamer-docs.sgml:
24557 * docs/libs/gstreamer-libs-docs.sgml:
24558 disabed additional index entries again, as this makes docs-gen just
24559 slow and they aren't useful yet
24560 * docs/libs/gstreamer-libs-sections.txt:
24561 little -section.txt cleanup for libs
24563 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24565 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24566 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24567 fix up some debugging
24568 (gst_base_transform_get_unit_size),
24569 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24570 (gst_base_transform_handle_buffer):
24571 * gst/base/gstbasetransform.h:
24572 handle and store timed NEWSEGMENT events so that subclasses that
24573 calculate time by counting samples have a segment_start time they
24574 need to add to their timestamps - see audioresample
24576 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24579 removed ';' from the end of macro defs
24580 * docs/gst/gstreamer-docs.sgml:
24581 * docs/gst/gstreamer-sections.txt:
24582 * docs/gst/tmpl/.cvsignore:
24584 * gst/gstelement.c: (gst_element_class_init),
24585 (gst_element_set_state), (activate_pads),
24586 (gst_element_save_thyself):
24587 * gst/gstevent.c: (gst_event_new_newsegment):
24589 * gst/gstiterator.c:
24590 * gst/gstiterator.h:
24593 * gst/gstutils.c: (gst_pad_query_convert):
24595 fixed parameter name mismatches between source, header and docs
24596 added some more docs, resolved the last batch of unused elements in
24597 docs (now someone needs to doc them)
24599 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24601 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24602 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24603 don't walk through the plugins backwards. Where is all this
24604 reversed logic coming from ?
24606 2005-08-25 Wim Taymans <wim@fluendo.com>
24608 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24609 (gst_base_transform_transform_size),
24610 (gst_base_transform_configure_caps),
24611 (gst_base_transform_get_unit_size),
24612 (gst_base_transform_buffer_alloc),
24613 (gst_base_transform_change_state):
24614 * gst/base/gstbasetransform.h:
24615 Cache caps unit_size.
24616 Make sure we cannot negotiate up and downstream at the
24619 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24621 * gst/gst.c: (init_pre), (init_post):
24622 register the installed plugin path after the env var
24623 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24624 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24625 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24626 directories, so the tests can prefer uninstalled over installed
24628 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24630 * gst/base/gstbasetransform.h:
24635 2005-08-25 Wim Taymans <wim@fluendo.com>
24637 * gst/gstbin.c: (bin_bus_handler):
24638 Be a bit more conservative about the posted message.
24640 * gst/gstbus.c: (gst_bus_post):
24641 Some cleanups, warn wrong return values.
24643 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24645 * check/gst/gstbin.c: (GST_START_TEST):
24646 * gst/gstbin.c: (bin_bus_handler):
24647 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24648 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24649 (gst_message_new_warning), (gst_message_new_tag),
24650 (gst_message_new_state_changed), (gst_message_new_segment_start),
24651 (gst_message_new_segment_done), (gst_message_new_custom):
24652 * gst/gstmessage.h:
24653 * tools/gst-launch.c: (event_loop):
24654 * tools/gst-md5sum.c: (event_loop):
24655 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24657 2005-08-25 Wim Taymans <wim@fluendo.com>
24659 * check/generic/states.c: (GST_START_TEST):
24660 Cleanup can be done at the end.
24662 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24663 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24664 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24665 Oh boy.. Thanks for finding this, Thomas.
24667 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24669 * docs/gst/gstreamer.types:
24670 added missing types
24672 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24674 * docs/gst/gstreamer-docs.sgml:
24675 * docs/gst/gstreamer-sections.txt:
24676 * docs/gst/tmpl/.cvsignore:
24678 * gst/gstiterator.c:
24680 * gst/registries/gstxmlregistry.h:
24681 added missing classes and symbols (123 more to go)
24682 removed removed symbols from section file
24683 fixed many doc-comments
24685 2005-08-24 Wim Taymans <wim@fluendo.com>
24687 * check/generic/states.c: (GST_START_TEST):
24688 Make sure all tasks are stopped.
24690 * check/gst/gstbin.c: (GST_START_TEST):
24691 Unref after usage for proper valgrinding.
24693 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24694 Really wait for the task to stop before destroying the
24697 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24698 (gst_queue_src_activate_push):
24699 Small cleanups. Don't stop the task when we did not start
24702 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24703 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24704 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24707 Protect the stream lock with the object lock.
24708 Disallow setting the stream lock when running.
24709 Add cleanup_all to wait for the threadpool to finish.
24710 Remove code to autoallocate a mutex if none was provided.
24711 Add _join() to wait for a task to stop.
24712 Protect the thread pool with a global lock.
24714 2005-08-24 Wim Taymans <wim@fluendo.com>
24716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24717 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24718 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24719 * gst/base/gstbasesink.h:
24720 Handle newsegment events correctly.
24721 Drop buffers out of the segment range.
24723 2005-08-22 Andy Wingo <wingo@pobox.com>
24725 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24726 macro, implements an interface and gstimplementsinterface for a
24729 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24731 * check/Makefile.am:
24732 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24733 add a test that does a bunch of state changes on elements
24734 needs some fixing for valgrind
24735 * check/states/sinks.c: (gst_object_suite):
24738 add prototype for gst_caps_is_equal_fixed
24740 * gst/gstregistrypool.c:
24743 2005-08-24 Andy Wingo <wingo@pobox.com>
24745 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24746 convert a negative value. Doesn't make much sense. Mostly this is
24747 here to force callers to ensure -1 maps to -1.
24749 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24751 * docs/pwg/advanced-types.xml:
24752 Well done to Michael for catching my deliberate introduction
24753 of this spelling mistake.
24754 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24755 * gst/gstelement.h:
24756 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24757 unlink pads before removing the element from the bin.
24759 2005-08-24 Andy Wingo <wingo@pobox.com>
24761 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24762 the same thing as GST_DEBUG=*:4.
24763 (parse_debug_level, parse_debug_category): New helper parsers.
24765 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24767 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24768 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24769 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24770 (gst_base_transform_buffer_alloc),
24771 (gst_base_transform_handle_buffer):
24772 use gboolean return values and pointers to size so we can use the
24773 full GST_BUFFER_SIZE range (guint) for buffer sizes
24774 use GstPadDirection for transform_caps
24775 * gst/base/gstbasetransform.h:
24776 rename get_size to get_unit_size since that's what it is
24777 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24778 use GstPadDirection for transform_caps
24779 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24781 cleanup and debugging
24783 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24785 * gst/gstelement.c: (gst_element_class_init),
24786 (gst_element_set_state), (activate_pads),
24787 (gst_element_save_thyself):
24788 * tools/gst-compprep.c: (main):
24789 * tools/gst-inspect.c: (print_element_properties_info):
24790 * tools/gst-xmlinspect.c: (print_element_properties):
24791 Fixed long standing mem-leak
24793 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24795 * check/gst/gstbin.c: (GST_START_TEST):
24796 * gst/gstbin.c: (bin_bus_handler):
24797 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24798 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24799 (gst_message_new_warning), (gst_message_new_tag),
24800 (gst_message_new_state_changed), (gst_message_new_segment_start),
24801 (gst_message_new_segment_done), (gst_message_new_custom):
24802 * gst/gstmessage.h:
24803 * tools/gst-launch.c: (event_loop):
24804 * tools/gst-md5sum.c: (event_loop):
24805 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24806 that applications can sensibly post custom messages with references
24807 to their own objects.
24809 2005-08-24 Andy Wingo <wingo@pobox.com>
24811 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24814 2005-08-24 Wim Taymans <wim@fluendo.com>
24816 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24817 (gst_base_transform_transform_caps),
24818 (gst_base_transform_transform_size),
24819 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24820 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24821 (gst_base_transform_handle_buffer):
24822 * gst/base/gstbasetransform.h:
24823 Many fixes and new features added by Thomas. Can now also do
24824 transforms with variable sizes and a custom fixate_caps function.
24826 2005-08-24 Wim Taymans <wim@fluendo.com>
24828 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24832 Cast to ClockTime before formatting to time.
24837 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24839 * check/gst-libs/controller.c: (GST_START_TEST),
24840 (gst_controller_suite):
24841 * docs/gst/tmpl/gstcaps.sgml:
24842 * docs/gst/tmpl/gstghostpad.sgml:
24843 * docs/gst/tmpl/gstquery.sgml:
24844 * docs/gst/tmpl/gstutils.sgml:
24845 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24846 (gst_object_sink_values), (gst_object_get_value_arrays),
24847 (gst_object_get_value_array):
24848 gracefully handle helper method calls to objects that are not beeing
24849 controlled, added test case for that
24851 2005-08-23 Wim Taymans <wim@fluendo.com>
24853 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24854 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24855 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24856 (gst_event_parse_qos), (gst_event_new_seek),
24857 (gst_event_parse_seek):
24859 Some more debugging output and doc cleanups.
24861 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24862 Fix possible deadlock.
24864 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24866 * docs/gst/gstreamer-docs.sgml:
24867 * docs/gst/gstreamer-sections.txt:
24868 * docs/gst/gstreamer.types:
24869 * docs/gst/tmpl/.cvsignore:
24872 * gst/gstelement.c:
24874 added 100 symbols from gstreamer-unused.txt to the right sections
24875 fixed more broken comments
24876 added GstBus to docs
24878 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24880 * docs/gst/gstreamer-sections.txt:
24881 * docs/gst/tmpl/.cvsignore:
24882 * docs/gst/tmpl/gstbin.sgml:
24883 * docs/gst/tmpl/gstbuffer.sgml:
24884 * gst/base/gstbasesrc.c:
24885 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24888 * tools/gst-launch.1.in:
24889 inlined more doc comments, added missing comments and fixed comments
24892 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24894 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24898 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24900 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24901 * gst/gststructure.h:
24902 add a fixate function for booleans; add a FIXME that these func
24903 names should probably be gst_structure_fixate_*
24905 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24907 * docs/gst/gstreamer-docs.sgml:
24908 * docs/gst/gstreamer-sections.txt:
24910 * gst/gstbin.c: (gst_bin_get_type),
24911 (gst_bin_child_proxy_get_child_by_index),
24912 (gst_bin_child_proxy_get_children_count),
24913 (gst_bin_child_proxy_init):
24914 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24915 (gst_child_proxy_get_child_by_index),
24916 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24917 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24918 (gst_child_proxy_get), (gst_child_proxy_set_property),
24919 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24920 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24921 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24922 * gst/gstchildproxy.h:
24923 * gst/parse/grammar.y:
24924 * tools/gst-inspect.c: (print_interfaces),
24925 (print_element_properties_info), (print_element_info):
24926 ported gstchildproxy over from 0.8
24927 ported gst-inspect fixes and enhancements over from 0.8
24929 2005-08-22 Wim Taymans <wim@fluendo.com>
24931 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24932 (gst_base_transform_handle_buffer):
24933 Also call the transform function if we have ANY caps.
24935 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24938 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24940 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24941 Don't pretend to handle seek events if the source is not seekable
24943 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24945 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24946 Remove extra parameter to debug output
24948 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24949 (gst_base_src_do_seek), (gst_base_src_activate_push):
24950 Fix seek event handling.
24952 * gst/gstpipeline.c: (gst_pipeline_change_state):
24953 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24954 (gst_queue_src_activate_push):
24955 Don't start the src pad task on FLUSH_STOP if the pad
24959 2005-08-22 Wim Taymans <wim@fluendo.com>
24961 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24962 Added check for gst_static_caps_get() refcounting.
24964 2005-08-22 Wim Taymans <wim@fluendo.com>
24966 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24967 Make _static_caps_get() refcounting sane.
24969 * gst/gstelement.c: (gst_element_set_state):
24970 Add g_return_val_if_fail() to protect against segfaults.
24972 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24974 * docs/gst/tmpl/gstevent.sgml:
24977 inlined remaining docs, added missing doc comments
24979 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24981 * check/gst/gstbin.c: (GST_START_TEST):
24982 since we don't know when preroll is done, use refcount range
24984 * gst/check/gstcheck.h:
24985 add macro for checking refcount range
24987 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24989 * check/Makefile.am:
24990 clean up environment for when registry gets built versus
24991 when actual tests are run; valgrind seems to not report
24992 leaks if GST_PLUGIN_PATH is set to some specific values
24993 * check/gst/gstbin.c: (GST_START_TEST):
24994 add more refcounting checks; maybe this exposes a
24996 * common/check.mak:
24997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24998 * gst/check/gstcheck.h:
24999 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25000 (gst_bin_change_state):
25001 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25002 add/fix debugging/whitespace
25004 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25006 * check/gst/gstevent.c: (event_probe), (test_event),
25008 Er, don't call gst_bin_watch_for_state_change you idiot.
25010 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25012 * check/Makefile.am:
25013 Use CHECK_CFLAGS and CHECK_LIBS
25014 * check/gst/gstevent.c: (event_probe), (test_event),
25017 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25018 (gst_base_src_start), (gst_base_src_stop),
25019 (gst_base_src_activate_push), (gst_base_src_activate_pull),
25020 (gst_base_src_change_state):
25021 Sprinkle gst_base_src_stop liberally around error paths to fix
25022 problems reusing a source after failed state changes.
25023 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25024 (helper_find_suggest), (gst_type_find_helper):
25025 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25027 * docs/gst/tmpl/gstevent.sgml:
25028 Migrate part of the docs from the SGML file. Wait for ensonic to
25029 tell me how I did it wrong ;)
25030 * tools/gst-typefind.c: (main):
25031 Extra robustness to state changes between files.
25033 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25035 * check/Makefile.am:
25036 don't valgrind the controller test - it's leaking - Stefan, HELP
25037 * gst/check/gstcheck.c: (gst_check_message_error),
25038 (gst_check_chain_func), (gst_check_setup_element),
25039 (gst_check_teardown_element), (gst_check_setup_src_pad),
25040 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25041 (gst_check_teardown_sink_pad):
25042 * gst/check/gstcheck.h:
25043 add a bunch of methods to set up elements, and src and sink pads
25044 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25045 * check/elements/identity.c: (setup_identity), (cleanup_identity),
25048 * gst/gstmessage.c:
25050 whitespace/doc fixes
25052 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25054 * gst/gstelement.h:
25055 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25056 be handled by the application and not always printed as well
25058 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25060 * check/Makefile.am:
25062 * gst/check/gstcheck.c: (gst_check_message_error):
25063 * gst/check/gstcheck.h:
25064 add a fail_unless_equals_int
25065 add fail_unless for error messages
25067 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25069 * check/Makefile.am:
25071 * common/Makefile.am:
25072 * common/check.mak:
25074 factor out some of the common stuff so we can use it
25076 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25078 * check/Makefile.am:
25079 * check/gst/gstiterator.c: (GST_START_TEST):
25080 * check/gst/gstsystemclock.c: (GST_START_TEST),
25081 (gst_systemclock_suite):
25082 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25084 valgrind more tests
25086 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25088 * check/elements/.cvsignore:
25089 * check/elements/gstfakesrc.c:
25090 rename to name of element
25091 * check/elements/identity.c: (chain_func), (event_func),
25092 (setup_identity), (cleanup_identity), (GST_START_TEST),
25093 (identity_suite), (main):
25094 add a test for identity
25095 * check/Makefile.am:
25096 * pkgconfig/Makefile.am:
25097 * pkgconfig/gstreamer-check.pc.in:
25098 * pkgconfig/gstreamer-check-uninstalled.pc.in:
25102 move the check stuff to a library that gets installed
25103 * check/gst-libs/controller.c: (GST_START_TEST):
25104 * check/gst-libs/gdp.c:
25105 * check/gst/gst.c: (GST_START_TEST):
25106 * check/gst/gstbin.c:
25107 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25108 * check/gst/gstbus.c:
25109 * check/gst/gstcaps.c: (GST_START_TEST):
25110 * check/gst/gstelement.c:
25111 * check/gst/gstghostpad.c:
25112 * check/gst/gstiterator.c:
25113 * check/gst/gstmessage.c:
25114 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25115 * check/gst/gstobject.c:
25116 * check/gst/gstpad.c: (GST_START_TEST):
25117 * check/gst/gststructure.c: (GST_START_TEST):
25118 * check/gst/gstsystemclock.c: (GST_START_TEST),
25119 (gst_systemclock_suite):
25120 * check/gst/gsttag.c: (gst_tag_suite):
25121 * check/gst/gstvalue.c:
25122 * check/pipelines/cleanup.c:
25123 * check/pipelines/simple_launch_lines.c:
25124 * check/states/sinks.c:
25125 change include statement
25127 * docs/gst/gstreamer-sections.txt:
25128 * docs/gst/tmpl/gstpad.sgml:
25129 document more pad stuff
25130 * gst/gstminiobject.c: (gst_mini_object_ref),
25131 (gst_mini_object_unref):
25134 2005-08-19 Stefan Kost <ensonic@users.sf.net>
25136 * docs/gst/tmpl/gst.sgml:
25138 eliminate another tmpl file, fix spelling in the long-description
25140 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25142 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25143 (test_event), (timediff), (gstevents_suite):
25144 Should fix build on 64-bit arch's
25146 2005-08-18 Andy Wingo <wingo@pobox.com>
25148 Make sure that when a pipeline goes to PLAYING, that data has
25149 actually hit the sink.
25151 * check/states/sinks.c (test_sink): A sink that doesn't get any
25152 data shouldn't return SUCCESS for going to either PLAYING or
25153 PAUSED. Test also the return values on the way back down.
25155 * gst/gstelement.c (gst_element_set_state): When changing the
25156 state of an element currently changing state asynchronously, go to
25157 lost-state after commiting the pending state. Makes future calls
25158 to get_state continue to return ASYNC.
25160 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25161 ASYNC when going to PLAYING if we still don't have preroll, as can
25162 happen with live sources.
25164 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25166 * docs/pwg/advanced-types.xml:
25167 Hack long paragraph into 2 chunks as a workaround for buggy
25168 jadetex version in sid and breezy that loops infinitely and
25171 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25173 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25174 (test_event), (timediff), (gstevents_suite):
25175 Provide more error margin in clock measurements to allow for
25176 g_get_current_time inaccuracies.
25178 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25180 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25181 (test_event), (timediff), (gstevents_suite):
25182 Fix error message output so I might be able to tell why the
25183 test works here but fails on the build farm.
25185 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25187 * check/Makefile.am:
25188 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25189 (test_event), (timediff), (gstevents_suite), (main):
25192 * docs/design/part-seeking.txt:
25193 Spelling correction
25195 * docs/gst/tmpl/gstevent.sgml:
25196 * docs/gst/tmpl/gstfakesrc.sgml:
25199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25200 Treat a buffer-without-newsegment the same as a receiving
25201 a newsegment not in time format, and disable syncing to the clock
25204 * gst/gstbus.c: (gst_bus_set_sync_handler):
25205 Assert if anyone tries to replace the existing sync_handler for bus,
25206 as only the owner should be setting it.
25209 Have a fixed set of custom event enums with events identified by
25210 their structure name (as in 0.8), rather than a free-for-all
25211 allowing collisions between enum values from different plugins.
25213 * gst/gstpad.c: (gst_pad_class_init):
25216 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25217 Handle out-of-band downstream events from the sending thread.
25219 2005-08-17 Andy Wingo <wingo@pobox.com>
25221 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25222 play-timeout==0 to mean no timeout at all. In that case, don't
25223 bother with a get_state or a warning, just return directly, even
25226 * gst/base/gstbasetransform.c: Debug changes.
25229 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25230 ensure bins post state change messages. A bit of a hack but I can't
25231 think of a way to avoid it.
25233 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25235 2005-08-16 Andy Wingo <wingo@pobox.com>
25237 * gst/base/gstadapter.h:
25238 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25239 peek() but you own the data. Not terribly efficient atm.
25241 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25243 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25244 (gst_element_found_tags):
25246 Add two utility functions for tag handling.
25248 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25250 * docs/manual/advanced-dataaccess.xml:
25251 * docs/manual/basics-helloworld.xml:
25252 Fix docs to use _bin_add() before _link(), which fixes the examples
25253 with recent core versions (reported by Madhan Raj M
25254 <raj_madan@rediffmail.com>, #313199).
25256 2005-08-16 Wim Taymans <wim@fluendo.com>
25258 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25259 Added subtract checks.
25261 * docs/design/part-events.txt:
25262 Some more docs about newsegment
25264 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25267 * gst/gstcaps.c: (gst_caps_to_string):
25268 Add comments, cleanups.
25270 * gst/gstelement.c: (gst_element_save_thyself):
25273 * gst/gstvalue.c: (gst_value_collect_int_range),
25274 (gst_string_unwrap), (gst_value_union_int_int_range),
25275 (gst_value_union_int_range_int_range),
25276 (gst_value_intersect_int_int_range),
25277 (gst_value_intersect_int_range_int_range),
25278 (gst_value_intersect_double_double_range),
25279 (gst_value_intersect_double_range_double_range),
25280 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25281 (gst_value_subtract_int_range_int),
25282 (gst_value_subtract_double_range_double),
25283 (gst_value_subtract_double_range_double_range),
25284 (gst_value_subtract_from_list), (gst_value_subtract_list),
25285 (gst_value_can_compare), (gst_value_compare_fraction):
25286 Cleanups, add comments, remove unneeded asserts.
25288 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25290 * tools/gst-launch.c: (event_loop):
25291 don't convert NULL structures to strings
25293 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25295 * docs/gst/gstreamer-sections.txt:
25296 made some defines private
25297 * docs/gst/tmpl/gstconfig.sgml:
25298 * docs/gst/tmpl/gstqueue.sgml:
25299 * docs/gst/tmpl/gsttaglist.sgml:
25300 * docs/gst/tmpl/gsttypes.sgml:
25301 * docs/gst/tmpl/gstutils.sgml:
25302 * docs/pwg/appendix-porting.xml:
25303 * gst/base/gstbasesink.h:
25304 * gst/base/gstbasesrc.c:
25305 * gst/base/gstbasesrc.h:
25306 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25307 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25308 * gst/gstelement.c: (gst_element_class_init):
25309 * gst/gstpad.c: (gst_pad_class_init):
25310 * gst/gstqueue.c: (gst_queue_class_init):
25311 * gst/gstxml.c: (gst_xml_class_init):
25312 documented all undocumented signal inline
25313 * libs/gst/controller/gst-controller.h:
25316 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25318 * docs/pwg/appendix-porting.xml:
25319 Document _set_link_function -> _set_setcaps_function.
25321 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25323 * check/Makefile.am:
25324 add a .check target for running the check
25325 * check/gst-libs/controller.c: (GST_START_TEST):
25327 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25328 complete checks for gstbuffer; would be nice if I could get the
25329 gcov stuff to work so I can see if I actually completed gstbuffer.c
25330 * check/gstcheck.h:
25331 add ASSERT_BUFFER_REFCOUNT
25333 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25335 * docs/gst/gstreamer-sections.txt:
25336 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25338 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25339 spew out a warning if a tag that is already registered
25340 is re-registered, unless it is re-registered with a
25341 different type (#308438).
25343 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25345 * docs/pwg/appendix-porting.xml:
25346 * docs/pwg/building-state.xml:
25347 Add some paragraphs about state changes in 0.9 to the PWG
25348 and the porting guide, in particular about the new meaning
25349 of GST_STATE_PAUSED and how to write state change functions
25350 with concurrent access by multiple threads in mind.
25352 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25354 * docs/gst/gstreamer-docs.sgml:
25355 * docs/libs/gstreamer-libs-docs.sgml:
25356 added deprecation and since indexes
25357 * libs/gst/controller/gst-controller.c:
25358 * libs/gst/controller/gst-helper.c:
25362 2005-08-11 Wim Taymans <wim@fluendo.com>
25364 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25365 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25366 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25367 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25368 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25369 (gst_ghost_pad_set_target):
25370 Actually implement (re)setting the target on a ghostpad
25371 as described in the docs.
25373 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25375 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25376 Check whether GST_DEBUG_NO_COLOR environment variable is
25377 set and disable coloured debug output if that is the case.
25379 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25381 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25382 (gst_type_find_helper):
25383 The memory returned by gst_type_find_peek() needs to
25384 stay valid until the end of a typefind function, and
25385 typefind functions may keep results from different
25386 offsets around, so we can't just unref the buffer from
25387 the previous _peek(), but have to save all buffers
25388 returned by _peek() until typefinding is done and only
25391 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25393 * docs/gst/gstreamer-sections.txt:
25395 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25397 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25399 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25400 Fix a pretty good memleak.
25402 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25404 * gst/gstiterator.h:
25405 Fix wrong include and 'make distcheck'.
25407 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25409 * gst/gstbin.c: (bin_bus_handler):
25410 Use gst_element_post_message() instead.
25412 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25414 * gst/base/gstadapter.h:
25415 * gst/base/gstbasesink.h:
25416 * gst/base/gstbasesrc.h:
25417 * gst/base/gstbasetransform.h:
25418 * gst/base/gstcollectpads.h:
25419 * gst/base/gstpushsrc.h:
25420 * gst/gstiterator.h:
25421 Add padding to our base elements' class and instance structs and
25422 to GstIterator (you will need to rebuild all plugins and apps!)
25424 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25426 * gst/gstbin.c: (bin_bus_handler):
25427 Make default message forwarding from child->bus to bin->bus
25428 threadsafe and make it not emit warnings if the parent has no bus.
25430 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25432 * gst/gstelement.c: (activate_pads):
25433 On paused->ready, set pad->caps to NULL, as is the documented
25434 behaviour in this state change. Fixes playback of series of
25435 media files when visualization is enabled in Totem.
25437 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25439 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25440 Allow NULL as filter-caps (which means "any").
25442 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25444 * docs/libs/gstreamer-libs-sections.txt:
25445 * libs/gst/controller/gst-controller.c:
25446 * libs/gst/controller/gst-controller.h:
25447 * libs/gst/controller/gst-helper.c:
25448 adding more entries to the docs and fix small doc-bugs
25450 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25452 * docs/gst/gstreamer-docs.sgml:
25453 * docs/gst/gstreamer-sections.txt:
25454 * docs/gst/gstreamer.types:
25455 * docs/gst/tmpl/gstbasesink.sgml:
25456 * docs/gst/tmpl/gstbasesrc.sgml:
25457 * docs/gst/tmpl/gstbasetransform.sgml:
25458 * docs/gst/tmpl/gstfakesrc.sgml:
25459 * gst/base/gstcollectpads.c:
25460 * gst/base/gstcollectpads.h:
25461 * libs/gst/controller/gst-controller.c:
25462 * libs/gst/controller/gst-controller.h:
25463 * libs/gst/controller/gst-helper.c:
25464 * libs/gst/controller/gst-interpolation.c:
25465 * libs/gst/controller/lib.c:
25466 added long/short desc for controller docs
25467 added collectpads base class docs
25468 added correct includes to base-class docs
25470 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25472 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25473 (gst_test_mono_source_set_property),
25474 (gst_test_mono_source_class_init), (GST_START_TEST),
25475 (gst_controller_suite):
25476 * docs/gst/gstreamer-docs.sgml:
25477 * docs/gst/gstreamer-sections.txt:
25478 * docs/gst/gstreamer.types:
25479 * docs/libs/gstreamer-libs-docs.sgml:
25480 * docs/libs/gstreamer-libs-sections.txt:
25481 * gst/base/gstadapter.c:
25482 * libs/gst/controller/gst-controller.c:
25483 (gst_controlled_property_new), (gst_controlled_property_free),
25484 (gst_controller_new_valist),
25485 (gst_controller_remove_properties_valist),
25486 (gst_controller_sink_values), (_gst_controller_finalize):
25487 * libs/gst/controller/gst-controller.h:
25488 * libs/gst/controller/gst-helper.c:
25489 (gst_object_control_properties), (gst_object_uncontrol_properties),
25490 (gst_object_get_controller), (gst_object_set_controller),
25491 (gst_object_sink_values), (gst_object_get_value_arrays),
25492 (gst_object_get_value_array):
25493 more tests (and fixes) for the controller
25494 more docs for the controller
25495 integrated companies docs for the adapter
25497 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25499 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25500 (GST_START_TEST), (fakesrc_suite):
25501 add tests for sizetype
25503 2005-08-04 Andy Wingo <wingo@pobox.com>
25505 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25506 fixes buffer_alloc proxying among other things.
25508 * gst/base/gstbasetransform.c:
25509 * gst/base/gstbasetransform.h:
25510 Revert patch to gstbasetransform from 7-28 removing
25513 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25514 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25515 Semantics changed, should return not the size of the output buffer
25516 but the byte size of a buffer with a given caps.
25518 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25520 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25521 out) are not the pad caps until setcaps finishes.
25522 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25523 not-in-place case as well. Deal with changing from in-place to
25524 not-in-place within calling pad_alloc_buffer. Still a bit
25525 concerned about the overhead here...
25527 2005-08-03 Andy Wingo <wingo@pobox.com>
25529 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25530 fixating is an error.
25532 2005-08-04 Edward Hervey <edward@fluendo.com>
25534 * gst/base/gstadapter.h:
25535 Added gst_adapter_get_type() to the header
25537 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25539 * check/Makefile.am:
25540 * check/gst-libs/controller.c:
25541 * libs/gst/controller/gst-controller.c:
25542 (gst_controller_new_valist):
25543 added check test suite for the controller
25544 * gst/base/gstpushsrc.c:
25547 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25549 * docs/gst/Makefile.am:
25550 * docs/gst/gstreamer-docs.sgml:
25551 * docs/gst/gstreamer-sections.txt:
25552 * docs/gst/gstreamer.types:
25553 * docs/gst/tmpl/gstfakesrc.sgml:
25555 * gst/base/gstbasesink.c:
25556 * gst/base/gstbasesink.h:
25557 * gst/base/gstbasesrc.c:
25558 * gst/base/gstbasesrc.h:
25559 * gst/base/gstbasetransform.c:
25560 * gst/base/gstpushsrc.c:
25561 * gst/base/gstpushsrc.h:
25562 add short/long description docs to base classes
25563 add pushsrc to the docs
25564 remove consolidated doc fragments
25566 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25569 * docs/libs/Makefile.am:
25570 * docs/libs/gstreamer-libs-docs.sgml:
25571 * docs/libs/gstreamer-libs-sections.txt:
25572 * docs/libs/gstreamer-libs.types:
25573 * examples/Makefile.am:
25574 * examples/controller/.cvsignore:
25575 * examples/controller/Makefile.am:
25576 * examples/controller/audio-example.c: (main):
25577 * libs/gst/Makefile.am:
25578 * libs/gst/controller/.cvsignore:
25579 * libs/gst/controller/Makefile.am:
25580 * libs/gst/controller/gst-controller.c:
25581 (on_object_controlled_property_changed), (gst_timed_value_compare),
25582 (gst_timed_value_find),
25583 (gst_controlled_property_set_interpolation_mode),
25584 (gst_controlled_property_new), (gst_controlled_property_free),
25585 (gst_controller_find_controlled_property),
25586 (gst_controller_new_valist), (gst_controller_new),
25587 (gst_controller_remove_properties_valist),
25588 (gst_controller_remove_properties), (gst_controller_set),
25589 (gst_controller_set_from_list), (gst_controller_unset),
25590 (gst_controller_get), (gst_controller_get_all),
25591 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25592 (gst_controller_get_value_array),
25593 (gst_controller_set_interpolation_mode),
25594 (_gst_controller_finalize), (_gst_controller_init),
25595 (_gst_controller_class_init), (gst_controller_get_type):
25596 * libs/gst/controller/gst-controller.h:
25597 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25598 (g_object_uncontrol_properties), (g_object_get_controller),
25599 (g_object_set_controller), (g_object_sink_values),
25600 (g_object_get_value_arrays), (g_object_get_value_array):
25601 * libs/gst/controller/gst-interpolation.c:
25602 (gst_controlled_property_find_timed_value_node),
25603 (interpolate_none_get), (interpolate_trigger_get),
25604 (interpolate_trigger_get_value_array):
25605 * libs/gst/controller/lib.c: (gst_controller_init):
25606 * pkgconfig/Makefile.am:
25607 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25608 * pkgconfig/gstreamer-control.pc.in:
25609 * testsuite/Makefile.am:
25610 * testsuite/controller/.cvsignore:
25611 * testsuite/controller/Makefile.am:
25612 * testsuite/controller/interpolator.c: (main):
25613 added controller code
25614 removed dparam pc files
25616 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25617 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25618 (gst_collectpads_stop):
25619 Broadcast the condition when shutting down, to make sure we wake all
25620 threads up. Shut down pads on finalize, for safety.
25622 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25623 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25624 (gst_base_transform_handle_buffer),
25625 (gst_base_transform_change_state):
25626 Handle PAUSED->READY->PAUSED transition after negotiation
25628 * gst/gstmessage.c: (gst_message_init):
25629 Extra piece of debug for new messages.
25631 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25634 * docs/gst/tmpl/gstbasesrc.sgml:
25635 * docs/gst/tmpl/gstelement.sgml:
25636 * docs/gst/tmpl/gstevent.sgml:
25637 * docs/gst/tmpl/gstfakesrc.sgml:
25638 * docs/gst/tmpl/gstformat.sgml:
25639 * docs/gst/tmpl/gstghostpad.sgml:
25640 * docs/gst/tmpl/gstpad.sgml:
25641 * docs/gst/tmpl/gstquery.sgml:
25642 * docs/gst/tmpl/gststructure.sgml:
25643 * docs/gst/tmpl/gsttaglist.sgml:
25644 * docs/gst/tmpl/gstvalue.sgml:
25645 * docs/libs/gstreamer-libs-docs.sgml:
25646 * docs/libs/gstreamer-libs-sections.txt:
25647 * docs/libs/gstreamer-libs.types:
25648 * libs/gst/Makefile.am:
25649 * libs/gst/control/.cvsignore:
25650 * libs/gst/control/Makefile.am:
25651 * libs/gst/control/control.c:
25652 * libs/gst/control/control.h:
25653 * libs/gst/control/dparam.c:
25654 * libs/gst/control/dparam.h:
25655 * libs/gst/control/dparam_smooth.c:
25656 * libs/gst/control/dparam_smooth.h:
25657 * libs/gst/control/dparamcommon.h:
25658 * libs/gst/control/dparammanager.c:
25659 * libs/gst/control/dparammanager.h:
25660 * libs/gst/control/dplinearinterp.c:
25661 * libs/gst/control/dplinearinterp.h:
25662 * libs/gst/control/unitconvert.c:
25663 * libs/gst/control/unitconvert.h:
25664 * testsuite/Makefile.am:
25665 * testsuite/dynparams/.cvsignore:
25666 * testsuite/dynparams/Makefile.am:
25667 * testsuite/dynparams/dparamstest.c:
25668 * tools/Makefile.am:
25669 * tools/gst-inspect.c: (print_element_info), (main):
25670 * tools/gst-xmlinspect.c: (print_element_info), (main):
25671 deactivate and remove dparams (libgstcontrol)
25673 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25675 * gst/elements/gsttypefindelement.c:
25676 (gst_type_find_element_have_type), (gst_type_find_element_init),
25677 (stop_typefinding), (gst_type_find_element_handle_event),
25678 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25679 * gst/elements/gsttypefindelement.h:
25680 Set caps on all outgoing buffers, not just the first one.
25682 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25684 * gst/elements/gsttypefindelement.c:
25685 (gst_type_find_element_have_type),
25686 (gst_type_find_element_check_set_buffer_caps),
25687 (gst_type_find_element_init), (stop_typefinding),
25688 (gst_type_find_element_handle_event),
25689 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25690 * gst/elements/gsttypefindelement.h:
25691 Set caps on first outgoing buffer when we've found the type.
25693 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25695 * docs/gst/gstreamer-docs.sgml:
25696 * docs/gst/gstreamer-sections.txt:
25697 * docs/gst/tmpl/gstscheduler.sgml:
25698 * docs/gst/tmpl/gstschedulerfactory.sgml:
25699 Remove some old cruft from docs.
25701 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25704 Fix inline docs for GstPadLinkReturn.
25706 * gst/gststructure.c: (gst_structure_has_name):
25707 * gst/gststructure.h:
25708 * docs/gst/gstreamer-sections.txt:
25709 New API: gst_structure_has_name().
25711 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25714 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25715 and _LARGEFILE_SOURCE in config.h as required. Do not
25716 export those flags in our .pc files any longer (#142209).
25718 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25720 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25721 (gst_file_sink_do_seek), (gst_file_sink_event),
25722 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25723 Redo seek/tell calls with large file support in mind; add some
25724 debugging messages; add log message that tells us when large
25725 file support is unavailable or not enabled for some reason.
25727 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25728 Add log message that tells us when large file support
25729 is unavailable or not enabled for some reason.
25731 2005-07-29 Wim Taymans <wim@fluendo.com>
25733 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25734 Added test for removing an element with ghostpad from a bin.
25735 Fixed test as current implementation does the right thing.
25737 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25738 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25739 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25740 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25741 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25742 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25743 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25744 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25745 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25746 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25747 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25748 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25749 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25750 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25751 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25752 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25753 * gst/gstghostpad.h:
25754 Clean up ghostpads, remove properties for internal stuff.
25757 Prepare for switching targets, not all use cases work yet.
25759 2005-07-29 Wim Taymans <wim@fluendo.com>
25761 * docs/design/part-gstghostpad.txt:
25764 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25765 (gst_bin_remove_func):
25766 Unlinking pads while holding the bin LOCK is not a good
25769 * gst/gstpad.c: (gst_pad_class_init),
25770 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25771 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25772 No prob setting template after creating the pad.
25774 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25776 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25777 (gst_bus_peek), (gst_bus_source_dispatch),
25778 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25779 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25780 gst_bus_poll may be called from other threads. Handle
25781 this nicely by not making poll_data disappear off the
25782 stack once gst_bus_poll returns.
25783 gst_bus_peek now increments the refcount on the returned
25786 2005-07-29 Wim Taymans <wim@fluendo.com>
25788 * docs/design/part-gstghostpad.txt:
25789 Overview of current GhostPad datastructures and use
25790 cases for changing the target.
25792 2005-07-28 Wim Taymans <wim@fluendo.com>
25794 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25795 Added checks for hierarchy consistency whan adding linked
25798 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25799 Added check to test element scheduling without bin/pipeline.
25801 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25802 First add elements to bin, then link.
25804 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25805 (gst_bin_remove_func):
25806 Unlink pads from elements added/removed from bin to maintain
25807 hierarchy consistency.
25809 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25811 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25812 (gst_base_transform_handle_buffer):
25813 * gst/base/gstbasetransform.h:
25814 Remove broken delay_configure (fixes renegotiation of software
25815 scaling pipelines); remove some leftover printf()s.
25817 2005-07-28 Wim Taymans <wim@fluendo.com>
25819 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25820 Added some more tests for wrong hierarchy
25822 * docs/design/part-overview.txt:
25825 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25828 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25829 (gst_element_dispose):
25830 Some more cleanups.
25832 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25833 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25834 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25835 (gst_pad_set_caps), (gst_pad_send_event):
25836 Check for correct hierarchy when linking pads. Moving to
25837 strict requirement for ghostpads when linking elements in
25841 Clean ups. Added WRONG_HIERARCHY return value.
25843 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25845 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25846 Better debug if no transform is possible.
25848 2005-07-27 Wim Taymans <wim@fluendo.com>
25850 * docs/random/wtay/network-transp:
25851 Some old doc I had.
25853 2005-07-27 Wim Taymans <wim@fluendo.com>
25855 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25856 (gst_dp_event_from_packet):
25857 Fix serialization of seek events.
25859 2005-07-27 Wim Taymans <wim@fluendo.com>
25861 * check/gst-libs/gdp.c: (GST_START_TEST):
25862 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25863 Fix compilation and fix event serialization.
25865 2005-07-27 Wim Taymans <wim@fluendo.com>
25868 * docs/design/part-TODO.txt:
25869 * docs/design/part-events.txt:
25872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25873 (gst_base_sink_event), (gst_base_sink_do_sync),
25874 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25875 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25876 (gst_base_src_do_seek), (gst_base_src_event_handler),
25877 (gst_base_src_loop):
25878 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25879 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25880 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25881 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25882 (gst_base_transform_set_passthrough),
25883 (gst_base_transform_is_passthrough):
25884 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25885 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25891 * gst/gstelement.c: (gst_element_seek):
25892 * gst/gstelement.h:
25893 Update gst_element_seek.
25895 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25896 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25897 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25898 (gst_event_new_eos), (gst_event_new_newsegment),
25899 (gst_event_parse_newsegment), (gst_event_new_tag),
25900 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25901 (gst_event_parse_qos), (gst_event_new_seek),
25902 (gst_event_parse_seek), (gst_event_new_navigation):
25904 Make GstEvent use GstStructure. Add parsing code, make sure the
25905 API is sufficiently generic.
25906 Mark possible directions of events and serialization.
25908 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25909 (_gst_message_copy), (gst_message_new_segment_start),
25910 (gst_message_new_segment_done), (gst_message_new_custom),
25911 (gst_message_parse_segment_start),
25912 (gst_message_parse_segment_done):
25915 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25916 (gst_pad_set_caps), (gst_pad_send_event):
25917 Update for new events.
25918 Catch events sent in wrong directions.
25920 * gst/gstqueue.c: (gst_queue_link_src),
25921 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25922 (gst_queue_handle_src_query):
25927 Remove event code from this file.
25929 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25930 (gst_dp_event_from_packet):
25933 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25935 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25936 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25937 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25938 Make debugging actually useful.
25940 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25942 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25943 (gst_pad_fixate_caps):
25944 Implement default fixation once again, so that gst_pad_fixate()
25945 actually does anything at all. This probably needs to be some
25946 sort of a last resort, and use profile-based fixation first, but
25947 since that doesn't exist yet, this is the best we have. Fixes
25948 visualization in Totem.
25950 2005-07-22 Wim Taymans <wim@fluendo.com>
25952 * docs/design/part-events.txt:
25955 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25956 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25957 (gst_base_sink_activate_pull):
25958 Some more comments.
25960 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25961 (gst_fake_src_create):
25962 Fix handoff marshall.
25964 * gst/elements/gstidentity.c: (gst_identity_class_init),
25965 (gst_identity_transform_ip):
25966 We're a real inplace element.
25968 * gst/gstbus.c: (gst_bus_post):
25969 Added some comments.
25971 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25972 * tests/muxing/case1.c: (main):
25973 * tests/sched/dynamic-pipeline.c: (main):
25974 * tests/sched/interrupt1.c: (main):
25975 * tests/sched/interrupt2.c: (main):
25976 * tests/sched/interrupt3.c: (main):
25977 * tests/sched/runxml.c: (main):
25978 * tests/sched/sched-stress.c: (main):
25979 * tests/seeking/seeking1.c: (event_received), (main):
25980 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25982 * tests/threadstate/threadstate3.c: (main):
25983 * tests/threadstate/threadstate4.c: (main):
25984 * tests/threadstate/threadstate5.c: (main):
25987 2005-07-21 Wim Taymans <wim@fluendo.com>
25989 * docs/design/part-seeking.txt:
25990 Some small additions.
25992 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25993 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25994 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25995 * gst/base/gstbasesink.h:
25996 discont values are gint64, handle the math correctly.
25998 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25999 Make the basesrc report error if the source pad is not linked.
26001 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26002 (gst_queue_loop), (gst_queue_handle_src_query),
26003 (gst_queue_src_activate_push):
26004 Make queue collect data even if the srcpad is not linked.
26005 Start pushing out data as soon as it is linked.
26007 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26009 Added gst_flow_get_name() to ease error reporting.
26011 2005-07-20 Wim Taymans <wim@fluendo.com>
26013 * gst/gstmessage.c: (gst_message_new_segment_start),
26014 (gst_message_new_segment_done), (gst_message_parse_segment_start),
26015 (gst_message_parse_segment_done):
26016 * gst/gstmessage.h:
26017 Added a bunch of messages for advanced seeking.
26019 * gst/parse/grammar.y:
26020 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26021 (gst_dpman_state_changed):
26022 Fix some new-pad -> pad-added signals
26024 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26026 * docs/manual/appendix-porting.xml:
26027 * docs/pwg/appendix-porting.xml:
26028 Document new-pad/state-change signal renames and the FixedList
26031 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26033 * docs/manual/advanced-autoplugging.xml:
26034 * docs/manual/basics-helloworld.xml:
26035 * docs/manual/basics-pads.xml:
26036 * docs/random/ds/0.9-suggested-changes:
26037 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26038 * gst/gstelement.h:
26042 * gst/gststructure.c: (gst_structure_value_get_generic_type),
26043 (gst_structure_parse_array), (gst_structure_parse_value):
26044 * gst/gstvalue.c: (gst_type_is_fixed),
26045 (gst_value_list_prepend_value), (gst_value_list_append_value),
26046 (gst_value_list_get_size), (gst_value_list_get_value),
26047 (gst_value_transform_array_string), (gst_value_serialize_array),
26048 (gst_value_deserialize_array), (gst_value_intersect_array),
26049 (gst_value_is_fixed), (_gst_value_initialize):
26051 GstElement::new-pad -> pad-added, GstElement::state-change ->
26052 state-changed, GstValueFixedList -> GstValueArray, add format and
26053 flags as their own arguments in gst_element_seek() (should improve
26054 "bindeability"), remove function generators since they don't work
26055 under a whole bunch of compilers (they were deprecated already
26058 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26060 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26061 (_gst_debug_register_funcptr):
26063 Fix illegal cast on some platforms (#309253).
26065 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26067 * gst/gstmessage.c: (gst_message_new_custom):
26068 * gst/gstmessage.h:
26069 Add _new_custom, make _new_application a macro to _new_custom.
26071 2005-07-20 Wim Taymans <wim@fluendo.com>
26073 * gst/base/gstbasesrc.c: (gst_base_src_init),
26074 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26075 * gst/base/gstbasesrc.h:
26076 Add a gboolean to decide when to push out a discont.
26078 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26079 (gst_queue_loop), (gst_queue_handle_src_query),
26080 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26081 (gst_queue_set_property), (gst_queue_get_property):
26084 * tests/threadstate/threadstate1.c: (main):
26085 Make a thread test compile and run... very silly..
26088 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26090 * docs/manual/appendix-porting.xml:
26091 Mention removal of libgstgconf-0.9.la and existence of gconf
26094 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26096 * docs/pwg/advanced-clock.xml:
26097 * docs/pwg/appendix-porting.xml:
26098 * docs/pwg/intro-preface.xml:
26099 * docs/pwg/other-base.xml:
26100 * docs/pwg/other-manager.xml:
26101 * docs/pwg/other-nton.xml:
26102 * docs/pwg/other-ntoone.xml:
26103 * docs/pwg/other-oneton.xml:
26104 * docs/pwg/pwg.xml:
26105 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26106 demuxer), remove n-to-n (was never written), fix some code examples
26107 and links and update the porting section to include all this.
26109 2005-07-19 Wim Taymans <wim@fluendo.com>
26111 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26112 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26113 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26114 (gst_queue_src_activate_push), (gst_queue_change_state),
26115 (gst_queue_get_property):
26117 Propagate GstFlowReturn more intelligently upstream and output
26118 an ERROR/EOS when streaming stopped due to fatal error.
26120 2005-07-19 Wim Taymans <wim@fluendo.com>
26122 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26123 Don't block forever for the state change to complete, the
26124 pipeline already did with a sensible timeout.
26126 2005-07-19 Wim Taymans <wim@fluendo.com>
26128 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26129 Make sure we never call the create function is we
26132 2005-07-19 Andy Wingo <wingo@pobox.com>
26134 * gst/parse/parse.l: Attempt to solve bug #172815.
26136 2005-07-19 Wim Taymans <wim@fluendo.com>
26138 * docs/design/part-clocks.txt:
26139 * docs/design/part-events.txt:
26140 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26141 Small docs updates.
26142 Only update the seeking values when we are not
26145 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26147 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26148 Oops, ignore the result of gst_pad_push_event here.
26150 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26152 * gst/base/gstbasesrc.c: (gst_base_src_loop),
26153 (gst_base_src_activate_push):
26154 Send discont event from the loop function, as pads
26155 aren't activated yet in the activate_push handler.
26157 * gst/gstbin.c: (bin_bus_handler):
26158 Don't leak element name.
26160 2005-07-18 Andy Wingo <wingo@pobox.com>
26162 * configure.ac: Use AS_LIBTOOL_TAGS.
26164 2005-07-18 Wim Taymans <wim@fluendo.com>
26166 * docs/gst/gstreamer.types:
26167 Remove deleted types.
26169 2005-07-18 Wim Taymans <wim@fluendo.com>
26171 * check/elements/gstfakesrc.c: (GST_START_TEST):
26174 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26175 (init_popt_callback):
26177 * gst/gst_private.h:
26178 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26179 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26182 * gst/gstconfig.h.in:
26183 * gst/gstelement.c: (gst_element_class_init),
26184 (gst_element_set_base_time), (gst_element_get_base_time),
26185 (iterator_fold_with_resync), (gst_element_change_state),
26186 (gst_element_dispose), (gst_element_get_bus):
26187 * gst/gstelement.h:
26188 * gst/gstelementfactory.h:
26189 * gst/gsterror.c: (_gst_core_errors_init):
26192 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26194 * gst/gstinfo.c: (_gst_debug_init):
26195 * gst/gstmessage.c: (_gst_message_copy):
26196 * gst/gstmessage.h:
26197 * gst/gstminiobject.h:
26200 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26201 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26204 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26205 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26206 (gst_pipeline_get_last_stream_time):
26207 * gst/gstpipeline.h:
26208 * gst/gstpluginfeature.h:
26210 * gst/gstscheduler.c:
26211 * gst/gstscheduler.h:
26212 * gst/gststructure.h:
26213 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26214 (gst_task_finalize), (gst_task_func), (gst_task_create),
26215 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26216 (gst_task_stop), (gst_task_pause):
26218 * gst/gsttypefind.h:
26220 * gst/registries/gstlibxmlregistry.c: (load_feature),
26221 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26222 * gst/registries/gstxmlregistry.c:
26223 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26224 * gst/schedulers/threadscheduler.c:
26225 * libs/gst/control/dparammanager.h:
26226 * tools/gst-inspect.c: (print_element_list),
26227 (print_plugin_features), (print_element_features):
26228 * tools/gst-xmlinspect.c: (print_element_list),
26229 (print_plugin_info), (main):
26230 Removed plugable schedulers.
26231 Removed Scheduler/Manager from elements.
26232 Removed gsttypes.h, rearranged includes.
26233 Removed dependency pad<->element, element<>pipeline, and
26234 various others, fix includes.
26235 implement gst_pad_get_parent() with gst_object_get_parent()
26236 Make GstTask sefcontained.
26237 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26239 Fix endless loop in iterator_fold_with_resync.
26242 2005-07-18 Wim Taymans <wim@fluendo.com>
26248 2005-07-18 Wim Taymans <wim@fluendo.com>
26251 No more cothreads.h
26253 2005-07-18 Wim Taymans <wim@fluendo.com>
26257 Let's remove these.
26259 2005-07-18 Wim Taymans <wim@fluendo.com>
26261 * docs/design/part-dynamic.txt:
26262 * docs/design/part-events.txt:
26263 * docs/design/part-seeking.txt:
26264 Some more docs in the works.
26266 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26267 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26268 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26269 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26270 (gst_base_transform_handle_buffer),
26271 (gst_base_transform_sink_activate_push),
26272 (gst_base_transform_src_activate_pull),
26273 (gst_base_transform_set_passthrough),
26274 (gst_base_transform_is_passthrough):
26277 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26280 * gst/gstevent.c: (gst_event_finalize):
26283 * gst/gstutils.c: (gst_element_unlink),
26284 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26285 (gst_pad_proxy_setcaps):
26287 Add _get_parent_element() to get a pads parent as an element.
26289 2005-07-18 Wim Taymans <wim@fluendo.com>
26291 * check/gst/gstbin.c: (GST_START_TEST):
26294 2005-07-18 Wim Taymans <wim@fluendo.com>
26296 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26297 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26298 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26299 (gst_base_sink_event), (gst_base_sink_do_sync),
26300 (gst_base_sink_chain), (gst_base_sink_loop),
26301 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26302 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26304 Fix logic for returning ASYNC when not prerolled.
26306 2005-07-18 Wim Taymans <wim@fluendo.com>
26308 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26309 Fix nasty refcount bug.
26311 2005-07-16 Philippe Khalaf <burger@speedy.org>
26313 * gst/elements/gstfdsrc.c:
26314 * gst/elements/gstfdsrc.h:
26315 * gst/elements/gstelements.c:
26316 * gst/elements/Makefile.am:
26317 Ported fdsrc to 0.9.
26319 2005-07-16 Wim Taymans <wim@fluendo.com>
26321 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26322 (gst_base_sink_do_sync):
26325 2005-07-16 Wim Taymans <wim@fluendo.com>
26327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26328 (gst_base_sink_event), (gst_base_sink_get_times),
26329 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26330 * gst/base/gstbasesink.h:
26331 Store and use discont values when syncing buffers as described
26334 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26335 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26336 (gst_base_src_activate_push):
26337 Push discont event when starting.
26339 * gst/elements/gstidentity.c: (gst_identity_transform):
26342 * gst/gstbin.c: (gst_bin_change_state):
26343 Small cleanups in base_time distribution.
26345 * gst/gstelement.c: (gst_element_set_base_time),
26346 (gst_element_get_base_time), (gst_element_change_state):
26347 * gst/gstelement.h:
26348 Added methods for the base_time of the element.
26351 * gst/gstpipeline.c: (gst_pipeline_send_event),
26352 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26353 (gst_pipeline_get_last_stream_time):
26354 * gst/gstpipeline.h:
26356 Handle seeking as described in design doc, remove stream_time
26358 Cleanups clock and stream_time selection code. Added accessors
26359 for the stream_time.
26362 2005-07-16 Andy Wingo <wingo@pobox.com>
26364 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26367 2005-07-16 Wim Taymans <wim@fluendo.com>
26369 * check/gst/gstbin.c: (GST_START_TEST):
26370 Make elements silent as the deep_notify refs the
26371 parent, which might make the test fail.
26373 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26374 Don't hold the lock for too long.
26376 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26378 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26379 Don't unref the caps we passed to gst_caps_make_writable() after
26380 passing them. gst_caps_make_writable() will do that for us.
26382 2005-07-15 Andy Wingo <wingo@pobox.com>
26384 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26387 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26388 own marshalling function for the handoff signal. Properly type the
26389 buffer as a buffer. Fixes some warnings. Should do a more general
26391 (gst_identity_class_init): Plug into the right marshaller.
26393 2005-07-15 Wim Taymans <wim@fluendo.com>
26395 * docs/design/part-TODO.txt:
26396 * docs/design/part-clocks.txt:
26397 * docs/design/part-element-sink.txt:
26398 * docs/design/part-events.txt:
26399 * docs/design/part-gstpipeline.txt:
26400 Updated docs, mostly DISCONT related.
26402 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26404 * docs/pwg/building-pads.xml:
26405 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26407 2005-07-15 Andy Wingo <wingo@pobox.com>
26409 * tools/gst-typefind.c: Update, add copyright block.
26411 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26412 Normalize and truncate caps before fixation.
26415 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26416 discards all but the first structure from its argument.
26418 2005-07-15 Wim Taymans <wim@fluendo.com>
26420 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26421 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26422 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26423 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26424 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26425 (gst_base_transform_chain), (gst_base_transform_change_state),
26426 (gst_base_transform_set_passthrough),
26427 (gst_base_transform_is_passthrough):
26428 * gst/base/gstbasetransform.h:
26429 Make passthrough work using the bufferpools.
26430 Changed API a bit, subclasses have to write into a buffer
26431 provided by the base class.
26432 More debug info in nego functions.
26434 * gst/elements/gstidentity.c: (gst_identity_init),
26435 (gst_identity_transform):
26436 Port to new base class.
26438 2005-07-15 Wim Taymans <wim@fluendo.com>
26440 * gst/gstmessage.c: (gst_message_new_state_changed):
26441 * tools/gst-launch.c: (event_loop), (main):
26442 Totally dump messages in -launch with the -m option.
26443 Fix message name for State messages,
26445 2005-07-14 Wim Taymans <wim@fluendo.com>
26447 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26448 Post error messages on errors.
26450 2005-07-14 Wim Taymans <wim@fluendo.com>
26452 * gst/gstcaps.c: (gst_caps_do_simplify):
26456 Define error for stream stopped.
26458 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26459 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26460 Do proper return values.
26462 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26463 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26464 (gst_pad_get_range):
26465 Better return values.
26468 Reorganise return values, add macro to check for fatal errors.
26470 * gst/gstqueue.c: (gst_queue_chain):
26471 Return proper GstFlowReturn values,
26473 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26475 * docs/gst/gstreamer-sections.txt:
26476 * docs/gst/gstreamer.types:
26477 * docs/gst/tmpl/gst.sgml:
26478 * docs/gst/tmpl/gstbasesink.sgml:
26479 * docs/gst/tmpl/gstbasesrc.sgml:
26480 * docs/gst/tmpl/gstbasetransform.sgml:
26481 * docs/gst/tmpl/gstbin.sgml:
26482 * docs/gst/tmpl/gstbuffer.sgml:
26483 * docs/gst/tmpl/gstcaps.sgml:
26484 * docs/gst/tmpl/gstclock.sgml:
26485 * docs/gst/tmpl/gstcompat.sgml:
26486 * docs/gst/tmpl/gstconfig.sgml:
26487 * docs/gst/tmpl/gstelement.sgml:
26488 * docs/gst/tmpl/gstelementdetails.sgml:
26489 * docs/gst/tmpl/gstelementfactory.sgml:
26490 * docs/gst/tmpl/gstenumtypes.sgml:
26491 * docs/gst/tmpl/gsterror.sgml:
26492 * docs/gst/tmpl/gstevent.sgml:
26493 * docs/gst/tmpl/gstfakesink.sgml:
26494 * docs/gst/tmpl/gstfakesrc.sgml:
26495 * docs/gst/tmpl/gstfilesink.sgml:
26496 * docs/gst/tmpl/gstfilesrc.sgml:
26497 * docs/gst/tmpl/gstfilter.sgml:
26498 * docs/gst/tmpl/gstformat.sgml:
26499 * docs/gst/tmpl/gstghostpad.sgml:
26500 * docs/gst/tmpl/gstimplementsinterface.sgml:
26501 * docs/gst/tmpl/gstindex.sgml:
26502 * docs/gst/tmpl/gstindexfactory.sgml:
26503 * docs/gst/tmpl/gstinfo.sgml:
26504 * docs/gst/tmpl/gstiterator.sgml:
26505 * docs/gst/tmpl/gstmacros.sgml:
26506 * docs/gst/tmpl/gstmemchunk.sgml:
26507 * docs/gst/tmpl/gstminiobject.sgml:
26508 * docs/gst/tmpl/gstobject.sgml:
26509 * docs/gst/tmpl/gstpad.sgml:
26510 * docs/gst/tmpl/gstpadtemplate.sgml:
26511 * docs/gst/tmpl/gstparse.sgml:
26512 * docs/gst/tmpl/gstpipeline.sgml:
26513 * docs/gst/tmpl/gstplugin.sgml:
26514 * docs/gst/tmpl/gstpluginfeature.sgml:
26515 * docs/gst/tmpl/gstquery.sgml:
26516 * docs/gst/tmpl/gstqueue.sgml:
26517 * docs/gst/tmpl/gstregistry.sgml:
26518 * docs/gst/tmpl/gstregistrypool.sgml:
26519 * docs/gst/tmpl/gstscheduler.sgml:
26520 * docs/gst/tmpl/gstschedulerfactory.sgml:
26521 * docs/gst/tmpl/gststructure.sgml:
26522 * docs/gst/tmpl/gstsystemclock.sgml:
26523 * docs/gst/tmpl/gsttaglist.sgml:
26524 * docs/gst/tmpl/gsttagsetter.sgml:
26525 * docs/gst/tmpl/gsttrace.sgml:
26526 * docs/gst/tmpl/gsttrashstack.sgml:
26527 * docs/gst/tmpl/gsttypefind.sgml:
26528 * docs/gst/tmpl/gsttypefindfactory.sgml:
26529 * docs/gst/tmpl/gsttypes.sgml:
26530 * docs/gst/tmpl/gsturihandler.sgml:
26531 * docs/gst/tmpl/gsturitype.sgml:
26532 * docs/gst/tmpl/gstutils.sgml:
26533 * docs/gst/tmpl/gstvalue.sgml:
26534 * docs/gst/tmpl/gstversion.sgml:
26535 * docs/gst/tmpl/gstxml.sgml:
26536 * docs/libs/tmpl/gstcontrol.sgml:
26537 * docs/libs/tmpl/gstdataprotocol.sgml:
26538 * docs/libs/tmpl/gstdparam.sgml:
26539 * docs/libs/tmpl/gstdplinint.sgml:
26540 * docs/libs/tmpl/gstdpman.sgml:
26541 * docs/libs/tmpl/gstdpsmooth.sgml:
26542 * docs/libs/tmpl/gstgetbits.sgml:
26543 * docs/libs/tmpl/gstunitconvert.sgml:
26544 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26545 (gst_push_src_base_init), (gst_push_src_class_init),
26546 (gst_push_src_init), (gst_push_src_create):
26547 * gst/base/gstpushsrc.h:
26548 * gst/elements/gstelements.c:
26549 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26550 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26551 (gst_fake_sink_init), (gst_fake_sink_set_property),
26552 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26553 (gst_fake_sink_event), (gst_fake_sink_preroll),
26554 (gst_fake_sink_render), (gst_fake_sink_change_state):
26555 * gst/elements/gstfakesink.h:
26556 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26557 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26558 (gst_fake_src_base_init), (gst_fake_src_class_init),
26559 (gst_fake_src_init), (gst_fake_src_event_handler),
26560 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26561 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26562 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26563 (gst_fake_src_create_buffer), (gst_fake_src_create),
26564 (gst_fake_src_start), (gst_fake_src_stop):
26565 * gst/elements/gstfakesrc.h:
26566 * gst/elements/gstfilesink.c: (_do_init),
26567 (gst_file_sink_base_init), (gst_file_sink_class_init),
26568 (gst_file_sink_init), (gst_file_sink_dispose),
26569 (gst_file_sink_set_location), (gst_file_sink_set_property),
26570 (gst_file_sink_get_property), (gst_file_sink_open_file),
26571 (gst_file_sink_close_file), (gst_file_sink_query),
26572 (gst_file_sink_event), (gst_file_sink_render),
26573 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26574 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26575 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26576 * gst/elements/gstfilesink.h:
26577 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26578 (gst_file_src_class_init), (gst_file_src_init),
26579 (gst_file_src_finalize), (gst_file_src_set_location),
26580 (gst_file_src_set_property), (gst_file_src_get_property),
26581 (gst_file_src_map_region), (gst_file_src_map_small_region),
26582 (gst_file_src_create_mmap), (gst_file_src_create_read),
26583 (gst_file_src_create), (gst_file_src_is_seekable),
26584 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26585 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26586 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26587 (gst_file_src_uri_handler_init):
26588 * gst/elements/gstfilesrc.h:
26589 more autistic cleanliness in functions/names/defines
26591 2005-07-13 Andy Wingo <wingo@pobox.com>
26593 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26594 source couldn't negotiate.
26596 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26600 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26601 function. I am channeling Hades. Put your boots on suckers!!!
26603 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26605 * testsuite/caps/Makefile.am:
26606 * testsuite/caps/value_compare.c:
26607 * testsuite/caps/value_intersect.c:
26608 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26609 move two testsuite apps over to the check dir
26611 2005-07-12 Wim Taymans <wim@fluendo.com>
26613 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26614 Added more debug info in the negotiate process.
26616 * gst/gstmessage.h:
26617 Prepare for segment playback.
26619 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26625 * tools/gst-launch.c: (main):
26626 NULL pipeline on errors.
26628 2005-07-12 Andy Wingo <wingo@pobox.com>
26630 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26631 not it comes from a malloc region. Make sure our copy gets freed.
26633 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26635 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26636 * check/gst/gstmessage.c: (GST_START_TEST):
26637 * check/gst/gststructure.c: (GST_START_TEST),
26638 (gst_structure_suite), (main):
26640 * gst/gstelement.c: (gst_element_message_full):
26641 clean up GError and debug string now that they get copied
26642 * gst/gstmessage.c: (gst_message_new_error),
26643 (gst_message_new_warning), (gst_message_parse_error),
26644 (gst_message_parse_warning):
26645 use GST_TYPE_G_ERROR for structure_new, and take copies of
26646 arguments, so that we don't mess up refcounting
26648 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26650 * check/Makefile.am:
26651 add per-test valgrind targets
26652 * check/gst-libs/gdp.c: (GST_START_TEST),
26653 (gst_data_protocol_suite), (main):
26656 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26658 * check/Makefile.am:
26659 instate more valgrindable tests
26660 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26661 (GST_START_TEST), (fakesrc_suite):
26662 * check/gst/gstpad.c: (GST_START_TEST):
26663 * check/gst/gststructure.c: (GST_START_TEST):
26665 * docs/gst/tmpl/gstminiobject.sgml:
26666 * gst/gstpad.c: (gst_pad_finalize):
26667 fix the static mutex leak
26669 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26671 * check/Makefile.am:
26672 add two more tests for valgrinding
26673 * check/gst/gstvalue.c: (GST_START_TEST):
26674 test refcount of deserialized buffer, found a leak
26675 * docs/gst/gstreamer-docs.sgml:
26676 * docs/gst/gstreamer-sections.txt:
26677 * docs/gst/gstreamer.types:
26678 * docs/gst/tmpl/gstminiobject.sgml:
26679 add miniobject to docs
26680 * gst/gstminiobject.c:
26682 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26683 (gst_string_unwrap):
26684 fix a hard-to-find invalid write for one of the tests
26685 fix a leak for deserialized buffers
26687 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26689 * docs/pwg/advanced-events.xml:
26690 * docs/pwg/advanced-request.xml:
26691 * docs/pwg/advanced-scheduling.xml:
26692 * docs/pwg/appendix-porting.xml:
26693 * docs/pwg/building-boiler.xml:
26694 * docs/pwg/intro-preface.xml:
26695 * docs/pwg/other-ntoone.xml:
26696 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26697 of example code and explanation for pad activation, loop() and
26698 getrange() functions and a bit more. Remove old comments pointing
26700 * examples/pwg/Makefile.am:
26701 Add loop/getrange examples.
26703 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26706 check for valgrind binary + some fixes
26708 valgrind suppressions for the tests
26709 * check/Makefile.am:
26710 add a valgrind: target that valgrinds the unit tests
26711 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26712 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26713 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26714 * check/gst/gstghostpad.c:
26716 * check/gst/gstdata.c:
26718 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26719 (thread_unref), (gst_mini_object_suite), (main):
26721 * gst/gst.c: (gst_deinit):
26723 add a method to clean up.
26724 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26725 (gst_system_clock_obtain):
26726 allow for disposing the system clock.
26727 * tools/gst-launch.c: (main):
26730 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26732 * docs/gst/tmpl/gstbasesrc.sgml:
26733 * docs/gst/tmpl/gstfakesrc.sgml:
26734 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26735 (gst_base_src_init), (gst_base_src_set_property),
26736 (gst_base_src_get_property), (gst_base_src_get_range),
26737 (gst_base_src_start):
26738 * gst/base/gstbasesrc.h:
26739 add num-buffers property
26740 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26741 (gst_fakesrc_init), (gst_fakesrc_set_property),
26742 (gst_fakesrc_get_property), (gst_fakesrc_create),
26743 (gst_fakesrc_start):
26744 remove num-buffers property
26746 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26748 * docs/gst/gstreamer-sections.txt:
26749 * docs/gst/tmpl/gstbasesink.sgml:
26750 * docs/gst/tmpl/gstbasesrc.sgml:
26751 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26752 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26753 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26754 (gst_base_sink_set_property), (gst_base_sink_get_property),
26755 (gst_base_sink_handle_object), (gst_base_sink_event),
26756 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26757 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26758 (gst_base_sink_loop), (gst_base_sink_deactivate),
26759 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26760 (gst_base_sink_change_state):
26761 * gst/base/gstbasesink.h:
26762 * gst/base/gstbasesrc.h:
26763 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26764 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26765 (gst_filesink_init):
26766 more macro splitting
26768 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26770 * gst/gstelement.c: (gst_element_get_bus):
26772 * tools/gst-launch.c: (check_intr), (event_loop):
26775 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26777 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26780 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26782 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26783 (gst_base_src_finalize):
26784 add finalize method and clean up properly
26785 * gst/gstpipeline.c: (gst_pipeline_dispose):
26788 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26790 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26792 add more things to check
26793 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26794 * gst/gstelement.c:
26797 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26799 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26800 (GST_START_TEST), (fakesrc_suite):
26801 * check/gst-libs/gdp.c: (GST_START_TEST):
26802 * check/gst/gst.c: (GST_START_TEST):
26803 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26804 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26805 * check/gst/gstbus.c: (GST_START_TEST):
26806 * check/gst/gstcaps.c: (GST_START_TEST):
26807 * check/gst/gstdata.c: (GST_START_TEST):
26808 * check/gst/gstelement.c: (GST_START_TEST):
26809 * check/gst/gstghostpad.c: (GST_START_TEST):
26810 * check/gst/gstiterator.c: (GST_START_TEST):
26811 * check/gst/gstmessage.c: (GST_START_TEST):
26812 * check/gst/gstobject.c: (GST_START_TEST):
26813 * check/gst/gstpad.c: (GST_START_TEST):
26814 * check/gst/gststructure.c: (GST_START_TEST):
26815 * check/gst/gstsystemclock.c: (GST_START_TEST),
26816 (gst_systemclock_suite):
26817 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26818 * check/gst/gstvalue.c: (GST_START_TEST):
26819 * check/pipelines/cleanup.c: (GST_START_TEST):
26820 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26821 * check/states/sinks.c: (GST_START_TEST):
26822 * check/gstcheck.c: (gst_check_init):
26823 * check/gstcheck.h:
26824 add debugging category
26825 use GST_START_TEST now, so we add a debug line
26827 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26829 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26830 add test for state change message on a bin
26831 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26833 * gst/gstbin.c: (gst_bin_init):
26834 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26835 * gst/gstelement.c: (gst_element_post_message),
26836 (gst_element_set_state):
26837 * gst/gstelementfactory.c: (gst_element_factory_create):
26838 * gst/gstmessage.c: (gst_message_new):
26839 * gst/gstscheduler.c:
26840 various debugging additions and cleanups
26842 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26844 * check/Makefile.am:
26845 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26847 adding tests for elements
26848 * gst/gstelement.c: (gst_element_dispose):
26850 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26852 * gst/registries/gstlibxmlregistry.c: (load_feature):
26853 plug more leaks. A simple gst_init() now is leakfree, yay.
26855 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26857 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26858 (gst_xml_registry_load):
26859 plug another memleak
26861 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26864 use GST_SET_ERROR_CFLAGS
26865 * docs/faq/cvs.xml:
26866 change to ERROR_CFLAGS
26868 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26871 make GST_ERROR_CFLAGS overridable and re-enable Werror
26872 * docs/faq/cvs.xml:
26873 add a note about error CFLAGS
26874 * docs/gst/tmpl/gstfakesrc.sgml:
26875 * gst/elements/gstfakesrc.c:
26876 comment out some unused code
26877 * gst/gst.c: (split_and_iterate):
26878 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26882 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26884 * common/Makefile.am:
26885 * common/gtk-doc.mak:
26886 * docs/gst/Makefile.am:
26887 factor out gtk-doc.mak
26889 2005-07-07 Wim Taymans <wim@fluendo.com>
26891 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26892 (gst_thread_scheduler_dispose):
26893 Unlock the STREAM_LOCK completely.
26895 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26897 * check/Makefile.am:
26898 * check/elements/.cvsignore:
26899 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26900 (START_TEST), (fakesrc_suite), (main):
26901 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26902 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26903 (gst_fakesrc_create), (gst_fakesrc_start):
26904 * gst/elements/gstfakesrc.h:
26905 adding a first element test
26907 2005-07-07 Andy Wingo <wingo@pobox.com>
26909 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26912 2005-07-07 Wim Taymans <wim@fluendo.com>
26918 2005-07-07 Wim Taymans <wim@fluendo.com>
26920 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26921 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26922 Allow subclasses to implement their own negotiation.
26924 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26926 * docs/design/part-gstbin.txt:
26927 * docs/design/part-gstpipeline.txt:
26928 Update design notes to reflect the movement of
26929 responsibility for bus handling from GstPipeline to
26932 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26935 Remove unnecessary queue2/3/4 examples.
26937 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26939 * examples/Makefile.am:
26940 * examples/helloworld/helloworld.c: (event_loop), (main):
26941 * examples/queue/queue.c: (event_loop), (main):
26942 * examples/queue2/queue2.c: (main):
26943 Update a couple of the examples to work again.
26945 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26946 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26947 Spelling corrections and extra debug.
26949 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26950 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26951 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26953 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26954 (gst_pipeline_change_state):
26955 * gst/gstpipeline.h:
26956 Move the bus handler for children to the GstBin, and create a
26957 separate bus for receiving messages from children to the one the
26958 bus sends 'upwards' on.
26960 2005-07-06 Wim Taymans <wim@fluendo.com>
26963 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26964 (gst_base_sink_handle_object), (gst_base_sink_loop),
26965 (gst_base_sink_change_state):
26966 * gst/base/gstbasesink.h:
26967 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26968 (gst_base_src_init), (gst_base_src_setcaps),
26969 (gst_base_src_getcaps), (gst_base_src_loop),
26970 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26971 (gst_base_src_start), (gst_base_src_change_state):
26972 * gst/base/gstbasesrc.h:
26973 Make basesrc negotiate.
26974 Handle the case where preroll fails in basesink.
26977 2005-07-06 Wim Taymans <wim@fluendo.com>
26979 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26980 Implement the fixate function.
26981 Clean up acceptcaps.
26983 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26985 * docs/pwg/building-filterfactory.xml:
26986 * docs/pwg/pwg.xml:
26987 Remove never-written filter-factory chapter; I'll add the various
26988 base classes to part 4 ("other element types") later on.
26990 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26992 * docs/pwg/advanced-negotiation.xml:
26993 * docs/pwg/building-boiler.xml:
26994 * docs/pwg/building-pads.xml:
26995 * docs/pwg/pwg.xml:
26996 * examples/pwg/Makefile.am:
26997 Add a chapter on caps negotiation, simplify the original code
26998 samples a bit w.r.t. caps negotiation, add link to the advanced
26999 section. Add a bunch of examples showing different use cases of
27000 different types of caps negotiation. Upstream renegotiation isn't
27001 fully documented yet since nobody knows how that works.
27003 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
27005 * check/gst/gstpad.c:
27006 * check/gstcheck.c:
27007 * gst/gstpad.c: (gst_pad_get_internal_links_default):
27008 if pad has no parent, return NULL as list of internal links
27010 2005-07-05 Andy Wingo <wingo@pobox.com>
27012 * gst/elements/gstfilesrc.c:
27013 * gst/elements/gstfakesrc.c:
27014 * gst/base/gstpushsrc.c:
27015 * gst/base/gstbasesrc.h:
27016 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27018 2005-07-05 Stefan Kost <ensonic@users.sf.net>
27021 better report generation target (lcov needs a patch)
27023 2005-07-05 Andy Wingo <wingo@pobox.com>
27025 * gst/elements, testsuite: Null if we got it...
27027 2005-07-05 Wim Taymans <wim@fluendo.com>
27030 * libs/gst/dataprotocol/Makefile.am:
27031 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27032 * libs/gst/dataprotocol/dataprotocol.h:
27033 * pkgconfig/Makefile.am:
27034 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27035 * pkgconfig/gstreamer-dataprotocol.pc.in:
27036 Ported dataprotol to 0.9.
27037 Added pkgconfig files.
27039 2005-07-05 Andy Wingo <wingo@pobox.com>
27041 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27042 Default to returning TRUE for the case when tranform_caps returns
27043 a fixed caps, like for identity or volume.
27045 * check/gst/gstbus.c (pound_bus_with_messages):
27046 * check/gst/gstmessage.c (START_TEST):
27047 * check/pipelines/simple_launch_lines.c (got_handoff): Application
27048 message API change.
27050 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27051 logic weaks here: always run transform_caps, trying passthrough
27052 operation only if the original caps intersects with the transform.
27054 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27055 source and sink caps.
27057 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27058 Intersect the peer caps with the pad template before going into
27060 (gst_base_transform_transform_caps): More debugging.
27062 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27065 2005-07-04 Edward Hervey <edward@fluendo.com>
27069 (gst_pad_add_*_probe): now returns the signal id for better wrapping
27072 2005-07-04 Andy Wingo <wingo@pobox.com>
27074 * check/gst/gstpad.c: Only set explicit caps on pads.
27076 2005-07-01 Andy Wingo <wingo@pobox.com>
27078 * tests/network-clock.scm: Commentary update.
27080 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27081 Didn't really make sense, not implementable with basetransform,
27083 (gst_identity_transform): Unref inbuf via make_writable. Feeble
27084 attempt at implementing the sync property, needs an unlock method.
27086 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27087 New func, by default returns the same caps (the identity
27089 (gst_base_transform_getcaps): Uses transform_caps to return
27090 something sensible.
27091 (gst_base_transform_setcaps): Complicated logic to get caps on
27092 both pads, even if they are different, and to call set_caps once
27093 for every time both pads get their caps set.
27094 (gst_base_transform_handle_buffer): Give the ref to the transform
27095 function. Allows in-place modification of the buffer.
27097 * gst/base/gstbasetransform.h (transform_caps): New class method.
27098 Given caps on one side, what can I do on the other.
27099 (set_caps): Take two caps, one for each side of the element.
27102 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27103 caps in place. This is safe because we can check the mutability of
27104 the caps, and a good idea because fixate functions are just called
27105 as a matter of last resort. (Not actually implemented.)
27106 (gst_pad_set_caps): If the caps we're setting is actually the same
27107 as the existing pad caps, just update the pointer without calling
27108 setcaps. Assert that caps is either NULL or fixed, as per the
27111 * gst/gstghostpad.c: Update for fixate changes.
27113 2005-07-02 Andy Wingo <wingo@pobox.com>
27116 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27117 two refcounts makes it immutable, which is enough. Doc more.
27119 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
27121 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27122 Put the mini_object into GValue as a mini_object,
27123 not a gpointer, since that's how we declared
27126 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27128 * examples/pwg/Makefile.am:
27129 Fix buildbot again.
27131 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27133 * docs/pwg/building-testapp.xml:
27135 * examples/pwg/Makefile.am:
27138 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27141 * examples/Makefile.am:
27142 * examples/pwg/Makefile.am:
27143 * examples/pwg/extract.pl:
27144 Enable building the PWG examples.
27145 * docs/pwg/advanced-interfaces.xml:
27146 Add URI interface stub.
27147 * docs/pwg/advanced-types.xml:
27148 * docs/pwg/other-autoplugger.xml:
27149 * docs/pwg/appendix-porting.xml:
27150 * docs/pwg/pwg.xml:
27151 Add porting guide (mostly stubs), remove autoplugging (see ADM).
27152 * docs/pwg/building-boiler.xml:
27153 * docs/pwg/building-chainfn.xml:
27154 * docs/pwg/building-pads.xml:
27155 * docs/pwg/building-props.xml:
27156 * docs/pwg/building-state.xml:
27157 * docs/pwg/building-testapp.xml:
27158 Update the building-*.xml parts for 0.9 changes. All examples
27159 code blocks compile in examples/pwg/*.
27161 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27163 * docs/manual/advanced-autoplugging.xml:
27164 * docs/manual/appendix-checklist.xml:
27165 * docs/manual/appendix-integration.xml:
27166 * docs/manual/highlevel-components.xml:
27167 Fix playbin/decodebin examples, update docs a bit, mention bus
27168 instead of signals in various places, mention kmplayer and
27169 kaffeine since they have a working GStreamer backend in the KDE
27172 2005-06-30 Wim Taymans <wim@fluendo.com>
27175 * docs/design/draft-ghostpads.txt:
27176 * docs/design/draft-push-pull.txt:
27177 * docs/design/draft-query.txt:
27178 * docs/design/part-TODO.txt:
27179 * docs/design/part-query.txt:
27180 Added CHANGES-0.9 doc, updated status of other docs.
27185 2005-06-30 Wim Taymans <wim@fluendo.com>
27187 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27188 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27189 (gst_base_sink_change_state):
27190 * gst/base/gstbasesink.h:
27191 Some tweaks, only EOS and a buffer complete a preroll.
27193 2005-06-30 Andy Wingo <wingo@pobox.com>
27195 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27196 activate_push down to the internal pad as well.
27198 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27200 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27202 * gst/gsttaginterface.c:
27203 Some documentation fixes (#307394 and #307397).
27205 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27207 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27209 * gst/gstvalue.c: (gst_value_intersect_list):
27210 Fix memleak (#309125).
27212 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27214 * docs/manual/advanced-dataaccess.xml:
27215 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27216 * docs/manual/basics-pads.xml:
27217 Add reference for filtered caps to above chapter.
27219 2005-06-30 Wim Taymans <wim@fluendo.com>
27221 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27222 (gst_bin_change_state):
27224 Lame attempt at making the state change function a bit
27227 2005-06-30 Wim Taymans <wim@fluendo.com>
27229 * docs/design/part-clocks.txt:
27230 * docs/design/part-element-sink.txt:
27231 * docs/design/part-events.txt:
27232 * docs/design/part-preroll.txt:
27233 * docs/design/part-states.txt:
27234 Some more tweeks and additions to the docs.
27236 2005-06-30 Wim Taymans <wim@fluendo.com>
27238 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27239 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27240 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27241 (gst_pad_check_pull_range), (gst_pad_get_range),
27242 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27244 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27245 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27246 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27247 (gst_pad_remove_buffer_probe):
27248 Removed atomic operations, use existing LOCK.
27249 Move exception handling out of main code path.
27251 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27253 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27254 (silly_return_true_function), (gst_pad_class_init),
27255 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27256 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27257 (gst_pad_send_event):
27258 Fix accumulator, add default value by using _emitv() instead
27259 of _emit() for signal emission.
27261 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27263 * docs/manual/advanced-dataaccess.xml:
27264 * examples/manual/Makefile.am:
27266 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27269 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27271 * gst/elements/gstfilesink.c: (gst_filesink_render):
27272 Simplify code so that we don't have to handle short
27273 writes and return GST_FLOW_ERROR if an error occured.
27275 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27277 * docs/gst/gstreamer-docs.sgml:
27278 Remove probes more.
27280 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27282 * docs/gst/gstreamer-sections.txt:
27283 * docs/gst/tmpl/gstpad.sgml:
27284 * docs/gst/tmpl/gstprobe.sgml:
27286 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27287 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27288 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27289 (gst_pad_push_event), (gst_pad_send_event):
27291 * gst/gstutils.c: (gst_pad_add_data_probe),
27292 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27293 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27294 (gst_pad_remove_buffer_probe):
27296 Remove old probes, add new g-signal-based probes and some utility
27299 2005-06-29 Edward Hervey <edward@fluendo.com>
27301 * gst/gstelementfactory.c:
27304 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27305 the definition to the header file.
27307 2005-06-29 Andy Wingo <wingo@pobox.com>
27309 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27310 plugins from the source directory.
27312 2005-06-29 Wim Taymans <wim@fluendo.com>
27314 * docs/gst/tmpl/gstbuffer.sgml:
27315 * docs/gst/tmpl/gstclock.sgml:
27316 Some fixings for blantently wrong text.
27318 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27320 * check/Makefile.am:
27321 * gst/gst.c: (add_path_func), (init_pre):
27322 * gst/gstregistry.c: (gst_registry_add_path):
27323 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27324 only scan the GST_PLUGIN_PATH locations, and not add
27327 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27329 * docs/gst/gstreamer-sections.txt:
27330 * docs/gst/tmpl/gstbasesrc.sgml:
27331 * gst/gstelement.c:
27332 * gst/gstelement.h:
27337 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27339 * docs/manual/advanced-autoplugging.xml:
27340 Fix autoplugging example.
27342 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27344 * docs/manual/advanced-autoplugging.xml:
27345 * docs/manual/mime-world.fig:
27346 Try to get autoplugging working, fix type detection. Fix text
27347 in hello-world image.
27349 2005-06-29 Wim Taymans <wim@fluendo.com>
27351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27352 (gst_base_sink_change_state):
27356 map SIGNAL and BROADCAST to the right function.
27359 Remove redundant braces.
27361 * gst/gstpad.c: (gst_pad_set_caps):
27362 Don't call setcaps function when reseting caps to NULL.
27364 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27365 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27366 (gst_system_clock_id_unschedule):
27367 Use BROADCAST as this is what we do.
27369 2005-06-29 Wim Taymans <wim@fluendo.com>
27371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27372 We are actually prerolling before commiting the state
27375 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27377 * docs/manual/advanced-clocks.xml:
27378 * docs/manual/advanced-interfaces.xml:
27379 * docs/manual/advanced-metadata.xml:
27380 * docs/manual/advanced-position.xml:
27381 * docs/manual/advanced-schedulers.xml:
27382 * docs/manual/advanced-threads.xml:
27383 * docs/manual/appendix-porting.xml:
27384 * docs/manual/basics-bins.xml:
27385 * docs/manual/basics-bus.xml:
27386 * docs/manual/basics-elements.xml:
27387 * docs/manual/basics-helloworld.xml:
27388 * docs/manual/basics-pads.xml:
27389 * docs/manual/highlevel-components.xml:
27390 * docs/manual/manual.xml:
27391 * docs/manual/thread.fig:
27392 Update (until threads/scheduling) Application Development Manual;
27393 remove GstThread, add GstBus, add simple porting checklist, add
27394 documentation for tag writing, clocks, make all examples until this
27395 part compile and run.
27396 * examples/manual/Makefile.am:
27397 Update from changes to Application Development Manual; add bus
27398 example, remove thread example.
27400 2005-06-28 Wim Taymans <wim@fluendo.com>
27402 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27403 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27404 (gst_bus_source_dispatch):
27405 Add debugging messages.
27406 Make internal methods static.
27407 Handle the case where the bus is flushed in the handler.
27409 * gst/gstelement.c: (gst_element_get_bus):
27410 Fix refcount in _get_bus();
27412 * gst/gstpipeline.c: (gst_pipeline_change_state),
27413 (gst_pipeline_get_clock_func):
27414 Clock refcounting fixes.
27415 Handle the case where preroll timed out more gracefully.
27417 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27418 Clean up the internal thread in dispose. This is needed
27419 for subclasses that actually get disposed.
27421 * gst/schedulers/threadscheduler.c:
27422 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27423 (gst_thread_scheduler_dispose):
27424 Free thread pool in dispose.
27426 2005-06-28 Andy Wingo <wingo@pobox.com>
27428 * tests/network-clock-utils.scm (debug, print-event): New utils.
27430 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27431 (*packet-loss*): Unified loss probability.
27432 (network-time): Report out-of-band events.
27434 * tests/plot-data: Add support for out-of-band events. Hack it
27435 into this script instead of passing it down the pipe; should fix
27438 2005-06-28 Wim Taymans <wim@fluendo.com>
27440 * docs/gst/gstreamer.types:
27441 * docs/gst/tmpl/gstbasesrc.sgml:
27442 * docs/gst/tmpl/gstpad.sgml:
27445 2005-06-28 Wim Taymans <wim@fluendo.com>
27447 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27448 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27449 (gst_proxy_pad_do_fixatecaps):
27450 Correctly proxy the check_pull_range function.
27452 2005-06-28 Andy Wingo <wingo@pobox.com>
27454 * tests/network-clock.scm: Removed need for slib.
27456 2005-06-28 Wim Taymans <wim@fluendo.com>
27458 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27459 (gst_basesink_preroll_queue_flush):
27460 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27461 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27462 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27463 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27464 (gst_proxy_pad_set_property):
27467 * gst/gstqueue.c: (gst_queue_init):
27468 The deprecated pad loop function is removed now.
27470 2005-06-28 Andy Wingo <wingo@pobox.com>
27472 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27473 New parameters, simulate network packet loss.
27475 * tests/network-clock-utils.scm: Initialize the RNG.
27477 2005-06-28 Wim Taymans <wim@fluendo.com>
27479 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27480 (gst_basesink_event), (gst_basesink_deactivate):
27481 Flushing the preroll queue always needs to unlock the waiters.
27483 2005-06-28 Edward Hervey <edward@fluendo.com>
27485 * gst/gstpipeline.c: (gst_pipeline_send_event):
27486 Wheen a seek was successful on a pipeline, set the stream_time to the
27487 seek offset in order to have a synchronized stream_time.
27489 2005-06-28 Wim Taymans <wim@fluendo.com>
27491 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27492 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27493 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27494 (gst_proxy_pad_do_fixatecaps):
27495 Call wrapper function instead of just calling the function
27496 pointers. This takes care of any locking and whatmore.
27498 2005-06-28 Wim Taymans <wim@fluendo.com>
27500 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27501 (gst_pad_pull_range):
27503 CONNECTED -> LINKED.
27505 2005-06-28 Andy Wingo <wingo@pobox.com>
27507 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27508 source-munging commit!!!
27510 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27511 (gst_object_sink): Take gpointer arguments, not GstObject --
27512 avoids casts. Like GLib.
27514 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27517 2005-06-27 Andy Wingo <wingo@pobox.com>
27519 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27522 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27523 returns a sorted copy of the trace list.
27524 (gst_alloc_trace_print_live): New API, only prints traces with
27525 live objects. Sort the list.
27526 (gst_alloc_trace_print_all): Sort the list.
27527 (gst_alloc_trace_print): Align columns.
27529 * gst/elements/gstttypefindelement.c:
27530 * gst/elements/gsttee.c:
27531 * gst/base/gstbasesrc.c:
27532 * gst/base/gstbasesink.c:
27533 * gst/base/gstbasetransform.c:
27534 * gst/gstqueue.c: Adapt for pad activation changes.
27536 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27538 (gst_pipeline_dispose): Drop ref on sched.
27540 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27541 (gst_pad_activate_default): Push mode by default.
27542 (pre_activate_switch, post_activate_switch): New stubs, things to
27543 do before and after switching activation modes on pads.
27544 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27545 the pad's activate function to choose which mode to activate.
27546 Shortcut on deactivation and call the right function directly.
27547 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27549 (gst_pad_activate_push): New API, same for push mode.
27550 (gst_pad_set_activate_function)
27551 (gst_pad_set_activatepull_function)
27552 (gst_pad_set_activatepush_function): Setters for new API.
27554 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27555 Trace all miniobjects.
27556 (gst_mini_object_make_writable): Unref the arg if we copy, like
27557 gst_caps_make_writable.
27559 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27561 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27562 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27563 Adapt for new pad API.
27565 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27567 * gst/gstelement.h:
27568 * gst/gstelement.c (gst_element_iterate_src_pads)
27569 (gst_element_iterate_sink_pads): New API functions.
27571 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27572 should fold into gstiterator.c in some form.
27573 (gst_element_pads_activate): Simplified via use of fold and
27574 delegation of decisions to gstpad->activate.
27576 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27579 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27580 class once in init, like gstmessage. Didn't run into this issue
27581 but it seems correct. Don't initialize a trace, gstminiobject does
27584 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27585 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27587 (assert_live_count): New util function, uses alloc traces to check
27590 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27591 To be modified when unlink drops the internal pad.
27593 2005-06-27 Wim Taymans <wim@fluendo.com>
27595 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27596 (gst_bin_change_state):
27597 Cleanup the get_state() function a little, make sure it
27598 iterates the same set of elements.
27599 Added stub iterate_state_order().
27601 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27603 * docs/gst/gstreamer-docs.sgml:
27604 * docs/gst/gstreamer-sections.txt:
27605 * docs/gst/gstreamer.types:
27606 * docs/gst/tmpl/gstbasesink.sgml:
27607 * docs/gst/tmpl/gstbasesrc.sgml:
27608 * docs/gst/tmpl/gstbasetransform.sgml:
27609 * docs/gst/tmpl/gstelement.sgml:
27610 * docs/gst/tmpl/gstiterator.sgml:
27611 * gst/base/gstbasesrc.c:
27612 * gst/base/gstbasesrc.h:
27613 * gst/base/gstbasetransform.h:
27614 * gst/gstelement.c:
27615 * gst/gstiterator.h:
27616 adding basetransform and iterator docs
27618 2005-06-27 Andy Wingo <wingo@pobox.com>
27620 * docs/design/part-activation.txt: Notes on how activation should
27621 work -- not quite implemented yet.
27623 2005-06-25 Wim Taymans <wim@fluendo.com>
27625 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27626 At least get the chain function correct, needs more
27629 2005-06-25 Wim Taymans <wim@fluendo.com>
27631 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27632 (gst_basesink_handle_object), (gst_basesink_event),
27633 (gst_basesink_do_sync), (gst_basesink_handle_event),
27634 (gst_basesink_change_state):
27636 Right, two problems here: ghostpads don't take locks and
27637 glib _rec_mutex_lock_full() with depth==0 still locks.
27638 Catch illegal locking and g_warn them.
27640 2005-06-25 Wim Taymans <wim@fluendo.com>
27642 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27643 Have to check for completion now...
27645 2005-06-25 Wim Taymans <wim@fluendo.com>
27647 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27648 (gst_basesink_handle_object), (gst_basesink_event),
27649 (gst_basesink_do_sync), (gst_basesink_handle_event),
27650 (gst_basesink_change_state):
27652 Unlock STREAM_LOCK whatever the recursion was.
27654 2005-06-25 Wim Taymans <wim@fluendo.com>
27656 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27657 (gst_basesink_preroll_queue_empty),
27658 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27659 (gst_basesink_event), (gst_basesink_do_sync),
27660 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27661 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27662 (gst_basesink_change_state):
27663 Reworked the base sink, handle event and buffer serialisation
27664 correctly and removed possible deadlock.
27665 Handle EOS correctly.
27667 2005-06-25 Wim Taymans <wim@fluendo.com>
27669 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27670 (gst_pipeline_change_state):
27671 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27672 Allow elements to post EOS in the state change function.
27673 Fix up -launch, make it exit the poll loop when the
27674 pipeline actually changed state.
27675 Fix up warning parsing in -launch.
27677 2005-06-25 Wim Taymans <wim@fluendo.com>
27679 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27680 (gst_tee_sink_activate):
27681 Core takes STREAM_LOCK for us now.
27683 2005-06-25 Wim Taymans <wim@fluendo.com>
27685 * gst/gstelement.c: (gst_element_get_state_func),
27686 (gst_element_set_state):
27687 * gst/gstelement.h:
27688 * gst/gstmessage.c: (gst_message_parse_error),
27689 (gst_message_parse_warning):
27690 Keep track of current target state while performing a state
27691 change so that subclasses can do something interesting.
27692 Fix parsing of warning/error messages when GError is NULL.
27694 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27696 * docs/gst/Makefile.am:
27697 * docs/gst/gstreamer-docs.sgml:
27698 * docs/gst/gstreamer-sections.txt:
27699 * docs/gst/gstreamer.types:
27700 * docs/gst/tmpl/gstbasesink.sgml:
27701 * docs/gst/tmpl/gstbasesrc.sgml:
27702 * docs/gst/tmpl/gstbin.sgml:
27703 * docs/gst/tmpl/gstcompat.sgml:
27704 * docs/gst/tmpl/gstfakesink.sgml:
27705 * docs/gst/tmpl/gstfakesrc.sgml:
27706 * docs/gst/tmpl/gstfilesink.sgml:
27707 * docs/gst/tmpl/gstfilesrc.sgml:
27708 * docs/gst/tmpl/gstindex.sgml:
27709 * docs/manual/appendix-quotes.xml:
27710 * gst/base/gstbasesrc.h:
27711 * gst/elements/gstfakesrc.h:
27712 * gst/gstmessage.h:
27713 start pulling in base classes and elements in our docs
27715 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27717 * docs/gst/Makefile.am:
27718 * docs/libs/Makefile.am:
27719 fixed make distcheck with gtk-doc 1.3
27721 2005-06-23 Wim Taymans <wim@fluendo.com>
27723 * gst/gstelement.c: (gst_element_get_state_func),
27724 (gst_element_set_state), (gst_element_change_state):
27725 When the state did not change, also report NO_PREROLL
27728 2005-06-23 Wim Taymans <wim@fluendo.com>
27730 * gst/gstpad.c: (gst_pad_event_default):
27731 * gst/gstqueue.c: (gst_queue_loop):
27732 No unsafe task pausing please.
27734 2005-06-23 Wim Taymans <wim@fluendo.com>
27736 * gst/schedulers/threadscheduler.c:
27737 (gst_thread_scheduler_task_start),
27738 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27739 Ref the task before pushing it on the threadpool. This
27740 makes sure that we have a ref when the threadfunction is
27743 2005-06-23 Andy Wingo <wingo@pobox.com>
27745 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27746 offset is greater than the file's size.
27748 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27749 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27750 * gst/gstobject.c (gst_object_class_init): Make the class lock
27751 recursive. Wim won't let me drop deep_notify. Decodebin works
27752 again, whoopdy doo.
27754 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27755 internal pad, and hacks accordingly. Doesn't do it on the target
27756 pad because we change its caps. Probably catches all cases of
27758 (gst_ghost_pad_set_property): Connect to notify::caps as
27761 * tests/network-clock.scm (plot-simulation): Pipe data to the
27762 elite python skript.
27764 * tests/network-clock-utils.scm (define-parameter): New macro,
27765 defines a parameter that can be set via the command line.
27766 (set-parameter!, parse-parameter-arguments): Command line args
27769 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27772 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27774 * gst/elements/gsttypefindelement.c:
27775 (gst_type_find_element_handle_event):
27776 Don't restart typefinding on a discont.
27777 * gst/gstelement.c: (gst_element_set_state):
27778 Debug spelling fix.
27779 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27780 Allow changing mode of an active pad.
27781 Debug output fixes.
27782 * gst/registries/gstlibxmlregistry.c: (load_feature):
27783 Don't cast a static pad template to a normal pad template.
27785 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27787 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27788 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27789 remove gst_strtoll completely, since it didn't actually do
27790 anything more than what g_ascii_strtoull already does.
27791 check for range errors when deserializing
27792 do a cast for the unsigned cases; but further fixing needs
27793 a decision on what the interpretation of "(int)" and
27794 deserialization should be for values that fall outside the
27795 type's boundaries (ie, refuse, or interpret as casting)
27797 2005-06-23 Wim Taymans <wim@fluendo.com>
27799 * check/Makefile.am:
27800 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27801 * docs/design/part-live-source.txt:
27802 * docs/design/part-states.txt:
27803 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27804 (gst_basesrc_set_live), (gst_basesrc_is_live),
27805 (gst_basesrc_get_range), (gst_basesrc_activate),
27806 (gst_basesrc_change_state):
27807 * gst/base/gstbasesrc.h:
27808 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27809 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27810 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27811 * gst/gstelement.c: (gst_element_get_state_func),
27812 (gst_element_set_state):
27813 * gst/gstelement.h:
27815 * tools/gst-launch.c: (event_loop), (main):
27816 Added support for live sources and other elements that
27818 Updated design docs, added live-source design doc.
27819 Implemented live source functionality in basesrc
27820 Fix error condition in _bin_get_state()
27821 Implement live source handling in -launch.
27822 Added check for live sources.
27823 Fixed case in GstBin where elements were changed state
27827 2005-06-23 Andy Wingo <wingo@pobox.com>
27829 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27830 borken refcounting.
27832 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27833 gst_caps_replace takes care of this for us.
27835 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27836 gst_pad_set_caps on the target, not just its setcaps() function.
27838 * tests/network-clock.scm:
27839 * tests/network-clock-utils.scm: A network clock simulator.
27840 Something of an algorithmic testbed before doing something in C.
27842 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27844 * check/Makefile.am:
27845 * check/gst/capslist.h:
27846 copy over from 0.8, and add two with bitmasks specified with
27848 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27849 add test to parse everything from capslist.h
27850 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27852 add test for structure deserialization
27853 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27854 add tests for deserialization of strings to int types
27855 * gst/gststructure.c: (gst_structure_nth_field_name):
27856 * gst/gststructure.h:
27857 add a way to get the name of a field referenced by index
27858 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27859 instead of checking if the resulting long long lies between
27860 min and max, we check if the long long would fit into
27861 a number of bytes for the final type.
27862 This fixes cases where a string represents 2^32 - 1, which
27863 when cast to int would be the (valid) -1, but is bigger than
27866 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27868 * gst/parse/grammar.y:
27869 add a log line for type deserialization
27871 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27873 * check/gst/gstvalue.c: (START_TEST):
27874 * gst/gstvalue.c: (gst_value_deserialize):
27875 return long long, not int, so gint64 deserialization actually
27876 works. Is there any flag that makes the compiler check this ?
27879 2005-06-22 Wim Taymans <wim@fluendo.com>
27882 Added convenience macros for setting buffers in GValue.
27884 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27886 * check/gst/.cvsignore:
27887 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27888 add a test deserializing int64, and comment part out because
27891 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27893 * check/Makefile.am:
27894 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27895 * testsuite/Makefile.am:
27896 * testsuite/caps/Makefile.am:
27897 * testsuite/caps/value_serialize.c:
27898 * testsuite/test_gst_init.c:
27899 move a value_serialize test over
27901 2005-06-20 Wim Taymans <wim@fluendo.com>
27906 * gst/gstvalue.c: (gst_value_compare_buffer),
27907 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27908 (gst_value_compare_flags), (gst_value_serialize_flags),
27909 (gst_value_deserialize_flags), (_gst_value_initialize):
27910 Fix serialisation of buffers, they are not boxed types anymore
27912 2005-06-20 Wim Taymans <wim@fluendo.com>
27914 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27915 Testcase to show error in buffer-on-caps serialisation.
27917 2005-06-20 Andy Wingo <wingo@pobox.com>
27919 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27920 will be adding to later.
27922 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27923 if its socks fill with rocks.
27924 (gst_system_clock_obtain): Set the name on object construction.
27925 Avoid double-checked locking.
27927 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27929 * gst/gsturi.c: (gst_element_make_from_uri):
27930 Fix potential endless loop.
27932 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27934 * check/Makefile.am:
27936 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27938 move over from testsuite dir and clean up
27941 * testsuite/Makefile.am:
27942 * testsuite/tags/.cvsignore:
27943 * testsuite/tags/Makefile.am:
27944 * testsuite/tags/merge.c:
27945 remove testsuite/tags
27947 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27949 * docs/gst/gstreamer-sections.txt:
27950 * docs/gst/tmpl/gstenumtypes.sgml:
27951 * win32/gstenumtypes.c:
27952 clean up documentation build a little
27954 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27956 * check/gstcheck.h:
27957 add macros for checking refcounts on objects and caps
27958 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27959 add some more unit tests
27960 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27961 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27962 fix leaked refcounts (I hope :)) so unittest works
27966 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27968 * configure.ac: back to HEAD
27970 === release 0.9.1 ===
27972 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27978 2005-06-17 Andy Wingo <wingo@pobox.com>
27980 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27981 assert; it's always possible that the pad gets deactivated in
27982 between the checks in gstpad.c and the implementation. Rely on
27983 finish_preroll() to return a FLUSHING or similar instead of on the
27986 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27987 clock and post an EOS message if we come out of finish_preroll in
27990 2005-06-16 David Schleef <ds@schleef.org>
27992 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27993 (gst_capsfilter_set_property): Allow NULL as possible value
27994 for filter_caps property, indicating GST_CAPS_ANY.
27996 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27998 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28000 * gst/schedulers/Makefile.am:
28002 * gstreamer.spec.in:
28005 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28007 * gstreamer.spec.in:
28010 2005-06-08 Andy Wingo <wingo@pobox.com>
28012 * gst/gstutils.c: RPAD fixes all around.
28013 (gst_element_link_pads): Refcounting fixes.
28015 * tools/gst-inspect.c:
28016 * tools/gst-xmlinspect.c:
28018 * gst/base/gsttypefindhelper.c:
28019 * gst/base/gstbasesink.c:
28020 * gst/gstqueue.c: RPAD fixes.
28022 * gst/gstghostpad.h:
28023 * gst/gstghostpad.c: New ghost pad implementation as full proxy
28024 pads. The tricky thing is they provide both source and sink
28025 interfaces, since they proxy the internal pad for the external
28026 pad, and vice versa. Implement with lower-level ProxyPad objects,
28027 with the interior proxy pad as a child of the exterior ghost pad.
28028 Should write a doc on this.
28030 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28031 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28034 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28035 pads are real pads. No ghost pads in this file. Not documenting
28036 the myriad s/RPAD/PAD/ and REALIZE fixes.
28037 (gst_pad_class_init): Add properties for "direction" and
28038 "template". Both are construct-only, so they can't change during
28039 the life of the pad. Fixes properly deriving from GstPad.
28040 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28041 derived objects, just set properties when creating the objects via
28043 (gst_pad_get_parent): Implement as a function, return NULL if the
28044 parent is not an element.
28045 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28046 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28048 * gst/gstobject.c (gst_object_class_init): Make name a construct
28049 property. Don't set it in the object init.
28051 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28052 with UNKNOWN direction.
28053 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28054 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28055 (gst_element_remove_pad): Remove ghost-pad special cases.
28056 (gst_element_pads_activate): Remove rpad cruft.
28058 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28059 catch the pad's-parent-not-an-element case.
28061 * gst/gst.h: Include gstghostpad.h.
28063 * gst/gst.c (init_post): No more real, ghost pads.
28065 * gst/Makefile.am: Add gstghostpad.[ch].
28067 * check/Makefile.am:
28068 * check/gst/gstbin.c:
28069 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28070 into a bin creates ghost pads, and that the refcounts are right.
28071 Partly moved from gstbin.c.
28073 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28075 * check/gst-libs/.cvsignore:
28076 * check/gst/.cvsignore:
28077 * check/pipelines/.cvsignore:
28079 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28080 (START_TEST), (cleanup_suite), (main):
28081 add some tests related to cleanup after running pipelines
28083 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28085 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28086 add a testsuite for GstBuffer
28088 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28090 * gst/gstminiobject.h:
28091 add defines for accessing the refcount
28093 2005-06-03 Stefan Kost <ensonic@users.sf.net>
28095 * Makefile.am: added support for html unit test coverage reports
28097 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
28099 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28100 Free existing caps if the capsfilter changes. Add a FIXME about
28101 setting those caps on the pads.
28103 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28104 Before adding a ghost pad to a parent bin, check that there isn't
28105 already one for the element on the bin. Prevents infinite recursion
28106 when using decodebin in parse pipelines. Andy says he'll rewrite the
28107 way this works anyway, so ignore the hack.
28109 2005-06-02 Andy Wingo <wingo@pobox.com>
28111 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28112 file size, pass it on to the type find helper.
28114 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28115 segment_start and segment_end properly according to the seek
28116 method. Segment_end is still a bit flaky because offset can be
28117 negative for CUR and END cases, but it takes -1 as an "unset"
28120 2005-06-02 Wim Taymans <wim@fluendo.com>
28122 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28123 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28124 (gst_basesink_activate):
28125 * gst/base/gstbasesink.h:
28126 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28127 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28128 (gst_pad_query), (gst_pad_start_task):
28130 * gst/gstqueue.c: (gst_queue_bufferalloc),
28131 (gst_queue_handle_sink_event), (gst_queue_chain):
28132 Bufferalloc: return GstFlowReturn to more accuratly report
28133 why allocation failed.
28135 2005-06-02 Wim Taymans <wim@fluendo.com>
28137 * gst/gstpipeline.c: (gst_pipeline_send_event):
28138 Take snapshot of state without blocking.
28140 2005-06-02 Wim Taymans <wim@fluendo.com>
28142 * docs/design/part-TODO.txt:
28143 * docs/design/part-caps.txt:
28144 * docs/design/part-clocks.txt:
28145 * docs/design/part-negotiation.txt:
28146 * docs/design/part-preroll.txt:
28149 2005-05-30 Wim Taymans <wim@fluendo.com>
28151 * gst/elements/gstidentity.c: (gst_identity_event),
28152 (gst_identity_transform), (gst_identity_get_property):
28153 Protect last_message property as it is accessed from
28156 2005-05-30 Wim Taymans <wim@fluendo.com>
28158 * gst/gstelement.c: (gst_element_init),
28159 (gst_element_pads_activate), (gst_element_change_state):
28160 Slicker pad activation code.
28162 2005-05-30 Wim Taymans <wim@fluendo.com>
28165 * gst/gstelement.h:
28166 * gst/gstelementfactory.h:
28168 Move elementfactory methods to separate .h file.
28170 2005-05-30 Wim Taymans <wim@fluendo.com>
28172 * docs/design/part-overview.txt:
28173 * gst/gstsystemclock.h:
28174 Small typo fixes, doc updates.
28176 2005-05-30 Wim Taymans <wim@fluendo.com>
28178 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28179 (init_popt_callback):
28180 Remove cpu-opt flag.
28182 2005-05-30 Wim Taymans <wim@fluendo.com>
28184 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28185 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28187 Avoid typechecking in places where not needed.
28188 Added accessor for malloc_data.
28190 2005-05-30 Wim Taymans <wim@fluendo.com>
28192 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28193 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28194 (gst_pad_configure_sink), (gst_pad_configure_src),
28195 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28196 (gst_pad_start_task):
28197 Propagate errors from _set_caps() in configure_src/sink
28198 functions instead of returning TRUE.
28199 FLUSH events can travel up and downstream
28202 2005-05-30 Wim Taymans <wim@fluendo.com>
28204 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28205 (gst_basesink_activate):
28206 Handle EOS in preroll.
28208 2005-05-30 Wim Taymans <wim@fluendo.com>
28210 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28211 (gst_queue_loop), (gst_queue_handle_src_event):
28212 Remove old pieces of code
28213 Flushing the queue in an upstream event is a very bad idea.
28215 2005-05-26 Andy Wingo <wingo@pobox.com>
28217 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28218 gst_value_set_mini_object so as to add a ref on the object (which
28219 will be removed when the value is unset).
28221 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28222 arg type in ::handoff.
28224 * gst/gstelement.c (gst_element_change_state): Also deactivate
28225 pads in READY->NULL, just in case the element didn't make it to
28226 PAUSED. Wingo tested, Wim approved.
28228 2005-05-26 Wim Taymans <wim@fluendo.com>
28230 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28231 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28232 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28233 A flushing pad cannot be used to alloc_buffer from.
28235 2005-05-26 Wim Taymans <wim@fluendo.com>
28237 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28238 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28239 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28240 (gst_bus_create_watch), (gst_bus_add_watch_full):
28242 Implement a real GSource and use g_main_context_wakeup() to
28243 signal new messages instead of the socketpair.
28245 2005-05-25 Wim Taymans <wim@fluendo.com>
28247 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28248 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28249 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28250 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28251 (gst_pad_send_event), (gst_pad_start_task):
28252 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28253 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28254 (gst_queue_sink_activate), (gst_queue_src_activate),
28255 (gst_queue_change_state):
28257 Fix state changes for non sinks. We now change sinks, then elements
28258 with unconnected srcpads, then the rest.
28259 More efficient queue unlocking in flush and state changes.
28260 Set the pad activate mode even if it does not have an activate
28263 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28265 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28266 Don't go in pull mode for non-seekable sources.
28267 * gst/elements/gsttypefindelement.h:
28268 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28269 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28270 (free_entry), (stop_typefinding),
28271 (gst_type_find_element_handle_event), (find_peek),
28272 (gst_type_find_element_chain), (do_pull_typefind),
28273 (gst_type_find_element_change_state):
28274 Allow typefinding (w/o seeking) in push-mode, simplified version
28275 of what was in 0.8.
28276 * gst/gstutils.c: (gst_buffer_join):
28278 gst_buffer_join() from 0.8.
28280 2005-05-25 Wim Taymans <wim@fluendo.com>
28282 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28283 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28284 (gst_pad_send_event), (gst_pad_start_task):
28285 Disable attempt at mode switching until it is figured out.
28287 2005-05-25 Wim Taymans <wim@fluendo.com>
28289 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28290 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28291 (gst_basesink_finish_preroll), (gst_basesink_chain),
28292 (gst_basesink_loop), (gst_basesink_activate),
28293 (gst_basesink_change_state):
28294 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28295 (gst_basesrc_get_range), (gst_basesrc_loop),
28296 (gst_basesrc_activate):
28297 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28298 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28299 (gst_real_pad_init), (gst_real_pad_set_property),
28300 (gst_real_pad_get_property), (gst_pad_set_active),
28301 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28302 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28303 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28304 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28305 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28306 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28307 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28308 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28309 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28310 (gst_pad_stop_task):
28312 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28313 (gst_queue_loop), (gst_queue_src_activate):
28314 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28315 (gst_task_get_state):
28317 * gst/schedulers/threadscheduler.c:
28318 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28319 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28321 Remove ACTIVE pad flag, use FLUSHING everywhere
28322 Added _pad_chain(), _pad_get_range() to call chain/getrange
28324 Add locks around IS_FLUSHING when reading.
28325 Take STREAM lock in chain(), get_range() functions so plugins
28326 don't need to take it anymore.
28330 2005-05-25 Wim Taymans <wim@fluendo.com>
28332 * tools/gst-launch.c: (event_loop):
28333 Unref message after using its contents instead of
28336 2005-05-24 Wim Taymans <wim@fluendo.com>
28338 * docs/design/draft-ghostpads.txt:
28339 * docs/design/draft-push-pull.txt:
28340 * docs/design/draft-query.txt:
28341 * docs/design/part-overview.txt:
28342 Docs updates, added general overview doc.
28344 2005-05-21 David Schleef <ds@schleef.org>
28346 * docs/gst/tmpl/old/GstBin.sgml:
28347 * docs/gst/tmpl/old/GstBuffer.sgml:
28348 * docs/gst/tmpl/old/GstCaps.sgml:
28349 * docs/gst/tmpl/old/GstClock.sgml:
28350 * docs/gst/tmpl/old/GstCompat.sgml:
28351 * docs/gst/tmpl/old/GstData.sgml:
28352 * docs/gst/tmpl/old/GstElement.sgml:
28353 * docs/gst/tmpl/old/GstEvent.sgml:
28354 * docs/gst/tmpl/old/GstIndex.sgml:
28355 * docs/gst/tmpl/old/GstStructure.sgml:
28356 * docs/gst/tmpl/old/GstTag.sgml:
28357 * docs/gst/tmpl/old/cothreads.sgml:
28358 * docs/gst/tmpl/old/cothreads_compat.sgml:
28359 * docs/gst/tmpl/old/gettext.sgml:
28360 * docs/gst/tmpl/old/gobject2gtk.sgml:
28361 * docs/gst/tmpl/old/grammar.tab.sgml:
28362 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28363 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28364 * docs/gst/tmpl/old/gst_private.sgml:
28365 * docs/gst/tmpl/old/gstaggregator.sgml:
28366 * docs/gst/tmpl/old/gstarch.sgml:
28367 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28368 * docs/gst/tmpl/old/gstbufferstore.sgml:
28369 * docs/gst/tmpl/old/gstdata_private.sgml:
28370 * docs/gst/tmpl/old/gstdisksink.sgml:
28371 * docs/gst/tmpl/old/gstdisksrc.sgml:
28372 * docs/gst/tmpl/old/gstelementfactory.sgml:
28373 * docs/gst/tmpl/old/gstextratypes.sgml:
28374 * docs/gst/tmpl/old/gstfakesink.sgml:
28375 * docs/gst/tmpl/old/gstfakesrc.sgml:
28376 * docs/gst/tmpl/old/gstfdsink.sgml:
28377 * docs/gst/tmpl/old/gstfdsrc.sgml:
28378 * docs/gst/tmpl/old/gstfilesink.sgml:
28379 * docs/gst/tmpl/old/gstfilesrc.sgml:
28380 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28381 * docs/gst/tmpl/old/gstidentity.sgml:
28382 * docs/gst/tmpl/old/gstindexfactory.sgml:
28383 * docs/gst/tmpl/old/gstmarshal.sgml:
28384 * docs/gst/tmpl/old/gstmd5sink.sgml:
28385 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28386 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28387 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28388 * docs/gst/tmpl/old/gstpipefilter.sgml:
28389 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28390 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28391 * docs/gst/tmpl/old/gstshaper.sgml:
28392 * docs/gst/tmpl/old/gstspider.sgml:
28393 * docs/gst/tmpl/old/gstspideridentity.sgml:
28394 * docs/gst/tmpl/old/gststatistics.sgml:
28395 * docs/gst/tmpl/old/gsttee.sgml:
28396 * docs/gst/tmpl/old/gsttimecache.sgml:
28397 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28398 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28399 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28400 * docs/gst/tmpl/old/types.sgml:
28401 I didn't intend to add these or check them in.
28403 2005-05-19 David Schleef <ds@schleef.org>
28405 * configure.ac: Use -no-common everywhere. In a sane world, it
28406 would be the default in libtool, because without it, you can't
28407 build DLLs on Windows.
28408 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28409 * docs/gst/gstreamer-sections.txt:
28410 * docs/gst/tmpl/gstcpu.sgml:
28411 * docs/gst/tmpl/gstdata.sgml:
28412 * docs/gst/tmpl/gstthread.sgml:
28414 2005-05-19 David Schleef <ds@schleef.org>
28416 * gst/gstminiobject.c: (gst_value_set_mini_object),
28417 (gst_value_take_mini_object), (gst_value_get_mini_object):
28418 * gst/gstminiobject.h: Add GValue set/get functions.
28420 2005-05-19 Wim Taymans <wim@fluendo.com>
28422 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28423 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28424 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28426 * gst/gstbus.c: (gst_bus_post):
28427 * gst/gstelement.c: (gst_element_get_random_pad):
28428 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28429 Make subbufer unref the parent in finalize.
28430 some more debugging info.
28433 2005-05-19 Wim Taymans <wim@fluendo.com>
28435 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28436 (gst_basesink_init), (gst_basesink_finalize),
28437 (gst_basesink_activate), (gst_basesink_change_state):
28438 Don't free preroll queue too early.
28440 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28444 Hi, I'm outdated. Please shoot me.
28446 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28448 * gst/gstpipeline.c: (gst_pipeline_send_event):
28449 Do not access variables after they have been deleted.
28451 2005-05-19 Wim Taymans <wim@fluendo.com>
28453 * tools/gst-inspect.c: (print_plugin_features):
28454 A plugin feature does unfortunatly not use the
28457 2005-05-18 Wim Taymans <wim@fluendo.com>
28459 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28460 Port _span() functions to new subbuffers.
28462 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28464 * gst/gstbin.c: (gst_bin_add_func):
28465 Fix clock settery in bins when adding kids after the clock has
28468 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28470 * gst/elements/gstidentity.c: (gst_identity_class_init):
28471 Workaround until signals support GstMiniObject.
28473 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28476 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28478 2005-05-18 Wim Taymans <wim@fluendo.com>
28480 * gst/base/Makefile.am:
28481 * gst/base/gstadapter.c: (gst_adapter_base_init),
28482 (gst_adapter_class_init), (gst_adapter_init),
28483 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28484 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28485 (gst_adapter_flush), (gst_adapter_available),
28486 (gst_adapter_available_fast):
28487 * gst/base/gstadapter.h:
28488 Ported and added adapter to the base classes.
28490 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28493 * gst/gstmessage.c:
28494 Make sure the class is reffed/unreffed once before threads can be
28495 used. Fixes #304551.
28497 2005-05-17 Wim Taymans <wim@fluendo.com>
28499 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28500 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28501 * gst/gstminiobject.c: (gst_mini_object_get_type),
28502 (gst_mini_object_free):
28503 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28504 (gst_pad_push), (gst_pad_push_event):
28505 * gst/gstqueue.c: (gst_queue_change_state):
28506 Don't queue buffers in basesink when we are flushing.
28507 Unref buffer when flushing in basesink.
28508 Flush queue when going to READY
28509 Unref buffer when _push() returns an error.
28510 Don't free MiniObject instance when refcount is incremented
28511 in _finalize() so that we can recover objects.
28513 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28515 * docs/manual/advanced-schedulers.xml:
28516 * docs/manual/appendix-checklist.xml:
28517 * docs/pwg/advanced-clock.xml:
28518 * docs/pwg/advanced-interfaces.xml:
28519 * docs/pwg/advanced-request.xml:
28520 * docs/pwg/advanced-types.xml:
28521 * docs/pwg/intro-preface.xml:
28522 * examples/plugins/example.c: (gst_example_get_type),
28523 (gst_example_class_init), (gst_example_chain),
28524 (gst_example_set_property), (gst_example_get_property),
28525 (gst_example_change_state), (plugin_init):
28526 * examples/plugins/example.h:
28529 2005-05-17 Wim Taymans <wim@fluendo.com>
28531 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28532 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28533 * gst/gstqueue.c: (gst_queue_change_state):
28534 Clear queue when going to READY.
28535 Remove IN_SETCAPS flag too.
28537 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28539 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28540 Remove implicit cast from gboolean to GstElementStateReturn;
28541 make sure we still return failure in paused => ready case if
28542 the parent class fails to change state and our own stop
28545 2005-05-17 Wim Taymans <wim@fluendo.com>
28547 * tools/gst-launch.c: (event_loop):
28548 Message was unreffed too soon.
28550 2005-05-16 Andy Wingo <wingo@pobox.com>
28552 * gst/gstbin.c (sink_iterator_filter): Err... um...
28554 * check/gst/gstbin.c (test_ghost_pads): New test for the
28555 ghosting-if-elements-not-in-same-bin behavior.
28557 2005-05-16 David Schleef <ds@schleef.org>
28559 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28560 accessing refcount directly.
28562 2005-05-15 David Schleef <ds@schleef.org>
28564 * check/Makefile.am: remove GstData checks
28565 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28566 * gst/Makefile.am: add miniobject, remove data
28567 * gst/gst.h: add miniobject, remove data
28568 * gst/gstdata.c: remove
28569 * gst/gstdata.h: remove
28570 * gst/gstdata_private.h: remove
28571 * gst/gsttypes.h: remove GstEvent and GstMessage
28572 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28573 * gst/gstmarshal.list: change BOXED -> OBJECT
28575 Implement GstMiniObject.
28576 * gst/gstminiobject.c:
28577 * gst/gstminiobject.h:
28579 Modify to be subclasses of GstMiniObject.
28580 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28581 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28582 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28583 (gst_subbuffer_get_type), (gst_subbuffer_init),
28584 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28587 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28588 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28589 (_gst_event_copy), (gst_event_new):
28591 * gst/gstmessage.c: (_gst_message_initialize),
28592 (gst_message_get_type), (gst_message_class_init),
28593 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28594 (gst_message_new), (gst_message_new_error),
28595 (gst_message_new_warning), (gst_message_new_tag),
28596 (gst_message_new_state_changed), (gst_message_new_application):
28597 * gst/gstmessage.h:
28598 * gst/gstprobe.c: (gst_probe_perform),
28599 (gst_probe_dispatcher_dispatch):
28601 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28602 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28603 (_gst_query_copy), (gst_query_new):
28605 Update elements for GstData -> GstMiniObject changes
28607 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28608 (gst_queue_chain), (gst_queue_loop):
28609 * gst/elements/gstbufferstore.c:
28610 (gst_buffer_store_add_buffer_func),
28611 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28612 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28613 (gst_fakesink_render):
28614 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28615 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28616 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28617 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28618 (gst_filesrc_create_read):
28619 * gst/elements/gstidentity.c: (gst_identity_class_init):
28620 * gst/elements/gsttypefindelement.c:
28621 (gst_type_find_element_src_event), (free_entry_buffers),
28622 (gst_type_find_element_handle_event):
28623 * libs/gst/dataprotocol/dataprotocol.c:
28624 (gst_dp_header_from_buffer):
28625 * libs/gst/dataprotocol/dataprotocol.h:
28626 * libs/gst/dataprotocol/dp-private.h:
28628 2005-05-15 David Schleef <ds@schleef.org>
28630 * gst/elements/gstelements.c: Don't include headers that were
28633 2005-05-15 David Schleef <ds@schleef.org>
28635 * gst/elements/Makefile.am: Remove some elements that don't
28636 need to be in the core (or even exist at all).
28637 * gst/elements/gstaggregator.c:
28638 * gst/elements/gstaggregator.h:
28639 * gst/elements/gstmd5sink.c:
28640 * gst/elements/gstmd5sink.h:
28641 * gst/elements/gstmultifilesrc.c:
28642 * gst/elements/gstmultifilesrc.h:
28643 * gst/elements/gstpipefilter.c:
28644 * gst/elements/gstpipefilter.h:
28645 * gst/elements/gstshaper.c:
28646 * gst/elements/gstshaper.h:
28647 * gst/elements/gststatistics.c:
28648 * gst/elements/gststatistics.h:
28649 * po/POTFILES.in: Remove above files.
28651 2005-05-14 Andy Wingo <wingo@pobox.com>
28653 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28654 so as to get the refs right.
28655 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28656 unreffing objects that don't pass the filter.
28658 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28659 gst_element_set_bus.
28660 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28661 normal cases, this will destroy the bus.
28663 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28666 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28669 2005-05-13 Andy Wingo <wingo@pobox.com>
28671 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28672 gst_pad_link, call pad_link_maybe_ghosting,
28673 (pad_link_maybe_ghosting): Links pads, making sure that the
28674 elements being linked are in the same bin.
28675 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28676 Helpers for pad_link_maybe_ghosting.
28678 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28681 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28683 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28685 * docs/design/part-element-source.txt:
28688 2005-05-12 Wim Taymans <wim@fluendo.com>
28690 * gst/base/gstbasesink.c: (gst_basesink_init),
28691 (gst_basesink_activate):
28692 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28693 (gst_basesrc_is_seekable):
28694 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28695 (bin_element_is_sink), (gst_bin_change_state):
28696 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28697 * gst/gstelement.h:
28698 Identify sinks by their flag to avoid overly complicated
28700 Do state changes even for elements not reachable from the
28702 BaseSink is a sink now :)
28703 Some more debugging info in the basesrc.
28706 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28708 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28709 Implement _query on a bin, similar to _send_event.
28711 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28713 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28714 Discont event offset format should be GST_FORMAT_BYTES,
28715 not GST_FORMAT_TIME.
28717 2005-05-12 Wim Taymans <wim@fluendo.com>
28719 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28720 Same fix as Ronald's but without the signal.
28722 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28724 * gst/gstutils.c: (gst_element_query_position):
28725 No, an element is not a pad.
28727 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28729 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28730 (gst_bin_get_state):
28731 If a child is removed from a bin while we remove the child from
28732 the bin and while we're retrieving its state, signal this to the
28733 get_state function so we abort the wait (instead of waiting for
28734 a timeout) and can immediately re-iterate over all other elements.
28736 2005-05-12 Wim Taymans <wim@fluendo.com>
28738 * gst/base/Makefile.am:
28739 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28740 (gst_basesrc_start):
28741 * gst/base/gstbasesrc.h:
28742 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28743 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28744 (gst_pushsrc_init), (gst_pushsrc_create):
28745 * gst/base/gstpushsrc.h:
28746 Added is_seekable to BaseSrc
28747 Added simple PushSrc.
28749 2005-05-11 Wim Taymans <wim@fluendo.com>
28751 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28752 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28753 (gst_element_link_pads), (gst_element_query_position),
28754 (gst_element_query_convert), (intersect_caps_func),
28755 (gst_pad_query_position), (gst_pad_query_convert):
28756 Fix refcounting in utils function.
28757 No point in trying to activate a pad when it's added, it could
28758 be added from the state change function and then we deadlock, the
28759 element has to decide what to do.
28761 2005-05-10 Andy Wingo <wingo@pobox.com>
28763 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28764 *all* the arguments.
28766 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28767 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28768 lock (according to the docs -- if this is wrong change the docs).
28770 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28771 flush messages in the NULL state.
28773 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28774 message immediately and return.
28775 (gst_bus_set_flushing): New function. If a bus is flushing, it
28776 flushes out any queued messages and immediately unrefs new
28777 messages. This is so when an element goes to NULL, all of the
28778 unhandled messages coming from it can be freed, and their
28779 references to the element dropped. In other words: message source
28780 ref considered harmful :P
28782 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28783 we're finished with it.
28785 * gst/gstmessage.c (gst_message_new_state_changed):
28787 2005-05-10 Wim Taymans <wim@fluendo.com>
28789 * gst/gstvalue.c: (gst_value_compare_flags),
28790 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28791 (_gst_value_initialize):
28792 Added flags serialize/deserialize/compare code.
28794 2005-05-09 Andy Wingo <wingo@pobox.com>
28796 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28797 Intersect the peer's caps with our caps.
28799 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28801 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28802 * gst/elements/gsttypefindelement.c: (find_peek):
28803 Handle negative offsets better. Fixes decodebin.
28805 2005-05-09 Wim Taymans <wim@fluendo.com>
28807 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28808 (gst_base_transform_event):
28809 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28810 Implement accept_caps.
28811 Fix silly lock/unlock mismatch in base class.
28813 2005-05-09 Wim Taymans <wim@fluendo.com>
28815 * docs/design/draft-push-pull.txt:
28816 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28817 * gst/elements/gstfilesink.c: (gst_filesink_init),
28818 (gst_filesink_query):
28819 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28820 (gst_type_find_handle_src_query), (find_element_get_length):
28821 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28822 * gst/gstelement.h:
28823 * gst/gstmessage.c:
28824 * gst/gstmessage.h:
28825 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28826 (gst_real_pad_get_caps_unlocked),
28827 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28828 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28829 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28830 (gst_real_pad_dispose), (gst_real_pad_finalize),
28831 (gst_pad_load_and_link), (gst_pad_save_thyself),
28832 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28833 (gst_pad_check_pull_range), (gst_pad_pull_range),
28834 (gst_pad_template_get_type), (gst_pad_template_class_init),
28835 (gst_pad_template_init), (gst_pad_template_dispose),
28836 (name_is_valid), (gst_static_pad_template_get),
28837 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28838 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28839 (gst_pad_get_element_private), (gst_pad_start_task),
28840 (gst_pad_pause_task), (gst_pad_stop_task),
28841 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28842 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28843 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28844 (gst_ghost_pad_new):
28846 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28847 (gst_query_new_position), (gst_query_set_position),
28848 (gst_query_parse_position), (gst_query_new_convert),
28849 (gst_query_set_convert), (gst_query_parse_convert):
28851 * gst/gstqueryutils.c:
28852 * gst/gstqueryutils.h:
28853 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28854 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28855 (gst_queue_handle_src_query):
28856 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28857 (gst_element_query_position), (gst_element_query_convert),
28858 (intersect_caps_func), (gst_pad_query_position),
28859 (gst_pad_query_convert):
28861 * tools/gst-inspect.c: (print_pad_info):
28862 * tools/gst-xmlinspect.c: (print_element_info):
28863 Remove old query functions. Ported old code.
28864 Added position/convert helper functions to gstutils.
28865 Reordered gstpad.c code, grouping relevant things.
28866 Remove gst_message_new(), always need to speficy a specific
28870 2005-05-09 Andy Wingo <wingo@pobox.com>
28872 * gst/gstiterator.h: Add some includes.
28874 * gst/gstqueryutils.h: Include more headers.
28877 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28878 some uses of gst_pad_query.
28880 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28881 NULL out parameters.
28882 (gst_query_new_position): New proc, allocates a new position
28885 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28886 gstqueryutils.c to the build.
28888 * gst/gststructure.c (gst_structure_set_valist): Implement with
28889 the generic G_VALUE_COLLECT.
28891 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28893 * gst/Makefile.am: (gst_headers):
28894 Added gstqueryutils.h to the list of headers to install, that was
28895 a 'nachty' move wingo :)
28897 2005-05-06 Andy Wingo <wingo@pobox.com>
28900 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28901 GstData, init a memchunk.
28902 (standard_definitions): Add a few query types, deprecate a few.
28903 (gst_query_get_type): New proc.
28904 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28906 (gst_query_new_application, gst_query_get_structure): New public
28909 * docs/design/draft-query.txt: Removed LINKS from the query types,
28910 because all the rest can be dispatched to other pads -- seemed
28911 ugly to have a query that couldn't be dispatched. internal_links
28912 is fine as a pad method.
28914 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28915 in gstpad.c, but maintain binary compatibility for the moment.
28916 Will fix before 0.9 is out.
28918 * gst/gstqueryutils.c:
28919 * gst/gstqueryutils.h: New files, implement 3 methods for each
28920 query type: parse_query, parse_response, and set. Probably need an
28923 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28925 * gst/elements/gstfilesink.c (gst_filesink_query2):
28926 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28927 query_types, and formats methods.
28929 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28930 (gst_pad_set_query2_function): New functions.
28931 (gst_real_pad_init): Set query2_default as the default query2
28932 function. Basically just dispatches to internally linked pads.
28936 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28937 without using the atomic operations. Only one thread can possibly
28938 be accessing the data at this point. Changed so as to avoid
28939 gst_atomic operations.
28941 2005-05-06 Wim Taymans <wim@fluendo.com>
28943 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28944 Also set caps if we use the fallback buffer alloc.
28946 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28948 * docs/gst/Makefile.am:
28949 * docs/gst/gstreamer-docs.sgml:
28950 * docs/gst/gstreamer-sections.txt:
28951 * docs/gst/tmpl/gstatomic.sgml:
28952 * docs/gst/tmpl/gstmemchunk.sgml:
28953 * testsuite/elements/struct_i386.h:
28954 * win32/GStreamer.vcproj:
28956 Purge GstAtomic stuff from docs and win32 makefiles as well
28958 2005-05-06 Wim Taymans <wim@fluendo.com>
28960 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28961 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28962 * gst/gstpad.c: (gst_pad_peer_get_caps):
28963 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28964 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28965 (gst_queue_src_activate), (gst_queue_change_state):
28967 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28968 (intersect_caps_func):
28969 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28970 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28971 Some fixes for the peer_get_caps() change.
28973 2005-05-06 Wim Taymans <wim@fluendo.com>
28975 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28976 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28977 (gst_basesink_activate):
28978 Actually do something with error codes returned from the push
28981 2005-05-06 Wim Taymans <wim@fluendo.com>
28983 * docs/design/part-element-sink.txt:
28984 * docs/design/part-element-source.txt:
28985 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28986 (gst_basesink_event), (gst_basesink_activate):
28987 * gst/base/gstbasesink.h:
28988 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28989 (gst_basesrc_activate):
28990 * gst/base/gstbasesrc.h:
28991 * gst/gstelement.c: (gst_element_pads_activate):
28992 Some more documentation.
28993 Fixed scheduling decision in _pads_activate().
28995 2005-05-05 Andy Wingo <wingo@pobox.com>
28997 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29000 2005-05-05 Wim Taymans <wim@fluendo.com>
29002 * gst/base/Makefile.am:
29003 * gst/base/gstbasesink.h:
29004 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29005 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29006 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29007 (gst_collectpads_class_init), (gst_collectpads_init),
29008 (gst_collectpads_finalize), (gst_collectpads_new),
29009 (gst_collectpads_set_function), (gst_collectpads_add_pad),
29010 (find_pad), (gst_collectpads_remove_pad),
29011 (gst_collectpads_is_active), (gst_collectpads_collect),
29012 (gst_collectpads_collect_range), (gst_collectpads_start),
29013 (gst_collectpads_stop), (gst_collectpads_peek),
29014 (gst_collectpads_pop), (gst_collectpads_available),
29015 (gst_collectpads_read), (gst_collectpads_flush),
29016 (gst_collectpads_chain):
29017 * gst/base/gstcollectpads.h:
29018 * gst/elements/Makefile.am:
29019 * gst/elements/gstelements.c:
29020 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29021 (gst_fakesink_get_times), (gst_fakesink_event),
29022 (gst_fakesink_preroll), (gst_fakesink_render):
29023 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29024 (gst_filesink_init), (gst_filesink_set_location),
29025 (gst_filesink_open_file), (gst_filesink_close_file),
29026 (gst_filesink_pad_query), (gst_filesink_event),
29027 (gst_filesink_render), (gst_filesink_change_state):
29028 * gst/elements/gstfilesink.h:
29029 Added object to help in making collect pad based elements.
29031 Make event function in sink baseclass return gboolean.
29033 2005-05-05 Wim Taymans <wim@fluendo.com>
29035 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29036 (gst_bin_get_by_name):
29038 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29039 (gst_clock_finalize):
29040 * gst/gstdata.c: (gst_data_replace):
29042 * gst/gstelement.c: (gst_element_request_pad),
29043 (gst_element_pads_activate):
29044 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29045 (gst_object_unref):
29046 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29047 (gst_pad_set_checkgetrange_function),
29048 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29049 (gst_pad_check_pull_range), (gst_pad_pull_range),
29050 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29051 (gst_pad_pause_task), (gst_pad_stop_task):
29052 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29053 (gst_element_request_pad), (gst_pad_proxy_getcaps):
29054 Fix name lookup in GstBin.
29055 Added _data_replace() function and _buffer_replace()
29056 Use finalize method to clean up clock.
29057 Fix refcounting on request pads.
29058 Fix pad schedule mode error.
29059 Some more object refcounting debug info,
29062 2005-05-04 Andy Wingo <wingo@pobox.com>
29064 * check/Makefile.am:
29065 * docs/gst/tmpl/gstatomic.sgml:
29066 * docs/gst/tmpl/gstplugin.sgml:
29067 * gst/base/gstbasesink.c: (gst_basesink_activate):
29068 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29069 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29070 (gst_basesrc_query), (gst_basesrc_set_property),
29071 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29072 (gst_basesrc_activate):
29073 * gst/base/gstbasesrc.h:
29074 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29075 (gst_base_transform_src_activate):
29076 * gst/elements/gstelements.c:
29077 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29078 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29079 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29080 * gst/elements/gsttypefindelement.c: (find_element_get_length),
29081 (gst_type_find_element_checkgetrange),
29082 (gst_type_find_element_activate):
29083 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29084 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29085 (gst_caps_load_thyself):
29086 * gst/gstelement.c: (gst_element_pads_activate),
29087 (gst_element_save_thyself), (gst_element_restore_thyself):
29088 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29089 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29091 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29092 (gst_xml_parse_file), (gst_xml_parse_memory),
29093 (gst_xml_get_element), (gst_xml_make_element):
29094 * gst/indexers/gstfileindex.c: (gst_file_index_load),
29095 (_file_index_id_save_xml), (gst_file_index_commit):
29096 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29097 (read_enum), (load_pad_template), (load_feature), (load_plugin),
29099 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29100 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29101 * tools/gst-complete.c: (main):
29102 * tools/gst-compprep.c: (main):
29103 * tools/gst-inspect.c: (print_element_properties_info):
29104 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29105 * tools/gst-xmlinspect.c: (print_element_properties):
29108 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
29110 * gst/gstplugin.c: (gst_plugin_check_module),
29111 (gst_plugin_check_file), (gst_plugin_load_file):
29112 apply patch from #172526 to make register work on MacOSX
29114 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29116 * docs/gst/tmpl/gstconfig.sgml:
29117 * gst/gstconfig.h.in:
29118 move documentation for some symbols. Add doc for GST_PTR_FORMAT
29119 * testsuite/debug/printf_extension.c: (main):
29120 Do not use GST_PTR_FORMAT on pointers to types with
29121 sizeof < sizeof(gpointer). Fixes test on 64-bit
29122 * testsuite/elements/property.h:
29123 use correct printf format
29125 2005-05-02 Wim Taymans <wim@fluendo.com>
29127 * docs/design/draft-push-pull.txt:
29128 * docs/design/draft-query.txt:
29129 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29130 (gst_basesrc_start):
29131 Added draft for new query API.
29132 Added draft for better selecting scheduling methods.
29133 Make basesrc ignore length if the subclass does not support
29136 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29139 possible fixes for automake-1.5 - _LIBADD is reserved
29141 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29143 * docs/faq/Makefile.am:
29144 * docs/manual/Makefile.am:
29145 * docs/manuals.mak:
29146 * docs/pwg/Makefile.am:
29148 possible fixes for automake-1.5
29150 2005-04-28 Wim Taymans <wim@fluendo.com>
29152 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29153 (gst_basesink_pad_getcaps), (gst_basesink_init),
29154 (gst_basesink_do_sync):
29155 * gst/gstclock.c: (gst_clock_entry_new):
29156 * gst/gstevent.c: (gst_event_discont_get_value):
29157 * gst/gstpipeline.c: (pipeline_bus_handler),
29158 (gst_pipeline_change_state):
29159 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29160 Better debugging of clocking info.
29161 Allow NULL values when getting discont values.
29163 2005-04-27 Wim Taymans <wim@fluendo.com>
29165 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29166 * check/gst/gstpad.c: (gst_pad_suite):
29167 Increase timeout for checks.
29169 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29171 * check/Makefile.am:
29172 fix the broken rule for cleanup. Apparently this rule is
29173 only needed on FC2, so maybe this warrants further autotool
29176 2005-04-26 Wim Taymans <wim@fluendo.com>
29178 * gst/gsttrashstack.h:
29179 Ooohh. a nasty one! After having a failed pop() from the stack,
29180 it's possible that the stack is empty. In that case, don't
29181 follow the NULL pointer.
29183 2005-04-25 Wim Taymans <wim@fluendo.com>
29185 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29186 (gst_pad_set_checkgetrange_function),
29187 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29188 (gst_pad_check_pull_range), (gst_pad_pull_range),
29189 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29190 (gst_pad_pause_task), (gst_pad_stop_task):
29191 * gst/gstplugin.c: (gst_plugin_load):
29193 Remove gst_library_load as it does more harm than good with
29194 the new g_module flags.
29195 Revert bogus caps template check in pad linking, pad caps
29196 are important when linking not the template, which is more
29197 general than the current caps.
29199 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29201 * gst/autoplug/.cvsignore:
29202 * gst/autoplug/Makefile.am:
29203 * gst/autoplug/gstsearchfuncs.c:
29204 * gst/autoplug/gstsearchfuncs.h:
29205 * gst/autoplug/gstspider.c:
29206 * gst/autoplug/gstspider.h:
29207 * gst/autoplug/gstspideridentity.c:
29208 * gst/autoplug/gstspideridentity.h:
29209 * gst/autoplug/spidertest.c:
29212 2005-04-25 Wim Taymans <wim@fluendo.com>
29214 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29215 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29216 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29217 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29219 Added stubs for unimplemented functions.
29221 2005-04-24 David Schleef <ds@schleef.org>
29223 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29226 2005-04-24 David Schleef <ds@schleef.org>
29228 Convert everything from GstAtomicInt to g_atomic_int_*, and
29233 * gst/gstatomic_impl.h:
29241 * gst/gstdata_private.h:
29245 * gst/gstmessage.c:
29248 * gst/gststructure.c:
29249 * gst/gststructure.h:
29250 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29253 2005-04-24 David Schleef <ds@schleef.org>
29255 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29256 make the regressions tests work. Remove some code that is no
29258 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29259 Disable warning for pads without templates.
29261 2005-04-24 David Schleef <ds@schleef.org>
29263 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29264 functions that handle filtered links.
29265 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29267 * gst/gstutils.c: Fix/remove utility functions that handle
29270 * gst/gstvalue.c: Add serialization/deserialization of caps
29271 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29272 requires fixing so that the filter caps notation creates
29273 a capsfilter element and sets the filter_caps property. I
29274 think everyone probably wants to keep the shorthand notation.
29275 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29276 * docs/gst/tmpl/gstpad.sgml:
29278 * gst/elements/gstelements.c: Register capsfilter element.
29279 * gst/Makefile.am: fix spacing
29280 * docs/random/ds/0.9-suggested-changes: random
29282 2005-04-23 David Schleef <ds@schleef.org>
29284 * gst/elements/Makefile.am:
29285 * gst/elements/gstcapsfilter.c: New element that acts like an
29286 identity, but filters caps. Will eventually replace filtered
29287 caps in pad linking.
29288 * gst/gstutils.c: (gst_element_create_all_pads): New function
29289 to create all the ALWAYS pads that are registered with an
29290 element class. This functionality should eventually be
29291 merged in with GstElement initialization.
29293 * testsuite/trigger/README: part of trigger test code that should
29294 have been checked in a long time ago.
29296 2005-04-23 David Schleef <ds@schleef.org>
29298 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29299 needed with new versions of libtool (nobody will confirm this),
29300 and hard to carry around.
29301 * gst/autoplug/Makefile.am:
29302 * gst/base/Makefile.am:
29303 * gst/elements/Makefile.am:
29304 * gst/indexers/Makefile.am:
29305 * gst/schedulers/Makefile.am:
29306 * libs/gst/bytestream/Makefile.am:
29307 * libs/gst/control/Makefile.am:
29308 * libs/gst/dataprotocol/Makefile.am:
29309 * libs/gst/getbits/Makefile.am:
29311 2005-04-21 Wim Taymans <wim@fluendo.com>
29313 * docs/design/draft-push-pull.txt:
29314 * docs/design/part-MT-refcounting.txt:
29315 * docs/design/part-TODO.txt:
29316 * docs/design/part-caps.txt:
29317 * docs/design/part-events.txt:
29318 * docs/design/part-gstbus.txt:
29319 * docs/design/part-gstpipeline.txt:
29320 * docs/design/part-messages.txt:
29321 * docs/design/part-push-pull.txt:
29322 * docs/design/part-query.txt:
29325 2005-04-21 Wim Taymans <wim@fluendo.com>
29327 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29328 (gst_message_new), (gst_message_new_error),
29329 (gst_message_new_warning), (gst_message_new_tag),
29330 (gst_message_new_state_changed), (gst_message_new_application),
29331 (gst_message_get_structure):
29332 * gst/gstmessage.h:
29333 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29334 (gst_structure_copy_conditional):
29335 Use parent refcount in GstMessage to ensure GstStructure
29337 Cleaned up headers a bit.
29340 2005-04-20 Wim Taymans <wim@fluendo.com>
29342 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29343 (gst_basesink_pad_getcaps), (gst_basesink_init),
29344 (gst_basesink_chain_unlocked):
29345 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29346 (gst_type_find_helper):
29347 * gst/elements/gsttypefindelement.c:
29348 (gst_type_find_element_have_type), (gst_type_find_element_init),
29349 (stop_typefinding), (gst_type_find_element_handle_event),
29350 (find_suggest), (gst_type_find_element_chain),
29351 (gst_type_find_element_checkgetrange),
29352 (gst_type_find_element_getrange), (do_typefind),
29353 (gst_type_find_element_activate):
29354 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29355 (gst_buffer_default_free), (gst_buffer_default_copy),
29356 (gst_buffer_set_caps):
29357 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29358 (gst_caps_replace):
29359 * gst/gstmessage.c: (gst_message_new),
29360 (gst_message_new_state_changed):
29361 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29362 (gst_pad_set_checkgetrange_function),
29363 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29364 (gst_pad_set_caps), (gst_pad_check_pull_range),
29365 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29367 * gst/gsttypefind.c: (gst_type_find_register):
29368 Make gst_caps_replace() work like other _replace() functions.
29369 Use _caps_replace() where possible.
29370 Make sure _message_new() initialises its field.
29371 Add gst_static_pad_template_get_caps()
29374 2005-04-18 Andy Wingo <wingo@pobox.com>
29376 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29377 on the peer, not the pad. I think that was a typo. Pass an extra
29378 arg to see if random access is possible. Activate the pads as
29379 PULL_RANGE if possible.
29381 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29383 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29384 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29387 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29389 * docs/faq/using.xml:
29390 Add note on gstreamer-properties (#154996).
29392 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29394 * docs/random/bbb/optional-properties:
29395 Some analysis on optional properties.
29397 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29399 * docs/gst/tmpl/gstelementfactory.sgml:
29400 * gst/gstelement.h:
29401 * gst/gstelementfactory.c: (gst_element_factory_init),
29402 (gst_element_factory_cleanup), (gst_element_register),
29403 (__gst_element_factory_add_static_pad_template),
29404 (gst_element_factory_get_static_pad_templates),
29405 (gst_element_factory_can_src_caps),
29406 (gst_element_factory_can_sink_caps):
29407 * gst/registries/Makefile.am:
29408 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29409 (gst_xml_registry_class_init), (gst_xml_registry_init),
29410 (gst_xml_registry_new), (gst_xml_registry_set_property),
29411 (gst_xml_registry_get_property), (get_time), (make_dir),
29412 (gst_xml_registry_get_perms_func),
29413 (plugin_times_older_than_recurse), (plugin_times_older_than),
29414 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29415 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29416 (add_to_char_array), (read_string), (read_uint), (read_enum),
29417 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29418 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29419 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29420 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29421 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29422 (gst_xml_registry_rebuild):
29423 * gst/registries/gstlibxmlregistry.h:
29424 * tools/gst-compprep.c: (main):
29425 * tools/gst-inspect.c: (print_pad_templates_info):
29426 * tools/gst-xmlinspect.c: (print_element_info):
29427 Use libxml2 for registry parsing, use staticpadtemplates in
29428 elementfactories. Makes gst_init() +/- 10x faster.
29430 2005-04-12 Wim Taymans <wim@fluendo.com>
29432 * gst/base/Makefile.am:
29433 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29434 (gst_basesink_pad_getcaps), (gst_basesink_init),
29435 (gst_basesink_event), (gst_basesink_change_state):
29436 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29437 (gst_basesrc_init), (gst_basesrc_query),
29438 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29439 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29440 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29441 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29442 (gst_basesrc_stop), (gst_basesrc_activate),
29443 (gst_basesrc_change_state):
29444 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29445 (helper_find_suggest), (gst_type_find_helper):
29446 * gst/base/gsttypefindhelper.h:
29447 * gst/elements/Makefile.am:
29448 * gst/elements/gstelements.c:
29449 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29450 (gst_fakesink_get_times), (gst_fakesink_event),
29451 (gst_fakesink_preroll), (gst_fakesink_render):
29452 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29453 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29454 (gst_fakesrc_get_property), (gst_fakesrc_create),
29455 (gst_fakesrc_start), (gst_fakesrc_stop):
29456 * gst/elements/gstfakesrc.h:
29457 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29458 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29459 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29460 (gst_filesrc_create_read), (gst_filesrc_create),
29461 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29462 (gst_filesrc_start):
29463 * gst/elements/gsttypefindelement.c:
29464 (gst_type_find_element_have_type), (gst_type_find_element_init),
29465 (start_typefinding), (stop_typefinding), (push_buffer_store),
29466 (gst_type_find_element_handle_event),
29467 (gst_type_find_element_chain),
29468 (gst_type_find_element_checkgetrange),
29469 (gst_type_find_element_getrange), (do_typefind),
29470 (gst_type_find_element_activate),
29471 (gst_type_find_element_change_state):
29472 * gst/elements/gsttypefindelement.h:
29473 * gst/gstpipeline.c: (pipeline_bus_handler):
29474 Added typefind helper.
29475 Small preroll fix in the base sink.
29476 Disable typefind code in basesrc.
29477 Crude port of typefindelement.
29481 2005-04-11 Wim Taymans <wim@fluendo.com>
29483 * check/gst/gstbus.c: (gstbus_suite):
29484 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29485 * check/gstcheck.h:
29486 Fix up the timeout so that the test does not fail.
29488 2005-04-06 Wim Taymans <wim@fluendo.com>
29491 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29492 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29493 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29494 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29495 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29496 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29497 (gst_basesrc_stop), (gst_basesrc_activate),
29498 (gst_basesrc_change_state), (basesrc_find_peek),
29499 (basesrc_find_suggest), (gst_basesrc_type_find):
29500 * gst/base/gstbasesrc.h:
29501 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29502 (gst_filesrc_class_init), (gst_filesrc_init),
29503 (gst_filesrc_finalize), (gst_filesrc_set_location),
29504 (gst_filesrc_set_property), (gst_filesrc_get_property),
29505 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29506 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29507 (gst_filesrc_create_read), (gst_filesrc_create),
29508 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29509 * gst/elements/gstfilesrc.h:
29510 * gst/gstelement.c: (gst_element_get_state_func),
29511 (gst_element_lost_state), (gst_element_pads_activate):
29512 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29513 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29514 (gst_pad_pull_range):
29516 More work on the generic source base class, implement seeking,
29518 Make filesrc extend the base source class.
29519 Added gst_pad_set_checkgetrange_function to GstPad.
29521 2005-04-06 Andy Wingo <wingo@pobox.com>
29523 * pkgconfig/gstreamer-base.pc.in:
29524 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29526 * pkgconfig/Makefile.am:
29527 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29529 2005-04-04 Wim Taymans <wim@fluendo.com>
29531 * gst/base/Makefile.am:
29533 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29534 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29535 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29536 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29537 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29538 (gst_basesrc_base_init), (gst_basesrc_class_init),
29539 (gst_basesrc_init), (gst_basesrc_get_formats),
29540 (gst_basesrc_get_query_types), (gst_basesrc_query),
29541 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29542 (gst_basesrc_set_property), (gst_basesrc_get_property),
29543 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29544 (gst_basesrc_loop), (gst_basesrc_activate),
29545 (gst_basesrc_change_state):
29546 * gst/base/gstbasesrc.h:
29547 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29548 (gst_fakesrc_class_init), (gst_fakesrc_init),
29549 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29550 (gst_fakesrc_get_property), (gst_fakesrc_create):
29551 * gst/elements/gstfakesrc.h:
29552 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29553 (gst_filesrc_open_file), (gst_filesrc_loop),
29554 (gst_filesrc_activate), (filesrc_find_peek),
29555 (gst_filesrc_type_find):
29556 Made base source class, make fakesrc extend it.
29557 Add comments to basesink class.
29558 Some filesrc cleanup.
29560 2005-03-31 David Schleef <ds@schleef.org>
29562 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29563 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29564 expected to link against libgstreamer.
29565 * gst/base/Makefile.am: link against libgstreamer
29566 * gst/elements/Makefile.am: same
29568 2005-03-31 Andy Wingo <wingo@pobox.com>
29570 * tests/instantiate/Makefile.am:
29571 * tests/instantiate/caps.c: Add test to test speed of caps copy
29574 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29575 GMemChunk to be fair.
29577 * gst/gsttrashstack.h: Remove warning about using the fallback
29578 trash stack implementation, it's still faster than malloc.
29580 2005-03-30 Andy Wingo <wingo@pobox.com>
29582 * tests/complexity.c: Add a copyright.
29584 2005-03-31 Wim Taymans <wim@fluendo.com>
29586 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29587 (gst_base_transform_class_init), (gst_base_transform_init),
29588 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29589 (gst_base_transform_get_property),
29590 (gst_base_transform_sink_activate),
29591 (gst_base_transform_src_activate),
29592 (gst_base_transform_change_state):
29593 * gst/base/gstbasetransform.h:
29594 * gst/elements/gstidentity.c: (gst_identity_class_init),
29595 (gst_identity_event), (gst_identity_check_perfect),
29596 (gst_identity_transform), (gst_identity_start),
29597 (gst_identity_stop):
29598 Added start/stop methods to transform base class so subclasses
29599 don't need to deal with state changes even.
29601 2005-03-31 Wim Taymans <wim@fluendo.com>
29603 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29604 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29606 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29607 (gst_pad_pull_range):
29608 Added rate to the discont event to prepare for variable speed
29609 and reverse playback.
29611 2005-03-29 David Schleef <ds@schleef.org>
29614 * testsuite/trigger/Makefile.am:
29615 * testsuite/trigger/trigger.c: A little example program to show
29616 how trigger-based elements can work.
29618 2005-03-29 Wim Taymans <wim@fluendo.com>
29620 * gst/base/Makefile.am:
29622 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29623 (gst_basesink_base_init), (gst_basesink_class_init),
29624 (gst_basesink_pad_getcaps), (gst_basesink_init),
29625 (gst_basesink_activate), (gst_basesink_change_state):
29626 * gst/base/gstbasesink.h:
29627 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29628 (gst_base_transform_base_init), (gst_base_transform_finalize),
29629 (gst_base_transform_class_init), (gst_base_transform_init),
29630 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29631 (gst_base_transform_event), (gst_base_transform_getrange),
29632 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29633 (gst_base_transform_set_property),
29634 (gst_base_transform_get_property),
29635 (gst_base_transform_sink_activate),
29636 (gst_base_transform_src_activate),
29637 (gst_base_transform_change_state):
29638 * gst/base/gstbasetransform.h:
29639 * gst/elements/gstidentity.c: (gst_identity_finalize),
29640 (gst_identity_class_init), (gst_identity_init),
29641 (gst_identity_event), (gst_identity_check_perfect),
29642 (gst_identity_transform), (gst_identity_set_property),
29643 (gst_identity_get_property), (gst_identity_change_state):
29644 * gst/elements/gstidentity.h:
29645 * gst/gstelement.c: (gst_element_get_state_func),
29646 (gst_element_lost_state), (gst_element_pads_activate):
29647 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29648 (gst_pad_check_pull_range), (gst_pad_pull_range):
29650 Simplify pad activation.
29651 Added function to check if pull_range can be performed.
29652 Error out when pulling inactive or flushing pads.
29653 Removed const from refcounted types as it does not make sense.
29654 Simplify pad templates in basesink
29655 Added base class for simple 1-to-1 transforms.
29656 Make identity subclass the base transform.
29658 2005-03-29 Andy Wingo <wingo@pobox.com>
29660 * docs/libs/gstreamer-libs-overrides.txt:
29661 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29662 really don't understand what's going on, but like whatever. I want
29665 * docs/gst/Makefile.am:
29666 * docs/libs/Makefile.am: Dist the overrides files.
29668 * check/Makefile.am (clean-local): Remove .libs directories.
29670 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29671 elements to EXTRA_DIST, so po/ files are happy.
29673 * po/POTFILES.in: Er, remove it here.
29675 * po/POTFILES: Remove gstspider.c.
29677 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29679 * docs/libs/gstreamer-libs-docs.sgml:
29680 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29683 * tests/complexity.c (main): Set the length of the preroll queue
29684 on the sinks to prevent a lockup.
29686 * libs/gst/dataprotocol/Makefile.am:
29687 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29688 the same as the one in check/gst-libs/gdp.c.
29690 * po/, docs/gst/: Commit automatic changes to docs and po files.
29692 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29693 the versioned libgstbase.
29695 * check/Makefile.am: Depend on an unversioned gst-register, seems
29696 to make autoconf happier.
29698 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29700 2005-03-28 Wim Taymans <wim@fluendo.com>
29703 * docs/design/part-gstelement.txt:
29704 * docs/design/part-negotiation.txt:
29705 * docs/design/part-preroll.txt:
29706 * docs/design/part-scheduling.txt:
29707 * docs/design/part-states.txt:
29709 * gst/base/Makefile.am:
29711 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29712 (gst_basesink_base_init), (gst_basesink_class_init),
29713 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29714 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29715 (gst_basesink_set_pad_functions),
29716 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29717 (gst_basesink_set_property), (gst_basesink_get_property),
29718 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29719 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29720 (gst_basesink_preroll_queue_push),
29721 (gst_basesink_preroll_queue_empty),
29722 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29723 (gst_basesink_event), (gst_basesink_get_times),
29724 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29725 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29726 (gst_basesink_loop), (gst_basesink_activate),
29727 (gst_basesink_change_state):
29728 * gst/base/gstbasesink.h:
29729 * gst/elements/Makefile.am:
29730 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29731 (gst_fakesink_class_init), (gst_fakesink_init),
29732 (gst_fakesink_set_property), (gst_fakesink_get_property),
29733 (gst_fakesink_get_times), (gst_fakesink_event),
29734 (gst_fakesink_preroll), (gst_fakesink_render),
29735 (gst_fakesink_change_state):
29736 * gst/elements/gstfakesink.h:
29737 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29738 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29739 * gst/gstelement.c: (gst_element_add_pad),
29740 (gst_element_get_state_func), (gst_element_abort_state),
29741 (gst_element_commit_state), (gst_element_lost_state),
29742 (gst_element_set_state), (gst_element_pads_activate):
29743 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29744 * gst/gstpipeline.c: (gst_pipeline_send_event),
29745 (gst_pipeline_change_state):
29746 Added state change code.
29747 Added/updated docs.
29748 Added sink base class, make fakesink extend the base class.
29749 Small cleanups in GstPipeline.
29751 2005-03-26 David Schleef <ds@schleef.org>
29753 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29754 is broken and should be implemented in a different library.
29755 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29756 * gst/gst.h: remove gstcpu.h
29757 * gst/gstcpu.c: remove
29758 * gst/gstcpu.h: remove
29759 * gst/Makefile.am.future: Remove this file. It's ancient.
29761 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29763 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29764 (gst_bin_send_event):
29765 Add default event/set_manager handlers. The set_manager handler
29766 takes care that the manager is distributed over kids that were
29767 already in the bin before the manager was set. The event handler
29768 is a utility virtual function that sends the event over all sinks,
29769 so that gst_element_send_event (bin, event); has the expected
29771 * gst/gstpad.c: (gst_pad_event_default):
29772 Re-install default event handling for discontinuities, so that
29773 seeking works without requiring hacks in applications or extra
29775 * gst/gstpipeline.c: (gst_pipeline_class_init),
29776 (gst_pipeline_send_event):
29777 Half hack, half utility: set a pipeline to PAUSED for seek events,
29778 since that is the only way we can guarantee a/v sync. Means that
29779 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29780 and it "just works".
29782 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29784 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29785 Lock/unlock mismatch.
29787 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29789 * docs/faq/gst-uninstalled:
29790 add gst-plugins-base
29791 * docs/gst/Makefile.am:
29792 don't error out until docs are fixed
29793 * docs/gst/gstreamer.types:
29796 2005-03-22 Wim Taymans <wim@fluendo.com>
29798 * check/Makefile.am:
29799 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29800 * gst/gststructure.c: (gst_structure_set_valist),
29801 (gst_structure_copy_conditional):
29802 Activated more tests.
29803 Added message test.
29804 Added G_TYPE_POINTER to GstStructure.
29807 2005-03-22 Wim Taymans <wim@fluendo.com>
29809 * docs/design/part-TODO.txt:
29810 * docs/design/part-events.txt:
29811 * docs/design/part-gstbin.txt:
29812 * docs/design/part-gstbus.txt:
29813 * docs/design/part-gstpipeline.txt:
29814 * docs/design/part-messages.txt:
29816 * gst/gstmessage.c:
29819 2005-03-21 Wim Taymans <wim@fluendo.com>
29821 * gst/gstbus.c: (gst_bus_post):
29822 Fix copy-and-paste error.
29824 2005-03-21 Wim Taymans <wim@fluendo.com>
29826 * check/Makefile.am:
29828 * gst/elements/Makefile.am:
29829 * gst/elements/gstelements.c:
29830 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29831 (gst_fakesink_event), (gst_fakesink_chain):
29832 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29833 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29834 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29835 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29836 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29837 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29838 (gst_fakesrc_loop), (gst_fakesrc_activate),
29839 (gst_fakesrc_change_state):
29840 * gst/elements/gstfakesrc.h:
29841 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29842 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29843 (gst_filesrc_open_file), (gst_filesrc_loop),
29844 (gst_filesrc_activate), (gst_filesrc_change_state),
29845 (filesrc_find_peek), (filesrc_find_suggest),
29846 (gst_filesrc_type_find):
29847 * gst/elements/gstidentity.c: (gst_identity_finalize),
29848 (gst_identity_class_init), (gst_identity_init),
29849 (gst_identity_proxy_getcaps), (identity_queue_push),
29850 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29851 (gst_identity_getrange), (gst_identity_chain),
29852 (gst_identity_sink_loop), (gst_identity_src_loop),
29853 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29854 (gst_identity_set_property), (gst_identity_get_property),
29855 (gst_identity_change_state):
29856 * gst/elements/gstidentity.h:
29857 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29858 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29859 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29860 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29861 (gst_tee_sink_activate):
29862 * gst/elements/gsttee.h:
29863 * gst/gst.c: (gst_register_core_elements), (init_post):
29865 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29866 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29867 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29868 (gst_bin_change_state):
29870 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29871 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29872 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29873 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29874 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29875 (bus_watch_callback), (bus_watch_destroy),
29876 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29877 (poll_timeout), (gst_bus_poll):
29881 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29882 (gst_element_post_message), (gst_element_message_full),
29883 (gst_element_get_state_func), (gst_element_get_state),
29884 (gst_element_abort_state), (gst_element_commit_state),
29885 (gst_element_lost_state), (gst_element_set_state),
29886 (gst_element_pads_activate), (gst_element_change_state),
29887 (gst_element_dispose), (gst_element_set_manager_func),
29888 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29889 (gst_element_set_manager), (gst_element_get_manager),
29890 (gst_element_set_bus), (gst_element_get_bus),
29891 (gst_element_set_scheduler), (gst_element_get_scheduler):
29892 * gst/gstelement.h:
29893 * gst/gstevent.c: (gst_event_new_segment_seek),
29894 (gst_event_new_flush):
29896 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29897 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29898 (gst_message_new_eos), (gst_message_new_error),
29899 (gst_message_new_warning), (gst_message_new_tag),
29900 (gst_message_new_state_changed), (gst_message_new_application),
29901 (gst_message_get_structure), (gst_message_parse_tag),
29902 (gst_message_parse_state_changed), (gst_message_parse_error),
29903 (gst_message_parse_warning):
29904 * gst/gstmessage.h:
29905 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29906 (gst_real_pad_set_property), (gst_pad_set_active),
29907 (gst_pad_is_active), (gst_pad_set_blocked_async),
29908 (gst_pad_set_blocked), (gst_pad_is_blocked),
29909 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29910 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29911 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29912 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29913 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29914 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29915 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29916 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29917 (gst_pad_set_caps), (gst_pad_configure_sink),
29918 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29919 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29920 (gst_real_pad_dispose), (gst_real_pad_finalize),
29921 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29922 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29923 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29925 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29926 (pipeline_bus_handler), (gst_pipeline_change_state),
29927 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29928 * gst/gstpipeline.h:
29930 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29931 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29932 (gst_queue_link_src), (gst_queue_bufferalloc),
29933 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29934 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29935 (gst_queue_loop), (gst_queue_handle_src_event),
29936 (gst_queue_handle_src_query), (gst_queue_src_activate),
29937 (gst_queue_change_state):
29939 * gst/gstscheduler.c: (gst_scheduler_init),
29940 (gst_scheduler_dispose), (gst_scheduler_create_task),
29941 (gst_scheduler_factory_create):
29942 * gst/gstscheduler.h:
29943 * gst/gststructure.c: (gst_structure_get_type),
29944 (gst_structure_copy_conditional):
29945 * gst/gststructure.h:
29946 * gst/gsttaginterface.h:
29947 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29948 (gst_task_init), (gst_task_dispose), (gst_task_create),
29949 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29955 * gst/schedulers/Makefile.am:
29956 * gst/schedulers/cothreads_compat.h:
29957 * gst/schedulers/entryscheduler.c:
29958 * gst/schedulers/faircothreads.c:
29959 * gst/schedulers/faircothreads.h:
29960 * gst/schedulers/fairscheduler.c:
29961 * gst/schedulers/gstbasicscheduler.c:
29962 * gst/schedulers/gstoptimalscheduler.c:
29963 * gst/schedulers/gthread-cothreads.h:
29964 * gst/schedulers/threadscheduler.c:
29965 (gst_thread_scheduler_task_get_type),
29966 (gst_thread_scheduler_task_class_init),
29967 (gst_thread_scheduler_task_init),
29968 (gst_thread_scheduler_task_start),
29969 (gst_thread_scheduler_task_stop),
29970 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29971 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29972 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29973 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29975 * libs/gst/Makefile.am:
29976 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29977 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29978 (gst_file_pad_parent_set):
29979 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29980 (gst_dp_event_from_packet):
29981 * tests/complexity.c: (main):
29982 * tests/mass_elements.c: (main):
29983 * testsuite/states/locked.c: (message_received), (main):
29984 * testsuite/states/parent.c: (main):
29985 * tools/gst-inspect.c: (print_element_flag_info),
29986 (print_implementation_info), (print_pad_info):
29987 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29989 * tools/gst-md5sum.c: (event_loop), (main):
29990 * tools/gst-typefind.c: (main):
29991 * tools/gst-xmlinspect.c: (print_element_info):
29993 Added GstBus for mainloop integration.
29994 Added GstMessage for sending notifications on the bus.
29995 Added GstTask as an abstraction for pipeline entry points.
29997 Removed Schedulers.
29998 Simplified GstQueue for multithreaded core.
29999 Made _link threadsafe, removed old capsnego.
30000 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30001 Added pad blocking functions.
30002 Reworked scheduling functions in GstPad to prepare for
30003 scheduling updates soon.
30004 Moved events out of data stream.
30005 Simplified GstEvent types.
30006 Added return values to push/pull.
30007 Removed clocking from GstElement.
30008 Added prototypes for state change function for next merge.
30009 Removed iterate from bins and state change management.
30010 Fixed some elements, disabled others for now.
30011 Fixed -inspect and -launch.
30012 Added check for GstBus.
30014 2005-03-10 Wim Taymans <wim@fluendo.com>
30016 * docs/design/part-MT-refcounting.txt:
30017 * docs/design/part-clocks.txt:
30018 * docs/design/part-gstelement.txt:
30019 * docs/design/part-gstobject.txt:
30020 * docs/design/part-standards.txt:
30021 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30022 (gst_bin_remove_func), (gst_bin_remove):
30026 * testsuite/clock/clock1.c: (main):
30027 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30029 * testsuite/dlopen/loadgst.c: (do_test):
30030 * testsuite/refcounting/bin.c: (add_remove_test1),
30031 (add_remove_test2), (main):
30032 * testsuite/refcounting/element.c: (main):
30033 * testsuite/refcounting/element_pad.c: (main):
30034 * testsuite/refcounting/pad.c: (main):
30035 * tools/gst-launch.c: (sigint_handler_sighandler):
30036 * tools/gst-typefind.c: (main):
30038 Added doc about clock.
30039 removed gst_bin_iterate_recurse_up(), marked methods
30041 Fix more testsuites.
30043 2005-03-09 Wim Taymans <wim@fluendo.com>
30045 * gst/gstpad.c: (gst_pad_get_direction),
30046 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30047 (gst_pad_collect_valist):
30048 * testsuite/bins/interface.c: (main):
30049 * testsuite/caps/audioscale.c: (test_caps):
30050 * testsuite/caps/caps.c: (test1), (test2), (test3):
30051 * testsuite/caps/deserialize.c: (main):
30052 * testsuite/caps/enumcaps.c: (main):
30053 * testsuite/caps/filtercaps.c: (main):
30054 * testsuite/caps/intersect2.c: (main):
30055 * testsuite/caps/random.c: (main):
30056 * testsuite/caps/renegotiate.c: (my_fixate), (main):
30057 * testsuite/caps/sets.c: (check_caps):
30058 * testsuite/caps/simplify.c: (check_caps), (main):
30059 * testsuite/caps/subtract.c: (check_caps):
30060 Fix _pad_get_direction wrt ghostpads.
30061 Fix caps testsuite.
30063 2005-03-09 Wim Taymans <wim@fluendo.com>
30065 * check/Makefile.am:
30066 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30067 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30068 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30069 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30070 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30071 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30072 (gst_bin_remove), (gst_bin_iterate_recurse_up),
30073 (bin_element_is_sink), (gst_bin_iterate_sinks),
30074 (gst_bin_iterate_all_by_interface):
30076 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30077 (gst_element_change_state), (gst_element_dispose),
30078 (gst_element_finalize), (gst_element_set_loop_function):
30079 * gst/gstelement.h:
30080 * gst/gstiterator.c: (find_custom_fold_func):
30081 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30082 (gst_pad_collectv), (gst_pad_collect_valist),
30083 (gst_pad_template_new):
30084 * gst/gstpipeline.c: (gst_pipeline_class_init),
30085 (gst_pipeline_dispose), (gst_pipeline_set_property),
30086 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30087 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30088 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30090 * gst/schedulers/entryscheduler.c:
30091 * gst/schedulers/gstbasicscheduler.c:
30092 (gst_basic_scheduler_cothreaded_chain),
30093 (gst_basic_scheduler_chain_add_element):
30094 * testsuite/bins/interface.c: (main):
30096 Added GstSystemClock test.
30097 Implemented clock distribution code in GstBin.
30098 Implemented iterate sinks method for future use.
30099 Rearranged gstelement.h
30100 Fix GstIterator comparison bug.
30101 Moved some code to GstPipeline, mostly clocking related.
30103 2005-03-09 Wim Taymans <wim@fluendo.com>
30106 * gst/gst_private.h:
30107 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30108 (gst_bin_remove_func), (gst_bin_remove),
30109 (gst_bin_get_by_name_recurse_up):
30110 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30111 (gst_clock_id_compare_func), (gst_clock_id_wait),
30112 (gst_clock_id_wait_async), (gst_clock_init),
30113 (gst_clock_adjust_unlocked), (gst_clock_get_time):
30114 * gst/gstelement.h:
30115 * gst/gstinfo.c: (_gst_debug_init):
30117 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30118 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30120 Bump version number, we're now 0.9.0
30121 Add future debugging category.
30122 Fix NULL _unref() in _get_by_name_recurse_up
30123 Rearrange gstpad.h.
30126 2005-03-08 Wim Taymans <wim@fluendo.com>
30128 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30129 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30130 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30131 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30132 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30133 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30134 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30135 * gst/elements/gstidentity.c: (gst_identity_class_init):
30136 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30137 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30138 * gst/elements/gstshaper.c: (gst_shaper_class_init):
30139 * gst/elements/gststatistics.c: (gst_statistics_class_init):
30140 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30142 * gst/gstelement.c: (gst_element_class_init),
30143 (gst_element_base_class_init), (gst_element_init),
30144 (gst_element_get_random_pad), (gst_element_wait_state_change),
30145 (gst_element_change_state), (gst_element_dispose),
30146 (gst_element_finalize), (gst_element_set_loop_function):
30147 * gst/gstelement.h:
30148 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30149 * gst/gstthread.c: (gst_thread_class_init),
30150 (gst_thread_release_children_locks), (gst_thread_change_state):
30151 * gst/schedulers/gstbasicscheduler.c:
30152 (gst_basic_scheduler_loopfunc_wrapper),
30153 (gst_basic_scheduler_chain_wrapper),
30154 (gst_basic_scheduler_src_wrapper),
30155 (gst_basic_scheduler_remove_element):
30156 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30157 Remove threadsafe properties. Fix elements because GObject
30158 complains when installing a property before declaring a
30159 set/get_property handler.
30160 Rearrange gstelement.h file, use STATE macros for state locks.
30161 Free mutexes in the finalize method instead of dispose.
30163 2005-03-08 Wim Taymans <wim@fluendo.com>
30165 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30166 * gst/gstthread.c: (gst_thread_release_children_locks):
30167 Added parentage check.
30168 Fix build og GstThread again.
30170 2005-03-08 Wim Taymans <wim@fluendo.com>
30172 * docs/design/part-MT-refcounting.txt:
30173 * docs/design/part-conventions.txt:
30174 * docs/design/part-gstobject.txt:
30175 * docs/design/part-relations.txt:
30176 * docs/design/part-standards.txt:
30177 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30178 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30179 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30180 (gst_bin_iterate_all_by_interface):
30183 * gst/gstelement.c: (gst_element_class_init),
30184 (gst_element_change_state), (gst_element_set_loop_function):
30185 * gst/gstelement.h:
30186 * gst/gstiterator.c:
30187 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30188 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30189 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30190 (gst_object_set_parent), (gst_object_unparent),
30191 (gst_object_check_uniqueness):
30193 Docs updates, clean up some headers.
30195 2005-03-07 Wim Taymans <wim@fluendo.com>
30197 * check/.cvsignore:
30198 * check/Makefile.am:
30199 * check/gst-libs/.cvsignore:
30200 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30201 * check/gst/.cvsignore:
30202 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30203 (START_TEST), (gstbus_suite), (main):
30204 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30205 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30206 (gst_data_suite), (main):
30207 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30208 (add_fold_func), (gstiterator_suite), (main):
30209 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30210 (thread_name_object), (thread_name_object_default),
30211 (gst_object_name_compare), (gst_object_suite), (main):
30212 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30213 (gst_pad_suite), (main):
30214 * check/gstcheck.c: (gst_check_log_message_func),
30215 (gst_check_log_critical_func), (gst_check_init):
30216 * check/gstcheck.h:
30217 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30218 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30221 2005-03-07 Wim Taymans <wim@fluendo.com>
30223 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30224 (gst_list_iterator_next), (gst_list_iterator_resync),
30225 (gst_list_iterator_free), (gst_iterator_new_list),
30226 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30227 (gst_iterator_free), (gst_iterator_push), (filter_next),
30228 (filter_resync), (filter_uninit), (filter_free),
30229 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30230 (gst_iterator_foreach), (find_custom_fold_func),
30231 (gst_iterator_find_custom):
30232 * gst/gstiterator.h:
30233 Added missing files.
30235 2005-03-07 Wim Taymans <wim@fluendo.com>
30239 * docs/design/part-MT-refcounting.txt:
30240 * docs/design/part-conventions.txt:
30241 * docs/design/part-gstobject.txt:
30242 * docs/design/part-relations.txt:
30243 * examples/mixer/mixer.c: (main):
30244 * examples/thread/thread.c: (eos), (main):
30246 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30247 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30248 (gst_spider_plug_from_srcpad):
30249 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30250 (gst_spider_identity_change_state),
30251 (gst_spider_identity_sink_loop_type_finding):
30252 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30253 * gst/elements/gstidentity.c: (gst_identity_init):
30254 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30255 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30256 * gst/elements/gsttypefindelement.c: (free_entry):
30259 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30260 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30261 (gst_bin_set_index), (gst_bin_set_element_sched),
30262 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30263 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30264 (gst_bin_iterate_elements), (iterate_child_recurse),
30265 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30266 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30267 (compare_interface), (gst_bin_get_by_interface),
30268 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30270 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30271 (gst_buffer_default_free), (gst_buffer_default_copy),
30272 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30273 (gst_buffer_create_sub):
30275 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30276 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30277 (gst_caps_unref), (gst_static_caps_get),
30278 (gst_caps_remove_and_get_structure), (gst_caps_append),
30279 (gst_caps_append_structure), (gst_caps_remove_structure),
30280 (gst_caps_copy_nth), (gst_caps_set_simple),
30281 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30282 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30283 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30284 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30285 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30286 (gst_caps_structure_figure_out_union),
30287 (gst_caps_switch_structures), (gst_caps_do_simplify),
30288 (gst_caps_replace), (gst_caps_from_string),
30289 (gst_caps_copy_conditional):
30291 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30292 (_gst_clock_id_free), (gst_clock_id_unref),
30293 (gst_clock_id_compare_func), (gst_clock_id_wait),
30294 (gst_clock_id_wait_async), (gst_clock_class_init),
30295 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30296 (gst_clock_get_time), (gst_clock_set_time_adjust),
30297 (gst_clock_set_property), (gst_clock_get_property):
30300 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30301 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30303 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30304 (gst_element_requires_clock), (gst_element_provides_clock),
30305 (gst_element_set_clock), (gst_element_clock_wait),
30306 (gst_element_wait), (gst_element_set_time_delay),
30307 (gst_element_is_indexable), (gst_element_add_pad),
30308 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30309 (pad_compare_name), (gst_element_get_static_pad),
30310 (gst_element_request_pad), (gst_element_get_request_pad),
30311 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30312 (gst_element_class_get_pad_template_list),
30313 (gst_element_class_get_pad_template), (gst_element_error_func),
30314 (gst_element_get_random_pad), (gst_element_get_event_masks),
30315 (gst_element_send_event), (gst_element_seek),
30316 (gst_element_get_query_types), (gst_element_query),
30317 (gst_element_get_formats), (gst_element_convert),
30318 (gst_element_is_locked_state), (gst_element_set_locked_state),
30319 (gst_element_sync_state_with_parent), (gst_element_change_state),
30320 (gst_element_finalize), (gst_element_yield),
30321 (gst_element_interrupt), (gst_element_set_scheduler),
30322 (gst_element_get_scheduler), (gst_element_set_loop_function):
30323 * gst/gstelement.h:
30325 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30326 (gst_format_get_by_nick), (gst_format_get_details),
30327 (gst_format_iterate_definitions):
30329 * gst/gstindex.c: (gst_index_gtype_resolver):
30332 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30333 (gst_mem_chunk_free):
30334 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30335 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30336 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30337 (gst_object_dispatch_properties_changed),
30338 (gst_object_set_name_default), (gst_object_set_name),
30339 (gst_object_get_name), (gst_object_set_name_prefix),
30340 (gst_object_get_name_prefix), (gst_object_set_parent),
30341 (gst_object_get_parent), (gst_object_unparent),
30342 (gst_object_check_uniqueness), (gst_object_save_thyself),
30343 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30344 (gst_object_set_property), (gst_object_get_property),
30345 (gst_object_get_path_string):
30347 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30348 (gst_real_pad_init), (gst_real_pad_get_property),
30349 (gst_pad_custom_new), (gst_pad_get_direction),
30350 (gst_pad_set_active), (gst_pad_is_active),
30351 (gst_pad_set_event_function), (gst_pad_is_linked),
30352 (gst_pad_link_free), (gst_pad_link_intersect),
30353 (gst_pad_link_fixate), (gst_pad_set_caps),
30354 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30355 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30356 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30357 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30358 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30359 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30360 (gst_pad_realize), (gst_pad_get_allowed_caps),
30361 (gst_real_pad_dispose), (gst_real_pad_finalize),
30362 (gst_pad_collectv), (gst_pad_collect_valist),
30363 (gst_pad_template_dispose), (gst_pad_template_new),
30364 (gst_pad_get_internal_links):
30366 * gst/gstpipeline.c: (gst_pipeline_dispose),
30367 (gst_pipeline_change_state):
30368 * gst/gstpipeline.h:
30370 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30371 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30372 * gst/gstpluginfeature.h:
30373 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30374 * gst/gstquery.c: (_gst_query_type_initialize),
30375 (gst_query_type_register), (gst_query_type_get_by_nick),
30376 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30378 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30379 * gst/gstscheduler.c: (gst_scheduler_add_element),
30380 (gst_scheduler_factory_create):
30381 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30382 (gst_structure_free), (gst_structure_set_name),
30383 (gst_structure_id_set_value), (gst_structure_set_value),
30384 (gst_structure_set_valist), (gst_structure_remove_field),
30385 (gst_structure_remove_fields),
30386 (gst_structure_remove_fields_valist),
30387 (gst_structure_remove_all_fields), (gst_structure_foreach),
30388 (gst_structure_map_in_place),
30389 (gst_caps_structure_fixate_field_nearest_int),
30390 (gst_caps_structure_fixate_field_nearest_double):
30391 * gst/gststructure.h:
30392 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30393 (gst_system_clock_init), (gst_system_clock_dispose),
30394 (gst_system_clock_async_thread),
30395 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30396 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30397 * gst/gstsystemclock.h:
30398 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30399 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30400 * gst/gsttaginterface.c:
30401 * gst/gstthread.c: (gst_thread_dispose),
30402 (gst_thread_release_children_locks), (gst_thread_change_state),
30403 (gst_thread_main_loop):
30404 * gst/gsttrashstack.h:
30405 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30407 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30408 (gst_element_request_pad), (gst_element_get_pad_from_template),
30409 (gst_element_request_compatible_pad),
30410 (gst_element_get_compatible_pad_filtered),
30411 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30412 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30413 (gst_element_link_many), (gst_element_link),
30414 (gst_element_link_pads), (gst_element_unlink_pads),
30415 (gst_element_unlink_many), (gst_element_unlink),
30416 (gst_pad_can_link_filtered), (gst_pad_can_link),
30417 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30418 (gst_object_default_error), (gst_bin_add_many),
30419 (gst_bin_remove_many), (gst_element_populate_std_props),
30420 (gst_element_class_install_std_props), (gst_buffer_merge),
30421 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30422 (link_fold_func), (gst_pad_proxy_setcaps):
30424 * gst/gstvalue.c: (gst_value_deserialize_string):
30425 * gst/parse/grammar.y:
30426 * gst/schedulers/gstbasicscheduler.c:
30427 (gst_basic_scheduler_cothreaded_chain),
30428 (gst_basic_scheduler_chain_recursive_add),
30429 (gst_basic_scheduler_pad_link):
30430 * gst/schedulers/gstoptimalscheduler.c:
30431 (get_group_schedule_function),
30432 (gst_opt_scheduler_state_transition),
30433 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30434 * libs/gst/bytestream/bytestream.c:
30435 * libs/gst/dataprotocol/dataprotocol.c:
30436 (gst_dp_header_from_buffer):
30439 * tests/threadstate/threadstate2.c: (eos):
30440 * tools/gst-compprep.c: (main):
30441 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30442 (print_pad_info), (print_children_info):
30443 * tools/gst-launch.c: (idle_func), (main):
30444 * tools/gst-md5sum.c: (idle_func), (main):
30445 * tools/gst-xmlinspect.c: (print_element_info):
30446 First THREADED backport attempt, focusing on adding locks and
30447 making sure the API is threadsafe. Needs more work. More docs
30450 2005-02-24 Andy Wingo <wingo@pobox.com>
30452 * tests/bench-complexity.scm:
30453 * tests/complexity.gnuplot: New files, good for running complexity
30456 * tests/Makefile.am:
30457 * tests/complexity.c: New test, sets up N elements, at each level
30458 teeing into M streams per element. Eeeenteresting.
30460 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30461 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30462 running bench-mass_elements.scm.
30464 * tests/bench-mass_elements.scm: New script, runs mass_elements
30465 for various numbers of identities, outputting the results to a
30466 file. Requires guile 1.6. Just for testing.
30468 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30470 * gst/schedulers/fairscheduler.c:
30471 compile with debug disabled
30473 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30476 hunting season on 0.9 is now OPEN