1 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
3 * plugins/elements/gstqueue.c: (gst_queue_init),
4 (gst_queue_acceptcaps):
5 Add and use a custom acceptcaps function instead of falling back to the
6 potentially less optimized default implementation.
8 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
10 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
11 Only sanity-check the buffer size if requested_caps == buffer_caps
12 (ie. don't take pad caps into account, they're not relevant here)
14 2008-07-29 Stefan Kost <ensonic@users.sf.net>
16 * plugins/elements/gsttee.c:
17 * plugins/elements/gsttee.h:
18 Reverting as not everything is clear yet. Needs some general design
21 2008-07-29 Stefan Kost <ensonic@users.sf.net>
24 ChangeLog surgery for tee commit.
26 2008-07-29 Stefan Kost <ensonic@users.sf.net>
28 * docs/gst/gstreamer-sections.txt:
31 2008-07-29 Stefan Kost <ensonic@users.sf.net>
33 * plugins/elements/gsttee.c:
34 * plugins/elements/gsttee.h:
35 Relay tag events in tee. Fixes parts of #474016.
36 Downgrades 3 reoccurring debugs to log.
38 2008-07-28 Michael Smith <msmith@songbirdnest.com>
41 * libs/gst/Makefile.am:
42 Build the net library if we have winsock2.
44 2008-07-26 Stefan Kost <ensonic@users.sf.net>
46 patch by: Luc Pionchon <luc.pionchon@nokia.com>
48 * docs/manual/advanced-threads.xml:
49 * docs/manual/diagrams-pipelines.svg:
50 * docs/manual/hello-world.png:
51 * docs/manual/linked-elements.png:
52 * docs/manual/mime-world.png:
53 * docs/manual/queue.png:
54 * docs/manual/thread-buffering.png:
55 * docs/manual/thread-synchronizing.png:
56 Replace one diagram with two separate ones and updates others.
59 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
62 Fix link in documentation.
64 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
67 Fix confusing documentation.
69 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
71 * libs/gst/base/gstbasesrc.h:
72 revert the changes to the header file for the ABI.
74 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
76 * libs/gst/base/gstbasesrc.c:
77 * libs/gst/base/gstbasesrc.h:
78 Don't cache the seekable status.
81 2008-07-24 Rene Stadler <mail@renestadler.de>
83 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
84 code to close the pipeline graph. This prevents the program from
85 printing internal data flow errors.
87 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
89 * docs/manual/basics-bus.xml:
90 Correct typo. Fixes bug #544320.
92 2008-07-22 Michael Smith <msmith@songbirdnest.com>
95 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
96 Add check (taken from -base) for winsock, adds WIN32_LIBS
98 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
100 Define GST_EXPORTS when building libgstreamer (only used on win32)
103 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
104 for symbols that we need to export in both these files.
106 Include gst_private.h higher up to avoid some compile problems on win32.
108 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
113 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
116 Previous commit was wrong NULL caps does not exist
117 and indicate an error, so also add a FIXME to
118 gst_caps_is_equal where NULL caps are accepted.
120 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
123 Allow passing of NULL to gst_caps_union
125 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
128 Add in doc that gst_ghost_pad_set_target can accept
131 2008-07-15 Michael Smith <msmith@songbirdnest.com>
135 GstRegistryPool doesn't exist; don't refer to it in docs.
136 Don't refer to functions that don't exist in docs, it's
139 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
142 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
144 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
146 Patch by: tmatth <le dot businessman at gmail dot com>
148 * docs/pwg/building-testapp.xml:
149 Don't use an undeclared variable in the example program.
152 2008-07-12 Stefan Kost <ensonic@users.sf.net>
154 * gst/gstdebugutils.c:
155 Squeeze ghost-pad links and remove <> from classname labels to save
156 more horizontal space.
158 2008-07-11 Stefan Kost <ensonic@users.sf.net>
160 * gst/gstdebugutils.c:
161 Give request and sometimes pads a different shpe style. Condense the
162 graphs a little more.
164 2008-07-09 Michael Smith <msmith@songbirdnest.com>
167 Don't require flex and bison if the parser is disabled.
169 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
171 * libs/gst/controller/gstinterpolationcontrolsource.c:
172 (_list_find_sorted_custom):
173 Don't use declarations after statements.
175 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
177 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
178 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
179 of the the child-added / -removed signals as GstChildProxy
180 only supports GstObjects.
182 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
184 * gst/gstdebugutils.c:
187 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
189 Patch by: Alessandro Decina <alessandro at nnva dot org>
192 Fix "ignored return value" compiler warning with newer glibc.
194 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
196 * gst/gstchildproxy.c:
197 Fix copy&paste error in gst_child_proxy_removed() documentation.
199 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
201 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
202 Print error debug message if plugin description fields that should
205 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
206 Don't crash if the string to serialise is NULL (it really should
207 not be, but apparently this used to work with the xml registry ...).
209 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
211 * tools/gst-plot-timeline.py:
212 Fix parsing of log messages
214 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
216 * win32/common/libgstbase.def::
217 Sort alphabetically so make check-exports doesn't barf.
219 2008-07-01 Stefan Kost <ensonic@users.sf.net>
222 Use gst_format_get_name() to improve debug output.
225 Remove #ifdef'ed code. Add TODO comment.
228 Add debug output to ease spotting format != segment.format assertions.
230 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
232 * tests/check/libs/gdp.c: (gst_dp_suite):
233 Also enable the GDP unit test again on PPC now that the bug
236 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
238 * libs/gst/dataprotocol/dataprotocol.c:
239 Don't write to the same region of memory as a uint64 and uint16
240 as this breaks strict aliasing rules and apparantly breaks on PPC
241 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
243 2008-06-29 Stefan Kost <ensonic@users.sf.net>
245 * libs/gst/controller/gstinterpolationcontrolsource.c:
246 Optimize list handling. Use own find function. Exploit that fact that
247 the list is sorted. Also pass back the node before, so that we can
248 insert quickly. Have a fast path for append.
250 2008-06-29 Stefan Kost <ensonic@users.sf.net>
252 * docs/design/draft-framestep.txt:
253 * docs/design/part-negotiation.txt:
256 2008-06-27 Stefan Kost <ensonic@users.sf.net>
259 Show configuration sumary after configure run. Based on patch by
260 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
262 2008-06-27 Stefan Kost <ensonic@users.sf.net>
264 patch by: Luc Pionchon <luc.pionchon@nokia.com>
266 * docs/manual/advanced-autoplugging.xml:
267 * docs/manual/advanced-threads.xml:
268 * docs/manual/basics-bins.xml:
269 * docs/manual/basics-elements.xml:
270 * docs/manual/basics-helloworld.xml:
271 * docs/manual/basics-pads.xml:
272 Add scale factor for pdf output.
274 * docs/manual/intro-basics.xml:
275 Switched sections "pads" and "bins" and added a pipeline diagram.
277 * docs/manual/intro-gstreamer.xml:
278 Added more info on gstreamer.
280 * docs/manual/intro-motivation.xml:
281 Commented out the whole section "current problem", which sounds
282 historical and somehow osolete; it could be turned in a positive
283 way and reused to improve the design principles.
285 * docs/manual/intro-preface.xml:
286 - Update URLs to library.gnome.org.
287 - Do not mention GTK+ in preliminary reading (irrelevant).
288 - Mention Plugin Writer's Manual and further reading only in the
290 - Added a list of most relevant GObject/glib topics.
292 * docs/manual/Makefile.am:
293 * docs/manual/bin-element-ghost.fig:
294 * docs/manual/bin-element-ghost.png:
295 * docs/manual/bin-element-noghost.fig:
296 * docs/manual/bin-element-noghost.png:
297 * docs/manual/bin-element.fig:
298 * docs/manual/bin-element.png:
299 * docs/manual/filter-element-multi.fig:
300 * docs/manual/filter-element-multi.png:
301 * docs/manual/filter-element.fig:
302 * docs/manual/filter-element.png:
303 * docs/manual/gstreamer-overview.png:
304 * docs/manual/hello-world.fig:
305 * docs/manual/hello-world.png:
306 * docs/manual/linked-elements.fig:
307 * docs/manual/linked-elements.png:
308 * docs/manual/mime-world.fig:
309 * docs/manual/mime-world.png:
310 * docs/manual/queue.fig:
311 * docs/manual/queue.png:
312 * docs/manual/simple-player.png:
313 * docs/manual/sink-element.fig:
314 * docs/manual/sink-element.png:
315 * docs/manual/src-element.fig:
316 * docs/manual/src-element.png:
317 * docs/manual/diagrams-general.svg:
318 * docs/manual/diagrams-pipelines.svg:
319 Removed .fig, added .png counterpart.
323 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
325 * plugins/elements/gstmultiqueue.c:
326 * plugins/elements/gstmultiqueue.h:
327 revert extra-size-buffers stuff, caused some race conditions
328 and extra-size-buffers is not used anymore. Docs needs some updates
330 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
332 * win32/common/config.h:
333 * win32/common/gstenumtypes.c:
334 * win32/common/gstenumtypes.h:
335 * win32/common/gstversion.h:
338 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
340 * gst/gstdebugutils.h: (GstDebugGraphDetails),
341 (GST_DEBUG_BIN_TO_DOT_FILE):
342 Add missing Since' markers to gtk-doc blurbs.
344 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
346 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
347 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
348 (set_caps_1), (set_caps_ct1), (transform_ct1),
349 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
350 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
351 (transform_size_ct2), (buffer_alloc_ct2):
352 Add some more tests with switching caps in buffer_alloc.
354 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
356 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
357 (gst_test_trans_class_init), (result_sink_chain),
358 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
359 (gst_test_trans_push), (gst_test_trans_pop):
360 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
361 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
362 (set_caps_1), (set_caps_ct1), (transform_ct1),
363 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
364 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
365 (transform_size_ct2), (buffer_alloc_ct2),
366 (gst_basetransform_suite):
367 More tests, prepare for tests with switching caps in buffer_alloc.
369 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
371 * plugins/elements/gstmultiqueue.c:
372 * plugins/elements/gstmultiqueue.h:
373 Fix dead-lock in underrun_cb
375 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
377 * docs/design/part-states.txt:
378 Fix device open/close docs.
380 2008-06-25 Stefan Kost <ensonic@users.sf.net>
383 Mention bugnumber for last commit.
385 2008-06-25 Stefan Kost <ensonic@users.sf.net>
387 patch by: Luc Pionchon <luc.pionchon@nokia.com>
389 * docs/manual/manual.xml:
390 - Reorganised the previous "introduction" bundle into Foreword,
391 Introduction, and About GStreamer. The two first are <preface>
392 docbook elements. The later is the first part of the book.
393 - added intro-gstreamer.xml (content partially from
395 - moved appendix-win32.xml into appendix-integration.xml
397 * docs/manual/intro-preface.xml: gstreamer section moved...
398 * docs/manual/intro-gstreamer.xml: ...here. new file.
400 * docs/manual/appendix-win32.xml: removed file. Content moved...
401 * docs/manual/appendix-integration.xml: ...here.
403 * docs/manual/highlevel-components.xml: section about GstEditor moved...
404 * docs/manual/appendix-checklist.xml: ...here.
408 2008-06-25 Stefan Kost <ensonic@users.sf.net>
410 patch by: Luc Pionchon <luc.pionchon@nokia.com>
412 * docs/manual/basics-helloworld.xml:
413 * docs/manual/hello-world.fig:
414 - Explicitely include glib.h.
415 - Do not use global variables.
416 - Use g_printerr() instead of g_print().
417 - Minor formating/renaming to increase readibility.
418 - Renamed new_pad() to on_pad_added()
419 - Improved explenatory comments.
420 - renamed ogg parser to ogg demuxer
421 - Use "autoaudiosink" instead of "alsasink".
424 2008-06-25 Stefan Kost <ensonic@users.sf.net>
427 Remove cvs conflict marker.
429 2008-06-25 Stefan Kost <ensonic@users.sf.net>
432 Document that for plgin-docs we extraxt he short-desc from the element
435 * docs/design/part-states.txt:
436 Tell that devices should be closed in PAUSED -> READY.
438 * docs/manual/README:
439 Document how tests in the manual are handled.
444 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
446 * gst/gstbin.c: (bin_query_latency_fold):
447 Only care about latency min and max when the sink is actually a live
450 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
452 * docs/design/part-block.txt:
455 * docs/design/part-element-transform.txt:
456 Add notes about why transform needs to know input/output sizes.
457 Add some issues that need to be solved.
458 Add some more use cases.
460 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
461 (gst_test_trans_class_init), (result_sink_chain),
462 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
463 (gst_test_trans_push), (gst_test_trans_pop):
464 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
465 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
466 (set_caps_1), (set_caps_ct1), (transform_ct1),
467 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
468 (gst_basetransform_suite):
469 Add suport for different pad templates and buffer-alloc.
470 Add more checks for caps and buffer-alloc.
471 Add checks for proxy buffer alloc.
472 Add unit test for copy transform.
474 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
476 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
478 * docs/manual/appendix-integration.xml:
479 * docs/manual/appendix-licensing.xml:
480 * docs/manual/basics-elements.xml:
481 * docs/manual/basics-helloworld.xml:
482 * docs/manual/basics-pads.xml:
483 * docs/manual/highlevel-components.xml:
484 * docs/manual/highlevel-xml.xml:
485 * docs/manual/intro-basics.xml:
486 * docs/manual/intro-preface.xml:
487 Typo and formatting fixes (#538594).
489 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
491 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
492 Fix some memory leaks and uses of object instances that we don't
495 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
497 * plugins/elements/gstmultiqueue.c:
498 Add functionality to extra-size-buffers property.
500 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
502 * plugins/elements/gstmultiqueue.c:
503 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
504 activate the pads if they are added in STATE_NULL.
506 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
508 * docs/libs/gstreamer-libs-sections.txt:
510 * libs/gst/check/gstcheck.c:
511 * libs/gst/check/gstcheck.h:
512 API: gst_check_teardown_pad_by_name
514 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
516 * libs/gst/check/gstcheck.c:
517 * libs/gst/check/gstcheck.h:
518 Also setup request pads and allow setup pads by name (#537812)
519 API: gst_check_setup_src_pad_by_name
520 API: gst_check_setup_sink_pad_by_name
522 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
524 * tests/check/gst/gstbuffer.c:
525 * tests/check/pipelines/parse-launch.c:
526 Use HAVE_VALGRIND_H some more.
528 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
530 * scripts/cvs-update.sh:
531 Pass arguments to make.
532 Run autoregen.sh if Makefile is not there.
534 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
538 Don't assume that <valgrind/valgrind.h> exists just because
541 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
543 * tests/check/Makefile.am:
544 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
545 (gst_test_trans_class_init), (gst_test_trans_init),
546 (gst_test_trans_set_data), (result_sink_chain),
547 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
548 (gst_test_trans_pop):
549 * tests/check/libs/transform1.c: (GST_START_TEST),
550 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
551 Add some test basetransform element and the beginnings of various
554 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
556 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
557 Increase code readability.
558 Don't try to compare buffer offsets when ther are invalid.
560 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
562 * docs/design/Makefile.am:
563 Dist some more design docs.
565 * docs/random/moving-plugins:
566 Small addition: good plugins mustn't have functional code
567 within assertion macros.
569 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
571 * docs/design/draft-framestep.txt:
572 Some ideas about a framestep API
574 * docs/design/part-element-transform.txt:
575 Start design and use cases for basetransform in order to get it
578 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
581 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
582 be in UTF-8 encoding.
584 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
587 Make it known that gst_bus_poll() is pure evil (fixes #538810).
589 2008-06-20 Stefan Kost <ensonic@users.sf.net>
591 * plugins/elements/gstcapsfilter.c:
592 * plugins/elements/gstfakesink.c:
593 * plugins/elements/gstfakesrc.c:
594 * plugins/elements/gstfdsink.c:
595 * plugins/elements/gstfdsrc.c:
596 * plugins/elements/gstfilesink.c:
597 * plugins/elements/gstfilesrc.c:
598 * plugins/elements/gstidentity.c:
599 * plugins/elements/gstmultiqueue.c:
600 * plugins/elements/gstqueue.c:
601 * plugins/elements/gsttee.c:
602 * plugins/elements/gsttypefindelement.c:
603 Remove short_description. Add basic docs for gsttypefindelement.
604 Simplify markup for fakesrc/fdsrc.
606 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
608 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
611 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
613 Patch by: joel larsson <tilljoel at gmail dot com>
615 * docs/plugins/gstreamer-plugins.args:
616 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
617 (gst_fd_src_init), (gst_fd_src_update_fd),
618 (gst_fd_src_set_property), (gst_fd_src_get_property),
620 * plugins/elements/gstfdsrc.h:
621 Add timeout property like udpsrc. Fixes #538628.
622 Add some more docs and example pipelines.
624 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
626 * docs/libs/gstreamer-libs-sections.txt:
627 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
628 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
629 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
630 (gst_base_sink_do_sync):
631 * libs/gst/base/gstbasesink.h:
632 * win32/common/libgstbase.def:
633 Add method to allow sinks to specify additional delay between the sync
634 times and the actual rendering of the data.
635 API: gst_base_sink_set_render_delay()
636 API: gst_base_sink_get_render_delay()
638 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
641 Bump version number back to dev -> 0.10.20.1
643 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
645 * docs/gst/gstreamer-sections.txt:
646 * gst/gsttaglist.c: (_gst_tag_initialize):
648 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
651 2008-06-20 Stefan Kost <ensonic@users.sf.net>
653 * libs/gst/controller/gstcontroller.c:
654 Revert one change, that make ret value possible uninitialized.
656 2008-06-20 Stefan Kost <ensonic@users.sf.net>
658 * libs/gst/controller/gstcontroller.c:
659 Use freeze/thaw notify to sync notify emission a bit (its also more
660 efficient). Move debug output to LOG (is called a lot in a loop).
661 Always unset g_values if the have been initialized.
663 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
665 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
666 (gst_base_sink_wait_eos), (gst_base_sink_event):
667 If we have not seen a buffer before EOS, use the segment values to
668 report the current position instead of invalid positions.
670 2008-06-20 Stefan Kost <ensonic@users.sf.net>
672 * docs/plugins/tmpl/.cvsignore:
673 * tests/check/gst/.cvsignore:
676 2008-06-20 Stefan Kost <ensonic@users.sf.net>
678 * libs/gst/controller/gstinterpolation.c:
679 * libs/gst/controller/gstinterpolationcontrolsource.c:
680 * tests/check/libs/controller.c:
681 Rewrite handling of default values. Fix overflow with unsigned types
682 in linear interpolation. Remove now obsolete _first_value() function.
683 Add more tests. Fixes #538201.
685 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
687 * libs/gst/base/gstbasetransform.c:
688 (gst_base_transform_class_init), (gst_base_transform_init),
689 (gst_base_transform_transform_caps),
690 (gst_base_transform_prepare_output_buffer):
692 When a buffer is writable, its metadata is also writable so we don't
693 need to subbuffer (which then makes the buffer not-writable anymore).
695 === release 0.10.20 ===
697 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
700 releasing 0.10.20, "You Crazy Diamond"
702 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
705 0.10.19.3 pre-release
707 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
711 Rename DATADIR to GST_DATADIR to avoid build problems
712 on win32. Patch By: David Schleef <ds@schleef.org>
715 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
718 Explicitely link with -ldl if dladdr() is found there. Before it was
719 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
720 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
722 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
724 * gst/gsterror.c: (_gst_stream_errors_init):
725 Fix typo (spotted by Fabricio Godoy, #536723).
727 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
730 0.10.19.2 pre-release
732 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
734 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
735 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
737 Make sure we don't generate invalid QoS messages.
739 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
741 * gst/gstevent.c: (gst_event_new_qos):
742 Add some assert and docs for invalid input to the qos function.
744 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
747 (gst_base_sink_get_position):
748 The reported position must always be smaller than the last seen
749 timestamps (or timestamp + duration for reverse).
751 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
753 Patch by: Rob Bradford <rob at robster dot org dot uk>
755 * gst/gstregistry.c: (gst_registry_scan_path_level):
756 Don't recurse into .debug directories as some distros install
757 the debugging symbols next to the plugins in .debug directories
758 and dlopen() crashes on them sometimes. Fixes bug #508070.
760 Add FIXME for 0.11 to not recurse into directories at all because
761 it's very inconsistent to the behaviour of other PATH environment
764 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
766 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
767 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
768 Fix position query range checks in reverse playback.
770 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
774 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
775 clear of the reference to the resulting pad must be released later
776 or not, resulting in possible leaks. Fixes bug #533865.
778 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
780 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
782 * gst/gstelementfactory.c:
783 Small doc fix. Fixes #535285.
785 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
787 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
789 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
790 (gst_base_src_get_range), (gst_base_src_pad_get_range),
791 (gst_base_src_loop), (gst_base_src_set_flushing),
792 (gst_base_src_change_state):
793 Make sending an EOS event to the basesrc non-blocking even if the
794 implementation does blocking waits in the create function. This is done
795 by unlocking the create function when EOS is sent.
798 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
800 * tools/gst-inspect.c: (print_element_properties_info):
801 If possible print the element type of GValueArray properties.
803 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
806 Remove an unused field from the private GstListIterator struct.
808 2008-05-27 Stefan Kost <ensonic@users.sf.net>
810 * libs/gst/controller/gstcontroller.c:
811 Add parameter guards.
813 2008-05-27 Stefan Kost <ensonic@users.sf.net>
815 * tests/check/gst/gstpipeline.c:
816 Revert test change and add comment why it should not work.
818 2008-05-27 Stefan Kost <ensonic@users.sf.net>
820 * tests/check/gst/gstpipeline.c:
821 Extending the test a little to verify that we also get the NULL state-
824 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
826 * gst/gstpreset.c: (gst_preset_default_get_meta),
827 (gst_preset_get_preset_names), (gst_preset_get_property_names),
828 (gst_preset_load_preset), (gst_preset_save_preset),
829 (gst_preset_rename_preset), (gst_preset_delete_preset),
830 (gst_preset_set_meta):
831 Add Since: markers to docs blurbs.
833 * win32/common/libgstreamer.def:
834 Add recently-added API.
836 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
838 Patch by: Stefan Kost <ensonic@users.sf.net>
841 Add DATADIR for storing presets.
843 * docs/gst/gstreamer-docs.sgml:
844 * docs/gst/gstreamer-sections.txt:
845 * docs/gst/gstreamer.types.in:
846 Add GstPreset to docs.
850 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
851 (preset_open_and_parse_header), (preset_parse_version),
852 (preset_merge), (preset_get_keyfile),
853 (gst_preset_default_get_preset_names),
854 (gst_preset_default_get_property_names),
855 (gst_preset_default_load_preset),
856 (gst_preset_default_save_presets_file),
857 (gst_preset_default_save_preset),
858 (gst_preset_default_rename_preset),
859 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
860 (gst_preset_default_get_meta), (gst_preset_default_randomize),
861 (gst_preset_default_reset), (gst_preset_get_preset_names),
862 (gst_preset_get_property_names), (gst_preset_load_preset),
863 (gst_preset_save_preset), (gst_preset_rename_preset),
864 (gst_preset_delete_preset), (gst_preset_set_meta),
865 (gst_preset_get_meta), (gst_preset_class_init),
866 (gst_preset_base_init), (gst_preset_get_type):
868 Add GstPreset to core. Fixes #396779
870 * tests/check/Makefile.am:
871 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
872 (gst_preset_test_set_property), (gst_preset_test_class_init),
873 (gst_preset_test_base_init), (gst_preset_test_get_type),
874 (gst_preset_test_plugin_init), (GST_START_TEST),
875 (remove_preset_file), (test_setup), (test_teardown),
877 Add GstPreset unit tests.
879 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
881 * gst/gstpad.c: (gst_pad_event_default_dispatch):
882 The default event function on a sinkpad should return TRUE when
883 there are no internal links but should collect the return values from
884 the internal links otherwise.
886 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
888 * plugins/elements/gsttypefindelement.c:
889 (gst_type_find_element_src_event),
890 (gst_type_find_element_handle_event):
891 Use faster and safer _pad_push_event().
893 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
895 * docs/gst/gstreamer-sections.txt:
896 * gst/gstutils.c: (element_find_unlinked_pad),
897 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
899 API: add gst_bin_find_unlinked_pad()
900 API: deprecate gst_bin_find_unconnected_pad() (#401456)
902 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
908 Fixed a bunch of typos.
910 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
913 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
914 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
915 (gst_parse_bin_from_description_full):
917 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
919 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
921 * docs/pwg/advanced-tagging.xml:
922 Small docs update, can't be bothered to rewrite the nonsensical
925 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
928 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
930 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
932 * gst/parse/grammar.y:
933 Remove unneeded casts.
935 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
937 * gst/parse/grammar.y:
938 * tests/check/pipelines/parse-launch.c:
939 Get all missing elements from a parse launch string if possible
940 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
942 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
944 * tests/check/Makefile.am:
945 * tests/check/pipelines/parse-launch.c:
946 Add some unit tests for the new gst_parse_launch*_full() API.
947 (Exposes a previously-existing memory leak in the error code
948 path, so adding to VALGRIND_TO_FIX for now).
950 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
952 * docs/gst/gstreamer-sections.txt:
953 * gst/gst.c: (init_post):
954 * gst/gst_private.h: (_GstParseContext):
955 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
956 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
957 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
958 (gst_parse_launch_full):
959 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
960 (GstParseFlags), (GstParseContext):
961 * gst/gstutils.c: (gst_parse_bin_from_description),
962 (gst_parse_bin_from_description_full):
964 * gst/parse/grammar.y:
966 * win32/common/libgstreamer.def:
967 Add new gst_parse_*_full API (#528178):
968 API: gst_parse_launch_full()
969 API: gst_parse_launchv_full()
970 API: gst_parse_bin_from_description_full()
971 API: gst_parse_context_new()
972 API: gst_parse_context_free()
973 API: gst_parse_context_get_missing_elements()
975 2008-05-23 Stefan Kost <ensonic@users.sf.net>
977 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
979 * docs/faq/gst-uninstalled:
980 Also support ffmpeg in gst-uninstalled.
982 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
985 After discussion on IRC use the binary registry as default
986 but allow to disable it with --disable-binary-registry.
988 * win32/common/libgstreamer.def:
989 Add the two new symbols for the binary registry.
991 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
993 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
994 * gst/gstutils.c: (gst_parse_bin_from_description):
995 * gst/parse/grammar.y: (graph):
996 More guards against bad input; typo fix; some minor clean-ups.
998 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1000 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1002 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1003 If nothing else can be used, use the last buffer's start time as
1004 the segment's last stop. Fixes bug #534258.
1006 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
1008 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1009 Move size sanity check to the right place: downstream may return
1010 a buffer with a smaller size if the buffer caps are different than
1011 the requested ones, as may happen when doing reverse negotiation.
1013 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1015 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1016 (gst_file_sink_render):
1017 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1018 (gst_file_src_start):
1019 Small cleanups. Add note adbout g_fopen() on windows and why we don't
1022 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * gst/gstpad.c: (gst_pad_load_and_link):
1025 * gst/gstutils.c: (gst_element_link_pads),
1026 (gst_element_unlink_pads):
1027 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1028 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1029 (gst_check_teardown_sink_pad),
1030 (gst_check_element_push_buffer_list):
1031 * tests/check/elements/fakesink.c: (GST_START_TEST):
1032 * tests/check/elements/filesink.c:
1033 * tests/check/elements/filesrc.c: (GST_START_TEST):
1034 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1035 (mq_sinkpad_to_srcpad):
1036 * tests/check/elements/tee.c: (GST_START_TEST):
1037 * tests/check/generic/sinks.c: (GST_START_TEST):
1038 * tests/check/gst/gstbin.c: (GST_START_TEST):
1039 * tests/check/gst/gstevent.c: (GST_START_TEST):
1040 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1041 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1042 * tests/check/gst/gstquery.c: (GST_START_TEST):
1043 * tests/check/gst/gstutils.c: (GST_START_TEST):
1044 * tests/check/libs/basesrc.c: (GST_START_TEST):
1045 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1046 (gst_parse_test_element_change_state):
1047 Don't use gst_element_get_pad().
1049 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
1052 Fix installing plugin documentation when gtk-doc is disabled.
1054 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1056 * docs/manual/advanced-autoplugging.xml:
1057 * docs/manual/basics-helloworld.xml:
1058 * docs/manual/basics-pads.xml:
1059 * docs/manual/highlevel-components.xml:
1060 Avoid using a bad function in the example code.
1062 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1064 * gst/gstclock.c: (gst_clock_set_calibration):
1065 Fix debug of the new clock rate.
1067 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1069 * win32/common/libgstbase.def:
1070 Add gst_base_sink_wait_clock() to the exported symbols.
1072 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1074 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1076 * libs/gst/base/gstbasetransform.c:
1077 (gst_base_transform_sink_event):
1078 Unref events that the GstBaseTransform::event vfunc didn't want to
1079 have forwarded by the base class. Closes a leak in identity.
1082 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1084 * docs/libs/gstreamer-libs-sections.txt:
1085 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1086 * libs/gst/base/gstbasesink.h:
1087 Expose a method that was previously used internally to synchronize
1088 against the clock because it can be useful for subclasses too.
1089 API: GstBaseSink::gst_base_sink_wait_clock()
1091 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1093 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1094 Add sanity check to make sure we don't get smaller buffers
1095 than requested (and fallback to normal buffer alloc if we do).
1097 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1099 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1100 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1101 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1102 Refactor adjusting the running_time with latency and offset into a
1104 When doing clipping, we still want to use the subclass get_times method,
1105 just in case the DURATION or TIMESTAMP are not set.
1107 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1109 * docs/gst/gstreamer-sections.txt:
1110 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1111 * gst/gsttypefind.h:
1112 * win32/common/libgstreamer.def:
1113 API: add gst_type_find_suggest_simple(), #533740.
1115 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1117 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1118 Use right error code when typefinding fails, so we can use
1119 the default (translated) error messages.
1121 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1123 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1124 (gst_base_src_start):
1125 When the subclass did not set caps on outgoing buffers, configure the
1126 caps we negotiated on the source pad.
1127 When the typefind helper does not find caps, error out properly instead
1128 of doing things with NULL caps.
1130 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1132 * gst/gsttypefind.h:
1133 Tabs to spaces, oh yes!
1135 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1137 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1138 Add David's and Benjamin's tests for array intersection to the
1139 unit test suite (#147931).
1141 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1144 Document that gst_event_new_tag() and gst_event_new_navigation()
1145 take ownership of the taglist/structure passed to them. (#533635).
1147 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1150 Don't descend into the plugins dir if plugin docs building
1154 Add a note about the new type:GTypeName syntax for the plugin
1155 documentation .types file.
1157 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1159 * gst/gstmessage.c: (gst_message_new_error),
1160 (gst_message_new_warning), (gst_message_new_info):
1162 Mark the debug string parameters as const. Fixes bug #533490.
1164 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1166 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1167 Sort buffer cache list by end offsets. This makes sure that we don't
1168 stop to search for a cached buffer that contains the requested data
1170 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1171 more efficient. Fixes bug #459862.
1173 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1176 Explain why we copy the list.
1178 * gst/gstpipeline.c:
1182 Add one debug-log statement to help tracing probelms with linking pads.
1184 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1186 * tests/check/gst/gstinfo.c:
1187 Add a test for removing the default log handler. Seems to fail under
1190 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1192 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1193 Release pad lock before calling out to avoid a possible deadlock.
1195 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1197 * gst/parse/grammar.y:
1198 Remove unneeded value unset.
1200 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1201 Add unit test for de/serialization of caps.
1203 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1205 * plugins/elements/gstfakesink.c:
1206 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1207 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1208 (gst_fake_src_class_init):
1209 Use custom marshalers that take GstMiniObject as first parameter.
1210 Using OBJECT as parameter while a GstMiniObject is given will lead
1211 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1213 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1215 * plugins/elements/gsttypefindelement.c:
1216 (gst_type_find_element_handle_event),
1217 (gst_type_find_element_send_cached_events),
1218 (gst_type_find_element_change_state):
1219 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1222 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1224 * plugins/elements/gsttypefindelement.c:
1225 (gst_type_find_handle_src_query), (stop_typefinding),
1226 (gst_type_find_element_handle_event),
1227 (gst_type_find_element_send_cached_events),
1228 (gst_type_find_element_change_state):
1229 Forward FLUSH_START events immediately and clean up instead of
1232 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1234 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1236 * libs/gst/base/gstbasetransform.c:
1237 (gst_base_transform_buffer_alloc):
1238 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1239 fall back to default negotiation in the chain function if the caps
1240 are different from what was requested. Fixes bug #526768.
1242 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1245 * tests/check/gst/gstsegment.c:
1246 No, let's not use g_slice_{dup|copy} here, since they only exist
1247 since GLib 2.14 and we still depend only on >= 2.12. Also add
1248 unit test for gst_segment_copy().
1250 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1252 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1253 Try to fix 'dereferencing type-punned pointer will break strict
1254 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1255 changed the default GType typedef from gulong to gsize at some point,
1256 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1257 g_once_* functions all take a gsize * though, so work around the type
1258 mismatch for C++ by doing everything in gsize and casting to GType
1261 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1263 * plugins/elements/gstmultiqueue.c:
1264 Add documentation for the signals to push our core plugin docs
1265 coverage back up to 100%.
1267 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1269 * gst/gstinfo.h (GST_FUNCTION):
1270 Reverted GST_FUNCTION to the old version as we don't want the
1271 full signature in C++ code. Also added support for MSVC.
1273 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1276 Intern the type name string, similar to what G_DEFINE_TYPE does.
1278 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1281 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1283 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1285 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1287 * libs/gst/base/gstbasetransform.c:
1288 (gst_base_transform_buffer_alloc):
1289 Don't passthrough buffer allocation too easily if the caps change.
1290 This breaks when working in passthrough mode and upstream changes
1291 it's caps. Fixes bug #526768.
1293 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1295 * gst/gstinfo.c (gst_debug_log_valist):
1296 Improved the __FILE__ part of debug output for MSVC.
1298 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1300 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1301 Declaration after statement fix for compilers like MSVC.
1303 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1305 * win32/common/config.h.in:
1306 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1307 use the real thing than having "???" unconditionally.
1309 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1311 * gst/gstinfo.h (GST_FUNCTION):
1312 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1314 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1316 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1319 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1320 (gst_base_sink_set_flushing):
1321 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1324 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1326 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1327 (gst_fake_src_init), (gst_fake_src_set_property),
1328 (gst_fake_src_get_property), (gst_fake_src_start):
1329 * plugins/elements/gstfakesrc.h:
1330 Added format property to control the format of the newsegment events.
1331 API: GstFakeSrc:format
1333 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1335 * win32/common/libgstreamer.def:
1336 Add gst_pad_has_name() to the exported symbols.
1338 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1340 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1341 * libs/gst/base/gstbasetransform.c:
1342 (gst_base_transform_prepare_output_buffer):
1343 Don't allow negative sizes when allocating new buffers.
1346 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1348 Patch by: Sjoerd Simons <sjoerd at luon net>
1350 * gst/gstbus.c: (gst_bus_source_dispatch):
1351 Don't print a warning if the queue is empty when we try to pop
1352 here. That could happen if another thread or callback set the
1353 bus to flushing between the source's check/prepare and the
1354 dispatch being called (#531538).
1356 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1358 * plugins/elements/gstmultiqueue.c:
1361 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1363 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1364 Add unit test for deserializing uint64s and check some really large
1365 numbers in the int64 test.
1367 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1369 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1370 (print_interfaces), (print_element_properties_info),
1371 (print_signal_info):
1372 Use "%s" as format string instead of printing strings directly.
1374 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1376 * gst/gstclock.c: (gst_clock_set_calibration):
1377 Make some checks actually useful.
1379 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1380 Remove some unused code. Unsigned integers tend to be >= 0.
1382 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1384 * gst/gstminiobject.c: (gst_value_get_mini_object):
1385 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1386 function was not in the unscheduled 0.10.19 release.
1388 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1390 * gst/gstregistry.c: (gst_registry_scan_path_level):
1391 Only print one log message per non-plugin file.
1393 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1395 * gst/gstinfo.c: (gst_debug_log_default):
1396 Fix alignment of debug log columns on 64-bit.
1398 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1400 * docs/libs/Makefile.am:
1401 * docs/libs/gstreamer-libs-sections.txt:
1402 Ignore private controller headers for docs.
1404 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1406 * libs/gst/controller/gstcontrollerprivate.h:
1407 * libs/gst/controller/gsthelper.c:
1408 * libs/gst/controller/gstinterpolation.c:
1409 * libs/gst/controller/gstinterpolationcontrolsource.c:
1410 (gst_interpolation_control_source_set_interpolation_mode):
1411 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1412 * libs/gst/controller/lib.c:
1413 Move some private declarations into private headers.
1415 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1417 * gst/gstdebugutils.c: (debug_dump_element_pad):
1418 Remove some code that is unused after Stefan's refactoring and uses
1419 uninitialized variables now, resulting in a compiler warning.
1421 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1423 * gst/gstregistry.c: (gst_registry_scan_path_level):
1424 Run g_str_has_suffix() only on the file name, not the
1427 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1429 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1430 Since we're not called only from the chain function any longer,
1431 we can't assume that there's always data in the queue, so move
1432 the is_full check to the beginning of the loop (otherwise we'd
1433 hit the assert when changing the limit properties while the
1434 queue is empty or not running yet).
1435 Also, only set a discont if items were actually removed from
1438 * tests/check/elements/queue.c: (test_leaky_downstream):
1439 Test case for the above.
1441 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1443 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1445 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1446 (gst_queue_chain), (queue_capacity_change),
1447 (gst_queue_set_property):
1448 When changing thr max capacity of a leaky queue, immediatly drop buffers
1449 instead of waiting for a push on the sinkpad. Fixes #530637.
1451 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1453 * gst/gstdebugutils.c:
1454 Refactor code and fix handling of ghostpads and their proxypads.
1456 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1458 * docs/gst/gstreamer-sections.txt:
1459 * gst/gstevent.c: (gst_event_has_name):
1461 * tests/check/gst/gstevent.c: (GST_START_TEST):
1462 Add method to conveniently check the name of a custom event with
1463 gst_event_has_name().
1464 Reformat the event docs so that related methods are put together instead
1465 of the default alphabetical sort.
1466 Update unit test with new method.
1467 API: GstEvent::gst_event_has_name()
1469 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1471 * libs/gst/check/Makefile.am:
1472 Don't add an explicit link to libgstreamer-0.10.la; it's already
1473 included in GST_OBJ_LIBS.
1475 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1478 Register GstClock type from a type-safe context. Fixes bug #530317.
1480 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1482 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1484 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1486 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1488 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1490 Use the GLib stuff to create a private structure.
1491 Add some locking around some dispose methods to make them a little
1492 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1494 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1496 * libs/gst/base/gstbasesink.h:
1497 * libs/gst/base/gstbasesrc.h:
1498 * libs/gst/base/gstbasetransform.h:
1499 * libs/gst/base/gstcollectpads.h:
1500 Fix doc typos and unify caps a bit.
1502 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1504 * tools/gst-launch.1.in:
1505 Forgot to also add the envvar docs here.
1507 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1509 * gst/gst.c: (init_post), (gst_deinit):
1510 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1511 (test_concurrent_create), (gst_pipeline_suite):
1512 Ref some more classes in gst_init() to work around thread-safety
1513 issues in pre-2.16 GLibs, and add basic unit test.
1515 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1517 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1518 (gst_base_sink_send_event):
1519 Rearrange the latency query code. We always want to do the upstream
1520 query, even if we are not live so that the upstream elements can get the
1521 latency results too. If we fail doing the query and we are live, we
1522 return TRUE afterwards.
1524 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1526 patch by: Jason Zhao <e3423c@motorola.com>
1528 * docs/gst/running.xml:
1530 Enable/disable scan_and_update_registry() based on commandline switch
1531 or environment variable. Fixes #520468.
1534 Fix typo in my previous commit.
1536 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1538 * gst/gstregistrybinary.c:
1539 Add a warning if we hit unhandled factories when saving.
1540 More debug logging detail, but move to LOG category.
1542 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1544 * gst/gstregistry.c:
1545 Tell the *truth* when improving the documentation.
1547 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1549 * gst/gstelementfactory.c: (gst_element_factory_make):
1550 Unref the factory after it was used the last time, not before.
1552 * gst/gstindexfactory.c: (gst_index_factory_make):
1553 Improve debugging a bit and don't leak a ref to the index factory with
1556 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1558 * gst/gstregistry.c:
1559 Improve the documentation.
1561 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1564 The glib macro seems to be borked. Use g_slice_copy directly and cast
1565 in the hope that this fixes the warning on 64bit.
1567 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1570 Document the new function. Use g_slice_dup() (no need for
1571 gst_segment_init()).
1573 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1575 * docs/gst/gstreamer-sections.txt:
1576 Move GParamSepc macros to standart section.
1579 Dn't document _get_type - its in private section in docs anyway and
1580 this doc-blob was incomplete.
1583 Fix wrong symbol names in docs.
1586 Add once doc sentence.
1588 * tests/check/gst/.cvsignore:
1591 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1593 * docs/gst/Makefile.am:
1594 And remove those libs here.
1596 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1598 * docs/libs/Makefile.am:
1599 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1601 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1603 Patch by: Olivier Crete <tester at tester dot ca>
1605 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1606 Add the min-threshold to the min latency if possible. Fixes #529148.
1608 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1610 * docs/gst/gstreamer.types.in:
1611 Stupid editor, I removed that line as it should go in yet.
1613 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1615 * docs/gst/gstreamer.types.in:
1616 * docs/libs/gstreamer-libs.types:
1617 Remove library types fro core docs and have them in libs docs.
1618 Reformat and cleanup. Add comment for miniobject types.
1620 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1622 * gst/gsturi.c: (gst_uri_get_protocol):
1623 Fix leak: g_strdown operates on the string in place, while
1624 g_ascii_strdown() returns a newly-allocated string.
1626 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1628 * tools/gst-inspect.c: (print_uri_handler_info),
1629 (print_element_info):
1630 Print the URI protocols and the URI type supported by the element.
1632 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1634 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1635 Use g_value_take_string() instead of the deprecated
1636 g_value_set_string_take_ownership().
1638 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1640 * gst/gstregistrybinary.c: (_gst_crc32):
1641 Return the old CRC instead of 0 if we give a NULL buffer
1642 or a buffer with a length of 0.
1644 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1646 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1647 (gst_uri_get_protocol), (gst_uri_has_protocol),
1648 (gst_uri_construct), (gst_uri_handler_set_uri):
1649 A valid URI scheme can also include '+', '-' and '.' additional
1650 to alphanumeric characters as per RFC 3986 Section 3.1.
1652 Handle URI schemes case insensitive in all places and convert
1653 to lower-case when constructing an URI or setting an URI with
1654 the GstURIHandler interface. Fixes bug #528868.
1655 All elements can still assume (as before) that they will
1656 get passed URIs with a lower-case URI scheme by the GstURIHandler
1659 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1661 * gst/gstcaps.c: (gst_static_caps_get):
1662 * gst/gstclock.c: (gst_clock_entry_new):
1663 Don't use g_atomic_set_int where it's not needed.
1665 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1667 * gst/gstvalue.c: (gst_value_deserialize_caps):
1668 * gst/parse/grammar.y:
1671 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1673 * gst/gstutils.c: (gst_atomic_int_set):
1674 Use g_atomic_int_set() here too instead of assignment +
1677 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1681 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1682 now that we depend on new enough GLib.
1684 * gst/gstcaps.c: (gst_static_caps_get):
1685 * gst/gstclock.c: (gst_clock_entry_new):
1686 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1687 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1688 (gst_debug_category_set_threshold):
1689 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1690 (gst_base_sink_set_qos_enabled):
1691 * libs/gst/net/gstnettimeprovider.c:
1692 (gst_net_time_provider_set_property):
1693 Use g_atomic_int_set() instead of gst_atomic_int_set().
1695 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1698 Also use G_GINT64_CONSTANT for the queries.
1700 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1703 Use G_GINT64_CONSTANT in varargs function.
1705 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1707 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1708 Initialize the registry magic with zeroes.
1710 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1712 * gst/gstregistrybinary.c: (_gst_crc32),
1713 (gst_registry_binary_write),
1714 (gst_registry_binary_initialize_magic),
1715 (gst_registry_binary_write_cache),
1716 (gst_registry_binary_check_magic),
1717 (gst_registry_binary_read_cache):
1718 * gst/gstregistrybinary.h:
1719 Add crc32 checksum to the binary registry file and check this before
1720 accepting a registry file.
1722 Also free the data list when writing to the registry file fails.
1724 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1726 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1727 (gst_registry_binary_load_feature),
1728 (gst_registry_binary_load_plugin):
1729 If an element supports the Uri interface, returns a valid pointer
1730 to the supported URI protocols but this pointer contains nothing
1731 don't try to save that as it will corrupt the registry.
1733 Don't unref the plugin if we added it to the registry already but
1734 fail to load a feature as gst_registry_add_plugin() takes ownership
1737 Improve debugging a bit.
1739 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1742 Clarify some tag item docs after discussion on irc.
1744 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1746 * docs/gst/gstreamer-docs.sgml:
1747 Remove commented out plugins (they have their own docs). Update
1750 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1752 * docs/gst/gstreamer-docs.sgml:
1753 * docs/gst/gstreamer-sections.txt:
1754 * gst/gstparamspecs.c:
1755 * gst/gstparamspecs.h:
1756 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1757 docs to own section.
1760 This now only documents GValue.
1762 * docs/libs/gstreamer-libs-sections.txt:
1763 * libs/gst/controller/gstcontroller.h:
1764 Remove GST_PARAM_CONTROLLABLE.
1766 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1769 Correct file path. Tell about how to use -overrides.txt.
1770 * docs/design/draft-tagreading.txt:
1771 Small design update.
1773 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1775 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1776 (gst_registry_binary_load_plugin):
1777 Fix a typo in a debug message and revert change from yesterday as
1778 gst_registry_add_plugin() will only fail if something is really wrong
1779 already and we can't survive it anyway.
1781 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1783 * gst/gst.c: (init_post), (gst_deinit):
1784 Pre-register GstGError GType from a thread-safe context
1785 (fixes #527967); unref enum type classes in deinit.
1787 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1789 Patch by: Rene Stadler <mail at renestadler de>
1791 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1792 Merging an empty list with another list in KEEP_ALL mode should
1793 yield an empty list as result and not the second list (#512578).
1795 * tests/check/gst/gsttagsetter.c:
1796 Add unit test for tag merge modes and the aforementioned bug.
1798 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1800 Patch by: Rene Stadler <mail at renestadler de>
1803 Fix description to match the order in the table (#512577).
1805 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1807 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1809 * libs/gst/net/gstnettimepacket.h:
1810 * docs/libs/gstreamer-libs-sections.txt:
1811 Define socklen_t as int if it's not defined yet. Fixes compilation
1812 with MSVC6 and other versions where socklen_t is not defined in
1813 the windows headers (#518022).
1815 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1817 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1818 If gst_registry_add_plugin() fails our reference to the plugin is
1819 invalid so don't try to use it anymore and instead error out.
1821 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1823 * tools/gst-xmlinspect.c: (print_element_info), (main):
1824 De-cruft a bit. If no argument is specified, print all elements in
1825 XML syntax rather than a freestyle list of elements like gst-inspect.
1826 Also, don't print XML header chunk unless we actually have something
1827 to print (ie. don't print it before an error message); print error
1828 message to stderr not stdout. Remove support for printing plugin
1829 info (it would just output something freestyle along the lines of
1830 gst-inspect so far), which fixes #514507. Also add license header.
1832 2008-04-11 Julien Moutte <julien@fluendo.com>
1835 * configure.ac: Merge platform specific defines, introduce a new
1836 define on OS X to remember that forking when updating registry is
1838 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1840 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1842 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1843 condition that leads to absolutely no plugins being registered on
1846 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1848 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1850 * gst/gstutils.c: (gst_pad_add_data_probe),
1851 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1852 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1853 (gst_pad_add_buffer_probe_full):
1855 * docs/gst/gstreamer-sections.txt:
1856 * win32/common/libgstreamer.def:
1857 Add gst_pad_add_*_probe_full() functions with a notify callback that
1858 lets the caller free the data it passes to the probe functions. This
1859 is useful for bindings such as gst-python or gstreamermm (#526814).
1860 API: gst_pad_add_data_probe_full
1861 API: gst_pad_add_buffer_probe_full
1862 API: gst_pad_add_event_probe_full
1864 * tests/check/gst/gstutils.c:
1865 Add minimal unit test to make sure freeing the data actually works
1868 * tests/benchmarks/.cvsignore:
1869 Random cvsignore addendum.
1871 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1873 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1874 (GST_DEBUG_BIN_TO_DOT_FILE):
1875 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1876 to it in the docs (since these are macros the types of the arguments
1877 won't be shown in the docs otherwise).
1879 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1882 Do not abort on out of memory for pad_alloc_buffer.
1884 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1886 * libs/gst/check/gstcheck.c:
1887 Remove blank line between symbol name ad parameters to fix gtkdoc
1890 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1892 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1894 * docs/gst/gstreamer-sections.txt:
1897 * win32/common/libgstreamer.def:
1898 Expose gst_segment_copy() to make things easier for the c++ bindings.
1900 API: gst_segment_copy()
1902 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1904 * gst/gst.c: (gst_init_get_option_group), (init_post):
1905 Fix const position; ref GType classes for enum types to work
1906 around thread-safety issues in GLib versions < 2.16.
1908 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1910 * docs/design/part-buffering.txt:
1911 Fix some typos and set the estimated total for push mode to -1.
1913 * gst/gstquery.c: (gst_query_new_buffering):
1914 Set buffering-left to 0 as we're not buffering by default.
1916 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1917 Implement BUFFERING query.
1919 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1921 Based on patch by: Milosz Derezynski <internalerror gmail com>
1923 * gst/gsterror.c: (_gst_stream_errors_init):
1925 Add two new error codes for encrypted content. Fixes #524659.
1926 API: GST_STREAM_ERROR_DECRYPT
1927 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1929 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1934 * win32/common/libgstreamer.def:
1937 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1939 * plugins/elements/gstidentity.c: (gst_identity_event),
1940 (gst_identity_start):
1941 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1942 event after processing some data. Fixes bug #526042.
1944 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1946 * docs/gst/gstreamer-sections.txt:
1947 * gst/gstquery.c: (gst_query_parse_latency),
1948 (gst_query_set_buffering_percent),
1949 (gst_query_parse_buffering_percent),
1950 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1952 Rename _avail -> _range
1953 API: gst_query_set_buffering_range
1954 API: gst_query_parse_buffering_range
1956 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1958 * docs/design/part-buffering.txt:
1961 * gst/gstquery.c: (gst_query_parse_latency),
1962 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1963 (gst_query_parse_buffering_percent):
1965 Add busy field and quark for the buffering query so that the app can
1966 only use the query to see if buffering is in progress.
1968 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1970 * docs/gst/gstreamer-sections.txt:
1971 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1972 (gst_message_parse_buffering_stats):
1974 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1975 (gst_query_parse_latency), (gst_query_new_buffering),
1976 (gst_query_set_buffering_percent),
1977 (gst_query_parse_buffering_percent),
1978 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1979 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1981 Reorder the message docs and headers for clarity.
1982 Add aditional buffering stats API for messages.
1983 Add buffering query.
1984 Convert some leftover queries to use GstQuark.
1985 API: gst_message_set_buffering_stats
1986 API: gst_message_parse_buffering_stats
1987 API: GST_QUERY_BUFFERING
1988 API: GstBufferingMode
1989 API: gst_query_new_buffering
1990 API: gst_query_set_buffering_percent
1991 API: gst_query_parse_buffering_percent
1992 API: gst_query_set_buffering_stats
1993 API: gst_query_parse_buffering_stats
1995 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1997 * gst/gstmessage.c: (gst_message_new_error),
1998 (gst_message_new_warning), (gst_message_new_info),
1999 (gst_message_new_buffering), (gst_message_new_state_changed),
2000 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2001 (gst_message_new_new_clock), (gst_message_new_segment_start),
2002 (gst_message_new_segment_done), (gst_message_new_duration),
2003 (gst_message_new_async_start), (gst_message_parse_buffering),
2004 (gst_message_parse_state_changed),
2005 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2006 (gst_message_parse_new_clock), (gst_message_parse_error),
2007 (gst_message_parse_warning), (gst_message_parse_info),
2008 (gst_message_parse_segment_start),
2009 (gst_message_parse_segment_done), (gst_message_parse_duration),
2010 (gst_message_parse_async_start):
2011 Use GstQuark for messages.
2013 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2015 * gst/gstquark.c: (_priv_gst_quarks_initialize):
2017 Add some more quarks needed for messages and queries.
2019 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2021 * docs/design/part-buffering.txt:
2022 Remove the "none" buffering mode, STREAM is a good default.
2023 Move estimated-time to the avail query, that's when it will be needed.
2024 Other small typo fixes and updates.
2026 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2028 * gst/gstindex.c: (gst_index_resolver_get_type):
2029 Don't put descriptions into the nick field of a GEnumValue: it's not
2030 meant for that and some language bindings rely on the nick field to
2031 construct constants and the like. Fixes #526705.
2033 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2038 Merge other changes from 0.10.19 release branch.
2040 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
2042 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2045 Actually build dlls when cross-compiling with mingw32.
2048 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
2050 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2053 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2055 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
2057 * docs/design/draft-latency.txt:
2060 * docs/design/part-buffering.txt:
2061 Update design docs with more buffering ideas.
2063 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2066 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2068 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2071 Revert part that belongs to the preset patch.
2073 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2076 Add qoutes to the define. Fixes # 525961.
2078 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2080 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2081 (gst_file_index_load), (gst_file_index_add_id),
2082 (gst_file_index_get_assoc_entry):
2083 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2084 (gst_mem_index_free_id), (gst_mem_index_add_id),
2085 (gst_mem_index_index_format):
2086 Use GSlice when possible.
2088 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2090 * libs/gst/controller/gstinterpolationcontrolsource.c:
2091 (gst_control_point_free),
2092 (gst_interpolation_control_source_set_internal):
2093 Use GSlice for allocating the control points.
2095 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2097 * plugins/elements/gsttypefindelement.c:
2098 (gst_type_find_element_class_init),
2099 (gst_type_find_element_set_property),
2100 (gst_type_find_element_get_property),
2101 (gst_type_find_element_activate):
2102 * plugins/elements/gsttypefindelement.h:
2104 Fix pad leak when peer query fails.
2105 We can still typefind when the peer returns -1.
2106 Add property to force caps and bypass typefinding. This will be used in
2110 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2115 * gst/glib-compat-private.h:
2116 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2117 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2118 Unconditionally use GSlice for allocation.
2120 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2121 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2122 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2123 (gst_structure_free):
2124 Use GSlice for allocation.
2126 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2128 * gst/parse/Makefile.am:
2129 * gst/parse/grammar.tab.pre.c:
2130 * gst/parse/grammar.tab.pre.h:
2131 * gst/parse/lex._gst_parse_yy.pre.c:
2132 Require a new enough flex and bison and remove the parser hacks to use
2133 a pre-regenerated version.
2135 2008-04-01 Julien Moutte <julien@fluendo.com>
2137 patch by: Jason Zhao <E3423C@motorola.com>
2139 * configure.ac: Add a configure switch to disable option parsing
2143 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2146 * gst/gstregistry.c:
2147 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2148 and handle this case.
2151 Add a comment here describing, why we stat each plugin and not try to
2154 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2156 * libs/gst/base/gstbasetransform.c:
2157 (gst_base_transform_prepare_output_buffer):
2158 Also unset the GAP flag on buffers if we're working inplace but
2159 the element is not GAP-aware.
2161 Mark a comment as FIXME 0.11.
2163 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2166 Fix type in log message and add one to ease seeing how long registry
2167 cache verification takes.
2169 * gst/gstregistry.c:
2170 Only test plugin filenames against G_MODULE_SUFFIX.
2172 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2174 * gst/gstdebugutils.c:
2175 Improve handling ghost/proxy pads.
2177 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2179 * docs/gst/gstreamer-sections.txt:
2182 Expose macro to docs and fix link to it.
2184 2008-03-27 Michael Smith <msmith@fluendo.com>
2186 * libs/gst/dataprotocol/dataprotocol.c:
2187 (gst_dp_packet_from_event_1_0):
2188 When calculating GDP body CRC, use the correct pointer.
2189 Fixes part of #522401.
2191 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2193 Patch by: Mark Nauwelaerts <manauw at skynet be>
2195 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2196 (gst_identity_init), (gst_identity_prepare_output_buffer):
2197 Identity is not always a passthrough element, it can modify the buffer
2198 timestamps when it has a datarate and operates in single-segment mode.
2199 We therefore make it an in_place filter with a custom buffer prepare
2200 function that conditionally makes the input buffer metadata writable
2201 when needed. Fixes #523985.
2203 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2205 Patch by: Mark Nauwelaerts <manauw at skynet be>
2208 * libs/gst/base/gstbasesrc.h:
2209 * libs/gst/base/gstbasetransform.c:
2210 * libs/gst/check/gstcheck.c:
2211 Small documentation fixes. Fixes #523978.
2213 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2215 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2216 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2217 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2219 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2221 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2222 (single_queue_underrun_cb):
2223 When trying to make room in the queue, bump the max allowed buffers
2224 bigger than the current amount of buffers in the queue. this fixes some
2225 nasty deadlocks in multiqueue when dynamically changing the limits of
2228 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2230 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2232 * gst/gstcaps.c: (gst_caps_set_simple),
2233 (gst_caps_set_simple_valist), (gst_caps_intersect):
2235 Constify the field gchar * params in set_simple and friends.
2238 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2240 * gst/gstvalue.c: (gst_value_transform_object_string):
2241 Transform a GstObject to a more meaningfull string that includes the
2242 object type in addition to its name.
2244 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2247 ChangeLog surgery to add bugnumber to commit.
2249 2008-03-23 Rene Stadler <mail@renestadler.de>
2251 * libs/gst/base/gstbasetransform.c:
2252 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2254 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2256 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2257 Rename constant everywhere and don't forget one occurence.
2259 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2261 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2262 Align memory to the pointer size even if the architecture allows
2263 unaligned memory access. Unaligned memory access usually comes with
2264 performance penality.
2266 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2268 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2269 (gst_registry_binary_check_magic),
2270 (gst_registry_binary_load_pad_template),
2271 (gst_registry_binary_load_feature),
2272 (gst_registry_binary_load_plugin):
2273 Align memory to the pointer size instead of always 32 bit. Fixes
2274 unaligned memory accesses on ia64 and friends.
2276 * gst/gstregistrybinary.h:
2277 Bump binary registry format version for this as it changes the
2278 format on those architectures that don't have unaligned access
2279 and 64 bit pointers.
2281 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2283 * docs/pwg/advanced-dparams.xml:
2284 * docs/pwg/building-props.xml:
2285 * docs/pwg/other-source.xml:
2286 * gst/glib-compat.h:
2287 * gst/gstbin.c: (gst_bin_class_init):
2288 * gst/gstclock.c: (gst_clock_class_init):
2289 * gst/gstindex.c: (gst_index_class_init):
2290 * gst/gstobject.c: (gst_object_class_init):
2291 * gst/gstpad.c: (gst_pad_class_init):
2292 * gst/gstpipeline.c: (gst_pipeline_class_init):
2293 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2294 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2295 * libs/gst/base/gstbasetransform.c:
2296 (gst_base_transform_class_init):
2297 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2298 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2299 (_gst_check_fault_handler_sighandler),
2300 (_gst_check_fault_handler_setup), (gst_check_init):
2301 * libs/gst/controller/gstcontroller.c:
2302 (_gst_controller_class_init):
2303 * libs/gst/controller/gstlfocontrolsource.c:
2304 (gst_lfo_control_source_class_init):
2305 * libs/gst/net/gstnetclientclock.c:
2306 (gst_net_client_clock_class_init):
2307 * libs/gst/net/gstnettimeprovider.c:
2308 (gst_net_time_provider_class_init):
2309 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2310 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2311 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2312 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2313 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2314 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2315 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2316 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2317 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2318 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2319 * plugins/elements/gsttee.c: (gst_tee_class_init):
2320 * plugins/elements/gsttypefindelement.c:
2321 (gst_type_find_element_class_init):
2322 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2323 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2324 use it everywhere for GParamSpecs that use static strings (i.e. all).
2325 This gives us less memory usage, fewer allocations and thus less
2326 memory defragmentation. Fixes bug #523806.
2328 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2330 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2331 (gst_param_spec_mini_object):
2332 * gst/gstminiobject.h:
2333 * win32/common/libgstreamer.def:
2334 * docs/gst/gstreamer-sections.txt:
2335 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2336 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2337 GstParamSpecMiniObject into a public header for this.
2339 This make GstMiniObject a bit more consistent with GObject and makes
2340 it possible to extend the param specs.
2342 gst_value_dup_mini_object is mainly useful for set_property methods.
2346 * tools/gst-inspect.c: (print_element_properties_info):
2347 Print something useful for GstMiniObject properties and not just
2350 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2352 * docs/gst/gstreamer-sections.txt:
2353 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2354 (gst_registry_binary_check_magic):
2355 * gst/gstregistrybinary.h:
2356 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2357 and add it to the (private part) of the docs to fix the build.
2359 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2361 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2362 (gst_registry_binary_check_magic),
2363 (gst_registry_binary_read_cache):
2364 * gst/gstregistrybinary.h:
2365 Don't use GST_MAJORMINOR for the binary registry version. Instead
2366 hardcode a value that must be changed whenever the format changes
2367 in an incompatible way.
2368 Also don't GST_ERROR when there is a version mismatch, just
2369 regenerate the registry silently.
2371 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2374 Back to development - 0.10.18.1
2376 === release 0.10.18 ===
2378 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2381 releasing 0.10.18, "So far away"
2383 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2386 * win32/common/config.h:
2387 0.10.17.4 pre-release
2389 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2391 Patch by: Ole André Vadla Ravnås
2392 <ole dot andre dot ravnas at tandberg dot com>
2394 * docs/gst/gstreamer-sections.txt:
2395 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2396 (gst_poll_update_winsock_event_mask),
2397 (gst_poll_prepare_winsock_active_sets),
2398 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2399 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2400 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2401 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2402 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2404 * win32/common/libgstreamer.def:
2405 Add new function gst_poll_fd_ignored() for improved Windows
2407 Various minor fixes and cleanups. See #520808.
2409 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2411 * gst/gstindex.c: (gst_index_entry_free):
2413 Don't free key strings which we don't own. Fixes crash in
2414 gst_index_entry_free() (#522741).
2416 * tests/check/Makefile.am:
2417 * tests/check/gst/.cvsignore:
2418 * tests/check/gst/gstindex.c: (test_index_entries),
2419 (gst_index_suite), (gst_index):
2420 Add unit test for the above.
2422 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2424 * win32/common/libgstreamer.def:
2425 Remove symbols that were removed recently. Fixes bug #521740.
2427 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2430 * win32/common/config.h:
2431 0.10.17.3 pre-release
2433 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2435 Patch by: Ole André Vadla Ravnås
2436 <ole dot andre dot ravnas at tandberg dot com>
2438 * docs/gst/gstreamer-sections.txt:
2439 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2440 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2441 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2442 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2443 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2444 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2445 (gst_poll_fd_can_write), (gst_poll_wait),
2446 (gst_poll_set_controllable), (gst_poll_restart),
2447 (gst_poll_set_flushing):
2449 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2450 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2451 (gst_net_time_provider_new):
2452 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2453 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2454 * tests/benchmarks/gstpollstress.c: (main):
2455 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2456 Remove GstPollMode from the API, it does not make sense to let the
2457 application control this.
2458 Add support for Win32.
2459 Fix the testsuite. Fixes #520671.
2461 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2463 Patch by: Ole André Vadla Ravnås
2464 <ole dot andre dot ravnas at tandberg dot com>
2466 * gst/gstregistrybinary.c:
2467 Include io.h for write() and close() when building with MSVC. Fixes
2470 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2473 * gst/gst_private.h:
2474 * gst/gstconfig.h.in:
2475 * gst/gstregistry.h:
2476 * gst/gstregistrybinary.c:
2477 * win32/common/gstconfig.h:
2478 Move registry backend API to private headers where we can. Add
2479 fixme-0.11 comments for the others. Add stubs for the xml backend when
2480 using the binary to ensure they functions exists (they should not be
2481 used though). Fixes #520756.
2483 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2486 * win32/common/config.h:
2489 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2491 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2492 (gst_registry_binary_read_cache):
2493 * gst/gstregistryxml.c: (gst_registry_save):
2494 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2495 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2496 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2497 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2498 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2501 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2503 * gst/gstminiobject.c:
2504 Import gst_private.h before any other header that might include other
2505 glib headers. This fixes the build on windows using native compilers.
2507 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2509 * win32/common/gstconfig.h:
2510 Add here too, just for completeness.
2512 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2515 * gst/gstconfig.h.in:
2516 * gst/gstregistry.h:
2517 Fix broken use of config.h-defined preprocessor directive in a public
2518 header file. Add a corresponding define to gstconfig.h, since we can't
2519 really remove those function declarations from the header file now
2520 (or can we? and why are they there in the first place?).
2522 2008-03-03 Andy Wingo <wingo@pobox.com>
2524 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2527 * gst/gststructure.c (gst_structure_from_string): Warn if
2528 structure_from_string didn't consume the whole string, but the
2529 caller did not provide an end pointer.
2531 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2533 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2535 * gst/gstregistryxml.c: (read_string), (load_feature):
2536 Strings allocated by libxml2 should be freed with xmlFree(), not
2537 with g_free(). Fixes issues on windows in certain contexts (#519698).
2539 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2541 * gst/gstinterface.c: (gst_element_implements_interface):
2542 Don't crash if the element supports the interface queried, but does
2543 not implement GstImplementsInterface. Fixes #519584.
2545 * tests/check/Makefile.am:
2546 * tests/check/gst/.cvsignore:
2547 * tests/check/gst/gstinterface.c:
2548 Add unit test for the above.
2550 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2552 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2555 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2557 * gst/gstsegment.c: (gst_segment_set_seek),
2558 (gst_segment_to_stream_time):
2559 Improve some comment.
2560 Update variables where it makes more sense.
2562 2008-02-29 Rene Stadler <mail@renestadler.de>
2564 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2565 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2566 URIHandlers implemented using language bindings.
2568 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2570 * gst/gstelementfactory.h:
2571 * tests/check/elements/fakesink.c:
2572 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2573 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2574 * tests/check/elements/filesink.c: (setup_filesink):
2575 * tests/check/elements/filesrc.c: (setup_filesrc):
2576 * tests/check/elements/identity.c: (setup_identity):
2577 * tests/check/elements/tee.c:
2578 * tests/check/generic/sinks.c:
2579 * tests/check/generic/states.c: (setup), (teardown):
2580 * tests/check/gst/gst.c:
2581 * tests/check/gst/gstabi.c:
2582 * tests/check/gst/gstbin.c:
2583 * tests/check/gst/gstbus.c: (pull_messages):
2584 * tests/check/gst/gstcaps.c:
2585 * tests/check/gst/gstelement.c:
2586 * tests/check/gst/gstevent.c:
2587 * tests/check/gst/gstghostpad.c:
2588 * tests/check/gst/gstiterator.c:
2589 * tests/check/gst/gstmessage.c:
2590 * tests/check/gst/gstminiobject.c: (my_foo_init):
2591 * tests/check/gst/gstobject.c: (thread_name_object),
2593 * tests/check/gst/gstpad.c:
2594 * tests/check/gst/gstplugin.c:
2595 * tests/check/gst/gstpoll.c:
2596 * tests/check/gst/gstquery.c:
2597 * tests/check/gst/gstsegment.c:
2598 * tests/check/gst/gststructure.c:
2599 * tests/check/gst/gstsystemclock.c:
2600 * tests/check/gst/gsttask.c:
2601 * tests/check/gst/gstutils.c:
2602 * tests/check/gst/gstvalue.c:
2603 * tests/check/gst/struct_hppa.h:
2604 * tests/check/gst/struct_i386.h:
2605 * tests/check/gst/struct_ppc32.h:
2606 * tests/check/gst/struct_ppc64.h:
2607 * tests/check/gst/struct_x86_64.h:
2608 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2609 * tests/check/libs/basesrc.c:
2610 * tests/check/libs/controller.c: (GST_START_TEST):
2611 * tests/check/libs/gdp.c:
2612 * tests/check/libs/gstnetclientclock.c:
2613 * tests/check/libs/gstnettimeprovider.c:
2614 * tests/check/libs/libsabi.c:
2615 * tests/check/libs/struct_hppa.h:
2616 * tests/check/libs/struct_i386.h:
2617 * tests/check/libs/struct_ppc32.h:
2618 * tests/check/libs/struct_ppc64.h:
2619 * tests/check/libs/struct_x86_64.h:
2620 * tests/check/pipelines/cleanup.c:
2621 * tests/check/pipelines/simple-launch-lines.c:
2622 * tests/check/pipelines/stress.c:
2623 And correct even more valid sparse warnings.
2625 * win32/common/libgstreamer.def:
2626 Add gst_poll_fd_init to the list of symbols.
2628 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2630 * gst/gstconfig.h.in:
2631 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2632 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2633 (gst_check_log_critical_func), (gst_check_drop_buffers),
2634 (gst_check_element_push_buffer_list):
2635 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2636 (gst_controller_get_type):
2637 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2638 (gst_object_get_controller), (gst_object_get_control_source):
2639 * libs/gst/controller/gstinterpolationcontrolsource.c:
2640 (gst_interpolation_control_source_new):
2641 * libs/gst/controller/gstlfocontrolsource.c:
2642 (gst_lfo_control_source_new):
2643 * libs/gst/dataprotocol/dataprotocol.c:
2644 (gst_dp_event_from_packet_0_2):
2645 * plugins/elements/gstfdsrc.c:
2646 * plugins/elements/gstmultiqueue.c:
2647 * plugins/elements/gsttee.c:
2648 * plugins/elements/gsttypefindelement.c:
2649 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2650 (gst_file_index_add_association):
2651 * plugins/indexers/gstmemindex.c:
2652 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2653 * tests/check/elements/queue.c: (setup_queue):
2654 * tests/check/gst/gstpipeline.c:
2655 * tests/check/libs/collectpads.c: (setup), (teardown),
2656 (gst_collect_pads_suite):
2657 * tests/examples/adapter/adapter_test.c:
2658 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2659 * tests/examples/xml/createxml.c:
2660 * tests/examples/xml/runxml.c:
2661 * tools/gst-inspect.c:
2663 Correct all relevant warnings found by the sparse semantic code
2664 analyzer. This include marking several symbols static, using
2665 NULL instead of 0 for pointers, not using variable sized arrays
2666 on the stack, moving variable declarations to the beginning of
2667 a block and using "foo (void)" instead of "foo ()" for declarations.
2669 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2671 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2672 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2673 Don't reset GstPollFDs, this is not necessary at all.
2675 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2676 (delayed_restart), (delayed_control):
2677 Use GST_POLL_FD_INIT.
2679 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2681 * gst/gstpoll.c: (gst_poll_fd_init):
2685 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2686 Use some more init macros.
2688 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2690 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2691 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2692 Use init macros and functions.
2694 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2696 * docs/gst/gstreamer-sections.txt:
2697 * gst/gstpoll.c: (gst_poll_fd_init):
2699 Add INIT macro and _init method for initializing the GstPollFD.
2701 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2703 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2704 (gst_fd_sink_update_fd):
2705 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2706 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2707 (delayed_restart), (delayed_control):
2708 Initialize some uninitialized variables as spotted by valgrind.
2710 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2712 * tests/benchmarks/Makefile.am:
2713 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2715 Add poll stress test.
2717 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2719 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2721 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2722 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2723 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2724 * plugins/elements/gstfdsink.h:
2725 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2726 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2727 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2728 (gst_fd_src_uri_set_uri):
2729 * plugins/elements/gstfdsrc.h:
2730 Port to GstPoll. See #505417.
2732 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2734 * win32/common/libgstreamer.def:
2735 Add new gst_poll_ symbols to win32 defs.
2737 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2739 * docs/libs/gstreamer-libs-sections.txt:
2740 * libs/gst/net/gstnetclientclock.c:
2741 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2742 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2743 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2744 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2745 * libs/gst/net/gstnetclientclock.h:
2746 * libs/gst/net/gstnettimeprovider.c:
2747 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2748 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2749 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2750 (gst_net_time_provider_new):
2751 * libs/gst/net/gstnettimeprovider.h:
2752 Use a private stuct to not break ABI.
2754 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2756 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2758 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2759 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2760 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2761 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2762 * libs/gst/net/gstnetclientclock.h:
2763 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2764 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2765 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2766 (gst_net_time_provider_new):
2767 * libs/gst/net/gstnettimeprovider.h:
2768 Massive code removal and cleanups because of GstPoll.
2771 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2774 Add checks for poll, ppoll and pselect.
2776 * docs/gst/gstreamer-docs.sgml:
2777 * docs/gst/gstreamer-sections.txt:
2778 Add docs for GstPoll.
2782 * gst/gstpoll.c: (find_index), (selectable_fds),
2783 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2784 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2785 (gst_poll_set_mode), (gst_poll_get_mode),
2786 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2787 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2788 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2789 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2790 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2791 (gst_poll_fd_can_write), (gst_poll_wait),
2792 (gst_poll_set_controllable), (gst_poll_restart),
2793 (gst_poll_set_flushing):
2795 Add generic poll abstraction. We ideally don't want to have this in core
2796 here but in glib intead...
2797 This code will be used in various network elements and ultimately for
2798 the nanosecond precision monotonic clock (that's why it's here in core).
2799 It'll allow us to implement cancelable socket operations for windows too.
2801 * tests/check/Makefile.am:
2802 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2803 (delayed_stop), (delayed_restart), (delayed_flush),
2804 (delayed_control), (gst_poll_suite):
2805 Add GstPoll unit test.
2807 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2810 Improve documentation of gst_filter_run(). Fixes #518627.
2812 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2815 Add a few lines about the new 'check-inspected-versions' target.
2817 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2819 * tests/check/gst/gstevent.c:
2820 Add qos to the event test. Rename tcase/tsuite; is not only about
2823 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2825 * plugins/elements/gstqueue.c:
2826 Ensure that buffer metadata is writeable, before modifying. Spotted by
2829 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2831 * plugins/elements/gstqueue.c:
2832 * plugins/elements/gstqueue.h:
2833 When dropping buffers in leaky modes, mark next buffers we sent as
2836 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2838 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2839 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2841 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2843 * plugins/elements/Makefile.am:
2844 * plugins/elements/gstbufferstore.c:
2845 * plugins/elements/gstbufferstore.h:
2846 * plugins/elements/gsttypefindelement.h:
2847 Remove GstBufferStore, no idea why we were still building it.
2848 It's not used anywhere and superseded by GstAdapter.
2850 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2851 (gst_file_src_create_mmap):
2852 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2853 Printf format fixes for 64-bit integers.
2855 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2858 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2859 We're not in 0.8 times anymore.
2861 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2863 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2864 (gst_check_element_push_buffer_list):
2865 * libs/gst/check/gstcheck.h:
2866 Make the declaration in the header for
2867 gst_check_element_push_buffer_list match the implementation.
2869 Fix up spelling, grammar and wording of the documentation in a few
2870 places, and add the Since keyword to new API functions.
2871 Use g_list_delete_link instead of g_list_remove in
2872 gst_check_drop_buffers, since it's immeasurably more efficient.
2874 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2875 Use new gst_check_drop_buffers function where appropriate.
2877 * win32/common/libgstbase.def:
2878 * win32/common/libgstreamer.def:
2879 Add new symbols gst_collect_pads_take_buffer,
2880 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2883 Changelog surgery to add API keyword to new gst_check API.
2885 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2887 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2888 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2889 Update pre-generated flex files with flex 2.3.34.
2891 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2893 * gst/gstminiobject.c:
2894 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2895 friendly to subclasses and not require them to know all internals
2896 of their parent class.
2898 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2900 * docs/libs/gstreamer-libs-sections.txt:
2901 * libs/gst/base/gstcollectpads.c:
2902 * libs/gst/base/gstcollectpads.h:
2903 Add sub-buffer functions to collectpads. Fixes #516187.
2904 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2906 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2909 Copy selected buffer-flags when creating subbuffers.
2912 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2914 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2915 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2916 * gst/gstmessage.c: (gst_message_class_init),
2917 (gst_message_finalize):
2918 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2919 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2920 (gst_mmap_buffer_finalize):
2921 Properly chain up finalize functions to the parent class.
2923 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2925 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2927 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2928 (gst_index_set_resolver_full):
2930 Add new function with option to dispose of user_data in resolver.
2931 Actually call the dispose function when finalizing the object and not
2932 just when changing the resolver/filter.
2933 API: GstIndex::gst_index_set_resolver_full()
2935 * docs/gst/gstreamer-sections.txt:
2936 Add new function to docs. Fixes #515469.
2938 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2940 * gst/gstindex.c: (gst_index_finalize):
2941 Chain up finalize to the parent class. Fixes leaking the GstObject
2942 name and other things.
2944 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2947 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2948 pre-releases or releases.
2950 * docs/faq/gst-uninstalled:
2953 * docs/random/release:
2954 Change one of the steps - we only upload core & base to Gnome FTP
2956 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2958 * gst/gstconfig.h.in:
2959 Add 'id' for example.
2963 * plugins/elements/gstfdsink.c:
2964 Link to signals. Doc and comment fixes.
2966 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2968 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2969 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2970 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2971 unused and unimplemented; finally, it is plugin features, not
2972 plugins, that have ranks.
2974 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2976 * gst/gstpluginfeature.h:
2977 Clarify GstRank range docs.
2979 2008-02-05 David Schleef <ds@schleef.org>
2981 * gst/gst.c: Add a separate gst_deinitialized that prevents
2982 gst_init() from being called after gst_deinit(). Fixes #509559
2984 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2987 (gst_bin_class_init):
2988 * gst/gstelement.c: (gst_element_base_class_init),
2989 (gst_element_class_add_pad_template):
2990 * gst/gstpadtemplate.c: (gst_pad_template_init):
2991 * gst/gstpipeline.c: (gst_pipeline_get_type),
2992 (gst_pipeline_base_init), (gst_pipeline_class_init):
2993 * libs/gst/base/gstbasesink.c:
2994 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2995 (gst_base_src_base_init), (gst_base_src_class_init):
2996 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2997 (gst_capsfilter_class_init):
2998 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2999 (gst_fake_sink_class_init):
3000 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3001 (gst_fake_src_class_init):
3002 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3003 (gst_fd_sink_class_init):
3004 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3005 (gst_fd_src_class_init):
3006 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3007 (gst_file_sink_class_init):
3008 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3009 (gst_file_src_class_init):
3010 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3011 (gst_identity_class_init):
3012 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3013 (gst_multi_queue_class_init):
3014 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3015 (gst_queue_class_init):
3016 * plugins/elements/gsttee.c: (gst_tee_base_init),
3017 (gst_tee_class_init):
3018 * plugins/elements/gsttypefindelement.c:
3019 (gst_type_find_element_base_init),
3020 (gst_type_find_element_class_init):
3021 * tests/check/gst/gstelement.c: (gst_element_suite):
3022 Revert previous changes to the behaviour of GstPadTemplates, etc
3023 and the possiblity to call them in class_init as it breaks too
3024 many elements. Reopens bug #491501.
3026 Should be applied again for 0.11, thus added a few FIXME 0.11 at
3029 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3031 * tools/gst-launch.c:
3032 Dump one graph per pipeline state-change and state change name
3033 (if GST_DEBUG_DUMP_DOT_DIR is set).
3035 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
3038 * tests/check/gst/gstpad.c:
3039 Be sure that we have a new copy of the caps and not
3040 reffed caps from a template
3042 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3044 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3045 * gst/gstpipeline.c: (gst_pipeline_get_type),
3046 (gst_pipeline_class_init):
3047 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3048 (gst_base_sink_class_init):
3049 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3050 (gst_base_src_class_init):
3051 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3052 (gst_base_transform_class_init):
3053 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3054 (gst_collect_pads_class_init):
3055 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3056 * libs/gst/net/gstnettimeprovider.c:
3057 (gst_net_time_provider_base_init),
3058 (gst_net_time_provider_class_init):
3059 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3060 (gst_capsfilter_class_init):
3061 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3062 (gst_fake_sink_class_init):
3063 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3064 (gst_fake_src_class_init):
3065 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3066 (gst_fd_sink_class_init):
3067 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3068 (gst_fd_src_class_init):
3069 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3070 (gst_file_sink_class_init):
3071 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3072 (gst_file_src_class_init):
3073 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3074 (gst_identity_class_init):
3075 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3076 (gst_multi_queue_class_init):
3077 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3078 (gst_queue_class_init):
3079 * plugins/elements/gsttee.c: (gst_tee_base_init),
3080 (gst_tee_class_init):
3081 * plugins/elements/gsttypefindelement.c:
3082 (gst_type_find_element_base_init),
3083 (gst_type_find_element_class_init):
3084 Don't use base_init where not absolutely necessary. For example it's
3085 not necessary anymore for adding pad templates or setting element
3088 Leave empty base_init functions in several places as GST_BOILERPLATE
3089 still defines and uses them.
3091 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3093 * gst/gstelement.c: (gst_element_base_class_init),
3094 (gst_element_class_add_pad_template):
3095 * gst/gstpadtemplate.c:
3096 Make it possible (and recommended) to set element details and add
3097 pad templates in the class_init functions by copying the details/pad
3098 templates in GstElement's base_init.
3100 Also make it possible to replace existing pad templates by adding
3101 a new one with the same name. This was done in a hackish fashion
3102 in same elements before already.
3104 Don't reference pad templates that are added a second time. A
3105 new pad template has a refcount of one and is not floating anymore
3106 and to be owned by the element's class. Make this more explicit by
3107 mentioning it in the docs of gst_element_class_add_pad_template().
3109 These changes are backwards compatible. Fixes bug #491501.
3111 * tests/check/gst/gstelement.c:
3112 Add unit test for setting element details, adding pad templates and
3113 replacing them in a subclass.
3115 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3117 * tools/gst-inspect.c: (print_interfaces),
3118 (print_element_properties_info), (print_pad_info),
3119 (print_signal_info), (print_element_info):
3120 Fix a few memory leaks.
3122 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3124 * docs/libs/gstreamer-libs-sections.txt:
3125 * libs/gst/check/gstcheck.c:
3126 * libs/gst/check/gstcheck.h:
3127 Add more functions for unit testing: gst_check_drop_buffers,
3128 gst_check_caps_equal, gst_check_element_push_buffer_list,
3129 gst_check_element_push_buffer
3130 API: gst_check_drop_buffers
3131 API: gst_check_caps_equal
3132 API: gst_check_element_push_buffer_list
3133 API: gst_check_element_push_buffer
3135 2008-02-01 Julien Moutte <julien@fluendo.com>
3137 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3138 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3139 (gst_index_finalize), (gst_index_entry_free),
3140 (gst_index_add_association): Fix memory leaks.
3141 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3142 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3143 (gst_mem_index_free_format), (gst_mem_index_free_id),
3144 (gst_mem_index_finalize): Fix memory leaks.
3145 * win32/common/config.h: Updated to CVS HEAD.
3147 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3150 Some more details about how the plugin docs works.
3152 * docs/plugins/gstreamer-plugins-sections.txt:
3155 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3157 * gst/parse/grammar.tab.pre.c:
3158 * gst/parse/grammar.tab.pre.h:
3159 * gst/parse/grammar.y:
3160 * gst/parse/lex._gst_parse_yy.pre.c:
3161 Add delayed set-property. This allows to set properties on dynamicaly
3162 created objects (pads in videomxer). Fixes #509391.
3164 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3167 Check if caps are not NULL (fix bug #510194)
3169 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3171 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3172 (gst_base_sink_get_position_paused):
3173 Add fixme regarding EOS in pull mode.
3174 Fix position reporting in PAUSED for negative rates.
3176 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3178 * gst/gstminiobject.c: (gst_mini_object_replace):
3179 When replacing a miniobject, do a quick equality check first so that we
3180 can avoid a ref/unref pair.
3182 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3184 * docs/design/part-synchronisation.txt:
3187 * docs/plugins/Makefile.am:
3188 * docs/plugins/gstreamer-plugins-docs.sgml:
3189 * docs/plugins/gstreamer-plugins-sections.txt:
3190 * plugins/elements/gstmultiqueue.c:
3191 Add multiqueue to the docs.
3193 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3198 === release 0.10.17 ===
3200 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3203 releasing 0.10.17, "Due Negligence"
3205 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3208 Revert caps != NULL check temporarily for 0.10.17 release.
3210 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3213 Check if caps are not NULL (fix bug #510194)
3215 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3218 Fix compilation on systems that have posix timers but no
3221 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3224 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3226 * tools/gst-inspect.c:
3227 Revert previous commit in preparation for an impromptu 0.10.17 release
3229 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3231 * tools/gst-inspect.c: (print_interfaces),
3232 (print_element_properties_info), (print_pad_info),
3233 (print_signal_info), (print_element_info):
3234 Fix a few memory leaks.
3236 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3241 === release 0.10.16 ===
3243 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3246 releasing 0.10.16, "Special Dispensation"
3248 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3251 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3252 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3253 not fail when trying to crosscompile on OpenEmbedded (#511750).
3255 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3258 Use $(MAKE) instead of make to fix the build if GNU make is
3259 called different. Fixes bug #510747.
3261 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3263 * gst/gstplugin.c: (_gst_plugin_initialize):
3264 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3265 again, which I broke two commits ago when changing the API
3266 of gst_plugin_register_static(): the g_list_foreach() in
3267 _gst_plugin_register_static still assumed the old function
3268 signature and would therefore fail (re-fixes #510187).
3270 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3271 (_gst_plugin_register_static), (gst_plugin_register_static):
3272 Revert the (technically correct) change to call g_thread_init() from
3273 the pre-main() constructor. This will break programs which call
3274 g_thread_init() without an if (!g_thread_supported()) guard in their
3275 main function. We could just blame it on GLib or the application, but
3276 it's probably best to just avoid this altogether and simply not use
3277 any GLib functions here and use plain old malloc() with a simple
3278 array to store the plugins to register later when gst_init() is
3279 finally called (re-fixes #510187).
3281 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3282 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3283 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3284 (GST_START_TEST), (gst_plugin_suite):
3285 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3288 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3290 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3291 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3292 This makes gtk-doc complain, but results in slightly better
3293 compiler errors. The old _gst_plugin_register_static() is
3294 still guarded, so there'll be a compiler warning about that
3295 instead. Fixes #510187 too.
3297 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3299 * gst/gst.c: (init_post):
3300 * gst/gstplugin.c: (_gst_plugin_register_static),
3301 (gst_plugin_register_static), (_gst_plugin_initialize):
3302 * gst/gstplugin.h: (GstPluginFilter):
3303 Change API of gst_plugin_register_static() to not take
3304 a GstPluginDesc, but rather just take all the arguments
3305 in a GstPluginDesc directly. This is more intuitive and
3306 avoids certain mistakes when porting code from
3307 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3310 * tests/check/gst/gstplugin.c:
3311 Fix up for changed API.
3313 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3315 * docs/faq/legal.xml:
3316 Update FAQ, Totem actually has an exception these days.
3318 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3320 * win32/common/libgstreamer.def:
3321 Add new API declarations
3323 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3325 * gst/gstminiobject.c:
3326 Spelling fixes for the API docs.
3328 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3330 * libs/gst/base/gstbasetransform.c:
3331 Fix long property description for QoS.
3333 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3336 _gst_trace_on is already provided by gsttrace.h, no need to declare
3339 * docs/libs/gstreamer-libs-sections.txt:
3340 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3341 and remove strange tcase_add_test which is outputting a warning.
3343 * libs/gst/check/gstcheck.c:
3344 * libs/gst/check/gstcheck.h:
3345 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3346 and define them in gstcheck.c instead of having every .c file whcih
3347 includes gstcheck.h be defining its own copy and relying on symbol
3348 interposing to marry them all, which doesn't work on Solaris.
3350 * tests/check/elements/identity.c: (GST_START_TEST):
3351 Don't define 'buffers' locally, it comes from libgstcheck.
3353 * tests/check/generic/sinks.c: (send_buffer):
3354 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3356 * tests/check/gst/gststructure.c: (GST_START_TEST):
3357 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3358 * tests/check/gst/gstutils.c: (GST_START_TEST):
3359 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3360 Add a bunch of casts to make various constants fit the types
3361 they're being assigned to.
3363 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3365 * gst/gstchildproxy.c:
3366 Improve docs and add some ideas for making this more general-purpose.
3368 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3370 * gst/gst_private.h: (GST_CAT_TYPES):
3371 Add GST_CAT_TYPES, for consistency, and so that the other
3372 debug categories don't make fun of it. Spotted by Saur on IRC.
3374 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3376 * gst/parse/Makefile.am:
3377 Move types.h from EXTRA_DIST to noinst_HEADERS.
3379 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3382 Add -Wno-portability to the automake parameters to stop warnings
3383 about GNU make extensions being used. We require GNU make in almost
3384 every Makefile anyway.
3387 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3388 at the same time is required for per target flags.
3390 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3393 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3394 __GNUC__ is defined before using it.
3396 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3398 * docs/gst/gstreamer-sections.txt:
3399 * gst/gst.c: (init_post):
3400 * gst/gstplugin.c: (_gst_plugin_register_static),
3401 (gst_plugin_register_static), (_gst_plugin_initialize),
3402 (gst_plugin_register_func):
3403 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3404 API: add gst_plugin_register_static() and deprecate
3405 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3407 Also, in _gst_plugin_register_static(), make sure to call
3408 g_thread_init() before calling GLib functions such as
3409 g_list_append() if we're not initialised yet, since that
3410 may lead to random crashes with older GSlice/GLib versions.
3412 * tests/check/gst/gstplugin.c:
3413 Adapt unit test to above changes.
3415 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3417 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3418 * gst/gstcaps.c: (gst_caps_to_string):
3419 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3420 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3421 Yet another gratuitous GString micro-optimisation: add a (private)
3422 function that serialises a structure appending to an existing
3423 GString, so that when we serialise caps we don't need to alloc+free
3424 a throwaway GString for each structure (each of which also entailing
3425 multiple reallocs on the way); also use g_string_sized_new() in
3426 various places with an approximate string length to avoid reallocs
3427 within GString. See #500143.
3429 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3431 * gst/gststructure.c: (gst_structure_id_set_value):
3432 Always check UTF-8 conformance of structure strings and not only
3433 if the debugging system is enabled; reasoning: the behaviour of
3434 the actual code shouldn't really change depending on whether the
3435 debugging system is enabled or not (#508291).
3437 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3440 Remove old coverage target in favour of "make lcov".
3442 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3444 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3445 (gst_base_src_loop):
3446 The start segment for reverse playback goes from start to last_stop.
3448 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3450 Patch by: Peter Kjellerstedt <pkj axis com>
3453 Cast the results from the timeval/spec_to_time macros to what the
3454 docs say it casts to, a GstClockTime. fixes #508175.
3456 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3459 Update some comments.
3461 * tools/gst-inspect.c: (print_element_properties_info):
3462 Improve printing of flags.
3464 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3466 * libs/gst/base/gstbasetransform.c:
3467 (gst_base_transform_transform_size):
3468 Print element name with g_warning() if there's a problem
3471 2008-01-07 David Schleef <ds@schleef.org>
3473 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3475 * libs/gst/controller/gstcontroller.h:
3476 * libs/gst/controller/gstcontrolsource.h:
3477 * libs/gst/controller/gstinterpolationcontrolsource.h:
3478 * libs/gst/controller/gstlfocontrolsource.h:
3479 * libs/gst/dataprotocol/dataprotocol.h:
3480 Fix empty prototypes. Fixes bug #507957.
3482 2008-01-07 David Schleef <ds@schleef.org>
3484 * docs/faq/dependencies.xml: Fix typo.
3486 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3488 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3489 (gst_base_src_loop):
3490 Don't update the last_stop position in do_seek, that's the position we
3492 Read backwards when we have a negative rate.
3494 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3495 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3497 Add check for reverse reading.
3499 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3501 Patch by: Alexis Ballier <aballier at gentoo org>
3503 * tests/check/gst/gstabi.c:
3504 * tests/check/gst/struct_ppc64.h:
3505 * tests/check/libs/libsabi.c:
3506 * tests/check/libs/struct_ppc64.h:
3507 Decide which header to include based on the userland ABI target
3508 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3509 for 64-bit userland (#503590). Might need something similar for
3512 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3514 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3515 Log the reason why fopen fails in addition to the fact that it failed.
3517 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3519 * gst/parse/parse.l:
3520 Use "%option never-interactive" to prevent useless calls to isatty()
3521 on every input when parsing. Also use "%option noinput" to not define
3522 the static input/yyinput functions which we don't use anyway. This
3523 removes a compiler warning with gcc 4.3 and saves some bytes in the
3526 * gst/parse/lex._gst_parse_yy.pre.c:
3527 Regenerated for the above change.
3529 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3531 * gst/gstpad.c: (fixate_value):
3532 Don't crash when trying to fixate and empty list.
3535 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3537 * docs/faq/gst-uninstalled:
3538 Clarify the comments to make the usage of this script and what it
3539 does easier to understand.
3541 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3543 * tools/gst-plot-timeline.py:
3544 Add more options to gst-plot-timeline
3546 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3548 * docs/design/part-synchronisation.txt:
3549 Some more info on how the stream_time in GstBaseSink is done.
3551 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3553 * tests/check/generic/sinks.c: (gst_sinks_suite):
3554 Put back the tcase_set_timeout(), apparently it's needed after
3555 all; fix it up in a way that makes things work with valgrind too.
3557 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3559 * gst/gstdebugutils.c:
3560 Add warning when failed to open file for writing.
3562 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3564 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3566 * gst/gstvalue.c: (gst_value_is_fixed):
3567 Optimisation: bail out of the loop as early as possible (#500143).
3569 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3571 * gst/gstcaps.c: (gst_caps_to_string):
3572 * gst/gstinfo.c: (gst_debug_construct_term_color):
3573 * gst/gstparse.c: (gst_parse_launchv):
3574 * gst/gstutils.c: (gst_util_dump_mem):
3575 * gst/gstvalue.c: (gst_value_serialize_any_list),
3576 (gst_value_transform_any_list_string):
3577 Bunch of gratuitous nano-optimisations.
3579 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3581 * tests/check/generic/sinks.c: (async_done_func),
3582 (async_done_eos_func):
3583 Fix leak in unit test (bus sync handler must unref the message
3584 if it returns GST_BUS_DROP). Don't fiddle with the default test
3585 timeout, this is smaller than the current preconfigured value
3586 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3587 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3589 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3591 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3594 Check for stdio_ext.h for the filesink changes.
3596 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3597 (gst_file_sink_class_init), (gst_file_sink_init),
3598 (gst_file_sink_dispose), (gst_file_sink_set_property),
3599 (gst_file_sink_get_property), (gst_file_sink_open_file),
3600 (gst_file_sink_close_file):
3601 * plugins/elements/gstfilesink.h:
3602 Add two properties to control the buffering mode and size.
3603 API: GstFileSink::buffer-mode
3604 API: GstFileSink::buffer-size
3607 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3609 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3610 Add some more docs to explain why a FIXME was wrongly added.
3612 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3615 Fix typo in the gst_object_{ref,unref} documentation.
3617 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3619 * tests/check/libs/controller.c:
3620 * tests/check/libs/typefindhelper.c:
3621 * tests/check/pipelines/parse-launch.c:
3622 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3623 going to be deprecated (see #498924).
3625 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3627 * gst/gsttypefind.c: (gst_type_find_register):
3628 Make gst_type_find_register work for static typefind functions,
3629 ie. allow passing plugin == NULL (prerequisite for #498924).
3631 * gst/gstelementfactory.c: (gst_element_register):
3632 Small docs addition.
3634 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3636 * gst/gstpad.c: (gst_pad_dispose):
3637 Really unlink the peer pad instead of setting the peer pointer to NULL
3638 when we dispose the pad.
3639 This correctly calls the unlink functions and makes sure that the peer
3640 does not have a handle to invalid memory. See #504671.
3642 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3643 Add testsuite for above case.
3645 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3647 Patch by: Peter Kjellerstedt <pkj axis com>
3649 * libs/gst/check/gstcheck.h:
3650 Fix detection of the check version we're compiling against (would
3651 otherwise break if check goes v0.10.0); correctly report the
3652 name of the failed test again in case of failure, instead of
3653 just 'tf' (fixes #504499).
3655 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3657 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3658 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3659 (gst_base_src_loop), (gst_base_src_set_flushing),
3660 (gst_base_src_change_state):
3661 Allow sending EOS to the source to make it send out an EOS event from
3662 the streaming thread.
3663 Update docs and deprecate the old NULL/READY shutdown method.
3665 * tests/check/libs/basesrc.c: (GST_START_TEST),
3666 (gst_basesrc_suite):
3667 Add unit test for controlled shutdown.
3669 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3671 * docs/design/part-synchronisation.txt:
3674 * gst/gstsegment.c: (gst_segment_set_seek),
3675 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3676 (gst_segment_to_running_time):
3677 The seek format can be different from the segment format when the start
3678 and stop values are not to be updated, when we only do a rate change for
3681 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3682 (gst_segment_suite):
3683 Add a testcase for the rate-only seeks, checking that the format is
3684 correctly ignored when start and stop are not updated.
3686 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3688 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3690 * win32/vs8/grammar.vcproj:
3691 * win32/vs8/libgstcontroller.vcproj:
3692 * win32/vs8/libgstreamer.vcproj:
3693 Fix compilation with VS8 and include some missing files.
3695 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3698 Small docs addition: mention that the strings returned by
3699 gst_tag_list_get_string*() are in UTF-8 encoding.
3701 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3704 The check-exports stuff moved to common/win32.mak, so include that.
3706 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3708 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3709 (gst_base_src_perform_seek), (gst_base_src_get_range),
3710 (gst_base_src_set_playing), (gst_base_src_change_state):
3711 Make _wait_playing() not check any variables so that we can call this
3712 function from subclasses. Move the checks elsewhere similar to
3713 _wait_preroll() in basesink.
3715 Only signal the LIVE cond when we are going back to PLAYING.
3717 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3719 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3720 Use g_remove() and g_rename(). Check result of g_rename(), and
3721 don't leak the open file descriptor if we error out when writing.
3723 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3724 Must check the return value of close() after writing out the new
3725 registry file. Sometimes write problems such as out-of-diskspace
3726 are only reported when the file is closed and not already during
3727 the write. This may have caused partial/broken registry files in
3728 some rare circumstances. Should fix #503675.
3730 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3732 * docs/gst/.cvsignore:
3733 * docs/libs/.cvsignore:
3734 * docs/plugins/.cvsignore:
3735 Ignore files generated by new common/* modifications
3737 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3739 * win32/common/libgstbase.def:
3740 Yes, you can also have a <TAB> if you want.
3742 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3744 * win32/common/libgstbase.def:
3745 Add new basetransform API to win export file.
3747 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3749 * tests/check/gst/gstbin.c:
3750 Adjust the test to the refcount change two days ago.
3752 2007-12-14 David Schleef <ds@schleef.org>
3754 * docs/faq/getting.xml: Fix typo.
3756 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3758 * docs/libs/gstreamer-libs-sections.txt:
3759 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3760 (gst_base_transform_prepare_output_buffer),
3761 (gst_base_transform_set_gap_aware):
3762 * libs/gst/base/gstbasetransform.h:
3763 API: Add gst_base_transform_set_gap_aware() to control whether
3764 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3765 get buffers with this flag at all. Fixes #503231.
3767 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3769 * libs/gst/base/gstbasesink.c:
3770 * libs/gst/base/gstbasesrc.c:
3771 * libs/gst/base/gstbasetransform.c:
3772 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3773 thread. Correct log message in gstbasesrc.c.
3775 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3777 * gst/gstutils.c: (element_find_unconnected_pad):
3778 Fix possible compiler warning (#503417).
3780 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3782 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3783 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3785 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3787 * tools/gst-inspect.c: (print_element_properties_info):
3788 Add support for GstFraction properties.
3790 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3793 Add check-exports target and run it as part of 'make check'
3794 (see #499140 and #493983).
3796 * gst/gst_private.h:
3797 * gst/gstelementfactory.h:
3798 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3799 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3800 (_priv_gst_in_valgrind):
3801 * gst/gstinfo.h: (GstLogFunction):
3802 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3803 (gst_type_find_register):
3804 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3805 (gst_type_find_factory_get_type):
3806 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3807 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3808 (gst_controller_new_valist), (gst_controller_new_list),
3809 (_gst_controller_dispose), (_gst_controller_class_init):
3810 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3811 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3812 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3813 (gst_object_get_controller), (gst_object_set_controller),
3814 (gst_object_suggest_next_sync), (gst_object_sync_values),
3815 (gst_object_set_control_source), (gst_object_get_control_source),
3816 (gst_object_get_value_arrays), (gst_object_get_value_array),
3817 (gst_object_get_control_rate), (gst_object_set_control_rate):
3818 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3819 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3820 Make some functions that should be static static; rename some
3821 private symbols so that they don't get exported; add some FIXME
3822 comments so we can move accidentally exported functions into
3823 our private section in 0.11.
3825 * win32/common/libgstreamer.def:
3826 Add gst_utils_get_timestamp().
3828 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3832 Add more missing "Since:" tags to docs.
3834 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3837 Add mising "Since:" to docs.
3839 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3842 Include "glib-compat-private.h" to fix the build on system with
3843 glib < 2.10. Fixes #503131.
3845 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3849 Actually its not PURE as it gets the time from elsewhere.
3851 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3853 * docs/gst/gstreamer-sections.txt:
3855 * gst/gstdebugutils.c:
3859 * libs/gst/base/gstbasesink.c:
3860 * tools/gst-launch.c:
3861 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3862 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3863 Thanks Tim for spotting.
3864 API: gst_util_get_timestamp
3866 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3869 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3871 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3873 * gst/gststructure.c: (gst_structure_validate_name),
3874 (gst_structure_new_valist), (gst_structure_parse_value),
3875 (gst_structure_from_string):
3876 Don't crash in _from_string() if the structure name is not valid
3877 (fixes #501560). Allow structure names to start with a number
3878 again (this apparently broke the ubuntu codec installer).
3880 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3882 Add unit test for the crash; update unit tests for new behaviour.
3884 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3887 Clarify gst_element_get_compatible_pad() documentation.
3890 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3892 * tests/check/Makefile.am:
3893 Don't forget to dist {gst,libs}/struct_hppa.h.
3895 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3897 * libs/gst/base/gstbasesink.c:
3898 Use new API to get elapsed time.
3900 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3902 * gst/gstdebugutils.c:
3904 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3906 * tools/gst-launch.c:
3907 Use new API to get elapsed time.
3909 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3911 * docs/gst/gstreamer-sections.txt:
3913 * gst/gstdebugutils.c:
3915 Rename new API + ChangeLog surgery to remove old name from last entry..
3917 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3919 * docs/gst/gstreamer-sections.txt:
3921 * gst/gstdebugutils.c:
3923 Now hide the different clock stuff behind a macro.
3925 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3928 * gst/gstdebugutils.c:
3930 Apply the posix-timer check from #361155. Conditionally use the posix
3931 timer for logging. This gives better timestamp precission, less
3932 overhead and no ntp jitter.
3934 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3936 * gst/gstminiobject.c: (gst_mini_object_get_type),
3937 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3938 (gst_mini_object_finalize), (gst_mini_object_copy),
3939 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3940 (gst_mini_object_replace), (param_mini_object_validate),
3941 (gst_param_spec_mini_object_get_type):
3942 Some cleanup and checking against invalid function parameters.
3944 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3946 * docs/gst/gstreamer-sections.txt:
3948 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3949 (gst_systemclock_suite):
3950 Start merging in the easy bits of #361155, the monotonic clock patch.
3951 This one adds a few handy macros with docs and a testsuite.
3953 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3955 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3956 Be a bit smarter when seeking, like, don't try to do a seek when it's
3957 not needed. This avoids errors when the file is not seekable.
3960 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3962 * docs/gst/gstreamer-docs.sgml:
3963 * docs/gst/gstreamer-sections.txt:
3964 * docs/gst/gstreamer.types.in:
3969 * plugins/elements/gstqueue.c:
3970 Due to popular request remove preset interface again. :-(.
3972 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3974 * tools/gst-inspect.c:
3975 Print 'default value' for enums and flags too.
3977 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3979 * docs/random/ensonic/profiling.txt:
3983 Fix typo and give better log output.
3985 * gst/gstdebugutils.c:
3986 * gst/gstdebugutils.h:
3987 More ideas, make graphs a bit smaller and fix param name in macro.
3989 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3992 Try harder to use the return value from fgets().
3994 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3997 For theses two fgets we handle the error below.
3999 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4001 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4002 Only send upstream events upstream. Fixes #498746.
4004 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4006 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4008 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4009 (gst_identity_init), (gst_identity_transform_ip),
4010 (gst_identity_set_property), (gst_identity_get_property):
4011 * plugins/elements/gstidentity.h:
4012 Add property to disable handoff signal emission. Fixes #498694.
4013 API: GstIdentity::signal-handoffs
4015 2007-11-21 Julien Moutte <julien@fluendo.com>
4017 * docs/faq/gst-uninstalled: Yet another missing library for the
4018 uninstalled script (fft)
4020 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
4022 * docs/faq/developing.xml:
4023 Add a question about how to submit new translations.
4025 * docs/random/release:
4026 Update the contact email address for the Translation Project
4028 * plugins/elements/gstfdsrc.c:
4029 The parent_class for fdsrc is pushsrc, not GstElement.
4031 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4034 Plug a leak and fix saving.
4036 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
4038 * docs/gst/gstreamer-sections.txt:
4039 Add new gst_preset__get_property_names() function to the docs
4042 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4046 Change _get_preset_names API to return a strv with copies. Add
4047 _get_property_names to allow implementations to filter and provide
4048 good default implementation.
4050 2007-11-20 Julien MOUTTE <julien@moutte.net>
4052 * docs/faq/gst-uninstalled: Add another library to the uninstalled
4055 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4058 More cleanups, docs, and TODOs from comments that now slowly come in.
4060 2007-11-19 Julien MOUTTE <julien@moutte.net>
4062 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4065 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4068 Fix bogus warning and make the property type specific code more
4071 2007-11-19 Julien MOUTTE <julien@moutte.net>
4073 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4076 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4078 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4079 (gst_bin_add_func), (gst_bin_remove_func),
4080 (gst_bin_change_state_func), (gst_bin_continue_func):
4081 Change email, cleanups add some more debug and comments.
4082 Also set bus and clock on new elements when the pipeline was in error.
4084 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4087 * gst/gstdebugutils.c:
4088 Fix build with --disable-gst-debug. Fixes #497859.
4089 Spotted by Sameer Naik.
4091 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4094 Little documentation improvment.
4097 More TODO cleanups. Remove c++ comments.
4099 * libs/gst/controller/gstcontroller.c:
4100 Add TODO and use quark from static string.
4102 * tests/check/gst/gstmessage.c:
4103 * tests/check/gst/gststructure.c:
4104 Use quark from static string.
4106 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4109 Add some comments and TODOs.
4112 Add padding for future changes.
4114 * plugins/elements/gstqueue.c:
4115 Implement the iface.
4117 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4119 * docs/gst/gstreamer-docs.sgml:
4120 * docs/gst/gstreamer-sections.txt:
4121 * docs/gst/gstreamer.types.in:
4126 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4128 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4134 === release 0.10.15 ===
4136 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4139 releasing 0.10.15, "October"
4141 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4143 * win32/vs6/libgstreamer.dsp:
4144 Convert line endings back to DOS.
4146 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4148 * docs/design/draft-tagreading.txt:
4149 * docs/random/ensonic/profiling.txt:
4150 Update fast tagreading draft and performance profiling ideas.
4152 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4154 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4155 Don't hold the object lock when unreffing a buffer because it could
4156 cause a deadlock when the finalize function wants to grab the object
4157 lock too. Fixes #495133.
4159 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4161 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4162 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4163 Also accumulate time correctly when doing reverse playback. Fixes
4165 When converting to running and stream time, use default values for
4166 start/stop/time/accum when comparing different formats. Fixes #494245.
4168 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4169 Do running/stream time in TIME format.
4171 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4172 (gst_segment_suite):
4173 2 new unit tests for segment accumulation.
4175 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4177 * gst/gst.c: (init_pre):
4178 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4179 (_gst_debug_bin_to_dot_file):
4180 Move getenv() back into gst_init, so everyone can live happily
4181 ever after. Make sure the symbol isn't exported though.
4183 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4185 Patch by: Sebastien Moutte <sebastien moutte net>
4187 * win32/common/gstenumtypes.c:
4188 * win32/common/gstenumtypes.h:
4191 * win32/vs6/libgstreamer.dsp:
4192 Update vs6 project files (#494343).
4194 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4196 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4197 (gst_base_src_perform_seek), (gst_base_src_default_event),
4198 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4199 (gst_base_src_activate_pull):
4200 Unify flushing code, remove some old unlock code that is no longer used.
4201 Take the streaming lock when seeking to avoid races. Fixes #492729.
4202 Added some more comments.
4204 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4206 * gst/gst.c: (_gst_disable_segtrap):
4207 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4208 we can use gst_segtrap_is_enabled() there now that we have that API.
4209 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4210 to do the getenv here (and export the variable).
4212 * gst/gstdebugutils.c: (debug_dump_element),
4213 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4214 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4216 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4217 (gst_debug_log_default):
4218 Rename _gst_info_start_time to priv_gst_info_start_time so it
4219 doesn't get exported (was never in any header).
4221 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4222 (gst_plugin_loading_mutex):
4223 Make static mutex gst_plugin_loading_mutex really static (was never
4224 in any header), and use gst_segtrap_is_enabled() instead of
4225 _gst_disable_segtrap.
4227 * gst/gsttrace.c: (_gst_trace_default):
4228 Make local _gst_trace_default static (was never in any header).
4230 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4232 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4234 * win32/common/libgstbase.def:
4235 * win32/common/libgstcontroller.def:
4236 * win32/common/libgstdataprotocol.def:
4237 * win32/common/libgstnet.def:
4238 * win32/common/libgstreamer.def:
4239 Add more missing symbols, remove some duplicates, and sort
4240 as the 'sort' command sorts it (partially fixes #493983).
4242 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4244 * gst/gstelement.c: (gst_element_set_state_func):
4245 Only change the state cookie if a different state was set on the
4246 element. See #492729.
4248 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4251 Remove unused and uninitialised type variables that were still
4252 exported for some reason (they were never in any header files
4255 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4257 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4258 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4259 (gst_base_sink_event), (gst_base_sink_get_position_last),
4260 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4261 (gst_base_sink_change_state):
4262 Don't try to report a 0 position when we don't know, return -1 and FALSE
4263 instead. This mostly happens when we are prerolling.
4264 Make sure we can report the right position before we post the ASYNC_DONE
4265 message so that a message handler can query position without races.
4267 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4268 (async_done_handoff), (async_done_func), (send_buffer),
4269 (async_done_eos_func), (gst_sinks_suite):
4270 Add two tests for the above.
4272 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4275 Update with new email address.
4277 * docs/design/part-TODO.txt:
4278 Add some more info about future pad-block and negotiation changes.
4280 * docs/design/part-buffering.txt:
4281 Add some ideas about buffering reporting.
4283 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4285 * tests/check/gst/gstobject.c:
4286 Disable silly racy test that always fails on this combination of CPU
4289 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4291 Patch by: Murray Cumming <murrayc@murrayc.com>
4294 Corrected the registration of the parent-set and parent-unset
4295 signals: The parameter is a GstObject, not a GObject (#493134).
4297 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4299 * gst/gst_private.h:
4308 Move declaration of private _gst_foo_initialize() functions into
4309 our private header file where they should have been all along.
4311 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4313 * docs/plugins/gstreamer-plugins-sections.txt:
4314 * gst/gstdebugutils.h:
4316 * plugins/elements/gstqueue.c:
4317 gtk-doc fixes; trailing-comma-in-enum fix.
4319 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4321 * gst/gst.c: (gst_deinit):
4322 Clean up on deinit (not the external ones though, doesn't seem to be
4323 needed for some reason).
4325 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4327 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4328 Remove __declspec(dllimport) for MSVC that was copied over into core
4329 from a plugin, obviously without ever having been tested (note the
4330 single underscore in _declspec in the initial commit), and that doesn't
4331 really make sense. See #492077.
4333 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4335 * gst/gst.c: (init_post):
4336 * gst/gstevent.c: (_gst_event_initialize):
4337 * gst/gstquery.c: (_gst_query_initialize):
4338 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4339 g_type_class_ref() other types as well, see #349410 and #64764.
4341 * gst/gstbuffer.c: (_gst_buffer_initialize):
4342 * gst/gstmessage.c: (_gst_message_initialize):
4343 Simplify existing g_type_class_ref().
4345 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4347 * gst/gstformat.c: (_gst_format_initialize):
4348 g_type_class_ref() our GstFormat type to make sure we avoid the
4349 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4350 bug #64764. Should fix intermittent tee unit test failures (#474823).
4352 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4354 * tests/check/elements/tee.c: (test_num_buffers):
4355 Simplify, simplify, simplify - or not. Rewrite unit test
4356 not to use gst_parse_launch(); allow N sub-streams. Increasing
4357 the number of sub-streams seems to reproduce #474823 more easily.
4359 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4361 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4364 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4365 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4366 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4367 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4368 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4369 so use _pipe() directly (#492077).
4371 * win32/common/dirent.c: (_treaddir):
4372 Add a couple of casts to make it build without warnings with MSVC.
4374 * win32/common/libgstreamer.def:
4375 Add some more symbols that need to be exported.
4377 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4379 * tests/examples/metadata/read-metadata.c: (message_loop):
4380 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4381 arriving in a second or third tag message are added to
4382 the tag list as well.
4384 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4386 * libs/gst/base/gstbasesrc.c:
4387 Its "Since:" and not "@Since:". And remove an superflous cast.
4389 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4391 * docs/libs/gstreamer-libs-sections.txt:
4392 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4393 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4394 (gst_base_sink_get_property), (gst_base_sink_render_object),
4395 (gst_base_sink_preroll_object),
4396 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4397 (gst_base_sink_change_state):
4398 * libs/gst/base/gstbasesink.h:
4399 Add a new last-buffer property that contains the last buffer used in
4400 basesink for preroll or rendering. useful for making snapshots.
4401 API: gst_base_sink_get_last_buffer()
4402 API: GstBaseSink::last-buffer
4404 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4406 * docs/gst/running.xml:
4408 * gst/gstdebugutils.c:
4409 * gst/gstdebugutils.h:
4410 * tools/gst-launch.c:
4411 Improve bin graph dumping, by using the envvar to specify a path.
4412 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4414 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4416 * plugins/elements/gsttypefindelement.c:
4417 (gst_type_find_element_handle_event),
4418 (gst_type_find_element_activate):
4419 Post special error message if we can't determine the type of a stream
4422 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4424 * docs/gst/running.xml:
4425 * gst/gstdebugutils.c:
4426 Document new env-var. Add one log-line after dumpng a graph.
4428 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4431 Ugly hack to put the (recently removed and non-portable, apparently)
4432 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4433 GNU ld, because without that 'make check' fails miserably on my debian
4434 stable box. Someone with more knowledge of linker intricacies and
4435 portability issues than me fix this properly please.
4437 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4439 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4440 Reset last seen position after flushing so that we don't report the old
4443 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4445 * gst/gstelementfactory.c: (gst_element_register):
4447 Patch from Alessandro Decina adding get_type_full and
4448 get_protocols_full private vfuncs to the URIHandler interface
4449 to allow bindings to support creating URI handlers.
4450 Partially fixes: #339279
4451 API: GstURIHandlerInterface::get_type_full
4452 API: GstURIHandlerInterface::get_protocols_full
4454 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4456 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4457 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4458 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4459 Make it so that pads are considered linked until a buffer is pushed
4460 and discovered otherwise. This avoids problems with decodebin2 hanging
4461 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4464 Make sure we lock the multiqueue when updating the max-size properties.
4466 Fix a crash on Solaris in a debug statement in get_request_pad that
4467 passes a NULL string to GST_DEBUG.
4469 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4470 (run_output_order_test):
4471 Fix the test to allow the first buffer on not-linked pads to come out
4472 of sequence while multiqueue discovers that they are not-linked.
4474 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4477 * libs/gst/check/Makefile.am:
4478 Use a custom export symbol regex for libgstcheck, as it needs
4479 to export symbols that don't match the standard GStreamer gst_*
4480 pattern, and --export-dynamic is not portable (only works on
4483 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4484 (gst_check_setup_sink_pad):
4485 Make sure to pass a message parameter to the fail_* macros.
4487 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4488 Fix some compiler warnings.
4490 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4492 * tests/check/gst/gststructure.c: (test_to_string):
4493 Disable test that checks that white spaces are not allowed
4494 in structure names or field names, since we need to
4495 support that for now for backwards compatibility reasons.
4497 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4499 * docs/gst/gstreamer-sections.txt:
4502 API: add GST_TAG_ARTIST_SORTNAME
4503 API: add GST_TAG_ALBUM_SORTNAME
4504 API: add GST_TAG_TITLE_SORTNAME
4505 Add tag variants for sorting (#414539).
4507 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4509 * gst/gststructure.c:
4510 Also allow white space for names so we don't break
4511 backwards compatibility.
4513 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4515 * docs/design/part-TODO.txt:
4516 * docs/design/part-segments.txt:
4517 * docs/design/part-streams.txt:
4520 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4522 * docs/gst/gstreamer-sections.txt:
4523 Fixed documentation from my previous commit (added new API add
4524 gst_value_set_structure(), add gst_value_get_structure() and
4525 GST_VALUE_HOLDS_STRUCTURE).
4527 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4529 * gst/gstdebugutils.c:
4530 Reflow code to fix uninitialized variable warning.
4532 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4534 * gst/gstcaps.c: (gst_caps_to_string),
4535 (gst_caps_from_string_inplace):
4536 * gst/gststructure.c: (gst_structure_get_abbrs),
4537 (gst_structure_to_string), (gst_structure_from_string):
4538 * gst/gstvalue.c: (gst_value_set_structure),
4539 (gst_value_get_structure), (gst_value_serialize_structure),
4540 (gst_value_deserialize_structure), (_gst_value_initialize):
4542 * tests/check/gst/gststructure.c: (GST_START_TEST),
4543 (gst_structure_suite):
4544 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4545 Added GstStructure to gst_value_table and its related functions.
4546 Changed gst_structure_to_string to print ';' in the end.
4547 Changed gst_caps_to_string to not print ';' beteween its
4548 fields (structures) anymore and remove the lastes ';' from latest
4549 structure. Now it is possible to have nested structures.
4550 In addition, backward compatibilty is assured by accepting '\0' as
4551 end delimiter. Fixes: #487969.
4552 API: add gst_value_set_structure()
4553 API: add gst_value_get_structure()
4554 API: add GST_VALUE_HOLDS_STRUCTURE
4556 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4559 When no GSource callback has been set up, tell developer
4560 to use a function that actually exists.
4562 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4564 * docs/gst/gstreamer-sections.txt:
4568 * gst/gstdebugutils.c:
4569 * gst/gstdebugutils.h:
4572 * tools/gst-launch.c:
4573 Allow dumping pipelines as dot graphs. Fixes #456573.
4575 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4577 * gst/gststructure.c:
4578 Allow '+' as well, it can be part of media or mime types
4579 such as image/svg+xml.
4581 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4583 * docs/gst/gstreamer-sections.txt:
4586 API: add gst_bus_pop_filtered
4587 API: add gst_bus_timed_pop_filtered
4588 Two new functions for waiting for specific message types on the
4589 bus for a specified amount of time without iterating any main
4590 loops or main contexts.
4592 * tests/check/gst/gstbus.c:
4593 Some tests for the new functions.
4595 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4597 * docs/libs/gstreamer-libs-sections.txt:
4598 Make gtk-doc ignore stuff it should ignore.
4600 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4602 * libs/gst/check/gstcheck.c:
4603 * libs/gst/check/gstcheck.h:
4604 Allow runtime selection of unit tests to run via the GST_CHECKS
4605 environment variable (test case function names, comma-separated).
4607 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4609 * gst/gststructure.c:
4610 * tests/check/gst/gststructure.c:
4611 Revert serialisation change and constrain structure-names after
4612 consensus on irc. Update api documentation to reflect the change.
4614 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4616 * gst/gststructure.c:
4617 Improve serialization and fix tests.
4619 * tests/check/gst/gststructure.c:
4620 Add another test that covers why I actually did the previous structure
4623 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4625 * tools/gst-inspect.c: (print_element_info):
4626 Don't crash when inspecting an element.
4628 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4630 * tests/check/gst/gststructure.c:
4631 Add unit test for escaping of structure name when serialising
4632 and deserialising to/from strings.
4634 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4636 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4637 (gst_single_queue_new):
4638 * plugins/elements/gstqueue.c: (gst_queue_init),
4639 (gst_queue_push_one):
4640 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4641 upstream is tricked into thinking it can suggest a format downstream
4642 while downstream does not support that format. The real problem is that
4643 core calls acceptcaps when pushing a buffer with new caps, for which we
4644 do a little workaround by setting the caps on the srcpad ourselves
4645 before pushing the buffer (until this is figured out). Fixes #486758.
4647 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4649 * gst/gststructure.c:
4651 Add some more comments and debug output. Quote structure name to fix
4652 deserialisation of some strings.
4654 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4657 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4658 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4660 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4662 * tools/gst-inspect.c:
4663 Save approx. 400 1 byte allocs when printing. Use API to acces element
4669 * tools/gst-xmlinspect.c:
4670 Use API to acces element details.
4672 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4675 Fix some spelling errors.
4677 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4679 * gst/gstbin.c: (bin_handle_async_done):
4680 Correctly set the next state if all of our async children commited their
4681 state. This makes sure we can actually cancel the state change in
4682 progress. Fixes a regression in Rhythmbox when seeking.
4684 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4687 Don't shadow local variable.
4690 Don't shadow global function name.
4692 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4694 * gst/gstelementfactory.c:
4695 * gst/gstpluginfeature.c:
4696 * gst/gstpluginfeature.h:
4697 * gst/gstregistrybinary.c:
4698 * gst/gstregistryxml.c:
4699 * gst/gsttypefind.c:
4700 Use already-interned string for the private GstPluginFeature
4703 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4705 * docs/libs/gstreamer-libs-sections.txt:
4706 Add new API to docs; fixes the build.
4708 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4710 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4712 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4713 (gst_base_sink_event):
4714 * libs/gst/base/gstbasesink.h:
4715 Add function to wait for EOS, subclasses can use this to correctly wait
4716 for devices to drain before performing the EOS logic. Fixes #485343.
4717 API: gst_base_sink_wait_eos()
4719 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4722 Cast description string constants in GST_PLUGIN_DEFINE macros
4723 to a (gchar*) to make C++ code using these macros compile
4724 without warning with g++-4.2 (see #462737). Even if slightly
4725 ugly, this seems preferable to putting the description strings
4726 into the GLib quark table or making the structure member a
4727 const gchar * and doing casts in core code that allocs and
4728 frees these strings, or requiring a cast in the C++ code.
4730 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4733 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4734 to print the entire class/function signature into the log
4735 file for C++ code. This only affects C++ code, for C code
4736 everything remains the same.
4738 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4740 * gst/gstbin.c: (remove_from_queue):
4741 Work around a problem with pipelines containing (semi)loops until a
4742 proper, more complicated solution is ready. See #475455.
4744 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4748 * gst/gstregistrybinary.c:
4749 * gst/gstregistryxml.c:
4750 Put more strings into the GLib quark table. No need to keep
4751 a hundred-something copies of identical version strings,
4752 license strings, package name strings and package origin
4755 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4757 * docs/manual/advanced-dataaccess.xml:
4758 Don't imply that it's okay to unconditionally change
4759 buffer data or buffer metadata in a pad probe callback,
4760 and a bunch of other comments. Fixes #430031.
4762 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4764 * win32/common/gstenumtypes.c:
4765 * win32/common/gstenumtypes.h:
4766 * win32/common/gstversion.h:
4767 Update generated files.
4769 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4771 * docs/manual/advanced-autoplugging.xml:
4772 Prefix section with broken code with a warning (see #342432).
4774 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4776 * docs/manual/appendix-integration.xml:
4777 * docs/manual/basics-init.xml:
4778 Call g_thread_init() before g_option_context_new() to
4779 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4781 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4783 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4784 (gst_base_sink_queue_object_unlocked),
4785 (gst_base_sink_queue_object), (gst_base_sink_event),
4786 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4787 When we received EOS and are waiting for when to post the EOS message,
4788 our state is prerolled and we should not return ASYNC.
4789 Reorganize some code paths to implement this behavior.
4791 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4793 Add unit test to verify above EOS fix.
4795 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4797 * plugins/elements/gsttypefindelement.c:
4798 (gst_type_find_element_have_type), (gst_type_find_element_init),
4799 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4800 Move detecting the input caps of the sinkpad to the setcaps function.
4801 This allows us to update the output caps when we receive new input caps
4802 instead of always using the first detected caps.
4804 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4806 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4807 (gst_base_sink_get_position):
4808 Don't try to preroll non-async elements after a flush.
4809 Subtract latency form clock times when reporting position.
4811 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4813 * gst/gstpad.c: (gst_pad_pause_task):
4815 Small comment and documentation update.
4817 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4819 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4820 (gst_base_src_set_live), (gst_base_src_is_live),
4821 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4822 (gst_base_src_default_event), (gst_base_src_wait),
4823 (gst_base_src_do_sync), (gst_base_src_get_range),
4824 (gst_base_src_pad_get_range), (gst_base_src_loop),
4825 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4826 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4827 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4828 (gst_base_src_change_state):
4829 Rework the locking of basesrc in a similar fashion to basesink. We
4830 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4831 us to handle live sources and semi live ones much better.
4833 Fix unlocking when seeking, shutting down and pausing in live sources.
4835 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4837 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4838 Fix compilation again.
4840 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4843 Use meaningful categories for the logs to clean the default one.
4845 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4847 * tests/check/pipelines/cleanup.c:
4848 Print message name and not just number.
4850 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4852 * docs/design/draft-tagreading.txt:
4853 Add some more thoughts.
4855 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4857 * tests/check/pipelines/simple-launch-lines.c:
4858 Print message name and not just number.
4860 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4862 * libs/gst/base/gsttypefindhelper.c:
4863 Speedup typefinding. This is work in progress (see #459862).
4865 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4868 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4869 Spotted by Josep Torra Valles <josep@fluendo.com>.
4871 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4874 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4875 field has moved to GstObject.
4877 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4879 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4880 (gst_base_src_get_range), (gst_base_src_change_state):
4881 Call unlock for live sources so that they can't get stuck in _create and
4882 produce a buffer before they are set back to PLAYING.
4884 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4886 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4887 (gst_queue_locked_dequeue):
4888 Comment the segment-related code... in the PROPER function.
4889 See #482147 and my commit from yesterday.
4891 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4893 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4894 Also initialize the counter that calculates the first timestamp on a
4895 buffer correctly for non-live sources.
4897 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4899 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4900 Disable code that's breaking the current-time-level reporting.
4903 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4905 * docs/gst/gstreamer-sections.txt:
4906 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4907 as they shouldn't show up. Fixes the docs build.
4909 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4912 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4913 Define M_PI which is used in files which are including gstinfo.h.
4914 VS6 includes doesn't define it.
4915 * win32/common/libgstbase.def:
4916 * win32/common/libgstcontroller.def:
4917 * win32/common/libgstreamer.def:
4918 Add new exported functions and variables.
4919 * win32/vs6/libgstcontroller.dsp:
4920 * win32/vs6/libgstreamer.dsp:
4921 Update the list of files to build.
4923 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4925 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4927 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4928 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4929 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4930 Improve debugging. Fixes #480858.
4932 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4934 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4936 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4937 First patch of code cleanups, use the macros and right arguments in the
4938 macros to signal and lock the queue. See #480858.
4940 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4942 * gst/gstbus.c: (poll_func):
4943 Improve debugging when dealing with _poll().
4945 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4947 * gst/gstregistryxml.c:
4948 Fix memory leak I introduced a few days ago.
4950 2007-09-26 Michael Smith <msmith@fluendo.com>
4952 * gst/gstbuffer.c: (gst_buffer_finalize):
4953 Make it once again possible to free GstBuffers in the default
4955 The poisoning scribbles on parts of the miniobject we need in
4959 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4961 * docs/gst/gstreamer-sections.txt:
4964 API: add GST_TAG_COMPOSER, fixes #459809.
4966 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4970 Add the 3-clause BSD license and the MIT/X11 license to the license
4971 list. Fixes #479784.
4973 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4975 * docs/faq/getting.xml:
4976 Add Q+A about different GStreamer versions (#364056).
4978 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4980 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4981 (gst_base_sink_event), (gst_base_sink_change_state):
4982 Return correct gboolean from query function.
4984 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4986 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4987 (gst_base_sink_event), (gst_base_sink_query),
4988 (gst_base_sink_change_state):
4989 Simplify latency query.
4990 When not synchronizing, we can report latency without querying the peer
4993 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4997 Fix small typos in the docs.
4999 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5001 * docs/design/draft-latency.txt:
5002 * docs/design/draft-push-pull.txt:
5003 * docs/design/draft-tagreading.txt:
5004 * docs/design/part-MT-refcounting.txt:
5005 * docs/design/part-activation.txt:
5006 * docs/design/part-block.txt:
5007 * docs/design/part-element-source.txt:
5008 * docs/design/part-events.txt:
5009 * docs/design/part-gstbin.txt:
5010 * docs/design/part-gstelement.txt:
5011 * docs/design/part-gstobject.txt:
5012 * docs/design/part-gstpipeline.txt:
5013 * docs/design/part-messages.txt:
5014 * docs/design/part-preroll.txt:
5015 * docs/design/part-push-pull.txt:
5016 * docs/design/part-qos.txt:
5017 * docs/design/part-query.txt:
5018 * docs/design/part-scheduling.txt:
5019 * docs/design/part-seeking.txt:
5020 * docs/design/part-segments.txt:
5021 * docs/design/part-states.txt:
5022 Documentation updates and typo fixes.
5024 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
5026 * plugins/elements/gstfakesink.c:
5027 Add some debug text to error message to indicate that
5028 we errored out on request.
5030 * tools/gst-launch.c:
5031 When the state change to PLAYING fails, check for an
5032 error message on the bus and print it.
5034 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5036 translated by: Jorge González González <aloriel@gmail.com>
5040 Added Spanish translation.
5042 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
5044 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5045 Fix printf arguments.
5047 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5049 * tests/check/generic/states.c:
5050 Improved state change unit test.
5052 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5055 Move priv to the right place.
5057 * gst/gstsystemclock.c:
5058 Add FIXME: and improve log.
5060 * tests/check/Makefile.am:
5061 * tests/examples/manual/Makefile.am:
5062 Work with all types of registries.
5064 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5066 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5067 Don't unref the event after pushing it. Fixes #478401.
5069 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5072 * tests/examples/manual/.cvsignore:
5073 Ignore registries in any format.
5075 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5077 * gst/glib-compat-private.h:
5078 Add compatibility macro for g_intern_string() for
5079 GLib-2.8 (any reason we can't just bump the
5080 requirement to at least 2.10?)
5082 * gst/gstpadtemplate.h:
5083 * gst/gstelementfactory.c:
5084 * gst/gstregistryxml.c:
5085 * gst/gstregistrybinary.c:
5086 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5087 up the internal code accordingly. This shouldn't be a problem, since
5088 there is no reason external code could ever assume the string in such
5089 a structure is dynamically allocated unless it did that itself; the
5090 use of g_strdup() is private to element factories. The new code also
5091 saves some memory by putting pad template name strings into the GLib
5092 quark table instead of allocating them dynamically.
5093 Declaring this field constant fixes warnings with g++-4.2 when using
5094 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5096 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5098 * gst/gstelementfactory.c:
5099 Release static caps. Fixes #475723.
5101 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5105 Make some internal API take const gchar * instead of just
5106 gchar * to avoid compiler warnings with g++-4.2.2 when
5107 passing string constants (partially fixes #478092).
5109 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5111 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5112 A latency query fails when one of the sinks fail.
5114 * gst/gstelement.c: (gst_element_set_base_time):
5117 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5119 * gst/gstbin.c: (gst_bin_continue_func):
5120 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5121 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5122 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5124 Fix minor compilation warnings shown with Forte.
5126 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5128 * plugins/elements/gstqueue.c: (apply_buffer),
5129 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5130 Measure queue level based on the diff between head and tail timestamps
5131 even when pushing the first buffer.
5133 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5135 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5136 (gst_base_sink_event), (gst_base_sink_change_state):
5137 Sinks that don't preroll can always be queried for the latency.
5138 Don't post ASYNC start when we are not async.
5140 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5142 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5143 (gst_queue_handle_sink_event), (gst_queue_chain),
5144 (gst_queue_push_one), (gst_queue_handle_src_query),
5145 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5146 * plugins/elements/gstqueue.h:
5147 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5148 push more buffers but allow pushing of EOS and NEWSEGMENT.
5149 Add some more debug info here and there. Fixes #476514.
5151 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5153 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5154 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5155 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5156 (gst_base_sink_set_flushing), (gst_base_sink_query),
5157 (gst_base_sink_change_state):
5158 Latency query is allowed after we are prerolled. Introduce a new flag
5159 for this and stop abusing other variables.
5161 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5163 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5164 Push OOB events downstream when we get them in send_event. This allows
5165 the application to insert events in the pipeline.
5166 Add some more comments.
5168 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5170 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5171 (do_bin_latency), (gst_bin_change_state_func):
5172 * gst/gstpipeline.c: (gst_pipeline_change_state):
5173 Move latency query from GstPipeline to GstBin so that we can also
5174 use it when async-handling is enabled on bins.
5176 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5178 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5179 (gst_base_src_do_sync), (gst_base_src_change_state):
5181 Clean up the timestamping and syncing code for pseudo live sources.
5183 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5185 Patch by: Steve Fink <sphink gmail com>
5187 * docs/manual/appendix-checklist.xml:
5188 Mention less -R switch in the section about debug output (#474055).
5190 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5192 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5193 Queue can latency to the pipeline up to the configured max size in time.
5194 Report this fact in the latency query.
5196 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5198 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5200 * libs/gst/controller/gstinterpolation.c:
5201 * libs/gst/controller/gstlfocontrolsource.c:
5202 Use gst_guint64_to_gdouble() when converting from a uint64 or
5203 GstClockTime to double to fix the build on win32. Fixes #474371.
5205 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5207 * gst/gstbuffer.c: (gst_buffer_finalize):
5208 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5209 When finalizing a buffer the complete struct is filled with 0xff,
5210 thus making a use of the buffer after the final unref impossible.
5212 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5214 * tests/check/libs/controller.c: (GST_START_TEST):
5215 Use fail_unless_equals_int(a, b) instead of
5216 fail_unless_equals (a == b) to get better output on failures.
5218 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5220 * tests/check/gst/gsturi.c:
5221 Also check for the other file URI variant on win32.
5223 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5225 * gst/gsturi.c: (gst_uri_get_location):
5226 If there's no hostname, we want to return 'c:/foo/bar.txt'
5227 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5229 * tests/check/gst/gsturi.c:
5230 Unit test for the above and a few more things.
5232 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5234 * docs/design/part-live-source.txt:
5235 Add docs on how live sources should timestamp.
5237 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5238 Add some more debug info.
5239 For subclasses that are live and like to sync, add aditional startup
5240 latency to sync time and timestamps so that we timstamp according to the
5243 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5246 Also do a g_type_class_ref() for the subbuffer type in
5249 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5251 * docs/gst/gstreamer-sections.txt:
5252 * gst/gstpad.c: (gst_pad_peer_query):
5254 Add function to perform a query on the peer of a pad.
5255 API: gst_pad_peer_query()
5257 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5259 * tests/check/gst/gstsystemclock.c:
5260 Cleanup the test a little (use gst-logging and not g_message). Improve
5261 test to check if a wait reached the target.
5263 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5265 * docs/libs/gstreamer-libs-sections.txt:
5266 Add new API to docs and fix the build.
5268 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5270 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5271 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5272 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5273 (gst_base_src_get_property), (gst_base_src_do_sync):
5274 * libs/gst/base/gstbasesrc.h:
5275 Add property to make the basesrc timestamp buffers based on the current
5277 API: GstBaseSrc::do-timestamp
5278 API: gst_base_src_set_do_timestamp()
5279 API: gst_base_src_get_do_timestamp()
5281 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5283 * docs/random/release:
5284 Really make sure translations are up-to-date before
5285 a release (#465010).
5287 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5289 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5290 Always destroy the timer, also in error cases.
5292 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5294 * docs/manual/highlevel-xml.xml:
5295 Fix XML example code. Fixes #472714.
5297 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5299 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5300 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5301 (gst_base_sink_query):
5302 Protect eos and have_preroll with the OBJECT lock so we don't need to
5303 take the PREROLL lock when querying the latency. Fixes #473846.
5305 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5308 Give some log-messages a category.
5310 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5312 * gst/gststructure.c:
5313 (gst_structure_fixate_field_nearest_fraction):
5314 Fix fraction list fixation code. Take the fraction with the smallest
5315 difference with the target instead of the first one in the list.
5317 * tests/check/gst/gststructure.c: (GST_START_TEST),
5318 (gst_structure_suite):
5319 Added test to verify correct fraction list fixation behaviour.
5321 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5323 * win32/common/libgstreamer.def:
5324 Export gst_bus_add_signal_watch too.
5326 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5328 * docs/libs/gstreamer-libs-sections.txt:
5329 Add new methods to docs.
5331 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5332 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5333 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5334 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5335 * libs/gst/base/gstbasesink.h:
5336 Add ts-offset property to fine-tune the synchronisation.
5337 API: GstBaseSink::ts-offset property
5338 API: gst_base_sink_set_ts_offset()
5339 API: gst_base_sink_get_ts_offset()
5341 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5343 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5344 (gst_base_sink_init), (gst_base_sink_set_sync),
5345 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5346 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5347 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5348 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5349 (gst_base_sink_get_property), (gst_base_sink_change_state):
5350 * libs/gst/base/gstbasesink.h:
5351 Add async property to instruct the sink never to inform the parent about
5352 ASYNC state changes, update docs.
5353 Check argument with g_return_* for the public functions.
5354 API: GstBaseSink::async property
5355 API: gst_base_sink_set_async_enabled()
5356 API: gst_base_sink_is_async_enabled()
5358 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5360 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5363 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5364 (gst_base_src_default_query), (gst_base_src_wait),
5365 (gst_base_src_do_sync), (gst_base_src_change_state):
5366 Rearrange some code so that we can add support for measuring the
5369 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5371 * docs/random/ensonic/dynlink.txt:
5372 More thoughs on this.
5374 * plugins/elements/gstcapsfilter.c:
5375 Add bugzilla ticket number to FIXME comment.
5377 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5379 * docs/design/part-TODO.txt:
5380 * docs/design/part-block.txt:
5383 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5386 Revert patch which uses $(gst_headers) instead of $^ because it
5389 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5391 * tests/check/gst/gstbin.c: (GST_START_TEST):
5392 Fix leaks in the new unit test.
5394 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5397 Don't use GST_INFO before the debug system is actually initialised
5398 (shouldn't do any harm, but won't print anything either, so we can
5399 just as well remove it).
5402 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5403 compilers that don't support variadic macros (such as MSVC), should
5404 check for debug_level <= __gst_debug_min as well, since that's the
5405 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5406 inline helper functions. Should improve performance a bit, but also
5407 makes sure uses of GST_INFO et.al are ignored if the debugging
5408 system isn't initialised yet (instead of printing an assertion
5411 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5413 patch by: David Nečas <yeti@physics.muni.cz>
5416 Replace some non portable makefile constructs.
5418 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5420 * common/gtk-doc-plugins.mak:
5421 Grrrrr. Don't remove the types file on make clean.
5423 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5425 * tools/gst-launch.1.in:
5426 Add colorspace to example pipeline. Fixes #458274.
5428 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5430 * docs/random/release:
5431 The release manager should run 'make download-po' before making a
5432 release to make sure translations are up-to-date.
5438 Add some new translations.
5440 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5442 * tools/gst-launch.c: (event_loop), (main):
5443 Don´t try to do any state management when a live pipeline posts
5445 Also make the buffering string translatable.
5447 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5449 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5450 (bin_handle_async_start), (gst_bin_handle_message_func):
5452 When adding elements, insert messages into the bus of the newly added
5453 element and make sure the element is the source of the message. This
5454 allows the parent bin to intercept the message and do the
5455 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5456 messages to the app (which is not allowed).
5459 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5460 Fix testsuite so that is does not work around messages that should not
5461 have been posted in the first place.
5463 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5465 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5466 (update_degree), (gst_bin_sort_iterator_next):
5467 Fix annoying bug in the sorted iterator where a sink that is not really
5468 a sink (when it has downstream links) screwed up the iterator.
5470 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5471 Unit test to verify the fix.
5473 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5476 Add some more docs for the messages.
5478 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5479 (gst_base_sink_query):
5480 Add some more debugging.
5482 * tools/gst-launch.c: (event_loop):
5483 When interrupting, don't try to set pipeline to PAUSED twice.
5485 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5488 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5489 (bin_handle_async_start), (gst_bin_handle_message_func):
5490 Move ASYNC_START message posting to where it belongs, similar to
5492 Don't post ASYNC_START when we are in error.
5493 Post ASYNC_START when we added an async element to a bin.
5495 2007-08-14 Julien MOUTTE <julien@moutte.net>
5497 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5498 generation from vargs. Fixes #466595.
5500 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5502 * gst/gstbin.c: (gst_bin_element_set_state):
5503 Always change the state of a NO_PREROLL element even if it has ASYNC
5504 elements inside (in case of a bin).
5506 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5507 Unit test for this case.
5509 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5511 * libs/gst/check/gstbufferstraw.c:
5512 * libs/gst/check/gstcheck.h:
5513 * libs/gst/controller/gstcontroller.c:
5514 * libs/gst/controller/gstcontrolsource.h:
5515 * libs/gst/controller/gstlfocontrolsource.h:
5516 * plugins/elements/gstcapsfilter.h:
5517 * plugins/elements/gstfdsink.h:
5518 * plugins/elements/gstfdsrc.h:
5519 Add more missing docs.
5521 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5523 * gst/gststructure.c:
5524 Add Since tag to docs.
5526 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5528 * docs/gst/gstreamer-sections.txt:
5529 * gst/gststructure.c: (gst_structure_get_uint):
5530 * gst/gststructure.h:
5531 Add function to get uint from a structure.
5532 API: gst_structure_get_uint()
5534 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5536 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5537 (gst_caps_intersect):
5538 Fix proper check for simple caps.
5540 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5542 * docs/gst/Makefile.am:
5543 * docs/libs/Makefile.am:
5544 Remove cruft and do some cleanups.
5546 * docs/gst/gstreamer-docs.sgml:
5547 * docs/libs/gstreamer-libs-docs.sgml:
5548 Prepare for comming gtkdoc features (rebase against online docs).
5550 2007-08-10 Michael Smith <msmith@fluendo.com>
5552 * docs/gst/gstreamer-sections.txt:
5553 Add gst_registry_add_path to docs.
5555 2007-08-10 Michael Smith <msmith@fluendo.com>
5557 * gst/gstregistry.h:
5558 Add gst_registry_add_path, which was missing from this header.
5560 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5562 * libs/gst/controller/gstlfocontrolsource.c:
5565 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5567 * libs/gst/base/gstbasesink.c:
5568 Don't send an async_start message during downwards state change if
5569 target state is less than READY
5571 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5573 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5577 Added Hungarian translation.
5579 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5586 Updated translations.
5588 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5590 * libs/gst/controller/Makefile.am:
5591 Dist gstlfocontrolsourceprivate.h
5593 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5595 * docs/libs/gstreamer-libs.types:
5596 Don't register the enum type gst_lfo_waveform_get_type() in the
5597 .types file - only GObject derived types belong.
5599 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5601 Patch by: <arenevier at fdn dot fr>
5604 Remove comma from last element in enum to avoid compile errors when
5605 using -pendantic. Fixes #464366.
5607 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5609 * docs/design/part-TODO.txt:
5610 Add some more TODO items
5612 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5615 * gst/gstcaps.c: (gst_caps_intersect):
5616 Optimize trivial intersection case between identical caps pointers.
5618 * gst/gstelement.c: (gst_element_continue_state),
5619 (gst_element_set_state_func):
5621 Fix spelling and grammar mistakes.
5623 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5627 Update POTFILES. Fixes #461599.
5629 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5632 Fix confusing typo in debug output.
5634 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5636 reviewed by: Stefan Kost <ensonic@users.sf.net>
5638 * libs/gst/controller/Makefile.am:
5639 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5640 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5641 (gst_lfo_control_source_new),
5642 (gst_lfo_control_source_set_waveform),
5643 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5644 (gst_lfo_control_source_finalize),
5645 (gst_lfo_control_source_dispose),
5646 (gst_lfo_control_source_set_property),
5647 (gst_lfo_control_source_get_property),
5648 (gst_lfo_control_source_class_init):
5649 * libs/gst/controller/gstlfocontrolsource.h:
5650 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5651 API: Add GstLFOControlSource, a control source that gives values
5652 for specific timestamps based on several periodic waveforms.
5655 * tests/check/libs/controller.c: (GST_START_TEST),
5656 (gst_controller_suite):
5657 * docs/libs/gstreamer-libs-docs.sgml:
5658 * docs/libs/gstreamer-libs-sections.txt:
5659 * docs/libs/gstreamer-libs.types:
5660 Add documentation and unit tests for GstLFOControlSource.
5662 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5667 === release 0.10.14 ===
5669 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5672 releasing 0.10.14, "Breathing Vacuum"
5674 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5676 * gst/gstelement.c: (gst_element_class_set_details_simple):
5678 Make strings passed to gst_element_class_set_details_simple()
5679 constant, as they should be (#462752).
5681 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5683 * gst/gstbin.c: (gst_bin_change_state_func),
5684 (bin_handle_async_done), (gst_bin_handle_message_func):
5685 Don't forget about the fact that some element went ASYNC even after a
5686 resync. This makes us post the ASYNC_DONE message correctly.
5689 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5691 * gst/gstregistry.c: (gst_registry_add_feature):
5692 When replacing an existing feature in the registry, make sure to
5693 continue holding a reference until we've replaced the name string
5694 within our feature hash table. Make sure to use g_hash_table_replace
5695 instead of g_hash_table_insert to ensure the new name string is used
5696 as a key instead of the old one that we're about to free.
5699 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5701 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5702 (gst_plugin_feature_set_name):
5703 Revert patch from #459466 until after the release and we can work
5704 out exactly what the problem is (if any).
5706 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5708 * docs/gst/gstreamer-sections.txt:
5711 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5713 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5715 * docs/libs/Makefile.am:
5716 Include our build-prefix libs and includes before the generic ones to
5717 avoid linking against the installed libs when we want the build-tree
5720 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5722 Patch by: Steve Fink <sphink gmail com>
5724 * docs/pwg/building-testapp.xml:
5725 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5726 if people try to build or install the example from the plugin
5727 template against a GStreamer from package using the configure
5730 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5732 Patch by: Steve Fink <sphink gmail com>
5734 * tools/gst-inspect.1.in:
5735 Document --print-all and --print-plugin-auto-install-info command
5736 line options in man page.
5738 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5740 * docs/gst/gstreamer-sections.txt:
5741 Add docs for new api function.
5743 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5745 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5746 * gst/gstelementfactory.h:
5747 API: gst_element_factory_has_interface()
5748 Added method to check if an element factory implements a named
5751 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5754 * docs/gst/gstreamer.types.in:
5755 Another conditional doc check.
5758 * gst/gstparamspecs.h:
5759 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5764 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5766 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5767 (gst_registry_binary_load_feature),
5768 (gst_registry_binary_load_plugin),
5769 (gst_registry_binary_read_cache):
5770 Print error just once and with additional info.
5772 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5774 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5775 (helper_find_suggest), (helper_find_get_length),
5776 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5777 (gst_type_find_helper_for_buffer):
5778 Cleanup the typefindhelper code and add private doc comments.
5780 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5782 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5783 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5784 Fix capsfilter for cases where the caps set on capsfilter will provide
5785 additional information.
5788 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5790 * gst/gsttypefindfactory.c:
5791 Fix docs that recommened wrong function to use.
5793 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5795 * tools/gst-inspect.c: (print_plugin_features):
5796 Also give media-type for typefinders in element output.
5798 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5800 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5801 (gst_registry_remove_features_for_plugin_unlocked),
5802 (gst_registry_add_feature), (gst_registry_remove_feature),
5803 (gst_registry_lookup_feature_locked):
5804 * gst/gstregistry.h:
5805 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5808 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5810 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5811 (gst_plugin_feature_set_name):
5812 Avoid double memory usage for pluginfeature names. Fixes #459466.
5814 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5817 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5818 driving the pipeline may need to explicitly check for NOT_LINKED as
5819 well, since IS_FATAL doesn't cover that.
5821 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5823 * docs/pwg/advanced-types.xml:
5824 Fix typo and duplicate entry in video formats list.
5826 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5828 * libs/gst/controller/gstinterpolation.c:
5829 Also round to the nearest int when using cubic interpolation.
5831 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5833 * libs/gst/controller/gstinterpolation.c:
5834 When linearly interpolating integer types, round to the nearest int
5835 by adding 0.5. Don't do it for float/double types.
5836 Fixes the failing controller test on my machine, which is somehow
5837 rounding differently than on the buildbots.
5839 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5841 * tools/gst-plot-timeline.py:
5842 Better log parsing (categories can have -). Adjust text vs. lines, so
5843 that they span the same y-range.
5845 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5847 * docs/random/ensonic/audiobaseclasses.txt:
5848 * docs/random/ensonic/dynlink.txt:
5849 * docs/random/ensonic/profiling.txt:
5852 * docs/random/moving-plugins:
5853 Add note to use g_assert type macros.
5855 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5858 * libs/gst/check/Makefile.am:
5859 Add libm check as we use in for plugins.
5861 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5863 * gst/gstbin.c: (gst_bin_continue_func):
5864 Check that the state_cookie hasn't changed since the continue_func
5865 was scheduled. Avoids problems where the state changes back to
5866 something it shouldn't be because it was changed in the meantime.
5868 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5870 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5871 (gst_registry_binary_save_string),
5872 (gst_registry_binary_save_pad_template),
5873 (gst_registry_binary_save_feature),
5874 (gst_registry_binary_save_plugin),
5875 (gst_registry_binary_load_feature),
5876 (gst_registry_binary_load_plugin),
5877 (gst_registry_binary_read_cache):
5878 Fix memory leak. Be less verbose in the log.
5880 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5882 * tests/check/elements/.cvsignore:
5883 Add file to cvsignore as commanded.
5885 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5887 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5888 (mq_dummypad_event), (run_output_order_test):
5889 Use a GStaticMutex to protect all cases where libcheck
5890 fail_if/fail_unless macros might be called from multiple threads
5891 simultaneously to avoid errors like:
5892 "check_pack.c:107: :-1081725400:Bad message type arg"
5894 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5896 * tests/check/pipelines/stress.c: (GST_START_TEST):
5897 Make sure we set the pipeline back to the NULL state before
5898 dropping our final reference.
5900 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5902 * tests/check/elements/tee.c: (GST_START_TEST):
5903 Make the tee stress-test a little less stressful so it doesn't just
5904 time out on slow-machines, and remove a small race when it's starting
5905 up by adding a get_state() call.
5907 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5910 Avoid reading registry twice on startup. Fixes #457322.
5912 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5914 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5915 * pkgconfig/gstreamer-check.pc.in:
5916 Substitute the CFLAGS for libcheck into our .pc file too so that
5917 dependent modules will pick it up properly if libcheck is installed
5918 into some other prefix.
5920 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5923 Revert the pkg-config check for libcheck, since it pulls in the
5924 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5925 a proper solution, either from the check project, or something else.
5927 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5930 Use pkg-config to locate check.
5932 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5939 Add deprecation guards.
5941 * libs/gst/base/gstcollectpads.h:
5942 Don't document object (this is implicitly private).
5944 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5946 * gst/gststructure.c: (gst_structure_parse_value):
5947 When deserialising foo=bar without a type cast, check if it's a
5948 boolean before falling back to a string type, otherwise things like
5949 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5950 because the filtercaps end up having a signed=(string)true field,
5951 which causes problems later when intersection caps.
5953 * tests/check/gst/gststructure.c: (GST_START_TEST):
5954 Add a unit test for this.
5956 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5958 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5960 * libs/gst/controller/Makefile.am:
5961 * libs/gst/controller/gstcontroller.c:
5962 (gst_controlled_property_add_interpolation_control_source),
5963 (gst_controlled_property_new), (gst_controlled_property_free),
5964 (gst_controller_find_controlled_property),
5965 (gst_controller_new_valist), (gst_controller_new_list),
5966 (gst_controller_new), (gst_controller_remove_properties_valist),
5967 (gst_controller_remove_properties_list),
5968 (gst_controller_remove_properties),
5969 (gst_controller_set_property_disabled),
5970 (gst_controller_set_disabled), (gst_controller_set_control_source),
5971 (gst_controller_get_control_source), (gst_controller_get),
5972 (gst_controller_sync_values), (gst_controller_get_value_array),
5973 (_gst_controller_dispose), (gst_controller_get_type),
5974 (gst_controlled_property_set_interpolation_mode),
5975 (gst_controller_set), (gst_controller_set_from_list),
5976 (gst_controller_unset), (gst_controller_unset_all),
5977 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5978 * libs/gst/controller/gstcontroller.h:
5979 * libs/gst/controller/gstcontrollerprivate.h:
5980 * libs/gst/controller/gstcontrolsource.c:
5981 (gst_control_source_class_init), (gst_control_source_init),
5982 (gst_control_source_get_value),
5983 (gst_control_source_get_value_array), (gst_control_source_bind):
5984 * libs/gst/controller/gstcontrolsource.h:
5985 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5986 (gst_object_get_control_source):
5987 * libs/gst/controller/gstinterpolation.c:
5988 (gst_interpolation_control_source_find_control_point_node),
5989 (gst_interpolation_control_source_get_first_value),
5990 (_interpolate_none_get), (interpolate_none_get),
5991 (interpolate_none_get_boolean_value_array),
5992 (interpolate_none_get_enum_value_array),
5993 (interpolate_none_get_string_value_array),
5994 (_interpolate_trigger_get), (interpolate_trigger_get),
5995 (interpolate_trigger_get_boolean_value_array),
5996 (interpolate_trigger_get_enum_value_array),
5997 (interpolate_trigger_get_string_value_array):
5998 * libs/gst/controller/gstinterpolationcontrolsource.c:
5999 (gst_control_point_free), (gst_interpolation_control_source_reset),
6000 (gst_interpolation_control_source_new),
6001 (gst_interpolation_control_source_set_interpolation_mode),
6002 (gst_interpolation_control_source_bind),
6003 (gst_control_point_compare), (gst_control_point_find),
6004 (gst_interpolation_control_source_set_internal),
6005 (gst_interpolation_control_source_set),
6006 (gst_interpolation_control_source_set_from_list),
6007 (gst_interpolation_control_source_unset),
6008 (gst_interpolation_control_source_unset_all),
6009 (gst_interpolation_control_source_get_all),
6010 (gst_interpolation_control_source_get_count),
6011 (gst_interpolation_control_source_init),
6012 (gst_interpolation_control_source_finalize),
6013 (gst_interpolation_control_source_dispose),
6014 (gst_interpolation_control_source_class_init):
6015 * libs/gst/controller/gstinterpolationcontrolsource.h:
6016 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6017 API: Refactor GstController into the core controller which can take
6018 a GstControlSource for providing actual values for timestamps.
6019 Implement a interpolation control source and use this for backward
6020 compatibility, deprecate a bunch of functions that are now handled
6021 by GstControlSource or GstInterpolationControlSource.
6022 Make it possible to disable the controller completely or only for
6023 specific properties. Fixes #450711.
6024 * docs/libs/gstreamer-libs-docs.sgml:
6025 * docs/libs/gstreamer-libs-sections.txt:
6026 * docs/libs/gstreamer-libs.types:
6027 Add new functions and classes to the docs.
6028 * tests/check/libs/controller.c: (GST_START_TEST),
6029 (gst_controller_suite):
6030 * tests/examples/controller/audio-example.c: (main):
6031 Port unit test and example to the new API and add some new
6034 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
6036 Patch by: Mark Nauwelaerts <manauw at skynet be>
6038 * plugins/elements/gstmultiqueue.c:
6039 (gst_multi_queue_get_internal_links), (apply_buffer),
6040 (single_queue_overrun_cb), (gst_single_queue_new):
6041 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6042 the pipeline layout can be tracked correctly. Fixes #453732.
6044 2007-07-05 Stefan Kost <ensonic@users.sf.net>
6046 * docs/gst/Makefile.am:
6047 * docs/libs/Makefile.am:
6048 * docs/plugins/Makefile.am:
6049 Simplify --extra-dir as gtkdoc scans recursively.
6051 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6053 * tools/gst-launch.c: (main):
6054 When we got an error, there is no point in waiting for preroll when
6057 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6059 * plugins/elements/gsttee.c: (gst_tee_base_init),
6060 (gst_tee_request_new_pad), (gst_tee_release_pad),
6061 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6062 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6064 Be a lot smarter when deciding what srcpad to use for proxying
6065 the buffer_alloc. Also handle pad added/removed when doing so.
6067 Keep track of what pads we already pushed on in case we have pads
6068 added/removed while pushing. Fixes #374639
6070 * tests/check/Makefile.am:
6071 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6073 Added unit test for pad resync.
6075 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6079 Updated translations.
6081 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6083 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6087 Added new Finnish translation.
6089 2007-06-28 Wim Taymans <wim@fluendo.com>
6091 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6092 (single_queue_overrun_cb):
6093 When figuring out when a queue is filled, use our internal time estimate
6094 based on segments, just like check_full does.
6096 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6098 * gst/gstminiobject.c: (gst_mini_object_get_type):
6099 Remove 3 do-nothing methods.
6101 2007-06-27 Wim Taymans <wim@fluendo.com>
6103 Patch by: Tim Angus <tim at ngus dot net>
6105 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6106 (gst_capsfilter_set_property):
6107 Take a reference instead of a copy when setting "caps".
6108 Fix documentation to clarify this behaviour. Fixes #449414.
6110 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6112 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6113 * gst/gstplugin.c: (gst_plugin_init):
6114 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6115 * gst/gstquery.c: (gst_query_get_type):
6116 * gst/gstregistry.c: (gst_registry_init):
6117 * gst/gsturi.c: (gst_uri_handler_base_init):
6118 Remove empty instance_init() functions to save relocs and lessen the
6119 noise. Remove some of the function prototypes that are doubled by
6122 2007-06-27 Wim Taymans <wim@fluendo.com>
6124 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6126 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6127 Add peer and direction in the XML serialisation of ghostpads.
6130 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6133 Preserve useful information, thanks Tim.
6135 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6137 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6138 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6139 (gst_single_queue_push_one), (gst_multi_queue_loop),
6140 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6141 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6142 (compute_high_id), (gst_single_queue_new):
6143 * plugins/elements/gstmultiqueue.h:
6144 Take the multiqueue lock when updating the fill level so we don't get
6147 After applying a buffer or event on the src pad segment, make sure to
6148 call gst_data_queue_limits_changed() to get the data queue to unblock
6149 and check the filled state again.
6151 Rework the not-linked pad handling so the logic is that not-linked
6152 pads can push as fast as they like, but only so they never get
6153 ahead of any linked pads.
6155 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6156 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6157 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6159 Add a test to check that not-linked pads always stay behind
6164 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6166 * docs/random/release:
6167 Some updates to the release procedure.
6169 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6171 * gst/gstelementfactory.c: (__gst_element_details_clear):
6172 Microoptimization that saves stunning 80 bytes.
6174 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6176 * docs/plugins/gstreamer-plugins.args:
6177 * docs/plugins/inspect/plugin-coreelements.xml:
6178 * docs/plugins/inspect/plugin-coreindexers.xml:
6179 Update docs with caps info.
6181 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6184 Updated Italian translation.
6186 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6190 Update Vietnamese translations.
6192 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6194 * libs/gst/base/gstbasesink.c:
6195 Remove unused signal enum.
6197 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6199 * docs/gst/gstreamer-sections.txt:
6201 * gst/gstutils.c: (gst_type_register_static_full):
6202 Beef up and include the docs for gst_type_register_static_full and
6203 gst_element_class_set_details_simple and add the API keyword
6206 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6208 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6209 (update_time_level), (gst_single_queue_push_one),
6210 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6211 (single_queue_overrun_cb), (single_queue_underrun_cb),
6212 (single_queue_check_full):
6213 Fix setting max-* properties after adding queues.
6214 Use IS_FILLED for checking visible items.
6215 Signal overrun if multiple queues overrun.
6216 Add extra debug output.
6217 Patch by: Wim Taymans <wim@fluendo.com>
6219 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6221 * gst/gstelement.c: (gst_element_class_set_details_simple):
6223 * gst/gstutils.c: (gst_type_register_static_full):
6225 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6226 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6227 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6228 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6229 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6230 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6231 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6232 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6233 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6234 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6235 (apply_buffer), (gst_queue_chain):
6236 * plugins/elements/gsttee.c: (gst_tee_base_init):
6237 * plugins/elements/gsttypefindelement.c:
6238 (gst_type_find_element_base_init),
6239 (gst_type_find_element_class_init):
6240 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6241 API: add gst_type_register_static_full
6242 API: add gst_element_class_set_details_simple
6244 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6246 * docs/pwg/advanced-types.xml:
6247 Fix typo in iana.org URI.
6249 2007-06-19 Andy Wingo <wingo@pobox.com>
6251 * tests/check/pipelines/simple-launch-lines.c
6252 (test_state_change_returns): Enable pull-mode tests now that
6253 basesink has been fixed.
6255 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6256 Changed from gst_base_sink_is_prerolled, reversing the sense of
6257 the return value. Returns FALSE also if the sink is in pull mode,
6258 in which case it needs no preroll.
6259 (gst_base_sink_query, gst_base_sink_change_state): Update for
6260 needs_preroll change.
6261 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6262 chaining up, in which we return SUCCESS directly if we activated
6263 in pull mode instead of ASYNC. Involves countering an async_start
6264 message sent before chaining up; not sure if this is correct, in
6265 an ideal world we only send async-start when activating in push
6268 * tests/check/pipelines/simple-launch-lines.c
6269 (test_state_change_returns): New test, partially disabled until
6272 2007-06-19 Wim Taymans <wim@fluendo.com>
6274 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6275 (gst_multi_queue_sink_event):
6278 2007-06-19 Wim Taymans <wim@fluendo.com>
6280 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6281 (gst_bin_change_state_func), (bin_push_state_continue),
6282 (bin_handle_async_start), (bin_handle_async_done),
6283 (gst_bin_handle_message_func):
6284 Move the common code for posting state-change messages into
6286 Broadcast the state signal after we posted the messages.
6287 Mark the bin as busy when it's doing a state-change.
6288 Make sure async-start/done messages don't interfere with the bin's
6289 state when it's busy.
6290 After the state change, let the bin check which elements completed the
6291 state change while it was busy so that it can update its state.
6293 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6295 * docs/random/release:
6296 Add a note about updating the doap file to the release checklist
6298 2007-06-18 Wim Taymans <wim@fluendo.com>
6300 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6301 (gst_single_queue_push_one), (gst_multi_queue_chain),
6302 (gst_multi_queue_sink_event):
6303 Make sure we don't reference the buffer/event after we have given away
6304 ownership in the queue.
6306 2007-06-18 Wim Taymans <wim@fluendo.com>
6308 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6309 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6310 Update queue state _after_ adding the item in the queue because else we
6311 could end up being full without the element added yet.
6313 2007-06-18 Wim Taymans <wim@fluendo.com>
6315 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6316 (gst_bin_remove_func), (gst_bin_get_state_func),
6317 (gst_bin_element_set_state), (gst_bin_continue_func),
6318 (bin_push_state_continue), (bin_handle_async_start),
6319 (bin_handle_async_done), (gst_bin_handle_message_func):
6321 Immediatly commit the toplevel bin state when receiving an async-done
6322 message. This enables us to avoid spawning a thread to commit the state
6323 in some common cases and it also avoids some races.
6324 Avoid spawning a state thread when adding/removing async elements to a
6325 toplevel bin. Instead we immediatly update the bin state.
6326 Get rid of iterating all the children when getting the state in the bin
6327 because it is now always up-to-date.
6328 Fix bug where locked elements would always return _SUCCESS even it they
6329 returned NO_PREROLL before being locked.
6330 Fix the order of the state_change, async-start/done messages that was
6331 sometimes incorrect.
6332 Mark the state_dirty field as deprecated, we don't need it anymore as we
6333 are always up-to-date.
6335 * gst/gstelement.c: (gst_element_get_state_func),
6336 (gst_element_continue_state):
6337 Small debug inprovements.
6338 Return the previous element state return when nothing is pending instead
6339 of blindly returning SUCCESS.
6341 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6343 Add a whole bunch of new testcases.
6345 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6349 Update translations.
6351 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6354 Fix typo in the docs.
6356 2007-06-15 Wim Taymans <wim@fluendo.com>
6358 * docs/libs/gstreamer-libs-sections.txt:
6359 Add docs for new methods.
6361 2007-06-15 Wim Taymans <wim@fluendo.com>
6363 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6364 (gst_multi_queue_item_new):
6365 Don't use GSlice because we don't depend on >= 2.10 yet.
6367 2007-06-15 Wim Taymans <wim@fluendo.com>
6369 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6370 (update_time_level), (apply_segment), (apply_buffer),
6371 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6372 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6373 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6374 (single_queue_underrun_cb), (single_queue_check_full):
6375 Remove debug printf.
6377 2007-06-15 Wim Taymans <wim@fluendo.com>
6379 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6380 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6381 (gst_data_queue_set_flushing), (gst_data_queue_push),
6382 (gst_data_queue_pop), (gst_data_queue_drop_head),
6383 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6384 * libs/gst/base/gstdataqueue.h:
6386 Added methods to get the current levels and to inform the queue that the
6387 'full' limits changed.
6389 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6390 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6391 (gst_single_queue_flush), (update_time_level), (apply_segment),
6392 (apply_buffer), (gst_single_queue_push_one),
6393 (gst_multi_queue_item_steal_object),
6394 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6395 (gst_multi_queue_loop), (gst_multi_queue_chain),
6396 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6397 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6398 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6399 (single_queue_underrun_cb), (single_queue_check_full),
6400 (gst_single_queue_new):
6401 Keep track of time in the queue by measuring the difference between
6402 running_time on input and output. This gives more accurate results and
6403 can compensate for segments correctly.
6404 Make a queue by default only 5 buffers deep. We will now increase the
6405 buffer size depending on the filledness of the other queues.
6406 Factor out commong flush code.
6407 Make sure we don't add additional refcounts to buffers when we can avoid
6409 Propagate GstFlowReturn differently.
6410 Use GSlice for intermediate GstMultiQueueItems.
6412 Resize queues on over and underruns based on filled level of other
6414 When checking if the queue is filled, prefer to measure in time if we
6415 can and fall back to bytes when no time is known.
6417 * plugins/elements/gstqueue.c:
6420 2007-06-15 Wim Taymans <wim@fluendo.com>
6422 * libs/gst/base/gstbasetransform.c:
6423 (gst_base_transform_sink_event):
6424 Work around the brokenness of the event vmethod in basetransform. Prefer
6425 to return TRUE when the subclass returned FALSE (meaning don't forward
6428 * libs/gst/base/gstbasetransform.h:
6431 2007-06-15 Wim Taymans <wim@fluendo.com>
6433 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6434 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6435 (gst_base_src_default_query), (gst_base_src_get_range),
6436 (gst_base_src_start):
6437 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6440 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6442 * docs/pwg/advanced-types.xml:
6443 Added more formats to caps table.
6445 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6447 * tools/gst-launch.c: (main):
6448 Remove crufy code. GOption does not need this workaround.
6450 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6452 * libs/gst/controller/gstcontroller.c:
6453 (gst_controlled_property_set_interpolation_mode):
6454 Fix wrong getter for enums in controller.
6456 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6458 * libs/gst/check/gstcheck.c: (gst_check_init):
6459 Intercept criticals and warnings in the Gst-Phonon log domain, so
6460 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6463 2007-06-14 Edward Hervey <edward@fluendo.com>
6465 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6466 Since this file doesn't include "gst.h" it will not go through the
6467 macros that disable GST_LOG if debugging was disabled.
6469 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6471 * libs/gst/check/Makefile.am:
6472 * libs/gst/check/gstcheck.h:
6473 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6474 * pkgconfig/gstreamer-check.pc.in:
6475 Ugly 'fix' for the controller unit test on the p5 bot: in
6476 fail_unless_equals_float() check whether the values are 'almost
6477 equal' by allowing a small absolute error, which should be good
6478 enough for our use cases (normal numbers and values close to 0).
6479 Proper fixage left to floating point arithmetic aficionados.
6481 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6483 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6484 (gst_base_sink_render_object), (gst_base_sink_get_position):
6485 Add two breaks thats where missing.
6487 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6489 * docs/libs/gstreamer-libs-sections.txt:
6490 * libs/gst/check/gstcheck.h:
6491 API: add fail_unless_equals_float() and assert_equals_float().
6492 Add documentation for some of the macros.
6494 * tests/check/libs/controller.c: (GST_START_TEST):
6495 Use newly-added asserts.
6497 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6499 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6500 Show the caps change in the log to help spotting the case of not
6501 exactly matching caps.
6503 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6505 * docs/pwg/building-boiler.xml:
6506 Fix typos, spotted by Thijs Vermeir (#447190).
6508 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6510 * docs/plugins/tmpl/.cvsignore:
6511 Ignore file to keep the buildbots happy
6513 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6515 * docs/plugins/Makefile.am:
6516 * docs/plugins/gstreamer-plugins-docs.sgml:
6517 * docs/plugins/gstreamer-plugins-sections.txt:
6518 Pull fdsink into the docs too.
6520 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6522 * libs/gst/controller/gstinterpolation.c:
6523 Actually use the new functions with min/max checks for the trigger and
6524 none interpolation modes for get() and get_value_array() instead of
6527 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6529 * libs/gst/controller/gstcontroller.c:
6530 (gst_controlled_property_free):
6531 Unset the minimum and maximum GValues when freeing the corresponding
6532 GstControllerProperty struct.
6534 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6536 * libs/gst/controller/gstcontroller.c:
6537 (gst_controlled_property_new):
6538 * libs/gst/controller/gstcontrollerprivate.h:
6539 * libs/gst/controller/gstinterpolation.c:
6540 (gst_controlled_property_find_control_point_node),
6541 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6542 (interpolate_none_get_string_value_array),
6543 (interpolate_trigger_get),
6544 (interpolate_trigger_get_enum_value_array),
6545 (interpolate_trigger_get_string_value_array):
6546 Protect against values larger or smaller than the minimum or maximum
6547 allowed value for the property when using values that can be compared.
6549 Optimize trigger interpolator a bit by taking the last requested value
6550 into account instead of always looping through the complete list.
6552 Fix coding style a bit, everywhere else we use "return foo" instead
6555 * tests/check/libs/controller.c: (GST_START_TEST),
6556 (gst_controller_suite):
6557 Add unit test for the protection against too large or too small
6560 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6562 * docs/random/slomo/controller.txt:
6563 Add some thoughts about the future of the controller.
6565 2007-06-08 Wim Taymans <wim@fluendo.com>
6567 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6568 Don't overflow in retimestamping code.
6570 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6572 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6573 Use gst_util_guint64_to_gdouble for conversions.
6574 * win32/common/libgstreamer.def:
6575 Add new exported functions.
6577 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6580 Small docs addition.
6582 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6585 Remove that test line again.
6587 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6590 Test commit mail sending.
6592 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6595 Fix typo and test commit mail sending.
6597 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6599 * tests/examples/controller/audio-example.c:
6600 Improve comment and test commit mail sending.
6602 2007-06-07 Wim Taymans <wim@fluendo.com>
6604 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6605 (gst_bin_remove_func), (gst_bin_element_set_state),
6606 (bin_handle_async_start), (bin_handle_async_done),
6607 (gst_bin_handle_message_func):
6608 Add helper function to find messages.
6609 Generate the async-done messages together with the state change
6611 Small cleanups in handling toplevel bins.
6613 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6615 * libs/gst/base/gstdataqueue.c:
6616 * libs/gst/base/gstdataqueue.h:
6617 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6618 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6619 (gst_multi_queue_sink_event):
6620 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6621 Fix multiqueue leaking buffers and events when downstream or the
6622 queue are flushing. Make refcounting assumptions explicit and
6623 document them (shouldn't break existing code that uses it other than
6624 maybe leak miniobjects, but that already happens anyway). Add unit
6625 test for the most common flushing case. Fixes #423700.
6627 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6629 * libs/gst/controller/gstcontroller.c:
6630 Clarify docs: The get_all, get_value_array(s) functions
6631 don't modify the GObject properties.
6633 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6635 * libs/gst/controller/gstcontroller.c:
6636 (gst_controlled_property_set_interpolation_mode),
6637 (gst_controlled_property_prepend_default),
6638 (gst_controlled_property_new), (gst_controller_set_unlocked),
6639 (gst_controller_set), (gst_controller_set_from_list),
6640 (gst_controller_unset), (gst_controller_unset_all):
6641 * libs/gst/controller/gstcontrollerprivate.h:
6642 * libs/gst/controller/gstinterpolation.c:
6643 Factor out the 'set' logic into gst_controller_set_unlocked for the
6644 gst_controller_set and gst_controller_set_from_list functions.
6646 To make life of the interpolators easier always add a control point
6647 at timestamp zero with the default value.
6649 In the linear interpolator make things more obvious by better variable
6652 Implement cubic interpolation mode (by using a natural cubic spline)
6653 and map the quadratic interpolation mode to this too (as quadratic
6654 doesn't make much sense, see discussion on the list).
6656 * tests/check/libs/controller.c: (GST_START_TEST),
6657 (gst_controller_suite):
6658 Add unit test for the cubic interpolation mode and check everywhere
6659 if the interpolation mode could be set as expected.
6661 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6663 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6664 Don't use GLib-2.10 functions, we still depend on
6665 GLib-how-old-is-it-again-2.8.
6667 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6669 * docs/gst/gstreamer-sections.txt:
6673 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6674 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6675 (_gst_param_fraction_values_cmp),
6676 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6677 * gst/gstparamspecs.h:
6679 * tests/check/Makefile.am:
6680 * tests/check/gst/.cvsignore:
6681 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6682 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6683 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6684 (GST_START_TEST), (gst_param_spec_suite):
6685 API: add GstParamSpecFraction, so elements can have fraction
6686 properties without lots of painful string parsing (#444648).
6688 2007-06-05 Wim Taymans <wim@fluendo.com>
6690 * gst/gstobject.c: (gst_object_class_init):
6691 Fix signal signature.
6694 Add small clarification in the api docs.
6696 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6697 States are protected with object lock.
6699 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6702 I should probably be listed as an author by now.
6704 * docs/random/release:
6705 Update the release doc
6707 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6710 Make docs for gst_value_compare() mention return enums that
6713 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6718 === release 0.10.13 ===
6720 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6723 releasing 0.10.13, "With or without you"
6725 2007-05-25 Wim Taymans <wim@fluendo.com>
6727 * gst/gstbin.c: (bin_handle_async_done):
6728 Make sure that the child bin stops after completing the async state
6729 change so that the parent can continue the state change to PLAYING.
6732 2007-05-25 Wim Taymans <wim@fluendo.com>
6734 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6735 (unref_data), (gst_collect_pads_remove_pad),
6736 (gst_collect_pads_check_pads):
6737 Use additional refcounting to avoid crashes when dynamically adding and
6738 removing pads. Fixes #420206.
6740 2007-05-24 Wim Taymans <wim@fluendo.com>
6742 * tools/gst-launch.c: (event_loop):
6743 When buffering goes from a two digit to a single digit number, make sure
6744 to remove the old second digit by writing a blank over it.
6746 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6748 * libs/gst/base/gstdataqueue.c:
6749 Eliminate tabs and trailing comma in enum list; fix some typos.
6751 2007-05-24 Wim Taymans <wim@fluendo.com>
6753 * tests/check/gst/gstbin.c: (GST_START_TEST):
6754 Allow refcount of 3 and 4 because some state thread might still be busy
6757 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6759 * plugins/elements/Makefile.am:
6760 * plugins/elements/gstmultiqueue.h:
6761 * plugins/elements/gstqueue.h:
6762 These are not installed headers, no need for padding.
6764 2007-05-24 Wim Taymans <wim@fluendo.com>
6766 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6767 (gst_bin_continue_func):
6768 Enable latency for next release.
6769 Restore STATE_LOCK around recalc_state that was left out during the
6770 rewrite and could result in racy behaviour when _get_state and
6771 recalc_state are run concurrently. See #440463.
6773 2007-05-23 Wim Taymans <wim@fluendo.com>
6775 * tests/check/gst/gstsystemclock.c: (store_callback),
6777 Improve test_async_order to also work when both timers are already
6778 expired when we get scheduled to check it.
6780 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6782 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6783 (gst_bin_set_property), (gst_bin_get_property),
6784 (gst_bin_remove_func), (gst_bin_handle_message_func):
6786 'private' is a c++ keyword, let's not use that in header files,
6787 otherwise c++ compilers will throw a tantrum.
6789 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6791 * plugins/elements/gstelements.c:
6792 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6793 (gst_file_sink_get_current_offset):
6794 * plugins/indexers/gstindexers.c: (plugin_init):
6795 Use #ifdef for HAVE_XYZ for consistency.
6797 * tests/check/Makefile.am:
6798 * tests/check/elements/.cvsignore:
6799 * tests/check/elements/filesink.c: (setup_filesink),
6800 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6801 Add some unit tests for filesink.
6803 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6805 Patch by: Mark Nauwelaerts <manauw at skynet be>
6807 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6808 (gst_file_sink_query), (gst_file_sink_do_seek),
6809 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6810 * plugins/elements/gstfilesink.h:
6811 Fix position reporting; rename data_written member to current_pos to
6812 reflect its real meaning (fixes #412648).
6814 2007-05-22 Edward Hervey <edward@fluendo.com>
6816 * docs/gst/gstreamer-sections.txt:
6817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6818 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6819 (gst_bin_remove_func), (gst_bin_handle_message_func):
6821 Add a property for bins that handle the state change of their childs.
6824 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6826 * libs/gst/controller/gstinterpolation.c:
6827 Use an array of the correct type when using _get_value_array with
6828 linear interpolation.
6830 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6832 * gst/gstelement.c (gst_element_requires_clock,
6833 gst_element_provides_clock, gst_element_request_pad,
6834 gst_element_class_set_details, gst_element_class_set_details_simple,
6835 gst_element_default_send_event, gst_element_abort_state,
6836 gst_element_continue_state, gst_element_set_state,
6837 gst_element_set_state_func, iterator_activate_fold_with_resync):
6838 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6839 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6840 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6841 gst_pad_get_range, gst_pad_pull_range):
6842 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6843 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6844 GstPadActivateModeFunction, GstPadChainFunction,
6845 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6846 GstPadFixateCapsFunction, GstPadTemplate):
6847 * gst/gstpipeline.c (gst_pipeline_change_state,
6848 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6849 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6850 gst_pipeline_get_delay):
6851 Whitespace and docs fixes.
6853 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6855 * libs/gst/controller/gstinterpolation.c:
6856 (interpolate_trigger_get_enum_value_array),
6857 (interpolate_trigger_get_string_value_array):
6858 Add support for retrieving value arrays when using the trigger
6861 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6863 * libs/gst/controller/gstcontroller.c:
6864 (gst_controller_get_value_array):
6865 * libs/gst/controller/gstcontroller.h:
6866 Clarify the docs of gst_controller_get_value_array(): The array where
6867 the values should be written to must be allocated as there seems to be
6868 no way to get the size of a random GType. This doesn't change any
6869 behaviour. Also fix some typos all over the place and remove an unused,
6870 commented function that is not necessary as g_object_set() could be
6872 * tests/check/libs/controller.c: (GST_START_TEST),
6873 (gst_controller_suite):
6874 Add unit test for gst_controller_get_value_array().
6876 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6878 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6880 Disable part of the gst_buffer_try_new_and_alloc test, because
6881 it can happily succeed on 64-bit systems where there's more address
6884 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6886 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6887 Add unit test for the improved caps checking from bug #421543.
6889 2007-05-21 Wim Taymans <wim@fluendo.com>
6891 * docs/design/part-synchronisation.txt:
6894 * gst/gstbin.c: (gst_bin_query):
6895 * plugins/elements/gstqueue.c: (apply_segment):
6901 2007-05-21 Wim Taymans <wim@fluendo.com>
6903 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6904 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6905 (gst_pad_configure_src):
6906 Added simple version of improved caps checking. It was previously
6907 assumed that a setcaps function would check the validity of the caps but
6908 people prefer us to check caps against the template automatically.
6911 2007-05-21 Wim Taymans <wim@fluendo.com>
6913 * libs/gst/base/gstbasetransform.h:
6914 Fix macro for locking/unlocking the transform lock.
6916 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6918 * docs/plugins/tmpl/.cvsignore:
6921 2007-05-18 Edward Hervey <edward@fluendo.com>
6923 * plugins/elements/gstqueue.c: (gst_queue_loop):
6924 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6925 for the subtle art of warning a potentially blocking thread that it
6926 should check the source pad return value, and relay the information
6929 2007-05-18 Edward Hervey <edward@fluendo.com>
6931 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6932 Release the queue lock !
6934 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6936 * docs/libs/gstreamer-libs-sections.txt:
6937 Add the two new controller functions to the appropiate places.
6939 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6941 reviewed by: Stefan Kost <ensonic@users.sf.net>
6943 * libs/gst/controller/gstcontroller.c:
6944 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6945 (_gst_controller_get_property), (_gst_controller_set_property),
6946 (_gst_controller_init), (_gst_controller_class_init):
6947 * libs/gst/controller/gstcontroller.h:
6948 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6949 (gst_object_get_control_rate), (gst_object_set_control_rate):
6950 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6951 Add API that provides sync suggestion timestamps for elements that
6952 call gst_object_sync_values() from which those elements can subdivide
6953 their processing loop to get the best results for the controlled
6954 properties. For now it just suggests last_sync + control_rate as
6955 new timestamp but this will be improved in the future.
6957 While doing that change the control-rate property to a GstClockTime
6958 from guint and change it's meaning from samples to nanoseconds as
6959 the GstController doesn't know anything about sampling rate. Strictly
6960 speaking this breaks ABI but as the control-rate property didn't do
6961 anything in the past and as such couldn't be used this should be no
6964 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6966 reviewed by: Stefan Kost <ensonic@users.sf.net>
6968 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6969 (gst_controller_unset_all):
6970 * libs/gst/controller/gstcontrollerprivate.h:
6971 * libs/gst/controller/gstinterpolation.c:
6972 (gst_controlled_property_find_control_point_node):
6973 Save last synced value from the list to continue searching from there
6974 in future syncs. This speeds everything up a bit.
6976 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6978 reviewed by: Stefan Kost <ensonic@users.sf.net>
6980 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6981 (gst_control_point_find), (gst_controlled_property_new),
6982 (gst_control_point_free), (gst_controlled_property_free),
6983 (gst_controller_set), (gst_controller_set_from_list),
6984 (gst_controller_unset), (gst_controller_unset_all),
6985 (gst_controller_sync_values):
6986 * libs/gst/controller/gstcontroller.h:
6987 * libs/gst/controller/gstcontrollerprivate.h:
6988 * libs/gst/controller/gstinterpolation.c:
6989 (gst_controlled_property_find_control_point_node),
6990 (interpolate_none_get), (interpolate_trigger_get):
6991 Add a new private GstControlPoint struct which "inherits" from
6992 GstTimedValue to allow different interpolators to store internal
6993 values next to each control point. From the outside everything is
6994 still a GstControlPoint so we don't loose binary compatibility.
6995 Also fixup all the GValue handling to not leak GValues or list nodes.
6996 * tests/check/libs/controller.c: (GST_START_TEST):
6997 Free the list nodes and GValues in the controller_misc test.
6999 2007-05-17 Edward Hervey <edward@fluendo.com>
7004 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
7006 * gst/gstplugin.c: (gst_plugin_load_file):
7007 If we fail to load a plugin because of unresolved symbols or missing
7008 libraries and spew a warning to stderr, we may just as well mention
7009 which plugin it was that failed to load.
7011 2007-05-13 David Schleef <ds@schleef.org>
7013 * docs/Makefile.am: the gtk-doc makefile snippet correctly
7014 handles the case when ENABLE_GTK_DOC is false, and installs
7015 the prebuilt documentation. So gtk-doc subdirs are
7016 unconditionally enabled. Fixes: #349099.
7018 2007-05-13 David Schleef <ds@schleef.org>
7020 * gst/gstutils.h: Reword some documentation.
7022 2007-05-12 David Schleef <ds@schleef.org>
7024 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7025 do anything with the passed "module" parameter, so remove it.
7026 Allows removal of additional vestigal code.
7028 2007-05-12 David Schleef <ds@schleef.org>
7031 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7032 Switch to using g_stat() because it's more portable.
7034 2007-05-12 David Schleef <ds@schleef.org>
7037 Add GST_DISABLE_OPTION_PARSING, in order to disable option
7038 parsing for embedded systems.
7039 * gst/gstelementfactory.c:
7040 Allow gst_element_register() to be called with plugin==NULL.
7041 Did nobody notice that static elements were broken?
7043 2007-05-12 Wim Taymans <wim@fluendo.com>
7045 * tools/gst-launch.c: (event_loop):
7046 Give more interesting info when buffering starts and stops.
7047 Fix case where buffering starts but we fail to update the buffering flag
7048 because the target state is not PLAYING.
7050 2007-05-12 Wim Taymans <wim@fluendo.com>
7052 * plugins/elements/gstqueue.c: (gst_queue_init),
7053 (gst_queue_finalize), (update_time_level), (apply_segment),
7054 (apply_buffer), (gst_queue_locked_flush),
7055 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7056 (gst_queue_handle_sink_event), (gst_queue_chain),
7057 (gst_queue_push_one), (gst_queue_loop):
7058 * plugins/elements/gstqueue.h:
7059 Refactor an cleanup queue a bit.
7060 Do better time level calculations that also work when the srcpad is not
7062 Remove some unneeded debug lines.
7064 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7065 Added testcase for time level measurement.
7066 Try to make some stuff more racefree.
7068 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7070 * gst/gsturi.c: (gst_element_make_from_uri):
7071 Don't leak plugin feature.
7073 * tests/check/Makefile.am:
7074 * tests/check/gst/.cvsignore:
7075 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7076 Add brain-dead unit test.
7078 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7080 Patch by: Jeroen Wouters <woutersj at gmail com>
7082 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7083 Treat protocol strings in a case-insensitive way (#437563).
7085 2007-05-11 Michael Smith <msmith@fluendo.com>
7087 * gst/gstplugin.c: (gst_plugin_load_file):
7088 * gst/gstregistry.c: (gst_registry_scan_path_level):
7089 Don't print a g_warning for any failure to load a shared object.
7090 Instead, push this down into gstplugin.c, and warn _only_ if we
7091 failed to open the module (i.e. failure to link).
7092 Avoids warnings on normal, working, non-plugin .so files.
7094 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7096 * gst/gstplugin.c (gst_plugin_load_file):
7097 * gst/gstregistry.c (GST_CAT_DEFAULT,
7098 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7099 Print a g_warning if there was an error when loading a plugins during
7100 registry scan. The shuld help beginners starting with gst-plugin
7103 2007-05-10 Wim Taymans <wim@fluendo.com>
7105 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7106 (update_time_level), (gst_queue_locked_flush),
7107 (gst_queue_handle_sink_event), (gst_queue_chain),
7108 (gst_queue_push_one), (gst_queue_loop):
7109 * plugins/elements/gstqueue.h:
7110 Be smarter when calculating the current amount of data in the queue by
7111 measuring the difference between start and end timestamps (in running
7112 time) inside the queue. Fixes #432876.
7113 API: GstQueue::pushing to notify elements that we are pushing data again
7114 since the running signal is rather broken for this purpose.
7116 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7118 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7119 gst_queue_base_init, gst_queue_init):
7122 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7124 * win32/common/libgstreamer.def:
7125 Add new exported functions.
7126 * win32/vs6/grammar.dsp:
7127 Use grammar pre-generated files.
7129 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7131 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7134 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7136 * gst/gstutils.c: (gst_parse_bin_from_description):
7138 Maintain API and ABI when --disable-parse is used. Now that
7139 we have an appropriate error code, we can just return NULL and the
7140 appropriate error when gst_parse_launch() is used despite it having
7141 been disabled (#342564).
7143 * tests/check/Makefile.am:
7144 * tests/check/pipelines/.cvsignore:
7145 * tests/check/pipelines/parse-disabled.c:
7146 Make sure these functions exist and return NULL plus a GError when
7147 --disable-parse is used.
7149 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7151 * tests/benchmarks/complexity.c: (main):
7152 * tests/benchmarks/mass-elements.c: (main):
7153 Set a good example and don't leak messages.
7155 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7157 * docs/gst/Makefile.am:
7158 * docs/libs/Makefile.am:
7159 Correct fixxrefs options.
7161 * docs/plugins/Makefile.am:
7162 * docs/plugins/gstreamer-plugins-docs.sgml:
7163 * docs/plugins/gstreamer-plugins-sections.txt:
7164 * plugins/elements/Makefile.am:
7165 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7166 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7167 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7168 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7169 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7170 _GstCapsFilterClass, trans_class):
7171 * plugins/elements/gstelements.c (name, rank, type, _elements):
7172 * plugins/elements/gstidentity.c
7173 (gst_identity_check_imperfect_timestamp,
7174 gst_identity_check_imperfect_offset):
7175 Document capsfilter and add doc-blurb to identity.
7177 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7179 * libs/gst/controller/gstcontroller.c:
7180 (gst_controlled_property_set_interpolation_mode):
7181 * libs/gst/controller/gstinterpolation.c:
7182 Don't crash if someone tries to set an interpolation mode that
7183 is invalid or that isn't supported yet. Fixes #422295.
7185 * tests/check/libs/controller.c: (GST_START_TEST),
7186 (gst_controller_suite):
7187 Add a test case for the above.
7189 2007-05-03 Edward Hervey <edward@fluendo.com>
7191 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7192 Properly set the last_stop position on GstSegment. This will only happen
7193 if there is a buffer to push out.
7195 2007-05-03 Wim Taymans <wim@fluendo.com>
7197 * libs/gst/base/gstbasetransform.c:
7198 (gst_base_transform_buffer_alloc):
7199 always_in_place does not mean that the sink and source caps are the
7200 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7202 2007-05-03 Wim Taymans <wim@fluendo.com>
7204 * docs/libs/gstreamer-libs-sections.txt:
7205 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7206 (gst_base_src_default_query), (gst_base_src_get_range):
7207 * libs/gst/base/gstbasesrc.h:
7208 API: gst_base_src_query_latency(). Added method so that subclasses can
7209 easily get the latency values of the base source class.
7211 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7213 * tools/gst-inspect.c (print_implementation_info):
7216 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7218 * tools/Makefile.am:
7219 * tools/gst-launch.1.in:
7220 Don't create a customised man page based on the host architecture,
7221 describe the default registry path generically. That way the man
7222 page is the same for all architectures and packagers have one
7223 multilib issue less to deal with. Fixes #434926.
7225 2007-05-02 Wim Taymans <wim@fluendo.com>
7228 Fix documentation as spotted by rg on IRC.
7230 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7233 Improve docs for gst_element_{link,unlink}.
7235 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7237 * docs/design/part-events.txt:
7238 * docs/design/part-overview.txt:
7242 * libs/gst/base/gstbasesink.c:
7243 Typo fixes; minor docs addition.
7245 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7247 * docs/gst/gstreamer-sections.txt:
7248 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7249 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7251 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7252 or src that supports a given URI protocol exists.
7254 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7256 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7257 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7258 Set the location to NULL if "file://" is set as URI. Otherwise
7259 some random previous URI would still be set if "file://" is
7260 set on an already used filesink/filesrc.
7262 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7264 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7265 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7266 Special case the "file://" URI as as this is used by some
7267 applications to test with gst_element_make_from_uri if there's
7268 an element that supports the URI protocol.
7269 Also move the g_path_is_absolute() check for the location part
7270 of the URI to also check this for "file://localhost/bla" URIs.
7272 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7274 * docs/gst/gstreamer-sections.txt:
7275 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7277 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7279 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7281 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7283 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7284 (gst_registry_binary_load_pad_template),
7285 (gst_registry_binary_load_plugin),
7286 (gst_registry_binary_read_cache):
7287 * gst/gstregistrybinary.h:
7288 Implement no-mmap alternative for registry reading. Do code cleanups.
7289 Add more comments about avoiding strdups for all text data. Comments
7292 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7294 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7295 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7296 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7297 Comment structs and reformat to fix the build (that stuff should go
7298 into a priv. header).
7300 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7302 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7303 (gst_registry_binary_load_feature):
7304 * gst/gstregistrybinary.h:
7305 Refactor so that we can implement multiple features. Add support for
7306 TypeFindFactory features.
7308 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7310 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7313 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7315 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7317 * gst/gstbin.c: (gst_bin_element_set_state),
7318 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7319 (bin_handle_async_done), (gst_bin_handle_message_func):
7320 Fix build with --gst-disable-gst-debug
7322 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7324 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7325 Make sure streaming has finished before calling the ::stop() vfunc,
7326 since that vfunc might clear state which is being used in the
7327 streaming thread. This fixes a race that caused crashes in
7328 audioresample when shutting down a pipeline (#420106).
7330 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7332 * docs/gst/gstreamer-sections.txt:
7333 That was one byte missing.
7335 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7338 * docs/gst/gstreamer-sections.txt:
7340 * gst/gstconfig.h.in:
7341 * gst/gstobject.c: (gst_object_class_init),
7342 (gst_signal_object_class_init):
7344 2nd attempt to have a xml-less build as a joined effort of #413123
7347 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7349 * docs/design/draft-tagreading.txt:
7350 Added open issues/thoughts to draft.
7352 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7354 * gst/parse/grammar.tab.pre.c:
7355 * gst/parse/grammar.tab.pre.h:
7356 * gst/parse/lex._gst_parse_yy.pre.c:
7357 Update the prebuild parser sources.
7359 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7361 * gst/parse/Makefile.am:
7362 And now fix the building of the flex sources. Now everything should
7365 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7367 * gst/parse/Makefile.am:
7368 Now hopefully fix the build failures by setting proper rule
7369 dependencies and moving instead of copying.
7371 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7373 * tests/benchmarks/complexity.gnuplot:
7374 * tests/benchmarks/complexity.scm:
7375 * tests/benchmarks/mass-elements.gnuplot:
7376 * tests/benchmarks/mass-elements.scm:
7377 Total licensification.
7379 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7381 * gst/parse/Makefile.am:
7382 Fix the build by correcting the rule that gave wrong files to flex.
7384 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7386 * tests/benchmarks/complexity.c:
7387 * tests/benchmarks/mass-elements.c:
7388 Change licence to LGPL as granted by Benjamin and Andy.
7390 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7392 * gst/parse/Makefile.am:
7393 Add correct grammar.tab.h dependency if compiling without new enough
7394 flex. Fixes #431150.
7396 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7398 * gst/parse/Makefile.am:
7399 Fix typo and use outdated sources if the flex/bison sources are newer
7400 than the pregenerated ones but flex is too old. Print a warning in
7401 that case. This should fix the build on the build bot.
7403 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7405 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7406 * gst/parse/Makefile.am:
7407 * gst/parse/grammar.y:
7408 * gst/parse/parse.l:
7409 Make the parser reentrant and recursively callable. This requires flex
7410 >= 2.5.31, for older versions pregenerated sources are used as we
7411 can't bump the build dependency. Finally fixes #349180.
7413 * gst/gstparse.c: (gst_parse_launch):
7414 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7417 * docs/gst/Makefile.am:
7418 * docs/gst/Makefile.am:
7419 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7420 (__gst_parse_strfree), (__gst_parse_link_new),
7421 (__gst_parse_link_free), (__gst_parse_chain_new),
7422 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7423 (gst_parse_element_set), (gst_parse_free_link),
7424 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7425 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7426 (_gst_parse_launch):
7427 * gst/parse/grammar.tab.pre.h:
7428 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7429 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7430 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7431 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7432 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7433 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7434 (_gst_parse_yypop_buffer_state),
7435 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7436 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7437 (yy_fatal_error), (_gst_parse_yyget_extra),
7438 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7439 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7440 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7441 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7442 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7443 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7444 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7445 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7446 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7447 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7448 (_gst_parse_yyfree):
7449 If the installed flex version is too old use pre-generated parser
7450 sources. These pre-generated parser sources are always updated when
7451 the actual flex/bison sources change but require everybody who wants
7452 to change something in the parser to have flex >= 2.5.31 installed.
7454 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7456 * common/m4/gst-gettext.m4:
7457 * gst/gst-i18n-lib.h:
7458 Make --disable-nls to work
7460 2007-04-17 Wim Taymans <wim@fluendo.com>
7462 * gst/gstconfig.h.in:
7463 Revert previous change that broke the build.
7465 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7469 * gst/gstconfig.h.in:
7470 Drop libxml2 dependency when building with
7471 --enable-binary-registry --disable-loadsave
7473 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7475 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7476 (gst_registry_binary_read_cache):
7477 * gst/gstregistrybinary.h:
7478 Remove unnecessary <sys/mman.h> include which broke the win32 build
7479 with MingW; move includes from header file to .c file, even if the
7480 header file isn't installed; use g_strerror() where UTF-8 strings
7481 are expected, such as in GST_DEBUG messages.
7483 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7485 * docs/libs/gstreamer-libs-sections.txt:
7486 Remove bogus addition for API I didn't end up keeping.
7488 * libs/gst/base/gstbasesrc.h:
7489 Mention Since: 0.10.13 in the documentation.
7491 Add the API keyword to the previous ChangeLog entry.
7493 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7495 * docs/libs/gstreamer-libs-sections.txt:
7496 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7497 (gst_base_src_default_prepare_seek_segment),
7498 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7499 * libs/gst/base/gstbasesrc.h:
7500 Allow basesrc derived classes to execute seeks in other formats
7501 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7502 to prepare the GstSegment in any format that their perform_seek method
7503 will be able to understand. The default implementation provides the
7504 old behaviour of attempting to convert the seek offsets to the
7505 configured native format.
7507 API: basesrc::prepare_seek_segment vmethod.
7509 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7511 * gst/gstelement.c: (gst_element_get_state_func):
7512 Don't output the same debug statement twice.
7514 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7515 (gst_adapter_peek), (gst_adapter_take_buffer):
7516 Optimise the case where we have buffers at the head of the queue that
7517 can be joined quickly (because they're contiguous sub-buffers) by
7518 merging them together rather than copying data out into new memory.
7520 * gst/parse/grammar.y:
7521 * tests/check/pipelines/parse-launch.c:
7522 Fix a leak in an error path for parse_launch, and add a check
7523 for it to the testsuite.
7525 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7527 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7528 Don't deadlock when releasing a pad - gst_pad_set_active may try
7529 and take the multiqueue lock too.
7531 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7533 * gst/gsterror.c: (_gst_core_errors_init):
7535 API: add GST_CORE_ERROR_DISABLED (#392804).
7537 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7539 * docs/faq/gst-uninstalled:
7540 don't get empty paths on the PATH variables
7541 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7542 Don't format for the uncommon terminal width of 84 characters.
7544 2007-04-06 Wim Taymans <wim@fluendo.com>
7546 * gst/gstpipeline.c: (reset_stream_time),
7547 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7548 Only try to select a different pipeline clock when we went back to
7549 PAUSED and not when we merely got flushed.
7551 2007-04-05 Michael Smith <msmith@fluendo.com>
7553 * tools/gst-launch.1.in:
7554 fractions are better supported in gstreamer than ractions, so
7555 suggest using those.
7557 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7559 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7563 Added Danish translation.
7565 2007-04-05 Wim Taymans <wim@fluendo.com>
7567 * libs/gst/base/gstbasesink.c:
7568 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7569 Fix leak caused when refusing newsegment after EOS.
7571 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7572 (gst_fake_sink_init), (gst_fake_sink_set_property),
7573 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7574 (gst_fake_sink_render), (gst_fake_sink_change_state):
7575 * plugins/elements/gstfakesink.h:
7576 Add num-buffers property to make the element generate EOS after a
7577 configurable amount of buffers.
7578 API: fakesink::num-buffers property.
7580 * tests/check/elements/fakesink.c: (GST_START_TEST),
7582 Fix GstBus leak in test.
7583 Test for fakesink num-buffers.
7585 2007-04-05 Wim Taymans <wim@fluendo.com>
7587 * libs/gst/base/gstbasesink.c:
7588 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7589 (gst_base_sink_change_state):
7590 Don't accept anything after an EOS, return UNEXPECTED instead.
7592 * tests/check/elements/fakesink.c: (GST_START_TEST),
7594 Unit test for new EOS behaviour.
7596 2007-04-05 Wim Taymans <wim@fluendo.com>
7598 * gst/gstelement.c: (gst_element_get_request_pad):
7599 Make padtemplates also work when they don't contain %s or %d.
7601 2007-04-05 Wim Taymans <wim@fluendo.com>
7603 * docs/gst/gstreamer-sections.txt:
7604 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7605 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7607 Improve _adjust_unlocked() so that it overflows less.
7608 Add gst_clock_unadjust_unlocked to convert from external time to
7609 internal time based on calibration.
7610 Add some more debug.
7611 API: GstClock::gst_clock_unadjust_unlocked()
7613 2007-04-03 Wim Taymans <wim@fluendo.com>
7615 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7617 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7618 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7619 when releasing sink pad. Fixes #425400.
7621 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7623 * docs/random/ensonic/dynlink.txt:
7624 More work on proposal for new core api.
7626 * docs/libs/gstreamer-libs-sections.txt:
7627 * libs/gst/base/gstbasetransform.h:
7628 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7630 * libs/gst/controller/gstcontroller.c:
7631 (on_object_controlled_property_changed),
7632 (gst_controller_sync_values),
7633 (gst_controller_set_interpolation_mode):
7634 * libs/gst/controller/gstcontroller.h:
7635 Less verbose logging add docs for unimplemented parts and correctly
7636 return when using unavailable parts.
7638 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7640 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7641 Move all the debug to the CLOCK category, and associate it with
7644 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7646 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7647 Make take_buffer a bit quicker by removing redundant checks
7648 caused by calling gst_adapter_take.
7650 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7652 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7655 * tests/check/Makefile.am:
7656 * tests/check/elements/.cvsignore:
7657 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7658 (GST_START_TEST), (multiqueue_suite):
7659 Add some dead simple unit tests for the 'multiqueue' element
7660 (some bits don't work yet and are disabled for now).
7662 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7664 * gst/gstelement.c: (gst_element_get_request_pad),
7665 (gst_element_class_get_request_pad_template):
7666 Make gst_element_get_request_pad() create request pads only for
7667 request pad templates and not for, say, sometimes pad templates.
7669 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7671 * docs/design/draft-klass.txt:
7672 Add example that needs more thinking.
7674 * docs/design/draft-missing-plugins.txt:
7675 More thoughts about wrapper plugins.
7677 * docs/random/ensonic/embedded.txt:
7678 * docs/random/ensonic/profiling.txt:
7681 2007-03-25 Wim Taymans <wim@fluendo.com>
7683 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7684 (gst_base_src_loop):
7685 Only push the segment events in the PLAYING state for live sources.
7687 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7689 * gst/gstpipeline.c: (gst_pipeline_change_state):
7690 Modify the clock distribution path in PAUSED->PLAYING so that we
7691 never attempt to choose a new clock unless we're actually leaving
7692 the PAUSED state for the first time. This prevents choosing a
7693 different clock when the state_change gets called for a 2nd time due
7694 to some element doing an async state change.
7696 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7698 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7699 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7700 (gst_pad_chain_unchecked), (gst_pad_push):
7701 Revert last commit. This needs some more thoughts.
7703 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7705 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7706 (gst_pad_chain_unchecked), (gst_pad_push):
7707 Check in set_caps if the caps are compatible with the pad and remove
7708 two functions that are redundant now. Fixes #421543.
7710 2007-03-22 Wim Taymans <wim@fluendo.com>
7712 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7713 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7714 Unref some more to make valgrind happy.
7716 2007-03-22 Wim Taymans <wim@fluendo.com>
7718 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7719 (gst_system_clock_id_wait_jitter),
7720 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7721 Fix anoying regression that survived a few releases. When adding an
7722 async entry while blocking on a sync entry, the sync entry will unblock
7723 but still be busy, so it should continue to wait instead of returning
7725 Add some comments here and there.
7727 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7728 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7729 Add testcase for this.
7731 2007-03-22 Wim Taymans <wim@fluendo.com>
7733 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7734 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7735 WRONG_STATE and can silently pause the task. All other cases should
7738 2007-03-22 Wim Taymans <wim@fluendo.com>
7740 Patch by: Ville Syrjala <syrjala at sci dot fi>
7742 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7743 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7746 2007-03-21 Michael Smith <msmith@fluendo.com>
7748 * docs/pwg/advanced-types.xml:
7749 Fix some errors in the typefinding docs pointed out on irc.
7751 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7753 * libs/gst/base/gstbasesrc.c:
7754 Clarify FIXME comment in the face of having added unlock_stop()
7756 2007-03-21 Wim Taymans <wim@fluendo.com>
7758 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7759 Prepare for release where we warn against possible app breakage in the
7760 case of live pipelines along with an env var to enable/disable live
7761 preroll mode (GST_COMPAT=[no-]live-preroll).
7763 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7765 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7766 So we should use correct constants for checking for None offset.
7768 2007-03-20 Wim Taymans <wim@fluendo.com>
7770 * docs/design/part-block.txt:
7771 Mention the fact that the newly switched element should be set to at
7774 2007-03-20 Wim Taymans <wim@fluendo.com>
7777 Fix compilation with registry disabled as spotted by Saur.
7779 2007-03-20 Wim Taymans <wim@fluendo.com>
7781 Patch by: Olivier Crete <tester at tester dot ca>
7783 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7784 Look at the pending state too when syncing the element state to the
7785 parent. Fixes #420133.
7787 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7789 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7790 (gst_base_sink_change_state):
7791 * libs/gst/base/gstbasesink.h:
7792 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7793 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7794 (gst_base_src_deactivate):
7795 * libs/gst/base/gstbasesrc.h:
7796 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7797 for sub-classes to correctly clear any state they set trying to
7798 unlock, such as clearing out unlock commands from a command fd.
7799 API: basesrc::unlock_stop
7800 API: basesink::unlock_stop
7802 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7803 (gst_fd_sink_render), (gst_fd_sink_unlock),
7804 (gst_fd_sink_unlock_stop):
7805 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7806 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7807 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7809 Implement unlock_stop in fdsrc and fdsink.
7810 Implement seeking in fdsrc when a seekable fd is passed, as in
7811 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7813 2007-03-19 Wim Taymans <wim@fluendo.com>
7815 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7817 * gst/gstelement.c: (gst_element_class_init):
7818 Fix pad-added and pad-removed signal signatures so that the pad type is
7819 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7821 2007-03-19 Wim Taymans <wim@fluendo.com>
7823 * docs/gst/gstreamer-sections.txt:
7824 Add new element field and method.
7826 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7827 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7828 (gst_bin_recalc_state), (gst_bin_get_state_func),
7829 (gst_bin_element_set_state), (gst_bin_change_state_func),
7830 (gst_bin_continue_func), (bin_bus_handler),
7831 (bin_push_state_continue), (bin_handle_async_start),
7832 (bin_handle_async_done), (gst_bin_handle_message_func):
7833 Make async state changes a bit smarter by using new ASYNC_START and
7834 ASYNC_DONE messages. This reduces the number of times we run the state
7835 recalculation thread.
7836 Don't change state of element with a pending ASYNC_START message.
7837 Deprecate STATE_DIRTY messages.
7839 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7840 (gst_element_get_state_func), (gst_element_continue_state),
7841 (gst_element_lost_state), (gst_element_set_state_func),
7842 (gst_element_change_state):
7844 Keep the state that was last set by the app in a new element field.
7845 Don't allow state changes when handling an element event.
7846 Post ASYNC_START and ASYNC_DONE messages.
7847 Change lost_state so that we go to PAUSED and wait for the parent to set
7848 us to PLAYING again (so latency calculation can be performed)
7849 Export gst_element_change_state() method so that subclasses can use it.
7850 API: gst_element_change_state()
7851 API: GST_STATE_TARGET
7853 * gst/gstpipeline.c: (gst_pipeline_class_init),
7854 (reset_stream_time), (gst_pipeline_change_state),
7855 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7856 Using the new ASYNC_START message we can reset the base_time when
7857 needed. This can then be used to implement base_time redistribution in
7858 flushing seeks so that we can remove the explicit seek handling.
7859 Perform latency query and configuration when going to PLAYING.
7861 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7862 (gst_base_sink_query), (gst_base_sink_change_state):
7863 Post new ASYNC_START/ASYNC_DONE messages.
7865 * tests/check/generic/sinks.c: (GST_START_TEST):
7866 Fix test because the bin will not set the async element to PLAYING right
7869 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7870 Make the message check a little stronger.
7871 Handle ASYNC messages.
7873 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7874 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7875 Expect ASYNC_DONE messages.
7877 2007-03-19 Wim Taymans <wim@fluendo.com>
7879 * docs/gst/gstreamer-sections.txt:
7880 * gst/gstmessage.c: (gst_message_new_async_start),
7881 (gst_message_new_async_done), (gst_message_parse_info),
7882 (gst_message_parse_async_start):
7884 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7887 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7889 * tools/gst-inspect.c:
7890 (print_plugin_automatic_install_info_codecs):
7891 Now that we don't check for the 'Codec' keyword any longer in the
7892 klass, we shouldn't spew a warning if the klass isn't a decoder or
7893 encoder (since it might be a Source/Network, for example).
7895 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7897 * tools/gst-inspect.c:
7898 (print_plugin_automatic_install_info_codecs):
7899 Don't require decoder/demuxer/depayloader elements or
7900 encoder/muxer/paylader elements to have 'Codec' as part of their
7901 factory class string when introspecting a plugin's capabilities.
7902 draft-klass.txt mentions that it might be removed in future, and
7903 flump3dec doesn't have it as part of its class string, so chances
7904 are others might also not have it.
7906 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7928 Update translations from translation project
7930 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7932 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7933 (gst_child_proxy_set_property):
7934 Invert precondition check to be alike the ones in the mimiced gobject
7937 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7939 * docs/design/draft-tagreading.txt:
7940 * docs/random/ensonic/audiobaseclasses.txt:
7941 Do some Architect work.
7943 * gst/gstobject.c: (gst_object_set_name):
7947 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7949 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7951 * gst/gstsystemclock.c: (gst_system_clock_init),
7952 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7953 Defer starting the async system clock thread until the first async
7954 wait is scheduled. Fixes #414986.
7956 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7958 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7959 (gst_single_queue_free):
7960 Fix small leak (free GstSingleQueue structure too, not only contents).
7962 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7964 * gst/gstbin.c:(gst_bin_add):
7965 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7966 * win32/common/libgstbase.def:
7967 * win32/common/libgstreamer.def:
7968 Add new exported functions.
7970 2007-03-09 Wim Taymans <wim@fluendo.com>
7972 * docs/plugins/gstreamer-plugins-sections.txt:
7975 2007-03-09 Wim Taymans <wim@fluendo.com>
7977 * docs/gst/gstreamer-sections.txt:
7978 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7980 Add metadata copy functions. Fixes #393099.
7981 API: gst_buffer_copy_metadata()
7983 * gst/gstutils.c: (gst_buffer_stamp):
7984 * libs/gst/base/gstbasetransform.c:
7985 (gst_base_transform_prepare_output_buffer):
7986 Use new metadata copy functions.
7988 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7990 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7991 (gst_identity_init), (gst_identity_check_perfect),
7992 (gst_identity_check_imperfect_timestamp),
7993 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7994 (gst_identity_set_property), (gst_identity_get_property):
7995 * plugins/elements/gstidentity.h:
7996 Separate out check-imperfect-timestamp and check-imperfect-offset.
7997 Put back check-perfect as it was to keep compatibility.
7999 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
8001 * gst/gstelement.c: (gst_element_dispose):
8002 There's no need to warn if VOID_PENDING is not NONE here, as
8003 long as the state is NULL it's ok, and that's checked immediately
8006 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8008 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8009 Fix check for perfect stream to ignore buffers with -1
8010 offsets/offset ends when checking data contiguity.
8012 2007-03-08 Wim Taymans <wim@fluendo.com>
8014 * tools/gst-launch.c: (event_loop):
8015 Print INFO messages.
8017 2007-03-08 Wim Taymans <wim@fluendo.com>
8019 * libs/gst/base/gstbasetransform.c:
8020 (gst_base_transform_sink_eventfunc),
8021 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8022 (gst_base_transform_activate):
8023 * libs/gst/base/gstbasetransform.h:
8024 Add support for dropping buffers with custom GstFlowReturn.
8025 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8026 buffers or dropped buffers.
8028 * docs/libs/gstreamer-libs-sections.txt:
8029 docs for new custom return code.
8031 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8032 Use drop support in base class to implement drop-probability.
8034 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
8036 * gst/gst.c: (load_plugin_func):
8037 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8038 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8039 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8040 Remove newlines at end of debug log strings.
8042 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8044 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8045 Only post bus message at max, once per buffer received.
8047 2007-03-07 Wim Taymans <wim@fluendo.com>
8049 * docs/design/Makefile.am:
8050 * docs/design/part-synchronisation.txt:
8051 Add doc about synchronisation
8053 * docs/design/draft-latency.txt:
8054 * docs/design/part-TODO.txt:
8055 * docs/design/part-clocks.txt:
8056 * docs/design/part-events.txt:
8057 * docs/design/part-gstbus.txt:
8058 * docs/design/part-gstpipeline.txt:
8059 * docs/design/part-live-source.txt:
8060 * docs/design/part-messages.txt:
8061 * docs/design/part-overview.txt:
8062 * docs/design/part-streams.txt:
8063 * docs/design/part-trickmodes.txt:
8064 Documentation updates.
8066 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8069 Update the doap file.
8071 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8073 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8074 Rename non-perfect to imperfect for Mike and for the sanctity of the
8076 Also make sure bus message gets emitted for data-incontiguities.
8078 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8080 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8081 (gst_identity_start):
8082 * plugins/elements/gstidentity.h:
8083 Emit bus message if check-perfect is true and we encounter a
8084 non-perfect stream between 2 consecutive buffers.
8087 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8092 === release 0.10.12 ===
8094 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8097 releasing 0.10.12, "Inevitable Demise"
8099 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8102 Version 0.10.11.2 (0.10.12 pre-release)
8103 Bump libtool versioning.
8105 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8107 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8108 Log flow-names and not numbers.
8110 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8113 Convert to new AG_GST style.
8115 2007-02-28 Wim Taymans <wim@fluendo.com>
8117 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8118 Don't unref query twice.
8120 2007-02-28 Wim Taymans <wim@fluendo.com>
8122 * gst/gstvalue.c: (gst_value_transform_object_string),
8123 (_gst_value_initialize):
8124 Implement GstObject -> string transform so we print object names
8125 when serializing GValues containing GstObjects.
8127 2007-02-28 Wim Taymans <wim@fluendo.com>
8129 * docs/gst/gstreamer-sections.txt:
8130 Add new stuff to docs.
8132 2007-02-28 Wim Taymans <wim@fluendo.com>
8134 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8135 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8136 (gst_base_sink_change_state):
8137 Improve latency query code.
8138 Don't leak latency events.
8140 * tests/check/gst/gstbin.c: (GST_START_TEST):
8143 2007-02-28 Wim Taymans <wim@fluendo.com>
8145 * gst/gstelement.c: (gst_element_message_full),
8146 (gst_element_get_state_func):
8148 Improve docs a little. Added Since: for new macro.
8150 * gst/gstobject.c: (gst_object_sink):
8151 * gst/gstpipeline.c: (gst_pipeline_change_state),
8152 (gst_pipeline_set_new_stream_time):
8153 * gst/gstpipeline.h:
8154 Improve debugging and docs.
8156 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8159 2007-02-28 Wim Taymans <wim@fluendo.com>
8161 * gst/gstelement.c: (gst_element_message_full),
8162 (gst_element_set_locked_state), (gst_element_get_state_func),
8163 (gst_element_change_state):
8164 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8165 Documentation updates.
8166 Small code cleanups.
8168 * gst/gstmessage.c: (gst_message_new_info),
8169 (gst_message_parse_info):
8171 API: gst_message_new_info()
8172 API: gst_message_parse_info()
8173 Add INFO message create and parse code.
8175 2007-02-28 Wim Taymans <wim@fluendo.com>
8177 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8178 (bin_query_latency_done):
8179 Also report the live parameter of a latency query.
8181 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8183 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8184 Copy the current generic/states example from -base and adapt so
8185 we can use the exact same code everywhere.
8186 Check a STATES_IGNORE_ELEMENTS env var which can be used
8187 to ignore certain element factories for this test, which is
8188 what is being done in -base
8189 * tests/check/Makefile.am:
8190 Mention this environment variable.
8192 2007-02-27 Wim Taymans <wim@fluendo.com>
8194 * docs/gst/gstreamer-sections.txt:
8195 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8196 (gst_bus_timed_pop), (gst_bus_pop):
8198 API: gst_bus_timed_pop()
8199 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8200 message to arrive on the bus.
8202 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8204 Two unit tests for new _timed_pop() function.
8206 2007-02-23 Wim Taymans <wim@fluendo.com>
8208 * gst/gstpipeline.c: (gst_pipeline_change_state),
8209 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8210 Don't ref a NULL clock in _provide_clock_func().
8211 Don't allow an INVALID delay.
8212 Don't try to calculate base_time with an invalid start_time.
8213 Also distribute and notify a NULL clock when it was selected.
8215 * tools/gst-launch.c: (event_loop):
8216 Don't crash when a NULL clock was selected in the pipeline.
8218 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8220 * docs/design/Makefile.am:
8221 * docs/design/draft-missing-plugins.txt:
8222 * docs/random/draft-missing-plugins.txt:
8223 Some small updates: update plugin system identifier prefix
8224 ('gstreamer.net' to 'gstreamer'), mention our new install
8225 API in libgstbaseutils rather than libgimme-codec, add
8226 reference to the online docs.
8228 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8230 * win32/common/config.h:
8231 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8232 use moap cl ci to only check in what is mentioned in the ChangeLog.
8234 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8236 * docs/gst/gstreamer-sections.txt:
8238 Fix up documentation to link to the correct GstGError section.
8239 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8241 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8243 * tools/gst-launch.c: (event_loop):
8244 Make sure that we actually show the important message part of a
8246 No need to check if the gerror is not NULL to free; first of all
8247 g_free accepts NULL; and second the default error handler would
8248 segfault if gerror was NULL.
8250 2007-02-21 Wim Taymans <wim@fluendo.com>
8252 * docs/gst/gstreamer-sections.txt:
8253 Removed docs as well.
8255 2007-02-21 Wim Taymans <wim@fluendo.com>
8257 * gst/gstmessage.c: (gst_message_parse_duration):
8259 Remove new messages for release.
8261 2007-02-20 Wim Taymans <wim@fluendo.com>
8263 * docs/design/part-gstghostpad.txt:
8264 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8265 (gst_ghost_pad_new_full):
8266 Make the ghostpad a parent of the internal pad again for better backward
8267 compatibility. Don't write code that relies on this however.
8269 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8270 (gst_pad_link_check_hierarchy):
8271 Require that parents should be GstElements in the hierarchy check.
8273 2007-02-20 Wim Taymans <wim@fluendo.com>
8275 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8276 (gst_bin_change_state_func), (bin_query_min_max_init),
8277 (bin_query_latency_fold), (bin_query_latency_done),
8280 Implement latency query.
8282 2007-02-20 Wim Taymans <wim@fluendo.com>
8284 * docs/design/part-gstghostpad.txt:
8285 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8286 (gst_ghost_pad_internal_do_activate_push),
8287 (gst_ghost_pad_internal_do_activate_pull),
8288 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8289 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8290 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8291 Do not set the internal pad as a parent anymore so we can avoid
8292 hierarchy linking errors when the ghostpad has no parent yet. This also
8293 fixes failed activation because of unlinked internal pads, which in
8294 turn fixes the impossible case where you have to activate a pad before
8295 you can add it to a running element.
8298 * gst/gstpad.c: (pre_activate), (post_activate),
8299 (gst_pad_set_active), (gst_pad_activate_pull),
8300 (gst_pad_activate_push), (gst_pad_check_pull_range):
8301 Add some more debug info.
8302 Mark activation mode in pre_activate so that we don't try to activate in
8303 endless loops. Fixes #385084.
8305 2007-02-19 Wim Taymans <wim@fluendo.com>
8307 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8308 (gst_base_transform_check_get_range):
8309 Implement a checkgetrange function instead of relying on the default
8310 core behaviour that assumes we can operate in pull mode if we have a
8311 getrange function. First step at fixing #385084.
8313 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8315 * gst/gstchildproxy.h:
8316 * libs/gst/base/gstbasesink.h:
8317 * libs/gst/base/gstbasesrc.h:
8318 * libs/gst/base/gstbasetransform.h:
8319 More docs coverage and some ChangeLog surgery (add missing names)
8321 2007-02-15 Wim Taymans <wim@fluendo.com>
8323 * docs/design/part-TODO.txt:
8324 * docs/design/part-activation.txt:
8325 * docs/design/part-block.txt:
8326 * docs/design/part-buffering.txt:
8327 * docs/design/part-clocks.txt:
8328 * docs/design/part-element-source.txt:
8329 * docs/design/part-events.txt:
8330 * docs/design/part-gstbin.txt:
8331 * docs/design/part-gstbus.txt:
8332 * docs/design/part-gstpipeline.txt:
8333 * docs/design/part-live-source.txt:
8334 * docs/design/part-messages.txt:
8335 * docs/design/part-overview.txt:
8336 * docs/design/part-qos.txt:
8337 * docs/design/part-query.txt:
8338 * docs/design/part-states.txt:
8339 * docs/design/part-trickmodes.txt:
8340 Some doc updates. Start renaming from stream_time to running_time where
8341 it was used wrongly.
8343 2007-02-15 Wim Taymans <wim@fluendo.com>
8345 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8346 Answer LATENCY query.
8348 2007-02-15 Wim Taymans <wim@fluendo.com>
8350 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8354 2007-02-15 Wim Taymans <wim@fluendo.com>
8356 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8357 (gst_pad_dispatcher):
8358 Improve debugging of default pad dispatcher and query functions.
8360 2007-02-15 Wim Taymans <wim@fluendo.com>
8362 * docs/gst/gstreamer-sections.txt:
8363 Remove old unused method.
8365 2007-02-13 Wim Taymans <wim@fluendo.com>
8367 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8370 2007-02-13 Wim Taymans <wim@fluendo.com>
8372 * docs/design/part-seeking.txt:
8375 * gst/gstsegment.c: (gst_segment_set_seek):
8376 Revert old bogus change that should make seeking work again.
8378 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8380 * docs/random/ensonic/dynlink.txt:
8381 * docs/random/ensonic/interfaces.txt:
8382 * docs/random/ensonic/receipies.txt:
8383 Possible dynamic reconnection api, plus some type fixes the other two
8386 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8388 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8389 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8390 Also check for an absolute path following file:// in the filesrc
8391 element. Remove redundant check and call g_path_is_absolute() on the
8394 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8396 * docs/design/draft-klass.txt:
8397 Add existing category analysis.
8400 Fix doc example, framerate is a fraction.
8402 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8405 * docs/gst/Makefile.am:
8406 * docs/gst/gstreamer-sections.txt:
8407 * docs/libs/Makefile.am:
8408 Erm, forgot a bunch of --extra-dir.
8410 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8413 * docs/gst/Makefile.am:
8414 * docs/libs/Makefile.am:
8415 * docs/plugins/Makefile.am:
8416 Add crossreferences to glib/gobject docs.
8418 2007-02-12 Wim Taymans <wim@fluendo.com>
8420 * docs/design/draft-latency.txt:
8423 * docs/libs/gstreamer-libs-sections.txt:
8424 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8425 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8426 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8427 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8428 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8429 (gst_base_sink_get_position), (gst_base_sink_query),
8430 (gst_base_sink_change_state):
8431 * libs/gst/base/gstbasesink.h:
8432 API: gst_base_sink_query_latency() to let subclasses query the upstream
8434 API: gst_base_sink_get_latency() to let subclasses query the configured
8435 latency in the sink.
8436 Implement query and set latency.
8438 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8439 don't continue preroll when we are flushing. Fixes #405284.
8441 * tests/check/pipelines/stress.c: (change_state_timeout),
8442 (quit_timeout), (GST_START_TEST), (stress_suite):
8445 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8447 Patch by: René Stadler <mail at renestadler de>
8449 * docs/gst/gstreamer-sections.txt:
8450 * gst/gsttaglist.c: (_gst_tag_initialize):
8452 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8454 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8456 * docs/libs/Makefile.am:
8457 Fix path to core docs.
8459 * gst/gstbin.c: (gst_bin_get_by_interface),
8460 (gst_bin_iterate_all_by_interface):
8461 Refix docs by also renaming 'interface' to 'iface' in implementation.
8463 * docs/gst/gstreamer-sections.txt:
8465 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8466 * gst/gstchildproxy.h:
8467 * gst/gstelementfactory.c:
8468 * gst/gstpadtemplate.h:
8469 * libs/gst/controller/gstcontroller.c:
8470 (gst_controlled_property_new):
8473 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8475 * gst/gstbin.h:(gst_bin_get_by_interface),
8476 (gst_bin_iterate_all_by_interface):
8477 Replace interface parameter name by iface as interface is
8478 a reserved keyword in Visual Studio for C++ projects so it removes
8479 a build error for application developpers using VS.
8480 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8481 Fix a bug on Windows in uri format check. Now the prefix checked
8482 is file:// and next we check if the path after file:// is absolute.
8483 * win32/common/libgstbase.def:
8484 * win32/common/libgstdataprotocol.def:
8485 * win32/common/libgstgstreamer.def:
8486 Add new exported functions.
8488 2007-02-09 Andy Wingo <wingo@pobox.com>
8490 * tests/check/pipelines/simple-launch-lines.c
8491 (simple_launch_lines_suite, test_tee): Disable tee test until I
8492 have time to fix it :-(
8494 * tests/check/Makefile.am (noinst_HEADERS):
8495 * tests/check/libs/libsabi.c:
8496 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8497 * tests/check/gst/gstabi.c:
8498 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8500 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8501 tests for push and pull tee behavior.
8503 * plugins/elements/gsttee.h:
8504 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8505 mark as deprecated as well as unimplemented. It was a crack idea.
8506 Add support for tee operating in pull mode, off by default.
8508 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8509 normal-case logs down to LOG, raise errors to WARNING.
8510 (gst_registry_xml_read_cache): Don't log before calling a function
8513 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8514 exit (registry finalize).
8515 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8516 DEBUG log when we emit signals that people don't even have the
8517 chance to connect to.
8518 (gst_registry_scan_path_level): Less logging in the normal case.
8520 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8522 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8524 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8525 Correctly generate EOS for non-seekable files. We don't have a total
8526 length for them and would get an unexpected end of file if we only
8527 special-cased for regular files. (Fixes: #404569)
8529 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8531 * tests/check/elements/filesrc.c: (GST_START_TEST),
8533 Add unit test for the GstURIHandler interface in filesrc. This also
8534 tests the newly added file://localhost/foo/bar support.
8536 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8538 * gst/gstelementfactory.h:
8539 The klass string is not a hierarchy. Add reference to the design doc
8540 for more information and common types.
8542 2007-02-02 Wim Taymans <wim@fluendo.com>
8544 * gst/gstquery.c: (gst_query_new_latency):
8545 Remove old structure field.
8547 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8549 * tools/gst-launch.1.in:
8550 Give example for network streaming (#351998)
8552 2007-02-02 Wim Taymans <wim@fluendo.com>
8554 * docs/gst/gstreamer-sections.txt:
8555 Add docs for new methods.
8557 * gst/gstevent.c: (gst_event_new_latency),
8558 (gst_event_parse_latency):
8560 Add new LATENCY event to configure latency in a pipeline.
8561 API: gst_event_new_latency
8562 API: gst_event_parse_latency
8564 * gst/gstmessage.c: (gst_message_new_buffering),
8565 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8566 (gst_message_new_latency), (gst_message_parse_buffering),
8567 (gst_message_parse_lost_preroll):
8569 Added messages used in draft-latency.
8570 API: gst_message_new_lost_preroll
8571 API: gst_message_parse_lost_preroll
8572 API: gst_message_new_prerolled
8573 API: gst_message_new_latency
8575 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8576 (gst_query_parse_latency):
8578 Implemented new latency query as in design doc.
8579 API: gst_query_new_latency
8580 API: gst_query_set_latency
8581 API: gst_query_parse_latency
8583 2007-02-02 Wim Taymans <wim@fluendo.com>
8585 * docs/design/draft-latency.txt:
8586 Slight redesign to allow for dynamic latency adjustments.
8588 * docs/design/part-negotiation.txt:
8591 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8593 reviewed by: Wim Taymans <wim@fluendo.com>
8595 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8596 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8597 Allow file://localhost/foo/bar URLs and correctly fail for every other
8598 hostname that one sets. This was gnomevfssrc is linked for those if
8599 installed as it can handle it (#403172)
8601 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8603 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8605 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8606 (unref_data), (gst_collect_pads_add_pad_full):
8607 * libs/gst/base/gstcollectpads.h:
8608 Don't put the previously added destroy notify in the GstCollectData
8609 struct as all it's padding is already used and we don't want to break
8610 ABI. Instead put in the pad's GObject data for now. This should be
8611 cleaned up for 0.11 (#402393).
8613 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8615 reviewed by: Wim Taymans <wim@fluendo.com>
8617 * docs/libs/gstreamer-libs-sections.txt:
8618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8619 (unref_data), (gst_collect_pads_add_pad),
8620 (gst_collect_pads_add_pad_full):
8621 * libs/gst/base/gstcollectpads.h:
8622 API: Add function to specify a destroy notification for custom
8623 GstCollectData when adding new pads in GstCollectPads (#402393).
8625 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8628 Update Swedish translation (#378255).
8630 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8632 * docs/design/draft-klass.txt:
8633 Fix the previous change, this is a list of categories and not a hierarchy.
8635 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8637 * docs/design/draft-klass.txt:
8638 Add info about how to get a list of used classes.
8640 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8642 * plugins/elements/gsttypefindelement.c:
8643 (gst_type_find_element_chain_do_typefinding),
8644 (gst_type_find_element_change_state):
8645 Don't leak found caps in chain function (no idea why that never
8646 showed up as a leak anywhere).
8648 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8651 Fix and expand GstPluginDesc API docs.
8653 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8656 * gst/gstelementfactory.c:
8657 * gst/gstpadtemplate.h:
8660 * libs/gst/controller/gstcontroller.c:
8661 (gst_controlled_property_new):
8662 * tests/examples/controller/audio-example.c:
8665 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8668 comment about refining the xml deps
8671 comments about moving away from jade for docs
8674 recommit the ifdefs to use the binary registry
8676 * gst/gstbin.c: (gst_bin_change_state_func):
8677 this break is obsolete
8679 * gst/gstelementfactory.h:
8680 better GST_ELEMENT_DETAILS docs, add comment about translation
8685 * gst/gstobject.c: (gst_signal_object_get_type):
8686 add G_UNLIKELY as usual
8688 * gst/gstpad.c: (gst_pad_event_default):
8689 add fall trhu comment
8691 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8692 (gst_registry_binary_initialize_magic),
8693 (gst_registry_binary_save_string),
8694 (gst_registry_binary_save_pad_template),
8695 (gst_registry_binary_save_feature),
8696 (gst_registry_binary_save_plugin),
8697 (gst_registry_binary_write_cache),
8698 (gst_registry_binary_check_magic),
8699 (gst_registry_binary_load_pad_template),
8700 (gst_registry_binary_load_feature),
8701 (gst_registry_binary_load_plugin),
8702 (gst_registry_binary_read_cache):
8703 comment typo and formatting
8705 * gst/gstutils.c: (gst_element_state_get_name),
8706 (gst_element_state_change_return_get_name):
8707 remove obsolete breaks
8709 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8710 add FIXME 0.11 and remove cpp comment
8712 2007-01-29 Edward Hervey <edward@fluendo.com>
8714 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8715 Fix print statement in an even more portable way.
8717 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8719 * docs/gst/gstreamer-sections.txt:
8721 API: add GST_ROUND_DOWN_* macros (#401781).
8723 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8725 * docs/gst/gstreamer.types.in:
8726 * gst/gstregistry.c: (gst_registry_class_init):
8727 Document registry signals and make gtk-doc pick them up (#401381).
8729 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8731 * docs/pwg/building-testapp.xml:
8732 Add some audioconverts and audioresample to the pipeline, and some
8733 more comments and error handling.
8735 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8737 * docs/manual/manual.xml:
8741 2007-01-26 Wim Taymans <wim@fluendo.com>
8743 * gst/gstcaps.c: (gst_static_caps_get):
8744 Init caps flags too.
8746 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8748 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8750 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8751 If not using mmap'ed files try to seek to the end instead of the
8752 start to determine whether we can seek at all. This fixes the case
8753 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8754 seeks for everything afterwards fail. Fixes #400656
8756 2007-01-25 Wim Taymans <wim@fluendo.com>
8758 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8759 Add some refcount debugging.
8760 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8761 in multiple streaming threads.
8763 2007-01-25 Wim Taymans <wim@fluendo.com>
8765 Patch by: David Schleef <ds at schleef dot org>
8767 * docs/libs/gstreamer-libs-sections.txt:
8768 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8769 * libs/gst/base/gstadapter.h:
8770 API: gst_adapter_copy() that can reduce the amount of memcpy when
8771 getting data from the adapter. Fixes #388201.
8773 2007-01-25 Edward Hervey <edward@fluendo.com>
8775 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8776 In print statements, "%x" is for guint. Fixes build on macosx.
8778 2007-01-24 Edward Hervey <edward@fluendo.com>
8780 * plugins/elements/gstmultiqueue.c:
8781 (gst_multi_queue_loop):
8783 (single_queue_overrun_cb), (single_queue_underrun_cb),
8784 (single_queue_check_full), (gst_single_queue_new):
8785 Implement single queue growth system.
8786 This uses the extra-size properties, and will grow single queues by
8787 that much if one goes full whereas there are others empty. This is
8788 called extra-mode in the code.
8789 When a single queue's levels go back below the initial max-size
8790 limits, it is no longer in extra-mode. This is to ensure we don't
8791 consume too much memory.
8794 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8796 * gst/gst.c: (gst_init_get_option_group):
8797 Make warning about late g_thread_init() calls a bit more explicit,
8798 so that it's more obvious to application developers what they need
8799 to do if a user files a bug against their application.
8801 2007-01-22 Edward Hervey <edward@fluendo.com>
8803 * plugins/elements/gstmultiqueue.c:
8804 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8805 Remove previous hack of unsetting the flushing flag for the source pad
8806 instead of activating it. Instead, fix the source pad activate function
8807 so that it no longer depends on having a parent set or not.
8809 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8811 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8813 * docs/manual/basics-bus.xml:
8814 Fix example code, gst_element_unref() doesn't exist any longer.
8816 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8818 Patch by: Mark Nauwelaerts <manauw at skynet be>
8821 Fix two docs typoes (#399094).
8823 2007-01-19 Edward Hervey <edward@fluendo.com>
8825 * docs/faq/gst-uninstalled:
8826 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8827 depending on libgstbaseutils can work in uninstalled environment.
8829 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8832 * gst/gsttagsetter.c:
8833 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8834 statement for new tag.
8836 2007-01-17 Edward Hervey <edward@fluendo.com>
8838 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8839 When dynamically creating single queues, activate sinkpad before adding
8841 We should be doing the same thing for the source pad, but we can't
8842 since it would call a method which needs the parent to be set in order
8843 to work propertly. Instead of activating the source pad, we just unset
8844 the flushing flag, which is the minimal requirement for adding a pad
8845 to an element in a state greater than READY.
8847 2007-01-17 Edward Hervey <edward@fluendo.com>
8849 * docs/faq/gst-uninstalled:
8850 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8853 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8855 * tests/check/gst/gstabi.c:
8856 * tests/check/gst/struct_hppa.h:
8857 * tests/check/libs/libsabi.c:
8858 * tests/check/libs/struct_hppa.h:
8859 Add ABI structs for HPPA (see #393796).
8861 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8863 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8864 Actually write ABI structs to the file specified in the GST_ABI
8865 environment variable, as the message we print claims we would.
8867 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8869 * tests/check/gst/gsttask.c:
8872 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8874 * gst/gsttaglist.c: (_gst_tag_initialize):
8875 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8876 previous two entries.
8878 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8880 * docs/gst/gstreamer-sections.txt:
8881 * gst/gsttaglist.c: (_gst_tag_initialize):
8883 Add tag support for beat-per-minute.
8885 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8887 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8888 (gst_registry_binary_initialize_magic),
8889 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8890 (gst_registry_binary_save_pad_template),
8891 (gst_registry_binary_save_feature),
8892 (gst_registry_binary_save_plugin),
8893 (gst_registry_binary_write_cache),
8894 (gst_registry_binary_check_magic),
8895 (gst_registry_binary_load_pad_template),
8896 (gst_registry_binary_load_feature),
8897 (gst_registry_binary_load_plugin),
8898 (gst_registry_binary_read_cache):
8899 * gst/gstregistrybinary.h:
8900 Use glib types, cleanup comments, impement interfaces and uri-types.
8902 2007-01-13 Andy Wingo <wingo@pobox.com>
8904 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8905 getrange() to return buffers with other caps, while we fix
8906 demuxers and typefind, or otherwise change part-negotiation.txt.
8908 2007-01-12 Andy Wingo <wingo@pobox.com>
8910 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8911 Factor start/stop into this private function instead of partially
8912 in activate functions and partially in the change_state function.
8913 Fixes setup before the element has changed from READY->PAUSED, as
8914 is the case in pull-mode pipelines.
8915 (gst_base_transform_sink_activate_push)
8916 (gst_base_transform_src_activate_pull): Refactor to use
8917 gst_base_transform_activate().
8918 (gst_base_transform_change_state): Removed, not needed any more.
8920 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8921 Truncate before fixating.
8923 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8924 Don't set_caps() if the result of fixating is ANY, as it's not
8925 supported, and not necessary in the case of a link with no
8926 template caps on either side. Fixes tests/check/libs/basesrc in
8927 some pull-mode tests.
8929 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8930 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8931 (gst_base_transform_src_activate_pull):
8932 Track the activation mode.
8933 (gst_base_transform_setcaps): In pull mode, when activating the
8934 src pad, after activating the sink pad, activate the sink pad's
8935 peer, as discussed in part-negotiation.txt.
8937 * libs/gst/base/gstbasesrc.h:
8938 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8939 vmethod, as in basesink.
8941 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8943 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8944 mode, first proxy the setcaps to the peer pad.
8945 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8947 (gst_base_sink_default_activate_pull): Rename from
8948 gst_base_sink_activate_pull.
8949 (gst_base_sink_negotiate_pull): New function, performs negotiation
8950 in pull mode before calling ::activate_pull().
8951 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8952 vmethod instead of the default implementation. I have no idea how
8953 this worked before. Negotiate before calling activate_pull.
8955 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8956 sink pads in pull mode. In addition to being correct, fixes
8957 filesrc ! decodebin ! identity ! fakesink.
8958 (gst_pad_get_range, gst_pad_pull_range): Don't call
8959 gst_pad_set_caps() if the caps changes; instead error out with
8960 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8962 2007-01-12 Andy Wingo <wingo@pobox.com>
8964 * docs/design/part-negotiation.txt: Update with more policy.
8966 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8968 * libs/gst/check/gstbufferstraw.h:
8969 * libs/gst/check/gstcheck.h:
8970 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8973 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8975 * tests/check/Makefile.am:
8976 * tests/check/gst/.cvsignore:
8977 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8978 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8979 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8980 (GST_START_TEST), (gst_tag_setter_suite):
8981 Add minimal unit test for beforementioned GstTagSetter bug.
8983 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8985 Patch by: René Stadler <mail at renestadler dot de>
8987 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8988 gst_tag_list_merge() returns a new list, so it's not the best idea
8989 to ingore its return value. Effectively meant that tags could only
8990 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8991 Also add function guard to require a non-NULL taglist as input (has
8992 always been so due to gst_tag_list_copy(), just making it explicit).
8994 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8996 * docs/random/draft-missing-plugins.txt:
8997 Some additions: mention new API that is supposed to be used at the
8998 various stages; short blob about new gst-inspect introspection
8999 option; mention potential future problem with plugins that have
9000 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9002 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9004 * tools/gst-inspect.c:
9005 (print_plugin_automatic_install_info_codecs),
9006 (print_plugin_automatic_install_info_protocols),
9007 (print_plugin_automatic_install_info), (main):
9008 Add --print-plugin-auto-install-info option to gst-inspect, so we can
9009 introspect plugin files and get machine-parsable output that corresponds
9010 to the last bit of the missing-plugin installer string (small gotcha:
9011 doesn't take into account ranks).
9013 2007-01-11 Stefan Kost <ensonic@users.sf.net>
9016 * docs/gst/gstreamer-sections.txt:
9018 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9019 (gst_registry_lookup_locked):
9020 * gst/gstregistry.h:
9021 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9022 (gst_registry_binary_initialize_magic),
9023 (gst_registry_binary_save_string),
9024 (gst_registry_binary_save_pad_template),
9025 (gst_registry_binary_save_feature),
9026 (gst_registry_binary_save_plugin),
9027 (gst_registry_binary_write_cache),
9028 (gst_registry_binary_check_magic),
9029 (gst_registry_binary_load_pad_template),
9030 (gst_registry_binary_load_feature),
9031 (gst_registry_binary_load_plugin),
9032 (gst_registry_binary_read_cache):
9033 * gst/gstregistrybinary.h:
9034 * gst/gstregistryxml.c: (load_feature),
9035 (gst_registry_xml_read_cache):
9036 commit binary registry (disabled by default, see #359653)
9038 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9040 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9041 Fix 'make check' too.
9043 2007-01-10 Andy Wingo <wingo@pobox.com>
9045 * docs/design/part-negotiation.txt: Fix a typo, add a couple
9048 * docs/design/part-negotiation.txt: Update with, um, one way that
9049 pull-mode negotiation might work?
9052 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9053 that the pad must be a src pad; makes sense to call it the other
9054 way in pull mode, and the logic is symmetric anyway.
9056 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
9058 * plugins/elements/gstfilesink.c:
9059 Include <stdio.h> for fseeko().
9061 2007-01-10 Wim Taymans <wim@fluendo.com>
9065 Reserve LATENCY event.
9067 2007-01-09 Wim Taymans <wim@fluendo.com>
9069 * docs/design/draft-latency.txt:
9072 2007-01-09 Wim Taymans <wim@fluendo.com>
9074 * docs/design/draft-latency.txt:
9078 * gst/gststructure.c:
9082 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9084 * tests/check/.cvsignore:
9085 Ignore test-registry.xml as well.
9087 2007-01-09 Wim Taymans <wim@fluendo.com>
9089 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9090 unref data at the end when we are done with the pad.
9092 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9094 * docs/gst/gstreamer-sections.txt:
9095 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9096 (init_post), (gst_deinit), (gst_update_registry):
9098 API: add gst_update_registry() (#391296).
9100 * tests/check/Makefile.am:
9101 * tests/check/gst/gstregistry.c:
9102 * tests/check/gst/.cvsignore:
9103 Simple unit test for the above.
9105 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9107 * gst/gstregistry.c: (gst_registry_scan_path_level):
9108 Plugin extension on HP-UX is .sl, add that to the list of approved
9109 plugin extensions (see #393796).
9111 * tests/check/gst/gstpad.c: (GST_START_TEST):
9112 ulong => gulong. Fixes compilation with HP-UX compiler.
9114 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9115 Fix compilation if valgrind headers are not available.
9117 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9119 * win32/common/libgstreamer.def:
9120 Add new exported function.
9121 * win32/vs6/libgstbase.dsp:
9122 Add gstdataqueue.c to the build.
9123 * win32/vs6/libgstcoreelements.dsp:
9124 Add gstmultiqueue.c to the build.
9126 2007-01-06 Andy Wingo <wingo@pobox.com>
9128 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9129 activate_pull(), providing for a way to specialize the process of
9130 spawning a thread to pull on the sink pad. There is a default
9133 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9134 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9135 (gst_base_sink_init): Renamed pad activation functions (inserting
9136 "_pad" in their names). Refactor to use the new activate_pull
9137 vmethod, as appropriate.
9138 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9139 default activate_pull function to start a task pulling from the
9140 sink pad, as before.
9142 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9143 on the pads if necessary, as in push()/chain(). Update docs.
9144 Shouldn't affect existing pull() usage as it is currently only
9145 being used on buffers without caps.
9147 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9149 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9151 Call g_thread_init() first thing in gst_init() / gst_check_init().
9152 When initialisation is done via gst_init_get_option_group() and
9153 GOption parsing, issue a warning if the GLib thread system has not
9154 been initialised yet by the time gst_init_get_option_group() is
9155 called, as it's quite likely other GLib functions such as
9156 g_option_context_new() have been called already then, and
9157 g_thread_init() must be called before any other GLib function. The
9158 application in question must be fixed in that case, since memory
9159 corruption might happen otherwise.
9160 We issue the warning because even if the GLib folks decide to work
9161 around the problem on their end in future, this is still an issue
9162 with all GLib versions >= 2.10.0, so we should warn until we depend
9163 on a GLib version we know to be safe.
9164 Update documentation as well.
9167 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9169 * tools/gst-inspect.c: (main):
9170 * tools/gst-launch.c: (main):
9171 * tools/gst-typefind.c: (main):
9172 * tools/gst-xmlinspect.c: (main):
9173 Call g_thread_init() really really early, before any other GLib
9174 function (see #342564 and recent discussion on gtk-devel-list).
9176 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9178 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9180 * gst/gst_private.h:
9181 * gst/gstconfig.h.in:
9183 On win32, all the __declspec stuff for symbol exporting is
9184 apparently only needed with MSVC, but doesn't work with MingW.
9185 Fixes compilation with MingW and #391909.
9187 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9189 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9190 Change some GST_ERROR_OBJECT that aren't really errors to
9191 GST_WARNING_OBJECT in order to reduce terminal spam.
9193 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9195 * tests/check/Makefile.am:
9196 disable test again, as there seem to be still race problems
9198 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9200 * tests/check/Makefile.am:
9201 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9202 (GST_START_TEST), (queue_suite):
9203 enable queue test again, add tests for the leaky behaviour
9205 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9208 * tests/examples/Makefile.am:
9209 Compile adapter test/example only if the required headers are
9210 available (fixes #391915).
9212 2007-01-01 David Schleef <ds@schleef.org>
9215 Restore the previous signal handler for SIGSEGV instead of
9216 setting to default, since we may have stolen it away from
9217 someone. (i.e., Mono)
9219 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9221 * docs/random/draft-missing-plugins.txt:
9222 Some small additions and clarifications.
9224 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9226 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9227 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9228 since that can lead to random memory corruptions and crashes
9229 (may or may not be related to #383244, #386711, and #386711).
9231 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9233 * tests/check/.cvsignore:
9234 * tests/check/Makefile.am:
9235 sync .cvsignome and CLEANFILES
9237 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9239 * tests/check/Makefile.am:
9242 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9244 * docs/design/part-states.txt:
9245 two tiny additional comments
9247 * gst/gststructure.c:
9250 * tests/check/Makefile.am:
9251 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9253 disable test for now, unless it gets fixed
9255 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9257 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9259 fix race in underrun test
9261 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9263 * tests/check/elements/.cvsignore:
9266 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9268 try to narrow test failure
9270 2006-12-21 David Schleef <ds@schleef.org>
9272 * plugins/elements/gstfakesrc.c:
9273 Use g_random_int_range(), since it produces better random
9274 numbers in a range than almost-correct floating point code.
9276 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9278 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9279 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9280 (gst_check_teardown_sink_pad):
9281 do not automatically (de)activate pads
9283 * tests/check/Makefile.am:
9284 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9285 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9286 add new, yet simple tests for queue
9288 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9289 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9290 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9292 * tests/check/elements/identity.c: (cleanup_identity):
9293 consistent pad (de)activation
9295 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9297 Patch by: Sebastian Dröge <slomo ubuntu com>
9299 * libs/gst/base/gstcollectpads.c:
9300 Fix two doc typos (#387866).
9302 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9304 * docs/manual/advanced-dparams.xml:
9305 Fix typo (g_object_control_properties() doesn't exist).
9307 2006-12-19 Edward Hervey <edward@fluendo.com>
9309 * gst/gstsegment.c: (gst_segment_set_seek):
9310 Fine tune the cases where the segment start/stop values are really
9312 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9313 Add tests for the return values of gst_segment_set_seek().
9315 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9320 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9322 Fix incorrect documentation and flesh it out a bit more.
9323 Set default values for the max properties on the GParamSpec as well,
9324 so it shows up correctly in gst-inspect.
9326 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9328 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9329 Correct docs of queue, add more detail and crosslink it more.
9331 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9333 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9334 Print additional debug info when the stream isn't perfectly
9335 timestamped; don't try to use invalid durations.
9337 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9339 * docs/design/Makefile.am:
9340 Dist new design docs.
9342 2006-12-16 Wim Taymans <wim@fluendo.com>
9344 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9346 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9347 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9348 (gst_collect_pads_stop), (gst_collect_pads_event),
9349 (gst_collect_pads_chain):
9350 * libs/gst/base/gstcollectpads.h:
9351 Add refcounting to the collectpads data so we can track when it's safe
9352 to free the data. Fixes #383382.
9354 2006-12-15 Wim Taymans <wim@fluendo.com>
9356 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9357 (gst_collect_pads_remove_pad):
9358 Automatically activate/deactivate pads when they are added to a
9359 started/stoped collectpads.
9361 2006-12-15 Wim Taymans <wim@fluendo.com>
9363 * gst/gstelement.c: (gst_element_add_pad):
9364 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9365 * gst/gstpad.c: (gst_pad_init):
9366 Set pads to FLUSHING when they are created. Check, warn and fix when a
9367 demuxer adds an inactive pad to itself when running. Fixes #339326.
9369 2006-12-15 Wim Taymans <wim@fluendo.com>
9371 * gst/gstelement.c: (gst_element_class_init),
9372 (gst_element_default_send_event), (gst_element_send_event),
9373 (gst_element_default_query), (gst_element_query):
9374 Expose default element send_event and query handling as vmethods that
9375 subclasses can chain up to.
9377 2006-12-15 Wim Taymans <wim@fluendo.com>
9379 * gst/gstelement.c: (gst_element_set_state_func):
9380 Small documentation fixes.
9382 2006-12-15 Wim Taymans <wim@fluendo.com>
9384 * docs/design/draft-latency.txt:
9385 Checked in draft for handling latency in pipelines.
9387 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9391 * gstreamer.spec.in:
9394 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9396 * gst/gst.c: (init_pre), (init_post):
9397 init_pre() and init_post() might be called via our GOptionGroup or
9398 from gst_init(), and we should skip both of them if we've already
9399 been initialised, otherwise we will init some things twice or add
9400 two default log functions.
9402 2006-12-13 Edward Hervey <edward@fluendo.com>
9404 * docs/manual/basics-bus.xml:
9405 No, gst_main_loop does not exist. Its g_main_loop.
9406 Discovered by somebody who abused the copy-paste technique of coding :)
9408 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9410 * gst/gstghostpad.c:
9411 Log ghostpad debug stuff to the GST_PADS category as well rather
9412 than just to the default category.
9414 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9417 * gst/gst.c: (init_pre):
9418 Add some basic system details such as OS and architecture
9419 to the debug output if possible, courtesy of uname().
9421 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9423 * docs/gst/running.xml:
9424 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9425 environment variables.
9427 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9429 * tests/check/gst/gstbin.c: (GST_START_TEST):
9430 It is acceptable to have a refcount of 2 or 3 at this point in the
9431 test, because the pipeline might be just posting its state_change
9432 message. The next line then waits for that message to appear using
9433 bus_poll, so that should be fine too.
9435 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9437 * gst/gst.c: (ensure_current_registry_forking):
9438 Ignore EINTR when reading from the child registry pipe.
9439 Explicitly ignore the return value from close, since it makes no
9442 * gst/gstminiobject.c: (gst_mini_object_ref),
9443 (gst_mini_object_unref):
9444 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9446 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9447 When removing cached plugins, remove their features too, so they're
9448 not visible after they've disappeared.
9450 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9451 In the unlikely case that we are linking pads with no parents, don't
9452 crash trying to get the non-existent parent bin.
9454 * gst/parse/grammar.y:
9455 Output debug in the PIPELINE category
9457 2005-03-08 Wim Taymans <wim@fluendo.com>
9459 Patch by: René Stadler <mail at renestadler dot de>
9461 * gst/gstclock.c: (gst_clock_new_periodic_id):
9462 Reject invalid clock times for interval of periodic ids.
9465 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9467 * gst/gstelementfactory.c: (gst_element_factory_create):
9468 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9469 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9470 * tools/gst-inspect.c: (print_element_info):
9471 Fix refcounting of gst_plugin_feature_load to match the docs.
9474 2006-12-07 Wim Taymans <wim@fluendo.com>
9476 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9477 (gst_base_sink_get_position):
9478 Improve debugging of events.
9480 2006-12-07 Wim Taymans <wim@fluendo.com>
9482 Patch by: René Stadler <mail at renestadler dot de>
9484 * gst/gstclock.c: (gst_clock_id_wait):
9485 Make period ids add the interval to the origial requested time instead
9486 of the possibly updated time which can be wrong when there are multiple
9487 waiters for the same id. Fixes #382592.
9489 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9490 (gst_system_clock_id_wait_jitter_unlocked),
9491 (gst_system_clock_id_wait_jitter):
9492 Fix restart in the async notify thread when an async entry is added to
9493 the front of the list. Fixes #381492.
9495 * tests/check/gst/gstsystemclock.c: (store_callback),
9496 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9497 Added test for multiple async waits.
9498 Added test for async wait order.
9500 2006-12-07 Wim Taymans <wim@fluendo.com>
9502 * gst/gstbin.c: (gst_bin_query):
9503 Add some more docs about the POSITION query.
9505 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9508 Bump version nano - back to CVS.
9510 === release 0.10.11 ===
9512 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9515 releasing 0.10.11, "Love never runs on time"
9517 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9519 * win32/common/libgstbase.def:
9520 * win32/common/libgstreamer.def:
9521 * win32/vs8/libgstbase.vcproj:
9522 * win32/vs8/libgstcoreelements.vcproj:
9523 * win32/vs8/libgstreamer.vcproj:
9524 Fix compilation on win32 under VS8
9525 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9526 Partially fixes #381175
9528 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9530 * gst/gstvalue.c: (gst_value_compare_fraction):
9531 If someone is foolish enough to compare 2 fractions with denominator =
9532 0, return UNORDERED rather than aborting.
9534 2006-11-28 Edward Hervey <edward@fluendo.com>
9536 * libs/gst/base/Makefile.am:
9537 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9538 (gst_data_queue_base_init), (gst_data_queue_class_init),
9539 (gst_data_queue_init), (gst_data_queue_new),
9540 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9541 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9542 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9543 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9544 (gst_data_queue_set_flushing), (gst_data_queue_push),
9545 (gst_data_queue_pop), (gst_data_queue_drop_head),
9546 (gst_data_queue_set_property), (gst_data_queue_get_property):
9547 * libs/gst/base/gstdataqueue.h:
9548 New GstDataQueue object for threadsafe queueing. Most useful for
9549 elements that need some queueing functionnality.
9550 * docs/libs/gstreamer-libs-docs.sgml:
9551 * docs/libs/gstreamer-libs-sections.txt:
9552 Insert documentation for GstDataQueue
9553 * plugins/elements/Makefile.am:
9554 * plugins/elements/gstelements.c:
9555 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9556 (gst_multi_queue_class_init), (gst_multi_queue_init),
9557 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9558 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9559 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9560 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9561 (gst_multi_queue_loop), (gst_multi_queue_chain),
9562 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9563 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9564 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9565 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9566 (wake_up_next_non_linked), (compute_next_non_linked),
9567 (single_queue_overrun_cb), (single_queue_underrun_cb),
9568 (single_queue_check_full), (gst_single_queue_new):
9569 * plugins/elements/gstmultiqueue.h:
9570 New multiqueue element, using GstDataQueue. Used for queuing multiple
9572 Closes #344639 and #347785
9574 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9576 * docs/pwg/advanced-types.xml:
9577 add more missing type details
9579 * tools/gst-run.c: (main):
9580 remove unused variable
9582 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9584 * docs/libs/Makefile.am:
9585 * docs/libs/gstreamer-libs.types:
9586 add types of base classes to enable gobject specific stuff in the docs
9588 * docs/random/ensonic/embedded.txt:
9589 more ideas about isolating platform specific things
9591 2006-11-20 Wim Taymans <wim@fluendo.com>
9593 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9595 * libs/gst/check/gstcheck.h:
9596 Fix compilation and running against 0.9.4. Fixes #377332.
9598 2006-11-20 Wim Taymans <wim@fluendo.com>
9600 * gst/gstsegment.c: (gst_segment_set_seek),
9601 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9602 (gst_segment_to_running_time):
9603 Fix boundary checking in to_running_time() and to_stream_time().
9606 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9607 stream and running time can now be calculated for the complete
9610 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9612 * gst/gstpad.c: (gst_pad_push_event):
9613 Can't access event structure after giving away ownership of
9616 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9618 * docs/random/ensonic/embedded.txt:
9619 * docs/random/ensonic/profiling.txt:
9620 * docs/random/ensonic/receipies.txt:
9623 2006-11-13 Wim Taymans <wim@fluendo.com>
9625 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9628 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9630 2006-11-13 Wim Taymans <wim@fluendo.com>
9632 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9634 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9635 Store new length in segment duration so we don't keep on calling the
9636 potentially expensize get_size() call. Fixes #370865.
9638 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9640 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9642 * win32/common/libgstreamer.def:
9643 Add two missing symbols (#366492).
9645 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9647 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9648 (gst_adapter_take_buffer):
9649 Fix format string to use all its arguments.
9650 Remove useless >= check on a guint
9652 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9654 * tests/examples/adapter/.cvsignore:
9655 Ignore build file as commanded by the build-bot
9657 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9659 * tests/examples/adapter/Makefile.am:
9660 * tests/examples/adapter/adapter_test.c: (run_test_take),
9661 (run_test_take_buffer), (run_tests), (main):
9663 Add new files from the previous commit
9665 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9669 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9670 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9671 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9672 * libs/gst/base/gstadapter.h:
9673 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9674 (GST_START_TEST), (gst_adapter_suite):
9675 * tests/examples/Makefile.am:
9676 Do some optimisation work in GstAdapter to avoid copies in more cases.
9677 It could still do slightly better by merging buffers when
9678 gst_buffer_is_span_fast is true, but is already faster.
9680 Also, avoid traversing a single-linked list to append each incoming
9681 buffer inside the adapter.
9683 Add simple test app that times the adapter behaviour in different
9684 situations, and extend the unit test to check that bytes enter and
9685 exit the adapter in their original order.
9687 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9689 * docs/random/draft-missing-plugins.txt:
9690 Update: use element message instead of adding a new message
9691 type to the core; don't provide GStreamer API to initiate the
9692 plugin download, just provide API to compose the strings needed
9693 and let an external libgimmestuff handle the rest.
9695 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9697 * tools/gst-inspect.c: (print_element_properties_info):
9698 Print a string instead of 'unknown type' for GValueArray properties
9700 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9702 * docs/random/draft-missing-plugins.txt:
9705 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9707 * tests/examples/typefind/typefind.c: (type_found), (main):
9708 Make typefind element example work again (#371894); add a
9711 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9713 * docs/random/draft-missing-plugins.txt:
9714 Commit initial draft about how to deal with missing plugins,
9715 needs work (API too).
9717 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9719 * docs/pwg/advanced-types.xml:
9720 documents the new caps elements (see #363118)
9722 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9724 * gst/gstplugin.c: (gst_plugin_load_file):
9725 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9726 (gst_file_src_map_region), (gst_file_src_start):
9727 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9728 (gst_file_index_commit):
9729 Use g_strerror() instead of strerror() - we want UTF-8.
9731 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9733 Patch by: Peter Kjellerstedt <pkj at axis com>
9735 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9736 Another printf fix (#371493).
9738 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9740 * tests/check/gst/gsttag.c:
9741 relicence (okay with author=company)
9743 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9745 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9746 (gst_pad_push_event):
9747 Enhance debug and improve docs
9752 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9754 * docs/random/ensonic/distributed.txt:
9755 * docs/random/ensonic/profiling.txt:
9758 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9760 * docs/gst/gstreamer-sections.txt:
9761 add new API and fix the build
9763 * gst/gstbin.c: (gst_bin_recalc_state):
9764 * gst/gstelement.c: (gst_element_message_full),
9765 (gst_element_get_state_func), (gst_element_set_state_func):
9766 use new API and improve logging
9768 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9770 API: add function to get StateChangereturn names to improve logs
9772 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9774 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9775 I'm considering shooting the next person to put strerror stuff
9776 in the translateable part of the message.
9778 2006-11-03 Wim Taymans <wim@fluendo.com>
9780 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9781 Get the type and printf conversion specifiers right.
9783 2006-11-03 Wim Taymans <wim@fluendo.com>
9785 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9787 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9788 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9789 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9790 Some small cleanups. Improve debugging.
9792 Signal all waiting threads with a broadcast instead of just one.
9795 2006-11-03 Wim Taymans <wim@fluendo.com>
9797 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9798 (gst_fd_src_create):
9800 Only update fd when it's different from the old.
9802 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9804 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9805 Printf fixes for PPC/OSX, take two (#369366).
9807 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9809 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9811 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9812 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9813 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9814 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9815 don't cast to long long for portability reasons, but use
9816 GLib's types instead.
9818 2006-10-30 Michael Smith <msmith@fluendo.com>
9820 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9821 Get the arguments to lseek() the right way around.
9824 2006-10-30 Wim Taymans <wim@fluendo.com>
9826 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9829 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9831 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9833 Patch by: Kjartan Maraas <kmaraas at gnome org>
9835 * docs/design/part-MT-refcounting.txt:
9836 * docs/random/wtay/capsnego2-docs:
9839 Typo fixes (#366212).
9841 2006-10-28 Wim Taymans <wim@fluendo.com>
9843 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9846 * win32/common/libgstbase.def:
9847 * win32/common/libgstreamer.def:
9848 * win32/vs8/libgstbase.vcproj:
9849 * win32/vs8/libgstcontroller.vcproj:
9850 Add needed entries in .def files.
9852 Rearrange def files in vs8 solutions. Fixes #366286.
9854 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9856 * win32/common/gstconfig.h:
9857 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9858 hand-made win32 gstconfig.h. Fixes #366321.
9860 2006-10-27 Wim Taymans <wim@fluendo.com>
9862 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9863 (gst_ghost_pad_new_full):
9864 Make acceptcaps return TRUE when we don't have a target, just like
9867 2006-10-27 Wim Taymans <wim@fluendo.com>
9869 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9870 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9872 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9874 * gst/gststructure.c: (gst_structure_id_set_value):
9875 If someone tries to set a non-UTF8 string field on a structure,
9876 don't just print a warning, but also ignore the request and do
9877 not change/add that field to the structure.
9879 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9882 2006-10-25 David Schleef <ds@schleef.org>
9885 g_hash_table_insert() needs a cast to a non-const pointer duh.
9887 2006-10-25 David Schleef <ds@schleef.org>
9891 Change name parameter of _gst_debug_register_funcptr to const
9892 to reflect the constness of its use in the function as well
9893 as to quiet a gcc warning.
9895 2006-10-25 Edward Hervey <edward@fluendo.com>
9897 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9898 Don't push the buffer if it's empty.
9901 2006-10-24 Wim Taymans <wim@fluendo.com>
9906 * libs/gst/base/gstbasetransform.c:
9907 (gst_base_transform_sink_eventfunc):
9908 Debug segment values *after* updating them as this is more
9911 2006-10-23 Wim Taymans <wim@fluendo.com>
9913 * docs/design/part-events.txt:
9916 * docs/design/part-block.txt:
9917 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9918 (gst_pad_push_event):
9919 Revert BLOCKING patch, it tries to be smart without really having a
9920 clear idea what or how. So, now we discard all FLUSHING events again on
9921 a blocking pad. Should fix gnonlin again.
9923 2006-10-23 Wim Taymans <wim@fluendo.com>
9925 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9927 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9928 (gst_base_src_start), (gst_base_src_activate_push):
9929 Make sure size is always initialized. Fixes #364388.
9931 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9933 * docs/random/ensonic/distributed.txt:
9934 add some ideas about doing distributed processing
9936 * docs/random/ensonic/profiling.txt:
9937 get_rusage look promising
9939 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9941 * docs/manual/basics-helloworld.xml:
9942 Add a cast in example to fix compile warning
9944 2006-10-18 Wim Taymans <wim@fluendo.com>
9946 * gst/gstsegment.c: (gst_segment_set_last_stop),
9947 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9948 Relax arg checking again, -1 is allowed.
9950 2006-10-18 Wim Taymans <wim@fluendo.com>
9952 * gst/gstsegment.c: (gst_segment_set_last_stop),
9953 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9954 _set_last_stop() must be with a value != -1
9955 A _TYPE_SET to -1 means seek to 0.
9956 Calc last_stop correctly for negative rates.
9957 Make sure we work with positive durations when updating a segment.
9959 2006-10-18 Wim Taymans <wim@fluendo.com>
9961 * docs/design/part-live-source.txt:
9965 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9968 Add an explicit cast to GstBuffer** to keep old code that added an
9969 explicit cast to GstMiniObject** for gst_mini_object_replace()
9970 compiling without warning.
9972 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9974 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9975 check for validity of dates
9977 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9979 * docs/gst/gstreamer-sections.txt:
9980 Forgot this one, makes gtk-doc shut up.
9982 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9984 Patch by: Peter Kjellerstedt <pkj at axis com>
9987 Don't define xmlNodePtr to gpointer if the core was built with
9988 --disable-loadsave and --disable-registry, this will break
9989 applications that want to use libxml2 but are buildling against a
9990 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9991 instead so we don't have to mess with the libxml2 namespace
9994 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9997 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9998 type-punned pointer warnings.
10000 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
10002 * gst/gstelement.h:
10003 Add casts to the correct return type to state <=> state transition
10006 2006-10-16 Stefan Kost <ensonic@users.sf.net>
10008 * docs/design/part-live-source.txt:
10009 describe howto handle latency
10011 * docs/random/ensonic/profiling.txt:
10014 * tools/gst-plot-timeline.py:
10015 fix log parsing for solaris, remove unused function
10017 2006-10-16 Wim Taymans <wim@fluendo.com>
10019 * docs/design/part-trickmodes.txt:
10021 Update some docs regarding reverse playback.
10023 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
10025 Patch by: Marcus Granado <mrc dot gran at gmail com>
10027 * win32/vs8/grammar.vcproj:
10028 Error out with a warning if glib-genmarshal.exe is not in path,
10029 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10031 2006-10-13 Wim Taymans <wim@fluendo.com>
10033 * gst/gstsegment.c: (gst_segment_set_seek):
10034 When seeking to stop -1, set last_stop (current position) to the
10035 duration of the segment.
10037 2006-10-13 Wim Taymans <wim@fluendo.com>
10039 * gst/gstelement.h:
10040 Clarify _NO_PREROLL a bit more.
10045 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10046 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10047 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10048 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10049 due to wrong locking order. Fixes #361769.
10050 Remove some redundant/misplaced checks in pad_block.
10052 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10053 For negative rates, count backwards from the duration.
10055 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
10057 * gst/gsterror.c: (_gst_library_errors_init):
10058 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10059 up with something better).
10061 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10063 * win32/vs6/libgstreamer.dsp:
10064 * win32/vs7/libgstreamer.vcproj:
10065 * win32/vs8/libgstreamer.vcproj:
10066 Don't reference glib-compat.c which is currently not used and not
10067 disted; add gstquark.c which was recently added. Fixes #361730.
10069 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10071 * win32/common/libgstbase.def:
10072 * win32/common/libgstcontroller.def:
10073 * win32/common/libgstreamer.def:
10074 Add gst_caps_merge() and a bunch of other recently-added functions.
10077 2006-10-11 Wim Taymans <wim@fluendo.com>
10079 * docs/plugins/gstreamer-plugins.args:
10080 * docs/plugins/inspect/plugin-coreelements.xml:
10081 * docs/plugins/inspect/plugin-coreindexers.xml:
10082 Update element args.
10084 * gst/gstsystemclock.c:
10085 Small comment update.
10087 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10088 (gst_tee_request_new_pad), (gst_tee_release_pad),
10089 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10090 (gst_tee_sink_activate_pull):
10091 * plugins/elements/gsttee.h:
10093 Add default property defines.
10094 Implement release pad function.
10095 Give properties better blubs etc.
10096 Activate pads before adding them to a running tee.
10097 Do simple buffer_alloc on the first requested pad.
10098 Post error when activation fails.
10100 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10102 * gst/gst.c: (ensure_current_registry_forking):
10103 Check return value of write() to make compiler happy.
10105 2006-10-11 Wim Taymans <wim@fluendo.com>
10107 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10109 * plugins/elements/gstqueue.c: (gst_queue_chain):
10110 Recheck queue filledness after signalling the overrun when we're about
10111 to leak downstream because we released the lock when emitting the signal
10112 and the queue could be empty again. Fixes #352345.
10114 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10116 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10117 Fix refcounting here too, just like we did for _new_valist() a few
10118 days ago (#357180) (thanks to René Stadler). Also remove all those
10119 'Since: 0.9' from the gtk-doc blobs.
10121 * tests/check/libs/controller.c: (controller_refcount_new_list),
10122 (gst_controller_suite):
10123 Unit test for the above.
10125 2006-10-10 Wim Taymans <wim@fluendo.com>
10127 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10129 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10130 (gst_pad_save_thyself):
10132 Write pad direction in XML output. Fixes #345496.
10134 2006-10-10 Wim Taymans <wim@fluendo.com>
10136 Patch by: René Stadler <mail at renestadler dot de>
10138 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10139 (gst_controller_new_list), (_gst_controller_dispose),
10140 (_gst_controller_finalize), (_gst_controller_class_init):
10141 Take ref to controlled object so that it cannot disappear.
10144 2006-10-10 Wim Taymans <wim@fluendo.com>
10146 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10147 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10148 (gst_check_teardown_sink_pad):
10149 Activate/deactivate pads in setup/teardown respectively.
10151 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10153 Patch by: Josep Torra Valles <josep@fluendo.com>
10156 Cast values when making gstenumtypes.h. This pacifies Forte
10157 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10158 in the enumeration.
10160 2006-10-09 Wim Taymans <wim@fluendo.com>
10162 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10163 Rename some more @cur to @start to fix docs.
10165 * gst/gstsegment.c: (gst_segment_set_seek):
10167 time and start must always stay in sync as defined in design doc.
10169 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10170 Rename param to fix docs.
10172 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10173 Check that start and time are in sync.
10175 * tests/check/pipelines/parse-launch.c:
10176 (gst_parse_test_element_change_state):
10177 Activate pad before adding to the element.
10179 2006-10-09 Wim Taymans <wim@fluendo.com>
10181 * docs/design/part-qos.txt:
10186 Update seek event docs regarding negative rates.
10187 Rename @cur to @start.
10189 * gst/gstsegment.c: (gst_segment_set_seek):
10190 * gst/gstsegment.h:
10191 Update set_seek docs regarding negative rates.
10192 Correctly update last_stop to @stop when dealing with negative
10194 Rename @cur to @start.
10196 * tests/check/gst/gstpad.c: (GST_START_TEST):
10197 Activate pads before trying to use them.
10199 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10200 (gst_segment_suite):
10201 Add simple check for segments and negative rates.
10203 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10205 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10206 * gst/gsttaglist.h:
10207 * docs/gst/gstreamer-sections.txt:
10208 API: add gst_tag_list_is_empty() (#360467).
10210 * tests/check/gst/gsttag.c: (GST_START_TEST):
10213 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10215 * gst/gstmessage.h:
10216 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10217 a value that doesn't fit on enumeration.
10219 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10221 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10222 Remove local debugging system and use Gstreamer's instead.
10224 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10226 Patch by: Josep Torra Valles <josep@fluendo.com>
10228 * common/m4/gst-error.m4:
10229 Disable warning of statement not reached on Forte.
10230 * gst/gstmessage.h:
10231 Fix warning on Forte (value doesn't fit on enumeration).
10232 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10233 Fix warning on Forte (value doesn't fit on enumeration).
10234 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10235 DEBUG macro says it takes minimum of 2 args and so Forte
10236 complains about the use with just 1 arg.
10237 * plugins/elements/gstfdsink.c:
10238 * plugins/elements/gstfdsrc.c:
10239 * plugins/elements/gstfilesink.c:
10240 * plugins/elements/gstfilesrc.c:
10241 Use correct return type for the uri handler implementations.
10243 All these fix warnings in Forte. Fixes bug #360860.
10245 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10247 * gst/gstelement.h:
10248 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10249 format string, so don't use G_GNUC_PRINTF for those versions.
10251 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10253 * gst/gsttaglist.c: (gst_is_tag_list):
10254 * gst/gsttaglist.h:
10255 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10257 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10258 Small test for the above.
10260 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10262 * gst/gsttaglist.h:
10263 Less tabs, more spaces.
10265 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10268 Those two function declarations do actually belong there, revert
10269 commit from yesterday that turned them intro macros.
10271 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10273 Patch by: Josep Torra Valles <josep@fluendo.com>
10275 * gst/gst.c: (gst_init_get_option_group):
10276 Fix empty declaration and type mismatch.
10277 * gst/gstbin.c: (gst_bin_change_state_func):
10279 * gst/gstelement.c: (gst_element_continue_state),
10280 (gst_element_set_state_func), (gst_element_change_state),
10281 (gst_element_change_state_func):
10282 Fix type mismatches.
10283 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10284 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10285 Cast as appropriate.
10286 * gst/gstobject.c: (gst_class_signal_connect):
10287 Cast as appropriate. The function pointer parameter really
10288 has the wrong type but would break API if we change it.
10290 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10291 order of including string.h.
10292 * gst/gstutils.c: (gst_element_state_get_name):
10293 Remove unreachable line.
10294 * gst/gstxml.c: (gst_xml_parse_doc):
10296 All these caught by Forte.
10298 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10300 Patch by: Josep Torra Valles <josep@fluendo.com>
10302 * common/m4/gst-error.m4:
10304 We need to disable warnings on Forte for empty declarations
10305 due to gst-indent adding ;s to lines that just use macros
10306 where the macro actually doesn't need a ; at end to end
10309 2006-10-06 Wim Taymans <wim@fluendo.com>
10311 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10312 (gst_file_sink_close_file), (gst_file_sink_event),
10313 (gst_file_sink_render):
10314 Add some FIXME for the NEWSEGMENT handling.
10316 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10318 * gst/parse/grammar.y:
10319 Remove static function gst_parse_element_lock as all it does
10320 is return. Looks like cruft from 0.8.
10322 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10324 Patch by: Josep Torra Valles <josep@fluendo.com>
10326 * common/m4/gst-error.m4:
10328 * libs/gst/net/Makefile.am:
10329 Fix a compilation issue with Forte on Solaris. inet_aton is in
10332 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10334 * gst/gstpad.c: (pre_activate):
10335 * gst/gstregistry.c: (gst_registry_scan_path_level):
10336 * gst/gstregistryxml.c: (load_plugin):
10337 * libs/gst/controller/gstcontroller.c:
10338 (gst_controlled_property_set_interpolation_mode):
10339 * libs/gst/dataprotocol/dataprotocol.c:
10340 (gst_dp_packet_from_event_1_0):
10341 * libs/gst/net/gstnetclientclock.c:
10342 (gst_net_client_clock_observe_times):
10343 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10346 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10349 * docs/gst/gstreamer-sections.txt:
10350 * gst/gstconfig.h.in:
10351 * gst/gstelement.h:
10353 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10354 whether we can use G_GNUC_PRINTF in other header files and at
10355 least check the printf format/arguments of debug messages and
10356 GST_ELEMENT_ERROR messages when the printf extension is not
10358 Replace more tabs with spaces in gstinfo.h and remove two spurious
10359 function declarations in GST_DISABLE_DEBUG part with macros.
10361 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10363 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10364 More docs for the sync-message signal (mention that it is not
10365 emitted by default); log message structures of messages posted on
10368 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10370 * gst/gst.c: (ensure_current_registry_forking):
10371 Use a pipe pair to receive status results from the forked child, and
10372 ignore the result from waitpid. Fixes #355499
10374 2006-10-02 Wim Taymans <wim@fluendo.com>
10376 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10377 (gst_ghost_pad_suite):
10380 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10383 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10385 2006-10-02 Edward Hervey <edward@fluendo.com>
10387 * docs/design/part-block.txt:
10388 Further explain the use of flushing on blocked pads.
10389 * docs/gst/gstreamer-sections.txt:
10390 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10391 (gst_pad_push_event):
10393 Added new GstPadFlag : GST_PAD_BLOCKING.
10394 Adds the notion of pads really blocking, which enables to properly
10395 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10397 API: gst_pad_is_blocking()
10398 API: GST_PAD_IS_BLOCKING() macro
10399 API: GST_PAD_BLOCKING GstPadFlag
10401 2006-10-02 Wim Taymans <wim@fluendo.com>
10403 Patch by: mrcgran <mrc.gran at gmail dot com>
10405 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10406 Filter the proxied caps against the padtemplate if we have one.
10408 * gst/gstquery.c: (gst_query_new_segment):
10409 Add include for gstinfo.h so that compilation with
10410 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10412 2006-10-02 Wim Taymans <wim@fluendo.com>
10414 Patch by: Alessandro Decina <alessandro at nnva org>
10416 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10417 (gst_file_sink_set_location), (gst_file_sink_open_file),
10418 (gst_file_sink_close_file), (gst_file_sink_event),
10419 (gst_file_sink_render):
10420 Set file to NULL when closing filesink so that we can set a new filename
10421 in READY. Fixes #358613.
10423 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10425 Patch by: Alessandro Decina <alessandro at nnva org>
10427 * gst/gstevent.c: (_gst_event_copy):
10428 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10429 with event structures by setting the parent refcount address of the
10430 copied structure to the address of the refcount member of the newly
10431 copied event rather than the address of the refcount member of the
10432 original event. Fixes #358737.
10434 * tests/check/gst/gstevent.c: (GST_START_TEST):
10435 Unit test for the above.
10437 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10439 * docs/design/Makefile.am:
10440 Dist some more files.
10442 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10444 * tests/check/libs/controller.c: (GST_START_TEST),
10445 (gst_controller_suite):
10446 Add test for the previous fix; add some more tests
10447 for correct refcounting behaviour; fix a few leaks
10448 in test cases; call gst_controller_init() at start
10451 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10453 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10454 (gst_controller_set_from_list):
10455 Don't g_return_val_if_fail() on timed values with invalid timestamps
10456 inside a critical section without unlocking the mutex. Spotted by
10457 René Stadler. (#357617)
10458 Also, fix up refcounting properly: when returning an existing
10459 controller, we should increase the reference only once and not
10460 once per property and when trying to control a property again
10461 we should also increase the refcount.
10463 2006-09-29 Wim Taymans <wim@fluendo.com>
10465 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10466 * libs/gst/net/gstnettimeprovider.c:
10467 (gst_net_time_provider_thread):
10468 Stop reading commands when EOF as well.
10470 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10471 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10472 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10473 Unify description of the dump property.
10475 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10477 * tests/examples/manual/.cvsignore:
10478 OK, so it's actually cvsignore that needs changing. Stop laughing.
10480 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10482 * tests/examples/manual/Makefile.am:
10483 Gah, declare vars *before* using them
10485 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10487 * gst/gst.c: (init_pre), (scan_and_update_registry),
10488 (ensure_current_registry_nonforking),
10489 (ensure_current_registry_forking), (ensure_current_registry),
10490 (init_post), (gst_debug_help), (gst_deinit):
10491 * gst/gst_private.h:
10492 * gst/gstregistry.c: (gst_registry_finalize),
10493 (gst_registry_remove_features_for_plugin_unlocked),
10494 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10495 (gst_registry_scan_path),
10496 (_priv_gst_registry_remove_cache_plugins),
10497 (_priv_gst_registry_cleanup):
10498 * gst/gstregistry.h:
10499 Re-commit the registry changes, along with an extra fix:
10500 When a cached plugin is encountered at a different file path,
10501 update the stored path in the registry cache so that the parent
10502 process knows where it actually is now when it re-reads the registry
10503 cache. Fixes the thing that broke distcheck with the previous commit.
10505 * tests/check/Makefile.am:
10506 Clean up files named 'core' too when running make clean.
10508 * tests/examples/manual/Makefile.am:
10509 Set up a registry path for running these tests, and clean it properly
10512 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10515 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10516 want gmodule-no-export-2.0.pc instead so that we don't drag in
10517 --export-dynamic on every project that links to GStreamer.
10519 Also, make our export regex only match the start of symbols, rather
10520 than any symbol that contains '_gst' somewhere.
10522 * libs/gst/check/Makefile.am:
10523 The libgstcheck we build does however need export-dynamic, as it
10524 produces some symbols that don't match our _gst... style regex.
10527 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10529 * gst/gst.c: (init_pre), (scan_and_update_registry),
10530 (ensure_current_registry_nonforking),
10531 (ensure_current_registry_forking), (ensure_current_registry),
10532 (init_post), (gst_debug_help), (gst_deinit):
10533 * gst/gst_private.h:
10534 * gst/gstregistry.c: (gst_registry_finalize),
10535 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10536 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10537 (_gst_registry_cleanup):
10538 * gst/gstregistry.h:
10539 Revert previous change until I figure out why it breaks distcheck.
10541 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10543 * gst/gst.c: (init_pre), (scan_and_update_registry),
10544 (ensure_current_registry_nonforking),
10545 (ensure_current_registry_forking), (ensure_current_registry),
10546 (init_post), (gst_debug_help), (gst_deinit):
10548 Make init_pre and init_post take the full complement of GOptionFunc
10549 args so they can return useful GErrors. Make the registry updating
10552 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10553 ensure that the registry we're about to write out doesn't contain
10554 stale information about old-deleted plugin files.
10556 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10557 that deletion of plugin files is considered a registry change.
10559 * gst/gst_private.h:
10560 * gst/gstregistry.c: (gst_registry_finalize),
10561 (gst_registry_remove_features_for_plugin_unlocked),
10562 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10563 (gst_registry_scan_path),
10564 (_priv_gst_registry_remove_cache_plugins),
10565 (_priv_gst_registry_cleanup):
10566 * gst/gstregistry.h:
10567 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10568 by adding _priv prefix, so that they won't appear in the global
10569 symbol table. They still do atm though because of #318031. Move the
10570 prototypes to gst_private.h
10572 When removing a plugin, remove all features for that plugin too.
10575 2006-09-27 Wim Taymans <wim@fluendo.com>
10577 * docs/random/moving-plugins:
10578 Make it clear that the "compiled-in descriptions" really mean
10579 the element details.
10581 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10582 (gst_base_sink_wait_preroll):
10585 * docs/libs/gstreamer-libs-sections.txt:
10586 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10587 (gst_base_src_get_range), (gst_base_src_activate_push):
10588 * libs/gst/base/gstbasesrc.h:
10589 Added function to block while waiting for PLAYING, this function
10590 is used by live sources that block on the clock.
10591 API: gst_base_src_wait_playing()
10593 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10595 Patch by: Peter Kjellerstedt <pkj at axis com>
10598 gst-element-check.m4 is generated and should therefore be
10599 copied from the build dir rather than the source dir (#357593).
10600 'make distcheck' hasn't noticed this because we were disting
10601 the file as well, so stop doing that.
10603 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10605 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10606 Add some tests for gst_caps_intersect().
10608 * tools/gst-launch.c: (event_loop):
10609 Print all buffering percentages we get, even the 100% one.
10611 2006-09-26 Wim Taymans <wim@fluendo.com>
10613 * tools/gst-inspect.c: (print_element_properties_info),
10614 (print_signal_info):
10615 Fix printing of flags to match the look of enums.
10617 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10619 * gst/gstelementfactory.c:
10620 Fix typo in docs blurb.
10622 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10624 * gst/gsturi.c: (search_by_entry):
10625 Don't assert/crash here if a uri handler doesn't return any
10626 supported protocols. The list of protocols could be generated
10627 dynamically at runtime or at plugin registration, and an error
10628 in the underlying library shouldn't be fatal (#353301).
10630 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10633 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10634 (spotted by Peter Kjellerstedt).
10636 2006-09-23 Wim Taymans <wim@fluendo.com>
10638 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10640 * libs/gst/base/gstbasesrc.c:
10641 (gst_base_src_default_check_get_range), (gst_base_src_start),
10642 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10643 (gst_base_src_change_state):
10644 Match _start/_stop calls in the activate functions. Remove redundant
10645 _stop call from the state change function. Fixes #356910.
10646 Turn failure DEBUG into ERROR.
10648 2006-09-22 Wim Taymans <wim@fluendo.com>
10650 * docs/design/part-buffering.txt:
10651 * gst/gstmessage.c: (gst_message_new_buffering),
10652 (gst_message_parse_buffering):
10653 Update docs about buffering.
10655 * docs/design/part-trickmodes.txt:
10658 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10660 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10661 (gst_controller_new_list):
10662 Ref instances when returning them again (fixes #357180)
10664 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10666 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10667 Don't forget to release proxy lock when there's an error.
10669 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10672 Add extra initialisers for Caps things, to fix some plugin warnings
10675 2006-09-18 Wim Taymans <wim@fluendo.com>
10677 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10678 Also set template on the internal pad so that a getcaps from the
10679 target pad returns the template caps.
10681 2006-09-18 Wim Taymans <wim@fluendo.com>
10683 * gst/gstelement.c: (gst_element_post_message),
10684 (gst_element_dispose):
10685 Use _DEBUG_OBJECT some more.
10687 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10690 * tools/gst-launch.c: (main):
10691 If the toplevel element is not a GstPipeline, it must be put in a
10692 pipeline so that a bus and clock is selected.
10694 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10696 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10697 JITTER, RATE, and LATENCY query should be handled by the
10698 default case and not by the CONVERT query code.
10700 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10702 * gst/gstformat.c: (gst_format_register):
10703 Fix locking order (must take lock before using n_values).
10705 * gst/gstvalue.c: (gst_value_serialize_enum),
10706 (gst_value_deserialize_enum_iter_cmp),
10707 (gst_value_deserialize_enum):
10708 Fix serialisation/deserialisation of custom registered GstFormats.
10710 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10711 Unit test for custom format serialisation/deserialisation.
10713 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10715 * docs/pwg/building-boiler.xml:
10716 * plugins/elements/gstcapsfilter.c:
10717 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10720 2006-09-16 Edward Hervey <edward@fluendo.com>
10722 * libs/gst/base/gstbasetransform.c:
10723 (gst_base_transform_buffer_alloc):
10724 Check if requested caps are the same as the sinks caps IF
10725 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10727 This fixes the renegotiation issues stated in #352827.
10729 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10732 * docs/manual/advanced-autoplugging.xml:
10733 * tests/examples/Makefile.am:
10734 * tests/examples/manual/.cvsignore:
10735 * tests/examples/manual/Makefile.am:
10736 * tests/examples/manual/extract.pl:
10737 Extract the manual examples again like we used to do.
10740 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10742 * win32/common/config.h:
10745 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10748 Documents how to receive errors.
10750 2006-09-15 Wim Taymans <wim@fluendo.com>
10752 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10753 (event_loop), (main):
10754 Added some comments here and there.
10755 Post an application message when an interrupt is caught instead of doing
10756 an uncontrolled state change.
10757 Clean up the event loop.
10758 Handle buffering messages, pause/resume the pipeline.
10759 Make shutdown because of an interrupt more reliable.
10761 2006-09-15 Wim Taymans <wim@fluendo.com>
10763 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10764 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10765 (gst_base_sink_preroll_object):
10766 Make sure that our internal state is correct when we commit our state
10767 asynchronously. This solves a race where a state change to PLAYING
10768 could cause the sink to remain blocked in preroll in some situations.
10770 2006-09-15 Wim Taymans <wim@fluendo.com>
10772 * tools/gst-inspect.c: (print_element_properties_info),
10773 (print_signal_info):
10774 List flags as hex so it's easier to deal with.
10776 2006-09-15 Wim Taymans <wim@fluendo.com>
10778 * docs/libs/gstreamer-libs-sections.txt:
10779 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10780 (gst_base_sink_do_sync):
10781 * libs/gst/base/gstbasesink.h:
10782 Expose logic to wait for preroll so that subclasses such as audiosink
10783 can also use this method.
10784 API: gst_base_sink_wait_preroll()
10786 2006-09-15 Wim Taymans <wim@fluendo.com>
10788 * gst/gstobject.c: (gst_object_set_parent):
10789 * gst/gstpipeline.c: (do_pipeline_seek):
10790 Small cleanups in docs and code.
10792 * gst/gstsegment.c: (gst_segment_clip):
10793 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10794 if stop == start and start is in the segment, no clipping should be
10795 done. Also add a test for this.
10797 2006-09-15 Wim Taymans <wim@fluendo.com>
10799 * docs/design/part-buffering.txt:
10800 * docs/gst/gstreamer-sections.txt:
10801 * gst/gstmessage.c: (gst_message_new_buffering),
10802 (gst_message_parse_buffering):
10803 * gst/gstmessage.h:
10804 Added methods to create and parse BUFFERING messages.
10805 Added preliminary docs about buffering.
10806 API: gst_message_new_buffering
10807 API: gst_message_parse_buffering
10809 2006-09-06 Wim Taymans <wim@fluendo.com>
10812 Update documentation.
10814 * gst/gstelement.c: (gst_element_class_init),
10815 (gst_element_release_request_pad), (gst_element_set_clock),
10816 (gst_element_get_index), (gst_element_add_pad),
10817 (gst_element_remove_pad), (gst_element_get_random_pad),
10818 (gst_element_send_event), (gst_element_get_query_types),
10819 (gst_element_query), (gst_element_post_message),
10820 (gst_element_message_full), (gst_element_continue_state),
10821 (gst_element_lost_state), (gst_element_save_thyself),
10822 (gst_element_restore_thyself):
10823 Documentation updates.
10824 Rename last bit of the new-pad -> pad-added signal rename.
10825 Fix the case where an element query would only work if the source
10827 Avoid some useless type checking in message handling.
10832 Documentation updates.
10834 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10836 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10837 add an INFO line for when we actually update the fd
10839 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10844 === release 0.10.10 ===
10846 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10849 releasing 0.10.10, "Pais"
10851 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10853 * docs/manual/advanced-position.xml:
10854 Fix typo in sample code.
10856 2006-09-05 Wim Taymans <wim@fluendo.com>
10858 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10859 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10860 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10861 * libs/gst/net/gstnetclientclock.h:
10862 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10863 * libs/gst/net/gstnettimepacket.h:
10864 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10865 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10866 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10867 * libs/gst/net/gstnettimeprovider.h:
10868 Make stuff compile on windows. Fixes #345295.
10870 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10872 * gst/gst.c: (ensure_current_registry_forking):
10873 Print better details when child was terminated by signal.
10875 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10877 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10878 Print a warning rather than g_assert() if a plugin feature
10879 is a URI handler but returns no protocols (#353976).
10881 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10883 * docs/random/moving-plugins:
10886 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10888 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10889 Fix locking order, handle NULL function values properly.
10894 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10895 Initialise variable before using it and fix debug statement to
10896 print the address of the function rather than the address of the
10897 variable on the stack holding the address of the function.
10899 2006-09-01 Wim Taymans <wim@fluendo.com>
10901 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10902 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10903 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10904 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10905 (gst_ghost_pad_parent_unset),
10906 (gst_ghost_pad_internal_do_activate_push),
10907 (gst_ghost_pad_internal_do_activate_pull),
10908 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10909 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10910 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10911 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10912 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10913 (gst_ghost_pad_new_no_target_from_template),
10914 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10916 Avoid needless typechecking in macros.
10917 Since the internal pad is always present and never changes, there is
10918 no need to locking or ref when retrieving it.
10919 Improve debugging a bit.
10920 Handle link errors when setting the target. Fixes #341029.
10922 2006-09-01 Wim Taymans <wim@fluendo.com>
10924 * docs/libs/gstreamer-libs-sections.txt:
10925 * docs/plugins/gstreamer-plugins-sections.txt:
10926 Fix docs some more.
10928 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10929 (gst_collect_pads_event):
10930 * libs/gst/base/gstcollectpads.h:
10931 Documentation updates.
10932 Free queued buffer when removing a pad.
10934 2006-08-31 Michael Smith <msmith@fluendo.com>
10936 * gst/gstutils.c: (gst_element_link_pads),
10937 (gst_element_link_pads_filtered):
10938 Ensure that we set a capsfilter to NULL if we failed to link it
10939 when doing filtered linking, to avoid criticals.
10941 No need to check for unreffing srcpad, which is explicly NULLed
10942 above (a trivial code cleanup).
10944 2006-08-31 Wim Taymans <wim@fluendo.com>
10946 * docs/design/part-gstghostpad.txt:
10947 Update ascii art in documentation.
10949 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10950 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10951 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10952 (gst_ghost_pad_internal_do_activate_push),
10953 (gst_ghost_pad_internal_do_activate_pull),
10954 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10955 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10956 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10957 (gst_ghost_pad_set_target):
10958 Small cleanups and leak fixes.
10959 Remove some checks now that the internal pad is never NULL.
10960 Fix the case where linking pads without a target would create nasty
10961 criticals. Fixes #341029.
10962 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10963 value of _set_target().
10965 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10966 (gst_ghost_pad_suite):
10967 Some more tests for creating and linking untargeted ghostpads.
10969 2006-08-31 Edward Hervey <edward@fluendo.com>
10971 * docs/gst/gstreamer-sections.txt:
10972 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10973 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10974 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10975 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10976 (gst_ghost_pad_new_from_template),
10977 (gst_ghost_pad_new_no_target_from_template):
10978 * gst/gstghostpad.h:
10979 Refactored *_new() functions.
10980 Templates are now used as a g_object_new() parameter.
10981 Use template in _do_getcaps() if we don't have a target.
10982 Small documentation cleanups.
10983 Added two new constructors:
10984 gst_ghost_pad_new_from_template()
10985 gst_ghost_pad_new_no_target_from_template()
10986 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10987 (gst_ghost_pad_suite):
10988 Added tests for new ghostpad instanciation functions.
10990 API additions: gst_ghost_pad_new_from_template,
10991 gst_ghost_pad_new_no_target_from_template
10993 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10995 * docs/random/ensonic/profiling.txt:
10996 Ideas about qos profiling.
10998 2006-08-29 Wim Taymans <wim@fluendo.com>
11000 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11004 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
11007 Improve and detypofy docs.
11009 * tests/check/Makefile.am:
11010 * tests/check/gst/.cvsignore:
11011 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11012 Add a basic test suite for GstXML.
11014 2006-08-29 Wim Taymans <wim@fluendo.com>
11016 * gst/gstelement.c: (activate_pads), (clear_caps),
11017 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11018 Clear the pad caps when the element shut down all of the pads and
11019 is not streaming data that could modify the caps.
11022 2006-08-28 Michael Smith <msmith@fluendo.com>
11024 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11025 Revert previous change; I misunderstood single-segment mode.
11027 2006-08-28 Michael Smith <msmith@fluendo.com>
11029 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11030 Unset DISCONT on buffers when using single-segment mode.
11032 2006-08-28 Wim Taymans <wim@fluendo.com>
11034 * gst/gstcaps.c: (gst_caps_merge_structure):
11036 Fix docs and indentation again.
11038 * tests/check/gst/gstquery.c: (GST_START_TEST):
11039 Fix leak in tests and add some more tests.
11041 2006-08-28 Edward Hervey <edward@fluendo.com>
11043 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11044 Inform GstSegment of the last stop position in order for the current
11045 segment to have a proper duration if it doesn't have a specific stop
11046 position from which a duration could be calculated.
11047 This bug was noticeable when a non-flushing, non-update new segment was
11048 followed by another segment (all buffers from the new segment were being
11051 2006-08-28 Wim Taymans <wim@fluendo.com>
11053 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11054 Small comment update.
11056 * plugins/elements/gstidentity.c: (gst_identity_class_init),
11057 (gst_identity_transform_ip):
11058 Drop-probability is broken, mention this in the code with a
11059 FIXME and also in the property description.
11060 Make silent also be silent about the drop messages.
11062 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11064 * docs/manual/appendix-win32.xml:
11065 Remove mention of popt, we don't depend on that any
11066 longer (#353136). Add some comments pointing out that
11067 this section is slightly outdated.
11069 2006-08-28 Wim Taymans <wim@fluendo.com>
11071 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11073 * gst/gstquery.c: (gst_query_new_segment):
11074 * tests/check/gst/gstquery.c: (GST_START_TEST):
11075 Initialize variables when creating a new segment query.
11078 2006-08-28 Wim Taymans <wim@fluendo.com>
11080 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11082 * gst/gstelement.c: (gst_element_get_bus):
11083 * tests/check/gst/gstelement.c: (GST_START_TEST):
11084 Check for NULL before _reffing the bus. Fixes #353122.
11086 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11088 * docs/manual/basics-bus.xml:
11089 Docs update: fix wrong callback return value explanation; add
11090 some lines about the implicit relationship between main loop
11091 and main context; remove duplicate main loop variable declaration.
11093 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11095 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11096 Don't leak caps in unit test; add a few more simple
11099 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11101 * docs/gst/gstreamer-sections.txt:
11102 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11103 (gst_caps_structure_is_subset), (gst_caps_merge),
11104 (gst_caps_merge_structure):
11106 * libs/gst/base/gstbasetransform.c:
11107 (gst_base_transform_transform_caps):
11108 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11109 implement caps merging (fixes #352580)
11111 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11113 * tools/Makefile.am:
11114 * tools/gst-plot-timeline.py:
11115 add debug-log plotting developer tool (#340674)
11117 2006-08-23 Wim Taymans <wim@fluendo.com>
11119 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11120 (gst_pad_stop_task):
11121 Improve debugging for task functions.
11123 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11124 (gst_task_start), (gst_task_pause), (gst_task_join):
11125 Make sure that the task function started and finished after a
11127 Don't try to push the task function on the threadpool multiple
11129 Improve the g_warning message with some useful suggestions
11130 about how to fix the problem.
11132 2006-08-23 Wim Taymans <wim@fluendo.com>
11134 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11135 Handle RESYNC correctly in _proxy_getcaps.
11137 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11139 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11140 (gst_xml_parse_memory), (gst_xml_get_element):
11141 Chain up to parent class in dispose function and also
11142 unref the elements in the toplevel_elements GList.
11143 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11144 Always return a reference in gst_xml_get_element() rather
11145 than only sometimes.
11147 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11148 Don't leak GstXml object.
11150 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11152 * docs/gst/gstreamer-sections.txt:
11153 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11156 * libs/gst/base/gstbasetransform.c:
11157 (gst_base_transform_transform_caps):
11158 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11161 2006-08-21 Edward Hervey <edward@fluendo.com>
11163 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11164 Implement GObject::dispose virtual method in GstXML so we can free the
11165 top_elements GList.
11167 2006-08-21 Wim Taymans <wim@fluendo.com>
11169 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11170 (gst_buffer_create_sub):
11171 Copy duration/offset_end/caps when creating a subbuffer of the
11173 Make the subbuffer read-only when we make the metadata writable for
11174 now. Fixes #351768.
11176 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11177 Added check for metadata copy when creating subbuffers.
11179 2006-08-21 Edward Hervey <edward@fluendo.com>
11181 * libs/gst/base/gstbasetransform.c:
11182 (gst_base_transform_buffer_alloc):
11183 Only call downstream buffer_alloc if transform element is passthrough
11184 or always_in_place. Closes #350449.
11186 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11189 ChangeLog surgery to add comments to previous changes
11191 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11196 * gst/gstpad.c: (gst_pad_set_active):
11197 Be more verbose in the log
11199 * libs/gst/base/gstbasetransform.c:
11200 (gst_base_transform_transform_caps):
11201 Simplify caps to get rid of duplicates, fixes #345444
11203 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11207 Use these optimizations only internally.
11209 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11211 * gst/gstvalue.c: (gst_value_compare_list),
11212 (gst_value_compare_fraction_range),
11213 (gst_value_intersect_fraction_fraction_range),
11214 (gst_value_intersect_fraction_range_fraction_range),
11215 (gst_value_subtract_fraction_fraction_range),
11216 (gst_value_subtract_fraction_range_fraction_range),
11217 (gst_value_get_compare_func), (gst_value_compare),
11218 (gst_value_compare_with_func):
11220 Saves the expensive lookup of the compare function in many cases
11223 2006-08-18 Edward Hervey <edward@fluendo.com>
11225 * tests/check/gst/gstinfo.c: (gst_info_suite):
11226 Disable test that require gstdebug if it wasn't built in core.
11228 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11230 * docs/random/ensonic/logging.txt:
11233 * gst/gstinfo.c: (gst_debug_log_default):
11234 reorder fields, save some columns, add optional color codes for log
11237 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11239 * docs/random/ensonic/logging.txt:
11240 add ideas about making the logs a bit more useful
11242 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11244 * docs/pwg/advanced-events.xml:
11245 * docs/pwg/titlepage.xml:
11246 Update for 0.10 API (#340627). Add myself
11249 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11251 * docs/libs/gstreamer-libs-docs.sgml:
11252 * docs/libs/gstreamer-libs-sections.txt:
11253 * libs/gst/check/gstbufferstraw.c:
11254 Make gstcheck stuff show up in docs (still needs to
11255 be documented properly though).
11257 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11259 * docs/gst/gstreamer-sections.txt:
11261 * gst/gst.c: (init_post):
11262 * gst/gst_private.h:
11263 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11265 * gst/gstquery.c: (gst_query_new_position),
11266 (gst_query_set_position), (gst_query_parse_position),
11267 (gst_query_new_duration), (gst_query_set_duration),
11268 (gst_query_parse_duration), (gst_query_new_convert),
11269 (gst_query_set_convert), (gst_query_parse_convert),
11270 (gst_query_new_segment), (gst_query_set_segment),
11271 (gst_query_parse_segment), (gst_query_new_seeking),
11272 (gst_query_set_seeking), (gst_query_parse_seeking):
11273 Add internal helpers for pre-registering quarks from static strings
11274 and using the quark values directly instead of looking them up when
11275 creating and parsing queries. Can be used for event construction too.
11278 2006-08-16 Wim Taymans <wim@fluendo.com>
11283 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11285 * gst/gstutils.c: (gst_util_set_value_from_string):
11286 Fix memleak (#351502).
11288 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11289 Add unit test for most of gst_util_set_value_from_string()
11290 (not that one would want to encourage use of this function).
11292 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11294 * libs/gst/check/gstcheck.h:
11295 Use const gchar * variables in fail_unless_equals_string
11296 macro to avoid compiler warnings (and don't use tabs for
11299 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11301 * tools/gst-launch.c: (print_tag):
11302 More space on the left for the tag names, to cater
11303 for the 'extended comment' tag (not touching the
11304 string for the first line since it's translated).
11306 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11308 * libs/gst/check/gstcheck.h:
11309 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11310 print something when they fail.
11312 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11314 * docs/gst/gstreamer-sections.txt:
11315 * gst/gsttaglist.c: (_gst_tag_initialize):
11316 * gst/gsttaglist.h:
11317 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11318 Also change merge function for GST_TAG_COMMENT to
11321 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11323 * gst/gstinfo.c: (gst_debug_print_object):
11324 Make GST_PTR_FORMAT print messages as well.
11326 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11327 (GST_START_TEST), (gst_info_suite):
11330 2006-08-14 Edward Hervey <edward@fluendo.com>
11332 * gst/gstelementfactory.c: (gst_element_register):
11333 If the GstElementClass doesn't have a GstElementDetails with all fields
11334 filled up correctly (longname, description AND author), then error out
11335 nicely instead of crashing.
11337 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11339 * gst/gststructure.c:
11340 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11343 Expand on the difference between arrays and lists as we use them.
11345 2006-08-14 Wim Taymans <wim@fluendo.com>
11347 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11348 If the parent state change function failed, don't assume we can safely
11349 stop the source, this will be done when the pads are deactivated.
11351 2006-08-14 Wim Taymans <wim@fluendo.com>
11354 * gst/gsttask.c: (gst_task_join):
11357 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11358 (gst_pad_stop_task):
11359 When pad (de)activation failed for some reason, restore the old
11360 activation mode and set the pad to flushing instead of assuming the
11361 pad is deactivated.
11362 If the _task_join() failed, reinstall the task on the pad so that it can
11363 be stopped later and return an error.
11365 2006-08-11 Andy Wingo <wingo@pobox.com>
11368 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11369 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11370 is only for users of API that don't want to see deprecated
11371 functions in the headers; people that want to compile out
11372 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11373 CFLAGS. Fixes the build of multifdsink, or will soon..
11375 2006-08-11 Wim Taymans <wim@fluendo.com>
11377 * docs/gst/gstreamer-sections.txt:
11378 Add GstClockClass vmethod docs.
11381 Mark #endif with comment for associated #if
11383 * gst/gstclock.c: (gst_clock_id_wait):
11385 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11386 most clock implementations.
11388 Flesh out docs about resolution methods.
11389 API: GstClockClass::wait_jitter
11391 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11392 (gst_system_clock_async_thread),
11393 (gst_system_clock_id_wait_jitter_unlocked),
11394 (gst_system_clock_id_wait_jitter):
11395 Use base class wait_jitter variant for improved performance
11396 due to less clock polling.
11398 2006-08-11 Edward Hervey <edward@fluendo.com>
11400 * gst/gst.c: (gst_init_check), (init_post):
11401 Set gst as being initialized before scanning/updating the registry,
11402 since there might be my python plugin loader that calls gst_init() and
11403 we don't want to loop back in.
11406 2006-08-11 Wim Taymans <wim@fluendo.com>
11408 * docs/design/part-qos.txt:
11409 Bring docs in line with the code. Mostly the sign of the jitter was
11410 wrong in the docs. Fixes #349943.
11413 Fix the docs for the jitter.
11415 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11416 (gst_event_parse_tag), (gst_event_new_buffer_size),
11417 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11418 (gst_event_new_seek), (gst_event_parse_seek),
11419 (gst_event_new_navigation):
11420 Make sure the GstStructure has no parent when creating custom
11422 Add some more argument checking so that we avoid 0.0 rates.
11423 Flesh out the docs for the QoS event some more.
11425 2006-08-11 Wim Taymans <wim@fluendo.com>
11427 * docs/gst/gstreamer-sections.txt:
11428 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11429 (ensure_current_registry_forking), (ensure_current_registry),
11430 (parse_one_option), (parse_goption_arg), (gst_deinit),
11431 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11434 Added API and command line option to disable registry forking in
11435 addition to the environment variable.
11436 Constify some static arrays.
11437 Added some more debug.
11438 Don't deinit twice.
11439 API: gst_registry_fork_is_enabled()
11440 API: gst_registry_fork_set_enabled()
11441 API: --gst-disable-registry-fork command line option
11444 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11446 * gst/gst.c: (gst_init):
11447 Fix typo in error message.
11449 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11451 * libs/gst/controller/gstcontroller.h:
11452 fix ABI size-correction
11454 * tests/check/libs/gdp.c: (gst_dp_suite):
11455 make tests that use deprecated API conditional
11457 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11459 * docs/libs/gstreamer-libs-sections.txt:
11460 * libs/gst/controller/gstcontroller.c:
11461 (_gst_controller_get_property), (_gst_controller_set_property),
11462 (_gst_controller_init), (_gst_controller_class_init):
11463 * libs/gst/controller/gstcontroller.h:
11464 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11465 (gst_object_set_control_rate):
11466 API: add gst_object_{s,g}et_control_rate(), add private data section,
11469 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11470 * libs/gst/dataprotocol/dataprotocol.h:
11471 add deprecation guards to make gtk-doc happy and allow disabling cruft
11473 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11475 * tests/check/Makefile.am:
11476 * tests/check/gst/.cvsignore:
11477 Let's enable the new unit test as well.
11479 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11482 * docs/gst/gstreamer-sections.txt:
11483 * gst/gstconfig.h.in:
11484 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11485 (_gst_info_printf_extension_ptr),
11486 (_gst_info_printf_extension_segment):
11487 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11488 register that lets us easily dump GstSegments into debug
11491 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11492 (info_segment_format_printf_extension), (gst_info_suite):
11493 Add simple unit test that logs a bunch of different segments (not
11494 valgrinded at the moment because of leaks in
11495 gst_debug_add_log_function).
11497 2006-08-09 Edward Hervey <edward@fluendo.com>
11499 * libs/gst/base/gstbasetransform.c:
11500 (gst_base_transform_buffer_alloc):
11501 Even if we can't figure out the proper format to request downstream,
11502 call buffer_alloc() downstream with the input parameters without setting
11503 the caps on the srcpad. This will force negotiation in the chain
11507 2006-08-08 Edward Hervey <edward@fluendo.com>
11509 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11510 Unlinking from a pad without a target is now a perfectly valid case
11511 which should NOT raise an assertion.
11512 This case would happen if a linked ghostpad its target set to NULL after
11513 it was previously linked.
11515 2006-08-08 Edward Hervey <edward@fluendo.com>
11517 * tests/check/libs/gdp.c:
11518 Also comment out the test (see below).
11520 2006-08-08 Edward Hervey <edward@fluendo.com>
11522 * tests/check/libs/gdp.c: (gst_dp_suite):
11523 Use the architecture information from config.h and not gcc macros
11524 in order to properly disable a test that fails on PPC64.
11526 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11528 * gst/gstelement.c: (gst_element_remove_pad):
11529 Don't crash printing the warning if the pad has no parent.
11531 2006-08-02 Wim Taymans <wim@fluendo.com>
11533 * libs/gst/dataprotocol/dataprotocol.c:
11534 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11535 (gst_dp_crc), (gst_dp_header_payload_length),
11536 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11537 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11538 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11539 (gst_dp_event_from_packet), (gst_dp_validate_header),
11540 (gst_dp_validate_payload):
11541 Make debug category static
11542 Constify the crc table.
11543 Do some more arg checking in public functions.
11544 Fix some docs and do some small cleanups.
11546 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11547 Add some more checks to see if GDP deals with bogus input.
11549 2006-07-31 Wim Taymans <wim@fluendo.com>
11551 * gst/gstvalue.c: (gst_value_compare_list):
11552 Fix GstValueList comparison code. Fixes #347293.
11554 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11555 Check to test GstValueList comparison.
11557 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11559 * gst/gstelementfactory.c: (gst_element_factory_create):
11560 Remove unnecessary ref/unref pair
11562 * gst/parse/grammar.y:
11563 Make sure to free the parse buffer on all code paths.
11564 Move a g_free up to the error handler where it's easier to see.
11566 * tests/check/gst/gstevent.c: (test_event):
11567 Extending timeout for downstream travelling events to 10 seconds to
11568 hopefully avoid intermittent failure on the buildbots.
11570 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11571 Don't manually set the state of the src element - it will happen as a
11572 natural consequence of the pipeline changing state, and that way it
11573 will do it in the right order too.
11575 2006-07-31 Wim Taymans <wim@fluendo.com>
11577 * libs/gst/base/gstbasetransform.c:
11578 (gst_base_transform_buffer_alloc):
11579 Use OBJECT_LOCK and refcounting to get the pad caps in the
11580 buffer_alloc function because the caps could change while we are
11581 busy with them. Fixes #349105
11583 2006-07-31 Wim Taymans <wim@fluendo.com>
11585 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11586 Protect _PAD_CAPS with OBJECT_LOCK.
11588 2006-07-31 Wim Taymans <wim@fluendo.com>
11590 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11591 (gst_pad_get_property), (gst_pad_activate_pull),
11592 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11593 (gst_pad_set_activate_function),
11594 (gst_pad_set_activatepull_function),
11595 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11596 (gst_pad_set_getrange_function),
11597 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11598 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11599 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11600 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11601 (gst_pad_set_acceptcaps_function),
11602 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11603 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11604 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11605 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11606 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11607 (gst_pad_configure_sink), (gst_pad_configure_src),
11608 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11609 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11610 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11611 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11612 (gst_pad_send_event):
11613 Use _DEBUG_OBJECT when it makes sense.
11614 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11615 Small cleanups and code reflows.
11616 Avoid caps refcounting in _accept_caps.
11617 Refactor alloc_buffer so that the code performed on the peer is in a
11618 separate function. Also if the pad does not implement a buffer alloc
11619 function, we should still check if the pad is flushing before falling
11620 back to the default allocator.
11622 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11624 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11625 Make all uses of identity and fakesink have silent=true to avoid
11626 serialising every passing data structure, which is breaking tests
11627 on FC4 for some unknown reason.
11629 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11631 * gst/parse/Makefile.am:
11632 * gst/parse/grammar.y:
11633 * gst/parse/parse.l:
11634 Reverted previous patch as it required to bump the flex dependency to
11635 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11637 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11639 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11641 * gst/parse/Makefile.am:
11642 * gst/parse/grammar.y:
11643 * gst/parse/parse.l:
11644 push & pop the state of the lexer for reentrant use case
11647 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11649 * libs/gst/base/gstbasesrc.h:
11650 Note in the docs that the ::newsegment vfunc is not actually used by
11653 2006-07-28 Wim Taymans <wim@fluendo.com>
11655 * libs/gst/base/gstcollectpads.c:
11656 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11657 (gst_collect_pads_clear), (gst_collect_pads_flush),
11658 (gst_collect_pads_event), (gst_collect_pads_chain):
11659 When flushing a pad, also clear the queued buffer so that we don't
11660 accidentally use it when we shouldn't.
11661 Fix leaks by inreffing incomming buffer.
11662 Flush out queued buffers in case of errors.
11665 2006-07-28 Wim Taymans <wim@fluendo.com>
11667 * docs/random/phonon-gst:
11668 Random notes about a Phonon backend.
11670 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11672 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11674 * tests/check/libs/gdp.c: (gst_dp_suite):
11675 Take a whack at fixing the ppc compile using a different define to
11676 disable the broken test.
11678 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11679 Remove excess g_print()
11681 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11683 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11684 Oops, meant to uncomment this line too to dampen the noise a bit.
11686 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11688 * gst/parse/grammar.y:
11689 * gst/parse/parse.l:
11690 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11691 (GST_START_TEST), (parse_suite):
11692 Fix some of the leaks exposed by extending the parse-launch testsuite,
11693 and move the 3 I can't figure out into a separate test that won't run
11694 the pipelines unless the appropriate line is uncommented.
11696 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11698 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11699 Requesting 0 bytes before the end of the file should result in
11700 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11703 2006-07-27 Wim Taymans <wim@fluendo.com>
11705 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11706 Fix useless assert, a uint is always positive.
11708 * gst/gststructure.c: (gst_structure_nth_field_name),
11709 (gst_structure_foreach), (gst_structure_map_in_place):
11710 Check input arguments for public functions to avoid obvious crashes.
11712 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11713 * plugins/elements/gstfakesink.h:
11714 Do less useless typechecking.
11716 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11718 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11719 Do not use mmap() by default since there are a number of error
11720 conditions that we would like to handle in a non-fatal way that
11721 will result in a SIGBUS if we use mmap(). Examples: external
11722 devices (USB harddrive, portable music player) being unplugged
11723 while in use; file on mounted CD/DVD that can't be read because
11724 the medium is partly damaged. Fixes #348455 and #348475.
11726 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11729 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11730 rates are a gdouble
11732 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11734 * gst/gstregistry.c:
11735 Move big documentation comment into class section header, so that it
11736 appears in the API docs.
11738 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11740 * docs/gst/gstreamer-sections.txt:
11741 Oops. Commit the docs additions too for new API.
11742 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11744 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11746 * gst/gststructure.c: (gst_structure_id_set),
11747 (gst_structure_id_set_valist):
11748 * gst/gststructure.h:
11749 Add API for setting values into structures without performing
11750 a quark lookup, if the appropriate quark is already known.
11752 API: gst_structure_id_set
11753 API: gst_structure_id_set_valist
11755 * gst/parse/grammar.y:
11756 * gst/parse/parse.l:
11757 Remove some dead code shown by the coverage information.
11758 Don't throw a critical g_warning when encountering a syntax error,
11759 just warn and let the normal error path handle it.
11761 * plugins/elements/gstelements.c:
11762 Bump the rank of filesink up to PRIMARY so that it is preferred over
11763 gnomevfssink for file:// sink uri's
11765 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11766 (GST_START_TEST), (run_delayed_test),
11767 (gst_parse_test_element_base_init),
11768 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11769 (gst_parse_test_element_change_state),
11770 (gst_register_parse_element), (parse_suite):
11771 Beef up the tests for parse syntax to check that more error cases
11772 fail as they are supposed to. Increases the test coverage a bit.
11774 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11776 * docs/manual/basics-elements.xml:
11777 Fix gst_element_link() example.
11780 Mention in API docs that one should usually gst_bin_add()
11781 elements to a bin or pipeline before doing the linking.
11783 2006-07-26 Wim Taymans <wim@fluendo.com>
11785 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11786 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11787 Avoid function call for known types by keeping the buffer and
11788 subbuffer GType global.
11790 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11791 Random silly optimisations in read() path.
11793 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11795 * tools/gst-launch.c: (main):
11796 If the top-level of the parse is a normal bin, it doesn't do the
11797 right logic to run as a top-level element, so place it inside a
11800 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11802 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11803 Remove superfluous g_object_notify() calls, GObject does
11804 that for us automatically.
11806 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11809 on Win32, use dllspec to export the debug category symbols
11811 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11813 * gst/gsttaglist.c: (_gst_tag_initialize):
11814 Allow more than one GST_TAG_IMAGE per taglist.
11816 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11818 * gst/gstminiobject.c:
11820 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11821 (gst_fd_src_create):
11822 log recurring events at LOG level
11823 add more debug for when the fd gets set
11825 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11827 * gst/gstparse.c: (gst_parse_launch):
11828 Also remove reentrance checks if flex is MT safe (#348179)
11829 Fix my empty ChangeLog entry below
11831 2006-07-21 Andy Wingo <wingo@pobox.com>
11833 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11835 * libs/gst/check/Makefile.am
11836 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11837 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11838 * libs/gst/check/gstbufferstraw.h:
11839 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11840 functions, thus proving I am still a GStreamer haxor. OK I wrote
11841 them a long time ago, but anyways.
11843 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11846 * gst/gstparse.c: (gst_parse_launch):
11847 Check for flex version and omit mutex if we have a MT save flex
11850 2006-07-21 Wim Taymans <wim@fluendo.com>
11852 * gst/gstparse.c: (gst_parse_launch):
11853 Protect recursive calls to _parse with a recursive mutex
11856 2006-07-21 Wim Taymans <wim@fluendo.com>
11858 * tests/check/gst/gstpad.c: (GST_START_TEST):
11861 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11863 * gst/gstparse.c: (gst_parse_launch):
11864 Do not hang on recursive usage of gst_parse_launch()
11866 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11868 * gst/gsttaglist.c:
11869 Add some more docs, comments and FIXME 0.11s here and there
11870 and also fix some typos.
11872 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11874 * gst/gstsegment.h:
11875 Convert tabs to spaces for better readability.
11877 2006-07-20 Edward Hervey <edward@fluendo.com>
11879 * tests/check/libs/gdp.c: (gst_dp_suite):
11880 the test_buffer test fails at line 140 on ppc64 at the following
11882 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11883 GST_BUFFER_FLAG_IN_CAPS),
11884 "GST_BUFFER_IN_CAPS flag should have been copied !");
11885 See bug #348114 for more details.
11887 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11889 * docs/pwg/advanced-scheduling.xml:
11891 Fix typos (#348000).
11893 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11895 * docs/pwg/intro-basics.xml:
11896 Fix wrong links (#347927).
11898 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11900 * gst/gstregistry.h:
11901 * gst/gstregistryxml.c: (load_feature),
11902 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11903 * win32/common/config.h:
11904 make --disable-index work (#342564)
11906 2006-07-18 Wim Taymans <wim@fluendo.com>
11908 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11912 The attached patch adds two missing defines to gsttrace.h when tracing
11913 is disabled. It also corrects one existing define.
11916 2006-07-17 Wim Taymans <wim@fluendo.com>
11918 * docs/gst/gstreamer-sections.txt:
11919 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11921 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11922 Add two functions to check and change the SIGSEGV behaviour
11923 when loading plugins.
11924 Don't mess with the SIGSEGV handler when we were told not to.
11926 API: gst_segtrap_is_enabled
11927 API: gst_segtrap_set_enabled
11929 2006-07-14 Wim Taymans <wim@fluendo.com>
11931 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11932 * tests/check/elements/filesrc.c: (GST_START_TEST):
11933 Revert fix for regression in #347408 after release.
11935 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11937 Patch by: Antoine Tremblay <hexa00 at gmail com>
11939 * gst/gstutils.c: (gst_element_unlink):
11940 Free iterator when done (#347311).
11942 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11943 And add a test case for this.
11945 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11948 Bump nano back to CVS
11950 === release 0.10.9 ===
11952 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11955 releasing 0.10.9, "On the road again"
11957 2006-07-13 Wim Taymans <wim@fluendo.com>
11959 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11960 * tests/check/elements/filesrc.c: (GST_START_TEST):
11961 Revert pull-0 fix for release. Disable check. Fixes #347408.
11963 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11965 * libs/gst/dataprotocol/dataprotocol.c:
11966 (gst_dp_event_from_packet_1_0):
11967 Fixes #347337: failure to deserialize event packets with
11968 empty payload (only event type)
11970 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11973 do not install a .c file in the header directory
11975 2006-07-13 Edward Hervey <edward@fluendo.com>
11977 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11978 GhostPad no longer implicitely use the padtemplates of the targets.
11981 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11983 * gst/gstvalue.c: (gst_value_compare_list),
11984 (gst_value_compare_array), (_gst_value_initialize):
11985 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11986 Make GstValueArray comparison be order dependent as designed.
11987 Add checks for value lists and value array comparisons.
11990 2006-07-11 Edward Hervey <edward@fluendo.com>
11992 * gst/gstbin.c: (activate_pads),
11993 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11994 (gst_bin_change_state_func):
11995 (de)activate src pads before calling state_change on the childs.
11996 This is to avoid the case where a src ghostpad is blocked (holding the
11997 stream lock), which would block the deactivation of the ghostpad's
11999 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12000 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12001 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12002 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12003 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12004 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12005 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12006 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12007 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12008 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12009 (gst_ghost_pad_class_init),
12010 (gst_ghost_pad_internal_do_activate_push),
12011 (gst_ghost_pad_internal_do_activate_pull),
12012 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12013 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12014 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12015 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12016 GhostPads now create their internal GstProxyPad at creation (and not
12017 when they're linked, as it was being done previously).
12018 The internal and target pads are linked straight away.
12019 The data will also travel through the other pad in order to make
12020 pad blocking and probes non-hackish (the probe/block now really happens
12021 on the GhostPad and not on the target).
12022 * gst/gstpad.c: (gst_pad_set_blocked_async),
12023 (gst_pad_link_prepare), (gst_pad_push_event):
12024 Remove previous ghostpad cruft.
12025 * gst/gstutils.c: (gst_pad_add_data_probe),
12026 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12027 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12028 (gst_pad_remove_buffer_probe):
12029 Remove previous ghost pad cruft.
12030 Added more detailed debug statements.
12031 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12032 Fix the testsuite for refcounting changes.
12033 The comments about who has references were correct, but the refcount
12034 being checked wasn't the same (!?!).
12038 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12040 * docs/gst/gstreamer-sections.txt:
12041 * gst/gstconfig.h.in:
12042 More docs for configuration options, add docs to gtk-doc.
12044 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12047 * gst/gstconfig.h.in:
12048 * win32/common/config.h:
12049 Fix build when disabling tracing (fixes #344016). Also start to document
12050 the defines that disable the sub-systems.
12052 2006-07-10 Edward Hervey <edward@fluendo.com>
12054 * gst/gst.c: (ensure_current_registry_forking):
12055 let's make valgrind happy...
12057 2006-07-09 Wim Taymans <wim@fluendo.com>
12059 * gst/gstelement.c: (activate_pads),
12060 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12061 Better pad activation code: Reset the collect value too on resync.
12064 2006-07-09 Wim Taymans <wim@fluendo.com>
12066 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12067 (gst_pad_activate_push):
12068 Use some more macros where it makes sense.
12069 Allow pad mode switching instead of asserting. When a pad
12070 is activated in one mode and we activate it in another,
12071 deactivate it first before activating it in a different mode.
12074 2006-07-08 Andy Wingo <wingo@pobox.com>
12076 * tools/gst-launch.c (main): Handle err == NULL.
12078 * gst/gst.c (init_post, ensure_current_registry)
12079 (ensure_current_registry_forking)
12080 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12081 factoring out the registry scanning into separate functions. Don't
12082 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12083 Better environment var name/interface suggestions accepted.
12085 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12087 * gst/gstobject.c: (gst_object_set_name_default),
12088 (gst_object_set_name):
12089 Random micro-optimisation: don't use a hash table
12090 with strings as keys and the usual strdup/strcmp
12091 involved, but rather just use the GQuark of the
12092 type name as key, since it needs to be looked up
12093 anyway to get the type name string.
12095 * tests/check/gst/gstobject.c: (GST_START_TEST):
12098 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12100 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12101 (gst_bin_iterate_all_by_interface):
12102 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12103 GTypes are gulongs and thus the top 4 bytes might be cut
12104 off on some platforms when doing GPOINTER_TO_INT, leading
12105 to invalid GTypes and bad things happening (see RH bug #179654).
12106 Also add a check to make sure the type passed in is really
12109 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12114 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12118 * gst-element-check.m4:
12119 * gst-element-check.m4.in:
12120 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12121 instead of the unversioned gst-inspect (#324176, #168659).
12123 2006-07-06 Wim Taymans <wim@fluendo.com>
12125 * gst/gstmessage.h:
12126 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12129 2006-07-06 Wim Taymans <wim@fluendo.com>
12131 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12132 (gst_base_src_wait), (gst_base_src_update_length),
12133 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12134 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12135 (gst_base_src_loop), (gst_base_src_start),
12136 (gst_base_src_activate_pull):
12138 blocksize == 0 now means the default blocksize when working in push
12140 Remove some pointless asserts in _wait function.
12141 Fix offset/length calculations and EOS handling. We can now pull 0
12142 bytes as well, which is allowed.
12143 use _check_get_range() to decide if we can operate in _pull based
12145 Fix refcounting leak when check_get_range function was not
12147 API GstBaseSrc::blocksize range can be 0 too now (default)
12149 * tests/check/elements/filesrc.c: (GST_START_TEST),
12151 Added check to test _get_range() behaviour.
12153 2006-07-06 Wim Taymans <wim@fluendo.com>
12155 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12156 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12157 (gst_pad_pull_range):
12159 Lots of comments and docs added to the pad functions.
12160 Flesh out the expected behaviour of the get_range() functions.
12162 2006-07-06 Wim Taymans <wim@fluendo.com>
12167 * gst/gstiterator.h:
12171 Remove comma at end of enumerator list.
12173 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12175 * win32/common/libgstbase.def:
12176 * win32/common/libgstdataprotocol.def:
12177 * win32/common/libsgtreamer.def:
12178 Add new exported functions.
12180 2006-07-05 Wim Taymans <wim@fluendo.com>
12182 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12183 Add some more docs here and there.
12185 2006-07-05 Wim Taymans <wim@fluendo.com>
12187 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12188 (gst_base_sink_loop), (gst_base_sink_get_position):
12189 When operating in pull mode update the offset so that we
12192 2006-07-05 Wim Taymans <wim@fluendo.com>
12194 * gst/gstregistryxml.c: (read_string):
12195 Avoid strdup. (will happen in libxml, but hey!)
12198 Add some more docs.
12200 2006-07-05 Wim Taymans <wim@fluendo.com>
12202 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12203 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12204 (gst_buffer_suite):
12205 No point in checking if the size of the subbuffer > 0, the
12206 code handles it correclty as demonstrated by unit test.
12207 Also add a unit test for the zero sized _new_and_alloc and
12208 _copy. Fixes #346663.
12210 2006-07-05 Wim Taymans <wim@fluendo.com>
12212 * libs/gst/base/gstbasetransform.c:
12213 (gst_base_transform_prepare_output_buffer),
12214 (gst_base_transform_buffer_alloc),
12215 (gst_base_transform_handle_buffer):
12216 Make sure the buffer we pass to transform_ip has a refcount of
12217 1 and thus is writable. Fixes #343196
12219 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12221 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12222 (gst_file_src_init), (gst_file_src_set_property),
12223 (gst_file_src_get_property), (gst_file_src_map_region):
12224 * plugins/elements/gstfilesrc.h:
12225 Add "sequential" property, off by default, to use madvise and hint
12226 to the kernel that sequential access is desired.
12227 Touch all retrieved pages by default to ensure they are pulled
12228 into memory. (Closes #345720)
12230 2006-07-03 Wim Taymans <wim@fluendo.com>
12232 * docs/design/part-block.txt:
12233 * docs/design/part-dynamic.txt:
12234 Small docs updates.
12236 2006-07-03 Wim Taymans <wim@fluendo.com>
12238 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12239 (gst_caps_unref), (gst_static_caps_get),
12240 (gst_caps_append_structure):
12241 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12242 Use GSlice when the glib we build against is >= 2.10
12244 2006-07-03 Wim Taymans <wim@fluendo.com>
12246 * gst/gstelement.c: (gst_element_pads_activate):
12247 Small cleanup in pad activation code.
12249 2006-07-03 Wim Taymans <wim@fluendo.com>
12251 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12253 * gst/gst-i18n-app.h:
12254 * gst/gst-i18n-lib.h:
12255 * tools/gst-inspect.c: (print_signal_info):
12256 The attached patch will make the inclusion of gettext.h unconditional in
12257 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12258 libintl.h in tools/gst-inspect.c.
12259 This allows use of --disable-nls again and fixes #344642.
12261 2006-07-03 Edward Hervey <edward@fluendo.com>
12263 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12264 Implement pad blocking on events according to part-block.txt.
12265 More comments on behaviour.
12266 * tests/check/gst/gstevent.c: (test_event):
12267 Send event to peer pad of blocked pad (else it will block).
12269 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12271 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12272 (gst_check_run_suite):
12273 if we get the wrong message, give us the types as string
12274 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12276 * tests/check/elements/filesrc.c: (GST_START_TEST):
12277 add a test for trying to open a non-existing file
12279 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12281 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12282 add a test for adding self
12284 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12286 * libs/gst/check/gstcheck.h:
12287 add some assert_ as alias for fail_unless_*
12288 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12289 increase test coverage
12291 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12294 include lcov.mak for lcov coverage generation
12295 * tools/Makefile.am:
12298 2006-07-02 Edward Hervey <edward@fluendo.com>
12300 * tests/check/elements/.cvsignore:
12303 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12306 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12307 * tests/check/Makefile.am:
12308 clean up gcov files
12310 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12312 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12313 remove gst_caps_simplify; it was not declared and not used
12314 and deprecated in 0.8
12316 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12318 * docs/faq/gst-uninstalled:
12319 don't put empty paths on PYTHONPATH
12320 * docs/gst/gstreamer-sections.txt:
12321 remove some symbols that are not there
12323 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12325 * gst/gstcaps.c: (gst_caps_compare_structures):
12327 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12328 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12331 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12333 * libs/gst/dataprotocol/Makefile.am:
12334 build dataprotocol test by linking to the lib, instead of
12335 compiling the source, so we get coverage
12336 * tests/check/Makefile.am:
12337 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12338 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12339 add a test for filesrc
12341 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12343 * tests/check/gst/gststructure.c: (GST_START_TEST),
12344 (gst_structure_suite):
12345 Push coverage from 59.04% to 70.00%
12347 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12349 * tests/check/Makefile.am:
12350 gst-inspect every element; this makes sure that we also get
12351 coverage on element's get/set functions
12353 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12356 set CFLAGS and friends to -O0 if gcov is being used
12359 * libs/gst/base/Makefile.am:
12360 * libs/gst/check/Makefile.am:
12361 * libs/gst/controller/Makefile.am:
12362 * libs/gst/dataprotocol/Makefile.am:
12363 * libs/gst/net/Makefile.am:
12364 * plugins/elements/Makefile.am:
12365 * plugins/indexers/Makefile.am:
12366 add makefile rules to generate gcov data and clean up
12367 * tests/check/Makefile.am:
12368 add a coverage target that generates an html overview
12371 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12373 * tests/check/elements/fakesink.c:
12374 * tests/check/elements/fakesrc.c:
12375 * tests/check/elements/fdsrc.c:
12376 * tests/check/elements/identity.c:
12377 * tests/check/generic/sinks.c: (gst_sinks_suite):
12378 * tests/check/generic/states.c:
12379 * tests/check/gst/gst.c:
12380 * tests/check/gst/gstabi.c:
12381 * tests/check/gst/gstbin.c:
12382 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12383 * tests/check/gst/gstbus.c: (gst_bus_suite):
12384 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12385 * tests/check/gst/gstelement.c:
12386 * tests/check/gst/gstevent.c: (gst_event_suite):
12387 * tests/check/gst/gstghostpad.c:
12388 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12389 * tests/check/gst/gstmessage.c: (gst_message_suite):
12390 * tests/check/gst/gstminiobject.c:
12391 * tests/check/gst/gstobject.c:
12392 * tests/check/gst/gstpad.c:
12393 * tests/check/gst/gstpipeline.c:
12394 * tests/check/gst/gstplugin.c:
12395 * tests/check/gst/gstquery.c: (gst_query_suite):
12396 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12397 * tests/check/gst/gststructure.c:
12398 * tests/check/gst/gstsystemclock.c:
12399 * tests/check/gst/gsttag.c:
12400 * tests/check/gst/gsttask.c: (gst_task_suite):
12401 * tests/check/gst/gstutils.c:
12402 * tests/check/gst/gstvalue.c:
12403 * tests/check/libs/adapter.c:
12404 * tests/check/libs/basesrc.c:
12405 * tests/check/libs/collectpads.c:
12406 * tests/check/libs/controller.c:
12407 * tests/check/libs/gdp.c: (gst_dp_suite):
12408 * tests/check/libs/gstnetclientclock.c:
12409 * tests/check/libs/gstnettimeprovider.c:
12410 * tests/check/libs/libsabi.c: (libsabi_suite):
12411 * tests/check/libs/typefindhelper.c:
12412 * tests/check/pipelines/cleanup.c:
12413 * tests/check/pipelines/parse-launch.c:
12414 * tests/check/pipelines/simple-launch-lines.c:
12415 * tests/check/pipelines/stress.c: (stress_suite):
12418 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12420 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12421 * libs/gst/check/gstcheck.h:
12422 create a macro and function so that the simple unit test
12423 case can be just one macro to create main()
12425 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12427 * gst/gstbin.c: (gst_bin_restore_thyself):
12428 * gst/gstxml.c: (gst_xml_make_element):
12429 Fix deserialisation from XML. Set parent manually
12430 instead of using gst_bin_add(), since gst_bin_add()
12431 will unlink all pads of the element being added.
12434 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12436 Patch by: Peter Kjellerstedt <pkj at axis com>
12438 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12439 Fix missing g_strdup() and double free when using the
12440 --gst-plugin-load command line option (#346097).
12442 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12445 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12447 * libs/gst/net/gstnetclientclock.c:
12448 * libs/gst/net/gstnettimeprovider.c:
12449 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12451 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12453 * docs/manual/advanced-dataaccess.xml:
12454 Fix buffer probe example compilation in
12457 2006-06-22 Edward Hervey <edward@fluendo.com>
12459 * gst/gstelement.c: (gst_element_pads_activate):
12460 We need to deactivate src pads first and then sink pads.
12461 The reason is the src pads might be blocking while holding the streaming
12462 lock, so we need to deactivate them first so that deactivating the sink
12463 pads doesn't block (since it will require the streaming lock).
12465 2006-06-22 Wim Taymans <wim@fluendo.com>
12467 * libs/gst/base/gstbasetransform.c:
12468 (gst_base_transform_buffer_alloc):
12469 Forgot to remove two unneeded unrefs.
12470 Simplify a check _is_equal allready checks the obvious case.
12472 2006-06-22 Wim Taymans <wim@fluendo.com>
12474 * docs/design/part-block.txt:
12475 Some docs about what pad_block should do.
12477 2006-06-22 Wim Taymans <wim@fluendo.com>
12479 * gst/gstcaps.c: (gst_caps_replace):
12480 Fix crasher when passed NULL. Doc clarification.
12481 Optimize for the trivial case.
12483 * gst/gstpipeline.c: (gst_pipeline_change_state):
12486 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12487 Small documentation cleanup.
12489 * libs/gst/base/gstbasetransform.c:
12490 (gst_base_transform_buffer_alloc):
12491 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12492 is what we need and it avoids a whole lot of redundant
12493 refcount operations.
12495 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12497 Patch by: Philip Jägenstedt <philip at lysator liu se>
12499 * docs/manual/advanced-dataaccess.xml:
12500 Fix 'Embedding static elements' section to use
12501 GST_PLUGIN_DEFINE_STATIC (#345607).
12503 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12505 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12506 Attempt to 'fix' spuriously failing test case: it seems like the
12507 timeout of half a second is simply too small when the system is under
12508 load otherwise, and the timeout doesn't really seem to serve any
12509 particular purpose here. Give the pipeline a few seconds to preroll
12510 first, and then give it another half a second to go from PAUSED to
12511 PLAYING and marshal the message into the main thread.
12513 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12515 * tools/gst-feedback-m.m:
12516 Don't only use unversioned tools, try versioned tools as well
12519 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12521 * gst/gstbus.c: (gst_bus_class_init):
12522 Fix some typos, make docs more explicit.
12524 2006-06-20 Wim Taymans <wim@fluendo.com>
12526 * tests/check/gst/gstghostpad.c: (block_callback),
12527 (GST_START_TEST), (gst_ghost_pad_suite):
12528 Added some more ghostpad tests, mainly blocking
12531 2006-06-16 Wim Taymans <wim@fluendo.com>
12533 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12534 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12535 (gst_file_sink_event), (gst_file_sink_render):
12536 * plugins/elements/gstfilesink.h:
12537 Check if we can seek in the file instead of assuming
12538 we always can. Post an error when we are asked to seek in a
12539 non-seekable file (like a fifo). Fixes #343312.
12542 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12544 * tools/gst-launch.1.in:
12545 Un-garble (fourcc) bit in filtered caps section.
12547 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12549 * docs/manual/advanced-autoplugging.xml:
12550 * docs/manual/basics-helloworld.xml:
12551 * docs/manual/highlevel-components.xml:
12552 Don't leak bus reference in sample code.
12554 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12557 Add default for new --enable-plugin-docs switch.
12560 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12563 * docs/Makefile.am:
12564 Use new ENABLE_PLUGIN_DOCS conditional.
12566 2006-06-14 Wim Taymans <wim@fluendo.com>
12568 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12569 Make it clear with a FIXME and a real define what the #if 0
12570 previously disabled.
12572 2006-06-14 Wim Taymans <wim@fluendo.com>
12574 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12575 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12576 * libs/gst/base/gstbasetransform.c:
12577 (gst_base_transform_sink_eventfunc):
12578 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12579 Don't randomly and silently reset a segment when the format
12580 changes as this is a bug somewhere upstream. Fixes #330379.
12582 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12584 Patch by: Wouter Paesen <wouter at kangaroot net>
12586 * libs/gst/controller/gstcontroller.c:
12587 (gst_controlled_property_new):
12588 Fix controlling of float properties (#344849).
12590 * tests/check/libs/controller.c:
12591 (gst_test_mono_source_get_property),
12592 (gst_test_mono_source_set_property),
12593 (gst_test_mono_source_class_init), (GST_START_TEST):
12594 While we're at it, add some float stuff to unit test.
12596 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12599 * docs/images/gdp-header.svg:
12601 * docs/libs/Makefile.am:
12602 * docs/libs/gdp-header.png:
12603 * libs/gst/dataprotocol/dataprotocol.c:
12604 add it to the API docs
12605 * docs/manual/intro-motivation.xml:
12608 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12610 * gst/gst.c: (scan_and_update_registry), (init_post):
12611 If the fork()'ed child process can't write the updated registry cache
12612 file to disk for some reason, make it exit with a failure exit code,
12613 so that the parent can then re-scan the plugins itself and update the
12614 registry structures in memory and work with that (rather than failing
12615 when creating elements because seemingly no plugins are available).
12616 Refactor registry scanning code into separate function for this and
12617 also separate fork() and non-fork() code paths. Fixes #344748.
12619 2006-06-13 Wim Taymans <wim@fluendo.com>
12621 * docs/manual/advanced-dataaccess.xml:
12622 Fix wrong PluginDesc. Fixes #344755.
12624 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12626 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12627 Fix silly bug that prevented us from creating
12628 ~/.gstreamer-0.10 and writing the registry in one
12629 go (the first call to g_mkstemp() would overwrite the
12630 placeholder in the template string, so the second call
12631 to g_mkstemp() after creating the missing directory
12632 would then error out with 'invalid argument').
12634 2006-06-13 Edward Hervey <edward@fluendo.com>
12636 * gst/gst.c: (init_post):
12639 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12641 * gst/glib-compat-private.h:
12642 * gst/glib-compat.c:
12643 * gst/glib-compat.h:
12644 * gst/gstvalue.c: (gst_value_serialize_flags):
12645 remove GLib 2.6 compatibility code
12647 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12649 * gst/parse/Makefile.am:
12650 Fix build with 'make -j N' even more (#340016).
12652 2006-06-12 Wim Taymans <wim@fluendo.com>
12654 * docs/gst/gstreamer-sections.txt:
12657 2006-06-12 Wim Taymans <wim@fluendo.com>
12659 * gst/gstsegment.c: (gst_segment_set_duration),
12660 (gst_segment_set_last_stop), (gst_segment_set_seek),
12661 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12662 (gst_segment_to_running_time), (gst_segment_clip):
12663 Use G_UNLIKELY to help the compiler a bit.
12665 2006-06-12 Wim Taymans <wim@fluendo.com>
12667 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12669 * gst/gstevent.c: (gst_event_get_type):
12670 * gst/gstmessage.c:
12671 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12673 constify quark registration strings. Fixes #344115
12674 Avoid unneeded type checking is _pad_push() by internally
12675 calling gst_pad_chain_unchecked().
12677 2006-06-12 Wim Taymans <wim@fluendo.com>
12679 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12680 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12681 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12682 (gst_buffer_is_span_fast), (gst_buffer_span):
12683 Init _type for consistency.
12684 Use _FLAGS macro to avoid type check.
12685 Avoid unneeded type checks in subbufer code.
12687 2006-06-12 Wim Taymans <wim@fluendo.com>
12689 * gst/gst.c: (gst_debug_help):
12690 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12691 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12692 (gst_plugin_feature_list_free):
12693 * gst/gstregistry.c: (gst_registry_add_plugin),
12694 (gst_registry_add_feature), (gst_registry_plugin_filter),
12695 (gst_registry_feature_filter), (gst_registry_find_plugin),
12696 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12697 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12698 * gst/gstregistryxml.c: (load_feature),
12699 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12700 * gst/gstminiobject.c: (gst_mini_object_unref),
12701 (gst_mini_object_replace), (gst_value_mini_object_free),
12702 (gst_value_mini_object_copy):
12703 Use _CAST macros to avoid unneeded type checking.
12704 Added some more G_UNLIKELY.
12706 2006-06-12 Wim Taymans <wim@fluendo.com>
12709 Avoid unneeded type checking.
12710 API: GST_BUFFER_IS_DISCONT
12712 * gst/gstminiobject.h:
12713 Avoid type check in flag accessor.
12715 * gst/gstelementfactory.h:
12717 * gst/gstpluginfeature.h:
12719 API: GST_ELEMENT_FACTORY_CAST
12720 API: GST_PLUGIN_CAST
12721 API: GST_PLUGIN_FEATURE_CAST
12723 2006-06-12 Wim Taymans <wim@fluendo.com>
12725 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12726 (gst_object_unref):
12727 Add G_UNLIKELY in type registration.
12728 Avoid type check in _ref/_unref since that is also
12731 2006-06-12 Wim Taymans <wim@fluendo.com>
12733 * gst/gsterror.c: (gst_g_error_get_type):
12734 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12735 (gst_static_pad_template_get_type):
12736 * gst/gsttaglist.c: (gst_tag_list_get_type):
12737 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12738 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12739 * gst/gsturi.c: (gst_uri_handler_get_type):
12740 * gst/gstvalue.c: (gst_date_get_type):
12741 * gst/gstxml.c: (gst_xml_get_type):
12742 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12743 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12744 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12745 Add G_UNLIKELY in type registration.
12747 2006-06-12 Wim Taymans <wim@fluendo.com>
12749 * tools/gst-inspect.c: (print_signal_info):
12750 Properly print enum values.
12752 2006-06-12 Wim Taymans <wim@fluendo.com>
12754 * gst/gstinfo.c: (gst_debug_set_active),
12755 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12757 Add some G_[UN]LIKELY.
12758 Maintain __gst_debug_min to avoid formatting the arguments of
12759 debug messages that will be dropped anyway to avoid a lot of
12760 overhead from the debugging system.
12762 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12765 * po/POTFILES.skip:
12766 add missing files containing translatable strings, tell intltool about
12769 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12771 * tests/check/libs/.cvsignore:
12772 add test-binary to ignore list
12774 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12776 * docs/libs/gstreamer-libs-docs.sgml:
12777 reorder (put dp into a chapter) and indent
12779 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12784 === release 0.10.8 ===
12786 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12789 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12791 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12793 * gst/gst.c: (init_post):
12794 move pid declaration to declaration block
12796 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12798 * gst/gst.c: (init_post):
12799 use _exit() instead of exit() in our forked child; this ensures
12800 that none of the registered exit handlers from whatever is using
12801 GStreamer get executed. This fixes gnome-mixer-applet failing
12802 to load, because ORBit would shut down.
12803 Spotted by: Edward Hervey <edward@fluendo.com>
12804 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12807 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12812 === release 0.10.7 ===
12814 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12817 releasing 0.10.7, "Soepeke, ik zie ou"
12819 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12842 * win32/common/config.h:
12843 0.10.6.2 prerelease
12845 2006-06-07 Wim Taymans <wim@fluendo.com>
12847 * gst/gstindex.c: (gst_index_gtype_resolver):
12848 * tools/gst-xmlinspect.c: (print_plugin_info):
12849 Fix leak spotted by coverity checker. Fixes #343827
12850 Fix another other leak found by paolo borelli.
12852 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12854 * libs/gst/dataprotocol/dataprotocol.c:
12855 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12856 (gst_dp_version_get_type), (gst_dp_init),
12857 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12858 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12859 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12860 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12861 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12862 (gst_dp_packetizer_free):
12863 * libs/gst/dataprotocol/dataprotocol.h:
12864 API: add a GstDPPacketizer object, and create/free functions
12865 API: add GstDPVersion enum
12866 Add 1.0 event function that uses the string serialization
12867 Serialize more useful buffer flags
12870 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12872 * tests/check/Makefile.am:
12873 * tests/check/gst/gstabi.c:
12874 * tests/check/gst/struct_ppc64.h:
12875 * tests/check/libs/libsabi.c:
12876 * tests/check/libs/struct_ppc64.h:
12877 add ppc64 structure sizes
12879 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12881 * tests/check/Makefile.am:
12882 * tests/check/gst/gstabi.c:
12883 * tests/check/gst/struct_x86_64.h:
12884 * tests/check/libs/libsabi.c:
12885 * tests/check/libs/struct_x86_64.h:
12886 generate and add structure size lists for x86_64
12888 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12890 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12891 * libs/gst/check/gstcheck.h:
12892 factor out the method from tests that checks size of structures,
12893 and add code to generate the header containing these sizes
12894 * tests/check/gst/gstabi.c: (GST_START_TEST):
12895 * tests/check/gst/struct_i386.h:
12896 * tests/check/libs/libsabi.c: (GST_START_TEST):
12897 * tests/check/libs/struct_i386.h:
12900 2006-06-06 Michael Smith <msmith@fluendo.com>
12902 * gst/gstsegment.h:
12903 Don't use c++-style comments, fixes #343929
12905 2006-06-05 Edward Hervey <edward@fluendo.com>
12908 plugin_paths is not used if we build without registry support.
12910 * gst/gstsegment.c: (gst_segment_copy):
12911 _copy() was always returning NULL...
12913 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12915 * libs/gst/dataprotocol/dataprotocol.c:
12916 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12917 (gst_dp_packet_from_event):
12918 factor out CRC code
12920 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12922 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12923 make sure we unset caps
12925 2006-06-02 Michael Smith <msmith@fluendo.com>
12927 * libs/gst/check/gstcheck.c: (gst_check_init),
12928 (gst_check_chain_func):
12929 * libs/gst/check/gstcheck.h:
12930 Add a cond/mutex to the check support lib, signal this whenever we
12931 add to the buffers list. This will allow tests to not busy-wait on
12934 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12936 * libs/gst/dataprotocol/dataprotocol.c:
12937 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12938 (gst_dp_packet_from_event):
12939 factor out some common header init code
12941 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12943 * docs/libs/gstreamer-libs-sections.txt:
12944 * docs/libs/tmpl/gstdataprotocol.sgml:
12945 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12946 * libs/gst/dataprotocol/dataprotocol.h:
12947 API: make gst_dp_crc() public
12949 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12951 * plugins/indexers/gstindexers.c: (plugin_init):
12952 conditionally register fileindexer (fixes #343598)
12954 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12956 * gst/gsttagsetter.h:
12957 Can't cast ifaces to a class
12959 * libs/gst/net/gstnetclientclock.h:
12960 * libs/gst/net/gstnettimeprovider.h:
12961 * plugins/elements/gstfakesink.h:
12962 * plugins/elements/gstfakesrc.h:
12963 * plugins/elements/gstfdsink.h:
12964 * plugins/elements/gstfdsrc.h:
12965 * plugins/elements/gstfilesink.h:
12966 * plugins/elements/gstfilesrc.h:
12967 * plugins/elements/gstidentity.h:
12968 * plugins/elements/gstqueue.h:
12969 * plugins/elements/gsttee.h:
12970 * plugins/indexers/gstfileindex.c:
12971 * plugins/indexers/gstmemindex.c:
12972 * tests/old/examples/plugins/example.h:
12973 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12975 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12977 * libs/gst/dataprotocol/dataprotocol.c:
12978 (gst_dp_header_from_buffer):
12979 make sure we zero the whole ABI-compatible area
12981 2006-06-01 Wim Taymans <wim@fluendo.com>
12983 Patch by: Alessandro Decina <alessandro at nnva dot org>
12985 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12986 Make sure the EOS flag is cleared from pads after a flush
12987 or stop. Fixes #343538.
12989 * tests/check/libs/collectpads.c: (GST_START_TEST),
12990 (gst_collect_pads_suite):
12991 Added test for collectpads reusage after EOS.
12993 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12996 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12997 * win32/common/libgstbase.def:
12998 export gst_collect_pads_set_flushing
12999 * win32/common/libgstreamer.def:
13000 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13001 gst_value_fraction_multiply
13002 * win32/vs6/gst_inspect.dsp:
13003 add a link to intl.lib
13005 2006-05-30 Wim Taymans <wim@fluendo.com>
13007 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13008 (gst_collect_pads_chain):
13009 Handle the case where a pad is removed from the collection
13010 that could cause the other pads to become collectable.
13012 2006-05-30 Wim Taymans <wim@fluendo.com>
13014 * gst/gstelement.c:
13015 Clarify the use of _release_request_pad() and
13016 _get_request_pad() a bit better.
13018 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13019 (gst_adapter_take_buffer):
13020 Fix some doc and comment typos.
13022 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13024 * docs/gst/gstreamer-sections.txt:
13025 * docs/libs/gstreamer-libs-sections.txt:
13026 add declared symbols
13028 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
13030 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13031 Add debug that can be enabled using a #define at the top of the file,
13032 for dumping stats about how late/early we were when waking up from
13033 waiting on the clock.
13035 2006-05-30 Wim Taymans <wim@fluendo.com>
13037 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13038 When rebuilding the pad list, don't leak the previous list.
13040 2006-05-30 Wim Taymans <wim@fluendo.com>
13042 Patch by: Lutz Mueller <lutz at topfrose dot de>
13044 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13045 (gst_base_src_get_query_types), (gst_base_src_update_length):
13046 Publish supported query types.
13047 Update last_stop field in get_range mode so the position
13048 query works. Fixes #342321.
13050 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
13052 * docs/gst/gstreamer-sections.txt:
13053 * gst/gsttaglist.c: (_gst_tag_initialize):
13054 * gst/gsttaglist.h:
13055 API: add GST_TAG_PREVIEW_IMAGE (#343341).
13057 2006-05-30 Wim Taymans <wim@fluendo.com>
13059 Patch by: Alessandro Decina <alessandro at nnva dot org>
13061 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13062 Unlock mutex when removing an unknown pad.
13065 * tests/check/Makefile.am:
13066 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13067 (push_event), (setup), (teardown), (GST_START_TEST),
13068 (gst_collect_pads_suite), (main):
13069 Added collecpads check, disabled for now as check crashes for
13072 2006-05-29 Wim Taymans <wim@fluendo.com>
13074 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13075 Don't leak pads lists.
13077 2006-05-29 Wim Taymans <wim@fluendo.com>
13079 * docs/libs/gstreamer-libs-sections.txt:
13080 * libs/gst/base/gstcollectpads.c:
13081 (gst_collect_pads_set_flushing_unlocked),
13082 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13083 (gst_collect_pads_stop):
13084 * libs/gst/base/gstcollectpads.h:
13085 API: gst_collect_pads_set_flushing()
13086 Added api to set the pads to flushing, useful for seeking
13087 code in elements using collectpads.
13088 Clear segment when receiving a flush.
13090 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13092 * gst/gst.c: (add_path_func), (init_post):
13093 Don't scan registry paths passed via --gst-plugin-path immediately
13094 (will crash, because absolutely nothing is set up and no types are
13095 registered etc.); do this later in init_post(). Fixes #343057.
13097 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13099 * gst/gst.c: (init_post):
13100 if we have fork, fork while reading/rebuilding the registry
13101 so the parent doesn't take the hit of having all plugins loaded
13102 in memory. Fixes #342777.
13104 Check if we have fork()
13105 * win32/common/config.h.in:
13108 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13110 * plugins/elements/gstelements.c:
13111 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13112 (gst_file_src_init), (gst_file_src_set_property),
13113 (gst_file_src_get_property), (gst_file_src_start):
13114 * plugins/elements/gstfilesrc.h:
13115 API: GstFileSrc::use-mmap
13117 Add a use-mmap property to enable easier testing of all code paths.
13118 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13119 in the absence of gnomevfssrc. (Closes #340501)
13121 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13123 * tools/gst-inspect.c:
13124 Add missing include, removes warning of ngettext not being defined on
13127 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13129 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13130 Handle NULL input and output pointers silently as a failed conversion,
13131 rather than g_warnings.
13133 2006-05-25 Wim Taymans <wim@fluendo.com>
13135 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13136 Initialize variable before using. Fixes #342820.
13138 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13140 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13141 Fix off-by-one bug that would only allow peeks of N-1 bytes
13142 from the start even if the buffer to typefind on contains
13143 in fact N bytes of data (makes vorbis typefinding from a
13144 vorbis identification header buffer work).
13146 * tests/check/Makefile.am:
13147 * tests/check/libs/.cvsignore:
13148 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13149 (gst_typefindhelper_suite), (main), (foobar_typefind),
13151 Add very basic unit test for gst_type_find_helper_for_buffer()
13152 that checks for the problem fixed above.
13154 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13156 * tools/gst-inspect.c: (print_interfaces),
13157 (print_element_properties_info), (print_element_list), (main):
13158 add more translatable strings
13160 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13162 Patch by: Julien Moutte <julien at moutte net>
13164 * docs/gst/gstreamer-sections.txt:
13165 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13167 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13168 (gst_fake_sink_preroll):
13169 * plugins/elements/gstfakesink.h:
13170 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13172 2006-05-23 Wim Taymans <wim@fluendo.com>
13174 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13176 Added _CUSTOM error and success GstFlowReturn that can be
13177 used be elements internally.
13178 Added macro to check for SUCCESS flowreturns.
13179 API: GST_FLOW_CUSTOM_SUCCESS
13180 API: GST_FLOW_CUSTOM_ERROR
13181 API: GST_FLOW_IS_SUCCESS
13183 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13184 Added check for GstFlowReturn sanity.
13186 2006-05-23 Wim Taymans <wim@fluendo.com>
13188 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13190 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13191 (gst_collect_pads_event):
13192 clear/reset segment info in FLUSH_STOP.
13195 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13197 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13198 (gst_collect_pads_check_collected):
13199 Flush queued buffer on _stop(), fixes playing again (#342454)
13201 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13203 * tests/check/gst/gststructure.c: (GST_START_TEST),
13204 (gst_structure_suite):
13205 add a test for a complete structure
13207 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13209 * docs/faq/developing.xml:
13210 * docs/faq/faq.xml:
13211 * docs/faq/troubleshooting.xml:
13212 * docs/faq/using.xml:
13213 Some minor FAQ updates that won't change the fact that
13214 our FAQ is badly structured, full of information hardly
13215 anyone new to GStreamer needs to know and lacking lots
13216 of information people constantly ask for.
13218 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13220 * gst/gstpad.c: (gst_pad_set_caps):
13221 Short-circuit gst_pad_set_caps if setting the existing
13222 caps pointer again, and avoid printing debug and
13223 reffing/unreffing the caps.
13225 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13226 There's actually no need to set the caps before pushing -
13227 the acceptcaps method will handle it anyway.
13229 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13231 * docs/gst/gstreamer-sections.txt:
13232 * win32/common/libgstreamer.def:
13233 * gst/gstutils.c: (gst_element_seek_simple):
13235 API: add gst_element_seek_simple() (#342238).
13237 2006-05-18 Edward Hervey <edward@fluendo.com>
13239 * gst/gsttypefind.c: (gst_type_find_get_type):
13240 * gst/gsttypefind.h:
13241 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13242 registered for GstTypeFind pointers. This allows wrapping the structure
13243 in bindings (i.e. gst-python).
13245 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13247 * gst/gsttagsetter.c:
13248 Docs additions and fixes (see #339918).
13250 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13252 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13253 The caps intersection algorithm can produce multiple copies of the
13254 caps. Until that is fixed, we need to simplify the result to be
13255 sure whether the allowed caps are fixed or not.
13257 * plugins/elements/gstqueue.c: (gst_queue_init),
13258 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13259 (gst_queue_push_one):
13260 Proxied buffer alloc should not set the caps on the source pad.
13261 When pushing buffers, we always accept the caps change that triggers.
13262 This prevents negotiation errors caused by caps changing mid-stream
13263 and then being refused on our source pad (because upstream is now
13264 refusing those caps).
13266 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13268 * tests/examples/helloworld/helloworld.c: (main):
13269 Must plug audioconvert and audioresample between decoder
13272 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13274 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13275 (load_feature), (load_plugin):
13276 Allow empty strings for some of the plugin fields so we don't
13277 drop valid plugin entries that were written out correctly
13280 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13282 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13283 Use g_remove and g_rename instead of remove and rename that don't
13284 handle utf8 characters. rename was failing for users who had specific
13285 characters in their name then the registry was built at each
13287 * win32/vs6/gst_inspect.dsp:
13288 * win32/vs6/gst_launch.dsp:
13289 * win32/vs6/libgstbase.dsp:
13290 * win32/vs6/libgstcoreelements.dsp:
13291 * win32/vs6/libgstreamer.dsp:
13292 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13293 build of libgstreamer and clean unused libraries in projects link
13296 2006-05-17 Edward Hervey <edward@fluendo.com>
13298 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13299 The queue is not responsible for pushing an EOS when receiving a fatal
13300 flow error. It's up to the real element driving the pipeline to do that.
13302 2006-05-16 Edward Hervey <edward@fluendo.com>
13304 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13305 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13306 buffer returned a fatal error. It should just send an EOS and stop
13308 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13309 when pushing buffers on the queue and will be able to handle the event.
13311 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13313 * docs/manual/basics-bins.xml:
13314 * docs/manual/basics-init.xml:
13315 Fix typos and minor errors in sample code (#341856).
13317 2006-05-16 Wim Taymans <wim@fluendo.com>
13319 * docs/design/part-qos.txt:
13320 Fix indexes in formulas to make more sense.
13322 2006-05-15 Wim Taymans <wim@fluendo.com>
13324 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13325 Don't report POSITION based on clock time if sync is
13326 disabled in a sink.
13328 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13331 Add cast to make compiler happy - refcount variable was a gint
13332 in GstObject but is a guint in GObject and g_atomic_int_get()
13335 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13337 * gst/parse/Makefile.am:
13338 chain commands using &&, which also makes parallel make work
13340 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13342 * docs/gst/gstreamer-sections.txt:
13345 * gst/gstmessage.h:
13348 === release 0.10.6 ===
13350 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13353 releasing 0.10.6, "Take the cannoli"
13355 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13357 * tools/gst-launch.c: (print_tag):
13358 Fix use of uninitialized variable in the hypothetical
13359 case that some broken plugin creates a GST_TAG_IMAGE
13360 tag containing a NULL buffer (#341667).
13362 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13364 * tools/gst-launch.c: (print_tag):
13365 Print something more intelligible for image tags when
13366 using the -t switch (#341556).
13368 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13373 define GST_MAJORMINOR so we have it available in win32/common/config.h
13374 Possibly remove it from our Makefile.am files later
13375 * win32/common/config.h:
13376 * win32/common/config.h.in:
13377 added GST_MAJORMINOR
13378 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13379 * win32/common/gstversion.h:
13382 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13385 Update win32 files listing.
13386 * win32/common/gstversion.h:
13387 Add GST_MAJORMINOR definition.
13388 * win32/common/libgstreamer.def:
13389 Add new exported functions.
13391 2006-05-12 Michael Smith <msmith@fluendo.com>
13393 * gst/gstplugin.c: (gst_plugin_load_file):
13394 If an so file has no plugin entry point, unload the module.
13396 2006-05-11 Wim Taymans <wim@fluendo.com>
13398 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13399 (gst_queue_set_property):
13400 Don't forget to signal the _chain or _loop function
13401 when the queue size or thresholds change since that might
13402 cause them to make progres again.
13404 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13406 * gst/gstclock.c: (gst_clock_class_init):
13407 * gst/gstindex.c: (gst_index_class_init):
13408 * gst/gstobject.c: (gst_object_class_init):
13409 * gst/gstpad.c: (gst_pad_class_init):
13410 * gst/gstpipeline.c: (gst_pipeline_class_init):
13411 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13412 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13413 * libs/gst/base/gstbasetransform.c:
13414 (gst_base_transform_class_init):
13415 * libs/gst/net/gstnetclientclock.c:
13416 (gst_net_client_clock_class_init):
13417 * libs/gst/net/gstnettimeprovider.c:
13418 (gst_net_time_provider_class_init):
13419 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13420 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13421 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13422 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13423 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13424 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13425 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13426 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13427 * plugins/elements/gsttee.c: (gst_tee_class_init):
13428 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13429 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13430 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13432 2006-05-11 Wim Taymans <wim@fluendo.com>
13434 * gst/gstbuffer.c: (_gst_buffer_initialize):
13435 Register subbufer along with the buffer type so that
13436 it does not accidentally gets registered from N
13437 different streaming threads in a non threadsafe way.
13439 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13443 * gst/gstmessage.h:
13444 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13445 gst_event_ref() and gst_message_ref() functions again
13446 (ugly hack, please do fix if there's a better way besides
13447 overrides.txt, which doesn't seem to work).
13449 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13451 * libs/gst/check/gstcheck.h:
13452 add an assert for setting state to avoid lots of repetitive code
13455 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13457 * gst/gstvalue.c: (gst_value_serialize_flags):
13458 fix a leak if no flags are set
13459 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13462 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13464 * docs/manual/basics-pads.xml:
13465 Expand a bit on caps and filtered links and update
13466 examples that were still using the no longer existing
13467 gst_pad_link_filtered() (#338206).
13469 2006-05-10 Wim Taymans <wim@fluendo.com>
13471 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13472 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13473 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13474 (gst_collect_pads_stop):
13475 * libs/gst/base/gstcollectpads.h:
13476 No need to call _stop in _finalize.
13477 Iterate the main pad list in _finalize.
13478 Added some more debug.
13479 Free lists and data in the right order.
13480 Also free data whem doing _remove_pad when stopped for
13481 backward compatibility protect ::started with PAD_LOCK as
13484 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13486 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13487 (gst_structure_parse_value):
13489 rename a method so that it actually says what it does better
13491 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13493 * gst/gstevent.c: (_gst_event_initialize):
13494 * gst/gstformat.c: (_gst_format_initialize):
13495 make sure some essential types used by events are registered
13496 as part of gst_init()
13497 * gst/gstvalue.c: (gst_value_serialize_flags):
13498 if no flags are set, serialize them to a value that represents NONE
13499 so that deserializing them works
13500 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13501 add tests for serialization and deserialization of flags
13503 2006-05-10 Wim Taymans <wim@fluendo.com>
13505 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13506 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13507 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13508 (gst_collect_pads_event), (gst_collect_pads_chain):
13511 Catch and return errors from the collect function
13512 Refuse data on eos pads.
13514 2006-05-10 Edward Hervey <edward@fluendo.com>
13516 * gst/gstinterface.h:
13517 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13518 GInterface type checking.
13519 They were previously using non-defined macros.
13521 2006-05-09 Wim Taymans <wim@fluendo.com>
13523 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13524 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13525 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13526 (gst_collect_pads_start), (gst_collect_pads_stop),
13527 (gst_collect_pads_peek), (gst_collect_pads_pop),
13528 (gst_collect_pads_available), (gst_collect_pads_read),
13529 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13530 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13531 (gst_collect_pads_chain):
13532 * libs/gst/base/gstcollectpads.h:
13533 Clean up the mess that is collectpads, add comments and
13534 FIXMEs where needed.
13535 Maintain a separate pad list so we can add pads while
13536 collecting the other ones. For this we need a new separate
13538 Fix memory leak in finalize.
13539 Refactor some weird code to set/unset pad flushing flags, mark
13541 Don't crash in _available, _read, _flush when we're EOS.
13543 * tests/check/libs/.cvsignore:
13544 Ignore adapter check binary.
13546 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13548 * gst/gstindex.c: (gst_index_resolver_get_type):
13549 * plugins/elements/gstfakesink.c:
13550 (gst_fake_sink_state_error_get_type):
13551 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13552 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13553 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13554 Const-ify GEnumValue arrays.
13556 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13558 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13559 Add test case for flags + gst_buffer_make_metadata_writable().
13561 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13563 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13564 gst_buffer_make_metadata_writable() should maintain the
13565 buffer flags (those that make sense at least) (see #340859).
13567 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13569 * tools/gst-inspect.c:
13570 * tools/gst-launch.c:
13571 * tools/gst-typefind.c:
13572 * tools/gst-xmlinspect.c:
13574 Fix up includes: need to include stdlib.h in tools.h for exit().
13576 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13578 * gst/gsttaglist.c: (_gst_tag_initialize):
13579 * gst/gsttaglist.h:
13580 API: add GST_TAG_IMAGE tag (#340721).
13582 2006-05-08 Wim Taymans <wim@fluendo.com>
13585 Added some docs for the segment query.
13587 2006-05-08 Wim Taymans <wim@fluendo.com>
13589 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13590 (gst_base_src_loop), (gst_base_src_change_state):
13591 Always push non-flushing serialized events in the streaming
13594 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13596 * gst/gsterror.c: (_gst_stream_errors_init):
13597 Add a missing error string.
13599 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13601 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13602 Add applied_rate to the debug
13604 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13605 Copy applied_rate into the outgoing NEWSEGMENT event
13607 2006-05-08 Wim Taymans <wim@fluendo.com>
13609 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13611 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13612 (gst_base_sink_change_state):
13613 call ::unlock before taking the PREROLL_LOCK so we can safely
13614 handle elements that lock in ::render.
13617 2006-05-08 Edward Hervey <edward@fluendo.com>
13619 * autogen.sh: (CONFIGURE_DEF_OPT):
13620 Darwin's libtoolize is in fact called glibtoolize.
13621 Adding glibtoolize to the list of accepted names for libtoolize.
13623 2006-05-08 Wim Taymans <wim@fluendo.com>
13625 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13626 Unify error handling, don't post an error message
13627 when a push() returns EOS but perform our normal EOS
13628 handling code. Fixes #340772.
13630 2006-05-08 Wim Taymans <wim@fluendo.com>
13632 * docs/design/part-overview.txt:
13633 Make upsteam/downstream concepts more clear.
13634 Give an example of serialized/non-serialized events.
13636 * docs/design/part-events.txt:
13637 * docs/design/part-streams.txt:
13638 Mention applied_rate.
13640 * docs/design/part-trickmodes.txt:
13641 Mention applied rate, flesh out some more use cases.
13643 * gst/gstevent.c: (gst_event_new_new_segment),
13644 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13645 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13646 (gst_event_parse_tag), (gst_event_new_buffer_size),
13647 (gst_event_parse_buffer_size), (gst_event_new_qos),
13648 (gst_event_parse_qos), (gst_event_parse_seek),
13649 (gst_event_new_navigation):
13651 Add applied_rate field to NEWSEGMENT event.
13652 API: gst_event_new_new_segment_full()
13653 API: gst_event_parse_new_segment_full()
13655 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13656 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13657 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13658 * gst/gstsegment.h:
13659 Add applied_rate to GstSegment structure.
13660 Make calculation of stream_time and running_time more correct
13661 wrt rate/applied_rate.
13662 Add some more docs.
13663 API: GstSegment::applied_rate field
13664 API: gst_segment_set_newsegment_full();
13666 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13667 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13668 * libs/gst/base/gstbasetransform.c:
13669 (gst_base_transform_sink_eventfunc),
13670 (gst_base_transform_handle_buffer):
13671 Parse and use applied_rate in the GstSegment field.
13673 * tests/check/gst/gstevent.c: (GST_START_TEST):
13674 Add check for applied_rate field.
13676 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13677 (gstsegments_suite):
13678 Add more checks for various GstSegment operations.
13680 2006-05-08 Wim Taymans <wim@fluendo.com>
13682 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13683 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13684 (gst_base_sink_get_position), (gst_base_sink_change_state):
13685 Store the sync time of the buffer end position separatly in a
13686 new variable eos_rtime so we can properly sync the EOS event.
13688 Fix the docs for gst_base_sink_set_qos_enabled().
13689 Don't set segment start to invalid value when we receive a
13690 non TIME newsegment.
13691 get closer to handling position reporting for negative rates
13694 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13697 Docs about how to print caps for debug purposes.
13699 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13700 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13702 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13704 * gst/gstelement.c:
13705 use full enum names and preprend a '%' in docs strings to make recent
13706 gtk-doc turn that into a link
13708 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13710 * docs/manual/basics-bins.xml:
13711 * docs/manual/basics-bus.xml:
13712 * docs/manual/basics-pads.xml:
13713 Some typo fixes, some additions, some clarifications.
13715 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13717 * tools/gst-inspect.c: (main):
13718 * tools/gst-launch.c: (main):
13719 * tools/gst-run.c: (main):
13720 * tools/gst-typefind.c: (main):
13721 * tools/gst-xmlinspect.c: (main):
13722 Use the string passed to g_option_context_new() for
13723 what it's intended for - the program name is already
13726 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13728 * tools/Makefile.am:
13729 * tools/gst-inspect.c: (main):
13730 * tools/gst-launch.c: (main):
13731 * tools/gst-xmlinspect.c: (main):
13733 Add back --version command line option (#340460).
13735 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13736 Add --version option and use GOption for argument parsing; refactor a
13737 bit; accept directories as arguments and recurse into them; lastly,
13738 print a decent error message when things go wrong.
13740 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13742 * docs/manual/basics-bins.xml:
13743 Don't mention GstThread (#340611)
13744 * docs/manual/basics-elements.xml:
13745 Update link to GObject tutorial (#340607)
13747 2006-05-05 Wim Taymans <wim@fluendo.com>
13750 * gst/gstminiobject.c:
13751 Add note about refcounting and miniobject/buffer writeability
13752 to docs. Fixes #340604
13754 * gst/gstelementfactory.h:
13755 Added some explanation about @klass.
13757 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13759 * docs/manual/intro-motivation.xml:
13760 * docs/manual/manual.xml:
13761 Avoid CORBA & Bonobo references (#340598)
13763 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13765 * docs/manual/basics-bus.xml:
13766 * docs/manual/basics-pads.xml:
13767 Fix up some inaccuracies and omissions (#340609)
13769 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13771 * gst/gstghostpad.c:
13772 Small typo in docs (#340625)
13774 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13776 * gst/parse/Makefile.am:
13777 Make 'make -j' proof (see #340698).
13779 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13782 Require GLib-2.8 here as well.
13784 2006-05-05 Wim Taymans <wim@fluendo.com>
13786 * gst/glib-compat.c:
13787 * gst/gst.c: (init_pre):
13788 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13789 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13790 (gst_object_dispatch_properties_changed):
13792 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13793 * gst/gststructure.c: (gst_structure_set_valist):
13794 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13795 Remove pre glib2.8 compatibility, fixes #340508
13797 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13799 * gst/gsttaglist.h:
13800 Mention type of tags in doc blurbs.
13802 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13804 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13805 (gst_pad_configure_src), (gst_pad_push):
13806 Restore acceptcaps checking behaviour now that good plugins have
13809 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13811 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13818 * gst/gstmessage.c:
13822 * gst/parse/Makefile.am:
13823 * libs/gst/base/gstadapter.c:
13824 * libs/gst/base/gstbasesrc.c:
13825 * libs/gst/base/gstpushsrc.c:
13826 * libs/gst/base/gsttypefindhelper.c:
13827 * plugins/elements/gstfakesrc.c:
13828 * plugins/elements/gstidentity.c:
13829 Make sure gstprivate.h and/or config.h are
13830 always included first, otherwise some of our
13831 defines (like _FILE_OFFSET_BITS) might be
13832 redefined in the system headers. Fixes build
13833 on opensolaris (#340016).
13835 2006-05-04 Wim Taymans <wim@fluendo.com>
13837 * docs/libs/gstreamer-libs-sections.txt:
13838 API: addition: gst_adapter_take_buffer()
13840 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13841 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13842 (gst_adapter_available_fast):
13843 * libs/gst/base/gstadapter.h:
13844 Prepare for optimizing the hell out of this hugely inefficient
13846 Added gst_adapter_take_buffer() so we can at least start thinking
13847 about subbuffering and merging.
13848 Added some comments.
13850 * tests/check/Makefile.am:
13851 * tests/check/libs/adapter.c: (GST_START_TEST),
13852 (gst_adapter_suite), (main):
13853 Added GstAdapter check.
13855 2006-05-04 Wim Taymans <wim@fluendo.com>
13857 * docs/design/part-overview.txt:
13858 Fix some typos, add blurb about buffer flags.
13860 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13862 * docs/libs/gstreamer-libs-sections.txt:
13863 make sure GstBaseTransformClass shows up in the docs
13864 * libs/gst/base/gstbasetransform.c:
13865 * libs/gst/base/gstbasetransform.h:
13866 move docs so gtk-doc picks it up now
13868 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13870 * docs/libs/gstreamer-libs-sections.txt:
13871 add missing symbols to docs
13873 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13875 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13876 back out the newsegment handling change, see #340060 for ongoing
13879 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13881 * tools/gst-run.c: (get_candidates), (main):
13882 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13883 work); fix typo in error message. Fixes #340079.
13885 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13887 * common/Makefile.am:
13888 * docs/Makefile.am:
13889 * docs/faq/Makefile.am:
13890 * docs/gst/Makefile.am:
13891 * docs/libs/Makefile.am:
13892 * docs/manual/Makefile.am:
13893 * docs/plugins/Makefile.am:
13894 * docs/pwg/Makefile.am:
13895 * docs/slides/Makefile.am:
13897 * common/upload.mak:
13898 move upload.mak to common
13900 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13902 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13903 add more asserts on refcounts
13904 do more cleanup at end of tests
13905 fix test leaks showing in FC5
13907 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13909 * plugins/elements/gsttypefindelement.c:
13910 (gst_type_find_element_handle_event):
13911 reverted wrong change and reflowed code to avoid others falling into
13914 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13916 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13917 fix changelog entry about last collectpads change,
13918 add notes about proper fix
13920 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13923 * gst/gstregistry.c: (gst_registry_scan_path_level),
13924 (gst_registry_scan_path):
13925 * gst/gstregistry.h:
13926 only write out registry if it has changed, fixes #338339
13928 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13931 * gst/gstpipeline.c:
13932 * plugins/elements/gstcapsfilter.c:
13933 * plugins/elements/gstfakesink.c:
13934 * plugins/elements/gstfakesrc.c:
13935 * plugins/elements/gstfdsink.c:
13936 * plugins/elements/gstfdsrc.c:
13937 * plugins/elements/gstfilesink.c:
13938 * plugins/elements/gstfilesrc.c:
13939 * plugins/elements/gstidentity.c:
13940 * plugins/elements/gstqueue.c:
13941 * plugins/elements/gsttee.c:
13942 * plugins/elements/gsttypefindelement.c:
13943 (gst_type_find_element_handle_event):
13944 make GstElementDetails const
13946 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13948 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13949 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13950 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13951 more detailed debug and formatting cleanup,
13952 forward newsegments to src-pad (so that e.g. adder not eats them)
13954 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13956 * gst/gstutils.c: (gst_element_link_pads):
13957 cleanup double code
13959 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13961 * libs/gst/controller/gstcontroller.c:
13962 (gst_controller_sync_values):
13964 * tests/check/libs/controller.c: (GST_START_TEST),
13965 (gst_controller_suite):
13966 a new test for live value handling
13968 2006-04-28 Wim Taymans <wim@fluendo.com>
13970 * gst/gstutils.c: (push_and_ref):
13971 Added some more docs.
13972 Fix refcount issue whith gst_element_found_tags() helper
13973 function. Fixes #338335
13975 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13976 Added testsuite for gst_element_found_tags().
13978 2006-04-28 Michael Smith <msmith@fluendo.com>
13980 * gst/gstvalue.c: (gst_value_serialize_flags):
13981 Avoid NULL dereference when trying to serialize flags containing
13984 2006-04-28 Michael Smith <msmith@fluendo.com>
13986 * plugins/elements/gsttypefindelement.c:
13987 (gst_type_find_element_handle_event):
13988 If we get EOS before any data is accumulated, don't use
13989 uninitialised local variables.
13991 2006-04-28 Michael Smith <msmith@fluendo.com>
13993 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13994 (gst_dp_event_from_packet):
13995 Fixes in reading/writing events over GDP (not currently used?) -
13996 dereferencing NULL events for unknown/invalid event types, memory
13997 leak, and change g_warning to GST_WARNING.
13999 2006-04-28 Wim Taymans <wim@fluendo.com>
14001 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14002 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14003 (gst_base_sink_get_position), (gst_base_sink_change_state):
14004 When frame dropping is enabled, we should not ignore frames
14005 without a duration.
14006 Update some documentation.
14008 2006-04-28 Wim Taymans <wim@fluendo.com>
14010 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14011 (gst_base_src_send_event), (gst_base_src_change_state):
14012 Documentation updates.
14014 2006-04-28 Wim Taymans <wim@fluendo.com>
14016 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14017 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14018 handle EAGAIN, EINTR and short writes correctly. Also clean
14019 up some error cases, avoid a deadlock on bad file descriptors and
14020 use GST_DEBUG_OBJECT.
14023 2006-04-28 Wim Taymans <wim@fluendo.com>
14025 * gst/gstvalue.c: (gst_value_serialize_buffer),
14026 (gst_value_deserialize_buffer):
14027 Don't try to serialize a GValue with a NULL buffer.
14030 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14031 Added check for serialisation of NULL buffers.
14033 2006-04-28 Wim Taymans <wim@fluendo.com>
14035 * gst/gstminiobject.c: (gst_value_take_mini_object):
14036 Taking a NULL miniobject is valid, fix the case where
14037 we try to unref the NULL miniobject.
14039 2006-04-28 Wim Taymans <wim@fluendo.com>
14041 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14043 * gst/gstbin.c: (gst_bin_handle_message_func):
14045 Don't leak bin refcount when a state recalc is
14046 in progress and we delay another one #339808.
14048 2006-04-28 Wim Taymans <wim@fluendo.com>
14050 * docs/design/part-TODO.txt:
14051 Mention QoS as an ongoing work item.
14053 * docs/design/part-buffering.txt:
14054 New doc about buffering that needs to be fleshed out
14057 * docs/design/part-qos.txt:
14058 More QoS policy for decoders/demuxers/transforms
14060 * docs/design/part-trickmodes.txt:
14063 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14068 === release 0.10.5 ===
14070 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14073 releasing 0.10.5, "Fogo"
14075 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14077 patch by: Wim Taymans
14079 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14080 (gst_pad_configure_src), (gst_pad_push):
14081 * gst/gstpipeline.c: (gst_pipeline_init):
14082 Fix internal data flow errors. Fixes #338711.
14084 2006-04-12 Wim Taymans <wim@fluendo.com>
14086 * tests/check/gst/gstelement.c: (GST_START_TEST):
14087 Don't leak the factory.
14089 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14092 * win32/common/config.h:
14095 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14097 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14098 (gst_controller_unset_all):
14099 Free allocated GstTimedValues when freeing list nodes.
14100 Should fix leaks 'make check-valgrind' complains about.
14102 * win32/common/libgstcontroller.def:
14103 Add gst_controller_unset_all.
14105 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14107 * docs/libs/gstreamer-libs-sections.txt:
14108 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14109 (gst_controller_unset_all):
14110 * libs/gst/controller/gstcontroller.h:
14111 API: Added new method gst_controller_unset_all()
14112 fixed gst_controller_unset()
14113 * tests/check/libs/controller.c: (GST_START_TEST),
14114 (gst_controller_suite):
14115 Added two testcases for new and fixed method
14117 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14119 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14120 MSG_DONTWAIT is not defined on Cygwin, so work
14121 around that (fixes #317048).
14123 2006-04-11 Wim Taymans <wim@fluendo.com>
14125 * gst/gstelementfactory.c: (gst_element_register),
14126 (gst_element_factory_create), (gst_element_factory_make):
14129 Updated docs (Fixes #131079)
14131 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14134 * tests/check/gst/gstelement.c: (GST_START_TEST),
14135 (gst_element_suite):
14136 Added testcase for elementfactory class field.
14138 2006-04-10 Wim Taymans <wim@fluendo.com>
14140 * gst/gstsegment.c:
14141 Added some more docs.
14143 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14144 (gst_base_sink_reset_qos):
14145 Calculate more accurate rate values.
14147 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14149 * gst/gst_private.h:
14150 add a new #ifdef to use __declspec(dllimport) only for
14151 other modules and not for gstreamer core
14152 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14153 use gst_guint64_to_gdouble for conversion
14154 * win32/common/libgstreamer.def:
14155 add new exported functions
14156 * win32/vs6/gst_inspect.dsp:
14157 * win32/vs6/gst_launch.dsp:
14158 * win32/vs6/libgstbase.dsp:
14159 * win32/vs6/libgstcontroller.dsp:
14160 * win32/vs6/libgstcoreelements.dsp:
14161 * win32/vs6/libgstdataprotocol.dsp:
14162 * win32/vs6/libgstnet.dsp:
14163 update project files
14165 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14167 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14168 * gst/gstclock.c: (gst_clock_class_init):
14169 * gst/gstelement.c: (gst_element_class_init):
14170 * gst/gstindex.c: (gst_index_class_init):
14171 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14172 * gst/gstobject.c: (gst_object_class_init),
14173 (gst_signal_object_class_init):
14174 * gst/gstpad.c: (gst_pad_class_init):
14175 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14176 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14177 * gst/gstregistry.c: (gst_registry_class_init):
14178 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14179 * gst/gsttask.c: (gst_task_class_init):
14180 * gst/gstxml.c: (gst_xml_class_init):
14181 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14182 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14183 (gst_base_src_loop):
14184 * libs/gst/controller/gstcontroller.c:/
14185 (_gst_controller_class_init):
14186 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14187 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14188 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14189 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14190 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14191 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14193 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14195 * gst/gstpad.c: (gst_pad_link):
14196 Must set peer pads before calling the link function, otherwise
14197 a task started from a link function might get a flow-not-linked
14198 result when trying to push because the other thread where the
14199 linking happens hasn't had a chance to set the peers yet. This
14200 might happen for example when a queue gets linked to a downstream
14201 element, as queue starts a streaming task when its source pad
14202 gets linked. Happens in real life when playing back flac/musepack
14203 files in playbin (#332390).
14205 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14209 * libs/gst/base/gstadapter.h:
14210 * libs/gst/base/gstbasesink.h:
14211 * libs/gst/base/gstbasesrc.h:
14212 * libs/gst/base/gstbasetransform.h:
14213 * libs/gst/base/gstcollectpads.h:
14214 * libs/gst/base/gstpushsrc.h:
14215 Fix broken GObject macros
14217 2006-04-07 Wim Taymans <wim@fluendo.com>
14219 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14220 Initialize start and stop times, thanks valgrind.
14222 2006-04-07 Wim Taymans <wim@fluendo.com>
14224 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14225 Be a bit nicer to badly behaving upstream elements that expect
14226 us to deal with non TIME segments and timestamps (such as fakesrc
14229 2006-04-07 Wim Taymans <wim@fluendo.com>
14232 Small documentation clarification about the signal watch.
14234 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14235 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14236 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14237 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14238 (gst_base_sink_get_position_last),
14239 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14240 Convert and store timestamps in stream time and running time, the
14241 raw timestamps are not useful, also document this better.
14242 Use different window sizes for good and bad QoS observations so
14243 we react to badness a little quicker.
14244 Keep track of the amount of rendered and dropped buffers.
14245 Send QoS timestamps in running time.
14247 * libs/gst/base/gstbasetransform.c:
14248 (gst_base_transform_sink_eventfunc),
14249 (gst_base_transform_handle_buffer):
14250 Compare QoS timestamps against running time.
14252 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14255 Typo fixes in docs.
14257 2006-04-06 Michael Smith <msmith@fluendo.com>
14259 * gst/gstpad.c: (gst_pad_set_property):
14260 Use g_value_get_object() instead of g_value_dup_gst_object(),
14261 to avoid double-reffing the pad template (which we then sink,
14262 so this worked previously if (and only if) the pad template
14265 * gst/gstpadtemplate.c: (gst_pad_template_init),
14266 (gst_pad_template_pad_created):
14267 Never return floating references to pad templates, create
14268 them as initially-sunken.
14270 Document an extra function (and make this stop sinking our
14271 pad template, since that is now guaranteed to do nothing,
14272 since we created it sunken).
14274 * gst/gstghostpad.c:
14277 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14279 * gst/gstinfo.c: (__gst_in_valgrind):
14282 * plugins/elements/gsttypefindelement.c:
14283 (gst_type_find_element_chain):
14284 Don't leak buffer caps.
14286 2006-04-06 Michael Smith <msmith@fluendo.com>
14288 * gst/parse/grammar.y:
14289 Fix a leak in parse-launch for any source-or-sink named element
14292 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14293 Unref the pipeline if it exists after we've failed parsing.
14295 2006-04-05 Michael Smith <msmith@fluendo.com>
14297 * gst/gstpipeline.c: (gst_pipeline_init):
14298 When we create a pipeline bus, initially create it in flushing mode.
14299 Fixes leaks in at least one test, and makes a new pipeline work the
14300 same as one that has gone to READY and then back to NULL.
14302 * gst/gstelement.c:
14305 2006-04-05 Michael Smith <msmith@fluendo.com>
14307 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14308 Unref a pad we reffed.
14309 * tests/check/gst/gstutils.c: (GST_START_TEST):
14312 2006-04-05 Michael Smith <msmith@fluendo.com>
14314 * gst/gstquery.c: (gst_query_set_formats),
14315 (gst_query_set_formatsv):
14316 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14318 2006-04-05 Michael Smith <msmith@fluendo.com>
14320 * tests/check/generic/sinks.c: (GST_START_TEST):
14321 Fix a variety of memleaks in sinks check, which are only sometimes
14322 shown by running the tests under valgrind (weird?).
14324 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14326 * docs/version.entities.in:
14327 Fix the substituted entity name after thomas' changes on the
14330 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14332 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14335 2006-04-05 Andy Wingo <wingo@pobox.com>
14337 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14339 * libs/gst/base/gstbasetransform.c
14340 (gst_base_transform_sink_eventfunc): When resetting our segment on
14341 FLUSH_STOP, also update the flag saying we haven't seen a
14344 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14346 Patch by: Paolo Borelli <pborelli at katamail dot com>
14348 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14349 (gst_plugin_check_license):
14350 minor clean-ups: G_DEFINE_TYPE already takes care of the
14351 parent_class stuff, no need to do it twice. Mark array of
14352 license strings as constant. (#337103)
14354 2006-04-04 Michael Smith <msmith@fluendo.com>
14356 * tools/gst-inspect.c: (print_element_list):
14357 Free the right plugin list; fixes a memory leak.
14359 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14361 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14363 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14364 Don't error out on empty buffers (#336945).
14366 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14368 * docs/libs/gstreamer-libs-sections.txt:
14369 * gst/gsttaglist.c:
14370 * libs/gst/base/gstbasesink.c:
14371 * libs/gst/base/gstbasesink.h:
14372 * libs/gst/base/gstbasesrc.c:
14373 * libs/gst/base/gstbasesrc.h:
14374 Documentation updates. Make BaseSink and BaseSrc docs contain the
14375 class structure so that people can actually see the prototypes for
14376 virtual functions they're supposed to be overriding.
14378 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14380 * plugins/elements/gsttypefindelement.c:
14381 (gst_type_find_element_chain):
14382 More debug info; when skipping typefinding, send cached
14383 events in all cases.
14385 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14388 use new AS_VERSION and AS_NANO macros
14389 * gst/gst-i18n-lib.h:
14392 * gst/gstversion.h.in:
14393 * win32/common/config.h:
14394 * win32/common/config.h.in:
14397 2006-03-31 Michael Smith <msmith@fluendo.com>
14399 * plugins/elements/gsttypefindelement.c:
14400 (gst_type_find_element_chain):
14401 Do not typefind content if the buffers already have caps.
14402 Neccesary for icydemux (#333657), and the right thing to do anyway.
14404 2006-03-30 Wim Taymans <wim@fluendo.com>
14406 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14407 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14408 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14409 (gst_base_sink_record_qos_observation),
14410 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14411 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14412 (gst_base_sink_change_state):
14413 More QoS measurements as described in the design doc.
14414 Get rid of ringbuffer with observations, running average is
14415 more simple and equally good.
14416 Calculates valid proportion now.
14417 Added beginning of flood measurement.
14419 2006-03-29 Wim Taymans <wim@fluendo.com>
14421 * docs/design/part-qos.txt:
14423 Small documentation updates and additions.
14425 2006-03-29 Wim Taymans <wim@fluendo.com>
14427 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14428 (gst_base_src_send_event), (gst_base_src_loop),
14429 (gst_base_src_change_state):
14430 Perform the EOS logic when we reach the segment stop position.
14431 Fix compilation on gcc4.1
14433 2006-03-29 Wim Taymans <wim@fluendo.com>
14435 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14437 * plugins/elements/gstqueue.c: (gst_queue_init),
14438 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14439 (gst_queue_set_property):
14440 * plugins/elements/gstqueue.h:
14441 In queue, when EOS is received, if minimum threshold > max_size -
14442 current_level, there is chance that queue blocks forever in conditional
14443 item del wait. This is because the queue is not emptied completely due
14444 to minimum threshold. Here is another approach. Instead of setting
14445 cur_levels to max in EOS, just zero all minimum threshold levels. This
14446 should make sure that queue gives out all data. When going to READY
14447 (stop) state, just reset the original minimum threshold levels.
14450 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14452 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14453 (gst_type_find_element_handle_event),
14454 (gst_type_find_element_send_cached_events),
14455 (gst_type_find_element_change_state):
14456 * plugins/elements/gsttypefindelement.h:
14457 When typefinding is done in push mode, we should cache
14458 events we receive during typefinding instead of just
14459 dropping them (e.g. newsegment, custom events from
14460 dvdreadsrc etc.) and then send them out once we've
14461 determined the type of the stream (and decodebin
14462 has had a chance to plug in a decoder/demuxer).
14464 2006-03-27 Wim Taymans <wim@fluendo.com>
14466 * docs/design/part-qos.txt:
14469 2006-03-27 Wim Taymans <wim@fluendo.com>
14471 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14473 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14474 (gst_base_src_send_event), (gst_base_src_change_state):
14475 Handle element seek correctly when we are streaming.
14478 2006-03-24 Michael Smith <msmith@fluendo.com>
14480 * docs/faq/gst-uninstalled:
14481 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14482 allow you to correctly run intalled applications built against old
14483 core, using plugins that require updated core (e.g. running
14484 installed totem against a full uninstalled gstreamer stack)
14486 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14488 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14491 2006-03-24 Wim Taymans <wim@fluendo.com>
14493 * docs/gst/gstreamer-sections.txt:
14494 Rearrange the order of the methods so that related methods
14495 are grouped together in sections.
14497 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14499 * gst/gstelement.c:
14500 Little clarification in the docs
14502 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14506 * plugins/elements/gstidentity.c:
14507 * plugins/elements/gstqueue.c:
14508 * plugins/elements/gsttee.c:
14509 * plugins/elements/gsttypefindelement.c:
14510 GST_ELEMENT_DETAILS formatting
14512 2006-03-24 Wim Taymans <wim@fluendo.com>
14514 * libs/gst/base/gstbasesink.h:
14515 Only add fields, not insert or we break ABI.
14517 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14519 * win32/common/libgstbase.def:
14520 * win32/common/libgstreamer.def:
14521 Update, add recently added functions.
14523 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14525 * docs/gst/gstreamer-sections.txt:
14526 * gst/gstutils.c: (gst_pad_query_peer_position),
14527 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14529 API: add some new utility functions:
14530 - gst_pad_query_peer_position()
14531 - gst_pad_query_peer_duration()
14532 - gst_pad_query_peer_convert()
14534 2006-03-23 Wim Taymans <wim@fluendo.com>
14536 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14537 (gst_base_sink_init), (gst_base_sink_finalize),
14538 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14539 (gst_base_sink_set_property), (gst_base_sink_get_property),
14540 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14541 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14542 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14543 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14544 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14545 (gst_base_sink_preroll_object), (gst_base_sink_event),
14546 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14547 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14548 (gst_base_sink_query), (gst_base_sink_change_state):
14549 Decouple max-lateness and the fact that QoS messages are generated
14550 with a new property (qos).
14551 added API: GstBaseSink::async_play()
14552 Add vmethod so subclasses can be notified of ASYNC playing
14554 Collect timestamp start and stop to report better current
14555 position in EOS/PLAYING/PAUSED/READY/NULL.
14556 Refactor QoS/frame dropping and other measurements.
14557 API: GstBaseSrc::qos
14560 * libs/gst/base/gstbasesink.h:
14561 Added Private struct.
14562 API: gst_base_sink_set_qos_enabled()
14563 API: gst_base_sink_is_qos_enabled()
14565 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14567 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14568 If compiling against GLib-2.8 or newer, try to read the
14569 registry file using GMappedFile first before falling back
14570 to fopen() + fread() (#332151).
14572 2006-03-22 Wim Taymans <wim@fluendo.com>
14574 * gst/gstinfo.c: (gst_debug_set_active),
14575 (gst_debug_category_set_threshold):
14576 Disable debugging unless explicitly activated.
14579 2006-03-22 Wim Taymans <wim@fluendo.com>
14581 * gst/gstelement.c: (gst_element_set_locked_state),
14582 (gst_element_dispose):
14583 Cleanup the error case.
14585 * gst/gstobject.c: (gst_object_dispose):
14586 print a critical when some object was disposed with
14587 a parent, also revive the object since it might
14590 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14592 * tools/gst-launch.1.in:
14595 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14598 * tests/check/Makefile.am:
14599 disable some tests when we don't have a registry
14600 * tests/check/gst/gstutils.c: (gst_utils_suite):
14601 don't build the part that needs parsing
14603 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14606 * tests/examples/Makefile.am:
14607 fix --disable-parse build
14609 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14611 * tools/gst-feedback.1.in:
14612 Fix typo: s/feeback/feedback/ (#133494).
14614 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14616 * tools/Makefile.am:
14617 * tools/gst-launch.1.in:
14618 Add FILES section and correct entry about GST_REGISTRY_PATH
14619 environment variable (#133495; #133494).
14621 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14623 * tools/Makefile.am:
14624 * tools/gst-md5sum.1.in:
14625 * tools/gst-md5sum.c:
14626 Remove gst-md5sum and man page (the md5sink element
14627 required was removed ages ago)
14629 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14631 * gst/gststructure.c: (gst_structure_id_set_value):
14632 Make sure that string fields in structures/taglists
14633 contain valid UTF-8 - we don't want to pass rubbish to
14634 applications because of a buggy plugin (cp. #334167).
14636 2006-03-21 Edward Hervey <edward@fluendo.com>
14638 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14639 (gst_bin_handle_message_func):
14640 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14641 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14642 (gst_element_set_bus_func):
14643 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14644 * gst/gstminiobject.c: (gst_value_set_mini_object),
14645 (gst_value_take_mini_object):
14646 * gst/gstpad.c: (gst_pad_set_pad_template):
14647 * gst/gstpipeline.c: (gst_pipeline_dispose),
14648 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14649 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14650 (gst_collect_pads_chain):
14651 * libs/gst/net/gstnettimeprovider.c:
14652 (gst_net_time_provider_set_property):
14653 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14654 It's in fact all issues with gst_*object_replace().
14656 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14658 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14660 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14661 * pkgconfig/gstreamer-check.pc.in:
14662 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14664 2006-03-21 Edward Hervey <edward@fluendo.com>
14668 * gst/gstmessage.h:
14669 gst_[buffer|event|message]_ref() macros are replaced by a static
14670 inline functions because gcc-4.1 will about if the return value
14672 * tests/check/gst/gstevent.c: (event_probe):
14673 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14675 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14678 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14679 the type' case. (Closes: #335195 for now). In the future, when we
14680 depend on GLib 2.10, we could also intern the type name using
14681 g_intern_static_string()
14683 2006-03-20 Wim Taymans <wim@fluendo.com>
14685 * gst/gstbin.c: (gst_bin_handle_message_func),
14686 (bin_query_max_init), (bin_query_position_fold),
14687 (bin_query_position_done), (gst_bin_query):
14688 Position query should also take max of all streams.
14690 2006-03-20 Wim Taymans <wim@fluendo.com>
14692 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14693 (gst_fake_src_finalize):
14694 Fix leaks in fakesrc.
14696 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14697 Fix leaks in the testcase.
14699 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14701 * gst/gst_private.h:
14702 add win32 specific import decoration(__declspec(dllimport))
14703 for all extern GstDebugCategory * variables
14704 * win32/common/libgstbase.def:
14705 * win32/common/libgstcontroller.def:
14706 * win32/common/libgstreamer.def:
14707 Add some exports, remove empty lines
14708 * win32/common/libgstdataprotocol.def:
14709 * win32/common/libgstdataprotocol.dsp:
14710 * win32/common/libgstnet.def:
14711 * win32/common/libgstnet.dsp:
14712 new project files and exportation files added
14714 2006-03-19 Wim Taymans <wim@fluendo.com>
14716 * tests/check/libs/basesrc.c: (eos_event_counter):
14717 Use proper return value for probe.
14719 2006-03-17 Wim Taymans <wim@fluendo.com>
14721 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14723 Don't leak buffers, caps and pads on negotiation errors.
14725 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14727 * docs/faq/cvs.xml:
14728 * docs/faq/dependencies.xml:
14729 * docs/faq/developing.xml:
14730 * docs/faq/faq.xml:
14731 * docs/faq/general.xml:
14732 * docs/faq/getting.xml:
14733 * docs/faq/legal.xml:
14734 * docs/faq/troubleshooting.xml:
14735 * docs/faq/using.xml:
14736 Faq review and update.
14738 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14740 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14742 Don't pound the cpu to pieces by checking get_caps when accept_caps
14743 is called with the same caps as the pad already has.
14744 Use GST_DEBUG_OBJECT when outputting caps change information.
14746 2006-03-15 Wim Taymans <wim@fluendo.com>
14748 * gst/gstclock.c: (gst_clock_class_init):
14751 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14756 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14757 (gst_pad_accept_caps), (gst_pad_configure_sink),
14758 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14759 Make the default acceptcaps behaviour be to check the requested
14760 caps against the gst_pad_get_caps output.
14762 Ensure that gst_pad_accept_caps is used to check caps when a pad
14763 doesn't have a setcaps function, so that pads automatically refuse
14764 caps that they don't allow in their pad template. (Fixes #332986)
14766 When a buffer with attached caps is pushed, ensure that the source
14767 pad receives those caps even if the element didn't call
14768 gst_pad_set_caps first.
14770 2006-03-15 Wim Taymans <wim@fluendo.com>
14772 * libs/gst/base/gstadapter.c:
14775 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14777 * win32/common/libgstbase.def:
14778 * win32/common/libgstcontroller.def:
14779 * win32/common/libgstreamer.def:
14780 Add a whole bunch of missing functions (#334434).
14782 2006-03-14 Wim Taymans <wim@fluendo.com>
14784 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14785 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14786 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14787 Better debug info when we receive a segment event.
14788 Reorganize a bit so we can pass the get_times() results around.
14789 Use the segment format when calculating the running time.
14790 Don't do QoS is sync is disabled or we have no clock or the
14791 element does not want us to sync to the clock.
14792 Don't drop buffers if QoS is disabled for now.
14794 2006-03-14 Wim Taymans <wim@fluendo.com>
14796 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14797 Marked the stats property as unimplemented so people don't get
14799 Add debug message when regression goes wrong.
14800 Added some more docs.
14802 2006-03-14 Wim Taymans <wim@fluendo.com>
14804 * gst/gstsegment.c: (gst_segment_to_stream_time):
14805 Return correct return type in case of errors.
14807 2006-03-14 Wim Taymans <wim@fluendo.com>
14809 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14810 Don't segfault on invalid formats.
14812 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14814 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14815 Can't use gst_segment_to_running_time() when the segment
14816 is not in GST_TIME_FORMAT (like with filesink, for example).
14817 Stops flac encoding pipelines from spewing critical warnings
14820 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14822 * gst/gstpipeline.c: (gst_pipeline_class_init):
14823 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14825 * plugins/elements/gsttypefindelement.c:
14826 (gst_type_find_element_handle_event):
14827 Don't try to typefind empty streams.
14829 2006-03-14 Wim Taymans <wim@fluendo.com>
14831 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14832 (gst_base_sink_do_qos):
14833 Separate QoS calculation.
14834 Only drop buffers when lateness is bigger than the
14835 duration of the buffer.
14837 2006-03-13 Wim Taymans <wim@fluendo.com>
14839 * gst/gstpipeline.c: (gst_pipeline_set_property),
14840 (gst_pipeline_get_property), (do_pipeline_seek),
14841 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14842 (gst_pipeline_get_delay):
14843 Don't deadlock when reading properties.
14845 2006-03-13 Wim Taymans <wim@fluendo.com>
14847 * libs/gst/base/gstbasetransform.c:
14848 (gst_base_transform_class_init), (gst_base_transform_init),
14849 (gst_base_transform_sink_event),
14850 (gst_base_transform_sink_eventfunc),
14851 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14852 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14853 (gst_base_transform_set_property),
14854 (gst_base_transform_get_property),
14855 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14856 (gst_base_transform_set_qos_enabled),
14857 (gst_base_transform_is_qos_enabled):
14858 * libs/gst/base/gstbasetransform.h:
14859 Make basetransform virtual method for src events too.
14860 Handle QOS in basetransform.
14861 API: gst_base_transform_update_qos()
14862 API: gst_base_transform_set_qos_enabled()
14863 API: gst_base_transform_is_qos_enabled()
14865 2006-03-13 Wim Taymans <wim@fluendo.com>
14867 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14868 (gst_base_sink_do_sync):
14870 Use QOS debug category.
14872 2006-03-13 Wim Taymans <wim@fluendo.com>
14874 * plugins/elements/gstqueue.c:
14875 Very small doc update.
14877 2006-03-13 Wim Taymans <wim@fluendo.com>
14879 * gst/gst_private.h:
14880 * gst/gstinfo.c: (_gst_debug_init):
14881 Added QOS debug category
14883 2006-03-13 Wim Taymans <wim@fluendo.com>
14885 * docs/gst/gstreamer-sections.txt:
14886 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14888 * gst/gstbus.c: (gst_bus_class_init):
14891 * gst/gstelement.c: (gst_element_set_locked_state):
14892 * gst/gstsegment.c:
14893 Documentation updates.
14895 * gst/gstpipeline.c: (gst_pipeline_get_type),
14896 (gst_pipeline_class_init), (gst_pipeline_init),
14897 (gst_pipeline_dispose), (gst_pipeline_set_property),
14898 (gst_pipeline_get_property), (do_pipeline_seek),
14899 (gst_pipeline_send_event), (gst_pipeline_change_state),
14900 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14901 (gst_pipeline_get_delay):
14902 * gst/gstpipeline.h:
14903 Added methods for setting the delay.
14904 API: gst_pipeline_set_delay()
14905 API: gst_pipeline_get_delay()
14906 Add pipeline debug category
14909 Don't reset stream time when seek failed.
14911 2006-03-13 Wim Taymans <wim@fluendo.com>
14913 * docs/design/draft-klass.txt:
14914 * docs/design/part-clocks.txt:
14915 * docs/design/part-events.txt:
14916 * docs/design/part-gstbin.txt:
14917 * docs/design/part-gstpipeline.txt:
14918 * docs/design/part-messages.txt:
14919 * docs/design/part-negotiation.txt:
14920 * docs/design/part-overview.txt:
14921 * docs/design/part-preroll.txt:
14922 * docs/design/part-seeking.txt:
14923 * docs/design/part-states.txt:
14924 * docs/design/part-streams.txt:
14925 Documentation updates.
14927 2006-03-12 Julien MOUTTE <julien@moutte.net>
14929 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14930 us to leak strings...
14932 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14934 * libs/gst/net/gstnettimeprovider.c:
14936 * win32/common/config.h:
14939 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14941 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14944 Don't check for libgnomeui (leftover from old examples
14945 that aren't built or disted any longer) (#334303).
14947 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14949 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14950 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14951 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14952 there's no space left on the device.
14954 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14957 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14958 to cast the input to GstClockTime before comparing with
14959 another GstClockTime value.
14961 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14966 === release 0.10.4 ===
14968 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14971 releasing 0.10.4, "Light"
14973 2006-03-10 Michael Smith <msmith@fluendo.com>
14975 * libs/gst/dataprotocol/dataprotocol.c:
14976 Fix docs for dataprocotol to not get the return types completely
14977 wrong for a few functions.
14979 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14981 * docs/gst/gstreamer-sections.txt:
14982 * gst/gstpipeline.c: (gst_pipeline_class_init),
14983 (gst_pipeline_init), (gst_pipeline_set_property),
14984 (gst_pipeline_get_property), (gst_pipeline_change_state),
14985 (gst_pipeline_set_auto_flush_bus),
14986 (gst_pipeline_get_auto_flush_bus):
14987 * gst/gstpipeline.h:
14988 Add new API: gst_pipeline_set_auto_flush_bus() and
14989 gst_pipeline_get_auto_flush_bus() to disable automatic
14990 flushing of the pipeline's GstBus when going from READY
14991 to NULL state (#332045).
14993 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14995 * docs/gst/gstreamer-sections.txt:
14996 * gst/gsturi.c: (gst_uri_has_protocol):
14998 Add new API: gst_uri_has_protocol() (#333779).
15000 2006-03-09 Wim Taymans <wim@fluendo.com>
15002 * gst/gstclock.c: (gst_clock_entry_new),
15003 (gst_clock_id_compare_func), (gst_clock_id_wait),
15004 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15005 (gst_clock_init), (gst_clock_get_internal_time),
15006 (gst_clock_set_master), (do_linear_regression),
15007 (gst_clock_add_observation), (gst_clock_set_property):
15011 Fix a possible segfault when the window-size is made smaller.
15012 Calculate jitter before performing the clock wait. Ideally
15013 the clock implementation should calculate jitter but we need
15014 API breakage for that.
15016 * gst/gstsystemclock.c: (gst_system_clock_init):
15019 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15020 Remove leftover else
15022 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15023 (gst_systemclock_suite):
15024 Added check to test GST_CLOCK_DIFF.
15026 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15028 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15029 (gst_type_find_helper_get_range):
15030 If we are provided with the size, we should implement
15031 GstTypeFind::get_length, so that typefind functions who
15032 want to can actually peek at the middle of a file.
15034 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
15036 * docs/manual/advanced-dataaccess.xml:
15037 Add some very very basic error checking.
15039 * docs/pwg/appendix-checklist.xml:
15040 Some updates to the list of things to check when writing an element.
15042 2006-03-08 Wim Taymans <wim@fluendo.com>
15044 * docs/design/part-element-transform.txt:
15045 Added some docs about the design of tranform elements.
15047 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15048 (gst_base_src_loop), (gst_base_src_change_state):
15049 Mark buffers with the DISCONT flag.
15051 2006-03-08 Michael Smith <msmith@fluendo.com>
15053 * gst/gstregistry.h:
15054 * gst/gstregistryxml.c: (gst_registry_save),
15055 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15056 (gst_registry_xml_save_pad_template),
15057 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15058 (gst_registry_xml_write_cache):
15059 Rewrite registry-saving to avoid race conditions and check for
15062 2006-03-08 Wim Taymans <wim@fluendo.com>
15064 * libs/gst/base/gstbasetransform.c:
15065 (gst_base_transform_transform_caps),
15066 (gst_base_transform_transform_size),
15067 (gst_base_transform_prepare_output_buffer),
15068 (gst_base_transform_get_unit_size),
15069 (gst_base_transform_buffer_alloc),
15070 (gst_base_transform_handle_buffer),
15071 (gst_base_transform_change_state):
15072 Cleanups, separate normal flow from errors, add sensible
15074 Don't try to renegotiate when allocating an output buffer.
15075 Also copy DISCONT buffer flag when copying a buffer.
15076 Reset the transform after we finish streaming, not during.
15078 2006-03-08 Wim Taymans <wim@fluendo.com>
15080 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15081 Use last buffer timestamp in qos message.
15083 2006-03-07 Wim Taymans <wim@fluendo.com>
15085 Patch by: Christophe Fergeau
15087 * docs/pwg/advanced-tagging.xml:
15088 * docs/pwg/building-pads.xml:
15091 2006-03-07 Wim Taymans <wim@fluendo.com>
15093 * docs/libs/gstreamer-libs-sections.txt:
15094 Added basesink new methods.
15098 Docs updates. Flesh out the QoS docs.
15100 * libs/gst/base/gstadapter.c:
15101 Small doc clarification about ownership and flushing.
15103 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15104 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15105 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15106 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15107 * libs/gst/base/gstbasesink.h:
15109 Added new methods to allow subclass to control max-lateness
15111 Generate very basic QoS events based on last sync observation.
15112 Updated docs, fix typo, added some QoS blurb.
15114 * libs/gst/base/gstbasesrc.c:
15115 Remove obsolete _get_state() calls from docs.
15117 2006-03-07 Wim Taymans <wim@fluendo.com>
15119 * docs/libs/gstreamer-libs-sections.txt:
15120 * libs/gst/base/gstbasetransform.h:
15121 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15122 Fix docs for GstBaseSrc.
15124 2006-03-07 Wim Taymans <wim@fluendo.com>
15126 * docs/gst/gstreamer-sections.txt:
15129 * libs/gst/base/gstbasetransform.h:
15130 Small documentation fixes.
15132 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15135 Document thread-unsafety of gst_value_register_foo_func()
15136 when used at the same time as gst_value_foo() (#322628).
15138 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15140 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15141 (gst_push_src_check_get_range):
15142 Push sources don't support pull mode by default.
15144 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15146 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15147 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15148 (gst_base_src_default_check_get_range):
15149 * libs/gst/base/gstbasesrc.h:
15150 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15151 provide default implementation, and rename
15152 gst_base_src_check_get_range() to
15153 gst_base_src_pad_check_get_range() for clarity.
15155 2006-03-06 Wim Taymans <wim@fluendo.com>
15157 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15158 Make property overridable.
15160 2006-03-06 Wim Taymans <wim@fluendo.com>
15162 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15163 (gst_base_sink_init), (gst_base_sink_set_property),
15164 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15165 * libs/gst/base/gstbasesink.h:
15166 API addition: Make max-lateness a property.
15168 2006-03-06 Wim Taymans <wim@fluendo.com>
15170 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15171 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15172 Don't ever draw a frame that is >10ms late.
15174 2006-03-06 Michael Smith <msmith@fluendo.com>
15176 * gst/gstmessage.c: (_gst_message_copy):
15177 When copying a message, set the parent_refcount of the enclosed
15178 structure to point at the copy, not the original message.
15180 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15182 Patch by: Christophe Fergeau
15185 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15186 usable in c++ code (#333417)
15188 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15191 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15193 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15195 * libs/gst/base/gstbasetransform.c:
15196 (gst_base_transform_transform_caps):
15197 Make sure caps are writable before passing them to
15200 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15203 Fix some minor docs errors.
15205 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15207 Patch by: Ross Burton <ross at burtonini dot com>
15209 * gst/gsterror.c: (_gst_resource_errors_init):
15211 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15213 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15216 Add a check and output a g_warning when GStreamer is built
15217 against GLib 2.6 but running against 2.8 or higher, and vice
15218 versa. (Closes: #323542)
15220 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15222 * gst/parse/parse.l:
15223 Commit patch for parse_launch syntax from #331255. Removes
15224 support for quoted strings and mimetypes when writing filtered
15225 caps. See the bug report for more details - I'm pretty sure this
15226 obscure feature is not in use by _anyone_ anywhere.
15228 With this simple change, the size of the gstreamer.so here
15229 drops from 2193KB to 1565KB.
15231 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15233 * plugins/elements/gsttypefindelement.h:
15234 * plugins/elements/gsttypefindelement.c:
15235 (gst_type_find_element_src_event), (start_typefinding),
15236 (stop_typefinding), (gst_type_find_element_handle_event),
15237 (gst_type_find_element_chain),
15238 (gst_type_find_element_chain_do_typefinding):
15239 Use gst_type_find_helper_for_buffer() for chain-based
15242 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15244 * plugins/elements/gsttypefindelement.c:
15245 (gst_type_find_element_class_init),
15246 (gst_type_find_element_set_property),
15247 (gst_type_find_element_get_property):
15248 Deprecate "maximum" property (not only was it only taken into
15249 account for typefinding in push-mode anyway, it also was never
15250 actually possible to set it in the first place because the
15251 property was registered with the numeric property ID for the
15252 "minimum" property). Register "maximum" property correctly,
15253 for the sake of future copy'n'pasters. Remove some cruft
15254 from property get/set functions.
15256 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15258 * plugins/elements/gsttypefindelement.c:
15259 (gst_type_find_element_activate):
15260 Use gst_type_find_helper_get_range() here, so we
15261 can honour the "minimum" property and also emit
15262 the signal with the correct probability of the found caps.
15264 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15266 * docs/libs/gstreamer-libs-sections.txt:
15267 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15268 (helper_find_suggest), (gst_type_find_helper_get_range),
15269 (gst_type_find_helper):
15270 * libs/gst/base/gsttypefindhelper.h:
15271 New API: gst_type_find_helper_get_range() (#333042).
15273 2006-03-02 Michael Smith <msmith@fluendo.com>
15275 * gst/gstregistryxml.c: (load_feature):
15276 Asserting on a failure to read part of the registry is Not Cool.
15277 Just log a warning and return NULL (which is already handled)
15279 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15281 * win32/common/libgstbase.def:
15282 added export of gst_type_find_helper_for_buffer
15283 * win32/common/libgstbase.def:
15284 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15285 gst_ghost_pad_get_target
15287 2006-02-28 Wim Taymans <wim@fluendo.com>
15289 * docs/design/draft-klass.txt:
15291 Added Connector to mark elements that are only used to
15292 allow pipeline connections.
15293 Moved Debug to extra feature since most of them are
15294 functionally something else.
15296 2006-02-28 Wim Taymans <wim@fluendo.com>
15298 * docs/design/draft-klass.txt:
15299 Some updates and clarifications.
15301 2006-02-28 Wim Taymans <wim@fluendo.com>
15303 * docs/design/draft-klass.txt:
15304 Proposal for klass field values.
15306 * docs/design/part-streams.txt:
15307 Start of a doc describing stream anatomy.
15309 2006-02-28 Wim Taymans <wim@fluendo.com>
15311 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15312 Help the compiler a bit with type registration.
15313 Use existing forward cod path instead of duplicating it when
15314 handling a message.
15316 * gst/gstbus.c: (gst_bus_get_type):
15317 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15318 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15319 * gst/gstclock.c: (gst_clock_get_type):
15320 * gst/gstelement.c: (gst_element_get_type),
15321 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15322 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15323 * gst/gstminiobject.c: (gst_mini_object_get_type):
15324 * gst/gstpad.c: (gst_pad_get_type):
15325 * gst/gstsegment.c: (gst_segment_get_type):
15326 * gst/gststructure.c: (gst_structure_get_type):
15327 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15328 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15330 Help compiler with type registration.
15332 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15335 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15337 * plugins/elements/gsttypefindelement.c:
15338 (gst_type_find_element_handle_event):
15339 When we get an EOS event and have not found a type yet
15340 (most likely because we had not yet accumulated
15341 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15342 type given the data we have so far. Fixes typefinding
15343 for very short streams again, most notably quicktime
15344 redirections as used on Apple's trailer site (#331701).
15346 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15348 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15349 (gst_type_find_helper):
15350 Try typefinding factories with the highest rank first.
15352 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15354 * docs/libs/gstreamer-libs-docs.sgml:
15355 * docs/libs/gstreamer-libs-sections.txt:
15356 * libs/gst/base/gsttypefindhelper.c:
15357 Add section for typefind helper and add documentation
15358 for the old and the new function.
15360 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15362 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15363 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15364 (gst_type_find_helper_for_buffer):
15365 * libs/gst/base/gsttypefindhelper.h:
15366 New API: gst_type_find_helper_for_buffer() (#332723).
15368 2006-02-27 Michael Smith <msmith@fluendo.com>
15370 Patch by: Loïc Minier
15373 * docs/Makefile.am:
15374 * docs/slides/Makefile.am:
15375 prevent CVS directories getting disted.
15377 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15379 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15380 Use the REFCOUNTING category for caps refcounting.
15382 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15384 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15385 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15387 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15389 * plugins/elements/gsttypefindelement.c:
15390 (gst_type_find_element_activate):
15391 Use gst_pad_check_pull_range() before _activate_pull()
15392 to avoid unnecessary open/close (see #331690).
15394 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15397 Docs enhancement: make it crystal clear what the
15398 gst_pad_add_*_probe() callbacks should look like.
15400 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15402 * libs/gst/base/gstbasesrc.c:
15403 Document how applications can stop recording from
15404 live sources (see #330996).
15406 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15408 * tests/check/Makefile.am:
15409 * tests/check/libs/basesrc.c: (eos_event_counter),
15410 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15411 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15412 (gst_basesrc_suite), (main):
15413 ... and add some tests for the base source EOS stuff.
15415 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15417 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15418 Test case originally showed the problem fixed below,
15419 but was then amended. Add checks back at the place
15420 where they used to be.
15422 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15424 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15425 (gst_base_src_init), (gst_base_src_loop),
15426 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15427 (gst_base_src_change_state):
15428 * libs/gst/base/gstbasesrc.h:
15429 Don't unconditionally send EOS when going from PAUSED to
15430 READY state, esp. make sure we don't send two EOS events
15431 in some cases (e.g. one when reaching EOS and one when
15432 going from PAUSED to READY). Also, we don't want to send
15433 EOS events when operating in pull mode. However, we do
15434 want to send an EOS event when shutting down a live
15435 source explicitly, for example (fixes #330996).
15437 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15439 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15440 Update src->read_position after a seek when not using mmap.
15441 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15443 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15449 Make things work with --disable-parse as they do with
15450 --disable-load-save - the symbols involved disappear, but the
15451 header is still installed and GST_DISABLE_PARSE is included via
15454 2006-02-20 Julien MOUTTE <julien@moutte.net>
15456 * libs/gst/base/gstbasetransform.c:
15457 (gst_base_transform_change_state): Fix a stupid bug. I was
15458 sure I compiled that.
15460 2006-02-20 Julien MOUTTE <julien@moutte.net>
15462 * gst/gstpad.c: (gst_pad_set_blocked_async):
15463 * gst/gstutils.c: (gst_pad_add_data_probe),
15464 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15465 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15466 (gst_pad_remove_buffer_probe): Make those function act on the
15467 ghostpad target when it's a ghostpad. (Closes #331727)
15469 2006-02-20 Julien MOUTTE <julien@moutte.net>
15471 * libs/gst/base/gstbasetransform.c:
15472 (gst_base_transform_change_state): Make basetransform reusable.
15475 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15477 * docs/random/release:
15478 Move the current documentation of how to do a release to the top
15481 * gst/gstbin.c: (gst_bin_class_init),
15482 (gst_bin_handle_message_func):
15483 Allow multiple state-recalculation threads. (Closes #328873)
15485 2006-02-19 Julien MOUTTE <julien@moutte.net>
15487 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15488 * gst/gstpad.c: (gst_pad_set_event_function),
15489 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15490 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15491 2 strings. You can't use the STR_NULL macro on that.
15493 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15495 * gst/gstpad.c: (gst_pad_set_event_function),
15496 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15497 (gst_pad_set_getcaps_function)
15498 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15499 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15500 So now, we can use --gst-debug-level=5 on Windows
15501 * win32/common/libgstcontroller.def:
15502 Added export of gst_controller_init
15503 * win32/vs6/libgstcontroller.dsp:
15504 Fixed Release post build configuration
15506 2006-02-17 Wim Taymans <wim@fluendo.com>
15508 * tests/check/gst/gstquery.c: (GST_START_TEST):
15509 Added another check.
15511 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15513 * plugins/elements/gsttypefindelement.c: (find_peek):
15514 We can do peeks at non-zero offsets, as long as they
15515 fall within the buffer we have.
15517 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15519 * tests/check/Makefile.am:
15520 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15521 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15522 (parse_suite), (main):
15523 Add testsuite for parse launch syntax
15525 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15527 * plugins/elements/gsttypefindelement.c:
15528 (gst_type_find_element_chain):
15529 When typefinding is unsuccessful in the chain function, don't
15530 error out immediately. Only error out with NO_CAPS_FOUND if
15531 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15532 otherwise simply wait for more data so we can try typefinding
15533 again with more data later. Also, don't attempt to typefind
15534 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15535 this should improve typefinding from network sources where the
15536 size of the first buffer can be somewhat random.
15538 2006-02-14 Wim Taymans <wim@fluendo.com>
15540 * docs/gst/gstreamer-sections.txt:
15541 * gst/gstpadtemplate.c:
15542 * gst/gstpadtemplate.h:
15543 Fix padtemplate docs, fixes #328805.
15545 2006-02-14 Wim Taymans <wim@fluendo.com>
15547 * tools/gst-launch.c: (main):
15548 NO_PREROLL is not an ERROR so don't send confusing messages
15551 2006-02-14 Wim Taymans <wim@fluendo.com>
15553 Patch by: Torsten Schoenfeld
15555 * gst/gstregistry.c: (gst_registry_get_default),
15556 (_gst_registry_cleanup):
15557 Protect default registry with lock and ref/sink it.
15560 2006-02-14 Wim Taymans <wim@fluendo.com>
15563 * gst/gstquery.c: (gst_query_list_add_format),
15564 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15565 (gst_query_parse_formats_nth):
15566 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15569 2006-02-14 Wim Taymans <wim@fluendo.com>
15571 * docs/gst/gstreamer-sections.txt:
15572 Reworked query docs.
15574 * gst/gstquery.c: (gst_query_new_formats),
15575 (gst_query_list_add_format), (gst_query_set_formats),
15576 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15577 (gst_query_parse_formats_nth):
15579 Flesh out formats query, added some new methods.
15580 Fix part of #324398.
15582 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15583 Added query creation tests.
15585 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15587 * gst/gstpad.c: (fixate_value):
15588 Add a default fixation for fraction lists.
15590 2006-02-13 Wim Taymans <wim@fluendo.com>
15592 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15593 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15596 Detect and warn for obvious deadlocks. fixes #320340
15597 Fix error case where lock was not released.
15599 * tests/check/Makefile.am:
15600 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15601 (task_func), (gst_element_suite), (main):
15604 2006-02-13 Wim Taymans <wim@fluendo.com>
15606 * docs/gst/gstreamer-sections.txt:
15608 Add new functions to docs.
15610 2006-02-13 Wim Taymans <wim@fluendo.com>
15612 * docs/design/part-TODO.txt:
15613 Updated TODO list, basesrc supports seeking to non-bytes
15616 * docs/design/part-element-sink.txt:
15619 * gst/gstbin.c: (bin_replace_message),
15620 (gst_bin_handle_message_func):
15621 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15622 * gst/gstevent.c: (gst_event_finalize):
15623 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15624 (gst_pad_send_event):
15625 Use shiny new _TYPE_NAME macros.
15627 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15628 Move debug statement up.
15630 * gst/gstelement.c: (gst_element_set_locked_state):
15631 Add some debugging.
15633 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15635 * docs/gst/gstreamer-sections.txt:
15636 * gst/gstmessage.h:
15638 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15639 macros (#330906). Also, document the already existing
15640 GST_QUERY_TYPE macro.
15642 2006-02-13 Wim Taymans <wim@fluendo.com>
15644 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15645 (event_probe), (GST_START_TEST):
15646 Only events up to the pipeline EOS are counted, there are
15647 some more when going to NULL currently which we don't care
15650 2006-02-13 Wim Taymans <wim@fluendo.com>
15652 * gst/gstpad.c: (gst_pad_send_event):
15653 Correctly check flushing and emit probes. fixes #330125
15655 2006-02-10 Andy Wingo <wingo@pobox.com>
15657 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15659 (gst_bus_init): Cache the location of the private data in the
15660 instance structure.
15661 (gst_bus_enable_sync_message_emission)
15662 (gst_bus_disable_sync_message_emission): Implement new public
15664 (gst_bus_post): Emit the sync-message signal if the user asked for
15667 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15668 location of the bus-private structure.
15669 (gst_bus_enable_sync_message_emission)
15670 (gst_bus_disable_sync_message_emission): API addition
15672 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15674 Patch by: Vincent Torri
15676 * docs/pwg/building-boiler.xml:
15677 PWG patch from #326800
15679 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15682 * docs/Makefile.am:
15683 * docs/design/Makefile.am:
15686 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15691 === release 0.10.3 ===
15693 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15696 releasing 0.10.3, "Like a virgin"
15698 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15701 2nd prerelease of 0.10.3
15702 Bump libtool versioning.
15704 2006-02-07 Andy Wingo <wingo@pobox.com>
15706 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15707 update last_stop if we're in TIME format and the timestamp is
15710 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15711 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15712 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15713 If we get a new newsegment with a different format, adapt
15716 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15717 of 0. Not a problem, really.
15719 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15722 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15727 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15730 project files updated to the default vs7 configuration
15731 * win32/common/libgstbase.def:
15732 * win32/common/libgstreamer.def:
15734 removed empty lines,
15735 sorted all exported symbols alphabetically
15736 * win32/common/dirent.c:
15737 * win32/common/dirent.h:
15738 * win32/common/gchar.h:
15739 use windows line end.
15741 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15743 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15744 Send EOS event when stopping.
15746 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15749 Tell folks what to do if the plugin-foobar.xml file
15750 hasn't been generated for a newly-added plugin.
15752 2006-02-05 Julien MOUTTE <julien@moutte.net>
15754 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15755 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15756 (gst_collect_pads_start), (gst_collect_pads_stop),
15757 (gst_collect_pads_event): Collectpads now holds a reference
15758 to the GstPad that was added. Indeed we don't want to look
15759 at pads that might just go away with no warning...
15761 2006-02-05 Julien MOUTTE <julien@moutte.net>
15763 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15764 (gst_collect_pads_start), (gst_collect_pads_stop),
15765 (gst_collect_pads_event), (gst_collect_pads_chain):
15766 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15767 Mark Nauwelaerts's patch on bug #328491.
15769 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15771 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15773 Add some simple tests for gst_parse_bin_from_description() and
15774 gst_bin_find_unconnected_pad() (#329069).
15776 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15778 * tools/gst-launch.c: (event_loop), (main):
15779 Catch errors during preroll (#320084).
15781 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15783 * plugins/elements/gsttypefindelement.c:
15784 (gst_type_find_element_activate):
15785 Post TYPE_NOT_FOUND error message when typefinding
15786 is unsuccessful in the activate function as well.
15788 2006-02-02 Wim Taymans <wim@fluendo.com>
15790 * docs/design/part-element-sink.txt:
15793 2006-02-02 Wim Taymans <wim@fluendo.com>
15795 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15796 (gst_base_sink_render_object),
15797 (gst_base_sink_queue_object_unlocked):
15798 Only keep track of prerollable items when we are
15800 Before rendering after preroll, always check if we
15802 Added some more debugging.
15804 2006-02-02 Wim Taymans <wim@fluendo.com>
15806 * gst/gstelement.c: (gst_element_continue_state),
15807 (gst_element_set_state_func), (gst_element_change_state):
15808 Fixed #326576, been running this for quite some time with
15809 no regressions at all.
15811 2006-02-02 Wim Taymans <wim@fluendo.com>
15814 Added more suppressions
15816 2006-02-02 Wim Taymans <wim@fluendo.com>
15818 * docs/design/part-element-sink.txt:
15821 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15822 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15823 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15824 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15825 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15826 (gst_base_sink_preroll_object),
15827 (gst_base_sink_queue_object_unlocked),
15828 (gst_base_sink_queue_object), (gst_base_sink_event),
15829 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15830 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15831 (gst_base_sink_get_position), (gst_base_sink_change_state):
15832 * libs/gst/base/gstbasesink.h:
15833 Totally refactored matching the design doc.
15834 Use two segments, one to clip incomming buffers and another to
15836 Handle queueing correctly, bypass the queue when playing.
15837 Make EOS cancelable.
15838 Handle errors correctly when operating in pull based mode.
15840 * tests/check/elements/fakesink.c: (GST_START_TEST),
15842 Added new check for sinks.
15844 2006-02-02 Wim Taymans <wim@fluendo.com>
15846 * gst/gstsegment.c: (gst_segment_clip):
15847 No reason to refuse to clip when start == -1
15849 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15852 * docs/manual/intro-basics.xml:
15853 * docs/manual/intro-preface.xml:
15854 * docs/manual/manual.xml:
15855 * docs/pwg/advanced-dparams.xml:
15856 * docs/pwg/intro-basics.xml:
15857 * docs/pwg/intro-preface.xml:
15858 * docs/pwg/pwg.xml:
15859 describe dparams (controller) for plugins
15860 unify docs a little more
15862 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15864 * docs/gst/gstreamer-sections.txt:
15865 * gst/gstutils.c: (element_find_unconnected_pad),
15866 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15868 Add new API: gst_parse_bin_from_description() and
15869 gst_bin_find_unconnected_pad() (#329069).
15871 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15873 * docs/manual/README:
15874 uncover a nasty detail of the docs build
15876 2006-01-31 Wim Taymans <wim@fluendo.com>
15878 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15879 Don't cache duration messages if we're not going to use or
15882 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15884 * docs/manual/advanced-dparams.xml:
15885 * docs/pwg/advanced-dparams.xml:
15889 * libs/gst/controller/lib.c: (gst_controller_init):
15892 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15894 * gst/gstelement.c: (gst_element_message_full):
15895 also show file/line/func if no additional debug was given
15897 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15899 * win32/vs7/grammar.vcproj:
15900 activate copy of autogenerated files for Release mode
15902 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15904 * win32/common/libgstreamer.def:
15905 export gst_value_compare
15907 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15909 * plugins/elements/Makefile.am:
15910 * plugins/elements/gstelements.c:
15911 * plugins/elements/gstfdsink.c: (_do_init),
15912 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15913 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15914 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15915 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15916 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15917 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15918 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15919 * plugins/elements/gstfdsink.h:
15920 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15922 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15924 * docs/manual/advanced-dparams.xml:
15925 describe controller
15926 * docs/manual/advanced-position.xml:
15927 * docs/manual/basics-init.xml:
15928 * docs/manual/manual.xml:
15929 * docs/manual/titlepage.xml:
15930 * docs/pwg/pwg.xml:
15931 * docs/pwg/titlepage.xml:
15932 cleanup xml (more to come)
15933 * libs/gst/controller/gstcontroller.c:
15936 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15938 * win32/vs6/grammar.dsp:
15939 add autogen of gstmarshal.c,h for Release mode
15941 2006-01-30 Wim Taymans <wim@fluendo.com>
15943 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15944 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15945 (gst_base_sink_handle_object), (gst_base_sink_event),
15946 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15947 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15948 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15949 (gst_base_sink_deactivate), (gst_base_sink_activate),
15950 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15951 (gst_base_sink_query), (gst_base_sink_change_state):
15952 Basesink cleanups, remove some old code.
15953 Handle the case where a subclass can preroll in the render
15954 method (mostly audiosinks).
15955 Handle more events.
15956 Remove some locks around variables that are now protected
15957 with the PREROLL_LOCK (clock_id, flushing, ..).
15958 Optimize position query some more, do correct locking.
15959 Remove old code to push queue in state change, this is not
15960 needed anymore since preroll blocks on all prerollable items
15962 Almost implemented as described in design doc.
15964 2006-01-30 Wim Taymans <wim@fluendo.com>
15966 * tests/check/gst/gstbin.c: (GST_START_TEST):
15967 Wait for refcount to settle down before checking.
15969 2006-01-30 Wim Taymans <wim@fluendo.com>
15971 * docs/design/part-element-sink.txt:
15972 Pseudo code overview of desired sink behaviour regarding
15975 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15976 * win32/vs6/grammar.dsp:
15977 fix some bugs in Release mode for autogenerated files
15979 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15980 * win32/common/libgstbase.def:
15981 * win32/common/libgstreamer.def:
15982 export some new symbols: gst_base_src_set_format,
15983 gst_iterator_next, gst_structure_set_valist
15985 2006-01-29 Julien MOUTTE <julien@moutte.net>
15987 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15988 Set pad functions unconditionally. Fixes #329105.
15990 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15992 add vs8 project files created by Sergey Scobich
15994 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15996 * gst/gstutils.c: (gst_element_unlink_pads):
15997 Don't leak pad references.
15999 * tests/check/elements/fakesink.c: (GST_START_TEST):
16000 * tests/check/generic/sinks.c: (GST_START_TEST):
16001 * tests/check/generic/states.c: (GST_START_TEST):
16002 * tests/check/gst/gstbin.c: (GST_START_TEST):
16003 * tests/check/gst/gstcaps.c: (GST_START_TEST):
16004 * tests/check/gst/gstelement.c: (GST_START_TEST):
16005 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16006 * tests/check/gst/gstiterator.c: (GST_START_TEST):
16007 * tests/check/gst/gstvalue.c: (GST_START_TEST):
16008 Fix a bunch of leaks. Make generic/sinks.c
16009 use a bit less cpu by slowing the buffer rate
16010 between fakesrc and fakesink.
16012 2006-01-27 Stefan Kost <ensonic@users.sf.net>
16014 * gst/gstelement.c: (gst_element_send_event):
16017 * gst/gstiterator.c:
16018 * gst/gstiterator.h:
16019 * gst/gstpad.c: (gst_pad_send_event):
16020 * gst/gststructure.c:
16024 * libs/gst/base/gstadapter.c:
16025 doc fixes, to link to function, just write gst_cool_function(), don't
16028 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16030 * plugins/elements/gsttee.c: (gst_tee_do_push),
16031 (gst_tee_handle_buffer):
16032 Always prefer an actual return value from a src
16033 pad in place of NOT_LINKED. This means we return
16034 WRONG_STATE when all src pads are WRONG_STATE
16035 instead of NOT_LINKED.
16037 Lock when replacing the last message to prevent
16038 racing with the get_property method.
16042 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16044 * tests/check/Makefile.am:
16045 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16047 Add a very simple check that should have caught the memleak I fixed
16048 last night (if not for the slice allocator hiding it)
16050 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16052 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16053 (gst_bin_remove_func), (gst_bin_handle_message_func),
16054 (bin_query_duration_fold), (bin_query_generic_fold):
16055 Clean up references to the clock provider when disposed or when
16056 handling a clock-lost message from it.
16058 Unref sinks when performing a query via gst_iterator_fold, as the
16059 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16061 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16062 (gst_clock_set_master):
16063 Drop our reference to the master clock, if any, when we are disposed.
16065 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16066 Chain up in dispose.
16068 2006-01-26 Wim Taymans <wim@fluendo.com>
16070 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16071 Add some debugging.
16073 2006-01-26 Julien MOUTTE <julien@moutte.net>
16075 * plugins/elements/gsttee.c: (gst_tee_do_push),
16076 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16077 handles pad being NOT_LINKED or in WRONG_STATE.
16079 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16084 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16087 remove obsolete entry
16089 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16091 * docs/gst/gstreamer-sections.txt:
16092 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16093 (gst_bin_iterate_sources), (gst_bin_send_event):
16095 * gst/gstelement.c: (gst_element_send_event):
16097 * gst/gstpad.c: (gst_pad_send_event):
16098 added code for downstream events, reviewed docs in gstevent.c
16100 2006-01-25 Julien MOUTTE <julien@moutte.net>
16102 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16103 We only query position using the clock in the playing state.
16104 Query peer in the other cases.
16105 * win32/common/config.h: Updates.
16107 2006-01-24 Wim Taymans <wim@fluendo.com>
16109 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16110 A clock entry that is scheduled for the exact time of the
16111 clock is still in time.
16113 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16114 (gst_base_sink_do_sync):
16115 Add some more debug info.
16117 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16120 Add new vs7 project files and solution.
16122 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16125 all files removed as they were out-dated.
16127 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16129 * docs/random/release:
16131 * gst/gstbin.c: (gst_bin_init):
16132 * gst/gstbus.c: (gst_bus_new):
16134 * gst/gstpipeline.c: (gst_pipeline_init):
16135 use gst_bus_new(), improve logging, fix docs
16136 * win32/common/config.h:
16137 update for cvs build
16139 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16142 up required version of automake to 1.7
16144 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16146 * win32/common/libgstreamer.def:
16147 export gst_buffer_is_metadata_writable
16149 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16151 * docs/gst/gstreamer-sections.txt:
16153 Add gst_event_replace() (#327001)
16155 2006-01-20 Wim Taymans <wim@fluendo.com>
16157 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16158 Make it actually compile too..
16160 2006-01-20 Wim Taymans <wim@fluendo.com>
16163 Clarify behaviour of _is_equal() when passing NULL parameters.
16165 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16166 (gst_pad_set_caps):
16167 Cleanups. Don't unref NULL caps.
16168 When setting the same caps, protect caps of the pad with
16170 Use full functionality of _is_equal() when comparing caps.
16172 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16175 Don't loop infinitely if there are no buffers to present. Partially
16176 fixes #327197, but collectpads is just broken for reusing elements
16177 to do multiple encodes atm.
16179 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16181 * tools/gst-inspect.c: (print_element_features):
16182 * tools/gst-xmlinspect.c: (main):
16183 URL_HANDLER is not a plugin feature we can search for in
16186 2006-01-19 Edward Hervey <edward@fluendo.com>
16188 * gst/gstelement.c: (gst_element_pads_activate):
16189 When activating, do src pads first, then sink pads.
16190 When de-activating, do sink pads first, then src pads.
16192 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16194 * docs/gst/gstreamer-sections.txt:
16195 Add gst_index_add_associationv to the docs
16197 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16202 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16203 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16204 Do some refactoring. Doesn't actually change functionality,
16205 but makes landing the DRAIN event easier later.
16207 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16209 * docs/pwg/advanced-scheduling.xml:
16210 Update from 0.9.x to 0.10 API and make example a bit
16213 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16215 * docs/gst/gstreamer-sections.txt:
16216 Add gst_buffer_(is|make)_metadata_writable methods.
16218 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16220 * docs/design/part-sparsestreams.txt:
16221 Update sparse streams doc, hopefully for greater clarity
16223 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16225 * docs/design/part-events.txt:
16226 Remove mention of FILLER events.
16229 * docs/design/part-sparsestreams.txt:
16230 Write some things about using NEWSEGMENT to keep sparse streams
16233 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16235 * gst/gstbin.c: (gst_bin_dispose):
16236 Guard gst_object_unref call against a NULL object (dispose
16237 can theoretically be called multiple times).
16239 2006-01-18 Wim Taymans <wim@fluendo.com>
16241 * gst/gstbin.c: (gst_bin_element_set_state):
16242 * gst/gstclock.c: (gst_clock_id_wait):
16243 Added some more debug info.
16245 * libs/gst/base/gstadapter.c:
16248 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16249 (gst_base_sink_do_sync), (gst_base_sink_chain):
16250 Added some comments.
16252 2006-01-18 Wim Taymans <wim@fluendo.com>
16254 * tests/check/Makefile.am:
16255 * tests/check/elements/fakesink.c: (chain_async_buffer),
16256 (chain_async), (chain_async_return), (GST_START_TEST),
16257 (fakesink_suite), (main):
16258 Added fakesink test that checks prerolling and clipping
16261 * tests/check/gst/gstutils.c: (GST_START_TEST):
16262 Make check run faster so that buildbots don't timeout.
16264 2006-01-18 Wim Taymans <wim@fluendo.com>
16266 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16267 (gst_base_sink_do_sync):
16269 When the sink finishes blocking on the preroll buffer, it can
16270 immediatly render it instead of rendering when the next buffer
16273 2006-01-18 Wim Taymans <wim@fluendo.com>
16275 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16276 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16277 (gst_base_sink_chain):
16279 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16280 Don't store _last_stop if the buffer is dropped.
16282 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16284 * plugins/elements/gsttypefindelement.c:
16285 (gst_type_find_element_class_init):
16286 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16287 object method handler that sets the caps on the pad and we want
16288 that to happen before we emit the signal (fixes e.g. feeding a
16289 plain text file to decodebin).
16291 2006-01-18 Christian Schaller <Christian@fluendo.com>
16293 * gst/gstplugin.c: Add MPL and Proprietary as license options
16295 2006-01-18 Andy Wingo <wingo@pobox.com>
16297 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16298 symbol was exported before, it appears this was just an oversight.
16300 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16302 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16303 prototype to gint. OK since this prototype was not in the header.
16305 2006-01-17 Andy Wingo <wingo@pobox.com>
16307 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16308 registry while we remove plugins.
16310 * tools/gst-inspect.c (print_element_info): Don't unref the
16311 factory arg, that should be the responsibility of whatever code
16312 received the ref. Fixes a double-free when called from
16313 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16314 (main): Unref the factory if we have one.
16315 (print_element_list): No change -- relies on the
16316 plugin_feature_list_free to free the list of features.
16318 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16320 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16321 (gst_buffer_make_metadata_writable):
16323 * libs/gst/base/gstbasetransform.c:
16324 (gst_base_transform_prepare_output_buf):
16325 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16326 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16327 Replace gst_buffer_(make|is)_metadata_writable patch now
16328 that the release is out.
16330 2006-01-17 Andy Wingo <wingo@pobox.com>
16332 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16333 in the present tense without reference to versions.
16335 * gst/gstregistry.c (gst_registry_add_plugin)
16336 (gst_registry_remove_plugin, gst_registry_remove_feature)
16337 (gst_registry_find_feature, gst_registry_get_feature_list)
16338 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16339 (gst_registry_lookup, gst_registry_scan_path)
16340 (_gst_registry_remove_cache_plugins)
16341 (gst_registry_get_feature_list_by_plugin): Add argument
16344 === release 0.10.2 ===
16346 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16349 releasing 0.10.2, "If man is five"
16351 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16355 * libs/gst/base/gstbasetransform.c:
16356 (gst_base_transform_prepare_output_buf):
16357 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16358 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16359 Back out patch until after the release.
16361 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16363 * gst/gstminiobject.c:
16364 Spelling fix in docs.
16365 * ChangeLog - remove conflict indicator
16367 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16369 Reviewed By: Andy Wingo
16371 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16372 (gst_buffer_make_metadata_writable):
16374 Add gst_buffer_(is|make)_metadata_writable as analogues of
16375 gst_buffer_(is|make)_writable.
16377 * libs/gst/base/gstbasetransform.c:
16378 (gst_base_transform_prepare_output_buf):
16379 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16380 Use name gst_buffer_(is|make)_metadata_writable functions.
16382 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16383 Test gst_buffer_(is|make)_metadata_writable
16387 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16389 * docs/manual/Makefile.am:
16390 don't do parallel make
16393 * win32/common/config.h.in:
16394 add generations for HOST_CPU and GST_MAJORMINOR
16395 * win32/common/config.h:
16396 commit generated result
16398 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16400 * docs/manual/appendix-integration.xml:
16401 Update GNOME integration section to use gst_init_get_option_group()
16402 instead of the old popt stuff (#322911). Also, GNOME applications
16403 should now use gconf*sink and gconf*src instead of the old gconf
16406 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16409 * docs/gst/gstreamer-docs.sgml:
16410 * docs/gst/gstreamer-sections.txt:
16411 * docs/libs/gstreamer-libs-sections.txt:
16412 add new API entries to the docs
16413 * libs/gst/controller/Makefile.am:
16414 * libs/gst/controller/gstcontroller.c:
16415 * libs/gst/controller/gstcontroller.h:
16416 * libs/gst/controller/gstcontrollerprivate.h:
16417 * libs/gst/controller/gsthelper.c:
16418 * libs/gst/controller/gstinterpolation.c:
16419 move private structs to private header
16421 gstreamer-0.7 -> gstreamer-0.10
16422 * tests/check/libs/struct_i386.h:
16423 remove private structs
16425 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16427 * plugins/indexers/Makefile.am:
16428 Fixes as part of #317048
16430 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16432 * plugins/indexers/Makefile.am:
16433 fix #316086 - compilation when mmap is missing
16435 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16437 * libs/gst/base/gstbasesink.c:
16438 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16439 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16440 * win32/common/config.h:
16441 added some defines GST_MAJORMINOR and HOST_CPU
16442 * win32/common/libgstbase.def:
16443 * win32/common/libgstreamer.def:
16444 added some exported functions.
16446 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16448 * libs/gst/controller/gstcontroller.c:
16449 (gst_controlled_property_set_interpolation_mode),
16450 (gst_controlled_property_new):
16451 * libs/gst/controller/gstcontroller.h:
16452 * libs/gst/controller/gstinterpolation.c:
16453 (interpolate_none_get_string_value_array):
16454 make G_TYPE_STRING controlable
16456 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16459 * tools/gst-feedback.1.in:
16460 * tools/gst-inspect.1.in:
16461 * tools/gst-launch.1.in:
16462 * tools/gst-md5sum.1.in:
16463 * tools/gst-typefind.1.in:
16464 * tools/gst-xmlinspect.1.in:
16465 * tools/gst-xmllaunch.1.in:
16466 cleanup man-pages, remove reference to gst-register, document env-vars
16468 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16470 * gst/gstbuffer.c: (gst_buffer_span):
16471 gst_buffer_span should copy the timestamp of the first buffer
16472 if they were both originally overlapping subbuffers of the
16473 same parent, using the same logic as the 'slow copy' case.
16475 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16477 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16478 Need to awaken ALL the pads when we pop a buffer, otherwise
16479 collectpads only works when there is 2 input streams.
16481 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16483 * docs/random/ensonic/media-device-daemon.txt:
16486 fix doc example, add clarification
16487 * tools/gst-launch.1.in:
16488 add initial info about GST_PLUGIN_PATH, needs more work
16490 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16492 * docs/manual/basics-bins.xml:
16493 * docs/manual/basics-elements.xml:
16494 * docs/manual/intro-basics.xml:
16495 Some more minor docs additions and updates.
16497 2006-01-11 Wim Taymans <wim@fluendo.com>
16499 * docs/manual/basics-bins.xml:
16500 * docs/manual/basics-elements.xml:
16501 Some small fixes as pointed out by Ser-ver on IRC.
16503 2006-01-10 Edward Hervey <edward@fluendo.com>
16505 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16506 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16507 the single-segment mode.
16509 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16511 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16513 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16514 (gst_base_src_perform_seek), (gst_base_src_send_event),
16515 (gst_base_src_set_property), (gst_base_src_get_property),
16516 (gst_base_src_loop), (gst_base_src_start),
16517 (gst_base_src_activate_push):
16518 * libs/gst/base/gstbasesrc.h:
16519 Name (private) union; makes Sun's Forte compiler happy (#324900).
16521 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16524 gst-register is gone.
16526 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16528 * gst/gstvalue.c: (_gst_value_initialize):
16529 make the G_TYPE_DATE instantiation work if debug is disabled
16531 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16533 * gst/gstmessage.c: (gst_message_parse_tag),
16534 (gst_message_parse_error), (gst_message_parse_warning):
16535 Don't crash when return location for error/warning debug
16536 string is NULL; add fact that return locations can be
16537 NULL to docs where appropriate.
16539 2006-01-05 Wim Taymans <wim@fluendo.com>
16541 * gst/gstplugin.c: (gst_plugin_load_file):
16542 Replace strdup by g_strdup.
16544 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16546 * docs/pwg/advanced-types.xml:
16549 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16551 submitted by: Abel Cheung
16555 Added Chinese (traditional) translation
16557 2006-01-04 Wim Taymans <wim@fluendo.com>
16559 * docs/manual/basics-pads.xml:
16560 * docs/plugins/Makefile.am:
16561 * docs/plugins/gstreamer-plugins-docs.sgml:
16562 * docs/plugins/gstreamer-plugins-sections.txt:
16563 * docs/pwg/advanced-clock.xml:
16564 * docs/pwg/advanced-scheduling.xml:
16565 * docs/pwg/advanced-types.xml:
16566 * plugins/elements/gstfdsink.c:
16567 * plugins/elements/gstfdsrc.c:
16568 * plugins/elements/gstfdsrc.h:
16569 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16570 * plugins/elements/gstidentity.h:
16571 * plugins/elements/gstqueue.h:
16572 * plugins/elements/gsttee.c:
16573 * plugins/elements/gsttee.h:
16574 * plugins/elements/gsttypefindelement.c:
16575 (gst_type_find_element_class_init):
16576 * plugins/elements/gsttypefindelement.h:
16577 Small updates to various docs.
16578 Added core plugins to docs.
16580 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16583 add a suppression for liboil's uninitialized variable
16585 2006-01-02 James Livingston <jrl at ids dot org dot au>
16587 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16590 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16591 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16592 compiler switch is being used (#325429).
16594 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16596 * gst/gstbin.c: (gst_bin_query):
16597 Disable duration query caching in bins until it gets
16598 fixed (see #324807).
16600 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16602 * tools/gst-inspect.c: (print_element_properties_info):
16603 Handle properties of POINTER and BOXED type.
16605 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16607 * gst/gst.c: (init_post):
16608 Init tags stuff and some other things before loading
16609 any static plugins (there may be other static plugins
16610 than just the GStreamer ones, and they may want to
16611 register their own tags or formats or whatever, and
16612 preferably without segfaulting).
16614 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16615 Print at least a warning in the debug logs if we drop a
16616 query just because we don't know how to adjust the value
16617 in the particular format.
16619 2005-12-24 David Schleef <ds@schleef.org>
16621 * tools/gstreamer-completion:
16622 Replacement for gst-complete written in sh and sed. Only
16623 completes names of features, but that's 90% of what I want
16624 it for. Properties are not available in registry.xml. (Maybe
16627 === release 0.10.1 ===
16629 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16632 releasing 0.10.1, "Nollaig chridheil"
16634 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16636 * docs/faq/cvs.xml:
16637 Add missing quote, should be make ERROR_CFLAGS="".
16639 2005-12-20 Wim Taymans <wim@fluendo.com>
16641 * docs/design/part-trickmodes.txt:
16642 More documentation on trickmodes.
16644 2005-12-20 Edward Hervey <edward@fluendo.com>
16646 * gst/gstcaps.c: (gst_static_caps_get_type):
16648 API addition: GST_TYPE_STATIC_CAPS
16649 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16650 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16651 * gst/gstpadtemplate.h:
16652 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16653 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16656 2005-12-18 Wim Taymans <wim@fluendo.com>
16658 * libs/gst/base/gstadapter.c:
16659 * libs/gst/base/gstadapter.h:
16660 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16661 (gst_base_sink_get_position):
16662 * libs/gst/base/gstbasesink.h:
16663 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16664 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16665 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16666 (gst_base_src_send_event), (gst_base_src_update_length),
16667 (gst_base_src_get_range), (gst_base_src_loop),
16668 (gst_base_src_start):
16669 * libs/gst/base/gstbasesrc.h:
16670 * libs/gst/base/gstbasetransform.h:
16671 * libs/gst/base/gstcollectpads.h:
16672 * libs/gst/base/gstpushsrc.c:
16673 * libs/gst/base/gstpushsrc.h:
16674 * libs/gst/dataprotocol/dataprotocol.c:
16675 * libs/gst/dataprotocol/dataprotocol.h:
16676 * libs/gst/net/gstnetclientclock.h:
16677 * libs/gst/net/gstnettimeprovider.h:
16678 Documentation updates.
16680 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16682 * docs/manual/basics-helloworld.xml:
16683 Remove superfluous closing bracket in helloworld example.
16685 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16687 * tools/gst-launch.1.in:
16688 Update gst-launch man page; add a section with useful
16689 environment variables. Fixes #323882.
16691 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16694 * gst/gst_private.h:
16695 change some char* into char[]
16697 2005-12-16 Wim Taymans <wim@fluendo.com>
16699 * gst/gstregistryxml.c: (load_feature):
16701 Don't use g_object_unref on GstObjects so that we avoid
16702 leaks on unsafe glibs.
16704 2005-12-16 Wim Taymans <wim@fluendo.com>
16706 * gst/gstbin.c: (gst_bin_recalc_state):
16709 2005-12-16 Wim Taymans <wim@fluendo.com>
16711 * common/check.mak:
16712 Added make forever target for check.
16714 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16716 * gst/gst.c: (init_post):
16717 make the registry cache file HOST_CPU-dependent
16719 2005-12-16 Andy Wingo <wingo@pobox.com>
16721 * plugins/elements/gstbufferstore.c
16722 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16725 * tests/check/gst/gstobject.c
16726 (test_fake_object_name_threaded_unique): Pay attention to
16727 g_list_sort return value.
16729 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16731 * tools/gst-feedback-m.m:
16732 Update for 0.9/0.10 (fixes #323870).
16734 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16736 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16737 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16739 * tests/check/gst/gstminiobject.c: (my_foo_init),
16740 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16741 (test_value_collection), (gst_mini_object_suite):
16742 Add test to ensure refcounts end up as expected when passing
16743 GstMiniObjects through g_object_get() and g_object_set().
16745 2005-12-14 Julien MOUTTE <julien@moutte.net>
16747 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16748 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16749 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16750 of collectpads. This version removes a lot of races without
16751 touching API/ABI. Yay !
16753 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16755 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16756 Don't allow activation of a srcpad in pull_range if it has no
16758 Change some debug statements to be a little clearer
16760 * plugins/elements/gsttypefindelement.c:
16761 (gst_type_find_handle_src_query):
16762 Check that we have a peer before executing queries thereupon.
16764 * tests/examples/metadata/read-metadata.c: (message_loop):
16765 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16766 immediately return us any available message with 0 timeout.
16768 2005-12-12 Michael Smith <msmith@fluendo.com>
16770 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16771 Don't unref factories after calling them.
16772 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16773 * plugins/elements/gsttypefindelement.c:
16774 (gst_type_find_element_chain):
16775 Free lists of factories after using them. Fixing typefinding memory
16778 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16780 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16781 (gst_plugin_feature_load):
16782 more meaningful debug output
16784 * tests/Makefile.am:
16785 * tests/old/examples/Makefile.am:
16786 make make distcheck happy again
16788 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16790 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16791 Catch the special case where we are operating chain-based,
16792 but the downstream peer pad has no chain function. Emit a
16793 custom error message in this case instead of letting the
16794 core generate one implying that this is some sort of core
16795 bug. It's not, it just means that whatever got plugged
16796 into the pipeline downstream when we announced the type
16797 can only operate pull-based, while our source can only
16798 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16799 Error string has not been marked for translation yet, as
16800 it probably needs some more work first.
16802 (gst_type_find_element_get_best_possibility):
16803 Add helper function to find the best of all available
16804 found possibilities that qualify given the min. threshold.
16806 (gst_type_find_element_handle_event):
16807 Fix the case where we get an EOS while still in TYPEFIND
16808 mode (we want to chose the best of all possible types,
16809 not just the first type that happens to be in our unsorted
16810 list of possible types).
16812 (gst_type_find_element_chain):
16813 Make sure we return GST_FLOW_ERROR when we errored out
16814 in stop_typefinding(); also, don't just find the best of
16815 all found type entries and then use the last examined
16816 type entry, but actually use the best entry.
16818 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16820 * tests/examples/typefind/typefind.c: (type_found):
16821 * tests/examples/xml/runxml.c: (xml_loaded):
16822 More gcc4 fixes and a mem leak fix.
16824 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16826 * tests/examples/xml/createxml.c: (object_saved):
16829 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16831 * tests/Makefile.am:
16832 enable the examples even more
16834 2005-12-12 Andy Wingo <wingo@pobox.com>
16836 * libs/gst/net/gstnettimeprovider.c
16837 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16838 (gst_net_time_provider_set_property)
16839 (gst_net_time_provider_get_property):
16840 API addition: Export "active" as a GObject property.
16841 (gst_net_time_provider_thread): Only respond to time queries if
16842 the time provider is active.
16844 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16845 NetTimeProvider, preserving binary compat.
16847 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16849 * tests/examples/controller/audio-example.c: (main):
16850 * tests/examples/launch/Makefile.am:
16851 convert comments again
16853 2005-12-12 Wim Taymans <wim@fluendo.com>
16855 * libs/gst/base/gstpushsrc.c:
16858 2005-12-12 Wim Taymans <wim@fluendo.com>
16860 * docs/libs/gstreamer-libs-sections.txt:
16861 Added new symbol to docs.
16863 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16864 (gst_base_src_init), (gst_base_src_set_format),
16865 (gst_base_src_default_query), (gst_base_src_query),
16866 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16867 (gst_base_src_perform_seek), (gst_base_src_send_event),
16868 (gst_base_src_default_event), (gst_base_src_event_handler),
16869 (gst_base_src_set_property), (gst_base_src_get_property),
16870 (gst_base_src_wait), (gst_base_src_do_sync),
16871 (gst_base_src_update_length), (gst_base_src_get_range),
16872 (gst_base_src_check_get_range), (gst_base_src_loop),
16873 (gst_base_src_default_negotiate), (gst_base_src_start),
16874 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16875 (gst_base_src_change_state):
16876 * libs/gst/base/gstbasesrc.h:
16877 Implement seeking to other formats than _BYTES.
16878 Implement more seeking methods correctly.
16880 Added query vmethod.
16881 Added do_seek vmethod to make life easier for subclasses
16883 API addition: gst_base_src_set_format()
16885 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16887 * tests/examples/Makefile.am:
16890 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16893 * docs/random/ensonic/media-device-daemon.txt:
16894 * tests/examples/controller/.cvsignore:
16895 * tests/examples/controller/Makefile.am:
16896 * tests/examples/controller/audio-example.c: (main):
16897 * tests/examples/helloworld/.cvsignore:
16898 * tests/examples/helloworld/Makefile.am:
16899 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16900 * tests/examples/launch/.cvsignore:
16901 * tests/examples/launch/Makefile.am:
16902 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16903 * tests/examples/metadata/.cvsignore:
16904 * tests/examples/metadata/Makefile.am:
16905 * tests/examples/metadata/read-metadata.c: (message_loop),
16906 (make_pipeline), (print_tag), (main):
16907 * tests/examples/queue/.cvsignore:
16908 * tests/examples/queue/Makefile.am:
16909 * tests/examples/queue/queue.c: (event_loop), (main):
16910 * tests/examples/typefind/.cvsignore:
16911 * tests/examples/typefind/Makefile.am:
16912 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16914 * tests/examples/xml/.cvsignore:
16915 * tests/examples/xml/Makefile.am:
16916 * tests/examples/xml/createxml.c: (object_saved), (main):
16917 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16918 * tests/old/examples/Makefile.am:
16919 * tests/old/examples/TODO:
16920 * tests/old/examples/controller/.cvsignore:
16921 * tests/old/examples/controller/Makefile.am:
16922 * tests/old/examples/controller/audio-example.c:
16923 * tests/old/examples/helloworld/.cvsignore:
16924 * tests/old/examples/helloworld/Makefile.am:
16925 * tests/old/examples/helloworld/helloworld.c:
16926 * tests/old/examples/launch/.cvsignore:
16927 * tests/old/examples/launch/Makefile.am:
16928 * tests/old/examples/launch/mp3parselaunch.c:
16929 * tests/old/examples/launch/mp3play:
16930 * tests/old/examples/manual/Makefile.am:
16931 * tests/old/examples/metadata/Makefile.am:
16932 * tests/old/examples/metadata/read-metadata.c:
16933 * tests/old/examples/queue/.cvsignore:
16934 * tests/old/examples/queue/Makefile.am:
16935 * tests/old/examples/queue/queue.c:
16936 * tests/old/examples/typefind/.cvsignore:
16937 * tests/old/examples/typefind/Makefile.am:
16938 * tests/old/examples/typefind/typefind.c:
16939 * tests/old/examples/xml/.cvsignore:
16940 * tests/old/examples/xml/Makefile.am:
16941 * tests/old/examples/xml/createxml.c:
16942 * tests/old/examples/xml/runxml.c:
16943 applied some simple fixing to some examples
16944 re-enabled the working examples
16946 2005-12-12 Wim Taymans <wim@fluendo.com>
16948 * gst/gstsegment.c: (gst_segment_init),
16949 (gst_segment_set_last_stop), (gst_segment_set_seek),
16950 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16951 (gst_segment_to_running_time):
16952 Added more documentation.
16953 Make sure the last_pos value is updated properly.
16954 Make sure to_stream_time and to_running_time don't
16955 operate on wrong values.
16957 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16960 2005-12-12 Michael Smith <msmith@fluendo.com>
16962 * plugins/elements/gsttypefindelement.c: (free_entry),
16963 (gst_type_find_element_chain):
16964 Now that we're not leaking factories, make sure we keep references
16965 to them while we need them.
16967 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16969 * tests/check/gst/struct_i386.h:
16970 ifdef out the XML structs
16972 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16974 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16975 floor is not needed, F is always positive; this obviates the
16976 need for adding -lm when building without libxml
16978 2005-12-12 Wim Taymans <wim@fluendo.com>
16980 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16981 Take current playback rate into account when reporting
16984 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16986 * docs/manual/mime-world.fig:
16987 Let's try this again, this time with a file that is
16988 actually in XFig format.
16990 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16992 * docs/manual/mime-world.fig:
16993 Add audioconvert element to diagram so that it
16994 matches the text and the code (fixes #319526).
16996 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16998 * docs/pwg/building-chainfn.xml:
16999 * docs/pwg/building-pads.xml:
17000 * docs/pwg/building-state.xml:
17001 * docs/pwg/other-source.xml:
17002 Update state change stuff for 0.10 (fixes #322969).
17004 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17006 * docs/manual/advanced-dataaccess.xml:
17007 * docs/manual/appendix-checklist.xml:
17008 * docs/manual/appendix-programs.xml:
17009 * docs/manual/basics-pads.xml:
17010 * docs/manual/highlevel-components.xml:
17011 * docs/manual/manual.xml:
17012 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17013 add converters in front of pipelines; remove curly
17014 brackets for threads stuff, they no longer exist; use
17015 GST_TYPE_FRACTION for framerates; update some pieces of
17016 code to 0.10, but there's plenty more to do.
17018 * docs/manual/appendix-porting.xml:
17019 Expand on asynchroneous state changes; s/0.9/0.10/;
17020 mention disappearance of gst_init_get_popt_table()
17023 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17025 * docs/faq/using.xml:
17026 Spider no longer exists, and neither does gst-launch-ext.
17027 Update examples to use decodebin and playbin and put
17028 converters in front of sinks (fixes #323726).
17030 2005-12-09 Michael Smith <msmith@fluendo.com>
17032 * plugins/elements/gsttypefindelement.c: (find_peek),
17033 (gst_type_find_element_chain):
17034 Fix leaking element factories in typefinding.
17035 Fix problem where we forgot about a probable type on non-seekable
17036 files, and thus later mis-typefound it.
17038 2005-12-09 Michael Smith <msmith@fluendo.com>
17040 * common/m4/gst-makecontext.m4:
17041 * common/m4/gst-mcsc.m4:
17043 * win32/common/config.h:
17044 * win32/common/config.h.in:
17045 Remove makecontext stuff; not used in 0.10 and causes problems on
17046 HPUX according to bug #322441
17048 2005-12-07 Wim Taymans <wim@fluendo.com>
17050 * tests/check/Makefile.am:
17051 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17053 * tests/check/libs/struct_i386.h:
17054 Added ABI check for libs
17056 2005-12-07 Wim Taymans <wim@fluendo.com>
17058 * tests/check/Makefile.am:
17059 And add the struct_i386.h to dist.
17061 2005-12-07 Wim Taymans <wim@fluendo.com>
17063 * tests/check/Makefile.am:
17064 * tests/check/gst/.cvsignore:
17065 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17067 * tests/check/gst/struct_i386.h:
17068 Added check for ABI compatibility.
17070 2005-12-07 Wim Taymans <wim@fluendo.com>
17072 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17073 (gst_fake_src_get_times), (gst_fake_src_create):
17074 Fix broken sync option, fixes #323259
17076 2005-12-07 Wim Taymans <wim@fluendo.com>
17081 * gst/gstcaps.c: (gst_caps_is_equal):
17082 Don't assert on NULL <--> X. Fixes #323260
17084 * gst/gstminiobject.c: (gst_mini_object_replace):
17085 If we're doing atomic operations, we might just as well use
17086 the proper way to get an atomic pointer.
17088 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17089 Clean up debugging.
17091 2005-12-07 Michael Smith <msmith@fluendo.com>
17093 * gst/parse/grammar.y:
17094 Remove handling of { } for threads.
17096 2005-12-06 David Schleef <ds@schleef.org>
17098 * libs/gst/base/gstbasetransform.c: speling fix.
17100 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17102 * docs/libs/tmpl/gstdataprotocol.sgml:
17103 * docs/random/omega/testing/gstobject.c:
17106 * gst/gstelement.c:
17107 * gst/gstelementfactory.c:
17110 * gst/gstghostpad.c:
17112 * gst/gstpadtemplate.c:
17113 * gst/gstregistryxml.c:
17114 * gst/gsttaglist.c:
17115 * gst/gsttagsetter.c:
17116 * gst/gsttypefind.c:
17118 * libs/gst/base/gstbasesrc.c:
17119 * libs/gst/net/gstnetclientclock.c:
17120 * libs/gst/net/gstnettimeprovider.c:
17121 * plugins/elements/gstfakesrc.c:
17122 * plugins/elements/gstfdsrc.c:
17123 * plugins/elements/gstfilesrc.c:
17124 * plugins/elements/gstidentity.c:
17125 * plugins/elements/gstqueue.c:
17126 * plugins/elements/gsttypefindelement.c:
17127 * plugins/indexers/gstfileindex.c:
17128 * plugins/indexers/gstmemindex.c:
17129 * tests/check/gst/gsttag.c:
17130 * tests/old/examples/cutter/cutter.c:
17131 * tests/old/examples/mixer/mixer.c:
17132 * tests/old/examples/xml/runxml.c: (main):
17133 * tests/old/testsuite/caps/normalisation.c:
17134 * tests/old/testsuite/debug/global.c:
17135 * tests/old/testsuite/parse/parse1.c:
17136 * tools/gst-xmlinspect.c:
17137 * win32/common/dirent.c:
17140 === release 0.10.0 ===
17142 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17145 releasing 0.10.0, "Maroilles"
17147 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17149 submitted by: Funda Wang <fundawang@linux.net.cn>
17153 added Chinese (Traditional) translation
17155 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17157 * docs/gst/gstreamer-sections.txt:
17158 * docs/libs/tmpl/gstdataprotocol.sgml:
17159 * docs/random/thomasvs/TODO:
17164 2005-12-05 Andy Wingo <wingo@pobox.com>
17166 patch by: Wim Taymans <wim@fluendo.com>
17168 * libs/gst/base/gstbasetransform.c
17169 (gst_base_transform_prepare_output_buf)
17170 (gst_base_transform_buffer_alloc):
17171 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17172 alloc_buffer_and_set_caps.
17174 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17175 set_caps on the source pad.
17176 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17177 alloc_buffer used to do. Fixes #322874.
17179 * docs/gst/gstreamer-sections.txt:
17180 * docs/design/part-negotiation.txt:
17181 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17184 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17186 patch by: Sebastien Moutte
17189 * win32/common/config.h.in:
17190 * win32/vs6/libgstcontroller.dsp:
17193 2005-12-05 Wim Taymans <wim@fluendo.com>
17195 * gst/gstcaps.c: (gst_caps_is_equal):
17196 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17197 (gst_fake_src_create):
17198 Back out previous code changes, leave doc updates, file bugs
17201 2005-12-05 Wim Taymans <wim@fluendo.com>
17203 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17204 (gst_fake_src_get_times), (gst_fake_src_create):
17205 * plugins/elements/gstfakesrc.h:
17206 Fix broken sync code.
17208 2005-12-05 Wim Taymans <wim@fluendo.com>
17210 * gst/gstcaps.c: (gst_caps_is_equal):
17211 Comparing NULL against !NULL yields different caps, not a
17214 2005-12-05 Wim Taymans <wim@fluendo.com>
17216 * gst/gstpipeline.c:
17217 Fix small typo in docs.
17219 2005-12-05 Andy Wingo <wingo@pobox.com>
17221 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17223 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17224 registries/plugins with a MAJORMINOR one.
17225 (plugin_desc): Rename library from gstcoreleements to
17226 staticelements. Fixes #323222.
17228 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17230 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17231 Change debug category to 'collectpads' from 'collect_pads'
17234 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17236 patch by: Sebastien Moutte
17238 * libs/gst/controller/gstinterpolation.c:
17239 use convert function for uint64/double
17240 * win32/vs6/libgstcontroller.dsp:
17243 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17245 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17246 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17248 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17249 add tests that seem to show that the guint64/gdouble conversions
17252 2005-12-02 Wim Taymans <wim@fluendo.com>
17254 * gst/gstregistry.c: (gst_registry_add_path):
17255 * gst/gstregistry.h:
17256 * gst/gstregistryxml.c:
17259 2005-12-02 Wim Taymans <wim@fluendo.com>
17261 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17262 (gst_util_uint64_scale_int):
17265 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17266 Add debug log line.
17268 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17271 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17274 * win32/common/config.h:
17275 * win32/vs6/gstreamer.dsw:
17276 * win32/vs6/libgstcoreelements.dsp:
17277 * win32/vs6/libgstelements.dsp:
17278 renamed core elements plugin
17280 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17284 do piece-wise major/minor comparison so 0.9 < 0.10
17285 also allow .exe extensions for tools
17287 2005-12-02 Michael Smith <msmith@fluendo.com>
17290 Escape a % to make gtkdoc happier; bug 322958.
17292 === release 0.9.7 ===
17294 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17297 releasing 0.9.7, "My Dog Has No Nose"
17299 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17301 * common/gst-xmlinspect.py:
17303 * docs/libs/tmpl/gstdataprotocol.sgml:
17304 * docs/random/release:
17323 * win32/common/config.h:
17324 * win32/common/config.h.in:
17325 * win32/vs6/gst_inspect.dsp:
17326 * win32/vs6/gst_launch.dsp:
17327 * win32/vs6/libgstbase.dsp:
17328 * win32/vs6/libgstelements.dsp:
17329 * win32/vs6/libgstreamer.dsp:
17330 * win32/vs7/GStreamer.vcproj:
17331 * win32/vs7/gst-inspect.vcproj:
17332 * win32/vs7/gst-launch.vcproj:
17333 * win32/vs7/libgstbase.vcproj:
17334 bump GST_MAJORMINOR to 0.10
17335 reset libtool version
17337 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17341 Added Bulgarian translation by (Alexander Shopov)
17343 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17345 * tests/check/gst/gstplugin.c:
17348 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17350 * common/gst-xmlinspect.py:
17351 * common/gtk-doc-plugins.mak:
17353 * docs/Makefile.am:
17354 * docs/gst/Makefile.am:
17355 * docs/gst/gstreamer-docs.sgml:
17356 * docs/gst/gstreamer-sections.txt:
17357 * docs/gst/gstreamer.types:
17358 * docs/gst/gstreamer.types.in:
17359 * docs/plugins/Makefile.am:
17360 * docs/plugins/gstreamer-plugins-docs.sgml:
17361 * docs/plugins/gstreamer-plugins-sections.txt:
17362 * docs/plugins/gstreamer-plugins.types:
17363 * docs/plugins/inspect.stamp:
17364 * docs/plugins/inspect/plugin-coreelements.xml:
17365 * docs/plugins/inspect/plugin-coreindexers.xml:
17366 * docs/plugins/scanobj-build.stamp:
17367 * gstreamer.spec.in:
17368 * plugins/elements/Makefile.am:
17369 * plugins/elements/gstelements.c:
17370 * plugins/elements/gstfakesink.c:
17371 * plugins/elements/gstfakesrc.c:
17372 * plugins/elements/gstfilesink.c:
17373 * plugins/elements/gstfilesrc.c:
17374 * plugins/elements/gstqueue.c:
17375 * plugins/indexers/Makefile.am:
17376 * plugins/indexers/gstindexers.c:
17377 document core plugins in a separate document just like all the
17379 rename these plugins to something starting with core
17381 2005-12-01 Andy Wingo <wingo@pobox.com>
17383 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17384 padding here before, but it missed the commit.
17386 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17388 * libs/gst/controller/gstinterpolation.c:
17389 whitespace prices have crashed, we should feel free to use some now
17390 use gst_guint64_to_gdouble
17392 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17394 * libs/gst/controller/gstcontroller.c:
17395 * libs/gst/controller/gsthelper.c:
17396 * libs/gst/controller/gstinterpolation.c:
17397 * libs/gst/controller/lib.c:
17398 wrap config.h include
17400 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17402 * docs/gst/gstreamer-sections.txt:
17405 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17407 * plugins/elements/gstelements.c:
17408 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17409 (gst_fd_sink__class_init), (gst_fd_sink__init),
17410 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17411 (gst_fd_sink__get_property):
17412 * plugins/elements/gstfdsink.h:
17413 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17414 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17415 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17416 (gst_fd_src_unlock), (gst_fd_src_set_property),
17417 (gst_fd_src_get_property), (gst_fd_src_create),
17418 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17419 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17420 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17421 (gst_fd_src_uri_handler_init):
17422 * plugins/elements/gstfdsrc.h:
17423 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17426 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17428 * docs/gst/Makefile.am:
17429 * docs/gst/gstreamer.types.in:
17433 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17439 * gst/gstregistry.h:
17440 * tests/benchmarks/complexity.c:
17441 * tests/benchmarks/mass-elements.c:
17442 * tests/check/Makefile.am:
17443 * tools/Makefile.am:
17444 * tools/gst-inspect.c:
17445 * tools/gst-xmlinspect.c:
17446 various fixes to make
17447 --disable-nls --disable-registry --disable-loadsave
17448 --disable-parse --disable-gst-debug
17449 work and get the core .so down to 360444 bytes after stripping
17451 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17456 * docs/random/thomasvs/TODO:
17457 * tests/Makefile.am:
17461 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17463 * win32/GStreamer.vcproj:
17466 * win32/Makefile.inspect:
17467 * win32/Makefile.launch:
17468 * win32/Makefile.register:
17469 * win32/README.txt:
17470 * win32/gst-inspect.vcproj:
17471 * win32/gst-launch.vcproj:
17472 * win32/gst-register.vcproj:
17473 * win32/gstelements.vcproj:
17474 * win32/gstgetbits.def:
17475 * win32/gstgetbits.vcproj:
17476 * win32/gstreamer-dbg.def:
17477 * win32/gstreamer.def:
17478 * win32/libgstbase.def:
17479 * win32/libgstbase.vcproj:
17480 * win32/link_oldruntime.c:
17484 * win32/msvc71.sln:
17485 move even more stuff, win32/ is nice and clean now
17487 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17489 * libs/gst/control/.cvsignore:
17494 * win32/gstbytestream.def:
17495 * win32/gstbytestream.vcproj:
17496 * win32/gstconfig.h:
17497 * win32/gstenumtypes.c:
17498 * win32/gstenumtypes.h:
17499 * win32/gstoptimalscheduler.vcproj:
17500 * win32/gstversion.h:
17502 * win32/testsuite/bins.vcproj:
17503 * win32/testsuite/bytestream.vcproj:
17504 * win32/testsuite/caps.vcproj:
17505 * win32/testsuite/cleanup.vcproj:
17506 * win32/testsuite/clock.vcproj:
17507 * win32/testsuite/debug.vcproj:
17508 * win32/testsuite/dlopen.vcproj:
17509 * win32/testsuite/dynparams.vcproj:
17510 * win32/testsuite/elements.vcproj:
17511 * win32/testsuite/ghostpads.vcproj:
17512 * win32/testsuite/indexers.vcproj:
17513 * win32/testsuite/negotiation.vcproj:
17514 * win32/testsuite/parse.vcproj:
17515 * win32/testsuite/plugin.vcproj:
17516 * win32/testsuite/refcounting.vcproj:
17517 * win32/testsuite/schedulers.vcproj:
17518 * win32/testsuite/states.vcproj:
17519 * win32/testsuite/tags.vcproj:
17520 * win32/testsuite/threads.vcproj:
17521 remove old win32 stuff that isn't maintained and should be
17524 2005-11-30 Andy Wingo <wingo@pobox.com>
17526 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17527 loading the gst.interfaces python module bork.
17529 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17530 available since GLib 2.2. Fixes #318031.
17532 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17535 * check/.cvsignore:
17536 * check/Makefile.am:
17537 * check/elements/.cvsignore:
17538 * check/elements/fakesrc.c:
17539 * check/elements/fdsrc.c:
17540 * check/elements/identity.c:
17541 * check/generic/.cvsignore:
17542 * check/generic/states.c:
17543 * check/gst-libs/.cvsignore:
17544 * check/gst-libs/controller.c:
17545 * check/gst-libs/gdp.c:
17546 * check/gst/.cvsignore:
17547 * check/gst/capslist.h:
17549 * check/gst/gstbin.c:
17550 * check/gst/gstbuffer.c:
17551 * check/gst/gstbus.c:
17552 * check/gst/gstcaps.c:
17553 * check/gst/gstelement.c:
17554 * check/gst/gstevent.c:
17555 * check/gst/gstghostpad.c:
17556 * check/gst/gstiterator.c:
17557 * check/gst/gstmessage.c:
17558 * check/gst/gstminiobject.c:
17559 * check/gst/gstobject.c:
17560 * check/gst/gstpad.c:
17561 * check/gst/gstpipeline.c:
17562 * check/gst/gstplugin.c:
17563 * check/gst/gstsegment.c:
17564 * check/gst/gststructure.c:
17565 * check/gst/gstsystemclock.c:
17566 * check/gst/gsttag.c:
17567 * check/gst/gstutils.c:
17568 * check/gst/gstvalue.c:
17569 * check/net/.cvsignore:
17570 * check/net/gstnetclientclock.c:
17571 * check/net/gstnettimeprovider.c:
17572 * check/pipelines/.cvsignore:
17573 * check/pipelines/cleanup.c:
17574 * check/pipelines/simple_launch_lines.c:
17575 * check/pipelines/stress.c:
17576 * check/states/.cvsignore:
17577 * check/states/sinks.c:
17579 * examples/Makefile.am:
17580 * examples/appreader/.cvsignore:
17581 * examples/appreader/Makefile.am:
17582 * examples/appreader/appreader.c:
17583 * examples/controller/.cvsignore:
17584 * examples/controller/Makefile.am:
17585 * examples/controller/audio-example.c:
17586 * examples/cutter/.cvsignore:
17587 * examples/cutter/Makefile.am:
17588 * examples/cutter/cutter.c:
17589 * examples/cutter/cutter.h:
17590 * examples/events/Makefile.am:
17591 * examples/events/seek.c:
17592 * examples/helloworld/.cvsignore:
17593 * examples/helloworld/Makefile.am:
17594 * examples/helloworld/helloworld.c:
17595 * examples/helloworld2/.cvsignore:
17596 * examples/helloworld2/Makefile.am:
17597 * examples/helloworld2/helloworld2.c:
17598 * examples/launch/.cvsignore:
17599 * examples/launch/Makefile.am:
17600 * examples/launch/mp3parselaunch.c:
17601 * examples/launch/mp3play:
17602 * examples/manual/.cvsignore:
17603 * examples/manual/Makefile.am:
17604 * examples/manual/extract.pl:
17605 * examples/metadata/Makefile.am:
17606 * examples/metadata/read-metadata.c:
17607 * examples/mixer/.cvsignore:
17608 * examples/mixer/Makefile.am:
17609 * examples/mixer/mixer.c:
17610 * examples/mixer/mixer.h:
17611 * examples/pingpong/.cvsignore:
17612 * examples/pingpong/Makefile.am:
17613 * examples/pingpong/pingpong.c:
17614 * examples/plugins/.cvsignore:
17615 * examples/plugins/Makefile.am:
17616 * examples/plugins/example.c:
17617 * examples/plugins/example.h:
17618 * examples/pwg/.cvsignore:
17619 * examples/pwg/Makefile.am:
17620 * examples/pwg/extract.pl:
17621 * examples/queue/.cvsignore:
17622 * examples/queue/Makefile.am:
17623 * examples/queue/queue.c:
17624 * examples/queue2/.cvsignore:
17625 * examples/queue2/Makefile.am:
17626 * examples/queue2/queue2.c:
17627 * examples/queue3/.cvsignore:
17628 * examples/queue3/Makefile.am:
17629 * examples/queue3/queue3.c:
17630 * examples/queue4/.cvsignore:
17631 * examples/queue4/Makefile.am:
17632 * examples/queue4/queue4.c:
17633 * examples/retag/.cvsignore:
17634 * examples/retag/Makefile.am:
17635 * examples/retag/retag.c:
17636 * examples/retag/transcode.c:
17637 * examples/thread/.cvsignore:
17638 * examples/thread/Makefile.am:
17639 * examples/thread/thread.c:
17640 * examples/typefind/.cvsignore:
17641 * examples/typefind/Makefile.am:
17642 * examples/typefind/typefind.c:
17643 * examples/xml/.cvsignore:
17644 * examples/xml/Makefile.am:
17645 * examples/xml/createxml.c:
17646 * examples/xml/runxml.c:
17647 * tests/Makefile.am:
17648 * tests/check/Makefile.am:
17649 * testsuite/.cvsignore:
17650 * testsuite/Makefile.am:
17652 * testsuite/caps/.cvsignore:
17653 * testsuite/caps/Makefile.am:
17654 * testsuite/caps/app_fixate.c:
17655 * testsuite/caps/audioscale.c:
17656 * testsuite/caps/caps.c:
17657 * testsuite/caps/caps.h:
17658 * testsuite/caps/caps_strings:
17659 * testsuite/caps/compatibility.c:
17660 * testsuite/caps/deserialize.c:
17661 * testsuite/caps/enumcaps.c:
17662 * testsuite/caps/eratosthenes.c:
17663 * testsuite/caps/filtercaps.c:
17664 * testsuite/caps/fixed.c:
17665 * testsuite/caps/fraction-convert.c:
17666 * testsuite/caps/fraction-multiply-and-zero.c:
17667 * testsuite/caps/intersect2.c:
17668 * testsuite/caps/intersection.c:
17669 * testsuite/caps/normalisation.c:
17670 * testsuite/caps/random.c:
17671 * testsuite/caps/renegotiate.c:
17672 * testsuite/caps/sets.c:
17673 * testsuite/caps/simplify.c:
17674 * testsuite/caps/string-conversions.c:
17675 * testsuite/caps/structure.c:
17676 * testsuite/caps/subtract.c:
17677 * testsuite/caps/union.c:
17678 * testsuite/debug/.cvsignore:
17679 * testsuite/debug/Makefile.am:
17680 * testsuite/debug/category.c:
17681 * testsuite/debug/commandline.c:
17682 * testsuite/debug/global.c:
17683 * testsuite/debug/output.c:
17684 * testsuite/debug/printf_extension.c:
17685 * testsuite/dlopen/.cvsignore:
17686 * testsuite/dlopen/Makefile.am:
17687 * testsuite/dlopen/dlopen_gst.c:
17688 * testsuite/dlopen/loadgst.c:
17689 * testsuite/elements/.cvsignore:
17690 * testsuite/elements/Makefile.am:
17691 * testsuite/elements/gst-inspect-check.in:
17692 * testsuite/elements/struct_i386.h:
17693 * testsuite/elements/struct_size.c:
17694 * testsuite/indexers/.cvsignore:
17695 * testsuite/indexers/Makefile.am:
17696 * testsuite/indexers/cache1.c:
17697 * testsuite/indexers/indexdump.c:
17698 * testsuite/parse/.cvsignore:
17699 * testsuite/parse/Makefile.am:
17700 * testsuite/parse/parse1.c:
17701 * testsuite/parse/parse2.c:
17702 * testsuite/plugin/.cvsignore:
17703 * testsuite/plugin/Makefile.am:
17704 * testsuite/plugin/README:
17705 * testsuite/plugin/dynamic.c:
17706 * testsuite/plugin/linked.c:
17707 * testsuite/plugin/loading.c:
17708 * testsuite/plugin/registry.c:
17709 * testsuite/plugin/static.c:
17710 * testsuite/plugin/static2.c:
17711 * testsuite/plugin/testplugin.c:
17712 * testsuite/plugin/testplugin2.c:
17713 * testsuite/plugin/testplugin2_s.c:
17714 * testsuite/plugin/testplugin_s.c:
17715 * testsuite/refcounting/.cvsignore:
17716 * testsuite/refcounting/Makefile.am:
17717 * testsuite/refcounting/bin.c:
17718 * testsuite/refcounting/element.c:
17719 * testsuite/refcounting/element_pad.c:
17720 * testsuite/refcounting/mainloop.c:
17721 * testsuite/refcounting/mem.c:
17722 * testsuite/refcounting/mem.h:
17723 * testsuite/refcounting/object.c:
17724 * testsuite/refcounting/pad.c:
17725 * testsuite/refcounting/sched.c:
17726 * testsuite/refcounting/thread.c:
17727 * testsuite/states/.cvsignore:
17728 * testsuite/states/Makefile.am:
17729 * testsuite/states/bin.c:
17730 * testsuite/states/locked.c:
17731 * testsuite/states/parent.c:
17732 * testsuite/threads/.cvsignore:
17733 * testsuite/threads/159566.c:
17734 * testsuite/threads/159852.c:
17735 * testsuite/threads/Makefile.am:
17736 * testsuite/threads/queue.c:
17737 * testsuite/threads/signals.c:
17738 * testsuite/threads/staticrec.c:
17739 * testsuite/threads/thread.c:
17740 * testsuite/threads/threadb.c:
17741 * testsuite/threads/threadc.c:
17742 * testsuite/threads/threadd.c:
17743 * testsuite/threads/threade.c:
17744 * testsuite/threads/threadf.c:
17745 * testsuite/threads/threadg.c:
17746 * testsuite/threads/threadh.c:
17747 * testsuite/threads/threadi.c:
17748 move all of these under tests
17750 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17753 * tests/Makefile.am:
17756 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17758 * docs/gst/gstreamer-sections.txt:
17759 * tests/sched/.cvsignore:
17760 * tests/sched/Makefile.am:
17761 * tests/sched/cases/(fs-fs).xml:
17762 * tests/sched/cases/(fs-i-fs).xml:
17763 * tests/sched/cases/(fs-i-i-fs).xml:
17764 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17765 * tests/sched/dynamic-pipeline.c:
17766 * tests/sched/interrupt1.c:
17767 * tests/sched/interrupt2.c:
17768 * tests/sched/interrupt3.c:
17769 * tests/sched/runtestcases:
17770 * tests/sched/runxml.c:
17771 * tests/sched/sched-stress.c:
17772 * tests/sched/sort.c:
17773 * tests/sched/testcases:
17774 * tests/sched/testcases1.tc:
17775 * tests/seeking/.cvsignore:
17776 * tests/seeking/Makefile.am:
17777 * tests/seeking/seeking1.c:
17778 * tests/threadstate/.cvsignore:
17779 * tests/threadstate/Makefile.am:
17780 * tests/threadstate/test1.c:
17781 * tests/threadstate/test2.c:
17782 * tests/threadstate/threadstate1.c:
17783 * tests/threadstate/threadstate2.c:
17784 * tests/threadstate/threadstate3.c:
17785 * tests/threadstate/threadstate4.c:
17786 * tests/threadstate/threadstate5.c:
17787 remove obsolete tests
17789 * tests/bench-complexity.scm:
17790 * tests/bench-mass_elements.scm:
17791 * tests/complexity.c:
17792 * tests/complexity.gnuplot:
17793 * tests/instantiate/.cvsignore:
17794 * tests/instantiate/Makefile.am:
17795 * tests/instantiate/caps.c:
17796 * tests/mass_elements.c:
17797 * tests/network-clock-utils.scm:
17798 * tests/network-clock.scm:
17800 First pass at cleaning up tests/ dir before moving the rest
17801 Combined with CVS surgery
17803 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17806 queue has moved, update
17808 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17810 * docs/gst/gstreamer-sections.txt:
17811 remove double entries from the docs
17812 * gst/gst_private.h:
17813 * gst/gstinfo.c: (_gst_debug_init):
17814 remove the THREAD debug category
17818 * docs/gst/gstreamer.types:
17819 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17820 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17821 completely move queue and fix up debugging categories
17823 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17825 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17826 make initialization portable, using LL is not
17828 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17830 * win32/common/gstconfig.h:
17833 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17835 * win32/common/libgstreamer.def:
17836 rename symbols; sort base section
17838 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17840 * gst/gstclock.c: (do_linear_regression):
17841 remove crack non-portable handrolled DEBUG macro
17843 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17845 * docs/random/release:
17847 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17848 (gst_object_flags_get_type), (register_gst_bin_flags),
17849 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17850 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17851 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17852 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17853 (gst_caps_flags_get_type), (register_gst_clock_return),
17854 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17855 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17856 (gst_clock_flags_get_type), (register_gst_state),
17857 (gst_state_get_type), (register_gst_state_change_return),
17858 (gst_state_change_return_get_type), (register_gst_state_change),
17859 (gst_state_change_get_type), (register_gst_element_flags),
17860 (gst_element_flags_get_type), (register_gst_core_error),
17861 (gst_core_error_get_type), (register_gst_library_error),
17862 (gst_library_error_get_type), (register_gst_resource_error),
17863 (gst_resource_error_get_type), (register_gst_stream_error),
17864 (gst_stream_error_get_type), (register_gst_event_type_flags),
17865 (gst_event_type_flags_get_type), (register_gst_event_type),
17866 (gst_event_type_get_type), (register_gst_seek_type),
17867 (gst_seek_type_get_type), (register_gst_seek_flags),
17868 (gst_seek_flags_get_type), (register_gst_format),
17869 (gst_format_get_type), (register_gst_index_certainty),
17870 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17871 (gst_index_entry_type_get_type),
17872 (register_gst_index_lookup_method),
17873 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17874 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17875 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17876 (gst_index_flags_get_type), (register_gst_debug_level),
17877 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17878 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17879 (gst_iterator_result_get_type), (register_gst_iterator_item),
17880 (gst_iterator_item_get_type), (register_gst_message_type),
17881 (gst_message_type_get_type), (register_gst_mini_object_flags),
17882 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17883 (gst_pad_link_return_get_type), (register_gst_flow_return),
17884 (gst_flow_return_get_type), (register_gst_activate_mode),
17885 (gst_activate_mode_get_type), (register_gst_pad_direction),
17886 (gst_pad_direction_get_type), (register_gst_pad_flags),
17887 (gst_pad_flags_get_type), (register_gst_pad_presence),
17888 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17889 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17890 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17891 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17892 (gst_plugin_flags_get_type), (register_gst_rank),
17893 (gst_rank_get_type), (register_gst_query_type),
17894 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17895 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17896 (gst_tag_flag_get_type), (register_gst_task_state),
17897 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17898 (gst_alloc_trace_flags_get_type),
17899 (register_gst_type_find_probability),
17900 (gst_type_find_probability_get_type), (register_gst_uri_type),
17901 (gst_uri_type_get_type), (register_gst_parse_error),
17902 (gst_parse_error_get_type):
17903 * win32/common/gstenumtypes.h:
17904 * win32/common/gstversion.h:
17905 update visual studio generated files
17907 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17909 * win32/vs6/libgstbase.dsp:
17910 * win32/vs6/libgstelements.dsp:
17911 update project files for new locations
17913 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17918 reinstate and update
17923 * docs/random/LICENSE:
17926 2005-11-30 Edward Hervey <edward@fluendo.com>
17928 * gst/gsttypefind.c: (gst_type_find_register):
17929 * gst/gsttypefind.h:
17930 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17931 (gst_type_find_factory_dispose):
17932 * gst/gsttypefindfactory.h:
17933 Fix memory leak in GstTypeFindFactory.
17935 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17938 * plugins/elements/Makefile.am:
17939 * plugins/elements/gstelements.c:
17940 * plugins/elements/gstqueue.c:
17941 move queue from core to the elements plugin
17943 2005-11-29 Andy Wingo <wingo@pobox.com>
17945 * libs/gst/base/gstbasetransform.h:
17946 * libs/gst/base/gstbasesrc.h:
17947 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17949 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17950 of pointers by which to pad very extensible base classes (like the
17951 ones in libs/gst/base).
17953 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17955 * docs/gst/gstreamer-docs.sgml:
17956 * docs/gst/gstreamer-sections.txt:
17957 * docs/libs/gstreamer-libs-docs.sgml:
17958 * docs/libs/gstreamer-libs-sections.txt:
17959 moving documentation from core to lib
17961 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17963 * check/Makefile.am:
17965 * docs/gst/Makefile.am:
17967 * gst/base/.cvsignore:
17968 * gst/base/Makefile.am:
17970 * gst/base/gstadapter.c:
17971 * gst/base/gstadapter.h:
17972 * gst/base/gstbasesink.c:
17973 * gst/base/gstbasesink.h:
17974 * gst/base/gstbasesrc.c:
17975 * gst/base/gstbasesrc.h:
17976 * gst/base/gstbasetransform.c:
17977 * gst/base/gstbasetransform.h:
17978 * gst/base/gstcollectpads.c:
17979 * gst/base/gstcollectpads.h:
17980 * gst/base/gstpushsrc.c:
17981 * gst/base/gstpushsrc.h:
17982 * gst/base/gsttypefindhelper.c:
17983 * gst/base/gsttypefindhelper.h:
17984 * gst/check/Makefile.am:
17985 * gst/check/gstcheck.c:
17986 * gst/check/gstcheck.h:
17987 * gst/net/Makefile.am:
17988 * gst/net/gstnet.h:
17989 * gst/net/gstnetclientclock.c:
17990 * gst/net/gstnetclientclock.h:
17991 * gst/net/gstnettimepacket.c:
17992 * gst/net/gstnettimepacket.h:
17993 * gst/net/gstnettimeprovider.c:
17994 * gst/net/gstnettimeprovider.h:
17995 * libs/gst/Makefile.am:
17996 * libs/gst/base/Makefile.am:
17997 * libs/gst/base/gstbasetransform.c:
17998 * libs/gst/check/Makefile.am:
17999 * plugins/elements/Makefile.am:
18001 CVS surgery + support to move base, check, and net out of gst
18004 2005-11-29 Andy Wingo <wingo@pobox.com>
18006 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18008 * gst/gststructure.h (struct _GstStructure): Only one pointer of
18011 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18013 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18015 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18017 * gst/gstobject.h: (struct _GstObject): Only one pointer of
18018 padding; reduces object size by about 30%. We don't expect
18019 anything else to go into gstobject.
18021 * gst/gstminiobject.h (struct _GstMiniObject)
18022 (struct _GstMiniObjectClass): Only one pointer of padding; the
18023 payload is only a pointer and two ints anyway. For the class there
18024 are only two methods as well.
18026 * gst/gstelement.h (struct _GstElementClass): Removed
18027 the state_changed signal callback, it is not used.
18029 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18031 * docs/gst/gstreamer.types:
18032 fix includes, though they are a little dinky
18034 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18036 * check/Makefile.am:
18037 look in the right place for elements, a lot more chance of
18040 remove indexers and elements subdirs
18041 * plugins/Makefile.am:
18042 make indexers conditional
18044 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18048 * plugins/elements/Makefile.am:
18049 * plugins/elements/gstcapsfilter.c:
18050 * plugins/elements/gstfilesink.c:
18051 * plugins/elements/gstfilesrc.c:
18052 * plugins/elements/gstidentity.c:
18053 * plugins/indexers/Makefile.am:
18054 do CVS surgery and related build fixery to move elements
18055 and indexers in a new gstreamer/plugins directory, out of the
18058 2005-11-29 Andy Wingo <wingo@pobox.com>
18060 * check/Makefile.am:
18061 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18062 * pkgconfig/gstreamer-net.pc.in:
18063 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18066 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18068 * tools/Makefile.am:
18069 * tools/gst-complete.1.in:
18070 * tools/gst-complete.c:
18071 * tools/gst-compprep.1.in:
18072 * tools/gst-compprep.c:
18073 removing -compprep and -complete
18075 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18077 * gst/gstevent.c: (gst_event_new_new_segment),
18078 (gst_event_parse_new_segment):
18080 fix #320529 - clean up new_segment API and structure.
18081 Let's hope everyone was using the methods, and not the structure.
18083 2005-11-29 Edward Hervey <edward@fluendo.com>
18085 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18086 (gst_base_sink_event), (gst_base_sink_do_sync),
18087 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18088 Properly handle non GST_FORMAT_TIME segment
18089 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18090 Properly handle non GST_FORMAT_TIME segment
18091 * gst/gstsegment.c:
18092 This function is valid if the accumulator is 0 and the format
18093 is different from the requested format.
18095 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18097 * docs/gst/gstreamer-sections.txt:
18098 Add gst_query_new_seeking and gst_query_parse_seeking to the
18101 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18103 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18104 Treat a pad alloc with new caps the same as if we were not
18105 negotiated, in order to allow a changing upstream output
18106 to produce a new format of data.
18108 2005-11-29 Edward Hervey <edward@fluendo.com>
18110 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18111 (gst_base_transform_event), (gst_base_transform_eventfunc):
18112 The event virtual method is now properly implemented, with a default
18114 Sub classes should call the parent_class event method. They should
18115 return FALSE if they had a problem handling the given event, or don't
18116 want GstBaseTransform to send that even downstream
18117 * gst/elements/gstidentity.c: (gst_identity_class_init),
18118 (gst_identity_init), (gst_identity_event),
18119 (gst_identity_transform_ip), (gst_identity_set_property),
18120 (gst_identity_get_property):
18121 * gst/elements/gstidentity.h:
18122 Added the single-segment boolean property.
18123 If set to TRUE, it will output a single segment of data, starting from
18124 0, will eat up all incoming newsegment, and modify the timestamp of the
18125 buffers accordingly
18127 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18129 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18130 Don't ref NULL target pad (#322751). Improve docs.
18132 2005-11-29 Michael Smith <msmith@fluendo.com>
18134 * gst/gstregistryxml.c: (load_plugin):
18135 Don't crash if we failed to load a feature from a plugin.
18137 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18139 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18141 use more check API and less GLib API
18143 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18146 don't run checks if we don't have check
18147 * common/check.mak:
18148 remove the registry when running make torture
18149 * docs/gst/gstreamer-sections.txt:
18150 remove second multiply
18151 * gst/gstqueue.c: (gst_queue_loop):
18152 fix a compile warning when disabling debug
18154 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18157 Hey! Let's print the pad name if the pointer != NULL instead
18158 of when it == NULL :-)
18160 2005-11-28 Wim Taymans <wim@fluendo.com>
18162 * check/gst/gstutils.c: (GST_START_TEST):
18163 Updated check, add some scaling accuracy checking code.
18165 * gst/gstutils.c: (gst_util_div128_64),
18166 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18167 (gst_util_uint64_scale_int):
18168 Fix 6 times faster division code. Optimize for common
18169 1/1 and less common X/1 cases.
18171 2005-11-28 Wim Taymans <wim@fluendo.com>
18173 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18176 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18177 (do_linear_regression), (gst_clock_add_observation):
18179 Release lock when the clock cannot be slaved.
18180 Catch the case where the regression returned an invalid denominator.
18182 * gst/gstutils.c: (gst_util_div128_64_iterate),
18183 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18184 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18185 Add protentially more performant non-iterative 128/64 divide function
18186 that unfortunatly does not work yet.
18187 Shortcut the trivial 0/X = 0 case.
18188 Remove the warnings on overflow.
18190 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18192 * gst/gstplugin.c: (gst_plugin_register_func):
18193 everything causing a plugin not to load should be at least a WARNING
18195 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18197 * docs/random/ensonic/dparams.txt:
18198 some TODOs for the next dev cycle
18199 * libs/gst/controller/gstcontroller.c:
18200 (gst_controlled_property_set_interpolation_mode),
18201 (gst_controlled_property_new):
18202 * libs/gst/controller/gstcontroller.h:
18203 use base type to assign acccessor functions
18205 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18207 * check/Makefile.am:
18208 Oops, that should have been top_srcdir
18210 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18212 * check/Makefile.am:
18213 * check/elements/fdsrc.c: (GST_START_TEST):
18214 Use a cmdline define to specify the location of a file to use for
18215 testing, to avoid breaking distcheck.
18217 2005-11-28 Andy Wingo <wingo@pobox.com>
18219 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18221 2005-11-28 Edward Hervey <edward@fluendo.com>
18223 * tools/gst-launch.c: (main):
18224 Clarify the output strings, makes it easier to translate.
18227 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18230 don't try and build net if we don't even have <sys/socket.h>
18232 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18234 * check/Makefile.am:
18235 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18236 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18237 Add tests for fdsrc seekability
18239 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18240 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18241 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18242 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18243 * gst/elements/gstfdsrc.h:
18244 fdsrc should not be a 'live' source.
18245 Implement seeking on seekable fd's.
18247 * gst/gstquery.c: (gst_query_new_seeking),
18248 (gst_query_parse_seeking):
18250 Implement SEEKING query functions:
18251 *_new_seeking and *_parse_seeking
18253 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18255 * gst/gstelement.c: (gst_element_dispose):
18258 * gst/gstiterator.c:
18259 * gst/gststructure.c:
18262 * libs/gst/controller/gstcontroller.c:
18263 (gst_controlled_property_set_interpolation_mode):
18264 * libs/gst/controller/gstcontroller.h:
18265 * libs/gst/controller/gstinterpolation.c:
18266 (interpolate_none_get_enum_value_array):
18267 support controlling enums
18269 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18272 Improve documentation for gst_value_union().
18275 Change return value for union, intersect and subtract functions
18276 from gint to gboolean.
18278 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18280 * gst/gstvalue.c: (gst_value_serialize_any_list),
18281 (gst_value_transform_any_list_string),
18282 (gst_value_deserialize_list), (gst_value_deserialize_array),
18283 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18284 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18285 (gst_value_set_fraction_range_full),
18286 (gst_value_deserialize_fraction_range),
18287 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18288 (gst_value_deserialize_boolean),
18289 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18290 (gst_value_serialize_float), (gst_value_deserialize_float),
18291 (gst_string_wrap), (gst_value_deserialize_string),
18292 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18293 (gst_value_union_int_range_int_range),
18294 (gst_value_intersect_int_range_int_range),
18295 (gst_value_intersect_double_range_double_range),
18296 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18297 (gst_value_subtract_int_range_int_range),
18298 (gst_value_subtract_double_double_range),
18299 (gst_value_subtract_double_range_double_range),
18300 (gst_value_deserialize_fraction):
18302 Use gint, gdouble and gchar in our API instead of int, double and
18303 char (and make usage in gstvalue.c more consistent).
18305 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18307 * check/Makefile.am:
18308 * libs/gst/controller/Makefile.am:
18309 * libs/gst/dataprotocol/Makefile.am:
18310 fix up Makefile.am and remove GST_ENABLE_NEW
18312 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * gst/base/Makefile.am:
18317 * gst/check/Makefile.am:
18318 * gst/elements/Makefile.am:
18319 * gst/net/Makefile.am:
18320 update LDFLAGS use some more
18322 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18324 * common/m4/gst-doc.m4:
18327 2005-11-26 Edward Hervey <edward@fluendo.com>
18329 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18330 This shouldn't issue a g_warning since it returns NULL if it
18331 couldn't find the plugin, and all functions using this behave
18332 properly on a NULL return. Switching to a GST_WARNING.
18334 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18336 * gst/gstbin.c: (gst_bin_handle_message_func):
18337 Don't leak clock messages.
18339 2005-11-25 Wim Taymans <wim@fluendo.com>
18341 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18342 (gst_util_uint64_scale_int):
18343 Optimisations, remove unneeded vars.
18345 2005-11-25 Wim Taymans <wim@fluendo.com>
18347 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18348 Added more checks for the high precision uint64 cases.
18350 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18351 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18352 Implement high precision (guint64 * guint64) / guint64.
18354 2005-11-24 Wim Taymans <wim@fluendo.com>
18356 * gst/base/gstbasesrc.c: (gst_base_src_query):
18357 Fix wrong percentage query.
18359 * gst/gstutils.c: (gst_util_uint64_scale),
18360 (gst_util_uint64_scale_int):
18361 Add some more common cases that can be handled
18362 efficiently to _scale.
18364 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18366 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18367 (gst_mini_object_suite):
18368 don't use check calls from threads; check probably isn't
18369 threadsafe and using a lock to make it threadsafe would
18370 defeat the purpose of this check
18371 * gst/check/gstcheck.c:
18372 * gst/check/gstcheck.h:
18373 use GST_DEBUG some more
18375 2005-11-24 Wim Taymans <wim@fluendo.com>
18377 * gst/gstutils.c: (gst_util_uint64_scale),
18378 (gst_util_uint64_scale_int):
18379 Chain trivial case to _scale_int.
18381 2005-11-24 Wim Taymans <wim@fluendo.com>
18383 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18384 Added test for scaling.
18389 * gst/gstutils.c: (gst_util_uint64_scale_int):
18390 Implemented high precision scaling code.
18392 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18395 do not crash on pad==NULL
18397 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18399 Patch by: Stefan Kost
18401 * common/gtk-doc.mak:
18402 * docs/gst/Makefile.am:
18403 * docs/libs/Makefile.am:
18404 Fix distcheck issues for the libraries docs build
18407 2005-11-24 Michael Smith <msmith@fluendo.com>
18409 * docs/manual/basics-helloworld.xml:
18410 Fix bug #315027: memory leak in example code in docs.
18412 2005-11-24 Michael Smith <msmith@fluendo.com>
18414 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18415 Unlock the PREROLL_LOCK in a failure case.
18417 2005-11-24 Wim Taymans <wim@fluendo.com>
18419 * docs/gst/gstreamer-sections.txt:
18420 * gst/base/gstadapter.h:
18421 * gst/base/gstbasesink.h:
18422 * gst/base/gstbasesrc.h:
18423 * gst/base/gstbasetransform.h:
18424 * gst/base/gstpushsrc.h:
18425 * gst/elements/gstfakesink.h:
18426 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18427 * gst/elements/gstfakesrc.h:
18428 * gst/elements/gstfilesink.h:
18429 * gst/elements/gstfilesrc.h:
18432 * gst/gstbuffer.c: (_gst_buffer_copy):
18435 * gst/gstchildproxy.c:
18437 * gst/gstelement.c:
18438 * gst/gstelementfactory.c:
18439 * gst/gstelementfactory.h:
18441 * gst/gstghostpad.h:
18443 * gst/gstinterface.h:
18444 * gst/gstminiobject.c:
18445 * gst/gstminiobject.h:
18448 * gst/gstpadtemplate.h:
18449 * gst/gstpipeline.h:
18450 * gst/gstpluginfeature.h:
18453 * gst/gsttaglist.c:
18454 * gst/gsttaglist.h:
18455 * gst/gsttagsetter.c:
18456 * gst/gsttagsetter.h:
18459 * gst/gsttypefind.h:
18462 * gst/net/gstnetclientclock.c:
18463 * gst/net/gstnetclientclock.h:
18464 * gst/net/gstnettimepacket.c:
18465 * gst/net/gstnettimeprovider.c:
18466 * gst/net/gstnettimeprovider.h:
18469 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18471 * configure.ac: back to HEAD
18473 === release 0.9.6 ===
18475 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18478 releasing 0.9.6, "Always On Time"
18480 2005-11-23 Wim Taymans <wim@fluendo.com>
18482 * docs/gst/gstreamer-sections.txt:
18483 * gst/glib-compat.c:
18484 * gst/gsttagsetter.c:
18486 * gst/net/gstnetclientclock.c:
18487 * gst/net/gstnettimepacket.h:
18490 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18492 * docs/faq/using.xml:
18493 * docs/libs/tmpl/gstcontrol.sgml:
18494 * docs/manual/advanced-dparams.xml:
18495 * docs/manual/appendix-checklist.xml:
18496 * docs/manual/basics-elements.xml:
18497 * docs/pwg/other-source.xml:
18498 * docs/random/moving-plugins:
18500 * tools/gst-launch.1.in:
18501 remove mentions of sinesrc
18503 2005-11-23 Michael Smith <msmith@fluendo.com>
18505 * docs/gst/gstreamer-sections.txt:
18506 Update for new API and API changes.
18508 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18510 Documentation typo fix.
18511 * gst/net/gstnettimepacket.c:
18512 Documentation fixes for arguments.
18514 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18516 * gst/gststructure.c: (gst_structure_get_fraction),
18517 (gst_structure_parse_value),
18518 (gst_structure_fixate_field_nearest_fraction):
18519 * gst/gststructure.h:
18520 * gst/gstutils.c: (gst_util_uint64_scale_int):
18522 * scripts/update-funcnames:
18524 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18525 Make gst_structure_fixate_field_nearest_fraction take a numerator
18526 and denominator argument instead of a GValue
18527 add gst_structure_get_fraction helper function.
18529 2005-11-23 Wim Taymans <wim@fluendo.com>
18531 * docs/design/part-TODO.txt:
18534 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18535 * gst/net/gstnetclientclock.h:
18536 Use parent fields for timeout and window_size.
18538 2005-11-23 Andy Wingo <wingo@pobox.com>
18540 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18541 rate_num/rate_denom change.
18543 * gst/net/gstnetclientclock.c
18544 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18545 OBJECT_LOCK. Don't call add_observation with the lock.
18547 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18549 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18551 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18552 deal with rate as a fraction whose numerator and denominator are
18553 GstClockTime values.
18554 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18555 master; the other fields are protected by the SLAVE_LOCK.
18556 (do_linear_regression): Note that this must be called with the
18558 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18559 OBJECT_LOCK. Call set_calibration instead of touching the
18560 variables directly.
18561 (gst_clock_set_property, gst_clock_get_property): Protect
18562 master/slave parameters with the SLAVE_LOCK.
18564 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18565 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18566 note that all of the instance variables that add_observation and
18567 the set_master functions use are protected by that lock and not
18569 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18571 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18572 the caller to take the object lock.
18574 2005-11-23 Wim Taymans <wim@fluendo.com>
18576 * gst/gsterror.c: (_gst_core_errors_init):
18578 Add error for clock stuff.
18580 * gst/gstpipeline.c: (gst_pipeline_change_state),
18581 (gst_pipeline_set_clock):
18582 Post clock error when clock cannot be used in a pipeline.
18584 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18586 * docs/gst/gstreamer-sections.txt:
18587 make two symbols from gstinfo private for the docs
18588 * gst/base/gstcollectpads.h:
18590 fix doc typos, update docs
18592 2005-11-22 Wim Taymans <wim@fluendo.com>
18594 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18595 (gst_base_sink_wait), (gst_base_sink_do_sync),
18596 (gst_base_sink_handle_event):
18597 * gst/base/gstbasesink.h:
18598 No need to store the clock, the parent element class already
18601 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18602 Updates for clock_set returning a gboolean
18604 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18605 (gst_clock_id_wait_async), (gst_clock_class_init),
18606 (gst_clock_init), (gst_clock_finalize),
18607 (gst_clock_get_internal_time), (gst_clock_get_time),
18608 (gst_clock_slave_callback), (gst_clock_set_master),
18609 (gst_clock_get_master), (do_linear_regression),
18610 (gst_clock_add_observation), (gst_clock_set_property),
18611 (gst_clock_get_property):
18613 Implement master/slave. When setting a clock as a slave, a
18614 periodic timeout is scheduled to sample master and slave times.
18615 Then the slave clock is recalibrated to match offset and rate
18616 of the master clock.
18617 Update logging a bit.
18618 Add flag so that a clock can state that is cannot be slaved to
18621 * gst/gstelement.c: (gst_element_set_clock):
18622 * gst/gstelement.h:
18623 The set clock returns a gboolean for when an element cannot
18624 deal with the selected clock in the pipeline.
18626 * gst/gstpipeline.c: (gst_pipeline_change_state),
18627 (gst_pipeline_set_clock):
18628 * gst/gstpipeline.h:
18629 Handle the case where the selected clock cannot be set on
18632 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18633 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18634 (gst_net_client_clock_set_property),
18635 (gst_net_client_clock_get_property),
18636 (gst_net_client_clock_observe_times):
18637 * gst/net/gstnetclientclock.h:
18638 Use regression code in GstClock parent, remove duplicated
18641 2005-11-22 Michael Smith <msmith@fluendo.com>
18643 * gst/gstutils.c: (gst_util_clock_time_scale):
18645 * docs/gst/gstreamer-sections.txt:
18646 Rename method to have extra underscore.
18648 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18650 * gst/elements/Makefile.am:
18651 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18652 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18653 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18654 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18655 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18656 * gst/elements/gstfakesrc.h:
18657 * gst/gstqueue.c: (queue_leaky_get_type):
18658 correctly fix GEnumValues so that nick is the short lowercase
18660 * tools/gst-inspect.c: (print_element_properties_info):
18661 also show the nick, since it's useful to use from parse_launch
18665 2005-11-22 Michael Smith <msmith@fluendo.com>
18667 * gst/gstutils.c: (gst_util_clocktime_scale):
18669 * docs/gst/gstreamer-sections.txt:
18670 Add util method for scaling a clocktime by a fraction. Useful
18671 implementation is left as an exercise for the reader.
18673 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18675 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18676 If needed, allocate storage in the destination value during
18679 2005-11-22 Edward Hervey <edward@fluendo.com>
18681 * docs/gst/gstreamer-sections.txt:
18684 * gst/gsturitype.c:
18685 * gst/gsturitype.h:
18686 * gst/gstutils.c: (gst_util_set_object_arg):
18687 * tools/gst-compprep.c: (main):
18688 * tools/gst-inspect.c: (print_element_properties_info):
18689 Removed GstURI, closes bug #321061
18691 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18693 * check/gst/gststructure.c: (GST_START_TEST):
18694 * gst/gststructure.c: (gst_structure_parse_value):
18695 Oops, broke automatic string type parsing.
18696 Add a test to catch it in future.
18698 2005-11-22 Andy Wingo <wingo@pobox.com>
18700 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18701 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18702 Actually rename the function implementations. Grr.
18704 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18706 * check/gst/capslist.h:
18708 * check/gst/gststructure.c: (GST_START_TEST),
18709 (gst_structure_suite):
18710 Test automatic value type detection in gst_structure_from_string.
18711 * gst/gststructure.c: (gst_structure_parse_value):
18712 Add fraction as a type we try and guess automatically in
18713 caps/structure strings.
18715 2005-11-22 Andy Wingo <wingo@pobox.com>
18717 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18719 * gst/gsttagsetter.h:
18720 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18721 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18722 (gst_tag_setter_add_tag_valist)
18723 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18724 _add_values, _add_valist, and _add_valist_values. Since this is an
18725 interface the function suffixes should be more explicit so
18726 language binding don't end up with element.add_valist ->
18727 gst_tag_setter_add_valist, for example. Fixes #322069.
18729 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18731 * check/gst/gstcaps.c: (GST_START_TEST):
18732 Extend caps string tests to check that a caps to string
18733 conversion is reversible and produces the same caps.
18735 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18736 Output "fraction" as the generic type fraction range, so caps
18737 serialisation and deserialisation works.
18738 * check/gst/capslist.h:
18739 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18740 Support 'MIN' and 'MAX' for deserialising fractions.
18742 2005-11-22 Andy Wingo <wingo@pobox.com>
18744 * gst/gstevent.h (gst_event_new_new_segment)
18745 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18746 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18747 Renamed from *_newsegment, *_buffersize, *_notarget.
18749 * scripts/update-funcnames: New script, performs the changes
18752 2005-11-22 Wim Taymans <wim@fluendo.com>
18754 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18755 Make sure the GstFlowReturn is returned.
18757 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18758 (gst_bus_add_signal_watch):
18760 add gst_bus_add_signal_watch_full.
18762 * gst/gstplugin.c: (gst_plugin_load_file):
18763 Small style cleanup.
18765 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18767 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18768 Block the fakesrc srcpad when we send an event, to avoid
18769 contention on the stream_lock causing random test failures.
18771 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18773 * check/gst/gstvalue.c: (GST_START_TEST):
18774 * gst/gstvalue.c: (gst_value_fraction_subtract):
18777 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18780 include "gstchildproxy.h"
18781 * gst/gstchildproxy.h:
18782 * libs/gst/controller/gstcontroller.h:
18783 use G_GNUC_NULL_TERMINATED
18785 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18787 * check/gst/capslist.h:
18788 * check/gst/gstcaps.c: (GST_START_TEST):
18789 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18790 * gst/gststructure.c: (gst_structure_parse_range),
18791 (gst_structure_fixate_field_nearest_fraction):
18792 * gst/gststructure.h:
18793 * gst/gstvalue.c: (gst_value_init_fraction_range),
18794 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18795 (gst_value_collect_fraction_range),
18796 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18797 (gst_value_set_fraction_range_full),
18798 (gst_value_get_fraction_range_min),
18799 (gst_value_get_fraction_range_max),
18800 (gst_value_serialize_fraction_range),
18801 (gst_value_transform_fraction_range_string),
18802 (gst_value_compare_fraction_range),
18803 (gst_value_deserialize_fraction_range),
18804 (gst_value_intersect_fraction_fraction_range),
18805 (gst_value_intersect_fraction_range_fraction_range),
18806 (gst_value_subtract_fraction_fraction_range),
18807 (gst_value_subtract_fraction_range_fraction),
18808 (gst_value_subtract_fraction_range_fraction_range),
18809 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18810 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18811 (gst_value_transform_string_fraction), (_gst_value_initialize):
18813 Implement fraction ranges and extend GstFraction to support
18814 arithmetic subtraction, as well as deserialization from integer
18815 strings such as "100"
18816 Add a testsuite as for int and double range set operations
18818 2005-11-21 Andy Wingo <wingo@pobox.com>
18820 * gst/gsttaglist.h:
18822 * gst/gststructure.h: Add glib-compat.h.
18824 2005-11-21 Wim Taymans <wim@fluendo.com>
18826 * gst/gstbin.c: (gst_bin_change_state_func):
18829 2005-11-21 Wim Taymans <wim@fluendo.com>
18831 * gst/gstsegment.h:
18832 And add a nice define too.
18834 2005-11-21 Wim Taymans <wim@fluendo.com>
18836 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18837 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18838 (gst_segment_set_duration), (gst_segment_set_last_stop),
18839 (gst_segment_set_seek), (gst_segment_set_newsegment),
18840 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18841 (gst_segment_clip):
18842 * gst/gstsegment.h:
18843 Make binding friendly.
18845 2005-11-21 Andy Wingo <wingo@pobox.com>
18847 * gst/gsttagsetter.h:
18848 * gst/gsttaglist.h:
18849 * gst/gststructure.h:
18851 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18854 * gst/gsterror.c (_gst_core_errors_init):
18855 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18858 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18859 (noinst_HEADERS): noinst the -private.
18861 2005-11-21 Michael Smith <msmith@fluendo.com>
18864 * gst/gstregistry.h:
18865 Remove unimplemented declarations for which we can see no sensible
18868 2005-11-21 Andy Wingo <wingo@pobox.com>
18870 * gst/gst.h: Include glib-compat.h.
18872 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18874 * gst/glib-compat.c: Include the public and the private header.
18876 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18880 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18882 * check/gst/gstevent.c (create_custom_events): Check that
18883 FLUSH_STOP is serialized.
18885 * check/elements/identity.c (event_func):
18886 * check/elements/fakesrc.c (event_func): No stream lock, the core
18889 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18890 stream lock taking, yay.
18892 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18893 ensure that core takes the stream lock.
18895 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18898 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18899 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18900 it already. For the flush start we do take it though so we get the
18901 right preroll state change messages.
18903 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18904 the stream lock here, the core does it for us.
18906 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18907 GST_STREAM_GET_LOCK.
18908 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18909 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18910 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18911 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18912 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18913 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18915 * gst/gstpad.c: Update for stream lock name change.
18917 * gst/base/gstbasesink.c: Update for preroll lock name change.
18919 2005-11-21 Wim Taymans <wim@fluendo.com>
18921 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18922 (gst_clock_get_master):
18924 * gst/gstsystemclock.c: (gst_system_clock_init):
18925 Convert Clock flags to object flags.
18926 Added methods to manage master/slave clocks.
18928 2005-11-21 Wim Taymans <wim@fluendo.com>
18930 * check/gst/gstsegment.c: (GST_START_TEST):
18931 * docs/design/part-TODO.txt:
18932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18933 (gst_base_sink_event), (gst_base_sink_do_sync),
18934 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18935 (gst_base_sink_query), (gst_base_sink_change_state):
18936 * gst/base/gstbasesink.h:
18937 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18938 (gst_base_src_default_newsegment),
18939 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18940 (gst_base_src_get_range), (gst_base_src_loop),
18941 (gst_base_src_change_state):
18942 * gst/base/gstbasesrc.h:
18943 * gst/base/gstbasetransform.c:
18944 (gst_base_transform_prepare_output_buf),
18945 (gst_base_transform_event), (gst_base_transform_change_state):
18946 * gst/base/gstbasetransform.h:
18947 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18948 (gst_collect_pads_event):
18949 * gst/base/gstcollectpads.h:
18950 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18951 (gst_fake_src_create):
18952 * gst/elements/gstfakesrc.h:
18953 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18954 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18955 (gst_segment_set_last_stop), (gst_segment_set_seek),
18956 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18957 (gst_segment_to_running_time), (gst_segment_clip):
18958 * gst/gstsegment.h:
18959 More segment updates, replace code in plugins with segment
18962 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18964 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18965 Don't ignore sscanf results
18967 2005-11-21 Andy Wingo <wingo@pobox.com>
18969 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18972 * *.c: Ran scripts/update-macros. Oh yes.
18974 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18975 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18978 * scripts/update-macros: New script. Run it on your files to
18979 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18982 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18984 * docs/gst/Makefile.am:
18985 * docs/gst/gstreamer-docs.sgml:
18986 * docs/gst/gstreamer-sections.txt:
18987 * docs/gst/gstreamer.types:
18989 more docs fixes, add new api to the docs
18991 2005-11-21 Andy Wingo <wingo@pobox.com>
18993 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18994 state_broadcast call.
18996 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18998 2005-11-21 Julien MOUTTE <julien@moutte.net>
19000 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19001 function calls for arrays.
19003 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19005 * docs/random/ensonic/media-device-daemon.txt:
19006 wild idea, can this be done?
19007 * docs/gst/gstreamer-sections.txt:
19012 * gst/gstpluginfeature.c:
19016 doc fixes and additions
19018 2005-11-21 Andy Wingo <wingo@pobox.com>
19020 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
19021 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
19022 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
19023 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19024 private to the basesrc implementation.
19026 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19027 behalf of event function if necessary. It should no longer be
19028 necessary to take the stream lock in pad's event functions. Fixes
19031 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19032 * docs/gst/gstreamer-sections.txt:
19033 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19034 (gst_structure_fixate_field_nearest_double),
19035 (gst_structure_fixate_field_boolean):
19036 * gst/gststructure.h:
19037 * win32/common/libgstreamer.def:
19038 * win32/gstreamer.def:
19040 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19043 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19045 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19046 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19047 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19048 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19049 (gst_fdsrc_uri_handler_init):
19050 * gst/elements/gstfdsrc.h:
19051 Port fd:// URI handler from 0.8 to fdsrc
19053 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19055 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19056 (gst_value_serialize_fourcc):
19058 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19059 consistent with our other format defines (#320324).
19061 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19063 * gst/gstvalue.c: (gst_value_is_fixed):
19064 Revert previous commit. Value lists are by definition
19065 not fixed, as they are a list of possible values.
19067 2005-11-21 Andy Wingo <wingo@pobox.com>
19069 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19070 during the stable series if we need it. Fixes #319178.
19072 * gst/gstevent.c (gst_event_new_filler): Removed.
19074 * check/gst/gstevent.c: Update comment about filler events.
19076 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19078 * gst/gstvalue.c: (gst_value_is_fixed):
19079 Should handle both value arrays and value lists.
19081 2005-11-21 Andy Wingo <wingo@pobox.com>
19083 patch by: Alessandro Dessina <alessandro nnva org>
19085 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19086 functions to access arrays. Fixes #321962.
19088 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19090 * docs/gst/gstreamer.types:
19091 gst_collectpads_get_type => gst_collect_pads_get_type.
19093 * gst/base/gstbasetransform.c:
19094 Remove unused SIGNAL_HANDOFF enum.
19096 2005-11-21 Andy Wingo <wingo@pobox.com>
19098 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19099 the event type (upstream, downstream, serialized). Renamed
19100 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19101 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19102 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19104 * gst/gstevent.c: Update for new CUSTOM event names.
19106 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19109 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19112 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19114 * docs/gst/gstreamer-sections.txt:
19115 * win32/common/libgstbase.def:
19116 * win32/libgstbase.def:
19117 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19118 (gst_collect_pads_class_init), (gst_collect_pads_init),
19119 (gst_collect_pads_finalize), (gst_collect_pads_new),
19120 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19121 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19122 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19123 (gst_collect_pads_start), (gst_collect_pads_stop),
19124 (gst_collect_pads_peek), (gst_collect_pads_pop),
19125 (gst_collect_pads_available), (gst_collect_pads_read),
19126 (gst_collect_pads_flush), (gst_collect_pads_event),
19127 (gst_collect_pads_chain):
19128 * gst/base/gstcollectpads.h:
19129 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19130 unimplemented functions as unimplemented. Add padding to
19131 GstCollectData. (#320766, #320423)
19133 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19135 * gst/gstmessage.c:
19136 Improve docs for DURATION message (usage of duration parameter)
19139 2005-11-20 Wim Taymans <wim@fluendo.com>
19141 * check/Makefile.am:
19142 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19146 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19147 (gst_segment_set_seek), (gst_segment_set_newsegment),
19148 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19149 (gst_segment_clip):
19150 * gst/gstsegment.h:
19151 Added segment helper structure and methods. Not fully implemented
19153 Added segment check.
19155 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19157 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19158 Add a deserialisation test for fractions
19159 * examples/metadata/read-metadata.c: (message_loop),
19160 (make_pipeline), (main):
19161 Fix up metadata reading sample.
19162 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19164 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19165 Don't try and fixate empty caps
19166 * gst/gst_private.h:
19167 Wrap in G_BEGIN_DECLS/G_END_DECLS
19168 * gst/gstvalue.c: (gst_value_collect_fraction),
19169 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19170 (gst_value_transform_string_fraction),
19171 (gst_value_compare_fraction):
19172 Add some extra guards to ensure that we don't end up
19173 with an invalid denominator of 0 in a gstfraction and
19174 that fractions always get reduced.
19176 2005-11-20 Wim Taymans <wim@fluendo.com>
19178 * docs/gst/gstreamer-sections.txt:
19180 * gst/gstelement.c:
19189 2005-11-20 Wim Taymans <wim@fluendo.com>
19191 * docs/design/part-TODO.txt:
19193 Make a proper enum of the flag.
19195 2005-11-19 Wim Taymans <wim@fluendo.com>
19197 * docs/design/part-TODO.txt:
19198 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19199 (gst_format_to_quark), (gst_format_register):
19201 * gst/gstquery.c: (_gst_query_initialize),
19202 (gst_query_type_get_name), (gst_query_type_to_quark),
19203 (gst_query_type_register):
19205 Add type to quark and type to string conversions.
19207 2005-11-19 Andy Wingo <wingo@pobox.com>
19209 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19212 2005-11-19 Wim Taymans <wim@fluendo.com>
19214 * docs/design/part-TODO.txt:
19215 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19216 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19217 (gst_bin_handle_message_func):
19219 Make message handling overridable.
19221 2005-11-19 Andy Wingo <wingo@pobox.com>
19223 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19226 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19228 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19229 is a GstClockTime. Fixes #321710.
19231 * gst/gstclock.h (GstClock): Remove offset property. Add
19232 internal_calibration and external_calibration. Fix padding. Pad
19233 also by GstClockTime so we don't run into problems.
19235 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19236 (gst_clock_get_rate_offset): Remove.
19237 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19240 * gst/gstutils.c (g_static_rec_cond_wait)
19241 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19243 * gst/gstbin.c: Remove terrible continue_state prototype.
19245 * gst/gstelement.h (gst_element_continue_state): Make public.
19247 * gst/gstelement.h:
19248 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19249 by continue_state. Fixes #319389.
19251 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19252 Really fixes #168438. However I don't see anywhere where the
19253 filter function is called... stupid GStreamer...
19255 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19256 don't have a dispose function, so it won't get called when the
19257 object is unreffed, but oh well!
19259 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19260 allows a destroy function to be set so user_data can be freed.
19262 (gst_index_set_filter): Call gst_index_set_filter_full.
19264 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19266 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19267 string should produce an error, given the lack of a way to
19268 represent NULL strings. Fixes #165650.
19271 * gst/gstvalue.c (gst_value_array_append_value)
19272 (gst_value_array_prepend_value, gst_value_array_get_size)
19273 (gst_value_array_get_value): New API, copied from
19274 gst_value_list_*, only operates on arrays.
19275 (gst_value_list_append_value, gst_value_list_prepend_value)
19276 (gst_value_list_concat, gst_value_list_get_size)
19277 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19279 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19280 init_list, because it works on both.
19281 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19282 (gst_value_copy_list_or_array): Renamed from copy_list.
19283 (gst_value_free_list_or_array): Renamed from free_list.
19284 (gst_value_collect_list_or_array): Renamed from collect_list.
19285 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19286 (gst_value_list_or_array_peek_pointer): Renamed from
19288 (_gst_value_array_value_table, _gst_value_list_value_table):
19289 Update value table functions.
19290 (gst_value_compare_list_or_array): Renamed from compare_list.
19292 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19295 * gst/gsttaglist.c:
19296 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19297 GstTagList*. Fixes #143472.
19299 * gst/gststructure.h: Clarify what the foreach/map functions can
19300 or can't do to their arguments.
19302 2005-11-18 Wim Taymans <wim@fluendo.com>
19304 * gst/gstclock.c: (gst_clock_set_calibration),
19305 (gst_clock_get_calibration):
19307 Calibration can be set with internal time equal to current
19310 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19316 2005-11-18 Andy Wingo <wingo@pobox.com>
19319 * pkgconfig/gstreamer-net.pc.in:
19320 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19321 * pkgconfig/Makefile.am: Add net pkgconfig files.
19323 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19326 * gst/gstghostpad.c:
19332 2005-11-18 Andy Wingo <wingo@pobox.com>
19334 * gst/net/gstnetclientclock.c: Turn off debugging.
19336 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19337 times connverge somewhat. Can't make a real test.
19339 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19340 integer arithmetic. Return the minimum of the domain, which can be
19341 set as "internal" for gst_clock_set_calibration.
19342 (gst_net_client_clock_observe_times): Call _set_calibration.
19343 (gst_net_client_clock_new): Call _set_calibration instead of
19346 * check/net/gstnetclientclock.c (test_functioning): Use the right
19350 * gst/gstclock.c (gst_clock_get_calibration)
19351 (gst_clock_set_calibration): New functions, obsolete the ones I
19352 added yesterday. Doh. Precision issues mean we have to extrapolate
19353 from a point in the more recent past than 1970.
19354 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19356 (gst_clock_adjust_unlocked): Use the right calibration data.
19358 2005-11-18 Edward Hervey <edward@fluendo.com>
19360 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19361 Also reset the ->current_* values in READY->PAUSED
19363 2005-11-18 Andy Wingo <wingo@pobox.com>
19365 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19366 Whoops, check the right fd. Also add some debugging.
19367 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19368 (do_linear_regression): Add a crapload of debugging. Subtract off
19369 the minimum values from the input series to discard unneeded bits.
19370 Use only int arithmetic. There is still double arithmetic when
19371 calculating the intercept that needs fixing. Return boolean to
19372 indicate success; FALSE would mean the domain or range is too
19373 great. Still needs fixes.
19375 2005-11-18 Wim Taymans <wim@fluendo.com>
19377 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19378 For the current position in stream time, we need to subtract
19381 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19382 Release lock before calling the callback function of async
19385 2005-11-18 Andy Wingo <wingo@pobox.com>
19387 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19388 Port goes all the way to MAXUINT16.
19390 * gst/net/gstnettimeprovider.c: Make the port range the same as
19391 for the kernel: 0 assigns, otherwise ports are less than
19394 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19397 * check/net/gstnetclientclock.c (test_functioning): Add the start
19400 2005-11-18 Wim Taymans <wim@fluendo.com>
19402 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19403 (gst_bin_remove_func), (bin_bus_handler):
19405 Removing a clock provider from a bin, triggers a clock lost message
19406 so that a new clock will be selected.
19407 Adding a clock to a bin triggers a clock provider message.
19408 Make sure we reselect a clock when we received a clock lost message.
19409 Keep a reference to the element that provided the clock.
19411 2005-11-18 Andy Wingo <wingo@pobox.com>
19413 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19414 the clock initially so it produces values around the base time.
19415 (gst_net_client_clock_class_init): Typo fix.
19416 (gst_net_client_clock_thread): Add note on when the socket gets
19419 2005-11-17 Wim Taymans <wim@fluendo.com>
19421 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19422 Free remote and local time arrays.
19424 2005-11-17 Wim Taymans <wim@fluendo.com>
19426 * gst/net/gstnetclientclock.c: (do_linear_regression),
19427 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19428 Fix compilation, uninitialized vars and a forgotten continue.
19430 2005-11-17 Andy Wingo <wingo@pobox.com>
19432 * check/Makefile.am (check_PROGRAMS):
19433 * check/net/gstnetclientclock.c: Add a most minimal test for the
19434 net client clock. More to come later.
19436 * gst/net/gstnet.h:
19437 * gst/net/Makefile.am: Add netclientclock.
19439 * gst/net/gstnetclientclock.h:
19440 * gst/net/gstnetclientclock.c: New files, implement an untested
19441 GstClock that takes its time from a network time provider.
19442 Implements the algorithm in network-clock.scm.
19444 * tests/network-clock.scm (*window-size*): Rename from
19446 * tests/network-clock.scm (network-time):
19447 * tests/network-clock-utils.scm (q-push): Update callers.
19449 2005-11-17 Wim Taymans <wim@fluendo.com>
19451 * gst/gstbin.c: (gst_bin_provide_clock_func),
19452 (gst_bin_sort_iterator_new):
19453 And unref the child too..
19455 2005-11-17 Wim Taymans <wim@fluendo.com>
19457 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19458 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19459 Refactor the sort iterator so it can be used while holding the
19461 Make clock selection select a clock closest to the source.
19463 2005-11-17 Michael Smith <msmith@fluendo.com>
19465 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19466 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19468 Anonymous structs are a gcc (and some other compilers) extension, so
19469 don't use them. Since this is only for ABI-compatibility, and our
19470 API/ABI freeze is over in a few days, this whole thing will only
19471 last a few days, so don't bother trying to think up a meaningful
19472 name for the struct.
19474 2005-11-17 Andy Wingo <wingo@pobox.com>
19476 * gst/gstclock.h (GstClock): Add rate and offset properties,
19477 preserving ABI stability. Add rate/offset accessors. Will file bug
19478 for the freeze break.
19480 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19481 and offset, trying to keep precision and avoiding
19482 underflow/overflow.
19483 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19484 functions. Make gst_clock_set_time_adjust obsolete.
19485 (gst_clock_set_time_adjust): Note that this function is obsolete.
19486 Will file bug soon.
19488 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19489 greppable by using GST_PADDING-1+1.
19491 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19493 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19495 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19496 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19498 * gst/gstpadtemplate.h:
19499 * gst/gstpluginfeature.h:
19500 Don't use c++ style comments in headers (#321638).
19502 2005-11-16 Andy Wingo <wingo@pobox.com>
19504 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19507 * check/net/gstnettimeprovider.c: Check to see that the time
19508 provider actually provides times. Works, yo!
19510 2005-11-16 Wim Taymans <wim@fluendo.com>
19512 * check/Makefile.am:
19515 * check/elements/fakesrc.c: (GST_START_TEST):
19516 Set element to NULL before disposing it.
19518 2005-11-16 Andy Wingo <wingo@pobox.com>
19520 * gst/net/Makefile.am:
19521 * gst/net/gstnet.h:
19522 * gst/net/gstnettimeprovider.c:
19523 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19524 provider, include it from gstnet.h, and add it to the build.
19526 * gst/net/gstnettimepacket.h:
19527 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19528 sending and receiving.
19530 2005-11-16 Wim Taymans <wim@fluendo.com>
19532 * check/Makefile.am:
19533 Enable valgrind check.
19535 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19536 (gst_fake_src_alloc_buffer):
19539 2005-11-16 Wim Taymans <wim@fluendo.com>
19541 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19542 Call parent finalize too.
19544 2005-11-16 Wim Taymans <wim@fluendo.com>
19546 * check/Makefile.am:
19547 Enable valgrind check that should work fine now.
19549 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19550 * gst/gstqueue.c: (gst_queue_init):
19551 Fix memleaks in pad allocation.
19553 2005-11-16 Andy Wingo <wingo@pobox.com>
19555 * gst/net/Makefile.am:
19556 * gst/net/gstnet.h: New part of core to hold network elements and
19557 objects. Put in core because it exposes API that applications want
19558 to use. The library is named libgstnet-tempname right now because
19559 of the existing libgstnet in gst-plugins-base. Solution is
19560 probably to rename the one in plugins-base; will file a bug for
19563 * gst/net/gstnettimeprovider.c:
19564 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19565 get_time call over the network.
19568 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19570 * check/Makefile.am:
19571 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19572 get additions shortly.
19574 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19576 * gst/gstpad.c: (gst_pad_new_from_static_template):
19578 add gst_pad_new_from_static_template functions
19579 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19580 (gst_check_setup_sink_pad):
19581 * gst/elements/gsttee.c: (gst_tee_init):
19584 2005-11-16 Wim Taymans <wim@fluendo.com>
19586 * gst/gstpad.c: (gst_pad_pause_task):
19587 Removed warning, it's not really an error either.
19589 2005-11-16 Wim Taymans <wim@fluendo.com>
19591 * gst/base/gstbasetransform.c:
19592 (gst_base_transform_prepare_output_buf),
19593 (gst_base_transform_event):
19594 Check if the caps are NULL, this can happen if the element
19595 is shutting down and the pad caps are set to NULL.
19597 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19599 * gst/elements/gsttee.c: (gst_tee_init):
19600 fix pad template leak in tee
19602 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19604 * gst/glib-compat.c: (g_value_dup_gst_object):
19605 * gst/glib-compat.h:
19606 * gst/gstpad.c: (gst_pad_set_property):
19607 use gst_object_ref when setting the pad template; this will
19608 trigger the pad template leaks on GLib 2.6 and the slaves
19610 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19612 * gst/glib-compat.c: (gst_flags_get_first_value):
19613 * gst/glib-compat.h:
19614 * gst/gstregistryxml.c:
19615 remove functions copied from GLib 2.6
19617 2005-11-16 Michael Smith <msmith@fluendo.com>
19620 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19621 do, but only breaks with newer valgrind versions. We're not a
19622 valgrind tool, we have no link-time dependencies on libcoregrind.
19624 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19626 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19628 * gst/gstmessage.h:
19631 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19633 * gst/base/gstbasesrc.c: (gst_base_src_init):
19634 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19635 * gst/gstqueue.c: (gst_queue_init):
19636 * gst/gstregistryxml.c: (load_feature):
19637 Revert all these unrefs, they don't even pass make check !
19639 2005-11-15 Johan Dahlin <johan@gnome.org>
19641 * gst/base/gstbasesrc.c: (gst_base_src_init):
19642 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19643 * gst/gstqueue.c: (gst_queue_init):
19644 Free pad templates, fixes a couple of leaks.
19646 2005-11-15 Daniel Fischer <dan at f3c dot com>
19648 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19650 * gst/gstpad.c: (gst_pad_get_property):
19651 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19652 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19655 2005-11-15 Wim Taymans <wim@fluendo.com>
19660 2005-11-15 Andy Wingo <wingo@pobox.com>
19662 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19664 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19665 using GST_CLOCK_TIME_NONE to disable base time management.
19666 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19667 time if it was NONE before.
19668 (gst_pipeline_change_state): Only munge the base time if
19669 stream_time != GST_CLOCK_TIME_NONE.
19671 * check/gst/gstpipeline.c (test_base_time): Punt around the
19672 problem of the probe not being called, because that's not the
19673 issue I'm looking at. Add a check that setting stream_time to NONE
19674 disables base time management.
19676 2005-11-15 Wim Taymans <wim@fluendo.com>
19678 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19679 segment_stop == -1 at startup.
19681 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19682 (gst_base_transform_change_state):
19683 Init segment values at start.
19685 2005-11-15 Wim Taymans <wim@fluendo.com>
19687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19688 0 segment values are 0 in any format.
19690 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19691 * gst/base/gstbasetransform.h:
19692 Parse newsegment correctly in basetransform
19694 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19695 Sync to clock using updated segment values.
19697 2005-11-15 Andy Wingo <wingo@pobox.com>
19699 * check/gst/gstpipeline.c (test_base_time): Add check that the
19700 base time and stream time are reset correctly.
19702 2005-11-15 Wim Taymans <wim@fluendo.com>
19704 * docs/design/part-TODO.txt:
19705 Some more TODO items.
19707 2005-11-15 Andy Wingo <wingo@pobox.com>
19709 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19710 error if the user selected "no clock" as the clocking method.
19712 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19713 timestamps with live capture.
19715 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19716 is 0 but we are a live source, timestamp the buffers using the
19719 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19721 * docs/gst/gstreamer-sections.txt:
19723 * gst/gstghostpad.c:
19728 2005-11-14 Wim Taymans <wim@fluendo.com>
19731 add suppressions from Wim's Debian machine
19733 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19736 add suppressions from Andy's AMD64 Ubuntu machine
19738 2005-11-14 Andy Wingo <wingo@pobox.com>
19740 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19741 STATE_LOCK not necessary. Fixes #311489.
19743 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19746 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19747 this function is not implemented.
19749 2005-11-14 Julien MOUTTE <julien@moutte.net>
19751 * gst/base/gstbasetransform.c:
19752 (gst_base_transform_prepare_output_buf):
19753 Ref the source pad caps while we need them.
19756 2005-11-11 Wim Taymans <wim@fluendo.com>
19758 * docs/gst/gstreamer-sections.txt:
19759 Added some docs for GstCollectData.
19761 * gst/base/gstadapter.c:
19762 Some small code example fix.
19764 * gst/base/gstcollectpads.c:
19765 * gst/base/gstcollectpads.h:
19766 Document some more.
19768 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19770 * configure.ac: back to HEAD
19772 === release 0.9.5 ===
19774 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19777 releasing 0.9.5, "Bike Lunch Day"
19779 2005-11-11 Wim Taymans <wim@fluendo.com>
19781 * gst/gstbuffer.c: (_gst_buffer_copy):
19784 * gst/gstcaps.c: (gst_caps_is_equal):
19786 Make _is_equal fast in the trivial cases.
19788 * gst/gstminiobject.c:
19789 * gst/gstminiobject.h:
19790 More docs. Spifify .h file.
19795 2005-11-11 Wim Taymans <wim@fluendo.com>
19797 * gst/base/gstbasetransform.c:
19798 (gst_base_transform_prepare_output_buf),
19799 (gst_base_transform_handle_buffer):
19801 If we're processing a buffer and need to allocate an output
19802 buffer, we cannot accept a format change. If we did get a
19803 format change, we have to alloc a buffer ourselves of the
19806 2005-11-11 Wim Taymans <wim@fluendo.com>
19808 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19809 While checking the flag for reentrancy in the gstcaps function
19810 is nice to detect recursive invocations, it also makes it
19811 impossible to call getcaps from multiple threads, which must be
19812 possible. So, checking for recursive calls has to go.
19814 2005-11-11 Michael Smith <msmith@fluendo.com>
19816 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19817 Don't sync on buffers that fall partially outside our current
19818 segment. Prevents an assertion failure/abort playing some files.
19820 2005-11-10 Andy Wingo <wingo@pobox.com>
19822 * check/gst/gstbin.c (test_message_state_changed_children): Style
19825 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19826 gst_bus_poll with the signal watch. Ensures that poll and a signal
19827 watch see the same messages.
19829 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19830 a poll and a watch at the same time get the same messages.
19832 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19834 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19835 * gst/gstcaps.c: (gst_caps_intersect):
19836 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19837 and it's not needed.
19839 2005-11-10 Wim Taymans <wim@fluendo.com>
19841 * docs/design/part-TODO.txt:
19844 2005-11-10 Wim Taymans <wim@fluendo.com>
19846 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19847 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19848 (gst_base_src_do_sync), (gst_base_src_get_range):
19849 Implement clock sync in base class.
19851 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19853 patch by: Tim-Philipp Müller <tim at centricular dot net>
19855 * gst/gststructure.c: (gst_structure_parse_field),
19856 (gst_structure_from_string):
19857 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19858 so that gst_parse_launch() can deal with spaces in filtered link
19859 caps (fixes #164479)
19860 * check/gst/capslist.h:
19861 * check/gst/gststructure.c: (GST_START_TEST):
19862 add unit tests for this change
19864 2005-11-10 Wim Taymans <wim@fluendo.com>
19866 * docs/gst/gstreamer-sections.txt:
19867 * gst/gstelement.c:
19868 * gst/gstelement.h:
19869 Fix docs, move some STATE macros to private.
19871 2005-11-10 Wim Taymans <wim@fluendo.com>
19873 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19874 Added check for bug #317341
19878 Some more spiffifying.
19880 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19881 Call peer linkfunction if we are a source pad. Totally fixes
19885 Update docs, source pads should call the peer linkfunction
19886 so they can atomically perform the pad link.
19888 2005-11-09 Wim Taymans <wim@fluendo.com>
19892 Uber-spiffy-spiffify some more.
19894 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19896 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19897 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19898 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19899 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19900 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19901 * gst/gstpad.c: (gst_pad_init):
19902 Use GST_DEBUG_FUNCPTR() more extensively.
19904 2005-11-09 Wim Taymans <wim@fluendo.com>
19906 * gst/gstobject.c: (gst_object_class_init):
19908 Documentation fixes.
19910 2005-11-09 Edward Hervey <edward@fluendo.com>
19912 * gst/gsttypefindfactory.c:
19915 2005-11-09 Edward Hervey <edward@fluendo.com>
19917 * gst/base/gsttypefindhelper.c:
19918 * gst/gsttypefind.c:
19919 * gst/gsttypefind.h:
19922 2005-11-09 Wim Taymans <wim@fluendo.com>
19924 * gst/gstiterator.c:
19931 2005-11-09 Wim Taymans <wim@fluendo.com>
19937 2005-11-09 Wim Taymans <wim@fluendo.com>
19939 * docs/gst/gstreamer-sections.txt:
19940 Moved the message async delivery private lock and cond
19941 to the private section.
19943 * gst/gstmessage.c:
19944 * gst/gstmessage.h:
19947 2005-11-09 Edward Hervey <edward@fluendo.com>
19949 * docs/gst/gstreamer-sections.txt:
19952 Document GstURIHandler
19954 2005-11-09 Wim Taymans <wim@fluendo.com>
19956 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19957 (gst_iterator_find_custom):
19958 * gst/gstiterator.h:
19961 2005-11-09 Wim Taymans <wim@fluendo.com>
19964 Document another field.
19966 * gst/gststructure.c:
19967 * gst/gststructure.h:
19970 2005-11-09 Wim Taymans <wim@fluendo.com>
19973 Documented structs.
19975 2005-11-09 Wim Taymans <wim@fluendo.com>
19977 * docs/gst/gstreamer-sections.txt:
19978 Added some new macros.
19985 2005-11-09 Wim Taymans <wim@fluendo.com>
19987 * docs/design/part-TODO.txt:
19988 Some more items for the TODO
19994 2005-11-09 Andy Wingo <wingo@pobox.com>
19996 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19997 to work on something else now tho...
19999 * gst/base/gstadapter.c: More adapter docs.
20001 * gst/elements/gstfilesink.c (gst_file_sink_start)
20002 (gst_file_sink_stop): New functions, replace the state change
20004 (gst_file_sink_class_init): Hook up the start and stop functions.
20005 (gst_file_sink_base_init): Don't set the state change handler any
20006 more. It was a bit ugly too, being set from here...
20007 (gst_file_sink_get_property, gst_file_sink_set_property):
20009 (gst_file_sink_set_location): More robust check that doesn't call
20010 GST_STATE. Ugggggg.
20012 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
20014 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20015 Hold STREAM_LOCK while pushing newsegment or tag events as well.
20017 2005-11-08 Wim Taymans <wim@fluendo.com>
20019 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20020 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20021 (gst_base_sink_chain), (gst_base_sink_change_state):
20022 * gst/base/gstbasesink.h:
20023 * gst/base/gstbasesrc.h:
20024 * gst/gstelement.h:
20026 Avoid excessive typechecking in macros.
20028 * gst/gstminiobject.c: (gst_mini_object_get_type),
20029 (gst_mini_object_init), (gst_mini_object_new),
20030 (gst_mini_object_free):
20031 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20032 (gst_object_finalize):
20033 Remove cruft code, optimize alloc_trace.
20035 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
20037 * docs/faq/gst-uninstalled:
20038 fix up PS1 for systems that try to reset it
20040 2005-11-07 Wim Taymans <wim@fluendo.com>
20042 * gst/base/gstbasesrc.c: (gst_base_src_init),
20043 (gst_base_src_get_range):
20044 Set the segment_end to -1 initially. Fixed typefind.
20046 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
20048 * gst/base/gstadapter.c:
20049 Debug category should be 'adapter', not 'GstAdapter'.
20051 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20052 (gst_collectpads_class_init), (gst_collectpads_init),
20053 (gst_collectpads_peek), (gst_collectpads_pop),
20054 (gst_collectpads_event), (gst_collectpads_chain):
20055 Add debug category and some debugging output. Use boilerplate
20056 macros. Remove some extraneous words from docs.
20058 2005-11-05 Andy Wingo <wingo@pobox.com>
20060 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20063 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20065 * docs/gst/gstreamer-sections.txt:
20068 * gst/gstminiobject.h:
20073 2005-11-04 Wim Taymans <wim@fluendo.com>
20075 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20076 Small update to stop at the configured segment_end
20079 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20081 * gst/gstregistry.c:
20082 * gst/gstregistry.h:
20085 2005-11-04 Edward Hervey <edward@fluendo.com>
20087 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20088 Check if we are doing a segment seek and have arrived at the
20089 end of that segment.
20091 2005-11-04 Wim Taymans <wim@fluendo.com>
20093 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20094 Don't leak a mutex unlock in case of an error.
20099 2005-11-04 Wim Taymans <wim@fluendo.com>
20101 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20103 Get the context to wake up only once.
20105 2005-11-03 Wim Taymans <wim@fluendo.com>
20107 * check/states/sinks.c: (GST_START_TEST):
20108 Uncomment fixed check.
20110 * docs/design/part-TODO.txt:
20113 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20114 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20115 (gst_base_sink_get_position):
20116 If we are going to PLAYING, post the right pending state
20117 when we post the intermediate paused message.
20119 * gst/gstelement.c: (gst_element_continue_state),
20120 (gst_element_set_state_func), (gst_element_change_state):
20121 Don't post state changes that were between the same state
20122 and were not ASYNC.
20124 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20126 * docs/gst/gstreamer-sections.txt:
20129 * gst/gstminiobject.h:
20132 more docs and doc style fixes
20134 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20136 * docs/gst/gstreamer-sections.txt:
20137 * gst/gstelement.c:
20138 * gst/gstminiobject.c:
20141 2005-11-03 Andy Wingo <wingo@pobox.com>
20143 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20144 state-changed messages actually have the right order and the right
20147 2005-11-03 Wim Taymans <wim@fluendo.com>
20149 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20150 Added some more checks. Specifically the case where NO_PREROLL
20151 elements are in the pipeline.
20153 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20154 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20155 (gst_base_sink_get_position):
20156 Post READY->PAUSED state change messages too.
20157 Fix bug where VOID was posted as pending state...
20159 * gst/gstbin.c: (gst_bin_recalc_state):
20160 use _element_continue_state() to continue the state change.
20162 * gst/gstelement.c: (gst_element_continue_state),
20163 (gst_element_commit_state), (gst_element_set_state_func),
20164 (gst_element_change_state), (gst_element_change_state_func):
20165 Lots of state change cleanups, assign the STATE_RETURN in
20166 a new continue_state() function that also propagates the
20167 last return value from a state change to the app.
20168 Update some debug statements with proper category.
20170 2005-11-03 Wim Taymans <wim@fluendo.com>
20172 * docs/design/part-events.txt:
20173 * docs/design/part-gstpipeline.txt:
20174 * docs/design/part-messages.txt:
20175 * docs/design/part-overview.txt:
20176 * docs/design/part-seeking.txt:
20177 * docs/design/part-states.txt:
20178 * docs/design/part-trickmodes.txt:
20179 * docs/manual/advanced-position.xml:
20180 Small docs updates.
20183 People think !! is ugly, this looks better.
20185 * gst/gstpad.c: (gst_pad_set_blocked_async):
20186 Remove !! since it's fixed elsewhere now.
20188 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20190 * gst/gstminiobject.h:
20192 Add !! to _FLAG_IS_SET macros to make the result boolean.
20194 2005-11-03 Edward Hervey <edward@fluendo.com>
20196 * gst/gstpad.c: (gst_pad_set_blocked_async):
20197 comparing a flag and a gboolean rarely returns coherent results...
20198 Added two characters (!!) to make that work correctly.
20200 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20202 * gst/gstbus.c: (gst_bus_class_init):
20205 * gst/gstqueue.c: (gst_queue_loop):
20206 Don't assume a miniobject that isn't a buffer is an
20207 event (it could be that there is a refcounting
20208 problem somewhere and the pointer is stale and
20209 refers to an already destroyed miniobject).
20211 2005-11-03 Julien MOUTTE <julien@moutte.net>
20213 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20215 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20217 * docs/manual/advanced-position.xml:
20218 Update seek example and explanations to current 0.9 API.
20220 * gst/elements/gsttypefindelement.c:
20221 (gst_type_find_element_activate):
20222 Remove FIXME comment now that the found caps
20225 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20227 * gst/gstregistryxml.c: (load_feature):
20228 Add another GST_STR_NULL instance
20230 2005-11-02 Edward Hervey <edward@fluendo.com>
20232 * gst/gstpad.c: (handle_pad_block):
20233 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20235 2005-11-02 Wim Taymans <wim@fluendo.com>
20240 * gst/gstelement.c: (gst_element_commit_state):
20241 Remove unused value.
20243 * gst/gstiterator.c:
20244 Mention that the returned element is reffed in the docs.
20246 2005-11-02 Wim Taymans <wim@fluendo.com>
20248 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20249 (gst_pad_push), (gst_pad_push_event):
20250 Unlock blocked pads when they are flushed.
20252 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20255 * docs/gst/gstreamer-sections.txt:
20258 * gst/gstregistry.c: (gst_registry_scan_path_level):
20259 fix for a nasty little missed situation where an installed plug-in
20260 which was in the cache did not get overridden by an uninstalled one
20261 which was earlier in the plugin path because the newly created plugin
20262 for the uninstalled one (not in the registry) didn't get its
20263 ->registered set to TRUE
20265 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20267 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20268 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20269 (gst_collectpads_is_active), (gst_collectpads_collect),
20270 (gst_collectpads_collect_range), (gst_collectpads_start),
20271 (gst_collectpads_stop), (gst_collectpads_peek),
20272 (gst_collectpads_pop), (gst_collectpads_available),
20273 (gst_collectpads_read), (gst_collectpads_flush):
20274 Guard public API with assertions.
20277 Fix docs for gst_pad_set_link_function().
20279 2005-11-02 Johan Dahlin <johan@gnome.org>
20281 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20282 Unref found_caps after we used it.
20284 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20286 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20287 Don't try to ref NULL.
20289 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20291 * win32/common/config.h.in:
20292 provide a GST_FUNCTION that just gives a string for now
20294 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20296 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20297 (gst_object_flags_get_type), (register_gst_bin_flags),
20298 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20299 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20300 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20301 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20302 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20303 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20304 (gst_clock_flags_get_type), (register_gst_state),
20305 (gst_state_get_type), (register_gst_state_change_return),
20306 (gst_state_change_return_get_type), (register_gst_state_change),
20307 (gst_state_change_get_type), (register_gst_element_flags),
20308 (gst_element_flags_get_type), (register_gst_core_error),
20309 (gst_core_error_get_type), (register_gst_library_error),
20310 (gst_library_error_get_type), (register_gst_resource_error),
20311 (gst_resource_error_get_type), (register_gst_stream_error),
20312 (gst_stream_error_get_type), (register_gst_event_type),
20313 (gst_event_type_get_type), (register_gst_seek_type),
20314 (gst_seek_type_get_type), (register_gst_seek_flags),
20315 (gst_seek_flags_get_type), (register_gst_format),
20316 (gst_format_get_type), (register_gst_index_certainty),
20317 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20318 (gst_index_entry_type_get_type),
20319 (register_gst_index_lookup_method),
20320 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20321 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20322 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20323 (gst_index_flags_get_type), (register_gst_debug_level),
20324 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20325 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20326 (gst_iterator_result_get_type), (register_gst_iterator_item),
20327 (gst_iterator_item_get_type), (register_gst_message_type),
20328 (gst_message_type_get_type), (register_gst_mini_object_flags),
20329 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20330 (gst_pad_link_return_get_type), (register_gst_flow_return),
20331 (gst_flow_return_get_type), (register_gst_activate_mode),
20332 (gst_activate_mode_get_type), (register_gst_pad_direction),
20333 (gst_pad_direction_get_type), (register_gst_pad_flags),
20334 (gst_pad_flags_get_type), (register_gst_pad_presence),
20335 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20336 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20337 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20338 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20339 (gst_plugin_flags_get_type), (register_gst_rank),
20340 (gst_rank_get_type), (register_gst_query_type),
20341 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20342 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20343 (gst_tag_flag_get_type), (register_gst_task_state),
20344 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20345 (gst_alloc_trace_flags_get_type),
20346 (register_gst_type_find_probability),
20347 (gst_type_find_probability_get_type), (register_gst_uri_type),
20348 (gst_uri_type_get_type), (register_gst_parse_error),
20349 (gst_parse_error_get_type):
20350 * win32/common/gstversion.h:
20351 update win32 copies
20353 2005-11-01 Luca Ognibene <luogni@tin.it>
20356 fix docs. popt is dead, long live GOption.
20358 2005-10-31 Wim Taymans <wim@fluendo.com>
20363 2005-10-31 Andy Wingo <wingo@pobox.com>
20367 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20369 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20370 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20371 the possibility of deadlocks here if code calling notify() or
20372 set() has a lock that can be taken in another notify handler (ABBA
20373 with class lock and e.g. python GIL state lock).
20375 2005-10-28 Julien MOUTTE <julien@moutte.net>
20377 * gst/gstbus.c: Doc updates.
20379 2005-10-28 Wim Taymans <wim@fluendo.com>
20381 * docs/design/part-TODO.txt:
20382 * gst/gstiterator.c:
20383 * gst/gstsystemclock.c:
20384 * gst/gstsystemclock.h:
20387 2005-10-28 Edward Hervey <edward@fluendo.com>
20389 * docs/gst/gstreamer-docs.sgml:
20390 * docs/gst/gstreamer-sections.txt:
20391 the GstURIType documentation page is private, it only defines GstURIType
20392 which should be defined in the GstURIHandler page
20394 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20396 * gst/gstbin.c: (gst_bin_class_init):
20399 Documentation updates.
20401 2005-10-28 Wim Taymans <wim@fluendo.com>
20403 * docs/gst/gstreamer-sections.txt:
20406 Documented the clocks.
20408 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20410 * docs/gst/gstreamer-sections.txt:
20411 move some macros to private sections
20412 * gst/gstminiobject.c:
20413 * gst/gstminiobject.h:
20414 add descriptions provided by ds and some more
20416 mark macro as to be removed
20418 2005-10-28 Wim Taymans <wim@fluendo.com>
20420 * docs/design/part-TODO.txt:
20421 Add an item to TODO.
20423 * gst/gstiterator.c: (gst_iterator_fold),
20424 (gst_iterator_find_custom):
20425 * gst/gstiterator.h:
20428 2005-10-28 Wim Taymans <wim@fluendo.com>
20430 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20431 (gst_base_transform_init):
20434 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20435 An EOS event marks the queue as completely filled.
20437 2005-10-27 Wim Taymans <wim@fluendo.com>
20439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20440 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20441 Some more debugging.
20443 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20444 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20445 (gst_base_transform_event), (gst_base_transform_getrange),
20446 (gst_base_transform_chain):
20447 * gst/base/gstbasetransform.h:
20449 Protect transform and concurrent buffer alloc with a new lock.
20450 Try not to break ABI/API.
20452 2005-10-27 Wim Taymans <wim@fluendo.com>
20454 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20455 (gst_base_src_init), (gst_base_src_query),
20456 (gst_base_src_default_newsegment),
20457 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20458 (gst_base_src_send_event), (gst_base_src_event_handler),
20459 (gst_base_src_pad_get_range), (gst_base_src_loop),
20460 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20461 (gst_base_src_start), (gst_base_src_deactivate),
20462 (gst_base_src_activate_push), (gst_base_src_change_state):
20463 Move some stuff around and cleanup things.
20465 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20467 * gst/base/gstbasesrc.c: (gst_base_src_query):
20468 Add missing break statements.
20470 2005-10-27 Wim Taymans <wim@fluendo.com>
20472 * check/gst/gstbin.c: (GST_START_TEST):
20473 An extra refcount is taken in basesrc.
20475 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20476 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20477 (gst_base_src_loop):
20478 Small cleanups, check for flushing after being unlocked from the
20479 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20480 Don't send out EOS when going to READY.
20482 2005-10-27 Wim Taymans <wim@fluendo.com>
20484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20485 (gst_base_sink_get_position):
20488 * gst/gstbin.c: (message_check), (bin_replace_message),
20489 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20490 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20491 (bin_query_duration_init), (bin_query_duration_fold),
20492 (bin_query_duration_done), (bin_query_generic_fold),
20494 * tools/gst-launch.c: (main):
20497 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20499 * examples/controller/audio-example.c: (main):
20500 * examples/queue/queue.c: (event_loop):
20501 * gst/base/gstbasetransform.h:
20502 * gst/gstelement.c: (gst_element_send_event):
20504 * gst/gstpad.c: (gst_pad_send_event):
20507 changing log priority in error situations
20509 2005-10-25 Wim Taymans <wim@fluendo.com>
20511 * gst/gstbin.c: (message_check), (bin_replace_message),
20512 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20513 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20514 (bin_query_duration_init), (bin_query_duration_fold),
20515 (bin_query_duration_done), (bin_query_generic_fold),
20517 Some doc and debug updates.
20518 Cache previously requested query DURATION for speed. invalidate
20519 cached duration if element posts a DURATION message.
20521 2005-10-25 Wim Taymans <wim@fluendo.com>
20523 * docs/design/part-TODO.txt:
20526 * gst/gstbin.c: (message_check), (bin_replace_message),
20527 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20528 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20529 (bin_query_duration_init), (bin_query_duration_fold),
20530 (bin_query_duration_done), (bin_query_generic_fold),
20532 Handle SEGMENT_START/DONE messages correctly.
20533 More evolved query algorithm that handles duration queries
20536 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20537 (gst_element_get_state_func), (gst_element_abort_state),
20538 (gst_element_commit_state), (gst_element_lost_state):
20539 Some more debugging.
20541 * gst/gstmessage.h:
20544 2005-10-25 Wim Taymans <wim@fluendo.com>
20546 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20547 Don't use invalid stream_time.
20549 * gst/gstevent.c: (gst_event_new_newsegment):
20550 stream_time in newsegment cannot be undefined.
20552 2005-10-24 Wim Taymans <wim@fluendo.com>
20557 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20559 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20561 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20563 * docs/libs/tmpl/gstdparam.sgml:
20564 * docs/libs/tmpl/gstdplinint.sgml:
20565 * docs/libs/tmpl/gstdpman.sgml:
20566 * docs/libs/tmpl/gstdpsmooth.sgml:
20567 * docs/libs/tmpl/gstunitconvert.sgml:
20570 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20575 === release 0.9.4 ===
20577 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20580 releasing 0.9.4, "Tyrannosaurus Rex"
20582 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20584 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20585 (gst_file_sink_get_current_offset):
20586 Use fseeko() and ftello() if available. When falling back on
20587 lseek() to get the current offset, fflush() first to make sure
20588 everything is up-to-date and we get the right offset.
20590 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20593 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20594 * gst/gsterror.c: (_gst_stream_errors_init):
20596 * gst/gstqueue.c: (gst_queue_loop):
20598 remove prematurely added error category and clean up the instances
20600 2005-10-21 Wim Taymans <wim@fluendo.com>
20602 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20603 (gst_base_sink_get_position), (gst_base_sink_query),
20604 (gst_base_sink_change_state):
20605 Simply set the right flag when going to playing, that's all
20606 we need to do instead of calling a function inside the object
20607 lock (that could take the lock as well and deadlock)
20609 2005-10-21 Wim Taymans <wim@fluendo.com>
20611 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20612 (gst_base_src_loop):
20613 Don't warn, the peer element knows what to do best when
20614 the seek failed, it might try something else.
20616 2005-10-21 Wim Taymans <wim@fluendo.com>
20618 * gst/base/gstbasesrc.c: (gst_base_src_init),
20619 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20622 2005-10-21 Wim Taymans <wim@fluendo.com>
20624 * docs/design/part-segments.txt:
20627 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20628 Correctly set caps, even on the subbufer.
20630 2005-10-21 Wim Taymans <wim@fluendo.com>
20632 * docs/gst/gstreamer-docs.sgml:
20633 * docs/gst/gstreamer-sections.txt:
20634 * gst/gstelement.h:
20637 * gst/gstmessage.h:
20640 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20644 And 2% more doc coverage.
20646 2005-10-21 Andy Wingo <wingo@pobox.com>
20648 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20649 position reporting.
20651 2005-10-20 Wim Taymans <wim@fluendo.com>
20653 * gst/gsterror.c: (gst_error_get_message):
20656 * gst/gststructure.c:
20661 2005-10-20 Wim Taymans <wim@fluendo.com>
20666 Another 1% more coverage.
20668 2005-10-20 Wim Taymans <wim@fluendo.com>
20670 * docs/gst/gstreamer-sections.txt:
20671 * gst/gstelement.c: (gst_element_get_state_func),
20672 (gst_element_abort_state), (gst_element_commit_state),
20673 (gst_element_lost_state):
20675 * gst/gstquery.c: (gst_query_set_position),
20676 (gst_query_parse_position), (gst_query_set_duration),
20677 (gst_query_parse_duration), (gst_query_new_convert):
20679 Yay! 1% more docs coverage.
20681 2005-10-20 Wim Taymans <wim@fluendo.com>
20684 * gst/gstquery.c: (gst_query_set_position),
20685 (gst_query_parse_position), (gst_query_set_duration),
20686 (gst_query_parse_duration), (gst_query_new_convert):
20688 * gst/gstutils.c: (gst_element_query_convert):
20690 Docs and consistency fixes.
20692 2005-10-20 Wim Taymans <wim@fluendo.com>
20698 2005-10-20 Wim Taymans <wim@fluendo.com>
20700 * gst/gstbin.c: (message_check), (bin_replace_message),
20701 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20702 (update_degree), (gst_bin_sort_iterator_next),
20703 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20704 Reworked the message handling a bit, cache the messages instead of
20705 only the senders. alows us to do more in the future.
20707 2005-10-20 Wim Taymans <wim@fluendo.com>
20709 * docs/design/part-TODO.txt:
20712 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20713 (gst_base_sink_query):
20714 Don't use clock time to report position when in EOS.
20716 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20718 * tools/gst-inspect.c: (print_interfaces),
20719 (print_element_properties_info), (print_element_info):
20720 Fix interface output with gst-inspect -a; don't print
20721 newlines after double/float properties.
20723 2005-10-20 Wim Taymans <wim@fluendo.com>
20725 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20726 (gst_base_sink_query):
20727 Speed up current position calculation.
20729 * gst/base/gstbasesrc.c: (gst_base_src_query),
20730 (gst_base_src_default_newsegment):
20731 Correctly set stream position in newsegment.
20733 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20734 (update_degree), (gst_bin_sort_iterator_next),
20735 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20736 * gst/gstmessage.c: (gst_message_new_custom):
20737 Clean up debugging info
20739 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20740 (gst_queue_loop), (gst_queue_handle_src_query):
20743 2005-10-19 Wim Taymans <wim@fluendo.com>
20745 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20746 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20747 Fix query handling again.
20749 2005-10-19 Wim Taymans <wim@fluendo.com>
20751 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20752 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20753 * gst/base/gstbasesrc.c: (gst_base_src_query):
20754 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20755 * gst/elements/gsttypefindelement.c:
20756 (gst_type_find_handle_src_query), (find_element_get_length),
20757 (gst_type_find_element_activate):
20760 * gst/gstquery.c: (gst_query_new_position),
20761 (gst_query_set_position), (gst_query_parse_position),
20762 (gst_query_new_duration), (gst_query_set_duration),
20763 (gst_query_parse_duration), (gst_query_set_segment),
20764 (gst_query_parse_segment):
20766 Bundling query position/duration is not a good idea since duration
20767 does not change much and we don't want to recalculate it for every
20768 position query, so they are separated again..
20769 Base value in segment query is not needed.
20771 * gst/gstqueue.c: (gst_queue_handle_src_query):
20772 * gst/gstutils.c: (gst_element_query_position),
20773 (gst_element_query_duration), (gst_pad_query_position),
20774 (gst_pad_query_duration):
20776 Updates for query API change.
20777 Added some docs here and there.
20779 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20781 * check/gst/gstbin.c: (GST_START_TEST):
20782 * check/gst/gstghostpad.c: (GST_START_TEST):
20783 * check/pipelines/cleanup.c: (GST_START_TEST):
20784 wait on thread to die so we can check refcount correctly
20786 2005-10-18 Wim Taymans <wim@fluendo.com>
20788 * check/pipelines/stress.c: (GST_START_TEST):
20789 Make check a little more time consuming.
20791 2005-10-18 Wim Taymans <wim@fluendo.com>
20793 * check/Makefile.am:
20794 * check/pipelines/stress.c: (GST_START_TEST),
20795 (simple_launch_lines_suite), (main):
20796 Small state change torture test.
20798 * docs/design/part-states.txt:
20799 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20800 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20801 (gst_base_sink_change_state):
20802 Never take state lock from streaming thread, clean up ugly
20803 hacks. Unfortunatly core does not yet support nice ways to
20804 async commit state.
20806 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20808 Start state recalc if a STATE_DIRTY message is posted, but only
20809 on the toplevel bin.
20811 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20812 (gst_element_get_state_func), (gst_element_abort_state),
20813 (gst_element_commit_state), (gst_element_lost_state),
20814 (gst_element_set_state_func), (gst_element_change_state):
20815 * gst/gstelement.h:
20816 State variables are now protected with the LOCK, the state
20817 lock is only used to serialize _set_state().
20819 2005-10-18 Wim Taymans <wim@fluendo.com>
20821 * check/gst/gstbin.c: (GST_START_TEST):
20822 * check/gst/gstmessage.c: (GST_START_TEST):
20823 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20824 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20826 * gst/gstelement.c: (gst_element_abort_state),
20827 (gst_element_commit_state), (gst_element_lost_state):
20828 * gst/gstmessage.c: (gst_message_new_state_changed),
20829 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20830 (gst_message_new_segment_done), (gst_message_new_duration),
20831 (gst_message_parse_state_changed),
20832 (gst_message_parse_segment_start),
20833 (gst_message_parse_segment_done), (gst_message_parse_duration):
20834 * gst/gstmessage.h:
20835 * tools/gst-launch.c: (event_loop):
20836 Seriously, this is better than a previous commit as we only need
20837 to notify the fact that an element changed state in a streaming
20838 thread, marking the state of the parents dirty, hence the
20839 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20842 2005-10-18 Wim Taymans <wim@fluendo.com>
20844 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20845 (gst_bin_recalc_func):
20846 * gst/gstelement.c: (gst_element_set_clock),
20847 (gst_element_abort_state), (gst_element_lost_state):
20848 Cleanups, prepare for state change fixes.
20850 2005-10-18 Wim Taymans <wim@fluendo.com>
20853 * gst/gstelement.c: (gst_element_class_init),
20854 (gst_element_set_state), (gst_element_set_state_func):
20855 * gst/gstelement.h:
20856 Pending ABI changes.
20857 GThreadPool in GstBinClass to monitor async state changes.
20858 state_cookie in GstElement to detect concurrent gst/set state.
20859 set_state is now virtual too in case a very complicated element
20860 has to be constructed.
20862 2005-10-18 Wim Taymans <wim@fluendo.com>
20864 * check/gst/gstbin.c: (GST_START_TEST):
20865 * check/gst/gstmessage.c: (GST_START_TEST):
20866 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20867 * gst/gstbin.c: (bin_bus_handler):
20868 * gst/gstelement.c: (gst_element_commit_state),
20869 (gst_element_lost_state):
20870 * gst/gstmessage.c: (gst_message_new_state_changed),
20871 (gst_message_new_segment_start), (gst_message_new_segment_done),
20872 (gst_message_new_duration), (gst_message_parse_state_changed),
20873 (gst_message_parse_segment_start),
20874 (gst_message_parse_segment_done), (gst_message_parse_duration):
20875 * gst/gstmessage.h:
20876 * tools/gst-launch.c: (event_loop):
20877 Make messages future proof.
20878 state-change gets a flag if it was a message comming from the
20880 segment-start/stop can also be specified in other formats.
20881 A message to notify an app that a pipeline changed playback
20883 Also fix a GstMessage leak in -launch
20885 2005-10-18 Andy Wingo <wingo@pobox.com>
20887 * gst/gstelement.c (gst_element_dispose): More helpful message.
20889 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20891 reviewed by: <delete if not using a buddy>
20893 * common/gtk-doc.mak:
20895 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20897 * gst/gstregistry.c: (gst_registry_scan_path_level):
20898 unref a plug-in we get that was already initialized
20900 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20902 * docs/gst/gstreamer-sections.txt:
20903 * docs/libs/gstreamer-libs-sections.txt:
20904 * gst/gstelement.h:
20905 add new api entries
20906 hide internal macro
20908 2005-10-17 Andy Wingo <wingo@pobox.com>
20910 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20913 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20915 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20917 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20918 (gst_element_get_state_func): Better debug message.
20919 (gst_element_commit_state): s/INFO/DEBUG/.
20920 (gst_element_lost_state, gst_element_change_state):
20922 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20923 (gst_message_new_custom): s/INFO/LOG/.
20925 2005-10-17 Michael Smith <msmith@fluendo.com>
20927 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20928 Check if end time is valid using end time, not start time.
20930 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20932 * check/gst-libs/controller.c: (GST_START_TEST),
20933 (gst_controller_suite):
20934 * libs/gst/controller/gstcontroller.c:
20935 (gst_controlled_property_set_interpolation_mode):
20936 * libs/gst/controller/gstcontroller.h:
20937 * libs/gst/controller/gstinterpolation.c:
20938 * testsuite/controller/.cvsignore:
20939 * testsuite/controller/Makefile.am:
20940 * testsuite/controller/interpolator.c:
20941 merge controller testsuites
20943 remove mem-chunk from docs
20945 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20947 * gst/gstmemchunk.c:
20948 * gst/gstmemchunk.h:
20949 * gst/gsttrashstack.c:
20950 * gst/gsttrashstack.h:
20951 out. get out. you're fired. to the Attic !
20953 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20955 * gst/gstcaps.c: (gst_caps_intersect):
20956 fix signedness issues in a (hopefully) correct way
20957 * gst/gstelement.c: (gst_element_pads_activate):
20959 * gst/gstobject.c: (gst_object_set_parent):
20962 2005-10-17 Julien MOUTTE <julien@moutte.net>
20964 * gst/gstvalue.h: Fix prototypes.
20966 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20968 * docs/gst/gstreamer-sections.txt:
20969 * gst/gst.c: (gst_version_string):
20971 * gst/gstversion.h.in:
20972 * win32/common/libgstreamer.def:
20973 add gst_version_string ()
20975 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20979 * gst/gst.c: (init_post):
20980 * win32/common/config.h.in:
20982 * gst/gstcaps.c: (gst_caps_intersect):
20983 use gint64, the range could be bigger than a guint
20985 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20988 document potential problem in 2038
20990 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20992 * gst/gstcaps.c: (gst_caps_intersect):
20993 Fix guint j diving under 0
20995 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20998 * win32/common/config.h:
20999 * win32/common/config.h.in:
21000 check for process.h, declares getpid() on Windows
21002 include process.h if we have it
21003 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21004 * gst/gstmemchunk.h:
21005 fix signedness issues
21006 * win32/common/libgstreamer.def:
21009 2005-10-16 Julien MOUTTE <julien@moutte.net>
21011 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21012 fix. Because of unsigned ints, caps intersection was going nuts and
21013 trying to access structures with G_MAXUINT index. That fixes
21014 videotestsrc ! ffmpegcolorspace ! fakesink
21015 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21018 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21021 use the gettext macro
21022 * gst/elements/gstelements.c:
21024 * gst/indexers/gstindexers.c:
21025 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21026 * win32/common/config.h:
21028 * win32/common/config.h.in:
21029 add the template to generate config.h
21030 * win32/common/gstenumtypes.c:
21031 * win32/common/gstversion.h:
21034 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21036 * gst/gst.c: (gst_version):
21037 * gst/gstversion.h.in:
21040 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21043 Oops, add missing closing bracket.
21045 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21048 use common m4's for argument checking
21050 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21052 * docs/gst/gstreamer-sections.txt:
21054 Add GST_EVENT_TYPE_NAME() macro.
21056 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21059 * gst/gstpluginfeature.c:
21061 privatize more symbols
21063 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21066 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21067 everything that uses GStreamer API should have the includes
21069 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21071 * docs/gst/gstreamer-sections.txt:
21072 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21074 give each value a _get_type, removes the DATA exports
21076 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21080 remove _gst_registry_auto_load, not used anymore
21081 * gst/gstbin.c: (gst_bin_get_type):
21083 * gst/gstelement.c: (gst_element_get_type):
21084 * gst/gstelement.h:
21085 * gst/gstobject.c: (gst_object_get_type):
21087 * gst/gstpad.c: (gst_pad_get_type):
21089 make _get_type functions similar, fixes data export from library
21091 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21094 correctly make conditionals
21095 * gst/elements/Makefile.am:
21096 * gst/elements/gstelements.c:
21097 fix typo causing fdsrc not to build
21099 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21101 * testsuite/Makefile.am:
21102 * testsuite/bytestream/.cvsignore:
21103 * testsuite/bytestream/Makefile.am:
21104 * testsuite/bytestream/filepadsink.c:
21105 * testsuite/bytestream/gstbstest.c:
21106 * testsuite/bytestream/test1.c:
21107 * testsuite/bytestream/testfile1:
21108 * testsuite/caps/normalisation.c:
21109 * testsuite/caps/random.c: (main):
21110 * testsuite/cleanup/.cvsignore:
21111 * testsuite/cleanup/Makefile.am:
21112 * testsuite/cleanup/cleanup1.c:
21113 * testsuite/cleanup/cleanup2.c:
21114 * testsuite/cleanup/cleanup3.c:
21115 * testsuite/cleanup/cleanup4.c:
21116 * testsuite/cleanup/cleanup5.c:
21117 * testsuite/controller/interpolator.c:
21118 * testsuite/debug/printf_extension.c: (main):
21119 * testsuite/elements/tee.c:
21120 * testsuite/negotiation/.cvsignore:
21121 * testsuite/negotiation/Makefile.am:
21122 * testsuite/negotiation/pad_link.c:
21123 * testsuite/pad/Makefile.am:
21124 * testsuite/pad/chainnopull.c:
21125 * testsuite/pad/getnopush.c:
21126 * testsuite/pad/link.c:
21127 * testsuite/refcounting/sched.c: (create_pipeline):
21128 * testsuite/registry/Makefile.am:
21129 * testsuite/registry/gst-print-formats.c:
21130 * testsuite/schedulers/.cvsignore:
21131 * testsuite/schedulers/142183-2.c:
21132 * testsuite/schedulers/142183.c:
21133 * testsuite/schedulers/143777-2.c:
21134 * testsuite/schedulers/143777.c:
21135 * testsuite/schedulers/147713.c:
21136 * testsuite/schedulers/147819.c:
21137 * testsuite/schedulers/147894-2.c:
21138 * testsuite/schedulers/147894.c:
21139 * testsuite/schedulers/Makefile.am:
21140 * testsuite/schedulers/group_link.c:
21141 * testsuite/schedulers/queue_link.c:
21142 * testsuite/schedulers/relink.c:
21143 * testsuite/schedulers/unlink.c:
21144 * testsuite/schedulers/unref.c:
21145 * testsuite/schedulers/useless_iteration.c:
21146 * testsuite/states/bin.c:
21147 clean out/remove some stuff from the testsuite directories
21149 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21152 check for some headers
21153 * gst/elements/Makefile.am:
21154 * gst/elements/gstelements.c:
21155 don't compile fdsrc without sys/socket.h
21156 * gst/indexers/Makefile.am:
21157 * gst/indexers/gstindexers.c: (plugin_init):
21158 don't compile fileindex without mmap
21160 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21167 * check/Makefile.am:
21168 * docs/gst/Makefile.am:
21169 * examples/helloworld/Makefile.am:
21171 * gst/base/Makefile.am:
21172 * gst/check/Makefile.am:
21173 * gst/elements/Makefile.am:
21174 * gst/indexers/Makefile.am:
21175 * gst/parse/Makefile.am:
21176 * libs/gst/controller/Makefile.am:
21177 * libs/gst/dataprotocol/Makefile.am:
21178 * examples/helloworld/helloworld.c: (event_loop):
21179 compile fixes, though it's not being compiled currently
21181 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21183 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21184 Add some simple tests for the new taglist date API.
21186 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21188 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21189 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21190 Beautify 'last-message' output: print 'none' for buffer timestamps
21191 and durations if none is set; improve alignment with next messages.
21193 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21195 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21196 * gst/gstpluginfeature.h:
21197 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21198 * gst/gstregistry.h:
21199 * docs/gst/gstreamer-sections.txt:
21200 Add new API to check plugin feature version requirements.
21202 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21203 Some basic tests for the above.
21205 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21207 * gst/gststructure.c: (gst_structure_to_string):
21208 guard against NULL printf - happens when for example
21209 a message structure with GstClock gets serialized
21211 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21213 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21214 Fix presumable copy'n'pasto.
21216 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21218 * gst/elements/gstfakesrc.h:
21219 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21220 * gst/elements/gsttypefindelement.c:
21221 fix some signedness
21222 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21223 I wonder if this could actually write +2GB files before
21225 2005-10-13 Andy Wingo <wingo@pobox.com>
21227 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21228 Fix Timmeke Waymans bug.
21229 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21230 string of the proper length to gst_caps_from_string. There's a
21231 potential for, before this fix, that this could cause someone
21232 connecting over the network to cause a segfault if the payload is
21233 not NUL-terminated.
21235 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21237 * docs/design/draft-push-pull.txt:
21238 * docs/design/part-overview.txt:
21239 * docs/random/TODO-pre-0.9:
21240 * docs/random/old/ChangeLog.gstreamer:
21241 * gst/base/gstpushsrc.c:
21245 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21247 * gst/glib-compat.c: (gst_flags_get_first_value):
21248 * gst/glib-compat.h:
21249 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21250 (gst_value_compare_double), (gst_value_serialize_flags):
21251 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21254 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21257 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21259 * tools/gst-launch.c: (event_loop):
21260 print out clock nicely
21262 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21264 * docs/gst/gstreamer-sections.txt:
21265 * gst/gsttaglist.h:
21266 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21267 (gst_tag_list_get_date_index):
21268 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21269 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21271 2005-10-13 Julien MOUTTE <julien@moutte.net>
21273 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21274 (gst_collectpads_chain):
21275 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21278 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21280 * docs/gst/gstreamer-sections.txt:
21283 * tools/gst-inspect.c: (main):
21284 * tools/gst-launch.c: (main):
21285 * tools/gst-run.c: (main):
21286 * tools/gst-xmlinspect.c: (main):
21287 fix GOption context leaks
21290 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21294 * win32/common/config.h:
21296 * win32/vs6/grammar.dsp:
21297 * win32/vs6/libgstelements.dsp:
21298 * win32/vs6/libgstreamer.dsp:
21301 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21303 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21304 * gst/base/gstbasesrc.c: (gst_base_src_query):
21305 fix more guint64<->gdouble conversions
21307 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21310 add win32-update target
21311 * win32/common/gstconfig.h:
21312 * win32/common/gstenumtypes.c:
21313 * win32/common/gstenumtypes.h:
21314 * win32/common/gstversion.h:
21315 add files that visual studio can't generate
21317 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21320 add a win32-update target
21323 2005-10-12 Wim Taymans <wim@fluendo.com>
21325 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21326 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21327 * gst/gstelement.c: (gst_element_commit_state),
21328 (gst_element_set_state):
21329 Protect flags with proper lock.
21330 unref provided cached clock in dispose.
21332 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21335 * gst/gstminiobject.h:
21337 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21338 removed unused flags from miniobject
21341 2005-10-12 Wim Taymans <wim@fluendo.com>
21343 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21344 (gst_file_sink_event), (gst_file_sink_render):
21345 Flush before seeking.
21347 2005-10-12 Andy Wingo <wingo@pobox.com>
21349 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21350 always been the case.
21352 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21354 * check/gst/gstbin.c: (GST_START_TEST):
21355 * docs/gst/gstreamer-sections.txt:
21356 * gst/base/gstbasesink.c: (gst_base_sink_init):
21357 * gst/base/gstbasesrc.c: (gst_base_src_init),
21358 (gst_base_src_get_range), (gst_base_src_check_get_range),
21359 (gst_base_src_start), (gst_base_src_stop):
21360 * gst/base/gstbasesrc.h:
21361 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21362 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21363 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21367 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21369 * gst/gstelement.c: (gst_element_is_locked_state),
21370 (gst_element_set_locked_state), (gst_element_commit_state),
21371 (gst_element_set_state):
21372 * gst/gstelement.h:
21373 * gst/gstindex.c: (gst_index_init):
21375 * gst/gstminiobject.h:
21376 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21377 (gst_object_set_parent):
21379 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21380 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21382 * gst/gstpadtemplate.h:
21383 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21384 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21385 * gst/gstpipeline.h:
21386 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21387 (gst_file_index_commit):
21388 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21389 * testsuite/pad/link.c: (gst_test_src_init),
21390 (gst_test_filter_init), (gst_test_sink_init):
21391 * testsuite/states/locked.c: (main):
21392 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21393 moved bitshift from macro to enum definition
21395 2005-10-12 Wim Taymans <wim@fluendo.com>
21397 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21398 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21399 (gst_file_sink_render):
21400 Some more debugging info.
21402 2005-10-12 Wim Taymans <wim@fluendo.com>
21404 * docs/design/part-states.txt:
21405 * tools/gst-launch.c: (main):
21407 Revert non-intentional change.
21409 2005-10-12 Wim Taymans <wim@fluendo.com>
21411 * check/gst/gstbin.c: (GST_START_TEST):
21412 * check/gst/gstelement.c: (GST_START_TEST):
21413 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21414 * check/gst/gstghostpad.c: (GST_START_TEST):
21415 * check/gst/gstpipeline.c: (GST_START_TEST):
21416 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21417 * check/states/sinks.c: (GST_START_TEST):
21418 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21419 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21420 (gst_bin_remove_func), (gst_bin_get_state_func),
21421 (gst_bin_recalc_state), (gst_bin_change_state_func),
21423 * gst/gstelement.c: (gst_element_get_state_func),
21424 (gst_element_get_state), (gst_element_abort_state),
21425 (gst_element_commit_state), (gst_element_set_state),
21426 (gst_element_change_state), (gst_element_change_state_func):
21427 * gst/gstelement.h:
21428 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21429 (gst_pipeline_provide_clock_func):
21430 * gst/gstutils.c: (gst_element_link_pads_filtered):
21431 * tools/gst-launch.c: (main):
21432 * tools/gst-typefind.c: (main):
21433 Use GstClockTime in _get_state() instead of GTimeVal.
21434 Remove old code in gstutils.c
21436 2005-10-12 Andy Wingo <wingo@pobox.com>
21438 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21441 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21442 there is no task. Shouldn't affect any code, as nothing in our
21443 plugins checks this return value.
21444 (gst_pad_stop_task): Also take the stream lock if the pad has no
21445 task. Docs updated.
21447 2005-10-12 Wim Taymans <wim@fluendo.com>
21449 * gst/gstpad.c: (pre_activate), (post_activate),
21450 (gst_pad_activate_pull), (gst_pad_activate_push):
21451 Cleanup activation code. Reset old state if
21454 2005-10-12 Wim Taymans <wim@fluendo.com>
21456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21457 (gst_base_sink_change_state):
21458 No need to prerol after receiving EOS.
21460 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21461 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21462 * gst/elements/gstidentity.c: (gst_identity_event):
21463 Print events more verbosely.
21465 2005-10-12 Wim Taymans <wim@fluendo.com>
21467 * check/Makefile.am:
21468 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21469 * check/states/sinks2.c:
21470 Moved sinks2 testcode in sinks check.
21472 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21473 (gst_bin_remove_func), (gst_bin_recalc_state),
21474 (gst_bin_change_state_func), (bin_bus_handler):
21475 Fix potential race condition when _get_state() iterated over an
21476 ASYNC element right before it posted a state completion.
21479 Do proper cast here.
21481 * gst/gstevent.c: (gst_event_new_newsegment),
21482 (gst_event_parse_newsegment):
21483 A playback rate of 0.0 is not allowed.
21485 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21487 * win32/common/config.h:
21488 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21489 (_trewinddir), (_ttelldir), (_tseekdir):
21490 * win32/common/dirent.h:
21491 * win32/common/gtchar.h:
21492 * win32/common/libgstbase.def:
21493 * win32/common/libgstreamer.def:
21494 * win32/vs6/grammar.dsp:
21495 * win32/vs6/gst_inspect.dsp:
21496 * win32/vs6/gst_launch.dsp:
21497 * win32/vs6/gstreamer.dsw:
21498 * win32/vs6/libgstbase.dsp:
21499 * win32/vs6/libgstelements.dsp:
21500 * win32/vs6/libgstreamer.dsp:
21501 Visual Studio 6 project files, and a new common directory.
21504 2005-10-11 Wim Taymans <wim@fluendo.com>
21506 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21507 (gst_base_sink_do_sync), (gst_base_sink_query),
21508 (gst_base_sink_change_state):
21509 * gst/base/gstbasesink.h:
21510 Correctly parse newsegment info.
21512 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21514 * gst/gst.c: (init_post):
21515 split plugin paths correctly
21517 2005-10-11 Wim Taymans <wim@fluendo.com>
21519 * check/gst/gstevent.c: (GST_START_TEST):
21520 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21521 (gst_base_sink_change_state):
21522 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21523 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21524 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21525 * gst/gstevent.c: (gst_event_new_newsegment),
21526 (gst_event_parse_newsegment):
21528 Added extra flag to newsegment for future API freeze.
21529 Updated check and base elements.
21531 2005-10-11 Julien MOUTTE <julien@moutte.net>
21533 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21534 (gst_collectpads_add_pad), (gst_collectpads_pop),
21535 (gst_collectpads_event), (gst_collectpads_chain):
21536 * gst/base/gstcollectpads.h: Handle EOS correctly.
21538 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21540 * tools/gst-launch.c: (main):
21541 more null protecting
21543 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21545 * gst/gst-i18n-lib.h:
21546 check for ENABLE_NLS, not GETTEXT_PACKAGE
21547 * gst/gstregistry.c: (gst_registry_add_plugin),
21548 (gst_registry_scan_path_level),
21549 (_gst_registry_remove_cache_plugins):
21550 protect possibly NULL strings
21551 * gst/parse/types.h:
21552 config.h already included before
21553 * tools/gst-inspect.c: (main):
21554 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21555 check for ENABLE_NLS, not GETTEXT_PACKAGE
21556 * tools/gst-launch.c: (main):
21557 check for ENABLE_NLS, not GETTEXT_PACKAGE
21559 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21562 if we don't have glib, fail before testing 2.8
21563 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21564 fix a leak, should fix plugins-base testsuite
21566 2005-10-11 Andy Wingo <wingo@pobox.com>
21568 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21569 take the mode we're going to as an arg. Go head and set the mode
21570 and flushing flags now, so that if the activate function starts a
21571 thread all the flags will be in the right state.
21572 (post_activate): Renamed also. Just handle making sure streaming
21573 finishes for the deactivation case, and setting the deactivated
21575 (gst_pad_set_active): Complain loudly if deactivation fails.
21576 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21577 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21578 remove the terrible hack.
21580 2005-10-11 Wim Taymans <wim@fluendo.com>
21582 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21583 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21584 (gst_bin_recalc_state), (gst_bin_change_state_func),
21585 (gst_bin_dispose), (bin_bus_handler):
21587 Prepare to make current EOS message queue more generic.
21590 * gst/gstevent.c: (gst_event_new_newsegment),
21591 (gst_event_parse_newsegment):
21593 Rename base to stream_time.
21595 * gst/gstmessage.h:
21598 2005-10-11 Wim Taymans <wim@fluendo.com>
21600 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21601 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21602 (gst_bin_change_state_func), (bin_bus_handler):
21604 Work on proper clock selection.
21606 2005-10-11 Edward Hervey <edward@fluendo.com>
21608 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21609 * libs/gst/controller/gstcontroller.h:
21610 Added GList* version of _remove_properties() in order to be able to wrap
21613 2005-10-11 Wim Taymans <wim@fluendo.com>
21615 * docs/design/part-states.txt:
21618 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21619 (gst_bin_change_state_func), (bin_bus_handler):
21620 Doc updates. Don't distribute the same clock over and over again.
21626 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21627 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21628 (gst_pad_send_event):
21630 Make probe emission threadsafe again.
21631 Register quarks and move _get_name() from utils.
21634 * gst/gstpipeline.c: (gst_pipeline_class_init),
21635 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21636 Only redistribute the clock of it changed.
21638 * gst/gstsystemclock.h:
21643 Moved the _flow_get_name() to GstPad.
21645 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21647 * check/gst-libs/gdp.c: (GST_START_TEST):
21648 * check/gst/gstcaps.c: (GST_START_TEST):
21649 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21650 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21651 (gst_dp_packet_from_caps):
21652 fix more valgrind warnings before turning up the heat
21654 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21656 * gst/parse/grammar.y:
21657 some cleanup before the hacking
21659 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21661 * gst/base/gstbasesrc.c: (gst_base_src_query):
21663 * gst/gstutils.c: (gst_guint64_to_gdouble),
21664 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21666 externalize, basesrc uses it
21667 obviously the implementation needs testing
21669 2005-10-10 Wim Taymans <wim@fluendo.com>
21671 * tests/sched/Makefile.am:
21672 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21673 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21675 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21677 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21678 apparently converting from guint64 to double is not implemented
21681 2005-10-10 Wim Taymans <wim@fluendo.com>
21683 * check/Makefile.am:
21684 * check/generic/states.c: (GST_START_TEST):
21685 * check/gst/gstbin.c: (GST_START_TEST):
21686 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21687 * check/states/sinks.c: (GST_START_TEST):
21688 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21690 Check fixes, use API as stated in design docs, remove hacks.
21692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21693 (gst_base_sink_change_state):
21694 Catch stopping our task while we're shutting down.
21696 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21697 (gst_bin_remove_func), (gst_bin_get_state_func),
21698 (gst_bin_recalc_state), (gst_bin_change_state_func),
21701 * gst/gstelement.c: (gst_element_init),
21702 (gst_element_get_state_func), (gst_element_abort_state),
21703 (gst_element_commit_state), (gst_element_lost_state),
21704 (gst_element_set_state), (gst_element_change_state),
21705 (gst_element_change_state_func):
21706 * gst/gstelement.h:
21707 New state change algorithm (see #318116)
21709 * gst/gstpipeline.c: (gst_pipeline_class_init),
21710 (gst_pipeline_init), (gst_pipeline_set_property),
21711 (gst_pipeline_get_property), (do_pipeline_seek),
21712 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21713 * gst/gstpipeline.h:
21714 Remove crude state change hacks.
21717 Remove crude hacks.
21719 * tools/gst-launch.c: (main):
21720 Fixes for state change. Needs some more work to fully use the
21723 2005-10-10 Andy Wingo <wingo@pobox.com>
21725 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21727 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21728 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21731 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21733 * gst/gstiterator.c: (gst_iterator_new):
21734 Fix my previous commit: GTypes passed to gst_iterator_new()
21735 can be fundamental types.
21737 2005-10-10 Wim Taymans <wim@fluendo.com>
21739 * gst/gstelement.c: (gst_element_iterate_pad_list),
21740 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21741 (gst_element_iterate_sink_pads):
21742 Use src/sink pads lists for the respective iterators instead
21745 2005-10-10 Andy Wingo <wingo@pobox.com>
21747 Merged in popt removal + GOption addition patch from Ronald, bug
21750 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21751 GstElement macros around, remove popt-related symbols, add goption
21754 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21756 * docs/gst/Makefile.am:
21757 * docs/libs/Makefile.am: No POPT_CFLAGS.
21759 * examples/manual/Makefile.am:
21760 * docs/manual/basics-init.xml: Doc updates with an example.
21762 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21763 (gst_init), (parse_one_option), (parse_goption_arg):
21764 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21765 bit of hand merging and debugging to get the GOption stuff working
21768 * tests/Makefile.am:
21769 * tools/Makefile.am:
21770 * tools/gst-inspect.c: (main):
21771 * tools/gst-launch.c: (main):
21772 * tools/gst-run.c: (main):
21773 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21775 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21777 * gst/gstiterator.c: (gst_iterator_new):
21778 Add assertions to make sure passed GType is likely to really
21779 be a GType (as the compiler won't catch it if the size and
21780 GType arguments get mixed up, see #318447).
21782 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21784 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21786 * gst/gstbin.c: (gst_bin_iterate_sorted):
21787 Pass GType and size arguments to gst_iterator_new() in the right
21788 order (maybe we should make _new() take the GType as first argument
21789 just like _new_list()?) (#318447).
21792 2005-10-10 Wim Taymans <wim@fluendo.com>
21794 * gst/gstelement.c: (gst_element_finalize):
21795 And free the GStaticRecMutex too
21797 2005-10-10 Andy Wingo <wingo@pobox.com>
21799 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21800 Allocate and free the mutex properly.
21802 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21804 (GstElement): The state_lock is now recursive. Rebuild your
21805 plugins, suckers. Old macros adapted.
21807 * docs/gst/gstreamer-sections.txt: Doc updates.
21810 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21811 (g_static_rec_cond_wait): Ported from state changes patch, while
21812 we wait on bug #317802 to be solved in a well-distributed GLib.
21814 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21815 gst_element_change_state, variable name changes.
21816 (gst_element_change_state): Split out of gst_element_set_state in
21817 preparation for the state change merge. Doesn't pay attention to
21818 the 'transition' argument.
21819 (gst_element_set_state): Updates, hopefully purely cosmetic.
21820 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21821 state change patch.
21822 (gst_element_get_state_func): Renamed from get_state, cosmetic
21825 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21827 * gst/elements/gstelements.c:
21828 * win32/GStreamer.vcproj:
21830 * win32/dirent.c: (_tseekdir):
21831 * win32/gst-inspect.vcproj:
21832 * win32/gst-launch.vcproj:
21833 * win32/gstconfig.h:
21834 * win32/gstelements.vcproj:
21835 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21836 * win32/gstreamer.def:
21837 * win32/msvc71.sln:
21838 updates for the win32 build (patch from Sebastien Moutte)
21840 2005-10-10 Andy Wingo <wingo@pobox.com>
21842 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21843 gst_bin_get_state, cleaned up (but no logic changes).
21844 (bin_element_is_sink): Comment updates.
21845 (sink_iterator_filter): Remove needless cast.
21846 (gst_bin_iterate_sinks): Doc update.
21847 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21848 cleaned up (but no logic changes).
21850 * check/states/sinks.c (test_src_sink): Cleanups from the state
21852 (test_livesrc_sink): Sync on the state.
21854 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21855 the state change patch.
21857 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21860 * check/gst/gstbin.c: Merge in some style fixes and additional
21861 checks from Wim's state change patch.
21863 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21865 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21866 (gst_type_find_helper):
21867 Check whether we have the requested data already in our list of
21868 cached buffers before pulling a new buffer; also make the buffer
21869 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21871 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21876 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21877 don't use long long, it's not portable. Replacing with
21878 gint64 seems to work; let's hope no skeletons fall out of the closet.
21880 2005-10-10 Andy Wingo <wingo@pobox.com>
21882 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21884 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21886 * docs/gst/gstreamer-sections.txt:
21891 * gst/gstmessage.c: (gst_message_parse_state_changed):
21894 more docs, fix compilation
21896 2005-10-09 Philippe Khalaf <burger@speedy.org>
21897 * gst/gstmessage.c:
21898 Fixed a few forgotten variables on previous commit
21900 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21902 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21903 Fix evil typefind crasher: getrange() might return a short
21904 buffer at the end of a file, but gst_type_find_peek() must
21905 either return the full data as requested or NULL, but
21906 never a short buffer.
21908 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21910 * gst/gstmessage.c: (gst_message_new_state_changed),
21911 (gst_message_parse_state_changed):
21912 * gst/gstmessage.h:
21913 don't use "new", it's a C++ keyword
21915 2005-10-08 Wim Taymans <wim@fluendo.com>
21917 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21918 * gst/gstelement.c: (gst_element_post_message):
21919 * gst/gstpipeline.c: (gst_pipeline_change_state):
21920 Small docs and debug updates.
21922 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21924 * docs/gst/gstreamer-sections.txt:
21925 * gst/gstelementfactory.c:
21927 * gst/gsttaglist.c:
21930 2005-10-08 Wim Taymans <wim@fluendo.com>
21932 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21933 (gst_bin_dispose), (bin_bus_handler):
21934 Fix typos, add comments.
21935 Clear EOS list when going to PAUSED from any direction and do it
21936 in a threadsafe way.
21937 Get base time in a threadsafe way too.
21938 Fix confusing debug in the change_state function.
21939 Various other small cleanups.
21941 * gst/gstelement.c: (gst_element_post_message):
21942 Fix very verbose bus posting code.
21944 * gst/gstpipeline.c: (gst_pipeline_class_init),
21945 (gst_pipeline_set_property), (gst_pipeline_get_property),
21946 (gst_pipeline_change_state):
21947 Small ARG_ -> PROP_ cleanup
21949 2005-10-08 Wim Taymans <wim@fluendo.com>
21951 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21952 Do a less CPU demanding EOS check because we can.
21954 2005-10-08 Wim Taymans <wim@fluendo.com>
21956 * libs/gst/dataprotocol/dataprotocol.c:
21957 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21958 (gst_dp_packet_from_event):
21959 * libs/gst/dataprotocol/dataprotocol.h:
21960 * libs/gst/dataprotocol/dp-private.h:
21961 It's about time we bump the version number.
21962 Since event types don't fit in the guint8 anymore describing
21963 the payload type, make payload type 16 bits wide.
21965 2005-10-08 Wim Taymans <wim@fluendo.com>
21967 * docs/design/part-TODO.txt:
21968 * docs/design/part-clocks.txt:
21969 * docs/design/part-events.txt:
21970 * docs/design/part-gstbin.txt:
21971 * docs/design/part-gstelement.txt:
21972 * docs/design/part-gstpipeline.txt:
21973 * docs/design/part-live-source.txt:
21974 * docs/design/part-messages.txt:
21975 * docs/design/part-overview.txt:
21976 * docs/design/part-states.txt:
21979 2005-10-08 Wim Taymans <wim@fluendo.com>
21983 Fix event quark registration.
21984 Add some space between events so we can insert them in the
21987 2005-10-08 Wim Taymans <wim@fluendo.com>
21989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21990 (gst_base_sink_handle_buffer):
21991 Better log message.
21994 * gst/gstelement.h:
21997 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21998 (gst_queue_set_property), (gst_queue_get_property):
22000 Remove old unused properties.
22002 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22003 * docs/gst/gstreamer-sections.txt:
22004 * gst/gstmessage.c:
22005 * gst/gstmessage.h:
22006 * gst/gstminiobject.c:
22007 * gst/gstminiobject.h:
22011 lots of new docs and doc fixes
22013 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22015 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22017 * gst/gstregistry.c: (gst_registry_lookup_locked),
22018 (gst_registry_scan_path_level):
22019 * gst/gstregistryxml.c: (load_plugin):
22020 Only ever load one plugin for a given plugin basename.
22021 This ensures correct overriding of GST_PLUGIN_PATH over
22022 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22023 system installed plugins.
22025 2005-10-08 Wim Taymans <wim@fluendo.com>
22027 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22028 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22029 Prepare for doing QOS.
22031 2005-10-08 Wim Taymans <wim@fluendo.com>
22033 * check/gst/gstbin.c: (GST_START_TEST):
22034 * check/pipelines/cleanup.c: (GST_START_TEST):
22035 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22036 Allow new clock message too.
22038 2005-10-08 Wim Taymans <wim@fluendo.com>
22040 * gst/gstmessage.c: (gst_message_new_error),
22041 (gst_message_new_warning), (gst_message_new_tag),
22042 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22043 (gst_message_new_clock_lost), (gst_message_new_new_clock),
22044 (gst_message_new_segment_start), (gst_message_new_segment_done),
22045 (gst_message_parse_state_changed),
22046 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22047 (gst_message_parse_new_clock):
22048 * gst/gstmessage.h:
22049 Also carry the clock in question.
22051 2005-10-08 Wim Taymans <wim@fluendo.com>
22053 * gst/gstmessage.c: (gst_message_new_custom),
22054 (gst_message_new_eos), (gst_message_new_error),
22055 (gst_message_new_warning), (gst_message_new_tag),
22056 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22057 (gst_message_new_new_clock), (gst_message_new_segment_start),
22058 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22059 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22060 * gst/gstmessage.h:
22062 Added clock related messages.
22064 * gst/gstpipeline.c: (gst_pipeline_change_state):
22065 Post message when the clock changed.
22067 * tools/gst-launch.c: (event_loop):
22070 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22072 * tools/gst-inspect.c: (print_element_properties_info):
22073 Can't pass NULL strings to g_print() on windows.
22075 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22077 * docs/Makefile.am:
22078 * docs/gst/Makefile.am:
22079 * docs/gst/gstreamer-docs.sgml:
22080 * docs/gst/running.xml:
22081 * docs/version.entities.in:
22082 add a chapter on running GStreamer.
22083 document GST_DEBUG and GST_PLUGIN* env vars
22085 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22090 remove PLUGINS_BUILDDIR stuff
22091 * gst/gst.c: (init_post):
22092 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22094 remove, it was condescending and not needed
22096 2005-10-08 Wim Taymans <wim@fluendo.com>
22098 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22099 (gst_base_sink_handle_object), (gst_base_sink_event),
22100 (gst_base_sink_wait), (gst_base_sink_handle_event),
22101 (gst_base_sink_change_state):
22102 * gst/base/gstbasesink.h:
22103 Repost EOS message while going to PLAYING if still EOS.
22104 Make sure that when receiving a FLUSH_START we don't attempt
22105 to sync on the clock anymore.
22107 2005-10-08 Wim Taymans <wim@fluendo.com>
22109 * tools/gst-launch.c: (event_loop):
22110 Better message printout.
22112 2005-10-08 Wim Taymans <wim@fluendo.com>
22114 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22115 (gst_bin_child_proxy_get_children_count):
22116 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22117 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22118 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22119 (gst_child_proxy_set_valist):
22120 * gst/parse/grammar.y:
22121 Make ChildProxy threadsafe and fix mem leaks.
22123 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22125 * gst/gst.c: (init_post):
22126 debug the GST_PLUGIN_ env vars
22128 2005-10-08 Wim Taymans <wim@fluendo.com>
22130 * check/gst/gstbin.c: (GST_START_TEST):
22131 * check/gst/gstmessage.c: (GST_START_TEST):
22132 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22133 * gst/gstelement.c: (gst_element_commit_state),
22134 (gst_element_lost_state):
22135 * gst/gstmessage.c: (gst_message_new_state_changed),
22136 (gst_message_parse_state_changed):
22137 * gst/gstmessage.h:
22138 * tools/gst-launch.c: (event_loop):
22139 Added extra field to STATE_CHANGE message with the pending
22140 state, which will be different from the new state soon.
22142 2005-10-08 Wim Taymans <wim@fluendo.com>
22144 * gst/gstbus.c: (gst_bus_pop):
22146 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22147 Small cleanups and doc updates.
22149 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22151 * gst/gst.c: (init_pre):
22152 * gst/gstbin.c: (gst_bin_add_func):
22153 log distributing clocks and base time
22154 * gst/gstregistry.c: (gst_registry_add_plugin),
22155 (gst_registry_scan_path_level), (gst_registry_scan_path):
22156 clean up the debugging output a little
22157 * gst/gstutils.c: (gst_element_state_get_name):
22158 warn about a memleak (I've actually seen this be used, though
22159 it was probably a bug)
22161 2005-10-07 Wim Taymans <wim@fluendo.com>
22163 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22164 (gst_base_src_init), (gst_base_src_default_newsegment),
22165 (gst_base_src_newsegment), (gst_base_src_do_seek),
22166 (gst_base_src_loop), (gst_base_src_start):
22167 * gst/base/gstbasesrc.h:
22168 Make the newsegment event customizable by subclasses.
22170 2005-10-07 Wim Taymans <wim@fluendo.com>
22172 * gst/gstevent.c: (gst_event_new_buffersize),
22173 (gst_event_parse_buffersize):
22175 New event for future idea.
22177 2005-10-07 Andy Wingo <wingo@pobox.com>
22179 * gst/gstelement.c (gst_element_post_message): Doc update.
22181 * docs/gst/gstreamer-sections.txt: Update.
22183 * gst/gstmessage.c (gst_message_new_application): Made into a
22184 function like honest API calls.
22185 (gst_message_new_element): New message type.
22187 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22189 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22190 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22193 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22194 NO_PREROLL from gst_element_change_state to fall through.
22196 2005-10-07 Wim Taymans <wim@fluendo.com>
22198 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22199 (gst_ghost_pad_do_activate_push):
22200 Activating a ghostpad with no internal pad in push mode
22203 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22206 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22207 Fixes compilation on Windows.
22209 2005-10-07 Michael Smith <msmith@fluendo.com>
22211 * tools/gst-inspect.c:
22212 Print out feature and plugin count at the end when printing out
22215 2005-10-04 Michael Smith <msmith@fluendo.com>
22217 * gst/gsterror.c: (_gst_stream_errors_init):
22218 Add another error string used in a few existing plugins.
22221 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22222 * tools/gst-inspect.c: (print_element_info):
22223 When a feature disappears from a plugin (and the feature exists in
22224 the cached registry file), things went horribly wrong. This isn't a
22225 complete fix, we should actually be removing the 'missing' features
22226 from the features list when we load the actual plugin. That's not
22229 2005-10-04 Johan Dahlin <johan@gnome.org>
22231 * check/gst/gstiterator.c: (GST_START_TEST):
22232 * gst/gstbin.c: (gst_bin_iterate_elements),
22233 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22234 * gst/gstelement.c: (gst_element_iterate_pads):
22235 * gst/gstformat.c: (gst_format_iterate_definitions):
22236 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22237 (gst_iterator_new_list), (gst_iterator_filter):
22238 * gst/gstiterator.h:
22239 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22240 Add a GType to GstIterator, update callsites and tests.
22242 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22244 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22245 give events a chance to be handled by event probes when the pad
22248 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22250 * gst/gstevent.c: (gst_event_type_get_name),
22251 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22253 add string representations for event types
22255 2005-10-06 Wim Taymans <wim@fluendo.com>
22257 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22258 Don't use NULL pointers.
22260 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22262 * gst/gst_private.h:
22264 * gst/gstelement.c:
22266 * gst/gstpluginfeature.c:
22267 widen the debug category in output to fit the biggest one we have
22268 add a bus category and use it
22269 play with the colors
22270 fix up some categories
22272 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22274 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22275 add push activation of sink ghost pads.
22276 Andye, please verify
22278 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22280 * gst/gstutils.c: (gst_element_link_pads):
22281 fix a bug in the case where neither element has a pad
22282 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22283 add a test for that case
22285 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22287 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22288 emit have-data before checking for peers. This allows
22289 for probe handlers to connect elements. This helps autopluggers.
22290 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22292 add six checks, linked/unlinked with no/true/false probe
22294 2005-10-04 Wim Taymans <wim@fluendo.com>
22296 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22297 (gst_fake_sink_event), (gst_fake_sink_preroll),
22298 (gst_fake_sink_render), (gst_fake_sink_change_state):
22299 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22300 (gst_fake_src_get_property), (gst_fake_src_create),
22301 (gst_fake_src_stop):
22302 * gst/elements/gstidentity.c: (gst_identity_stop):
22303 Protect last_message with lock.
22305 2005-10-04 Edward Hervey <edward@fluendo.com>
22308 Added precision in the comments for GST_FORMAT_DEFAULT
22310 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22312 * tools/gst-launch.c: (main):
22313 Don't try to run erroneous pipelines.
22315 2005-10-04 Julien MOUTTE <julien@moutte.net>
22317 * gst/gstbus.c: We don't need this header.
22319 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22322 back to development
22324 === release 0.9.3 ===
22326 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22330 Releasing 0.9.3, "Unregistered"
22332 2005-10-03 Andy Wingo <wingo@pobox.com>
22334 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22335 whereby calling a pad's activatepush() function can start a thread
22336 that starts to push or pull before the pad gets the FLUSHING flag
22337 unset. Hack around it by holding the stream lock until the flag is
22338 set. Need to replace this with a proper solution. Together with
22339 the ghost pad fixes, this fixes mp3 playing/tagreading.
22341 * docs/design/part-gstghostpad.txt: Add a note about activation of
22342 proxy pads outside of ghost pads.
22344 * gst/gstghostpad.c: Implement the ghost pad activation design.
22346 2005-10-02 Andy Wingo <wingo@pobox.com>
22348 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22349 It is volatile, after all.
22351 * docs/design/part-gstghostpad.txt: Flesh out activation with
22354 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22357 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22360 Fix (unused) AM_CONDITIONAL tests.
22362 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22364 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22366 * gst/gstutils.c: (gst_pad_query_convert):
22367 Add assertion that makes sure src_val is >=0, just like
22368 gst_query_new_convert() has. (#315895)
22370 2005-09-30 Edward Hervey <edward@fluendo.com>
22372 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22373 Let's not iterate pads we're not interested in, it avoids getting
22374 sky-high refcounts on sinkpad.
22376 2005-09-30 Wim Taymans <wim@fluendo.com>
22378 * gst/gstelement.c: (gst_element_set_state),
22379 (gst_element_change_state):
22380 Small tweak, element in ASYNC remains ASYNC.
22382 2005-09-30 Wim Taymans <wim@fluendo.com>
22384 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22385 Only error is an error.
22387 * gst/gstbin.c: (gst_bin_change_state):
22390 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22391 Also call pad_block in pad alloc.
22393 * gst/gstutils.c: (gst_flow_get_name):
22396 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22398 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22399 (gst_base_src_get_range):
22400 Fix documentation typos. Add some more debug info.
22402 2005-09-29 David Schleef <ds@schleef.org>
22404 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22405 more end-user friendly.
22406 * tools/gst-inspect.c: (main): Check if command-line argument is
22407 a file and attempt to load that file as a plugin.
22409 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22411 * check/gst/gstbin.c:
22412 * check/states/sinks.c:
22413 fix tests for the new warning
22414 * check/gst/gstpipeline.c:
22415 add a test for pipeline and bus interaction
22416 * gst/gstelement.c:
22417 elements should be NULL if they get disposed; add a warning if not
22419 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22422 for 2.6 refcounting, make debug log more correct by printing
22423 the actual refcounts at the time of swap (Wim)
22425 2005-09-29 Andy Wingo <wingo@pobox.com>
22427 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22428 removes signal watches previously added via
22429 gst_bus_add_signal_watch.
22430 (gst_bus_add_signal_watch): Don't return the source id, just store
22431 it on the bus if there wasn't an id already.
22433 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22434 add_signal_watch and remove_signal_watch.
22436 2005-09-29 Edward Hervey <edward@fluendo.com>
22438 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22439 Better if we actually iterate the list :)
22441 2005-09-29 Wim Taymans <wim@fluendo.com>
22443 * check/gst/gstbin.c: (GST_START_TEST):
22444 Change for new bus API.
22446 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22447 (send_messages), (GST_START_TEST), (gstbus_suite):
22448 Change for new bus signal API.
22450 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22451 (gst_bus_source_prepare), (gst_bus_source_check),
22452 (gst_bus_create_watch), (gst_bus_add_watch_full),
22453 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22454 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22456 Remove support for multiple GSources operating on different
22457 message types as it is too complex and unneeded when using
22459 Added support for receiving signals from the bus.
22461 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22463 * docs/libs/tmpl/gstdataprotocol.sgml:
22464 * docs/manual/advanced-dataaccess.xml:
22465 * gst/elements/gstcapsfilter.c:
22467 rename filter-caps to caps property
22469 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22471 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22472 More robust fraction string parsing.
22474 * docs/pwg/appendix-porting.xml:
22475 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22477 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22479 * gst/gstcaps.c: (gst_caps_do_simplify):
22480 Thou shalt not free a structure and then continue using it
22481 in the next loop iteration.
22483 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22485 Add test case for caps simplification.
22487 2005-09-29 Wim Taymans <wim@fluendo.com>
22489 * check/gst/gstbin.c: (GST_START_TEST):
22492 2005-09-29 Wim Taymans <wim@fluendo.com>
22494 * check/gst/gstbin.c: (GST_START_TEST):
22497 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22498 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22499 (find_element), (gst_bin_sort_iterator_next),
22500 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22501 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22502 (gst_bin_change_state), (gst_bin_dispose):
22503 A bin does not have a bus, it gets the bus from the parent.
22505 * gst/gstelement.c: (gst_element_requires_clock),
22506 (gst_element_provides_clock), (gst_element_is_indexable),
22507 (gst_element_is_locked_state), (gst_element_change_state),
22508 (gst_element_set_bus_func):
22511 * gst/gstpipeline.c: (gst_pipeline_class_init),
22512 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22513 The pipeline provides a bus.
22515 2005-09-28 Johan Dahlin <johan@gnome.org>
22517 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22518 gst_structure_get_enum instead of gst_structure_get_int
22520 * gst/gststructure.c (gst_structure_get_enum): Impl.
22522 * gst/gststructure.h (gst_structure_get_enum): Add
22524 * docs/gst/gstreamer-sections.txt: Ditto
22526 * gst/gstmessage.c (gst_message_new_state_changed): Use
22527 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22528 which does introspection.
22529 Reviewed by Christian Schaller
22531 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22533 * gst/gstinfo.c: (gst_debug_log_default):
22534 don't do dummy g_strdup()s
22535 * libs/gst/controller/gstcontroller.c:
22536 (on_object_controlled_property_changed),
22537 (gst_controlled_property_new), (gst_controller_new_valist),
22538 (gst_controller_new_list),
22539 (gst_controller_remove_properties_valist), (gst_controller_set),
22540 (gst_controller_get), (gst_controller_sync_values),
22541 (gst_controller_get_value_array), (_gst_controller_class_init),
22542 (gst_controller_get_type):
22543 * libs/gst/controller/gstcontroller.h:
22544 * libs/gst/controller/gstinterpolation.c:
22545 (gst_controlled_property_find_timed_value_node):
22546 convert // to /**/ comments
22548 2005-09-28 Wim Taymans <wim@fluendo.com>
22550 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22551 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22552 (gst_bus_sync_signal_handler):
22554 Added async-message and sync-message signals to the bus.
22555 Added helper BusFunc to emit signals for all posted messages.
22557 * gst/gstmessage.c: (gst_message_type_get_name),
22558 (gst_message_type_to_quark), (gst_message_get_type):
22559 * gst/gstmessage.h:
22560 Register quarks for message names.
22562 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22564 * docs/libs/gstreamer-libs-sections.txt:
22565 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22566 (gst_controller_new_list):
22567 * libs/gst/controller/gstcontroller.h:
22568 added another constructor for language bindings
22570 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22572 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22576 * gst/gstinfo.c: (_gst_debug_init):
22577 slightly more readable color for refcount debugging
22579 2005-09-28 Wim Taymans <wim@fluendo.com>
22581 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22582 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22583 (find_element), (gst_bin_sort_iterator_next),
22584 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22585 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22586 (gst_bin_change_state), (gst_bin_dispose):
22587 Small doc fixes. get_clock -> provide_clock.
22589 * gst/gstelement.c: (gst_element_class_init),
22590 (gst_element_provides_clock), (gst_element_provide_clock),
22591 (gst_element_get_clock), (gst_element_commit_state),
22592 (gst_element_lost_state):
22593 * gst/gstelement.h:
22594 Make get/set_clock() symetric. Add provide_clock vmethod since
22595 that is actually what this function does.
22597 * gst/gstpipeline.c: (gst_pipeline_class_init),
22598 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22599 (gst_pipeline_get_clock):
22600 get_clock -> provide_clock.
22602 2005-09-28 Andy Wingo <wingo@pobox.com>
22604 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22605 lieu of real docs...
22607 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22609 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22611 * gst/elements/gstcapsfilter.c:
22612 * gst/elements/gstfakesink.c:
22613 * gst/elements/gstfakesrc.c:
22614 * gst/elements/gstfdsink.c:
22615 * gst/elements/gstfdsrc.c:
22616 * gst/elements/gstfilesink.c:
22617 * gst/elements/gstfilesrc.c:
22618 * gst/elements/gstidentity.c:
22619 * gst/elements/gsttee.c:
22620 * gst/elements/gsttypefindelement.c:
22621 Make element details static.
22623 2005-09-28 Wim Taymans <wim@fluendo.com>
22625 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22626 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22627 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22628 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22629 (gst_bin_change_state), (gst_bin_dispose):
22630 Some documentation updates.
22631 Clean up dispose handlers.
22633 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22634 * gst/gstpad.c: (gst_pad_dispose):
22635 Clean up dispose handler.
22637 * gst/gstpipeline.c: (gst_pipeline_change_state):
22638 Removed spurious UNLOCK.
22640 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22642 * docs/gst/gstreamer-sections.txt:
22643 * gst/base/gstbasesrc.h:
22644 * gst/gstelement.h:
22648 * gst/gstpipeline.c:
22649 * gst/gstpipeline.h:
22652 added two new functions to the docs
22653 documents all undocumented GstXXXFlags
22654 completed some incomplete docs
22656 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22658 * gst/gstbin.c: (gst_bin_dispose):
22659 * gst/gstelement.c: (gst_element_dispose):
22660 remove now useless and leaky resurrection code in dispose
22661 * gst/base/gstbasesrc.c: (gst_base_src_init):
22662 * gst/gstelementfactory.c: (gst_element_factory_create):
22663 * gst/gstobject.c: (gst_object_set_parent):
22666 2005-09-27 Wim Taymans <wim@fluendo.com>
22668 * docs/design/part-TODO.txt:
22671 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22672 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22673 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22674 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22675 (gst_bin_change_state):
22676 * gst/gstelement.h:
22677 Remove element variable, we keep element info in the iterator now.
22679 2005-09-27 Andy Wingo <wingo@pobox.com>
22681 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22684 2005-09-27 Wim Taymans <wim@fluendo.com>
22686 * check/gst/gstbin.c: (GST_START_TEST):
22687 Enable check that works now.
22689 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22690 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22691 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22692 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22693 (gst_bin_change_state):
22695 Redid the state change algorithm using a topological sort algo.
22696 Handles all cases correctly.
22697 Exposed iterator for state change order.
22699 * gst/gstelement.h:
22700 Temp storage for state changes. Need to get rid of this soon.
22702 2005-09-27 Wim Taymans <wim@fluendo.com>
22704 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22705 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22706 (link_fold_func), (gst_pad_proxy_setcaps):
22707 Leak fixes, the fold functions need to unref the passed object and
22708 _get_parent_*() returns ref to parent.
22710 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22712 * check/gst/gstbuffer.c: (test_make_writable):
22713 Plug leak in test case and fix 'make check-valgrind'
22715 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22717 * gst/gstbuffer.c: (gst_subbuffer_init):
22718 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22719 works correctly in all circumstances (we could have just copied
22720 the parent buffer's readonly flag, but conceptually it seems
22721 cleaner to mark all subbuffers as read-only). (based on patch
22722 by Alessandro Decina, #314710).
22724 * check/gst/gstbuffer.c: (create_read_only_buffer),
22725 (test_make_writable), (test_subbuffer_make_writable),
22727 Add some tests for gst_buffer_make_writable().
22729 2005-09-27 Wim Taymans <wim@fluendo.com>
22731 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22732 use gst_object_has_ancestor().
22734 * gst/gstobject.c: (gst_object_has_ancestor):
22736 gst_object_has_ancestor() copied from gstbin.c as it is a
22739 * tests/instantiate/create.c: (create_all_elements):
22740 * tests/lat.c: (handoff_src), (handoff_sink):
22741 * tests/sched/runxml.c: (main):
22742 * tests/seeking/seeking1.c: (main):
22743 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22745 Fix compilation of some tests.
22747 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22750 Remove comment. GST_TYPE_G_ERROR is here to stay,
22751 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22752 (#316961, #300610).
22754 2005-09-26 Wim Taymans <wim@fluendo.com>
22756 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22757 Added check that shows error in state change order.
22759 2005-09-26 Wim Taymans <wim@fluendo.com>
22761 * gst/gstbin.c: (gst_bin_change_state):
22762 Make state change function use 3 queues again, we were
22763 adding elements in the wrong order.
22765 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22768 * gst/gstpad.c: (gst_pad_dispose):
22769 Added some debug info first.
22771 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22773 * docs/design/draft-push-pull.txt:
22774 * docs/design/part-events.txt:
22775 * docs/design/part-overview.txt:
22776 * docs/design/part-scheduling.txt:
22777 Replace all _pull_region() with _pull_range()
22779 2005-09-26 Andy Wingo <wingo@pobox.com>
22781 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22783 * check/gst-libs/controller.c: Update for controller api change.
22786 * tests/Makefile.am:
22787 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22788 over by GLib bug 118439.
22790 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22791 routines to a function.
22793 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22795 * libs/gst/controller/gsthelper.c:
22796 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22797 (gst_object_sync_values): Renamed from sink_values. Ugh.
22799 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22801 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22802 Renamed from controller_key, as it is exported.
22804 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22806 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22811 * gst/gstpadtemplate.h:
22814 * gst/gstqueryutils.c:
22815 * gst/gstqueryutils.h:
22816 remove queryutils headers after moving the two used functions
22817 to gstquery. also fixes build problem for gstsiddec
22819 2005-09-26 Michael Smith <msmith@fluendo.com>
22821 * tools/gst-launch.1.in:
22822 Correct documentation in manpage of debug syntax
22824 2005-09-26 Wim Taymans <wim@fluendo.com>
22826 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22827 (gst_base_src_is_seekable), (gst_base_src_change_state):
22828 Some more debugging info.
22830 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22832 * docs/gst/gstreamer-sections.txt:
22833 * gst/base/gstbasetransform.h:
22837 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22839 * docs/gst/.cvsignore:
22840 * docs/gst/tmpl/.cvsignore:
22841 * docs/gst/tmpl/gstpipeline.sgml:
22842 * docs/gst/tmpl/gstplugin.sgml:
22843 * gst/gstpipeline.c:
22846 inlined the last two docs files
22847 removed the tmpl directory from cvs (no more conflicts here!)
22849 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22851 * docs/gst/gstreamer-sections.txt:
22852 * docs/gst/tmpl/.cvsignore:
22853 * docs/gst/tmpl/gstpad.sgml:
22854 * docs/gst/tmpl/gstpadtemplate.sgml:
22856 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22857 (gst_pad_finalize), (gst_pad_set_pad_template):
22859 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22860 (gst_pad_template_class_init), (gst_pad_template_init),
22861 (gst_pad_template_dispose), (name_is_valid),
22862 (gst_static_pad_template_get), (gst_pad_template_new),
22863 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22864 (gst_pad_template_pad_created):
22865 * gst/gstpadtemplate.h:
22866 inlined two more docs
22867 factored gstpadtemplate out of gstpad
22869 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22871 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22872 (test_children_state_change_order_semi_sink):
22873 Fix test case: we can't rely on a fixed state change order when
22874 going from READY => PAUSED because the sink might commit its
22875 new state first when the first buffer created by the source
22876 reaches the sink before the source has finished its change state.
22877 (Test case still fails at times, see #316856, comment 5 onwards)
22879 2005-09-24 Wim Taymans <wim@fluendo.com>
22881 * docs/design/part-events.txt:
22882 * docs/design/part-gstbus.txt:
22883 * docs/design/part-gstpipeline.txt:
22884 * docs/design/part-messages.txt:
22885 * docs/design/part-overview.txt:
22886 * docs/design/part-segments.txt:
22890 * gst/gstelement.c:
22893 * gst/gstiterator.c:
22894 Various documentation updates.
22896 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22899 Well, that's embarassing. Luckily we weren't using
22900 GST_CLOCK_DIFF anywhere.
22902 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22904 * common/gtk-doc.mak:
22905 don't fail on building XML, FC4 slave shows a bunch of doc
22906 missing bits that I don't get
22908 * gst/gstpipeline.c:
22909 * gst/gststructure.c:
22912 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22914 * docs/design/part-gstbin.txt:
22915 * docs/design/part-gstbus.txt:
22917 Add blurb about how the bus goes into flushing mode and
22918 drops all messages when its bin goes from READY into NULL
22921 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22923 * docs/gst/gstreamer-sections.txt:
22924 * gst/gststructure.c: (gst_structure_get_clock_time):
22925 * gst/gststructure.h:
22926 add a method to get a GstClockTime out of a structure
22928 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22930 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22931 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22932 Added test to check state change order in bins (can still be made
22933 to fail here under heavy disk load; bails out with 'Push on pad
22934 fakesink:sink0, but it was not activated in push mode').
22936 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22937 Fix state change order when there is only a semi sink (#316856)
22939 * gst/gstbus.c: (gst_bus_class_init):
22940 Use _class_peek_parent(), not _class_ref(); fix docs to say
22941 'default main context' instead of 'mainloop' where that is
22944 * gst/gstelement.c: (gst_element_commit_state),
22945 (gst_element_set_state):
22946 Fix typos in debug messages
22948 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22951 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22952 * gst/gstpluginfeature.c:
22954 various doc updates
22955 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22956 change an assert into an error until it gets fixed properly
22958 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22960 * docs/gst/gstreamer-sections.txt:
22961 * docs/gst/tmpl/.cvsignore:
22962 * docs/gst/tmpl/gstelement.sgml:
22963 * docs/gst/tmpl/gstinfo.sgml:
22964 * docs/gst/tmpl/gstobject.sgml:
22965 * gst/gstelement.c:
22966 * gst/gstelement.h:
22969 * gst/gstobject.c: (gst_object_class_init):
22971 inlined 3 more biiiig doc files and added some missing docs on the fly
22973 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22975 * check/gst/.cvsignore:
22976 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22977 * gst/gstregistryxml.c: (load_plugin),
22978 (gst_registry_xml_save_plugin):
22979 put back source in registry. add checks for find_plugin.
22980 * testsuite/states/bin.c: (assert_state), (empty_bin),
22981 (test_adding_one_element), (main):
22982 * testsuite/states/locked.c: (main):
22983 some compile/run fixes
22985 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22987 * check/gst/gstvalue.c: (GST_START_TEST):
22988 fix leaks in the test itself
22990 2005-09-22 Wim Taymans <wim@fluendo.com>
22992 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22993 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22994 (gst_base_sink_query):
22995 Prepare for more accurate position reporting and query
22998 * gst/gstelement.c: (gst_element_send_event),
22999 (gst_element_set_state):
23002 2005-09-22 Wim Taymans <wim@fluendo.com>
23004 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23005 (gst_query_parse_segment):
23007 More documentation.
23008 Add segment query for future use.
23010 2005-09-22 Wim Taymans <wim@fluendo.com>
23012 * gst/gstbin.c: (gst_bin_add_func):
23013 Some more debug info.
23015 * gst/gstelement.c: (gst_element_send_event):
23016 Simplify send_event
23018 * gst/gstelement.h:
23019 Don't know how flags got broken.
23024 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23026 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23027 Add simplistic test suite for GST_TYPE_DATE serialisation and
23030 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23032 * docs/gst/gstreamer-sections.txt:
23033 * gst/gststructure.c: (gst_structure_set_valist),
23034 (gst_structure_get_date):
23035 * gst/gststructure.h:
23036 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23037 (gst_date_copy), (gst_value_compare_date),
23038 (gst_value_serialize_date), (gst_value_deserialize_date),
23039 (gst_value_transform_date_string),
23040 (gst_value_transform_string_date), (_gst_value_initialize):
23042 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23043 bunch of utility functions along with a hack that checks that
23044 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23045 is required. Part of the grand scheme in #170777.
23047 2005-09-22 Andy Wingo <wingo@pobox.com>
23049 * gst/gstconfig.h.in: Psych out gtk-doc.
23051 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23053 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23055 * tools/gst-inspect.c (print_element_list): Plug some
23056 inconsequential leaks.
23058 * gst/gstregistry.c (gst_registry_get_default): Doc.
23060 * check/gst/gstplugin.c:
23061 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23062 * gst/gstelementfactory.c (gst_element_factory_create):
23063 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23066 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23067 (gst_plugin_feature_load): Doc, don't eat refs.
23069 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23070 (gst_plugin_list_free): Doc.
23071 (gst_plugin_load_file): Doc updates.
23073 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23074 accessors returning refcounted objects, return a ref.
23076 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23077 accessor for caps. IDEMPOTENCE. Oh yes.
23079 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23081 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23083 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23084 (_gst_debug_register_funcptr):
23085 Add mutex to serialise access to the hash table with
23086 the function pointer => function name string mapping;
23087 make that hash table static scope (#316809).
23089 * gst/registries/.cvsignore:
23090 Remove left-over file.
23092 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23094 * docs/pwg/appendix-porting.xml:
23095 And something about newsegment events and caps-on-buffers to
23096 the porting guide (feel free to improve).
23098 2005-09-21 Andy Wingo <wingo@pobox.com>
23100 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23101 data and event probes on the same pad.
23102 (test_buffer_probe_once): Test that removing probes from within
23103 the probe functions works.
23105 2005-09-21 Andy Wingo <wingo@pobox.com>
23107 * check/gst/gstutils.c: New file.
23108 (test_buffer_probe_n_times): A simple buffer probe test. More to
23111 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23112 have-data::buffer, not have-data.
23113 (gst_pad_add_event_probe): Likewise for have-data::event.
23114 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23115 peer' isn't quite right yet though.
23116 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23117 (gst_pad_remove_data_probe): Change to take the guint handler_id
23118 as their arg, not the function+data, which is more glib-like.
23120 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23121 the signal emission to indicate if the data is a buffer or an
23123 (gst_pad_get_type): Initialize buffer and event quarks.
23124 (gst_pad_class_init): have-data is now a detailed signal, yes it
23127 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23129 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23130 * gst/gstutils.c: (gst_util_set_value_from_string),
23131 (gst_util_set_object_arg):
23132 Don't put functional code in g_return_if_fail() or
23133 g_return_val_if_fail() statements, otherwise things will
23134 break when G_DISABLE_CHECKS is defined during compilation.
23136 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23138 * docs/gst/tmpl/.cvsignore:
23139 * docs/gst/tmpl/gstvalue.sgml:
23142 inlied another one and added some obvious docs
23144 2005-09-21 Wim Taymans <wim@fluendo.com>
23146 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23147 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23148 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23149 (gst_fdsrc_get_property), (gst_fdsrc_create):
23150 * gst/elements/gstfdsrc.h:
23151 Properly implement fdsrc. Removed signal and timeout,
23152 better implemented somewhere else.
23154 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23156 * docs/gst/tmpl/.cvsignore:
23157 * docs/gst/tmpl/gstimplementsinterface.sgml:
23158 * gst/gstinterface.c:
23161 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23163 * docs/gst/gstreamer-sections.txt:
23164 * docs/gst/tmpl/.cvsignore:
23165 * docs/gst/tmpl/gstenumtypes.sgml:
23166 remove obsolete doc file
23168 2005-09-21 David Schleef <ds@schleef.org>
23170 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23171 little beer, fix a little leak.
23173 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23175 * docs/gst/gstreamer-docs.sgml:
23176 * docs/gst/gstreamer-sections.txt:
23177 * docs/gst/tmpl/.cvsignore:
23181 * gst/gstelement.h:
23182 * gst/gstindex.c: (gst_index_class_init):
23184 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23185 (gst_index_factory_class_init), (gst_index_factory_init),
23186 (gst_index_factory_finalize), (gst_index_factory_new),
23187 (gst_index_factory_destroy), (gst_index_factory_find),
23188 (gst_index_factory_create), (gst_index_factory_make):
23189 * gst/gstindexfactory.h:
23190 * gst/gstpluginfeature.c:
23191 * gst/gstpluginfeature.h:
23192 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23193 more docs inlined, splitted gstindex.{c,h}
23195 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23197 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23200 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23202 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23203 Set sync to FALSE by default.
23205 2005-09-20 Wim Taymans <wim@fluendo.com>
23207 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23208 (gst_base_sink_init):
23209 Make sync property settable from subclass.
23211 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23212 (gst_fake_sink_change_state):
23213 Set sync to FALSE by default.
23215 2005-09-20 Wim Taymans <wim@fluendo.com>
23217 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23218 * tools/gst-launch.c: (main):
23219 The timeout handler should have lower priority than the source
23220 so we don't timeout before popping a message with 0 timeout.
23221 Dump error messages after failed state change.
23223 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23225 * tools/gst-inspect.c: (print_element_properties_info):
23228 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23230 * check/gst/gstevent.c:
23231 * gst/elements/gstfakesink.c:
23232 * gst/elements/gstfakesink.h:
23233 remove the sync property from fakesink.
23234 has the side effect of setting sync TRUE
23235 for fakesink, which is a change. Anyone who knows how
23236 to fix this nicely in a GObject-y way, feel free.
23238 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23240 * docs/gst/gstreamer-docs.sgml:
23241 remove probe refsection
23243 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23245 * check/Makefile.am:
23246 disable valgrinding the controller test again
23247 * docs/gst/gstreamer-sections.txt:
23248 update for api-changes
23250 2005-09-20 Wim Taymans <wim@fluendo.com>
23252 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23253 (gst_base_sink_set_property), (gst_base_sink_get_property),
23254 (gst_base_sink_do_sync):
23255 * gst/base/gstbasesink.h:
23256 Added sync property to basesink to disable clock sync.
23258 2005-09-20 Andy Wingo <wingo@pobox.com>
23260 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23261 eating the caller's refcount.
23263 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23264 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23267 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23268 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23269 of GLib 2.8 public, so we can know which refcount to check in
23272 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23273 (gst_object_init): Only set the gst refcount if we're going ahead
23274 with the refcount hack.
23276 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23278 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23279 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23280 more leaks plumbed, added more debug-logging
23284 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23286 * gst/gstmessage.c:
23287 remove include of gstmemchunk.h
23289 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23291 * gst/gstclock.c: (_gst_clock_id_free):
23292 Commit from the Political Party For More Atomic CVS Commits,
23293 so that people don't waste too much of their day fishing
23294 out obvious leaks out of massive commits.
23295 Oh, and fix a pretty damn obvious leak in the memchunk
23298 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23300 * check/Makefile.am:
23301 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23302 plug mem-leak, re-add to valgrindable tests
23304 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23307 unbreak the build for those who have chronic arthritis
23308 and typing "make check" is just too taxing on the hands
23310 2005-09-20 Andy Wingo <wingo@pobox.com>
23312 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23313 really want it out, you should fix plugins at the same time.
23315 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23318 * docs/gst/gstreamer-sections.txt:
23320 added missing symbols to api docs
23321 disable ref-count hack if we have glib >= 2.8
23323 2005-09-19 David Schleef <ds@schleef.org>
23325 * docs/gst/Makefile.am: Ignore a few more internal headers
23326 * docs/gst/gstreamer-docs.sgml: Remove old sections
23327 * docs/gst/gstreamer-sections.txt: Remove old sections
23328 * docs/gst/tmpl/gstobject.sgml: update
23329 * docs/gst/tmpl/gstplugin.sgml: update
23330 * docs/gst/tmpl/gstpluginfeature.sgml: update
23331 * docs/random/ds/0.9-suggested-changes: update.
23332 * gst/Makefile.am: remove memchunk and trashstack, since they're
23334 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23335 * gst/gst.h: don't include some headers
23336 * gst/gstchildproxy.c: add gstmarshal.h
23337 * gst/gstclock.c: Don't use memchunks
23338 * gst/gstminiobject.c: Add some docs
23339 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23340 * gst/gstobject.h: same
23341 * gst/gstplugin.c: include gstmacros.h
23342 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23343 * gst/gstquery.c: don't use memchunks
23344 * gst/gstregistry.c: rename gst_registry_deinit()
23345 * gst/gstregistry.h: same
23347 2005-09-19 David Schleef <ds@schleef.org>
23349 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23350 * docs/libs/gstreamer-libs-sections.txt:
23351 * docs/libs/tmpl/gstgetbits.sgml:
23352 * docs/libs/tmpl/gstputbits.sgml:
23354 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23356 * win32/gstenumtypes.c:
23357 * win32/gstenumtypes.h:
23360 2005-09-19 Wim Taymans <wim@fluendo.com>
23362 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23363 Automatically PAUSE and RESUME a pipeline when a flushing seek
23366 2005-09-19 Andy Wingo <wingo@pobox.com>
23368 * gst/gstregistry.h: Spacing fixen.
23370 2005-09-19 Wim Taymans <wim@fluendo.com>
23372 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23373 Handle state change failure more correctly.
23375 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23377 * check/Makefile.am:
23378 * check/pipelines/cleanup.c: (run_pipeline):
23379 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23381 enable cleanup again after fixing the leak
23383 some more info on docs
23385 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23387 * check/Makefile.am:
23388 re-enable tests now that leaks are plugged
23390 * check/gst/gstbin.c:
23391 * check/gst/gstpipeline.c:
23392 add some more tests while fixing leaks
23393 * common/check.mak:
23394 make sure binaries are uptodate when valgrinding/gdbing
23396 * gst/gstelementfactory.c:
23397 remove a ref too many, and add a FIXME for when we get
23398 round to disposing of classes
23400 fix the refcounting when loading a plugin from a file and
23401 the code pretends that the pointer is the same even though
23402 of course it can change
23403 * gst/gstpluginfeature.c:
23404 unref plugins marked cached (a bit confusing as a name)
23405 as the docs state should be done
23406 various doc additions to explain refcounting
23407 * gst/gstregistry.c:
23408 * gst/gstregistryxml.c:
23411 2005-09-19 Wim Taymans <wim@fluendo.com>
23413 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23414 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23415 (send_messages), (GST_START_TEST), (gstbus_suite):
23416 * check/gst/gstpipeline.c: (GST_START_TEST):
23417 * check/pipelines/cleanup.c: (run_pipeline):
23418 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23420 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23421 (gst_bus_source_check), (gst_bus_source_dispatch),
23422 (gst_bus_create_watch), (gst_bus_add_watch_full),
23423 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23425 * tools/gst-launch.c: (event_loop):
23426 * tools/gst-md5sum.c: (event_loop):
23427 GstBusHandler -> GstBusFunc, return value has the same meaning as
23428 any other GSource (FALSE == remove source).
23429 _add_watch() and _add_watch_full() now take a MessageType mask to
23430 only handle specific types of messages.
23431 _poll() returns the GstMessage instead of the message type to avoid
23433 _have_pending() takes a MessageType mask now too.
23434 Added testsuite for multiple bus watches.
23435 Fix testsuites and applications for new bus API.
23437 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23439 * check/Makefile.am:
23440 mark a bunch of the tests as to fix until we fix them
23442 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23444 * common/check.mak:
23445 use GST_PLUGIN settings for valgrind tests as well, so we're
23446 valgrinding the correct thing
23447 * gst/gst.c: (init_post):
23450 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23452 * gst/gst.c: (init_post), (gst_deinit):
23453 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23454 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23455 * gst/gstindex.c: (gst_index_factory_class_init),
23456 (gst_index_factory_finalize):
23457 * gst/gstobject.c: (gst_object_dispose):
23458 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23459 (gst_plugin_load_file), (gst_plugin_desc_free):
23460 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23461 (gst_plugin_feature_finalize):
23462 * gst/gstregistry.c: (gst_registry_class_init),
23463 (gst_registry_init), (gst_registry_finalize),
23464 (gst_registry_get_default), (gst_registry_deinit):
23465 * gst/gstregistry.h:
23466 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23467 various cleanups and memleak plugging. make valgrind is happy now.
23469 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23471 * common/check.mak:
23472 add a check-valgrind target
23474 2005-09-18 David Schleef <ds@schleef.org>
23476 * tools/gst-inspect.c: Revert the GOption code.
23478 2005-09-17 David Schleef <ds@schleef.org>
23480 * check/Makefile.am: Fix environment variables.
23481 * check/gst/gstplugin.c: Fix for API changes.
23482 * tools/gst-inspect.c: Fix for API changes.
23483 * tools/gst-xmlinspect.c: Fix for API changes.
23484 * gst/gstelementfactory.c:
23487 * gst/gstpluginfeature.c:
23488 * gst/gstpluginfeature.h:
23489 * gst/gstregistry.c:
23490 * gst/gstregistry.h:
23491 * gst/gstregistryxml.c:
23492 * gst/gsttypefind.c:
23493 * gst/gsttypefindfactory.c:
23494 * gst/indexers/gstfileindex.c:
23495 * gst/indexers/gstmemindex.c:
23496 * gst/schedulers/Makefile.am:
23497 Change registry to keep track of both plugins and features,
23498 removing the feature tracking from plugins themselves.
23500 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23502 * check/Makefile.am:
23503 * tools/gst-register.1.in:
23504 remove gst-register
23506 2005-09-15 David Schleef <ds@schleef.org>
23508 * check/gst/gstplugin.c:
23509 * gst/gstelementfactory.c:
23511 * gst/gstpluginfeature.c:
23512 * gst/gstregistry.c:
23513 Getting tired of debugging. Disabled all the unreffing of
23514 plugins and features, which fixes the segfaults, but of
23515 course leaks like crazy. At least playbin works.
23517 2005-09-15 David Schleef <ds@schleef.org>
23519 * check/gst/gstplugin.c: (register_check_elements),
23520 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23522 * gst/elements/gsttypefindelement.c: Fix refcounting.
23523 * gst/gsttypefind.c:
23524 * gst/gsttypefindfactory.c:
23525 * gst/gsttypefindfactory.h:
23527 2005-09-15 David Schleef <ds@schleef.org>
23529 * gst/gstindex.c: get refcounting correct.
23530 * gst/gstregistry.c: Handle the case where a feature/plugin is
23533 2005-09-15 David Schleef <ds@schleef.org>
23535 * check/Makefile.am:
23536 * check/gst/gstplugin.c: Add test
23537 * gst/gstplugin.c: Fix problems noticed by testsuite
23539 * gst/gstregistry.c:
23540 * gst/gstregistry.h:
23542 2005-09-15 David Schleef <ds@schleef.org>
23544 * gst/gstplugin.c: Implement semi-decent recounting and locking
23545 in plugins and plugin features.
23547 * gst/gstpluginfeature.c:
23548 * gst/gstpluginfeature.h:
23549 * gst/gstregistry.c:
23551 2005-09-15 Michael Smith <msmith@fluendo.com>
23553 * gst/gstregistry.c: (gst_registry_get_feature_list):
23554 Implement this. Makes oggdemux work; decodebin still broken.
23556 2005-09-14 David Schleef <ds@schleef.org>
23558 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23560 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23561 * gst/check/Makefile.am:
23562 * libs/gst/controller/Makefile.am:
23563 * libs/gst/dataprotocol/Makefile.am:
23565 2005-09-14 David Schleef <ds@schleef.org>
23567 * configure.ac: Remove getbits library. Nothing uses it, and
23568 it should be in something like liboil if someone did want
23570 * libs/gst/Makefile.am:
23571 * libs/gst/getbits/Makefile.am:
23572 * libs/gst/getbits/gbtest.c:
23573 * libs/gst/getbits/getbits.c:
23574 * libs/gst/getbits/getbits.h:
23575 * libs/gst/getbits/gstgetbits_generic.c:
23576 * libs/gst/getbits/gstgetbits_i386.s:
23577 * libs/gst/getbits/gstgetbits_inl.h:
23579 2005-09-14 David Schleef <ds@schleef.org>
23581 * gst/Makefile.am: Dist glib-compat.h
23583 2005-09-14 David Schleef <ds@schleef.org>
23585 * configure.ac: Remove gst/registries, since it's no longer used.
23586 * gst/registries/Makefile.am:
23587 * gst/registries/gstlibxmlregistry.c:
23588 * gst/registries/gstlibxmlregistry.h:
23589 * gst/registries/gstxmlregistry.c:
23590 * gst/registries/gstxmlregistry.h:
23591 * gst/registries/registrytest.c:
23593 2005-09-14 David Schleef <ds@schleef.org>
23595 * gst/glib-compat.h:
23596 * gst/gstregistryxml.c:
23597 Convergence is near. Seriously.
23599 2005-09-14 David Schleef <ds@schleef.org>
23601 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23602 * gst/glib-compat.h:
23603 Attempt #4 to appease the buildbots.
23605 2005-09-14 David Schleef <ds@schleef.org>
23607 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23610 2005-09-14 David Schleef <ds@schleef.org>
23612 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23615 2005-09-14 David Schleef <ds@schleef.org>
23617 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23620 2005-09-14 David Schleef <ds@schleef.org>
23622 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23623 * gst/glib-compat.h: Add some functions that are in newer versions
23624 of glib than we care to require.
23625 * gst/gstregistryxml.c: Use them.
23627 2005-09-14 David Schleef <ds@schleef.org>
23629 * po/POTFILES.in: remove gst-register.c
23631 2005-09-14 David Schleef <ds@schleef.org>
23633 * docs/gst/gstreamer-docs.sgml:
23634 * docs/gst/gstreamer-sections.txt:
23635 * docs/gst/gstreamer.types:
23636 * docs/gst/tmpl/gstelement.sgml:
23637 * docs/gst/tmpl/gstplugin.sgml:
23638 * docs/gst/tmpl/gstpluginfeature.sgml:
23639 Documentation updates for registry changes.
23641 2005-09-14 David Schleef <ds@schleef.org>
23643 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23644 because we don't require glib-2.8.
23646 2005-09-14 David Schleef <ds@schleef.org>
23648 * gst/gstregistryxml.c: Added. Essentially moved out of the
23649 registries directory.
23651 2005-09-14 David Schleef <ds@schleef.org>
23653 * check/Makefile.am:
23654 * check/generic/states.c:
23658 * gst/gst_private.h:
23659 * gst/gstelementfactory.c:
23664 * gst/gstpluginfeature.c:
23665 * gst/gstpluginfeature.h:
23666 * gst/gstregistry.c:
23667 * gst/gstregistry.h:
23668 * gst/gstregistrypool.c: remove
23669 * gst/gstregistrypool.h: remove
23670 * gst/gsttypefind.c:
23671 * gst/gsttypefindfactory.c:
23673 * tools/Makefile.am:
23674 * tools/gst-compprep.c:
23675 * tools/gst-inspect.c:
23676 * tools/gst-register.c: remove
23677 * tools/gst-xmlinspect.c:
23678 Registry rewrite. Changes registry from being a file created
23679 by a tool into a simple cache file created automatically by
23680 libgstreamer. Removed gst-register (because it's no longer
23681 needed). Remove registry pools, because we only have one
23682 registry implementation (XML). Fix up other subsystems as
23685 2005-09-13 Michael Smith <msmith@fluendo.com>
23687 * gst/gstconfig.h.in:
23688 Don't Use windows linking attributes for MinGW. Fixes #316157
23690 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23692 * gst/gstutils.c: (set_state_async_thread_func),
23693 (gst_element_set_state_async):
23694 Apparently people think it's better if this function doesn't
23695 try to set the state to whatever state was asked for on the first
23696 call to this function for any object. Seriously.
23698 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23700 * check/gst/gstpipeline.c: (GST_START_TEST):
23701 * docs/gst/gstreamer-sections.txt:
23702 * gst/gstutils.c: (set_state_async_thread_func),
23703 (gst_element_set_state_async):
23705 add a "gst_element_set_state_async" method that
23706 sets the state and starts a thread to make sure the state
23707 change completes as best as it can
23709 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23711 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23712 codify design+behaviour in testsuite after discussion
23714 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23716 * docs/gst/tmpl/gstelement.sgml:
23717 * docs/manual/appendix-quotes.xml:
23719 * gst/gstelement.c: (gst_element_set_state):
23722 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23724 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23725 (gst_base_transform_prepare_output_buf),
23726 (gst_base_transform_handle_buffer):
23727 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23728 (gst_capsfilter_prepare_buf):
23729 Remove the requirement for sub-classes to call the parent
23730 implementation of prepare_output_buffer with a wrapper function.
23732 * gst/gsttaglist.h:
23733 * gst/gsttagsetter.h:
23734 Fix #define wrapper
23736 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23738 * docs/gst/gstreamer-sections.txt:
23741 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23743 * docs/gst/gstreamer-sections.txt:
23744 * docs/gst/tmpl/gstelement.sgml:
23745 * docs/gst/tmpl/gstplugin.sgml:
23746 * gst/gstminiobject.c:
23748 docs now stop throwing warnings
23750 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23752 * docs/gst/gstreamer-sections.txt:
23753 * docs/gst/gstreamer.types:
23754 * docs/gst/tmpl/gstpad.sgml:
23755 * docs/gst/tmpl/gsttypes.sgml:
23756 * gst/base/gstadapter.h:
23757 * gst/base/gstbasesink.h:
23758 * gst/base/gstbasesrc.h:
23764 * gst/gstelement.h:
23766 * gst/gstmessage.h:
23768 * gst/gststructure.c:
23769 * gst/registries/gstlibxmlregistry.h:
23770 various documentation fixes
23772 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23774 * docs/gst/gstreamer-sections.txt:
23775 * docs/gst/tmpl/gstvalue.sgml:
23776 rearrange gstvalue section
23777 * gst/gstutils.c: (gst_element_state_get_name):
23779 * gst/gstvalue.c: (_gst_value_initialize):
23783 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23785 * check/gst-libs/controller.c:
23786 Header include fix.
23787 * gst/base/gstbasetransform.c:
23788 (gst_base_transform_default_prepare_buf),
23789 (gst_base_transform_handle_buffer):
23790 * gst/base/gstbasetransform.h:
23791 Some more basetransform changes and fixes to enable sub-classes
23792 that modify buffer metadata only.
23793 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23794 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23795 (gst_capsfilter_prepare_buf):
23796 If the output pad has fixed allowed caps and input buffers
23797 don't have any, set the fixed caps on outgoing buffers.
23799 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23800 * check/elements/identity.c: (GST_START_TEST):
23801 Make the error a little clearer when the test fails because
23802 identity made a copy of the buffer.
23803 * docs/gst/gstreamer-sections.txt:
23804 New symbols in gstbasetransform.h
23805 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23806 (gst_base_transform_init), (gst_base_transform_transform_size),
23807 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23808 (gst_base_transform_default_prepare_buf),
23809 (gst_base_transform_get_unit_size),
23810 (gst_base_transform_buffer_alloc),
23811 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23812 (gst_base_transform_change_state),
23813 (gst_base_transform_set_passthrough),
23814 (gst_base_transform_set_in_place),
23815 (gst_base_transform_is_in_place):
23816 * gst/base/gstbasetransform.h:
23817 Change BaseTransform to separate in_place operate from same_caps
23818 output. in_place implies that the element can perform the transform
23819 on incoming buffers in-place, even if the caps on the output are
23821 Sub-class elements can now implement special buffer allocation
23822 methods for outgoing buffers if they wish to.
23823 Big documentation addition.
23824 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23825 * gst/elements/gstelements.c:
23826 Changes for basetransform modifications.
23827 * gst/elements/Makefile.am:
23828 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23829 Compile fix. Extra debug output.
23831 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23833 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23835 add tests for valid pad naming
23836 * gst/check/gstcheck.c: (gst_check_log_message_func),
23837 (gst_check_log_critical_func):
23839 remove printing of code, it is fragile when the code contains
23840 % and the line number is enough info
23841 * gst/check/gstcheck.h:
23842 * gst/gstpad.c: (gst_pad_template_new):
23845 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23848 say what CHECK flags we use
23849 * docs/libs/gstreamer-libs.types:
23850 * libs/gst/controller/Makefile.am:
23851 * libs/gst/controller/gst-controller.c:
23852 * libs/gst/controller/gst-controller.h:
23853 * libs/gst/controller/gst-helper.c:
23854 * libs/gst/controller/gst-interpolation.c:
23855 * libs/gst/controller/gstcontroller.c:
23856 * libs/gst/controller/gsthelper.c:
23857 * libs/gst/controller/gstinterpolation.c:
23858 * tools/gst-inspect.c: (print_plugin_info):
23859 we don't use dashes in header names
23861 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23863 * check/Makefile.am:
23864 * check/gst/.cvsignore:
23865 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23866 (gst_pipeline_suite), (main):
23867 adding a test for pipelines and state changes
23868 * gst/gstutils.c: (get_state_func):
23870 * gstreamer.spec.in:
23873 2005-09-08 Michael Smith <msmith@fluendo.com>
23875 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23876 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23877 (gst_file_src_is_seekable), (gst_file_src_get_size),
23878 (gst_file_src_start):
23879 * gst/elements/gstfilesrc.h:
23880 Various fixes for unseekable, unmmapable, and non-normal files, so
23881 that fallback to read() rather than mmap() works.
23882 * gst/gstevent.c: (gst_event_new_newsegment):
23883 Allow newsegment events with segment_start == segment_end, as will
23884 correctly happen if you use filesrc on a zero-size file, for
23887 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23889 * gst/gstplugin.c: (gst_plugin_load_file):
23890 Call g_module_close when we don't load the module
23892 * gst/registries/gstlibxmlregistry.c:
23893 (gst_xml_registry_get_property):
23894 Port leak fix from 0.8
23896 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23898 * docs/gst/gstreamer-docs.sgml:
23899 * docs/gst/tmpl/.cvsignore:
23900 * docs/gst/tmpl/gsttrace.sgml:
23901 * docs/gst/tmpl/gsttrashstack.sgml:
23904 * gst/gstelement.h:
23906 * gst/gstmessage.c:
23907 * gst/gstmessage.h:
23910 * gst/gsttaginterface.c:
23911 * gst/gsttaginterface.h:
23912 * gst/gsttaglist.c:
23913 * gst/gsttaglist.h:
23914 * gst/gsttagsetter.c:
23915 * gst/gsttagsetter.h:
23918 * gst/gsttrashstack.c:
23919 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23920 inlined docs for gsttrace, gsttrashstack
23922 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23925 * gst/elements/gstbufferstore.h:
23926 * gst/elements/gsttypefindelement.c:
23927 * gst/elements/gsttypefindelement.h:
23929 * gst/gsttypefind.c:
23930 * gst/gsttypefind.h:
23931 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23932 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23933 (gst_type_find_factory_dispose),
23934 (gst_type_find_factory_unload_thyself),
23935 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23936 (gst_type_find_factory_get_caps),
23937 (gst_type_find_factory_get_extensions),
23938 (gst_type_find_factory_call_function):
23939 * gst/gsttypefindfactory.h:
23940 * gst/registries/gstlibxmlregistry.c:
23941 * gst/registries/gstxmlregistry.c:
23942 splitted gsttypefind into gsttypefind, gsttypefindfactory
23944 2005-09-07 Andy Wingo <wingo@pobox.com>
23946 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23947 condition whereby the pad's task function is entered before the
23948 pad_mode variable was set.
23950 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23952 * gst/gstpad.c: (gst_pad_alloc_buffer):
23953 Catch misbehaving pad_alloc functions that don't
23954 set up caps and do it for them.
23956 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23958 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23959 test for pipe!=NULL
23960 * docs/gst/tmpl/.cvsignore:
23961 * docs/gst/tmpl/gstmemchunk.sgml:
23962 * docs/gst/tmpl/gstparse.sgml:
23963 * docs/gst/tmpl/gsttaglist.sgml:
23964 * docs/gst/tmpl/gsttagsetter.sgml:
23965 * docs/gst/tmpl/gsttypefind.sgml:
23966 * docs/gst/tmpl/gsttypefindfactory.sgml:
23967 * gst/gstmemchunk.c:
23970 * gst/gsttaginterface.c:
23971 * gst/gsttypefind.c:
23972 * gst/gsttypefind.h:
23975 === release 0.9.2 ===
23977 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23982 releasing 0.9.2, "South"
23984 2005-09-05 Andy Wingo <wingo@pobox.com>
23986 * gst/registries/gstxmlregistry.h:
23987 * gst/registries/gstxmlregistry.c: Um... resurrect...
23989 * gst/registries/gstxmlregistry.h:
23990 * gst/registries/gstxmlregistry.c: and update to newer API.
23991 Incidentally they should be a bit faster now that they don't have
23994 2005-09-05 Andy Wingo <wingo@pobox.com>
23996 * gst/registries/gstxmlregistry.h:
23997 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23998 replaced by the libxml registry a while back
24000 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24002 * docs/gst/tmpl/gstplugin.sgml:
24003 * gst/elements/gstelements.c:
24005 * gst/gstplugin.c: (gst_plugin_register_func),
24006 (gst_plugin_desc_copy), (gst_plugin_desc_free),
24007 (gst_plugin_get_source):
24009 * gst/registries/gstlibxmlregistry.c: (load_plugin),
24010 (gst_xml_registry_save_plugin):
24011 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24012 (gst_xml_registry_save_plugin):
24013 * tools/gst-inspect.c: (print_plugin_info):
24014 add a "source" plugin description field, to represent the source
24015 module this plugin is a part of. By default GST_PLUGIN_DEFINE
24016 will set it to PACKAGE, which is automake's idea of the name of
24017 the source project.
24019 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24024 * docs/Makefile.am:
24025 * docs/faq/Makefile.am:
24026 * docs/gst/tmpl/gstelement.sgml:
24027 * docs/gst/tmpl/gsttypes.sgml:
24028 * docs/htmlinstall.mak:
24029 * docs/manual/Makefile.am:
24030 * docs/pwg/Makefile.am:
24031 reorganize doc build a little
24032 split out docbook and gtk-doc stuff
24033 have two separate --enable's and enable them through autogen
24034 but disable by default in configure (to be similar to other
24036 * gstreamer.spec.in:
24037 clean up docs install
24055 translation updates
24057 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
24059 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24062 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24063 (gst_fake_sink_change_state):
24064 Make state change function thread-safe.
24066 * gst/gstpad.c: (gst_pad_alloc_buffer):
24067 Set offset on generic buffer allocated by fallback.
24069 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24071 * docs/gst/gstreamer-sections.txt:
24072 * docs/gst/tmpl/gstelement.sgml:
24074 * libs/gst/controller/gst-controller.c:
24075 (gst_controlled_property_set_interpolation_mode),
24076 (gst_controlled_property_new),
24077 (gst_controller_find_controlled_property):
24078 run the wingo-magic script against the docs
24080 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24082 * docs/gst/gstreamer-docs.sgml:
24083 * docs/gst/gstreamer-sections.txt:
24084 * docs/gst/tmpl/.cvsignore:
24085 * docs/gst/tmpl/gstelementdetails.sgml:
24086 * docs/gst/tmpl/gstelementfactory.sgml:
24089 * gst/gstelementfactory.c:
24090 * gst/gstelementfactory.h:
24091 merged elementdetails docs into elementfactory docs
24094 2005-09-02 Andy Wingo <wingo@pobox.com>
24096 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24097 consider this enum an enum and not a flags.
24099 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24101 * docs/gst/gstreamer-docs.sgml:
24102 * docs/gst/tmpl/.cvsignore:
24103 * docs/gst/tmpl/gstghostpad.sgml:
24104 * docs/gst/tmpl/gstiterator.sgml:
24105 * docs/gst/tmpl/gstmacros.sgml:
24106 * docs/gst/tmpl/gstrealpad.sgml:
24107 * docs/gst/tmpl/gstregistry.sgml:
24108 * docs/gst/tmpl/gstregistrypool.sgml:
24109 * docs/gst/tmpl/gststructure.sgml:
24110 * docs/gst/tmpl/gstsystemclock.sgml:
24111 * docs/gst/tmpl/gsttrace.sgml:
24112 * gst/gstghostpad.c:
24114 * gst/gstmemchunk.c:
24115 * gst/gstmemchunk.h:
24117 * gst/gstregistry.c:
24118 * gst/gstregistrypool.c:
24119 * gst/gststructure.c:
24120 * gst/gstsystemclock.c:
24123 2005-09-02 Andy Wingo <wingo@pobox.com>
24125 * gst/gstelement.h (GstState): Renamed from GstElementState,
24126 changed to be a normal enum instead of flags.
24127 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24128 munged to be GST_STATE_CHANGE_*.
24129 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24130 work with the new state representation.
24131 (GstStateChange): New enumeration of possible state transitions.
24132 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24133 (GstElementClass::change_state): Pass the GstStateChange along as
24134 an argument. Helps language bindings, so they don't have to use
24135 tricky lock-needing macros like GST_STATE_CHANGE ().
24137 * scripts/update-states (file): New script. Run it on a file to
24138 update it for state naming and API changes. Updates files in
24141 * All files updated for the new API.
24143 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24145 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24146 * gst/gstutils.c: (gst_util_set_value_from_string),
24147 (gst_util_set_object_arg):
24148 fix a bunch of unchecked return values
24149 * tools/gst-complete.c: (main):
24150 * gstreamer.spec.in:
24153 2005-09-01 Wim Taymans <wim@fluendo.com>
24155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24156 (gst_base_sink_event), (gst_base_sink_do_sync),
24157 (gst_base_sink_handle_event):
24158 * gst/base/gstbasesink.h:
24159 Handle newsegments more correctly.
24164 * gst/gstevent.c: (gst_event_new_newsegment):
24165 A newsegment cannot have a start_time of -1
24167 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24169 * win32/gstenumtypes.c:
24170 * win32/gstenumtypes.h:
24173 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24175 * libs/gst/controller/gst-controller.c:
24176 (gst_controlled_property_set_interpolation_mode),
24177 (gst_controlled_property_new):
24178 fixed boolean again
24180 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24182 * docs/faq/gst-uninstalled:
24187 * gst/gstutils.c: (gst_element_link_filtered):
24189 add gst_element_link_filtered
24191 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24193 * docs/gst/gstreamer-docs.sgml:
24194 * docs/gst/gstreamer-sections.txt:
24195 * docs/gst/tmpl/.cvsignore:
24196 * docs/gst/tmpl/gsterror.sgml:
24197 * docs/gst/tmpl/gstfilter.sgml:
24198 * docs/gst/tmpl/gsturihandler.sgml:
24199 * docs/gst/tmpl/gsturitype.sgml:
24200 * docs/gst/tmpl/gstutils.sgml:
24201 * docs/gst/tmpl/gstxml.sgml:
24206 * gst/gsturitype.c:
24209 inlined more docs, fixed double id-ref
24211 2005-08-31 Wim Taymans <wim@fluendo.com>
24213 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24214 (gst_base_transform_handle_buffer):
24215 Passthrough elements don't need the caps as they don't care.
24217 2005-08-31 Wim Taymans <wim@fluendo.com>
24219 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24220 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24221 Don't leak refcounts on buffers.
24223 2005-08-31 Wim Taymans <wim@fluendo.com>
24225 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24226 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24227 (gst_base_transform_chain), (gst_base_transform_change_state):
24228 * gst/base/gstbasetransform.h:
24229 Handle the case where we are not negotiated more gracefully.
24231 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24233 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24234 (gst_file_src_map_region):
24235 Set READONLY flag on mmap'ed buffers, otherwise
24236 gst_buffer_make_writable() won't work properly (#314708).
24238 2005-08-31 Wim Taymans <wim@fluendo.com>
24240 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24241 passthrough elements can even do inplace on non writable
24242 buffers (as they don't touch them).
24244 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24246 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24247 (gst_test_mono_source_set_property),
24248 (gst_test_mono_source_class_init), (GST_START_TEST),
24249 (gst_controller_suite):
24250 more tests (hehe I have the most)
24252 describe popping messages whenusing mulltiple sources
24253 * libs/gst/controller/gst-controller.c:
24254 (gst_controlled_property_set_interpolation_mode),
24255 (gst_controlled_property_new):
24256 * libs/gst/controller/gst-controller.h:
24257 * libs/gst/controller/gst-interpolation.c:
24258 implement boolean properties
24260 2005-08-31 Wim Taymans <wim@fluendo.com>
24262 * gst/gstminiobject.c: (gst_mini_object_ref):
24263 Cannot assert that the refcount has to be positive
24264 since a disposed object can be resurrected.
24266 2005-08-31 Wim Taymans <wim@fluendo.com>
24268 * gst/gstpad.c: (gst_pad_init):
24269 Revert change, need to first fix badly behaving
24272 2005-08-30 Wim Taymans <wim@fluendo.com>
24274 * check/elements/fakesrc.c: (setup_fakesrc):
24275 * check/elements/identity.c: (setup_identity):
24276 Activate pads before using them.
24278 2005-08-30 Wim Taymans <wim@fluendo.com>
24280 * gst/base/gstadapter.c: (gst_adapter_flush):
24281 Flushing out 0 bytes is ok for this function.
24283 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24284 no newsegment gives a warning and sets the start/stop to
24287 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24288 (gst_base_transform_set_passthrough):
24291 * gst/gstminiobject.c: (gst_mini_object_ref):
24292 Check refcount here too.
24294 * gst/gstpad.c: (gst_pad_init):
24295 Pads are initially flushing and refusing data.
24297 * gst/gstutils.c: (gst_element_link_pads_filtered):
24298 When adding a capsfilter element make sure it has the
24299 same state as the parent bin.
24301 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24303 * docs/gst/tmpl/.cvsignore:
24304 * docs/gst/tmpl/gstformat.sgml:
24305 * docs/gst/tmpl/gstversion.sgml:
24309 * gst/gstversion.h.in:
24310 more docs and two more inlined
24312 2005-08-30 Wim Taymans <wim@fluendo.com>
24314 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24315 Don't sync to clock.
24317 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24319 * docs/gst/gstreamer-sections.txt:
24320 ultral33t func10ns deserve to appear in the docs actually
24321 * docs/gst/tmpl/.cvsignore:
24322 * docs/gst/tmpl/gstcompat.sgml:
24323 * docs/gst/tmpl/gstconfig.sgml:
24324 * gst/check/gstcheck.c:
24326 * gst/gstconfig.h.in:
24329 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24331 * docs/gst/tmpl/.cvsignore:
24332 * docs/gst/tmpl/gstquery.sgml:
24333 * docs/gst/tmpl/gstutils.sgml:
24336 inlined and extended docs
24338 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24340 * check/gst-libs/controller.c: (GST_START_TEST),
24341 (gst_controller_suite):
24343 * docs/gst/tmpl/gstutils.sgml:
24344 * docs/libs/gstreamer-libs-sections.txt:
24345 * docs/libs/tmpl/gstdataprotocol.sgml:
24347 * examples/controller/audio-example.c: (main):
24348 controller example works now
24351 * tools/gst-inspect.c: (print_element_properties_info):
24352 show param spec flags
24354 2005-08-29 Andy Wingo <wingo@pobox.com>
24356 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24358 2005-08-28 Andy Wingo <wingo@pobox.com>
24360 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24361 as having two arguments instead of just one. Allows superclasses
24362 to access information on subclasses -- see the terrible for() loop
24363 in gtype.c:g_type_create_instance for the reason why. All callers
24366 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24368 * docs/design/part-messages.txt:
24370 * docs/gst/tmpl/.cvsignore:
24371 * docs/gst/tmpl/gstcaps.sgml:
24372 * docs/gst/tmpl/gstclock.sgml:
24378 * gst/gstmessage.c:
24379 added descriptions for bus and message
24380 inline caps and clock docs
24382 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24384 * gst/gstmessage.c:
24385 * gst/gstmessage.h:
24388 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24390 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24393 2005-08-26 Andy Wingo <wingo@pobox.com>
24395 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24396 element_set_state's return val.
24397 (test_2_elements): Add test that's been disabled for months.
24399 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24400 can-activate-pull properties.
24402 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24403 can-activate-pull properties. Implement is_seekable so fakesrc can
24404 operate in pull mode.
24406 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24408 (gst_base_sink_activate, gst_base_sink_activate_pull)
24409 (gst_base_sink_activate_push): Make activation mode choosing work.
24411 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24412 is right. Make pull mode work. Post an eos before pausing in pull
24414 (gst_base_sink_change_state): Pay attention to the core's
24415 change_state() return val.
24417 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24418 has-getrange properties. Cleanups.
24420 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24421 has_getrange and replace with can_activate_pull and
24424 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24425 locking comments. Remove has_loop, has_chain and replace with
24426 can_activate_pull and can_activate_push.
24428 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24431 * examples/Makefile.am:
24432 * examples/metadata/Makefile.am:
24433 * examples/metadata/read-metadata.c: (message_loop),
24434 (have_pad_handler), (make_pipeline), (print_tag), (main):
24435 Add metadata reading example that loops over a list of filenames,
24436 dumping any tags found.
24438 * gst/gstbus.c: (gst_bus_dispose):
24439 * gst/gstelement.c: (gst_element_dispose):
24440 Release a few potentially-held references in dispose.
24442 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24444 * docs/gst/tmpl/gstminiobject.sgml:
24445 do *not* add tmpl/*.sgml files to CVS!
24447 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24449 * libs/gst/bytestream/.cvsignore:
24450 * libs/gst/bytestream/Makefile.am:
24451 * libs/gst/bytestream/adapter.c:
24452 * libs/gst/bytestream/adapter.h:
24453 * libs/gst/bytestream/bytestream.c:
24454 * libs/gst/bytestream/bytestream.h:
24455 * libs/gst/bytestream/filepad.c:
24456 * libs/gst/bytestream/filepad.h:
24457 removing obsolete files
24459 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24461 * docs/gst/gstreamer-docs.sgml:
24462 * docs/libs/gstreamer-libs-docs.sgml:
24463 disabed additional index entries again, as this makes docs-gen just
24464 slow and they aren't useful yet
24465 * docs/libs/gstreamer-libs-sections.txt:
24466 little -section.txt cleanup for libs
24468 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24471 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24472 fix up some debugging
24473 (gst_base_transform_get_unit_size),
24474 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24475 (gst_base_transform_handle_buffer):
24476 * gst/base/gstbasetransform.h:
24477 handle and store timed NEWSEGMENT events so that subclasses that
24478 calculate time by counting samples have a segment_start time they
24479 need to add to their timestamps - see audioresample
24481 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24484 removed ';' from the end of macro defs
24485 * docs/gst/gstreamer-docs.sgml:
24486 * docs/gst/gstreamer-sections.txt:
24487 * docs/gst/tmpl/.cvsignore:
24489 * gst/gstelement.c: (gst_element_class_init),
24490 (gst_element_set_state), (activate_pads),
24491 (gst_element_save_thyself):
24492 * gst/gstevent.c: (gst_event_new_newsegment):
24494 * gst/gstiterator.c:
24495 * gst/gstiterator.h:
24498 * gst/gstutils.c: (gst_pad_query_convert):
24500 fixed parameter name mismatches between source, header and docs
24501 added some more docs, resolved the last batch of unused elements in
24502 docs (now someone needs to doc them)
24504 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24506 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24507 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24508 don't walk through the plugins backwards. Where is all this
24509 reversed logic coming from ?
24511 2005-08-25 Wim Taymans <wim@fluendo.com>
24513 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24514 (gst_base_transform_transform_size),
24515 (gst_base_transform_configure_caps),
24516 (gst_base_transform_get_unit_size),
24517 (gst_base_transform_buffer_alloc),
24518 (gst_base_transform_change_state):
24519 * gst/base/gstbasetransform.h:
24520 Cache caps unit_size.
24521 Make sure we cannot negotiate up and downstream at the
24524 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24526 * gst/gst.c: (init_pre), (init_post):
24527 register the installed plugin path after the env var
24528 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24529 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24530 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24531 directories, so the tests can prefer uninstalled over installed
24533 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24535 * gst/base/gstbasetransform.h:
24540 2005-08-25 Wim Taymans <wim@fluendo.com>
24542 * gst/gstbin.c: (bin_bus_handler):
24543 Be a bit more conservative about the posted message.
24545 * gst/gstbus.c: (gst_bus_post):
24546 Some cleanups, warn wrong return values.
24548 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24550 * check/gst/gstbin.c: (GST_START_TEST):
24551 * gst/gstbin.c: (bin_bus_handler):
24552 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24553 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24554 (gst_message_new_warning), (gst_message_new_tag),
24555 (gst_message_new_state_changed), (gst_message_new_segment_start),
24556 (gst_message_new_segment_done), (gst_message_new_custom):
24557 * gst/gstmessage.h:
24558 * tools/gst-launch.c: (event_loop):
24559 * tools/gst-md5sum.c: (event_loop):
24560 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24562 2005-08-25 Wim Taymans <wim@fluendo.com>
24564 * check/generic/states.c: (GST_START_TEST):
24565 Cleanup can be done at the end.
24567 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24568 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24569 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24570 Oh boy.. Thanks for finding this, Thomas.
24572 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24574 * docs/gst/gstreamer.types:
24575 added missing types
24577 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24579 * docs/gst/gstreamer-docs.sgml:
24580 * docs/gst/gstreamer-sections.txt:
24581 * docs/gst/tmpl/.cvsignore:
24583 * gst/gstiterator.c:
24585 * gst/registries/gstxmlregistry.h:
24586 added missing classes and symbols (123 more to go)
24587 removed removed symbols from section file
24588 fixed many doc-comments
24590 2005-08-24 Wim Taymans <wim@fluendo.com>
24592 * check/generic/states.c: (GST_START_TEST):
24593 Make sure all tasks are stopped.
24595 * check/gst/gstbin.c: (GST_START_TEST):
24596 Unref after usage for proper valgrinding.
24598 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24599 Really wait for the task to stop before destroying the
24602 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24603 (gst_queue_src_activate_push):
24604 Small cleanups. Don't stop the task when we did not start
24607 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24608 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24609 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24612 Protect the stream lock with the object lock.
24613 Disallow setting the stream lock when running.
24614 Add cleanup_all to wait for the threadpool to finish.
24615 Remove code to autoallocate a mutex if none was provided.
24616 Add _join() to wait for a task to stop.
24617 Protect the thread pool with a global lock.
24619 2005-08-24 Wim Taymans <wim@fluendo.com>
24621 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24622 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24623 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24624 * gst/base/gstbasesink.h:
24625 Handle newsegment events correctly.
24626 Drop buffers out of the segment range.
24628 2005-08-22 Andy Wingo <wingo@pobox.com>
24630 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24631 macro, implements an interface and gstimplementsinterface for a
24634 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24636 * check/Makefile.am:
24637 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24638 add a test that does a bunch of state changes on elements
24639 needs some fixing for valgrind
24640 * check/states/sinks.c: (gst_object_suite):
24643 add prototype for gst_caps_is_equal_fixed
24645 * gst/gstregistrypool.c:
24648 2005-08-24 Andy Wingo <wingo@pobox.com>
24650 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24651 convert a negative value. Doesn't make much sense. Mostly this is
24652 here to force callers to ensure -1 maps to -1.
24654 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24656 * docs/pwg/advanced-types.xml:
24657 Well done to Michael for catching my deliberate introduction
24658 of this spelling mistake.
24659 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24660 * gst/gstelement.h:
24661 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24662 unlink pads before removing the element from the bin.
24664 2005-08-24 Andy Wingo <wingo@pobox.com>
24666 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24667 the same thing as GST_DEBUG=*:4.
24668 (parse_debug_level, parse_debug_category): New helper parsers.
24670 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24672 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24673 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24674 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24675 (gst_base_transform_buffer_alloc),
24676 (gst_base_transform_handle_buffer):
24677 use gboolean return values and pointers to size so we can use the
24678 full GST_BUFFER_SIZE range (guint) for buffer sizes
24679 use GstPadDirection for transform_caps
24680 * gst/base/gstbasetransform.h:
24681 rename get_size to get_unit_size since that's what it is
24682 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24683 use GstPadDirection for transform_caps
24684 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24686 cleanup and debugging
24688 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24690 * gst/gstelement.c: (gst_element_class_init),
24691 (gst_element_set_state), (activate_pads),
24692 (gst_element_save_thyself):
24693 * tools/gst-compprep.c: (main):
24694 * tools/gst-inspect.c: (print_element_properties_info):
24695 * tools/gst-xmlinspect.c: (print_element_properties):
24696 Fixed long standing mem-leak
24698 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24700 * check/gst/gstbin.c: (GST_START_TEST):
24701 * gst/gstbin.c: (bin_bus_handler):
24702 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24703 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24704 (gst_message_new_warning), (gst_message_new_tag),
24705 (gst_message_new_state_changed), (gst_message_new_segment_start),
24706 (gst_message_new_segment_done), (gst_message_new_custom):
24707 * gst/gstmessage.h:
24708 * tools/gst-launch.c: (event_loop):
24709 * tools/gst-md5sum.c: (event_loop):
24710 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24711 that applications can sensibly post custom messages with references
24712 to their own objects.
24714 2005-08-24 Andy Wingo <wingo@pobox.com>
24716 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24719 2005-08-24 Wim Taymans <wim@fluendo.com>
24721 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24722 (gst_base_transform_transform_caps),
24723 (gst_base_transform_transform_size),
24724 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24725 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24726 (gst_base_transform_handle_buffer):
24727 * gst/base/gstbasetransform.h:
24728 Many fixes and new features added by Thomas. Can now also do
24729 transforms with variable sizes and a custom fixate_caps function.
24731 2005-08-24 Wim Taymans <wim@fluendo.com>
24733 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24737 Cast to ClockTime before formatting to time.
24742 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24744 * check/gst-libs/controller.c: (GST_START_TEST),
24745 (gst_controller_suite):
24746 * docs/gst/tmpl/gstcaps.sgml:
24747 * docs/gst/tmpl/gstghostpad.sgml:
24748 * docs/gst/tmpl/gstquery.sgml:
24749 * docs/gst/tmpl/gstutils.sgml:
24750 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24751 (gst_object_sink_values), (gst_object_get_value_arrays),
24752 (gst_object_get_value_array):
24753 gracefully handle helper method calls to objects that are not beeing
24754 controlled, added test case for that
24756 2005-08-23 Wim Taymans <wim@fluendo.com>
24758 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24759 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24760 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24761 (gst_event_parse_qos), (gst_event_new_seek),
24762 (gst_event_parse_seek):
24764 Some more debugging output and doc cleanups.
24766 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24767 Fix possible deadlock.
24769 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24771 * docs/gst/gstreamer-docs.sgml:
24772 * docs/gst/gstreamer-sections.txt:
24773 * docs/gst/gstreamer.types:
24774 * docs/gst/tmpl/.cvsignore:
24777 * gst/gstelement.c:
24779 added 100 symbols from gstreamer-unused.txt to the right sections
24780 fixed more broken comments
24781 added GstBus to docs
24783 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24785 * docs/gst/gstreamer-sections.txt:
24786 * docs/gst/tmpl/.cvsignore:
24787 * docs/gst/tmpl/gstbin.sgml:
24788 * docs/gst/tmpl/gstbuffer.sgml:
24789 * gst/base/gstbasesrc.c:
24790 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24793 * tools/gst-launch.1.in:
24794 inlined more doc comments, added missing comments and fixed comments
24797 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24799 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24803 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24805 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24806 * gst/gststructure.h:
24807 add a fixate function for booleans; add a FIXME that these func
24808 names should probably be gst_structure_fixate_*
24810 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24812 * docs/gst/gstreamer-docs.sgml:
24813 * docs/gst/gstreamer-sections.txt:
24815 * gst/gstbin.c: (gst_bin_get_type),
24816 (gst_bin_child_proxy_get_child_by_index),
24817 (gst_bin_child_proxy_get_children_count),
24818 (gst_bin_child_proxy_init):
24819 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24820 (gst_child_proxy_get_child_by_index),
24821 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24822 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24823 (gst_child_proxy_get), (gst_child_proxy_set_property),
24824 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24825 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24826 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24827 * gst/gstchildproxy.h:
24828 * gst/parse/grammar.y:
24829 * tools/gst-inspect.c: (print_interfaces),
24830 (print_element_properties_info), (print_element_info):
24831 ported gstchildproxy over from 0.8
24832 ported gst-inspect fixes and enhancements over from 0.8
24834 2005-08-22 Wim Taymans <wim@fluendo.com>
24836 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24837 (gst_base_transform_handle_buffer):
24838 Also call the transform function if we have ANY caps.
24840 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24843 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24845 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24846 Don't pretend to handle seek events if the source is not seekable
24848 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24851 Remove extra parameter to debug output
24853 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24854 (gst_base_src_do_seek), (gst_base_src_activate_push):
24855 Fix seek event handling.
24857 * gst/gstpipeline.c: (gst_pipeline_change_state):
24858 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24859 (gst_queue_src_activate_push):
24860 Don't start the src pad task on FLUSH_STOP if the pad
24864 2005-08-22 Wim Taymans <wim@fluendo.com>
24866 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24867 Added check for gst_static_caps_get() refcounting.
24869 2005-08-22 Wim Taymans <wim@fluendo.com>
24871 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24872 Make _static_caps_get() refcounting sane.
24874 * gst/gstelement.c: (gst_element_set_state):
24875 Add g_return_val_if_fail() to protect against segfaults.
24877 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24879 * docs/gst/tmpl/gstevent.sgml:
24882 inlined remaining docs, added missing doc comments
24884 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24886 * check/gst/gstbin.c: (GST_START_TEST):
24887 since we don't know when preroll is done, use refcount range
24889 * gst/check/gstcheck.h:
24890 add macro for checking refcount range
24892 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24894 * check/Makefile.am:
24895 clean up environment for when registry gets built versus
24896 when actual tests are run; valgrind seems to not report
24897 leaks if GST_PLUGIN_PATH is set to some specific values
24898 * check/gst/gstbin.c: (GST_START_TEST):
24899 add more refcounting checks; maybe this exposes a
24901 * common/check.mak:
24902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24903 * gst/check/gstcheck.h:
24904 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24905 (gst_bin_change_state):
24906 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24907 add/fix debugging/whitespace
24909 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24911 * check/gst/gstevent.c: (event_probe), (test_event),
24913 Er, don't call gst_bin_watch_for_state_change you idiot.
24915 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24917 * check/Makefile.am:
24918 Use CHECK_CFLAGS and CHECK_LIBS
24919 * check/gst/gstevent.c: (event_probe), (test_event),
24922 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24923 (gst_base_src_start), (gst_base_src_stop),
24924 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24925 (gst_base_src_change_state):
24926 Sprinkle gst_base_src_stop liberally around error paths to fix
24927 problems reusing a source after failed state changes.
24928 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24929 (helper_find_suggest), (gst_type_find_helper):
24930 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24932 * docs/gst/tmpl/gstevent.sgml:
24933 Migrate part of the docs from the SGML file. Wait for ensonic to
24934 tell me how I did it wrong ;)
24935 * tools/gst-typefind.c: (main):
24936 Extra robustness to state changes between files.
24938 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24940 * check/Makefile.am:
24941 don't valgrind the controller test - it's leaking - Stefan, HELP
24942 * gst/check/gstcheck.c: (gst_check_message_error),
24943 (gst_check_chain_func), (gst_check_setup_element),
24944 (gst_check_teardown_element), (gst_check_setup_src_pad),
24945 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24946 (gst_check_teardown_sink_pad):
24947 * gst/check/gstcheck.h:
24948 add a bunch of methods to set up elements, and src and sink pads
24949 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24950 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24953 * gst/gstmessage.c:
24955 whitespace/doc fixes
24957 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24959 * gst/gstelement.h:
24960 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24961 be handled by the application and not always printed as well
24963 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24965 * check/Makefile.am:
24967 * gst/check/gstcheck.c: (gst_check_message_error):
24968 * gst/check/gstcheck.h:
24969 add a fail_unless_equals_int
24970 add fail_unless for error messages
24972 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24974 * check/Makefile.am:
24976 * common/Makefile.am:
24977 * common/check.mak:
24979 factor out some of the common stuff so we can use it
24981 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24983 * check/Makefile.am:
24984 * check/gst/gstiterator.c: (GST_START_TEST):
24985 * check/gst/gstsystemclock.c: (GST_START_TEST),
24986 (gst_systemclock_suite):
24987 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24989 valgrind more tests
24991 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24993 * check/elements/.cvsignore:
24994 * check/elements/gstfakesrc.c:
24995 rename to name of element
24996 * check/elements/identity.c: (chain_func), (event_func),
24997 (setup_identity), (cleanup_identity), (GST_START_TEST),
24998 (identity_suite), (main):
24999 add a test for identity
25000 * check/Makefile.am:
25001 * pkgconfig/Makefile.am:
25002 * pkgconfig/gstreamer-check.pc.in:
25003 * pkgconfig/gstreamer-check-uninstalled.pc.in:
25007 move the check stuff to a library that gets installed
25008 * check/gst-libs/controller.c: (GST_START_TEST):
25009 * check/gst-libs/gdp.c:
25010 * check/gst/gst.c: (GST_START_TEST):
25011 * check/gst/gstbin.c:
25012 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25013 * check/gst/gstbus.c:
25014 * check/gst/gstcaps.c: (GST_START_TEST):
25015 * check/gst/gstelement.c:
25016 * check/gst/gstghostpad.c:
25017 * check/gst/gstiterator.c:
25018 * check/gst/gstmessage.c:
25019 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25020 * check/gst/gstobject.c:
25021 * check/gst/gstpad.c: (GST_START_TEST):
25022 * check/gst/gststructure.c: (GST_START_TEST):
25023 * check/gst/gstsystemclock.c: (GST_START_TEST),
25024 (gst_systemclock_suite):
25025 * check/gst/gsttag.c: (gst_tag_suite):
25026 * check/gst/gstvalue.c:
25027 * check/pipelines/cleanup.c:
25028 * check/pipelines/simple_launch_lines.c:
25029 * check/states/sinks.c:
25030 change include statement
25032 * docs/gst/gstreamer-sections.txt:
25033 * docs/gst/tmpl/gstpad.sgml:
25034 document more pad stuff
25035 * gst/gstminiobject.c: (gst_mini_object_ref),
25036 (gst_mini_object_unref):
25039 2005-08-19 Stefan Kost <ensonic@users.sf.net>
25041 * docs/gst/tmpl/gst.sgml:
25043 eliminate another tmpl file, fix spelling in the long-description
25045 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25047 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25048 (test_event), (timediff), (gstevents_suite):
25049 Should fix build on 64-bit arch's
25051 2005-08-18 Andy Wingo <wingo@pobox.com>
25053 Make sure that when a pipeline goes to PLAYING, that data has
25054 actually hit the sink.
25056 * check/states/sinks.c (test_sink): A sink that doesn't get any
25057 data shouldn't return SUCCESS for going to either PLAYING or
25058 PAUSED. Test also the return values on the way back down.
25060 * gst/gstelement.c (gst_element_set_state): When changing the
25061 state of an element currently changing state asynchronously, go to
25062 lost-state after commiting the pending state. Makes future calls
25063 to get_state continue to return ASYNC.
25065 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25066 ASYNC when going to PLAYING if we still don't have preroll, as can
25067 happen with live sources.
25069 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25071 * docs/pwg/advanced-types.xml:
25072 Hack long paragraph into 2 chunks as a workaround for buggy
25073 jadetex version in sid and breezy that loops infinitely and
25076 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25078 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25079 (test_event), (timediff), (gstevents_suite):
25080 Provide more error margin in clock measurements to allow for
25081 g_get_current_time inaccuracies.
25083 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25085 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25086 (test_event), (timediff), (gstevents_suite):
25087 Fix error message output so I might be able to tell why the
25088 test works here but fails on the build farm.
25090 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25092 * check/Makefile.am:
25093 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25094 (test_event), (timediff), (gstevents_suite), (main):
25097 * docs/design/part-seeking.txt:
25098 Spelling correction
25100 * docs/gst/tmpl/gstevent.sgml:
25101 * docs/gst/tmpl/gstfakesrc.sgml:
25104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25105 Treat a buffer-without-newsegment the same as a receiving
25106 a newsegment not in time format, and disable syncing to the clock
25109 * gst/gstbus.c: (gst_bus_set_sync_handler):
25110 Assert if anyone tries to replace the existing sync_handler for bus,
25111 as only the owner should be setting it.
25114 Have a fixed set of custom event enums with events identified by
25115 their structure name (as in 0.8), rather than a free-for-all
25116 allowing collisions between enum values from different plugins.
25118 * gst/gstpad.c: (gst_pad_class_init):
25121 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25122 Handle out-of-band downstream events from the sending thread.
25124 2005-08-17 Andy Wingo <wingo@pobox.com>
25126 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25127 play-timeout==0 to mean no timeout at all. In that case, don't
25128 bother with a get_state or a warning, just return directly, even
25131 * gst/base/gstbasetransform.c: Debug changes.
25134 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25135 ensure bins post state change messages. A bit of a hack but I can't
25136 think of a way to avoid it.
25138 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25140 2005-08-16 Andy Wingo <wingo@pobox.com>
25142 * gst/base/gstadapter.h:
25143 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25144 peek() but you own the data. Not terribly efficient atm.
25146 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25148 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25149 (gst_element_found_tags):
25151 Add two utility functions for tag handling.
25153 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25155 * docs/manual/advanced-dataaccess.xml:
25156 * docs/manual/basics-helloworld.xml:
25157 Fix docs to use _bin_add() before _link(), which fixes the examples
25158 with recent core versions (reported by Madhan Raj M
25159 <raj_madan@rediffmail.com>, #313199).
25161 2005-08-16 Wim Taymans <wim@fluendo.com>
25163 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25164 Added subtract checks.
25166 * docs/design/part-events.txt:
25167 Some more docs about newsegment
25169 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25172 * gst/gstcaps.c: (gst_caps_to_string):
25173 Add comments, cleanups.
25175 * gst/gstelement.c: (gst_element_save_thyself):
25178 * gst/gstvalue.c: (gst_value_collect_int_range),
25179 (gst_string_unwrap), (gst_value_union_int_int_range),
25180 (gst_value_union_int_range_int_range),
25181 (gst_value_intersect_int_int_range),
25182 (gst_value_intersect_int_range_int_range),
25183 (gst_value_intersect_double_double_range),
25184 (gst_value_intersect_double_range_double_range),
25185 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25186 (gst_value_subtract_int_range_int),
25187 (gst_value_subtract_double_range_double),
25188 (gst_value_subtract_double_range_double_range),
25189 (gst_value_subtract_from_list), (gst_value_subtract_list),
25190 (gst_value_can_compare), (gst_value_compare_fraction):
25191 Cleanups, add comments, remove unneeded asserts.
25193 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25195 * tools/gst-launch.c: (event_loop):
25196 don't convert NULL structures to strings
25198 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25200 * docs/gst/gstreamer-sections.txt:
25201 made some defines private
25202 * docs/gst/tmpl/gstconfig.sgml:
25203 * docs/gst/tmpl/gstqueue.sgml:
25204 * docs/gst/tmpl/gsttaglist.sgml:
25205 * docs/gst/tmpl/gsttypes.sgml:
25206 * docs/gst/tmpl/gstutils.sgml:
25207 * docs/pwg/appendix-porting.xml:
25208 * gst/base/gstbasesink.h:
25209 * gst/base/gstbasesrc.c:
25210 * gst/base/gstbasesrc.h:
25211 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25212 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25213 * gst/gstelement.c: (gst_element_class_init):
25214 * gst/gstpad.c: (gst_pad_class_init):
25215 * gst/gstqueue.c: (gst_queue_class_init):
25216 * gst/gstxml.c: (gst_xml_class_init):
25217 documented all undocumented signal inline
25218 * libs/gst/controller/gst-controller.h:
25221 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25223 * docs/pwg/appendix-porting.xml:
25224 Document _set_link_function -> _set_setcaps_function.
25226 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25228 * check/Makefile.am:
25229 add a .check target for running the check
25230 * check/gst-libs/controller.c: (GST_START_TEST):
25232 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25233 complete checks for gstbuffer; would be nice if I could get the
25234 gcov stuff to work so I can see if I actually completed gstbuffer.c
25235 * check/gstcheck.h:
25236 add ASSERT_BUFFER_REFCOUNT
25238 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25240 * docs/gst/gstreamer-sections.txt:
25241 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25243 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25244 spew out a warning if a tag that is already registered
25245 is re-registered, unless it is re-registered with a
25246 different type (#308438).
25248 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25250 * docs/pwg/appendix-porting.xml:
25251 * docs/pwg/building-state.xml:
25252 Add some paragraphs about state changes in 0.9 to the PWG
25253 and the porting guide, in particular about the new meaning
25254 of GST_STATE_PAUSED and how to write state change functions
25255 with concurrent access by multiple threads in mind.
25257 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25259 * docs/gst/gstreamer-docs.sgml:
25260 * docs/libs/gstreamer-libs-docs.sgml:
25261 added deprecation and since indexes
25262 * libs/gst/controller/gst-controller.c:
25263 * libs/gst/controller/gst-helper.c:
25267 2005-08-11 Wim Taymans <wim@fluendo.com>
25269 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25270 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25271 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25272 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25273 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25274 (gst_ghost_pad_set_target):
25275 Actually implement (re)setting the target on a ghostpad
25276 as described in the docs.
25278 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25280 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25281 Check whether GST_DEBUG_NO_COLOR environment variable is
25282 set and disable coloured debug output if that is the case.
25284 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25286 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25287 (gst_type_find_helper):
25288 The memory returned by gst_type_find_peek() needs to
25289 stay valid until the end of a typefind function, and
25290 typefind functions may keep results from different
25291 offsets around, so we can't just unref the buffer from
25292 the previous _peek(), but have to save all buffers
25293 returned by _peek() until typefinding is done and only
25296 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25298 * docs/gst/gstreamer-sections.txt:
25300 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25302 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25304 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25305 Fix a pretty good memleak.
25307 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25309 * gst/gstiterator.h:
25310 Fix wrong include and 'make distcheck'.
25312 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25314 * gst/gstbin.c: (bin_bus_handler):
25315 Use gst_element_post_message() instead.
25317 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25319 * gst/base/gstadapter.h:
25320 * gst/base/gstbasesink.h:
25321 * gst/base/gstbasesrc.h:
25322 * gst/base/gstbasetransform.h:
25323 * gst/base/gstcollectpads.h:
25324 * gst/base/gstpushsrc.h:
25325 * gst/gstiterator.h:
25326 Add padding to our base elements' class and instance structs and
25327 to GstIterator (you will need to rebuild all plugins and apps!)
25329 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25331 * gst/gstbin.c: (bin_bus_handler):
25332 Make default message forwarding from child->bus to bin->bus
25333 threadsafe and make it not emit warnings if the parent has no bus.
25335 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25337 * gst/gstelement.c: (activate_pads):
25338 On paused->ready, set pad->caps to NULL, as is the documented
25339 behaviour in this state change. Fixes playback of series of
25340 media files when visualization is enabled in Totem.
25342 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25344 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25345 Allow NULL as filter-caps (which means "any").
25347 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25349 * docs/libs/gstreamer-libs-sections.txt:
25350 * libs/gst/controller/gst-controller.c:
25351 * libs/gst/controller/gst-controller.h:
25352 * libs/gst/controller/gst-helper.c:
25353 adding more entries to the docs and fix small doc-bugs
25355 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25357 * docs/gst/gstreamer-docs.sgml:
25358 * docs/gst/gstreamer-sections.txt:
25359 * docs/gst/gstreamer.types:
25360 * docs/gst/tmpl/gstbasesink.sgml:
25361 * docs/gst/tmpl/gstbasesrc.sgml:
25362 * docs/gst/tmpl/gstbasetransform.sgml:
25363 * docs/gst/tmpl/gstfakesrc.sgml:
25364 * gst/base/gstcollectpads.c:
25365 * gst/base/gstcollectpads.h:
25366 * libs/gst/controller/gst-controller.c:
25367 * libs/gst/controller/gst-controller.h:
25368 * libs/gst/controller/gst-helper.c:
25369 * libs/gst/controller/gst-interpolation.c:
25370 * libs/gst/controller/lib.c:
25371 added long/short desc for controller docs
25372 added collectpads base class docs
25373 added correct includes to base-class docs
25375 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25377 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25378 (gst_test_mono_source_set_property),
25379 (gst_test_mono_source_class_init), (GST_START_TEST),
25380 (gst_controller_suite):
25381 * docs/gst/gstreamer-docs.sgml:
25382 * docs/gst/gstreamer-sections.txt:
25383 * docs/gst/gstreamer.types:
25384 * docs/libs/gstreamer-libs-docs.sgml:
25385 * docs/libs/gstreamer-libs-sections.txt:
25386 * gst/base/gstadapter.c:
25387 * libs/gst/controller/gst-controller.c:
25388 (gst_controlled_property_new), (gst_controlled_property_free),
25389 (gst_controller_new_valist),
25390 (gst_controller_remove_properties_valist),
25391 (gst_controller_sink_values), (_gst_controller_finalize):
25392 * libs/gst/controller/gst-controller.h:
25393 * libs/gst/controller/gst-helper.c:
25394 (gst_object_control_properties), (gst_object_uncontrol_properties),
25395 (gst_object_get_controller), (gst_object_set_controller),
25396 (gst_object_sink_values), (gst_object_get_value_arrays),
25397 (gst_object_get_value_array):
25398 more tests (and fixes) for the controller
25399 more docs for the controller
25400 integrated companies docs for the adapter
25402 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25404 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25405 (GST_START_TEST), (fakesrc_suite):
25406 add tests for sizetype
25408 2005-08-04 Andy Wingo <wingo@pobox.com>
25410 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25411 fixes buffer_alloc proxying among other things.
25413 * gst/base/gstbasetransform.c:
25414 * gst/base/gstbasetransform.h:
25415 Revert patch to gstbasetransform from 7-28 removing
25418 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25419 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25420 Semantics changed, should return not the size of the output buffer
25421 but the byte size of a buffer with a given caps.
25423 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25425 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25426 out) are not the pad caps until setcaps finishes.
25427 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25428 not-in-place case as well. Deal with changing from in-place to
25429 not-in-place within calling pad_alloc_buffer. Still a bit
25430 concerned about the overhead here...
25432 2005-08-03 Andy Wingo <wingo@pobox.com>
25434 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25435 fixating is an error.
25437 2005-08-04 Edward Hervey <edward@fluendo.com>
25439 * gst/base/gstadapter.h:
25440 Added gst_adapter_get_type() to the header
25442 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25444 * check/Makefile.am:
25445 * check/gst-libs/controller.c:
25446 * libs/gst/controller/gst-controller.c:
25447 (gst_controller_new_valist):
25448 added check test suite for the controller
25449 * gst/base/gstpushsrc.c:
25452 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25454 * docs/gst/Makefile.am:
25455 * docs/gst/gstreamer-docs.sgml:
25456 * docs/gst/gstreamer-sections.txt:
25457 * docs/gst/gstreamer.types:
25458 * docs/gst/tmpl/gstfakesrc.sgml:
25460 * gst/base/gstbasesink.c:
25461 * gst/base/gstbasesink.h:
25462 * gst/base/gstbasesrc.c:
25463 * gst/base/gstbasesrc.h:
25464 * gst/base/gstbasetransform.c:
25465 * gst/base/gstpushsrc.c:
25466 * gst/base/gstpushsrc.h:
25467 add short/long description docs to base classes
25468 add pushsrc to the docs
25469 remove consolidated doc fragments
25471 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25474 * docs/libs/Makefile.am:
25475 * docs/libs/gstreamer-libs-docs.sgml:
25476 * docs/libs/gstreamer-libs-sections.txt:
25477 * docs/libs/gstreamer-libs.types:
25478 * examples/Makefile.am:
25479 * examples/controller/.cvsignore:
25480 * examples/controller/Makefile.am:
25481 * examples/controller/audio-example.c: (main):
25482 * libs/gst/Makefile.am:
25483 * libs/gst/controller/.cvsignore:
25484 * libs/gst/controller/Makefile.am:
25485 * libs/gst/controller/gst-controller.c:
25486 (on_object_controlled_property_changed), (gst_timed_value_compare),
25487 (gst_timed_value_find),
25488 (gst_controlled_property_set_interpolation_mode),
25489 (gst_controlled_property_new), (gst_controlled_property_free),
25490 (gst_controller_find_controlled_property),
25491 (gst_controller_new_valist), (gst_controller_new),
25492 (gst_controller_remove_properties_valist),
25493 (gst_controller_remove_properties), (gst_controller_set),
25494 (gst_controller_set_from_list), (gst_controller_unset),
25495 (gst_controller_get), (gst_controller_get_all),
25496 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25497 (gst_controller_get_value_array),
25498 (gst_controller_set_interpolation_mode),
25499 (_gst_controller_finalize), (_gst_controller_init),
25500 (_gst_controller_class_init), (gst_controller_get_type):
25501 * libs/gst/controller/gst-controller.h:
25502 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25503 (g_object_uncontrol_properties), (g_object_get_controller),
25504 (g_object_set_controller), (g_object_sink_values),
25505 (g_object_get_value_arrays), (g_object_get_value_array):
25506 * libs/gst/controller/gst-interpolation.c:
25507 (gst_controlled_property_find_timed_value_node),
25508 (interpolate_none_get), (interpolate_trigger_get),
25509 (interpolate_trigger_get_value_array):
25510 * libs/gst/controller/lib.c: (gst_controller_init):
25511 * pkgconfig/Makefile.am:
25512 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25513 * pkgconfig/gstreamer-control.pc.in:
25514 * testsuite/Makefile.am:
25515 * testsuite/controller/.cvsignore:
25516 * testsuite/controller/Makefile.am:
25517 * testsuite/controller/interpolator.c: (main):
25518 added controller code
25519 removed dparam pc files
25521 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25522 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25523 (gst_collectpads_stop):
25524 Broadcast the condition when shutting down, to make sure we wake all
25525 threads up. Shut down pads on finalize, for safety.
25527 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25528 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25529 (gst_base_transform_handle_buffer),
25530 (gst_base_transform_change_state):
25531 Handle PAUSED->READY->PAUSED transition after negotiation
25533 * gst/gstmessage.c: (gst_message_init):
25534 Extra piece of debug for new messages.
25536 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25539 * docs/gst/tmpl/gstbasesrc.sgml:
25540 * docs/gst/tmpl/gstelement.sgml:
25541 * docs/gst/tmpl/gstevent.sgml:
25542 * docs/gst/tmpl/gstfakesrc.sgml:
25543 * docs/gst/tmpl/gstformat.sgml:
25544 * docs/gst/tmpl/gstghostpad.sgml:
25545 * docs/gst/tmpl/gstpad.sgml:
25546 * docs/gst/tmpl/gstquery.sgml:
25547 * docs/gst/tmpl/gststructure.sgml:
25548 * docs/gst/tmpl/gsttaglist.sgml:
25549 * docs/gst/tmpl/gstvalue.sgml:
25550 * docs/libs/gstreamer-libs-docs.sgml:
25551 * docs/libs/gstreamer-libs-sections.txt:
25552 * docs/libs/gstreamer-libs.types:
25553 * libs/gst/Makefile.am:
25554 * libs/gst/control/.cvsignore:
25555 * libs/gst/control/Makefile.am:
25556 * libs/gst/control/control.c:
25557 * libs/gst/control/control.h:
25558 * libs/gst/control/dparam.c:
25559 * libs/gst/control/dparam.h:
25560 * libs/gst/control/dparam_smooth.c:
25561 * libs/gst/control/dparam_smooth.h:
25562 * libs/gst/control/dparamcommon.h:
25563 * libs/gst/control/dparammanager.c:
25564 * libs/gst/control/dparammanager.h:
25565 * libs/gst/control/dplinearinterp.c:
25566 * libs/gst/control/dplinearinterp.h:
25567 * libs/gst/control/unitconvert.c:
25568 * libs/gst/control/unitconvert.h:
25569 * testsuite/Makefile.am:
25570 * testsuite/dynparams/.cvsignore:
25571 * testsuite/dynparams/Makefile.am:
25572 * testsuite/dynparams/dparamstest.c:
25573 * tools/Makefile.am:
25574 * tools/gst-inspect.c: (print_element_info), (main):
25575 * tools/gst-xmlinspect.c: (print_element_info), (main):
25576 deactivate and remove dparams (libgstcontrol)
25578 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25580 * gst/elements/gsttypefindelement.c:
25581 (gst_type_find_element_have_type), (gst_type_find_element_init),
25582 (stop_typefinding), (gst_type_find_element_handle_event),
25583 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25584 * gst/elements/gsttypefindelement.h:
25585 Set caps on all outgoing buffers, not just the first one.
25587 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25589 * gst/elements/gsttypefindelement.c:
25590 (gst_type_find_element_have_type),
25591 (gst_type_find_element_check_set_buffer_caps),
25592 (gst_type_find_element_init), (stop_typefinding),
25593 (gst_type_find_element_handle_event),
25594 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25595 * gst/elements/gsttypefindelement.h:
25596 Set caps on first outgoing buffer when we've found the type.
25598 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25600 * docs/gst/gstreamer-docs.sgml:
25601 * docs/gst/gstreamer-sections.txt:
25602 * docs/gst/tmpl/gstscheduler.sgml:
25603 * docs/gst/tmpl/gstschedulerfactory.sgml:
25604 Remove some old cruft from docs.
25606 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25609 Fix inline docs for GstPadLinkReturn.
25611 * gst/gststructure.c: (gst_structure_has_name):
25612 * gst/gststructure.h:
25613 * docs/gst/gstreamer-sections.txt:
25614 New API: gst_structure_has_name().
25616 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25619 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25620 and _LARGEFILE_SOURCE in config.h as required. Do not
25621 export those flags in our .pc files any longer (#142209).
25623 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25625 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25626 (gst_file_sink_do_seek), (gst_file_sink_event),
25627 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25628 Redo seek/tell calls with large file support in mind; add some
25629 debugging messages; add log message that tells us when large
25630 file support is unavailable or not enabled for some reason.
25632 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25633 Add log message that tells us when large file support
25634 is unavailable or not enabled for some reason.
25636 2005-07-29 Wim Taymans <wim@fluendo.com>
25638 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25639 Added test for removing an element with ghostpad from a bin.
25640 Fixed test as current implementation does the right thing.
25642 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25643 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25644 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25645 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25646 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25647 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25648 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25649 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25650 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25651 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25652 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25653 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25654 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25655 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25656 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25657 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25658 * gst/gstghostpad.h:
25659 Clean up ghostpads, remove properties for internal stuff.
25662 Prepare for switching targets, not all use cases work yet.
25664 2005-07-29 Wim Taymans <wim@fluendo.com>
25666 * docs/design/part-gstghostpad.txt:
25669 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25670 (gst_bin_remove_func):
25671 Unlinking pads while holding the bin LOCK is not a good
25674 * gst/gstpad.c: (gst_pad_class_init),
25675 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25676 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25677 No prob setting template after creating the pad.
25679 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25681 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25682 (gst_bus_peek), (gst_bus_source_dispatch),
25683 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25684 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25685 gst_bus_poll may be called from other threads. Handle
25686 this nicely by not making poll_data disappear off the
25687 stack once gst_bus_poll returns.
25688 gst_bus_peek now increments the refcount on the returned
25691 2005-07-29 Wim Taymans <wim@fluendo.com>
25693 * docs/design/part-gstghostpad.txt:
25694 Overview of current GhostPad datastructures and use
25695 cases for changing the target.
25697 2005-07-28 Wim Taymans <wim@fluendo.com>
25699 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25700 Added checks for hierarchy consistency whan adding linked
25703 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25704 Added check to test element scheduling without bin/pipeline.
25706 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25707 First add elements to bin, then link.
25709 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25710 (gst_bin_remove_func):
25711 Unlink pads from elements added/removed from bin to maintain
25712 hierarchy consistency.
25714 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25716 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25717 (gst_base_transform_handle_buffer):
25718 * gst/base/gstbasetransform.h:
25719 Remove broken delay_configure (fixes renegotiation of software
25720 scaling pipelines); remove some leftover printf()s.
25722 2005-07-28 Wim Taymans <wim@fluendo.com>
25724 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25725 Added some more tests for wrong hierarchy
25727 * docs/design/part-overview.txt:
25730 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25733 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25734 (gst_element_dispose):
25735 Some more cleanups.
25737 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25738 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25739 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25740 (gst_pad_set_caps), (gst_pad_send_event):
25741 Check for correct hierarchy when linking pads. Moving to
25742 strict requirement for ghostpads when linking elements in
25746 Clean ups. Added WRONG_HIERARCHY return value.
25748 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25750 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25751 Better debug if no transform is possible.
25753 2005-07-27 Wim Taymans <wim@fluendo.com>
25755 * docs/random/wtay/network-transp:
25756 Some old doc I had.
25758 2005-07-27 Wim Taymans <wim@fluendo.com>
25760 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25761 (gst_dp_event_from_packet):
25762 Fix serialization of seek events.
25764 2005-07-27 Wim Taymans <wim@fluendo.com>
25766 * check/gst-libs/gdp.c: (GST_START_TEST):
25767 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25768 Fix compilation and fix event serialization.
25770 2005-07-27 Wim Taymans <wim@fluendo.com>
25773 * docs/design/part-TODO.txt:
25774 * docs/design/part-events.txt:
25777 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25778 (gst_base_sink_event), (gst_base_sink_do_sync),
25779 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25780 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25781 (gst_base_src_do_seek), (gst_base_src_event_handler),
25782 (gst_base_src_loop):
25783 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25784 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25785 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25786 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25787 (gst_base_transform_set_passthrough),
25788 (gst_base_transform_is_passthrough):
25789 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25790 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25796 * gst/gstelement.c: (gst_element_seek):
25797 * gst/gstelement.h:
25798 Update gst_element_seek.
25800 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25801 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25802 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25803 (gst_event_new_eos), (gst_event_new_newsegment),
25804 (gst_event_parse_newsegment), (gst_event_new_tag),
25805 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25806 (gst_event_parse_qos), (gst_event_new_seek),
25807 (gst_event_parse_seek), (gst_event_new_navigation):
25809 Make GstEvent use GstStructure. Add parsing code, make sure the
25810 API is sufficiently generic.
25811 Mark possible directions of events and serialization.
25813 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25814 (_gst_message_copy), (gst_message_new_segment_start),
25815 (gst_message_new_segment_done), (gst_message_new_custom),
25816 (gst_message_parse_segment_start),
25817 (gst_message_parse_segment_done):
25820 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25821 (gst_pad_set_caps), (gst_pad_send_event):
25822 Update for new events.
25823 Catch events sent in wrong directions.
25825 * gst/gstqueue.c: (gst_queue_link_src),
25826 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25827 (gst_queue_handle_src_query):
25832 Remove event code from this file.
25834 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25835 (gst_dp_event_from_packet):
25838 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25840 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25841 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25842 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25843 Make debugging actually useful.
25845 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25847 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25848 (gst_pad_fixate_caps):
25849 Implement default fixation once again, so that gst_pad_fixate()
25850 actually does anything at all. This probably needs to be some
25851 sort of a last resort, and use profile-based fixation first, but
25852 since that doesn't exist yet, this is the best we have. Fixes
25853 visualization in Totem.
25855 2005-07-22 Wim Taymans <wim@fluendo.com>
25857 * docs/design/part-events.txt:
25860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25861 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25862 (gst_base_sink_activate_pull):
25863 Some more comments.
25865 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25866 (gst_fake_src_create):
25867 Fix handoff marshall.
25869 * gst/elements/gstidentity.c: (gst_identity_class_init),
25870 (gst_identity_transform_ip):
25871 We're a real inplace element.
25873 * gst/gstbus.c: (gst_bus_post):
25874 Added some comments.
25876 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25877 * tests/muxing/case1.c: (main):
25878 * tests/sched/dynamic-pipeline.c: (main):
25879 * tests/sched/interrupt1.c: (main):
25880 * tests/sched/interrupt2.c: (main):
25881 * tests/sched/interrupt3.c: (main):
25882 * tests/sched/runxml.c: (main):
25883 * tests/sched/sched-stress.c: (main):
25884 * tests/seeking/seeking1.c: (event_received), (main):
25885 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25887 * tests/threadstate/threadstate3.c: (main):
25888 * tests/threadstate/threadstate4.c: (main):
25889 * tests/threadstate/threadstate5.c: (main):
25892 2005-07-21 Wim Taymans <wim@fluendo.com>
25894 * docs/design/part-seeking.txt:
25895 Some small additions.
25897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25898 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25899 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25900 * gst/base/gstbasesink.h:
25901 discont values are gint64, handle the math correctly.
25903 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25904 Make the basesrc report error if the source pad is not linked.
25906 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25907 (gst_queue_loop), (gst_queue_handle_src_query),
25908 (gst_queue_src_activate_push):
25909 Make queue collect data even if the srcpad is not linked.
25910 Start pushing out data as soon as it is linked.
25912 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25914 Added gst_flow_get_name() to ease error reporting.
25916 2005-07-20 Wim Taymans <wim@fluendo.com>
25918 * gst/gstmessage.c: (gst_message_new_segment_start),
25919 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25920 (gst_message_parse_segment_done):
25921 * gst/gstmessage.h:
25922 Added a bunch of messages for advanced seeking.
25924 * gst/parse/grammar.y:
25925 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25926 (gst_dpman_state_changed):
25927 Fix some new-pad -> pad-added signals
25929 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25931 * docs/manual/appendix-porting.xml:
25932 * docs/pwg/appendix-porting.xml:
25933 Document new-pad/state-change signal renames and the FixedList
25936 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25938 * docs/manual/advanced-autoplugging.xml:
25939 * docs/manual/basics-helloworld.xml:
25940 * docs/manual/basics-pads.xml:
25941 * docs/random/ds/0.9-suggested-changes:
25942 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25943 * gst/gstelement.h:
25947 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25948 (gst_structure_parse_array), (gst_structure_parse_value):
25949 * gst/gstvalue.c: (gst_type_is_fixed),
25950 (gst_value_list_prepend_value), (gst_value_list_append_value),
25951 (gst_value_list_get_size), (gst_value_list_get_value),
25952 (gst_value_transform_array_string), (gst_value_serialize_array),
25953 (gst_value_deserialize_array), (gst_value_intersect_array),
25954 (gst_value_is_fixed), (_gst_value_initialize):
25956 GstElement::new-pad -> pad-added, GstElement::state-change ->
25957 state-changed, GstValueFixedList -> GstValueArray, add format and
25958 flags as their own arguments in gst_element_seek() (should improve
25959 "bindeability"), remove function generators since they don't work
25960 under a whole bunch of compilers (they were deprecated already
25963 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25965 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25966 (_gst_debug_register_funcptr):
25968 Fix illegal cast on some platforms (#309253).
25970 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25972 * gst/gstmessage.c: (gst_message_new_custom):
25973 * gst/gstmessage.h:
25974 Add _new_custom, make _new_application a macro to _new_custom.
25976 2005-07-20 Wim Taymans <wim@fluendo.com>
25978 * gst/base/gstbasesrc.c: (gst_base_src_init),
25979 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25980 * gst/base/gstbasesrc.h:
25981 Add a gboolean to decide when to push out a discont.
25983 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25984 (gst_queue_loop), (gst_queue_handle_src_query),
25985 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25986 (gst_queue_set_property), (gst_queue_get_property):
25989 * tests/threadstate/threadstate1.c: (main):
25990 Make a thread test compile and run... very silly..
25993 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25995 * docs/manual/appendix-porting.xml:
25996 Mention removal of libgstgconf-0.9.la and existence of gconf
25999 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26001 * docs/pwg/advanced-clock.xml:
26002 * docs/pwg/appendix-porting.xml:
26003 * docs/pwg/intro-preface.xml:
26004 * docs/pwg/other-base.xml:
26005 * docs/pwg/other-manager.xml:
26006 * docs/pwg/other-nton.xml:
26007 * docs/pwg/other-ntoone.xml:
26008 * docs/pwg/other-oneton.xml:
26009 * docs/pwg/pwg.xml:
26010 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26011 demuxer), remove n-to-n (was never written), fix some code examples
26012 and links and update the porting section to include all this.
26014 2005-07-19 Wim Taymans <wim@fluendo.com>
26016 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26017 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26018 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26019 (gst_queue_src_activate_push), (gst_queue_change_state),
26020 (gst_queue_get_property):
26022 Propagate GstFlowReturn more intelligently upstream and output
26023 an ERROR/EOS when streaming stopped due to fatal error.
26025 2005-07-19 Wim Taymans <wim@fluendo.com>
26027 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26028 Don't block forever for the state change to complete, the
26029 pipeline already did with a sensible timeout.
26031 2005-07-19 Wim Taymans <wim@fluendo.com>
26033 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26034 Make sure we never call the create function is we
26037 2005-07-19 Andy Wingo <wingo@pobox.com>
26039 * gst/parse/parse.l: Attempt to solve bug #172815.
26041 2005-07-19 Wim Taymans <wim@fluendo.com>
26043 * docs/design/part-clocks.txt:
26044 * docs/design/part-events.txt:
26045 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26046 Small docs updates.
26047 Only update the seeking values when we are not
26050 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26052 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26053 Oops, ignore the result of gst_pad_push_event here.
26055 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26057 * gst/base/gstbasesrc.c: (gst_base_src_loop),
26058 (gst_base_src_activate_push):
26059 Send discont event from the loop function, as pads
26060 aren't activated yet in the activate_push handler.
26062 * gst/gstbin.c: (bin_bus_handler):
26063 Don't leak element name.
26065 2005-07-18 Andy Wingo <wingo@pobox.com>
26067 * configure.ac: Use AS_LIBTOOL_TAGS.
26069 2005-07-18 Wim Taymans <wim@fluendo.com>
26071 * docs/gst/gstreamer.types:
26072 Remove deleted types.
26074 2005-07-18 Wim Taymans <wim@fluendo.com>
26076 * check/elements/gstfakesrc.c: (GST_START_TEST):
26079 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26080 (init_popt_callback):
26082 * gst/gst_private.h:
26083 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26084 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26087 * gst/gstconfig.h.in:
26088 * gst/gstelement.c: (gst_element_class_init),
26089 (gst_element_set_base_time), (gst_element_get_base_time),
26090 (iterator_fold_with_resync), (gst_element_change_state),
26091 (gst_element_dispose), (gst_element_get_bus):
26092 * gst/gstelement.h:
26093 * gst/gstelementfactory.h:
26094 * gst/gsterror.c: (_gst_core_errors_init):
26097 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26099 * gst/gstinfo.c: (_gst_debug_init):
26100 * gst/gstmessage.c: (_gst_message_copy):
26101 * gst/gstmessage.h:
26102 * gst/gstminiobject.h:
26105 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26106 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26109 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26110 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26111 (gst_pipeline_get_last_stream_time):
26112 * gst/gstpipeline.h:
26113 * gst/gstpluginfeature.h:
26115 * gst/gstscheduler.c:
26116 * gst/gstscheduler.h:
26117 * gst/gststructure.h:
26118 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26119 (gst_task_finalize), (gst_task_func), (gst_task_create),
26120 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26121 (gst_task_stop), (gst_task_pause):
26123 * gst/gsttypefind.h:
26125 * gst/registries/gstlibxmlregistry.c: (load_feature),
26126 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26127 * gst/registries/gstxmlregistry.c:
26128 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26129 * gst/schedulers/threadscheduler.c:
26130 * libs/gst/control/dparammanager.h:
26131 * tools/gst-inspect.c: (print_element_list),
26132 (print_plugin_features), (print_element_features):
26133 * tools/gst-xmlinspect.c: (print_element_list),
26134 (print_plugin_info), (main):
26135 Removed plugable schedulers.
26136 Removed Scheduler/Manager from elements.
26137 Removed gsttypes.h, rearranged includes.
26138 Removed dependency pad<->element, element<>pipeline, and
26139 various others, fix includes.
26140 implement gst_pad_get_parent() with gst_object_get_parent()
26141 Make GstTask sefcontained.
26142 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26144 Fix endless loop in iterator_fold_with_resync.
26147 2005-07-18 Wim Taymans <wim@fluendo.com>
26153 2005-07-18 Wim Taymans <wim@fluendo.com>
26156 No more cothreads.h
26158 2005-07-18 Wim Taymans <wim@fluendo.com>
26162 Let's remove these.
26164 2005-07-18 Wim Taymans <wim@fluendo.com>
26166 * docs/design/part-dynamic.txt:
26167 * docs/design/part-events.txt:
26168 * docs/design/part-seeking.txt:
26169 Some more docs in the works.
26171 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26172 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26173 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26174 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26175 (gst_base_transform_handle_buffer),
26176 (gst_base_transform_sink_activate_push),
26177 (gst_base_transform_src_activate_pull),
26178 (gst_base_transform_set_passthrough),
26179 (gst_base_transform_is_passthrough):
26182 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26185 * gst/gstevent.c: (gst_event_finalize):
26188 * gst/gstutils.c: (gst_element_unlink),
26189 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26190 (gst_pad_proxy_setcaps):
26192 Add _get_parent_element() to get a pads parent as an element.
26194 2005-07-18 Wim Taymans <wim@fluendo.com>
26196 * check/gst/gstbin.c: (GST_START_TEST):
26199 2005-07-18 Wim Taymans <wim@fluendo.com>
26201 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26202 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26203 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26204 (gst_base_sink_event), (gst_base_sink_do_sync),
26205 (gst_base_sink_chain), (gst_base_sink_loop),
26206 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26207 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26209 Fix logic for returning ASYNC when not prerolled.
26211 2005-07-18 Wim Taymans <wim@fluendo.com>
26213 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26214 Fix nasty refcount bug.
26216 2005-07-16 Philippe Khalaf <burger@speedy.org>
26218 * gst/elements/gstfdsrc.c:
26219 * gst/elements/gstfdsrc.h:
26220 * gst/elements/gstelements.c:
26221 * gst/elements/Makefile.am:
26222 Ported fdsrc to 0.9.
26224 2005-07-16 Wim Taymans <wim@fluendo.com>
26226 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26227 (gst_base_sink_do_sync):
26230 2005-07-16 Wim Taymans <wim@fluendo.com>
26232 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26233 (gst_base_sink_event), (gst_base_sink_get_times),
26234 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26235 * gst/base/gstbasesink.h:
26236 Store and use discont values when syncing buffers as described
26239 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26240 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26241 (gst_base_src_activate_push):
26242 Push discont event when starting.
26244 * gst/elements/gstidentity.c: (gst_identity_transform):
26247 * gst/gstbin.c: (gst_bin_change_state):
26248 Small cleanups in base_time distribution.
26250 * gst/gstelement.c: (gst_element_set_base_time),
26251 (gst_element_get_base_time), (gst_element_change_state):
26252 * gst/gstelement.h:
26253 Added methods for the base_time of the element.
26256 * gst/gstpipeline.c: (gst_pipeline_send_event),
26257 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26258 (gst_pipeline_get_last_stream_time):
26259 * gst/gstpipeline.h:
26261 Handle seeking as described in design doc, remove stream_time
26263 Cleanups clock and stream_time selection code. Added accessors
26264 for the stream_time.
26267 2005-07-16 Andy Wingo <wingo@pobox.com>
26269 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26272 2005-07-16 Wim Taymans <wim@fluendo.com>
26274 * check/gst/gstbin.c: (GST_START_TEST):
26275 Make elements silent as the deep_notify refs the
26276 parent, which might make the test fail.
26278 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26279 Don't hold the lock for too long.
26281 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26283 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26284 Don't unref the caps we passed to gst_caps_make_writable() after
26285 passing them. gst_caps_make_writable() will do that for us.
26287 2005-07-15 Andy Wingo <wingo@pobox.com>
26289 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26292 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26293 own marshalling function for the handoff signal. Properly type the
26294 buffer as a buffer. Fixes some warnings. Should do a more general
26296 (gst_identity_class_init): Plug into the right marshaller.
26298 2005-07-15 Wim Taymans <wim@fluendo.com>
26300 * docs/design/part-TODO.txt:
26301 * docs/design/part-clocks.txt:
26302 * docs/design/part-element-sink.txt:
26303 * docs/design/part-events.txt:
26304 * docs/design/part-gstpipeline.txt:
26305 Updated docs, mostly DISCONT related.
26307 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26309 * docs/pwg/building-pads.xml:
26310 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26312 2005-07-15 Andy Wingo <wingo@pobox.com>
26314 * tools/gst-typefind.c: Update, add copyright block.
26316 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26317 Normalize and truncate caps before fixation.
26320 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26321 discards all but the first structure from its argument.
26323 2005-07-15 Wim Taymans <wim@fluendo.com>
26325 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26326 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26327 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26328 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26329 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26330 (gst_base_transform_chain), (gst_base_transform_change_state),
26331 (gst_base_transform_set_passthrough),
26332 (gst_base_transform_is_passthrough):
26333 * gst/base/gstbasetransform.h:
26334 Make passthrough work using the bufferpools.
26335 Changed API a bit, subclasses have to write into a buffer
26336 provided by the base class.
26337 More debug info in nego functions.
26339 * gst/elements/gstidentity.c: (gst_identity_init),
26340 (gst_identity_transform):
26341 Port to new base class.
26343 2005-07-15 Wim Taymans <wim@fluendo.com>
26345 * gst/gstmessage.c: (gst_message_new_state_changed):
26346 * tools/gst-launch.c: (event_loop), (main):
26347 Totally dump messages in -launch with the -m option.
26348 Fix message name for State messages,
26350 2005-07-14 Wim Taymans <wim@fluendo.com>
26352 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26353 Post error messages on errors.
26355 2005-07-14 Wim Taymans <wim@fluendo.com>
26357 * gst/gstcaps.c: (gst_caps_do_simplify):
26361 Define error for stream stopped.
26363 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26364 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26365 Do proper return values.
26367 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26368 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26369 (gst_pad_get_range):
26370 Better return values.
26373 Reorganise return values, add macro to check for fatal errors.
26375 * gst/gstqueue.c: (gst_queue_chain):
26376 Return proper GstFlowReturn values,
26378 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26380 * docs/gst/gstreamer-sections.txt:
26381 * docs/gst/gstreamer.types:
26382 * docs/gst/tmpl/gst.sgml:
26383 * docs/gst/tmpl/gstbasesink.sgml:
26384 * docs/gst/tmpl/gstbasesrc.sgml:
26385 * docs/gst/tmpl/gstbasetransform.sgml:
26386 * docs/gst/tmpl/gstbin.sgml:
26387 * docs/gst/tmpl/gstbuffer.sgml:
26388 * docs/gst/tmpl/gstcaps.sgml:
26389 * docs/gst/tmpl/gstclock.sgml:
26390 * docs/gst/tmpl/gstcompat.sgml:
26391 * docs/gst/tmpl/gstconfig.sgml:
26392 * docs/gst/tmpl/gstelement.sgml:
26393 * docs/gst/tmpl/gstelementdetails.sgml:
26394 * docs/gst/tmpl/gstelementfactory.sgml:
26395 * docs/gst/tmpl/gstenumtypes.sgml:
26396 * docs/gst/tmpl/gsterror.sgml:
26397 * docs/gst/tmpl/gstevent.sgml:
26398 * docs/gst/tmpl/gstfakesink.sgml:
26399 * docs/gst/tmpl/gstfakesrc.sgml:
26400 * docs/gst/tmpl/gstfilesink.sgml:
26401 * docs/gst/tmpl/gstfilesrc.sgml:
26402 * docs/gst/tmpl/gstfilter.sgml:
26403 * docs/gst/tmpl/gstformat.sgml:
26404 * docs/gst/tmpl/gstghostpad.sgml:
26405 * docs/gst/tmpl/gstimplementsinterface.sgml:
26406 * docs/gst/tmpl/gstindex.sgml:
26407 * docs/gst/tmpl/gstindexfactory.sgml:
26408 * docs/gst/tmpl/gstinfo.sgml:
26409 * docs/gst/tmpl/gstiterator.sgml:
26410 * docs/gst/tmpl/gstmacros.sgml:
26411 * docs/gst/tmpl/gstmemchunk.sgml:
26412 * docs/gst/tmpl/gstminiobject.sgml:
26413 * docs/gst/tmpl/gstobject.sgml:
26414 * docs/gst/tmpl/gstpad.sgml:
26415 * docs/gst/tmpl/gstpadtemplate.sgml:
26416 * docs/gst/tmpl/gstparse.sgml:
26417 * docs/gst/tmpl/gstpipeline.sgml:
26418 * docs/gst/tmpl/gstplugin.sgml:
26419 * docs/gst/tmpl/gstpluginfeature.sgml:
26420 * docs/gst/tmpl/gstquery.sgml:
26421 * docs/gst/tmpl/gstqueue.sgml:
26422 * docs/gst/tmpl/gstregistry.sgml:
26423 * docs/gst/tmpl/gstregistrypool.sgml:
26424 * docs/gst/tmpl/gstscheduler.sgml:
26425 * docs/gst/tmpl/gstschedulerfactory.sgml:
26426 * docs/gst/tmpl/gststructure.sgml:
26427 * docs/gst/tmpl/gstsystemclock.sgml:
26428 * docs/gst/tmpl/gsttaglist.sgml:
26429 * docs/gst/tmpl/gsttagsetter.sgml:
26430 * docs/gst/tmpl/gsttrace.sgml:
26431 * docs/gst/tmpl/gsttrashstack.sgml:
26432 * docs/gst/tmpl/gsttypefind.sgml:
26433 * docs/gst/tmpl/gsttypefindfactory.sgml:
26434 * docs/gst/tmpl/gsttypes.sgml:
26435 * docs/gst/tmpl/gsturihandler.sgml:
26436 * docs/gst/tmpl/gsturitype.sgml:
26437 * docs/gst/tmpl/gstutils.sgml:
26438 * docs/gst/tmpl/gstvalue.sgml:
26439 * docs/gst/tmpl/gstversion.sgml:
26440 * docs/gst/tmpl/gstxml.sgml:
26441 * docs/libs/tmpl/gstcontrol.sgml:
26442 * docs/libs/tmpl/gstdataprotocol.sgml:
26443 * docs/libs/tmpl/gstdparam.sgml:
26444 * docs/libs/tmpl/gstdplinint.sgml:
26445 * docs/libs/tmpl/gstdpman.sgml:
26446 * docs/libs/tmpl/gstdpsmooth.sgml:
26447 * docs/libs/tmpl/gstgetbits.sgml:
26448 * docs/libs/tmpl/gstunitconvert.sgml:
26449 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26450 (gst_push_src_base_init), (gst_push_src_class_init),
26451 (gst_push_src_init), (gst_push_src_create):
26452 * gst/base/gstpushsrc.h:
26453 * gst/elements/gstelements.c:
26454 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26455 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26456 (gst_fake_sink_init), (gst_fake_sink_set_property),
26457 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26458 (gst_fake_sink_event), (gst_fake_sink_preroll),
26459 (gst_fake_sink_render), (gst_fake_sink_change_state):
26460 * gst/elements/gstfakesink.h:
26461 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26462 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26463 (gst_fake_src_base_init), (gst_fake_src_class_init),
26464 (gst_fake_src_init), (gst_fake_src_event_handler),
26465 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26466 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26467 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26468 (gst_fake_src_create_buffer), (gst_fake_src_create),
26469 (gst_fake_src_start), (gst_fake_src_stop):
26470 * gst/elements/gstfakesrc.h:
26471 * gst/elements/gstfilesink.c: (_do_init),
26472 (gst_file_sink_base_init), (gst_file_sink_class_init),
26473 (gst_file_sink_init), (gst_file_sink_dispose),
26474 (gst_file_sink_set_location), (gst_file_sink_set_property),
26475 (gst_file_sink_get_property), (gst_file_sink_open_file),
26476 (gst_file_sink_close_file), (gst_file_sink_query),
26477 (gst_file_sink_event), (gst_file_sink_render),
26478 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26479 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26480 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26481 * gst/elements/gstfilesink.h:
26482 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26483 (gst_file_src_class_init), (gst_file_src_init),
26484 (gst_file_src_finalize), (gst_file_src_set_location),
26485 (gst_file_src_set_property), (gst_file_src_get_property),
26486 (gst_file_src_map_region), (gst_file_src_map_small_region),
26487 (gst_file_src_create_mmap), (gst_file_src_create_read),
26488 (gst_file_src_create), (gst_file_src_is_seekable),
26489 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26490 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26491 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26492 (gst_file_src_uri_handler_init):
26493 * gst/elements/gstfilesrc.h:
26494 more autistic cleanliness in functions/names/defines
26496 2005-07-13 Andy Wingo <wingo@pobox.com>
26498 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26499 source couldn't negotiate.
26501 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26505 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26506 function. I am channeling Hades. Put your boots on suckers!!!
26508 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26510 * testsuite/caps/Makefile.am:
26511 * testsuite/caps/value_compare.c:
26512 * testsuite/caps/value_intersect.c:
26513 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26514 move two testsuite apps over to the check dir
26516 2005-07-12 Wim Taymans <wim@fluendo.com>
26518 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26519 Added more debug info in the negotiate process.
26521 * gst/gstmessage.h:
26522 Prepare for segment playback.
26524 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26530 * tools/gst-launch.c: (main):
26531 NULL pipeline on errors.
26533 2005-07-12 Andy Wingo <wingo@pobox.com>
26535 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26536 not it comes from a malloc region. Make sure our copy gets freed.
26538 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26540 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26541 * check/gst/gstmessage.c: (GST_START_TEST):
26542 * check/gst/gststructure.c: (GST_START_TEST),
26543 (gst_structure_suite), (main):
26545 * gst/gstelement.c: (gst_element_message_full):
26546 clean up GError and debug string now that they get copied
26547 * gst/gstmessage.c: (gst_message_new_error),
26548 (gst_message_new_warning), (gst_message_parse_error),
26549 (gst_message_parse_warning):
26550 use GST_TYPE_G_ERROR for structure_new, and take copies of
26551 arguments, so that we don't mess up refcounting
26553 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26555 * check/Makefile.am:
26556 add per-test valgrind targets
26557 * check/gst-libs/gdp.c: (GST_START_TEST),
26558 (gst_data_protocol_suite), (main):
26561 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26563 * check/Makefile.am:
26564 instate more valgrindable tests
26565 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26566 (GST_START_TEST), (fakesrc_suite):
26567 * check/gst/gstpad.c: (GST_START_TEST):
26568 * check/gst/gststructure.c: (GST_START_TEST):
26570 * docs/gst/tmpl/gstminiobject.sgml:
26571 * gst/gstpad.c: (gst_pad_finalize):
26572 fix the static mutex leak
26574 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26576 * check/Makefile.am:
26577 add two more tests for valgrinding
26578 * check/gst/gstvalue.c: (GST_START_TEST):
26579 test refcount of deserialized buffer, found a leak
26580 * docs/gst/gstreamer-docs.sgml:
26581 * docs/gst/gstreamer-sections.txt:
26582 * docs/gst/gstreamer.types:
26583 * docs/gst/tmpl/gstminiobject.sgml:
26584 add miniobject to docs
26585 * gst/gstminiobject.c:
26587 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26588 (gst_string_unwrap):
26589 fix a hard-to-find invalid write for one of the tests
26590 fix a leak for deserialized buffers
26592 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26594 * docs/pwg/advanced-events.xml:
26595 * docs/pwg/advanced-request.xml:
26596 * docs/pwg/advanced-scheduling.xml:
26597 * docs/pwg/appendix-porting.xml:
26598 * docs/pwg/building-boiler.xml:
26599 * docs/pwg/intro-preface.xml:
26600 * docs/pwg/other-ntoone.xml:
26601 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26602 of example code and explanation for pad activation, loop() and
26603 getrange() functions and a bit more. Remove old comments pointing
26605 * examples/pwg/Makefile.am:
26606 Add loop/getrange examples.
26608 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26611 check for valgrind binary + some fixes
26613 valgrind suppressions for the tests
26614 * check/Makefile.am:
26615 add a valgrind: target that valgrinds the unit tests
26616 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26617 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26618 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26619 * check/gst/gstghostpad.c:
26621 * check/gst/gstdata.c:
26623 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26624 (thread_unref), (gst_mini_object_suite), (main):
26626 * gst/gst.c: (gst_deinit):
26628 add a method to clean up.
26629 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26630 (gst_system_clock_obtain):
26631 allow for disposing the system clock.
26632 * tools/gst-launch.c: (main):
26635 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26637 * docs/gst/tmpl/gstbasesrc.sgml:
26638 * docs/gst/tmpl/gstfakesrc.sgml:
26639 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26640 (gst_base_src_init), (gst_base_src_set_property),
26641 (gst_base_src_get_property), (gst_base_src_get_range),
26642 (gst_base_src_start):
26643 * gst/base/gstbasesrc.h:
26644 add num-buffers property
26645 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26646 (gst_fakesrc_init), (gst_fakesrc_set_property),
26647 (gst_fakesrc_get_property), (gst_fakesrc_create),
26648 (gst_fakesrc_start):
26649 remove num-buffers property
26651 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26653 * docs/gst/gstreamer-sections.txt:
26654 * docs/gst/tmpl/gstbasesink.sgml:
26655 * docs/gst/tmpl/gstbasesrc.sgml:
26656 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26657 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26658 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26659 (gst_base_sink_set_property), (gst_base_sink_get_property),
26660 (gst_base_sink_handle_object), (gst_base_sink_event),
26661 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26662 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26663 (gst_base_sink_loop), (gst_base_sink_deactivate),
26664 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26665 (gst_base_sink_change_state):
26666 * gst/base/gstbasesink.h:
26667 * gst/base/gstbasesrc.h:
26668 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26669 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26670 (gst_filesink_init):
26671 more macro splitting
26673 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26675 * gst/gstelement.c: (gst_element_get_bus):
26677 * tools/gst-launch.c: (check_intr), (event_loop):
26680 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26682 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26685 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26687 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26688 (gst_base_src_finalize):
26689 add finalize method and clean up properly
26690 * gst/gstpipeline.c: (gst_pipeline_dispose):
26693 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26695 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26697 add more things to check
26698 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26699 * gst/gstelement.c:
26702 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26704 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26705 (GST_START_TEST), (fakesrc_suite):
26706 * check/gst-libs/gdp.c: (GST_START_TEST):
26707 * check/gst/gst.c: (GST_START_TEST):
26708 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26709 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26710 * check/gst/gstbus.c: (GST_START_TEST):
26711 * check/gst/gstcaps.c: (GST_START_TEST):
26712 * check/gst/gstdata.c: (GST_START_TEST):
26713 * check/gst/gstelement.c: (GST_START_TEST):
26714 * check/gst/gstghostpad.c: (GST_START_TEST):
26715 * check/gst/gstiterator.c: (GST_START_TEST):
26716 * check/gst/gstmessage.c: (GST_START_TEST):
26717 * check/gst/gstobject.c: (GST_START_TEST):
26718 * check/gst/gstpad.c: (GST_START_TEST):
26719 * check/gst/gststructure.c: (GST_START_TEST):
26720 * check/gst/gstsystemclock.c: (GST_START_TEST),
26721 (gst_systemclock_suite):
26722 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26723 * check/gst/gstvalue.c: (GST_START_TEST):
26724 * check/pipelines/cleanup.c: (GST_START_TEST):
26725 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26726 * check/states/sinks.c: (GST_START_TEST):
26727 * check/gstcheck.c: (gst_check_init):
26728 * check/gstcheck.h:
26729 add debugging category
26730 use GST_START_TEST now, so we add a debug line
26732 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26734 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26735 add test for state change message on a bin
26736 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26738 * gst/gstbin.c: (gst_bin_init):
26739 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26740 * gst/gstelement.c: (gst_element_post_message),
26741 (gst_element_set_state):
26742 * gst/gstelementfactory.c: (gst_element_factory_create):
26743 * gst/gstmessage.c: (gst_message_new):
26744 * gst/gstscheduler.c:
26745 various debugging additions and cleanups
26747 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26749 * check/Makefile.am:
26750 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26752 adding tests for elements
26753 * gst/gstelement.c: (gst_element_dispose):
26755 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26757 * gst/registries/gstlibxmlregistry.c: (load_feature):
26758 plug more leaks. A simple gst_init() now is leakfree, yay.
26760 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26762 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26763 (gst_xml_registry_load):
26764 plug another memleak
26766 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26769 use GST_SET_ERROR_CFLAGS
26770 * docs/faq/cvs.xml:
26771 change to ERROR_CFLAGS
26773 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26776 make GST_ERROR_CFLAGS overridable and re-enable Werror
26777 * docs/faq/cvs.xml:
26778 add a note about error CFLAGS
26779 * docs/gst/tmpl/gstfakesrc.sgml:
26780 * gst/elements/gstfakesrc.c:
26781 comment out some unused code
26782 * gst/gst.c: (split_and_iterate):
26783 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26787 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26789 * common/Makefile.am:
26790 * common/gtk-doc.mak:
26791 * docs/gst/Makefile.am:
26792 factor out gtk-doc.mak
26794 2005-07-07 Wim Taymans <wim@fluendo.com>
26796 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26797 (gst_thread_scheduler_dispose):
26798 Unlock the STREAM_LOCK completely.
26800 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26802 * check/Makefile.am:
26803 * check/elements/.cvsignore:
26804 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26805 (START_TEST), (fakesrc_suite), (main):
26806 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26807 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26808 (gst_fakesrc_create), (gst_fakesrc_start):
26809 * gst/elements/gstfakesrc.h:
26810 adding a first element test
26812 2005-07-07 Andy Wingo <wingo@pobox.com>
26814 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26817 2005-07-07 Wim Taymans <wim@fluendo.com>
26823 2005-07-07 Wim Taymans <wim@fluendo.com>
26825 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26826 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26827 Allow subclasses to implement their own negotiation.
26829 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26831 * docs/design/part-gstbin.txt:
26832 * docs/design/part-gstpipeline.txt:
26833 Update design notes to reflect the movement of
26834 responsibility for bus handling from GstPipeline to
26837 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26840 Remove unnecessary queue2/3/4 examples.
26842 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26844 * examples/Makefile.am:
26845 * examples/helloworld/helloworld.c: (event_loop), (main):
26846 * examples/queue/queue.c: (event_loop), (main):
26847 * examples/queue2/queue2.c: (main):
26848 Update a couple of the examples to work again.
26850 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26851 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26852 Spelling corrections and extra debug.
26854 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26855 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26856 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26858 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26859 (gst_pipeline_change_state):
26860 * gst/gstpipeline.h:
26861 Move the bus handler for children to the GstBin, and create a
26862 separate bus for receiving messages from children to the one the
26863 bus sends 'upwards' on.
26865 2005-07-06 Wim Taymans <wim@fluendo.com>
26868 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26869 (gst_base_sink_handle_object), (gst_base_sink_loop),
26870 (gst_base_sink_change_state):
26871 * gst/base/gstbasesink.h:
26872 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26873 (gst_base_src_init), (gst_base_src_setcaps),
26874 (gst_base_src_getcaps), (gst_base_src_loop),
26875 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26876 (gst_base_src_start), (gst_base_src_change_state):
26877 * gst/base/gstbasesrc.h:
26878 Make basesrc negotiate.
26879 Handle the case where preroll fails in basesink.
26882 2005-07-06 Wim Taymans <wim@fluendo.com>
26884 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26885 Implement the fixate function.
26886 Clean up acceptcaps.
26888 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26890 * docs/pwg/building-filterfactory.xml:
26891 * docs/pwg/pwg.xml:
26892 Remove never-written filter-factory chapter; I'll add the various
26893 base classes to part 4 ("other element types") later on.
26895 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26897 * docs/pwg/advanced-negotiation.xml:
26898 * docs/pwg/building-boiler.xml:
26899 * docs/pwg/building-pads.xml:
26900 * docs/pwg/pwg.xml:
26901 * examples/pwg/Makefile.am:
26902 Add a chapter on caps negotiation, simplify the original code
26903 samples a bit w.r.t. caps negotiation, add link to the advanced
26904 section. Add a bunch of examples showing different use cases of
26905 different types of caps negotiation. Upstream renegotiation isn't
26906 fully documented yet since nobody knows how that works.
26908 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26910 * check/gst/gstpad.c:
26911 * check/gstcheck.c:
26912 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26913 if pad has no parent, return NULL as list of internal links
26915 2005-07-05 Andy Wingo <wingo@pobox.com>
26917 * gst/elements/gstfilesrc.c:
26918 * gst/elements/gstfakesrc.c:
26919 * gst/base/gstpushsrc.c:
26920 * gst/base/gstbasesrc.h:
26921 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26923 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26926 better report generation target (lcov needs a patch)
26928 2005-07-05 Andy Wingo <wingo@pobox.com>
26930 * gst/elements, testsuite: Null if we got it...
26932 2005-07-05 Wim Taymans <wim@fluendo.com>
26935 * libs/gst/dataprotocol/Makefile.am:
26936 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26937 * libs/gst/dataprotocol/dataprotocol.h:
26938 * pkgconfig/Makefile.am:
26939 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26940 * pkgconfig/gstreamer-dataprotocol.pc.in:
26941 Ported dataprotol to 0.9.
26942 Added pkgconfig files.
26944 2005-07-05 Andy Wingo <wingo@pobox.com>
26946 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26947 Default to returning TRUE for the case when tranform_caps returns
26948 a fixed caps, like for identity or volume.
26950 * check/gst/gstbus.c (pound_bus_with_messages):
26951 * check/gst/gstmessage.c (START_TEST):
26952 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26953 message API change.
26955 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26956 logic weaks here: always run transform_caps, trying passthrough
26957 operation only if the original caps intersects with the transform.
26959 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26960 source and sink caps.
26962 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26963 Intersect the peer caps with the pad template before going into
26965 (gst_base_transform_transform_caps): More debugging.
26967 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26970 2005-07-04 Edward Hervey <edward@fluendo.com>
26974 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26977 2005-07-04 Andy Wingo <wingo@pobox.com>
26979 * check/gst/gstpad.c: Only set explicit caps on pads.
26981 2005-07-01 Andy Wingo <wingo@pobox.com>
26983 * tests/network-clock.scm: Commentary update.
26985 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26986 Didn't really make sense, not implementable with basetransform,
26988 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26989 attempt at implementing the sync property, needs an unlock method.
26991 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26992 New func, by default returns the same caps (the identity
26994 (gst_base_transform_getcaps): Uses transform_caps to return
26995 something sensible.
26996 (gst_base_transform_setcaps): Complicated logic to get caps on
26997 both pads, even if they are different, and to call set_caps once
26998 for every time both pads get their caps set.
26999 (gst_base_transform_handle_buffer): Give the ref to the transform
27000 function. Allows in-place modification of the buffer.
27002 * gst/base/gstbasetransform.h (transform_caps): New class method.
27003 Given caps on one side, what can I do on the other.
27004 (set_caps): Take two caps, one for each side of the element.
27007 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27008 caps in place. This is safe because we can check the mutability of
27009 the caps, and a good idea because fixate functions are just called
27010 as a matter of last resort. (Not actually implemented.)
27011 (gst_pad_set_caps): If the caps we're setting is actually the same
27012 as the existing pad caps, just update the pointer without calling
27013 setcaps. Assert that caps is either NULL or fixed, as per the
27016 * gst/gstghostpad.c: Update for fixate changes.
27018 2005-07-02 Andy Wingo <wingo@pobox.com>
27021 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27022 two refcounts makes it immutable, which is enough. Doc more.
27024 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
27026 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27027 Put the mini_object into GValue as a mini_object,
27028 not a gpointer, since that's how we declared
27031 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27033 * examples/pwg/Makefile.am:
27034 Fix buildbot again.
27036 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27038 * docs/pwg/building-testapp.xml:
27040 * examples/pwg/Makefile.am:
27043 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27046 * examples/Makefile.am:
27047 * examples/pwg/Makefile.am:
27048 * examples/pwg/extract.pl:
27049 Enable building the PWG examples.
27050 * docs/pwg/advanced-interfaces.xml:
27051 Add URI interface stub.
27052 * docs/pwg/advanced-types.xml:
27053 * docs/pwg/other-autoplugger.xml:
27054 * docs/pwg/appendix-porting.xml:
27055 * docs/pwg/pwg.xml:
27056 Add porting guide (mostly stubs), remove autoplugging (see ADM).
27057 * docs/pwg/building-boiler.xml:
27058 * docs/pwg/building-chainfn.xml:
27059 * docs/pwg/building-pads.xml:
27060 * docs/pwg/building-props.xml:
27061 * docs/pwg/building-state.xml:
27062 * docs/pwg/building-testapp.xml:
27063 Update the building-*.xml parts for 0.9 changes. All examples
27064 code blocks compile in examples/pwg/*.
27066 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27068 * docs/manual/advanced-autoplugging.xml:
27069 * docs/manual/appendix-checklist.xml:
27070 * docs/manual/appendix-integration.xml:
27071 * docs/manual/highlevel-components.xml:
27072 Fix playbin/decodebin examples, update docs a bit, mention bus
27073 instead of signals in various places, mention kmplayer and
27074 kaffeine since they have a working GStreamer backend in the KDE
27077 2005-06-30 Wim Taymans <wim@fluendo.com>
27080 * docs/design/draft-ghostpads.txt:
27081 * docs/design/draft-push-pull.txt:
27082 * docs/design/draft-query.txt:
27083 * docs/design/part-TODO.txt:
27084 * docs/design/part-query.txt:
27085 Added CHANGES-0.9 doc, updated status of other docs.
27090 2005-06-30 Wim Taymans <wim@fluendo.com>
27092 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27093 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27094 (gst_base_sink_change_state):
27095 * gst/base/gstbasesink.h:
27096 Some tweaks, only EOS and a buffer complete a preroll.
27098 2005-06-30 Andy Wingo <wingo@pobox.com>
27100 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27101 activate_push down to the internal pad as well.
27103 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27105 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27107 * gst/gsttaginterface.c:
27108 Some documentation fixes (#307394 and #307397).
27110 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27112 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27114 * gst/gstvalue.c: (gst_value_intersect_list):
27115 Fix memleak (#309125).
27117 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27119 * docs/manual/advanced-dataaccess.xml:
27120 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27121 * docs/manual/basics-pads.xml:
27122 Add reference for filtered caps to above chapter.
27124 2005-06-30 Wim Taymans <wim@fluendo.com>
27126 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27127 (gst_bin_change_state):
27129 Lame attempt at making the state change function a bit
27132 2005-06-30 Wim Taymans <wim@fluendo.com>
27134 * docs/design/part-clocks.txt:
27135 * docs/design/part-element-sink.txt:
27136 * docs/design/part-events.txt:
27137 * docs/design/part-preroll.txt:
27138 * docs/design/part-states.txt:
27139 Some more tweeks and additions to the docs.
27141 2005-06-30 Wim Taymans <wim@fluendo.com>
27143 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27144 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27145 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27146 (gst_pad_check_pull_range), (gst_pad_get_range),
27147 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27149 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27150 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27151 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27152 (gst_pad_remove_buffer_probe):
27153 Removed atomic operations, use existing LOCK.
27154 Move exception handling out of main code path.
27156 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27158 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27159 (silly_return_true_function), (gst_pad_class_init),
27160 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27161 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27162 (gst_pad_send_event):
27163 Fix accumulator, add default value by using _emitv() instead
27164 of _emit() for signal emission.
27166 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27168 * docs/manual/advanced-dataaccess.xml:
27169 * examples/manual/Makefile.am:
27171 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27174 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27176 * gst/elements/gstfilesink.c: (gst_filesink_render):
27177 Simplify code so that we don't have to handle short
27178 writes and return GST_FLOW_ERROR if an error occured.
27180 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27182 * docs/gst/gstreamer-docs.sgml:
27183 Remove probes more.
27185 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27187 * docs/gst/gstreamer-sections.txt:
27188 * docs/gst/tmpl/gstpad.sgml:
27189 * docs/gst/tmpl/gstprobe.sgml:
27191 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27192 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27193 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27194 (gst_pad_push_event), (gst_pad_send_event):
27196 * gst/gstutils.c: (gst_pad_add_data_probe),
27197 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27198 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27199 (gst_pad_remove_buffer_probe):
27201 Remove old probes, add new g-signal-based probes and some utility
27204 2005-06-29 Edward Hervey <edward@fluendo.com>
27206 * gst/gstelementfactory.c:
27209 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27210 the definition to the header file.
27212 2005-06-29 Andy Wingo <wingo@pobox.com>
27214 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27215 plugins from the source directory.
27217 2005-06-29 Wim Taymans <wim@fluendo.com>
27219 * docs/gst/tmpl/gstbuffer.sgml:
27220 * docs/gst/tmpl/gstclock.sgml:
27221 Some fixings for blantently wrong text.
27223 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27225 * check/Makefile.am:
27226 * gst/gst.c: (add_path_func), (init_pre):
27227 * gst/gstregistry.c: (gst_registry_add_path):
27228 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27229 only scan the GST_PLUGIN_PATH locations, and not add
27232 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27234 * docs/gst/gstreamer-sections.txt:
27235 * docs/gst/tmpl/gstbasesrc.sgml:
27236 * gst/gstelement.c:
27237 * gst/gstelement.h:
27242 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27244 * docs/manual/advanced-autoplugging.xml:
27245 Fix autoplugging example.
27247 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27249 * docs/manual/advanced-autoplugging.xml:
27250 * docs/manual/mime-world.fig:
27251 Try to get autoplugging working, fix type detection. Fix text
27252 in hello-world image.
27254 2005-06-29 Wim Taymans <wim@fluendo.com>
27256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27257 (gst_base_sink_change_state):
27261 map SIGNAL and BROADCAST to the right function.
27264 Remove redundant braces.
27266 * gst/gstpad.c: (gst_pad_set_caps):
27267 Don't call setcaps function when reseting caps to NULL.
27269 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27270 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27271 (gst_system_clock_id_unschedule):
27272 Use BROADCAST as this is what we do.
27274 2005-06-29 Wim Taymans <wim@fluendo.com>
27276 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27277 We are actually prerolling before commiting the state
27280 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27282 * docs/manual/advanced-clocks.xml:
27283 * docs/manual/advanced-interfaces.xml:
27284 * docs/manual/advanced-metadata.xml:
27285 * docs/manual/advanced-position.xml:
27286 * docs/manual/advanced-schedulers.xml:
27287 * docs/manual/advanced-threads.xml:
27288 * docs/manual/appendix-porting.xml:
27289 * docs/manual/basics-bins.xml:
27290 * docs/manual/basics-bus.xml:
27291 * docs/manual/basics-elements.xml:
27292 * docs/manual/basics-helloworld.xml:
27293 * docs/manual/basics-pads.xml:
27294 * docs/manual/highlevel-components.xml:
27295 * docs/manual/manual.xml:
27296 * docs/manual/thread.fig:
27297 Update (until threads/scheduling) Application Development Manual;
27298 remove GstThread, add GstBus, add simple porting checklist, add
27299 documentation for tag writing, clocks, make all examples until this
27300 part compile and run.
27301 * examples/manual/Makefile.am:
27302 Update from changes to Application Development Manual; add bus
27303 example, remove thread example.
27305 2005-06-28 Wim Taymans <wim@fluendo.com>
27307 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27308 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27309 (gst_bus_source_dispatch):
27310 Add debugging messages.
27311 Make internal methods static.
27312 Handle the case where the bus is flushed in the handler.
27314 * gst/gstelement.c: (gst_element_get_bus):
27315 Fix refcount in _get_bus();
27317 * gst/gstpipeline.c: (gst_pipeline_change_state),
27318 (gst_pipeline_get_clock_func):
27319 Clock refcounting fixes.
27320 Handle the case where preroll timed out more gracefully.
27322 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27323 Clean up the internal thread in dispose. This is needed
27324 for subclasses that actually get disposed.
27326 * gst/schedulers/threadscheduler.c:
27327 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27328 (gst_thread_scheduler_dispose):
27329 Free thread pool in dispose.
27331 2005-06-28 Andy Wingo <wingo@pobox.com>
27333 * tests/network-clock-utils.scm (debug, print-event): New utils.
27335 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27336 (*packet-loss*): Unified loss probability.
27337 (network-time): Report out-of-band events.
27339 * tests/plot-data: Add support for out-of-band events. Hack it
27340 into this script instead of passing it down the pipe; should fix
27343 2005-06-28 Wim Taymans <wim@fluendo.com>
27345 * docs/gst/gstreamer.types:
27346 * docs/gst/tmpl/gstbasesrc.sgml:
27347 * docs/gst/tmpl/gstpad.sgml:
27350 2005-06-28 Wim Taymans <wim@fluendo.com>
27352 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27353 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27354 (gst_proxy_pad_do_fixatecaps):
27355 Correctly proxy the check_pull_range function.
27357 2005-06-28 Andy Wingo <wingo@pobox.com>
27359 * tests/network-clock.scm: Removed need for slib.
27361 2005-06-28 Wim Taymans <wim@fluendo.com>
27363 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27364 (gst_basesink_preroll_queue_flush):
27365 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27366 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27367 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27368 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27369 (gst_proxy_pad_set_property):
27372 * gst/gstqueue.c: (gst_queue_init):
27373 The deprecated pad loop function is removed now.
27375 2005-06-28 Andy Wingo <wingo@pobox.com>
27377 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27378 New parameters, simulate network packet loss.
27380 * tests/network-clock-utils.scm: Initialize the RNG.
27382 2005-06-28 Wim Taymans <wim@fluendo.com>
27384 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27385 (gst_basesink_event), (gst_basesink_deactivate):
27386 Flushing the preroll queue always needs to unlock the waiters.
27388 2005-06-28 Edward Hervey <edward@fluendo.com>
27390 * gst/gstpipeline.c: (gst_pipeline_send_event):
27391 Wheen a seek was successful on a pipeline, set the stream_time to the
27392 seek offset in order to have a synchronized stream_time.
27394 2005-06-28 Wim Taymans <wim@fluendo.com>
27396 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27397 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27398 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27399 (gst_proxy_pad_do_fixatecaps):
27400 Call wrapper function instead of just calling the function
27401 pointers. This takes care of any locking and whatmore.
27403 2005-06-28 Wim Taymans <wim@fluendo.com>
27405 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27406 (gst_pad_pull_range):
27408 CONNECTED -> LINKED.
27410 2005-06-28 Andy Wingo <wingo@pobox.com>
27412 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27413 source-munging commit!!!
27415 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27416 (gst_object_sink): Take gpointer arguments, not GstObject --
27417 avoids casts. Like GLib.
27419 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27422 2005-06-27 Andy Wingo <wingo@pobox.com>
27424 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27427 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27428 returns a sorted copy of the trace list.
27429 (gst_alloc_trace_print_live): New API, only prints traces with
27430 live objects. Sort the list.
27431 (gst_alloc_trace_print_all): Sort the list.
27432 (gst_alloc_trace_print): Align columns.
27434 * gst/elements/gstttypefindelement.c:
27435 * gst/elements/gsttee.c:
27436 * gst/base/gstbasesrc.c:
27437 * gst/base/gstbasesink.c:
27438 * gst/base/gstbasetransform.c:
27439 * gst/gstqueue.c: Adapt for pad activation changes.
27441 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27443 (gst_pipeline_dispose): Drop ref on sched.
27445 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27446 (gst_pad_activate_default): Push mode by default.
27447 (pre_activate_switch, post_activate_switch): New stubs, things to
27448 do before and after switching activation modes on pads.
27449 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27450 the pad's activate function to choose which mode to activate.
27451 Shortcut on deactivation and call the right function directly.
27452 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27454 (gst_pad_activate_push): New API, same for push mode.
27455 (gst_pad_set_activate_function)
27456 (gst_pad_set_activatepull_function)
27457 (gst_pad_set_activatepush_function): Setters for new API.
27459 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27460 Trace all miniobjects.
27461 (gst_mini_object_make_writable): Unref the arg if we copy, like
27462 gst_caps_make_writable.
27464 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27466 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27467 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27468 Adapt for new pad API.
27470 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27472 * gst/gstelement.h:
27473 * gst/gstelement.c (gst_element_iterate_src_pads)
27474 (gst_element_iterate_sink_pads): New API functions.
27476 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27477 should fold into gstiterator.c in some form.
27478 (gst_element_pads_activate): Simplified via use of fold and
27479 delegation of decisions to gstpad->activate.
27481 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27484 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27485 class once in init, like gstmessage. Didn't run into this issue
27486 but it seems correct. Don't initialize a trace, gstminiobject does
27489 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27490 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27492 (assert_live_count): New util function, uses alloc traces to check
27495 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27496 To be modified when unlink drops the internal pad.
27498 2005-06-27 Wim Taymans <wim@fluendo.com>
27500 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27501 (gst_bin_change_state):
27502 Cleanup the get_state() function a little, make sure it
27503 iterates the same set of elements.
27504 Added stub iterate_state_order().
27506 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27508 * docs/gst/gstreamer-docs.sgml:
27509 * docs/gst/gstreamer-sections.txt:
27510 * docs/gst/gstreamer.types:
27511 * docs/gst/tmpl/gstbasesink.sgml:
27512 * docs/gst/tmpl/gstbasesrc.sgml:
27513 * docs/gst/tmpl/gstbasetransform.sgml:
27514 * docs/gst/tmpl/gstelement.sgml:
27515 * docs/gst/tmpl/gstiterator.sgml:
27516 * gst/base/gstbasesrc.c:
27517 * gst/base/gstbasesrc.h:
27518 * gst/base/gstbasetransform.h:
27519 * gst/gstelement.c:
27520 * gst/gstiterator.h:
27521 adding basetransform and iterator docs
27523 2005-06-27 Andy Wingo <wingo@pobox.com>
27525 * docs/design/part-activation.txt: Notes on how activation should
27526 work -- not quite implemented yet.
27528 2005-06-25 Wim Taymans <wim@fluendo.com>
27530 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27531 At least get the chain function correct, needs more
27534 2005-06-25 Wim Taymans <wim@fluendo.com>
27536 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27537 (gst_basesink_handle_object), (gst_basesink_event),
27538 (gst_basesink_do_sync), (gst_basesink_handle_event),
27539 (gst_basesink_change_state):
27541 Right, two problems here: ghostpads don't take locks and
27542 glib _rec_mutex_lock_full() with depth==0 still locks.
27543 Catch illegal locking and g_warn them.
27545 2005-06-25 Wim Taymans <wim@fluendo.com>
27547 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27548 Have to check for completion now...
27550 2005-06-25 Wim Taymans <wim@fluendo.com>
27552 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27553 (gst_basesink_handle_object), (gst_basesink_event),
27554 (gst_basesink_do_sync), (gst_basesink_handle_event),
27555 (gst_basesink_change_state):
27557 Unlock STREAM_LOCK whatever the recursion was.
27559 2005-06-25 Wim Taymans <wim@fluendo.com>
27561 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27562 (gst_basesink_preroll_queue_empty),
27563 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27564 (gst_basesink_event), (gst_basesink_do_sync),
27565 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27566 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27567 (gst_basesink_change_state):
27568 Reworked the base sink, handle event and buffer serialisation
27569 correctly and removed possible deadlock.
27570 Handle EOS correctly.
27572 2005-06-25 Wim Taymans <wim@fluendo.com>
27574 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27575 (gst_pipeline_change_state):
27576 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27577 Allow elements to post EOS in the state change function.
27578 Fix up -launch, make it exit the poll loop when the
27579 pipeline actually changed state.
27580 Fix up warning parsing in -launch.
27582 2005-06-25 Wim Taymans <wim@fluendo.com>
27584 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27585 (gst_tee_sink_activate):
27586 Core takes STREAM_LOCK for us now.
27588 2005-06-25 Wim Taymans <wim@fluendo.com>
27590 * gst/gstelement.c: (gst_element_get_state_func),
27591 (gst_element_set_state):
27592 * gst/gstelement.h:
27593 * gst/gstmessage.c: (gst_message_parse_error),
27594 (gst_message_parse_warning):
27595 Keep track of current target state while performing a state
27596 change so that subclasses can do something interesting.
27597 Fix parsing of warning/error messages when GError is NULL.
27599 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27601 * docs/gst/Makefile.am:
27602 * docs/gst/gstreamer-docs.sgml:
27603 * docs/gst/gstreamer-sections.txt:
27604 * docs/gst/gstreamer.types:
27605 * docs/gst/tmpl/gstbasesink.sgml:
27606 * docs/gst/tmpl/gstbasesrc.sgml:
27607 * docs/gst/tmpl/gstbin.sgml:
27608 * docs/gst/tmpl/gstcompat.sgml:
27609 * docs/gst/tmpl/gstfakesink.sgml:
27610 * docs/gst/tmpl/gstfakesrc.sgml:
27611 * docs/gst/tmpl/gstfilesink.sgml:
27612 * docs/gst/tmpl/gstfilesrc.sgml:
27613 * docs/gst/tmpl/gstindex.sgml:
27614 * docs/manual/appendix-quotes.xml:
27615 * gst/base/gstbasesrc.h:
27616 * gst/elements/gstfakesrc.h:
27617 * gst/gstmessage.h:
27618 start pulling in base classes and elements in our docs
27620 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27622 * docs/gst/Makefile.am:
27623 * docs/libs/Makefile.am:
27624 fixed make distcheck with gtk-doc 1.3
27626 2005-06-23 Wim Taymans <wim@fluendo.com>
27628 * gst/gstelement.c: (gst_element_get_state_func),
27629 (gst_element_set_state), (gst_element_change_state):
27630 When the state did not change, also report NO_PREROLL
27633 2005-06-23 Wim Taymans <wim@fluendo.com>
27635 * gst/gstpad.c: (gst_pad_event_default):
27636 * gst/gstqueue.c: (gst_queue_loop):
27637 No unsafe task pausing please.
27639 2005-06-23 Wim Taymans <wim@fluendo.com>
27641 * gst/schedulers/threadscheduler.c:
27642 (gst_thread_scheduler_task_start),
27643 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27644 Ref the task before pushing it on the threadpool. This
27645 makes sure that we have a ref when the threadfunction is
27648 2005-06-23 Andy Wingo <wingo@pobox.com>
27650 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27651 offset is greater than the file's size.
27653 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27654 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27655 * gst/gstobject.c (gst_object_class_init): Make the class lock
27656 recursive. Wim won't let me drop deep_notify. Decodebin works
27657 again, whoopdy doo.
27659 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27660 internal pad, and hacks accordingly. Doesn't do it on the target
27661 pad because we change its caps. Probably catches all cases of
27663 (gst_ghost_pad_set_property): Connect to notify::caps as
27666 * tests/network-clock.scm (plot-simulation): Pipe data to the
27667 elite python skript.
27669 * tests/network-clock-utils.scm (define-parameter): New macro,
27670 defines a parameter that can be set via the command line.
27671 (set-parameter!, parse-parameter-arguments): Command line args
27674 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27677 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27679 * gst/elements/gsttypefindelement.c:
27680 (gst_type_find_element_handle_event):
27681 Don't restart typefinding on a discont.
27682 * gst/gstelement.c: (gst_element_set_state):
27683 Debug spelling fix.
27684 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27685 Allow changing mode of an active pad.
27686 Debug output fixes.
27687 * gst/registries/gstlibxmlregistry.c: (load_feature):
27688 Don't cast a static pad template to a normal pad template.
27690 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27692 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27693 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27694 remove gst_strtoll completely, since it didn't actually do
27695 anything more than what g_ascii_strtoull already does.
27696 check for range errors when deserializing
27697 do a cast for the unsigned cases; but further fixing needs
27698 a decision on what the interpretation of "(int)" and
27699 deserialization should be for values that fall outside the
27700 type's boundaries (ie, refuse, or interpret as casting)
27702 2005-06-23 Wim Taymans <wim@fluendo.com>
27704 * check/Makefile.am:
27705 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27706 * docs/design/part-live-source.txt:
27707 * docs/design/part-states.txt:
27708 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27709 (gst_basesrc_set_live), (gst_basesrc_is_live),
27710 (gst_basesrc_get_range), (gst_basesrc_activate),
27711 (gst_basesrc_change_state):
27712 * gst/base/gstbasesrc.h:
27713 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27714 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27715 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27716 * gst/gstelement.c: (gst_element_get_state_func),
27717 (gst_element_set_state):
27718 * gst/gstelement.h:
27720 * tools/gst-launch.c: (event_loop), (main):
27721 Added support for live sources and other elements that
27723 Updated design docs, added live-source design doc.
27724 Implemented live source functionality in basesrc
27725 Fix error condition in _bin_get_state()
27726 Implement live source handling in -launch.
27727 Added check for live sources.
27728 Fixed case in GstBin where elements were changed state
27732 2005-06-23 Andy Wingo <wingo@pobox.com>
27734 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27735 borken refcounting.
27737 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27738 gst_caps_replace takes care of this for us.
27740 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27741 gst_pad_set_caps on the target, not just its setcaps() function.
27743 * tests/network-clock.scm:
27744 * tests/network-clock-utils.scm: A network clock simulator.
27745 Something of an algorithmic testbed before doing something in C.
27747 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27749 * check/Makefile.am:
27750 * check/gst/capslist.h:
27751 copy over from 0.8, and add two with bitmasks specified with
27753 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27754 add test to parse everything from capslist.h
27755 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27757 add test for structure deserialization
27758 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27759 add tests for deserialization of strings to int types
27760 * gst/gststructure.c: (gst_structure_nth_field_name):
27761 * gst/gststructure.h:
27762 add a way to get the name of a field referenced by index
27763 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27764 instead of checking if the resulting long long lies between
27765 min and max, we check if the long long would fit into
27766 a number of bytes for the final type.
27767 This fixes cases where a string represents 2^32 - 1, which
27768 when cast to int would be the (valid) -1, but is bigger than
27771 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27773 * gst/parse/grammar.y:
27774 add a log line for type deserialization
27776 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27778 * check/gst/gstvalue.c: (START_TEST):
27779 * gst/gstvalue.c: (gst_value_deserialize):
27780 return long long, not int, so gint64 deserialization actually
27781 works. Is there any flag that makes the compiler check this ?
27784 2005-06-22 Wim Taymans <wim@fluendo.com>
27787 Added convenience macros for setting buffers in GValue.
27789 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27791 * check/gst/.cvsignore:
27792 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27793 add a test deserializing int64, and comment part out because
27796 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27798 * check/Makefile.am:
27799 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27800 * testsuite/Makefile.am:
27801 * testsuite/caps/Makefile.am:
27802 * testsuite/caps/value_serialize.c:
27803 * testsuite/test_gst_init.c:
27804 move a value_serialize test over
27806 2005-06-20 Wim Taymans <wim@fluendo.com>
27811 * gst/gstvalue.c: (gst_value_compare_buffer),
27812 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27813 (gst_value_compare_flags), (gst_value_serialize_flags),
27814 (gst_value_deserialize_flags), (_gst_value_initialize):
27815 Fix serialisation of buffers, they are not boxed types anymore
27817 2005-06-20 Wim Taymans <wim@fluendo.com>
27819 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27820 Testcase to show error in buffer-on-caps serialisation.
27822 2005-06-20 Andy Wingo <wingo@pobox.com>
27824 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27825 will be adding to later.
27827 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27828 if its socks fill with rocks.
27829 (gst_system_clock_obtain): Set the name on object construction.
27830 Avoid double-checked locking.
27832 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27834 * gst/gsturi.c: (gst_element_make_from_uri):
27835 Fix potential endless loop.
27837 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27839 * check/Makefile.am:
27841 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27843 move over from testsuite dir and clean up
27846 * testsuite/Makefile.am:
27847 * testsuite/tags/.cvsignore:
27848 * testsuite/tags/Makefile.am:
27849 * testsuite/tags/merge.c:
27850 remove testsuite/tags
27852 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27854 * docs/gst/gstreamer-sections.txt:
27855 * docs/gst/tmpl/gstenumtypes.sgml:
27856 * win32/gstenumtypes.c:
27857 clean up documentation build a little
27859 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27861 * check/gstcheck.h:
27862 add macros for checking refcounts on objects and caps
27863 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27864 add some more unit tests
27865 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27866 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27867 fix leaked refcounts (I hope :)) so unittest works
27871 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27873 * configure.ac: back to HEAD
27875 === release 0.9.1 ===
27877 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27883 2005-06-17 Andy Wingo <wingo@pobox.com>
27885 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27886 assert; it's always possible that the pad gets deactivated in
27887 between the checks in gstpad.c and the implementation. Rely on
27888 finish_preroll() to return a FLUSHING or similar instead of on the
27891 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27892 clock and post an EOS message if we come out of finish_preroll in
27895 2005-06-16 David Schleef <ds@schleef.org>
27897 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27898 (gst_capsfilter_set_property): Allow NULL as possible value
27899 for filter_caps property, indicating GST_CAPS_ANY.
27901 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27903 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27905 * gst/schedulers/Makefile.am:
27907 * gstreamer.spec.in:
27910 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27912 * gstreamer.spec.in:
27915 2005-06-08 Andy Wingo <wingo@pobox.com>
27917 * gst/gstutils.c: RPAD fixes all around.
27918 (gst_element_link_pads): Refcounting fixes.
27920 * tools/gst-inspect.c:
27921 * tools/gst-xmlinspect.c:
27923 * gst/base/gsttypefindhelper.c:
27924 * gst/base/gstbasesink.c:
27925 * gst/gstqueue.c: RPAD fixes.
27927 * gst/gstghostpad.h:
27928 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27929 pads. The tricky thing is they provide both source and sink
27930 interfaces, since they proxy the internal pad for the external
27931 pad, and vice versa. Implement with lower-level ProxyPad objects,
27932 with the interior proxy pad as a child of the exterior ghost pad.
27933 Should write a doc on this.
27935 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27936 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27939 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27940 pads are real pads. No ghost pads in this file. Not documenting
27941 the myriad s/RPAD/PAD/ and REALIZE fixes.
27942 (gst_pad_class_init): Add properties for "direction" and
27943 "template". Both are construct-only, so they can't change during
27944 the life of the pad. Fixes properly deriving from GstPad.
27945 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27946 derived objects, just set properties when creating the objects via
27948 (gst_pad_get_parent): Implement as a function, return NULL if the
27949 parent is not an element.
27950 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27951 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27953 * gst/gstobject.c (gst_object_class_init): Make name a construct
27954 property. Don't set it in the object init.
27956 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27957 with UNKNOWN direction.
27958 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27959 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27960 (gst_element_remove_pad): Remove ghost-pad special cases.
27961 (gst_element_pads_activate): Remove rpad cruft.
27963 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27964 catch the pad's-parent-not-an-element case.
27966 * gst/gst.h: Include gstghostpad.h.
27968 * gst/gst.c (init_post): No more real, ghost pads.
27970 * gst/Makefile.am: Add gstghostpad.[ch].
27972 * check/Makefile.am:
27973 * check/gst/gstbin.c:
27974 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27975 into a bin creates ghost pads, and that the refcounts are right.
27976 Partly moved from gstbin.c.
27978 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27980 * check/gst-libs/.cvsignore:
27981 * check/gst/.cvsignore:
27982 * check/pipelines/.cvsignore:
27984 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27985 (START_TEST), (cleanup_suite), (main):
27986 add some tests related to cleanup after running pipelines
27988 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27990 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27991 add a testsuite for GstBuffer
27993 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27995 * gst/gstminiobject.h:
27996 add defines for accessing the refcount
27998 2005-06-03 Stefan Kost <ensonic@users.sf.net>
28000 * Makefile.am: added support for html unit test coverage reports
28002 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
28004 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28005 Free existing caps if the capsfilter changes. Add a FIXME about
28006 setting those caps on the pads.
28008 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28009 Before adding a ghost pad to a parent bin, check that there isn't
28010 already one for the element on the bin. Prevents infinite recursion
28011 when using decodebin in parse pipelines. Andy says he'll rewrite the
28012 way this works anyway, so ignore the hack.
28014 2005-06-02 Andy Wingo <wingo@pobox.com>
28016 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28017 file size, pass it on to the type find helper.
28019 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28020 segment_start and segment_end properly according to the seek
28021 method. Segment_end is still a bit flaky because offset can be
28022 negative for CUR and END cases, but it takes -1 as an "unset"
28025 2005-06-02 Wim Taymans <wim@fluendo.com>
28027 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28028 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28029 (gst_basesink_activate):
28030 * gst/base/gstbasesink.h:
28031 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28032 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28033 (gst_pad_query), (gst_pad_start_task):
28035 * gst/gstqueue.c: (gst_queue_bufferalloc),
28036 (gst_queue_handle_sink_event), (gst_queue_chain):
28037 Bufferalloc: return GstFlowReturn to more accuratly report
28038 why allocation failed.
28040 2005-06-02 Wim Taymans <wim@fluendo.com>
28042 * gst/gstpipeline.c: (gst_pipeline_send_event):
28043 Take snapshot of state without blocking.
28045 2005-06-02 Wim Taymans <wim@fluendo.com>
28047 * docs/design/part-TODO.txt:
28048 * docs/design/part-caps.txt:
28049 * docs/design/part-clocks.txt:
28050 * docs/design/part-negotiation.txt:
28051 * docs/design/part-preroll.txt:
28054 2005-05-30 Wim Taymans <wim@fluendo.com>
28056 * gst/elements/gstidentity.c: (gst_identity_event),
28057 (gst_identity_transform), (gst_identity_get_property):
28058 Protect last_message property as it is accessed from
28061 2005-05-30 Wim Taymans <wim@fluendo.com>
28063 * gst/gstelement.c: (gst_element_init),
28064 (gst_element_pads_activate), (gst_element_change_state):
28065 Slicker pad activation code.
28067 2005-05-30 Wim Taymans <wim@fluendo.com>
28070 * gst/gstelement.h:
28071 * gst/gstelementfactory.h:
28073 Move elementfactory methods to separate .h file.
28075 2005-05-30 Wim Taymans <wim@fluendo.com>
28077 * docs/design/part-overview.txt:
28078 * gst/gstsystemclock.h:
28079 Small typo fixes, doc updates.
28081 2005-05-30 Wim Taymans <wim@fluendo.com>
28083 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28084 (init_popt_callback):
28085 Remove cpu-opt flag.
28087 2005-05-30 Wim Taymans <wim@fluendo.com>
28089 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28090 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28092 Avoid typechecking in places where not needed.
28093 Added accessor for malloc_data.
28095 2005-05-30 Wim Taymans <wim@fluendo.com>
28097 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28098 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28099 (gst_pad_configure_sink), (gst_pad_configure_src),
28100 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28101 (gst_pad_start_task):
28102 Propagate errors from _set_caps() in configure_src/sink
28103 functions instead of returning TRUE.
28104 FLUSH events can travel up and downstream
28107 2005-05-30 Wim Taymans <wim@fluendo.com>
28109 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28110 (gst_basesink_activate):
28111 Handle EOS in preroll.
28113 2005-05-30 Wim Taymans <wim@fluendo.com>
28115 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28116 (gst_queue_loop), (gst_queue_handle_src_event):
28117 Remove old pieces of code
28118 Flushing the queue in an upstream event is a very bad idea.
28120 2005-05-26 Andy Wingo <wingo@pobox.com>
28122 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28123 gst_value_set_mini_object so as to add a ref on the object (which
28124 will be removed when the value is unset).
28126 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28127 arg type in ::handoff.
28129 * gst/gstelement.c (gst_element_change_state): Also deactivate
28130 pads in READY->NULL, just in case the element didn't make it to
28131 PAUSED. Wingo tested, Wim approved.
28133 2005-05-26 Wim Taymans <wim@fluendo.com>
28135 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28136 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28137 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28138 A flushing pad cannot be used to alloc_buffer from.
28140 2005-05-26 Wim Taymans <wim@fluendo.com>
28142 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28143 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28144 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28145 (gst_bus_create_watch), (gst_bus_add_watch_full):
28147 Implement a real GSource and use g_main_context_wakeup() to
28148 signal new messages instead of the socketpair.
28150 2005-05-25 Wim Taymans <wim@fluendo.com>
28152 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28153 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28154 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28155 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28156 (gst_pad_send_event), (gst_pad_start_task):
28157 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28158 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28159 (gst_queue_sink_activate), (gst_queue_src_activate),
28160 (gst_queue_change_state):
28162 Fix state changes for non sinks. We now change sinks, then elements
28163 with unconnected srcpads, then the rest.
28164 More efficient queue unlocking in flush and state changes.
28165 Set the pad activate mode even if it does not have an activate
28168 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28170 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28171 Don't go in pull mode for non-seekable sources.
28172 * gst/elements/gsttypefindelement.h:
28173 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28174 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28175 (free_entry), (stop_typefinding),
28176 (gst_type_find_element_handle_event), (find_peek),
28177 (gst_type_find_element_chain), (do_pull_typefind),
28178 (gst_type_find_element_change_state):
28179 Allow typefinding (w/o seeking) in push-mode, simplified version
28180 of what was in 0.8.
28181 * gst/gstutils.c: (gst_buffer_join):
28183 gst_buffer_join() from 0.8.
28185 2005-05-25 Wim Taymans <wim@fluendo.com>
28187 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28188 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28189 (gst_pad_send_event), (gst_pad_start_task):
28190 Disable attempt at mode switching until it is figured out.
28192 2005-05-25 Wim Taymans <wim@fluendo.com>
28194 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28195 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28196 (gst_basesink_finish_preroll), (gst_basesink_chain),
28197 (gst_basesink_loop), (gst_basesink_activate),
28198 (gst_basesink_change_state):
28199 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28200 (gst_basesrc_get_range), (gst_basesrc_loop),
28201 (gst_basesrc_activate):
28202 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28203 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28204 (gst_real_pad_init), (gst_real_pad_set_property),
28205 (gst_real_pad_get_property), (gst_pad_set_active),
28206 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28207 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28208 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28209 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28210 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28211 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28212 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28213 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28214 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28215 (gst_pad_stop_task):
28217 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28218 (gst_queue_loop), (gst_queue_src_activate):
28219 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28220 (gst_task_get_state):
28222 * gst/schedulers/threadscheduler.c:
28223 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28224 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28226 Remove ACTIVE pad flag, use FLUSHING everywhere
28227 Added _pad_chain(), _pad_get_range() to call chain/getrange
28229 Add locks around IS_FLUSHING when reading.
28230 Take STREAM lock in chain(), get_range() functions so plugins
28231 don't need to take it anymore.
28235 2005-05-25 Wim Taymans <wim@fluendo.com>
28237 * tools/gst-launch.c: (event_loop):
28238 Unref message after using its contents instead of
28241 2005-05-24 Wim Taymans <wim@fluendo.com>
28243 * docs/design/draft-ghostpads.txt:
28244 * docs/design/draft-push-pull.txt:
28245 * docs/design/draft-query.txt:
28246 * docs/design/part-overview.txt:
28247 Docs updates, added general overview doc.
28249 2005-05-21 David Schleef <ds@schleef.org>
28251 * docs/gst/tmpl/old/GstBin.sgml:
28252 * docs/gst/tmpl/old/GstBuffer.sgml:
28253 * docs/gst/tmpl/old/GstCaps.sgml:
28254 * docs/gst/tmpl/old/GstClock.sgml:
28255 * docs/gst/tmpl/old/GstCompat.sgml:
28256 * docs/gst/tmpl/old/GstData.sgml:
28257 * docs/gst/tmpl/old/GstElement.sgml:
28258 * docs/gst/tmpl/old/GstEvent.sgml:
28259 * docs/gst/tmpl/old/GstIndex.sgml:
28260 * docs/gst/tmpl/old/GstStructure.sgml:
28261 * docs/gst/tmpl/old/GstTag.sgml:
28262 * docs/gst/tmpl/old/cothreads.sgml:
28263 * docs/gst/tmpl/old/cothreads_compat.sgml:
28264 * docs/gst/tmpl/old/gettext.sgml:
28265 * docs/gst/tmpl/old/gobject2gtk.sgml:
28266 * docs/gst/tmpl/old/grammar.tab.sgml:
28267 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28268 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28269 * docs/gst/tmpl/old/gst_private.sgml:
28270 * docs/gst/tmpl/old/gstaggregator.sgml:
28271 * docs/gst/tmpl/old/gstarch.sgml:
28272 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28273 * docs/gst/tmpl/old/gstbufferstore.sgml:
28274 * docs/gst/tmpl/old/gstdata_private.sgml:
28275 * docs/gst/tmpl/old/gstdisksink.sgml:
28276 * docs/gst/tmpl/old/gstdisksrc.sgml:
28277 * docs/gst/tmpl/old/gstelementfactory.sgml:
28278 * docs/gst/tmpl/old/gstextratypes.sgml:
28279 * docs/gst/tmpl/old/gstfakesink.sgml:
28280 * docs/gst/tmpl/old/gstfakesrc.sgml:
28281 * docs/gst/tmpl/old/gstfdsink.sgml:
28282 * docs/gst/tmpl/old/gstfdsrc.sgml:
28283 * docs/gst/tmpl/old/gstfilesink.sgml:
28284 * docs/gst/tmpl/old/gstfilesrc.sgml:
28285 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28286 * docs/gst/tmpl/old/gstidentity.sgml:
28287 * docs/gst/tmpl/old/gstindexfactory.sgml:
28288 * docs/gst/tmpl/old/gstmarshal.sgml:
28289 * docs/gst/tmpl/old/gstmd5sink.sgml:
28290 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28291 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28292 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28293 * docs/gst/tmpl/old/gstpipefilter.sgml:
28294 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28295 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28296 * docs/gst/tmpl/old/gstshaper.sgml:
28297 * docs/gst/tmpl/old/gstspider.sgml:
28298 * docs/gst/tmpl/old/gstspideridentity.sgml:
28299 * docs/gst/tmpl/old/gststatistics.sgml:
28300 * docs/gst/tmpl/old/gsttee.sgml:
28301 * docs/gst/tmpl/old/gsttimecache.sgml:
28302 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28303 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28304 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28305 * docs/gst/tmpl/old/types.sgml:
28306 I didn't intend to add these or check them in.
28308 2005-05-19 David Schleef <ds@schleef.org>
28310 * configure.ac: Use -no-common everywhere. In a sane world, it
28311 would be the default in libtool, because without it, you can't
28312 build DLLs on Windows.
28313 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28314 * docs/gst/gstreamer-sections.txt:
28315 * docs/gst/tmpl/gstcpu.sgml:
28316 * docs/gst/tmpl/gstdata.sgml:
28317 * docs/gst/tmpl/gstthread.sgml:
28319 2005-05-19 David Schleef <ds@schleef.org>
28321 * gst/gstminiobject.c: (gst_value_set_mini_object),
28322 (gst_value_take_mini_object), (gst_value_get_mini_object):
28323 * gst/gstminiobject.h: Add GValue set/get functions.
28325 2005-05-19 Wim Taymans <wim@fluendo.com>
28327 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28328 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28329 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28331 * gst/gstbus.c: (gst_bus_post):
28332 * gst/gstelement.c: (gst_element_get_random_pad):
28333 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28334 Make subbufer unref the parent in finalize.
28335 some more debugging info.
28338 2005-05-19 Wim Taymans <wim@fluendo.com>
28340 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28341 (gst_basesink_init), (gst_basesink_finalize),
28342 (gst_basesink_activate), (gst_basesink_change_state):
28343 Don't free preroll queue too early.
28345 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28349 Hi, I'm outdated. Please shoot me.
28351 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28353 * gst/gstpipeline.c: (gst_pipeline_send_event):
28354 Do not access variables after they have been deleted.
28356 2005-05-19 Wim Taymans <wim@fluendo.com>
28358 * tools/gst-inspect.c: (print_plugin_features):
28359 A plugin feature does unfortunatly not use the
28362 2005-05-18 Wim Taymans <wim@fluendo.com>
28364 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28365 Port _span() functions to new subbuffers.
28367 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28369 * gst/gstbin.c: (gst_bin_add_func):
28370 Fix clock settery in bins when adding kids after the clock has
28373 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28375 * gst/elements/gstidentity.c: (gst_identity_class_init):
28376 Workaround until signals support GstMiniObject.
28378 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28381 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28383 2005-05-18 Wim Taymans <wim@fluendo.com>
28385 * gst/base/Makefile.am:
28386 * gst/base/gstadapter.c: (gst_adapter_base_init),
28387 (gst_adapter_class_init), (gst_adapter_init),
28388 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28389 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28390 (gst_adapter_flush), (gst_adapter_available),
28391 (gst_adapter_available_fast):
28392 * gst/base/gstadapter.h:
28393 Ported and added adapter to the base classes.
28395 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28398 * gst/gstmessage.c:
28399 Make sure the class is reffed/unreffed once before threads can be
28400 used. Fixes #304551.
28402 2005-05-17 Wim Taymans <wim@fluendo.com>
28404 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28405 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28406 * gst/gstminiobject.c: (gst_mini_object_get_type),
28407 (gst_mini_object_free):
28408 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28409 (gst_pad_push), (gst_pad_push_event):
28410 * gst/gstqueue.c: (gst_queue_change_state):
28411 Don't queue buffers in basesink when we are flushing.
28412 Unref buffer when flushing in basesink.
28413 Flush queue when going to READY
28414 Unref buffer when _push() returns an error.
28415 Don't free MiniObject instance when refcount is incremented
28416 in _finalize() so that we can recover objects.
28418 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28420 * docs/manual/advanced-schedulers.xml:
28421 * docs/manual/appendix-checklist.xml:
28422 * docs/pwg/advanced-clock.xml:
28423 * docs/pwg/advanced-interfaces.xml:
28424 * docs/pwg/advanced-request.xml:
28425 * docs/pwg/advanced-types.xml:
28426 * docs/pwg/intro-preface.xml:
28427 * examples/plugins/example.c: (gst_example_get_type),
28428 (gst_example_class_init), (gst_example_chain),
28429 (gst_example_set_property), (gst_example_get_property),
28430 (gst_example_change_state), (plugin_init):
28431 * examples/plugins/example.h:
28434 2005-05-17 Wim Taymans <wim@fluendo.com>
28436 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28437 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28438 * gst/gstqueue.c: (gst_queue_change_state):
28439 Clear queue when going to READY.
28440 Remove IN_SETCAPS flag too.
28442 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28444 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28445 Remove implicit cast from gboolean to GstElementStateReturn;
28446 make sure we still return failure in paused => ready case if
28447 the parent class fails to change state and our own stop
28450 2005-05-17 Wim Taymans <wim@fluendo.com>
28452 * tools/gst-launch.c: (event_loop):
28453 Message was unreffed too soon.
28455 2005-05-16 Andy Wingo <wingo@pobox.com>
28457 * gst/gstbin.c (sink_iterator_filter): Err... um...
28459 * check/gst/gstbin.c (test_ghost_pads): New test for the
28460 ghosting-if-elements-not-in-same-bin behavior.
28462 2005-05-16 David Schleef <ds@schleef.org>
28464 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28465 accessing refcount directly.
28467 2005-05-15 David Schleef <ds@schleef.org>
28469 * check/Makefile.am: remove GstData checks
28470 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28471 * gst/Makefile.am: add miniobject, remove data
28472 * gst/gst.h: add miniobject, remove data
28473 * gst/gstdata.c: remove
28474 * gst/gstdata.h: remove
28475 * gst/gstdata_private.h: remove
28476 * gst/gsttypes.h: remove GstEvent and GstMessage
28477 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28478 * gst/gstmarshal.list: change BOXED -> OBJECT
28480 Implement GstMiniObject.
28481 * gst/gstminiobject.c:
28482 * gst/gstminiobject.h:
28484 Modify to be subclasses of GstMiniObject.
28485 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28486 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28487 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28488 (gst_subbuffer_get_type), (gst_subbuffer_init),
28489 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28492 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28493 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28494 (_gst_event_copy), (gst_event_new):
28496 * gst/gstmessage.c: (_gst_message_initialize),
28497 (gst_message_get_type), (gst_message_class_init),
28498 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28499 (gst_message_new), (gst_message_new_error),
28500 (gst_message_new_warning), (gst_message_new_tag),
28501 (gst_message_new_state_changed), (gst_message_new_application):
28502 * gst/gstmessage.h:
28503 * gst/gstprobe.c: (gst_probe_perform),
28504 (gst_probe_dispatcher_dispatch):
28506 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28507 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28508 (_gst_query_copy), (gst_query_new):
28510 Update elements for GstData -> GstMiniObject changes
28512 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28513 (gst_queue_chain), (gst_queue_loop):
28514 * gst/elements/gstbufferstore.c:
28515 (gst_buffer_store_add_buffer_func),
28516 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28517 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28518 (gst_fakesink_render):
28519 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28520 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28521 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28522 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28523 (gst_filesrc_create_read):
28524 * gst/elements/gstidentity.c: (gst_identity_class_init):
28525 * gst/elements/gsttypefindelement.c:
28526 (gst_type_find_element_src_event), (free_entry_buffers),
28527 (gst_type_find_element_handle_event):
28528 * libs/gst/dataprotocol/dataprotocol.c:
28529 (gst_dp_header_from_buffer):
28530 * libs/gst/dataprotocol/dataprotocol.h:
28531 * libs/gst/dataprotocol/dp-private.h:
28533 2005-05-15 David Schleef <ds@schleef.org>
28535 * gst/elements/gstelements.c: Don't include headers that were
28538 2005-05-15 David Schleef <ds@schleef.org>
28540 * gst/elements/Makefile.am: Remove some elements that don't
28541 need to be in the core (or even exist at all).
28542 * gst/elements/gstaggregator.c:
28543 * gst/elements/gstaggregator.h:
28544 * gst/elements/gstmd5sink.c:
28545 * gst/elements/gstmd5sink.h:
28546 * gst/elements/gstmultifilesrc.c:
28547 * gst/elements/gstmultifilesrc.h:
28548 * gst/elements/gstpipefilter.c:
28549 * gst/elements/gstpipefilter.h:
28550 * gst/elements/gstshaper.c:
28551 * gst/elements/gstshaper.h:
28552 * gst/elements/gststatistics.c:
28553 * gst/elements/gststatistics.h:
28554 * po/POTFILES.in: Remove above files.
28556 2005-05-14 Andy Wingo <wingo@pobox.com>
28558 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28559 so as to get the refs right.
28560 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28561 unreffing objects that don't pass the filter.
28563 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28564 gst_element_set_bus.
28565 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28566 normal cases, this will destroy the bus.
28568 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28571 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28574 2005-05-13 Andy Wingo <wingo@pobox.com>
28576 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28577 gst_pad_link, call pad_link_maybe_ghosting,
28578 (pad_link_maybe_ghosting): Links pads, making sure that the
28579 elements being linked are in the same bin.
28580 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28581 Helpers for pad_link_maybe_ghosting.
28583 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28586 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28588 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28590 * docs/design/part-element-source.txt:
28593 2005-05-12 Wim Taymans <wim@fluendo.com>
28595 * gst/base/gstbasesink.c: (gst_basesink_init),
28596 (gst_basesink_activate):
28597 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28598 (gst_basesrc_is_seekable):
28599 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28600 (bin_element_is_sink), (gst_bin_change_state):
28601 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28602 * gst/gstelement.h:
28603 Identify sinks by their flag to avoid overly complicated
28605 Do state changes even for elements not reachable from the
28607 BaseSink is a sink now :)
28608 Some more debugging info in the basesrc.
28611 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28613 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28614 Implement _query on a bin, similar to _send_event.
28616 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28618 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28619 Discont event offset format should be GST_FORMAT_BYTES,
28620 not GST_FORMAT_TIME.
28622 2005-05-12 Wim Taymans <wim@fluendo.com>
28624 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28625 Same fix as Ronald's but without the signal.
28627 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28629 * gst/gstutils.c: (gst_element_query_position):
28630 No, an element is not a pad.
28632 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28634 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28635 (gst_bin_get_state):
28636 If a child is removed from a bin while we remove the child from
28637 the bin and while we're retrieving its state, signal this to the
28638 get_state function so we abort the wait (instead of waiting for
28639 a timeout) and can immediately re-iterate over all other elements.
28641 2005-05-12 Wim Taymans <wim@fluendo.com>
28643 * gst/base/Makefile.am:
28644 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28645 (gst_basesrc_start):
28646 * gst/base/gstbasesrc.h:
28647 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28648 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28649 (gst_pushsrc_init), (gst_pushsrc_create):
28650 * gst/base/gstpushsrc.h:
28651 Added is_seekable to BaseSrc
28652 Added simple PushSrc.
28654 2005-05-11 Wim Taymans <wim@fluendo.com>
28656 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28657 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28658 (gst_element_link_pads), (gst_element_query_position),
28659 (gst_element_query_convert), (intersect_caps_func),
28660 (gst_pad_query_position), (gst_pad_query_convert):
28661 Fix refcounting in utils function.
28662 No point in trying to activate a pad when it's added, it could
28663 be added from the state change function and then we deadlock, the
28664 element has to decide what to do.
28666 2005-05-10 Andy Wingo <wingo@pobox.com>
28668 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28669 *all* the arguments.
28671 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28672 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28673 lock (according to the docs -- if this is wrong change the docs).
28675 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28676 flush messages in the NULL state.
28678 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28679 message immediately and return.
28680 (gst_bus_set_flushing): New function. If a bus is flushing, it
28681 flushes out any queued messages and immediately unrefs new
28682 messages. This is so when an element goes to NULL, all of the
28683 unhandled messages coming from it can be freed, and their
28684 references to the element dropped. In other words: message source
28685 ref considered harmful :P
28687 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28688 we're finished with it.
28690 * gst/gstmessage.c (gst_message_new_state_changed):
28692 2005-05-10 Wim Taymans <wim@fluendo.com>
28694 * gst/gstvalue.c: (gst_value_compare_flags),
28695 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28696 (_gst_value_initialize):
28697 Added flags serialize/deserialize/compare code.
28699 2005-05-09 Andy Wingo <wingo@pobox.com>
28701 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28702 Intersect the peer's caps with our caps.
28704 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28706 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28707 * gst/elements/gsttypefindelement.c: (find_peek):
28708 Handle negative offsets better. Fixes decodebin.
28710 2005-05-09 Wim Taymans <wim@fluendo.com>
28712 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28713 (gst_base_transform_event):
28714 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28715 Implement accept_caps.
28716 Fix silly lock/unlock mismatch in base class.
28718 2005-05-09 Wim Taymans <wim@fluendo.com>
28720 * docs/design/draft-push-pull.txt:
28721 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28722 * gst/elements/gstfilesink.c: (gst_filesink_init),
28723 (gst_filesink_query):
28724 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28725 (gst_type_find_handle_src_query), (find_element_get_length):
28726 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28727 * gst/gstelement.h:
28728 * gst/gstmessage.c:
28729 * gst/gstmessage.h:
28730 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28731 (gst_real_pad_get_caps_unlocked),
28732 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28733 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28734 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28735 (gst_real_pad_dispose), (gst_real_pad_finalize),
28736 (gst_pad_load_and_link), (gst_pad_save_thyself),
28737 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28738 (gst_pad_check_pull_range), (gst_pad_pull_range),
28739 (gst_pad_template_get_type), (gst_pad_template_class_init),
28740 (gst_pad_template_init), (gst_pad_template_dispose),
28741 (name_is_valid), (gst_static_pad_template_get),
28742 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28743 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28744 (gst_pad_get_element_private), (gst_pad_start_task),
28745 (gst_pad_pause_task), (gst_pad_stop_task),
28746 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28747 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28748 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28749 (gst_ghost_pad_new):
28751 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28752 (gst_query_new_position), (gst_query_set_position),
28753 (gst_query_parse_position), (gst_query_new_convert),
28754 (gst_query_set_convert), (gst_query_parse_convert):
28756 * gst/gstqueryutils.c:
28757 * gst/gstqueryutils.h:
28758 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28759 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28760 (gst_queue_handle_src_query):
28761 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28762 (gst_element_query_position), (gst_element_query_convert),
28763 (intersect_caps_func), (gst_pad_query_position),
28764 (gst_pad_query_convert):
28766 * tools/gst-inspect.c: (print_pad_info):
28767 * tools/gst-xmlinspect.c: (print_element_info):
28768 Remove old query functions. Ported old code.
28769 Added position/convert helper functions to gstutils.
28770 Reordered gstpad.c code, grouping relevant things.
28771 Remove gst_message_new(), always need to speficy a specific
28775 2005-05-09 Andy Wingo <wingo@pobox.com>
28777 * gst/gstiterator.h: Add some includes.
28779 * gst/gstqueryutils.h: Include more headers.
28782 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28783 some uses of gst_pad_query.
28785 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28786 NULL out parameters.
28787 (gst_query_new_position): New proc, allocates a new position
28790 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28791 gstqueryutils.c to the build.
28793 * gst/gststructure.c (gst_structure_set_valist): Implement with
28794 the generic G_VALUE_COLLECT.
28796 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28798 * gst/Makefile.am: (gst_headers):
28799 Added gstqueryutils.h to the list of headers to install, that was
28800 a 'nachty' move wingo :)
28802 2005-05-06 Andy Wingo <wingo@pobox.com>
28805 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28806 GstData, init a memchunk.
28807 (standard_definitions): Add a few query types, deprecate a few.
28808 (gst_query_get_type): New proc.
28809 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28811 (gst_query_new_application, gst_query_get_structure): New public
28814 * docs/design/draft-query.txt: Removed LINKS from the query types,
28815 because all the rest can be dispatched to other pads -- seemed
28816 ugly to have a query that couldn't be dispatched. internal_links
28817 is fine as a pad method.
28819 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28820 in gstpad.c, but maintain binary compatibility for the moment.
28821 Will fix before 0.9 is out.
28823 * gst/gstqueryutils.c:
28824 * gst/gstqueryutils.h: New files, implement 3 methods for each
28825 query type: parse_query, parse_response, and set. Probably need an
28828 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28830 * gst/elements/gstfilesink.c (gst_filesink_query2):
28831 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28832 query_types, and formats methods.
28834 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28835 (gst_pad_set_query2_function): New functions.
28836 (gst_real_pad_init): Set query2_default as the default query2
28837 function. Basically just dispatches to internally linked pads.
28841 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28842 without using the atomic operations. Only one thread can possibly
28843 be accessing the data at this point. Changed so as to avoid
28844 gst_atomic operations.
28846 2005-05-06 Wim Taymans <wim@fluendo.com>
28848 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28849 Also set caps if we use the fallback buffer alloc.
28851 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28853 * docs/gst/Makefile.am:
28854 * docs/gst/gstreamer-docs.sgml:
28855 * docs/gst/gstreamer-sections.txt:
28856 * docs/gst/tmpl/gstatomic.sgml:
28857 * docs/gst/tmpl/gstmemchunk.sgml:
28858 * testsuite/elements/struct_i386.h:
28859 * win32/GStreamer.vcproj:
28861 Purge GstAtomic stuff from docs and win32 makefiles as well
28863 2005-05-06 Wim Taymans <wim@fluendo.com>
28865 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28866 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28867 * gst/gstpad.c: (gst_pad_peer_get_caps):
28868 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28869 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28870 (gst_queue_src_activate), (gst_queue_change_state):
28872 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28873 (intersect_caps_func):
28874 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28875 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28876 Some fixes for the peer_get_caps() change.
28878 2005-05-06 Wim Taymans <wim@fluendo.com>
28880 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28881 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28882 (gst_basesink_activate):
28883 Actually do something with error codes returned from the push
28886 2005-05-06 Wim Taymans <wim@fluendo.com>
28888 * docs/design/part-element-sink.txt:
28889 * docs/design/part-element-source.txt:
28890 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28891 (gst_basesink_event), (gst_basesink_activate):
28892 * gst/base/gstbasesink.h:
28893 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28894 (gst_basesrc_activate):
28895 * gst/base/gstbasesrc.h:
28896 * gst/gstelement.c: (gst_element_pads_activate):
28897 Some more documentation.
28898 Fixed scheduling decision in _pads_activate().
28900 2005-05-05 Andy Wingo <wingo@pobox.com>
28902 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28905 2005-05-05 Wim Taymans <wim@fluendo.com>
28907 * gst/base/Makefile.am:
28908 * gst/base/gstbasesink.h:
28909 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28910 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28911 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28912 (gst_collectpads_class_init), (gst_collectpads_init),
28913 (gst_collectpads_finalize), (gst_collectpads_new),
28914 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28915 (find_pad), (gst_collectpads_remove_pad),
28916 (gst_collectpads_is_active), (gst_collectpads_collect),
28917 (gst_collectpads_collect_range), (gst_collectpads_start),
28918 (gst_collectpads_stop), (gst_collectpads_peek),
28919 (gst_collectpads_pop), (gst_collectpads_available),
28920 (gst_collectpads_read), (gst_collectpads_flush),
28921 (gst_collectpads_chain):
28922 * gst/base/gstcollectpads.h:
28923 * gst/elements/Makefile.am:
28924 * gst/elements/gstelements.c:
28925 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28926 (gst_fakesink_get_times), (gst_fakesink_event),
28927 (gst_fakesink_preroll), (gst_fakesink_render):
28928 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28929 (gst_filesink_init), (gst_filesink_set_location),
28930 (gst_filesink_open_file), (gst_filesink_close_file),
28931 (gst_filesink_pad_query), (gst_filesink_event),
28932 (gst_filesink_render), (gst_filesink_change_state):
28933 * gst/elements/gstfilesink.h:
28934 Added object to help in making collect pad based elements.
28936 Make event function in sink baseclass return gboolean.
28938 2005-05-05 Wim Taymans <wim@fluendo.com>
28940 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28941 (gst_bin_get_by_name):
28943 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28944 (gst_clock_finalize):
28945 * gst/gstdata.c: (gst_data_replace):
28947 * gst/gstelement.c: (gst_element_request_pad),
28948 (gst_element_pads_activate):
28949 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28950 (gst_object_unref):
28951 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28952 (gst_pad_set_checkgetrange_function),
28953 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28954 (gst_pad_check_pull_range), (gst_pad_pull_range),
28955 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28956 (gst_pad_pause_task), (gst_pad_stop_task):
28957 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28958 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28959 Fix name lookup in GstBin.
28960 Added _data_replace() function and _buffer_replace()
28961 Use finalize method to clean up clock.
28962 Fix refcounting on request pads.
28963 Fix pad schedule mode error.
28964 Some more object refcounting debug info,
28967 2005-05-04 Andy Wingo <wingo@pobox.com>
28969 * check/Makefile.am:
28970 * docs/gst/tmpl/gstatomic.sgml:
28971 * docs/gst/tmpl/gstplugin.sgml:
28972 * gst/base/gstbasesink.c: (gst_basesink_activate):
28973 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28974 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28975 (gst_basesrc_query), (gst_basesrc_set_property),
28976 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28977 (gst_basesrc_activate):
28978 * gst/base/gstbasesrc.h:
28979 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28980 (gst_base_transform_src_activate):
28981 * gst/elements/gstelements.c:
28982 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28983 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28984 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28985 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28986 (gst_type_find_element_checkgetrange),
28987 (gst_type_find_element_activate):
28988 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28989 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28990 (gst_caps_load_thyself):
28991 * gst/gstelement.c: (gst_element_pads_activate),
28992 (gst_element_save_thyself), (gst_element_restore_thyself):
28993 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28994 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28996 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28997 (gst_xml_parse_file), (gst_xml_parse_memory),
28998 (gst_xml_get_element), (gst_xml_make_element):
28999 * gst/indexers/gstfileindex.c: (gst_file_index_load),
29000 (_file_index_id_save_xml), (gst_file_index_commit):
29001 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29002 (read_enum), (load_pad_template), (load_feature), (load_plugin),
29004 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29005 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29006 * tools/gst-complete.c: (main):
29007 * tools/gst-compprep.c: (main):
29008 * tools/gst-inspect.c: (print_element_properties_info):
29009 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29010 * tools/gst-xmlinspect.c: (print_element_properties):
29013 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
29015 * gst/gstplugin.c: (gst_plugin_check_module),
29016 (gst_plugin_check_file), (gst_plugin_load_file):
29017 apply patch from #172526 to make register work on MacOSX
29019 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29021 * docs/gst/tmpl/gstconfig.sgml:
29022 * gst/gstconfig.h.in:
29023 move documentation for some symbols. Add doc for GST_PTR_FORMAT
29024 * testsuite/debug/printf_extension.c: (main):
29025 Do not use GST_PTR_FORMAT on pointers to types with
29026 sizeof < sizeof(gpointer). Fixes test on 64-bit
29027 * testsuite/elements/property.h:
29028 use correct printf format
29030 2005-05-02 Wim Taymans <wim@fluendo.com>
29032 * docs/design/draft-push-pull.txt:
29033 * docs/design/draft-query.txt:
29034 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29035 (gst_basesrc_start):
29036 Added draft for new query API.
29037 Added draft for better selecting scheduling methods.
29038 Make basesrc ignore length if the subclass does not support
29041 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29044 possible fixes for automake-1.5 - _LIBADD is reserved
29046 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29048 * docs/faq/Makefile.am:
29049 * docs/manual/Makefile.am:
29050 * docs/manuals.mak:
29051 * docs/pwg/Makefile.am:
29053 possible fixes for automake-1.5
29055 2005-04-28 Wim Taymans <wim@fluendo.com>
29057 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29058 (gst_basesink_pad_getcaps), (gst_basesink_init),
29059 (gst_basesink_do_sync):
29060 * gst/gstclock.c: (gst_clock_entry_new):
29061 * gst/gstevent.c: (gst_event_discont_get_value):
29062 * gst/gstpipeline.c: (pipeline_bus_handler),
29063 (gst_pipeline_change_state):
29064 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29065 Better debugging of clocking info.
29066 Allow NULL values when getting discont values.
29068 2005-04-27 Wim Taymans <wim@fluendo.com>
29070 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29071 * check/gst/gstpad.c: (gst_pad_suite):
29072 Increase timeout for checks.
29074 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29076 * check/Makefile.am:
29077 fix the broken rule for cleanup. Apparently this rule is
29078 only needed on FC2, so maybe this warrants further autotool
29081 2005-04-26 Wim Taymans <wim@fluendo.com>
29083 * gst/gsttrashstack.h:
29084 Ooohh. a nasty one! After having a failed pop() from the stack,
29085 it's possible that the stack is empty. In that case, don't
29086 follow the NULL pointer.
29088 2005-04-25 Wim Taymans <wim@fluendo.com>
29090 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29091 (gst_pad_set_checkgetrange_function),
29092 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29093 (gst_pad_check_pull_range), (gst_pad_pull_range),
29094 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29095 (gst_pad_pause_task), (gst_pad_stop_task):
29096 * gst/gstplugin.c: (gst_plugin_load):
29098 Remove gst_library_load as it does more harm than good with
29099 the new g_module flags.
29100 Revert bogus caps template check in pad linking, pad caps
29101 are important when linking not the template, which is more
29102 general than the current caps.
29104 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29106 * gst/autoplug/.cvsignore:
29107 * gst/autoplug/Makefile.am:
29108 * gst/autoplug/gstsearchfuncs.c:
29109 * gst/autoplug/gstsearchfuncs.h:
29110 * gst/autoplug/gstspider.c:
29111 * gst/autoplug/gstspider.h:
29112 * gst/autoplug/gstspideridentity.c:
29113 * gst/autoplug/gstspideridentity.h:
29114 * gst/autoplug/spidertest.c:
29117 2005-04-25 Wim Taymans <wim@fluendo.com>
29119 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29120 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29121 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29122 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29124 Added stubs for unimplemented functions.
29126 2005-04-24 David Schleef <ds@schleef.org>
29128 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29131 2005-04-24 David Schleef <ds@schleef.org>
29133 Convert everything from GstAtomicInt to g_atomic_int_*, and
29138 * gst/gstatomic_impl.h:
29146 * gst/gstdata_private.h:
29150 * gst/gstmessage.c:
29153 * gst/gststructure.c:
29154 * gst/gststructure.h:
29155 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29158 2005-04-24 David Schleef <ds@schleef.org>
29160 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29161 make the regressions tests work. Remove some code that is no
29163 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29164 Disable warning for pads without templates.
29166 2005-04-24 David Schleef <ds@schleef.org>
29168 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29169 functions that handle filtered links.
29170 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29172 * gst/gstutils.c: Fix/remove utility functions that handle
29175 * gst/gstvalue.c: Add serialization/deserialization of caps
29176 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29177 requires fixing so that the filter caps notation creates
29178 a capsfilter element and sets the filter_caps property. I
29179 think everyone probably wants to keep the shorthand notation.
29180 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29181 * docs/gst/tmpl/gstpad.sgml:
29183 * gst/elements/gstelements.c: Register capsfilter element.
29184 * gst/Makefile.am: fix spacing
29185 * docs/random/ds/0.9-suggested-changes: random
29187 2005-04-23 David Schleef <ds@schleef.org>
29189 * gst/elements/Makefile.am:
29190 * gst/elements/gstcapsfilter.c: New element that acts like an
29191 identity, but filters caps. Will eventually replace filtered
29192 caps in pad linking.
29193 * gst/gstutils.c: (gst_element_create_all_pads): New function
29194 to create all the ALWAYS pads that are registered with an
29195 element class. This functionality should eventually be
29196 merged in with GstElement initialization.
29198 * testsuite/trigger/README: part of trigger test code that should
29199 have been checked in a long time ago.
29201 2005-04-23 David Schleef <ds@schleef.org>
29203 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29204 needed with new versions of libtool (nobody will confirm this),
29205 and hard to carry around.
29206 * gst/autoplug/Makefile.am:
29207 * gst/base/Makefile.am:
29208 * gst/elements/Makefile.am:
29209 * gst/indexers/Makefile.am:
29210 * gst/schedulers/Makefile.am:
29211 * libs/gst/bytestream/Makefile.am:
29212 * libs/gst/control/Makefile.am:
29213 * libs/gst/dataprotocol/Makefile.am:
29214 * libs/gst/getbits/Makefile.am:
29216 2005-04-21 Wim Taymans <wim@fluendo.com>
29218 * docs/design/draft-push-pull.txt:
29219 * docs/design/part-MT-refcounting.txt:
29220 * docs/design/part-TODO.txt:
29221 * docs/design/part-caps.txt:
29222 * docs/design/part-events.txt:
29223 * docs/design/part-gstbus.txt:
29224 * docs/design/part-gstpipeline.txt:
29225 * docs/design/part-messages.txt:
29226 * docs/design/part-push-pull.txt:
29227 * docs/design/part-query.txt:
29230 2005-04-21 Wim Taymans <wim@fluendo.com>
29232 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29233 (gst_message_new), (gst_message_new_error),
29234 (gst_message_new_warning), (gst_message_new_tag),
29235 (gst_message_new_state_changed), (gst_message_new_application),
29236 (gst_message_get_structure):
29237 * gst/gstmessage.h:
29238 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29239 (gst_structure_copy_conditional):
29240 Use parent refcount in GstMessage to ensure GstStructure
29242 Cleaned up headers a bit.
29245 2005-04-20 Wim Taymans <wim@fluendo.com>
29247 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29248 (gst_basesink_pad_getcaps), (gst_basesink_init),
29249 (gst_basesink_chain_unlocked):
29250 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29251 (gst_type_find_helper):
29252 * gst/elements/gsttypefindelement.c:
29253 (gst_type_find_element_have_type), (gst_type_find_element_init),
29254 (stop_typefinding), (gst_type_find_element_handle_event),
29255 (find_suggest), (gst_type_find_element_chain),
29256 (gst_type_find_element_checkgetrange),
29257 (gst_type_find_element_getrange), (do_typefind),
29258 (gst_type_find_element_activate):
29259 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29260 (gst_buffer_default_free), (gst_buffer_default_copy),
29261 (gst_buffer_set_caps):
29262 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29263 (gst_caps_replace):
29264 * gst/gstmessage.c: (gst_message_new),
29265 (gst_message_new_state_changed):
29266 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29267 (gst_pad_set_checkgetrange_function),
29268 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29269 (gst_pad_set_caps), (gst_pad_check_pull_range),
29270 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29272 * gst/gsttypefind.c: (gst_type_find_register):
29273 Make gst_caps_replace() work like other _replace() functions.
29274 Use _caps_replace() where possible.
29275 Make sure _message_new() initialises its field.
29276 Add gst_static_pad_template_get_caps()
29279 2005-04-18 Andy Wingo <wingo@pobox.com>
29281 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29282 on the peer, not the pad. I think that was a typo. Pass an extra
29283 arg to see if random access is possible. Activate the pads as
29284 PULL_RANGE if possible.
29286 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29288 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29289 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29292 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29294 * docs/faq/using.xml:
29295 Add note on gstreamer-properties (#154996).
29297 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29299 * docs/random/bbb/optional-properties:
29300 Some analysis on optional properties.
29302 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29304 * docs/gst/tmpl/gstelementfactory.sgml:
29305 * gst/gstelement.h:
29306 * gst/gstelementfactory.c: (gst_element_factory_init),
29307 (gst_element_factory_cleanup), (gst_element_register),
29308 (__gst_element_factory_add_static_pad_template),
29309 (gst_element_factory_get_static_pad_templates),
29310 (gst_element_factory_can_src_caps),
29311 (gst_element_factory_can_sink_caps):
29312 * gst/registries/Makefile.am:
29313 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29314 (gst_xml_registry_class_init), (gst_xml_registry_init),
29315 (gst_xml_registry_new), (gst_xml_registry_set_property),
29316 (gst_xml_registry_get_property), (get_time), (make_dir),
29317 (gst_xml_registry_get_perms_func),
29318 (plugin_times_older_than_recurse), (plugin_times_older_than),
29319 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29320 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29321 (add_to_char_array), (read_string), (read_uint), (read_enum),
29322 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29323 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29324 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29325 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29326 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29327 (gst_xml_registry_rebuild):
29328 * gst/registries/gstlibxmlregistry.h:
29329 * tools/gst-compprep.c: (main):
29330 * tools/gst-inspect.c: (print_pad_templates_info):
29331 * tools/gst-xmlinspect.c: (print_element_info):
29332 Use libxml2 for registry parsing, use staticpadtemplates in
29333 elementfactories. Makes gst_init() +/- 10x faster.
29335 2005-04-12 Wim Taymans <wim@fluendo.com>
29337 * gst/base/Makefile.am:
29338 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29339 (gst_basesink_pad_getcaps), (gst_basesink_init),
29340 (gst_basesink_event), (gst_basesink_change_state):
29341 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29342 (gst_basesrc_init), (gst_basesrc_query),
29343 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29344 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29345 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29346 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29347 (gst_basesrc_stop), (gst_basesrc_activate),
29348 (gst_basesrc_change_state):
29349 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29350 (helper_find_suggest), (gst_type_find_helper):
29351 * gst/base/gsttypefindhelper.h:
29352 * gst/elements/Makefile.am:
29353 * gst/elements/gstelements.c:
29354 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29355 (gst_fakesink_get_times), (gst_fakesink_event),
29356 (gst_fakesink_preroll), (gst_fakesink_render):
29357 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29358 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29359 (gst_fakesrc_get_property), (gst_fakesrc_create),
29360 (gst_fakesrc_start), (gst_fakesrc_stop):
29361 * gst/elements/gstfakesrc.h:
29362 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29363 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29364 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29365 (gst_filesrc_create_read), (gst_filesrc_create),
29366 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29367 (gst_filesrc_start):
29368 * gst/elements/gsttypefindelement.c:
29369 (gst_type_find_element_have_type), (gst_type_find_element_init),
29370 (start_typefinding), (stop_typefinding), (push_buffer_store),
29371 (gst_type_find_element_handle_event),
29372 (gst_type_find_element_chain),
29373 (gst_type_find_element_checkgetrange),
29374 (gst_type_find_element_getrange), (do_typefind),
29375 (gst_type_find_element_activate),
29376 (gst_type_find_element_change_state):
29377 * gst/elements/gsttypefindelement.h:
29378 * gst/gstpipeline.c: (pipeline_bus_handler):
29379 Added typefind helper.
29380 Small preroll fix in the base sink.
29381 Disable typefind code in basesrc.
29382 Crude port of typefindelement.
29386 2005-04-11 Wim Taymans <wim@fluendo.com>
29388 * check/gst/gstbus.c: (gstbus_suite):
29389 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29390 * check/gstcheck.h:
29391 Fix up the timeout so that the test does not fail.
29393 2005-04-06 Wim Taymans <wim@fluendo.com>
29396 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29397 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29398 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29399 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29400 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29401 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29402 (gst_basesrc_stop), (gst_basesrc_activate),
29403 (gst_basesrc_change_state), (basesrc_find_peek),
29404 (basesrc_find_suggest), (gst_basesrc_type_find):
29405 * gst/base/gstbasesrc.h:
29406 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29407 (gst_filesrc_class_init), (gst_filesrc_init),
29408 (gst_filesrc_finalize), (gst_filesrc_set_location),
29409 (gst_filesrc_set_property), (gst_filesrc_get_property),
29410 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29411 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29412 (gst_filesrc_create_read), (gst_filesrc_create),
29413 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29414 * gst/elements/gstfilesrc.h:
29415 * gst/gstelement.c: (gst_element_get_state_func),
29416 (gst_element_lost_state), (gst_element_pads_activate):
29417 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29418 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29419 (gst_pad_pull_range):
29421 More work on the generic source base class, implement seeking,
29423 Make filesrc extend the base source class.
29424 Added gst_pad_set_checkgetrange_function to GstPad.
29426 2005-04-06 Andy Wingo <wingo@pobox.com>
29428 * pkgconfig/gstreamer-base.pc.in:
29429 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29431 * pkgconfig/Makefile.am:
29432 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29434 2005-04-04 Wim Taymans <wim@fluendo.com>
29436 * gst/base/Makefile.am:
29438 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29439 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29440 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29441 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29442 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29443 (gst_basesrc_base_init), (gst_basesrc_class_init),
29444 (gst_basesrc_init), (gst_basesrc_get_formats),
29445 (gst_basesrc_get_query_types), (gst_basesrc_query),
29446 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29447 (gst_basesrc_set_property), (gst_basesrc_get_property),
29448 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29449 (gst_basesrc_loop), (gst_basesrc_activate),
29450 (gst_basesrc_change_state):
29451 * gst/base/gstbasesrc.h:
29452 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29453 (gst_fakesrc_class_init), (gst_fakesrc_init),
29454 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29455 (gst_fakesrc_get_property), (gst_fakesrc_create):
29456 * gst/elements/gstfakesrc.h:
29457 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29458 (gst_filesrc_open_file), (gst_filesrc_loop),
29459 (gst_filesrc_activate), (filesrc_find_peek),
29460 (gst_filesrc_type_find):
29461 Made base source class, make fakesrc extend it.
29462 Add comments to basesink class.
29463 Some filesrc cleanup.
29465 2005-03-31 David Schleef <ds@schleef.org>
29467 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29468 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29469 expected to link against libgstreamer.
29470 * gst/base/Makefile.am: link against libgstreamer
29471 * gst/elements/Makefile.am: same
29473 2005-03-31 Andy Wingo <wingo@pobox.com>
29475 * tests/instantiate/Makefile.am:
29476 * tests/instantiate/caps.c: Add test to test speed of caps copy
29479 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29480 GMemChunk to be fair.
29482 * gst/gsttrashstack.h: Remove warning about using the fallback
29483 trash stack implementation, it's still faster than malloc.
29485 2005-03-30 Andy Wingo <wingo@pobox.com>
29487 * tests/complexity.c: Add a copyright.
29489 2005-03-31 Wim Taymans <wim@fluendo.com>
29491 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29492 (gst_base_transform_class_init), (gst_base_transform_init),
29493 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29494 (gst_base_transform_get_property),
29495 (gst_base_transform_sink_activate),
29496 (gst_base_transform_src_activate),
29497 (gst_base_transform_change_state):
29498 * gst/base/gstbasetransform.h:
29499 * gst/elements/gstidentity.c: (gst_identity_class_init),
29500 (gst_identity_event), (gst_identity_check_perfect),
29501 (gst_identity_transform), (gst_identity_start),
29502 (gst_identity_stop):
29503 Added start/stop methods to transform base class so subclasses
29504 don't need to deal with state changes even.
29506 2005-03-31 Wim Taymans <wim@fluendo.com>
29508 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29509 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29511 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29512 (gst_pad_pull_range):
29513 Added rate to the discont event to prepare for variable speed
29514 and reverse playback.
29516 2005-03-29 David Schleef <ds@schleef.org>
29519 * testsuite/trigger/Makefile.am:
29520 * testsuite/trigger/trigger.c: A little example program to show
29521 how trigger-based elements can work.
29523 2005-03-29 Wim Taymans <wim@fluendo.com>
29525 * gst/base/Makefile.am:
29527 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29528 (gst_basesink_base_init), (gst_basesink_class_init),
29529 (gst_basesink_pad_getcaps), (gst_basesink_init),
29530 (gst_basesink_activate), (gst_basesink_change_state):
29531 * gst/base/gstbasesink.h:
29532 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29533 (gst_base_transform_base_init), (gst_base_transform_finalize),
29534 (gst_base_transform_class_init), (gst_base_transform_init),
29535 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29536 (gst_base_transform_event), (gst_base_transform_getrange),
29537 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29538 (gst_base_transform_set_property),
29539 (gst_base_transform_get_property),
29540 (gst_base_transform_sink_activate),
29541 (gst_base_transform_src_activate),
29542 (gst_base_transform_change_state):
29543 * gst/base/gstbasetransform.h:
29544 * gst/elements/gstidentity.c: (gst_identity_finalize),
29545 (gst_identity_class_init), (gst_identity_init),
29546 (gst_identity_event), (gst_identity_check_perfect),
29547 (gst_identity_transform), (gst_identity_set_property),
29548 (gst_identity_get_property), (gst_identity_change_state):
29549 * gst/elements/gstidentity.h:
29550 * gst/gstelement.c: (gst_element_get_state_func),
29551 (gst_element_lost_state), (gst_element_pads_activate):
29552 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29553 (gst_pad_check_pull_range), (gst_pad_pull_range):
29555 Simplify pad activation.
29556 Added function to check if pull_range can be performed.
29557 Error out when pulling inactive or flushing pads.
29558 Removed const from refcounted types as it does not make sense.
29559 Simplify pad templates in basesink
29560 Added base class for simple 1-to-1 transforms.
29561 Make identity subclass the base transform.
29563 2005-03-29 Andy Wingo <wingo@pobox.com>
29565 * docs/libs/gstreamer-libs-overrides.txt:
29566 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29567 really don't understand what's going on, but like whatever. I want
29570 * docs/gst/Makefile.am:
29571 * docs/libs/Makefile.am: Dist the overrides files.
29573 * check/Makefile.am (clean-local): Remove .libs directories.
29575 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29576 elements to EXTRA_DIST, so po/ files are happy.
29578 * po/POTFILES.in: Er, remove it here.
29580 * po/POTFILES: Remove gstspider.c.
29582 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29584 * docs/libs/gstreamer-libs-docs.sgml:
29585 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29588 * tests/complexity.c (main): Set the length of the preroll queue
29589 on the sinks to prevent a lockup.
29591 * libs/gst/dataprotocol/Makefile.am:
29592 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29593 the same as the one in check/gst-libs/gdp.c.
29595 * po/, docs/gst/: Commit automatic changes to docs and po files.
29597 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29598 the versioned libgstbase.
29600 * check/Makefile.am: Depend on an unversioned gst-register, seems
29601 to make autoconf happier.
29603 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29605 2005-03-28 Wim Taymans <wim@fluendo.com>
29608 * docs/design/part-gstelement.txt:
29609 * docs/design/part-negotiation.txt:
29610 * docs/design/part-preroll.txt:
29611 * docs/design/part-scheduling.txt:
29612 * docs/design/part-states.txt:
29614 * gst/base/Makefile.am:
29616 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29617 (gst_basesink_base_init), (gst_basesink_class_init),
29618 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29619 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29620 (gst_basesink_set_pad_functions),
29621 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29622 (gst_basesink_set_property), (gst_basesink_get_property),
29623 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29624 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29625 (gst_basesink_preroll_queue_push),
29626 (gst_basesink_preroll_queue_empty),
29627 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29628 (gst_basesink_event), (gst_basesink_get_times),
29629 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29630 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29631 (gst_basesink_loop), (gst_basesink_activate),
29632 (gst_basesink_change_state):
29633 * gst/base/gstbasesink.h:
29634 * gst/elements/Makefile.am:
29635 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29636 (gst_fakesink_class_init), (gst_fakesink_init),
29637 (gst_fakesink_set_property), (gst_fakesink_get_property),
29638 (gst_fakesink_get_times), (gst_fakesink_event),
29639 (gst_fakesink_preroll), (gst_fakesink_render),
29640 (gst_fakesink_change_state):
29641 * gst/elements/gstfakesink.h:
29642 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29643 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29644 * gst/gstelement.c: (gst_element_add_pad),
29645 (gst_element_get_state_func), (gst_element_abort_state),
29646 (gst_element_commit_state), (gst_element_lost_state),
29647 (gst_element_set_state), (gst_element_pads_activate):
29648 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29649 * gst/gstpipeline.c: (gst_pipeline_send_event),
29650 (gst_pipeline_change_state):
29651 Added state change code.
29652 Added/updated docs.
29653 Added sink base class, make fakesink extend the base class.
29654 Small cleanups in GstPipeline.
29656 2005-03-26 David Schleef <ds@schleef.org>
29658 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29659 is broken and should be implemented in a different library.
29660 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29661 * gst/gst.h: remove gstcpu.h
29662 * gst/gstcpu.c: remove
29663 * gst/gstcpu.h: remove
29664 * gst/Makefile.am.future: Remove this file. It's ancient.
29666 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29668 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29669 (gst_bin_send_event):
29670 Add default event/set_manager handlers. The set_manager handler
29671 takes care that the manager is distributed over kids that were
29672 already in the bin before the manager was set. The event handler
29673 is a utility virtual function that sends the event over all sinks,
29674 so that gst_element_send_event (bin, event); has the expected
29676 * gst/gstpad.c: (gst_pad_event_default):
29677 Re-install default event handling for discontinuities, so that
29678 seeking works without requiring hacks in applications or extra
29680 * gst/gstpipeline.c: (gst_pipeline_class_init),
29681 (gst_pipeline_send_event):
29682 Half hack, half utility: set a pipeline to PAUSED for seek events,
29683 since that is the only way we can guarantee a/v sync. Means that
29684 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29685 and it "just works".
29687 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29689 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29690 Lock/unlock mismatch.
29692 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29694 * docs/faq/gst-uninstalled:
29695 add gst-plugins-base
29696 * docs/gst/Makefile.am:
29697 don't error out until docs are fixed
29698 * docs/gst/gstreamer.types:
29701 2005-03-22 Wim Taymans <wim@fluendo.com>
29703 * check/Makefile.am:
29704 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29705 * gst/gststructure.c: (gst_structure_set_valist),
29706 (gst_structure_copy_conditional):
29707 Activated more tests.
29708 Added message test.
29709 Added G_TYPE_POINTER to GstStructure.
29712 2005-03-22 Wim Taymans <wim@fluendo.com>
29714 * docs/design/part-TODO.txt:
29715 * docs/design/part-events.txt:
29716 * docs/design/part-gstbin.txt:
29717 * docs/design/part-gstbus.txt:
29718 * docs/design/part-gstpipeline.txt:
29719 * docs/design/part-messages.txt:
29721 * gst/gstmessage.c:
29724 2005-03-21 Wim Taymans <wim@fluendo.com>
29726 * gst/gstbus.c: (gst_bus_post):
29727 Fix copy-and-paste error.
29729 2005-03-21 Wim Taymans <wim@fluendo.com>
29731 * check/Makefile.am:
29733 * gst/elements/Makefile.am:
29734 * gst/elements/gstelements.c:
29735 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29736 (gst_fakesink_event), (gst_fakesink_chain):
29737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29738 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29739 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29740 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29741 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29742 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29743 (gst_fakesrc_loop), (gst_fakesrc_activate),
29744 (gst_fakesrc_change_state):
29745 * gst/elements/gstfakesrc.h:
29746 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29747 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29748 (gst_filesrc_open_file), (gst_filesrc_loop),
29749 (gst_filesrc_activate), (gst_filesrc_change_state),
29750 (filesrc_find_peek), (filesrc_find_suggest),
29751 (gst_filesrc_type_find):
29752 * gst/elements/gstidentity.c: (gst_identity_finalize),
29753 (gst_identity_class_init), (gst_identity_init),
29754 (gst_identity_proxy_getcaps), (identity_queue_push),
29755 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29756 (gst_identity_getrange), (gst_identity_chain),
29757 (gst_identity_sink_loop), (gst_identity_src_loop),
29758 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29759 (gst_identity_set_property), (gst_identity_get_property),
29760 (gst_identity_change_state):
29761 * gst/elements/gstidentity.h:
29762 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29763 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29764 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29765 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29766 (gst_tee_sink_activate):
29767 * gst/elements/gsttee.h:
29768 * gst/gst.c: (gst_register_core_elements), (init_post):
29770 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29771 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29772 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29773 (gst_bin_change_state):
29775 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29776 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29777 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29778 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29779 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29780 (bus_watch_callback), (bus_watch_destroy),
29781 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29782 (poll_timeout), (gst_bus_poll):
29786 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29787 (gst_element_post_message), (gst_element_message_full),
29788 (gst_element_get_state_func), (gst_element_get_state),
29789 (gst_element_abort_state), (gst_element_commit_state),
29790 (gst_element_lost_state), (gst_element_set_state),
29791 (gst_element_pads_activate), (gst_element_change_state),
29792 (gst_element_dispose), (gst_element_set_manager_func),
29793 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29794 (gst_element_set_manager), (gst_element_get_manager),
29795 (gst_element_set_bus), (gst_element_get_bus),
29796 (gst_element_set_scheduler), (gst_element_get_scheduler):
29797 * gst/gstelement.h:
29798 * gst/gstevent.c: (gst_event_new_segment_seek),
29799 (gst_event_new_flush):
29801 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29802 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29803 (gst_message_new_eos), (gst_message_new_error),
29804 (gst_message_new_warning), (gst_message_new_tag),
29805 (gst_message_new_state_changed), (gst_message_new_application),
29806 (gst_message_get_structure), (gst_message_parse_tag),
29807 (gst_message_parse_state_changed), (gst_message_parse_error),
29808 (gst_message_parse_warning):
29809 * gst/gstmessage.h:
29810 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29811 (gst_real_pad_set_property), (gst_pad_set_active),
29812 (gst_pad_is_active), (gst_pad_set_blocked_async),
29813 (gst_pad_set_blocked), (gst_pad_is_blocked),
29814 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29815 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29816 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29817 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29818 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29819 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29820 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29821 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29822 (gst_pad_set_caps), (gst_pad_configure_sink),
29823 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29824 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29825 (gst_real_pad_dispose), (gst_real_pad_finalize),
29826 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29827 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29828 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29830 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29831 (pipeline_bus_handler), (gst_pipeline_change_state),
29832 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29833 * gst/gstpipeline.h:
29835 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29836 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29837 (gst_queue_link_src), (gst_queue_bufferalloc),
29838 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29839 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29840 (gst_queue_loop), (gst_queue_handle_src_event),
29841 (gst_queue_handle_src_query), (gst_queue_src_activate),
29842 (gst_queue_change_state):
29844 * gst/gstscheduler.c: (gst_scheduler_init),
29845 (gst_scheduler_dispose), (gst_scheduler_create_task),
29846 (gst_scheduler_factory_create):
29847 * gst/gstscheduler.h:
29848 * gst/gststructure.c: (gst_structure_get_type),
29849 (gst_structure_copy_conditional):
29850 * gst/gststructure.h:
29851 * gst/gsttaginterface.h:
29852 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29853 (gst_task_init), (gst_task_dispose), (gst_task_create),
29854 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29860 * gst/schedulers/Makefile.am:
29861 * gst/schedulers/cothreads_compat.h:
29862 * gst/schedulers/entryscheduler.c:
29863 * gst/schedulers/faircothreads.c:
29864 * gst/schedulers/faircothreads.h:
29865 * gst/schedulers/fairscheduler.c:
29866 * gst/schedulers/gstbasicscheduler.c:
29867 * gst/schedulers/gstoptimalscheduler.c:
29868 * gst/schedulers/gthread-cothreads.h:
29869 * gst/schedulers/threadscheduler.c:
29870 (gst_thread_scheduler_task_get_type),
29871 (gst_thread_scheduler_task_class_init),
29872 (gst_thread_scheduler_task_init),
29873 (gst_thread_scheduler_task_start),
29874 (gst_thread_scheduler_task_stop),
29875 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29876 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29877 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29878 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29880 * libs/gst/Makefile.am:
29881 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29882 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29883 (gst_file_pad_parent_set):
29884 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29885 (gst_dp_event_from_packet):
29886 * tests/complexity.c: (main):
29887 * tests/mass_elements.c: (main):
29888 * testsuite/states/locked.c: (message_received), (main):
29889 * testsuite/states/parent.c: (main):
29890 * tools/gst-inspect.c: (print_element_flag_info),
29891 (print_implementation_info), (print_pad_info):
29892 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29894 * tools/gst-md5sum.c: (event_loop), (main):
29895 * tools/gst-typefind.c: (main):
29896 * tools/gst-xmlinspect.c: (print_element_info):
29898 Added GstBus for mainloop integration.
29899 Added GstMessage for sending notifications on the bus.
29900 Added GstTask as an abstraction for pipeline entry points.
29902 Removed Schedulers.
29903 Simplified GstQueue for multithreaded core.
29904 Made _link threadsafe, removed old capsnego.
29905 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29906 Added pad blocking functions.
29907 Reworked scheduling functions in GstPad to prepare for
29908 scheduling updates soon.
29909 Moved events out of data stream.
29910 Simplified GstEvent types.
29911 Added return values to push/pull.
29912 Removed clocking from GstElement.
29913 Added prototypes for state change function for next merge.
29914 Removed iterate from bins and state change management.
29915 Fixed some elements, disabled others for now.
29916 Fixed -inspect and -launch.
29917 Added check for GstBus.
29919 2005-03-10 Wim Taymans <wim@fluendo.com>
29921 * docs/design/part-MT-refcounting.txt:
29922 * docs/design/part-clocks.txt:
29923 * docs/design/part-gstelement.txt:
29924 * docs/design/part-gstobject.txt:
29925 * docs/design/part-standards.txt:
29926 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29927 (gst_bin_remove_func), (gst_bin_remove):
29931 * testsuite/clock/clock1.c: (main):
29932 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29934 * testsuite/dlopen/loadgst.c: (do_test):
29935 * testsuite/refcounting/bin.c: (add_remove_test1),
29936 (add_remove_test2), (main):
29937 * testsuite/refcounting/element.c: (main):
29938 * testsuite/refcounting/element_pad.c: (main):
29939 * testsuite/refcounting/pad.c: (main):
29940 * tools/gst-launch.c: (sigint_handler_sighandler):
29941 * tools/gst-typefind.c: (main):
29943 Added doc about clock.
29944 removed gst_bin_iterate_recurse_up(), marked methods
29946 Fix more testsuites.
29948 2005-03-09 Wim Taymans <wim@fluendo.com>
29950 * gst/gstpad.c: (gst_pad_get_direction),
29951 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29952 (gst_pad_collect_valist):
29953 * testsuite/bins/interface.c: (main):
29954 * testsuite/caps/audioscale.c: (test_caps):
29955 * testsuite/caps/caps.c: (test1), (test2), (test3):
29956 * testsuite/caps/deserialize.c: (main):
29957 * testsuite/caps/enumcaps.c: (main):
29958 * testsuite/caps/filtercaps.c: (main):
29959 * testsuite/caps/intersect2.c: (main):
29960 * testsuite/caps/random.c: (main):
29961 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29962 * testsuite/caps/sets.c: (check_caps):
29963 * testsuite/caps/simplify.c: (check_caps), (main):
29964 * testsuite/caps/subtract.c: (check_caps):
29965 Fix _pad_get_direction wrt ghostpads.
29966 Fix caps testsuite.
29968 2005-03-09 Wim Taymans <wim@fluendo.com>
29970 * check/Makefile.am:
29971 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29972 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29973 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29974 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29975 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29976 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29977 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29978 (bin_element_is_sink), (gst_bin_iterate_sinks),
29979 (gst_bin_iterate_all_by_interface):
29981 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29982 (gst_element_change_state), (gst_element_dispose),
29983 (gst_element_finalize), (gst_element_set_loop_function):
29984 * gst/gstelement.h:
29985 * gst/gstiterator.c: (find_custom_fold_func):
29986 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29987 (gst_pad_collectv), (gst_pad_collect_valist),
29988 (gst_pad_template_new):
29989 * gst/gstpipeline.c: (gst_pipeline_class_init),
29990 (gst_pipeline_dispose), (gst_pipeline_set_property),
29991 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29992 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29993 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29995 * gst/schedulers/entryscheduler.c:
29996 * gst/schedulers/gstbasicscheduler.c:
29997 (gst_basic_scheduler_cothreaded_chain),
29998 (gst_basic_scheduler_chain_add_element):
29999 * testsuite/bins/interface.c: (main):
30001 Added GstSystemClock test.
30002 Implemented clock distribution code in GstBin.
30003 Implemented iterate sinks method for future use.
30004 Rearranged gstelement.h
30005 Fix GstIterator comparison bug.
30006 Moved some code to GstPipeline, mostly clocking related.
30008 2005-03-09 Wim Taymans <wim@fluendo.com>
30011 * gst/gst_private.h:
30012 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30013 (gst_bin_remove_func), (gst_bin_remove),
30014 (gst_bin_get_by_name_recurse_up):
30015 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30016 (gst_clock_id_compare_func), (gst_clock_id_wait),
30017 (gst_clock_id_wait_async), (gst_clock_init),
30018 (gst_clock_adjust_unlocked), (gst_clock_get_time):
30019 * gst/gstelement.h:
30020 * gst/gstinfo.c: (_gst_debug_init):
30022 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30023 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30025 Bump version number, we're now 0.9.0
30026 Add future debugging category.
30027 Fix NULL _unref() in _get_by_name_recurse_up
30028 Rearrange gstpad.h.
30031 2005-03-08 Wim Taymans <wim@fluendo.com>
30033 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30034 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30035 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30036 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30037 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30038 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30039 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30040 * gst/elements/gstidentity.c: (gst_identity_class_init):
30041 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30042 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30043 * gst/elements/gstshaper.c: (gst_shaper_class_init):
30044 * gst/elements/gststatistics.c: (gst_statistics_class_init):
30045 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30047 * gst/gstelement.c: (gst_element_class_init),
30048 (gst_element_base_class_init), (gst_element_init),
30049 (gst_element_get_random_pad), (gst_element_wait_state_change),
30050 (gst_element_change_state), (gst_element_dispose),
30051 (gst_element_finalize), (gst_element_set_loop_function):
30052 * gst/gstelement.h:
30053 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30054 * gst/gstthread.c: (gst_thread_class_init),
30055 (gst_thread_release_children_locks), (gst_thread_change_state):
30056 * gst/schedulers/gstbasicscheduler.c:
30057 (gst_basic_scheduler_loopfunc_wrapper),
30058 (gst_basic_scheduler_chain_wrapper),
30059 (gst_basic_scheduler_src_wrapper),
30060 (gst_basic_scheduler_remove_element):
30061 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30062 Remove threadsafe properties. Fix elements because GObject
30063 complains when installing a property before declaring a
30064 set/get_property handler.
30065 Rearrange gstelement.h file, use STATE macros for state locks.
30066 Free mutexes in the finalize method instead of dispose.
30068 2005-03-08 Wim Taymans <wim@fluendo.com>
30070 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30071 * gst/gstthread.c: (gst_thread_release_children_locks):
30072 Added parentage check.
30073 Fix build og GstThread again.
30075 2005-03-08 Wim Taymans <wim@fluendo.com>
30077 * docs/design/part-MT-refcounting.txt:
30078 * docs/design/part-conventions.txt:
30079 * docs/design/part-gstobject.txt:
30080 * docs/design/part-relations.txt:
30081 * docs/design/part-standards.txt:
30082 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30083 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30084 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30085 (gst_bin_iterate_all_by_interface):
30088 * gst/gstelement.c: (gst_element_class_init),
30089 (gst_element_change_state), (gst_element_set_loop_function):
30090 * gst/gstelement.h:
30091 * gst/gstiterator.c:
30092 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30093 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30094 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30095 (gst_object_set_parent), (gst_object_unparent),
30096 (gst_object_check_uniqueness):
30098 Docs updates, clean up some headers.
30100 2005-03-07 Wim Taymans <wim@fluendo.com>
30102 * check/.cvsignore:
30103 * check/Makefile.am:
30104 * check/gst-libs/.cvsignore:
30105 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30106 * check/gst/.cvsignore:
30107 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30108 (START_TEST), (gstbus_suite), (main):
30109 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30110 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30111 (gst_data_suite), (main):
30112 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30113 (add_fold_func), (gstiterator_suite), (main):
30114 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30115 (thread_name_object), (thread_name_object_default),
30116 (gst_object_name_compare), (gst_object_suite), (main):
30117 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30118 (gst_pad_suite), (main):
30119 * check/gstcheck.c: (gst_check_log_message_func),
30120 (gst_check_log_critical_func), (gst_check_init):
30121 * check/gstcheck.h:
30122 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30123 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30126 2005-03-07 Wim Taymans <wim@fluendo.com>
30128 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30129 (gst_list_iterator_next), (gst_list_iterator_resync),
30130 (gst_list_iterator_free), (gst_iterator_new_list),
30131 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30132 (gst_iterator_free), (gst_iterator_push), (filter_next),
30133 (filter_resync), (filter_uninit), (filter_free),
30134 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30135 (gst_iterator_foreach), (find_custom_fold_func),
30136 (gst_iterator_find_custom):
30137 * gst/gstiterator.h:
30138 Added missing files.
30140 2005-03-07 Wim Taymans <wim@fluendo.com>
30144 * docs/design/part-MT-refcounting.txt:
30145 * docs/design/part-conventions.txt:
30146 * docs/design/part-gstobject.txt:
30147 * docs/design/part-relations.txt:
30148 * examples/mixer/mixer.c: (main):
30149 * examples/thread/thread.c: (eos), (main):
30151 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30152 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30153 (gst_spider_plug_from_srcpad):
30154 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30155 (gst_spider_identity_change_state),
30156 (gst_spider_identity_sink_loop_type_finding):
30157 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30158 * gst/elements/gstidentity.c: (gst_identity_init):
30159 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30160 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30161 * gst/elements/gsttypefindelement.c: (free_entry):
30164 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30165 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30166 (gst_bin_set_index), (gst_bin_set_element_sched),
30167 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30168 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30169 (gst_bin_iterate_elements), (iterate_child_recurse),
30170 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30171 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30172 (compare_interface), (gst_bin_get_by_interface),
30173 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30175 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30176 (gst_buffer_default_free), (gst_buffer_default_copy),
30177 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30178 (gst_buffer_create_sub):
30180 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30181 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30182 (gst_caps_unref), (gst_static_caps_get),
30183 (gst_caps_remove_and_get_structure), (gst_caps_append),
30184 (gst_caps_append_structure), (gst_caps_remove_structure),
30185 (gst_caps_copy_nth), (gst_caps_set_simple),
30186 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30187 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30188 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30189 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30190 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30191 (gst_caps_structure_figure_out_union),
30192 (gst_caps_switch_structures), (gst_caps_do_simplify),
30193 (gst_caps_replace), (gst_caps_from_string),
30194 (gst_caps_copy_conditional):
30196 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30197 (_gst_clock_id_free), (gst_clock_id_unref),
30198 (gst_clock_id_compare_func), (gst_clock_id_wait),
30199 (gst_clock_id_wait_async), (gst_clock_class_init),
30200 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30201 (gst_clock_get_time), (gst_clock_set_time_adjust),
30202 (gst_clock_set_property), (gst_clock_get_property):
30205 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30206 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30208 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30209 (gst_element_requires_clock), (gst_element_provides_clock),
30210 (gst_element_set_clock), (gst_element_clock_wait),
30211 (gst_element_wait), (gst_element_set_time_delay),
30212 (gst_element_is_indexable), (gst_element_add_pad),
30213 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30214 (pad_compare_name), (gst_element_get_static_pad),
30215 (gst_element_request_pad), (gst_element_get_request_pad),
30216 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30217 (gst_element_class_get_pad_template_list),
30218 (gst_element_class_get_pad_template), (gst_element_error_func),
30219 (gst_element_get_random_pad), (gst_element_get_event_masks),
30220 (gst_element_send_event), (gst_element_seek),
30221 (gst_element_get_query_types), (gst_element_query),
30222 (gst_element_get_formats), (gst_element_convert),
30223 (gst_element_is_locked_state), (gst_element_set_locked_state),
30224 (gst_element_sync_state_with_parent), (gst_element_change_state),
30225 (gst_element_finalize), (gst_element_yield),
30226 (gst_element_interrupt), (gst_element_set_scheduler),
30227 (gst_element_get_scheduler), (gst_element_set_loop_function):
30228 * gst/gstelement.h:
30230 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30231 (gst_format_get_by_nick), (gst_format_get_details),
30232 (gst_format_iterate_definitions):
30234 * gst/gstindex.c: (gst_index_gtype_resolver):
30237 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30238 (gst_mem_chunk_free):
30239 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30240 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30241 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30242 (gst_object_dispatch_properties_changed),
30243 (gst_object_set_name_default), (gst_object_set_name),
30244 (gst_object_get_name), (gst_object_set_name_prefix),
30245 (gst_object_get_name_prefix), (gst_object_set_parent),
30246 (gst_object_get_parent), (gst_object_unparent),
30247 (gst_object_check_uniqueness), (gst_object_save_thyself),
30248 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30249 (gst_object_set_property), (gst_object_get_property),
30250 (gst_object_get_path_string):
30252 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30253 (gst_real_pad_init), (gst_real_pad_get_property),
30254 (gst_pad_custom_new), (gst_pad_get_direction),
30255 (gst_pad_set_active), (gst_pad_is_active),
30256 (gst_pad_set_event_function), (gst_pad_is_linked),
30257 (gst_pad_link_free), (gst_pad_link_intersect),
30258 (gst_pad_link_fixate), (gst_pad_set_caps),
30259 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30260 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30261 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30262 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30263 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30264 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30265 (gst_pad_realize), (gst_pad_get_allowed_caps),
30266 (gst_real_pad_dispose), (gst_real_pad_finalize),
30267 (gst_pad_collectv), (gst_pad_collect_valist),
30268 (gst_pad_template_dispose), (gst_pad_template_new),
30269 (gst_pad_get_internal_links):
30271 * gst/gstpipeline.c: (gst_pipeline_dispose),
30272 (gst_pipeline_change_state):
30273 * gst/gstpipeline.h:
30275 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30276 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30277 * gst/gstpluginfeature.h:
30278 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30279 * gst/gstquery.c: (_gst_query_type_initialize),
30280 (gst_query_type_register), (gst_query_type_get_by_nick),
30281 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30283 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30284 * gst/gstscheduler.c: (gst_scheduler_add_element),
30285 (gst_scheduler_factory_create):
30286 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30287 (gst_structure_free), (gst_structure_set_name),
30288 (gst_structure_id_set_value), (gst_structure_set_value),
30289 (gst_structure_set_valist), (gst_structure_remove_field),
30290 (gst_structure_remove_fields),
30291 (gst_structure_remove_fields_valist),
30292 (gst_structure_remove_all_fields), (gst_structure_foreach),
30293 (gst_structure_map_in_place),
30294 (gst_caps_structure_fixate_field_nearest_int),
30295 (gst_caps_structure_fixate_field_nearest_double):
30296 * gst/gststructure.h:
30297 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30298 (gst_system_clock_init), (gst_system_clock_dispose),
30299 (gst_system_clock_async_thread),
30300 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30301 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30302 * gst/gstsystemclock.h:
30303 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30304 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30305 * gst/gsttaginterface.c:
30306 * gst/gstthread.c: (gst_thread_dispose),
30307 (gst_thread_release_children_locks), (gst_thread_change_state),
30308 (gst_thread_main_loop):
30309 * gst/gsttrashstack.h:
30310 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30312 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30313 (gst_element_request_pad), (gst_element_get_pad_from_template),
30314 (gst_element_request_compatible_pad),
30315 (gst_element_get_compatible_pad_filtered),
30316 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30317 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30318 (gst_element_link_many), (gst_element_link),
30319 (gst_element_link_pads), (gst_element_unlink_pads),
30320 (gst_element_unlink_many), (gst_element_unlink),
30321 (gst_pad_can_link_filtered), (gst_pad_can_link),
30322 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30323 (gst_object_default_error), (gst_bin_add_many),
30324 (gst_bin_remove_many), (gst_element_populate_std_props),
30325 (gst_element_class_install_std_props), (gst_buffer_merge),
30326 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30327 (link_fold_func), (gst_pad_proxy_setcaps):
30329 * gst/gstvalue.c: (gst_value_deserialize_string):
30330 * gst/parse/grammar.y:
30331 * gst/schedulers/gstbasicscheduler.c:
30332 (gst_basic_scheduler_cothreaded_chain),
30333 (gst_basic_scheduler_chain_recursive_add),
30334 (gst_basic_scheduler_pad_link):
30335 * gst/schedulers/gstoptimalscheduler.c:
30336 (get_group_schedule_function),
30337 (gst_opt_scheduler_state_transition),
30338 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30339 * libs/gst/bytestream/bytestream.c:
30340 * libs/gst/dataprotocol/dataprotocol.c:
30341 (gst_dp_header_from_buffer):
30344 * tests/threadstate/threadstate2.c: (eos):
30345 * tools/gst-compprep.c: (main):
30346 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30347 (print_pad_info), (print_children_info):
30348 * tools/gst-launch.c: (idle_func), (main):
30349 * tools/gst-md5sum.c: (idle_func), (main):
30350 * tools/gst-xmlinspect.c: (print_element_info):
30351 First THREADED backport attempt, focusing on adding locks and
30352 making sure the API is threadsafe. Needs more work. More docs
30355 2005-02-24 Andy Wingo <wingo@pobox.com>
30357 * tests/bench-complexity.scm:
30358 * tests/complexity.gnuplot: New files, good for running complexity
30361 * tests/Makefile.am:
30362 * tests/complexity.c: New test, sets up N elements, at each level
30363 teeing into M streams per element. Eeeenteresting.
30365 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30366 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30367 running bench-mass_elements.scm.
30369 * tests/bench-mass_elements.scm: New script, runs mass_elements
30370 for various numbers of identities, outputting the results to a
30371 file. Requires guile 1.6. Just for testing.
30373 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30375 * gst/schedulers/fairscheduler.c:
30376 compile with debug disabled
30378 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30381 hunting season on 0.9 is now OPEN