1 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
4 Fix confusing documentation.
6 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
8 * libs/gst/base/gstbasesrc.h:
9 revert the changes to the header file for the ABI.
11 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
13 * libs/gst/base/gstbasesrc.c:
14 * libs/gst/base/gstbasesrc.h:
15 Don't cache the seekable status.
18 2008-07-24 Rene Stadler <mail@renestadler.de>
20 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
21 code to close the pipeline graph. This prevents the program from
22 printing internal data flow errors.
24 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
26 * docs/manual/basics-bus.xml:
27 Correct typo. Fixes bug #544320.
29 2008-07-22 Michael Smith <msmith@songbirdnest.com>
32 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
33 Add check (taken from -base) for winsock, adds WIN32_LIBS
35 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
37 Define GST_EXPORTS when building libgstreamer (only used on win32)
40 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
41 for symbols that we need to export in both these files.
43 Include gst_private.h higher up to avoid some compile problems on win32.
45 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
50 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
53 Previous commit was wrong NULL caps does not exist
54 and indicate an error, so also add a FIXME to
55 gst_caps_is_equal where NULL caps are accepted.
57 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
60 Allow passing of NULL to gst_caps_union
62 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
65 Add in doc that gst_ghost_pad_set_target can accept
68 2008-07-15 Michael Smith <msmith@songbirdnest.com>
72 GstRegistryPool doesn't exist; don't refer to it in docs.
73 Don't refer to functions that don't exist in docs, it's
76 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
79 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
81 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
83 Patch by: tmatth <le dot businessman at gmail dot com>
85 * docs/pwg/building-testapp.xml:
86 Don't use an undeclared variable in the example program.
89 2008-07-12 Stefan Kost <ensonic@users.sf.net>
91 * gst/gstdebugutils.c:
92 Squeeze ghost-pad links and remove <> from classname labels to save
93 more horizontal space.
95 2008-07-11 Stefan Kost <ensonic@users.sf.net>
97 * gst/gstdebugutils.c:
98 Give request and sometimes pads a different shpe style. Condense the
101 2008-07-09 Michael Smith <msmith@songbirdnest.com>
104 Don't require flex and bison if the parser is disabled.
106 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
108 * libs/gst/controller/gstinterpolationcontrolsource.c:
109 (_list_find_sorted_custom):
110 Don't use declarations after statements.
112 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
114 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
115 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
116 of the the child-added / -removed signals as GstChildProxy
117 only supports GstObjects.
119 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
121 * gst/gstdebugutils.c:
124 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
126 Patch by: Alessandro Decina <alessandro at nnva dot org>
129 Fix "ignored return value" compiler warning with newer glibc.
131 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
133 * gst/gstchildproxy.c:
134 Fix copy&paste error in gst_child_proxy_removed() documentation.
136 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
138 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
139 Print error debug message if plugin description fields that should
142 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
143 Don't crash if the string to serialise is NULL (it really should
144 not be, but apparently this used to work with the xml registry ...).
146 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
148 * tools/gst-plot-timeline.py:
149 Fix parsing of log messages
151 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
153 * win32/common/libgstbase.def::
154 Sort alphabetically so make check-exports doesn't barf.
156 2008-07-01 Stefan Kost <ensonic@users.sf.net>
159 Use gst_format_get_name() to improve debug output.
162 Remove #ifdef'ed code. Add TODO comment.
165 Add debug output to ease spotting format != segment.format assertions.
167 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
169 * tests/check/libs/gdp.c: (gst_dp_suite):
170 Also enable the GDP unit test again on PPC now that the bug
173 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
175 * libs/gst/dataprotocol/dataprotocol.c:
176 Don't write to the same region of memory as a uint64 and uint16
177 as this breaks strict aliasing rules and apparantly breaks on PPC
178 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
180 2008-06-29 Stefan Kost <ensonic@users.sf.net>
182 * libs/gst/controller/gstinterpolationcontrolsource.c:
183 Optimize list handling. Use own find function. Exploit that fact that
184 the list is sorted. Also pass back the node before, so that we can
185 insert quickly. Have a fast path for append.
187 2008-06-29 Stefan Kost <ensonic@users.sf.net>
189 * docs/design/draft-framestep.txt:
190 * docs/design/part-negotiation.txt:
193 2008-06-27 Stefan Kost <ensonic@users.sf.net>
196 Show configuration sumary after configure run. Based on patch by
197 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
199 2008-06-27 Stefan Kost <ensonic@users.sf.net>
201 patch by: Luc Pionchon <luc.pionchon@nokia.com>
203 * docs/manual/advanced-autoplugging.xml:
204 * docs/manual/advanced-threads.xml:
205 * docs/manual/basics-bins.xml:
206 * docs/manual/basics-elements.xml:
207 * docs/manual/basics-helloworld.xml:
208 * docs/manual/basics-pads.xml:
209 Add scale factor for pdf output.
211 * docs/manual/intro-basics.xml:
212 Switched sections "pads" and "bins" and added a pipeline diagram.
214 * docs/manual/intro-gstreamer.xml:
215 Added more info on gstreamer.
217 * docs/manual/intro-motivation.xml:
218 Commented out the whole section "current problem", which sounds
219 historical and somehow osolete; it could be turned in a positive
220 way and reused to improve the design principles.
222 * docs/manual/intro-preface.xml:
223 - Update URLs to library.gnome.org.
224 - Do not mention GTK+ in preliminary reading (irrelevant).
225 - Mention Plugin Writer's Manual and further reading only in the
227 - Added a list of most relevant GObject/glib topics.
229 * docs/manual/Makefile.am:
230 * docs/manual/bin-element-ghost.fig:
231 * docs/manual/bin-element-ghost.png:
232 * docs/manual/bin-element-noghost.fig:
233 * docs/manual/bin-element-noghost.png:
234 * docs/manual/bin-element.fig:
235 * docs/manual/bin-element.png:
236 * docs/manual/filter-element-multi.fig:
237 * docs/manual/filter-element-multi.png:
238 * docs/manual/filter-element.fig:
239 * docs/manual/filter-element.png:
240 * docs/manual/gstreamer-overview.png:
241 * docs/manual/hello-world.fig:
242 * docs/manual/hello-world.png:
243 * docs/manual/linked-elements.fig:
244 * docs/manual/linked-elements.png:
245 * docs/manual/mime-world.fig:
246 * docs/manual/mime-world.png:
247 * docs/manual/queue.fig:
248 * docs/manual/queue.png:
249 * docs/manual/simple-player.png:
250 * docs/manual/sink-element.fig:
251 * docs/manual/sink-element.png:
252 * docs/manual/src-element.fig:
253 * docs/manual/src-element.png:
254 * docs/manual/diagrams-general.svg:
255 * docs/manual/diagrams-pipelines.svg:
256 Removed .fig, added .png counterpart.
260 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
262 * plugins/elements/gstmultiqueue.c:
263 * plugins/elements/gstmultiqueue.h:
264 revert extra-size-buffers stuff, caused some race conditions
265 and extra-size-buffers is not used anymore. Docs needs some updates
267 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
269 * win32/common/config.h:
270 * win32/common/gstenumtypes.c:
271 * win32/common/gstenumtypes.h:
272 * win32/common/gstversion.h:
275 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
277 * gst/gstdebugutils.h: (GstDebugGraphDetails),
278 (GST_DEBUG_BIN_TO_DOT_FILE):
279 Add missing Since' markers to gtk-doc blurbs.
281 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
283 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
284 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
285 (set_caps_1), (set_caps_ct1), (transform_ct1),
286 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
287 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
288 (transform_size_ct2), (buffer_alloc_ct2):
289 Add some more tests with switching caps in buffer_alloc.
291 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
293 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
294 (gst_test_trans_class_init), (result_sink_chain),
295 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
296 (gst_test_trans_push), (gst_test_trans_pop):
297 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
298 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
299 (set_caps_1), (set_caps_ct1), (transform_ct1),
300 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
301 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
302 (transform_size_ct2), (buffer_alloc_ct2),
303 (gst_basetransform_suite):
304 More tests, prepare for tests with switching caps in buffer_alloc.
306 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
308 * plugins/elements/gstmultiqueue.c:
309 * plugins/elements/gstmultiqueue.h:
310 Fix dead-lock in underrun_cb
312 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
314 * docs/design/part-states.txt:
315 Fix device open/close docs.
317 2008-06-25 Stefan Kost <ensonic@users.sf.net>
320 Mention bugnumber for last commit.
322 2008-06-25 Stefan Kost <ensonic@users.sf.net>
324 patch by: Luc Pionchon <luc.pionchon@nokia.com>
326 * docs/manual/manual.xml:
327 - Reorganised the previous "introduction" bundle into Foreword,
328 Introduction, and About GStreamer. The two first are <preface>
329 docbook elements. The later is the first part of the book.
330 - added intro-gstreamer.xml (content partially from
332 - moved appendix-win32.xml into appendix-integration.xml
334 * docs/manual/intro-preface.xml: gstreamer section moved...
335 * docs/manual/intro-gstreamer.xml: ...here. new file.
337 * docs/manual/appendix-win32.xml: removed file. Content moved...
338 * docs/manual/appendix-integration.xml: ...here.
340 * docs/manual/highlevel-components.xml: section about GstEditor moved...
341 * docs/manual/appendix-checklist.xml: ...here.
345 2008-06-25 Stefan Kost <ensonic@users.sf.net>
347 patch by: Luc Pionchon <luc.pionchon@nokia.com>
349 * docs/manual/basics-helloworld.xml:
350 * docs/manual/hello-world.fig:
351 - Explicitely include glib.h.
352 - Do not use global variables.
353 - Use g_printerr() instead of g_print().
354 - Minor formating/renaming to increase readibility.
355 - Renamed new_pad() to on_pad_added()
356 - Improved explenatory comments.
357 - renamed ogg parser to ogg demuxer
358 - Use "autoaudiosink" instead of "alsasink".
361 2008-06-25 Stefan Kost <ensonic@users.sf.net>
364 Remove cvs conflict marker.
366 2008-06-25 Stefan Kost <ensonic@users.sf.net>
369 Document that for plgin-docs we extraxt he short-desc from the element
372 * docs/design/part-states.txt:
373 Tell that devices should be closed in PAUSED -> READY.
375 * docs/manual/README:
376 Document how tests in the manual are handled.
381 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
383 * gst/gstbin.c: (bin_query_latency_fold):
384 Only care about latency min and max when the sink is actually a live
387 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
389 * docs/design/part-block.txt:
392 * docs/design/part-element-transform.txt:
393 Add notes about why transform needs to know input/output sizes.
394 Add some issues that need to be solved.
395 Add some more use cases.
397 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
398 (gst_test_trans_class_init), (result_sink_chain),
399 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
400 (gst_test_trans_push), (gst_test_trans_pop):
401 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
402 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
403 (set_caps_1), (set_caps_ct1), (transform_ct1),
404 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
405 (gst_basetransform_suite):
406 Add suport for different pad templates and buffer-alloc.
407 Add more checks for caps and buffer-alloc.
408 Add checks for proxy buffer alloc.
409 Add unit test for copy transform.
411 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
413 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
415 * docs/manual/appendix-integration.xml:
416 * docs/manual/appendix-licensing.xml:
417 * docs/manual/basics-elements.xml:
418 * docs/manual/basics-helloworld.xml:
419 * docs/manual/basics-pads.xml:
420 * docs/manual/highlevel-components.xml:
421 * docs/manual/highlevel-xml.xml:
422 * docs/manual/intro-basics.xml:
423 * docs/manual/intro-preface.xml:
424 Typo and formatting fixes (#538594).
426 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
428 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
429 Fix some memory leaks and uses of object instances that we don't
432 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
434 * plugins/elements/gstmultiqueue.c:
435 Add functionality to extra-size-buffers property.
437 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
439 * plugins/elements/gstmultiqueue.c:
440 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
441 activate the pads if they are added in STATE_NULL.
443 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
445 * docs/libs/gstreamer-libs-sections.txt:
447 * libs/gst/check/gstcheck.c:
448 * libs/gst/check/gstcheck.h:
449 API: gst_check_teardown_pad_by_name
451 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
453 * libs/gst/check/gstcheck.c:
454 * libs/gst/check/gstcheck.h:
455 Also setup request pads and allow setup pads by name (#537812)
456 API: gst_check_setup_src_pad_by_name
457 API: gst_check_setup_sink_pad_by_name
459 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
461 * tests/check/gst/gstbuffer.c:
462 * tests/check/pipelines/parse-launch.c:
463 Use HAVE_VALGRIND_H some more.
465 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
467 * scripts/cvs-update.sh:
468 Pass arguments to make.
469 Run autoregen.sh if Makefile is not there.
471 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
475 Don't assume that <valgrind/valgrind.h> exists just because
478 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
480 * tests/check/Makefile.am:
481 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
482 (gst_test_trans_class_init), (gst_test_trans_init),
483 (gst_test_trans_set_data), (result_sink_chain),
484 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
485 (gst_test_trans_pop):
486 * tests/check/libs/transform1.c: (GST_START_TEST),
487 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
488 Add some test basetransform element and the beginnings of various
491 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
493 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
494 Increase code readability.
495 Don't try to compare buffer offsets when ther are invalid.
497 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
499 * docs/design/Makefile.am:
500 Dist some more design docs.
502 * docs/random/moving-plugins:
503 Small addition: good plugins mustn't have functional code
504 within assertion macros.
506 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
508 * docs/design/draft-framestep.txt:
509 Some ideas about a framestep API
511 * docs/design/part-element-transform.txt:
512 Start design and use cases for basetransform in order to get it
515 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
518 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
519 be in UTF-8 encoding.
521 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
524 Make it known that gst_bus_poll() is pure evil (fixes #538810).
526 2008-06-20 Stefan Kost <ensonic@users.sf.net>
528 * plugins/elements/gstcapsfilter.c:
529 * plugins/elements/gstfakesink.c:
530 * plugins/elements/gstfakesrc.c:
531 * plugins/elements/gstfdsink.c:
532 * plugins/elements/gstfdsrc.c:
533 * plugins/elements/gstfilesink.c:
534 * plugins/elements/gstfilesrc.c:
535 * plugins/elements/gstidentity.c:
536 * plugins/elements/gstmultiqueue.c:
537 * plugins/elements/gstqueue.c:
538 * plugins/elements/gsttee.c:
539 * plugins/elements/gsttypefindelement.c:
540 Remove short_description. Add basic docs for gsttypefindelement.
541 Simplify markup for fakesrc/fdsrc.
543 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
545 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
548 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
550 Patch by: joel larsson <tilljoel at gmail dot com>
552 * docs/plugins/gstreamer-plugins.args:
553 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
554 (gst_fd_src_init), (gst_fd_src_update_fd),
555 (gst_fd_src_set_property), (gst_fd_src_get_property),
557 * plugins/elements/gstfdsrc.h:
558 Add timeout property like udpsrc. Fixes #538628.
559 Add some more docs and example pipelines.
561 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
563 * docs/libs/gstreamer-libs-sections.txt:
564 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
565 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
566 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
567 (gst_base_sink_do_sync):
568 * libs/gst/base/gstbasesink.h:
569 * win32/common/libgstbase.def:
570 Add method to allow sinks to specify additional delay between the sync
571 times and the actual rendering of the data.
572 API: gst_base_sink_set_render_delay()
573 API: gst_base_sink_get_render_delay()
575 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
578 Bump version number back to dev -> 0.10.20.1
580 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
582 * docs/gst/gstreamer-sections.txt:
583 * gst/gsttaglist.c: (_gst_tag_initialize):
585 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
588 2008-06-20 Stefan Kost <ensonic@users.sf.net>
590 * libs/gst/controller/gstcontroller.c:
591 Revert one change, that make ret value possible uninitialized.
593 2008-06-20 Stefan Kost <ensonic@users.sf.net>
595 * libs/gst/controller/gstcontroller.c:
596 Use freeze/thaw notify to sync notify emission a bit (its also more
597 efficient). Move debug output to LOG (is called a lot in a loop).
598 Always unset g_values if the have been initialized.
600 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
602 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
603 (gst_base_sink_wait_eos), (gst_base_sink_event):
604 If we have not seen a buffer before EOS, use the segment values to
605 report the current position instead of invalid positions.
607 2008-06-20 Stefan Kost <ensonic@users.sf.net>
609 * docs/plugins/tmpl/.cvsignore:
610 * tests/check/gst/.cvsignore:
613 2008-06-20 Stefan Kost <ensonic@users.sf.net>
615 * libs/gst/controller/gstinterpolation.c:
616 * libs/gst/controller/gstinterpolationcontrolsource.c:
617 * tests/check/libs/controller.c:
618 Rewrite handling of default values. Fix overflow with unsigned types
619 in linear interpolation. Remove now obsolete _first_value() function.
620 Add more tests. Fixes #538201.
622 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
624 * libs/gst/base/gstbasetransform.c:
625 (gst_base_transform_class_init), (gst_base_transform_init),
626 (gst_base_transform_transform_caps),
627 (gst_base_transform_prepare_output_buffer):
629 When a buffer is writable, its metadata is also writable so we don't
630 need to subbuffer (which then makes the buffer not-writable anymore).
632 === release 0.10.20 ===
634 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
637 releasing 0.10.20, "You Crazy Diamond"
639 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
642 0.10.19.3 pre-release
644 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
648 Rename DATADIR to GST_DATADIR to avoid build problems
649 on win32. Patch By: David Schleef <ds@schleef.org>
652 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
655 Explicitely link with -ldl if dladdr() is found there. Before it was
656 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
657 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
659 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
661 * gst/gsterror.c: (_gst_stream_errors_init):
662 Fix typo (spotted by Fabricio Godoy, #536723).
664 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
667 0.10.19.2 pre-release
669 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
671 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
672 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
674 Make sure we don't generate invalid QoS messages.
676 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
678 * gst/gstevent.c: (gst_event_new_qos):
679 Add some assert and docs for invalid input to the qos function.
681 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
684 (gst_base_sink_get_position):
685 The reported position must always be smaller than the last seen
686 timestamps (or timestamp + duration for reverse).
688 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
690 Patch by: Rob Bradford <rob at robster dot org dot uk>
692 * gst/gstregistry.c: (gst_registry_scan_path_level):
693 Don't recurse into .debug directories as some distros install
694 the debugging symbols next to the plugins in .debug directories
695 and dlopen() crashes on them sometimes. Fixes bug #508070.
697 Add FIXME for 0.11 to not recurse into directories at all because
698 it's very inconsistent to the behaviour of other PATH environment
701 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
703 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
704 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
705 Fix position query range checks in reverse playback.
707 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
711 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
712 clear of the reference to the resulting pad must be released later
713 or not, resulting in possible leaks. Fixes bug #533865.
715 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
717 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
719 * gst/gstelementfactory.c:
720 Small doc fix. Fixes #535285.
722 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
724 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
726 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
727 (gst_base_src_get_range), (gst_base_src_pad_get_range),
728 (gst_base_src_loop), (gst_base_src_set_flushing),
729 (gst_base_src_change_state):
730 Make sending an EOS event to the basesrc non-blocking even if the
731 implementation does blocking waits in the create function. This is done
732 by unlocking the create function when EOS is sent.
735 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
737 * tools/gst-inspect.c: (print_element_properties_info):
738 If possible print the element type of GValueArray properties.
740 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
743 Remove an unused field from the private GstListIterator struct.
745 2008-05-27 Stefan Kost <ensonic@users.sf.net>
747 * libs/gst/controller/gstcontroller.c:
748 Add parameter guards.
750 2008-05-27 Stefan Kost <ensonic@users.sf.net>
752 * tests/check/gst/gstpipeline.c:
753 Revert test change and add comment why it should not work.
755 2008-05-27 Stefan Kost <ensonic@users.sf.net>
757 * tests/check/gst/gstpipeline.c:
758 Extending the test a little to verify that we also get the NULL state-
761 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
763 * gst/gstpreset.c: (gst_preset_default_get_meta),
764 (gst_preset_get_preset_names), (gst_preset_get_property_names),
765 (gst_preset_load_preset), (gst_preset_save_preset),
766 (gst_preset_rename_preset), (gst_preset_delete_preset),
767 (gst_preset_set_meta):
768 Add Since: markers to docs blurbs.
770 * win32/common/libgstreamer.def:
771 Add recently-added API.
773 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
775 Patch by: Stefan Kost <ensonic@users.sf.net>
778 Add DATADIR for storing presets.
780 * docs/gst/gstreamer-docs.sgml:
781 * docs/gst/gstreamer-sections.txt:
782 * docs/gst/gstreamer.types.in:
783 Add GstPreset to docs.
787 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
788 (preset_open_and_parse_header), (preset_parse_version),
789 (preset_merge), (preset_get_keyfile),
790 (gst_preset_default_get_preset_names),
791 (gst_preset_default_get_property_names),
792 (gst_preset_default_load_preset),
793 (gst_preset_default_save_presets_file),
794 (gst_preset_default_save_preset),
795 (gst_preset_default_rename_preset),
796 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
797 (gst_preset_default_get_meta), (gst_preset_default_randomize),
798 (gst_preset_default_reset), (gst_preset_get_preset_names),
799 (gst_preset_get_property_names), (gst_preset_load_preset),
800 (gst_preset_save_preset), (gst_preset_rename_preset),
801 (gst_preset_delete_preset), (gst_preset_set_meta),
802 (gst_preset_get_meta), (gst_preset_class_init),
803 (gst_preset_base_init), (gst_preset_get_type):
805 Add GstPreset to core. Fixes #396779
807 * tests/check/Makefile.am:
808 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
809 (gst_preset_test_set_property), (gst_preset_test_class_init),
810 (gst_preset_test_base_init), (gst_preset_test_get_type),
811 (gst_preset_test_plugin_init), (GST_START_TEST),
812 (remove_preset_file), (test_setup), (test_teardown),
814 Add GstPreset unit tests.
816 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
818 * gst/gstpad.c: (gst_pad_event_default_dispatch):
819 The default event function on a sinkpad should return TRUE when
820 there are no internal links but should collect the return values from
821 the internal links otherwise.
823 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
825 * plugins/elements/gsttypefindelement.c:
826 (gst_type_find_element_src_event),
827 (gst_type_find_element_handle_event):
828 Use faster and safer _pad_push_event().
830 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
832 * docs/gst/gstreamer-sections.txt:
833 * gst/gstutils.c: (element_find_unlinked_pad),
834 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
836 API: add gst_bin_find_unlinked_pad()
837 API: deprecate gst_bin_find_unconnected_pad() (#401456)
839 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
845 Fixed a bunch of typos.
847 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
850 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
851 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
852 (gst_parse_bin_from_description_full):
854 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
856 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
858 * docs/pwg/advanced-tagging.xml:
859 Small docs update, can't be bothered to rewrite the nonsensical
862 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
865 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
867 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
869 * gst/parse/grammar.y:
870 Remove unneeded casts.
872 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
874 * gst/parse/grammar.y:
875 * tests/check/pipelines/parse-launch.c:
876 Get all missing elements from a parse launch string if possible
877 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
879 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
881 * tests/check/Makefile.am:
882 * tests/check/pipelines/parse-launch.c:
883 Add some unit tests for the new gst_parse_launch*_full() API.
884 (Exposes a previously-existing memory leak in the error code
885 path, so adding to VALGRIND_TO_FIX for now).
887 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
889 * docs/gst/gstreamer-sections.txt:
890 * gst/gst.c: (init_post):
891 * gst/gst_private.h: (_GstParseContext):
892 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
893 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
894 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
895 (gst_parse_launch_full):
896 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
897 (GstParseFlags), (GstParseContext):
898 * gst/gstutils.c: (gst_parse_bin_from_description),
899 (gst_parse_bin_from_description_full):
901 * gst/parse/grammar.y:
903 * win32/common/libgstreamer.def:
904 Add new gst_parse_*_full API (#528178):
905 API: gst_parse_launch_full()
906 API: gst_parse_launchv_full()
907 API: gst_parse_bin_from_description_full()
908 API: gst_parse_context_new()
909 API: gst_parse_context_free()
910 API: gst_parse_context_get_missing_elements()
912 2008-05-23 Stefan Kost <ensonic@users.sf.net>
914 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
916 * docs/faq/gst-uninstalled:
917 Also support ffmpeg in gst-uninstalled.
919 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
922 After discussion on IRC use the binary registry as default
923 but allow to disable it with --disable-binary-registry.
925 * win32/common/libgstreamer.def:
926 Add the two new symbols for the binary registry.
928 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
930 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
931 * gst/gstutils.c: (gst_parse_bin_from_description):
932 * gst/parse/grammar.y: (graph):
933 More guards against bad input; typo fix; some minor clean-ups.
935 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
937 Patch by: Sjoerd Simons <sjoerd at luon dot net>
939 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
940 If nothing else can be used, use the last buffer's start time as
941 the segment's last stop. Fixes bug #534258.
943 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
945 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
946 Move size sanity check to the right place: downstream may return
947 a buffer with a smaller size if the buffer caps are different than
948 the requested ones, as may happen when doing reverse negotiation.
950 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
952 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
953 (gst_file_sink_render):
954 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
955 (gst_file_src_start):
956 Small cleanups. Add note adbout g_fopen() on windows and why we don't
959 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
961 * gst/gstpad.c: (gst_pad_load_and_link):
962 * gst/gstutils.c: (gst_element_link_pads),
963 (gst_element_unlink_pads):
964 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
965 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
966 (gst_check_teardown_sink_pad),
967 (gst_check_element_push_buffer_list):
968 * tests/check/elements/fakesink.c: (GST_START_TEST):
969 * tests/check/elements/filesink.c:
970 * tests/check/elements/filesrc.c: (GST_START_TEST):
971 * tests/check/elements/multiqueue.c: (setup_multiqueue),
972 (mq_sinkpad_to_srcpad):
973 * tests/check/elements/tee.c: (GST_START_TEST):
974 * tests/check/generic/sinks.c: (GST_START_TEST):
975 * tests/check/gst/gstbin.c: (GST_START_TEST):
976 * tests/check/gst/gstevent.c: (GST_START_TEST):
977 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
978 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
979 * tests/check/gst/gstquery.c: (GST_START_TEST):
980 * tests/check/gst/gstutils.c: (GST_START_TEST):
981 * tests/check/libs/basesrc.c: (GST_START_TEST):
982 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
983 (gst_parse_test_element_change_state):
984 Don't use gst_element_get_pad().
986 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
989 Fix installing plugin documentation when gtk-doc is disabled.
991 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
993 * docs/manual/advanced-autoplugging.xml:
994 * docs/manual/basics-helloworld.xml:
995 * docs/manual/basics-pads.xml:
996 * docs/manual/highlevel-components.xml:
997 Avoid using a bad function in the example code.
999 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1001 * gst/gstclock.c: (gst_clock_set_calibration):
1002 Fix debug of the new clock rate.
1004 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1006 * win32/common/libgstbase.def:
1007 Add gst_base_sink_wait_clock() to the exported symbols.
1009 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1011 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1013 * libs/gst/base/gstbasetransform.c:
1014 (gst_base_transform_sink_event):
1015 Unref events that the GstBaseTransform::event vfunc didn't want to
1016 have forwarded by the base class. Closes a leak in identity.
1019 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1021 * docs/libs/gstreamer-libs-sections.txt:
1022 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1023 * libs/gst/base/gstbasesink.h:
1024 Expose a method that was previously used internally to synchronize
1025 against the clock because it can be useful for subclasses too.
1026 API: GstBaseSink::gst_base_sink_wait_clock()
1028 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1030 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1031 Add sanity check to make sure we don't get smaller buffers
1032 than requested (and fallback to normal buffer alloc if we do).
1034 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1036 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1037 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1038 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1039 Refactor adjusting the running_time with latency and offset into a
1041 When doing clipping, we still want to use the subclass get_times method,
1042 just in case the DURATION or TIMESTAMP are not set.
1044 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1046 * docs/gst/gstreamer-sections.txt:
1047 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1048 * gst/gsttypefind.h:
1049 * win32/common/libgstreamer.def:
1050 API: add gst_type_find_suggest_simple(), #533740.
1052 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1054 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1055 Use right error code when typefinding fails, so we can use
1056 the default (translated) error messages.
1058 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1060 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1061 (gst_base_src_start):
1062 When the subclass did not set caps on outgoing buffers, configure the
1063 caps we negotiated on the source pad.
1064 When the typefind helper does not find caps, error out properly instead
1065 of doing things with NULL caps.
1067 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1069 * gst/gsttypefind.h:
1070 Tabs to spaces, oh yes!
1072 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1074 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1075 Add David's and Benjamin's tests for array intersection to the
1076 unit test suite (#147931).
1078 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1081 Document that gst_event_new_tag() and gst_event_new_navigation()
1082 take ownership of the taglist/structure passed to them. (#533635).
1084 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1087 Don't descend into the plugins dir if plugin docs building
1091 Add a note about the new type:GTypeName syntax for the plugin
1092 documentation .types file.
1094 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1096 * gst/gstmessage.c: (gst_message_new_error),
1097 (gst_message_new_warning), (gst_message_new_info):
1099 Mark the debug string parameters as const. Fixes bug #533490.
1101 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1103 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1104 Sort buffer cache list by end offsets. This makes sure that we don't
1105 stop to search for a cached buffer that contains the requested data
1107 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1108 more efficient. Fixes bug #459862.
1110 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1113 Explain why we copy the list.
1115 * gst/gstpipeline.c:
1119 Add one debug-log statement to help tracing probelms with linking pads.
1121 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1123 * tests/check/gst/gstinfo.c:
1124 Add a test for removing the default log handler. Seems to fail under
1127 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1129 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1130 Release pad lock before calling out to avoid a possible deadlock.
1132 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1134 * gst/parse/grammar.y:
1135 Remove unneeded value unset.
1137 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1138 Add unit test for de/serialization of caps.
1140 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1142 * plugins/elements/gstfakesink.c:
1143 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1144 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1145 (gst_fake_src_class_init):
1146 Use custom marshalers that take GstMiniObject as first parameter.
1147 Using OBJECT as parameter while a GstMiniObject is given will lead
1148 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1150 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1152 * plugins/elements/gsttypefindelement.c:
1153 (gst_type_find_element_handle_event),
1154 (gst_type_find_element_send_cached_events),
1155 (gst_type_find_element_change_state):
1156 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1159 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1161 * plugins/elements/gsttypefindelement.c:
1162 (gst_type_find_handle_src_query), (stop_typefinding),
1163 (gst_type_find_element_handle_event),
1164 (gst_type_find_element_send_cached_events),
1165 (gst_type_find_element_change_state):
1166 Forward FLUSH_START events immediately and clean up instead of
1169 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1171 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1173 * libs/gst/base/gstbasetransform.c:
1174 (gst_base_transform_buffer_alloc):
1175 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1176 fall back to default negotiation in the chain function if the caps
1177 are different from what was requested. Fixes bug #526768.
1179 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1182 * tests/check/gst/gstsegment.c:
1183 No, let's not use g_slice_{dup|copy} here, since they only exist
1184 since GLib 2.14 and we still depend only on >= 2.12. Also add
1185 unit test for gst_segment_copy().
1187 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1189 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1190 Try to fix 'dereferencing type-punned pointer will break strict
1191 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1192 changed the default GType typedef from gulong to gsize at some point,
1193 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1194 g_once_* functions all take a gsize * though, so work around the type
1195 mismatch for C++ by doing everything in gsize and casting to GType
1198 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1200 * plugins/elements/gstmultiqueue.c:
1201 Add documentation for the signals to push our core plugin docs
1202 coverage back up to 100%.
1204 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1206 * gst/gstinfo.h (GST_FUNCTION):
1207 Reverted GST_FUNCTION to the old version as we don't want the
1208 full signature in C++ code. Also added support for MSVC.
1210 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1213 Intern the type name string, similar to what G_DEFINE_TYPE does.
1215 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1218 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1220 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1222 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1224 * libs/gst/base/gstbasetransform.c:
1225 (gst_base_transform_buffer_alloc):
1226 Don't passthrough buffer allocation too easily if the caps change.
1227 This breaks when working in passthrough mode and upstream changes
1228 it's caps. Fixes bug #526768.
1230 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1232 * gst/gstinfo.c (gst_debug_log_valist):
1233 Improved the __FILE__ part of debug output for MSVC.
1235 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1237 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1238 Declaration after statement fix for compilers like MSVC.
1240 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1242 * win32/common/config.h.in:
1243 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1244 use the real thing than having "???" unconditionally.
1246 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1248 * gst/gstinfo.h (GST_FUNCTION):
1249 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1251 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1253 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1256 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1257 (gst_base_sink_set_flushing):
1258 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1261 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1263 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1264 (gst_fake_src_init), (gst_fake_src_set_property),
1265 (gst_fake_src_get_property), (gst_fake_src_start):
1266 * plugins/elements/gstfakesrc.h:
1267 Added format property to control the format of the newsegment events.
1268 API: GstFakeSrc:format
1270 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1272 * win32/common/libgstreamer.def:
1273 Add gst_pad_has_name() to the exported symbols.
1275 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1277 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1278 * libs/gst/base/gstbasetransform.c:
1279 (gst_base_transform_prepare_output_buffer):
1280 Don't allow negative sizes when allocating new buffers.
1283 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1285 Patch by: Sjoerd Simons <sjoerd at luon net>
1287 * gst/gstbus.c: (gst_bus_source_dispatch):
1288 Don't print a warning if the queue is empty when we try to pop
1289 here. That could happen if another thread or callback set the
1290 bus to flushing between the source's check/prepare and the
1291 dispatch being called (#531538).
1293 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1295 * plugins/elements/gstmultiqueue.c:
1298 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1300 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1301 Add unit test for deserializing uint64s and check some really large
1302 numbers in the int64 test.
1304 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1306 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1307 (print_interfaces), (print_element_properties_info),
1308 (print_signal_info):
1309 Use "%s" as format string instead of printing strings directly.
1311 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1313 * gst/gstclock.c: (gst_clock_set_calibration):
1314 Make some checks actually useful.
1316 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1317 Remove some unused code. Unsigned integers tend to be >= 0.
1319 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1321 * gst/gstminiobject.c: (gst_value_get_mini_object):
1322 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1323 function was not in the unscheduled 0.10.19 release.
1325 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1327 * gst/gstregistry.c: (gst_registry_scan_path_level):
1328 Only print one log message per non-plugin file.
1330 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1332 * gst/gstinfo.c: (gst_debug_log_default):
1333 Fix alignment of debug log columns on 64-bit.
1335 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1337 * docs/libs/Makefile.am:
1338 * docs/libs/gstreamer-libs-sections.txt:
1339 Ignore private controller headers for docs.
1341 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1343 * libs/gst/controller/gstcontrollerprivate.h:
1344 * libs/gst/controller/gsthelper.c:
1345 * libs/gst/controller/gstinterpolation.c:
1346 * libs/gst/controller/gstinterpolationcontrolsource.c:
1347 (gst_interpolation_control_source_set_interpolation_mode):
1348 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1349 * libs/gst/controller/lib.c:
1350 Move some private declarations into private headers.
1352 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1354 * gst/gstdebugutils.c: (debug_dump_element_pad):
1355 Remove some code that is unused after Stefan's refactoring and uses
1356 uninitialized variables now, resulting in a compiler warning.
1358 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1360 * gst/gstregistry.c: (gst_registry_scan_path_level):
1361 Run g_str_has_suffix() only on the file name, not the
1364 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1366 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1367 Since we're not called only from the chain function any longer,
1368 we can't assume that there's always data in the queue, so move
1369 the is_full check to the beginning of the loop (otherwise we'd
1370 hit the assert when changing the limit properties while the
1371 queue is empty or not running yet).
1372 Also, only set a discont if items were actually removed from
1375 * tests/check/elements/queue.c: (test_leaky_downstream):
1376 Test case for the above.
1378 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1380 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1382 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1383 (gst_queue_chain), (queue_capacity_change),
1384 (gst_queue_set_property):
1385 When changing thr max capacity of a leaky queue, immediatly drop buffers
1386 instead of waiting for a push on the sinkpad. Fixes #530637.
1388 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1390 * gst/gstdebugutils.c:
1391 Refactor code and fix handling of ghostpads and their proxypads.
1393 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1395 * docs/gst/gstreamer-sections.txt:
1396 * gst/gstevent.c: (gst_event_has_name):
1398 * tests/check/gst/gstevent.c: (GST_START_TEST):
1399 Add method to conveniently check the name of a custom event with
1400 gst_event_has_name().
1401 Reformat the event docs so that related methods are put together instead
1402 of the default alphabetical sort.
1403 Update unit test with new method.
1404 API: GstEvent::gst_event_has_name()
1406 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1408 * libs/gst/check/Makefile.am:
1409 Don't add an explicit link to libgstreamer-0.10.la; it's already
1410 included in GST_OBJ_LIBS.
1412 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1415 Register GstClock type from a type-safe context. Fixes bug #530317.
1417 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1419 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1421 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1423 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1427 Use the GLib stuff to create a private structure.
1428 Add some locking around some dispose methods to make them a little
1429 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1431 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1433 * libs/gst/base/gstbasesink.h:
1434 * libs/gst/base/gstbasesrc.h:
1435 * libs/gst/base/gstbasetransform.h:
1436 * libs/gst/base/gstcollectpads.h:
1437 Fix doc typos and unify caps a bit.
1439 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1441 * tools/gst-launch.1.in:
1442 Forgot to also add the envvar docs here.
1444 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1446 * gst/gst.c: (init_post), (gst_deinit):
1447 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1448 (test_concurrent_create), (gst_pipeline_suite):
1449 Ref some more classes in gst_init() to work around thread-safety
1450 issues in pre-2.16 GLibs, and add basic unit test.
1452 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1454 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1455 (gst_base_sink_send_event):
1456 Rearrange the latency query code. We always want to do the upstream
1457 query, even if we are not live so that the upstream elements can get the
1458 latency results too. If we fail doing the query and we are live, we
1459 return TRUE afterwards.
1461 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1463 patch by: Jason Zhao <e3423c@motorola.com>
1465 * docs/gst/running.xml:
1467 Enable/disable scan_and_update_registry() based on commandline switch
1468 or environment variable. Fixes #520468.
1471 Fix typo in my previous commit.
1473 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1475 * gst/gstregistrybinary.c:
1476 Add a warning if we hit unhandled factories when saving.
1477 More debug logging detail, but move to LOG category.
1479 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1481 * gst/gstregistry.c:
1482 Tell the *truth* when improving the documentation.
1484 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1486 * gst/gstelementfactory.c: (gst_element_factory_make):
1487 Unref the factory after it was used the last time, not before.
1489 * gst/gstindexfactory.c: (gst_index_factory_make):
1490 Improve debugging a bit and don't leak a ref to the index factory with
1493 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1495 * gst/gstregistry.c:
1496 Improve the documentation.
1498 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1501 The glib macro seems to be borked. Use g_slice_copy directly and cast
1502 in the hope that this fixes the warning on 64bit.
1504 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1507 Document the new function. Use g_slice_dup() (no need for
1508 gst_segment_init()).
1510 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1512 * docs/gst/gstreamer-sections.txt:
1513 Move GParamSepc macros to standart section.
1516 Dn't document _get_type - its in private section in docs anyway and
1517 this doc-blob was incomplete.
1520 Fix wrong symbol names in docs.
1523 Add once doc sentence.
1525 * tests/check/gst/.cvsignore:
1528 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1530 * docs/gst/Makefile.am:
1531 And remove those libs here.
1533 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1535 * docs/libs/Makefile.am:
1536 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1538 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1540 Patch by: Olivier Crete <tester at tester dot ca>
1542 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1543 Add the min-threshold to the min latency if possible. Fixes #529148.
1545 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1547 * docs/gst/gstreamer.types.in:
1548 Stupid editor, I removed that line as it should go in yet.
1550 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1552 * docs/gst/gstreamer.types.in:
1553 * docs/libs/gstreamer-libs.types:
1554 Remove library types fro core docs and have them in libs docs.
1555 Reformat and cleanup. Add comment for miniobject types.
1557 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1559 * gst/gsturi.c: (gst_uri_get_protocol):
1560 Fix leak: g_strdown operates on the string in place, while
1561 g_ascii_strdown() returns a newly-allocated string.
1563 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1565 * tools/gst-inspect.c: (print_uri_handler_info),
1566 (print_element_info):
1567 Print the URI protocols and the URI type supported by the element.
1569 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1571 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1572 Use g_value_take_string() instead of the deprecated
1573 g_value_set_string_take_ownership().
1575 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1577 * gst/gstregistrybinary.c: (_gst_crc32):
1578 Return the old CRC instead of 0 if we give a NULL buffer
1579 or a buffer with a length of 0.
1581 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1583 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1584 (gst_uri_get_protocol), (gst_uri_has_protocol),
1585 (gst_uri_construct), (gst_uri_handler_set_uri):
1586 A valid URI scheme can also include '+', '-' and '.' additional
1587 to alphanumeric characters as per RFC 3986 Section 3.1.
1589 Handle URI schemes case insensitive in all places and convert
1590 to lower-case when constructing an URI or setting an URI with
1591 the GstURIHandler interface. Fixes bug #528868.
1592 All elements can still assume (as before) that they will
1593 get passed URIs with a lower-case URI scheme by the GstURIHandler
1596 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1598 * gst/gstcaps.c: (gst_static_caps_get):
1599 * gst/gstclock.c: (gst_clock_entry_new):
1600 Don't use g_atomic_set_int where it's not needed.
1602 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1604 * gst/gstvalue.c: (gst_value_deserialize_caps):
1605 * gst/parse/grammar.y:
1608 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1610 * gst/gstutils.c: (gst_atomic_int_set):
1611 Use g_atomic_int_set() here too instead of assignment +
1614 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1618 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1619 now that we depend on new enough GLib.
1621 * gst/gstcaps.c: (gst_static_caps_get):
1622 * gst/gstclock.c: (gst_clock_entry_new):
1623 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1624 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1625 (gst_debug_category_set_threshold):
1626 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1627 (gst_base_sink_set_qos_enabled):
1628 * libs/gst/net/gstnettimeprovider.c:
1629 (gst_net_time_provider_set_property):
1630 Use g_atomic_int_set() instead of gst_atomic_int_set().
1632 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1635 Also use G_GINT64_CONSTANT for the queries.
1637 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1640 Use G_GINT64_CONSTANT in varargs function.
1642 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1644 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1645 Initialize the registry magic with zeroes.
1647 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1649 * gst/gstregistrybinary.c: (_gst_crc32),
1650 (gst_registry_binary_write),
1651 (gst_registry_binary_initialize_magic),
1652 (gst_registry_binary_write_cache),
1653 (gst_registry_binary_check_magic),
1654 (gst_registry_binary_read_cache):
1655 * gst/gstregistrybinary.h:
1656 Add crc32 checksum to the binary registry file and check this before
1657 accepting a registry file.
1659 Also free the data list when writing to the registry file fails.
1661 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1663 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1664 (gst_registry_binary_load_feature),
1665 (gst_registry_binary_load_plugin):
1666 If an element supports the Uri interface, returns a valid pointer
1667 to the supported URI protocols but this pointer contains nothing
1668 don't try to save that as it will corrupt the registry.
1670 Don't unref the plugin if we added it to the registry already but
1671 fail to load a feature as gst_registry_add_plugin() takes ownership
1674 Improve debugging a bit.
1676 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1679 Clarify some tag item docs after discussion on irc.
1681 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1683 * docs/gst/gstreamer-docs.sgml:
1684 Remove commented out plugins (they have their own docs). Update
1687 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1689 * docs/gst/gstreamer-docs.sgml:
1690 * docs/gst/gstreamer-sections.txt:
1691 * gst/gstparamspecs.c:
1692 * gst/gstparamspecs.h:
1693 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1694 docs to own section.
1697 This now only documents GValue.
1699 * docs/libs/gstreamer-libs-sections.txt:
1700 * libs/gst/controller/gstcontroller.h:
1701 Remove GST_PARAM_CONTROLLABLE.
1703 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1706 Correct file path. Tell about how to use -overrides.txt.
1707 * docs/design/draft-tagreading.txt:
1708 Small design update.
1710 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1712 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1713 (gst_registry_binary_load_plugin):
1714 Fix a typo in a debug message and revert change from yesterday as
1715 gst_registry_add_plugin() will only fail if something is really wrong
1716 already and we can't survive it anyway.
1718 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1720 * gst/gst.c: (init_post), (gst_deinit):
1721 Pre-register GstGError GType from a thread-safe context
1722 (fixes #527967); unref enum type classes in deinit.
1724 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1726 Patch by: Rene Stadler <mail at renestadler de>
1728 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1729 Merging an empty list with another list in KEEP_ALL mode should
1730 yield an empty list as result and not the second list (#512578).
1732 * tests/check/gst/gsttagsetter.c:
1733 Add unit test for tag merge modes and the aforementioned bug.
1735 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1737 Patch by: Rene Stadler <mail at renestadler de>
1740 Fix description to match the order in the table (#512577).
1742 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1744 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1746 * libs/gst/net/gstnettimepacket.h:
1747 * docs/libs/gstreamer-libs-sections.txt:
1748 Define socklen_t as int if it's not defined yet. Fixes compilation
1749 with MSVC6 and other versions where socklen_t is not defined in
1750 the windows headers (#518022).
1752 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1754 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1755 If gst_registry_add_plugin() fails our reference to the plugin is
1756 invalid so don't try to use it anymore and instead error out.
1758 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1760 * tools/gst-xmlinspect.c: (print_element_info), (main):
1761 De-cruft a bit. If no argument is specified, print all elements in
1762 XML syntax rather than a freestyle list of elements like gst-inspect.
1763 Also, don't print XML header chunk unless we actually have something
1764 to print (ie. don't print it before an error message); print error
1765 message to stderr not stdout. Remove support for printing plugin
1766 info (it would just output something freestyle along the lines of
1767 gst-inspect so far), which fixes #514507. Also add license header.
1769 2008-04-11 Julien Moutte <julien@fluendo.com>
1772 * configure.ac: Merge platform specific defines, introduce a new
1773 define on OS X to remember that forking when updating registry is
1775 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1777 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1779 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1780 condition that leads to absolutely no plugins being registered on
1783 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1785 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1787 * gst/gstutils.c: (gst_pad_add_data_probe),
1788 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1789 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1790 (gst_pad_add_buffer_probe_full):
1792 * docs/gst/gstreamer-sections.txt:
1793 * win32/common/libgstreamer.def:
1794 Add gst_pad_add_*_probe_full() functions with a notify callback that
1795 lets the caller free the data it passes to the probe functions. This
1796 is useful for bindings such as gst-python or gstreamermm (#526814).
1797 API: gst_pad_add_data_probe_full
1798 API: gst_pad_add_buffer_probe_full
1799 API: gst_pad_add_event_probe_full
1801 * tests/check/gst/gstutils.c:
1802 Add minimal unit test to make sure freeing the data actually works
1805 * tests/benchmarks/.cvsignore:
1806 Random cvsignore addendum.
1808 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1810 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1811 (GST_DEBUG_BIN_TO_DOT_FILE):
1812 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1813 to it in the docs (since these are macros the types of the arguments
1814 won't be shown in the docs otherwise).
1816 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1819 Do not abort on out of memory for pad_alloc_buffer.
1821 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1823 * libs/gst/check/gstcheck.c:
1824 Remove blank line between symbol name ad parameters to fix gtkdoc
1827 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1829 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1831 * docs/gst/gstreamer-sections.txt:
1834 * win32/common/libgstreamer.def:
1835 Expose gst_segment_copy() to make things easier for the c++ bindings.
1837 API: gst_segment_copy()
1839 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1841 * gst/gst.c: (gst_init_get_option_group), (init_post):
1842 Fix const position; ref GType classes for enum types to work
1843 around thread-safety issues in GLib versions < 2.16.
1845 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1847 * docs/design/part-buffering.txt:
1848 Fix some typos and set the estimated total for push mode to -1.
1850 * gst/gstquery.c: (gst_query_new_buffering):
1851 Set buffering-left to 0 as we're not buffering by default.
1853 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1854 Implement BUFFERING query.
1856 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1858 Based on patch by: Milosz Derezynski <internalerror gmail com>
1860 * gst/gsterror.c: (_gst_stream_errors_init):
1862 Add two new error codes for encrypted content. Fixes #524659.
1863 API: GST_STREAM_ERROR_DECRYPT
1864 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1866 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1871 * win32/common/libgstreamer.def:
1874 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1876 * plugins/elements/gstidentity.c: (gst_identity_event),
1877 (gst_identity_start):
1878 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1879 event after processing some data. Fixes bug #526042.
1881 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1883 * docs/gst/gstreamer-sections.txt:
1884 * gst/gstquery.c: (gst_query_parse_latency),
1885 (gst_query_set_buffering_percent),
1886 (gst_query_parse_buffering_percent),
1887 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1889 Rename _avail -> _range
1890 API: gst_query_set_buffering_range
1891 API: gst_query_parse_buffering_range
1893 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1895 * docs/design/part-buffering.txt:
1898 * gst/gstquery.c: (gst_query_parse_latency),
1899 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1900 (gst_query_parse_buffering_percent):
1902 Add busy field and quark for the buffering query so that the app can
1903 only use the query to see if buffering is in progress.
1905 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1907 * docs/gst/gstreamer-sections.txt:
1908 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1909 (gst_message_parse_buffering_stats):
1911 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1912 (gst_query_parse_latency), (gst_query_new_buffering),
1913 (gst_query_set_buffering_percent),
1914 (gst_query_parse_buffering_percent),
1915 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1916 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1918 Reorder the message docs and headers for clarity.
1919 Add aditional buffering stats API for messages.
1920 Add buffering query.
1921 Convert some leftover queries to use GstQuark.
1922 API: gst_message_set_buffering_stats
1923 API: gst_message_parse_buffering_stats
1924 API: GST_QUERY_BUFFERING
1925 API: GstBufferingMode
1926 API: gst_query_new_buffering
1927 API: gst_query_set_buffering_percent
1928 API: gst_query_parse_buffering_percent
1929 API: gst_query_set_buffering_stats
1930 API: gst_query_parse_buffering_stats
1932 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1934 * gst/gstmessage.c: (gst_message_new_error),
1935 (gst_message_new_warning), (gst_message_new_info),
1936 (gst_message_new_buffering), (gst_message_new_state_changed),
1937 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1938 (gst_message_new_new_clock), (gst_message_new_segment_start),
1939 (gst_message_new_segment_done), (gst_message_new_duration),
1940 (gst_message_new_async_start), (gst_message_parse_buffering),
1941 (gst_message_parse_state_changed),
1942 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1943 (gst_message_parse_new_clock), (gst_message_parse_error),
1944 (gst_message_parse_warning), (gst_message_parse_info),
1945 (gst_message_parse_segment_start),
1946 (gst_message_parse_segment_done), (gst_message_parse_duration),
1947 (gst_message_parse_async_start):
1948 Use GstQuark for messages.
1950 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1952 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1954 Add some more quarks needed for messages and queries.
1956 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1958 * docs/design/part-buffering.txt:
1959 Remove the "none" buffering mode, STREAM is a good default.
1960 Move estimated-time to the avail query, that's when it will be needed.
1961 Other small typo fixes and updates.
1963 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1965 * gst/gstindex.c: (gst_index_resolver_get_type):
1966 Don't put descriptions into the nick field of a GEnumValue: it's not
1967 meant for that and some language bindings rely on the nick field to
1968 construct constants and the like. Fixes #526705.
1970 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1975 Merge other changes from 0.10.19 release branch.
1977 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1979 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1982 Actually build dlls when cross-compiling with mingw32.
1985 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1987 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1990 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1992 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1994 * docs/design/draft-latency.txt:
1997 * docs/design/part-buffering.txt:
1998 Update design docs with more buffering ideas.
2000 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2003 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2005 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2008 Revert part that belongs to the preset patch.
2010 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2013 Add qoutes to the define. Fixes # 525961.
2015 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2017 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2018 (gst_file_index_load), (gst_file_index_add_id),
2019 (gst_file_index_get_assoc_entry):
2020 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2021 (gst_mem_index_free_id), (gst_mem_index_add_id),
2022 (gst_mem_index_index_format):
2023 Use GSlice when possible.
2025 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2027 * libs/gst/controller/gstinterpolationcontrolsource.c:
2028 (gst_control_point_free),
2029 (gst_interpolation_control_source_set_internal):
2030 Use GSlice for allocating the control points.
2032 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2034 * plugins/elements/gsttypefindelement.c:
2035 (gst_type_find_element_class_init),
2036 (gst_type_find_element_set_property),
2037 (gst_type_find_element_get_property),
2038 (gst_type_find_element_activate):
2039 * plugins/elements/gsttypefindelement.h:
2041 Fix pad leak when peer query fails.
2042 We can still typefind when the peer returns -1.
2043 Add property to force caps and bypass typefinding. This will be used in
2047 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2052 * gst/glib-compat-private.h:
2053 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2054 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2055 Unconditionally use GSlice for allocation.
2057 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2058 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2059 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2060 (gst_structure_free):
2061 Use GSlice for allocation.
2063 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2065 * gst/parse/Makefile.am:
2066 * gst/parse/grammar.tab.pre.c:
2067 * gst/parse/grammar.tab.pre.h:
2068 * gst/parse/lex._gst_parse_yy.pre.c:
2069 Require a new enough flex and bison and remove the parser hacks to use
2070 a pre-regenerated version.
2072 2008-04-01 Julien Moutte <julien@fluendo.com>
2074 patch by: Jason Zhao <E3423C@motorola.com>
2076 * configure.ac: Add a configure switch to disable option parsing
2080 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2083 * gst/gstregistry.c:
2084 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2085 and handle this case.
2088 Add a comment here describing, why we stat each plugin and not try to
2091 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2093 * libs/gst/base/gstbasetransform.c:
2094 (gst_base_transform_prepare_output_buffer):
2095 Also unset the GAP flag on buffers if we're working inplace but
2096 the element is not GAP-aware.
2098 Mark a comment as FIXME 0.11.
2100 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2103 Fix type in log message and add one to ease seeing how long registry
2104 cache verification takes.
2106 * gst/gstregistry.c:
2107 Only test plugin filenames against G_MODULE_SUFFIX.
2109 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2111 * gst/gstdebugutils.c:
2112 Improve handling ghost/proxy pads.
2114 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2116 * docs/gst/gstreamer-sections.txt:
2119 Expose macro to docs and fix link to it.
2121 2008-03-27 Michael Smith <msmith@fluendo.com>
2123 * libs/gst/dataprotocol/dataprotocol.c:
2124 (gst_dp_packet_from_event_1_0):
2125 When calculating GDP body CRC, use the correct pointer.
2126 Fixes part of #522401.
2128 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2130 Patch by: Mark Nauwelaerts <manauw at skynet be>
2132 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2133 (gst_identity_init), (gst_identity_prepare_output_buffer):
2134 Identity is not always a passthrough element, it can modify the buffer
2135 timestamps when it has a datarate and operates in single-segment mode.
2136 We therefore make it an in_place filter with a custom buffer prepare
2137 function that conditionally makes the input buffer metadata writable
2138 when needed. Fixes #523985.
2140 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2142 Patch by: Mark Nauwelaerts <manauw at skynet be>
2145 * libs/gst/base/gstbasesrc.h:
2146 * libs/gst/base/gstbasetransform.c:
2147 * libs/gst/check/gstcheck.c:
2148 Small documentation fixes. Fixes #523978.
2150 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2152 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2153 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2154 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2156 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2158 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2159 (single_queue_underrun_cb):
2160 When trying to make room in the queue, bump the max allowed buffers
2161 bigger than the current amount of buffers in the queue. this fixes some
2162 nasty deadlocks in multiqueue when dynamically changing the limits of
2165 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2167 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2169 * gst/gstcaps.c: (gst_caps_set_simple),
2170 (gst_caps_set_simple_valist), (gst_caps_intersect):
2172 Constify the field gchar * params in set_simple and friends.
2175 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2177 * gst/gstvalue.c: (gst_value_transform_object_string):
2178 Transform a GstObject to a more meaningfull string that includes the
2179 object type in addition to its name.
2181 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2184 ChangeLog surgery to add bugnumber to commit.
2186 2008-03-23 Rene Stadler <mail@renestadler.de>
2188 * libs/gst/base/gstbasetransform.c:
2189 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2191 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2193 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2194 Rename constant everywhere and don't forget one occurence.
2196 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2198 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2199 Align memory to the pointer size even if the architecture allows
2200 unaligned memory access. Unaligned memory access usually comes with
2201 performance penality.
2203 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2205 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2206 (gst_registry_binary_check_magic),
2207 (gst_registry_binary_load_pad_template),
2208 (gst_registry_binary_load_feature),
2209 (gst_registry_binary_load_plugin):
2210 Align memory to the pointer size instead of always 32 bit. Fixes
2211 unaligned memory accesses on ia64 and friends.
2213 * gst/gstregistrybinary.h:
2214 Bump binary registry format version for this as it changes the
2215 format on those architectures that don't have unaligned access
2216 and 64 bit pointers.
2218 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2220 * docs/pwg/advanced-dparams.xml:
2221 * docs/pwg/building-props.xml:
2222 * docs/pwg/other-source.xml:
2223 * gst/glib-compat.h:
2224 * gst/gstbin.c: (gst_bin_class_init):
2225 * gst/gstclock.c: (gst_clock_class_init):
2226 * gst/gstindex.c: (gst_index_class_init):
2227 * gst/gstobject.c: (gst_object_class_init):
2228 * gst/gstpad.c: (gst_pad_class_init):
2229 * gst/gstpipeline.c: (gst_pipeline_class_init):
2230 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2231 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2232 * libs/gst/base/gstbasetransform.c:
2233 (gst_base_transform_class_init):
2234 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2235 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2236 (_gst_check_fault_handler_sighandler),
2237 (_gst_check_fault_handler_setup), (gst_check_init):
2238 * libs/gst/controller/gstcontroller.c:
2239 (_gst_controller_class_init):
2240 * libs/gst/controller/gstlfocontrolsource.c:
2241 (gst_lfo_control_source_class_init):
2242 * libs/gst/net/gstnetclientclock.c:
2243 (gst_net_client_clock_class_init):
2244 * libs/gst/net/gstnettimeprovider.c:
2245 (gst_net_time_provider_class_init):
2246 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2247 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2248 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2249 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2250 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2251 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2252 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2253 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2254 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2255 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2256 * plugins/elements/gsttee.c: (gst_tee_class_init):
2257 * plugins/elements/gsttypefindelement.c:
2258 (gst_type_find_element_class_init):
2259 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2260 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2261 use it everywhere for GParamSpecs that use static strings (i.e. all).
2262 This gives us less memory usage, fewer allocations and thus less
2263 memory defragmentation. Fixes bug #523806.
2265 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2267 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2268 (gst_param_spec_mini_object):
2269 * gst/gstminiobject.h:
2270 * win32/common/libgstreamer.def:
2271 * docs/gst/gstreamer-sections.txt:
2272 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2273 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2274 GstParamSpecMiniObject into a public header for this.
2276 This make GstMiniObject a bit more consistent with GObject and makes
2277 it possible to extend the param specs.
2279 gst_value_dup_mini_object is mainly useful for set_property methods.
2283 * tools/gst-inspect.c: (print_element_properties_info):
2284 Print something useful for GstMiniObject properties and not just
2287 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2289 * docs/gst/gstreamer-sections.txt:
2290 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2291 (gst_registry_binary_check_magic):
2292 * gst/gstregistrybinary.h:
2293 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2294 and add it to the (private part) of the docs to fix the build.
2296 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2298 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2299 (gst_registry_binary_check_magic),
2300 (gst_registry_binary_read_cache):
2301 * gst/gstregistrybinary.h:
2302 Don't use GST_MAJORMINOR for the binary registry version. Instead
2303 hardcode a value that must be changed whenever the format changes
2304 in an incompatible way.
2305 Also don't GST_ERROR when there is a version mismatch, just
2306 regenerate the registry silently.
2308 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2311 Back to development - 0.10.18.1
2313 === release 0.10.18 ===
2315 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2318 releasing 0.10.18, "So far away"
2320 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2323 * win32/common/config.h:
2324 0.10.17.4 pre-release
2326 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2328 Patch by: Ole André Vadla Ravnås
2329 <ole dot andre dot ravnas at tandberg dot com>
2331 * docs/gst/gstreamer-sections.txt:
2332 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2333 (gst_poll_update_winsock_event_mask),
2334 (gst_poll_prepare_winsock_active_sets),
2335 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2336 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2337 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2338 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2339 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2341 * win32/common/libgstreamer.def:
2342 Add new function gst_poll_fd_ignored() for improved Windows
2344 Various minor fixes and cleanups. See #520808.
2346 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2348 * gst/gstindex.c: (gst_index_entry_free):
2350 Don't free key strings which we don't own. Fixes crash in
2351 gst_index_entry_free() (#522741).
2353 * tests/check/Makefile.am:
2354 * tests/check/gst/.cvsignore:
2355 * tests/check/gst/gstindex.c: (test_index_entries),
2356 (gst_index_suite), (gst_index):
2357 Add unit test for the above.
2359 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
2361 * win32/common/libgstreamer.def:
2362 Remove symbols that were removed recently. Fixes bug #521740.
2364 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2367 * win32/common/config.h:
2368 0.10.17.3 pre-release
2370 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2372 Patch by: Ole André Vadla Ravnås
2373 <ole dot andre dot ravnas at tandberg dot com>
2375 * docs/gst/gstreamer-sections.txt:
2376 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2377 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2378 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2379 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2380 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2381 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2382 (gst_poll_fd_can_write), (gst_poll_wait),
2383 (gst_poll_set_controllable), (gst_poll_restart),
2384 (gst_poll_set_flushing):
2386 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2387 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2388 (gst_net_time_provider_new):
2389 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2390 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2391 * tests/benchmarks/gstpollstress.c: (main):
2392 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2393 Remove GstPollMode from the API, it does not make sense to let the
2394 application control this.
2395 Add support for Win32.
2396 Fix the testsuite. Fixes #520671.
2398 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2400 Patch by: Ole André Vadla Ravnås
2401 <ole dot andre dot ravnas at tandberg dot com>
2403 * gst/gstregistrybinary.c:
2404 Include io.h for write() and close() when building with MSVC. Fixes
2407 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2410 * gst/gst_private.h:
2411 * gst/gstconfig.h.in:
2412 * gst/gstregistry.h:
2413 * gst/gstregistrybinary.c:
2414 * win32/common/gstconfig.h:
2415 Move registry backend API to private headers where we can. Add
2416 fixme-0.11 comments for the others. Add stubs for the xml backend when
2417 using the binary to ensure they functions exists (they should not be
2418 used though). Fixes #520756.
2420 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2423 * win32/common/config.h:
2426 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2428 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2429 (gst_registry_binary_read_cache):
2430 * gst/gstregistryxml.c: (gst_registry_save):
2431 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2432 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2433 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2434 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2435 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2438 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2440 * gst/gstminiobject.c:
2441 Import gst_private.h before any other header that might include other
2442 glib headers. This fixes the build on windows using native compilers.
2444 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2446 * win32/common/gstconfig.h:
2447 Add here too, just for completeness.
2449 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2452 * gst/gstconfig.h.in:
2453 * gst/gstregistry.h:
2454 Fix broken use of config.h-defined preprocessor directive in a public
2455 header file. Add a corresponding define to gstconfig.h, since we can't
2456 really remove those function declarations from the header file now
2457 (or can we? and why are they there in the first place?).
2459 2008-03-03 Andy Wingo <wingo@pobox.com>
2461 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2464 * gst/gststructure.c (gst_structure_from_string): Warn if
2465 structure_from_string didn't consume the whole string, but the
2466 caller did not provide an end pointer.
2468 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2470 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2472 * gst/gstregistryxml.c: (read_string), (load_feature):
2473 Strings allocated by libxml2 should be freed with xmlFree(), not
2474 with g_free(). Fixes issues on windows in certain contexts (#519698).
2476 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2478 * gst/gstinterface.c: (gst_element_implements_interface):
2479 Don't crash if the element supports the interface queried, but does
2480 not implement GstImplementsInterface. Fixes #519584.
2482 * tests/check/Makefile.am:
2483 * tests/check/gst/.cvsignore:
2484 * tests/check/gst/gstinterface.c:
2485 Add unit test for the above.
2487 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2489 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2492 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2494 * gst/gstsegment.c: (gst_segment_set_seek),
2495 (gst_segment_to_stream_time):
2496 Improve some comment.
2497 Update variables where it makes more sense.
2499 2008-02-29 Rene Stadler <mail@renestadler.de>
2501 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2502 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2503 URIHandlers implemented using language bindings.
2505 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2507 * gst/gstelementfactory.h:
2508 * tests/check/elements/fakesink.c:
2509 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2510 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2511 * tests/check/elements/filesink.c: (setup_filesink):
2512 * tests/check/elements/filesrc.c: (setup_filesrc):
2513 * tests/check/elements/identity.c: (setup_identity):
2514 * tests/check/elements/tee.c:
2515 * tests/check/generic/sinks.c:
2516 * tests/check/generic/states.c: (setup), (teardown):
2517 * tests/check/gst/gst.c:
2518 * tests/check/gst/gstabi.c:
2519 * tests/check/gst/gstbin.c:
2520 * tests/check/gst/gstbus.c: (pull_messages):
2521 * tests/check/gst/gstcaps.c:
2522 * tests/check/gst/gstelement.c:
2523 * tests/check/gst/gstevent.c:
2524 * tests/check/gst/gstghostpad.c:
2525 * tests/check/gst/gstiterator.c:
2526 * tests/check/gst/gstmessage.c:
2527 * tests/check/gst/gstminiobject.c: (my_foo_init):
2528 * tests/check/gst/gstobject.c: (thread_name_object),
2530 * tests/check/gst/gstpad.c:
2531 * tests/check/gst/gstplugin.c:
2532 * tests/check/gst/gstpoll.c:
2533 * tests/check/gst/gstquery.c:
2534 * tests/check/gst/gstsegment.c:
2535 * tests/check/gst/gststructure.c:
2536 * tests/check/gst/gstsystemclock.c:
2537 * tests/check/gst/gsttask.c:
2538 * tests/check/gst/gstutils.c:
2539 * tests/check/gst/gstvalue.c:
2540 * tests/check/gst/struct_hppa.h:
2541 * tests/check/gst/struct_i386.h:
2542 * tests/check/gst/struct_ppc32.h:
2543 * tests/check/gst/struct_ppc64.h:
2544 * tests/check/gst/struct_x86_64.h:
2545 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2546 * tests/check/libs/basesrc.c:
2547 * tests/check/libs/controller.c: (GST_START_TEST):
2548 * tests/check/libs/gdp.c:
2549 * tests/check/libs/gstnetclientclock.c:
2550 * tests/check/libs/gstnettimeprovider.c:
2551 * tests/check/libs/libsabi.c:
2552 * tests/check/libs/struct_hppa.h:
2553 * tests/check/libs/struct_i386.h:
2554 * tests/check/libs/struct_ppc32.h:
2555 * tests/check/libs/struct_ppc64.h:
2556 * tests/check/libs/struct_x86_64.h:
2557 * tests/check/pipelines/cleanup.c:
2558 * tests/check/pipelines/simple-launch-lines.c:
2559 * tests/check/pipelines/stress.c:
2560 And correct even more valid sparse warnings.
2562 * win32/common/libgstreamer.def:
2563 Add gst_poll_fd_init to the list of symbols.
2565 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2567 * gst/gstconfig.h.in:
2568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2569 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2570 (gst_check_log_critical_func), (gst_check_drop_buffers),
2571 (gst_check_element_push_buffer_list):
2572 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2573 (gst_controller_get_type):
2574 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2575 (gst_object_get_controller), (gst_object_get_control_source):
2576 * libs/gst/controller/gstinterpolationcontrolsource.c:
2577 (gst_interpolation_control_source_new):
2578 * libs/gst/controller/gstlfocontrolsource.c:
2579 (gst_lfo_control_source_new):
2580 * libs/gst/dataprotocol/dataprotocol.c:
2581 (gst_dp_event_from_packet_0_2):
2582 * plugins/elements/gstfdsrc.c:
2583 * plugins/elements/gstmultiqueue.c:
2584 * plugins/elements/gsttee.c:
2585 * plugins/elements/gsttypefindelement.c:
2586 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2587 (gst_file_index_add_association):
2588 * plugins/indexers/gstmemindex.c:
2589 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2590 * tests/check/elements/queue.c: (setup_queue):
2591 * tests/check/gst/gstpipeline.c:
2592 * tests/check/libs/collectpads.c: (setup), (teardown),
2593 (gst_collect_pads_suite):
2594 * tests/examples/adapter/adapter_test.c:
2595 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2596 * tests/examples/xml/createxml.c:
2597 * tests/examples/xml/runxml.c:
2598 * tools/gst-inspect.c:
2600 Correct all relevant warnings found by the sparse semantic code
2601 analyzer. This include marking several symbols static, using
2602 NULL instead of 0 for pointers, not using variable sized arrays
2603 on the stack, moving variable declarations to the beginning of
2604 a block and using "foo (void)" instead of "foo ()" for declarations.
2606 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2608 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2609 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2610 Don't reset GstPollFDs, this is not necessary at all.
2612 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2613 (delayed_restart), (delayed_control):
2614 Use GST_POLL_FD_INIT.
2616 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2618 * gst/gstpoll.c: (gst_poll_fd_init):
2622 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2623 Use some more init macros.
2625 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2627 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2628 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2629 Use init macros and functions.
2631 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2633 * docs/gst/gstreamer-sections.txt:
2634 * gst/gstpoll.c: (gst_poll_fd_init):
2636 Add INIT macro and _init method for initializing the GstPollFD.
2638 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2640 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2641 (gst_fd_sink_update_fd):
2642 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2643 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2644 (delayed_restart), (delayed_control):
2645 Initialize some uninitialized variables as spotted by valgrind.
2647 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2649 * tests/benchmarks/Makefile.am:
2650 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2652 Add poll stress test.
2654 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2656 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2658 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2659 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2660 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2661 * plugins/elements/gstfdsink.h:
2662 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2663 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2664 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2665 (gst_fd_src_uri_set_uri):
2666 * plugins/elements/gstfdsrc.h:
2667 Port to GstPoll. See #505417.
2669 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2671 * win32/common/libgstreamer.def:
2672 Add new gst_poll_ symbols to win32 defs.
2674 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2676 * docs/libs/gstreamer-libs-sections.txt:
2677 * libs/gst/net/gstnetclientclock.c:
2678 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2679 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2680 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2681 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2682 * libs/gst/net/gstnetclientclock.h:
2683 * libs/gst/net/gstnettimeprovider.c:
2684 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2685 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2686 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2687 (gst_net_time_provider_new):
2688 * libs/gst/net/gstnettimeprovider.h:
2689 Use a private stuct to not break ABI.
2691 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2693 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2695 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2696 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2697 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2698 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2699 * libs/gst/net/gstnetclientclock.h:
2700 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2701 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2702 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2703 (gst_net_time_provider_new):
2704 * libs/gst/net/gstnettimeprovider.h:
2705 Massive code removal and cleanups because of GstPoll.
2708 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2711 Add checks for poll, ppoll and pselect.
2713 * docs/gst/gstreamer-docs.sgml:
2714 * docs/gst/gstreamer-sections.txt:
2715 Add docs for GstPoll.
2719 * gst/gstpoll.c: (find_index), (selectable_fds),
2720 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2721 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2722 (gst_poll_set_mode), (gst_poll_get_mode),
2723 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2724 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2725 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2726 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2727 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2728 (gst_poll_fd_can_write), (gst_poll_wait),
2729 (gst_poll_set_controllable), (gst_poll_restart),
2730 (gst_poll_set_flushing):
2732 Add generic poll abstraction. We ideally don't want to have this in core
2733 here but in glib intead...
2734 This code will be used in various network elements and ultimately for
2735 the nanosecond precision monotonic clock (that's why it's here in core).
2736 It'll allow us to implement cancelable socket operations for windows too.
2738 * tests/check/Makefile.am:
2739 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2740 (delayed_stop), (delayed_restart), (delayed_flush),
2741 (delayed_control), (gst_poll_suite):
2742 Add GstPoll unit test.
2744 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2747 Improve documentation of gst_filter_run(). Fixes #518627.
2749 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2752 Add a few lines about the new 'check-inspected-versions' target.
2754 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2756 * tests/check/gst/gstevent.c:
2757 Add qos to the event test. Rename tcase/tsuite; is not only about
2760 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2762 * plugins/elements/gstqueue.c:
2763 Ensure that buffer metadata is writeable, before modifying. Spotted by
2766 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2768 * plugins/elements/gstqueue.c:
2769 * plugins/elements/gstqueue.h:
2770 When dropping buffers in leaky modes, mark next buffers we sent as
2773 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2775 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2776 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2778 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2780 * plugins/elements/Makefile.am:
2781 * plugins/elements/gstbufferstore.c:
2782 * plugins/elements/gstbufferstore.h:
2783 * plugins/elements/gsttypefindelement.h:
2784 Remove GstBufferStore, no idea why we were still building it.
2785 It's not used anywhere and superseded by GstAdapter.
2787 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2788 (gst_file_src_create_mmap):
2789 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2790 Printf format fixes for 64-bit integers.
2792 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2795 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2796 We're not in 0.8 times anymore.
2798 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2800 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2801 (gst_check_element_push_buffer_list):
2802 * libs/gst/check/gstcheck.h:
2803 Make the declaration in the header for
2804 gst_check_element_push_buffer_list match the implementation.
2806 Fix up spelling, grammar and wording of the documentation in a few
2807 places, and add the Since keyword to new API functions.
2808 Use g_list_delete_link instead of g_list_remove in
2809 gst_check_drop_buffers, since it's immeasurably more efficient.
2811 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2812 Use new gst_check_drop_buffers function where appropriate.
2814 * win32/common/libgstbase.def:
2815 * win32/common/libgstreamer.def:
2816 Add new symbols gst_collect_pads_take_buffer,
2817 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2820 Changelog surgery to add API keyword to new gst_check API.
2822 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2824 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2825 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2826 Update pre-generated flex files with flex 2.3.34.
2828 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2830 * gst/gstminiobject.c:
2831 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2832 friendly to subclasses and not require them to know all internals
2833 of their parent class.
2835 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2837 * docs/libs/gstreamer-libs-sections.txt:
2838 * libs/gst/base/gstcollectpads.c:
2839 * libs/gst/base/gstcollectpads.h:
2840 Add sub-buffer functions to collectpads. Fixes #516187.
2841 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2843 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2846 Copy selected buffer-flags when creating subbuffers.
2849 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2851 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2852 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2853 * gst/gstmessage.c: (gst_message_class_init),
2854 (gst_message_finalize):
2855 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2856 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2857 (gst_mmap_buffer_finalize):
2858 Properly chain up finalize functions to the parent class.
2860 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2862 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2864 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2865 (gst_index_set_resolver_full):
2867 Add new function with option to dispose of user_data in resolver.
2868 Actually call the dispose function when finalizing the object and not
2869 just when changing the resolver/filter.
2870 API: GstIndex::gst_index_set_resolver_full()
2872 * docs/gst/gstreamer-sections.txt:
2873 Add new function to docs. Fixes #515469.
2875 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2877 * gst/gstindex.c: (gst_index_finalize):
2878 Chain up finalize to the parent class. Fixes leaking the GstObject
2879 name and other things.
2881 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2884 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2885 pre-releases or releases.
2887 * docs/faq/gst-uninstalled:
2890 * docs/random/release:
2891 Change one of the steps - we only upload core & base to Gnome FTP
2893 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2895 * gst/gstconfig.h.in:
2896 Add 'id' for example.
2900 * plugins/elements/gstfdsink.c:
2901 Link to signals. Doc and comment fixes.
2903 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2905 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2906 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2907 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2908 unused and unimplemented; finally, it is plugin features, not
2909 plugins, that have ranks.
2911 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2913 * gst/gstpluginfeature.h:
2914 Clarify GstRank range docs.
2916 2008-02-05 David Schleef <ds@schleef.org>
2918 * gst/gst.c: Add a separate gst_deinitialized that prevents
2919 gst_init() from being called after gst_deinit(). Fixes #509559
2921 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2923 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2924 (gst_bin_class_init):
2925 * gst/gstelement.c: (gst_element_base_class_init),
2926 (gst_element_class_add_pad_template):
2927 * gst/gstpadtemplate.c: (gst_pad_template_init):
2928 * gst/gstpipeline.c: (gst_pipeline_get_type),
2929 (gst_pipeline_base_init), (gst_pipeline_class_init):
2930 * libs/gst/base/gstbasesink.c:
2931 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2932 (gst_base_src_base_init), (gst_base_src_class_init):
2933 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2934 (gst_capsfilter_class_init):
2935 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2936 (gst_fake_sink_class_init):
2937 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2938 (gst_fake_src_class_init):
2939 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2940 (gst_fd_sink_class_init):
2941 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2942 (gst_fd_src_class_init):
2943 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2944 (gst_file_sink_class_init):
2945 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2946 (gst_file_src_class_init):
2947 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2948 (gst_identity_class_init):
2949 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2950 (gst_multi_queue_class_init):
2951 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2952 (gst_queue_class_init):
2953 * plugins/elements/gsttee.c: (gst_tee_base_init),
2954 (gst_tee_class_init):
2955 * plugins/elements/gsttypefindelement.c:
2956 (gst_type_find_element_base_init),
2957 (gst_type_find_element_class_init):
2958 * tests/check/gst/gstelement.c: (gst_element_suite):
2959 Revert previous changes to the behaviour of GstPadTemplates, etc
2960 and the possiblity to call them in class_init as it breaks too
2961 many elements. Reopens bug #491501.
2963 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2966 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2968 * tools/gst-launch.c:
2969 Dump one graph per pipeline state-change and state change name
2970 (if GST_DEBUG_DUMP_DOT_DIR is set).
2972 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2975 * tests/check/gst/gstpad.c:
2976 Be sure that we have a new copy of the caps and not
2977 reffed caps from a template
2979 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2981 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2982 * gst/gstpipeline.c: (gst_pipeline_get_type),
2983 (gst_pipeline_class_init):
2984 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2985 (gst_base_sink_class_init):
2986 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2987 (gst_base_src_class_init):
2988 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2989 (gst_base_transform_class_init):
2990 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2991 (gst_collect_pads_class_init):
2992 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2993 * libs/gst/net/gstnettimeprovider.c:
2994 (gst_net_time_provider_base_init),
2995 (gst_net_time_provider_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 Don't use base_init where not absolutely necessary. For example it's
3022 not necessary anymore for adding pad templates or setting element
3025 Leave empty base_init functions in several places as GST_BOILERPLATE
3026 still defines and uses them.
3028 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3030 * gst/gstelement.c: (gst_element_base_class_init),
3031 (gst_element_class_add_pad_template):
3032 * gst/gstpadtemplate.c:
3033 Make it possible (and recommended) to set element details and add
3034 pad templates in the class_init functions by copying the details/pad
3035 templates in GstElement's base_init.
3037 Also make it possible to replace existing pad templates by adding
3038 a new one with the same name. This was done in a hackish fashion
3039 in same elements before already.
3041 Don't reference pad templates that are added a second time. A
3042 new pad template has a refcount of one and is not floating anymore
3043 and to be owned by the element's class. Make this more explicit by
3044 mentioning it in the docs of gst_element_class_add_pad_template().
3046 These changes are backwards compatible. Fixes bug #491501.
3048 * tests/check/gst/gstelement.c:
3049 Add unit test for setting element details, adding pad templates and
3050 replacing them in a subclass.
3052 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3054 * tools/gst-inspect.c: (print_interfaces),
3055 (print_element_properties_info), (print_pad_info),
3056 (print_signal_info), (print_element_info):
3057 Fix a few memory leaks.
3059 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3061 * docs/libs/gstreamer-libs-sections.txt:
3062 * libs/gst/check/gstcheck.c:
3063 * libs/gst/check/gstcheck.h:
3064 Add more functions for unit testing: gst_check_drop_buffers,
3065 gst_check_caps_equal, gst_check_element_push_buffer_list,
3066 gst_check_element_push_buffer
3067 API: gst_check_drop_buffers
3068 API: gst_check_caps_equal
3069 API: gst_check_element_push_buffer_list
3070 API: gst_check_element_push_buffer
3072 2008-02-01 Julien Moutte <julien@fluendo.com>
3074 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3075 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3076 (gst_index_finalize), (gst_index_entry_free),
3077 (gst_index_add_association): Fix memory leaks.
3078 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3079 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3080 (gst_mem_index_free_format), (gst_mem_index_free_id),
3081 (gst_mem_index_finalize): Fix memory leaks.
3082 * win32/common/config.h: Updated to CVS HEAD.
3084 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3087 Some more details about how the plugin docs works.
3089 * docs/plugins/gstreamer-plugins-sections.txt:
3092 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3094 * gst/parse/grammar.tab.pre.c:
3095 * gst/parse/grammar.tab.pre.h:
3096 * gst/parse/grammar.y:
3097 * gst/parse/lex._gst_parse_yy.pre.c:
3098 Add delayed set-property. This allows to set properties on dynamicaly
3099 created objects (pads in videomxer). Fixes #509391.
3101 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3104 Check if caps are not NULL (fix bug #510194)
3106 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3108 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3109 (gst_base_sink_get_position_paused):
3110 Add fixme regarding EOS in pull mode.
3111 Fix position reporting in PAUSED for negative rates.
3113 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3115 * gst/gstminiobject.c: (gst_mini_object_replace):
3116 When replacing a miniobject, do a quick equality check first so that we
3117 can avoid a ref/unref pair.
3119 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3121 * docs/design/part-synchronisation.txt:
3124 * docs/plugins/Makefile.am:
3125 * docs/plugins/gstreamer-plugins-docs.sgml:
3126 * docs/plugins/gstreamer-plugins-sections.txt:
3127 * plugins/elements/gstmultiqueue.c:
3128 Add multiqueue to the docs.
3130 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3135 === release 0.10.17 ===
3137 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3140 releasing 0.10.17, "Due Negligence"
3142 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3145 Revert caps != NULL check temporarily for 0.10.17 release.
3147 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3150 Check if caps are not NULL (fix bug #510194)
3152 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3155 Fix compilation on systems that have posix timers but no
3158 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3161 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3163 * tools/gst-inspect.c:
3164 Revert previous commit in preparation for an impromptu 0.10.17 release
3166 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3168 * tools/gst-inspect.c: (print_interfaces),
3169 (print_element_properties_info), (print_pad_info),
3170 (print_signal_info), (print_element_info):
3171 Fix a few memory leaks.
3173 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3178 === release 0.10.16 ===
3180 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3183 releasing 0.10.16, "Special Dispensation"
3185 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3188 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3189 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3190 not fail when trying to crosscompile on OpenEmbedded (#511750).
3192 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3195 Use $(MAKE) instead of make to fix the build if GNU make is
3196 called different. Fixes bug #510747.
3198 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3200 * gst/gstplugin.c: (_gst_plugin_initialize):
3201 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3202 again, which I broke two commits ago when changing the API
3203 of gst_plugin_register_static(): the g_list_foreach() in
3204 _gst_plugin_register_static still assumed the old function
3205 signature and would therefore fail (re-fixes #510187).
3207 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3208 (_gst_plugin_register_static), (gst_plugin_register_static):
3209 Revert the (technically correct) change to call g_thread_init() from
3210 the pre-main() constructor. This will break programs which call
3211 g_thread_init() without an if (!g_thread_supported()) guard in their
3212 main function. We could just blame it on GLib or the application, but
3213 it's probably best to just avoid this altogether and simply not use
3214 any GLib functions here and use plain old malloc() with a simple
3215 array to store the plugins to register later when gst_init() is
3216 finally called (re-fixes #510187).
3218 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3219 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3220 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3221 (GST_START_TEST), (gst_plugin_suite):
3222 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3225 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3227 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3228 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3229 This makes gtk-doc complain, but results in slightly better
3230 compiler errors. The old _gst_plugin_register_static() is
3231 still guarded, so there'll be a compiler warning about that
3232 instead. Fixes #510187 too.
3234 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3236 * gst/gst.c: (init_post):
3237 * gst/gstplugin.c: (_gst_plugin_register_static),
3238 (gst_plugin_register_static), (_gst_plugin_initialize):
3239 * gst/gstplugin.h: (GstPluginFilter):
3240 Change API of gst_plugin_register_static() to not take
3241 a GstPluginDesc, but rather just take all the arguments
3242 in a GstPluginDesc directly. This is more intuitive and
3243 avoids certain mistakes when porting code from
3244 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3247 * tests/check/gst/gstplugin.c:
3248 Fix up for changed API.
3250 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3252 * docs/faq/legal.xml:
3253 Update FAQ, Totem actually has an exception these days.
3255 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3257 * win32/common/libgstreamer.def:
3258 Add new API declarations
3260 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3262 * gst/gstminiobject.c:
3263 Spelling fixes for the API docs.
3265 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3267 * libs/gst/base/gstbasetransform.c:
3268 Fix long property description for QoS.
3270 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3273 _gst_trace_on is already provided by gsttrace.h, no need to declare
3276 * docs/libs/gstreamer-libs-sections.txt:
3277 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3278 and remove strange tcase_add_test which is outputting a warning.
3280 * libs/gst/check/gstcheck.c:
3281 * libs/gst/check/gstcheck.h:
3282 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3283 and define them in gstcheck.c instead of having every .c file whcih
3284 includes gstcheck.h be defining its own copy and relying on symbol
3285 interposing to marry them all, which doesn't work on Solaris.
3287 * tests/check/elements/identity.c: (GST_START_TEST):
3288 Don't define 'buffers' locally, it comes from libgstcheck.
3290 * tests/check/generic/sinks.c: (send_buffer):
3291 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3293 * tests/check/gst/gststructure.c: (GST_START_TEST):
3294 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3295 * tests/check/gst/gstutils.c: (GST_START_TEST):
3296 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3297 Add a bunch of casts to make various constants fit the types
3298 they're being assigned to.
3300 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3302 * gst/gstchildproxy.c:
3303 Improve docs and add some ideas for making this more general-purpose.
3305 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3307 * gst/gst_private.h: (GST_CAT_TYPES):
3308 Add GST_CAT_TYPES, for consistency, and so that the other
3309 debug categories don't make fun of it. Spotted by Saur on IRC.
3311 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3313 * gst/parse/Makefile.am:
3314 Move types.h from EXTRA_DIST to noinst_HEADERS.
3316 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3319 Add -Wno-portability to the automake parameters to stop warnings
3320 about GNU make extensions being used. We require GNU make in almost
3321 every Makefile anyway.
3324 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3325 at the same time is required for per target flags.
3327 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3330 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3331 __GNUC__ is defined before using it.
3333 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3335 * docs/gst/gstreamer-sections.txt:
3336 * gst/gst.c: (init_post):
3337 * gst/gstplugin.c: (_gst_plugin_register_static),
3338 (gst_plugin_register_static), (_gst_plugin_initialize),
3339 (gst_plugin_register_func):
3340 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3341 API: add gst_plugin_register_static() and deprecate
3342 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3344 Also, in _gst_plugin_register_static(), make sure to call
3345 g_thread_init() before calling GLib functions such as
3346 g_list_append() if we're not initialised yet, since that
3347 may lead to random crashes with older GSlice/GLib versions.
3349 * tests/check/gst/gstplugin.c:
3350 Adapt unit test to above changes.
3352 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3354 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3355 * gst/gstcaps.c: (gst_caps_to_string):
3356 * gst/gststructure.c: (GST_ASCII_IS_STRING),
3357 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3358 Yet another gratuitous GString micro-optimisation: add a (private)
3359 function that serialises a structure appending to an existing
3360 GString, so that when we serialise caps we don't need to alloc+free
3361 a throwaway GString for each structure (each of which also entailing
3362 multiple reallocs on the way); also use g_string_sized_new() in
3363 various places with an approximate string length to avoid reallocs
3364 within GString. See #500143.
3366 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3368 * gst/gststructure.c: (gst_structure_id_set_value):
3369 Always check UTF-8 conformance of structure strings and not only
3370 if the debugging system is enabled; reasoning: the behaviour of
3371 the actual code shouldn't really change depending on whether the
3372 debugging system is enabled or not (#508291).
3374 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3377 Remove old coverage target in favour of "make lcov".
3379 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3381 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3382 (gst_base_src_loop):
3383 The start segment for reverse playback goes from start to last_stop.
3385 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3387 Patch by: Peter Kjellerstedt <pkj axis com>
3390 Cast the results from the timeval/spec_to_time macros to what the
3391 docs say it casts to, a GstClockTime. fixes #508175.
3393 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3396 Update some comments.
3398 * tools/gst-inspect.c: (print_element_properties_info):
3399 Improve printing of flags.
3401 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3403 * libs/gst/base/gstbasetransform.c:
3404 (gst_base_transform_transform_size):
3405 Print element name with g_warning() if there's a problem
3408 2008-01-07 David Schleef <ds@schleef.org>
3410 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3412 * libs/gst/controller/gstcontroller.h:
3413 * libs/gst/controller/gstcontrolsource.h:
3414 * libs/gst/controller/gstinterpolationcontrolsource.h:
3415 * libs/gst/controller/gstlfocontrolsource.h:
3416 * libs/gst/dataprotocol/dataprotocol.h:
3417 Fix empty prototypes. Fixes bug #507957.
3419 2008-01-07 David Schleef <ds@schleef.org>
3421 * docs/faq/dependencies.xml: Fix typo.
3423 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3425 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3426 (gst_base_src_loop):
3427 Don't update the last_stop position in do_seek, that's the position we
3429 Read backwards when we have a negative rate.
3431 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3432 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3434 Add check for reverse reading.
3436 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3438 Patch by: Alexis Ballier <aballier at gentoo org>
3440 * tests/check/gst/gstabi.c:
3441 * tests/check/gst/struct_ppc64.h:
3442 * tests/check/libs/libsabi.c:
3443 * tests/check/libs/struct_ppc64.h:
3444 Decide which header to include based on the userland ABI target
3445 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3446 for 64-bit userland (#503590). Might need something similar for
3449 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3451 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3452 Log the reason why fopen fails in addition to the fact that it failed.
3454 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3456 * gst/parse/parse.l:
3457 Use "%option never-interactive" to prevent useless calls to isatty()
3458 on every input when parsing. Also use "%option noinput" to not define
3459 the static input/yyinput functions which we don't use anyway. This
3460 removes a compiler warning with gcc 4.3 and saves some bytes in the
3463 * gst/parse/lex._gst_parse_yy.pre.c:
3464 Regenerated for the above change.
3466 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3468 * gst/gstpad.c: (fixate_value):
3469 Don't crash when trying to fixate and empty list.
3472 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3474 * docs/faq/gst-uninstalled:
3475 Clarify the comments to make the usage of this script and what it
3476 does easier to understand.
3478 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3480 * tools/gst-plot-timeline.py:
3481 Add more options to gst-plot-timeline
3483 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3485 * docs/design/part-synchronisation.txt:
3486 Some more info on how the stream_time in GstBaseSink is done.
3488 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3490 * tests/check/generic/sinks.c: (gst_sinks_suite):
3491 Put back the tcase_set_timeout(), apparently it's needed after
3492 all; fix it up in a way that makes things work with valgrind too.
3494 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3496 * gst/gstdebugutils.c:
3497 Add warning when failed to open file for writing.
3499 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3501 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3503 * gst/gstvalue.c: (gst_value_is_fixed):
3504 Optimisation: bail out of the loop as early as possible (#500143).
3506 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3508 * gst/gstcaps.c: (gst_caps_to_string):
3509 * gst/gstinfo.c: (gst_debug_construct_term_color):
3510 * gst/gstparse.c: (gst_parse_launchv):
3511 * gst/gstutils.c: (gst_util_dump_mem):
3512 * gst/gstvalue.c: (gst_value_serialize_any_list),
3513 (gst_value_transform_any_list_string):
3514 Bunch of gratuitous nano-optimisations.
3516 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3518 * tests/check/generic/sinks.c: (async_done_func),
3519 (async_done_eos_func):
3520 Fix leak in unit test (bus sync handler must unref the message
3521 if it returns GST_BUS_DROP). Don't fiddle with the default test
3522 timeout, this is smaller than the current preconfigured value
3523 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3524 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3526 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3528 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3531 Check for stdio_ext.h for the filesink changes.
3533 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3534 (gst_file_sink_class_init), (gst_file_sink_init),
3535 (gst_file_sink_dispose), (gst_file_sink_set_property),
3536 (gst_file_sink_get_property), (gst_file_sink_open_file),
3537 (gst_file_sink_close_file):
3538 * plugins/elements/gstfilesink.h:
3539 Add two properties to control the buffering mode and size.
3540 API: GstFileSink::buffer-mode
3541 API: GstFileSink::buffer-size
3544 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3546 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3547 Add some more docs to explain why a FIXME was wrongly added.
3549 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3552 Fix typo in the gst_object_{ref,unref} documentation.
3554 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3556 * tests/check/libs/controller.c:
3557 * tests/check/libs/typefindhelper.c:
3558 * tests/check/pipelines/parse-launch.c:
3559 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3560 going to be deprecated (see #498924).
3562 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3564 * gst/gsttypefind.c: (gst_type_find_register):
3565 Make gst_type_find_register work for static typefind functions,
3566 ie. allow passing plugin == NULL (prerequisite for #498924).
3568 * gst/gstelementfactory.c: (gst_element_register):
3569 Small docs addition.
3571 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3573 * gst/gstpad.c: (gst_pad_dispose):
3574 Really unlink the peer pad instead of setting the peer pointer to NULL
3575 when we dispose the pad.
3576 This correctly calls the unlink functions and makes sure that the peer
3577 does not have a handle to invalid memory. See #504671.
3579 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3580 Add testsuite for above case.
3582 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3584 Patch by: Peter Kjellerstedt <pkj axis com>
3586 * libs/gst/check/gstcheck.h:
3587 Fix detection of the check version we're compiling against (would
3588 otherwise break if check goes v0.10.0); correctly report the
3589 name of the failed test again in case of failure, instead of
3590 just 'tf' (fixes #504499).
3592 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3594 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3595 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3596 (gst_base_src_loop), (gst_base_src_set_flushing),
3597 (gst_base_src_change_state):
3598 Allow sending EOS to the source to make it send out an EOS event from
3599 the streaming thread.
3600 Update docs and deprecate the old NULL/READY shutdown method.
3602 * tests/check/libs/basesrc.c: (GST_START_TEST),
3603 (gst_basesrc_suite):
3604 Add unit test for controlled shutdown.
3606 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3608 * docs/design/part-synchronisation.txt:
3611 * gst/gstsegment.c: (gst_segment_set_seek),
3612 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3613 (gst_segment_to_running_time):
3614 The seek format can be different from the segment format when the start
3615 and stop values are not to be updated, when we only do a rate change for
3618 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3619 (gst_segment_suite):
3620 Add a testcase for the rate-only seeks, checking that the format is
3621 correctly ignored when start and stop are not updated.
3623 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3625 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3627 * win32/vs8/grammar.vcproj:
3628 * win32/vs8/libgstcontroller.vcproj:
3629 * win32/vs8/libgstreamer.vcproj:
3630 Fix compilation with VS8 and include some missing files.
3632 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3635 Small docs addition: mention that the strings returned by
3636 gst_tag_list_get_string*() are in UTF-8 encoding.
3638 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3641 The check-exports stuff moved to common/win32.mak, so include that.
3643 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3645 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3646 (gst_base_src_perform_seek), (gst_base_src_get_range),
3647 (gst_base_src_set_playing), (gst_base_src_change_state):
3648 Make _wait_playing() not check any variables so that we can call this
3649 function from subclasses. Move the checks elsewhere similar to
3650 _wait_preroll() in basesink.
3652 Only signal the LIVE cond when we are going back to PLAYING.
3654 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3656 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3657 Use g_remove() and g_rename(). Check result of g_rename(), and
3658 don't leak the open file descriptor if we error out when writing.
3660 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3661 Must check the return value of close() after writing out the new
3662 registry file. Sometimes write problems such as out-of-diskspace
3663 are only reported when the file is closed and not already during
3664 the write. This may have caused partial/broken registry files in
3665 some rare circumstances. Should fix #503675.
3667 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3669 * docs/gst/.cvsignore:
3670 * docs/libs/.cvsignore:
3671 * docs/plugins/.cvsignore:
3672 Ignore files generated by new common/* modifications
3674 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3676 * win32/common/libgstbase.def:
3677 Yes, you can also have a <TAB> if you want.
3679 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3681 * win32/common/libgstbase.def:
3682 Add new basetransform API to win export file.
3684 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3686 * tests/check/gst/gstbin.c:
3687 Adjust the test to the refcount change two days ago.
3689 2007-12-14 David Schleef <ds@schleef.org>
3691 * docs/faq/getting.xml: Fix typo.
3693 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3695 * docs/libs/gstreamer-libs-sections.txt:
3696 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3697 (gst_base_transform_prepare_output_buffer),
3698 (gst_base_transform_set_gap_aware):
3699 * libs/gst/base/gstbasetransform.h:
3700 API: Add gst_base_transform_set_gap_aware() to control whether
3701 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3702 get buffers with this flag at all. Fixes #503231.
3704 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3706 * libs/gst/base/gstbasesink.c:
3707 * libs/gst/base/gstbasesrc.c:
3708 * libs/gst/base/gstbasetransform.c:
3709 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3710 thread. Correct log message in gstbasesrc.c.
3712 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3714 * gst/gstutils.c: (element_find_unconnected_pad):
3715 Fix possible compiler warning (#503417).
3717 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3719 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3720 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3722 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3724 * tools/gst-inspect.c: (print_element_properties_info):
3725 Add support for GstFraction properties.
3727 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3730 Add check-exports target and run it as part of 'make check'
3731 (see #499140 and #493983).
3733 * gst/gst_private.h:
3734 * gst/gstelementfactory.h:
3735 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3736 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3737 (_priv_gst_in_valgrind):
3738 * gst/gstinfo.h: (GstLogFunction):
3739 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3740 (gst_type_find_register):
3741 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3742 (gst_type_find_factory_get_type):
3743 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3744 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3745 (gst_controller_new_valist), (gst_controller_new_list),
3746 (_gst_controller_dispose), (_gst_controller_class_init):
3747 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3748 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3749 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3750 (gst_object_get_controller), (gst_object_set_controller),
3751 (gst_object_suggest_next_sync), (gst_object_sync_values),
3752 (gst_object_set_control_source), (gst_object_get_control_source),
3753 (gst_object_get_value_arrays), (gst_object_get_value_array),
3754 (gst_object_get_control_rate), (gst_object_set_control_rate):
3755 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3756 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3757 Make some functions that should be static static; rename some
3758 private symbols so that they don't get exported; add some FIXME
3759 comments so we can move accidentally exported functions into
3760 our private section in 0.11.
3762 * win32/common/libgstreamer.def:
3763 Add gst_utils_get_timestamp().
3765 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3769 Add more missing "Since:" tags to docs.
3771 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3774 Add mising "Since:" to docs.
3776 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3779 Include "glib-compat-private.h" to fix the build on system with
3780 glib < 2.10. Fixes #503131.
3782 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3786 Actually its not PURE as it gets the time from elsewhere.
3788 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3790 * docs/gst/gstreamer-sections.txt:
3792 * gst/gstdebugutils.c:
3796 * libs/gst/base/gstbasesink.c:
3797 * tools/gst-launch.c:
3798 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3799 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3800 Thanks Tim for spotting.
3801 API: gst_util_get_timestamp
3803 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3806 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3808 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3810 * gst/gststructure.c: (gst_structure_validate_name),
3811 (gst_structure_new_valist), (gst_structure_parse_value),
3812 (gst_structure_from_string):
3813 Don't crash in _from_string() if the structure name is not valid
3814 (fixes #501560). Allow structure names to start with a number
3815 again (this apparently broke the ubuntu codec installer).
3817 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3819 Add unit test for the crash; update unit tests for new behaviour.
3821 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3824 Clarify gst_element_get_compatible_pad() documentation.
3827 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3829 * tests/check/Makefile.am:
3830 Don't forget to dist {gst,libs}/struct_hppa.h.
3832 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3834 * libs/gst/base/gstbasesink.c:
3835 Use new API to get elapsed time.
3837 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3839 * gst/gstdebugutils.c:
3841 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3843 * tools/gst-launch.c:
3844 Use new API to get elapsed time.
3846 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3848 * docs/gst/gstreamer-sections.txt:
3850 * gst/gstdebugutils.c:
3852 Rename new API + ChangeLog surgery to remove old name from last entry..
3854 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3856 * docs/gst/gstreamer-sections.txt:
3858 * gst/gstdebugutils.c:
3860 Now hide the different clock stuff behind a macro.
3862 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3865 * gst/gstdebugutils.c:
3867 Apply the posix-timer check from #361155. Conditionally use the posix
3868 timer for logging. This gives better timestamp precission, less
3869 overhead and no ntp jitter.
3871 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3873 * gst/gstminiobject.c: (gst_mini_object_get_type),
3874 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3875 (gst_mini_object_finalize), (gst_mini_object_copy),
3876 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3877 (gst_mini_object_replace), (param_mini_object_validate),
3878 (gst_param_spec_mini_object_get_type):
3879 Some cleanup and checking against invalid function parameters.
3881 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3883 * docs/gst/gstreamer-sections.txt:
3885 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3886 (gst_systemclock_suite):
3887 Start merging in the easy bits of #361155, the monotonic clock patch.
3888 This one adds a few handy macros with docs and a testsuite.
3890 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3892 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3893 Be a bit smarter when seeking, like, don't try to do a seek when it's
3894 not needed. This avoids errors when the file is not seekable.
3897 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3899 * docs/gst/gstreamer-docs.sgml:
3900 * docs/gst/gstreamer-sections.txt:
3901 * docs/gst/gstreamer.types.in:
3906 * plugins/elements/gstqueue.c:
3907 Due to popular request remove preset interface again. :-(.
3909 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3911 * tools/gst-inspect.c:
3912 Print 'default value' for enums and flags too.
3914 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3916 * docs/random/ensonic/profiling.txt:
3920 Fix typo and give better log output.
3922 * gst/gstdebugutils.c:
3923 * gst/gstdebugutils.h:
3924 More ideas, make graphs a bit smaller and fix param name in macro.
3926 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3929 Try harder to use the return value from fgets().
3931 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3934 For theses two fgets we handle the error below.
3936 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3938 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3939 Only send upstream events upstream. Fixes #498746.
3941 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3943 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3945 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3946 (gst_identity_init), (gst_identity_transform_ip),
3947 (gst_identity_set_property), (gst_identity_get_property):
3948 * plugins/elements/gstidentity.h:
3949 Add property to disable handoff signal emission. Fixes #498694.
3950 API: GstIdentity::signal-handoffs
3952 2007-11-21 Julien Moutte <julien@fluendo.com>
3954 * docs/faq/gst-uninstalled: Yet another missing library for the
3955 uninstalled script (fft)
3957 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3959 * docs/faq/developing.xml:
3960 Add a question about how to submit new translations.
3962 * docs/random/release:
3963 Update the contact email address for the Translation Project
3965 * plugins/elements/gstfdsrc.c:
3966 The parent_class for fdsrc is pushsrc, not GstElement.
3968 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3971 Plug a leak and fix saving.
3973 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3975 * docs/gst/gstreamer-sections.txt:
3976 Add new gst_preset__get_property_names() function to the docs
3979 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3983 Change _get_preset_names API to return a strv with copies. Add
3984 _get_property_names to allow implementations to filter and provide
3985 good default implementation.
3987 2007-11-20 Julien MOUTTE <julien@moutte.net>
3989 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3992 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3995 More cleanups, docs, and TODOs from comments that now slowly come in.
3997 2007-11-19 Julien MOUTTE <julien@moutte.net>
3999 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4002 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4005 Fix bogus warning and make the property type specific code more
4008 2007-11-19 Julien MOUTTE <julien@moutte.net>
4010 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4013 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4016 (gst_bin_add_func), (gst_bin_remove_func),
4017 (gst_bin_change_state_func), (gst_bin_continue_func):
4018 Change email, cleanups add some more debug and comments.
4019 Also set bus and clock on new elements when the pipeline was in error.
4021 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4024 * gst/gstdebugutils.c:
4025 Fix build with --disable-gst-debug. Fixes #497859.
4026 Spotted by Sameer Naik.
4028 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4031 Little documentation improvment.
4034 More TODO cleanups. Remove c++ comments.
4036 * libs/gst/controller/gstcontroller.c:
4037 Add TODO and use quark from static string.
4039 * tests/check/gst/gstmessage.c:
4040 * tests/check/gst/gststructure.c:
4041 Use quark from static string.
4043 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4046 Add some comments and TODOs.
4049 Add padding for future changes.
4051 * plugins/elements/gstqueue.c:
4052 Implement the iface.
4054 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4056 * docs/gst/gstreamer-docs.sgml:
4057 * docs/gst/gstreamer-sections.txt:
4058 * docs/gst/gstreamer.types.in:
4063 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4065 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4071 === release 0.10.15 ===
4073 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4076 releasing 0.10.15, "October"
4078 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4080 * win32/vs6/libgstreamer.dsp:
4081 Convert line endings back to DOS.
4083 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4085 * docs/design/draft-tagreading.txt:
4086 * docs/random/ensonic/profiling.txt:
4087 Update fast tagreading draft and performance profiling ideas.
4089 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4091 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4092 Don't hold the object lock when unreffing a buffer because it could
4093 cause a deadlock when the finalize function wants to grab the object
4094 lock too. Fixes #495133.
4096 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4098 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4099 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4100 Also accumulate time correctly when doing reverse playback. Fixes
4102 When converting to running and stream time, use default values for
4103 start/stop/time/accum when comparing different formats. Fixes #494245.
4105 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4106 Do running/stream time in TIME format.
4108 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4109 (gst_segment_suite):
4110 2 new unit tests for segment accumulation.
4112 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4114 * gst/gst.c: (init_pre):
4115 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4116 (_gst_debug_bin_to_dot_file):
4117 Move getenv() back into gst_init, so everyone can live happily
4118 ever after. Make sure the symbol isn't exported though.
4120 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4122 Patch by: Sebastien Moutte <sebastien moutte net>
4124 * win32/common/gstenumtypes.c:
4125 * win32/common/gstenumtypes.h:
4128 * win32/vs6/libgstreamer.dsp:
4129 Update vs6 project files (#494343).
4131 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4133 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4134 (gst_base_src_perform_seek), (gst_base_src_default_event),
4135 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4136 (gst_base_src_activate_pull):
4137 Unify flushing code, remove some old unlock code that is no longer used.
4138 Take the streaming lock when seeking to avoid races. Fixes #492729.
4139 Added some more comments.
4141 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4143 * gst/gst.c: (_gst_disable_segtrap):
4144 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4145 we can use gst_segtrap_is_enabled() there now that we have that API.
4146 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4147 to do the getenv here (and export the variable).
4149 * gst/gstdebugutils.c: (debug_dump_element),
4150 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4151 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4153 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4154 (gst_debug_log_default):
4155 Rename _gst_info_start_time to priv_gst_info_start_time so it
4156 doesn't get exported (was never in any header).
4158 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4159 (gst_plugin_loading_mutex):
4160 Make static mutex gst_plugin_loading_mutex really static (was never
4161 in any header), and use gst_segtrap_is_enabled() instead of
4162 _gst_disable_segtrap.
4164 * gst/gsttrace.c: (_gst_trace_default):
4165 Make local _gst_trace_default static (was never in any header).
4167 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4169 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4171 * win32/common/libgstbase.def:
4172 * win32/common/libgstcontroller.def:
4173 * win32/common/libgstdataprotocol.def:
4174 * win32/common/libgstnet.def:
4175 * win32/common/libgstreamer.def:
4176 Add more missing symbols, remove some duplicates, and sort
4177 as the 'sort' command sorts it (partially fixes #493983).
4179 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4181 * gst/gstelement.c: (gst_element_set_state_func):
4182 Only change the state cookie if a different state was set on the
4183 element. See #492729.
4185 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4188 Remove unused and uninitialised type variables that were still
4189 exported for some reason (they were never in any header files
4192 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4194 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4195 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4196 (gst_base_sink_event), (gst_base_sink_get_position_last),
4197 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4198 (gst_base_sink_change_state):
4199 Don't try to report a 0 position when we don't know, return -1 and FALSE
4200 instead. This mostly happens when we are prerolling.
4201 Make sure we can report the right position before we post the ASYNC_DONE
4202 message so that a message handler can query position without races.
4204 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4205 (async_done_handoff), (async_done_func), (send_buffer),
4206 (async_done_eos_func), (gst_sinks_suite):
4207 Add two tests for the above.
4209 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4212 Update with new email address.
4214 * docs/design/part-TODO.txt:
4215 Add some more info about future pad-block and negotiation changes.
4217 * docs/design/part-buffering.txt:
4218 Add some ideas about buffering reporting.
4220 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4222 * tests/check/gst/gstobject.c:
4223 Disable silly racy test that always fails on this combination of CPU
4226 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4228 Patch by: Murray Cumming <murrayc@murrayc.com>
4231 Corrected the registration of the parent-set and parent-unset
4232 signals: The parameter is a GstObject, not a GObject (#493134).
4234 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4236 * gst/gst_private.h:
4245 Move declaration of private _gst_foo_initialize() functions into
4246 our private header file where they should have been all along.
4248 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4250 * docs/plugins/gstreamer-plugins-sections.txt:
4251 * gst/gstdebugutils.h:
4253 * plugins/elements/gstqueue.c:
4254 gtk-doc fixes; trailing-comma-in-enum fix.
4256 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4258 * gst/gst.c: (gst_deinit):
4259 Clean up on deinit (not the external ones though, doesn't seem to be
4260 needed for some reason).
4262 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4264 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4265 Remove __declspec(dllimport) for MSVC that was copied over into core
4266 from a plugin, obviously without ever having been tested (note the
4267 single underscore in _declspec in the initial commit), and that doesn't
4268 really make sense. See #492077.
4270 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4272 * gst/gst.c: (init_post):
4273 * gst/gstevent.c: (_gst_event_initialize):
4274 * gst/gstquery.c: (_gst_query_initialize):
4275 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4276 g_type_class_ref() other types as well, see #349410 and #64764.
4278 * gst/gstbuffer.c: (_gst_buffer_initialize):
4279 * gst/gstmessage.c: (_gst_message_initialize):
4280 Simplify existing g_type_class_ref().
4282 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4284 * gst/gstformat.c: (_gst_format_initialize):
4285 g_type_class_ref() our GstFormat type to make sure we avoid the
4286 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4287 bug #64764. Should fix intermittent tee unit test failures (#474823).
4289 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4291 * tests/check/elements/tee.c: (test_num_buffers):
4292 Simplify, simplify, simplify - or not. Rewrite unit test
4293 not to use gst_parse_launch(); allow N sub-streams. Increasing
4294 the number of sub-streams seems to reproduce #474823 more easily.
4296 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4298 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4301 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4302 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4303 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4304 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4305 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4306 so use _pipe() directly (#492077).
4308 * win32/common/dirent.c: (_treaddir):
4309 Add a couple of casts to make it build without warnings with MSVC.
4311 * win32/common/libgstreamer.def:
4312 Add some more symbols that need to be exported.
4314 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4316 * tests/examples/metadata/read-metadata.c: (message_loop):
4317 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4318 arriving in a second or third tag message are added to
4319 the tag list as well.
4321 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4323 * libs/gst/base/gstbasesrc.c:
4324 Its "Since:" and not "@Since:". And remove an superflous cast.
4326 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4328 * docs/libs/gstreamer-libs-sections.txt:
4329 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4330 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4331 (gst_base_sink_get_property), (gst_base_sink_render_object),
4332 (gst_base_sink_preroll_object),
4333 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4334 (gst_base_sink_change_state):
4335 * libs/gst/base/gstbasesink.h:
4336 Add a new last-buffer property that contains the last buffer used in
4337 basesink for preroll or rendering. useful for making snapshots.
4338 API: gst_base_sink_get_last_buffer()
4339 API: GstBaseSink::last-buffer
4341 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4343 * docs/gst/running.xml:
4345 * gst/gstdebugutils.c:
4346 * gst/gstdebugutils.h:
4347 * tools/gst-launch.c:
4348 Improve bin graph dumping, by using the envvar to specify a path.
4349 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4351 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4353 * plugins/elements/gsttypefindelement.c:
4354 (gst_type_find_element_handle_event),
4355 (gst_type_find_element_activate):
4356 Post special error message if we can't determine the type of a stream
4359 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4361 * docs/gst/running.xml:
4362 * gst/gstdebugutils.c:
4363 Document new env-var. Add one log-line after dumpng a graph.
4365 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4368 Ugly hack to put the (recently removed and non-portable, apparently)
4369 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4370 GNU ld, because without that 'make check' fails miserably on my debian
4371 stable box. Someone with more knowledge of linker intricacies and
4372 portability issues than me fix this properly please.
4374 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4376 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4377 Reset last seen position after flushing so that we don't report the old
4380 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4382 * gst/gstelementfactory.c: (gst_element_register):
4384 Patch from Alessandro Decina adding get_type_full and
4385 get_protocols_full private vfuncs to the URIHandler interface
4386 to allow bindings to support creating URI handlers.
4387 Partially fixes: #339279
4388 API: GstURIHandlerInterface::get_type_full
4389 API: GstURIHandlerInterface::get_protocols_full
4391 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4393 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4394 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4395 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4396 Make it so that pads are considered linked until a buffer is pushed
4397 and discovered otherwise. This avoids problems with decodebin2 hanging
4398 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4401 Make sure we lock the multiqueue when updating the max-size properties.
4403 Fix a crash on Solaris in a debug statement in get_request_pad that
4404 passes a NULL string to GST_DEBUG.
4406 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4407 (run_output_order_test):
4408 Fix the test to allow the first buffer on not-linked pads to come out
4409 of sequence while multiqueue discovers that they are not-linked.
4411 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4414 * libs/gst/check/Makefile.am:
4415 Use a custom export symbol regex for libgstcheck, as it needs
4416 to export symbols that don't match the standard GStreamer gst_*
4417 pattern, and --export-dynamic is not portable (only works on
4420 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4421 (gst_check_setup_sink_pad):
4422 Make sure to pass a message parameter to the fail_* macros.
4424 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4425 Fix some compiler warnings.
4427 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4429 * tests/check/gst/gststructure.c: (test_to_string):
4430 Disable test that checks that white spaces are not allowed
4431 in structure names or field names, since we need to
4432 support that for now for backwards compatibility reasons.
4434 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4436 * docs/gst/gstreamer-sections.txt:
4439 API: add GST_TAG_ARTIST_SORTNAME
4440 API: add GST_TAG_ALBUM_SORTNAME
4441 API: add GST_TAG_TITLE_SORTNAME
4442 Add tag variants for sorting (#414539).
4444 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4446 * gst/gststructure.c:
4447 Also allow white space for names so we don't break
4448 backwards compatibility.
4450 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4452 * docs/design/part-TODO.txt:
4453 * docs/design/part-segments.txt:
4454 * docs/design/part-streams.txt:
4457 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4459 * docs/gst/gstreamer-sections.txt:
4460 Fixed documentation from my previous commit (added new API add
4461 gst_value_set_structure(), add gst_value_get_structure() and
4462 GST_VALUE_HOLDS_STRUCTURE).
4464 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4466 * gst/gstdebugutils.c:
4467 Reflow code to fix uninitialized variable warning.
4469 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4471 * gst/gstcaps.c: (gst_caps_to_string),
4472 (gst_caps_from_string_inplace):
4473 * gst/gststructure.c: (gst_structure_get_abbrs),
4474 (gst_structure_to_string), (gst_structure_from_string):
4475 * gst/gstvalue.c: (gst_value_set_structure),
4476 (gst_value_get_structure), (gst_value_serialize_structure),
4477 (gst_value_deserialize_structure), (_gst_value_initialize):
4479 * tests/check/gst/gststructure.c: (GST_START_TEST),
4480 (gst_structure_suite):
4481 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4482 Added GstStructure to gst_value_table and its related functions.
4483 Changed gst_structure_to_string to print ';' in the end.
4484 Changed gst_caps_to_string to not print ';' beteween its
4485 fields (structures) anymore and remove the lastes ';' from latest
4486 structure. Now it is possible to have nested structures.
4487 In addition, backward compatibilty is assured by accepting '\0' as
4488 end delimiter. Fixes: #487969.
4489 API: add gst_value_set_structure()
4490 API: add gst_value_get_structure()
4491 API: add GST_VALUE_HOLDS_STRUCTURE
4493 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4496 When no GSource callback has been set up, tell developer
4497 to use a function that actually exists.
4499 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4501 * docs/gst/gstreamer-sections.txt:
4505 * gst/gstdebugutils.c:
4506 * gst/gstdebugutils.h:
4509 * tools/gst-launch.c:
4510 Allow dumping pipelines as dot graphs. Fixes #456573.
4512 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4514 * gst/gststructure.c:
4515 Allow '+' as well, it can be part of media or mime types
4516 such as image/svg+xml.
4518 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4520 * docs/gst/gstreamer-sections.txt:
4523 API: add gst_bus_pop_filtered
4524 API: add gst_bus_timed_pop_filtered
4525 Two new functions for waiting for specific message types on the
4526 bus for a specified amount of time without iterating any main
4527 loops or main contexts.
4529 * tests/check/gst/gstbus.c:
4530 Some tests for the new functions.
4532 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4534 * docs/libs/gstreamer-libs-sections.txt:
4535 Make gtk-doc ignore stuff it should ignore.
4537 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4539 * libs/gst/check/gstcheck.c:
4540 * libs/gst/check/gstcheck.h:
4541 Allow runtime selection of unit tests to run via the GST_CHECKS
4542 environment variable (test case function names, comma-separated).
4544 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4546 * gst/gststructure.c:
4547 * tests/check/gst/gststructure.c:
4548 Revert serialisation change and constrain structure-names after
4549 consensus on irc. Update api documentation to reflect the change.
4551 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4553 * gst/gststructure.c:
4554 Improve serialization and fix tests.
4556 * tests/check/gst/gststructure.c:
4557 Add another test that covers why I actually did the previous structure
4560 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4562 * tools/gst-inspect.c: (print_element_info):
4563 Don't crash when inspecting an element.
4565 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4567 * tests/check/gst/gststructure.c:
4568 Add unit test for escaping of structure name when serialising
4569 and deserialising to/from strings.
4571 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4573 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4574 (gst_single_queue_new):
4575 * plugins/elements/gstqueue.c: (gst_queue_init),
4576 (gst_queue_push_one):
4577 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4578 upstream is tricked into thinking it can suggest a format downstream
4579 while downstream does not support that format. The real problem is that
4580 core calls acceptcaps when pushing a buffer with new caps, for which we
4581 do a little workaround by setting the caps on the srcpad ourselves
4582 before pushing the buffer (until this is figured out). Fixes #486758.
4584 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4586 * gst/gststructure.c:
4588 Add some more comments and debug output. Quote structure name to fix
4589 deserialisation of some strings.
4591 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4594 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4595 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4597 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4599 * tools/gst-inspect.c:
4600 Save approx. 400 1 byte allocs when printing. Use API to acces element
4606 * tools/gst-xmlinspect.c:
4607 Use API to acces element details.
4609 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4612 Fix some spelling errors.
4614 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4616 * gst/gstbin.c: (bin_handle_async_done):
4617 Correctly set the next state if all of our async children commited their
4618 state. This makes sure we can actually cancel the state change in
4619 progress. Fixes a regression in Rhythmbox when seeking.
4621 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4624 Don't shadow local variable.
4627 Don't shadow global function name.
4629 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4631 * gst/gstelementfactory.c:
4632 * gst/gstpluginfeature.c:
4633 * gst/gstpluginfeature.h:
4634 * gst/gstregistrybinary.c:
4635 * gst/gstregistryxml.c:
4636 * gst/gsttypefind.c:
4637 Use already-interned string for the private GstPluginFeature
4640 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4642 * docs/libs/gstreamer-libs-sections.txt:
4643 Add new API to docs; fixes the build.
4645 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4647 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4649 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4650 (gst_base_sink_event):
4651 * libs/gst/base/gstbasesink.h:
4652 Add function to wait for EOS, subclasses can use this to correctly wait
4653 for devices to drain before performing the EOS logic. Fixes #485343.
4654 API: gst_base_sink_wait_eos()
4656 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4659 Cast description string constants in GST_PLUGIN_DEFINE macros
4660 to a (gchar*) to make C++ code using these macros compile
4661 without warning with g++-4.2 (see #462737). Even if slightly
4662 ugly, this seems preferable to putting the description strings
4663 into the GLib quark table or making the structure member a
4664 const gchar * and doing casts in core code that allocs and
4665 frees these strings, or requiring a cast in the C++ code.
4667 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4670 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4671 to print the entire class/function signature into the log
4672 file for C++ code. This only affects C++ code, for C code
4673 everything remains the same.
4675 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4677 * gst/gstbin.c: (remove_from_queue):
4678 Work around a problem with pipelines containing (semi)loops until a
4679 proper, more complicated solution is ready. See #475455.
4681 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4685 * gst/gstregistrybinary.c:
4686 * gst/gstregistryxml.c:
4687 Put more strings into the GLib quark table. No need to keep
4688 a hundred-something copies of identical version strings,
4689 license strings, package name strings and package origin
4692 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4694 * docs/manual/advanced-dataaccess.xml:
4695 Don't imply that it's okay to unconditionally change
4696 buffer data or buffer metadata in a pad probe callback,
4697 and a bunch of other comments. Fixes #430031.
4699 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4701 * win32/common/gstenumtypes.c:
4702 * win32/common/gstenumtypes.h:
4703 * win32/common/gstversion.h:
4704 Update generated files.
4706 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4708 * docs/manual/advanced-autoplugging.xml:
4709 Prefix section with broken code with a warning (see #342432).
4711 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4713 * docs/manual/appendix-integration.xml:
4714 * docs/manual/basics-init.xml:
4715 Call g_thread_init() before g_option_context_new() to
4716 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4718 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4720 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4721 (gst_base_sink_queue_object_unlocked),
4722 (gst_base_sink_queue_object), (gst_base_sink_event),
4723 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4724 When we received EOS and are waiting for when to post the EOS message,
4725 our state is prerolled and we should not return ASYNC.
4726 Reorganize some code paths to implement this behavior.
4728 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4730 Add unit test to verify above EOS fix.
4732 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4734 * plugins/elements/gsttypefindelement.c:
4735 (gst_type_find_element_have_type), (gst_type_find_element_init),
4736 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4737 Move detecting the input caps of the sinkpad to the setcaps function.
4738 This allows us to update the output caps when we receive new input caps
4739 instead of always using the first detected caps.
4741 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4743 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4744 (gst_base_sink_get_position):
4745 Don't try to preroll non-async elements after a flush.
4746 Subtract latency form clock times when reporting position.
4748 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4750 * gst/gstpad.c: (gst_pad_pause_task):
4752 Small comment and documentation update.
4754 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4756 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4757 (gst_base_src_set_live), (gst_base_src_is_live),
4758 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4759 (gst_base_src_default_event), (gst_base_src_wait),
4760 (gst_base_src_do_sync), (gst_base_src_get_range),
4761 (gst_base_src_pad_get_range), (gst_base_src_loop),
4762 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4763 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4764 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4765 (gst_base_src_change_state):
4766 Rework the locking of basesrc in a similar fashion to basesink. We
4767 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4768 us to handle live sources and semi live ones much better.
4770 Fix unlocking when seeking, shutting down and pausing in live sources.
4772 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4774 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4775 Fix compilation again.
4777 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4780 Use meaningful categories for the logs to clean the default one.
4782 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4784 * tests/check/pipelines/cleanup.c:
4785 Print message name and not just number.
4787 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4789 * docs/design/draft-tagreading.txt:
4790 Add some more thoughts.
4792 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4794 * tests/check/pipelines/simple-launch-lines.c:
4795 Print message name and not just number.
4797 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4799 * libs/gst/base/gsttypefindhelper.c:
4800 Speedup typefinding. This is work in progress (see #459862).
4802 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4805 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4806 Spotted by Josep Torra Valles <josep@fluendo.com>.
4808 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4811 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4812 field has moved to GstObject.
4814 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4816 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4817 (gst_base_src_get_range), (gst_base_src_change_state):
4818 Call unlock for live sources so that they can't get stuck in _create and
4819 produce a buffer before they are set back to PLAYING.
4821 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4823 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4824 (gst_queue_locked_dequeue):
4825 Comment the segment-related code... in the PROPER function.
4826 See #482147 and my commit from yesterday.
4828 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4830 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4831 Also initialize the counter that calculates the first timestamp on a
4832 buffer correctly for non-live sources.
4834 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4836 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4837 Disable code that's breaking the current-time-level reporting.
4840 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4842 * docs/gst/gstreamer-sections.txt:
4843 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4844 as they shouldn't show up. Fixes the docs build.
4846 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4849 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4850 Define M_PI which is used in files which are including gstinfo.h.
4851 VS6 includes doesn't define it.
4852 * win32/common/libgstbase.def:
4853 * win32/common/libgstcontroller.def:
4854 * win32/common/libgstreamer.def:
4855 Add new exported functions and variables.
4856 * win32/vs6/libgstcontroller.dsp:
4857 * win32/vs6/libgstreamer.dsp:
4858 Update the list of files to build.
4860 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4862 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4864 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4865 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4866 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4867 Improve debugging. Fixes #480858.
4869 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4871 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4873 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4874 First patch of code cleanups, use the macros and right arguments in the
4875 macros to signal and lock the queue. See #480858.
4877 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4879 * gst/gstbus.c: (poll_func):
4880 Improve debugging when dealing with _poll().
4882 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4884 * gst/gstregistryxml.c:
4885 Fix memory leak I introduced a few days ago.
4887 2007-09-26 Michael Smith <msmith@fluendo.com>
4889 * gst/gstbuffer.c: (gst_buffer_finalize):
4890 Make it once again possible to free GstBuffers in the default
4892 The poisoning scribbles on parts of the miniobject we need in
4896 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4898 * docs/gst/gstreamer-sections.txt:
4901 API: add GST_TAG_COMPOSER, fixes #459809.
4903 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4907 Add the 3-clause BSD license and the MIT/X11 license to the license
4908 list. Fixes #479784.
4910 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4912 * docs/faq/getting.xml:
4913 Add Q+A about different GStreamer versions (#364056).
4915 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4917 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4918 (gst_base_sink_event), (gst_base_sink_change_state):
4919 Return correct gboolean from query function.
4921 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4923 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4924 (gst_base_sink_event), (gst_base_sink_query),
4925 (gst_base_sink_change_state):
4926 Simplify latency query.
4927 When not synchronizing, we can report latency without querying the peer
4930 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4934 Fix small typos in the docs.
4936 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4938 * docs/design/draft-latency.txt:
4939 * docs/design/draft-push-pull.txt:
4940 * docs/design/draft-tagreading.txt:
4941 * docs/design/part-MT-refcounting.txt:
4942 * docs/design/part-activation.txt:
4943 * docs/design/part-block.txt:
4944 * docs/design/part-element-source.txt:
4945 * docs/design/part-events.txt:
4946 * docs/design/part-gstbin.txt:
4947 * docs/design/part-gstelement.txt:
4948 * docs/design/part-gstobject.txt:
4949 * docs/design/part-gstpipeline.txt:
4950 * docs/design/part-messages.txt:
4951 * docs/design/part-preroll.txt:
4952 * docs/design/part-push-pull.txt:
4953 * docs/design/part-qos.txt:
4954 * docs/design/part-query.txt:
4955 * docs/design/part-scheduling.txt:
4956 * docs/design/part-seeking.txt:
4957 * docs/design/part-segments.txt:
4958 * docs/design/part-states.txt:
4959 Documentation updates and typo fixes.
4961 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4963 * plugins/elements/gstfakesink.c:
4964 Add some debug text to error message to indicate that
4965 we errored out on request.
4967 * tools/gst-launch.c:
4968 When the state change to PLAYING fails, check for an
4969 error message on the bus and print it.
4971 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4973 translated by: Jorge González González <aloriel@gmail.com>
4977 Added Spanish translation.
4979 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4981 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4982 Fix printf arguments.
4984 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4986 * tests/check/generic/states.c:
4987 Improved state change unit test.
4989 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4992 Move priv to the right place.
4994 * gst/gstsystemclock.c:
4995 Add FIXME: and improve log.
4997 * tests/check/Makefile.am:
4998 * tests/examples/manual/Makefile.am:
4999 Work with all types of registries.
5001 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5003 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5004 Don't unref the event after pushing it. Fixes #478401.
5006 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5009 * tests/examples/manual/.cvsignore:
5010 Ignore registries in any format.
5012 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5014 * gst/glib-compat-private.h:
5015 Add compatibility macro for g_intern_string() for
5016 GLib-2.8 (any reason we can't just bump the
5017 requirement to at least 2.10?)
5019 * gst/gstpadtemplate.h:
5020 * gst/gstelementfactory.c:
5021 * gst/gstregistryxml.c:
5022 * gst/gstregistrybinary.c:
5023 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5024 up the internal code accordingly. This shouldn't be a problem, since
5025 there is no reason external code could ever assume the string in such
5026 a structure is dynamically allocated unless it did that itself; the
5027 use of g_strdup() is private to element factories. The new code also
5028 saves some memory by putting pad template name strings into the GLib
5029 quark table instead of allocating them dynamically.
5030 Declaring this field constant fixes warnings with g++-4.2 when using
5031 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5033 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5035 * gst/gstelementfactory.c:
5036 Release static caps. Fixes #475723.
5038 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5042 Make some internal API take const gchar * instead of just
5043 gchar * to avoid compiler warnings with g++-4.2.2 when
5044 passing string constants (partially fixes #478092).
5046 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5048 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5049 A latency query fails when one of the sinks fail.
5051 * gst/gstelement.c: (gst_element_set_base_time):
5054 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5056 * gst/gstbin.c: (gst_bin_continue_func):
5057 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5059 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5061 Fix minor compilation warnings shown with Forte.
5063 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5065 * plugins/elements/gstqueue.c: (apply_buffer),
5066 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5067 Measure queue level based on the diff between head and tail timestamps
5068 even when pushing the first buffer.
5070 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5072 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5073 (gst_base_sink_event), (gst_base_sink_change_state):
5074 Sinks that don't preroll can always be queried for the latency.
5075 Don't post ASYNC start when we are not async.
5077 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5079 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5080 (gst_queue_handle_sink_event), (gst_queue_chain),
5081 (gst_queue_push_one), (gst_queue_handle_src_query),
5082 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5083 * plugins/elements/gstqueue.h:
5084 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5085 push more buffers but allow pushing of EOS and NEWSEGMENT.
5086 Add some more debug info here and there. Fixes #476514.
5088 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5090 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5091 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5092 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5093 (gst_base_sink_set_flushing), (gst_base_sink_query),
5094 (gst_base_sink_change_state):
5095 Latency query is allowed after we are prerolled. Introduce a new flag
5096 for this and stop abusing other variables.
5098 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5100 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5101 Push OOB events downstream when we get them in send_event. This allows
5102 the application to insert events in the pipeline.
5103 Add some more comments.
5105 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5107 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5108 (do_bin_latency), (gst_bin_change_state_func):
5109 * gst/gstpipeline.c: (gst_pipeline_change_state):
5110 Move latency query from GstPipeline to GstBin so that we can also
5111 use it when async-handling is enabled on bins.
5113 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5115 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5116 (gst_base_src_do_sync), (gst_base_src_change_state):
5118 Clean up the timestamping and syncing code for pseudo live sources.
5120 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5122 Patch by: Steve Fink <sphink gmail com>
5124 * docs/manual/appendix-checklist.xml:
5125 Mention less -R switch in the section about debug output (#474055).
5127 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5129 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5130 Queue can latency to the pipeline up to the configured max size in time.
5131 Report this fact in the latency query.
5133 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5135 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5137 * libs/gst/controller/gstinterpolation.c:
5138 * libs/gst/controller/gstlfocontrolsource.c:
5139 Use gst_guint64_to_gdouble() when converting from a uint64 or
5140 GstClockTime to double to fix the build on win32. Fixes #474371.
5142 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5144 * gst/gstbuffer.c: (gst_buffer_finalize):
5145 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5146 When finalizing a buffer the complete struct is filled with 0xff,
5147 thus making a use of the buffer after the final unref impossible.
5149 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5151 * tests/check/libs/controller.c: (GST_START_TEST):
5152 Use fail_unless_equals_int(a, b) instead of
5153 fail_unless_equals (a == b) to get better output on failures.
5155 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5157 * tests/check/gst/gsturi.c:
5158 Also check for the other file URI variant on win32.
5160 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5162 * gst/gsturi.c: (gst_uri_get_location):
5163 If there's no hostname, we want to return 'c:/foo/bar.txt'
5164 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5166 * tests/check/gst/gsturi.c:
5167 Unit test for the above and a few more things.
5169 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5171 * docs/design/part-live-source.txt:
5172 Add docs on how live sources should timestamp.
5174 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5175 Add some more debug info.
5176 For subclasses that are live and like to sync, add aditional startup
5177 latency to sync time and timestamps so that we timstamp according to the
5180 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5183 Also do a g_type_class_ref() for the subbuffer type in
5186 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5188 * docs/gst/gstreamer-sections.txt:
5189 * gst/gstpad.c: (gst_pad_peer_query):
5191 Add function to perform a query on the peer of a pad.
5192 API: gst_pad_peer_query()
5194 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5196 * tests/check/gst/gstsystemclock.c:
5197 Cleanup the test a little (use gst-logging and not g_message). Improve
5198 test to check if a wait reached the target.
5200 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5202 * docs/libs/gstreamer-libs-sections.txt:
5203 Add new API to docs and fix the build.
5205 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5207 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5208 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5209 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5210 (gst_base_src_get_property), (gst_base_src_do_sync):
5211 * libs/gst/base/gstbasesrc.h:
5212 Add property to make the basesrc timestamp buffers based on the current
5214 API: GstBaseSrc::do-timestamp
5215 API: gst_base_src_set_do_timestamp()
5216 API: gst_base_src_get_do_timestamp()
5218 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5220 * docs/random/release:
5221 Really make sure translations are up-to-date before
5222 a release (#465010).
5224 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5226 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5227 Always destroy the timer, also in error cases.
5229 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5231 * docs/manual/highlevel-xml.xml:
5232 Fix XML example code. Fixes #472714.
5234 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5236 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5237 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5238 (gst_base_sink_query):
5239 Protect eos and have_preroll with the OBJECT lock so we don't need to
5240 take the PREROLL lock when querying the latency. Fixes #473846.
5242 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5245 Give some log-messages a category.
5247 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5249 * gst/gststructure.c:
5250 (gst_structure_fixate_field_nearest_fraction):
5251 Fix fraction list fixation code. Take the fraction with the smallest
5252 difference with the target instead of the first one in the list.
5254 * tests/check/gst/gststructure.c: (GST_START_TEST),
5255 (gst_structure_suite):
5256 Added test to verify correct fraction list fixation behaviour.
5258 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5260 * win32/common/libgstreamer.def:
5261 Export gst_bus_add_signal_watch too.
5263 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5265 * docs/libs/gstreamer-libs-sections.txt:
5266 Add new methods to docs.
5268 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5269 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5270 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5271 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5272 * libs/gst/base/gstbasesink.h:
5273 Add ts-offset property to fine-tune the synchronisation.
5274 API: GstBaseSink::ts-offset property
5275 API: gst_base_sink_set_ts_offset()
5276 API: gst_base_sink_get_ts_offset()
5278 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5280 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5281 (gst_base_sink_init), (gst_base_sink_set_sync),
5282 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5283 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5284 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5285 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5286 (gst_base_sink_get_property), (gst_base_sink_change_state):
5287 * libs/gst/base/gstbasesink.h:
5288 Add async property to instruct the sink never to inform the parent about
5289 ASYNC state changes, update docs.
5290 Check argument with g_return_* for the public functions.
5291 API: GstBaseSink::async property
5292 API: gst_base_sink_set_async_enabled()
5293 API: gst_base_sink_is_async_enabled()
5295 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5297 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5300 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5301 (gst_base_src_default_query), (gst_base_src_wait),
5302 (gst_base_src_do_sync), (gst_base_src_change_state):
5303 Rearrange some code so that we can add support for measuring the
5306 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5308 * docs/random/ensonic/dynlink.txt:
5309 More thoughs on this.
5311 * plugins/elements/gstcapsfilter.c:
5312 Add bugzilla ticket number to FIXME comment.
5314 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5316 * docs/design/part-TODO.txt:
5317 * docs/design/part-block.txt:
5320 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5323 Revert patch which uses $(gst_headers) instead of $^ because it
5326 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5328 * tests/check/gst/gstbin.c: (GST_START_TEST):
5329 Fix leaks in the new unit test.
5331 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5334 Don't use GST_INFO before the debug system is actually initialised
5335 (shouldn't do any harm, but won't print anything either, so we can
5336 just as well remove it).
5339 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5340 compilers that don't support variadic macros (such as MSVC), should
5341 check for debug_level <= __gst_debug_min as well, since that's the
5342 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5343 inline helper functions. Should improve performance a bit, but also
5344 makes sure uses of GST_INFO et.al are ignored if the debugging
5345 system isn't initialised yet (instead of printing an assertion
5348 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5350 patch by: David Nečas <yeti@physics.muni.cz>
5353 Replace some non portable makefile constructs.
5355 2007-08-21 Stefan Kost <ensonic@users.sf.net>
5357 * common/gtk-doc-plugins.mak:
5358 Grrrrr. Don't remove the types file on make clean.
5360 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
5362 * tools/gst-launch.1.in:
5363 Add colorspace to example pipeline. Fixes #458274.
5365 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5367 * docs/random/release:
5368 The release manager should run 'make download-po' before making a
5369 release to make sure translations are up-to-date.
5375 Add some new translations.
5377 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5379 * tools/gst-launch.c: (event_loop), (main):
5380 Don´t try to do any state management when a live pipeline posts
5382 Also make the buffering string translatable.
5384 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5386 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5387 (bin_handle_async_start), (gst_bin_handle_message_func):
5389 When adding elements, insert messages into the bus of the newly added
5390 element and make sure the element is the source of the message. This
5391 allows the parent bin to intercept the message and do the
5392 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5393 messages to the app (which is not allowed).
5396 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5397 Fix testsuite so that is does not work around messages that should not
5398 have been posted in the first place.
5400 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5402 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5403 (update_degree), (gst_bin_sort_iterator_next):
5404 Fix annoying bug in the sorted iterator where a sink that is not really
5405 a sink (when it has downstream links) screwed up the iterator.
5407 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5408 Unit test to verify the fix.
5410 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5413 Add some more docs for the messages.
5415 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5416 (gst_base_sink_query):
5417 Add some more debugging.
5419 * tools/gst-launch.c: (event_loop):
5420 When interrupting, don't try to set pipeline to PAUSED twice.
5422 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5425 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5426 (bin_handle_async_start), (gst_bin_handle_message_func):
5427 Move ASYNC_START message posting to where it belongs, similar to
5429 Don't post ASYNC_START when we are in error.
5430 Post ASYNC_START when we added an async element to a bin.
5432 2007-08-14 Julien MOUTTE <julien@moutte.net>
5434 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5435 generation from vargs. Fixes #466595.
5437 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5439 * gst/gstbin.c: (gst_bin_element_set_state):
5440 Always change the state of a NO_PREROLL element even if it has ASYNC
5441 elements inside (in case of a bin).
5443 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5444 Unit test for this case.
5446 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5448 * libs/gst/check/gstbufferstraw.c:
5449 * libs/gst/check/gstcheck.h:
5450 * libs/gst/controller/gstcontroller.c:
5451 * libs/gst/controller/gstcontrolsource.h:
5452 * libs/gst/controller/gstlfocontrolsource.h:
5453 * plugins/elements/gstcapsfilter.h:
5454 * plugins/elements/gstfdsink.h:
5455 * plugins/elements/gstfdsrc.h:
5456 Add more missing docs.
5458 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5460 * gst/gststructure.c:
5461 Add Since tag to docs.
5463 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5465 * docs/gst/gstreamer-sections.txt:
5466 * gst/gststructure.c: (gst_structure_get_uint):
5467 * gst/gststructure.h:
5468 Add function to get uint from a structure.
5469 API: gst_structure_get_uint()
5471 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5473 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5474 (gst_caps_intersect):
5475 Fix proper check for simple caps.
5477 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5479 * docs/gst/Makefile.am:
5480 * docs/libs/Makefile.am:
5481 Remove cruft and do some cleanups.
5483 * docs/gst/gstreamer-docs.sgml:
5484 * docs/libs/gstreamer-libs-docs.sgml:
5485 Prepare for comming gtkdoc features (rebase against online docs).
5487 2007-08-10 Michael Smith <msmith@fluendo.com>
5489 * docs/gst/gstreamer-sections.txt:
5490 Add gst_registry_add_path to docs.
5492 2007-08-10 Michael Smith <msmith@fluendo.com>
5494 * gst/gstregistry.h:
5495 Add gst_registry_add_path, which was missing from this header.
5497 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5499 * libs/gst/controller/gstlfocontrolsource.c:
5502 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5504 * libs/gst/base/gstbasesink.c:
5505 Don't send an async_start message during downwards state change if
5506 target state is less than READY
5508 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5510 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5514 Added Hungarian translation.
5516 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5523 Updated translations.
5525 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5527 * libs/gst/controller/Makefile.am:
5528 Dist gstlfocontrolsourceprivate.h
5530 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5532 * docs/libs/gstreamer-libs.types:
5533 Don't register the enum type gst_lfo_waveform_get_type() in the
5534 .types file - only GObject derived types belong.
5536 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5538 Patch by: <arenevier at fdn dot fr>
5541 Remove comma from last element in enum to avoid compile errors when
5542 using -pendantic. Fixes #464366.
5544 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5546 * docs/design/part-TODO.txt:
5547 Add some more TODO items
5549 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5552 * gst/gstcaps.c: (gst_caps_intersect):
5553 Optimize trivial intersection case between identical caps pointers.
5555 * gst/gstelement.c: (gst_element_continue_state),
5556 (gst_element_set_state_func):
5558 Fix spelling and grammar mistakes.
5560 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5564 Update POTFILES. Fixes #461599.
5566 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5569 Fix confusing typo in debug output.
5571 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5573 reviewed by: Stefan Kost <ensonic@users.sf.net>
5575 * libs/gst/controller/Makefile.am:
5576 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5577 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5578 (gst_lfo_control_source_new),
5579 (gst_lfo_control_source_set_waveform),
5580 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5581 (gst_lfo_control_source_finalize),
5582 (gst_lfo_control_source_dispose),
5583 (gst_lfo_control_source_set_property),
5584 (gst_lfo_control_source_get_property),
5585 (gst_lfo_control_source_class_init):
5586 * libs/gst/controller/gstlfocontrolsource.h:
5587 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5588 API: Add GstLFOControlSource, a control source that gives values
5589 for specific timestamps based on several periodic waveforms.
5592 * tests/check/libs/controller.c: (GST_START_TEST),
5593 (gst_controller_suite):
5594 * docs/libs/gstreamer-libs-docs.sgml:
5595 * docs/libs/gstreamer-libs-sections.txt:
5596 * docs/libs/gstreamer-libs.types:
5597 Add documentation and unit tests for GstLFOControlSource.
5599 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5604 === release 0.10.14 ===
5606 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5609 releasing 0.10.14, "Breathing Vacuum"
5611 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5613 * gst/gstelement.c: (gst_element_class_set_details_simple):
5615 Make strings passed to gst_element_class_set_details_simple()
5616 constant, as they should be (#462752).
5618 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5620 * gst/gstbin.c: (gst_bin_change_state_func),
5621 (bin_handle_async_done), (gst_bin_handle_message_func):
5622 Don't forget about the fact that some element went ASYNC even after a
5623 resync. This makes us post the ASYNC_DONE message correctly.
5626 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5628 * gst/gstregistry.c: (gst_registry_add_feature):
5629 When replacing an existing feature in the registry, make sure to
5630 continue holding a reference until we've replaced the name string
5631 within our feature hash table. Make sure to use g_hash_table_replace
5632 instead of g_hash_table_insert to ensure the new name string is used
5633 as a key instead of the old one that we're about to free.
5636 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5638 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5639 (gst_plugin_feature_set_name):
5640 Revert patch from #459466 until after the release and we can work
5641 out exactly what the problem is (if any).
5643 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5645 * docs/gst/gstreamer-sections.txt:
5648 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5650 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5652 * docs/libs/Makefile.am:
5653 Include our build-prefix libs and includes before the generic ones to
5654 avoid linking against the installed libs when we want the build-tree
5657 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5659 Patch by: Steve Fink <sphink gmail com>
5661 * docs/pwg/building-testapp.xml:
5662 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5663 if people try to build or install the example from the plugin
5664 template against a GStreamer from package using the configure
5667 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5669 Patch by: Steve Fink <sphink gmail com>
5671 * tools/gst-inspect.1.in:
5672 Document --print-all and --print-plugin-auto-install-info command
5673 line options in man page.
5675 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5677 * docs/gst/gstreamer-sections.txt:
5678 Add docs for new api function.
5680 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5682 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5683 * gst/gstelementfactory.h:
5684 API: gst_element_factory_has_interface()
5685 Added method to check if an element factory implements a named
5688 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5691 * docs/gst/gstreamer.types.in:
5692 Another conditional doc check.
5695 * gst/gstparamspecs.h:
5696 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5701 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5703 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5704 (gst_registry_binary_load_feature),
5705 (gst_registry_binary_load_plugin),
5706 (gst_registry_binary_read_cache):
5707 Print error just once and with additional info.
5709 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5711 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5712 (helper_find_suggest), (helper_find_get_length),
5713 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5714 (gst_type_find_helper_for_buffer):
5715 Cleanup the typefindhelper code and add private doc comments.
5717 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5719 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5720 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5721 Fix capsfilter for cases where the caps set on capsfilter will provide
5722 additional information.
5725 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5727 * gst/gsttypefindfactory.c:
5728 Fix docs that recommened wrong function to use.
5730 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5732 * tools/gst-inspect.c: (print_plugin_features):
5733 Also give media-type for typefinders in element output.
5735 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5737 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5738 (gst_registry_remove_features_for_plugin_unlocked),
5739 (gst_registry_add_feature), (gst_registry_remove_feature),
5740 (gst_registry_lookup_feature_locked):
5741 * gst/gstregistry.h:
5742 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5745 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5747 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5748 (gst_plugin_feature_set_name):
5749 Avoid double memory usage for pluginfeature names. Fixes #459466.
5751 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5754 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5755 driving the pipeline may need to explicitly check for NOT_LINKED as
5756 well, since IS_FATAL doesn't cover that.
5758 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5760 * docs/pwg/advanced-types.xml:
5761 Fix typo and duplicate entry in video formats list.
5763 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5765 * libs/gst/controller/gstinterpolation.c:
5766 Also round to the nearest int when using cubic interpolation.
5768 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5770 * libs/gst/controller/gstinterpolation.c:
5771 When linearly interpolating integer types, round to the nearest int
5772 by adding 0.5. Don't do it for float/double types.
5773 Fixes the failing controller test on my machine, which is somehow
5774 rounding differently than on the buildbots.
5776 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5778 * tools/gst-plot-timeline.py:
5779 Better log parsing (categories can have -). Adjust text vs. lines, so
5780 that they span the same y-range.
5782 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5784 * docs/random/ensonic/audiobaseclasses.txt:
5785 * docs/random/ensonic/dynlink.txt:
5786 * docs/random/ensonic/profiling.txt:
5789 * docs/random/moving-plugins:
5790 Add note to use g_assert type macros.
5792 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5795 * libs/gst/check/Makefile.am:
5796 Add libm check as we use in for plugins.
5798 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5800 * gst/gstbin.c: (gst_bin_continue_func):
5801 Check that the state_cookie hasn't changed since the continue_func
5802 was scheduled. Avoids problems where the state changes back to
5803 something it shouldn't be because it was changed in the meantime.
5805 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5807 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5808 (gst_registry_binary_save_string),
5809 (gst_registry_binary_save_pad_template),
5810 (gst_registry_binary_save_feature),
5811 (gst_registry_binary_save_plugin),
5812 (gst_registry_binary_load_feature),
5813 (gst_registry_binary_load_plugin),
5814 (gst_registry_binary_read_cache):
5815 Fix memory leak. Be less verbose in the log.
5817 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5819 * tests/check/elements/.cvsignore:
5820 Add file to cvsignore as commanded.
5822 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5824 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5825 (mq_dummypad_event), (run_output_order_test):
5826 Use a GStaticMutex to protect all cases where libcheck
5827 fail_if/fail_unless macros might be called from multiple threads
5828 simultaneously to avoid errors like:
5829 "check_pack.c:107: :-1081725400:Bad message type arg"
5831 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5833 * tests/check/pipelines/stress.c: (GST_START_TEST):
5834 Make sure we set the pipeline back to the NULL state before
5835 dropping our final reference.
5837 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5839 * tests/check/elements/tee.c: (GST_START_TEST):
5840 Make the tee stress-test a little less stressful so it doesn't just
5841 time out on slow-machines, and remove a small race when it's starting
5842 up by adding a get_state() call.
5844 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5847 Avoid reading registry twice on startup. Fixes #457322.
5849 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5851 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5852 * pkgconfig/gstreamer-check.pc.in:
5853 Substitute the CFLAGS for libcheck into our .pc file too so that
5854 dependent modules will pick it up properly if libcheck is installed
5855 into some other prefix.
5857 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5860 Revert the pkg-config check for libcheck, since it pulls in the
5861 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5862 a proper solution, either from the check project, or something else.
5864 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5867 Use pkg-config to locate check.
5869 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5876 Add deprecation guards.
5878 * libs/gst/base/gstcollectpads.h:
5879 Don't document object (this is implicitly private).
5881 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5883 * gst/gststructure.c: (gst_structure_parse_value):
5884 When deserialising foo=bar without a type cast, check if it's a
5885 boolean before falling back to a string type, otherwise things like
5886 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5887 because the filtercaps end up having a signed=(string)true field,
5888 which causes problems later when intersection caps.
5890 * tests/check/gst/gststructure.c: (GST_START_TEST):
5891 Add a unit test for this.
5893 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5895 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5897 * libs/gst/controller/Makefile.am:
5898 * libs/gst/controller/gstcontroller.c:
5899 (gst_controlled_property_add_interpolation_control_source),
5900 (gst_controlled_property_new), (gst_controlled_property_free),
5901 (gst_controller_find_controlled_property),
5902 (gst_controller_new_valist), (gst_controller_new_list),
5903 (gst_controller_new), (gst_controller_remove_properties_valist),
5904 (gst_controller_remove_properties_list),
5905 (gst_controller_remove_properties),
5906 (gst_controller_set_property_disabled),
5907 (gst_controller_set_disabled), (gst_controller_set_control_source),
5908 (gst_controller_get_control_source), (gst_controller_get),
5909 (gst_controller_sync_values), (gst_controller_get_value_array),
5910 (_gst_controller_dispose), (gst_controller_get_type),
5911 (gst_controlled_property_set_interpolation_mode),
5912 (gst_controller_set), (gst_controller_set_from_list),
5913 (gst_controller_unset), (gst_controller_unset_all),
5914 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5915 * libs/gst/controller/gstcontroller.h:
5916 * libs/gst/controller/gstcontrollerprivate.h:
5917 * libs/gst/controller/gstcontrolsource.c:
5918 (gst_control_source_class_init), (gst_control_source_init),
5919 (gst_control_source_get_value),
5920 (gst_control_source_get_value_array), (gst_control_source_bind):
5921 * libs/gst/controller/gstcontrolsource.h:
5922 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5923 (gst_object_get_control_source):
5924 * libs/gst/controller/gstinterpolation.c:
5925 (gst_interpolation_control_source_find_control_point_node),
5926 (gst_interpolation_control_source_get_first_value),
5927 (_interpolate_none_get), (interpolate_none_get),
5928 (interpolate_none_get_boolean_value_array),
5929 (interpolate_none_get_enum_value_array),
5930 (interpolate_none_get_string_value_array),
5931 (_interpolate_trigger_get), (interpolate_trigger_get),
5932 (interpolate_trigger_get_boolean_value_array),
5933 (interpolate_trigger_get_enum_value_array),
5934 (interpolate_trigger_get_string_value_array):
5935 * libs/gst/controller/gstinterpolationcontrolsource.c:
5936 (gst_control_point_free), (gst_interpolation_control_source_reset),
5937 (gst_interpolation_control_source_new),
5938 (gst_interpolation_control_source_set_interpolation_mode),
5939 (gst_interpolation_control_source_bind),
5940 (gst_control_point_compare), (gst_control_point_find),
5941 (gst_interpolation_control_source_set_internal),
5942 (gst_interpolation_control_source_set),
5943 (gst_interpolation_control_source_set_from_list),
5944 (gst_interpolation_control_source_unset),
5945 (gst_interpolation_control_source_unset_all),
5946 (gst_interpolation_control_source_get_all),
5947 (gst_interpolation_control_source_get_count),
5948 (gst_interpolation_control_source_init),
5949 (gst_interpolation_control_source_finalize),
5950 (gst_interpolation_control_source_dispose),
5951 (gst_interpolation_control_source_class_init):
5952 * libs/gst/controller/gstinterpolationcontrolsource.h:
5953 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5954 API: Refactor GstController into the core controller which can take
5955 a GstControlSource for providing actual values for timestamps.
5956 Implement a interpolation control source and use this for backward
5957 compatibility, deprecate a bunch of functions that are now handled
5958 by GstControlSource or GstInterpolationControlSource.
5959 Make it possible to disable the controller completely or only for
5960 specific properties. Fixes #450711.
5961 * docs/libs/gstreamer-libs-docs.sgml:
5962 * docs/libs/gstreamer-libs-sections.txt:
5963 * docs/libs/gstreamer-libs.types:
5964 Add new functions and classes to the docs.
5965 * tests/check/libs/controller.c: (GST_START_TEST),
5966 (gst_controller_suite):
5967 * tests/examples/controller/audio-example.c: (main):
5968 Port unit test and example to the new API and add some new
5971 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5973 Patch by: Mark Nauwelaerts <manauw at skynet be>
5975 * plugins/elements/gstmultiqueue.c:
5976 (gst_multi_queue_get_internal_links), (apply_buffer),
5977 (single_queue_overrun_cb), (gst_single_queue_new):
5978 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5979 the pipeline layout can be tracked correctly. Fixes #453732.
5981 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5983 * docs/gst/Makefile.am:
5984 * docs/libs/Makefile.am:
5985 * docs/plugins/Makefile.am:
5986 Simplify --extra-dir as gtkdoc scans recursively.
5988 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5990 * tools/gst-launch.c: (main):
5991 When we got an error, there is no point in waiting for preroll when
5994 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5996 * plugins/elements/gsttee.c: (gst_tee_base_init),
5997 (gst_tee_request_new_pad), (gst_tee_release_pad),
5998 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5999 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6001 Be a lot smarter when deciding what srcpad to use for proxying
6002 the buffer_alloc. Also handle pad added/removed when doing so.
6004 Keep track of what pads we already pushed on in case we have pads
6005 added/removed while pushing. Fixes #374639
6007 * tests/check/Makefile.am:
6008 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6010 Added unit test for pad resync.
6012 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6016 Updated translations.
6018 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6020 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6024 Added new Finnish translation.
6026 2007-06-28 Wim Taymans <wim@fluendo.com>
6028 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6029 (single_queue_overrun_cb):
6030 When figuring out when a queue is filled, use our internal time estimate
6031 based on segments, just like check_full does.
6033 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6035 * gst/gstminiobject.c: (gst_mini_object_get_type):
6036 Remove 3 do-nothing methods.
6038 2007-06-27 Wim Taymans <wim@fluendo.com>
6040 Patch by: Tim Angus <tim at ngus dot net>
6042 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6043 (gst_capsfilter_set_property):
6044 Take a reference instead of a copy when setting "caps".
6045 Fix documentation to clarify this behaviour. Fixes #449414.
6047 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6049 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6050 * gst/gstplugin.c: (gst_plugin_init):
6051 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6052 * gst/gstquery.c: (gst_query_get_type):
6053 * gst/gstregistry.c: (gst_registry_init):
6054 * gst/gsturi.c: (gst_uri_handler_base_init):
6055 Remove empty instance_init() functions to save relocs and lessen the
6056 noise. Remove some of the function prototypes that are doubled by
6059 2007-06-27 Wim Taymans <wim@fluendo.com>
6061 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6063 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6064 Add peer and direction in the XML serialisation of ghostpads.
6067 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6070 Preserve useful information, thanks Tim.
6072 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6074 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6075 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6076 (gst_single_queue_push_one), (gst_multi_queue_loop),
6077 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6078 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6079 (compute_high_id), (gst_single_queue_new):
6080 * plugins/elements/gstmultiqueue.h:
6081 Take the multiqueue lock when updating the fill level so we don't get
6084 After applying a buffer or event on the src pad segment, make sure to
6085 call gst_data_queue_limits_changed() to get the data queue to unblock
6086 and check the filled state again.
6088 Rework the not-linked pad handling so the logic is that not-linked
6089 pads can push as fast as they like, but only so they never get
6090 ahead of any linked pads.
6092 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6093 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6094 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6096 Add a test to check that not-linked pads always stay behind
6101 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6103 * docs/random/release:
6104 Some updates to the release procedure.
6106 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6108 * gst/gstelementfactory.c: (__gst_element_details_clear):
6109 Microoptimization that saves stunning 80 bytes.
6111 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6113 * docs/plugins/gstreamer-plugins.args:
6114 * docs/plugins/inspect/plugin-coreelements.xml:
6115 * docs/plugins/inspect/plugin-coreindexers.xml:
6116 Update docs with caps info.
6118 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6121 Updated Italian translation.
6123 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6127 Update Vietnamese translations.
6129 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6131 * libs/gst/base/gstbasesink.c:
6132 Remove unused signal enum.
6134 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6136 * docs/gst/gstreamer-sections.txt:
6138 * gst/gstutils.c: (gst_type_register_static_full):
6139 Beef up and include the docs for gst_type_register_static_full and
6140 gst_element_class_set_details_simple and add the API keyword
6143 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6145 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6146 (update_time_level), (gst_single_queue_push_one),
6147 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6148 (single_queue_overrun_cb), (single_queue_underrun_cb),
6149 (single_queue_check_full):
6150 Fix setting max-* properties after adding queues.
6151 Use IS_FILLED for checking visible items.
6152 Signal overrun if multiple queues overrun.
6153 Add extra debug output.
6154 Patch by: Wim Taymans <wim@fluendo.com>
6156 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6158 * gst/gstelement.c: (gst_element_class_set_details_simple):
6160 * gst/gstutils.c: (gst_type_register_static_full):
6162 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6163 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6164 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6165 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6166 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6167 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6168 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6169 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6170 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6171 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6172 (apply_buffer), (gst_queue_chain):
6173 * plugins/elements/gsttee.c: (gst_tee_base_init):
6174 * plugins/elements/gsttypefindelement.c:
6175 (gst_type_find_element_base_init),
6176 (gst_type_find_element_class_init):
6177 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6178 API: add gst_type_register_static_full
6179 API: add gst_element_class_set_details_simple
6181 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6183 * docs/pwg/advanced-types.xml:
6184 Fix typo in iana.org URI.
6186 2007-06-19 Andy Wingo <wingo@pobox.com>
6188 * tests/check/pipelines/simple-launch-lines.c
6189 (test_state_change_returns): Enable pull-mode tests now that
6190 basesink has been fixed.
6192 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6193 Changed from gst_base_sink_is_prerolled, reversing the sense of
6194 the return value. Returns FALSE also if the sink is in pull mode,
6195 in which case it needs no preroll.
6196 (gst_base_sink_query, gst_base_sink_change_state): Update for
6197 needs_preroll change.
6198 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6199 chaining up, in which we return SUCCESS directly if we activated
6200 in pull mode instead of ASYNC. Involves countering an async_start
6201 message sent before chaining up; not sure if this is correct, in
6202 an ideal world we only send async-start when activating in push
6205 * tests/check/pipelines/simple-launch-lines.c
6206 (test_state_change_returns): New test, partially disabled until
6209 2007-06-19 Wim Taymans <wim@fluendo.com>
6211 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6212 (gst_multi_queue_sink_event):
6215 2007-06-19 Wim Taymans <wim@fluendo.com>
6217 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6218 (gst_bin_change_state_func), (bin_push_state_continue),
6219 (bin_handle_async_start), (bin_handle_async_done),
6220 (gst_bin_handle_message_func):
6221 Move the common code for posting state-change messages into
6223 Broadcast the state signal after we posted the messages.
6224 Mark the bin as busy when it's doing a state-change.
6225 Make sure async-start/done messages don't interfere with the bin's
6226 state when it's busy.
6227 After the state change, let the bin check which elements completed the
6228 state change while it was busy so that it can update its state.
6230 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6232 * docs/random/release:
6233 Add a note about updating the doap file to the release checklist
6235 2007-06-18 Wim Taymans <wim@fluendo.com>
6237 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6238 (gst_single_queue_push_one), (gst_multi_queue_chain),
6239 (gst_multi_queue_sink_event):
6240 Make sure we don't reference the buffer/event after we have given away
6241 ownership in the queue.
6243 2007-06-18 Wim Taymans <wim@fluendo.com>
6245 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6246 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6247 Update queue state _after_ adding the item in the queue because else we
6248 could end up being full without the element added yet.
6250 2007-06-18 Wim Taymans <wim@fluendo.com>
6252 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6253 (gst_bin_remove_func), (gst_bin_get_state_func),
6254 (gst_bin_element_set_state), (gst_bin_continue_func),
6255 (bin_push_state_continue), (bin_handle_async_start),
6256 (bin_handle_async_done), (gst_bin_handle_message_func):
6258 Immediatly commit the toplevel bin state when receiving an async-done
6259 message. This enables us to avoid spawning a thread to commit the state
6260 in some common cases and it also avoids some races.
6261 Avoid spawning a state thread when adding/removing async elements to a
6262 toplevel bin. Instead we immediatly update the bin state.
6263 Get rid of iterating all the children when getting the state in the bin
6264 because it is now always up-to-date.
6265 Fix bug where locked elements would always return _SUCCESS even it they
6266 returned NO_PREROLL before being locked.
6267 Fix the order of the state_change, async-start/done messages that was
6268 sometimes incorrect.
6269 Mark the state_dirty field as deprecated, we don't need it anymore as we
6270 are always up-to-date.
6272 * gst/gstelement.c: (gst_element_get_state_func),
6273 (gst_element_continue_state):
6274 Small debug inprovements.
6275 Return the previous element state return when nothing is pending instead
6276 of blindly returning SUCCESS.
6278 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6280 Add a whole bunch of new testcases.
6282 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6286 Update translations.
6288 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6291 Fix typo in the docs.
6293 2007-06-15 Wim Taymans <wim@fluendo.com>
6295 * docs/libs/gstreamer-libs-sections.txt:
6296 Add docs for new methods.
6298 2007-06-15 Wim Taymans <wim@fluendo.com>
6300 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6301 (gst_multi_queue_item_new):
6302 Don't use GSlice because we don't depend on >= 2.10 yet.
6304 2007-06-15 Wim Taymans <wim@fluendo.com>
6306 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6307 (update_time_level), (apply_segment), (apply_buffer),
6308 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6309 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6310 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6311 (single_queue_underrun_cb), (single_queue_check_full):
6312 Remove debug printf.
6314 2007-06-15 Wim Taymans <wim@fluendo.com>
6316 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6317 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6318 (gst_data_queue_set_flushing), (gst_data_queue_push),
6319 (gst_data_queue_pop), (gst_data_queue_drop_head),
6320 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6321 * libs/gst/base/gstdataqueue.h:
6323 Added methods to get the current levels and to inform the queue that the
6324 'full' limits changed.
6326 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6327 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6328 (gst_single_queue_flush), (update_time_level), (apply_segment),
6329 (apply_buffer), (gst_single_queue_push_one),
6330 (gst_multi_queue_item_steal_object),
6331 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6332 (gst_multi_queue_loop), (gst_multi_queue_chain),
6333 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6334 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6335 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6336 (single_queue_underrun_cb), (single_queue_check_full),
6337 (gst_single_queue_new):
6338 Keep track of time in the queue by measuring the difference between
6339 running_time on input and output. This gives more accurate results and
6340 can compensate for segments correctly.
6341 Make a queue by default only 5 buffers deep. We will now increase the
6342 buffer size depending on the filledness of the other queues.
6343 Factor out commong flush code.
6344 Make sure we don't add additional refcounts to buffers when we can avoid
6346 Propagate GstFlowReturn differently.
6347 Use GSlice for intermediate GstMultiQueueItems.
6349 Resize queues on over and underruns based on filled level of other
6351 When checking if the queue is filled, prefer to measure in time if we
6352 can and fall back to bytes when no time is known.
6354 * plugins/elements/gstqueue.c:
6357 2007-06-15 Wim Taymans <wim@fluendo.com>
6359 * libs/gst/base/gstbasetransform.c:
6360 (gst_base_transform_sink_event):
6361 Work around the brokenness of the event vmethod in basetransform. Prefer
6362 to return TRUE when the subclass returned FALSE (meaning don't forward
6365 * libs/gst/base/gstbasetransform.h:
6368 2007-06-15 Wim Taymans <wim@fluendo.com>
6370 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6371 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6372 (gst_base_src_default_query), (gst_base_src_get_range),
6373 (gst_base_src_start):
6374 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6377 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6379 * docs/pwg/advanced-types.xml:
6380 Added more formats to caps table.
6382 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6384 * tools/gst-launch.c: (main):
6385 Remove crufy code. GOption does not need this workaround.
6387 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6389 * libs/gst/controller/gstcontroller.c:
6390 (gst_controlled_property_set_interpolation_mode):
6391 Fix wrong getter for enums in controller.
6393 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6395 * libs/gst/check/gstcheck.c: (gst_check_init):
6396 Intercept criticals and warnings in the Gst-Phonon log domain, so
6397 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6400 2007-06-14 Edward Hervey <edward@fluendo.com>
6402 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6403 Since this file doesn't include "gst.h" it will not go through the
6404 macros that disable GST_LOG if debugging was disabled.
6406 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6408 * libs/gst/check/Makefile.am:
6409 * libs/gst/check/gstcheck.h:
6410 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6411 * pkgconfig/gstreamer-check.pc.in:
6412 Ugly 'fix' for the controller unit test on the p5 bot: in
6413 fail_unless_equals_float() check whether the values are 'almost
6414 equal' by allowing a small absolute error, which should be good
6415 enough for our use cases (normal numbers and values close to 0).
6416 Proper fixage left to floating point arithmetic aficionados.
6418 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6420 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6421 (gst_base_sink_render_object), (gst_base_sink_get_position):
6422 Add two breaks thats where missing.
6424 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6426 * docs/libs/gstreamer-libs-sections.txt:
6427 * libs/gst/check/gstcheck.h:
6428 API: add fail_unless_equals_float() and assert_equals_float().
6429 Add documentation for some of the macros.
6431 * tests/check/libs/controller.c: (GST_START_TEST):
6432 Use newly-added asserts.
6434 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6436 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6437 Show the caps change in the log to help spotting the case of not
6438 exactly matching caps.
6440 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6442 * docs/pwg/building-boiler.xml:
6443 Fix typos, spotted by Thijs Vermeir (#447190).
6445 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6447 * docs/plugins/tmpl/.cvsignore:
6448 Ignore file to keep the buildbots happy
6450 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6452 * docs/plugins/Makefile.am:
6453 * docs/plugins/gstreamer-plugins-docs.sgml:
6454 * docs/plugins/gstreamer-plugins-sections.txt:
6455 Pull fdsink into the docs too.
6457 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6459 * libs/gst/controller/gstinterpolation.c:
6460 Actually use the new functions with min/max checks for the trigger and
6461 none interpolation modes for get() and get_value_array() instead of
6464 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6466 * libs/gst/controller/gstcontroller.c:
6467 (gst_controlled_property_free):
6468 Unset the minimum and maximum GValues when freeing the corresponding
6469 GstControllerProperty struct.
6471 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6473 * libs/gst/controller/gstcontroller.c:
6474 (gst_controlled_property_new):
6475 * libs/gst/controller/gstcontrollerprivate.h:
6476 * libs/gst/controller/gstinterpolation.c:
6477 (gst_controlled_property_find_control_point_node),
6478 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6479 (interpolate_none_get_string_value_array),
6480 (interpolate_trigger_get),
6481 (interpolate_trigger_get_enum_value_array),
6482 (interpolate_trigger_get_string_value_array):
6483 Protect against values larger or smaller than the minimum or maximum
6484 allowed value for the property when using values that can be compared.
6486 Optimize trigger interpolator a bit by taking the last requested value
6487 into account instead of always looping through the complete list.
6489 Fix coding style a bit, everywhere else we use "return foo" instead
6492 * tests/check/libs/controller.c: (GST_START_TEST),
6493 (gst_controller_suite):
6494 Add unit test for the protection against too large or too small
6497 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6499 * docs/random/slomo/controller.txt:
6500 Add some thoughts about the future of the controller.
6502 2007-06-08 Wim Taymans <wim@fluendo.com>
6504 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6505 Don't overflow in retimestamping code.
6507 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6509 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6510 Use gst_util_guint64_to_gdouble for conversions.
6511 * win32/common/libgstreamer.def:
6512 Add new exported functions.
6514 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6517 Small docs addition.
6519 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6522 Remove that test line again.
6524 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6527 Test commit mail sending.
6529 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6532 Fix typo and test commit mail sending.
6534 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6536 * tests/examples/controller/audio-example.c:
6537 Improve comment and test commit mail sending.
6539 2007-06-07 Wim Taymans <wim@fluendo.com>
6541 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6542 (gst_bin_remove_func), (gst_bin_element_set_state),
6543 (bin_handle_async_start), (bin_handle_async_done),
6544 (gst_bin_handle_message_func):
6545 Add helper function to find messages.
6546 Generate the async-done messages together with the state change
6548 Small cleanups in handling toplevel bins.
6550 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6552 * libs/gst/base/gstdataqueue.c:
6553 * libs/gst/base/gstdataqueue.h:
6554 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6555 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6556 (gst_multi_queue_sink_event):
6557 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6558 Fix multiqueue leaking buffers and events when downstream or the
6559 queue are flushing. Make refcounting assumptions explicit and
6560 document them (shouldn't break existing code that uses it other than
6561 maybe leak miniobjects, but that already happens anyway). Add unit
6562 test for the most common flushing case. Fixes #423700.
6564 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6566 * libs/gst/controller/gstcontroller.c:
6567 Clarify docs: The get_all, get_value_array(s) functions
6568 don't modify the GObject properties.
6570 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6572 * libs/gst/controller/gstcontroller.c:
6573 (gst_controlled_property_set_interpolation_mode),
6574 (gst_controlled_property_prepend_default),
6575 (gst_controlled_property_new), (gst_controller_set_unlocked),
6576 (gst_controller_set), (gst_controller_set_from_list),
6577 (gst_controller_unset), (gst_controller_unset_all):
6578 * libs/gst/controller/gstcontrollerprivate.h:
6579 * libs/gst/controller/gstinterpolation.c:
6580 Factor out the 'set' logic into gst_controller_set_unlocked for the
6581 gst_controller_set and gst_controller_set_from_list functions.
6583 To make life of the interpolators easier always add a control point
6584 at timestamp zero with the default value.
6586 In the linear interpolator make things more obvious by better variable
6589 Implement cubic interpolation mode (by using a natural cubic spline)
6590 and map the quadratic interpolation mode to this too (as quadratic
6591 doesn't make much sense, see discussion on the list).
6593 * tests/check/libs/controller.c: (GST_START_TEST),
6594 (gst_controller_suite):
6595 Add unit test for the cubic interpolation mode and check everywhere
6596 if the interpolation mode could be set as expected.
6598 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6600 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6601 Don't use GLib-2.10 functions, we still depend on
6602 GLib-how-old-is-it-again-2.8.
6604 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6606 * docs/gst/gstreamer-sections.txt:
6610 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6611 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6612 (_gst_param_fraction_values_cmp),
6613 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6614 * gst/gstparamspecs.h:
6616 * tests/check/Makefile.am:
6617 * tests/check/gst/.cvsignore:
6618 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6619 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6620 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6621 (GST_START_TEST), (gst_param_spec_suite):
6622 API: add GstParamSpecFraction, so elements can have fraction
6623 properties without lots of painful string parsing (#444648).
6625 2007-06-05 Wim Taymans <wim@fluendo.com>
6627 * gst/gstobject.c: (gst_object_class_init):
6628 Fix signal signature.
6631 Add small clarification in the api docs.
6633 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6634 States are protected with object lock.
6636 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6639 I should probably be listed as an author by now.
6641 * docs/random/release:
6642 Update the release doc
6644 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6647 Make docs for gst_value_compare() mention return enums that
6650 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6655 === release 0.10.13 ===
6657 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6660 releasing 0.10.13, "With or without you"
6662 2007-05-25 Wim Taymans <wim@fluendo.com>
6664 * gst/gstbin.c: (bin_handle_async_done):
6665 Make sure that the child bin stops after completing the async state
6666 change so that the parent can continue the state change to PLAYING.
6669 2007-05-25 Wim Taymans <wim@fluendo.com>
6671 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6672 (unref_data), (gst_collect_pads_remove_pad),
6673 (gst_collect_pads_check_pads):
6674 Use additional refcounting to avoid crashes when dynamically adding and
6675 removing pads. Fixes #420206.
6677 2007-05-24 Wim Taymans <wim@fluendo.com>
6679 * tools/gst-launch.c: (event_loop):
6680 When buffering goes from a two digit to a single digit number, make sure
6681 to remove the old second digit by writing a blank over it.
6683 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6685 * libs/gst/base/gstdataqueue.c:
6686 Eliminate tabs and trailing comma in enum list; fix some typos.
6688 2007-05-24 Wim Taymans <wim@fluendo.com>
6690 * tests/check/gst/gstbin.c: (GST_START_TEST):
6691 Allow refcount of 3 and 4 because some state thread might still be busy
6694 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6696 * plugins/elements/Makefile.am:
6697 * plugins/elements/gstmultiqueue.h:
6698 * plugins/elements/gstqueue.h:
6699 These are not installed headers, no need for padding.
6701 2007-05-24 Wim Taymans <wim@fluendo.com>
6703 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6704 (gst_bin_continue_func):
6705 Enable latency for next release.
6706 Restore STATE_LOCK around recalc_state that was left out during the
6707 rewrite and could result in racy behaviour when _get_state and
6708 recalc_state are run concurrently. See #440463.
6710 2007-05-23 Wim Taymans <wim@fluendo.com>
6712 * tests/check/gst/gstsystemclock.c: (store_callback),
6714 Improve test_async_order to also work when both timers are already
6715 expired when we get scheduled to check it.
6717 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6719 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6720 (gst_bin_set_property), (gst_bin_get_property),
6721 (gst_bin_remove_func), (gst_bin_handle_message_func):
6723 'private' is a c++ keyword, let's not use that in header files,
6724 otherwise c++ compilers will throw a tantrum.
6726 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6728 * plugins/elements/gstelements.c:
6729 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6730 (gst_file_sink_get_current_offset):
6731 * plugins/indexers/gstindexers.c: (plugin_init):
6732 Use #ifdef for HAVE_XYZ for consistency.
6734 * tests/check/Makefile.am:
6735 * tests/check/elements/.cvsignore:
6736 * tests/check/elements/filesink.c: (setup_filesink),
6737 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6738 Add some unit tests for filesink.
6740 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6742 Patch by: Mark Nauwelaerts <manauw at skynet be>
6744 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6745 (gst_file_sink_query), (gst_file_sink_do_seek),
6746 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6747 * plugins/elements/gstfilesink.h:
6748 Fix position reporting; rename data_written member to current_pos to
6749 reflect its real meaning (fixes #412648).
6751 2007-05-22 Edward Hervey <edward@fluendo.com>
6753 * docs/gst/gstreamer-sections.txt:
6754 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6755 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6756 (gst_bin_remove_func), (gst_bin_handle_message_func):
6758 Add a property for bins that handle the state change of their childs.
6761 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6763 * libs/gst/controller/gstinterpolation.c:
6764 Use an array of the correct type when using _get_value_array with
6765 linear interpolation.
6767 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6769 * gst/gstelement.c (gst_element_requires_clock,
6770 gst_element_provides_clock, gst_element_request_pad,
6771 gst_element_class_set_details, gst_element_class_set_details_simple,
6772 gst_element_default_send_event, gst_element_abort_state,
6773 gst_element_continue_state, gst_element_set_state,
6774 gst_element_set_state_func, iterator_activate_fold_with_resync):
6775 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6776 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6777 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6778 gst_pad_get_range, gst_pad_pull_range):
6779 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6780 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6781 GstPadActivateModeFunction, GstPadChainFunction,
6782 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6783 GstPadFixateCapsFunction, GstPadTemplate):
6784 * gst/gstpipeline.c (gst_pipeline_change_state,
6785 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6786 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6787 gst_pipeline_get_delay):
6788 Whitespace and docs fixes.
6790 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6792 * libs/gst/controller/gstinterpolation.c:
6793 (interpolate_trigger_get_enum_value_array),
6794 (interpolate_trigger_get_string_value_array):
6795 Add support for retrieving value arrays when using the trigger
6798 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6800 * libs/gst/controller/gstcontroller.c:
6801 (gst_controller_get_value_array):
6802 * libs/gst/controller/gstcontroller.h:
6803 Clarify the docs of gst_controller_get_value_array(): The array where
6804 the values should be written to must be allocated as there seems to be
6805 no way to get the size of a random GType. This doesn't change any
6806 behaviour. Also fix some typos all over the place and remove an unused,
6807 commented function that is not necessary as g_object_set() could be
6809 * tests/check/libs/controller.c: (GST_START_TEST),
6810 (gst_controller_suite):
6811 Add unit test for gst_controller_get_value_array().
6813 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6815 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6817 Disable part of the gst_buffer_try_new_and_alloc test, because
6818 it can happily succeed on 64-bit systems where there's more address
6821 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6823 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6824 Add unit test for the improved caps checking from bug #421543.
6826 2007-05-21 Wim Taymans <wim@fluendo.com>
6828 * docs/design/part-synchronisation.txt:
6831 * gst/gstbin.c: (gst_bin_query):
6832 * plugins/elements/gstqueue.c: (apply_segment):
6838 2007-05-21 Wim Taymans <wim@fluendo.com>
6840 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6841 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6842 (gst_pad_configure_src):
6843 Added simple version of improved caps checking. It was previously
6844 assumed that a setcaps function would check the validity of the caps but
6845 people prefer us to check caps against the template automatically.
6848 2007-05-21 Wim Taymans <wim@fluendo.com>
6850 * libs/gst/base/gstbasetransform.h:
6851 Fix macro for locking/unlocking the transform lock.
6853 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6855 * docs/plugins/tmpl/.cvsignore:
6858 2007-05-18 Edward Hervey <edward@fluendo.com>
6860 * plugins/elements/gstqueue.c: (gst_queue_loop):
6861 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6862 for the subtle art of warning a potentially blocking thread that it
6863 should check the source pad return value, and relay the information
6866 2007-05-18 Edward Hervey <edward@fluendo.com>
6868 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6869 Release the queue lock !
6871 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6873 * docs/libs/gstreamer-libs-sections.txt:
6874 Add the two new controller functions to the appropiate places.
6876 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6878 reviewed by: Stefan Kost <ensonic@users.sf.net>
6880 * libs/gst/controller/gstcontroller.c:
6881 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6882 (_gst_controller_get_property), (_gst_controller_set_property),
6883 (_gst_controller_init), (_gst_controller_class_init):
6884 * libs/gst/controller/gstcontroller.h:
6885 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6886 (gst_object_get_control_rate), (gst_object_set_control_rate):
6887 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6888 Add API that provides sync suggestion timestamps for elements that
6889 call gst_object_sync_values() from which those elements can subdivide
6890 their processing loop to get the best results for the controlled
6891 properties. For now it just suggests last_sync + control_rate as
6892 new timestamp but this will be improved in the future.
6894 While doing that change the control-rate property to a GstClockTime
6895 from guint and change it's meaning from samples to nanoseconds as
6896 the GstController doesn't know anything about sampling rate. Strictly
6897 speaking this breaks ABI but as the control-rate property didn't do
6898 anything in the past and as such couldn't be used this should be no
6901 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6903 reviewed by: Stefan Kost <ensonic@users.sf.net>
6905 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6906 (gst_controller_unset_all):
6907 * libs/gst/controller/gstcontrollerprivate.h:
6908 * libs/gst/controller/gstinterpolation.c:
6909 (gst_controlled_property_find_control_point_node):
6910 Save last synced value from the list to continue searching from there
6911 in future syncs. This speeds everything up a bit.
6913 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6915 reviewed by: Stefan Kost <ensonic@users.sf.net>
6917 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6918 (gst_control_point_find), (gst_controlled_property_new),
6919 (gst_control_point_free), (gst_controlled_property_free),
6920 (gst_controller_set), (gst_controller_set_from_list),
6921 (gst_controller_unset), (gst_controller_unset_all),
6922 (gst_controller_sync_values):
6923 * libs/gst/controller/gstcontroller.h:
6924 * libs/gst/controller/gstcontrollerprivate.h:
6925 * libs/gst/controller/gstinterpolation.c:
6926 (gst_controlled_property_find_control_point_node),
6927 (interpolate_none_get), (interpolate_trigger_get):
6928 Add a new private GstControlPoint struct which "inherits" from
6929 GstTimedValue to allow different interpolators to store internal
6930 values next to each control point. From the outside everything is
6931 still a GstControlPoint so we don't loose binary compatibility.
6932 Also fixup all the GValue handling to not leak GValues or list nodes.
6933 * tests/check/libs/controller.c: (GST_START_TEST):
6934 Free the list nodes and GValues in the controller_misc test.
6936 2007-05-17 Edward Hervey <edward@fluendo.com>
6941 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6943 * gst/gstplugin.c: (gst_plugin_load_file):
6944 If we fail to load a plugin because of unresolved symbols or missing
6945 libraries and spew a warning to stderr, we may just as well mention
6946 which plugin it was that failed to load.
6948 2007-05-13 David Schleef <ds@schleef.org>
6950 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6951 handles the case when ENABLE_GTK_DOC is false, and installs
6952 the prebuilt documentation. So gtk-doc subdirs are
6953 unconditionally enabled. Fixes: #349099.
6955 2007-05-13 David Schleef <ds@schleef.org>
6957 * gst/gstutils.h: Reword some documentation.
6959 2007-05-12 David Schleef <ds@schleef.org>
6961 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6962 do anything with the passed "module" parameter, so remove it.
6963 Allows removal of additional vestigal code.
6965 2007-05-12 David Schleef <ds@schleef.org>
6968 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6969 Switch to using g_stat() because it's more portable.
6971 2007-05-12 David Schleef <ds@schleef.org>
6974 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6975 parsing for embedded systems.
6976 * gst/gstelementfactory.c:
6977 Allow gst_element_register() to be called with plugin==NULL.
6978 Did nobody notice that static elements were broken?
6980 2007-05-12 Wim Taymans <wim@fluendo.com>
6982 * tools/gst-launch.c: (event_loop):
6983 Give more interesting info when buffering starts and stops.
6984 Fix case where buffering starts but we fail to update the buffering flag
6985 because the target state is not PLAYING.
6987 2007-05-12 Wim Taymans <wim@fluendo.com>
6989 * plugins/elements/gstqueue.c: (gst_queue_init),
6990 (gst_queue_finalize), (update_time_level), (apply_segment),
6991 (apply_buffer), (gst_queue_locked_flush),
6992 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6993 (gst_queue_handle_sink_event), (gst_queue_chain),
6994 (gst_queue_push_one), (gst_queue_loop):
6995 * plugins/elements/gstqueue.h:
6996 Refactor an cleanup queue a bit.
6997 Do better time level calculations that also work when the srcpad is not
6999 Remove some unneeded debug lines.
7001 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7002 Added testcase for time level measurement.
7003 Try to make some stuff more racefree.
7005 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7007 * gst/gsturi.c: (gst_element_make_from_uri):
7008 Don't leak plugin feature.
7010 * tests/check/Makefile.am:
7011 * tests/check/gst/.cvsignore:
7012 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7013 Add brain-dead unit test.
7015 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7017 Patch by: Jeroen Wouters <woutersj at gmail com>
7019 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7020 Treat protocol strings in a case-insensitive way (#437563).
7022 2007-05-11 Michael Smith <msmith@fluendo.com>
7024 * gst/gstplugin.c: (gst_plugin_load_file):
7025 * gst/gstregistry.c: (gst_registry_scan_path_level):
7026 Don't print a g_warning for any failure to load a shared object.
7027 Instead, push this down into gstplugin.c, and warn _only_ if we
7028 failed to open the module (i.e. failure to link).
7029 Avoids warnings on normal, working, non-plugin .so files.
7031 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7033 * gst/gstplugin.c (gst_plugin_load_file):
7034 * gst/gstregistry.c (GST_CAT_DEFAULT,
7035 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7036 Print a g_warning if there was an error when loading a plugins during
7037 registry scan. The shuld help beginners starting with gst-plugin
7040 2007-05-10 Wim Taymans <wim@fluendo.com>
7042 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7043 (update_time_level), (gst_queue_locked_flush),
7044 (gst_queue_handle_sink_event), (gst_queue_chain),
7045 (gst_queue_push_one), (gst_queue_loop):
7046 * plugins/elements/gstqueue.h:
7047 Be smarter when calculating the current amount of data in the queue by
7048 measuring the difference between start and end timestamps (in running
7049 time) inside the queue. Fixes #432876.
7050 API: GstQueue::pushing to notify elements that we are pushing data again
7051 since the running signal is rather broken for this purpose.
7053 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7055 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7056 gst_queue_base_init, gst_queue_init):
7059 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7061 * win32/common/libgstreamer.def:
7062 Add new exported functions.
7063 * win32/vs6/grammar.dsp:
7064 Use grammar pre-generated files.
7066 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7068 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7071 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7073 * gst/gstutils.c: (gst_parse_bin_from_description):
7075 Maintain API and ABI when --disable-parse is used. Now that
7076 we have an appropriate error code, we can just return NULL and the
7077 appropriate error when gst_parse_launch() is used despite it having
7078 been disabled (#342564).
7080 * tests/check/Makefile.am:
7081 * tests/check/pipelines/.cvsignore:
7082 * tests/check/pipelines/parse-disabled.c:
7083 Make sure these functions exist and return NULL plus a GError when
7084 --disable-parse is used.
7086 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7088 * tests/benchmarks/complexity.c: (main):
7089 * tests/benchmarks/mass-elements.c: (main):
7090 Set a good example and don't leak messages.
7092 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7094 * docs/gst/Makefile.am:
7095 * docs/libs/Makefile.am:
7096 Correct fixxrefs options.
7098 * docs/plugins/Makefile.am:
7099 * docs/plugins/gstreamer-plugins-docs.sgml:
7100 * docs/plugins/gstreamer-plugins-sections.txt:
7101 * plugins/elements/Makefile.am:
7102 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7103 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7104 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7105 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7106 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7107 _GstCapsFilterClass, trans_class):
7108 * plugins/elements/gstelements.c (name, rank, type, _elements):
7109 * plugins/elements/gstidentity.c
7110 (gst_identity_check_imperfect_timestamp,
7111 gst_identity_check_imperfect_offset):
7112 Document capsfilter and add doc-blurb to identity.
7114 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7116 * libs/gst/controller/gstcontroller.c:
7117 (gst_controlled_property_set_interpolation_mode):
7118 * libs/gst/controller/gstinterpolation.c:
7119 Don't crash if someone tries to set an interpolation mode that
7120 is invalid or that isn't supported yet. Fixes #422295.
7122 * tests/check/libs/controller.c: (GST_START_TEST),
7123 (gst_controller_suite):
7124 Add a test case for the above.
7126 2007-05-03 Edward Hervey <edward@fluendo.com>
7128 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7129 Properly set the last_stop position on GstSegment. This will only happen
7130 if there is a buffer to push out.
7132 2007-05-03 Wim Taymans <wim@fluendo.com>
7134 * libs/gst/base/gstbasetransform.c:
7135 (gst_base_transform_buffer_alloc):
7136 always_in_place does not mean that the sink and source caps are the
7137 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7139 2007-05-03 Wim Taymans <wim@fluendo.com>
7141 * docs/libs/gstreamer-libs-sections.txt:
7142 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7143 (gst_base_src_default_query), (gst_base_src_get_range):
7144 * libs/gst/base/gstbasesrc.h:
7145 API: gst_base_src_query_latency(). Added method so that subclasses can
7146 easily get the latency values of the base source class.
7148 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7150 * tools/gst-inspect.c (print_implementation_info):
7153 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7155 * tools/Makefile.am:
7156 * tools/gst-launch.1.in:
7157 Don't create a customised man page based on the host architecture,
7158 describe the default registry path generically. That way the man
7159 page is the same for all architectures and packagers have one
7160 multilib issue less to deal with. Fixes #434926.
7162 2007-05-02 Wim Taymans <wim@fluendo.com>
7165 Fix documentation as spotted by rg on IRC.
7167 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7170 Improve docs for gst_element_{link,unlink}.
7172 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7174 * docs/design/part-events.txt:
7175 * docs/design/part-overview.txt:
7179 * libs/gst/base/gstbasesink.c:
7180 Typo fixes; minor docs addition.
7182 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7184 * docs/gst/gstreamer-sections.txt:
7185 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7186 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7188 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7189 or src that supports a given URI protocol exists.
7191 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7193 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7194 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7195 Set the location to NULL if "file://" is set as URI. Otherwise
7196 some random previous URI would still be set if "file://" is
7197 set on an already used filesink/filesrc.
7199 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7201 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7202 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7203 Special case the "file://" URI as as this is used by some
7204 applications to test with gst_element_make_from_uri if there's
7205 an element that supports the URI protocol.
7206 Also move the g_path_is_absolute() check for the location part
7207 of the URI to also check this for "file://localhost/bla" URIs.
7209 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7211 * docs/gst/gstreamer-sections.txt:
7212 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7214 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7216 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7218 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7220 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7221 (gst_registry_binary_load_pad_template),
7222 (gst_registry_binary_load_plugin),
7223 (gst_registry_binary_read_cache):
7224 * gst/gstregistrybinary.h:
7225 Implement no-mmap alternative for registry reading. Do code cleanups.
7226 Add more comments about avoiding strdups for all text data. Comments
7229 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7231 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7232 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7233 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7234 Comment structs and reformat to fix the build (that stuff should go
7235 into a priv. header).
7237 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7239 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7240 (gst_registry_binary_load_feature):
7241 * gst/gstregistrybinary.h:
7242 Refactor so that we can implement multiple features. Add support for
7243 TypeFindFactory features.
7245 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7247 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7250 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7252 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7254 * gst/gstbin.c: (gst_bin_element_set_state),
7255 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7256 (bin_handle_async_done), (gst_bin_handle_message_func):
7257 Fix build with --gst-disable-gst-debug
7259 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7261 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7262 Make sure streaming has finished before calling the ::stop() vfunc,
7263 since that vfunc might clear state which is being used in the
7264 streaming thread. This fixes a race that caused crashes in
7265 audioresample when shutting down a pipeline (#420106).
7267 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7269 * docs/gst/gstreamer-sections.txt:
7270 That was one byte missing.
7272 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7275 * docs/gst/gstreamer-sections.txt:
7277 * gst/gstconfig.h.in:
7278 * gst/gstobject.c: (gst_object_class_init),
7279 (gst_signal_object_class_init):
7281 2nd attempt to have a xml-less build as a joined effort of #413123
7284 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7286 * docs/design/draft-tagreading.txt:
7287 Added open issues/thoughts to draft.
7289 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7291 * gst/parse/grammar.tab.pre.c:
7292 * gst/parse/grammar.tab.pre.h:
7293 * gst/parse/lex._gst_parse_yy.pre.c:
7294 Update the prebuild parser sources.
7296 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7298 * gst/parse/Makefile.am:
7299 And now fix the building of the flex sources. Now everything should
7302 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7304 * gst/parse/Makefile.am:
7305 Now hopefully fix the build failures by setting proper rule
7306 dependencies and moving instead of copying.
7308 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7310 * tests/benchmarks/complexity.gnuplot:
7311 * tests/benchmarks/complexity.scm:
7312 * tests/benchmarks/mass-elements.gnuplot:
7313 * tests/benchmarks/mass-elements.scm:
7314 Total licensification.
7316 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7318 * gst/parse/Makefile.am:
7319 Fix the build by correcting the rule that gave wrong files to flex.
7321 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7323 * tests/benchmarks/complexity.c:
7324 * tests/benchmarks/mass-elements.c:
7325 Change licence to LGPL as granted by Benjamin and Andy.
7327 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7329 * gst/parse/Makefile.am:
7330 Add correct grammar.tab.h dependency if compiling without new enough
7331 flex. Fixes #431150.
7333 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7335 * gst/parse/Makefile.am:
7336 Fix typo and use outdated sources if the flex/bison sources are newer
7337 than the pregenerated ones but flex is too old. Print a warning in
7338 that case. This should fix the build on the build bot.
7340 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7342 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7343 * gst/parse/Makefile.am:
7344 * gst/parse/grammar.y:
7345 * gst/parse/parse.l:
7346 Make the parser reentrant and recursively callable. This requires flex
7347 >= 2.5.31, for older versions pregenerated sources are used as we
7348 can't bump the build dependency. Finally fixes #349180.
7350 * gst/gstparse.c: (gst_parse_launch):
7351 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7354 * docs/gst/Makefile.am:
7355 * docs/gst/Makefile.am:
7356 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7357 (__gst_parse_strfree), (__gst_parse_link_new),
7358 (__gst_parse_link_free), (__gst_parse_chain_new),
7359 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7360 (gst_parse_element_set), (gst_parse_free_link),
7361 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7362 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7363 (_gst_parse_launch):
7364 * gst/parse/grammar.tab.pre.h:
7365 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7366 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7367 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7368 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7369 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7370 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7371 (_gst_parse_yypop_buffer_state),
7372 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7373 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7374 (yy_fatal_error), (_gst_parse_yyget_extra),
7375 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7376 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7377 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7378 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7379 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7380 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7381 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7382 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7383 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7384 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7385 (_gst_parse_yyfree):
7386 If the installed flex version is too old use pre-generated parser
7387 sources. These pre-generated parser sources are always updated when
7388 the actual flex/bison sources change but require everybody who wants
7389 to change something in the parser to have flex >= 2.5.31 installed.
7391 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7393 * common/m4/gst-gettext.m4:
7394 * gst/gst-i18n-lib.h:
7395 Make --disable-nls to work
7397 2007-04-17 Wim Taymans <wim@fluendo.com>
7399 * gst/gstconfig.h.in:
7400 Revert previous change that broke the build.
7402 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7406 * gst/gstconfig.h.in:
7407 Drop libxml2 dependency when building with
7408 --enable-binary-registry --disable-loadsave
7410 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7412 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7413 (gst_registry_binary_read_cache):
7414 * gst/gstregistrybinary.h:
7415 Remove unnecessary <sys/mman.h> include which broke the win32 build
7416 with MingW; move includes from header file to .c file, even if the
7417 header file isn't installed; use g_strerror() where UTF-8 strings
7418 are expected, such as in GST_DEBUG messages.
7420 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7422 * docs/libs/gstreamer-libs-sections.txt:
7423 Remove bogus addition for API I didn't end up keeping.
7425 * libs/gst/base/gstbasesrc.h:
7426 Mention Since: 0.10.13 in the documentation.
7428 Add the API keyword to the previous ChangeLog entry.
7430 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7432 * docs/libs/gstreamer-libs-sections.txt:
7433 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7434 (gst_base_src_default_prepare_seek_segment),
7435 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7436 * libs/gst/base/gstbasesrc.h:
7437 Allow basesrc derived classes to execute seeks in other formats
7438 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7439 to prepare the GstSegment in any format that their perform_seek method
7440 will be able to understand. The default implementation provides the
7441 old behaviour of attempting to convert the seek offsets to the
7442 configured native format.
7444 API: basesrc::prepare_seek_segment vmethod.
7446 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7448 * gst/gstelement.c: (gst_element_get_state_func):
7449 Don't output the same debug statement twice.
7451 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7452 (gst_adapter_peek), (gst_adapter_take_buffer):
7453 Optimise the case where we have buffers at the head of the queue that
7454 can be joined quickly (because they're contiguous sub-buffers) by
7455 merging them together rather than copying data out into new memory.
7457 * gst/parse/grammar.y:
7458 * tests/check/pipelines/parse-launch.c:
7459 Fix a leak in an error path for parse_launch, and add a check
7460 for it to the testsuite.
7462 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7464 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7465 Don't deadlock when releasing a pad - gst_pad_set_active may try
7466 and take the multiqueue lock too.
7468 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7470 * gst/gsterror.c: (_gst_core_errors_init):
7472 API: add GST_CORE_ERROR_DISABLED (#392804).
7474 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7476 * docs/faq/gst-uninstalled:
7477 don't get empty paths on the PATH variables
7478 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7479 Don't format for the uncommon terminal width of 84 characters.
7481 2007-04-06 Wim Taymans <wim@fluendo.com>
7483 * gst/gstpipeline.c: (reset_stream_time),
7484 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7485 Only try to select a different pipeline clock when we went back to
7486 PAUSED and not when we merely got flushed.
7488 2007-04-05 Michael Smith <msmith@fluendo.com>
7490 * tools/gst-launch.1.in:
7491 fractions are better supported in gstreamer than ractions, so
7492 suggest using those.
7494 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7496 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7500 Added Danish translation.
7502 2007-04-05 Wim Taymans <wim@fluendo.com>
7504 * libs/gst/base/gstbasesink.c:
7505 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7506 Fix leak caused when refusing newsegment after EOS.
7508 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7509 (gst_fake_sink_init), (gst_fake_sink_set_property),
7510 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7511 (gst_fake_sink_render), (gst_fake_sink_change_state):
7512 * plugins/elements/gstfakesink.h:
7513 Add num-buffers property to make the element generate EOS after a
7514 configurable amount of buffers.
7515 API: fakesink::num-buffers property.
7517 * tests/check/elements/fakesink.c: (GST_START_TEST),
7519 Fix GstBus leak in test.
7520 Test for fakesink num-buffers.
7522 2007-04-05 Wim Taymans <wim@fluendo.com>
7524 * libs/gst/base/gstbasesink.c:
7525 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7526 (gst_base_sink_change_state):
7527 Don't accept anything after an EOS, return UNEXPECTED instead.
7529 * tests/check/elements/fakesink.c: (GST_START_TEST),
7531 Unit test for new EOS behaviour.
7533 2007-04-05 Wim Taymans <wim@fluendo.com>
7535 * gst/gstelement.c: (gst_element_get_request_pad):
7536 Make padtemplates also work when they don't contain %s or %d.
7538 2007-04-05 Wim Taymans <wim@fluendo.com>
7540 * docs/gst/gstreamer-sections.txt:
7541 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7542 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7544 Improve _adjust_unlocked() so that it overflows less.
7545 Add gst_clock_unadjust_unlocked to convert from external time to
7546 internal time based on calibration.
7547 Add some more debug.
7548 API: GstClock::gst_clock_unadjust_unlocked()
7550 2007-04-03 Wim Taymans <wim@fluendo.com>
7552 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7554 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7555 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7556 when releasing sink pad. Fixes #425400.
7558 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7560 * docs/random/ensonic/dynlink.txt:
7561 More work on proposal for new core api.
7563 * docs/libs/gstreamer-libs-sections.txt:
7564 * libs/gst/base/gstbasetransform.h:
7565 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7567 * libs/gst/controller/gstcontroller.c:
7568 (on_object_controlled_property_changed),
7569 (gst_controller_sync_values),
7570 (gst_controller_set_interpolation_mode):
7571 * libs/gst/controller/gstcontroller.h:
7572 Less verbose logging add docs for unimplemented parts and correctly
7573 return when using unavailable parts.
7575 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7577 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7578 Move all the debug to the CLOCK category, and associate it with
7581 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7583 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7584 Make take_buffer a bit quicker by removing redundant checks
7585 caused by calling gst_adapter_take.
7587 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7589 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7592 * tests/check/Makefile.am:
7593 * tests/check/elements/.cvsignore:
7594 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7595 (GST_START_TEST), (multiqueue_suite):
7596 Add some dead simple unit tests for the 'multiqueue' element
7597 (some bits don't work yet and are disabled for now).
7599 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7601 * gst/gstelement.c: (gst_element_get_request_pad),
7602 (gst_element_class_get_request_pad_template):
7603 Make gst_element_get_request_pad() create request pads only for
7604 request pad templates and not for, say, sometimes pad templates.
7606 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7608 * docs/design/draft-klass.txt:
7609 Add example that needs more thinking.
7611 * docs/design/draft-missing-plugins.txt:
7612 More thoughts about wrapper plugins.
7614 * docs/random/ensonic/embedded.txt:
7615 * docs/random/ensonic/profiling.txt:
7618 2007-03-25 Wim Taymans <wim@fluendo.com>
7620 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7621 (gst_base_src_loop):
7622 Only push the segment events in the PLAYING state for live sources.
7624 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7626 * gst/gstpipeline.c: (gst_pipeline_change_state):
7627 Modify the clock distribution path in PAUSED->PLAYING so that we
7628 never attempt to choose a new clock unless we're actually leaving
7629 the PAUSED state for the first time. This prevents choosing a
7630 different clock when the state_change gets called for a 2nd time due
7631 to some element doing an async state change.
7633 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7635 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7636 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7637 (gst_pad_chain_unchecked), (gst_pad_push):
7638 Revert last commit. This needs some more thoughts.
7640 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7642 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7643 (gst_pad_chain_unchecked), (gst_pad_push):
7644 Check in set_caps if the caps are compatible with the pad and remove
7645 two functions that are redundant now. Fixes #421543.
7647 2007-03-22 Wim Taymans <wim@fluendo.com>
7649 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7650 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7651 Unref some more to make valgrind happy.
7653 2007-03-22 Wim Taymans <wim@fluendo.com>
7655 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7656 (gst_system_clock_id_wait_jitter),
7657 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7658 Fix anoying regression that survived a few releases. When adding an
7659 async entry while blocking on a sync entry, the sync entry will unblock
7660 but still be busy, so it should continue to wait instead of returning
7662 Add some comments here and there.
7664 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7665 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7666 Add testcase for this.
7668 2007-03-22 Wim Taymans <wim@fluendo.com>
7670 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7671 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7672 WRONG_STATE and can silently pause the task. All other cases should
7675 2007-03-22 Wim Taymans <wim@fluendo.com>
7677 Patch by: Ville Syrjala <syrjala at sci dot fi>
7679 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7680 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7683 2007-03-21 Michael Smith <msmith@fluendo.com>
7685 * docs/pwg/advanced-types.xml:
7686 Fix some errors in the typefinding docs pointed out on irc.
7688 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7690 * libs/gst/base/gstbasesrc.c:
7691 Clarify FIXME comment in the face of having added unlock_stop()
7693 2007-03-21 Wim Taymans <wim@fluendo.com>
7695 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7696 Prepare for release where we warn against possible app breakage in the
7697 case of live pipelines along with an env var to enable/disable live
7698 preroll mode (GST_COMPAT=[no-]live-preroll).
7700 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7702 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7703 So we should use correct constants for checking for None offset.
7705 2007-03-20 Wim Taymans <wim@fluendo.com>
7707 * docs/design/part-block.txt:
7708 Mention the fact that the newly switched element should be set to at
7711 2007-03-20 Wim Taymans <wim@fluendo.com>
7714 Fix compilation with registry disabled as spotted by Saur.
7716 2007-03-20 Wim Taymans <wim@fluendo.com>
7718 Patch by: Olivier Crete <tester at tester dot ca>
7720 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7721 Look at the pending state too when syncing the element state to the
7722 parent. Fixes #420133.
7724 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7726 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7727 (gst_base_sink_change_state):
7728 * libs/gst/base/gstbasesink.h:
7729 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7730 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7731 (gst_base_src_deactivate):
7732 * libs/gst/base/gstbasesrc.h:
7733 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7734 for sub-classes to correctly clear any state they set trying to
7735 unlock, such as clearing out unlock commands from a command fd.
7736 API: basesrc::unlock_stop
7737 API: basesink::unlock_stop
7739 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7740 (gst_fd_sink_render), (gst_fd_sink_unlock),
7741 (gst_fd_sink_unlock_stop):
7742 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7743 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7744 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7746 Implement unlock_stop in fdsrc and fdsink.
7747 Implement seeking in fdsrc when a seekable fd is passed, as in
7748 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7750 2007-03-19 Wim Taymans <wim@fluendo.com>
7752 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7754 * gst/gstelement.c: (gst_element_class_init):
7755 Fix pad-added and pad-removed signal signatures so that the pad type is
7756 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7758 2007-03-19 Wim Taymans <wim@fluendo.com>
7760 * docs/gst/gstreamer-sections.txt:
7761 Add new element field and method.
7763 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7764 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7765 (gst_bin_recalc_state), (gst_bin_get_state_func),
7766 (gst_bin_element_set_state), (gst_bin_change_state_func),
7767 (gst_bin_continue_func), (bin_bus_handler),
7768 (bin_push_state_continue), (bin_handle_async_start),
7769 (bin_handle_async_done), (gst_bin_handle_message_func):
7770 Make async state changes a bit smarter by using new ASYNC_START and
7771 ASYNC_DONE messages. This reduces the number of times we run the state
7772 recalculation thread.
7773 Don't change state of element with a pending ASYNC_START message.
7774 Deprecate STATE_DIRTY messages.
7776 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7777 (gst_element_get_state_func), (gst_element_continue_state),
7778 (gst_element_lost_state), (gst_element_set_state_func),
7779 (gst_element_change_state):
7781 Keep the state that was last set by the app in a new element field.
7782 Don't allow state changes when handling an element event.
7783 Post ASYNC_START and ASYNC_DONE messages.
7784 Change lost_state so that we go to PAUSED and wait for the parent to set
7785 us to PLAYING again (so latency calculation can be performed)
7786 Export gst_element_change_state() method so that subclasses can use it.
7787 API: gst_element_change_state()
7788 API: GST_STATE_TARGET
7790 * gst/gstpipeline.c: (gst_pipeline_class_init),
7791 (reset_stream_time), (gst_pipeline_change_state),
7792 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7793 Using the new ASYNC_START message we can reset the base_time when
7794 needed. This can then be used to implement base_time redistribution in
7795 flushing seeks so that we can remove the explicit seek handling.
7796 Perform latency query and configuration when going to PLAYING.
7798 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7799 (gst_base_sink_query), (gst_base_sink_change_state):
7800 Post new ASYNC_START/ASYNC_DONE messages.
7802 * tests/check/generic/sinks.c: (GST_START_TEST):
7803 Fix test because the bin will not set the async element to PLAYING right
7806 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7807 Make the message check a little stronger.
7808 Handle ASYNC messages.
7810 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7811 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7812 Expect ASYNC_DONE messages.
7814 2007-03-19 Wim Taymans <wim@fluendo.com>
7816 * docs/gst/gstreamer-sections.txt:
7817 * gst/gstmessage.c: (gst_message_new_async_start),
7818 (gst_message_new_async_done), (gst_message_parse_info),
7819 (gst_message_parse_async_start):
7821 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7824 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7826 * tools/gst-inspect.c:
7827 (print_plugin_automatic_install_info_codecs):
7828 Now that we don't check for the 'Codec' keyword any longer in the
7829 klass, we shouldn't spew a warning if the klass isn't a decoder or
7830 encoder (since it might be a Source/Network, for example).
7832 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7834 * tools/gst-inspect.c:
7835 (print_plugin_automatic_install_info_codecs):
7836 Don't require decoder/demuxer/depayloader elements or
7837 encoder/muxer/paylader elements to have 'Codec' as part of their
7838 factory class string when introspecting a plugin's capabilities.
7839 draft-klass.txt mentions that it might be removed in future, and
7840 flump3dec doesn't have it as part of its class string, so chances
7841 are others might also not have it.
7843 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7865 Update translations from translation project
7867 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7869 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7870 (gst_child_proxy_set_property):
7871 Invert precondition check to be alike the ones in the mimiced gobject
7874 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7876 * docs/design/draft-tagreading.txt:
7877 * docs/random/ensonic/audiobaseclasses.txt:
7878 Do some Architect work.
7880 * gst/gstobject.c: (gst_object_set_name):
7884 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7886 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7888 * gst/gstsystemclock.c: (gst_system_clock_init),
7889 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7890 Defer starting the async system clock thread until the first async
7891 wait is scheduled. Fixes #414986.
7893 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7895 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7896 (gst_single_queue_free):
7897 Fix small leak (free GstSingleQueue structure too, not only contents).
7899 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7901 * gst/gstbin.c:(gst_bin_add):
7902 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7903 * win32/common/libgstbase.def:
7904 * win32/common/libgstreamer.def:
7905 Add new exported functions.
7907 2007-03-09 Wim Taymans <wim@fluendo.com>
7909 * docs/plugins/gstreamer-plugins-sections.txt:
7912 2007-03-09 Wim Taymans <wim@fluendo.com>
7914 * docs/gst/gstreamer-sections.txt:
7915 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7917 Add metadata copy functions. Fixes #393099.
7918 API: gst_buffer_copy_metadata()
7920 * gst/gstutils.c: (gst_buffer_stamp):
7921 * libs/gst/base/gstbasetransform.c:
7922 (gst_base_transform_prepare_output_buffer):
7923 Use new metadata copy functions.
7925 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7927 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7928 (gst_identity_init), (gst_identity_check_perfect),
7929 (gst_identity_check_imperfect_timestamp),
7930 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7931 (gst_identity_set_property), (gst_identity_get_property):
7932 * plugins/elements/gstidentity.h:
7933 Separate out check-imperfect-timestamp and check-imperfect-offset.
7934 Put back check-perfect as it was to keep compatibility.
7936 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7938 * gst/gstelement.c: (gst_element_dispose):
7939 There's no need to warn if VOID_PENDING is not NONE here, as
7940 long as the state is NULL it's ok, and that's checked immediately
7943 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7945 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7946 Fix check for perfect stream to ignore buffers with -1
7947 offsets/offset ends when checking data contiguity.
7949 2007-03-08 Wim Taymans <wim@fluendo.com>
7951 * tools/gst-launch.c: (event_loop):
7952 Print INFO messages.
7954 2007-03-08 Wim Taymans <wim@fluendo.com>
7956 * libs/gst/base/gstbasetransform.c:
7957 (gst_base_transform_sink_eventfunc),
7958 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7959 (gst_base_transform_activate):
7960 * libs/gst/base/gstbasetransform.h:
7961 Add support for dropping buffers with custom GstFlowReturn.
7962 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7963 buffers or dropped buffers.
7965 * docs/libs/gstreamer-libs-sections.txt:
7966 docs for new custom return code.
7968 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7969 Use drop support in base class to implement drop-probability.
7971 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7973 * gst/gst.c: (load_plugin_func):
7974 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7975 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7976 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7977 Remove newlines at end of debug log strings.
7979 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7981 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7982 Only post bus message at max, once per buffer received.
7984 2007-03-07 Wim Taymans <wim@fluendo.com>
7986 * docs/design/Makefile.am:
7987 * docs/design/part-synchronisation.txt:
7988 Add doc about synchronisation
7990 * docs/design/draft-latency.txt:
7991 * docs/design/part-TODO.txt:
7992 * docs/design/part-clocks.txt:
7993 * docs/design/part-events.txt:
7994 * docs/design/part-gstbus.txt:
7995 * docs/design/part-gstpipeline.txt:
7996 * docs/design/part-live-source.txt:
7997 * docs/design/part-messages.txt:
7998 * docs/design/part-overview.txt:
7999 * docs/design/part-streams.txt:
8000 * docs/design/part-trickmodes.txt:
8001 Documentation updates.
8003 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8006 Update the doap file.
8008 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8010 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8011 Rename non-perfect to imperfect for Mike and for the sanctity of the
8013 Also make sure bus message gets emitted for data-incontiguities.
8015 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8017 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8018 (gst_identity_start):
8019 * plugins/elements/gstidentity.h:
8020 Emit bus message if check-perfect is true and we encounter a
8021 non-perfect stream between 2 consecutive buffers.
8024 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8029 === release 0.10.12 ===
8031 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8034 releasing 0.10.12, "Inevitable Demise"
8036 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8039 Version 0.10.11.2 (0.10.12 pre-release)
8040 Bump libtool versioning.
8042 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8044 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8045 Log flow-names and not numbers.
8047 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8050 Convert to new AG_GST style.
8052 2007-02-28 Wim Taymans <wim@fluendo.com>
8054 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8055 Don't unref query twice.
8057 2007-02-28 Wim Taymans <wim@fluendo.com>
8059 * gst/gstvalue.c: (gst_value_transform_object_string),
8060 (_gst_value_initialize):
8061 Implement GstObject -> string transform so we print object names
8062 when serializing GValues containing GstObjects.
8064 2007-02-28 Wim Taymans <wim@fluendo.com>
8066 * docs/gst/gstreamer-sections.txt:
8067 Add new stuff to docs.
8069 2007-02-28 Wim Taymans <wim@fluendo.com>
8071 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8072 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8073 (gst_base_sink_change_state):
8074 Improve latency query code.
8075 Don't leak latency events.
8077 * tests/check/gst/gstbin.c: (GST_START_TEST):
8080 2007-02-28 Wim Taymans <wim@fluendo.com>
8082 * gst/gstelement.c: (gst_element_message_full),
8083 (gst_element_get_state_func):
8085 Improve docs a little. Added Since: for new macro.
8087 * gst/gstobject.c: (gst_object_sink):
8088 * gst/gstpipeline.c: (gst_pipeline_change_state),
8089 (gst_pipeline_set_new_stream_time):
8090 * gst/gstpipeline.h:
8091 Improve debugging and docs.
8093 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8096 2007-02-28 Wim Taymans <wim@fluendo.com>
8098 * gst/gstelement.c: (gst_element_message_full),
8099 (gst_element_set_locked_state), (gst_element_get_state_func),
8100 (gst_element_change_state):
8101 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8102 Documentation updates.
8103 Small code cleanups.
8105 * gst/gstmessage.c: (gst_message_new_info),
8106 (gst_message_parse_info):
8108 API: gst_message_new_info()
8109 API: gst_message_parse_info()
8110 Add INFO message create and parse code.
8112 2007-02-28 Wim Taymans <wim@fluendo.com>
8114 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8115 (bin_query_latency_done):
8116 Also report the live parameter of a latency query.
8118 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8120 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8121 Copy the current generic/states example from -base and adapt so
8122 we can use the exact same code everywhere.
8123 Check a STATES_IGNORE_ELEMENTS env var which can be used
8124 to ignore certain element factories for this test, which is
8125 what is being done in -base
8126 * tests/check/Makefile.am:
8127 Mention this environment variable.
8129 2007-02-27 Wim Taymans <wim@fluendo.com>
8131 * docs/gst/gstreamer-sections.txt:
8132 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8133 (gst_bus_timed_pop), (gst_bus_pop):
8135 API: gst_bus_timed_pop()
8136 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8137 message to arrive on the bus.
8139 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8141 Two unit tests for new _timed_pop() function.
8143 2007-02-23 Wim Taymans <wim@fluendo.com>
8145 * gst/gstpipeline.c: (gst_pipeline_change_state),
8146 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8147 Don't ref a NULL clock in _provide_clock_func().
8148 Don't allow an INVALID delay.
8149 Don't try to calculate base_time with an invalid start_time.
8150 Also distribute and notify a NULL clock when it was selected.
8152 * tools/gst-launch.c: (event_loop):
8153 Don't crash when a NULL clock was selected in the pipeline.
8155 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8157 * docs/design/Makefile.am:
8158 * docs/design/draft-missing-plugins.txt:
8159 * docs/random/draft-missing-plugins.txt:
8160 Some small updates: update plugin system identifier prefix
8161 ('gstreamer.net' to 'gstreamer'), mention our new install
8162 API in libgstbaseutils rather than libgimme-codec, add
8163 reference to the online docs.
8165 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8167 * win32/common/config.h:
8168 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8169 use moap cl ci to only check in what is mentioned in the ChangeLog.
8171 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8173 * docs/gst/gstreamer-sections.txt:
8175 Fix up documentation to link to the correct GstGError section.
8176 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8178 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8180 * tools/gst-launch.c: (event_loop):
8181 Make sure that we actually show the important message part of a
8183 No need to check if the gerror is not NULL to free; first of all
8184 g_free accepts NULL; and second the default error handler would
8185 segfault if gerror was NULL.
8187 2007-02-21 Wim Taymans <wim@fluendo.com>
8189 * docs/gst/gstreamer-sections.txt:
8190 Removed docs as well.
8192 2007-02-21 Wim Taymans <wim@fluendo.com>
8194 * gst/gstmessage.c: (gst_message_parse_duration):
8196 Remove new messages for release.
8198 2007-02-20 Wim Taymans <wim@fluendo.com>
8200 * docs/design/part-gstghostpad.txt:
8201 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8202 (gst_ghost_pad_new_full):
8203 Make the ghostpad a parent of the internal pad again for better backward
8204 compatibility. Don't write code that relies on this however.
8206 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8207 (gst_pad_link_check_hierarchy):
8208 Require that parents should be GstElements in the hierarchy check.
8210 2007-02-20 Wim Taymans <wim@fluendo.com>
8212 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8213 (gst_bin_change_state_func), (bin_query_min_max_init),
8214 (bin_query_latency_fold), (bin_query_latency_done),
8217 Implement latency query.
8219 2007-02-20 Wim Taymans <wim@fluendo.com>
8221 * docs/design/part-gstghostpad.txt:
8222 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8223 (gst_ghost_pad_internal_do_activate_push),
8224 (gst_ghost_pad_internal_do_activate_pull),
8225 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8226 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8227 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8228 Do not set the internal pad as a parent anymore so we can avoid
8229 hierarchy linking errors when the ghostpad has no parent yet. This also
8230 fixes failed activation because of unlinked internal pads, which in
8231 turn fixes the impossible case where you have to activate a pad before
8232 you can add it to a running element.
8235 * gst/gstpad.c: (pre_activate), (post_activate),
8236 (gst_pad_set_active), (gst_pad_activate_pull),
8237 (gst_pad_activate_push), (gst_pad_check_pull_range):
8238 Add some more debug info.
8239 Mark activation mode in pre_activate so that we don't try to activate in
8240 endless loops. Fixes #385084.
8242 2007-02-19 Wim Taymans <wim@fluendo.com>
8244 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8245 (gst_base_transform_check_get_range):
8246 Implement a checkgetrange function instead of relying on the default
8247 core behaviour that assumes we can operate in pull mode if we have a
8248 getrange function. First step at fixing #385084.
8250 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8252 * gst/gstchildproxy.h:
8253 * libs/gst/base/gstbasesink.h:
8254 * libs/gst/base/gstbasesrc.h:
8255 * libs/gst/base/gstbasetransform.h:
8256 More docs coverage and some ChangeLog surgery (add missing names)
8258 2007-02-15 Wim Taymans <wim@fluendo.com>
8260 * docs/design/part-TODO.txt:
8261 * docs/design/part-activation.txt:
8262 * docs/design/part-block.txt:
8263 * docs/design/part-buffering.txt:
8264 * docs/design/part-clocks.txt:
8265 * docs/design/part-element-source.txt:
8266 * docs/design/part-events.txt:
8267 * docs/design/part-gstbin.txt:
8268 * docs/design/part-gstbus.txt:
8269 * docs/design/part-gstpipeline.txt:
8270 * docs/design/part-live-source.txt:
8271 * docs/design/part-messages.txt:
8272 * docs/design/part-overview.txt:
8273 * docs/design/part-qos.txt:
8274 * docs/design/part-query.txt:
8275 * docs/design/part-states.txt:
8276 * docs/design/part-trickmodes.txt:
8277 Some doc updates. Start renaming from stream_time to running_time where
8278 it was used wrongly.
8280 2007-02-15 Wim Taymans <wim@fluendo.com>
8282 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8283 Answer LATENCY query.
8285 2007-02-15 Wim Taymans <wim@fluendo.com>
8287 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8291 2007-02-15 Wim Taymans <wim@fluendo.com>
8293 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8294 (gst_pad_dispatcher):
8295 Improve debugging of default pad dispatcher and query functions.
8297 2007-02-15 Wim Taymans <wim@fluendo.com>
8299 * docs/gst/gstreamer-sections.txt:
8300 Remove old unused method.
8302 2007-02-13 Wim Taymans <wim@fluendo.com>
8304 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8307 2007-02-13 Wim Taymans <wim@fluendo.com>
8309 * docs/design/part-seeking.txt:
8312 * gst/gstsegment.c: (gst_segment_set_seek):
8313 Revert old bogus change that should make seeking work again.
8315 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8317 * docs/random/ensonic/dynlink.txt:
8318 * docs/random/ensonic/interfaces.txt:
8319 * docs/random/ensonic/receipies.txt:
8320 Possible dynamic reconnection api, plus some type fixes the other two
8323 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8325 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8326 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8327 Also check for an absolute path following file:// in the filesrc
8328 element. Remove redundant check and call g_path_is_absolute() on the
8331 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8333 * docs/design/draft-klass.txt:
8334 Add existing category analysis.
8337 Fix doc example, framerate is a fraction.
8339 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8342 * docs/gst/Makefile.am:
8343 * docs/gst/gstreamer-sections.txt:
8344 * docs/libs/Makefile.am:
8345 Erm, forgot a bunch of --extra-dir.
8347 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8350 * docs/gst/Makefile.am:
8351 * docs/libs/Makefile.am:
8352 * docs/plugins/Makefile.am:
8353 Add crossreferences to glib/gobject docs.
8355 2007-02-12 Wim Taymans <wim@fluendo.com>
8357 * docs/design/draft-latency.txt:
8360 * docs/libs/gstreamer-libs-sections.txt:
8361 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8362 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8363 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8364 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8365 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8366 (gst_base_sink_get_position), (gst_base_sink_query),
8367 (gst_base_sink_change_state):
8368 * libs/gst/base/gstbasesink.h:
8369 API: gst_base_sink_query_latency() to let subclasses query the upstream
8371 API: gst_base_sink_get_latency() to let subclasses query the configured
8372 latency in the sink.
8373 Implement query and set latency.
8375 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8376 don't continue preroll when we are flushing. Fixes #405284.
8378 * tests/check/pipelines/stress.c: (change_state_timeout),
8379 (quit_timeout), (GST_START_TEST), (stress_suite):
8382 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8384 Patch by: René Stadler <mail at renestadler de>
8386 * docs/gst/gstreamer-sections.txt:
8387 * gst/gsttaglist.c: (_gst_tag_initialize):
8389 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8391 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8393 * docs/libs/Makefile.am:
8394 Fix path to core docs.
8396 * gst/gstbin.c: (gst_bin_get_by_interface),
8397 (gst_bin_iterate_all_by_interface):
8398 Refix docs by also renaming 'interface' to 'iface' in implementation.
8400 * docs/gst/gstreamer-sections.txt:
8402 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8403 * gst/gstchildproxy.h:
8404 * gst/gstelementfactory.c:
8405 * gst/gstpadtemplate.h:
8406 * libs/gst/controller/gstcontroller.c:
8407 (gst_controlled_property_new):
8410 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8412 * gst/gstbin.h:(gst_bin_get_by_interface),
8413 (gst_bin_iterate_all_by_interface):
8414 Replace interface parameter name by iface as interface is
8415 a reserved keyword in Visual Studio for C++ projects so it removes
8416 a build error for application developpers using VS.
8417 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8418 Fix a bug on Windows in uri format check. Now the prefix checked
8419 is file:// and next we check if the path after file:// is absolute.
8420 * win32/common/libgstbase.def:
8421 * win32/common/libgstdataprotocol.def:
8422 * win32/common/libgstgstreamer.def:
8423 Add new exported functions.
8425 2007-02-09 Andy Wingo <wingo@pobox.com>
8427 * tests/check/pipelines/simple-launch-lines.c
8428 (simple_launch_lines_suite, test_tee): Disable tee test until I
8429 have time to fix it :-(
8431 * tests/check/Makefile.am (noinst_HEADERS):
8432 * tests/check/libs/libsabi.c:
8433 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8434 * tests/check/gst/gstabi.c:
8435 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8437 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8438 tests for push and pull tee behavior.
8440 * plugins/elements/gsttee.h:
8441 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8442 mark as deprecated as well as unimplemented. It was a crack idea.
8443 Add support for tee operating in pull mode, off by default.
8445 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8446 normal-case logs down to LOG, raise errors to WARNING.
8447 (gst_registry_xml_read_cache): Don't log before calling a function
8450 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8451 exit (registry finalize).
8452 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8453 DEBUG log when we emit signals that people don't even have the
8454 chance to connect to.
8455 (gst_registry_scan_path_level): Less logging in the normal case.
8457 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8459 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8461 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8462 Correctly generate EOS for non-seekable files. We don't have a total
8463 length for them and would get an unexpected end of file if we only
8464 special-cased for regular files. (Fixes: #404569)
8466 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8468 * tests/check/elements/filesrc.c: (GST_START_TEST),
8470 Add unit test for the GstURIHandler interface in filesrc. This also
8471 tests the newly added file://localhost/foo/bar support.
8473 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8475 * gst/gstelementfactory.h:
8476 The klass string is not a hierarchy. Add reference to the design doc
8477 for more information and common types.
8479 2007-02-02 Wim Taymans <wim@fluendo.com>
8481 * gst/gstquery.c: (gst_query_new_latency):
8482 Remove old structure field.
8484 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8486 * tools/gst-launch.1.in:
8487 Give example for network streaming (#351998)
8489 2007-02-02 Wim Taymans <wim@fluendo.com>
8491 * docs/gst/gstreamer-sections.txt:
8492 Add docs for new methods.
8494 * gst/gstevent.c: (gst_event_new_latency),
8495 (gst_event_parse_latency):
8497 Add new LATENCY event to configure latency in a pipeline.
8498 API: gst_event_new_latency
8499 API: gst_event_parse_latency
8501 * gst/gstmessage.c: (gst_message_new_buffering),
8502 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8503 (gst_message_new_latency), (gst_message_parse_buffering),
8504 (gst_message_parse_lost_preroll):
8506 Added messages used in draft-latency.
8507 API: gst_message_new_lost_preroll
8508 API: gst_message_parse_lost_preroll
8509 API: gst_message_new_prerolled
8510 API: gst_message_new_latency
8512 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8513 (gst_query_parse_latency):
8515 Implemented new latency query as in design doc.
8516 API: gst_query_new_latency
8517 API: gst_query_set_latency
8518 API: gst_query_parse_latency
8520 2007-02-02 Wim Taymans <wim@fluendo.com>
8522 * docs/design/draft-latency.txt:
8523 Slight redesign to allow for dynamic latency adjustments.
8525 * docs/design/part-negotiation.txt:
8528 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8530 reviewed by: Wim Taymans <wim@fluendo.com>
8532 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8533 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8534 Allow file://localhost/foo/bar URLs and correctly fail for every other
8535 hostname that one sets. This was gnomevfssrc is linked for those if
8536 installed as it can handle it (#403172)
8538 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8540 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8543 (unref_data), (gst_collect_pads_add_pad_full):
8544 * libs/gst/base/gstcollectpads.h:
8545 Don't put the previously added destroy notify in the GstCollectData
8546 struct as all it's padding is already used and we don't want to break
8547 ABI. Instead put in the pad's GObject data for now. This should be
8548 cleaned up for 0.11 (#402393).
8550 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8552 reviewed by: Wim Taymans <wim@fluendo.com>
8554 * docs/libs/gstreamer-libs-sections.txt:
8555 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8556 (unref_data), (gst_collect_pads_add_pad),
8557 (gst_collect_pads_add_pad_full):
8558 * libs/gst/base/gstcollectpads.h:
8559 API: Add function to specify a destroy notification for custom
8560 GstCollectData when adding new pads in GstCollectPads (#402393).
8562 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8565 Update Swedish translation (#378255).
8567 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8569 * docs/design/draft-klass.txt:
8570 Fix the previous change, this is a list of categories and not a hierarchy.
8572 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8574 * docs/design/draft-klass.txt:
8575 Add info about how to get a list of used classes.
8577 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8579 * plugins/elements/gsttypefindelement.c:
8580 (gst_type_find_element_chain_do_typefinding),
8581 (gst_type_find_element_change_state):
8582 Don't leak found caps in chain function (no idea why that never
8583 showed up as a leak anywhere).
8585 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8588 Fix and expand GstPluginDesc API docs.
8590 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8593 * gst/gstelementfactory.c:
8594 * gst/gstpadtemplate.h:
8597 * libs/gst/controller/gstcontroller.c:
8598 (gst_controlled_property_new):
8599 * tests/examples/controller/audio-example.c:
8602 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8605 comment about refining the xml deps
8608 comments about moving away from jade for docs
8611 recommit the ifdefs to use the binary registry
8613 * gst/gstbin.c: (gst_bin_change_state_func):
8614 this break is obsolete
8616 * gst/gstelementfactory.h:
8617 better GST_ELEMENT_DETAILS docs, add comment about translation
8622 * gst/gstobject.c: (gst_signal_object_get_type):
8623 add G_UNLIKELY as usual
8625 * gst/gstpad.c: (gst_pad_event_default):
8626 add fall trhu comment
8628 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8629 (gst_registry_binary_initialize_magic),
8630 (gst_registry_binary_save_string),
8631 (gst_registry_binary_save_pad_template),
8632 (gst_registry_binary_save_feature),
8633 (gst_registry_binary_save_plugin),
8634 (gst_registry_binary_write_cache),
8635 (gst_registry_binary_check_magic),
8636 (gst_registry_binary_load_pad_template),
8637 (gst_registry_binary_load_feature),
8638 (gst_registry_binary_load_plugin),
8639 (gst_registry_binary_read_cache):
8640 comment typo and formatting
8642 * gst/gstutils.c: (gst_element_state_get_name),
8643 (gst_element_state_change_return_get_name):
8644 remove obsolete breaks
8646 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8647 add FIXME 0.11 and remove cpp comment
8649 2007-01-29 Edward Hervey <edward@fluendo.com>
8651 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8652 Fix print statement in an even more portable way.
8654 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8656 * docs/gst/gstreamer-sections.txt:
8658 API: add GST_ROUND_DOWN_* macros (#401781).
8660 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8662 * docs/gst/gstreamer.types.in:
8663 * gst/gstregistry.c: (gst_registry_class_init):
8664 Document registry signals and make gtk-doc pick them up (#401381).
8666 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8668 * docs/pwg/building-testapp.xml:
8669 Add some audioconverts and audioresample to the pipeline, and some
8670 more comments and error handling.
8672 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8674 * docs/manual/manual.xml:
8678 2007-01-26 Wim Taymans <wim@fluendo.com>
8680 * gst/gstcaps.c: (gst_static_caps_get):
8681 Init caps flags too.
8683 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8685 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8687 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8688 If not using mmap'ed files try to seek to the end instead of the
8689 start to determine whether we can seek at all. This fixes the case
8690 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8691 seeks for everything afterwards fail. Fixes #400656
8693 2007-01-25 Wim Taymans <wim@fluendo.com>
8695 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8696 Add some refcount debugging.
8697 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8698 in multiple streaming threads.
8700 2007-01-25 Wim Taymans <wim@fluendo.com>
8702 Patch by: David Schleef <ds at schleef dot org>
8704 * docs/libs/gstreamer-libs-sections.txt:
8705 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8706 * libs/gst/base/gstadapter.h:
8707 API: gst_adapter_copy() that can reduce the amount of memcpy when
8708 getting data from the adapter. Fixes #388201.
8710 2007-01-25 Edward Hervey <edward@fluendo.com>
8712 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8713 In print statements, "%x" is for guint. Fixes build on macosx.
8715 2007-01-24 Edward Hervey <edward@fluendo.com>
8717 * plugins/elements/gstmultiqueue.c:
8718 (gst_multi_queue_loop):
8720 (single_queue_overrun_cb), (single_queue_underrun_cb),
8721 (single_queue_check_full), (gst_single_queue_new):
8722 Implement single queue growth system.
8723 This uses the extra-size properties, and will grow single queues by
8724 that much if one goes full whereas there are others empty. This is
8725 called extra-mode in the code.
8726 When a single queue's levels go back below the initial max-size
8727 limits, it is no longer in extra-mode. This is to ensure we don't
8728 consume too much memory.
8731 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8733 * gst/gst.c: (gst_init_get_option_group):
8734 Make warning about late g_thread_init() calls a bit more explicit,
8735 so that it's more obvious to application developers what they need
8736 to do if a user files a bug against their application.
8738 2007-01-22 Edward Hervey <edward@fluendo.com>
8740 * plugins/elements/gstmultiqueue.c:
8741 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8742 Remove previous hack of unsetting the flushing flag for the source pad
8743 instead of activating it. Instead, fix the source pad activate function
8744 so that it no longer depends on having a parent set or not.
8746 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8748 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8750 * docs/manual/basics-bus.xml:
8751 Fix example code, gst_element_unref() doesn't exist any longer.
8753 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8755 Patch by: Mark Nauwelaerts <manauw at skynet be>
8758 Fix two docs typoes (#399094).
8760 2007-01-19 Edward Hervey <edward@fluendo.com>
8762 * docs/faq/gst-uninstalled:
8763 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8764 depending on libgstbaseutils can work in uninstalled environment.
8766 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8769 * gst/gsttagsetter.c:
8770 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8771 statement for new tag.
8773 2007-01-17 Edward Hervey <edward@fluendo.com>
8775 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8776 When dynamically creating single queues, activate sinkpad before adding
8778 We should be doing the same thing for the source pad, but we can't
8779 since it would call a method which needs the parent to be set in order
8780 to work propertly. Instead of activating the source pad, we just unset
8781 the flushing flag, which is the minimal requirement for adding a pad
8782 to an element in a state greater than READY.
8784 2007-01-17 Edward Hervey <edward@fluendo.com>
8786 * docs/faq/gst-uninstalled:
8787 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8790 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8792 * tests/check/gst/gstabi.c:
8793 * tests/check/gst/struct_hppa.h:
8794 * tests/check/libs/libsabi.c:
8795 * tests/check/libs/struct_hppa.h:
8796 Add ABI structs for HPPA (see #393796).
8798 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8800 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8801 Actually write ABI structs to the file specified in the GST_ABI
8802 environment variable, as the message we print claims we would.
8804 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8806 * tests/check/gst/gsttask.c:
8809 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8811 * gst/gsttaglist.c: (_gst_tag_initialize):
8812 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8813 previous two entries.
8815 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8817 * docs/gst/gstreamer-sections.txt:
8818 * gst/gsttaglist.c: (_gst_tag_initialize):
8820 Add tag support for beat-per-minute.
8822 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8824 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8825 (gst_registry_binary_initialize_magic),
8826 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8827 (gst_registry_binary_save_pad_template),
8828 (gst_registry_binary_save_feature),
8829 (gst_registry_binary_save_plugin),
8830 (gst_registry_binary_write_cache),
8831 (gst_registry_binary_check_magic),
8832 (gst_registry_binary_load_pad_template),
8833 (gst_registry_binary_load_feature),
8834 (gst_registry_binary_load_plugin),
8835 (gst_registry_binary_read_cache):
8836 * gst/gstregistrybinary.h:
8837 Use glib types, cleanup comments, impement interfaces and uri-types.
8839 2007-01-13 Andy Wingo <wingo@pobox.com>
8841 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8842 getrange() to return buffers with other caps, while we fix
8843 demuxers and typefind, or otherwise change part-negotiation.txt.
8845 2007-01-12 Andy Wingo <wingo@pobox.com>
8847 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8848 Factor start/stop into this private function instead of partially
8849 in activate functions and partially in the change_state function.
8850 Fixes setup before the element has changed from READY->PAUSED, as
8851 is the case in pull-mode pipelines.
8852 (gst_base_transform_sink_activate_push)
8853 (gst_base_transform_src_activate_pull): Refactor to use
8854 gst_base_transform_activate().
8855 (gst_base_transform_change_state): Removed, not needed any more.
8857 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8858 Truncate before fixating.
8860 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8861 Don't set_caps() if the result of fixating is ANY, as it's not
8862 supported, and not necessary in the case of a link with no
8863 template caps on either side. Fixes tests/check/libs/basesrc in
8864 some pull-mode tests.
8866 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8867 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8868 (gst_base_transform_src_activate_pull):
8869 Track the activation mode.
8870 (gst_base_transform_setcaps): In pull mode, when activating the
8871 src pad, after activating the sink pad, activate the sink pad's
8872 peer, as discussed in part-negotiation.txt.
8874 * libs/gst/base/gstbasesrc.h:
8875 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8876 vmethod, as in basesink.
8878 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8880 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8881 mode, first proxy the setcaps to the peer pad.
8882 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8884 (gst_base_sink_default_activate_pull): Rename from
8885 gst_base_sink_activate_pull.
8886 (gst_base_sink_negotiate_pull): New function, performs negotiation
8887 in pull mode before calling ::activate_pull().
8888 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8889 vmethod instead of the default implementation. I have no idea how
8890 this worked before. Negotiate before calling activate_pull.
8892 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8893 sink pads in pull mode. In addition to being correct, fixes
8894 filesrc ! decodebin ! identity ! fakesink.
8895 (gst_pad_get_range, gst_pad_pull_range): Don't call
8896 gst_pad_set_caps() if the caps changes; instead error out with
8897 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8899 2007-01-12 Andy Wingo <wingo@pobox.com>
8901 * docs/design/part-negotiation.txt: Update with more policy.
8903 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8905 * libs/gst/check/gstbufferstraw.h:
8906 * libs/gst/check/gstcheck.h:
8907 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8910 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8912 * tests/check/Makefile.am:
8913 * tests/check/gst/.cvsignore:
8914 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8915 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8916 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8917 (GST_START_TEST), (gst_tag_setter_suite):
8918 Add minimal unit test for beforementioned GstTagSetter bug.
8920 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8922 Patch by: René Stadler <mail at renestadler dot de>
8924 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8925 gst_tag_list_merge() returns a new list, so it's not the best idea
8926 to ingore its return value. Effectively meant that tags could only
8927 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8928 Also add function guard to require a non-NULL taglist as input (has
8929 always been so due to gst_tag_list_copy(), just making it explicit).
8931 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8933 * docs/random/draft-missing-plugins.txt:
8934 Some additions: mention new API that is supposed to be used at the
8935 various stages; short blob about new gst-inspect introspection
8936 option; mention potential future problem with plugins that have
8937 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8939 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8941 * tools/gst-inspect.c:
8942 (print_plugin_automatic_install_info_codecs),
8943 (print_plugin_automatic_install_info_protocols),
8944 (print_plugin_automatic_install_info), (main):
8945 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8946 introspect plugin files and get machine-parsable output that corresponds
8947 to the last bit of the missing-plugin installer string (small gotcha:
8948 doesn't take into account ranks).
8950 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8953 * docs/gst/gstreamer-sections.txt:
8955 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8956 (gst_registry_lookup_locked):
8957 * gst/gstregistry.h:
8958 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8959 (gst_registry_binary_initialize_magic),
8960 (gst_registry_binary_save_string),
8961 (gst_registry_binary_save_pad_template),
8962 (gst_registry_binary_save_feature),
8963 (gst_registry_binary_save_plugin),
8964 (gst_registry_binary_write_cache),
8965 (gst_registry_binary_check_magic),
8966 (gst_registry_binary_load_pad_template),
8967 (gst_registry_binary_load_feature),
8968 (gst_registry_binary_load_plugin),
8969 (gst_registry_binary_read_cache):
8970 * gst/gstregistrybinary.h:
8971 * gst/gstregistryxml.c: (load_feature),
8972 (gst_registry_xml_read_cache):
8973 commit binary registry (disabled by default, see #359653)
8975 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8977 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8978 Fix 'make check' too.
8980 2007-01-10 Andy Wingo <wingo@pobox.com>
8982 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8985 * docs/design/part-negotiation.txt: Update with, um, one way that
8986 pull-mode negotiation might work?
8989 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8990 that the pad must be a src pad; makes sense to call it the other
8991 way in pull mode, and the logic is symmetric anyway.
8993 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8995 * plugins/elements/gstfilesink.c:
8996 Include <stdio.h> for fseeko().
8998 2007-01-10 Wim Taymans <wim@fluendo.com>
9002 Reserve LATENCY event.
9004 2007-01-09 Wim Taymans <wim@fluendo.com>
9006 * docs/design/draft-latency.txt:
9009 2007-01-09 Wim Taymans <wim@fluendo.com>
9011 * docs/design/draft-latency.txt:
9015 * gst/gststructure.c:
9019 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9021 * tests/check/.cvsignore:
9022 Ignore test-registry.xml as well.
9024 2007-01-09 Wim Taymans <wim@fluendo.com>
9026 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9027 unref data at the end when we are done with the pad.
9029 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9031 * docs/gst/gstreamer-sections.txt:
9032 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9033 (init_post), (gst_deinit), (gst_update_registry):
9035 API: add gst_update_registry() (#391296).
9037 * tests/check/Makefile.am:
9038 * tests/check/gst/gstregistry.c:
9039 * tests/check/gst/.cvsignore:
9040 Simple unit test for the above.
9042 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9044 * gst/gstregistry.c: (gst_registry_scan_path_level):
9045 Plugin extension on HP-UX is .sl, add that to the list of approved
9046 plugin extensions (see #393796).
9048 * tests/check/gst/gstpad.c: (GST_START_TEST):
9049 ulong => gulong. Fixes compilation with HP-UX compiler.
9051 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9052 Fix compilation if valgrind headers are not available.
9054 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9056 * win32/common/libgstreamer.def:
9057 Add new exported function.
9058 * win32/vs6/libgstbase.dsp:
9059 Add gstdataqueue.c to the build.
9060 * win32/vs6/libgstcoreelements.dsp:
9061 Add gstmultiqueue.c to the build.
9063 2007-01-06 Andy Wingo <wingo@pobox.com>
9065 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9066 activate_pull(), providing for a way to specialize the process of
9067 spawning a thread to pull on the sink pad. There is a default
9070 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9071 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9072 (gst_base_sink_init): Renamed pad activation functions (inserting
9073 "_pad" in their names). Refactor to use the new activate_pull
9074 vmethod, as appropriate.
9075 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9076 default activate_pull function to start a task pulling from the
9077 sink pad, as before.
9079 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9080 on the pads if necessary, as in push()/chain(). Update docs.
9081 Shouldn't affect existing pull() usage as it is currently only
9082 being used on buffers without caps.
9084 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9086 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9088 Call g_thread_init() first thing in gst_init() / gst_check_init().
9089 When initialisation is done via gst_init_get_option_group() and
9090 GOption parsing, issue a warning if the GLib thread system has not
9091 been initialised yet by the time gst_init_get_option_group() is
9092 called, as it's quite likely other GLib functions such as
9093 g_option_context_new() have been called already then, and
9094 g_thread_init() must be called before any other GLib function. The
9095 application in question must be fixed in that case, since memory
9096 corruption might happen otherwise.
9097 We issue the warning because even if the GLib folks decide to work
9098 around the problem on their end in future, this is still an issue
9099 with all GLib versions >= 2.10.0, so we should warn until we depend
9100 on a GLib version we know to be safe.
9101 Update documentation as well.
9104 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9106 * tools/gst-inspect.c: (main):
9107 * tools/gst-launch.c: (main):
9108 * tools/gst-typefind.c: (main):
9109 * tools/gst-xmlinspect.c: (main):
9110 Call g_thread_init() really really early, before any other GLib
9111 function (see #342564 and recent discussion on gtk-devel-list).
9113 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9115 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9117 * gst/gst_private.h:
9118 * gst/gstconfig.h.in:
9120 On win32, all the __declspec stuff for symbol exporting is
9121 apparently only needed with MSVC, but doesn't work with MingW.
9122 Fixes compilation with MingW and #391909.
9124 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9126 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9127 Change some GST_ERROR_OBJECT that aren't really errors to
9128 GST_WARNING_OBJECT in order to reduce terminal spam.
9130 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9132 * tests/check/Makefile.am:
9133 disable test again, as there seem to be still race problems
9135 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9137 * tests/check/Makefile.am:
9138 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9139 (GST_START_TEST), (queue_suite):
9140 enable queue test again, add tests for the leaky behaviour
9142 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9145 * tests/examples/Makefile.am:
9146 Compile adapter test/example only if the required headers are
9147 available (fixes #391915).
9149 2007-01-01 David Schleef <ds@schleef.org>
9152 Restore the previous signal handler for SIGSEGV instead of
9153 setting to default, since we may have stolen it away from
9154 someone. (i.e., Mono)
9156 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9158 * docs/random/draft-missing-plugins.txt:
9159 Some small additions and clarifications.
9161 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9163 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9164 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9165 since that can lead to random memory corruptions and crashes
9166 (may or may not be related to #383244, #386711, and #386711).
9168 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9170 * tests/check/.cvsignore:
9171 * tests/check/Makefile.am:
9172 sync .cvsignome and CLEANFILES
9174 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9176 * tests/check/Makefile.am:
9179 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9181 * docs/design/part-states.txt:
9182 two tiny additional comments
9184 * gst/gststructure.c:
9187 * tests/check/Makefile.am:
9188 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9190 disable test for now, unless it gets fixed
9192 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9194 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9196 fix race in underrun test
9198 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9200 * tests/check/elements/.cvsignore:
9203 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9205 try to narrow test failure
9207 2006-12-21 David Schleef <ds@schleef.org>
9209 * plugins/elements/gstfakesrc.c:
9210 Use g_random_int_range(), since it produces better random
9211 numbers in a range than almost-correct floating point code.
9213 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9215 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9216 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9217 (gst_check_teardown_sink_pad):
9218 do not automatically (de)activate pads
9220 * tests/check/Makefile.am:
9221 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9222 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9223 add new, yet simple tests for queue
9225 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9226 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9227 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9229 * tests/check/elements/identity.c: (cleanup_identity):
9230 consistent pad (de)activation
9232 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9234 Patch by: Sebastian Dröge <slomo ubuntu com>
9236 * libs/gst/base/gstcollectpads.c:
9237 Fix two doc typos (#387866).
9239 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9241 * docs/manual/advanced-dparams.xml:
9242 Fix typo (g_object_control_properties() doesn't exist).
9244 2006-12-19 Edward Hervey <edward@fluendo.com>
9246 * gst/gstsegment.c: (gst_segment_set_seek):
9247 Fine tune the cases where the segment start/stop values are really
9249 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9250 Add tests for the return values of gst_segment_set_seek().
9252 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9257 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9259 Fix incorrect documentation and flesh it out a bit more.
9260 Set default values for the max properties on the GParamSpec as well,
9261 so it shows up correctly in gst-inspect.
9263 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9265 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9266 Correct docs of queue, add more detail and crosslink it more.
9268 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9270 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9271 Print additional debug info when the stream isn't perfectly
9272 timestamped; don't try to use invalid durations.
9274 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9276 * docs/design/Makefile.am:
9277 Dist new design docs.
9279 2006-12-16 Wim Taymans <wim@fluendo.com>
9281 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9283 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9284 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9285 (gst_collect_pads_stop), (gst_collect_pads_event),
9286 (gst_collect_pads_chain):
9287 * libs/gst/base/gstcollectpads.h:
9288 Add refcounting to the collectpads data so we can track when it's safe
9289 to free the data. Fixes #383382.
9291 2006-12-15 Wim Taymans <wim@fluendo.com>
9293 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9294 (gst_collect_pads_remove_pad):
9295 Automatically activate/deactivate pads when they are added to a
9296 started/stoped collectpads.
9298 2006-12-15 Wim Taymans <wim@fluendo.com>
9300 * gst/gstelement.c: (gst_element_add_pad):
9301 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9302 * gst/gstpad.c: (gst_pad_init):
9303 Set pads to FLUSHING when they are created. Check, warn and fix when a
9304 demuxer adds an inactive pad to itself when running. Fixes #339326.
9306 2006-12-15 Wim Taymans <wim@fluendo.com>
9308 * gst/gstelement.c: (gst_element_class_init),
9309 (gst_element_default_send_event), (gst_element_send_event),
9310 (gst_element_default_query), (gst_element_query):
9311 Expose default element send_event and query handling as vmethods that
9312 subclasses can chain up to.
9314 2006-12-15 Wim Taymans <wim@fluendo.com>
9316 * gst/gstelement.c: (gst_element_set_state_func):
9317 Small documentation fixes.
9319 2006-12-15 Wim Taymans <wim@fluendo.com>
9321 * docs/design/draft-latency.txt:
9322 Checked in draft for handling latency in pipelines.
9324 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9328 * gstreamer.spec.in:
9331 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9333 * gst/gst.c: (init_pre), (init_post):
9334 init_pre() and init_post() might be called via our GOptionGroup or
9335 from gst_init(), and we should skip both of them if we've already
9336 been initialised, otherwise we will init some things twice or add
9337 two default log functions.
9339 2006-12-13 Edward Hervey <edward@fluendo.com>
9341 * docs/manual/basics-bus.xml:
9342 No, gst_main_loop does not exist. Its g_main_loop.
9343 Discovered by somebody who abused the copy-paste technique of coding :)
9345 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9347 * gst/gstghostpad.c:
9348 Log ghostpad debug stuff to the GST_PADS category as well rather
9349 than just to the default category.
9351 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9354 * gst/gst.c: (init_pre):
9355 Add some basic system details such as OS and architecture
9356 to the debug output if possible, courtesy of uname().
9358 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
9360 * docs/gst/running.xml:
9361 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9362 environment variables.
9364 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9366 * tests/check/gst/gstbin.c: (GST_START_TEST):
9367 It is acceptable to have a refcount of 2 or 3 at this point in the
9368 test, because the pipeline might be just posting its state_change
9369 message. The next line then waits for that message to appear using
9370 bus_poll, so that should be fine too.
9372 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9374 * gst/gst.c: (ensure_current_registry_forking):
9375 Ignore EINTR when reading from the child registry pipe.
9376 Explicitly ignore the return value from close, since it makes no
9379 * gst/gstminiobject.c: (gst_mini_object_ref),
9380 (gst_mini_object_unref):
9381 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9383 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9384 When removing cached plugins, remove their features too, so they're
9385 not visible after they've disappeared.
9387 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9388 In the unlikely case that we are linking pads with no parents, don't
9389 crash trying to get the non-existent parent bin.
9391 * gst/parse/grammar.y:
9392 Output debug in the PIPELINE category
9394 2005-03-08 Wim Taymans <wim@fluendo.com>
9396 Patch by: René Stadler <mail at renestadler dot de>
9398 * gst/gstclock.c: (gst_clock_new_periodic_id):
9399 Reject invalid clock times for interval of periodic ids.
9402 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9404 * gst/gstelementfactory.c: (gst_element_factory_create):
9405 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9406 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9407 * tools/gst-inspect.c: (print_element_info):
9408 Fix refcounting of gst_plugin_feature_load to match the docs.
9411 2006-12-07 Wim Taymans <wim@fluendo.com>
9413 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9414 (gst_base_sink_get_position):
9415 Improve debugging of events.
9417 2006-12-07 Wim Taymans <wim@fluendo.com>
9419 Patch by: René Stadler <mail at renestadler dot de>
9421 * gst/gstclock.c: (gst_clock_id_wait):
9422 Make period ids add the interval to the origial requested time instead
9423 of the possibly updated time which can be wrong when there are multiple
9424 waiters for the same id. Fixes #382592.
9426 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9427 (gst_system_clock_id_wait_jitter_unlocked),
9428 (gst_system_clock_id_wait_jitter):
9429 Fix restart in the async notify thread when an async entry is added to
9430 the front of the list. Fixes #381492.
9432 * tests/check/gst/gstsystemclock.c: (store_callback),
9433 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9434 Added test for multiple async waits.
9435 Added test for async wait order.
9437 2006-12-07 Wim Taymans <wim@fluendo.com>
9439 * gst/gstbin.c: (gst_bin_query):
9440 Add some more docs about the POSITION query.
9442 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9445 Bump version nano - back to CVS.
9447 === release 0.10.11 ===
9449 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9452 releasing 0.10.11, "Love never runs on time"
9454 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9456 * win32/common/libgstbase.def:
9457 * win32/common/libgstreamer.def:
9458 * win32/vs8/libgstbase.vcproj:
9459 * win32/vs8/libgstcoreelements.vcproj:
9460 * win32/vs8/libgstreamer.vcproj:
9461 Fix compilation on win32 under VS8
9462 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9463 Partially fixes #381175
9465 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9467 * gst/gstvalue.c: (gst_value_compare_fraction):
9468 If someone is foolish enough to compare 2 fractions with denominator =
9469 0, return UNORDERED rather than aborting.
9471 2006-11-28 Edward Hervey <edward@fluendo.com>
9473 * libs/gst/base/Makefile.am:
9474 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9475 (gst_data_queue_base_init), (gst_data_queue_class_init),
9476 (gst_data_queue_init), (gst_data_queue_new),
9477 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9478 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9479 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9480 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9481 (gst_data_queue_set_flushing), (gst_data_queue_push),
9482 (gst_data_queue_pop), (gst_data_queue_drop_head),
9483 (gst_data_queue_set_property), (gst_data_queue_get_property):
9484 * libs/gst/base/gstdataqueue.h:
9485 New GstDataQueue object for threadsafe queueing. Most useful for
9486 elements that need some queueing functionnality.
9487 * docs/libs/gstreamer-libs-docs.sgml:
9488 * docs/libs/gstreamer-libs-sections.txt:
9489 Insert documentation for GstDataQueue
9490 * plugins/elements/Makefile.am:
9491 * plugins/elements/gstelements.c:
9492 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9493 (gst_multi_queue_class_init), (gst_multi_queue_init),
9494 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9495 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9496 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9497 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9498 (gst_multi_queue_loop), (gst_multi_queue_chain),
9499 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9500 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9501 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9502 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9503 (wake_up_next_non_linked), (compute_next_non_linked),
9504 (single_queue_overrun_cb), (single_queue_underrun_cb),
9505 (single_queue_check_full), (gst_single_queue_new):
9506 * plugins/elements/gstmultiqueue.h:
9507 New multiqueue element, using GstDataQueue. Used for queuing multiple
9509 Closes #344639 and #347785
9511 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9513 * docs/pwg/advanced-types.xml:
9514 add more missing type details
9516 * tools/gst-run.c: (main):
9517 remove unused variable
9519 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9521 * docs/libs/Makefile.am:
9522 * docs/libs/gstreamer-libs.types:
9523 add types of base classes to enable gobject specific stuff in the docs
9525 * docs/random/ensonic/embedded.txt:
9526 more ideas about isolating platform specific things
9528 2006-11-20 Wim Taymans <wim@fluendo.com>
9530 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9532 * libs/gst/check/gstcheck.h:
9533 Fix compilation and running against 0.9.4. Fixes #377332.
9535 2006-11-20 Wim Taymans <wim@fluendo.com>
9537 * gst/gstsegment.c: (gst_segment_set_seek),
9538 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9539 (gst_segment_to_running_time):
9540 Fix boundary checking in to_running_time() and to_stream_time().
9543 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9544 stream and running time can now be calculated for the complete
9547 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9549 * gst/gstpad.c: (gst_pad_push_event):
9550 Can't access event structure after giving away ownership of
9553 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9555 * docs/random/ensonic/embedded.txt:
9556 * docs/random/ensonic/profiling.txt:
9557 * docs/random/ensonic/receipies.txt:
9560 2006-11-13 Wim Taymans <wim@fluendo.com>
9562 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9565 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9567 2006-11-13 Wim Taymans <wim@fluendo.com>
9569 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9571 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9572 Store new length in segment duration so we don't keep on calling the
9573 potentially expensize get_size() call. Fixes #370865.
9575 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9577 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9579 * win32/common/libgstreamer.def:
9580 Add two missing symbols (#366492).
9582 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9584 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9585 (gst_adapter_take_buffer):
9586 Fix format string to use all its arguments.
9587 Remove useless >= check on a guint
9589 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9591 * tests/examples/adapter/.cvsignore:
9592 Ignore build file as commanded by the build-bot
9594 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9596 * tests/examples/adapter/Makefile.am:
9597 * tests/examples/adapter/adapter_test.c: (run_test_take),
9598 (run_test_take_buffer), (run_tests), (main):
9600 Add new files from the previous commit
9602 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9606 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9607 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9608 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9609 * libs/gst/base/gstadapter.h:
9610 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9611 (GST_START_TEST), (gst_adapter_suite):
9612 * tests/examples/Makefile.am:
9613 Do some optimisation work in GstAdapter to avoid copies in more cases.
9614 It could still do slightly better by merging buffers when
9615 gst_buffer_is_span_fast is true, but is already faster.
9617 Also, avoid traversing a single-linked list to append each incoming
9618 buffer inside the adapter.
9620 Add simple test app that times the adapter behaviour in different
9621 situations, and extend the unit test to check that bytes enter and
9622 exit the adapter in their original order.
9624 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9626 * docs/random/draft-missing-plugins.txt:
9627 Update: use element message instead of adding a new message
9628 type to the core; don't provide GStreamer API to initiate the
9629 plugin download, just provide API to compose the strings needed
9630 and let an external libgimmestuff handle the rest.
9632 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9634 * tools/gst-inspect.c: (print_element_properties_info):
9635 Print a string instead of 'unknown type' for GValueArray properties
9637 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9639 * docs/random/draft-missing-plugins.txt:
9642 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9644 * tests/examples/typefind/typefind.c: (type_found), (main):
9645 Make typefind element example work again (#371894); add a
9648 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9650 * docs/random/draft-missing-plugins.txt:
9651 Commit initial draft about how to deal with missing plugins,
9652 needs work (API too).
9654 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9656 * docs/pwg/advanced-types.xml:
9657 documents the new caps elements (see #363118)
9659 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9661 * gst/gstplugin.c: (gst_plugin_load_file):
9662 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9663 (gst_file_src_map_region), (gst_file_src_start):
9664 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9665 (gst_file_index_commit):
9666 Use g_strerror() instead of strerror() - we want UTF-8.
9668 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9670 Patch by: Peter Kjellerstedt <pkj at axis com>
9672 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9673 Another printf fix (#371493).
9675 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9677 * tests/check/gst/gsttag.c:
9678 relicence (okay with author=company)
9680 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9682 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9683 (gst_pad_push_event):
9684 Enhance debug and improve docs
9689 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9691 * docs/random/ensonic/distributed.txt:
9692 * docs/random/ensonic/profiling.txt:
9695 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9697 * docs/gst/gstreamer-sections.txt:
9698 add new API and fix the build
9700 * gst/gstbin.c: (gst_bin_recalc_state):
9701 * gst/gstelement.c: (gst_element_message_full),
9702 (gst_element_get_state_func), (gst_element_set_state_func):
9703 use new API and improve logging
9705 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9707 API: add function to get StateChangereturn names to improve logs
9709 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9711 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9712 I'm considering shooting the next person to put strerror stuff
9713 in the translateable part of the message.
9715 2006-11-03 Wim Taymans <wim@fluendo.com>
9717 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9718 Get the type and printf conversion specifiers right.
9720 2006-11-03 Wim Taymans <wim@fluendo.com>
9722 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9724 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9725 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9726 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9727 Some small cleanups. Improve debugging.
9729 Signal all waiting threads with a broadcast instead of just one.
9732 2006-11-03 Wim Taymans <wim@fluendo.com>
9734 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9735 (gst_fd_src_create):
9737 Only update fd when it's different from the old.
9739 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9741 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9742 Printf fixes for PPC/OSX, take two (#369366).
9744 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9746 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9748 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9749 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9750 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9751 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9752 don't cast to long long for portability reasons, but use
9753 GLib's types instead.
9755 2006-10-30 Michael Smith <msmith@fluendo.com>
9757 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9758 Get the arguments to lseek() the right way around.
9761 2006-10-30 Wim Taymans <wim@fluendo.com>
9763 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9766 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9768 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9770 Patch by: Kjartan Maraas <kmaraas at gnome org>
9772 * docs/design/part-MT-refcounting.txt:
9773 * docs/random/wtay/capsnego2-docs:
9776 Typo fixes (#366212).
9778 2006-10-28 Wim Taymans <wim@fluendo.com>
9780 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9783 * win32/common/libgstbase.def:
9784 * win32/common/libgstreamer.def:
9785 * win32/vs8/libgstbase.vcproj:
9786 * win32/vs8/libgstcontroller.vcproj:
9787 Add needed entries in .def files.
9789 Rearrange def files in vs8 solutions. Fixes #366286.
9791 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9793 * win32/common/gstconfig.h:
9794 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9795 hand-made win32 gstconfig.h. Fixes #366321.
9797 2006-10-27 Wim Taymans <wim@fluendo.com>
9799 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9800 (gst_ghost_pad_new_full):
9801 Make acceptcaps return TRUE when we don't have a target, just like
9804 2006-10-27 Wim Taymans <wim@fluendo.com>
9806 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9807 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9809 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9811 * gst/gststructure.c: (gst_structure_id_set_value):
9812 If someone tries to set a non-UTF8 string field on a structure,
9813 don't just print a warning, but also ignore the request and do
9814 not change/add that field to the structure.
9816 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9819 2006-10-25 David Schleef <ds@schleef.org>
9822 g_hash_table_insert() needs a cast to a non-const pointer duh.
9824 2006-10-25 David Schleef <ds@schleef.org>
9828 Change name parameter of _gst_debug_register_funcptr to const
9829 to reflect the constness of its use in the function as well
9830 as to quiet a gcc warning.
9832 2006-10-25 Edward Hervey <edward@fluendo.com>
9834 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9835 Don't push the buffer if it's empty.
9838 2006-10-24 Wim Taymans <wim@fluendo.com>
9843 * libs/gst/base/gstbasetransform.c:
9844 (gst_base_transform_sink_eventfunc):
9845 Debug segment values *after* updating them as this is more
9848 2006-10-23 Wim Taymans <wim@fluendo.com>
9850 * docs/design/part-events.txt:
9853 * docs/design/part-block.txt:
9854 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9855 (gst_pad_push_event):
9856 Revert BLOCKING patch, it tries to be smart without really having a
9857 clear idea what or how. So, now we discard all FLUSHING events again on
9858 a blocking pad. Should fix gnonlin again.
9860 2006-10-23 Wim Taymans <wim@fluendo.com>
9862 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9864 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9865 (gst_base_src_start), (gst_base_src_activate_push):
9866 Make sure size is always initialized. Fixes #364388.
9868 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9870 * docs/random/ensonic/distributed.txt:
9871 add some ideas about doing distributed processing
9873 * docs/random/ensonic/profiling.txt:
9874 get_rusage look promising
9876 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9878 * docs/manual/basics-helloworld.xml:
9879 Add a cast in example to fix compile warning
9881 2006-10-18 Wim Taymans <wim@fluendo.com>
9883 * gst/gstsegment.c: (gst_segment_set_last_stop),
9884 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9885 Relax arg checking again, -1 is allowed.
9887 2006-10-18 Wim Taymans <wim@fluendo.com>
9889 * gst/gstsegment.c: (gst_segment_set_last_stop),
9890 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9891 _set_last_stop() must be with a value != -1
9892 A _TYPE_SET to -1 means seek to 0.
9893 Calc last_stop correctly for negative rates.
9894 Make sure we work with positive durations when updating a segment.
9896 2006-10-18 Wim Taymans <wim@fluendo.com>
9898 * docs/design/part-live-source.txt:
9902 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9905 Add an explicit cast to GstBuffer** to keep old code that added an
9906 explicit cast to GstMiniObject** for gst_mini_object_replace()
9907 compiling without warning.
9909 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9911 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9912 check for validity of dates
9914 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9916 * docs/gst/gstreamer-sections.txt:
9917 Forgot this one, makes gtk-doc shut up.
9919 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9921 Patch by: Peter Kjellerstedt <pkj at axis com>
9924 Don't define xmlNodePtr to gpointer if the core was built with
9925 --disable-loadsave and --disable-registry, this will break
9926 applications that want to use libxml2 but are buildling against a
9927 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9928 instead so we don't have to mess with the libxml2 namespace
9931 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9934 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9935 type-punned pointer warnings.
9937 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9940 Add casts to the correct return type to state <=> state transition
9943 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9945 * docs/design/part-live-source.txt:
9946 describe howto handle latency
9948 * docs/random/ensonic/profiling.txt:
9951 * tools/gst-plot-timeline.py:
9952 fix log parsing for solaris, remove unused function
9954 2006-10-16 Wim Taymans <wim@fluendo.com>
9956 * docs/design/part-trickmodes.txt:
9958 Update some docs regarding reverse playback.
9960 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9962 Patch by: Marcus Granado <mrc dot gran at gmail com>
9964 * win32/vs8/grammar.vcproj:
9965 Error out with a warning if glib-genmarshal.exe is not in path,
9966 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9968 2006-10-13 Wim Taymans <wim@fluendo.com>
9970 * gst/gstsegment.c: (gst_segment_set_seek):
9971 When seeking to stop -1, set last_stop (current position) to the
9972 duration of the segment.
9974 2006-10-13 Wim Taymans <wim@fluendo.com>
9977 Clarify _NO_PREROLL a bit more.
9982 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9983 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9984 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9985 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9986 due to wrong locking order. Fixes #361769.
9987 Remove some redundant/misplaced checks in pad_block.
9989 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9990 For negative rates, count backwards from the duration.
9992 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9994 * gst/gsterror.c: (_gst_library_errors_init):
9995 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9996 up with something better).
9998 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10000 * win32/vs6/libgstreamer.dsp:
10001 * win32/vs7/libgstreamer.vcproj:
10002 * win32/vs8/libgstreamer.vcproj:
10003 Don't reference glib-compat.c which is currently not used and not
10004 disted; add gstquark.c which was recently added. Fixes #361730.
10006 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10008 * win32/common/libgstbase.def:
10009 * win32/common/libgstcontroller.def:
10010 * win32/common/libgstreamer.def:
10011 Add gst_caps_merge() and a bunch of other recently-added functions.
10014 2006-10-11 Wim Taymans <wim@fluendo.com>
10016 * docs/plugins/gstreamer-plugins.args:
10017 * docs/plugins/inspect/plugin-coreelements.xml:
10018 * docs/plugins/inspect/plugin-coreindexers.xml:
10019 Update element args.
10021 * gst/gstsystemclock.c:
10022 Small comment update.
10024 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10025 (gst_tee_request_new_pad), (gst_tee_release_pad),
10026 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10027 (gst_tee_sink_activate_pull):
10028 * plugins/elements/gsttee.h:
10030 Add default property defines.
10031 Implement release pad function.
10032 Give properties better blubs etc.
10033 Activate pads before adding them to a running tee.
10034 Do simple buffer_alloc on the first requested pad.
10035 Post error when activation fails.
10037 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10039 * gst/gst.c: (ensure_current_registry_forking):
10040 Check return value of write() to make compiler happy.
10042 2006-10-11 Wim Taymans <wim@fluendo.com>
10044 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10046 * plugins/elements/gstqueue.c: (gst_queue_chain):
10047 Recheck queue filledness after signalling the overrun when we're about
10048 to leak downstream because we released the lock when emitting the signal
10049 and the queue could be empty again. Fixes #352345.
10051 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10053 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10054 Fix refcounting here too, just like we did for _new_valist() a few
10055 days ago (#357180) (thanks to René Stadler). Also remove all those
10056 'Since: 0.9' from the gtk-doc blobs.
10058 * tests/check/libs/controller.c: (controller_refcount_new_list),
10059 (gst_controller_suite):
10060 Unit test for the above.
10062 2006-10-10 Wim Taymans <wim@fluendo.com>
10064 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10066 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10067 (gst_pad_save_thyself):
10069 Write pad direction in XML output. Fixes #345496.
10071 2006-10-10 Wim Taymans <wim@fluendo.com>
10073 Patch by: René Stadler <mail at renestadler dot de>
10075 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10076 (gst_controller_new_list), (_gst_controller_dispose),
10077 (_gst_controller_finalize), (_gst_controller_class_init):
10078 Take ref to controlled object so that it cannot disappear.
10081 2006-10-10 Wim Taymans <wim@fluendo.com>
10083 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10084 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10085 (gst_check_teardown_sink_pad):
10086 Activate/deactivate pads in setup/teardown respectively.
10088 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10090 Patch by: Josep Torra Valles <josep@fluendo.com>
10093 Cast values when making gstenumtypes.h. This pacifies Forte
10094 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10095 in the enumeration.
10097 2006-10-09 Wim Taymans <wim@fluendo.com>
10099 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10100 Rename some more @cur to @start to fix docs.
10102 * gst/gstsegment.c: (gst_segment_set_seek):
10104 time and start must always stay in sync as defined in design doc.
10106 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10107 Rename param to fix docs.
10109 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10110 Check that start and time are in sync.
10112 * tests/check/pipelines/parse-launch.c:
10113 (gst_parse_test_element_change_state):
10114 Activate pad before adding to the element.
10116 2006-10-09 Wim Taymans <wim@fluendo.com>
10118 * docs/design/part-qos.txt:
10123 Update seek event docs regarding negative rates.
10124 Rename @cur to @start.
10126 * gst/gstsegment.c: (gst_segment_set_seek):
10127 * gst/gstsegment.h:
10128 Update set_seek docs regarding negative rates.
10129 Correctly update last_stop to @stop when dealing with negative
10131 Rename @cur to @start.
10133 * tests/check/gst/gstpad.c: (GST_START_TEST):
10134 Activate pads before trying to use them.
10136 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10137 (gst_segment_suite):
10138 Add simple check for segments and negative rates.
10140 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10142 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10143 * gst/gsttaglist.h:
10144 * docs/gst/gstreamer-sections.txt:
10145 API: add gst_tag_list_is_empty() (#360467).
10147 * tests/check/gst/gsttag.c: (GST_START_TEST):
10150 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10152 * gst/gstmessage.h:
10153 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10154 a value that doesn't fit on enumeration.
10156 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10158 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10159 Remove local debugging system and use Gstreamer's instead.
10161 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10163 Patch by: Josep Torra Valles <josep@fluendo.com>
10165 * common/m4/gst-error.m4:
10166 Disable warning of statement not reached on Forte.
10167 * gst/gstmessage.h:
10168 Fix warning on Forte (value doesn't fit on enumeration).
10169 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10170 Fix warning on Forte (value doesn't fit on enumeration).
10171 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10172 DEBUG macro says it takes minimum of 2 args and so Forte
10173 complains about the use with just 1 arg.
10174 * plugins/elements/gstfdsink.c:
10175 * plugins/elements/gstfdsrc.c:
10176 * plugins/elements/gstfilesink.c:
10177 * plugins/elements/gstfilesrc.c:
10178 Use correct return type for the uri handler implementations.
10180 All these fix warnings in Forte. Fixes bug #360860.
10182 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10184 * gst/gstelement.h:
10185 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10186 format string, so don't use G_GNUC_PRINTF for those versions.
10188 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10190 * gst/gsttaglist.c: (gst_is_tag_list):
10191 * gst/gsttaglist.h:
10192 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10194 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10195 Small test for the above.
10197 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10199 * gst/gsttaglist.h:
10200 Less tabs, more spaces.
10202 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10205 Those two function declarations do actually belong there, revert
10206 commit from yesterday that turned them intro macros.
10208 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10210 Patch by: Josep Torra Valles <josep@fluendo.com>
10212 * gst/gst.c: (gst_init_get_option_group):
10213 Fix empty declaration and type mismatch.
10214 * gst/gstbin.c: (gst_bin_change_state_func):
10216 * gst/gstelement.c: (gst_element_continue_state),
10217 (gst_element_set_state_func), (gst_element_change_state),
10218 (gst_element_change_state_func):
10219 Fix type mismatches.
10220 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10221 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10222 Cast as appropriate.
10223 * gst/gstobject.c: (gst_class_signal_connect):
10224 Cast as appropriate. The function pointer parameter really
10225 has the wrong type but would break API if we change it.
10227 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10228 order of including string.h.
10229 * gst/gstutils.c: (gst_element_state_get_name):
10230 Remove unreachable line.
10231 * gst/gstxml.c: (gst_xml_parse_doc):
10233 All these caught by Forte.
10235 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10237 Patch by: Josep Torra Valles <josep@fluendo.com>
10239 * common/m4/gst-error.m4:
10241 We need to disable warnings on Forte for empty declarations
10242 due to gst-indent adding ;s to lines that just use macros
10243 where the macro actually doesn't need a ; at end to end
10246 2006-10-06 Wim Taymans <wim@fluendo.com>
10248 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10249 (gst_file_sink_close_file), (gst_file_sink_event),
10250 (gst_file_sink_render):
10251 Add some FIXME for the NEWSEGMENT handling.
10253 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10255 * gst/parse/grammar.y:
10256 Remove static function gst_parse_element_lock as all it does
10257 is return. Looks like cruft from 0.8.
10259 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10261 Patch by: Josep Torra Valles <josep@fluendo.com>
10263 * common/m4/gst-error.m4:
10265 * libs/gst/net/Makefile.am:
10266 Fix a compilation issue with Forte on Solaris. inet_aton is in
10269 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10271 * gst/gstpad.c: (pre_activate):
10272 * gst/gstregistry.c: (gst_registry_scan_path_level):
10273 * gst/gstregistryxml.c: (load_plugin):
10274 * libs/gst/controller/gstcontroller.c:
10275 (gst_controlled_property_set_interpolation_mode):
10276 * libs/gst/dataprotocol/dataprotocol.c:
10277 (gst_dp_packet_from_event_1_0):
10278 * libs/gst/net/gstnetclientclock.c:
10279 (gst_net_client_clock_observe_times):
10280 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10283 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10286 * docs/gst/gstreamer-sections.txt:
10287 * gst/gstconfig.h.in:
10288 * gst/gstelement.h:
10290 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10291 whether we can use G_GNUC_PRINTF in other header files and at
10292 least check the printf format/arguments of debug messages and
10293 GST_ELEMENT_ERROR messages when the printf extension is not
10295 Replace more tabs with spaces in gstinfo.h and remove two spurious
10296 function declarations in GST_DISABLE_DEBUG part with macros.
10298 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10300 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10301 More docs for the sync-message signal (mention that it is not
10302 emitted by default); log message structures of messages posted on
10305 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10307 * gst/gst.c: (ensure_current_registry_forking):
10308 Use a pipe pair to receive status results from the forked child, and
10309 ignore the result from waitpid. Fixes #355499
10311 2006-10-02 Wim Taymans <wim@fluendo.com>
10313 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10314 (gst_ghost_pad_suite):
10317 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10320 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10322 2006-10-02 Edward Hervey <edward@fluendo.com>
10324 * docs/design/part-block.txt:
10325 Further explain the use of flushing on blocked pads.
10326 * docs/gst/gstreamer-sections.txt:
10327 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10328 (gst_pad_push_event):
10330 Added new GstPadFlag : GST_PAD_BLOCKING.
10331 Adds the notion of pads really blocking, which enables to properly
10332 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10334 API: gst_pad_is_blocking()
10335 API: GST_PAD_IS_BLOCKING() macro
10336 API: GST_PAD_BLOCKING GstPadFlag
10338 2006-10-02 Wim Taymans <wim@fluendo.com>
10340 Patch by: mrcgran <mrc.gran at gmail dot com>
10342 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10343 Filter the proxied caps against the padtemplate if we have one.
10345 * gst/gstquery.c: (gst_query_new_segment):
10346 Add include for gstinfo.h so that compilation with
10347 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10349 2006-10-02 Wim Taymans <wim@fluendo.com>
10351 Patch by: Alessandro Decina <alessandro at nnva org>
10353 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10354 (gst_file_sink_set_location), (gst_file_sink_open_file),
10355 (gst_file_sink_close_file), (gst_file_sink_event),
10356 (gst_file_sink_render):
10357 Set file to NULL when closing filesink so that we can set a new filename
10358 in READY. Fixes #358613.
10360 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10362 Patch by: Alessandro Decina <alessandro at nnva org>
10364 * gst/gstevent.c: (_gst_event_copy):
10365 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10366 with event structures by setting the parent refcount address of the
10367 copied structure to the address of the refcount member of the newly
10368 copied event rather than the address of the refcount member of the
10369 original event. Fixes #358737.
10371 * tests/check/gst/gstevent.c: (GST_START_TEST):
10372 Unit test for the above.
10374 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10376 * docs/design/Makefile.am:
10377 Dist some more files.
10379 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10381 * tests/check/libs/controller.c: (GST_START_TEST),
10382 (gst_controller_suite):
10383 Add test for the previous fix; add some more tests
10384 for correct refcounting behaviour; fix a few leaks
10385 in test cases; call gst_controller_init() at start
10388 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10390 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10391 (gst_controller_set_from_list):
10392 Don't g_return_val_if_fail() on timed values with invalid timestamps
10393 inside a critical section without unlocking the mutex. Spotted by
10394 René Stadler. (#357617)
10395 Also, fix up refcounting properly: when returning an existing
10396 controller, we should increase the reference only once and not
10397 once per property and when trying to control a property again
10398 we should also increase the refcount.
10400 2006-09-29 Wim Taymans <wim@fluendo.com>
10402 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10403 * libs/gst/net/gstnettimeprovider.c:
10404 (gst_net_time_provider_thread):
10405 Stop reading commands when EOF as well.
10407 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10408 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10409 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10410 Unify description of the dump property.
10412 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10414 * tests/examples/manual/.cvsignore:
10415 OK, so it's actually cvsignore that needs changing. Stop laughing.
10417 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10419 * tests/examples/manual/Makefile.am:
10420 Gah, declare vars *before* using them
10422 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10424 * gst/gst.c: (init_pre), (scan_and_update_registry),
10425 (ensure_current_registry_nonforking),
10426 (ensure_current_registry_forking), (ensure_current_registry),
10427 (init_post), (gst_debug_help), (gst_deinit):
10428 * gst/gst_private.h:
10429 * gst/gstregistry.c: (gst_registry_finalize),
10430 (gst_registry_remove_features_for_plugin_unlocked),
10431 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10432 (gst_registry_scan_path),
10433 (_priv_gst_registry_remove_cache_plugins),
10434 (_priv_gst_registry_cleanup):
10435 * gst/gstregistry.h:
10436 Re-commit the registry changes, along with an extra fix:
10437 When a cached plugin is encountered at a different file path,
10438 update the stored path in the registry cache so that the parent
10439 process knows where it actually is now when it re-reads the registry
10440 cache. Fixes the thing that broke distcheck with the previous commit.
10442 * tests/check/Makefile.am:
10443 Clean up files named 'core' too when running make clean.
10445 * tests/examples/manual/Makefile.am:
10446 Set up a registry path for running these tests, and clean it properly
10449 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10452 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10453 want gmodule-no-export-2.0.pc instead so that we don't drag in
10454 --export-dynamic on every project that links to GStreamer.
10456 Also, make our export regex only match the start of symbols, rather
10457 than any symbol that contains '_gst' somewhere.
10459 * libs/gst/check/Makefile.am:
10460 The libgstcheck we build does however need export-dynamic, as it
10461 produces some symbols that don't match our _gst... style regex.
10464 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10466 * gst/gst.c: (init_pre), (scan_and_update_registry),
10467 (ensure_current_registry_nonforking),
10468 (ensure_current_registry_forking), (ensure_current_registry),
10469 (init_post), (gst_debug_help), (gst_deinit):
10470 * gst/gst_private.h:
10471 * gst/gstregistry.c: (gst_registry_finalize),
10472 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10473 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10474 (_gst_registry_cleanup):
10475 * gst/gstregistry.h:
10476 Revert previous change until I figure out why it breaks distcheck.
10478 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10480 * gst/gst.c: (init_pre), (scan_and_update_registry),
10481 (ensure_current_registry_nonforking),
10482 (ensure_current_registry_forking), (ensure_current_registry),
10483 (init_post), (gst_debug_help), (gst_deinit):
10485 Make init_pre and init_post take the full complement of GOptionFunc
10486 args so they can return useful GErrors. Make the registry updating
10489 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10490 ensure that the registry we're about to write out doesn't contain
10491 stale information about old-deleted plugin files.
10493 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10494 that deletion of plugin files is considered a registry change.
10496 * gst/gst_private.h:
10497 * gst/gstregistry.c: (gst_registry_finalize),
10498 (gst_registry_remove_features_for_plugin_unlocked),
10499 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10500 (gst_registry_scan_path),
10501 (_priv_gst_registry_remove_cache_plugins),
10502 (_priv_gst_registry_cleanup):
10503 * gst/gstregistry.h:
10504 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10505 by adding _priv prefix, so that they won't appear in the global
10506 symbol table. They still do atm though because of #318031. Move the
10507 prototypes to gst_private.h
10509 When removing a plugin, remove all features for that plugin too.
10512 2006-09-27 Wim Taymans <wim@fluendo.com>
10514 * docs/random/moving-plugins:
10515 Make it clear that the "compiled-in descriptions" really mean
10516 the element details.
10518 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10519 (gst_base_sink_wait_preroll):
10522 * docs/libs/gstreamer-libs-sections.txt:
10523 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10524 (gst_base_src_get_range), (gst_base_src_activate_push):
10525 * libs/gst/base/gstbasesrc.h:
10526 Added function to block while waiting for PLAYING, this function
10527 is used by live sources that block on the clock.
10528 API: gst_base_src_wait_playing()
10530 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10532 Patch by: Peter Kjellerstedt <pkj at axis com>
10535 gst-element-check.m4 is generated and should therefore be
10536 copied from the build dir rather than the source dir (#357593).
10537 'make distcheck' hasn't noticed this because we were disting
10538 the file as well, so stop doing that.
10540 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10542 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10543 Add some tests for gst_caps_intersect().
10545 * tools/gst-launch.c: (event_loop):
10546 Print all buffering percentages we get, even the 100% one.
10548 2006-09-26 Wim Taymans <wim@fluendo.com>
10550 * tools/gst-inspect.c: (print_element_properties_info),
10551 (print_signal_info):
10552 Fix printing of flags to match the look of enums.
10554 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10556 * gst/gstelementfactory.c:
10557 Fix typo in docs blurb.
10559 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10561 * gst/gsturi.c: (search_by_entry):
10562 Don't assert/crash here if a uri handler doesn't return any
10563 supported protocols. The list of protocols could be generated
10564 dynamically at runtime or at plugin registration, and an error
10565 in the underlying library shouldn't be fatal (#353301).
10567 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10570 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10571 (spotted by Peter Kjellerstedt).
10573 2006-09-23 Wim Taymans <wim@fluendo.com>
10575 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10577 * libs/gst/base/gstbasesrc.c:
10578 (gst_base_src_default_check_get_range), (gst_base_src_start),
10579 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10580 (gst_base_src_change_state):
10581 Match _start/_stop calls in the activate functions. Remove redundant
10582 _stop call from the state change function. Fixes #356910.
10583 Turn failure DEBUG into ERROR.
10585 2006-09-22 Wim Taymans <wim@fluendo.com>
10587 * docs/design/part-buffering.txt:
10588 * gst/gstmessage.c: (gst_message_new_buffering),
10589 (gst_message_parse_buffering):
10590 Update docs about buffering.
10592 * docs/design/part-trickmodes.txt:
10595 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10597 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10598 (gst_controller_new_list):
10599 Ref instances when returning them again (fixes #357180)
10601 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10603 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10604 Don't forget to release proxy lock when there's an error.
10606 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10609 Add extra initialisers for Caps things, to fix some plugin warnings
10612 2006-09-18 Wim Taymans <wim@fluendo.com>
10614 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10615 Also set template on the internal pad so that a getcaps from the
10616 target pad returns the template caps.
10618 2006-09-18 Wim Taymans <wim@fluendo.com>
10620 * gst/gstelement.c: (gst_element_post_message),
10621 (gst_element_dispose):
10622 Use _DEBUG_OBJECT some more.
10624 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10627 * tools/gst-launch.c: (main):
10628 If the toplevel element is not a GstPipeline, it must be put in a
10629 pipeline so that a bus and clock is selected.
10631 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10633 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10634 JITTER, RATE, and LATENCY query should be handled by the
10635 default case and not by the CONVERT query code.
10637 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10639 * gst/gstformat.c: (gst_format_register):
10640 Fix locking order (must take lock before using n_values).
10642 * gst/gstvalue.c: (gst_value_serialize_enum),
10643 (gst_value_deserialize_enum_iter_cmp),
10644 (gst_value_deserialize_enum):
10645 Fix serialisation/deserialisation of custom registered GstFormats.
10647 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10648 Unit test for custom format serialisation/deserialisation.
10650 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10652 * docs/pwg/building-boiler.xml:
10653 * plugins/elements/gstcapsfilter.c:
10654 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10657 2006-09-16 Edward Hervey <edward@fluendo.com>
10659 * libs/gst/base/gstbasetransform.c:
10660 (gst_base_transform_buffer_alloc):
10661 Check if requested caps are the same as the sinks caps IF
10662 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10664 This fixes the renegotiation issues stated in #352827.
10666 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10669 * docs/manual/advanced-autoplugging.xml:
10670 * tests/examples/Makefile.am:
10671 * tests/examples/manual/.cvsignore:
10672 * tests/examples/manual/Makefile.am:
10673 * tests/examples/manual/extract.pl:
10674 Extract the manual examples again like we used to do.
10677 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10679 * win32/common/config.h:
10682 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10685 Documents how to receive errors.
10687 2006-09-15 Wim Taymans <wim@fluendo.com>
10689 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10690 (event_loop), (main):
10691 Added some comments here and there.
10692 Post an application message when an interrupt is caught instead of doing
10693 an uncontrolled state change.
10694 Clean up the event loop.
10695 Handle buffering messages, pause/resume the pipeline.
10696 Make shutdown because of an interrupt more reliable.
10698 2006-09-15 Wim Taymans <wim@fluendo.com>
10700 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10701 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10702 (gst_base_sink_preroll_object):
10703 Make sure that our internal state is correct when we commit our state
10704 asynchronously. This solves a race where a state change to PLAYING
10705 could cause the sink to remain blocked in preroll in some situations.
10707 2006-09-15 Wim Taymans <wim@fluendo.com>
10709 * tools/gst-inspect.c: (print_element_properties_info),
10710 (print_signal_info):
10711 List flags as hex so it's easier to deal with.
10713 2006-09-15 Wim Taymans <wim@fluendo.com>
10715 * docs/libs/gstreamer-libs-sections.txt:
10716 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10717 (gst_base_sink_do_sync):
10718 * libs/gst/base/gstbasesink.h:
10719 Expose logic to wait for preroll so that subclasses such as audiosink
10720 can also use this method.
10721 API: gst_base_sink_wait_preroll()
10723 2006-09-15 Wim Taymans <wim@fluendo.com>
10725 * gst/gstobject.c: (gst_object_set_parent):
10726 * gst/gstpipeline.c: (do_pipeline_seek):
10727 Small cleanups in docs and code.
10729 * gst/gstsegment.c: (gst_segment_clip):
10730 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10731 if stop == start and start is in the segment, no clipping should be
10732 done. Also add a test for this.
10734 2006-09-15 Wim Taymans <wim@fluendo.com>
10736 * docs/design/part-buffering.txt:
10737 * docs/gst/gstreamer-sections.txt:
10738 * gst/gstmessage.c: (gst_message_new_buffering),
10739 (gst_message_parse_buffering):
10740 * gst/gstmessage.h:
10741 Added methods to create and parse BUFFERING messages.
10742 Added preliminary docs about buffering.
10743 API: gst_message_new_buffering
10744 API: gst_message_parse_buffering
10746 2006-09-06 Wim Taymans <wim@fluendo.com>
10749 Update documentation.
10751 * gst/gstelement.c: (gst_element_class_init),
10752 (gst_element_release_request_pad), (gst_element_set_clock),
10753 (gst_element_get_index), (gst_element_add_pad),
10754 (gst_element_remove_pad), (gst_element_get_random_pad),
10755 (gst_element_send_event), (gst_element_get_query_types),
10756 (gst_element_query), (gst_element_post_message),
10757 (gst_element_message_full), (gst_element_continue_state),
10758 (gst_element_lost_state), (gst_element_save_thyself),
10759 (gst_element_restore_thyself):
10760 Documentation updates.
10761 Rename last bit of the new-pad -> pad-added signal rename.
10762 Fix the case where an element query would only work if the source
10764 Avoid some useless type checking in message handling.
10769 Documentation updates.
10771 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10773 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10774 add an INFO line for when we actually update the fd
10776 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10781 === release 0.10.10 ===
10783 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10786 releasing 0.10.10, "Pais"
10788 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10790 * docs/manual/advanced-position.xml:
10791 Fix typo in sample code.
10793 2006-09-05 Wim Taymans <wim@fluendo.com>
10795 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10796 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10797 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10798 * libs/gst/net/gstnetclientclock.h:
10799 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10800 * libs/gst/net/gstnettimepacket.h:
10801 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10802 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10803 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10804 * libs/gst/net/gstnettimeprovider.h:
10805 Make stuff compile on windows. Fixes #345295.
10807 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10809 * gst/gst.c: (ensure_current_registry_forking):
10810 Print better details when child was terminated by signal.
10812 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10814 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10815 Print a warning rather than g_assert() if a plugin feature
10816 is a URI handler but returns no protocols (#353976).
10818 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10820 * docs/random/moving-plugins:
10823 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10825 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10826 Fix locking order, handle NULL function values properly.
10831 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10832 Initialise variable before using it and fix debug statement to
10833 print the address of the function rather than the address of the
10834 variable on the stack holding the address of the function.
10836 2006-09-01 Wim Taymans <wim@fluendo.com>
10838 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10839 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10840 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10841 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10842 (gst_ghost_pad_parent_unset),
10843 (gst_ghost_pad_internal_do_activate_push),
10844 (gst_ghost_pad_internal_do_activate_pull),
10845 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10846 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10847 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10848 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10849 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10850 (gst_ghost_pad_new_no_target_from_template),
10851 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10853 Avoid needless typechecking in macros.
10854 Since the internal pad is always present and never changes, there is
10855 no need to locking or ref when retrieving it.
10856 Improve debugging a bit.
10857 Handle link errors when setting the target. Fixes #341029.
10859 2006-09-01 Wim Taymans <wim@fluendo.com>
10861 * docs/libs/gstreamer-libs-sections.txt:
10862 * docs/plugins/gstreamer-plugins-sections.txt:
10863 Fix docs some more.
10865 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10866 (gst_collect_pads_event):
10867 * libs/gst/base/gstcollectpads.h:
10868 Documentation updates.
10869 Free queued buffer when removing a pad.
10871 2006-08-31 Michael Smith <msmith@fluendo.com>
10873 * gst/gstutils.c: (gst_element_link_pads),
10874 (gst_element_link_pads_filtered):
10875 Ensure that we set a capsfilter to NULL if we failed to link it
10876 when doing filtered linking, to avoid criticals.
10878 No need to check for unreffing srcpad, which is explicly NULLed
10879 above (a trivial code cleanup).
10881 2006-08-31 Wim Taymans <wim@fluendo.com>
10883 * docs/design/part-gstghostpad.txt:
10884 Update ascii art in documentation.
10886 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10887 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10888 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10889 (gst_ghost_pad_internal_do_activate_push),
10890 (gst_ghost_pad_internal_do_activate_pull),
10891 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10892 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10893 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10894 (gst_ghost_pad_set_target):
10895 Small cleanups and leak fixes.
10896 Remove some checks now that the internal pad is never NULL.
10897 Fix the case where linking pads without a target would create nasty
10898 criticals. Fixes #341029.
10899 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10900 value of _set_target().
10902 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10903 (gst_ghost_pad_suite):
10904 Some more tests for creating and linking untargeted ghostpads.
10906 2006-08-31 Edward Hervey <edward@fluendo.com>
10908 * docs/gst/gstreamer-sections.txt:
10909 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10910 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10911 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10912 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10913 (gst_ghost_pad_new_from_template),
10914 (gst_ghost_pad_new_no_target_from_template):
10915 * gst/gstghostpad.h:
10916 Refactored *_new() functions.
10917 Templates are now used as a g_object_new() parameter.
10918 Use template in _do_getcaps() if we don't have a target.
10919 Small documentation cleanups.
10920 Added two new constructors:
10921 gst_ghost_pad_new_from_template()
10922 gst_ghost_pad_new_no_target_from_template()
10923 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10924 (gst_ghost_pad_suite):
10925 Added tests for new ghostpad instanciation functions.
10927 API additions: gst_ghost_pad_new_from_template,
10928 gst_ghost_pad_new_no_target_from_template
10930 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10932 * docs/random/ensonic/profiling.txt:
10933 Ideas about qos profiling.
10935 2006-08-29 Wim Taymans <wim@fluendo.com>
10937 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10941 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10944 Improve and detypofy docs.
10946 * tests/check/Makefile.am:
10947 * tests/check/gst/.cvsignore:
10948 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10949 Add a basic test suite for GstXML.
10951 2006-08-29 Wim Taymans <wim@fluendo.com>
10953 * gst/gstelement.c: (activate_pads), (clear_caps),
10954 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10955 Clear the pad caps when the element shut down all of the pads and
10956 is not streaming data that could modify the caps.
10959 2006-08-28 Michael Smith <msmith@fluendo.com>
10961 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10962 Revert previous change; I misunderstood single-segment mode.
10964 2006-08-28 Michael Smith <msmith@fluendo.com>
10966 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10967 Unset DISCONT on buffers when using single-segment mode.
10969 2006-08-28 Wim Taymans <wim@fluendo.com>
10971 * gst/gstcaps.c: (gst_caps_merge_structure):
10973 Fix docs and indentation again.
10975 * tests/check/gst/gstquery.c: (GST_START_TEST):
10976 Fix leak in tests and add some more tests.
10978 2006-08-28 Edward Hervey <edward@fluendo.com>
10980 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10981 Inform GstSegment of the last stop position in order for the current
10982 segment to have a proper duration if it doesn't have a specific stop
10983 position from which a duration could be calculated.
10984 This bug was noticeable when a non-flushing, non-update new segment was
10985 followed by another segment (all buffers from the new segment were being
10988 2006-08-28 Wim Taymans <wim@fluendo.com>
10990 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10991 Small comment update.
10993 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10994 (gst_identity_transform_ip):
10995 Drop-probability is broken, mention this in the code with a
10996 FIXME and also in the property description.
10997 Make silent also be silent about the drop messages.
10999 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11001 * docs/manual/appendix-win32.xml:
11002 Remove mention of popt, we don't depend on that any
11003 longer (#353136). Add some comments pointing out that
11004 this section is slightly outdated.
11006 2006-08-28 Wim Taymans <wim@fluendo.com>
11008 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11010 * gst/gstquery.c: (gst_query_new_segment):
11011 * tests/check/gst/gstquery.c: (GST_START_TEST):
11012 Initialize variables when creating a new segment query.
11015 2006-08-28 Wim Taymans <wim@fluendo.com>
11017 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11019 * gst/gstelement.c: (gst_element_get_bus):
11020 * tests/check/gst/gstelement.c: (GST_START_TEST):
11021 Check for NULL before _reffing the bus. Fixes #353122.
11023 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11025 * docs/manual/basics-bus.xml:
11026 Docs update: fix wrong callback return value explanation; add
11027 some lines about the implicit relationship between main loop
11028 and main context; remove duplicate main loop variable declaration.
11030 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11032 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11033 Don't leak caps in unit test; add a few more simple
11036 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11038 * docs/gst/gstreamer-sections.txt:
11039 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11040 (gst_caps_structure_is_subset), (gst_caps_merge),
11041 (gst_caps_merge_structure):
11043 * libs/gst/base/gstbasetransform.c:
11044 (gst_base_transform_transform_caps):
11045 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11046 implement caps merging (fixes #352580)
11048 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11050 * tools/Makefile.am:
11051 * tools/gst-plot-timeline.py:
11052 add debug-log plotting developer tool (#340674)
11054 2006-08-23 Wim Taymans <wim@fluendo.com>
11056 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11057 (gst_pad_stop_task):
11058 Improve debugging for task functions.
11060 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11061 (gst_task_start), (gst_task_pause), (gst_task_join):
11062 Make sure that the task function started and finished after a
11064 Don't try to push the task function on the threadpool multiple
11066 Improve the g_warning message with some useful suggestions
11067 about how to fix the problem.
11069 2006-08-23 Wim Taymans <wim@fluendo.com>
11071 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11072 Handle RESYNC correctly in _proxy_getcaps.
11074 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11076 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11077 (gst_xml_parse_memory), (gst_xml_get_element):
11078 Chain up to parent class in dispose function and also
11079 unref the elements in the toplevel_elements GList.
11080 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11081 Always return a reference in gst_xml_get_element() rather
11082 than only sometimes.
11084 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11085 Don't leak GstXml object.
11087 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11089 * docs/gst/gstreamer-sections.txt:
11090 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11093 * libs/gst/base/gstbasetransform.c:
11094 (gst_base_transform_transform_caps):
11095 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11098 2006-08-21 Edward Hervey <edward@fluendo.com>
11100 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11101 Implement GObject::dispose virtual method in GstXML so we can free the
11102 top_elements GList.
11104 2006-08-21 Wim Taymans <wim@fluendo.com>
11106 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11107 (gst_buffer_create_sub):
11108 Copy duration/offset_end/caps when creating a subbuffer of the
11110 Make the subbuffer read-only when we make the metadata writable for
11111 now. Fixes #351768.
11113 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11114 Added check for metadata copy when creating subbuffers.
11116 2006-08-21 Edward Hervey <edward@fluendo.com>
11118 * libs/gst/base/gstbasetransform.c:
11119 (gst_base_transform_buffer_alloc):
11120 Only call downstream buffer_alloc if transform element is passthrough
11121 or always_in_place. Closes #350449.
11123 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11126 ChangeLog surgery to add comments to previous changes
11128 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11133 * gst/gstpad.c: (gst_pad_set_active):
11134 Be more verbose in the log
11136 * libs/gst/base/gstbasetransform.c:
11137 (gst_base_transform_transform_caps):
11138 Simplify caps to get rid of duplicates, fixes #345444
11140 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11144 Use these optimizations only internally.
11146 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11148 * gst/gstvalue.c: (gst_value_compare_list),
11149 (gst_value_compare_fraction_range),
11150 (gst_value_intersect_fraction_fraction_range),
11151 (gst_value_intersect_fraction_range_fraction_range),
11152 (gst_value_subtract_fraction_fraction_range),
11153 (gst_value_subtract_fraction_range_fraction_range),
11154 (gst_value_get_compare_func), (gst_value_compare),
11155 (gst_value_compare_with_func):
11157 Saves the expensive lookup of the compare function in many cases
11160 2006-08-18 Edward Hervey <edward@fluendo.com>
11162 * tests/check/gst/gstinfo.c: (gst_info_suite):
11163 Disable test that require gstdebug if it wasn't built in core.
11165 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11167 * docs/random/ensonic/logging.txt:
11170 * gst/gstinfo.c: (gst_debug_log_default):
11171 reorder fields, save some columns, add optional color codes for log
11174 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11176 * docs/random/ensonic/logging.txt:
11177 add ideas about making the logs a bit more useful
11179 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11181 * docs/pwg/advanced-events.xml:
11182 * docs/pwg/titlepage.xml:
11183 Update for 0.10 API (#340627). Add myself
11186 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11188 * docs/libs/gstreamer-libs-docs.sgml:
11189 * docs/libs/gstreamer-libs-sections.txt:
11190 * libs/gst/check/gstbufferstraw.c:
11191 Make gstcheck stuff show up in docs (still needs to
11192 be documented properly though).
11194 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11196 * docs/gst/gstreamer-sections.txt:
11198 * gst/gst.c: (init_post):
11199 * gst/gst_private.h:
11200 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11202 * gst/gstquery.c: (gst_query_new_position),
11203 (gst_query_set_position), (gst_query_parse_position),
11204 (gst_query_new_duration), (gst_query_set_duration),
11205 (gst_query_parse_duration), (gst_query_new_convert),
11206 (gst_query_set_convert), (gst_query_parse_convert),
11207 (gst_query_new_segment), (gst_query_set_segment),
11208 (gst_query_parse_segment), (gst_query_new_seeking),
11209 (gst_query_set_seeking), (gst_query_parse_seeking):
11210 Add internal helpers for pre-registering quarks from static strings
11211 and using the quark values directly instead of looking them up when
11212 creating and parsing queries. Can be used for event construction too.
11215 2006-08-16 Wim Taymans <wim@fluendo.com>
11220 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11222 * gst/gstutils.c: (gst_util_set_value_from_string):
11223 Fix memleak (#351502).
11225 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11226 Add unit test for most of gst_util_set_value_from_string()
11227 (not that one would want to encourage use of this function).
11229 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11231 * libs/gst/check/gstcheck.h:
11232 Use const gchar * variables in fail_unless_equals_string
11233 macro to avoid compiler warnings (and don't use tabs for
11236 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11238 * tools/gst-launch.c: (print_tag):
11239 More space on the left for the tag names, to cater
11240 for the 'extended comment' tag (not touching the
11241 string for the first line since it's translated).
11243 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11245 * libs/gst/check/gstcheck.h:
11246 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11247 print something when they fail.
11249 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11251 * docs/gst/gstreamer-sections.txt:
11252 * gst/gsttaglist.c: (_gst_tag_initialize):
11253 * gst/gsttaglist.h:
11254 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11255 Also change merge function for GST_TAG_COMMENT to
11258 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11260 * gst/gstinfo.c: (gst_debug_print_object):
11261 Make GST_PTR_FORMAT print messages as well.
11263 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11264 (GST_START_TEST), (gst_info_suite):
11267 2006-08-14 Edward Hervey <edward@fluendo.com>
11269 * gst/gstelementfactory.c: (gst_element_register):
11270 If the GstElementClass doesn't have a GstElementDetails with all fields
11271 filled up correctly (longname, description AND author), then error out
11272 nicely instead of crashing.
11274 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11276 * gst/gststructure.c:
11277 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11280 Expand on the difference between arrays and lists as we use them.
11282 2006-08-14 Wim Taymans <wim@fluendo.com>
11284 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11285 If the parent state change function failed, don't assume we can safely
11286 stop the source, this will be done when the pads are deactivated.
11288 2006-08-14 Wim Taymans <wim@fluendo.com>
11291 * gst/gsttask.c: (gst_task_join):
11294 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11295 (gst_pad_stop_task):
11296 When pad (de)activation failed for some reason, restore the old
11297 activation mode and set the pad to flushing instead of assuming the
11298 pad is deactivated.
11299 If the _task_join() failed, reinstall the task on the pad so that it can
11300 be stopped later and return an error.
11302 2006-08-11 Andy Wingo <wingo@pobox.com>
11305 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11306 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11307 is only for users of API that don't want to see deprecated
11308 functions in the headers; people that want to compile out
11309 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11310 CFLAGS. Fixes the build of multifdsink, or will soon..
11312 2006-08-11 Wim Taymans <wim@fluendo.com>
11314 * docs/gst/gstreamer-sections.txt:
11315 Add GstClockClass vmethod docs.
11318 Mark #endif with comment for associated #if
11320 * gst/gstclock.c: (gst_clock_id_wait):
11322 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11323 most clock implementations.
11325 Flesh out docs about resolution methods.
11326 API: GstClockClass::wait_jitter
11328 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11329 (gst_system_clock_async_thread),
11330 (gst_system_clock_id_wait_jitter_unlocked),
11331 (gst_system_clock_id_wait_jitter):
11332 Use base class wait_jitter variant for improved performance
11333 due to less clock polling.
11335 2006-08-11 Edward Hervey <edward@fluendo.com>
11337 * gst/gst.c: (gst_init_check), (init_post):
11338 Set gst as being initialized before scanning/updating the registry,
11339 since there might be my python plugin loader that calls gst_init() and
11340 we don't want to loop back in.
11343 2006-08-11 Wim Taymans <wim@fluendo.com>
11345 * docs/design/part-qos.txt:
11346 Bring docs in line with the code. Mostly the sign of the jitter was
11347 wrong in the docs. Fixes #349943.
11350 Fix the docs for the jitter.
11352 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11353 (gst_event_parse_tag), (gst_event_new_buffer_size),
11354 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11355 (gst_event_new_seek), (gst_event_parse_seek),
11356 (gst_event_new_navigation):
11357 Make sure the GstStructure has no parent when creating custom
11359 Add some more argument checking so that we avoid 0.0 rates.
11360 Flesh out the docs for the QoS event some more.
11362 2006-08-11 Wim Taymans <wim@fluendo.com>
11364 * docs/gst/gstreamer-sections.txt:
11365 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11366 (ensure_current_registry_forking), (ensure_current_registry),
11367 (parse_one_option), (parse_goption_arg), (gst_deinit),
11368 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11371 Added API and command line option to disable registry forking in
11372 addition to the environment variable.
11373 Constify some static arrays.
11374 Added some more debug.
11375 Don't deinit twice.
11376 API: gst_registry_fork_is_enabled()
11377 API: gst_registry_fork_set_enabled()
11378 API: --gst-disable-registry-fork command line option
11381 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11383 * gst/gst.c: (gst_init):
11384 Fix typo in error message.
11386 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11388 * libs/gst/controller/gstcontroller.h:
11389 fix ABI size-correction
11391 * tests/check/libs/gdp.c: (gst_dp_suite):
11392 make tests that use deprecated API conditional
11394 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11396 * docs/libs/gstreamer-libs-sections.txt:
11397 * libs/gst/controller/gstcontroller.c:
11398 (_gst_controller_get_property), (_gst_controller_set_property),
11399 (_gst_controller_init), (_gst_controller_class_init):
11400 * libs/gst/controller/gstcontroller.h:
11401 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11402 (gst_object_set_control_rate):
11403 API: add gst_object_{s,g}et_control_rate(), add private data section,
11406 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11407 * libs/gst/dataprotocol/dataprotocol.h:
11408 add deprecation guards to make gtk-doc happy and allow disabling cruft
11410 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11412 * tests/check/Makefile.am:
11413 * tests/check/gst/.cvsignore:
11414 Let's enable the new unit test as well.
11416 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11419 * docs/gst/gstreamer-sections.txt:
11420 * gst/gstconfig.h.in:
11421 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11422 (_gst_info_printf_extension_ptr),
11423 (_gst_info_printf_extension_segment):
11424 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11425 register that lets us easily dump GstSegments into debug
11428 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11429 (info_segment_format_printf_extension), (gst_info_suite):
11430 Add simple unit test that logs a bunch of different segments (not
11431 valgrinded at the moment because of leaks in
11432 gst_debug_add_log_function).
11434 2006-08-09 Edward Hervey <edward@fluendo.com>
11436 * libs/gst/base/gstbasetransform.c:
11437 (gst_base_transform_buffer_alloc):
11438 Even if we can't figure out the proper format to request downstream,
11439 call buffer_alloc() downstream with the input parameters without setting
11440 the caps on the srcpad. This will force negotiation in the chain
11444 2006-08-08 Edward Hervey <edward@fluendo.com>
11446 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11447 Unlinking from a pad without a target is now a perfectly valid case
11448 which should NOT raise an assertion.
11449 This case would happen if a linked ghostpad its target set to NULL after
11450 it was previously linked.
11452 2006-08-08 Edward Hervey <edward@fluendo.com>
11454 * tests/check/libs/gdp.c:
11455 Also comment out the test (see below).
11457 2006-08-08 Edward Hervey <edward@fluendo.com>
11459 * tests/check/libs/gdp.c: (gst_dp_suite):
11460 Use the architecture information from config.h and not gcc macros
11461 in order to properly disable a test that fails on PPC64.
11463 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11465 * gst/gstelement.c: (gst_element_remove_pad):
11466 Don't crash printing the warning if the pad has no parent.
11468 2006-08-02 Wim Taymans <wim@fluendo.com>
11470 * libs/gst/dataprotocol/dataprotocol.c:
11471 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11472 (gst_dp_crc), (gst_dp_header_payload_length),
11473 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11474 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11475 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11476 (gst_dp_event_from_packet), (gst_dp_validate_header),
11477 (gst_dp_validate_payload):
11478 Make debug category static
11479 Constify the crc table.
11480 Do some more arg checking in public functions.
11481 Fix some docs and do some small cleanups.
11483 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11484 Add some more checks to see if GDP deals with bogus input.
11486 2006-07-31 Wim Taymans <wim@fluendo.com>
11488 * gst/gstvalue.c: (gst_value_compare_list):
11489 Fix GstValueList comparison code. Fixes #347293.
11491 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11492 Check to test GstValueList comparison.
11494 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11496 * gst/gstelementfactory.c: (gst_element_factory_create):
11497 Remove unnecessary ref/unref pair
11499 * gst/parse/grammar.y:
11500 Make sure to free the parse buffer on all code paths.
11501 Move a g_free up to the error handler where it's easier to see.
11503 * tests/check/gst/gstevent.c: (test_event):
11504 Extending timeout for downstream travelling events to 10 seconds to
11505 hopefully avoid intermittent failure on the buildbots.
11507 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11508 Don't manually set the state of the src element - it will happen as a
11509 natural consequence of the pipeline changing state, and that way it
11510 will do it in the right order too.
11512 2006-07-31 Wim Taymans <wim@fluendo.com>
11514 * libs/gst/base/gstbasetransform.c:
11515 (gst_base_transform_buffer_alloc):
11516 Use OBJECT_LOCK and refcounting to get the pad caps in the
11517 buffer_alloc function because the caps could change while we are
11518 busy with them. Fixes #349105
11520 2006-07-31 Wim Taymans <wim@fluendo.com>
11522 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11523 Protect _PAD_CAPS with OBJECT_LOCK.
11525 2006-07-31 Wim Taymans <wim@fluendo.com>
11527 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11528 (gst_pad_get_property), (gst_pad_activate_pull),
11529 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11530 (gst_pad_set_activate_function),
11531 (gst_pad_set_activatepull_function),
11532 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11533 (gst_pad_set_getrange_function),
11534 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11535 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11536 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11537 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11538 (gst_pad_set_acceptcaps_function),
11539 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11540 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11541 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11542 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11543 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11544 (gst_pad_configure_sink), (gst_pad_configure_src),
11545 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11546 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11547 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11548 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11549 (gst_pad_send_event):
11550 Use _DEBUG_OBJECT when it makes sense.
11551 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11552 Small cleanups and code reflows.
11553 Avoid caps refcounting in _accept_caps.
11554 Refactor alloc_buffer so that the code performed on the peer is in a
11555 separate function. Also if the pad does not implement a buffer alloc
11556 function, we should still check if the pad is flushing before falling
11557 back to the default allocator.
11559 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11561 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11562 Make all uses of identity and fakesink have silent=true to avoid
11563 serialising every passing data structure, which is breaking tests
11564 on FC4 for some unknown reason.
11566 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11568 * gst/parse/Makefile.am:
11569 * gst/parse/grammar.y:
11570 * gst/parse/parse.l:
11571 Reverted previous patch as it required to bump the flex dependency to
11572 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11574 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11576 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11578 * gst/parse/Makefile.am:
11579 * gst/parse/grammar.y:
11580 * gst/parse/parse.l:
11581 push & pop the state of the lexer for reentrant use case
11584 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11586 * libs/gst/base/gstbasesrc.h:
11587 Note in the docs that the ::newsegment vfunc is not actually used by
11590 2006-07-28 Wim Taymans <wim@fluendo.com>
11592 * libs/gst/base/gstcollectpads.c:
11593 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11594 (gst_collect_pads_clear), (gst_collect_pads_flush),
11595 (gst_collect_pads_event), (gst_collect_pads_chain):
11596 When flushing a pad, also clear the queued buffer so that we don't
11597 accidentally use it when we shouldn't.
11598 Fix leaks by inreffing incomming buffer.
11599 Flush out queued buffers in case of errors.
11602 2006-07-28 Wim Taymans <wim@fluendo.com>
11604 * docs/random/phonon-gst:
11605 Random notes about a Phonon backend.
11607 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11609 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11611 * tests/check/libs/gdp.c: (gst_dp_suite):
11612 Take a whack at fixing the ppc compile using a different define to
11613 disable the broken test.
11615 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11616 Remove excess g_print()
11618 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11620 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11621 Oops, meant to uncomment this line too to dampen the noise a bit.
11623 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11625 * gst/parse/grammar.y:
11626 * gst/parse/parse.l:
11627 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11628 (GST_START_TEST), (parse_suite):
11629 Fix some of the leaks exposed by extending the parse-launch testsuite,
11630 and move the 3 I can't figure out into a separate test that won't run
11631 the pipelines unless the appropriate line is uncommented.
11633 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11635 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11636 Requesting 0 bytes before the end of the file should result in
11637 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11640 2006-07-27 Wim Taymans <wim@fluendo.com>
11642 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11643 Fix useless assert, a uint is always positive.
11645 * gst/gststructure.c: (gst_structure_nth_field_name),
11646 (gst_structure_foreach), (gst_structure_map_in_place):
11647 Check input arguments for public functions to avoid obvious crashes.
11649 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11650 * plugins/elements/gstfakesink.h:
11651 Do less useless typechecking.
11653 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11655 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11656 Do not use mmap() by default since there are a number of error
11657 conditions that we would like to handle in a non-fatal way that
11658 will result in a SIGBUS if we use mmap(). Examples: external
11659 devices (USB harddrive, portable music player) being unplugged
11660 while in use; file on mounted CD/DVD that can't be read because
11661 the medium is partly damaged. Fixes #348455 and #348475.
11663 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11666 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11667 rates are a gdouble
11669 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11671 * gst/gstregistry.c:
11672 Move big documentation comment into class section header, so that it
11673 appears in the API docs.
11675 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11677 * docs/gst/gstreamer-sections.txt:
11678 Oops. Commit the docs additions too for new API.
11679 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11681 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11683 * gst/gststructure.c: (gst_structure_id_set),
11684 (gst_structure_id_set_valist):
11685 * gst/gststructure.h:
11686 Add API for setting values into structures without performing
11687 a quark lookup, if the appropriate quark is already known.
11689 API: gst_structure_id_set
11690 API: gst_structure_id_set_valist
11692 * gst/parse/grammar.y:
11693 * gst/parse/parse.l:
11694 Remove some dead code shown by the coverage information.
11695 Don't throw a critical g_warning when encountering a syntax error,
11696 just warn and let the normal error path handle it.
11698 * plugins/elements/gstelements.c:
11699 Bump the rank of filesink up to PRIMARY so that it is preferred over
11700 gnomevfssink for file:// sink uri's
11702 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11703 (GST_START_TEST), (run_delayed_test),
11704 (gst_parse_test_element_base_init),
11705 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11706 (gst_parse_test_element_change_state),
11707 (gst_register_parse_element), (parse_suite):
11708 Beef up the tests for parse syntax to check that more error cases
11709 fail as they are supposed to. Increases the test coverage a bit.
11711 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11713 * docs/manual/basics-elements.xml:
11714 Fix gst_element_link() example.
11717 Mention in API docs that one should usually gst_bin_add()
11718 elements to a bin or pipeline before doing the linking.
11720 2006-07-26 Wim Taymans <wim@fluendo.com>
11722 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11723 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11724 Avoid function call for known types by keeping the buffer and
11725 subbuffer GType global.
11727 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11728 Random silly optimisations in read() path.
11730 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11732 * tools/gst-launch.c: (main):
11733 If the top-level of the parse is a normal bin, it doesn't do the
11734 right logic to run as a top-level element, so place it inside a
11737 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11739 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11740 Remove superfluous g_object_notify() calls, GObject does
11741 that for us automatically.
11743 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11746 on Win32, use dllspec to export the debug category symbols
11748 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11750 * gst/gsttaglist.c: (_gst_tag_initialize):
11751 Allow more than one GST_TAG_IMAGE per taglist.
11753 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11755 * gst/gstminiobject.c:
11757 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11758 (gst_fd_src_create):
11759 log recurring events at LOG level
11760 add more debug for when the fd gets set
11762 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11764 * gst/gstparse.c: (gst_parse_launch):
11765 Also remove reentrance checks if flex is MT safe (#348179)
11766 Fix my empty ChangeLog entry below
11768 2006-07-21 Andy Wingo <wingo@pobox.com>
11770 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11772 * libs/gst/check/Makefile.am
11773 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11774 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11775 * libs/gst/check/gstbufferstraw.h:
11776 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11777 functions, thus proving I am still a GStreamer haxor. OK I wrote
11778 them a long time ago, but anyways.
11780 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11783 * gst/gstparse.c: (gst_parse_launch):
11784 Check for flex version and omit mutex if we have a MT save flex
11787 2006-07-21 Wim Taymans <wim@fluendo.com>
11789 * gst/gstparse.c: (gst_parse_launch):
11790 Protect recursive calls to _parse with a recursive mutex
11793 2006-07-21 Wim Taymans <wim@fluendo.com>
11795 * tests/check/gst/gstpad.c: (GST_START_TEST):
11798 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11800 * gst/gstparse.c: (gst_parse_launch):
11801 Do not hang on recursive usage of gst_parse_launch()
11803 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11805 * gst/gsttaglist.c:
11806 Add some more docs, comments and FIXME 0.11s here and there
11807 and also fix some typos.
11809 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11811 * gst/gstsegment.h:
11812 Convert tabs to spaces for better readability.
11814 2006-07-20 Edward Hervey <edward@fluendo.com>
11816 * tests/check/libs/gdp.c: (gst_dp_suite):
11817 the test_buffer test fails at line 140 on ppc64 at the following
11819 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11820 GST_BUFFER_FLAG_IN_CAPS),
11821 "GST_BUFFER_IN_CAPS flag should have been copied !");
11822 See bug #348114 for more details.
11824 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11826 * docs/pwg/advanced-scheduling.xml:
11828 Fix typos (#348000).
11830 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11832 * docs/pwg/intro-basics.xml:
11833 Fix wrong links (#347927).
11835 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11837 * gst/gstregistry.h:
11838 * gst/gstregistryxml.c: (load_feature),
11839 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11840 * win32/common/config.h:
11841 make --disable-index work (#342564)
11843 2006-07-18 Wim Taymans <wim@fluendo.com>
11845 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11849 The attached patch adds two missing defines to gsttrace.h when tracing
11850 is disabled. It also corrects one existing define.
11853 2006-07-17 Wim Taymans <wim@fluendo.com>
11855 * docs/gst/gstreamer-sections.txt:
11856 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11858 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11859 Add two functions to check and change the SIGSEGV behaviour
11860 when loading plugins.
11861 Don't mess with the SIGSEGV handler when we were told not to.
11863 API: gst_segtrap_is_enabled
11864 API: gst_segtrap_set_enabled
11866 2006-07-14 Wim Taymans <wim@fluendo.com>
11868 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11869 * tests/check/elements/filesrc.c: (GST_START_TEST):
11870 Revert fix for regression in #347408 after release.
11872 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11874 Patch by: Antoine Tremblay <hexa00 at gmail com>
11876 * gst/gstutils.c: (gst_element_unlink):
11877 Free iterator when done (#347311).
11879 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11880 And add a test case for this.
11882 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11885 Bump nano back to CVS
11887 === release 0.10.9 ===
11889 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11892 releasing 0.10.9, "On the road again"
11894 2006-07-13 Wim Taymans <wim@fluendo.com>
11896 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11897 * tests/check/elements/filesrc.c: (GST_START_TEST):
11898 Revert pull-0 fix for release. Disable check. Fixes #347408.
11900 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11902 * libs/gst/dataprotocol/dataprotocol.c:
11903 (gst_dp_event_from_packet_1_0):
11904 Fixes #347337: failure to deserialize event packets with
11905 empty payload (only event type)
11907 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11910 do not install a .c file in the header directory
11912 2006-07-13 Edward Hervey <edward@fluendo.com>
11914 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11915 GhostPad no longer implicitely use the padtemplates of the targets.
11918 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11920 * gst/gstvalue.c: (gst_value_compare_list),
11921 (gst_value_compare_array), (_gst_value_initialize):
11922 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11923 Make GstValueArray comparison be order dependent as designed.
11924 Add checks for value lists and value array comparisons.
11927 2006-07-11 Edward Hervey <edward@fluendo.com>
11929 * gst/gstbin.c: (activate_pads),
11930 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11931 (gst_bin_change_state_func):
11932 (de)activate src pads before calling state_change on the childs.
11933 This is to avoid the case where a src ghostpad is blocked (holding the
11934 stream lock), which would block the deactivation of the ghostpad's
11936 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11937 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11938 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11939 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11940 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11941 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11942 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11943 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11944 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11945 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11946 (gst_ghost_pad_class_init),
11947 (gst_ghost_pad_internal_do_activate_push),
11948 (gst_ghost_pad_internal_do_activate_pull),
11949 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11950 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11951 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11952 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11953 GhostPads now create their internal GstProxyPad at creation (and not
11954 when they're linked, as it was being done previously).
11955 The internal and target pads are linked straight away.
11956 The data will also travel through the other pad in order to make
11957 pad blocking and probes non-hackish (the probe/block now really happens
11958 on the GhostPad and not on the target).
11959 * gst/gstpad.c: (gst_pad_set_blocked_async),
11960 (gst_pad_link_prepare), (gst_pad_push_event):
11961 Remove previous ghostpad cruft.
11962 * gst/gstutils.c: (gst_pad_add_data_probe),
11963 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11964 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11965 (gst_pad_remove_buffer_probe):
11966 Remove previous ghost pad cruft.
11967 Added more detailed debug statements.
11968 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11969 Fix the testsuite for refcounting changes.
11970 The comments about who has references were correct, but the refcount
11971 being checked wasn't the same (!?!).
11975 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11977 * docs/gst/gstreamer-sections.txt:
11978 * gst/gstconfig.h.in:
11979 More docs for configuration options, add docs to gtk-doc.
11981 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11984 * gst/gstconfig.h.in:
11985 * win32/common/config.h:
11986 Fix build when disabling tracing (fixes #344016). Also start to document
11987 the defines that disable the sub-systems.
11989 2006-07-10 Edward Hervey <edward@fluendo.com>
11991 * gst/gst.c: (ensure_current_registry_forking):
11992 let's make valgrind happy...
11994 2006-07-09 Wim Taymans <wim@fluendo.com>
11996 * gst/gstelement.c: (activate_pads),
11997 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11998 Better pad activation code: Reset the collect value too on resync.
12001 2006-07-09 Wim Taymans <wim@fluendo.com>
12003 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12004 (gst_pad_activate_push):
12005 Use some more macros where it makes sense.
12006 Allow pad mode switching instead of asserting. When a pad
12007 is activated in one mode and we activate it in another,
12008 deactivate it first before activating it in a different mode.
12011 2006-07-08 Andy Wingo <wingo@pobox.com>
12013 * tools/gst-launch.c (main): Handle err == NULL.
12015 * gst/gst.c (init_post, ensure_current_registry)
12016 (ensure_current_registry_forking)
12017 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12018 factoring out the registry scanning into separate functions. Don't
12019 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12020 Better environment var name/interface suggestions accepted.
12022 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12024 * gst/gstobject.c: (gst_object_set_name_default),
12025 (gst_object_set_name):
12026 Random micro-optimisation: don't use a hash table
12027 with strings as keys and the usual strdup/strcmp
12028 involved, but rather just use the GQuark of the
12029 type name as key, since it needs to be looked up
12030 anyway to get the type name string.
12032 * tests/check/gst/gstobject.c: (GST_START_TEST):
12035 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12037 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12038 (gst_bin_iterate_all_by_interface):
12039 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12040 GTypes are gulongs and thus the top 4 bytes might be cut
12041 off on some platforms when doing GPOINTER_TO_INT, leading
12042 to invalid GTypes and bad things happening (see RH bug #179654).
12043 Also add a check to make sure the type passed in is really
12046 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12051 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12055 * gst-element-check.m4:
12056 * gst-element-check.m4.in:
12057 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12058 instead of the unversioned gst-inspect (#324176, #168659).
12060 2006-07-06 Wim Taymans <wim@fluendo.com>
12062 * gst/gstmessage.h:
12063 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12066 2006-07-06 Wim Taymans <wim@fluendo.com>
12068 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12069 (gst_base_src_wait), (gst_base_src_update_length),
12070 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12071 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12072 (gst_base_src_loop), (gst_base_src_start),
12073 (gst_base_src_activate_pull):
12075 blocksize == 0 now means the default blocksize when working in push
12077 Remove some pointless asserts in _wait function.
12078 Fix offset/length calculations and EOS handling. We can now pull 0
12079 bytes as well, which is allowed.
12080 use _check_get_range() to decide if we can operate in _pull based
12082 Fix refcounting leak when check_get_range function was not
12084 API GstBaseSrc::blocksize range can be 0 too now (default)
12086 * tests/check/elements/filesrc.c: (GST_START_TEST),
12088 Added check to test _get_range() behaviour.
12090 2006-07-06 Wim Taymans <wim@fluendo.com>
12092 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12093 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12094 (gst_pad_pull_range):
12096 Lots of comments and docs added to the pad functions.
12097 Flesh out the expected behaviour of the get_range() functions.
12099 2006-07-06 Wim Taymans <wim@fluendo.com>
12104 * gst/gstiterator.h:
12108 Remove comma at end of enumerator list.
12110 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12112 * win32/common/libgstbase.def:
12113 * win32/common/libgstdataprotocol.def:
12114 * win32/common/libsgtreamer.def:
12115 Add new exported functions.
12117 2006-07-05 Wim Taymans <wim@fluendo.com>
12119 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12120 Add some more docs here and there.
12122 2006-07-05 Wim Taymans <wim@fluendo.com>
12124 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12125 (gst_base_sink_loop), (gst_base_sink_get_position):
12126 When operating in pull mode update the offset so that we
12129 2006-07-05 Wim Taymans <wim@fluendo.com>
12131 * gst/gstregistryxml.c: (read_string):
12132 Avoid strdup. (will happen in libxml, but hey!)
12135 Add some more docs.
12137 2006-07-05 Wim Taymans <wim@fluendo.com>
12139 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12140 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12141 (gst_buffer_suite):
12142 No point in checking if the size of the subbuffer > 0, the
12143 code handles it correclty as demonstrated by unit test.
12144 Also add a unit test for the zero sized _new_and_alloc and
12145 _copy. Fixes #346663.
12147 2006-07-05 Wim Taymans <wim@fluendo.com>
12149 * libs/gst/base/gstbasetransform.c:
12150 (gst_base_transform_prepare_output_buffer),
12151 (gst_base_transform_buffer_alloc),
12152 (gst_base_transform_handle_buffer):
12153 Make sure the buffer we pass to transform_ip has a refcount of
12154 1 and thus is writable. Fixes #343196
12156 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12158 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12159 (gst_file_src_init), (gst_file_src_set_property),
12160 (gst_file_src_get_property), (gst_file_src_map_region):
12161 * plugins/elements/gstfilesrc.h:
12162 Add "sequential" property, off by default, to use madvise and hint
12163 to the kernel that sequential access is desired.
12164 Touch all retrieved pages by default to ensure they are pulled
12165 into memory. (Closes #345720)
12167 2006-07-03 Wim Taymans <wim@fluendo.com>
12169 * docs/design/part-block.txt:
12170 * docs/design/part-dynamic.txt:
12171 Small docs updates.
12173 2006-07-03 Wim Taymans <wim@fluendo.com>
12175 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12176 (gst_caps_unref), (gst_static_caps_get),
12177 (gst_caps_append_structure):
12178 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12179 Use GSlice when the glib we build against is >= 2.10
12181 2006-07-03 Wim Taymans <wim@fluendo.com>
12183 * gst/gstelement.c: (gst_element_pads_activate):
12184 Small cleanup in pad activation code.
12186 2006-07-03 Wim Taymans <wim@fluendo.com>
12188 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12190 * gst/gst-i18n-app.h:
12191 * gst/gst-i18n-lib.h:
12192 * tools/gst-inspect.c: (print_signal_info):
12193 The attached patch will make the inclusion of gettext.h unconditional in
12194 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12195 libintl.h in tools/gst-inspect.c.
12196 This allows use of --disable-nls again and fixes #344642.
12198 2006-07-03 Edward Hervey <edward@fluendo.com>
12200 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12201 Implement pad blocking on events according to part-block.txt.
12202 More comments on behaviour.
12203 * tests/check/gst/gstevent.c: (test_event):
12204 Send event to peer pad of blocked pad (else it will block).
12206 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12208 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12209 (gst_check_run_suite):
12210 if we get the wrong message, give us the types as string
12211 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12213 * tests/check/elements/filesrc.c: (GST_START_TEST):
12214 add a test for trying to open a non-existing file
12216 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12218 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12219 add a test for adding self
12221 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12223 * libs/gst/check/gstcheck.h:
12224 add some assert_ as alias for fail_unless_*
12225 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12226 increase test coverage
12228 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12231 include lcov.mak for lcov coverage generation
12232 * tools/Makefile.am:
12235 2006-07-02 Edward Hervey <edward@fluendo.com>
12237 * tests/check/elements/.cvsignore:
12240 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12243 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12244 * tests/check/Makefile.am:
12245 clean up gcov files
12247 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12249 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12250 remove gst_caps_simplify; it was not declared and not used
12251 and deprecated in 0.8
12253 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12255 * docs/faq/gst-uninstalled:
12256 don't put empty paths on PYTHONPATH
12257 * docs/gst/gstreamer-sections.txt:
12258 remove some symbols that are not there
12260 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12262 * gst/gstcaps.c: (gst_caps_compare_structures):
12264 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12265 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12268 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12270 * libs/gst/dataprotocol/Makefile.am:
12271 build dataprotocol test by linking to the lib, instead of
12272 compiling the source, so we get coverage
12273 * tests/check/Makefile.am:
12274 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12275 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12276 add a test for filesrc
12278 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12280 * tests/check/gst/gststructure.c: (GST_START_TEST),
12281 (gst_structure_suite):
12282 Push coverage from 59.04% to 70.00%
12284 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12286 * tests/check/Makefile.am:
12287 gst-inspect every element; this makes sure that we also get
12288 coverage on element's get/set functions
12290 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12293 set CFLAGS and friends to -O0 if gcov is being used
12296 * libs/gst/base/Makefile.am:
12297 * libs/gst/check/Makefile.am:
12298 * libs/gst/controller/Makefile.am:
12299 * libs/gst/dataprotocol/Makefile.am:
12300 * libs/gst/net/Makefile.am:
12301 * plugins/elements/Makefile.am:
12302 * plugins/indexers/Makefile.am:
12303 add makefile rules to generate gcov data and clean up
12304 * tests/check/Makefile.am:
12305 add a coverage target that generates an html overview
12308 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12310 * tests/check/elements/fakesink.c:
12311 * tests/check/elements/fakesrc.c:
12312 * tests/check/elements/fdsrc.c:
12313 * tests/check/elements/identity.c:
12314 * tests/check/generic/sinks.c: (gst_sinks_suite):
12315 * tests/check/generic/states.c:
12316 * tests/check/gst/gst.c:
12317 * tests/check/gst/gstabi.c:
12318 * tests/check/gst/gstbin.c:
12319 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12320 * tests/check/gst/gstbus.c: (gst_bus_suite):
12321 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12322 * tests/check/gst/gstelement.c:
12323 * tests/check/gst/gstevent.c: (gst_event_suite):
12324 * tests/check/gst/gstghostpad.c:
12325 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12326 * tests/check/gst/gstmessage.c: (gst_message_suite):
12327 * tests/check/gst/gstminiobject.c:
12328 * tests/check/gst/gstobject.c:
12329 * tests/check/gst/gstpad.c:
12330 * tests/check/gst/gstpipeline.c:
12331 * tests/check/gst/gstplugin.c:
12332 * tests/check/gst/gstquery.c: (gst_query_suite):
12333 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12334 * tests/check/gst/gststructure.c:
12335 * tests/check/gst/gstsystemclock.c:
12336 * tests/check/gst/gsttag.c:
12337 * tests/check/gst/gsttask.c: (gst_task_suite):
12338 * tests/check/gst/gstutils.c:
12339 * tests/check/gst/gstvalue.c:
12340 * tests/check/libs/adapter.c:
12341 * tests/check/libs/basesrc.c:
12342 * tests/check/libs/collectpads.c:
12343 * tests/check/libs/controller.c:
12344 * tests/check/libs/gdp.c: (gst_dp_suite):
12345 * tests/check/libs/gstnetclientclock.c:
12346 * tests/check/libs/gstnettimeprovider.c:
12347 * tests/check/libs/libsabi.c: (libsabi_suite):
12348 * tests/check/libs/typefindhelper.c:
12349 * tests/check/pipelines/cleanup.c:
12350 * tests/check/pipelines/parse-launch.c:
12351 * tests/check/pipelines/simple-launch-lines.c:
12352 * tests/check/pipelines/stress.c: (stress_suite):
12355 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12357 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12358 * libs/gst/check/gstcheck.h:
12359 create a macro and function so that the simple unit test
12360 case can be just one macro to create main()
12362 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12364 * gst/gstbin.c: (gst_bin_restore_thyself):
12365 * gst/gstxml.c: (gst_xml_make_element):
12366 Fix deserialisation from XML. Set parent manually
12367 instead of using gst_bin_add(), since gst_bin_add()
12368 will unlink all pads of the element being added.
12371 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12373 Patch by: Peter Kjellerstedt <pkj at axis com>
12375 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12376 Fix missing g_strdup() and double free when using the
12377 --gst-plugin-load command line option (#346097).
12379 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12382 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12384 * libs/gst/net/gstnetclientclock.c:
12385 * libs/gst/net/gstnettimeprovider.c:
12386 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12388 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12390 * docs/manual/advanced-dataaccess.xml:
12391 Fix buffer probe example compilation in
12394 2006-06-22 Edward Hervey <edward@fluendo.com>
12396 * gst/gstelement.c: (gst_element_pads_activate):
12397 We need to deactivate src pads first and then sink pads.
12398 The reason is the src pads might be blocking while holding the streaming
12399 lock, so we need to deactivate them first so that deactivating the sink
12400 pads doesn't block (since it will require the streaming lock).
12402 2006-06-22 Wim Taymans <wim@fluendo.com>
12404 * libs/gst/base/gstbasetransform.c:
12405 (gst_base_transform_buffer_alloc):
12406 Forgot to remove two unneeded unrefs.
12407 Simplify a check _is_equal allready checks the obvious case.
12409 2006-06-22 Wim Taymans <wim@fluendo.com>
12411 * docs/design/part-block.txt:
12412 Some docs about what pad_block should do.
12414 2006-06-22 Wim Taymans <wim@fluendo.com>
12416 * gst/gstcaps.c: (gst_caps_replace):
12417 Fix crasher when passed NULL. Doc clarification.
12418 Optimize for the trivial case.
12420 * gst/gstpipeline.c: (gst_pipeline_change_state):
12423 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12424 Small documentation cleanup.
12426 * libs/gst/base/gstbasetransform.c:
12427 (gst_base_transform_buffer_alloc):
12428 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12429 is what we need and it avoids a whole lot of redundant
12430 refcount operations.
12432 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12434 Patch by: Philip Jägenstedt <philip at lysator liu se>
12436 * docs/manual/advanced-dataaccess.xml:
12437 Fix 'Embedding static elements' section to use
12438 GST_PLUGIN_DEFINE_STATIC (#345607).
12440 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12442 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12443 Attempt to 'fix' spuriously failing test case: it seems like the
12444 timeout of half a second is simply too small when the system is under
12445 load otherwise, and the timeout doesn't really seem to serve any
12446 particular purpose here. Give the pipeline a few seconds to preroll
12447 first, and then give it another half a second to go from PAUSED to
12448 PLAYING and marshal the message into the main thread.
12450 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12452 * tools/gst-feedback-m.m:
12453 Don't only use unversioned tools, try versioned tools as well
12456 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12458 * gst/gstbus.c: (gst_bus_class_init):
12459 Fix some typos, make docs more explicit.
12461 2006-06-20 Wim Taymans <wim@fluendo.com>
12463 * tests/check/gst/gstghostpad.c: (block_callback),
12464 (GST_START_TEST), (gst_ghost_pad_suite):
12465 Added some more ghostpad tests, mainly blocking
12468 2006-06-16 Wim Taymans <wim@fluendo.com>
12470 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12471 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12472 (gst_file_sink_event), (gst_file_sink_render):
12473 * plugins/elements/gstfilesink.h:
12474 Check if we can seek in the file instead of assuming
12475 we always can. Post an error when we are asked to seek in a
12476 non-seekable file (like a fifo). Fixes #343312.
12479 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12481 * tools/gst-launch.1.in:
12482 Un-garble (fourcc) bit in filtered caps section.
12484 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12486 * docs/manual/advanced-autoplugging.xml:
12487 * docs/manual/basics-helloworld.xml:
12488 * docs/manual/highlevel-components.xml:
12489 Don't leak bus reference in sample code.
12491 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12494 Add default for new --enable-plugin-docs switch.
12497 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12500 * docs/Makefile.am:
12501 Use new ENABLE_PLUGIN_DOCS conditional.
12503 2006-06-14 Wim Taymans <wim@fluendo.com>
12505 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12506 Make it clear with a FIXME and a real define what the #if 0
12507 previously disabled.
12509 2006-06-14 Wim Taymans <wim@fluendo.com>
12511 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12512 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12513 * libs/gst/base/gstbasetransform.c:
12514 (gst_base_transform_sink_eventfunc):
12515 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12516 Don't randomly and silently reset a segment when the format
12517 changes as this is a bug somewhere upstream. Fixes #330379.
12519 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12521 Patch by: Wouter Paesen <wouter at kangaroot net>
12523 * libs/gst/controller/gstcontroller.c:
12524 (gst_controlled_property_new):
12525 Fix controlling of float properties (#344849).
12527 * tests/check/libs/controller.c:
12528 (gst_test_mono_source_get_property),
12529 (gst_test_mono_source_set_property),
12530 (gst_test_mono_source_class_init), (GST_START_TEST):
12531 While we're at it, add some float stuff to unit test.
12533 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12536 * docs/images/gdp-header.svg:
12538 * docs/libs/Makefile.am:
12539 * docs/libs/gdp-header.png:
12540 * libs/gst/dataprotocol/dataprotocol.c:
12541 add it to the API docs
12542 * docs/manual/intro-motivation.xml:
12545 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12547 * gst/gst.c: (scan_and_update_registry), (init_post):
12548 If the fork()'ed child process can't write the updated registry cache
12549 file to disk for some reason, make it exit with a failure exit code,
12550 so that the parent can then re-scan the plugins itself and update the
12551 registry structures in memory and work with that (rather than failing
12552 when creating elements because seemingly no plugins are available).
12553 Refactor registry scanning code into separate function for this and
12554 also separate fork() and non-fork() code paths. Fixes #344748.
12556 2006-06-13 Wim Taymans <wim@fluendo.com>
12558 * docs/manual/advanced-dataaccess.xml:
12559 Fix wrong PluginDesc. Fixes #344755.
12561 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12563 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12564 Fix silly bug that prevented us from creating
12565 ~/.gstreamer-0.10 and writing the registry in one
12566 go (the first call to g_mkstemp() would overwrite the
12567 placeholder in the template string, so the second call
12568 to g_mkstemp() after creating the missing directory
12569 would then error out with 'invalid argument').
12571 2006-06-13 Edward Hervey <edward@fluendo.com>
12573 * gst/gst.c: (init_post):
12576 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12578 * gst/glib-compat-private.h:
12579 * gst/glib-compat.c:
12580 * gst/glib-compat.h:
12581 * gst/gstvalue.c: (gst_value_serialize_flags):
12582 remove GLib 2.6 compatibility code
12584 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12586 * gst/parse/Makefile.am:
12587 Fix build with 'make -j N' even more (#340016).
12589 2006-06-12 Wim Taymans <wim@fluendo.com>
12591 * docs/gst/gstreamer-sections.txt:
12594 2006-06-12 Wim Taymans <wim@fluendo.com>
12596 * gst/gstsegment.c: (gst_segment_set_duration),
12597 (gst_segment_set_last_stop), (gst_segment_set_seek),
12598 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12599 (gst_segment_to_running_time), (gst_segment_clip):
12600 Use G_UNLIKELY to help the compiler a bit.
12602 2006-06-12 Wim Taymans <wim@fluendo.com>
12604 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12606 * gst/gstevent.c: (gst_event_get_type):
12607 * gst/gstmessage.c:
12608 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12610 constify quark registration strings. Fixes #344115
12611 Avoid unneeded type checking is _pad_push() by internally
12612 calling gst_pad_chain_unchecked().
12614 2006-06-12 Wim Taymans <wim@fluendo.com>
12616 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12617 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12618 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12619 (gst_buffer_is_span_fast), (gst_buffer_span):
12620 Init _type for consistency.
12621 Use _FLAGS macro to avoid type check.
12622 Avoid unneeded type checks in subbufer code.
12624 2006-06-12 Wim Taymans <wim@fluendo.com>
12626 * gst/gst.c: (gst_debug_help):
12627 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12628 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12629 (gst_plugin_feature_list_free):
12630 * gst/gstregistry.c: (gst_registry_add_plugin),
12631 (gst_registry_add_feature), (gst_registry_plugin_filter),
12632 (gst_registry_feature_filter), (gst_registry_find_plugin),
12633 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12634 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12635 * gst/gstregistryxml.c: (load_feature),
12636 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12637 * gst/gstminiobject.c: (gst_mini_object_unref),
12638 (gst_mini_object_replace), (gst_value_mini_object_free),
12639 (gst_value_mini_object_copy):
12640 Use _CAST macros to avoid unneeded type checking.
12641 Added some more G_UNLIKELY.
12643 2006-06-12 Wim Taymans <wim@fluendo.com>
12646 Avoid unneeded type checking.
12647 API: GST_BUFFER_IS_DISCONT
12649 * gst/gstminiobject.h:
12650 Avoid type check in flag accessor.
12652 * gst/gstelementfactory.h:
12654 * gst/gstpluginfeature.h:
12656 API: GST_ELEMENT_FACTORY_CAST
12657 API: GST_PLUGIN_CAST
12658 API: GST_PLUGIN_FEATURE_CAST
12660 2006-06-12 Wim Taymans <wim@fluendo.com>
12662 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12663 (gst_object_unref):
12664 Add G_UNLIKELY in type registration.
12665 Avoid type check in _ref/_unref since that is also
12668 2006-06-12 Wim Taymans <wim@fluendo.com>
12670 * gst/gsterror.c: (gst_g_error_get_type):
12671 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12672 (gst_static_pad_template_get_type):
12673 * gst/gsttaglist.c: (gst_tag_list_get_type):
12674 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12675 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12676 * gst/gsturi.c: (gst_uri_handler_get_type):
12677 * gst/gstvalue.c: (gst_date_get_type):
12678 * gst/gstxml.c: (gst_xml_get_type):
12679 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12680 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12681 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12682 Add G_UNLIKELY in type registration.
12684 2006-06-12 Wim Taymans <wim@fluendo.com>
12686 * tools/gst-inspect.c: (print_signal_info):
12687 Properly print enum values.
12689 2006-06-12 Wim Taymans <wim@fluendo.com>
12691 * gst/gstinfo.c: (gst_debug_set_active),
12692 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12694 Add some G_[UN]LIKELY.
12695 Maintain __gst_debug_min to avoid formatting the arguments of
12696 debug messages that will be dropped anyway to avoid a lot of
12697 overhead from the debugging system.
12699 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12702 * po/POTFILES.skip:
12703 add missing files containing translatable strings, tell intltool about
12706 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12708 * tests/check/libs/.cvsignore:
12709 add test-binary to ignore list
12711 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12713 * docs/libs/gstreamer-libs-docs.sgml:
12714 reorder (put dp into a chapter) and indent
12716 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12721 === release 0.10.8 ===
12723 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12726 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12728 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12730 * gst/gst.c: (init_post):
12731 move pid declaration to declaration block
12733 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12735 * gst/gst.c: (init_post):
12736 use _exit() instead of exit() in our forked child; this ensures
12737 that none of the registered exit handlers from whatever is using
12738 GStreamer get executed. This fixes gnome-mixer-applet failing
12739 to load, because ORBit would shut down.
12740 Spotted by: Edward Hervey <edward@fluendo.com>
12741 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12744 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12749 === release 0.10.7 ===
12751 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12754 releasing 0.10.7, "Soepeke, ik zie ou"
12756 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12779 * win32/common/config.h:
12780 0.10.6.2 prerelease
12782 2006-06-07 Wim Taymans <wim@fluendo.com>
12784 * gst/gstindex.c: (gst_index_gtype_resolver):
12785 * tools/gst-xmlinspect.c: (print_plugin_info):
12786 Fix leak spotted by coverity checker. Fixes #343827
12787 Fix another other leak found by paolo borelli.
12789 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12791 * libs/gst/dataprotocol/dataprotocol.c:
12792 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12793 (gst_dp_version_get_type), (gst_dp_init),
12794 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12795 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12796 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12797 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12798 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12799 (gst_dp_packetizer_free):
12800 * libs/gst/dataprotocol/dataprotocol.h:
12801 API: add a GstDPPacketizer object, and create/free functions
12802 API: add GstDPVersion enum
12803 Add 1.0 event function that uses the string serialization
12804 Serialize more useful buffer flags
12807 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12809 * tests/check/Makefile.am:
12810 * tests/check/gst/gstabi.c:
12811 * tests/check/gst/struct_ppc64.h:
12812 * tests/check/libs/libsabi.c:
12813 * tests/check/libs/struct_ppc64.h:
12814 add ppc64 structure sizes
12816 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12818 * tests/check/Makefile.am:
12819 * tests/check/gst/gstabi.c:
12820 * tests/check/gst/struct_x86_64.h:
12821 * tests/check/libs/libsabi.c:
12822 * tests/check/libs/struct_x86_64.h:
12823 generate and add structure size lists for x86_64
12825 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12827 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12828 * libs/gst/check/gstcheck.h:
12829 factor out the method from tests that checks size of structures,
12830 and add code to generate the header containing these sizes
12831 * tests/check/gst/gstabi.c: (GST_START_TEST):
12832 * tests/check/gst/struct_i386.h:
12833 * tests/check/libs/libsabi.c: (GST_START_TEST):
12834 * tests/check/libs/struct_i386.h:
12837 2006-06-06 Michael Smith <msmith@fluendo.com>
12839 * gst/gstsegment.h:
12840 Don't use c++-style comments, fixes #343929
12842 2006-06-05 Edward Hervey <edward@fluendo.com>
12845 plugin_paths is not used if we build without registry support.
12847 * gst/gstsegment.c: (gst_segment_copy):
12848 _copy() was always returning NULL...
12850 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12852 * libs/gst/dataprotocol/dataprotocol.c:
12853 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12854 (gst_dp_packet_from_event):
12855 factor out CRC code
12857 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12859 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12860 make sure we unset caps
12862 2006-06-02 Michael Smith <msmith@fluendo.com>
12864 * libs/gst/check/gstcheck.c: (gst_check_init),
12865 (gst_check_chain_func):
12866 * libs/gst/check/gstcheck.h:
12867 Add a cond/mutex to the check support lib, signal this whenever we
12868 add to the buffers list. This will allow tests to not busy-wait on
12871 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12873 * libs/gst/dataprotocol/dataprotocol.c:
12874 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12875 (gst_dp_packet_from_event):
12876 factor out some common header init code
12878 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12880 * docs/libs/gstreamer-libs-sections.txt:
12881 * docs/libs/tmpl/gstdataprotocol.sgml:
12882 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12883 * libs/gst/dataprotocol/dataprotocol.h:
12884 API: make gst_dp_crc() public
12886 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12888 * plugins/indexers/gstindexers.c: (plugin_init):
12889 conditionally register fileindexer (fixes #343598)
12891 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12893 * gst/gsttagsetter.h:
12894 Can't cast ifaces to a class
12896 * libs/gst/net/gstnetclientclock.h:
12897 * libs/gst/net/gstnettimeprovider.h:
12898 * plugins/elements/gstfakesink.h:
12899 * plugins/elements/gstfakesrc.h:
12900 * plugins/elements/gstfdsink.h:
12901 * plugins/elements/gstfdsrc.h:
12902 * plugins/elements/gstfilesink.h:
12903 * plugins/elements/gstfilesrc.h:
12904 * plugins/elements/gstidentity.h:
12905 * plugins/elements/gstqueue.h:
12906 * plugins/elements/gsttee.h:
12907 * plugins/indexers/gstfileindex.c:
12908 * plugins/indexers/gstmemindex.c:
12909 * tests/old/examples/plugins/example.h:
12910 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12912 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12914 * libs/gst/dataprotocol/dataprotocol.c:
12915 (gst_dp_header_from_buffer):
12916 make sure we zero the whole ABI-compatible area
12918 2006-06-01 Wim Taymans <wim@fluendo.com>
12920 Patch by: Alessandro Decina <alessandro at nnva dot org>
12922 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12923 Make sure the EOS flag is cleared from pads after a flush
12924 or stop. Fixes #343538.
12926 * tests/check/libs/collectpads.c: (GST_START_TEST),
12927 (gst_collect_pads_suite):
12928 Added test for collectpads reusage after EOS.
12930 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12933 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12934 * win32/common/libgstbase.def:
12935 export gst_collect_pads_set_flushing
12936 * win32/common/libgstreamer.def:
12937 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12938 gst_value_fraction_multiply
12939 * win32/vs6/gst_inspect.dsp:
12940 add a link to intl.lib
12942 2006-05-30 Wim Taymans <wim@fluendo.com>
12944 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12945 (gst_collect_pads_chain):
12946 Handle the case where a pad is removed from the collection
12947 that could cause the other pads to become collectable.
12949 2006-05-30 Wim Taymans <wim@fluendo.com>
12951 * gst/gstelement.c:
12952 Clarify the use of _release_request_pad() and
12953 _get_request_pad() a bit better.
12955 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12956 (gst_adapter_take_buffer):
12957 Fix some doc and comment typos.
12959 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12961 * docs/gst/gstreamer-sections.txt:
12962 * docs/libs/gstreamer-libs-sections.txt:
12963 add declared symbols
12965 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12967 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12968 Add debug that can be enabled using a #define at the top of the file,
12969 for dumping stats about how late/early we were when waking up from
12970 waiting on the clock.
12972 2006-05-30 Wim Taymans <wim@fluendo.com>
12974 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12975 When rebuilding the pad list, don't leak the previous list.
12977 2006-05-30 Wim Taymans <wim@fluendo.com>
12979 Patch by: Lutz Mueller <lutz at topfrose dot de>
12981 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12982 (gst_base_src_get_query_types), (gst_base_src_update_length):
12983 Publish supported query types.
12984 Update last_stop field in get_range mode so the position
12985 query works. Fixes #342321.
12987 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12989 * docs/gst/gstreamer-sections.txt:
12990 * gst/gsttaglist.c: (_gst_tag_initialize):
12991 * gst/gsttaglist.h:
12992 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12994 2006-05-30 Wim Taymans <wim@fluendo.com>
12996 Patch by: Alessandro Decina <alessandro at nnva dot org>
12998 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12999 Unlock mutex when removing an unknown pad.
13002 * tests/check/Makefile.am:
13003 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13004 (push_event), (setup), (teardown), (GST_START_TEST),
13005 (gst_collect_pads_suite), (main):
13006 Added collecpads check, disabled for now as check crashes for
13009 2006-05-29 Wim Taymans <wim@fluendo.com>
13011 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13012 Don't leak pads lists.
13014 2006-05-29 Wim Taymans <wim@fluendo.com>
13016 * docs/libs/gstreamer-libs-sections.txt:
13017 * libs/gst/base/gstcollectpads.c:
13018 (gst_collect_pads_set_flushing_unlocked),
13019 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13020 (gst_collect_pads_stop):
13021 * libs/gst/base/gstcollectpads.h:
13022 API: gst_collect_pads_set_flushing()
13023 Added api to set the pads to flushing, useful for seeking
13024 code in elements using collectpads.
13025 Clear segment when receiving a flush.
13027 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13029 * gst/gst.c: (add_path_func), (init_post):
13030 Don't scan registry paths passed via --gst-plugin-path immediately
13031 (will crash, because absolutely nothing is set up and no types are
13032 registered etc.); do this later in init_post(). Fixes #343057.
13034 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13036 * gst/gst.c: (init_post):
13037 if we have fork, fork while reading/rebuilding the registry
13038 so the parent doesn't take the hit of having all plugins loaded
13039 in memory. Fixes #342777.
13041 Check if we have fork()
13042 * win32/common/config.h.in:
13045 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13047 * plugins/elements/gstelements.c:
13048 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13049 (gst_file_src_init), (gst_file_src_set_property),
13050 (gst_file_src_get_property), (gst_file_src_start):
13051 * plugins/elements/gstfilesrc.h:
13052 API: GstFileSrc::use-mmap
13054 Add a use-mmap property to enable easier testing of all code paths.
13055 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13056 in the absence of gnomevfssrc. (Closes #340501)
13058 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13060 * tools/gst-inspect.c:
13061 Add missing include, removes warning of ngettext not being defined on
13064 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13066 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13067 Handle NULL input and output pointers silently as a failed conversion,
13068 rather than g_warnings.
13070 2006-05-25 Wim Taymans <wim@fluendo.com>
13072 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13073 Initialize variable before using. Fixes #342820.
13075 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13077 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13078 Fix off-by-one bug that would only allow peeks of N-1 bytes
13079 from the start even if the buffer to typefind on contains
13080 in fact N bytes of data (makes vorbis typefinding from a
13081 vorbis identification header buffer work).
13083 * tests/check/Makefile.am:
13084 * tests/check/libs/.cvsignore:
13085 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13086 (gst_typefindhelper_suite), (main), (foobar_typefind),
13088 Add very basic unit test for gst_type_find_helper_for_buffer()
13089 that checks for the problem fixed above.
13091 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13093 * tools/gst-inspect.c: (print_interfaces),
13094 (print_element_properties_info), (print_element_list), (main):
13095 add more translatable strings
13097 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13099 Patch by: Julien Moutte <julien at moutte net>
13101 * docs/gst/gstreamer-sections.txt:
13102 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13104 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13105 (gst_fake_sink_preroll):
13106 * plugins/elements/gstfakesink.h:
13107 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13109 2006-05-23 Wim Taymans <wim@fluendo.com>
13111 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13113 Added _CUSTOM error and success GstFlowReturn that can be
13114 used be elements internally.
13115 Added macro to check for SUCCESS flowreturns.
13116 API: GST_FLOW_CUSTOM_SUCCESS
13117 API: GST_FLOW_CUSTOM_ERROR
13118 API: GST_FLOW_IS_SUCCESS
13120 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13121 Added check for GstFlowReturn sanity.
13123 2006-05-23 Wim Taymans <wim@fluendo.com>
13125 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13127 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13128 (gst_collect_pads_event):
13129 clear/reset segment info in FLUSH_STOP.
13132 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13134 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13135 (gst_collect_pads_check_collected):
13136 Flush queued buffer on _stop(), fixes playing again (#342454)
13138 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13140 * tests/check/gst/gststructure.c: (GST_START_TEST),
13141 (gst_structure_suite):
13142 add a test for a complete structure
13144 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13146 * docs/faq/developing.xml:
13147 * docs/faq/faq.xml:
13148 * docs/faq/troubleshooting.xml:
13149 * docs/faq/using.xml:
13150 Some minor FAQ updates that won't change the fact that
13151 our FAQ is badly structured, full of information hardly
13152 anyone new to GStreamer needs to know and lacking lots
13153 of information people constantly ask for.
13155 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13157 * gst/gstpad.c: (gst_pad_set_caps):
13158 Short-circuit gst_pad_set_caps if setting the existing
13159 caps pointer again, and avoid printing debug and
13160 reffing/unreffing the caps.
13162 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13163 There's actually no need to set the caps before pushing -
13164 the acceptcaps method will handle it anyway.
13166 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13168 * docs/gst/gstreamer-sections.txt:
13169 * win32/common/libgstreamer.def:
13170 * gst/gstutils.c: (gst_element_seek_simple):
13172 API: add gst_element_seek_simple() (#342238).
13174 2006-05-18 Edward Hervey <edward@fluendo.com>
13176 * gst/gsttypefind.c: (gst_type_find_get_type):
13177 * gst/gsttypefind.h:
13178 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13179 registered for GstTypeFind pointers. This allows wrapping the structure
13180 in bindings (i.e. gst-python).
13182 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13184 * gst/gsttagsetter.c:
13185 Docs additions and fixes (see #339918).
13187 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13189 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13190 The caps intersection algorithm can produce multiple copies of the
13191 caps. Until that is fixed, we need to simplify the result to be
13192 sure whether the allowed caps are fixed or not.
13194 * plugins/elements/gstqueue.c: (gst_queue_init),
13195 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13196 (gst_queue_push_one):
13197 Proxied buffer alloc should not set the caps on the source pad.
13198 When pushing buffers, we always accept the caps change that triggers.
13199 This prevents negotiation errors caused by caps changing mid-stream
13200 and then being refused on our source pad (because upstream is now
13201 refusing those caps).
13203 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13205 * tests/examples/helloworld/helloworld.c: (main):
13206 Must plug audioconvert and audioresample between decoder
13209 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13211 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13212 (load_feature), (load_plugin):
13213 Allow empty strings for some of the plugin fields so we don't
13214 drop valid plugin entries that were written out correctly
13217 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13219 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13220 Use g_remove and g_rename instead of remove and rename that don't
13221 handle utf8 characters. rename was failing for users who had specific
13222 characters in their name then the registry was built at each
13224 * win32/vs6/gst_inspect.dsp:
13225 * win32/vs6/gst_launch.dsp:
13226 * win32/vs6/libgstbase.dsp:
13227 * win32/vs6/libgstcoreelements.dsp:
13228 * win32/vs6/libgstreamer.dsp:
13229 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13230 build of libgstreamer and clean unused libraries in projects link
13233 2006-05-17 Edward Hervey <edward@fluendo.com>
13235 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13236 The queue is not responsible for pushing an EOS when receiving a fatal
13237 flow error. It's up to the real element driving the pipeline to do that.
13239 2006-05-16 Edward Hervey <edward@fluendo.com>
13241 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13242 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13243 buffer returned a fatal error. It should just send an EOS and stop
13245 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13246 when pushing buffers on the queue and will be able to handle the event.
13248 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13250 * docs/manual/basics-bins.xml:
13251 * docs/manual/basics-init.xml:
13252 Fix typos and minor errors in sample code (#341856).
13254 2006-05-16 Wim Taymans <wim@fluendo.com>
13256 * docs/design/part-qos.txt:
13257 Fix indexes in formulas to make more sense.
13259 2006-05-15 Wim Taymans <wim@fluendo.com>
13261 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13262 Don't report POSITION based on clock time if sync is
13263 disabled in a sink.
13265 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13268 Add cast to make compiler happy - refcount variable was a gint
13269 in GstObject but is a guint in GObject and g_atomic_int_get()
13272 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13274 * gst/parse/Makefile.am:
13275 chain commands using &&, which also makes parallel make work
13277 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13279 * docs/gst/gstreamer-sections.txt:
13282 * gst/gstmessage.h:
13285 === release 0.10.6 ===
13287 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13290 releasing 0.10.6, "Take the cannoli"
13292 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13294 * tools/gst-launch.c: (print_tag):
13295 Fix use of uninitialized variable in the hypothetical
13296 case that some broken plugin creates a GST_TAG_IMAGE
13297 tag containing a NULL buffer (#341667).
13299 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13301 * tools/gst-launch.c: (print_tag):
13302 Print something more intelligible for image tags when
13303 using the -t switch (#341556).
13305 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13310 define GST_MAJORMINOR so we have it available in win32/common/config.h
13311 Possibly remove it from our Makefile.am files later
13312 * win32/common/config.h:
13313 * win32/common/config.h.in:
13314 added GST_MAJORMINOR
13315 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13316 * win32/common/gstversion.h:
13319 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13322 Update win32 files listing.
13323 * win32/common/gstversion.h:
13324 Add GST_MAJORMINOR definition.
13325 * win32/common/libgstreamer.def:
13326 Add new exported functions.
13328 2006-05-12 Michael Smith <msmith@fluendo.com>
13330 * gst/gstplugin.c: (gst_plugin_load_file):
13331 If an so file has no plugin entry point, unload the module.
13333 2006-05-11 Wim Taymans <wim@fluendo.com>
13335 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13336 (gst_queue_set_property):
13337 Don't forget to signal the _chain or _loop function
13338 when the queue size or thresholds change since that might
13339 cause them to make progres again.
13341 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13343 * gst/gstclock.c: (gst_clock_class_init):
13344 * gst/gstindex.c: (gst_index_class_init):
13345 * gst/gstobject.c: (gst_object_class_init):
13346 * gst/gstpad.c: (gst_pad_class_init):
13347 * gst/gstpipeline.c: (gst_pipeline_class_init):
13348 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13349 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13350 * libs/gst/base/gstbasetransform.c:
13351 (gst_base_transform_class_init):
13352 * libs/gst/net/gstnetclientclock.c:
13353 (gst_net_client_clock_class_init):
13354 * libs/gst/net/gstnettimeprovider.c:
13355 (gst_net_time_provider_class_init):
13356 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13357 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13358 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13359 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13360 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13361 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13362 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13363 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13364 * plugins/elements/gsttee.c: (gst_tee_class_init):
13365 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13366 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13367 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13369 2006-05-11 Wim Taymans <wim@fluendo.com>
13371 * gst/gstbuffer.c: (_gst_buffer_initialize):
13372 Register subbufer along with the buffer type so that
13373 it does not accidentally gets registered from N
13374 different streaming threads in a non threadsafe way.
13376 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13380 * gst/gstmessage.h:
13381 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13382 gst_event_ref() and gst_message_ref() functions again
13383 (ugly hack, please do fix if there's a better way besides
13384 overrides.txt, which doesn't seem to work).
13386 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13388 * libs/gst/check/gstcheck.h:
13389 add an assert for setting state to avoid lots of repetitive code
13392 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13394 * gst/gstvalue.c: (gst_value_serialize_flags):
13395 fix a leak if no flags are set
13396 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13399 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13401 * docs/manual/basics-pads.xml:
13402 Expand a bit on caps and filtered links and update
13403 examples that were still using the no longer existing
13404 gst_pad_link_filtered() (#338206).
13406 2006-05-10 Wim Taymans <wim@fluendo.com>
13408 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13409 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13410 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13411 (gst_collect_pads_stop):
13412 * libs/gst/base/gstcollectpads.h:
13413 No need to call _stop in _finalize.
13414 Iterate the main pad list in _finalize.
13415 Added some more debug.
13416 Free lists and data in the right order.
13417 Also free data whem doing _remove_pad when stopped for
13418 backward compatibility protect ::started with PAD_LOCK as
13421 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13423 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13424 (gst_structure_parse_value):
13426 rename a method so that it actually says what it does better
13428 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13430 * gst/gstevent.c: (_gst_event_initialize):
13431 * gst/gstformat.c: (_gst_format_initialize):
13432 make sure some essential types used by events are registered
13433 as part of gst_init()
13434 * gst/gstvalue.c: (gst_value_serialize_flags):
13435 if no flags are set, serialize them to a value that represents NONE
13436 so that deserializing them works
13437 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13438 add tests for serialization and deserialization of flags
13440 2006-05-10 Wim Taymans <wim@fluendo.com>
13442 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13443 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13444 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13445 (gst_collect_pads_event), (gst_collect_pads_chain):
13448 Catch and return errors from the collect function
13449 Refuse data on eos pads.
13451 2006-05-10 Edward Hervey <edward@fluendo.com>
13453 * gst/gstinterface.h:
13454 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13455 GInterface type checking.
13456 They were previously using non-defined macros.
13458 2006-05-09 Wim Taymans <wim@fluendo.com>
13460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13461 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13462 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13463 (gst_collect_pads_start), (gst_collect_pads_stop),
13464 (gst_collect_pads_peek), (gst_collect_pads_pop),
13465 (gst_collect_pads_available), (gst_collect_pads_read),
13466 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13467 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13468 (gst_collect_pads_chain):
13469 * libs/gst/base/gstcollectpads.h:
13470 Clean up the mess that is collectpads, add comments and
13471 FIXMEs where needed.
13472 Maintain a separate pad list so we can add pads while
13473 collecting the other ones. For this we need a new separate
13475 Fix memory leak in finalize.
13476 Refactor some weird code to set/unset pad flushing flags, mark
13478 Don't crash in _available, _read, _flush when we're EOS.
13480 * tests/check/libs/.cvsignore:
13481 Ignore adapter check binary.
13483 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13485 * gst/gstindex.c: (gst_index_resolver_get_type):
13486 * plugins/elements/gstfakesink.c:
13487 (gst_fake_sink_state_error_get_type):
13488 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13489 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13490 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13491 Const-ify GEnumValue arrays.
13493 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13495 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13496 Add test case for flags + gst_buffer_make_metadata_writable().
13498 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13500 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13501 gst_buffer_make_metadata_writable() should maintain the
13502 buffer flags (those that make sense at least) (see #340859).
13504 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13506 * tools/gst-inspect.c:
13507 * tools/gst-launch.c:
13508 * tools/gst-typefind.c:
13509 * tools/gst-xmlinspect.c:
13511 Fix up includes: need to include stdlib.h in tools.h for exit().
13513 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13515 * gst/gsttaglist.c: (_gst_tag_initialize):
13516 * gst/gsttaglist.h:
13517 API: add GST_TAG_IMAGE tag (#340721).
13519 2006-05-08 Wim Taymans <wim@fluendo.com>
13522 Added some docs for the segment query.
13524 2006-05-08 Wim Taymans <wim@fluendo.com>
13526 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13527 (gst_base_src_loop), (gst_base_src_change_state):
13528 Always push non-flushing serialized events in the streaming
13531 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13533 * gst/gsterror.c: (_gst_stream_errors_init):
13534 Add a missing error string.
13536 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13538 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13539 Add applied_rate to the debug
13541 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13542 Copy applied_rate into the outgoing NEWSEGMENT event
13544 2006-05-08 Wim Taymans <wim@fluendo.com>
13546 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13548 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13549 (gst_base_sink_change_state):
13550 call ::unlock before taking the PREROLL_LOCK so we can safely
13551 handle elements that lock in ::render.
13554 2006-05-08 Edward Hervey <edward@fluendo.com>
13556 * autogen.sh: (CONFIGURE_DEF_OPT):
13557 Darwin's libtoolize is in fact called glibtoolize.
13558 Adding glibtoolize to the list of accepted names for libtoolize.
13560 2006-05-08 Wim Taymans <wim@fluendo.com>
13562 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13563 Unify error handling, don't post an error message
13564 when a push() returns EOS but perform our normal EOS
13565 handling code. Fixes #340772.
13567 2006-05-08 Wim Taymans <wim@fluendo.com>
13569 * docs/design/part-overview.txt:
13570 Make upsteam/downstream concepts more clear.
13571 Give an example of serialized/non-serialized events.
13573 * docs/design/part-events.txt:
13574 * docs/design/part-streams.txt:
13575 Mention applied_rate.
13577 * docs/design/part-trickmodes.txt:
13578 Mention applied rate, flesh out some more use cases.
13580 * gst/gstevent.c: (gst_event_new_new_segment),
13581 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13582 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13583 (gst_event_parse_tag), (gst_event_new_buffer_size),
13584 (gst_event_parse_buffer_size), (gst_event_new_qos),
13585 (gst_event_parse_qos), (gst_event_parse_seek),
13586 (gst_event_new_navigation):
13588 Add applied_rate field to NEWSEGMENT event.
13589 API: gst_event_new_new_segment_full()
13590 API: gst_event_parse_new_segment_full()
13592 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13593 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13594 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13595 * gst/gstsegment.h:
13596 Add applied_rate to GstSegment structure.
13597 Make calculation of stream_time and running_time more correct
13598 wrt rate/applied_rate.
13599 Add some more docs.
13600 API: GstSegment::applied_rate field
13601 API: gst_segment_set_newsegment_full();
13603 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13604 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13605 * libs/gst/base/gstbasetransform.c:
13606 (gst_base_transform_sink_eventfunc),
13607 (gst_base_transform_handle_buffer):
13608 Parse and use applied_rate in the GstSegment field.
13610 * tests/check/gst/gstevent.c: (GST_START_TEST):
13611 Add check for applied_rate field.
13613 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13614 (gstsegments_suite):
13615 Add more checks for various GstSegment operations.
13617 2006-05-08 Wim Taymans <wim@fluendo.com>
13619 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13620 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13621 (gst_base_sink_get_position), (gst_base_sink_change_state):
13622 Store the sync time of the buffer end position separatly in a
13623 new variable eos_rtime so we can properly sync the EOS event.
13625 Fix the docs for gst_base_sink_set_qos_enabled().
13626 Don't set segment start to invalid value when we receive a
13627 non TIME newsegment.
13628 get closer to handling position reporting for negative rates
13631 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13634 Docs about how to print caps for debug purposes.
13636 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13637 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13639 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13641 * gst/gstelement.c:
13642 use full enum names and preprend a '%' in docs strings to make recent
13643 gtk-doc turn that into a link
13645 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13647 * docs/manual/basics-bins.xml:
13648 * docs/manual/basics-bus.xml:
13649 * docs/manual/basics-pads.xml:
13650 Some typo fixes, some additions, some clarifications.
13652 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13654 * tools/gst-inspect.c: (main):
13655 * tools/gst-launch.c: (main):
13656 * tools/gst-run.c: (main):
13657 * tools/gst-typefind.c: (main):
13658 * tools/gst-xmlinspect.c: (main):
13659 Use the string passed to g_option_context_new() for
13660 what it's intended for - the program name is already
13663 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13665 * tools/Makefile.am:
13666 * tools/gst-inspect.c: (main):
13667 * tools/gst-launch.c: (main):
13668 * tools/gst-xmlinspect.c: (main):
13670 Add back --version command line option (#340460).
13672 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13673 Add --version option and use GOption for argument parsing; refactor a
13674 bit; accept directories as arguments and recurse into them; lastly,
13675 print a decent error message when things go wrong.
13677 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13679 * docs/manual/basics-bins.xml:
13680 Don't mention GstThread (#340611)
13681 * docs/manual/basics-elements.xml:
13682 Update link to GObject tutorial (#340607)
13684 2006-05-05 Wim Taymans <wim@fluendo.com>
13687 * gst/gstminiobject.c:
13688 Add note about refcounting and miniobject/buffer writeability
13689 to docs. Fixes #340604
13691 * gst/gstelementfactory.h:
13692 Added some explanation about @klass.
13694 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13696 * docs/manual/intro-motivation.xml:
13697 * docs/manual/manual.xml:
13698 Avoid CORBA & Bonobo references (#340598)
13700 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13702 * docs/manual/basics-bus.xml:
13703 * docs/manual/basics-pads.xml:
13704 Fix up some inaccuracies and omissions (#340609)
13706 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13708 * gst/gstghostpad.c:
13709 Small typo in docs (#340625)
13711 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13713 * gst/parse/Makefile.am:
13714 Make 'make -j' proof (see #340698).
13716 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13719 Require GLib-2.8 here as well.
13721 2006-05-05 Wim Taymans <wim@fluendo.com>
13723 * gst/glib-compat.c:
13724 * gst/gst.c: (init_pre):
13725 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13726 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13727 (gst_object_dispatch_properties_changed):
13729 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13730 * gst/gststructure.c: (gst_structure_set_valist):
13731 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13732 Remove pre glib2.8 compatibility, fixes #340508
13734 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13736 * gst/gsttaglist.h:
13737 Mention type of tags in doc blurbs.
13739 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13741 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13742 (gst_pad_configure_src), (gst_pad_push):
13743 Restore acceptcaps checking behaviour now that good plugins have
13746 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13748 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13755 * gst/gstmessage.c:
13759 * gst/parse/Makefile.am:
13760 * libs/gst/base/gstadapter.c:
13761 * libs/gst/base/gstbasesrc.c:
13762 * libs/gst/base/gstpushsrc.c:
13763 * libs/gst/base/gsttypefindhelper.c:
13764 * plugins/elements/gstfakesrc.c:
13765 * plugins/elements/gstidentity.c:
13766 Make sure gstprivate.h and/or config.h are
13767 always included first, otherwise some of our
13768 defines (like _FILE_OFFSET_BITS) might be
13769 redefined in the system headers. Fixes build
13770 on opensolaris (#340016).
13772 2006-05-04 Wim Taymans <wim@fluendo.com>
13774 * docs/libs/gstreamer-libs-sections.txt:
13775 API: addition: gst_adapter_take_buffer()
13777 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13778 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13779 (gst_adapter_available_fast):
13780 * libs/gst/base/gstadapter.h:
13781 Prepare for optimizing the hell out of this hugely inefficient
13783 Added gst_adapter_take_buffer() so we can at least start thinking
13784 about subbuffering and merging.
13785 Added some comments.
13787 * tests/check/Makefile.am:
13788 * tests/check/libs/adapter.c: (GST_START_TEST),
13789 (gst_adapter_suite), (main):
13790 Added GstAdapter check.
13792 2006-05-04 Wim Taymans <wim@fluendo.com>
13794 * docs/design/part-overview.txt:
13795 Fix some typos, add blurb about buffer flags.
13797 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13799 * docs/libs/gstreamer-libs-sections.txt:
13800 make sure GstBaseTransformClass shows up in the docs
13801 * libs/gst/base/gstbasetransform.c:
13802 * libs/gst/base/gstbasetransform.h:
13803 move docs so gtk-doc picks it up now
13805 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13807 * docs/libs/gstreamer-libs-sections.txt:
13808 add missing symbols to docs
13810 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13812 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13813 back out the newsegment handling change, see #340060 for ongoing
13816 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13818 * tools/gst-run.c: (get_candidates), (main):
13819 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13820 work); fix typo in error message. Fixes #340079.
13822 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13824 * common/Makefile.am:
13825 * docs/Makefile.am:
13826 * docs/faq/Makefile.am:
13827 * docs/gst/Makefile.am:
13828 * docs/libs/Makefile.am:
13829 * docs/manual/Makefile.am:
13830 * docs/plugins/Makefile.am:
13831 * docs/pwg/Makefile.am:
13832 * docs/slides/Makefile.am:
13834 * common/upload.mak:
13835 move upload.mak to common
13837 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13839 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13840 add more asserts on refcounts
13841 do more cleanup at end of tests
13842 fix test leaks showing in FC5
13844 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13846 * plugins/elements/gsttypefindelement.c:
13847 (gst_type_find_element_handle_event):
13848 reverted wrong change and reflowed code to avoid others falling into
13851 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13853 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13854 fix changelog entry about last collectpads change,
13855 add notes about proper fix
13857 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13860 * gst/gstregistry.c: (gst_registry_scan_path_level),
13861 (gst_registry_scan_path):
13862 * gst/gstregistry.h:
13863 only write out registry if it has changed, fixes #338339
13865 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13868 * gst/gstpipeline.c:
13869 * plugins/elements/gstcapsfilter.c:
13870 * plugins/elements/gstfakesink.c:
13871 * plugins/elements/gstfakesrc.c:
13872 * plugins/elements/gstfdsink.c:
13873 * plugins/elements/gstfdsrc.c:
13874 * plugins/elements/gstfilesink.c:
13875 * plugins/elements/gstfilesrc.c:
13876 * plugins/elements/gstidentity.c:
13877 * plugins/elements/gstqueue.c:
13878 * plugins/elements/gsttee.c:
13879 * plugins/elements/gsttypefindelement.c:
13880 (gst_type_find_element_handle_event):
13881 make GstElementDetails const
13883 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13885 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13886 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13887 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13888 more detailed debug and formatting cleanup,
13889 forward newsegments to src-pad (so that e.g. adder not eats them)
13891 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13893 * gst/gstutils.c: (gst_element_link_pads):
13894 cleanup double code
13896 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13898 * libs/gst/controller/gstcontroller.c:
13899 (gst_controller_sync_values):
13901 * tests/check/libs/controller.c: (GST_START_TEST),
13902 (gst_controller_suite):
13903 a new test for live value handling
13905 2006-04-28 Wim Taymans <wim@fluendo.com>
13907 * gst/gstutils.c: (push_and_ref):
13908 Added some more docs.
13909 Fix refcount issue whith gst_element_found_tags() helper
13910 function. Fixes #338335
13912 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13913 Added testsuite for gst_element_found_tags().
13915 2006-04-28 Michael Smith <msmith@fluendo.com>
13917 * gst/gstvalue.c: (gst_value_serialize_flags):
13918 Avoid NULL dereference when trying to serialize flags containing
13921 2006-04-28 Michael Smith <msmith@fluendo.com>
13923 * plugins/elements/gsttypefindelement.c:
13924 (gst_type_find_element_handle_event):
13925 If we get EOS before any data is accumulated, don't use
13926 uninitialised local variables.
13928 2006-04-28 Michael Smith <msmith@fluendo.com>
13930 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13931 (gst_dp_event_from_packet):
13932 Fixes in reading/writing events over GDP (not currently used?) -
13933 dereferencing NULL events for unknown/invalid event types, memory
13934 leak, and change g_warning to GST_WARNING.
13936 2006-04-28 Wim Taymans <wim@fluendo.com>
13938 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13939 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13940 (gst_base_sink_get_position), (gst_base_sink_change_state):
13941 When frame dropping is enabled, we should not ignore frames
13942 without a duration.
13943 Update some documentation.
13945 2006-04-28 Wim Taymans <wim@fluendo.com>
13947 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13948 (gst_base_src_send_event), (gst_base_src_change_state):
13949 Documentation updates.
13951 2006-04-28 Wim Taymans <wim@fluendo.com>
13953 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13954 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13955 handle EAGAIN, EINTR and short writes correctly. Also clean
13956 up some error cases, avoid a deadlock on bad file descriptors and
13957 use GST_DEBUG_OBJECT.
13960 2006-04-28 Wim Taymans <wim@fluendo.com>
13962 * gst/gstvalue.c: (gst_value_serialize_buffer),
13963 (gst_value_deserialize_buffer):
13964 Don't try to serialize a GValue with a NULL buffer.
13967 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13968 Added check for serialisation of NULL buffers.
13970 2006-04-28 Wim Taymans <wim@fluendo.com>
13972 * gst/gstminiobject.c: (gst_value_take_mini_object):
13973 Taking a NULL miniobject is valid, fix the case where
13974 we try to unref the NULL miniobject.
13976 2006-04-28 Wim Taymans <wim@fluendo.com>
13978 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13980 * gst/gstbin.c: (gst_bin_handle_message_func):
13982 Don't leak bin refcount when a state recalc is
13983 in progress and we delay another one #339808.
13985 2006-04-28 Wim Taymans <wim@fluendo.com>
13987 * docs/design/part-TODO.txt:
13988 Mention QoS as an ongoing work item.
13990 * docs/design/part-buffering.txt:
13991 New doc about buffering that needs to be fleshed out
13994 * docs/design/part-qos.txt:
13995 More QoS policy for decoders/demuxers/transforms
13997 * docs/design/part-trickmodes.txt:
14000 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14005 === release 0.10.5 ===
14007 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14010 releasing 0.10.5, "Fogo"
14012 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14014 patch by: Wim Taymans
14016 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14017 (gst_pad_configure_src), (gst_pad_push):
14018 * gst/gstpipeline.c: (gst_pipeline_init):
14019 Fix internal data flow errors. Fixes #338711.
14021 2006-04-12 Wim Taymans <wim@fluendo.com>
14023 * tests/check/gst/gstelement.c: (GST_START_TEST):
14024 Don't leak the factory.
14026 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14029 * win32/common/config.h:
14032 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14034 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14035 (gst_controller_unset_all):
14036 Free allocated GstTimedValues when freeing list nodes.
14037 Should fix leaks 'make check-valgrind' complains about.
14039 * win32/common/libgstcontroller.def:
14040 Add gst_controller_unset_all.
14042 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14044 * docs/libs/gstreamer-libs-sections.txt:
14045 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14046 (gst_controller_unset_all):
14047 * libs/gst/controller/gstcontroller.h:
14048 API: Added new method gst_controller_unset_all()
14049 fixed gst_controller_unset()
14050 * tests/check/libs/controller.c: (GST_START_TEST),
14051 (gst_controller_suite):
14052 Added two testcases for new and fixed method
14054 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14056 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14057 MSG_DONTWAIT is not defined on Cygwin, so work
14058 around that (fixes #317048).
14060 2006-04-11 Wim Taymans <wim@fluendo.com>
14062 * gst/gstelementfactory.c: (gst_element_register),
14063 (gst_element_factory_create), (gst_element_factory_make):
14066 Updated docs (Fixes #131079)
14068 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14071 * tests/check/gst/gstelement.c: (GST_START_TEST),
14072 (gst_element_suite):
14073 Added testcase for elementfactory class field.
14075 2006-04-10 Wim Taymans <wim@fluendo.com>
14077 * gst/gstsegment.c:
14078 Added some more docs.
14080 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14081 (gst_base_sink_reset_qos):
14082 Calculate more accurate rate values.
14084 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14086 * gst/gst_private.h:
14087 add a new #ifdef to use __declspec(dllimport) only for
14088 other modules and not for gstreamer core
14089 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14090 use gst_guint64_to_gdouble for conversion
14091 * win32/common/libgstreamer.def:
14092 add new exported functions
14093 * win32/vs6/gst_inspect.dsp:
14094 * win32/vs6/gst_launch.dsp:
14095 * win32/vs6/libgstbase.dsp:
14096 * win32/vs6/libgstcontroller.dsp:
14097 * win32/vs6/libgstcoreelements.dsp:
14098 * win32/vs6/libgstdataprotocol.dsp:
14099 * win32/vs6/libgstnet.dsp:
14100 update project files
14102 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14104 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14105 * gst/gstclock.c: (gst_clock_class_init):
14106 * gst/gstelement.c: (gst_element_class_init):
14107 * gst/gstindex.c: (gst_index_class_init):
14108 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14109 * gst/gstobject.c: (gst_object_class_init),
14110 (gst_signal_object_class_init):
14111 * gst/gstpad.c: (gst_pad_class_init):
14112 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14113 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14114 * gst/gstregistry.c: (gst_registry_class_init):
14115 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14116 * gst/gsttask.c: (gst_task_class_init):
14117 * gst/gstxml.c: (gst_xml_class_init):
14118 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14119 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14120 (gst_base_src_loop):
14121 * libs/gst/controller/gstcontroller.c:/
14122 (_gst_controller_class_init):
14123 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14124 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14125 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14126 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14127 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14128 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14130 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14132 * gst/gstpad.c: (gst_pad_link):
14133 Must set peer pads before calling the link function, otherwise
14134 a task started from a link function might get a flow-not-linked
14135 result when trying to push because the other thread where the
14136 linking happens hasn't had a chance to set the peers yet. This
14137 might happen for example when a queue gets linked to a downstream
14138 element, as queue starts a streaming task when its source pad
14139 gets linked. Happens in real life when playing back flac/musepack
14140 files in playbin (#332390).
14142 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14146 * libs/gst/base/gstadapter.h:
14147 * libs/gst/base/gstbasesink.h:
14148 * libs/gst/base/gstbasesrc.h:
14149 * libs/gst/base/gstbasetransform.h:
14150 * libs/gst/base/gstcollectpads.h:
14151 * libs/gst/base/gstpushsrc.h:
14152 Fix broken GObject macros
14154 2006-04-07 Wim Taymans <wim@fluendo.com>
14156 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14157 Initialize start and stop times, thanks valgrind.
14159 2006-04-07 Wim Taymans <wim@fluendo.com>
14161 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14162 Be a bit nicer to badly behaving upstream elements that expect
14163 us to deal with non TIME segments and timestamps (such as fakesrc
14166 2006-04-07 Wim Taymans <wim@fluendo.com>
14169 Small documentation clarification about the signal watch.
14171 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14172 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14173 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14174 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14175 (gst_base_sink_get_position_last),
14176 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14177 Convert and store timestamps in stream time and running time, the
14178 raw timestamps are not useful, also document this better.
14179 Use different window sizes for good and bad QoS observations so
14180 we react to badness a little quicker.
14181 Keep track of the amount of rendered and dropped buffers.
14182 Send QoS timestamps in running time.
14184 * libs/gst/base/gstbasetransform.c:
14185 (gst_base_transform_sink_eventfunc),
14186 (gst_base_transform_handle_buffer):
14187 Compare QoS timestamps against running time.
14189 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14192 Typo fixes in docs.
14194 2006-04-06 Michael Smith <msmith@fluendo.com>
14196 * gst/gstpad.c: (gst_pad_set_property):
14197 Use g_value_get_object() instead of g_value_dup_gst_object(),
14198 to avoid double-reffing the pad template (which we then sink,
14199 so this worked previously if (and only if) the pad template
14202 * gst/gstpadtemplate.c: (gst_pad_template_init),
14203 (gst_pad_template_pad_created):
14204 Never return floating references to pad templates, create
14205 them as initially-sunken.
14207 Document an extra function (and make this stop sinking our
14208 pad template, since that is now guaranteed to do nothing,
14209 since we created it sunken).
14211 * gst/gstghostpad.c:
14214 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14216 * gst/gstinfo.c: (__gst_in_valgrind):
14219 * plugins/elements/gsttypefindelement.c:
14220 (gst_type_find_element_chain):
14221 Don't leak buffer caps.
14223 2006-04-06 Michael Smith <msmith@fluendo.com>
14225 * gst/parse/grammar.y:
14226 Fix a leak in parse-launch for any source-or-sink named element
14229 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14230 Unref the pipeline if it exists after we've failed parsing.
14232 2006-04-05 Michael Smith <msmith@fluendo.com>
14234 * gst/gstpipeline.c: (gst_pipeline_init):
14235 When we create a pipeline bus, initially create it in flushing mode.
14236 Fixes leaks in at least one test, and makes a new pipeline work the
14237 same as one that has gone to READY and then back to NULL.
14239 * gst/gstelement.c:
14242 2006-04-05 Michael Smith <msmith@fluendo.com>
14244 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14245 Unref a pad we reffed.
14246 * tests/check/gst/gstutils.c: (GST_START_TEST):
14249 2006-04-05 Michael Smith <msmith@fluendo.com>
14251 * gst/gstquery.c: (gst_query_set_formats),
14252 (gst_query_set_formatsv):
14253 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14255 2006-04-05 Michael Smith <msmith@fluendo.com>
14257 * tests/check/generic/sinks.c: (GST_START_TEST):
14258 Fix a variety of memleaks in sinks check, which are only sometimes
14259 shown by running the tests under valgrind (weird?).
14261 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14263 * docs/version.entities.in:
14264 Fix the substituted entity name after thomas' changes on the
14267 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14269 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14272 2006-04-05 Andy Wingo <wingo@pobox.com>
14274 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14276 * libs/gst/base/gstbasetransform.c
14277 (gst_base_transform_sink_eventfunc): When resetting our segment on
14278 FLUSH_STOP, also update the flag saying we haven't seen a
14281 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14283 Patch by: Paolo Borelli <pborelli at katamail dot com>
14285 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14286 (gst_plugin_check_license):
14287 minor clean-ups: G_DEFINE_TYPE already takes care of the
14288 parent_class stuff, no need to do it twice. Mark array of
14289 license strings as constant. (#337103)
14291 2006-04-04 Michael Smith <msmith@fluendo.com>
14293 * tools/gst-inspect.c: (print_element_list):
14294 Free the right plugin list; fixes a memory leak.
14296 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14298 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14300 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14301 Don't error out on empty buffers (#336945).
14303 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14305 * docs/libs/gstreamer-libs-sections.txt:
14306 * gst/gsttaglist.c:
14307 * libs/gst/base/gstbasesink.c:
14308 * libs/gst/base/gstbasesink.h:
14309 * libs/gst/base/gstbasesrc.c:
14310 * libs/gst/base/gstbasesrc.h:
14311 Documentation updates. Make BaseSink and BaseSrc docs contain the
14312 class structure so that people can actually see the prototypes for
14313 virtual functions they're supposed to be overriding.
14315 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14317 * plugins/elements/gsttypefindelement.c:
14318 (gst_type_find_element_chain):
14319 More debug info; when skipping typefinding, send cached
14320 events in all cases.
14322 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14325 use new AS_VERSION and AS_NANO macros
14326 * gst/gst-i18n-lib.h:
14329 * gst/gstversion.h.in:
14330 * win32/common/config.h:
14331 * win32/common/config.h.in:
14334 2006-03-31 Michael Smith <msmith@fluendo.com>
14336 * plugins/elements/gsttypefindelement.c:
14337 (gst_type_find_element_chain):
14338 Do not typefind content if the buffers already have caps.
14339 Neccesary for icydemux (#333657), and the right thing to do anyway.
14341 2006-03-30 Wim Taymans <wim@fluendo.com>
14343 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14344 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14345 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14346 (gst_base_sink_record_qos_observation),
14347 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14348 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14349 (gst_base_sink_change_state):
14350 More QoS measurements as described in the design doc.
14351 Get rid of ringbuffer with observations, running average is
14352 more simple and equally good.
14353 Calculates valid proportion now.
14354 Added beginning of flood measurement.
14356 2006-03-29 Wim Taymans <wim@fluendo.com>
14358 * docs/design/part-qos.txt:
14360 Small documentation updates and additions.
14362 2006-03-29 Wim Taymans <wim@fluendo.com>
14364 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14365 (gst_base_src_send_event), (gst_base_src_loop),
14366 (gst_base_src_change_state):
14367 Perform the EOS logic when we reach the segment stop position.
14368 Fix compilation on gcc4.1
14370 2006-03-29 Wim Taymans <wim@fluendo.com>
14372 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14374 * plugins/elements/gstqueue.c: (gst_queue_init),
14375 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14376 (gst_queue_set_property):
14377 * plugins/elements/gstqueue.h:
14378 In queue, when EOS is received, if minimum threshold > max_size -
14379 current_level, there is chance that queue blocks forever in conditional
14380 item del wait. This is because the queue is not emptied completely due
14381 to minimum threshold. Here is another approach. Instead of setting
14382 cur_levels to max in EOS, just zero all minimum threshold levels. This
14383 should make sure that queue gives out all data. When going to READY
14384 (stop) state, just reset the original minimum threshold levels.
14387 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14389 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14390 (gst_type_find_element_handle_event),
14391 (gst_type_find_element_send_cached_events),
14392 (gst_type_find_element_change_state):
14393 * plugins/elements/gsttypefindelement.h:
14394 When typefinding is done in push mode, we should cache
14395 events we receive during typefinding instead of just
14396 dropping them (e.g. newsegment, custom events from
14397 dvdreadsrc etc.) and then send them out once we've
14398 determined the type of the stream (and decodebin
14399 has had a chance to plug in a decoder/demuxer).
14401 2006-03-27 Wim Taymans <wim@fluendo.com>
14403 * docs/design/part-qos.txt:
14406 2006-03-27 Wim Taymans <wim@fluendo.com>
14408 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14410 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14411 (gst_base_src_send_event), (gst_base_src_change_state):
14412 Handle element seek correctly when we are streaming.
14415 2006-03-24 Michael Smith <msmith@fluendo.com>
14417 * docs/faq/gst-uninstalled:
14418 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14419 allow you to correctly run intalled applications built against old
14420 core, using plugins that require updated core (e.g. running
14421 installed totem against a full uninstalled gstreamer stack)
14423 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14425 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14428 2006-03-24 Wim Taymans <wim@fluendo.com>
14430 * docs/gst/gstreamer-sections.txt:
14431 Rearrange the order of the methods so that related methods
14432 are grouped together in sections.
14434 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14436 * gst/gstelement.c:
14437 Little clarification in the docs
14439 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14443 * plugins/elements/gstidentity.c:
14444 * plugins/elements/gstqueue.c:
14445 * plugins/elements/gsttee.c:
14446 * plugins/elements/gsttypefindelement.c:
14447 GST_ELEMENT_DETAILS formatting
14449 2006-03-24 Wim Taymans <wim@fluendo.com>
14451 * libs/gst/base/gstbasesink.h:
14452 Only add fields, not insert or we break ABI.
14454 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14456 * win32/common/libgstbase.def:
14457 * win32/common/libgstreamer.def:
14458 Update, add recently added functions.
14460 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14462 * docs/gst/gstreamer-sections.txt:
14463 * gst/gstutils.c: (gst_pad_query_peer_position),
14464 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14466 API: add some new utility functions:
14467 - gst_pad_query_peer_position()
14468 - gst_pad_query_peer_duration()
14469 - gst_pad_query_peer_convert()
14471 2006-03-23 Wim Taymans <wim@fluendo.com>
14473 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14474 (gst_base_sink_init), (gst_base_sink_finalize),
14475 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14476 (gst_base_sink_set_property), (gst_base_sink_get_property),
14477 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14478 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14479 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14480 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14481 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14482 (gst_base_sink_preroll_object), (gst_base_sink_event),
14483 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14484 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14485 (gst_base_sink_query), (gst_base_sink_change_state):
14486 Decouple max-lateness and the fact that QoS messages are generated
14487 with a new property (qos).
14488 added API: GstBaseSink::async_play()
14489 Add vmethod so subclasses can be notified of ASYNC playing
14491 Collect timestamp start and stop to report better current
14492 position in EOS/PLAYING/PAUSED/READY/NULL.
14493 Refactor QoS/frame dropping and other measurements.
14494 API: GstBaseSrc::qos
14497 * libs/gst/base/gstbasesink.h:
14498 Added Private struct.
14499 API: gst_base_sink_set_qos_enabled()
14500 API: gst_base_sink_is_qos_enabled()
14502 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14504 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14505 If compiling against GLib-2.8 or newer, try to read the
14506 registry file using GMappedFile first before falling back
14507 to fopen() + fread() (#332151).
14509 2006-03-22 Wim Taymans <wim@fluendo.com>
14511 * gst/gstinfo.c: (gst_debug_set_active),
14512 (gst_debug_category_set_threshold):
14513 Disable debugging unless explicitly activated.
14516 2006-03-22 Wim Taymans <wim@fluendo.com>
14518 * gst/gstelement.c: (gst_element_set_locked_state),
14519 (gst_element_dispose):
14520 Cleanup the error case.
14522 * gst/gstobject.c: (gst_object_dispose):
14523 print a critical when some object was disposed with
14524 a parent, also revive the object since it might
14527 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14529 * tools/gst-launch.1.in:
14532 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14535 * tests/check/Makefile.am:
14536 disable some tests when we don't have a registry
14537 * tests/check/gst/gstutils.c: (gst_utils_suite):
14538 don't build the part that needs parsing
14540 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14543 * tests/examples/Makefile.am:
14544 fix --disable-parse build
14546 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14548 * tools/gst-feedback.1.in:
14549 Fix typo: s/feeback/feedback/ (#133494).
14551 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14553 * tools/Makefile.am:
14554 * tools/gst-launch.1.in:
14555 Add FILES section and correct entry about GST_REGISTRY_PATH
14556 environment variable (#133495; #133494).
14558 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14560 * tools/Makefile.am:
14561 * tools/gst-md5sum.1.in:
14562 * tools/gst-md5sum.c:
14563 Remove gst-md5sum and man page (the md5sink element
14564 required was removed ages ago)
14566 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14568 * gst/gststructure.c: (gst_structure_id_set_value):
14569 Make sure that string fields in structures/taglists
14570 contain valid UTF-8 - we don't want to pass rubbish to
14571 applications because of a buggy plugin (cp. #334167).
14573 2006-03-21 Edward Hervey <edward@fluendo.com>
14575 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14576 (gst_bin_handle_message_func):
14577 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14578 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14579 (gst_element_set_bus_func):
14580 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14581 * gst/gstminiobject.c: (gst_value_set_mini_object),
14582 (gst_value_take_mini_object):
14583 * gst/gstpad.c: (gst_pad_set_pad_template):
14584 * gst/gstpipeline.c: (gst_pipeline_dispose),
14585 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14586 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14587 (gst_collect_pads_chain):
14588 * libs/gst/net/gstnettimeprovider.c:
14589 (gst_net_time_provider_set_property):
14590 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14591 It's in fact all issues with gst_*object_replace().
14593 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14595 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14597 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14598 * pkgconfig/gstreamer-check.pc.in:
14599 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14601 2006-03-21 Edward Hervey <edward@fluendo.com>
14605 * gst/gstmessage.h:
14606 gst_[buffer|event|message]_ref() macros are replaced by a static
14607 inline functions because gcc-4.1 will about if the return value
14609 * tests/check/gst/gstevent.c: (event_probe):
14610 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14612 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14615 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14616 the type' case. (Closes: #335195 for now). In the future, when we
14617 depend on GLib 2.10, we could also intern the type name using
14618 g_intern_static_string()
14620 2006-03-20 Wim Taymans <wim@fluendo.com>
14622 * gst/gstbin.c: (gst_bin_handle_message_func),
14623 (bin_query_max_init), (bin_query_position_fold),
14624 (bin_query_position_done), (gst_bin_query):
14625 Position query should also take max of all streams.
14627 2006-03-20 Wim Taymans <wim@fluendo.com>
14629 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14630 (gst_fake_src_finalize):
14631 Fix leaks in fakesrc.
14633 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14634 Fix leaks in the testcase.
14636 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14638 * gst/gst_private.h:
14639 add win32 specific import decoration(__declspec(dllimport))
14640 for all extern GstDebugCategory * variables
14641 * win32/common/libgstbase.def:
14642 * win32/common/libgstcontroller.def:
14643 * win32/common/libgstreamer.def:
14644 Add some exports, remove empty lines
14645 * win32/common/libgstdataprotocol.def:
14646 * win32/common/libgstdataprotocol.dsp:
14647 * win32/common/libgstnet.def:
14648 * win32/common/libgstnet.dsp:
14649 new project files and exportation files added
14651 2006-03-19 Wim Taymans <wim@fluendo.com>
14653 * tests/check/libs/basesrc.c: (eos_event_counter):
14654 Use proper return value for probe.
14656 2006-03-17 Wim Taymans <wim@fluendo.com>
14658 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14660 Don't leak buffers, caps and pads on negotiation errors.
14662 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14664 * docs/faq/cvs.xml:
14665 * docs/faq/dependencies.xml:
14666 * docs/faq/developing.xml:
14667 * docs/faq/faq.xml:
14668 * docs/faq/general.xml:
14669 * docs/faq/getting.xml:
14670 * docs/faq/legal.xml:
14671 * docs/faq/troubleshooting.xml:
14672 * docs/faq/using.xml:
14673 Faq review and update.
14675 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14677 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14679 Don't pound the cpu to pieces by checking get_caps when accept_caps
14680 is called with the same caps as the pad already has.
14681 Use GST_DEBUG_OBJECT when outputting caps change information.
14683 2006-03-15 Wim Taymans <wim@fluendo.com>
14685 * gst/gstclock.c: (gst_clock_class_init):
14688 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14693 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14694 (gst_pad_accept_caps), (gst_pad_configure_sink),
14695 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14696 Make the default acceptcaps behaviour be to check the requested
14697 caps against the gst_pad_get_caps output.
14699 Ensure that gst_pad_accept_caps is used to check caps when a pad
14700 doesn't have a setcaps function, so that pads automatically refuse
14701 caps that they don't allow in their pad template. (Fixes #332986)
14703 When a buffer with attached caps is pushed, ensure that the source
14704 pad receives those caps even if the element didn't call
14705 gst_pad_set_caps first.
14707 2006-03-15 Wim Taymans <wim@fluendo.com>
14709 * libs/gst/base/gstadapter.c:
14712 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14714 * win32/common/libgstbase.def:
14715 * win32/common/libgstcontroller.def:
14716 * win32/common/libgstreamer.def:
14717 Add a whole bunch of missing functions (#334434).
14719 2006-03-14 Wim Taymans <wim@fluendo.com>
14721 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14722 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14723 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14724 Better debug info when we receive a segment event.
14725 Reorganize a bit so we can pass the get_times() results around.
14726 Use the segment format when calculating the running time.
14727 Don't do QoS is sync is disabled or we have no clock or the
14728 element does not want us to sync to the clock.
14729 Don't drop buffers if QoS is disabled for now.
14731 2006-03-14 Wim Taymans <wim@fluendo.com>
14733 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14734 Marked the stats property as unimplemented so people don't get
14736 Add debug message when regression goes wrong.
14737 Added some more docs.
14739 2006-03-14 Wim Taymans <wim@fluendo.com>
14741 * gst/gstsegment.c: (gst_segment_to_stream_time):
14742 Return correct return type in case of errors.
14744 2006-03-14 Wim Taymans <wim@fluendo.com>
14746 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14747 Don't segfault on invalid formats.
14749 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14751 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14752 Can't use gst_segment_to_running_time() when the segment
14753 is not in GST_TIME_FORMAT (like with filesink, for example).
14754 Stops flac encoding pipelines from spewing critical warnings
14757 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14759 * gst/gstpipeline.c: (gst_pipeline_class_init):
14760 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14762 * plugins/elements/gsttypefindelement.c:
14763 (gst_type_find_element_handle_event):
14764 Don't try to typefind empty streams.
14766 2006-03-14 Wim Taymans <wim@fluendo.com>
14768 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14769 (gst_base_sink_do_qos):
14770 Separate QoS calculation.
14771 Only drop buffers when lateness is bigger than the
14772 duration of the buffer.
14774 2006-03-13 Wim Taymans <wim@fluendo.com>
14776 * gst/gstpipeline.c: (gst_pipeline_set_property),
14777 (gst_pipeline_get_property), (do_pipeline_seek),
14778 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14779 (gst_pipeline_get_delay):
14780 Don't deadlock when reading properties.
14782 2006-03-13 Wim Taymans <wim@fluendo.com>
14784 * libs/gst/base/gstbasetransform.c:
14785 (gst_base_transform_class_init), (gst_base_transform_init),
14786 (gst_base_transform_sink_event),
14787 (gst_base_transform_sink_eventfunc),
14788 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14789 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14790 (gst_base_transform_set_property),
14791 (gst_base_transform_get_property),
14792 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14793 (gst_base_transform_set_qos_enabled),
14794 (gst_base_transform_is_qos_enabled):
14795 * libs/gst/base/gstbasetransform.h:
14796 Make basetransform virtual method for src events too.
14797 Handle QOS in basetransform.
14798 API: gst_base_transform_update_qos()
14799 API: gst_base_transform_set_qos_enabled()
14800 API: gst_base_transform_is_qos_enabled()
14802 2006-03-13 Wim Taymans <wim@fluendo.com>
14804 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14805 (gst_base_sink_do_sync):
14807 Use QOS debug category.
14809 2006-03-13 Wim Taymans <wim@fluendo.com>
14811 * plugins/elements/gstqueue.c:
14812 Very small doc update.
14814 2006-03-13 Wim Taymans <wim@fluendo.com>
14816 * gst/gst_private.h:
14817 * gst/gstinfo.c: (_gst_debug_init):
14818 Added QOS debug category
14820 2006-03-13 Wim Taymans <wim@fluendo.com>
14822 * docs/gst/gstreamer-sections.txt:
14823 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14825 * gst/gstbus.c: (gst_bus_class_init):
14828 * gst/gstelement.c: (gst_element_set_locked_state):
14829 * gst/gstsegment.c:
14830 Documentation updates.
14832 * gst/gstpipeline.c: (gst_pipeline_get_type),
14833 (gst_pipeline_class_init), (gst_pipeline_init),
14834 (gst_pipeline_dispose), (gst_pipeline_set_property),
14835 (gst_pipeline_get_property), (do_pipeline_seek),
14836 (gst_pipeline_send_event), (gst_pipeline_change_state),
14837 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14838 (gst_pipeline_get_delay):
14839 * gst/gstpipeline.h:
14840 Added methods for setting the delay.
14841 API: gst_pipeline_set_delay()
14842 API: gst_pipeline_get_delay()
14843 Add pipeline debug category
14846 Don't reset stream time when seek failed.
14848 2006-03-13 Wim Taymans <wim@fluendo.com>
14850 * docs/design/draft-klass.txt:
14851 * docs/design/part-clocks.txt:
14852 * docs/design/part-events.txt:
14853 * docs/design/part-gstbin.txt:
14854 * docs/design/part-gstpipeline.txt:
14855 * docs/design/part-messages.txt:
14856 * docs/design/part-negotiation.txt:
14857 * docs/design/part-overview.txt:
14858 * docs/design/part-preroll.txt:
14859 * docs/design/part-seeking.txt:
14860 * docs/design/part-states.txt:
14861 * docs/design/part-streams.txt:
14862 Documentation updates.
14864 2006-03-12 Julien MOUTTE <julien@moutte.net>
14866 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14867 us to leak strings...
14869 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14871 * libs/gst/net/gstnettimeprovider.c:
14873 * win32/common/config.h:
14876 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14878 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14881 Don't check for libgnomeui (leftover from old examples
14882 that aren't built or disted any longer) (#334303).
14884 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14886 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14887 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14888 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14889 there's no space left on the device.
14891 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14894 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14895 to cast the input to GstClockTime before comparing with
14896 another GstClockTime value.
14898 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14903 === release 0.10.4 ===
14905 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14908 releasing 0.10.4, "Light"
14910 2006-03-10 Michael Smith <msmith@fluendo.com>
14912 * libs/gst/dataprotocol/dataprotocol.c:
14913 Fix docs for dataprocotol to not get the return types completely
14914 wrong for a few functions.
14916 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14918 * docs/gst/gstreamer-sections.txt:
14919 * gst/gstpipeline.c: (gst_pipeline_class_init),
14920 (gst_pipeline_init), (gst_pipeline_set_property),
14921 (gst_pipeline_get_property), (gst_pipeline_change_state),
14922 (gst_pipeline_set_auto_flush_bus),
14923 (gst_pipeline_get_auto_flush_bus):
14924 * gst/gstpipeline.h:
14925 Add new API: gst_pipeline_set_auto_flush_bus() and
14926 gst_pipeline_get_auto_flush_bus() to disable automatic
14927 flushing of the pipeline's GstBus when going from READY
14928 to NULL state (#332045).
14930 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14932 * docs/gst/gstreamer-sections.txt:
14933 * gst/gsturi.c: (gst_uri_has_protocol):
14935 Add new API: gst_uri_has_protocol() (#333779).
14937 2006-03-09 Wim Taymans <wim@fluendo.com>
14939 * gst/gstclock.c: (gst_clock_entry_new),
14940 (gst_clock_id_compare_func), (gst_clock_id_wait),
14941 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14942 (gst_clock_init), (gst_clock_get_internal_time),
14943 (gst_clock_set_master), (do_linear_regression),
14944 (gst_clock_add_observation), (gst_clock_set_property):
14948 Fix a possible segfault when the window-size is made smaller.
14949 Calculate jitter before performing the clock wait. Ideally
14950 the clock implementation should calculate jitter but we need
14951 API breakage for that.
14953 * gst/gstsystemclock.c: (gst_system_clock_init):
14956 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14957 Remove leftover else
14959 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14960 (gst_systemclock_suite):
14961 Added check to test GST_CLOCK_DIFF.
14963 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14965 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14966 (gst_type_find_helper_get_range):
14967 If we are provided with the size, we should implement
14968 GstTypeFind::get_length, so that typefind functions who
14969 want to can actually peek at the middle of a file.
14971 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14973 * docs/manual/advanced-dataaccess.xml:
14974 Add some very very basic error checking.
14976 * docs/pwg/appendix-checklist.xml:
14977 Some updates to the list of things to check when writing an element.
14979 2006-03-08 Wim Taymans <wim@fluendo.com>
14981 * docs/design/part-element-transform.txt:
14982 Added some docs about the design of tranform elements.
14984 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14985 (gst_base_src_loop), (gst_base_src_change_state):
14986 Mark buffers with the DISCONT flag.
14988 2006-03-08 Michael Smith <msmith@fluendo.com>
14990 * gst/gstregistry.h:
14991 * gst/gstregistryxml.c: (gst_registry_save),
14992 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14993 (gst_registry_xml_save_pad_template),
14994 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14995 (gst_registry_xml_write_cache):
14996 Rewrite registry-saving to avoid race conditions and check for
14999 2006-03-08 Wim Taymans <wim@fluendo.com>
15001 * libs/gst/base/gstbasetransform.c:
15002 (gst_base_transform_transform_caps),
15003 (gst_base_transform_transform_size),
15004 (gst_base_transform_prepare_output_buffer),
15005 (gst_base_transform_get_unit_size),
15006 (gst_base_transform_buffer_alloc),
15007 (gst_base_transform_handle_buffer),
15008 (gst_base_transform_change_state):
15009 Cleanups, separate normal flow from errors, add sensible
15011 Don't try to renegotiate when allocating an output buffer.
15012 Also copy DISCONT buffer flag when copying a buffer.
15013 Reset the transform after we finish streaming, not during.
15015 2006-03-08 Wim Taymans <wim@fluendo.com>
15017 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15018 Use last buffer timestamp in qos message.
15020 2006-03-07 Wim Taymans <wim@fluendo.com>
15022 Patch by: Christophe Fergeau
15024 * docs/pwg/advanced-tagging.xml:
15025 * docs/pwg/building-pads.xml:
15028 2006-03-07 Wim Taymans <wim@fluendo.com>
15030 * docs/libs/gstreamer-libs-sections.txt:
15031 Added basesink new methods.
15035 Docs updates. Flesh out the QoS docs.
15037 * libs/gst/base/gstadapter.c:
15038 Small doc clarification about ownership and flushing.
15040 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15041 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15042 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15043 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15044 * libs/gst/base/gstbasesink.h:
15046 Added new methods to allow subclass to control max-lateness
15048 Generate very basic QoS events based on last sync observation.
15049 Updated docs, fix typo, added some QoS blurb.
15051 * libs/gst/base/gstbasesrc.c:
15052 Remove obsolete _get_state() calls from docs.
15054 2006-03-07 Wim Taymans <wim@fluendo.com>
15056 * docs/libs/gstreamer-libs-sections.txt:
15057 * libs/gst/base/gstbasetransform.h:
15058 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15059 Fix docs for GstBaseSrc.
15061 2006-03-07 Wim Taymans <wim@fluendo.com>
15063 * docs/gst/gstreamer-sections.txt:
15066 * libs/gst/base/gstbasetransform.h:
15067 Small documentation fixes.
15069 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15072 Document thread-unsafety of gst_value_register_foo_func()
15073 when used at the same time as gst_value_foo() (#322628).
15075 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15077 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15078 (gst_push_src_check_get_range):
15079 Push sources don't support pull mode by default.
15081 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15083 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15084 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15085 (gst_base_src_default_check_get_range):
15086 * libs/gst/base/gstbasesrc.h:
15087 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15088 provide default implementation, and rename
15089 gst_base_src_check_get_range() to
15090 gst_base_src_pad_check_get_range() for clarity.
15092 2006-03-06 Wim Taymans <wim@fluendo.com>
15094 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15095 Make property overridable.
15097 2006-03-06 Wim Taymans <wim@fluendo.com>
15099 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15100 (gst_base_sink_init), (gst_base_sink_set_property),
15101 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15102 * libs/gst/base/gstbasesink.h:
15103 API addition: Make max-lateness a property.
15105 2006-03-06 Wim Taymans <wim@fluendo.com>
15107 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15108 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15109 Don't ever draw a frame that is >10ms late.
15111 2006-03-06 Michael Smith <msmith@fluendo.com>
15113 * gst/gstmessage.c: (_gst_message_copy):
15114 When copying a message, set the parent_refcount of the enclosed
15115 structure to point at the copy, not the original message.
15117 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15119 Patch by: Christophe Fergeau
15122 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15123 usable in c++ code (#333417)
15125 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15128 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15130 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15132 * libs/gst/base/gstbasetransform.c:
15133 (gst_base_transform_transform_caps):
15134 Make sure caps are writable before passing them to
15137 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15140 Fix some minor docs errors.
15142 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15144 Patch by: Ross Burton <ross at burtonini dot com>
15146 * gst/gsterror.c: (_gst_resource_errors_init):
15148 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15150 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15153 Add a check and output a g_warning when GStreamer is built
15154 against GLib 2.6 but running against 2.8 or higher, and vice
15155 versa. (Closes: #323542)
15157 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15159 * gst/parse/parse.l:
15160 Commit patch for parse_launch syntax from #331255. Removes
15161 support for quoted strings and mimetypes when writing filtered
15162 caps. See the bug report for more details - I'm pretty sure this
15163 obscure feature is not in use by _anyone_ anywhere.
15165 With this simple change, the size of the gstreamer.so here
15166 drops from 2193KB to 1565KB.
15168 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15170 * plugins/elements/gsttypefindelement.h:
15171 * plugins/elements/gsttypefindelement.c:
15172 (gst_type_find_element_src_event), (start_typefinding),
15173 (stop_typefinding), (gst_type_find_element_handle_event),
15174 (gst_type_find_element_chain),
15175 (gst_type_find_element_chain_do_typefinding):
15176 Use gst_type_find_helper_for_buffer() for chain-based
15179 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15181 * plugins/elements/gsttypefindelement.c:
15182 (gst_type_find_element_class_init),
15183 (gst_type_find_element_set_property),
15184 (gst_type_find_element_get_property):
15185 Deprecate "maximum" property (not only was it only taken into
15186 account for typefinding in push-mode anyway, it also was never
15187 actually possible to set it in the first place because the
15188 property was registered with the numeric property ID for the
15189 "minimum" property). Register "maximum" property correctly,
15190 for the sake of future copy'n'pasters. Remove some cruft
15191 from property get/set functions.
15193 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15195 * plugins/elements/gsttypefindelement.c:
15196 (gst_type_find_element_activate):
15197 Use gst_type_find_helper_get_range() here, so we
15198 can honour the "minimum" property and also emit
15199 the signal with the correct probability of the found caps.
15201 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15203 * docs/libs/gstreamer-libs-sections.txt:
15204 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15205 (helper_find_suggest), (gst_type_find_helper_get_range),
15206 (gst_type_find_helper):
15207 * libs/gst/base/gsttypefindhelper.h:
15208 New API: gst_type_find_helper_get_range() (#333042).
15210 2006-03-02 Michael Smith <msmith@fluendo.com>
15212 * gst/gstregistryxml.c: (load_feature):
15213 Asserting on a failure to read part of the registry is Not Cool.
15214 Just log a warning and return NULL (which is already handled)
15216 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15218 * win32/common/libgstbase.def:
15219 added export of gst_type_find_helper_for_buffer
15220 * win32/common/libgstbase.def:
15221 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15222 gst_ghost_pad_get_target
15224 2006-02-28 Wim Taymans <wim@fluendo.com>
15226 * docs/design/draft-klass.txt:
15228 Added Connector to mark elements that are only used to
15229 allow pipeline connections.
15230 Moved Debug to extra feature since most of them are
15231 functionally something else.
15233 2006-02-28 Wim Taymans <wim@fluendo.com>
15235 * docs/design/draft-klass.txt:
15236 Some updates and clarifications.
15238 2006-02-28 Wim Taymans <wim@fluendo.com>
15240 * docs/design/draft-klass.txt:
15241 Proposal for klass field values.
15243 * docs/design/part-streams.txt:
15244 Start of a doc describing stream anatomy.
15246 2006-02-28 Wim Taymans <wim@fluendo.com>
15248 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15249 Help the compiler a bit with type registration.
15250 Use existing forward cod path instead of duplicating it when
15251 handling a message.
15253 * gst/gstbus.c: (gst_bus_get_type):
15254 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15255 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15256 * gst/gstclock.c: (gst_clock_get_type):
15257 * gst/gstelement.c: (gst_element_get_type),
15258 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15259 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15260 * gst/gstminiobject.c: (gst_mini_object_get_type):
15261 * gst/gstpad.c: (gst_pad_get_type):
15262 * gst/gstsegment.c: (gst_segment_get_type):
15263 * gst/gststructure.c: (gst_structure_get_type):
15264 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15265 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15267 Help compiler with type registration.
15269 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15272 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15274 * plugins/elements/gsttypefindelement.c:
15275 (gst_type_find_element_handle_event):
15276 When we get an EOS event and have not found a type yet
15277 (most likely because we had not yet accumulated
15278 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15279 type given the data we have so far. Fixes typefinding
15280 for very short streams again, most notably quicktime
15281 redirections as used on Apple's trailer site (#331701).
15283 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15285 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15286 (gst_type_find_helper):
15287 Try typefinding factories with the highest rank first.
15289 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15291 * docs/libs/gstreamer-libs-docs.sgml:
15292 * docs/libs/gstreamer-libs-sections.txt:
15293 * libs/gst/base/gsttypefindhelper.c:
15294 Add section for typefind helper and add documentation
15295 for the old and the new function.
15297 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15299 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15300 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15301 (gst_type_find_helper_for_buffer):
15302 * libs/gst/base/gsttypefindhelper.h:
15303 New API: gst_type_find_helper_for_buffer() (#332723).
15305 2006-02-27 Michael Smith <msmith@fluendo.com>
15307 Patch by: Loïc Minier
15310 * docs/Makefile.am:
15311 * docs/slides/Makefile.am:
15312 prevent CVS directories getting disted.
15314 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15316 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15317 Use the REFCOUNTING category for caps refcounting.
15319 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15321 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15322 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15324 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15326 * plugins/elements/gsttypefindelement.c:
15327 (gst_type_find_element_activate):
15328 Use gst_pad_check_pull_range() before _activate_pull()
15329 to avoid unnecessary open/close (see #331690).
15331 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15334 Docs enhancement: make it crystal clear what the
15335 gst_pad_add_*_probe() callbacks should look like.
15337 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15339 * libs/gst/base/gstbasesrc.c:
15340 Document how applications can stop recording from
15341 live sources (see #330996).
15343 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15345 * tests/check/Makefile.am:
15346 * tests/check/libs/basesrc.c: (eos_event_counter),
15347 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15348 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15349 (gst_basesrc_suite), (main):
15350 ... and add some tests for the base source EOS stuff.
15352 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15354 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15355 Test case originally showed the problem fixed below,
15356 but was then amended. Add checks back at the place
15357 where they used to be.
15359 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15361 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15362 (gst_base_src_init), (gst_base_src_loop),
15363 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15364 (gst_base_src_change_state):
15365 * libs/gst/base/gstbasesrc.h:
15366 Don't unconditionally send EOS when going from PAUSED to
15367 READY state, esp. make sure we don't send two EOS events
15368 in some cases (e.g. one when reaching EOS and one when
15369 going from PAUSED to READY). Also, we don't want to send
15370 EOS events when operating in pull mode. However, we do
15371 want to send an EOS event when shutting down a live
15372 source explicitly, for example (fixes #330996).
15374 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15376 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15377 Update src->read_position after a seek when not using mmap.
15378 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15380 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15386 Make things work with --disable-parse as they do with
15387 --disable-load-save - the symbols involved disappear, but the
15388 header is still installed and GST_DISABLE_PARSE is included via
15391 2006-02-20 Julien MOUTTE <julien@moutte.net>
15393 * libs/gst/base/gstbasetransform.c:
15394 (gst_base_transform_change_state): Fix a stupid bug. I was
15395 sure I compiled that.
15397 2006-02-20 Julien MOUTTE <julien@moutte.net>
15399 * gst/gstpad.c: (gst_pad_set_blocked_async):
15400 * gst/gstutils.c: (gst_pad_add_data_probe),
15401 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15402 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15403 (gst_pad_remove_buffer_probe): Make those function act on the
15404 ghostpad target when it's a ghostpad. (Closes #331727)
15406 2006-02-20 Julien MOUTTE <julien@moutte.net>
15408 * libs/gst/base/gstbasetransform.c:
15409 (gst_base_transform_change_state): Make basetransform reusable.
15412 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15414 * docs/random/release:
15415 Move the current documentation of how to do a release to the top
15418 * gst/gstbin.c: (gst_bin_class_init),
15419 (gst_bin_handle_message_func):
15420 Allow multiple state-recalculation threads. (Closes #328873)
15422 2006-02-19 Julien MOUTTE <julien@moutte.net>
15424 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15425 * gst/gstpad.c: (gst_pad_set_event_function),
15426 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15427 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15428 2 strings. You can't use the STR_NULL macro on that.
15430 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15432 * gst/gstpad.c: (gst_pad_set_event_function),
15433 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15434 (gst_pad_set_getcaps_function)
15435 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15436 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15437 So now, we can use --gst-debug-level=5 on Windows
15438 * win32/common/libgstcontroller.def:
15439 Added export of gst_controller_init
15440 * win32/vs6/libgstcontroller.dsp:
15441 Fixed Release post build configuration
15443 2006-02-17 Wim Taymans <wim@fluendo.com>
15445 * tests/check/gst/gstquery.c: (GST_START_TEST):
15446 Added another check.
15448 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15450 * plugins/elements/gsttypefindelement.c: (find_peek):
15451 We can do peeks at non-zero offsets, as long as they
15452 fall within the buffer we have.
15454 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15456 * tests/check/Makefile.am:
15457 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15458 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15459 (parse_suite), (main):
15460 Add testsuite for parse launch syntax
15462 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15464 * plugins/elements/gsttypefindelement.c:
15465 (gst_type_find_element_chain):
15466 When typefinding is unsuccessful in the chain function, don't
15467 error out immediately. Only error out with NO_CAPS_FOUND if
15468 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15469 otherwise simply wait for more data so we can try typefinding
15470 again with more data later. Also, don't attempt to typefind
15471 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15472 this should improve typefinding from network sources where the
15473 size of the first buffer can be somewhat random.
15475 2006-02-14 Wim Taymans <wim@fluendo.com>
15477 * docs/gst/gstreamer-sections.txt:
15478 * gst/gstpadtemplate.c:
15479 * gst/gstpadtemplate.h:
15480 Fix padtemplate docs, fixes #328805.
15482 2006-02-14 Wim Taymans <wim@fluendo.com>
15484 * tools/gst-launch.c: (main):
15485 NO_PREROLL is not an ERROR so don't send confusing messages
15488 2006-02-14 Wim Taymans <wim@fluendo.com>
15490 Patch by: Torsten Schoenfeld
15492 * gst/gstregistry.c: (gst_registry_get_default),
15493 (_gst_registry_cleanup):
15494 Protect default registry with lock and ref/sink it.
15497 2006-02-14 Wim Taymans <wim@fluendo.com>
15500 * gst/gstquery.c: (gst_query_list_add_format),
15501 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15502 (gst_query_parse_formats_nth):
15503 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15506 2006-02-14 Wim Taymans <wim@fluendo.com>
15508 * docs/gst/gstreamer-sections.txt:
15509 Reworked query docs.
15511 * gst/gstquery.c: (gst_query_new_formats),
15512 (gst_query_list_add_format), (gst_query_set_formats),
15513 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15514 (gst_query_parse_formats_nth):
15516 Flesh out formats query, added some new methods.
15517 Fix part of #324398.
15519 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15520 Added query creation tests.
15522 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15524 * gst/gstpad.c: (fixate_value):
15525 Add a default fixation for fraction lists.
15527 2006-02-13 Wim Taymans <wim@fluendo.com>
15529 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15530 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15533 Detect and warn for obvious deadlocks. fixes #320340
15534 Fix error case where lock was not released.
15536 * tests/check/Makefile.am:
15537 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15538 (task_func), (gst_element_suite), (main):
15541 2006-02-13 Wim Taymans <wim@fluendo.com>
15543 * docs/gst/gstreamer-sections.txt:
15545 Add new functions to docs.
15547 2006-02-13 Wim Taymans <wim@fluendo.com>
15549 * docs/design/part-TODO.txt:
15550 Updated TODO list, basesrc supports seeking to non-bytes
15553 * docs/design/part-element-sink.txt:
15556 * gst/gstbin.c: (bin_replace_message),
15557 (gst_bin_handle_message_func):
15558 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15559 * gst/gstevent.c: (gst_event_finalize):
15560 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15561 (gst_pad_send_event):
15562 Use shiny new _TYPE_NAME macros.
15564 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15565 Move debug statement up.
15567 * gst/gstelement.c: (gst_element_set_locked_state):
15568 Add some debugging.
15570 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15572 * docs/gst/gstreamer-sections.txt:
15573 * gst/gstmessage.h:
15575 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15576 macros (#330906). Also, document the already existing
15577 GST_QUERY_TYPE macro.
15579 2006-02-13 Wim Taymans <wim@fluendo.com>
15581 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15582 (event_probe), (GST_START_TEST):
15583 Only events up to the pipeline EOS are counted, there are
15584 some more when going to NULL currently which we don't care
15587 2006-02-13 Wim Taymans <wim@fluendo.com>
15589 * gst/gstpad.c: (gst_pad_send_event):
15590 Correctly check flushing and emit probes. fixes #330125
15592 2006-02-10 Andy Wingo <wingo@pobox.com>
15594 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15596 (gst_bus_init): Cache the location of the private data in the
15597 instance structure.
15598 (gst_bus_enable_sync_message_emission)
15599 (gst_bus_disable_sync_message_emission): Implement new public
15601 (gst_bus_post): Emit the sync-message signal if the user asked for
15604 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15605 location of the bus-private structure.
15606 (gst_bus_enable_sync_message_emission)
15607 (gst_bus_disable_sync_message_emission): API addition
15609 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15611 Patch by: Vincent Torri
15613 * docs/pwg/building-boiler.xml:
15614 PWG patch from #326800
15616 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15619 * docs/Makefile.am:
15620 * docs/design/Makefile.am:
15623 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15628 === release 0.10.3 ===
15630 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15633 releasing 0.10.3, "Like a virgin"
15635 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15638 2nd prerelease of 0.10.3
15639 Bump libtool versioning.
15641 2006-02-07 Andy Wingo <wingo@pobox.com>
15643 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15644 update last_stop if we're in TIME format and the timestamp is
15647 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15648 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15649 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15650 If we get a new newsegment with a different format, adapt
15653 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15654 of 0. Not a problem, really.
15656 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15659 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15664 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15667 project files updated to the default vs7 configuration
15668 * win32/common/libgstbase.def:
15669 * win32/common/libgstreamer.def:
15671 removed empty lines,
15672 sorted all exported symbols alphabetically
15673 * win32/common/dirent.c:
15674 * win32/common/dirent.h:
15675 * win32/common/gchar.h:
15676 use windows line end.
15678 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15680 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15681 Send EOS event when stopping.
15683 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15686 Tell folks what to do if the plugin-foobar.xml file
15687 hasn't been generated for a newly-added plugin.
15689 2006-02-05 Julien MOUTTE <julien@moutte.net>
15691 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15692 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15693 (gst_collect_pads_start), (gst_collect_pads_stop),
15694 (gst_collect_pads_event): Collectpads now holds a reference
15695 to the GstPad that was added. Indeed we don't want to look
15696 at pads that might just go away with no warning...
15698 2006-02-05 Julien MOUTTE <julien@moutte.net>
15700 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15701 (gst_collect_pads_start), (gst_collect_pads_stop),
15702 (gst_collect_pads_event), (gst_collect_pads_chain):
15703 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15704 Mark Nauwelaerts's patch on bug #328491.
15706 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15708 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15710 Add some simple tests for gst_parse_bin_from_description() and
15711 gst_bin_find_unconnected_pad() (#329069).
15713 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15715 * tools/gst-launch.c: (event_loop), (main):
15716 Catch errors during preroll (#320084).
15718 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15720 * plugins/elements/gsttypefindelement.c:
15721 (gst_type_find_element_activate):
15722 Post TYPE_NOT_FOUND error message when typefinding
15723 is unsuccessful in the activate function as well.
15725 2006-02-02 Wim Taymans <wim@fluendo.com>
15727 * docs/design/part-element-sink.txt:
15730 2006-02-02 Wim Taymans <wim@fluendo.com>
15732 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15733 (gst_base_sink_render_object),
15734 (gst_base_sink_queue_object_unlocked):
15735 Only keep track of prerollable items when we are
15737 Before rendering after preroll, always check if we
15739 Added some more debugging.
15741 2006-02-02 Wim Taymans <wim@fluendo.com>
15743 * gst/gstelement.c: (gst_element_continue_state),
15744 (gst_element_set_state_func), (gst_element_change_state):
15745 Fixed #326576, been running this for quite some time with
15746 no regressions at all.
15748 2006-02-02 Wim Taymans <wim@fluendo.com>
15751 Added more suppressions
15753 2006-02-02 Wim Taymans <wim@fluendo.com>
15755 * docs/design/part-element-sink.txt:
15758 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15759 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15760 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15761 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15762 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15763 (gst_base_sink_preroll_object),
15764 (gst_base_sink_queue_object_unlocked),
15765 (gst_base_sink_queue_object), (gst_base_sink_event),
15766 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15767 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15768 (gst_base_sink_get_position), (gst_base_sink_change_state):
15769 * libs/gst/base/gstbasesink.h:
15770 Totally refactored matching the design doc.
15771 Use two segments, one to clip incomming buffers and another to
15773 Handle queueing correctly, bypass the queue when playing.
15774 Make EOS cancelable.
15775 Handle errors correctly when operating in pull based mode.
15777 * tests/check/elements/fakesink.c: (GST_START_TEST),
15779 Added new check for sinks.
15781 2006-02-02 Wim Taymans <wim@fluendo.com>
15783 * gst/gstsegment.c: (gst_segment_clip):
15784 No reason to refuse to clip when start == -1
15786 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15789 * docs/manual/intro-basics.xml:
15790 * docs/manual/intro-preface.xml:
15791 * docs/manual/manual.xml:
15792 * docs/pwg/advanced-dparams.xml:
15793 * docs/pwg/intro-basics.xml:
15794 * docs/pwg/intro-preface.xml:
15795 * docs/pwg/pwg.xml:
15796 describe dparams (controller) for plugins
15797 unify docs a little more
15799 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15801 * docs/gst/gstreamer-sections.txt:
15802 * gst/gstutils.c: (element_find_unconnected_pad),
15803 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15805 Add new API: gst_parse_bin_from_description() and
15806 gst_bin_find_unconnected_pad() (#329069).
15808 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15810 * docs/manual/README:
15811 uncover a nasty detail of the docs build
15813 2006-01-31 Wim Taymans <wim@fluendo.com>
15815 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15816 Don't cache duration messages if we're not going to use or
15819 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15821 * docs/manual/advanced-dparams.xml:
15822 * docs/pwg/advanced-dparams.xml:
15826 * libs/gst/controller/lib.c: (gst_controller_init):
15829 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15831 * gst/gstelement.c: (gst_element_message_full):
15832 also show file/line/func if no additional debug was given
15834 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15836 * win32/vs7/grammar.vcproj:
15837 activate copy of autogenerated files for Release mode
15839 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15841 * win32/common/libgstreamer.def:
15842 export gst_value_compare
15844 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15846 * plugins/elements/Makefile.am:
15847 * plugins/elements/gstelements.c:
15848 * plugins/elements/gstfdsink.c: (_do_init),
15849 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15850 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15851 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15852 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15853 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15854 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15855 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15856 * plugins/elements/gstfdsink.h:
15857 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15859 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15861 * docs/manual/advanced-dparams.xml:
15862 describe controller
15863 * docs/manual/advanced-position.xml:
15864 * docs/manual/basics-init.xml:
15865 * docs/manual/manual.xml:
15866 * docs/manual/titlepage.xml:
15867 * docs/pwg/pwg.xml:
15868 * docs/pwg/titlepage.xml:
15869 cleanup xml (more to come)
15870 * libs/gst/controller/gstcontroller.c:
15873 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15875 * win32/vs6/grammar.dsp:
15876 add autogen of gstmarshal.c,h for Release mode
15878 2006-01-30 Wim Taymans <wim@fluendo.com>
15880 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15881 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15882 (gst_base_sink_handle_object), (gst_base_sink_event),
15883 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15884 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15885 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15886 (gst_base_sink_deactivate), (gst_base_sink_activate),
15887 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15888 (gst_base_sink_query), (gst_base_sink_change_state):
15889 Basesink cleanups, remove some old code.
15890 Handle the case where a subclass can preroll in the render
15891 method (mostly audiosinks).
15892 Handle more events.
15893 Remove some locks around variables that are now protected
15894 with the PREROLL_LOCK (clock_id, flushing, ..).
15895 Optimize position query some more, do correct locking.
15896 Remove old code to push queue in state change, this is not
15897 needed anymore since preroll blocks on all prerollable items
15899 Almost implemented as described in design doc.
15901 2006-01-30 Wim Taymans <wim@fluendo.com>
15903 * tests/check/gst/gstbin.c: (GST_START_TEST):
15904 Wait for refcount to settle down before checking.
15906 2006-01-30 Wim Taymans <wim@fluendo.com>
15908 * docs/design/part-element-sink.txt:
15909 Pseudo code overview of desired sink behaviour regarding
15912 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15913 * win32/vs6/grammar.dsp:
15914 fix some bugs in Release mode for autogenerated files
15916 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15917 * win32/common/libgstbase.def:
15918 * win32/common/libgstreamer.def:
15919 export some new symbols: gst_base_src_set_format,
15920 gst_iterator_next, gst_structure_set_valist
15922 2006-01-29 Julien MOUTTE <julien@moutte.net>
15924 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15925 Set pad functions unconditionally. Fixes #329105.
15927 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15929 add vs8 project files created by Sergey Scobich
15931 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15933 * gst/gstutils.c: (gst_element_unlink_pads):
15934 Don't leak pad references.
15936 * tests/check/elements/fakesink.c: (GST_START_TEST):
15937 * tests/check/generic/sinks.c: (GST_START_TEST):
15938 * tests/check/generic/states.c: (GST_START_TEST):
15939 * tests/check/gst/gstbin.c: (GST_START_TEST):
15940 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15941 * tests/check/gst/gstelement.c: (GST_START_TEST):
15942 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15943 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15944 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15945 Fix a bunch of leaks. Make generic/sinks.c
15946 use a bit less cpu by slowing the buffer rate
15947 between fakesrc and fakesink.
15949 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15951 * gst/gstelement.c: (gst_element_send_event):
15954 * gst/gstiterator.c:
15955 * gst/gstiterator.h:
15956 * gst/gstpad.c: (gst_pad_send_event):
15957 * gst/gststructure.c:
15961 * libs/gst/base/gstadapter.c:
15962 doc fixes, to link to function, just write gst_cool_function(), don't
15965 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15967 * plugins/elements/gsttee.c: (gst_tee_do_push),
15968 (gst_tee_handle_buffer):
15969 Always prefer an actual return value from a src
15970 pad in place of NOT_LINKED. This means we return
15971 WRONG_STATE when all src pads are WRONG_STATE
15972 instead of NOT_LINKED.
15974 Lock when replacing the last message to prevent
15975 racing with the get_property method.
15979 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15981 * tests/check/Makefile.am:
15982 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15984 Add a very simple check that should have caught the memleak I fixed
15985 last night (if not for the slice allocator hiding it)
15987 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15989 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15990 (gst_bin_remove_func), (gst_bin_handle_message_func),
15991 (bin_query_duration_fold), (bin_query_generic_fold):
15992 Clean up references to the clock provider when disposed or when
15993 handling a clock-lost message from it.
15995 Unref sinks when performing a query via gst_iterator_fold, as the
15996 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15998 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15999 (gst_clock_set_master):
16000 Drop our reference to the master clock, if any, when we are disposed.
16002 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16003 Chain up in dispose.
16005 2006-01-26 Wim Taymans <wim@fluendo.com>
16007 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16008 Add some debugging.
16010 2006-01-26 Julien MOUTTE <julien@moutte.net>
16012 * plugins/elements/gsttee.c: (gst_tee_do_push),
16013 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16014 handles pad being NOT_LINKED or in WRONG_STATE.
16016 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16021 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16024 remove obsolete entry
16026 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16028 * docs/gst/gstreamer-sections.txt:
16029 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16030 (gst_bin_iterate_sources), (gst_bin_send_event):
16032 * gst/gstelement.c: (gst_element_send_event):
16034 * gst/gstpad.c: (gst_pad_send_event):
16035 added code for downstream events, reviewed docs in gstevent.c
16037 2006-01-25 Julien MOUTTE <julien@moutte.net>
16039 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16040 We only query position using the clock in the playing state.
16041 Query peer in the other cases.
16042 * win32/common/config.h: Updates.
16044 2006-01-24 Wim Taymans <wim@fluendo.com>
16046 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16047 A clock entry that is scheduled for the exact time of the
16048 clock is still in time.
16050 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16051 (gst_base_sink_do_sync):
16052 Add some more debug info.
16054 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16057 Add new vs7 project files and solution.
16059 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16062 all files removed as they were out-dated.
16064 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16066 * docs/random/release:
16068 * gst/gstbin.c: (gst_bin_init):
16069 * gst/gstbus.c: (gst_bus_new):
16071 * gst/gstpipeline.c: (gst_pipeline_init):
16072 use gst_bus_new(), improve logging, fix docs
16073 * win32/common/config.h:
16074 update for cvs build
16076 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16079 up required version of automake to 1.7
16081 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16083 * win32/common/libgstreamer.def:
16084 export gst_buffer_is_metadata_writable
16086 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16088 * docs/gst/gstreamer-sections.txt:
16090 Add gst_event_replace() (#327001)
16092 2006-01-20 Wim Taymans <wim@fluendo.com>
16094 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16095 Make it actually compile too..
16097 2006-01-20 Wim Taymans <wim@fluendo.com>
16100 Clarify behaviour of _is_equal() when passing NULL parameters.
16102 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16103 (gst_pad_set_caps):
16104 Cleanups. Don't unref NULL caps.
16105 When setting the same caps, protect caps of the pad with
16107 Use full functionality of _is_equal() when comparing caps.
16109 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16111 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16112 Don't loop infinitely if there are no buffers to present. Partially
16113 fixes #327197, but collectpads is just broken for reusing elements
16114 to do multiple encodes atm.
16116 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16118 * tools/gst-inspect.c: (print_element_features):
16119 * tools/gst-xmlinspect.c: (main):
16120 URL_HANDLER is not a plugin feature we can search for in
16123 2006-01-19 Edward Hervey <edward@fluendo.com>
16125 * gst/gstelement.c: (gst_element_pads_activate):
16126 When activating, do src pads first, then sink pads.
16127 When de-activating, do sink pads first, then src pads.
16129 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16131 * docs/gst/gstreamer-sections.txt:
16132 Add gst_index_add_associationv to the docs
16134 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16139 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16140 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16141 Do some refactoring. Doesn't actually change functionality,
16142 but makes landing the DRAIN event easier later.
16144 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16146 * docs/pwg/advanced-scheduling.xml:
16147 Update from 0.9.x to 0.10 API and make example a bit
16150 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16152 * docs/gst/gstreamer-sections.txt:
16153 Add gst_buffer_(is|make)_metadata_writable methods.
16155 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16157 * docs/design/part-sparsestreams.txt:
16158 Update sparse streams doc, hopefully for greater clarity
16160 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16162 * docs/design/part-events.txt:
16163 Remove mention of FILLER events.
16166 * docs/design/part-sparsestreams.txt:
16167 Write some things about using NEWSEGMENT to keep sparse streams
16170 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16172 * gst/gstbin.c: (gst_bin_dispose):
16173 Guard gst_object_unref call against a NULL object (dispose
16174 can theoretically be called multiple times).
16176 2006-01-18 Wim Taymans <wim@fluendo.com>
16178 * gst/gstbin.c: (gst_bin_element_set_state):
16179 * gst/gstclock.c: (gst_clock_id_wait):
16180 Added some more debug info.
16182 * libs/gst/base/gstadapter.c:
16185 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16186 (gst_base_sink_do_sync), (gst_base_sink_chain):
16187 Added some comments.
16189 2006-01-18 Wim Taymans <wim@fluendo.com>
16191 * tests/check/Makefile.am:
16192 * tests/check/elements/fakesink.c: (chain_async_buffer),
16193 (chain_async), (chain_async_return), (GST_START_TEST),
16194 (fakesink_suite), (main):
16195 Added fakesink test that checks prerolling and clipping
16198 * tests/check/gst/gstutils.c: (GST_START_TEST):
16199 Make check run faster so that buildbots don't timeout.
16201 2006-01-18 Wim Taymans <wim@fluendo.com>
16203 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16204 (gst_base_sink_do_sync):
16206 When the sink finishes blocking on the preroll buffer, it can
16207 immediatly render it instead of rendering when the next buffer
16210 2006-01-18 Wim Taymans <wim@fluendo.com>
16212 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16213 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16214 (gst_base_sink_chain):
16216 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16217 Don't store _last_stop if the buffer is dropped.
16219 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16221 * plugins/elements/gsttypefindelement.c:
16222 (gst_type_find_element_class_init):
16223 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16224 object method handler that sets the caps on the pad and we want
16225 that to happen before we emit the signal (fixes e.g. feeding a
16226 plain text file to decodebin).
16228 2006-01-18 Christian Schaller <Christian@fluendo.com>
16230 * gst/gstplugin.c: Add MPL and Proprietary as license options
16232 2006-01-18 Andy Wingo <wingo@pobox.com>
16234 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16235 symbol was exported before, it appears this was just an oversight.
16237 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16239 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16240 prototype to gint. OK since this prototype was not in the header.
16242 2006-01-17 Andy Wingo <wingo@pobox.com>
16244 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16245 registry while we remove plugins.
16247 * tools/gst-inspect.c (print_element_info): Don't unref the
16248 factory arg, that should be the responsibility of whatever code
16249 received the ref. Fixes a double-free when called from
16250 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16251 (main): Unref the factory if we have one.
16252 (print_element_list): No change -- relies on the
16253 plugin_feature_list_free to free the list of features.
16255 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16257 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16258 (gst_buffer_make_metadata_writable):
16260 * libs/gst/base/gstbasetransform.c:
16261 (gst_base_transform_prepare_output_buf):
16262 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16263 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16264 Replace gst_buffer_(make|is)_metadata_writable patch now
16265 that the release is out.
16267 2006-01-17 Andy Wingo <wingo@pobox.com>
16269 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16270 in the present tense without reference to versions.
16272 * gst/gstregistry.c (gst_registry_add_plugin)
16273 (gst_registry_remove_plugin, gst_registry_remove_feature)
16274 (gst_registry_find_feature, gst_registry_get_feature_list)
16275 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16276 (gst_registry_lookup, gst_registry_scan_path)
16277 (_gst_registry_remove_cache_plugins)
16278 (gst_registry_get_feature_list_by_plugin): Add argument
16281 === release 0.10.2 ===
16283 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16286 releasing 0.10.2, "If man is five"
16288 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16292 * libs/gst/base/gstbasetransform.c:
16293 (gst_base_transform_prepare_output_buf):
16294 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16295 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16296 Back out patch until after the release.
16298 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16300 * gst/gstminiobject.c:
16301 Spelling fix in docs.
16302 * ChangeLog - remove conflict indicator
16304 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16306 Reviewed By: Andy Wingo
16308 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16309 (gst_buffer_make_metadata_writable):
16311 Add gst_buffer_(is|make)_metadata_writable as analogues of
16312 gst_buffer_(is|make)_writable.
16314 * libs/gst/base/gstbasetransform.c:
16315 (gst_base_transform_prepare_output_buf):
16316 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16317 Use name gst_buffer_(is|make)_metadata_writable functions.
16319 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16320 Test gst_buffer_(is|make)_metadata_writable
16324 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16326 * docs/manual/Makefile.am:
16327 don't do parallel make
16330 * win32/common/config.h.in:
16331 add generations for HOST_CPU and GST_MAJORMINOR
16332 * win32/common/config.h:
16333 commit generated result
16335 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16337 * docs/manual/appendix-integration.xml:
16338 Update GNOME integration section to use gst_init_get_option_group()
16339 instead of the old popt stuff (#322911). Also, GNOME applications
16340 should now use gconf*sink and gconf*src instead of the old gconf
16343 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16346 * docs/gst/gstreamer-docs.sgml:
16347 * docs/gst/gstreamer-sections.txt:
16348 * docs/libs/gstreamer-libs-sections.txt:
16349 add new API entries to the docs
16350 * libs/gst/controller/Makefile.am:
16351 * libs/gst/controller/gstcontroller.c:
16352 * libs/gst/controller/gstcontroller.h:
16353 * libs/gst/controller/gstcontrollerprivate.h:
16354 * libs/gst/controller/gsthelper.c:
16355 * libs/gst/controller/gstinterpolation.c:
16356 move private structs to private header
16358 gstreamer-0.7 -> gstreamer-0.10
16359 * tests/check/libs/struct_i386.h:
16360 remove private structs
16362 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16364 * plugins/indexers/Makefile.am:
16365 Fixes as part of #317048
16367 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16369 * plugins/indexers/Makefile.am:
16370 fix #316086 - compilation when mmap is missing
16372 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16374 * libs/gst/base/gstbasesink.c:
16375 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16376 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16377 * win32/common/config.h:
16378 added some defines GST_MAJORMINOR and HOST_CPU
16379 * win32/common/libgstbase.def:
16380 * win32/common/libgstreamer.def:
16381 added some exported functions.
16383 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16385 * libs/gst/controller/gstcontroller.c:
16386 (gst_controlled_property_set_interpolation_mode),
16387 (gst_controlled_property_new):
16388 * libs/gst/controller/gstcontroller.h:
16389 * libs/gst/controller/gstinterpolation.c:
16390 (interpolate_none_get_string_value_array):
16391 make G_TYPE_STRING controlable
16393 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16396 * tools/gst-feedback.1.in:
16397 * tools/gst-inspect.1.in:
16398 * tools/gst-launch.1.in:
16399 * tools/gst-md5sum.1.in:
16400 * tools/gst-typefind.1.in:
16401 * tools/gst-xmlinspect.1.in:
16402 * tools/gst-xmllaunch.1.in:
16403 cleanup man-pages, remove reference to gst-register, document env-vars
16405 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16407 * gst/gstbuffer.c: (gst_buffer_span):
16408 gst_buffer_span should copy the timestamp of the first buffer
16409 if they were both originally overlapping subbuffers of the
16410 same parent, using the same logic as the 'slow copy' case.
16412 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16414 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16415 Need to awaken ALL the pads when we pop a buffer, otherwise
16416 collectpads only works when there is 2 input streams.
16418 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16420 * docs/random/ensonic/media-device-daemon.txt:
16423 fix doc example, add clarification
16424 * tools/gst-launch.1.in:
16425 add initial info about GST_PLUGIN_PATH, needs more work
16427 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16429 * docs/manual/basics-bins.xml:
16430 * docs/manual/basics-elements.xml:
16431 * docs/manual/intro-basics.xml:
16432 Some more minor docs additions and updates.
16434 2006-01-11 Wim Taymans <wim@fluendo.com>
16436 * docs/manual/basics-bins.xml:
16437 * docs/manual/basics-elements.xml:
16438 Some small fixes as pointed out by Ser-ver on IRC.
16440 2006-01-10 Edward Hervey <edward@fluendo.com>
16442 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16443 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16444 the single-segment mode.
16446 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16448 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16450 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16451 (gst_base_src_perform_seek), (gst_base_src_send_event),
16452 (gst_base_src_set_property), (gst_base_src_get_property),
16453 (gst_base_src_loop), (gst_base_src_start),
16454 (gst_base_src_activate_push):
16455 * libs/gst/base/gstbasesrc.h:
16456 Name (private) union; makes Sun's Forte compiler happy (#324900).
16458 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16461 gst-register is gone.
16463 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16465 * gst/gstvalue.c: (_gst_value_initialize):
16466 make the G_TYPE_DATE instantiation work if debug is disabled
16468 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16470 * gst/gstmessage.c: (gst_message_parse_tag),
16471 (gst_message_parse_error), (gst_message_parse_warning):
16472 Don't crash when return location for error/warning debug
16473 string is NULL; add fact that return locations can be
16474 NULL to docs where appropriate.
16476 2006-01-05 Wim Taymans <wim@fluendo.com>
16478 * gst/gstplugin.c: (gst_plugin_load_file):
16479 Replace strdup by g_strdup.
16481 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16483 * docs/pwg/advanced-types.xml:
16486 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16488 submitted by: Abel Cheung
16492 Added Chinese (traditional) translation
16494 2006-01-04 Wim Taymans <wim@fluendo.com>
16496 * docs/manual/basics-pads.xml:
16497 * docs/plugins/Makefile.am:
16498 * docs/plugins/gstreamer-plugins-docs.sgml:
16499 * docs/plugins/gstreamer-plugins-sections.txt:
16500 * docs/pwg/advanced-clock.xml:
16501 * docs/pwg/advanced-scheduling.xml:
16502 * docs/pwg/advanced-types.xml:
16503 * plugins/elements/gstfdsink.c:
16504 * plugins/elements/gstfdsrc.c:
16505 * plugins/elements/gstfdsrc.h:
16506 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16507 * plugins/elements/gstidentity.h:
16508 * plugins/elements/gstqueue.h:
16509 * plugins/elements/gsttee.c:
16510 * plugins/elements/gsttee.h:
16511 * plugins/elements/gsttypefindelement.c:
16512 (gst_type_find_element_class_init):
16513 * plugins/elements/gsttypefindelement.h:
16514 Small updates to various docs.
16515 Added core plugins to docs.
16517 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16520 add a suppression for liboil's uninitialized variable
16522 2006-01-02 James Livingston <jrl at ids dot org dot au>
16524 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16527 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16528 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16529 compiler switch is being used (#325429).
16531 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16533 * gst/gstbin.c: (gst_bin_query):
16534 Disable duration query caching in bins until it gets
16535 fixed (see #324807).
16537 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16539 * tools/gst-inspect.c: (print_element_properties_info):
16540 Handle properties of POINTER and BOXED type.
16542 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16544 * gst/gst.c: (init_post):
16545 Init tags stuff and some other things before loading
16546 any static plugins (there may be other static plugins
16547 than just the GStreamer ones, and they may want to
16548 register their own tags or formats or whatever, and
16549 preferably without segfaulting).
16551 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16552 Print at least a warning in the debug logs if we drop a
16553 query just because we don't know how to adjust the value
16554 in the particular format.
16556 2005-12-24 David Schleef <ds@schleef.org>
16558 * tools/gstreamer-completion:
16559 Replacement for gst-complete written in sh and sed. Only
16560 completes names of features, but that's 90% of what I want
16561 it for. Properties are not available in registry.xml. (Maybe
16564 === release 0.10.1 ===
16566 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16569 releasing 0.10.1, "Nollaig chridheil"
16571 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16573 * docs/faq/cvs.xml:
16574 Add missing quote, should be make ERROR_CFLAGS="".
16576 2005-12-20 Wim Taymans <wim@fluendo.com>
16578 * docs/design/part-trickmodes.txt:
16579 More documentation on trickmodes.
16581 2005-12-20 Edward Hervey <edward@fluendo.com>
16583 * gst/gstcaps.c: (gst_static_caps_get_type):
16585 API addition: GST_TYPE_STATIC_CAPS
16586 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16587 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16588 * gst/gstpadtemplate.h:
16589 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16590 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16593 2005-12-18 Wim Taymans <wim@fluendo.com>
16595 * libs/gst/base/gstadapter.c:
16596 * libs/gst/base/gstadapter.h:
16597 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16598 (gst_base_sink_get_position):
16599 * libs/gst/base/gstbasesink.h:
16600 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16601 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16602 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16603 (gst_base_src_send_event), (gst_base_src_update_length),
16604 (gst_base_src_get_range), (gst_base_src_loop),
16605 (gst_base_src_start):
16606 * libs/gst/base/gstbasesrc.h:
16607 * libs/gst/base/gstbasetransform.h:
16608 * libs/gst/base/gstcollectpads.h:
16609 * libs/gst/base/gstpushsrc.c:
16610 * libs/gst/base/gstpushsrc.h:
16611 * libs/gst/dataprotocol/dataprotocol.c:
16612 * libs/gst/dataprotocol/dataprotocol.h:
16613 * libs/gst/net/gstnetclientclock.h:
16614 * libs/gst/net/gstnettimeprovider.h:
16615 Documentation updates.
16617 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16619 * docs/manual/basics-helloworld.xml:
16620 Remove superfluous closing bracket in helloworld example.
16622 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16624 * tools/gst-launch.1.in:
16625 Update gst-launch man page; add a section with useful
16626 environment variables. Fixes #323882.
16628 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16631 * gst/gst_private.h:
16632 change some char* into char[]
16634 2005-12-16 Wim Taymans <wim@fluendo.com>
16636 * gst/gstregistryxml.c: (load_feature):
16638 Don't use g_object_unref on GstObjects so that we avoid
16639 leaks on unsafe glibs.
16641 2005-12-16 Wim Taymans <wim@fluendo.com>
16643 * gst/gstbin.c: (gst_bin_recalc_state):
16646 2005-12-16 Wim Taymans <wim@fluendo.com>
16648 * common/check.mak:
16649 Added make forever target for check.
16651 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16653 * gst/gst.c: (init_post):
16654 make the registry cache file HOST_CPU-dependent
16656 2005-12-16 Andy Wingo <wingo@pobox.com>
16658 * plugins/elements/gstbufferstore.c
16659 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16662 * tests/check/gst/gstobject.c
16663 (test_fake_object_name_threaded_unique): Pay attention to
16664 g_list_sort return value.
16666 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16668 * tools/gst-feedback-m.m:
16669 Update for 0.9/0.10 (fixes #323870).
16671 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16673 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16674 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16676 * tests/check/gst/gstminiobject.c: (my_foo_init),
16677 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16678 (test_value_collection), (gst_mini_object_suite):
16679 Add test to ensure refcounts end up as expected when passing
16680 GstMiniObjects through g_object_get() and g_object_set().
16682 2005-12-14 Julien MOUTTE <julien@moutte.net>
16684 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16685 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16686 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16687 of collectpads. This version removes a lot of races without
16688 touching API/ABI. Yay !
16690 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16692 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16693 Don't allow activation of a srcpad in pull_range if it has no
16695 Change some debug statements to be a little clearer
16697 * plugins/elements/gsttypefindelement.c:
16698 (gst_type_find_handle_src_query):
16699 Check that we have a peer before executing queries thereupon.
16701 * tests/examples/metadata/read-metadata.c: (message_loop):
16702 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16703 immediately return us any available message with 0 timeout.
16705 2005-12-12 Michael Smith <msmith@fluendo.com>
16707 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16708 Don't unref factories after calling them.
16709 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16710 * plugins/elements/gsttypefindelement.c:
16711 (gst_type_find_element_chain):
16712 Free lists of factories after using them. Fixing typefinding memory
16715 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16717 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16718 (gst_plugin_feature_load):
16719 more meaningful debug output
16721 * tests/Makefile.am:
16722 * tests/old/examples/Makefile.am:
16723 make make distcheck happy again
16725 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16727 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16728 Catch the special case where we are operating chain-based,
16729 but the downstream peer pad has no chain function. Emit a
16730 custom error message in this case instead of letting the
16731 core generate one implying that this is some sort of core
16732 bug. It's not, it just means that whatever got plugged
16733 into the pipeline downstream when we announced the type
16734 can only operate pull-based, while our source can only
16735 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16736 Error string has not been marked for translation yet, as
16737 it probably needs some more work first.
16739 (gst_type_find_element_get_best_possibility):
16740 Add helper function to find the best of all available
16741 found possibilities that qualify given the min. threshold.
16743 (gst_type_find_element_handle_event):
16744 Fix the case where we get an EOS while still in TYPEFIND
16745 mode (we want to chose the best of all possible types,
16746 not just the first type that happens to be in our unsorted
16747 list of possible types).
16749 (gst_type_find_element_chain):
16750 Make sure we return GST_FLOW_ERROR when we errored out
16751 in stop_typefinding(); also, don't just find the best of
16752 all found type entries and then use the last examined
16753 type entry, but actually use the best entry.
16755 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16757 * tests/examples/typefind/typefind.c: (type_found):
16758 * tests/examples/xml/runxml.c: (xml_loaded):
16759 More gcc4 fixes and a mem leak fix.
16761 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16763 * tests/examples/xml/createxml.c: (object_saved):
16766 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16768 * tests/Makefile.am:
16769 enable the examples even more
16771 2005-12-12 Andy Wingo <wingo@pobox.com>
16773 * libs/gst/net/gstnettimeprovider.c
16774 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16775 (gst_net_time_provider_set_property)
16776 (gst_net_time_provider_get_property):
16777 API addition: Export "active" as a GObject property.
16778 (gst_net_time_provider_thread): Only respond to time queries if
16779 the time provider is active.
16781 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16782 NetTimeProvider, preserving binary compat.
16784 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16786 * tests/examples/controller/audio-example.c: (main):
16787 * tests/examples/launch/Makefile.am:
16788 convert comments again
16790 2005-12-12 Wim Taymans <wim@fluendo.com>
16792 * libs/gst/base/gstpushsrc.c:
16795 2005-12-12 Wim Taymans <wim@fluendo.com>
16797 * docs/libs/gstreamer-libs-sections.txt:
16798 Added new symbol to docs.
16800 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16801 (gst_base_src_init), (gst_base_src_set_format),
16802 (gst_base_src_default_query), (gst_base_src_query),
16803 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16804 (gst_base_src_perform_seek), (gst_base_src_send_event),
16805 (gst_base_src_default_event), (gst_base_src_event_handler),
16806 (gst_base_src_set_property), (gst_base_src_get_property),
16807 (gst_base_src_wait), (gst_base_src_do_sync),
16808 (gst_base_src_update_length), (gst_base_src_get_range),
16809 (gst_base_src_check_get_range), (gst_base_src_loop),
16810 (gst_base_src_default_negotiate), (gst_base_src_start),
16811 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16812 (gst_base_src_change_state):
16813 * libs/gst/base/gstbasesrc.h:
16814 Implement seeking to other formats than _BYTES.
16815 Implement more seeking methods correctly.
16817 Added query vmethod.
16818 Added do_seek vmethod to make life easier for subclasses
16820 API addition: gst_base_src_set_format()
16822 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16824 * tests/examples/Makefile.am:
16827 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16830 * docs/random/ensonic/media-device-daemon.txt:
16831 * tests/examples/controller/.cvsignore:
16832 * tests/examples/controller/Makefile.am:
16833 * tests/examples/controller/audio-example.c: (main):
16834 * tests/examples/helloworld/.cvsignore:
16835 * tests/examples/helloworld/Makefile.am:
16836 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16837 * tests/examples/launch/.cvsignore:
16838 * tests/examples/launch/Makefile.am:
16839 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16840 * tests/examples/metadata/.cvsignore:
16841 * tests/examples/metadata/Makefile.am:
16842 * tests/examples/metadata/read-metadata.c: (message_loop),
16843 (make_pipeline), (print_tag), (main):
16844 * tests/examples/queue/.cvsignore:
16845 * tests/examples/queue/Makefile.am:
16846 * tests/examples/queue/queue.c: (event_loop), (main):
16847 * tests/examples/typefind/.cvsignore:
16848 * tests/examples/typefind/Makefile.am:
16849 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16851 * tests/examples/xml/.cvsignore:
16852 * tests/examples/xml/Makefile.am:
16853 * tests/examples/xml/createxml.c: (object_saved), (main):
16854 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16855 * tests/old/examples/Makefile.am:
16856 * tests/old/examples/TODO:
16857 * tests/old/examples/controller/.cvsignore:
16858 * tests/old/examples/controller/Makefile.am:
16859 * tests/old/examples/controller/audio-example.c:
16860 * tests/old/examples/helloworld/.cvsignore:
16861 * tests/old/examples/helloworld/Makefile.am:
16862 * tests/old/examples/helloworld/helloworld.c:
16863 * tests/old/examples/launch/.cvsignore:
16864 * tests/old/examples/launch/Makefile.am:
16865 * tests/old/examples/launch/mp3parselaunch.c:
16866 * tests/old/examples/launch/mp3play:
16867 * tests/old/examples/manual/Makefile.am:
16868 * tests/old/examples/metadata/Makefile.am:
16869 * tests/old/examples/metadata/read-metadata.c:
16870 * tests/old/examples/queue/.cvsignore:
16871 * tests/old/examples/queue/Makefile.am:
16872 * tests/old/examples/queue/queue.c:
16873 * tests/old/examples/typefind/.cvsignore:
16874 * tests/old/examples/typefind/Makefile.am:
16875 * tests/old/examples/typefind/typefind.c:
16876 * tests/old/examples/xml/.cvsignore:
16877 * tests/old/examples/xml/Makefile.am:
16878 * tests/old/examples/xml/createxml.c:
16879 * tests/old/examples/xml/runxml.c:
16880 applied some simple fixing to some examples
16881 re-enabled the working examples
16883 2005-12-12 Wim Taymans <wim@fluendo.com>
16885 * gst/gstsegment.c: (gst_segment_init),
16886 (gst_segment_set_last_stop), (gst_segment_set_seek),
16887 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16888 (gst_segment_to_running_time):
16889 Added more documentation.
16890 Make sure the last_pos value is updated properly.
16891 Make sure to_stream_time and to_running_time don't
16892 operate on wrong values.
16894 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16897 2005-12-12 Michael Smith <msmith@fluendo.com>
16899 * plugins/elements/gsttypefindelement.c: (free_entry),
16900 (gst_type_find_element_chain):
16901 Now that we're not leaking factories, make sure we keep references
16902 to them while we need them.
16904 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16906 * tests/check/gst/struct_i386.h:
16907 ifdef out the XML structs
16909 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16911 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16912 floor is not needed, F is always positive; this obviates the
16913 need for adding -lm when building without libxml
16915 2005-12-12 Wim Taymans <wim@fluendo.com>
16917 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16918 Take current playback rate into account when reporting
16921 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16923 * docs/manual/mime-world.fig:
16924 Let's try this again, this time with a file that is
16925 actually in XFig format.
16927 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16929 * docs/manual/mime-world.fig:
16930 Add audioconvert element to diagram so that it
16931 matches the text and the code (fixes #319526).
16933 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16935 * docs/pwg/building-chainfn.xml:
16936 * docs/pwg/building-pads.xml:
16937 * docs/pwg/building-state.xml:
16938 * docs/pwg/other-source.xml:
16939 Update state change stuff for 0.10 (fixes #322969).
16941 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16943 * docs/manual/advanced-dataaccess.xml:
16944 * docs/manual/appendix-checklist.xml:
16945 * docs/manual/appendix-programs.xml:
16946 * docs/manual/basics-pads.xml:
16947 * docs/manual/highlevel-components.xml:
16948 * docs/manual/manual.xml:
16949 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16950 add converters in front of pipelines; remove curly
16951 brackets for threads stuff, they no longer exist; use
16952 GST_TYPE_FRACTION for framerates; update some pieces of
16953 code to 0.10, but there's plenty more to do.
16955 * docs/manual/appendix-porting.xml:
16956 Expand on asynchroneous state changes; s/0.9/0.10/;
16957 mention disappearance of gst_init_get_popt_table()
16960 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16962 * docs/faq/using.xml:
16963 Spider no longer exists, and neither does gst-launch-ext.
16964 Update examples to use decodebin and playbin and put
16965 converters in front of sinks (fixes #323726).
16967 2005-12-09 Michael Smith <msmith@fluendo.com>
16969 * plugins/elements/gsttypefindelement.c: (find_peek),
16970 (gst_type_find_element_chain):
16971 Fix leaking element factories in typefinding.
16972 Fix problem where we forgot about a probable type on non-seekable
16973 files, and thus later mis-typefound it.
16975 2005-12-09 Michael Smith <msmith@fluendo.com>
16977 * common/m4/gst-makecontext.m4:
16978 * common/m4/gst-mcsc.m4:
16980 * win32/common/config.h:
16981 * win32/common/config.h.in:
16982 Remove makecontext stuff; not used in 0.10 and causes problems on
16983 HPUX according to bug #322441
16985 2005-12-07 Wim Taymans <wim@fluendo.com>
16987 * tests/check/Makefile.am:
16988 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16990 * tests/check/libs/struct_i386.h:
16991 Added ABI check for libs
16993 2005-12-07 Wim Taymans <wim@fluendo.com>
16995 * tests/check/Makefile.am:
16996 And add the struct_i386.h to dist.
16998 2005-12-07 Wim Taymans <wim@fluendo.com>
17000 * tests/check/Makefile.am:
17001 * tests/check/gst/.cvsignore:
17002 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17004 * tests/check/gst/struct_i386.h:
17005 Added check for ABI compatibility.
17007 2005-12-07 Wim Taymans <wim@fluendo.com>
17009 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17010 (gst_fake_src_get_times), (gst_fake_src_create):
17011 Fix broken sync option, fixes #323259
17013 2005-12-07 Wim Taymans <wim@fluendo.com>
17018 * gst/gstcaps.c: (gst_caps_is_equal):
17019 Don't assert on NULL <--> X. Fixes #323260
17021 * gst/gstminiobject.c: (gst_mini_object_replace):
17022 If we're doing atomic operations, we might just as well use
17023 the proper way to get an atomic pointer.
17025 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17026 Clean up debugging.
17028 2005-12-07 Michael Smith <msmith@fluendo.com>
17030 * gst/parse/grammar.y:
17031 Remove handling of { } for threads.
17033 2005-12-06 David Schleef <ds@schleef.org>
17035 * libs/gst/base/gstbasetransform.c: speling fix.
17037 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17039 * docs/libs/tmpl/gstdataprotocol.sgml:
17040 * docs/random/omega/testing/gstobject.c:
17043 * gst/gstelement.c:
17044 * gst/gstelementfactory.c:
17047 * gst/gstghostpad.c:
17049 * gst/gstpadtemplate.c:
17050 * gst/gstregistryxml.c:
17051 * gst/gsttaglist.c:
17052 * gst/gsttagsetter.c:
17053 * gst/gsttypefind.c:
17055 * libs/gst/base/gstbasesrc.c:
17056 * libs/gst/net/gstnetclientclock.c:
17057 * libs/gst/net/gstnettimeprovider.c:
17058 * plugins/elements/gstfakesrc.c:
17059 * plugins/elements/gstfdsrc.c:
17060 * plugins/elements/gstfilesrc.c:
17061 * plugins/elements/gstidentity.c:
17062 * plugins/elements/gstqueue.c:
17063 * plugins/elements/gsttypefindelement.c:
17064 * plugins/indexers/gstfileindex.c:
17065 * plugins/indexers/gstmemindex.c:
17066 * tests/check/gst/gsttag.c:
17067 * tests/old/examples/cutter/cutter.c:
17068 * tests/old/examples/mixer/mixer.c:
17069 * tests/old/examples/xml/runxml.c: (main):
17070 * tests/old/testsuite/caps/normalisation.c:
17071 * tests/old/testsuite/debug/global.c:
17072 * tests/old/testsuite/parse/parse1.c:
17073 * tools/gst-xmlinspect.c:
17074 * win32/common/dirent.c:
17077 === release 0.10.0 ===
17079 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17082 releasing 0.10.0, "Maroilles"
17084 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17086 submitted by: Funda Wang <fundawang@linux.net.cn>
17090 added Chinese (Traditional) translation
17092 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17094 * docs/gst/gstreamer-sections.txt:
17095 * docs/libs/tmpl/gstdataprotocol.sgml:
17096 * docs/random/thomasvs/TODO:
17101 2005-12-05 Andy Wingo <wingo@pobox.com>
17103 patch by: Wim Taymans <wim@fluendo.com>
17105 * libs/gst/base/gstbasetransform.c
17106 (gst_base_transform_prepare_output_buf)
17107 (gst_base_transform_buffer_alloc):
17108 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17109 alloc_buffer_and_set_caps.
17111 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17112 set_caps on the source pad.
17113 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17114 alloc_buffer used to do. Fixes #322874.
17116 * docs/gst/gstreamer-sections.txt:
17117 * docs/design/part-negotiation.txt:
17118 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17121 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17123 patch by: Sebastien Moutte
17126 * win32/common/config.h.in:
17127 * win32/vs6/libgstcontroller.dsp:
17130 2005-12-05 Wim Taymans <wim@fluendo.com>
17132 * gst/gstcaps.c: (gst_caps_is_equal):
17133 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17134 (gst_fake_src_create):
17135 Back out previous code changes, leave doc updates, file bugs
17138 2005-12-05 Wim Taymans <wim@fluendo.com>
17140 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17141 (gst_fake_src_get_times), (gst_fake_src_create):
17142 * plugins/elements/gstfakesrc.h:
17143 Fix broken sync code.
17145 2005-12-05 Wim Taymans <wim@fluendo.com>
17147 * gst/gstcaps.c: (gst_caps_is_equal):
17148 Comparing NULL against !NULL yields different caps, not a
17151 2005-12-05 Wim Taymans <wim@fluendo.com>
17153 * gst/gstpipeline.c:
17154 Fix small typo in docs.
17156 2005-12-05 Andy Wingo <wingo@pobox.com>
17158 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17160 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17161 registries/plugins with a MAJORMINOR one.
17162 (plugin_desc): Rename library from gstcoreleements to
17163 staticelements. Fixes #323222.
17165 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17167 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17168 Change debug category to 'collectpads' from 'collect_pads'
17171 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17173 patch by: Sebastien Moutte
17175 * libs/gst/controller/gstinterpolation.c:
17176 use convert function for uint64/double
17177 * win32/vs6/libgstcontroller.dsp:
17180 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17182 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17183 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17185 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17186 add tests that seem to show that the guint64/gdouble conversions
17189 2005-12-02 Wim Taymans <wim@fluendo.com>
17191 * gst/gstregistry.c: (gst_registry_add_path):
17192 * gst/gstregistry.h:
17193 * gst/gstregistryxml.c:
17196 2005-12-02 Wim Taymans <wim@fluendo.com>
17198 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17199 (gst_util_uint64_scale_int):
17202 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17203 Add debug log line.
17205 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17208 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17211 * win32/common/config.h:
17212 * win32/vs6/gstreamer.dsw:
17213 * win32/vs6/libgstcoreelements.dsp:
17214 * win32/vs6/libgstelements.dsp:
17215 renamed core elements plugin
17217 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17219 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17221 do piece-wise major/minor comparison so 0.9 < 0.10
17222 also allow .exe extensions for tools
17224 2005-12-02 Michael Smith <msmith@fluendo.com>
17227 Escape a % to make gtkdoc happier; bug 322958.
17229 === release 0.9.7 ===
17231 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17234 releasing 0.9.7, "My Dog Has No Nose"
17236 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17238 * common/gst-xmlinspect.py:
17240 * docs/libs/tmpl/gstdataprotocol.sgml:
17241 * docs/random/release:
17260 * win32/common/config.h:
17261 * win32/common/config.h.in:
17262 * win32/vs6/gst_inspect.dsp:
17263 * win32/vs6/gst_launch.dsp:
17264 * win32/vs6/libgstbase.dsp:
17265 * win32/vs6/libgstelements.dsp:
17266 * win32/vs6/libgstreamer.dsp:
17267 * win32/vs7/GStreamer.vcproj:
17268 * win32/vs7/gst-inspect.vcproj:
17269 * win32/vs7/gst-launch.vcproj:
17270 * win32/vs7/libgstbase.vcproj:
17271 bump GST_MAJORMINOR to 0.10
17272 reset libtool version
17274 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17278 Added Bulgarian translation by (Alexander Shopov)
17280 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17282 * tests/check/gst/gstplugin.c:
17285 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17287 * common/gst-xmlinspect.py:
17288 * common/gtk-doc-plugins.mak:
17290 * docs/Makefile.am:
17291 * docs/gst/Makefile.am:
17292 * docs/gst/gstreamer-docs.sgml:
17293 * docs/gst/gstreamer-sections.txt:
17294 * docs/gst/gstreamer.types:
17295 * docs/gst/gstreamer.types.in:
17296 * docs/plugins/Makefile.am:
17297 * docs/plugins/gstreamer-plugins-docs.sgml:
17298 * docs/plugins/gstreamer-plugins-sections.txt:
17299 * docs/plugins/gstreamer-plugins.types:
17300 * docs/plugins/inspect.stamp:
17301 * docs/plugins/inspect/plugin-coreelements.xml:
17302 * docs/plugins/inspect/plugin-coreindexers.xml:
17303 * docs/plugins/scanobj-build.stamp:
17304 * gstreamer.spec.in:
17305 * plugins/elements/Makefile.am:
17306 * plugins/elements/gstelements.c:
17307 * plugins/elements/gstfakesink.c:
17308 * plugins/elements/gstfakesrc.c:
17309 * plugins/elements/gstfilesink.c:
17310 * plugins/elements/gstfilesrc.c:
17311 * plugins/elements/gstqueue.c:
17312 * plugins/indexers/Makefile.am:
17313 * plugins/indexers/gstindexers.c:
17314 document core plugins in a separate document just like all the
17316 rename these plugins to something starting with core
17318 2005-12-01 Andy Wingo <wingo@pobox.com>
17320 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17321 padding here before, but it missed the commit.
17323 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17325 * libs/gst/controller/gstinterpolation.c:
17326 whitespace prices have crashed, we should feel free to use some now
17327 use gst_guint64_to_gdouble
17329 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17331 * libs/gst/controller/gstcontroller.c:
17332 * libs/gst/controller/gsthelper.c:
17333 * libs/gst/controller/gstinterpolation.c:
17334 * libs/gst/controller/lib.c:
17335 wrap config.h include
17337 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17339 * docs/gst/gstreamer-sections.txt:
17342 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17344 * plugins/elements/gstelements.c:
17345 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17346 (gst_fd_sink__class_init), (gst_fd_sink__init),
17347 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17348 (gst_fd_sink__get_property):
17349 * plugins/elements/gstfdsink.h:
17350 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17351 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17352 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17353 (gst_fd_src_unlock), (gst_fd_src_set_property),
17354 (gst_fd_src_get_property), (gst_fd_src_create),
17355 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17356 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17357 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17358 (gst_fd_src_uri_handler_init):
17359 * plugins/elements/gstfdsrc.h:
17360 * plugins/elements/gstqueue.c: (gst_queue_get_type):
17363 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17365 * docs/gst/Makefile.am:
17366 * docs/gst/gstreamer.types.in:
17370 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17376 * gst/gstregistry.h:
17377 * tests/benchmarks/complexity.c:
17378 * tests/benchmarks/mass-elements.c:
17379 * tests/check/Makefile.am:
17380 * tools/Makefile.am:
17381 * tools/gst-inspect.c:
17382 * tools/gst-xmlinspect.c:
17383 various fixes to make
17384 --disable-nls --disable-registry --disable-loadsave
17385 --disable-parse --disable-gst-debug
17386 work and get the core .so down to 360444 bytes after stripping
17388 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17393 * docs/random/thomasvs/TODO:
17394 * tests/Makefile.am:
17398 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17400 * win32/GStreamer.vcproj:
17403 * win32/Makefile.inspect:
17404 * win32/Makefile.launch:
17405 * win32/Makefile.register:
17406 * win32/README.txt:
17407 * win32/gst-inspect.vcproj:
17408 * win32/gst-launch.vcproj:
17409 * win32/gst-register.vcproj:
17410 * win32/gstelements.vcproj:
17411 * win32/gstgetbits.def:
17412 * win32/gstgetbits.vcproj:
17413 * win32/gstreamer-dbg.def:
17414 * win32/gstreamer.def:
17415 * win32/libgstbase.def:
17416 * win32/libgstbase.vcproj:
17417 * win32/link_oldruntime.c:
17421 * win32/msvc71.sln:
17422 move even more stuff, win32/ is nice and clean now
17424 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17426 * libs/gst/control/.cvsignore:
17431 * win32/gstbytestream.def:
17432 * win32/gstbytestream.vcproj:
17433 * win32/gstconfig.h:
17434 * win32/gstenumtypes.c:
17435 * win32/gstenumtypes.h:
17436 * win32/gstoptimalscheduler.vcproj:
17437 * win32/gstversion.h:
17439 * win32/testsuite/bins.vcproj:
17440 * win32/testsuite/bytestream.vcproj:
17441 * win32/testsuite/caps.vcproj:
17442 * win32/testsuite/cleanup.vcproj:
17443 * win32/testsuite/clock.vcproj:
17444 * win32/testsuite/debug.vcproj:
17445 * win32/testsuite/dlopen.vcproj:
17446 * win32/testsuite/dynparams.vcproj:
17447 * win32/testsuite/elements.vcproj:
17448 * win32/testsuite/ghostpads.vcproj:
17449 * win32/testsuite/indexers.vcproj:
17450 * win32/testsuite/negotiation.vcproj:
17451 * win32/testsuite/parse.vcproj:
17452 * win32/testsuite/plugin.vcproj:
17453 * win32/testsuite/refcounting.vcproj:
17454 * win32/testsuite/schedulers.vcproj:
17455 * win32/testsuite/states.vcproj:
17456 * win32/testsuite/tags.vcproj:
17457 * win32/testsuite/threads.vcproj:
17458 remove old win32 stuff that isn't maintained and should be
17461 2005-11-30 Andy Wingo <wingo@pobox.com>
17463 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17464 loading the gst.interfaces python module bork.
17466 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17467 available since GLib 2.2. Fixes #318031.
17469 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17472 * check/.cvsignore:
17473 * check/Makefile.am:
17474 * check/elements/.cvsignore:
17475 * check/elements/fakesrc.c:
17476 * check/elements/fdsrc.c:
17477 * check/elements/identity.c:
17478 * check/generic/.cvsignore:
17479 * check/generic/states.c:
17480 * check/gst-libs/.cvsignore:
17481 * check/gst-libs/controller.c:
17482 * check/gst-libs/gdp.c:
17483 * check/gst/.cvsignore:
17484 * check/gst/capslist.h:
17486 * check/gst/gstbin.c:
17487 * check/gst/gstbuffer.c:
17488 * check/gst/gstbus.c:
17489 * check/gst/gstcaps.c:
17490 * check/gst/gstelement.c:
17491 * check/gst/gstevent.c:
17492 * check/gst/gstghostpad.c:
17493 * check/gst/gstiterator.c:
17494 * check/gst/gstmessage.c:
17495 * check/gst/gstminiobject.c:
17496 * check/gst/gstobject.c:
17497 * check/gst/gstpad.c:
17498 * check/gst/gstpipeline.c:
17499 * check/gst/gstplugin.c:
17500 * check/gst/gstsegment.c:
17501 * check/gst/gststructure.c:
17502 * check/gst/gstsystemclock.c:
17503 * check/gst/gsttag.c:
17504 * check/gst/gstutils.c:
17505 * check/gst/gstvalue.c:
17506 * check/net/.cvsignore:
17507 * check/net/gstnetclientclock.c:
17508 * check/net/gstnettimeprovider.c:
17509 * check/pipelines/.cvsignore:
17510 * check/pipelines/cleanup.c:
17511 * check/pipelines/simple_launch_lines.c:
17512 * check/pipelines/stress.c:
17513 * check/states/.cvsignore:
17514 * check/states/sinks.c:
17516 * examples/Makefile.am:
17517 * examples/appreader/.cvsignore:
17518 * examples/appreader/Makefile.am:
17519 * examples/appreader/appreader.c:
17520 * examples/controller/.cvsignore:
17521 * examples/controller/Makefile.am:
17522 * examples/controller/audio-example.c:
17523 * examples/cutter/.cvsignore:
17524 * examples/cutter/Makefile.am:
17525 * examples/cutter/cutter.c:
17526 * examples/cutter/cutter.h:
17527 * examples/events/Makefile.am:
17528 * examples/events/seek.c:
17529 * examples/helloworld/.cvsignore:
17530 * examples/helloworld/Makefile.am:
17531 * examples/helloworld/helloworld.c:
17532 * examples/helloworld2/.cvsignore:
17533 * examples/helloworld2/Makefile.am:
17534 * examples/helloworld2/helloworld2.c:
17535 * examples/launch/.cvsignore:
17536 * examples/launch/Makefile.am:
17537 * examples/launch/mp3parselaunch.c:
17538 * examples/launch/mp3play:
17539 * examples/manual/.cvsignore:
17540 * examples/manual/Makefile.am:
17541 * examples/manual/extract.pl:
17542 * examples/metadata/Makefile.am:
17543 * examples/metadata/read-metadata.c:
17544 * examples/mixer/.cvsignore:
17545 * examples/mixer/Makefile.am:
17546 * examples/mixer/mixer.c:
17547 * examples/mixer/mixer.h:
17548 * examples/pingpong/.cvsignore:
17549 * examples/pingpong/Makefile.am:
17550 * examples/pingpong/pingpong.c:
17551 * examples/plugins/.cvsignore:
17552 * examples/plugins/Makefile.am:
17553 * examples/plugins/example.c:
17554 * examples/plugins/example.h:
17555 * examples/pwg/.cvsignore:
17556 * examples/pwg/Makefile.am:
17557 * examples/pwg/extract.pl:
17558 * examples/queue/.cvsignore:
17559 * examples/queue/Makefile.am:
17560 * examples/queue/queue.c:
17561 * examples/queue2/.cvsignore:
17562 * examples/queue2/Makefile.am:
17563 * examples/queue2/queue2.c:
17564 * examples/queue3/.cvsignore:
17565 * examples/queue3/Makefile.am:
17566 * examples/queue3/queue3.c:
17567 * examples/queue4/.cvsignore:
17568 * examples/queue4/Makefile.am:
17569 * examples/queue4/queue4.c:
17570 * examples/retag/.cvsignore:
17571 * examples/retag/Makefile.am:
17572 * examples/retag/retag.c:
17573 * examples/retag/transcode.c:
17574 * examples/thread/.cvsignore:
17575 * examples/thread/Makefile.am:
17576 * examples/thread/thread.c:
17577 * examples/typefind/.cvsignore:
17578 * examples/typefind/Makefile.am:
17579 * examples/typefind/typefind.c:
17580 * examples/xml/.cvsignore:
17581 * examples/xml/Makefile.am:
17582 * examples/xml/createxml.c:
17583 * examples/xml/runxml.c:
17584 * tests/Makefile.am:
17585 * tests/check/Makefile.am:
17586 * testsuite/.cvsignore:
17587 * testsuite/Makefile.am:
17589 * testsuite/caps/.cvsignore:
17590 * testsuite/caps/Makefile.am:
17591 * testsuite/caps/app_fixate.c:
17592 * testsuite/caps/audioscale.c:
17593 * testsuite/caps/caps.c:
17594 * testsuite/caps/caps.h:
17595 * testsuite/caps/caps_strings:
17596 * testsuite/caps/compatibility.c:
17597 * testsuite/caps/deserialize.c:
17598 * testsuite/caps/enumcaps.c:
17599 * testsuite/caps/eratosthenes.c:
17600 * testsuite/caps/filtercaps.c:
17601 * testsuite/caps/fixed.c:
17602 * testsuite/caps/fraction-convert.c:
17603 * testsuite/caps/fraction-multiply-and-zero.c:
17604 * testsuite/caps/intersect2.c:
17605 * testsuite/caps/intersection.c:
17606 * testsuite/caps/normalisation.c:
17607 * testsuite/caps/random.c:
17608 * testsuite/caps/renegotiate.c:
17609 * testsuite/caps/sets.c:
17610 * testsuite/caps/simplify.c:
17611 * testsuite/caps/string-conversions.c:
17612 * testsuite/caps/structure.c:
17613 * testsuite/caps/subtract.c:
17614 * testsuite/caps/union.c:
17615 * testsuite/debug/.cvsignore:
17616 * testsuite/debug/Makefile.am:
17617 * testsuite/debug/category.c:
17618 * testsuite/debug/commandline.c:
17619 * testsuite/debug/global.c:
17620 * testsuite/debug/output.c:
17621 * testsuite/debug/printf_extension.c:
17622 * testsuite/dlopen/.cvsignore:
17623 * testsuite/dlopen/Makefile.am:
17624 * testsuite/dlopen/dlopen_gst.c:
17625 * testsuite/dlopen/loadgst.c:
17626 * testsuite/elements/.cvsignore:
17627 * testsuite/elements/Makefile.am:
17628 * testsuite/elements/gst-inspect-check.in:
17629 * testsuite/elements/struct_i386.h:
17630 * testsuite/elements/struct_size.c:
17631 * testsuite/indexers/.cvsignore:
17632 * testsuite/indexers/Makefile.am:
17633 * testsuite/indexers/cache1.c:
17634 * testsuite/indexers/indexdump.c:
17635 * testsuite/parse/.cvsignore:
17636 * testsuite/parse/Makefile.am:
17637 * testsuite/parse/parse1.c:
17638 * testsuite/parse/parse2.c:
17639 * testsuite/plugin/.cvsignore:
17640 * testsuite/plugin/Makefile.am:
17641 * testsuite/plugin/README:
17642 * testsuite/plugin/dynamic.c:
17643 * testsuite/plugin/linked.c:
17644 * testsuite/plugin/loading.c:
17645 * testsuite/plugin/registry.c:
17646 * testsuite/plugin/static.c:
17647 * testsuite/plugin/static2.c:
17648 * testsuite/plugin/testplugin.c:
17649 * testsuite/plugin/testplugin2.c:
17650 * testsuite/plugin/testplugin2_s.c:
17651 * testsuite/plugin/testplugin_s.c:
17652 * testsuite/refcounting/.cvsignore:
17653 * testsuite/refcounting/Makefile.am:
17654 * testsuite/refcounting/bin.c:
17655 * testsuite/refcounting/element.c:
17656 * testsuite/refcounting/element_pad.c:
17657 * testsuite/refcounting/mainloop.c:
17658 * testsuite/refcounting/mem.c:
17659 * testsuite/refcounting/mem.h:
17660 * testsuite/refcounting/object.c:
17661 * testsuite/refcounting/pad.c:
17662 * testsuite/refcounting/sched.c:
17663 * testsuite/refcounting/thread.c:
17664 * testsuite/states/.cvsignore:
17665 * testsuite/states/Makefile.am:
17666 * testsuite/states/bin.c:
17667 * testsuite/states/locked.c:
17668 * testsuite/states/parent.c:
17669 * testsuite/threads/.cvsignore:
17670 * testsuite/threads/159566.c:
17671 * testsuite/threads/159852.c:
17672 * testsuite/threads/Makefile.am:
17673 * testsuite/threads/queue.c:
17674 * testsuite/threads/signals.c:
17675 * testsuite/threads/staticrec.c:
17676 * testsuite/threads/thread.c:
17677 * testsuite/threads/threadb.c:
17678 * testsuite/threads/threadc.c:
17679 * testsuite/threads/threadd.c:
17680 * testsuite/threads/threade.c:
17681 * testsuite/threads/threadf.c:
17682 * testsuite/threads/threadg.c:
17683 * testsuite/threads/threadh.c:
17684 * testsuite/threads/threadi.c:
17685 move all of these under tests
17687 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17690 * tests/Makefile.am:
17693 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17695 * docs/gst/gstreamer-sections.txt:
17696 * tests/sched/.cvsignore:
17697 * tests/sched/Makefile.am:
17698 * tests/sched/cases/(fs-fs).xml:
17699 * tests/sched/cases/(fs-i-fs).xml:
17700 * tests/sched/cases/(fs-i-i-fs).xml:
17701 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17702 * tests/sched/dynamic-pipeline.c:
17703 * tests/sched/interrupt1.c:
17704 * tests/sched/interrupt2.c:
17705 * tests/sched/interrupt3.c:
17706 * tests/sched/runtestcases:
17707 * tests/sched/runxml.c:
17708 * tests/sched/sched-stress.c:
17709 * tests/sched/sort.c:
17710 * tests/sched/testcases:
17711 * tests/sched/testcases1.tc:
17712 * tests/seeking/.cvsignore:
17713 * tests/seeking/Makefile.am:
17714 * tests/seeking/seeking1.c:
17715 * tests/threadstate/.cvsignore:
17716 * tests/threadstate/Makefile.am:
17717 * tests/threadstate/test1.c:
17718 * tests/threadstate/test2.c:
17719 * tests/threadstate/threadstate1.c:
17720 * tests/threadstate/threadstate2.c:
17721 * tests/threadstate/threadstate3.c:
17722 * tests/threadstate/threadstate4.c:
17723 * tests/threadstate/threadstate5.c:
17724 remove obsolete tests
17726 * tests/bench-complexity.scm:
17727 * tests/bench-mass_elements.scm:
17728 * tests/complexity.c:
17729 * tests/complexity.gnuplot:
17730 * tests/instantiate/.cvsignore:
17731 * tests/instantiate/Makefile.am:
17732 * tests/instantiate/caps.c:
17733 * tests/mass_elements.c:
17734 * tests/network-clock-utils.scm:
17735 * tests/network-clock.scm:
17737 First pass at cleaning up tests/ dir before moving the rest
17738 Combined with CVS surgery
17740 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17743 queue has moved, update
17745 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17747 * docs/gst/gstreamer-sections.txt:
17748 remove double entries from the docs
17749 * gst/gst_private.h:
17750 * gst/gstinfo.c: (_gst_debug_init):
17751 remove the THREAD debug category
17755 * docs/gst/gstreamer.types:
17756 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17757 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17758 completely move queue and fix up debugging categories
17760 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17762 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17763 make initialization portable, using LL is not
17765 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17767 * win32/common/gstconfig.h:
17770 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17772 * win32/common/libgstreamer.def:
17773 rename symbols; sort base section
17775 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17777 * gst/gstclock.c: (do_linear_regression):
17778 remove crack non-portable handrolled DEBUG macro
17780 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17782 * docs/random/release:
17784 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17785 (gst_object_flags_get_type), (register_gst_bin_flags),
17786 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17787 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17788 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17789 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17790 (gst_caps_flags_get_type), (register_gst_clock_return),
17791 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17792 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17793 (gst_clock_flags_get_type), (register_gst_state),
17794 (gst_state_get_type), (register_gst_state_change_return),
17795 (gst_state_change_return_get_type), (register_gst_state_change),
17796 (gst_state_change_get_type), (register_gst_element_flags),
17797 (gst_element_flags_get_type), (register_gst_core_error),
17798 (gst_core_error_get_type), (register_gst_library_error),
17799 (gst_library_error_get_type), (register_gst_resource_error),
17800 (gst_resource_error_get_type), (register_gst_stream_error),
17801 (gst_stream_error_get_type), (register_gst_event_type_flags),
17802 (gst_event_type_flags_get_type), (register_gst_event_type),
17803 (gst_event_type_get_type), (register_gst_seek_type),
17804 (gst_seek_type_get_type), (register_gst_seek_flags),
17805 (gst_seek_flags_get_type), (register_gst_format),
17806 (gst_format_get_type), (register_gst_index_certainty),
17807 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17808 (gst_index_entry_type_get_type),
17809 (register_gst_index_lookup_method),
17810 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17811 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17812 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17813 (gst_index_flags_get_type), (register_gst_debug_level),
17814 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17815 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17816 (gst_iterator_result_get_type), (register_gst_iterator_item),
17817 (gst_iterator_item_get_type), (register_gst_message_type),
17818 (gst_message_type_get_type), (register_gst_mini_object_flags),
17819 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17820 (gst_pad_link_return_get_type), (register_gst_flow_return),
17821 (gst_flow_return_get_type), (register_gst_activate_mode),
17822 (gst_activate_mode_get_type), (register_gst_pad_direction),
17823 (gst_pad_direction_get_type), (register_gst_pad_flags),
17824 (gst_pad_flags_get_type), (register_gst_pad_presence),
17825 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17826 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17827 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17828 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17829 (gst_plugin_flags_get_type), (register_gst_rank),
17830 (gst_rank_get_type), (register_gst_query_type),
17831 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17832 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17833 (gst_tag_flag_get_type), (register_gst_task_state),
17834 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17835 (gst_alloc_trace_flags_get_type),
17836 (register_gst_type_find_probability),
17837 (gst_type_find_probability_get_type), (register_gst_uri_type),
17838 (gst_uri_type_get_type), (register_gst_parse_error),
17839 (gst_parse_error_get_type):
17840 * win32/common/gstenumtypes.h:
17841 * win32/common/gstversion.h:
17842 update visual studio generated files
17844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17846 * win32/vs6/libgstbase.dsp:
17847 * win32/vs6/libgstelements.dsp:
17848 update project files for new locations
17850 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17855 reinstate and update
17860 * docs/random/LICENSE:
17863 2005-11-30 Edward Hervey <edward@fluendo.com>
17865 * gst/gsttypefind.c: (gst_type_find_register):
17866 * gst/gsttypefind.h:
17867 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17868 (gst_type_find_factory_dispose):
17869 * gst/gsttypefindfactory.h:
17870 Fix memory leak in GstTypeFindFactory.
17872 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17875 * plugins/elements/Makefile.am:
17876 * plugins/elements/gstelements.c:
17877 * plugins/elements/gstqueue.c:
17878 move queue from core to the elements plugin
17880 2005-11-29 Andy Wingo <wingo@pobox.com>
17882 * libs/gst/base/gstbasetransform.h:
17883 * libs/gst/base/gstbasesrc.h:
17884 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17886 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17887 of pointers by which to pad very extensible base classes (like the
17888 ones in libs/gst/base).
17890 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17892 * docs/gst/gstreamer-docs.sgml:
17893 * docs/gst/gstreamer-sections.txt:
17894 * docs/libs/gstreamer-libs-docs.sgml:
17895 * docs/libs/gstreamer-libs-sections.txt:
17896 moving documentation from core to lib
17898 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17900 * check/Makefile.am:
17902 * docs/gst/Makefile.am:
17904 * gst/base/.cvsignore:
17905 * gst/base/Makefile.am:
17907 * gst/base/gstadapter.c:
17908 * gst/base/gstadapter.h:
17909 * gst/base/gstbasesink.c:
17910 * gst/base/gstbasesink.h:
17911 * gst/base/gstbasesrc.c:
17912 * gst/base/gstbasesrc.h:
17913 * gst/base/gstbasetransform.c:
17914 * gst/base/gstbasetransform.h:
17915 * gst/base/gstcollectpads.c:
17916 * gst/base/gstcollectpads.h:
17917 * gst/base/gstpushsrc.c:
17918 * gst/base/gstpushsrc.h:
17919 * gst/base/gsttypefindhelper.c:
17920 * gst/base/gsttypefindhelper.h:
17921 * gst/check/Makefile.am:
17922 * gst/check/gstcheck.c:
17923 * gst/check/gstcheck.h:
17924 * gst/net/Makefile.am:
17925 * gst/net/gstnet.h:
17926 * gst/net/gstnetclientclock.c:
17927 * gst/net/gstnetclientclock.h:
17928 * gst/net/gstnettimepacket.c:
17929 * gst/net/gstnettimepacket.h:
17930 * gst/net/gstnettimeprovider.c:
17931 * gst/net/gstnettimeprovider.h:
17932 * libs/gst/Makefile.am:
17933 * libs/gst/base/Makefile.am:
17934 * libs/gst/base/gstbasetransform.c:
17935 * libs/gst/check/Makefile.am:
17936 * plugins/elements/Makefile.am:
17938 CVS surgery + support to move base, check, and net out of gst
17941 2005-11-29 Andy Wingo <wingo@pobox.com>
17943 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17945 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17948 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17950 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17952 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17954 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17955 padding; reduces object size by about 30%. We don't expect
17956 anything else to go into gstobject.
17958 * gst/gstminiobject.h (struct _GstMiniObject)
17959 (struct _GstMiniObjectClass): Only one pointer of padding; the
17960 payload is only a pointer and two ints anyway. For the class there
17961 are only two methods as well.
17963 * gst/gstelement.h (struct _GstElementClass): Removed
17964 the state_changed signal callback, it is not used.
17966 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17968 * docs/gst/gstreamer.types:
17969 fix includes, though they are a little dinky
17971 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17973 * check/Makefile.am:
17974 look in the right place for elements, a lot more chance of
17977 remove indexers and elements subdirs
17978 * plugins/Makefile.am:
17979 make indexers conditional
17981 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17985 * plugins/elements/Makefile.am:
17986 * plugins/elements/gstcapsfilter.c:
17987 * plugins/elements/gstfilesink.c:
17988 * plugins/elements/gstfilesrc.c:
17989 * plugins/elements/gstidentity.c:
17990 * plugins/indexers/Makefile.am:
17991 do CVS surgery and related build fixery to move elements
17992 and indexers in a new gstreamer/plugins directory, out of the
17995 2005-11-29 Andy Wingo <wingo@pobox.com>
17997 * check/Makefile.am:
17998 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17999 * pkgconfig/gstreamer-net.pc.in:
18000 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18003 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18005 * tools/Makefile.am:
18006 * tools/gst-complete.1.in:
18007 * tools/gst-complete.c:
18008 * tools/gst-compprep.1.in:
18009 * tools/gst-compprep.c:
18010 removing -compprep and -complete
18012 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18014 * gst/gstevent.c: (gst_event_new_new_segment),
18015 (gst_event_parse_new_segment):
18017 fix #320529 - clean up new_segment API and structure.
18018 Let's hope everyone was using the methods, and not the structure.
18020 2005-11-29 Edward Hervey <edward@fluendo.com>
18022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18023 (gst_base_sink_event), (gst_base_sink_do_sync),
18024 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18025 Properly handle non GST_FORMAT_TIME segment
18026 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18027 Properly handle non GST_FORMAT_TIME segment
18028 * gst/gstsegment.c:
18029 This function is valid if the accumulator is 0 and the format
18030 is different from the requested format.
18032 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18034 * docs/gst/gstreamer-sections.txt:
18035 Add gst_query_new_seeking and gst_query_parse_seeking to the
18038 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18040 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18041 Treat a pad alloc with new caps the same as if we were not
18042 negotiated, in order to allow a changing upstream output
18043 to produce a new format of data.
18045 2005-11-29 Edward Hervey <edward@fluendo.com>
18047 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18048 (gst_base_transform_event), (gst_base_transform_eventfunc):
18049 The event virtual method is now properly implemented, with a default
18051 Sub classes should call the parent_class event method. They should
18052 return FALSE if they had a problem handling the given event, or don't
18053 want GstBaseTransform to send that even downstream
18054 * gst/elements/gstidentity.c: (gst_identity_class_init),
18055 (gst_identity_init), (gst_identity_event),
18056 (gst_identity_transform_ip), (gst_identity_set_property),
18057 (gst_identity_get_property):
18058 * gst/elements/gstidentity.h:
18059 Added the single-segment boolean property.
18060 If set to TRUE, it will output a single segment of data, starting from
18061 0, will eat up all incoming newsegment, and modify the timestamp of the
18062 buffers accordingly
18064 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18066 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18067 Don't ref NULL target pad (#322751). Improve docs.
18069 2005-11-29 Michael Smith <msmith@fluendo.com>
18071 * gst/gstregistryxml.c: (load_plugin):
18072 Don't crash if we failed to load a feature from a plugin.
18074 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18076 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18078 use more check API and less GLib API
18080 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18083 don't run checks if we don't have check
18084 * common/check.mak:
18085 remove the registry when running make torture
18086 * docs/gst/gstreamer-sections.txt:
18087 remove second multiply
18088 * gst/gstqueue.c: (gst_queue_loop):
18089 fix a compile warning when disabling debug
18091 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18094 Hey! Let's print the pad name if the pointer != NULL instead
18095 of when it == NULL :-)
18097 2005-11-28 Wim Taymans <wim@fluendo.com>
18099 * check/gst/gstutils.c: (GST_START_TEST):
18100 Updated check, add some scaling accuracy checking code.
18102 * gst/gstutils.c: (gst_util_div128_64),
18103 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18104 (gst_util_uint64_scale_int):
18105 Fix 6 times faster division code. Optimize for common
18106 1/1 and less common X/1 cases.
18108 2005-11-28 Wim Taymans <wim@fluendo.com>
18110 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18113 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18114 (do_linear_regression), (gst_clock_add_observation):
18116 Release lock when the clock cannot be slaved.
18117 Catch the case where the regression returned an invalid denominator.
18119 * gst/gstutils.c: (gst_util_div128_64_iterate),
18120 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18121 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18122 Add protentially more performant non-iterative 128/64 divide function
18123 that unfortunatly does not work yet.
18124 Shortcut the trivial 0/X = 0 case.
18125 Remove the warnings on overflow.
18127 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18129 * gst/gstplugin.c: (gst_plugin_register_func):
18130 everything causing a plugin not to load should be at least a WARNING
18132 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18134 * docs/random/ensonic/dparams.txt:
18135 some TODOs for the next dev cycle
18136 * libs/gst/controller/gstcontroller.c:
18137 (gst_controlled_property_set_interpolation_mode),
18138 (gst_controlled_property_new):
18139 * libs/gst/controller/gstcontroller.h:
18140 use base type to assign acccessor functions
18142 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18144 * check/Makefile.am:
18145 Oops, that should have been top_srcdir
18147 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18149 * check/Makefile.am:
18150 * check/elements/fdsrc.c: (GST_START_TEST):
18151 Use a cmdline define to specify the location of a file to use for
18152 testing, to avoid breaking distcheck.
18154 2005-11-28 Andy Wingo <wingo@pobox.com>
18156 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18158 2005-11-28 Edward Hervey <edward@fluendo.com>
18160 * tools/gst-launch.c: (main):
18161 Clarify the output strings, makes it easier to translate.
18164 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18167 don't try and build net if we don't even have <sys/socket.h>
18169 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18171 * check/Makefile.am:
18172 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18173 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18174 Add tests for fdsrc seekability
18176 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18177 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18178 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18179 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18180 * gst/elements/gstfdsrc.h:
18181 fdsrc should not be a 'live' source.
18182 Implement seeking on seekable fd's.
18184 * gst/gstquery.c: (gst_query_new_seeking),
18185 (gst_query_parse_seeking):
18187 Implement SEEKING query functions:
18188 *_new_seeking and *_parse_seeking
18190 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18192 * gst/gstelement.c: (gst_element_dispose):
18195 * gst/gstiterator.c:
18196 * gst/gststructure.c:
18199 * libs/gst/controller/gstcontroller.c:
18200 (gst_controlled_property_set_interpolation_mode):
18201 * libs/gst/controller/gstcontroller.h:
18202 * libs/gst/controller/gstinterpolation.c:
18203 (interpolate_none_get_enum_value_array):
18204 support controlling enums
18206 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18209 Improve documentation for gst_value_union().
18212 Change return value for union, intersect and subtract functions
18213 from gint to gboolean.
18215 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18217 * gst/gstvalue.c: (gst_value_serialize_any_list),
18218 (gst_value_transform_any_list_string),
18219 (gst_value_deserialize_list), (gst_value_deserialize_array),
18220 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18221 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18222 (gst_value_set_fraction_range_full),
18223 (gst_value_deserialize_fraction_range),
18224 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18225 (gst_value_deserialize_boolean),
18226 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18227 (gst_value_serialize_float), (gst_value_deserialize_float),
18228 (gst_string_wrap), (gst_value_deserialize_string),
18229 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18230 (gst_value_union_int_range_int_range),
18231 (gst_value_intersect_int_range_int_range),
18232 (gst_value_intersect_double_range_double_range),
18233 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18234 (gst_value_subtract_int_range_int_range),
18235 (gst_value_subtract_double_double_range),
18236 (gst_value_subtract_double_range_double_range),
18237 (gst_value_deserialize_fraction):
18239 Use gint, gdouble and gchar in our API instead of int, double and
18240 char (and make usage in gstvalue.c more consistent).
18242 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18244 * check/Makefile.am:
18245 * libs/gst/controller/Makefile.am:
18246 * libs/gst/dataprotocol/Makefile.am:
18247 fix up Makefile.am and remove GST_ENABLE_NEW
18249 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18253 * gst/base/Makefile.am:
18254 * gst/check/Makefile.am:
18255 * gst/elements/Makefile.am:
18256 * gst/net/Makefile.am:
18257 update LDFLAGS use some more
18259 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18261 * common/m4/gst-doc.m4:
18264 2005-11-26 Edward Hervey <edward@fluendo.com>
18266 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18267 This shouldn't issue a g_warning since it returns NULL if it
18268 couldn't find the plugin, and all functions using this behave
18269 properly on a NULL return. Switching to a GST_WARNING.
18271 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18273 * gst/gstbin.c: (gst_bin_handle_message_func):
18274 Don't leak clock messages.
18276 2005-11-25 Wim Taymans <wim@fluendo.com>
18278 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18279 (gst_util_uint64_scale_int):
18280 Optimisations, remove unneeded vars.
18282 2005-11-25 Wim Taymans <wim@fluendo.com>
18284 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18285 Added more checks for the high precision uint64 cases.
18287 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18288 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18289 Implement high precision (guint64 * guint64) / guint64.
18291 2005-11-24 Wim Taymans <wim@fluendo.com>
18293 * gst/base/gstbasesrc.c: (gst_base_src_query):
18294 Fix wrong percentage query.
18296 * gst/gstutils.c: (gst_util_uint64_scale),
18297 (gst_util_uint64_scale_int):
18298 Add some more common cases that can be handled
18299 efficiently to _scale.
18301 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18303 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18304 (gst_mini_object_suite):
18305 don't use check calls from threads; check probably isn't
18306 threadsafe and using a lock to make it threadsafe would
18307 defeat the purpose of this check
18308 * gst/check/gstcheck.c:
18309 * gst/check/gstcheck.h:
18310 use GST_DEBUG some more
18312 2005-11-24 Wim Taymans <wim@fluendo.com>
18314 * gst/gstutils.c: (gst_util_uint64_scale),
18315 (gst_util_uint64_scale_int):
18316 Chain trivial case to _scale_int.
18318 2005-11-24 Wim Taymans <wim@fluendo.com>
18320 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18321 Added test for scaling.
18326 * gst/gstutils.c: (gst_util_uint64_scale_int):
18327 Implemented high precision scaling code.
18329 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18332 do not crash on pad==NULL
18334 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18336 Patch by: Stefan Kost
18338 * common/gtk-doc.mak:
18339 * docs/gst/Makefile.am:
18340 * docs/libs/Makefile.am:
18341 Fix distcheck issues for the libraries docs build
18344 2005-11-24 Michael Smith <msmith@fluendo.com>
18346 * docs/manual/basics-helloworld.xml:
18347 Fix bug #315027: memory leak in example code in docs.
18349 2005-11-24 Michael Smith <msmith@fluendo.com>
18351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18352 Unlock the PREROLL_LOCK in a failure case.
18354 2005-11-24 Wim Taymans <wim@fluendo.com>
18356 * docs/gst/gstreamer-sections.txt:
18357 * gst/base/gstadapter.h:
18358 * gst/base/gstbasesink.h:
18359 * gst/base/gstbasesrc.h:
18360 * gst/base/gstbasetransform.h:
18361 * gst/base/gstpushsrc.h:
18362 * gst/elements/gstfakesink.h:
18363 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18364 * gst/elements/gstfakesrc.h:
18365 * gst/elements/gstfilesink.h:
18366 * gst/elements/gstfilesrc.h:
18369 * gst/gstbuffer.c: (_gst_buffer_copy):
18372 * gst/gstchildproxy.c:
18374 * gst/gstelement.c:
18375 * gst/gstelementfactory.c:
18376 * gst/gstelementfactory.h:
18378 * gst/gstghostpad.h:
18380 * gst/gstinterface.h:
18381 * gst/gstminiobject.c:
18382 * gst/gstminiobject.h:
18385 * gst/gstpadtemplate.h:
18386 * gst/gstpipeline.h:
18387 * gst/gstpluginfeature.h:
18390 * gst/gsttaglist.c:
18391 * gst/gsttaglist.h:
18392 * gst/gsttagsetter.c:
18393 * gst/gsttagsetter.h:
18396 * gst/gsttypefind.h:
18399 * gst/net/gstnetclientclock.c:
18400 * gst/net/gstnetclientclock.h:
18401 * gst/net/gstnettimepacket.c:
18402 * gst/net/gstnettimeprovider.c:
18403 * gst/net/gstnettimeprovider.h:
18406 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18408 * configure.ac: back to HEAD
18410 === release 0.9.6 ===
18412 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18415 releasing 0.9.6, "Always On Time"
18417 2005-11-23 Wim Taymans <wim@fluendo.com>
18419 * docs/gst/gstreamer-sections.txt:
18420 * gst/glib-compat.c:
18421 * gst/gsttagsetter.c:
18423 * gst/net/gstnetclientclock.c:
18424 * gst/net/gstnettimepacket.h:
18427 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18429 * docs/faq/using.xml:
18430 * docs/libs/tmpl/gstcontrol.sgml:
18431 * docs/manual/advanced-dparams.xml:
18432 * docs/manual/appendix-checklist.xml:
18433 * docs/manual/basics-elements.xml:
18434 * docs/pwg/other-source.xml:
18435 * docs/random/moving-plugins:
18437 * tools/gst-launch.1.in:
18438 remove mentions of sinesrc
18440 2005-11-23 Michael Smith <msmith@fluendo.com>
18442 * docs/gst/gstreamer-sections.txt:
18443 Update for new API and API changes.
18445 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18447 Documentation typo fix.
18448 * gst/net/gstnettimepacket.c:
18449 Documentation fixes for arguments.
18451 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18453 * gst/gststructure.c: (gst_structure_get_fraction),
18454 (gst_structure_parse_value),
18455 (gst_structure_fixate_field_nearest_fraction):
18456 * gst/gststructure.h:
18457 * gst/gstutils.c: (gst_util_uint64_scale_int):
18459 * scripts/update-funcnames:
18461 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18462 Make gst_structure_fixate_field_nearest_fraction take a numerator
18463 and denominator argument instead of a GValue
18464 add gst_structure_get_fraction helper function.
18466 2005-11-23 Wim Taymans <wim@fluendo.com>
18468 * docs/design/part-TODO.txt:
18471 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18472 * gst/net/gstnetclientclock.h:
18473 Use parent fields for timeout and window_size.
18475 2005-11-23 Andy Wingo <wingo@pobox.com>
18477 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18478 rate_num/rate_denom change.
18480 * gst/net/gstnetclientclock.c
18481 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18482 OBJECT_LOCK. Don't call add_observation with the lock.
18484 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18486 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18488 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18489 deal with rate as a fraction whose numerator and denominator are
18490 GstClockTime values.
18491 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18492 master; the other fields are protected by the SLAVE_LOCK.
18493 (do_linear_regression): Note that this must be called with the
18495 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18496 OBJECT_LOCK. Call set_calibration instead of touching the
18497 variables directly.
18498 (gst_clock_set_property, gst_clock_get_property): Protect
18499 master/slave parameters with the SLAVE_LOCK.
18501 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18502 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18503 note that all of the instance variables that add_observation and
18504 the set_master functions use are protected by that lock and not
18506 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18508 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18509 the caller to take the object lock.
18511 2005-11-23 Wim Taymans <wim@fluendo.com>
18513 * gst/gsterror.c: (_gst_core_errors_init):
18515 Add error for clock stuff.
18517 * gst/gstpipeline.c: (gst_pipeline_change_state),
18518 (gst_pipeline_set_clock):
18519 Post clock error when clock cannot be used in a pipeline.
18521 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18523 * docs/gst/gstreamer-sections.txt:
18524 make two symbols from gstinfo private for the docs
18525 * gst/base/gstcollectpads.h:
18527 fix doc typos, update docs
18529 2005-11-22 Wim Taymans <wim@fluendo.com>
18531 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18532 (gst_base_sink_wait), (gst_base_sink_do_sync),
18533 (gst_base_sink_handle_event):
18534 * gst/base/gstbasesink.h:
18535 No need to store the clock, the parent element class already
18538 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18539 Updates for clock_set returning a gboolean
18541 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18542 (gst_clock_id_wait_async), (gst_clock_class_init),
18543 (gst_clock_init), (gst_clock_finalize),
18544 (gst_clock_get_internal_time), (gst_clock_get_time),
18545 (gst_clock_slave_callback), (gst_clock_set_master),
18546 (gst_clock_get_master), (do_linear_regression),
18547 (gst_clock_add_observation), (gst_clock_set_property),
18548 (gst_clock_get_property):
18550 Implement master/slave. When setting a clock as a slave, a
18551 periodic timeout is scheduled to sample master and slave times.
18552 Then the slave clock is recalibrated to match offset and rate
18553 of the master clock.
18554 Update logging a bit.
18555 Add flag so that a clock can state that is cannot be slaved to
18558 * gst/gstelement.c: (gst_element_set_clock):
18559 * gst/gstelement.h:
18560 The set clock returns a gboolean for when an element cannot
18561 deal with the selected clock in the pipeline.
18563 * gst/gstpipeline.c: (gst_pipeline_change_state),
18564 (gst_pipeline_set_clock):
18565 * gst/gstpipeline.h:
18566 Handle the case where the selected clock cannot be set on
18569 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18570 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18571 (gst_net_client_clock_set_property),
18572 (gst_net_client_clock_get_property),
18573 (gst_net_client_clock_observe_times):
18574 * gst/net/gstnetclientclock.h:
18575 Use regression code in GstClock parent, remove duplicated
18578 2005-11-22 Michael Smith <msmith@fluendo.com>
18580 * gst/gstutils.c: (gst_util_clock_time_scale):
18582 * docs/gst/gstreamer-sections.txt:
18583 Rename method to have extra underscore.
18585 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18587 * gst/elements/Makefile.am:
18588 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18589 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18590 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18591 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18592 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18593 * gst/elements/gstfakesrc.h:
18594 * gst/gstqueue.c: (queue_leaky_get_type):
18595 correctly fix GEnumValues so that nick is the short lowercase
18597 * tools/gst-inspect.c: (print_element_properties_info):
18598 also show the nick, since it's useful to use from parse_launch
18602 2005-11-22 Michael Smith <msmith@fluendo.com>
18604 * gst/gstutils.c: (gst_util_clocktime_scale):
18606 * docs/gst/gstreamer-sections.txt:
18607 Add util method for scaling a clocktime by a fraction. Useful
18608 implementation is left as an exercise for the reader.
18610 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18612 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18613 If needed, allocate storage in the destination value during
18616 2005-11-22 Edward Hervey <edward@fluendo.com>
18618 * docs/gst/gstreamer-sections.txt:
18621 * gst/gsturitype.c:
18622 * gst/gsturitype.h:
18623 * gst/gstutils.c: (gst_util_set_object_arg):
18624 * tools/gst-compprep.c: (main):
18625 * tools/gst-inspect.c: (print_element_properties_info):
18626 Removed GstURI, closes bug #321061
18628 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18630 * check/gst/gststructure.c: (GST_START_TEST):
18631 * gst/gststructure.c: (gst_structure_parse_value):
18632 Oops, broke automatic string type parsing.
18633 Add a test to catch it in future.
18635 2005-11-22 Andy Wingo <wingo@pobox.com>
18637 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18638 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18639 Actually rename the function implementations. Grr.
18641 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18643 * check/gst/capslist.h:
18645 * check/gst/gststructure.c: (GST_START_TEST),
18646 (gst_structure_suite):
18647 Test automatic value type detection in gst_structure_from_string.
18648 * gst/gststructure.c: (gst_structure_parse_value):
18649 Add fraction as a type we try and guess automatically in
18650 caps/structure strings.
18652 2005-11-22 Andy Wingo <wingo@pobox.com>
18654 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18656 * gst/gsttagsetter.h:
18657 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18658 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18659 (gst_tag_setter_add_tag_valist)
18660 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18661 _add_values, _add_valist, and _add_valist_values. Since this is an
18662 interface the function suffixes should be more explicit so
18663 language binding don't end up with element.add_valist ->
18664 gst_tag_setter_add_valist, for example. Fixes #322069.
18666 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18668 * check/gst/gstcaps.c: (GST_START_TEST):
18669 Extend caps string tests to check that a caps to string
18670 conversion is reversible and produces the same caps.
18672 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18673 Output "fraction" as the generic type fraction range, so caps
18674 serialisation and deserialisation works.
18675 * check/gst/capslist.h:
18676 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18677 Support 'MIN' and 'MAX' for deserialising fractions.
18679 2005-11-22 Andy Wingo <wingo@pobox.com>
18681 * gst/gstevent.h (gst_event_new_new_segment)
18682 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18683 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18684 Renamed from *_newsegment, *_buffersize, *_notarget.
18686 * scripts/update-funcnames: New script, performs the changes
18689 2005-11-22 Wim Taymans <wim@fluendo.com>
18691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18692 Make sure the GstFlowReturn is returned.
18694 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18695 (gst_bus_add_signal_watch):
18697 add gst_bus_add_signal_watch_full.
18699 * gst/gstplugin.c: (gst_plugin_load_file):
18700 Small style cleanup.
18702 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18704 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18705 Block the fakesrc srcpad when we send an event, to avoid
18706 contention on the stream_lock causing random test failures.
18708 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18710 * check/gst/gstvalue.c: (GST_START_TEST):
18711 * gst/gstvalue.c: (gst_value_fraction_subtract):
18714 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18717 include "gstchildproxy.h"
18718 * gst/gstchildproxy.h:
18719 * libs/gst/controller/gstcontroller.h:
18720 use G_GNUC_NULL_TERMINATED
18722 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18724 * check/gst/capslist.h:
18725 * check/gst/gstcaps.c: (GST_START_TEST):
18726 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18727 * gst/gststructure.c: (gst_structure_parse_range),
18728 (gst_structure_fixate_field_nearest_fraction):
18729 * gst/gststructure.h:
18730 * gst/gstvalue.c: (gst_value_init_fraction_range),
18731 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18732 (gst_value_collect_fraction_range),
18733 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18734 (gst_value_set_fraction_range_full),
18735 (gst_value_get_fraction_range_min),
18736 (gst_value_get_fraction_range_max),
18737 (gst_value_serialize_fraction_range),
18738 (gst_value_transform_fraction_range_string),
18739 (gst_value_compare_fraction_range),
18740 (gst_value_deserialize_fraction_range),
18741 (gst_value_intersect_fraction_fraction_range),
18742 (gst_value_intersect_fraction_range_fraction_range),
18743 (gst_value_subtract_fraction_fraction_range),
18744 (gst_value_subtract_fraction_range_fraction),
18745 (gst_value_subtract_fraction_range_fraction_range),
18746 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18747 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18748 (gst_value_transform_string_fraction), (_gst_value_initialize):
18750 Implement fraction ranges and extend GstFraction to support
18751 arithmetic subtraction, as well as deserialization from integer
18752 strings such as "100"
18753 Add a testsuite as for int and double range set operations
18755 2005-11-21 Andy Wingo <wingo@pobox.com>
18757 * gst/gsttaglist.h:
18759 * gst/gststructure.h: Add glib-compat.h.
18761 2005-11-21 Wim Taymans <wim@fluendo.com>
18763 * gst/gstbin.c: (gst_bin_change_state_func):
18766 2005-11-21 Wim Taymans <wim@fluendo.com>
18768 * gst/gstsegment.h:
18769 And add a nice define too.
18771 2005-11-21 Wim Taymans <wim@fluendo.com>
18773 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18774 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18775 (gst_segment_set_duration), (gst_segment_set_last_stop),
18776 (gst_segment_set_seek), (gst_segment_set_newsegment),
18777 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18778 (gst_segment_clip):
18779 * gst/gstsegment.h:
18780 Make binding friendly.
18782 2005-11-21 Andy Wingo <wingo@pobox.com>
18784 * gst/gsttagsetter.h:
18785 * gst/gsttaglist.h:
18786 * gst/gststructure.h:
18788 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18791 * gst/gsterror.c (_gst_core_errors_init):
18792 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18795 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18796 (noinst_HEADERS): noinst the -private.
18798 2005-11-21 Michael Smith <msmith@fluendo.com>
18801 * gst/gstregistry.h:
18802 Remove unimplemented declarations for which we can see no sensible
18805 2005-11-21 Andy Wingo <wingo@pobox.com>
18807 * gst/gst.h: Include glib-compat.h.
18809 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18811 * gst/glib-compat.c: Include the public and the private header.
18813 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18817 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18819 * check/gst/gstevent.c (create_custom_events): Check that
18820 FLUSH_STOP is serialized.
18822 * check/elements/identity.c (event_func):
18823 * check/elements/fakesrc.c (event_func): No stream lock, the core
18826 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18827 stream lock taking, yay.
18829 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18830 ensure that core takes the stream lock.
18832 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18835 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18836 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18837 it already. For the flush start we do take it though so we get the
18838 right preroll state change messages.
18840 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18841 the stream lock here, the core does it for us.
18843 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18844 GST_STREAM_GET_LOCK.
18845 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18846 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18847 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18848 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18849 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18850 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18852 * gst/gstpad.c: Update for stream lock name change.
18854 * gst/base/gstbasesink.c: Update for preroll lock name change.
18856 2005-11-21 Wim Taymans <wim@fluendo.com>
18858 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18859 (gst_clock_get_master):
18861 * gst/gstsystemclock.c: (gst_system_clock_init):
18862 Convert Clock flags to object flags.
18863 Added methods to manage master/slave clocks.
18865 2005-11-21 Wim Taymans <wim@fluendo.com>
18867 * check/gst/gstsegment.c: (GST_START_TEST):
18868 * docs/design/part-TODO.txt:
18869 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18870 (gst_base_sink_event), (gst_base_sink_do_sync),
18871 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18872 (gst_base_sink_query), (gst_base_sink_change_state):
18873 * gst/base/gstbasesink.h:
18874 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18875 (gst_base_src_default_newsegment),
18876 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18877 (gst_base_src_get_range), (gst_base_src_loop),
18878 (gst_base_src_change_state):
18879 * gst/base/gstbasesrc.h:
18880 * gst/base/gstbasetransform.c:
18881 (gst_base_transform_prepare_output_buf),
18882 (gst_base_transform_event), (gst_base_transform_change_state):
18883 * gst/base/gstbasetransform.h:
18884 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18885 (gst_collect_pads_event):
18886 * gst/base/gstcollectpads.h:
18887 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18888 (gst_fake_src_create):
18889 * gst/elements/gstfakesrc.h:
18890 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18891 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18892 (gst_segment_set_last_stop), (gst_segment_set_seek),
18893 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18894 (gst_segment_to_running_time), (gst_segment_clip):
18895 * gst/gstsegment.h:
18896 More segment updates, replace code in plugins with segment
18899 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18901 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18902 Don't ignore sscanf results
18904 2005-11-21 Andy Wingo <wingo@pobox.com>
18906 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18909 * *.c: Ran scripts/update-macros. Oh yes.
18911 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18912 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18915 * scripts/update-macros: New script. Run it on your files to
18916 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18919 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18921 * docs/gst/Makefile.am:
18922 * docs/gst/gstreamer-docs.sgml:
18923 * docs/gst/gstreamer-sections.txt:
18924 * docs/gst/gstreamer.types:
18926 more docs fixes, add new api to the docs
18928 2005-11-21 Andy Wingo <wingo@pobox.com>
18930 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18931 state_broadcast call.
18933 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18935 2005-11-21 Julien MOUTTE <julien@moutte.net>
18937 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18938 function calls for arrays.
18940 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18942 * docs/random/ensonic/media-device-daemon.txt:
18943 wild idea, can this be done?
18944 * docs/gst/gstreamer-sections.txt:
18949 * gst/gstpluginfeature.c:
18953 doc fixes and additions
18955 2005-11-21 Andy Wingo <wingo@pobox.com>
18957 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18958 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18959 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18960 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18961 private to the basesrc implementation.
18963 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18964 behalf of event function if necessary. It should no longer be
18965 necessary to take the stream lock in pad's event functions. Fixes
18968 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18969 * docs/gst/gstreamer-sections.txt:
18970 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18971 (gst_structure_fixate_field_nearest_double),
18972 (gst_structure_fixate_field_boolean):
18973 * gst/gststructure.h:
18974 * win32/common/libgstreamer.def:
18975 * win32/gstreamer.def:
18977 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18980 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18982 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18983 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18984 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18985 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18986 (gst_fdsrc_uri_handler_init):
18987 * gst/elements/gstfdsrc.h:
18988 Port fd:// URI handler from 0.8 to fdsrc
18990 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18992 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18993 (gst_value_serialize_fourcc):
18995 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18996 consistent with our other format defines (#320324).
18998 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19000 * gst/gstvalue.c: (gst_value_is_fixed):
19001 Revert previous commit. Value lists are by definition
19002 not fixed, as they are a list of possible values.
19004 2005-11-21 Andy Wingo <wingo@pobox.com>
19006 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19007 during the stable series if we need it. Fixes #319178.
19009 * gst/gstevent.c (gst_event_new_filler): Removed.
19011 * check/gst/gstevent.c: Update comment about filler events.
19013 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19015 * gst/gstvalue.c: (gst_value_is_fixed):
19016 Should handle both value arrays and value lists.
19018 2005-11-21 Andy Wingo <wingo@pobox.com>
19020 patch by: Alessandro Dessina <alessandro nnva org>
19022 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19023 functions to access arrays. Fixes #321962.
19025 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19027 * docs/gst/gstreamer.types:
19028 gst_collectpads_get_type => gst_collect_pads_get_type.
19030 * gst/base/gstbasetransform.c:
19031 Remove unused SIGNAL_HANDOFF enum.
19033 2005-11-21 Andy Wingo <wingo@pobox.com>
19035 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19036 the event type (upstream, downstream, serialized). Renamed
19037 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19038 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19039 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19041 * gst/gstevent.c: Update for new CUSTOM event names.
19043 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19046 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19049 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19051 * docs/gst/gstreamer-sections.txt:
19052 * win32/common/libgstbase.def:
19053 * win32/libgstbase.def:
19054 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19055 (gst_collect_pads_class_init), (gst_collect_pads_init),
19056 (gst_collect_pads_finalize), (gst_collect_pads_new),
19057 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19058 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19059 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19060 (gst_collect_pads_start), (gst_collect_pads_stop),
19061 (gst_collect_pads_peek), (gst_collect_pads_pop),
19062 (gst_collect_pads_available), (gst_collect_pads_read),
19063 (gst_collect_pads_flush), (gst_collect_pads_event),
19064 (gst_collect_pads_chain):
19065 * gst/base/gstcollectpads.h:
19066 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19067 unimplemented functions as unimplemented. Add padding to
19068 GstCollectData. (#320766, #320423)
19070 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19072 * gst/gstmessage.c:
19073 Improve docs for DURATION message (usage of duration parameter)
19076 2005-11-20 Wim Taymans <wim@fluendo.com>
19078 * check/Makefile.am:
19079 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19083 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19084 (gst_segment_set_seek), (gst_segment_set_newsegment),
19085 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19086 (gst_segment_clip):
19087 * gst/gstsegment.h:
19088 Added segment helper structure and methods. Not fully implemented
19090 Added segment check.
19092 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19094 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19095 Add a deserialisation test for fractions
19096 * examples/metadata/read-metadata.c: (message_loop),
19097 (make_pipeline), (main):
19098 Fix up metadata reading sample.
19099 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19101 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19102 Don't try and fixate empty caps
19103 * gst/gst_private.h:
19104 Wrap in G_BEGIN_DECLS/G_END_DECLS
19105 * gst/gstvalue.c: (gst_value_collect_fraction),
19106 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19107 (gst_value_transform_string_fraction),
19108 (gst_value_compare_fraction):
19109 Add some extra guards to ensure that we don't end up
19110 with an invalid denominator of 0 in a gstfraction and
19111 that fractions always get reduced.
19113 2005-11-20 Wim Taymans <wim@fluendo.com>
19115 * docs/gst/gstreamer-sections.txt:
19117 * gst/gstelement.c:
19126 2005-11-20 Wim Taymans <wim@fluendo.com>
19128 * docs/design/part-TODO.txt:
19130 Make a proper enum of the flag.
19132 2005-11-19 Wim Taymans <wim@fluendo.com>
19134 * docs/design/part-TODO.txt:
19135 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19136 (gst_format_to_quark), (gst_format_register):
19138 * gst/gstquery.c: (_gst_query_initialize),
19139 (gst_query_type_get_name), (gst_query_type_to_quark),
19140 (gst_query_type_register):
19142 Add type to quark and type to string conversions.
19144 2005-11-19 Andy Wingo <wingo@pobox.com>
19146 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19149 2005-11-19 Wim Taymans <wim@fluendo.com>
19151 * docs/design/part-TODO.txt:
19152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19153 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19154 (gst_bin_handle_message_func):
19156 Make message handling overridable.
19158 2005-11-19 Andy Wingo <wingo@pobox.com>
19160 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19163 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19165 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19166 is a GstClockTime. Fixes #321710.
19168 * gst/gstclock.h (GstClock): Remove offset property. Add
19169 internal_calibration and external_calibration. Fix padding. Pad
19170 also by GstClockTime so we don't run into problems.
19172 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19173 (gst_clock_get_rate_offset): Remove.
19174 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19177 * gst/gstutils.c (g_static_rec_cond_wait)
19178 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19180 * gst/gstbin.c: Remove terrible continue_state prototype.
19182 * gst/gstelement.h (gst_element_continue_state): Make public.
19184 * gst/gstelement.h:
19185 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19186 by continue_state. Fixes #319389.
19188 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19189 Really fixes #168438. However I don't see anywhere where the
19190 filter function is called... stupid GStreamer...
19192 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19193 don't have a dispose function, so it won't get called when the
19194 object is unreffed, but oh well!
19196 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19197 allows a destroy function to be set so user_data can be freed.
19199 (gst_index_set_filter): Call gst_index_set_filter_full.
19201 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19203 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19204 string should produce an error, given the lack of a way to
19205 represent NULL strings. Fixes #165650.
19208 * gst/gstvalue.c (gst_value_array_append_value)
19209 (gst_value_array_prepend_value, gst_value_array_get_size)
19210 (gst_value_array_get_value): New API, copied from
19211 gst_value_list_*, only operates on arrays.
19212 (gst_value_list_append_value, gst_value_list_prepend_value)
19213 (gst_value_list_concat, gst_value_list_get_size)
19214 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19216 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19217 init_list, because it works on both.
19218 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19219 (gst_value_copy_list_or_array): Renamed from copy_list.
19220 (gst_value_free_list_or_array): Renamed from free_list.
19221 (gst_value_collect_list_or_array): Renamed from collect_list.
19222 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19223 (gst_value_list_or_array_peek_pointer): Renamed from
19225 (_gst_value_array_value_table, _gst_value_list_value_table):
19226 Update value table functions.
19227 (gst_value_compare_list_or_array): Renamed from compare_list.
19229 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19232 * gst/gsttaglist.c:
19233 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19234 GstTagList*. Fixes #143472.
19236 * gst/gststructure.h: Clarify what the foreach/map functions can
19237 or can't do to their arguments.
19239 2005-11-18 Wim Taymans <wim@fluendo.com>
19241 * gst/gstclock.c: (gst_clock_set_calibration),
19242 (gst_clock_get_calibration):
19244 Calibration can be set with internal time equal to current
19247 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19253 2005-11-18 Andy Wingo <wingo@pobox.com>
19256 * pkgconfig/gstreamer-net.pc.in:
19257 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19258 * pkgconfig/Makefile.am: Add net pkgconfig files.
19260 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19263 * gst/gstghostpad.c:
19269 2005-11-18 Andy Wingo <wingo@pobox.com>
19271 * gst/net/gstnetclientclock.c: Turn off debugging.
19273 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19274 times connverge somewhat. Can't make a real test.
19276 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19277 integer arithmetic. Return the minimum of the domain, which can be
19278 set as "internal" for gst_clock_set_calibration.
19279 (gst_net_client_clock_observe_times): Call _set_calibration.
19280 (gst_net_client_clock_new): Call _set_calibration instead of
19283 * check/net/gstnetclientclock.c (test_functioning): Use the right
19287 * gst/gstclock.c (gst_clock_get_calibration)
19288 (gst_clock_set_calibration): New functions, obsolete the ones I
19289 added yesterday. Doh. Precision issues mean we have to extrapolate
19290 from a point in the more recent past than 1970.
19291 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19293 (gst_clock_adjust_unlocked): Use the right calibration data.
19295 2005-11-18 Edward Hervey <edward@fluendo.com>
19297 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19298 Also reset the ->current_* values in READY->PAUSED
19300 2005-11-18 Andy Wingo <wingo@pobox.com>
19302 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19303 Whoops, check the right fd. Also add some debugging.
19304 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19305 (do_linear_regression): Add a crapload of debugging. Subtract off
19306 the minimum values from the input series to discard unneeded bits.
19307 Use only int arithmetic. There is still double arithmetic when
19308 calculating the intercept that needs fixing. Return boolean to
19309 indicate success; FALSE would mean the domain or range is too
19310 great. Still needs fixes.
19312 2005-11-18 Wim Taymans <wim@fluendo.com>
19314 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19315 For the current position in stream time, we need to subtract
19318 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19319 Release lock before calling the callback function of async
19322 2005-11-18 Andy Wingo <wingo@pobox.com>
19324 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19325 Port goes all the way to MAXUINT16.
19327 * gst/net/gstnettimeprovider.c: Make the port range the same as
19328 for the kernel: 0 assigns, otherwise ports are less than
19331 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19334 * check/net/gstnetclientclock.c (test_functioning): Add the start
19337 2005-11-18 Wim Taymans <wim@fluendo.com>
19339 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19340 (gst_bin_remove_func), (bin_bus_handler):
19342 Removing a clock provider from a bin, triggers a clock lost message
19343 so that a new clock will be selected.
19344 Adding a clock to a bin triggers a clock provider message.
19345 Make sure we reselect a clock when we received a clock lost message.
19346 Keep a reference to the element that provided the clock.
19348 2005-11-18 Andy Wingo <wingo@pobox.com>
19350 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19351 the clock initially so it produces values around the base time.
19352 (gst_net_client_clock_class_init): Typo fix.
19353 (gst_net_client_clock_thread): Add note on when the socket gets
19356 2005-11-17 Wim Taymans <wim@fluendo.com>
19358 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19359 Free remote and local time arrays.
19361 2005-11-17 Wim Taymans <wim@fluendo.com>
19363 * gst/net/gstnetclientclock.c: (do_linear_regression),
19364 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19365 Fix compilation, uninitialized vars and a forgotten continue.
19367 2005-11-17 Andy Wingo <wingo@pobox.com>
19369 * check/Makefile.am (check_PROGRAMS):
19370 * check/net/gstnetclientclock.c: Add a most minimal test for the
19371 net client clock. More to come later.
19373 * gst/net/gstnet.h:
19374 * gst/net/Makefile.am: Add netclientclock.
19376 * gst/net/gstnetclientclock.h:
19377 * gst/net/gstnetclientclock.c: New files, implement an untested
19378 GstClock that takes its time from a network time provider.
19379 Implements the algorithm in network-clock.scm.
19381 * tests/network-clock.scm (*window-size*): Rename from
19383 * tests/network-clock.scm (network-time):
19384 * tests/network-clock-utils.scm (q-push): Update callers.
19386 2005-11-17 Wim Taymans <wim@fluendo.com>
19388 * gst/gstbin.c: (gst_bin_provide_clock_func),
19389 (gst_bin_sort_iterator_new):
19390 And unref the child too..
19392 2005-11-17 Wim Taymans <wim@fluendo.com>
19394 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19395 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19396 Refactor the sort iterator so it can be used while holding the
19398 Make clock selection select a clock closest to the source.
19400 2005-11-17 Michael Smith <msmith@fluendo.com>
19402 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19403 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19405 Anonymous structs are a gcc (and some other compilers) extension, so
19406 don't use them. Since this is only for ABI-compatibility, and our
19407 API/ABI freeze is over in a few days, this whole thing will only
19408 last a few days, so don't bother trying to think up a meaningful
19409 name for the struct.
19411 2005-11-17 Andy Wingo <wingo@pobox.com>
19413 * gst/gstclock.h (GstClock): Add rate and offset properties,
19414 preserving ABI stability. Add rate/offset accessors. Will file bug
19415 for the freeze break.
19417 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19418 and offset, trying to keep precision and avoiding
19419 underflow/overflow.
19420 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19421 functions. Make gst_clock_set_time_adjust obsolete.
19422 (gst_clock_set_time_adjust): Note that this function is obsolete.
19423 Will file bug soon.
19425 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19426 greppable by using GST_PADDING-1+1.
19428 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19430 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19432 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19433 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19435 * gst/gstpadtemplate.h:
19436 * gst/gstpluginfeature.h:
19437 Don't use c++ style comments in headers (#321638).
19439 2005-11-16 Andy Wingo <wingo@pobox.com>
19441 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19444 * check/net/gstnettimeprovider.c: Check to see that the time
19445 provider actually provides times. Works, yo!
19447 2005-11-16 Wim Taymans <wim@fluendo.com>
19449 * check/Makefile.am:
19452 * check/elements/fakesrc.c: (GST_START_TEST):
19453 Set element to NULL before disposing it.
19455 2005-11-16 Andy Wingo <wingo@pobox.com>
19457 * gst/net/Makefile.am:
19458 * gst/net/gstnet.h:
19459 * gst/net/gstnettimeprovider.c:
19460 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19461 provider, include it from gstnet.h, and add it to the build.
19463 * gst/net/gstnettimepacket.h:
19464 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19465 sending and receiving.
19467 2005-11-16 Wim Taymans <wim@fluendo.com>
19469 * check/Makefile.am:
19470 Enable valgrind check.
19472 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19473 (gst_fake_src_alloc_buffer):
19476 2005-11-16 Wim Taymans <wim@fluendo.com>
19478 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19479 Call parent finalize too.
19481 2005-11-16 Wim Taymans <wim@fluendo.com>
19483 * check/Makefile.am:
19484 Enable valgrind check that should work fine now.
19486 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19487 * gst/gstqueue.c: (gst_queue_init):
19488 Fix memleaks in pad allocation.
19490 2005-11-16 Andy Wingo <wingo@pobox.com>
19492 * gst/net/Makefile.am:
19493 * gst/net/gstnet.h: New part of core to hold network elements and
19494 objects. Put in core because it exposes API that applications want
19495 to use. The library is named libgstnet-tempname right now because
19496 of the existing libgstnet in gst-plugins-base. Solution is
19497 probably to rename the one in plugins-base; will file a bug for
19500 * gst/net/gstnettimeprovider.c:
19501 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19502 get_time call over the network.
19505 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19507 * check/Makefile.am:
19508 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19509 get additions shortly.
19511 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19513 * gst/gstpad.c: (gst_pad_new_from_static_template):
19515 add gst_pad_new_from_static_template functions
19516 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19517 (gst_check_setup_sink_pad):
19518 * gst/elements/gsttee.c: (gst_tee_init):
19521 2005-11-16 Wim Taymans <wim@fluendo.com>
19523 * gst/gstpad.c: (gst_pad_pause_task):
19524 Removed warning, it's not really an error either.
19526 2005-11-16 Wim Taymans <wim@fluendo.com>
19528 * gst/base/gstbasetransform.c:
19529 (gst_base_transform_prepare_output_buf),
19530 (gst_base_transform_event):
19531 Check if the caps are NULL, this can happen if the element
19532 is shutting down and the pad caps are set to NULL.
19534 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19536 * gst/elements/gsttee.c: (gst_tee_init):
19537 fix pad template leak in tee
19539 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19541 * gst/glib-compat.c: (g_value_dup_gst_object):
19542 * gst/glib-compat.h:
19543 * gst/gstpad.c: (gst_pad_set_property):
19544 use gst_object_ref when setting the pad template; this will
19545 trigger the pad template leaks on GLib 2.6 and the slaves
19547 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19549 * gst/glib-compat.c: (gst_flags_get_first_value):
19550 * gst/glib-compat.h:
19551 * gst/gstregistryxml.c:
19552 remove functions copied from GLib 2.6
19554 2005-11-16 Michael Smith <msmith@fluendo.com>
19557 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19558 do, but only breaks with newer valgrind versions. We're not a
19559 valgrind tool, we have no link-time dependencies on libcoregrind.
19561 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19563 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19565 * gst/gstmessage.h:
19568 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19570 * gst/base/gstbasesrc.c: (gst_base_src_init):
19571 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19572 * gst/gstqueue.c: (gst_queue_init):
19573 * gst/gstregistryxml.c: (load_feature):
19574 Revert all these unrefs, they don't even pass make check !
19576 2005-11-15 Johan Dahlin <johan@gnome.org>
19578 * gst/base/gstbasesrc.c: (gst_base_src_init):
19579 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19580 * gst/gstqueue.c: (gst_queue_init):
19581 Free pad templates, fixes a couple of leaks.
19583 2005-11-15 Daniel Fischer <dan at f3c dot com>
19585 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19587 * gst/gstpad.c: (gst_pad_get_property):
19588 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19589 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19592 2005-11-15 Wim Taymans <wim@fluendo.com>
19597 2005-11-15 Andy Wingo <wingo@pobox.com>
19599 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19601 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19602 using GST_CLOCK_TIME_NONE to disable base time management.
19603 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19604 time if it was NONE before.
19605 (gst_pipeline_change_state): Only munge the base time if
19606 stream_time != GST_CLOCK_TIME_NONE.
19608 * check/gst/gstpipeline.c (test_base_time): Punt around the
19609 problem of the probe not being called, because that's not the
19610 issue I'm looking at. Add a check that setting stream_time to NONE
19611 disables base time management.
19613 2005-11-15 Wim Taymans <wim@fluendo.com>
19615 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19616 segment_stop == -1 at startup.
19618 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19619 (gst_base_transform_change_state):
19620 Init segment values at start.
19622 2005-11-15 Wim Taymans <wim@fluendo.com>
19624 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19625 0 segment values are 0 in any format.
19627 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19628 * gst/base/gstbasetransform.h:
19629 Parse newsegment correctly in basetransform
19631 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19632 Sync to clock using updated segment values.
19634 2005-11-15 Andy Wingo <wingo@pobox.com>
19636 * check/gst/gstpipeline.c (test_base_time): Add check that the
19637 base time and stream time are reset correctly.
19639 2005-11-15 Wim Taymans <wim@fluendo.com>
19641 * docs/design/part-TODO.txt:
19642 Some more TODO items.
19644 2005-11-15 Andy Wingo <wingo@pobox.com>
19646 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19647 error if the user selected "no clock" as the clocking method.
19649 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19650 timestamps with live capture.
19652 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19653 is 0 but we are a live source, timestamp the buffers using the
19656 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19658 * docs/gst/gstreamer-sections.txt:
19660 * gst/gstghostpad.c:
19665 2005-11-14 Wim Taymans <wim@fluendo.com>
19668 add suppressions from Wim's Debian machine
19670 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19673 add suppressions from Andy's AMD64 Ubuntu machine
19675 2005-11-14 Andy Wingo <wingo@pobox.com>
19677 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19678 STATE_LOCK not necessary. Fixes #311489.
19680 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19683 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19684 this function is not implemented.
19686 2005-11-14 Julien MOUTTE <julien@moutte.net>
19688 * gst/base/gstbasetransform.c:
19689 (gst_base_transform_prepare_output_buf):
19690 Ref the source pad caps while we need them.
19693 2005-11-11 Wim Taymans <wim@fluendo.com>
19695 * docs/gst/gstreamer-sections.txt:
19696 Added some docs for GstCollectData.
19698 * gst/base/gstadapter.c:
19699 Some small code example fix.
19701 * gst/base/gstcollectpads.c:
19702 * gst/base/gstcollectpads.h:
19703 Document some more.
19705 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19707 * configure.ac: back to HEAD
19709 === release 0.9.5 ===
19711 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19714 releasing 0.9.5, "Bike Lunch Day"
19716 2005-11-11 Wim Taymans <wim@fluendo.com>
19718 * gst/gstbuffer.c: (_gst_buffer_copy):
19721 * gst/gstcaps.c: (gst_caps_is_equal):
19723 Make _is_equal fast in the trivial cases.
19725 * gst/gstminiobject.c:
19726 * gst/gstminiobject.h:
19727 More docs. Spifify .h file.
19732 2005-11-11 Wim Taymans <wim@fluendo.com>
19734 * gst/base/gstbasetransform.c:
19735 (gst_base_transform_prepare_output_buf),
19736 (gst_base_transform_handle_buffer):
19738 If we're processing a buffer and need to allocate an output
19739 buffer, we cannot accept a format change. If we did get a
19740 format change, we have to alloc a buffer ourselves of the
19743 2005-11-11 Wim Taymans <wim@fluendo.com>
19745 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19746 While checking the flag for reentrancy in the gstcaps function
19747 is nice to detect recursive invocations, it also makes it
19748 impossible to call getcaps from multiple threads, which must be
19749 possible. So, checking for recursive calls has to go.
19751 2005-11-11 Michael Smith <msmith@fluendo.com>
19753 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19754 Don't sync on buffers that fall partially outside our current
19755 segment. Prevents an assertion failure/abort playing some files.
19757 2005-11-10 Andy Wingo <wingo@pobox.com>
19759 * check/gst/gstbin.c (test_message_state_changed_children): Style
19762 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19763 gst_bus_poll with the signal watch. Ensures that poll and a signal
19764 watch see the same messages.
19766 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19767 a poll and a watch at the same time get the same messages.
19769 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19771 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19772 * gst/gstcaps.c: (gst_caps_intersect):
19773 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19774 and it's not needed.
19776 2005-11-10 Wim Taymans <wim@fluendo.com>
19778 * docs/design/part-TODO.txt:
19781 2005-11-10 Wim Taymans <wim@fluendo.com>
19783 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19784 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19785 (gst_base_src_do_sync), (gst_base_src_get_range):
19786 Implement clock sync in base class.
19788 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19790 patch by: Tim-Philipp Müller <tim at centricular dot net>
19792 * gst/gststructure.c: (gst_structure_parse_field),
19793 (gst_structure_from_string):
19794 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19795 so that gst_parse_launch() can deal with spaces in filtered link
19796 caps (fixes #164479)
19797 * check/gst/capslist.h:
19798 * check/gst/gststructure.c: (GST_START_TEST):
19799 add unit tests for this change
19801 2005-11-10 Wim Taymans <wim@fluendo.com>
19803 * docs/gst/gstreamer-sections.txt:
19804 * gst/gstelement.c:
19805 * gst/gstelement.h:
19806 Fix docs, move some STATE macros to private.
19808 2005-11-10 Wim Taymans <wim@fluendo.com>
19810 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19811 Added check for bug #317341
19815 Some more spiffifying.
19817 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19818 Call peer linkfunction if we are a source pad. Totally fixes
19822 Update docs, source pads should call the peer linkfunction
19823 so they can atomically perform the pad link.
19825 2005-11-09 Wim Taymans <wim@fluendo.com>
19829 Uber-spiffy-spiffify some more.
19831 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19833 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19834 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19835 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19836 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19837 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19838 * gst/gstpad.c: (gst_pad_init):
19839 Use GST_DEBUG_FUNCPTR() more extensively.
19841 2005-11-09 Wim Taymans <wim@fluendo.com>
19843 * gst/gstobject.c: (gst_object_class_init):
19845 Documentation fixes.
19847 2005-11-09 Edward Hervey <edward@fluendo.com>
19849 * gst/gsttypefindfactory.c:
19852 2005-11-09 Edward Hervey <edward@fluendo.com>
19854 * gst/base/gsttypefindhelper.c:
19855 * gst/gsttypefind.c:
19856 * gst/gsttypefind.h:
19859 2005-11-09 Wim Taymans <wim@fluendo.com>
19861 * gst/gstiterator.c:
19868 2005-11-09 Wim Taymans <wim@fluendo.com>
19874 2005-11-09 Wim Taymans <wim@fluendo.com>
19876 * docs/gst/gstreamer-sections.txt:
19877 Moved the message async delivery private lock and cond
19878 to the private section.
19880 * gst/gstmessage.c:
19881 * gst/gstmessage.h:
19884 2005-11-09 Edward Hervey <edward@fluendo.com>
19886 * docs/gst/gstreamer-sections.txt:
19889 Document GstURIHandler
19891 2005-11-09 Wim Taymans <wim@fluendo.com>
19893 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19894 (gst_iterator_find_custom):
19895 * gst/gstiterator.h:
19898 2005-11-09 Wim Taymans <wim@fluendo.com>
19901 Document another field.
19903 * gst/gststructure.c:
19904 * gst/gststructure.h:
19907 2005-11-09 Wim Taymans <wim@fluendo.com>
19910 Documented structs.
19912 2005-11-09 Wim Taymans <wim@fluendo.com>
19914 * docs/gst/gstreamer-sections.txt:
19915 Added some new macros.
19922 2005-11-09 Wim Taymans <wim@fluendo.com>
19924 * docs/design/part-TODO.txt:
19925 Some more items for the TODO
19931 2005-11-09 Andy Wingo <wingo@pobox.com>
19933 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19934 to work on something else now tho...
19936 * gst/base/gstadapter.c: More adapter docs.
19938 * gst/elements/gstfilesink.c (gst_file_sink_start)
19939 (gst_file_sink_stop): New functions, replace the state change
19941 (gst_file_sink_class_init): Hook up the start and stop functions.
19942 (gst_file_sink_base_init): Don't set the state change handler any
19943 more. It was a bit ugly too, being set from here...
19944 (gst_file_sink_get_property, gst_file_sink_set_property):
19946 (gst_file_sink_set_location): More robust check that doesn't call
19947 GST_STATE. Ugggggg.
19949 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19951 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19952 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19954 2005-11-08 Wim Taymans <wim@fluendo.com>
19956 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19957 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19958 (gst_base_sink_chain), (gst_base_sink_change_state):
19959 * gst/base/gstbasesink.h:
19960 * gst/base/gstbasesrc.h:
19961 * gst/gstelement.h:
19963 Avoid excessive typechecking in macros.
19965 * gst/gstminiobject.c: (gst_mini_object_get_type),
19966 (gst_mini_object_init), (gst_mini_object_new),
19967 (gst_mini_object_free):
19968 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19969 (gst_object_finalize):
19970 Remove cruft code, optimize alloc_trace.
19972 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19974 * docs/faq/gst-uninstalled:
19975 fix up PS1 for systems that try to reset it
19977 2005-11-07 Wim Taymans <wim@fluendo.com>
19979 * gst/base/gstbasesrc.c: (gst_base_src_init),
19980 (gst_base_src_get_range):
19981 Set the segment_end to -1 initially. Fixed typefind.
19983 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19985 * gst/base/gstadapter.c:
19986 Debug category should be 'adapter', not 'GstAdapter'.
19988 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19989 (gst_collectpads_class_init), (gst_collectpads_init),
19990 (gst_collectpads_peek), (gst_collectpads_pop),
19991 (gst_collectpads_event), (gst_collectpads_chain):
19992 Add debug category and some debugging output. Use boilerplate
19993 macros. Remove some extraneous words from docs.
19995 2005-11-05 Andy Wingo <wingo@pobox.com>
19997 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20000 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20002 * docs/gst/gstreamer-sections.txt:
20005 * gst/gstminiobject.h:
20010 2005-11-04 Wim Taymans <wim@fluendo.com>
20012 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20013 Small update to stop at the configured segment_end
20016 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20018 * gst/gstregistry.c:
20019 * gst/gstregistry.h:
20022 2005-11-04 Edward Hervey <edward@fluendo.com>
20024 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20025 Check if we are doing a segment seek and have arrived at the
20026 end of that segment.
20028 2005-11-04 Wim Taymans <wim@fluendo.com>
20030 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20031 Don't leak a mutex unlock in case of an error.
20036 2005-11-04 Wim Taymans <wim@fluendo.com>
20038 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20040 Get the context to wake up only once.
20042 2005-11-03 Wim Taymans <wim@fluendo.com>
20044 * check/states/sinks.c: (GST_START_TEST):
20045 Uncomment fixed check.
20047 * docs/design/part-TODO.txt:
20050 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20051 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20052 (gst_base_sink_get_position):
20053 If we are going to PLAYING, post the right pending state
20054 when we post the intermediate paused message.
20056 * gst/gstelement.c: (gst_element_continue_state),
20057 (gst_element_set_state_func), (gst_element_change_state):
20058 Don't post state changes that were between the same state
20059 and were not ASYNC.
20061 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20063 * docs/gst/gstreamer-sections.txt:
20066 * gst/gstminiobject.h:
20069 more docs and doc style fixes
20071 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20073 * docs/gst/gstreamer-sections.txt:
20074 * gst/gstelement.c:
20075 * gst/gstminiobject.c:
20078 2005-11-03 Andy Wingo <wingo@pobox.com>
20080 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20081 state-changed messages actually have the right order and the right
20084 2005-11-03 Wim Taymans <wim@fluendo.com>
20086 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20087 Added some more checks. Specifically the case where NO_PREROLL
20088 elements are in the pipeline.
20090 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20091 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20092 (gst_base_sink_get_position):
20093 Post READY->PAUSED state change messages too.
20094 Fix bug where VOID was posted as pending state...
20096 * gst/gstbin.c: (gst_bin_recalc_state):
20097 use _element_continue_state() to continue the state change.
20099 * gst/gstelement.c: (gst_element_continue_state),
20100 (gst_element_commit_state), (gst_element_set_state_func),
20101 (gst_element_change_state), (gst_element_change_state_func):
20102 Lots of state change cleanups, assign the STATE_RETURN in
20103 a new continue_state() function that also propagates the
20104 last return value from a state change to the app.
20105 Update some debug statements with proper category.
20107 2005-11-03 Wim Taymans <wim@fluendo.com>
20109 * docs/design/part-events.txt:
20110 * docs/design/part-gstpipeline.txt:
20111 * docs/design/part-messages.txt:
20112 * docs/design/part-overview.txt:
20113 * docs/design/part-seeking.txt:
20114 * docs/design/part-states.txt:
20115 * docs/design/part-trickmodes.txt:
20116 * docs/manual/advanced-position.xml:
20117 Small docs updates.
20120 People think !! is ugly, this looks better.
20122 * gst/gstpad.c: (gst_pad_set_blocked_async):
20123 Remove !! since it's fixed elsewhere now.
20125 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20127 * gst/gstminiobject.h:
20129 Add !! to _FLAG_IS_SET macros to make the result boolean.
20131 2005-11-03 Edward Hervey <edward@fluendo.com>
20133 * gst/gstpad.c: (gst_pad_set_blocked_async):
20134 comparing a flag and a gboolean rarely returns coherent results...
20135 Added two characters (!!) to make that work correctly.
20137 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20139 * gst/gstbus.c: (gst_bus_class_init):
20142 * gst/gstqueue.c: (gst_queue_loop):
20143 Don't assume a miniobject that isn't a buffer is an
20144 event (it could be that there is a refcounting
20145 problem somewhere and the pointer is stale and
20146 refers to an already destroyed miniobject).
20148 2005-11-03 Julien MOUTTE <julien@moutte.net>
20150 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20152 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20154 * docs/manual/advanced-position.xml:
20155 Update seek example and explanations to current 0.9 API.
20157 * gst/elements/gsttypefindelement.c:
20158 (gst_type_find_element_activate):
20159 Remove FIXME comment now that the found caps
20162 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20164 * gst/gstregistryxml.c: (load_feature):
20165 Add another GST_STR_NULL instance
20167 2005-11-02 Edward Hervey <edward@fluendo.com>
20169 * gst/gstpad.c: (handle_pad_block):
20170 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20172 2005-11-02 Wim Taymans <wim@fluendo.com>
20177 * gst/gstelement.c: (gst_element_commit_state):
20178 Remove unused value.
20180 * gst/gstiterator.c:
20181 Mention that the returned element is reffed in the docs.
20183 2005-11-02 Wim Taymans <wim@fluendo.com>
20185 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20186 (gst_pad_push), (gst_pad_push_event):
20187 Unlock blocked pads when they are flushed.
20189 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20192 * docs/gst/gstreamer-sections.txt:
20195 * gst/gstregistry.c: (gst_registry_scan_path_level):
20196 fix for a nasty little missed situation where an installed plug-in
20197 which was in the cache did not get overridden by an uninstalled one
20198 which was earlier in the plugin path because the newly created plugin
20199 for the uninstalled one (not in the registry) didn't get its
20200 ->registered set to TRUE
20202 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20204 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20205 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20206 (gst_collectpads_is_active), (gst_collectpads_collect),
20207 (gst_collectpads_collect_range), (gst_collectpads_start),
20208 (gst_collectpads_stop), (gst_collectpads_peek),
20209 (gst_collectpads_pop), (gst_collectpads_available),
20210 (gst_collectpads_read), (gst_collectpads_flush):
20211 Guard public API with assertions.
20214 Fix docs for gst_pad_set_link_function().
20216 2005-11-02 Johan Dahlin <johan@gnome.org>
20218 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20219 Unref found_caps after we used it.
20221 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20223 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20224 Don't try to ref NULL.
20226 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20228 * win32/common/config.h.in:
20229 provide a GST_FUNCTION that just gives a string for now
20231 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20233 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20234 (gst_object_flags_get_type), (register_gst_bin_flags),
20235 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20236 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20237 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20238 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20239 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20240 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20241 (gst_clock_flags_get_type), (register_gst_state),
20242 (gst_state_get_type), (register_gst_state_change_return),
20243 (gst_state_change_return_get_type), (register_gst_state_change),
20244 (gst_state_change_get_type), (register_gst_element_flags),
20245 (gst_element_flags_get_type), (register_gst_core_error),
20246 (gst_core_error_get_type), (register_gst_library_error),
20247 (gst_library_error_get_type), (register_gst_resource_error),
20248 (gst_resource_error_get_type), (register_gst_stream_error),
20249 (gst_stream_error_get_type), (register_gst_event_type),
20250 (gst_event_type_get_type), (register_gst_seek_type),
20251 (gst_seek_type_get_type), (register_gst_seek_flags),
20252 (gst_seek_flags_get_type), (register_gst_format),
20253 (gst_format_get_type), (register_gst_index_certainty),
20254 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20255 (gst_index_entry_type_get_type),
20256 (register_gst_index_lookup_method),
20257 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20258 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20259 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20260 (gst_index_flags_get_type), (register_gst_debug_level),
20261 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20262 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20263 (gst_iterator_result_get_type), (register_gst_iterator_item),
20264 (gst_iterator_item_get_type), (register_gst_message_type),
20265 (gst_message_type_get_type), (register_gst_mini_object_flags),
20266 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20267 (gst_pad_link_return_get_type), (register_gst_flow_return),
20268 (gst_flow_return_get_type), (register_gst_activate_mode),
20269 (gst_activate_mode_get_type), (register_gst_pad_direction),
20270 (gst_pad_direction_get_type), (register_gst_pad_flags),
20271 (gst_pad_flags_get_type), (register_gst_pad_presence),
20272 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20273 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20274 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20275 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20276 (gst_plugin_flags_get_type), (register_gst_rank),
20277 (gst_rank_get_type), (register_gst_query_type),
20278 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20279 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20280 (gst_tag_flag_get_type), (register_gst_task_state),
20281 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20282 (gst_alloc_trace_flags_get_type),
20283 (register_gst_type_find_probability),
20284 (gst_type_find_probability_get_type), (register_gst_uri_type),
20285 (gst_uri_type_get_type), (register_gst_parse_error),
20286 (gst_parse_error_get_type):
20287 * win32/common/gstversion.h:
20288 update win32 copies
20290 2005-11-01 Luca Ognibene <luogni@tin.it>
20293 fix docs. popt is dead, long live GOption.
20295 2005-10-31 Wim Taymans <wim@fluendo.com>
20300 2005-10-31 Andy Wingo <wingo@pobox.com>
20304 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20306 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20307 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20308 the possibility of deadlocks here if code calling notify() or
20309 set() has a lock that can be taken in another notify handler (ABBA
20310 with class lock and e.g. python GIL state lock).
20312 2005-10-28 Julien MOUTTE <julien@moutte.net>
20314 * gst/gstbus.c: Doc updates.
20316 2005-10-28 Wim Taymans <wim@fluendo.com>
20318 * docs/design/part-TODO.txt:
20319 * gst/gstiterator.c:
20320 * gst/gstsystemclock.c:
20321 * gst/gstsystemclock.h:
20324 2005-10-28 Edward Hervey <edward@fluendo.com>
20326 * docs/gst/gstreamer-docs.sgml:
20327 * docs/gst/gstreamer-sections.txt:
20328 the GstURIType documentation page is private, it only defines GstURIType
20329 which should be defined in the GstURIHandler page
20331 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20333 * gst/gstbin.c: (gst_bin_class_init):
20336 Documentation updates.
20338 2005-10-28 Wim Taymans <wim@fluendo.com>
20340 * docs/gst/gstreamer-sections.txt:
20343 Documented the clocks.
20345 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20347 * docs/gst/gstreamer-sections.txt:
20348 move some macros to private sections
20349 * gst/gstminiobject.c:
20350 * gst/gstminiobject.h:
20351 add descriptions provided by ds and some more
20353 mark macro as to be removed
20355 2005-10-28 Wim Taymans <wim@fluendo.com>
20357 * docs/design/part-TODO.txt:
20358 Add an item to TODO.
20360 * gst/gstiterator.c: (gst_iterator_fold),
20361 (gst_iterator_find_custom):
20362 * gst/gstiterator.h:
20365 2005-10-28 Wim Taymans <wim@fluendo.com>
20367 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20368 (gst_base_transform_init):
20371 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20372 An EOS event marks the queue as completely filled.
20374 2005-10-27 Wim Taymans <wim@fluendo.com>
20376 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20377 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20378 Some more debugging.
20380 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20381 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20382 (gst_base_transform_event), (gst_base_transform_getrange),
20383 (gst_base_transform_chain):
20384 * gst/base/gstbasetransform.h:
20386 Protect transform and concurrent buffer alloc with a new lock.
20387 Try not to break ABI/API.
20389 2005-10-27 Wim Taymans <wim@fluendo.com>
20391 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20392 (gst_base_src_init), (gst_base_src_query),
20393 (gst_base_src_default_newsegment),
20394 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20395 (gst_base_src_send_event), (gst_base_src_event_handler),
20396 (gst_base_src_pad_get_range), (gst_base_src_loop),
20397 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20398 (gst_base_src_start), (gst_base_src_deactivate),
20399 (gst_base_src_activate_push), (gst_base_src_change_state):
20400 Move some stuff around and cleanup things.
20402 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20404 * gst/base/gstbasesrc.c: (gst_base_src_query):
20405 Add missing break statements.
20407 2005-10-27 Wim Taymans <wim@fluendo.com>
20409 * check/gst/gstbin.c: (GST_START_TEST):
20410 An extra refcount is taken in basesrc.
20412 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20413 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20414 (gst_base_src_loop):
20415 Small cleanups, check for flushing after being unlocked from the
20416 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20417 Don't send out EOS when going to READY.
20419 2005-10-27 Wim Taymans <wim@fluendo.com>
20421 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20422 (gst_base_sink_get_position):
20425 * gst/gstbin.c: (message_check), (bin_replace_message),
20426 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20427 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20428 (bin_query_duration_init), (bin_query_duration_fold),
20429 (bin_query_duration_done), (bin_query_generic_fold),
20431 * tools/gst-launch.c: (main):
20434 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20436 * examples/controller/audio-example.c: (main):
20437 * examples/queue/queue.c: (event_loop):
20438 * gst/base/gstbasetransform.h:
20439 * gst/gstelement.c: (gst_element_send_event):
20441 * gst/gstpad.c: (gst_pad_send_event):
20444 changing log priority in error situations
20446 2005-10-25 Wim Taymans <wim@fluendo.com>
20448 * gst/gstbin.c: (message_check), (bin_replace_message),
20449 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20450 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20451 (bin_query_duration_init), (bin_query_duration_fold),
20452 (bin_query_duration_done), (bin_query_generic_fold),
20454 Some doc and debug updates.
20455 Cache previously requested query DURATION for speed. invalidate
20456 cached duration if element posts a DURATION message.
20458 2005-10-25 Wim Taymans <wim@fluendo.com>
20460 * docs/design/part-TODO.txt:
20463 * gst/gstbin.c: (message_check), (bin_replace_message),
20464 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20465 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20466 (bin_query_duration_init), (bin_query_duration_fold),
20467 (bin_query_duration_done), (bin_query_generic_fold),
20469 Handle SEGMENT_START/DONE messages correctly.
20470 More evolved query algorithm that handles duration queries
20473 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20474 (gst_element_get_state_func), (gst_element_abort_state),
20475 (gst_element_commit_state), (gst_element_lost_state):
20476 Some more debugging.
20478 * gst/gstmessage.h:
20481 2005-10-25 Wim Taymans <wim@fluendo.com>
20483 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20484 Don't use invalid stream_time.
20486 * gst/gstevent.c: (gst_event_new_newsegment):
20487 stream_time in newsegment cannot be undefined.
20489 2005-10-24 Wim Taymans <wim@fluendo.com>
20494 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20496 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20498 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20500 * docs/libs/tmpl/gstdparam.sgml:
20501 * docs/libs/tmpl/gstdplinint.sgml:
20502 * docs/libs/tmpl/gstdpman.sgml:
20503 * docs/libs/tmpl/gstdpsmooth.sgml:
20504 * docs/libs/tmpl/gstunitconvert.sgml:
20507 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20512 === release 0.9.4 ===
20514 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20517 releasing 0.9.4, "Tyrannosaurus Rex"
20519 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20521 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20522 (gst_file_sink_get_current_offset):
20523 Use fseeko() and ftello() if available. When falling back on
20524 lseek() to get the current offset, fflush() first to make sure
20525 everything is up-to-date and we get the right offset.
20527 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20530 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20531 * gst/gsterror.c: (_gst_stream_errors_init):
20533 * gst/gstqueue.c: (gst_queue_loop):
20535 remove prematurely added error category and clean up the instances
20537 2005-10-21 Wim Taymans <wim@fluendo.com>
20539 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20540 (gst_base_sink_get_position), (gst_base_sink_query),
20541 (gst_base_sink_change_state):
20542 Simply set the right flag when going to playing, that's all
20543 we need to do instead of calling a function inside the object
20544 lock (that could take the lock as well and deadlock)
20546 2005-10-21 Wim Taymans <wim@fluendo.com>
20548 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20549 (gst_base_src_loop):
20550 Don't warn, the peer element knows what to do best when
20551 the seek failed, it might try something else.
20553 2005-10-21 Wim Taymans <wim@fluendo.com>
20555 * gst/base/gstbasesrc.c: (gst_base_src_init),
20556 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20559 2005-10-21 Wim Taymans <wim@fluendo.com>
20561 * docs/design/part-segments.txt:
20564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20565 Correctly set caps, even on the subbufer.
20567 2005-10-21 Wim Taymans <wim@fluendo.com>
20569 * docs/gst/gstreamer-docs.sgml:
20570 * docs/gst/gstreamer-sections.txt:
20571 * gst/gstelement.h:
20574 * gst/gstmessage.h:
20577 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20581 And 2% more doc coverage.
20583 2005-10-21 Andy Wingo <wingo@pobox.com>
20585 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20586 position reporting.
20588 2005-10-20 Wim Taymans <wim@fluendo.com>
20590 * gst/gsterror.c: (gst_error_get_message):
20593 * gst/gststructure.c:
20598 2005-10-20 Wim Taymans <wim@fluendo.com>
20603 Another 1% more coverage.
20605 2005-10-20 Wim Taymans <wim@fluendo.com>
20607 * docs/gst/gstreamer-sections.txt:
20608 * gst/gstelement.c: (gst_element_get_state_func),
20609 (gst_element_abort_state), (gst_element_commit_state),
20610 (gst_element_lost_state):
20612 * gst/gstquery.c: (gst_query_set_position),
20613 (gst_query_parse_position), (gst_query_set_duration),
20614 (gst_query_parse_duration), (gst_query_new_convert):
20616 Yay! 1% more docs coverage.
20618 2005-10-20 Wim Taymans <wim@fluendo.com>
20621 * gst/gstquery.c: (gst_query_set_position),
20622 (gst_query_parse_position), (gst_query_set_duration),
20623 (gst_query_parse_duration), (gst_query_new_convert):
20625 * gst/gstutils.c: (gst_element_query_convert):
20627 Docs and consistency fixes.
20629 2005-10-20 Wim Taymans <wim@fluendo.com>
20635 2005-10-20 Wim Taymans <wim@fluendo.com>
20637 * gst/gstbin.c: (message_check), (bin_replace_message),
20638 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20639 (update_degree), (gst_bin_sort_iterator_next),
20640 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20641 Reworked the message handling a bit, cache the messages instead of
20642 only the senders. alows us to do more in the future.
20644 2005-10-20 Wim Taymans <wim@fluendo.com>
20646 * docs/design/part-TODO.txt:
20649 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20650 (gst_base_sink_query):
20651 Don't use clock time to report position when in EOS.
20653 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20655 * tools/gst-inspect.c: (print_interfaces),
20656 (print_element_properties_info), (print_element_info):
20657 Fix interface output with gst-inspect -a; don't print
20658 newlines after double/float properties.
20660 2005-10-20 Wim Taymans <wim@fluendo.com>
20662 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20663 (gst_base_sink_query):
20664 Speed up current position calculation.
20666 * gst/base/gstbasesrc.c: (gst_base_src_query),
20667 (gst_base_src_default_newsegment):
20668 Correctly set stream position in newsegment.
20670 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20671 (update_degree), (gst_bin_sort_iterator_next),
20672 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20673 * gst/gstmessage.c: (gst_message_new_custom):
20674 Clean up debugging info
20676 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20677 (gst_queue_loop), (gst_queue_handle_src_query):
20680 2005-10-19 Wim Taymans <wim@fluendo.com>
20682 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20683 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20684 Fix query handling again.
20686 2005-10-19 Wim Taymans <wim@fluendo.com>
20688 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20689 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20690 * gst/base/gstbasesrc.c: (gst_base_src_query):
20691 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20692 * gst/elements/gsttypefindelement.c:
20693 (gst_type_find_handle_src_query), (find_element_get_length),
20694 (gst_type_find_element_activate):
20697 * gst/gstquery.c: (gst_query_new_position),
20698 (gst_query_set_position), (gst_query_parse_position),
20699 (gst_query_new_duration), (gst_query_set_duration),
20700 (gst_query_parse_duration), (gst_query_set_segment),
20701 (gst_query_parse_segment):
20703 Bundling query position/duration is not a good idea since duration
20704 does not change much and we don't want to recalculate it for every
20705 position query, so they are separated again..
20706 Base value in segment query is not needed.
20708 * gst/gstqueue.c: (gst_queue_handle_src_query):
20709 * gst/gstutils.c: (gst_element_query_position),
20710 (gst_element_query_duration), (gst_pad_query_position),
20711 (gst_pad_query_duration):
20713 Updates for query API change.
20714 Added some docs here and there.
20716 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20718 * check/gst/gstbin.c: (GST_START_TEST):
20719 * check/gst/gstghostpad.c: (GST_START_TEST):
20720 * check/pipelines/cleanup.c: (GST_START_TEST):
20721 wait on thread to die so we can check refcount correctly
20723 2005-10-18 Wim Taymans <wim@fluendo.com>
20725 * check/pipelines/stress.c: (GST_START_TEST):
20726 Make check a little more time consuming.
20728 2005-10-18 Wim Taymans <wim@fluendo.com>
20730 * check/Makefile.am:
20731 * check/pipelines/stress.c: (GST_START_TEST),
20732 (simple_launch_lines_suite), (main):
20733 Small state change torture test.
20735 * docs/design/part-states.txt:
20736 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20737 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20738 (gst_base_sink_change_state):
20739 Never take state lock from streaming thread, clean up ugly
20740 hacks. Unfortunatly core does not yet support nice ways to
20741 async commit state.
20743 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20745 Start state recalc if a STATE_DIRTY message is posted, but only
20746 on the toplevel bin.
20748 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20749 (gst_element_get_state_func), (gst_element_abort_state),
20750 (gst_element_commit_state), (gst_element_lost_state),
20751 (gst_element_set_state_func), (gst_element_change_state):
20752 * gst/gstelement.h:
20753 State variables are now protected with the LOCK, the state
20754 lock is only used to serialize _set_state().
20756 2005-10-18 Wim Taymans <wim@fluendo.com>
20758 * check/gst/gstbin.c: (GST_START_TEST):
20759 * check/gst/gstmessage.c: (GST_START_TEST):
20760 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20761 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20763 * gst/gstelement.c: (gst_element_abort_state),
20764 (gst_element_commit_state), (gst_element_lost_state):
20765 * gst/gstmessage.c: (gst_message_new_state_changed),
20766 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20767 (gst_message_new_segment_done), (gst_message_new_duration),
20768 (gst_message_parse_state_changed),
20769 (gst_message_parse_segment_start),
20770 (gst_message_parse_segment_done), (gst_message_parse_duration):
20771 * gst/gstmessage.h:
20772 * tools/gst-launch.c: (event_loop):
20773 Seriously, this is better than a previous commit as we only need
20774 to notify the fact that an element changed state in a streaming
20775 thread, marking the state of the parents dirty, hence the
20776 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20779 2005-10-18 Wim Taymans <wim@fluendo.com>
20781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20782 (gst_bin_recalc_func):
20783 * gst/gstelement.c: (gst_element_set_clock),
20784 (gst_element_abort_state), (gst_element_lost_state):
20785 Cleanups, prepare for state change fixes.
20787 2005-10-18 Wim Taymans <wim@fluendo.com>
20790 * gst/gstelement.c: (gst_element_class_init),
20791 (gst_element_set_state), (gst_element_set_state_func):
20792 * gst/gstelement.h:
20793 Pending ABI changes.
20794 GThreadPool in GstBinClass to monitor async state changes.
20795 state_cookie in GstElement to detect concurrent gst/set state.
20796 set_state is now virtual too in case a very complicated element
20797 has to be constructed.
20799 2005-10-18 Wim Taymans <wim@fluendo.com>
20801 * check/gst/gstbin.c: (GST_START_TEST):
20802 * check/gst/gstmessage.c: (GST_START_TEST):
20803 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20804 * gst/gstbin.c: (bin_bus_handler):
20805 * gst/gstelement.c: (gst_element_commit_state),
20806 (gst_element_lost_state):
20807 * gst/gstmessage.c: (gst_message_new_state_changed),
20808 (gst_message_new_segment_start), (gst_message_new_segment_done),
20809 (gst_message_new_duration), (gst_message_parse_state_changed),
20810 (gst_message_parse_segment_start),
20811 (gst_message_parse_segment_done), (gst_message_parse_duration):
20812 * gst/gstmessage.h:
20813 * tools/gst-launch.c: (event_loop):
20814 Make messages future proof.
20815 state-change gets a flag if it was a message comming from the
20817 segment-start/stop can also be specified in other formats.
20818 A message to notify an app that a pipeline changed playback
20820 Also fix a GstMessage leak in -launch
20822 2005-10-18 Andy Wingo <wingo@pobox.com>
20824 * gst/gstelement.c (gst_element_dispose): More helpful message.
20826 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20828 reviewed by: <delete if not using a buddy>
20830 * common/gtk-doc.mak:
20832 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20834 * gst/gstregistry.c: (gst_registry_scan_path_level):
20835 unref a plug-in we get that was already initialized
20837 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20839 * docs/gst/gstreamer-sections.txt:
20840 * docs/libs/gstreamer-libs-sections.txt:
20841 * gst/gstelement.h:
20842 add new api entries
20843 hide internal macro
20845 2005-10-17 Andy Wingo <wingo@pobox.com>
20847 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20850 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20852 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20854 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20855 (gst_element_get_state_func): Better debug message.
20856 (gst_element_commit_state): s/INFO/DEBUG/.
20857 (gst_element_lost_state, gst_element_change_state):
20859 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20860 (gst_message_new_custom): s/INFO/LOG/.
20862 2005-10-17 Michael Smith <msmith@fluendo.com>
20864 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20865 Check if end time is valid using end time, not start time.
20867 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20869 * check/gst-libs/controller.c: (GST_START_TEST),
20870 (gst_controller_suite):
20871 * libs/gst/controller/gstcontroller.c:
20872 (gst_controlled_property_set_interpolation_mode):
20873 * libs/gst/controller/gstcontroller.h:
20874 * libs/gst/controller/gstinterpolation.c:
20875 * testsuite/controller/.cvsignore:
20876 * testsuite/controller/Makefile.am:
20877 * testsuite/controller/interpolator.c:
20878 merge controller testsuites
20880 remove mem-chunk from docs
20882 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20884 * gst/gstmemchunk.c:
20885 * gst/gstmemchunk.h:
20886 * gst/gsttrashstack.c:
20887 * gst/gsttrashstack.h:
20888 out. get out. you're fired. to the Attic !
20890 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20892 * gst/gstcaps.c: (gst_caps_intersect):
20893 fix signedness issues in a (hopefully) correct way
20894 * gst/gstelement.c: (gst_element_pads_activate):
20896 * gst/gstobject.c: (gst_object_set_parent):
20899 2005-10-17 Julien MOUTTE <julien@moutte.net>
20901 * gst/gstvalue.h: Fix prototypes.
20903 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20905 * docs/gst/gstreamer-sections.txt:
20906 * gst/gst.c: (gst_version_string):
20908 * gst/gstversion.h.in:
20909 * win32/common/libgstreamer.def:
20910 add gst_version_string ()
20912 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20916 * gst/gst.c: (init_post):
20917 * win32/common/config.h.in:
20919 * gst/gstcaps.c: (gst_caps_intersect):
20920 use gint64, the range could be bigger than a guint
20922 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20925 document potential problem in 2038
20927 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20929 * gst/gstcaps.c: (gst_caps_intersect):
20930 Fix guint j diving under 0
20932 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20935 * win32/common/config.h:
20936 * win32/common/config.h.in:
20937 check for process.h, declares getpid() on Windows
20939 include process.h if we have it
20940 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20941 * gst/gstmemchunk.h:
20942 fix signedness issues
20943 * win32/common/libgstreamer.def:
20946 2005-10-16 Julien MOUTTE <julien@moutte.net>
20948 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20949 fix. Because of unsigned ints, caps intersection was going nuts and
20950 trying to access structures with G_MAXUINT index. That fixes
20951 videotestsrc ! ffmpegcolorspace ! fakesink
20952 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20955 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20958 use the gettext macro
20959 * gst/elements/gstelements.c:
20961 * gst/indexers/gstindexers.c:
20962 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20963 * win32/common/config.h:
20965 * win32/common/config.h.in:
20966 add the template to generate config.h
20967 * win32/common/gstenumtypes.c:
20968 * win32/common/gstversion.h:
20971 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20973 * gst/gst.c: (gst_version):
20974 * gst/gstversion.h.in:
20977 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20980 Oops, add missing closing bracket.
20982 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20985 use common m4's for argument checking
20987 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20989 * docs/gst/gstreamer-sections.txt:
20991 Add GST_EVENT_TYPE_NAME() macro.
20993 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20996 * gst/gstpluginfeature.c:
20998 privatize more symbols
21000 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21003 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21004 everything that uses GStreamer API should have the includes
21006 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21008 * docs/gst/gstreamer-sections.txt:
21009 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21011 give each value a _get_type, removes the DATA exports
21013 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21017 remove _gst_registry_auto_load, not used anymore
21018 * gst/gstbin.c: (gst_bin_get_type):
21020 * gst/gstelement.c: (gst_element_get_type):
21021 * gst/gstelement.h:
21022 * gst/gstobject.c: (gst_object_get_type):
21024 * gst/gstpad.c: (gst_pad_get_type):
21026 make _get_type functions similar, fixes data export from library
21028 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21031 correctly make conditionals
21032 * gst/elements/Makefile.am:
21033 * gst/elements/gstelements.c:
21034 fix typo causing fdsrc not to build
21036 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21038 * testsuite/Makefile.am:
21039 * testsuite/bytestream/.cvsignore:
21040 * testsuite/bytestream/Makefile.am:
21041 * testsuite/bytestream/filepadsink.c:
21042 * testsuite/bytestream/gstbstest.c:
21043 * testsuite/bytestream/test1.c:
21044 * testsuite/bytestream/testfile1:
21045 * testsuite/caps/normalisation.c:
21046 * testsuite/caps/random.c: (main):
21047 * testsuite/cleanup/.cvsignore:
21048 * testsuite/cleanup/Makefile.am:
21049 * testsuite/cleanup/cleanup1.c:
21050 * testsuite/cleanup/cleanup2.c:
21051 * testsuite/cleanup/cleanup3.c:
21052 * testsuite/cleanup/cleanup4.c:
21053 * testsuite/cleanup/cleanup5.c:
21054 * testsuite/controller/interpolator.c:
21055 * testsuite/debug/printf_extension.c: (main):
21056 * testsuite/elements/tee.c:
21057 * testsuite/negotiation/.cvsignore:
21058 * testsuite/negotiation/Makefile.am:
21059 * testsuite/negotiation/pad_link.c:
21060 * testsuite/pad/Makefile.am:
21061 * testsuite/pad/chainnopull.c:
21062 * testsuite/pad/getnopush.c:
21063 * testsuite/pad/link.c:
21064 * testsuite/refcounting/sched.c: (create_pipeline):
21065 * testsuite/registry/Makefile.am:
21066 * testsuite/registry/gst-print-formats.c:
21067 * testsuite/schedulers/.cvsignore:
21068 * testsuite/schedulers/142183-2.c:
21069 * testsuite/schedulers/142183.c:
21070 * testsuite/schedulers/143777-2.c:
21071 * testsuite/schedulers/143777.c:
21072 * testsuite/schedulers/147713.c:
21073 * testsuite/schedulers/147819.c:
21074 * testsuite/schedulers/147894-2.c:
21075 * testsuite/schedulers/147894.c:
21076 * testsuite/schedulers/Makefile.am:
21077 * testsuite/schedulers/group_link.c:
21078 * testsuite/schedulers/queue_link.c:
21079 * testsuite/schedulers/relink.c:
21080 * testsuite/schedulers/unlink.c:
21081 * testsuite/schedulers/unref.c:
21082 * testsuite/schedulers/useless_iteration.c:
21083 * testsuite/states/bin.c:
21084 clean out/remove some stuff from the testsuite directories
21086 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21089 check for some headers
21090 * gst/elements/Makefile.am:
21091 * gst/elements/gstelements.c:
21092 don't compile fdsrc without sys/socket.h
21093 * gst/indexers/Makefile.am:
21094 * gst/indexers/gstindexers.c: (plugin_init):
21095 don't compile fileindex without mmap
21097 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21104 * check/Makefile.am:
21105 * docs/gst/Makefile.am:
21106 * examples/helloworld/Makefile.am:
21108 * gst/base/Makefile.am:
21109 * gst/check/Makefile.am:
21110 * gst/elements/Makefile.am:
21111 * gst/indexers/Makefile.am:
21112 * gst/parse/Makefile.am:
21113 * libs/gst/controller/Makefile.am:
21114 * libs/gst/dataprotocol/Makefile.am:
21115 * examples/helloworld/helloworld.c: (event_loop):
21116 compile fixes, though it's not being compiled currently
21118 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21120 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21121 Add some simple tests for the new taglist date API.
21123 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21125 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21126 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21127 Beautify 'last-message' output: print 'none' for buffer timestamps
21128 and durations if none is set; improve alignment with next messages.
21130 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21132 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21133 * gst/gstpluginfeature.h:
21134 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21135 * gst/gstregistry.h:
21136 * docs/gst/gstreamer-sections.txt:
21137 Add new API to check plugin feature version requirements.
21139 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21140 Some basic tests for the above.
21142 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21144 * gst/gststructure.c: (gst_structure_to_string):
21145 guard against NULL printf - happens when for example
21146 a message structure with GstClock gets serialized
21148 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21150 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21151 Fix presumable copy'n'pasto.
21153 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21155 * gst/elements/gstfakesrc.h:
21156 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21157 * gst/elements/gsttypefindelement.c:
21158 fix some signedness
21159 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21160 I wonder if this could actually write +2GB files before
21162 2005-10-13 Andy Wingo <wingo@pobox.com>
21164 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21165 Fix Timmeke Waymans bug.
21166 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21167 string of the proper length to gst_caps_from_string. There's a
21168 potential for, before this fix, that this could cause someone
21169 connecting over the network to cause a segfault if the payload is
21170 not NUL-terminated.
21172 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21174 * docs/design/draft-push-pull.txt:
21175 * docs/design/part-overview.txt:
21176 * docs/random/TODO-pre-0.9:
21177 * docs/random/old/ChangeLog.gstreamer:
21178 * gst/base/gstpushsrc.c:
21182 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21184 * gst/glib-compat.c: (gst_flags_get_first_value):
21185 * gst/glib-compat.h:
21186 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21187 (gst_value_compare_double), (gst_value_serialize_flags):
21188 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21191 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21193 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21194 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21196 * tools/gst-launch.c: (event_loop):
21197 print out clock nicely
21199 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21201 * docs/gst/gstreamer-sections.txt:
21202 * gst/gsttaglist.h:
21203 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21204 (gst_tag_list_get_date_index):
21205 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21206 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21208 2005-10-13 Julien MOUTTE <julien@moutte.net>
21210 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21211 (gst_collectpads_chain):
21212 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21215 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21217 * docs/gst/gstreamer-sections.txt:
21220 * tools/gst-inspect.c: (main):
21221 * tools/gst-launch.c: (main):
21222 * tools/gst-run.c: (main):
21223 * tools/gst-xmlinspect.c: (main):
21224 fix GOption context leaks
21227 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21231 * win32/common/config.h:
21233 * win32/vs6/grammar.dsp:
21234 * win32/vs6/libgstelements.dsp:
21235 * win32/vs6/libgstreamer.dsp:
21238 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21241 * gst/base/gstbasesrc.c: (gst_base_src_query):
21242 fix more guint64<->gdouble conversions
21244 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21247 add win32-update target
21248 * win32/common/gstconfig.h:
21249 * win32/common/gstenumtypes.c:
21250 * win32/common/gstenumtypes.h:
21251 * win32/common/gstversion.h:
21252 add files that visual studio can't generate
21254 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21257 add a win32-update target
21260 2005-10-12 Wim Taymans <wim@fluendo.com>
21262 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21263 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21264 * gst/gstelement.c: (gst_element_commit_state),
21265 (gst_element_set_state):
21266 Protect flags with proper lock.
21267 unref provided cached clock in dispose.
21269 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21272 * gst/gstminiobject.h:
21274 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21275 removed unused flags from miniobject
21278 2005-10-12 Wim Taymans <wim@fluendo.com>
21280 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21281 (gst_file_sink_event), (gst_file_sink_render):
21282 Flush before seeking.
21284 2005-10-12 Andy Wingo <wingo@pobox.com>
21286 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21287 always been the case.
21289 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21291 * check/gst/gstbin.c: (GST_START_TEST):
21292 * docs/gst/gstreamer-sections.txt:
21293 * gst/base/gstbasesink.c: (gst_base_sink_init):
21294 * gst/base/gstbasesrc.c: (gst_base_src_init),
21295 (gst_base_src_get_range), (gst_base_src_check_get_range),
21296 (gst_base_src_start), (gst_base_src_stop):
21297 * gst/base/gstbasesrc.h:
21298 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21299 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21300 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21304 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21306 * gst/gstelement.c: (gst_element_is_locked_state),
21307 (gst_element_set_locked_state), (gst_element_commit_state),
21308 (gst_element_set_state):
21309 * gst/gstelement.h:
21310 * gst/gstindex.c: (gst_index_init):
21312 * gst/gstminiobject.h:
21313 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21314 (gst_object_set_parent):
21316 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21317 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21319 * gst/gstpadtemplate.h:
21320 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21321 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21322 * gst/gstpipeline.h:
21323 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21324 (gst_file_index_commit):
21325 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21326 * testsuite/pad/link.c: (gst_test_src_init),
21327 (gst_test_filter_init), (gst_test_sink_init):
21328 * testsuite/states/locked.c: (main):
21329 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21330 moved bitshift from macro to enum definition
21332 2005-10-12 Wim Taymans <wim@fluendo.com>
21334 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21335 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21336 (gst_file_sink_render):
21337 Some more debugging info.
21339 2005-10-12 Wim Taymans <wim@fluendo.com>
21341 * docs/design/part-states.txt:
21342 * tools/gst-launch.c: (main):
21344 Revert non-intentional change.
21346 2005-10-12 Wim Taymans <wim@fluendo.com>
21348 * check/gst/gstbin.c: (GST_START_TEST):
21349 * check/gst/gstelement.c: (GST_START_TEST):
21350 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21351 * check/gst/gstghostpad.c: (GST_START_TEST):
21352 * check/gst/gstpipeline.c: (GST_START_TEST):
21353 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21354 * check/states/sinks.c: (GST_START_TEST):
21355 * gst/elements/gsttypefindelement.c: (stop_typefinding):
21356 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21357 (gst_bin_remove_func), (gst_bin_get_state_func),
21358 (gst_bin_recalc_state), (gst_bin_change_state_func),
21360 * gst/gstelement.c: (gst_element_get_state_func),
21361 (gst_element_get_state), (gst_element_abort_state),
21362 (gst_element_commit_state), (gst_element_set_state),
21363 (gst_element_change_state), (gst_element_change_state_func):
21364 * gst/gstelement.h:
21365 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21366 (gst_pipeline_provide_clock_func):
21367 * gst/gstutils.c: (gst_element_link_pads_filtered):
21368 * tools/gst-launch.c: (main):
21369 * tools/gst-typefind.c: (main):
21370 Use GstClockTime in _get_state() instead of GTimeVal.
21371 Remove old code in gstutils.c
21373 2005-10-12 Andy Wingo <wingo@pobox.com>
21375 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21378 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21379 there is no task. Shouldn't affect any code, as nothing in our
21380 plugins checks this return value.
21381 (gst_pad_stop_task): Also take the stream lock if the pad has no
21382 task. Docs updated.
21384 2005-10-12 Wim Taymans <wim@fluendo.com>
21386 * gst/gstpad.c: (pre_activate), (post_activate),
21387 (gst_pad_activate_pull), (gst_pad_activate_push):
21388 Cleanup activation code. Reset old state if
21391 2005-10-12 Wim Taymans <wim@fluendo.com>
21393 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21394 (gst_base_sink_change_state):
21395 No need to prerol after receiving EOS.
21397 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21398 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21399 * gst/elements/gstidentity.c: (gst_identity_event):
21400 Print events more verbosely.
21402 2005-10-12 Wim Taymans <wim@fluendo.com>
21404 * check/Makefile.am:
21405 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21406 * check/states/sinks2.c:
21407 Moved sinks2 testcode in sinks check.
21409 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21410 (gst_bin_remove_func), (gst_bin_recalc_state),
21411 (gst_bin_change_state_func), (bin_bus_handler):
21412 Fix potential race condition when _get_state() iterated over an
21413 ASYNC element right before it posted a state completion.
21416 Do proper cast here.
21418 * gst/gstevent.c: (gst_event_new_newsegment),
21419 (gst_event_parse_newsegment):
21420 A playback rate of 0.0 is not allowed.
21422 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21424 * win32/common/config.h:
21425 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21426 (_trewinddir), (_ttelldir), (_tseekdir):
21427 * win32/common/dirent.h:
21428 * win32/common/gtchar.h:
21429 * win32/common/libgstbase.def:
21430 * win32/common/libgstreamer.def:
21431 * win32/vs6/grammar.dsp:
21432 * win32/vs6/gst_inspect.dsp:
21433 * win32/vs6/gst_launch.dsp:
21434 * win32/vs6/gstreamer.dsw:
21435 * win32/vs6/libgstbase.dsp:
21436 * win32/vs6/libgstelements.dsp:
21437 * win32/vs6/libgstreamer.dsp:
21438 Visual Studio 6 project files, and a new common directory.
21441 2005-10-11 Wim Taymans <wim@fluendo.com>
21443 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21444 (gst_base_sink_do_sync), (gst_base_sink_query),
21445 (gst_base_sink_change_state):
21446 * gst/base/gstbasesink.h:
21447 Correctly parse newsegment info.
21449 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21451 * gst/gst.c: (init_post):
21452 split plugin paths correctly
21454 2005-10-11 Wim Taymans <wim@fluendo.com>
21456 * check/gst/gstevent.c: (GST_START_TEST):
21457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21458 (gst_base_sink_change_state):
21459 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21460 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21461 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21462 * gst/gstevent.c: (gst_event_new_newsegment),
21463 (gst_event_parse_newsegment):
21465 Added extra flag to newsegment for future API freeze.
21466 Updated check and base elements.
21468 2005-10-11 Julien MOUTTE <julien@moutte.net>
21470 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21471 (gst_collectpads_add_pad), (gst_collectpads_pop),
21472 (gst_collectpads_event), (gst_collectpads_chain):
21473 * gst/base/gstcollectpads.h: Handle EOS correctly.
21475 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21477 * tools/gst-launch.c: (main):
21478 more null protecting
21480 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21482 * gst/gst-i18n-lib.h:
21483 check for ENABLE_NLS, not GETTEXT_PACKAGE
21484 * gst/gstregistry.c: (gst_registry_add_plugin),
21485 (gst_registry_scan_path_level),
21486 (_gst_registry_remove_cache_plugins):
21487 protect possibly NULL strings
21488 * gst/parse/types.h:
21489 config.h already included before
21490 * tools/gst-inspect.c: (main):
21491 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21492 check for ENABLE_NLS, not GETTEXT_PACKAGE
21493 * tools/gst-launch.c: (main):
21494 check for ENABLE_NLS, not GETTEXT_PACKAGE
21496 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21499 if we don't have glib, fail before testing 2.8
21500 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21501 fix a leak, should fix plugins-base testsuite
21503 2005-10-11 Andy Wingo <wingo@pobox.com>
21505 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21506 take the mode we're going to as an arg. Go head and set the mode
21507 and flushing flags now, so that if the activate function starts a
21508 thread all the flags will be in the right state.
21509 (post_activate): Renamed also. Just handle making sure streaming
21510 finishes for the deactivation case, and setting the deactivated
21512 (gst_pad_set_active): Complain loudly if deactivation fails.
21513 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21514 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21515 remove the terrible hack.
21517 2005-10-11 Wim Taymans <wim@fluendo.com>
21519 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21520 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21521 (gst_bin_recalc_state), (gst_bin_change_state_func),
21522 (gst_bin_dispose), (bin_bus_handler):
21524 Prepare to make current EOS message queue more generic.
21527 * gst/gstevent.c: (gst_event_new_newsegment),
21528 (gst_event_parse_newsegment):
21530 Rename base to stream_time.
21532 * gst/gstmessage.h:
21535 2005-10-11 Wim Taymans <wim@fluendo.com>
21537 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21538 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21539 (gst_bin_change_state_func), (bin_bus_handler):
21541 Work on proper clock selection.
21543 2005-10-11 Edward Hervey <edward@fluendo.com>
21545 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21546 * libs/gst/controller/gstcontroller.h:
21547 Added GList* version of _remove_properties() in order to be able to wrap
21550 2005-10-11 Wim Taymans <wim@fluendo.com>
21552 * docs/design/part-states.txt:
21555 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21556 (gst_bin_change_state_func), (bin_bus_handler):
21557 Doc updates. Don't distribute the same clock over and over again.
21563 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21564 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21565 (gst_pad_send_event):
21567 Make probe emission threadsafe again.
21568 Register quarks and move _get_name() from utils.
21571 * gst/gstpipeline.c: (gst_pipeline_class_init),
21572 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21573 Only redistribute the clock of it changed.
21575 * gst/gstsystemclock.h:
21580 Moved the _flow_get_name() to GstPad.
21582 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21584 * check/gst-libs/gdp.c: (GST_START_TEST):
21585 * check/gst/gstcaps.c: (GST_START_TEST):
21586 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21587 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21588 (gst_dp_packet_from_caps):
21589 fix more valgrind warnings before turning up the heat
21591 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21593 * gst/parse/grammar.y:
21594 some cleanup before the hacking
21596 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21598 * gst/base/gstbasesrc.c: (gst_base_src_query):
21600 * gst/gstutils.c: (gst_guint64_to_gdouble),
21601 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21603 externalize, basesrc uses it
21604 obviously the implementation needs testing
21606 2005-10-10 Wim Taymans <wim@fluendo.com>
21608 * tests/sched/Makefile.am:
21609 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21610 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21612 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21614 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21615 apparently converting from guint64 to double is not implemented
21618 2005-10-10 Wim Taymans <wim@fluendo.com>
21620 * check/Makefile.am:
21621 * check/generic/states.c: (GST_START_TEST):
21622 * check/gst/gstbin.c: (GST_START_TEST):
21623 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21624 * check/states/sinks.c: (GST_START_TEST):
21625 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21627 Check fixes, use API as stated in design docs, remove hacks.
21629 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21630 (gst_base_sink_change_state):
21631 Catch stopping our task while we're shutting down.
21633 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21634 (gst_bin_remove_func), (gst_bin_get_state_func),
21635 (gst_bin_recalc_state), (gst_bin_change_state_func),
21638 * gst/gstelement.c: (gst_element_init),
21639 (gst_element_get_state_func), (gst_element_abort_state),
21640 (gst_element_commit_state), (gst_element_lost_state),
21641 (gst_element_set_state), (gst_element_change_state),
21642 (gst_element_change_state_func):
21643 * gst/gstelement.h:
21644 New state change algorithm (see #318116)
21646 * gst/gstpipeline.c: (gst_pipeline_class_init),
21647 (gst_pipeline_init), (gst_pipeline_set_property),
21648 (gst_pipeline_get_property), (do_pipeline_seek),
21649 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21650 * gst/gstpipeline.h:
21651 Remove crude state change hacks.
21654 Remove crude hacks.
21656 * tools/gst-launch.c: (main):
21657 Fixes for state change. Needs some more work to fully use the
21660 2005-10-10 Andy Wingo <wingo@pobox.com>
21662 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21664 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21665 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21668 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21670 * gst/gstiterator.c: (gst_iterator_new):
21671 Fix my previous commit: GTypes passed to gst_iterator_new()
21672 can be fundamental types.
21674 2005-10-10 Wim Taymans <wim@fluendo.com>
21676 * gst/gstelement.c: (gst_element_iterate_pad_list),
21677 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21678 (gst_element_iterate_sink_pads):
21679 Use src/sink pads lists for the respective iterators instead
21682 2005-10-10 Andy Wingo <wingo@pobox.com>
21684 Merged in popt removal + GOption addition patch from Ronald, bug
21687 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21688 GstElement macros around, remove popt-related symbols, add goption
21691 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21693 * docs/gst/Makefile.am:
21694 * docs/libs/Makefile.am: No POPT_CFLAGS.
21696 * examples/manual/Makefile.am:
21697 * docs/manual/basics-init.xml: Doc updates with an example.
21699 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21700 (gst_init), (parse_one_option), (parse_goption_arg):
21701 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21702 bit of hand merging and debugging to get the GOption stuff working
21705 * tests/Makefile.am:
21706 * tools/Makefile.am:
21707 * tools/gst-inspect.c: (main):
21708 * tools/gst-launch.c: (main):
21709 * tools/gst-run.c: (main):
21710 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21712 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21714 * gst/gstiterator.c: (gst_iterator_new):
21715 Add assertions to make sure passed GType is likely to really
21716 be a GType (as the compiler won't catch it if the size and
21717 GType arguments get mixed up, see #318447).
21719 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21721 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21723 * gst/gstbin.c: (gst_bin_iterate_sorted):
21724 Pass GType and size arguments to gst_iterator_new() in the right
21725 order (maybe we should make _new() take the GType as first argument
21726 just like _new_list()?) (#318447).
21729 2005-10-10 Wim Taymans <wim@fluendo.com>
21731 * gst/gstelement.c: (gst_element_finalize):
21732 And free the GStaticRecMutex too
21734 2005-10-10 Andy Wingo <wingo@pobox.com>
21736 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21737 Allocate and free the mutex properly.
21739 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21741 (GstElement): The state_lock is now recursive. Rebuild your
21742 plugins, suckers. Old macros adapted.
21744 * docs/gst/gstreamer-sections.txt: Doc updates.
21747 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21748 (g_static_rec_cond_wait): Ported from state changes patch, while
21749 we wait on bug #317802 to be solved in a well-distributed GLib.
21751 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21752 gst_element_change_state, variable name changes.
21753 (gst_element_change_state): Split out of gst_element_set_state in
21754 preparation for the state change merge. Doesn't pay attention to
21755 the 'transition' argument.
21756 (gst_element_set_state): Updates, hopefully purely cosmetic.
21757 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21758 state change patch.
21759 (gst_element_get_state_func): Renamed from get_state, cosmetic
21762 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21764 * gst/elements/gstelements.c:
21765 * win32/GStreamer.vcproj:
21767 * win32/dirent.c: (_tseekdir):
21768 * win32/gst-inspect.vcproj:
21769 * win32/gst-launch.vcproj:
21770 * win32/gstconfig.h:
21771 * win32/gstelements.vcproj:
21772 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21773 * win32/gstreamer.def:
21774 * win32/msvc71.sln:
21775 updates for the win32 build (patch from Sebastien Moutte)
21777 2005-10-10 Andy Wingo <wingo@pobox.com>
21779 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21780 gst_bin_get_state, cleaned up (but no logic changes).
21781 (bin_element_is_sink): Comment updates.
21782 (sink_iterator_filter): Remove needless cast.
21783 (gst_bin_iterate_sinks): Doc update.
21784 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21785 cleaned up (but no logic changes).
21787 * check/states/sinks.c (test_src_sink): Cleanups from the state
21789 (test_livesrc_sink): Sync on the state.
21791 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21792 the state change patch.
21794 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21797 * check/gst/gstbin.c: Merge in some style fixes and additional
21798 checks from Wim's state change patch.
21800 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21802 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21803 (gst_type_find_helper):
21804 Check whether we have the requested data already in our list of
21805 cached buffers before pulling a new buffer; also make the buffer
21806 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21808 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21813 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21814 don't use long long, it's not portable. Replacing with
21815 gint64 seems to work; let's hope no skeletons fall out of the closet.
21817 2005-10-10 Andy Wingo <wingo@pobox.com>
21819 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21821 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21823 * docs/gst/gstreamer-sections.txt:
21828 * gst/gstmessage.c: (gst_message_parse_state_changed):
21831 more docs, fix compilation
21833 2005-10-09 Philippe Khalaf <burger@speedy.org>
21834 * gst/gstmessage.c:
21835 Fixed a few forgotten variables on previous commit
21837 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21839 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21840 Fix evil typefind crasher: getrange() might return a short
21841 buffer at the end of a file, but gst_type_find_peek() must
21842 either return the full data as requested or NULL, but
21843 never a short buffer.
21845 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21847 * gst/gstmessage.c: (gst_message_new_state_changed),
21848 (gst_message_parse_state_changed):
21849 * gst/gstmessage.h:
21850 don't use "new", it's a C++ keyword
21852 2005-10-08 Wim Taymans <wim@fluendo.com>
21854 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21855 * gst/gstelement.c: (gst_element_post_message):
21856 * gst/gstpipeline.c: (gst_pipeline_change_state):
21857 Small docs and debug updates.
21859 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21861 * docs/gst/gstreamer-sections.txt:
21862 * gst/gstelementfactory.c:
21864 * gst/gsttaglist.c:
21867 2005-10-08 Wim Taymans <wim@fluendo.com>
21869 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21870 (gst_bin_dispose), (bin_bus_handler):
21871 Fix typos, add comments.
21872 Clear EOS list when going to PAUSED from any direction and do it
21873 in a threadsafe way.
21874 Get base time in a threadsafe way too.
21875 Fix confusing debug in the change_state function.
21876 Various other small cleanups.
21878 * gst/gstelement.c: (gst_element_post_message):
21879 Fix very verbose bus posting code.
21881 * gst/gstpipeline.c: (gst_pipeline_class_init),
21882 (gst_pipeline_set_property), (gst_pipeline_get_property),
21883 (gst_pipeline_change_state):
21884 Small ARG_ -> PROP_ cleanup
21886 2005-10-08 Wim Taymans <wim@fluendo.com>
21888 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21889 Do a less CPU demanding EOS check because we can.
21891 2005-10-08 Wim Taymans <wim@fluendo.com>
21893 * libs/gst/dataprotocol/dataprotocol.c:
21894 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21895 (gst_dp_packet_from_event):
21896 * libs/gst/dataprotocol/dataprotocol.h:
21897 * libs/gst/dataprotocol/dp-private.h:
21898 It's about time we bump the version number.
21899 Since event types don't fit in the guint8 anymore describing
21900 the payload type, make payload type 16 bits wide.
21902 2005-10-08 Wim Taymans <wim@fluendo.com>
21904 * docs/design/part-TODO.txt:
21905 * docs/design/part-clocks.txt:
21906 * docs/design/part-events.txt:
21907 * docs/design/part-gstbin.txt:
21908 * docs/design/part-gstelement.txt:
21909 * docs/design/part-gstpipeline.txt:
21910 * docs/design/part-live-source.txt:
21911 * docs/design/part-messages.txt:
21912 * docs/design/part-overview.txt:
21913 * docs/design/part-states.txt:
21916 2005-10-08 Wim Taymans <wim@fluendo.com>
21920 Fix event quark registration.
21921 Add some space between events so we can insert them in the
21924 2005-10-08 Wim Taymans <wim@fluendo.com>
21926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21927 (gst_base_sink_handle_buffer):
21928 Better log message.
21931 * gst/gstelement.h:
21934 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21935 (gst_queue_set_property), (gst_queue_get_property):
21937 Remove old unused properties.
21939 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21940 * docs/gst/gstreamer-sections.txt:
21941 * gst/gstmessage.c:
21942 * gst/gstmessage.h:
21943 * gst/gstminiobject.c:
21944 * gst/gstminiobject.h:
21948 lots of new docs and doc fixes
21950 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21952 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21954 * gst/gstregistry.c: (gst_registry_lookup_locked),
21955 (gst_registry_scan_path_level):
21956 * gst/gstregistryxml.c: (load_plugin):
21957 Only ever load one plugin for a given plugin basename.
21958 This ensures correct overriding of GST_PLUGIN_PATH over
21959 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21960 system installed plugins.
21962 2005-10-08 Wim Taymans <wim@fluendo.com>
21964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21965 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21966 Prepare for doing QOS.
21968 2005-10-08 Wim Taymans <wim@fluendo.com>
21970 * check/gst/gstbin.c: (GST_START_TEST):
21971 * check/pipelines/cleanup.c: (GST_START_TEST):
21972 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21973 Allow new clock message too.
21975 2005-10-08 Wim Taymans <wim@fluendo.com>
21977 * gst/gstmessage.c: (gst_message_new_error),
21978 (gst_message_new_warning), (gst_message_new_tag),
21979 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21980 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21981 (gst_message_new_segment_start), (gst_message_new_segment_done),
21982 (gst_message_parse_state_changed),
21983 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21984 (gst_message_parse_new_clock):
21985 * gst/gstmessage.h:
21986 Also carry the clock in question.
21988 2005-10-08 Wim Taymans <wim@fluendo.com>
21990 * gst/gstmessage.c: (gst_message_new_custom),
21991 (gst_message_new_eos), (gst_message_new_error),
21992 (gst_message_new_warning), (gst_message_new_tag),
21993 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21994 (gst_message_new_new_clock), (gst_message_new_segment_start),
21995 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21996 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21997 * gst/gstmessage.h:
21999 Added clock related messages.
22001 * gst/gstpipeline.c: (gst_pipeline_change_state):
22002 Post message when the clock changed.
22004 * tools/gst-launch.c: (event_loop):
22007 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22009 * tools/gst-inspect.c: (print_element_properties_info):
22010 Can't pass NULL strings to g_print() on windows.
22012 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22014 * docs/Makefile.am:
22015 * docs/gst/Makefile.am:
22016 * docs/gst/gstreamer-docs.sgml:
22017 * docs/gst/running.xml:
22018 * docs/version.entities.in:
22019 add a chapter on running GStreamer.
22020 document GST_DEBUG and GST_PLUGIN* env vars
22022 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22027 remove PLUGINS_BUILDDIR stuff
22028 * gst/gst.c: (init_post):
22029 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22031 remove, it was condescending and not needed
22033 2005-10-08 Wim Taymans <wim@fluendo.com>
22035 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22036 (gst_base_sink_handle_object), (gst_base_sink_event),
22037 (gst_base_sink_wait), (gst_base_sink_handle_event),
22038 (gst_base_sink_change_state):
22039 * gst/base/gstbasesink.h:
22040 Repost EOS message while going to PLAYING if still EOS.
22041 Make sure that when receiving a FLUSH_START we don't attempt
22042 to sync on the clock anymore.
22044 2005-10-08 Wim Taymans <wim@fluendo.com>
22046 * tools/gst-launch.c: (event_loop):
22047 Better message printout.
22049 2005-10-08 Wim Taymans <wim@fluendo.com>
22051 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22052 (gst_bin_child_proxy_get_children_count):
22053 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22054 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22055 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22056 (gst_child_proxy_set_valist):
22057 * gst/parse/grammar.y:
22058 Make ChildProxy threadsafe and fix mem leaks.
22060 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22062 * gst/gst.c: (init_post):
22063 debug the GST_PLUGIN_ env vars
22065 2005-10-08 Wim Taymans <wim@fluendo.com>
22067 * check/gst/gstbin.c: (GST_START_TEST):
22068 * check/gst/gstmessage.c: (GST_START_TEST):
22069 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22070 * gst/gstelement.c: (gst_element_commit_state),
22071 (gst_element_lost_state):
22072 * gst/gstmessage.c: (gst_message_new_state_changed),
22073 (gst_message_parse_state_changed):
22074 * gst/gstmessage.h:
22075 * tools/gst-launch.c: (event_loop):
22076 Added extra field to STATE_CHANGE message with the pending
22077 state, which will be different from the new state soon.
22079 2005-10-08 Wim Taymans <wim@fluendo.com>
22081 * gst/gstbus.c: (gst_bus_pop):
22083 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22084 Small cleanups and doc updates.
22086 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22088 * gst/gst.c: (init_pre):
22089 * gst/gstbin.c: (gst_bin_add_func):
22090 log distributing clocks and base time
22091 * gst/gstregistry.c: (gst_registry_add_plugin),
22092 (gst_registry_scan_path_level), (gst_registry_scan_path):
22093 clean up the debugging output a little
22094 * gst/gstutils.c: (gst_element_state_get_name):
22095 warn about a memleak (I've actually seen this be used, though
22096 it was probably a bug)
22098 2005-10-07 Wim Taymans <wim@fluendo.com>
22100 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22101 (gst_base_src_init), (gst_base_src_default_newsegment),
22102 (gst_base_src_newsegment), (gst_base_src_do_seek),
22103 (gst_base_src_loop), (gst_base_src_start):
22104 * gst/base/gstbasesrc.h:
22105 Make the newsegment event customizable by subclasses.
22107 2005-10-07 Wim Taymans <wim@fluendo.com>
22109 * gst/gstevent.c: (gst_event_new_buffersize),
22110 (gst_event_parse_buffersize):
22112 New event for future idea.
22114 2005-10-07 Andy Wingo <wingo@pobox.com>
22116 * gst/gstelement.c (gst_element_post_message): Doc update.
22118 * docs/gst/gstreamer-sections.txt: Update.
22120 * gst/gstmessage.c (gst_message_new_application): Made into a
22121 function like honest API calls.
22122 (gst_message_new_element): New message type.
22124 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22126 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22127 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22130 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22131 NO_PREROLL from gst_element_change_state to fall through.
22133 2005-10-07 Wim Taymans <wim@fluendo.com>
22135 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22136 (gst_ghost_pad_do_activate_push):
22137 Activating a ghostpad with no internal pad in push mode
22140 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22143 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22144 Fixes compilation on Windows.
22146 2005-10-07 Michael Smith <msmith@fluendo.com>
22148 * tools/gst-inspect.c:
22149 Print out feature and plugin count at the end when printing out
22152 2005-10-04 Michael Smith <msmith@fluendo.com>
22154 * gst/gsterror.c: (_gst_stream_errors_init):
22155 Add another error string used in a few existing plugins.
22158 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22159 * tools/gst-inspect.c: (print_element_info):
22160 When a feature disappears from a plugin (and the feature exists in
22161 the cached registry file), things went horribly wrong. This isn't a
22162 complete fix, we should actually be removing the 'missing' features
22163 from the features list when we load the actual plugin. That's not
22166 2005-10-04 Johan Dahlin <johan@gnome.org>
22168 * check/gst/gstiterator.c: (GST_START_TEST):
22169 * gst/gstbin.c: (gst_bin_iterate_elements),
22170 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22171 * gst/gstelement.c: (gst_element_iterate_pads):
22172 * gst/gstformat.c: (gst_format_iterate_definitions):
22173 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22174 (gst_iterator_new_list), (gst_iterator_filter):
22175 * gst/gstiterator.h:
22176 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22177 Add a GType to GstIterator, update callsites and tests.
22179 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22181 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22182 give events a chance to be handled by event probes when the pad
22185 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22187 * gst/gstevent.c: (gst_event_type_get_name),
22188 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22190 add string representations for event types
22192 2005-10-06 Wim Taymans <wim@fluendo.com>
22194 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22195 Don't use NULL pointers.
22197 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22199 * gst/gst_private.h:
22201 * gst/gstelement.c:
22203 * gst/gstpluginfeature.c:
22204 widen the debug category in output to fit the biggest one we have
22205 add a bus category and use it
22206 play with the colors
22207 fix up some categories
22209 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22211 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22212 add push activation of sink ghost pads.
22213 Andye, please verify
22215 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22217 * gst/gstutils.c: (gst_element_link_pads):
22218 fix a bug in the case where neither element has a pad
22219 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22220 add a test for that case
22222 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22224 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22225 emit have-data before checking for peers. This allows
22226 for probe handlers to connect elements. This helps autopluggers.
22227 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22229 add six checks, linked/unlinked with no/true/false probe
22231 2005-10-04 Wim Taymans <wim@fluendo.com>
22233 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22234 (gst_fake_sink_event), (gst_fake_sink_preroll),
22235 (gst_fake_sink_render), (gst_fake_sink_change_state):
22236 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22237 (gst_fake_src_get_property), (gst_fake_src_create),
22238 (gst_fake_src_stop):
22239 * gst/elements/gstidentity.c: (gst_identity_stop):
22240 Protect last_message with lock.
22242 2005-10-04 Edward Hervey <edward@fluendo.com>
22245 Added precision in the comments for GST_FORMAT_DEFAULT
22247 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22249 * tools/gst-launch.c: (main):
22250 Don't try to run erroneous pipelines.
22252 2005-10-04 Julien MOUTTE <julien@moutte.net>
22254 * gst/gstbus.c: We don't need this header.
22256 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22259 back to development
22261 === release 0.9.3 ===
22263 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22267 Releasing 0.9.3, "Unregistered"
22269 2005-10-03 Andy Wingo <wingo@pobox.com>
22271 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22272 whereby calling a pad's activatepush() function can start a thread
22273 that starts to push or pull before the pad gets the FLUSHING flag
22274 unset. Hack around it by holding the stream lock until the flag is
22275 set. Need to replace this with a proper solution. Together with
22276 the ghost pad fixes, this fixes mp3 playing/tagreading.
22278 * docs/design/part-gstghostpad.txt: Add a note about activation of
22279 proxy pads outside of ghost pads.
22281 * gst/gstghostpad.c: Implement the ghost pad activation design.
22283 2005-10-02 Andy Wingo <wingo@pobox.com>
22285 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22286 It is volatile, after all.
22288 * docs/design/part-gstghostpad.txt: Flesh out activation with
22291 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22294 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22297 Fix (unused) AM_CONDITIONAL tests.
22299 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22301 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22303 * gst/gstutils.c: (gst_pad_query_convert):
22304 Add assertion that makes sure src_val is >=0, just like
22305 gst_query_new_convert() has. (#315895)
22307 2005-09-30 Edward Hervey <edward@fluendo.com>
22309 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22310 Let's not iterate pads we're not interested in, it avoids getting
22311 sky-high refcounts on sinkpad.
22313 2005-09-30 Wim Taymans <wim@fluendo.com>
22315 * gst/gstelement.c: (gst_element_set_state),
22316 (gst_element_change_state):
22317 Small tweak, element in ASYNC remains ASYNC.
22319 2005-09-30 Wim Taymans <wim@fluendo.com>
22321 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22322 Only error is an error.
22324 * gst/gstbin.c: (gst_bin_change_state):
22327 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22328 Also call pad_block in pad alloc.
22330 * gst/gstutils.c: (gst_flow_get_name):
22333 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22335 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22336 (gst_base_src_get_range):
22337 Fix documentation typos. Add some more debug info.
22339 2005-09-29 David Schleef <ds@schleef.org>
22341 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22342 more end-user friendly.
22343 * tools/gst-inspect.c: (main): Check if command-line argument is
22344 a file and attempt to load that file as a plugin.
22346 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22348 * check/gst/gstbin.c:
22349 * check/states/sinks.c:
22350 fix tests for the new warning
22351 * check/gst/gstpipeline.c:
22352 add a test for pipeline and bus interaction
22353 * gst/gstelement.c:
22354 elements should be NULL if they get disposed; add a warning if not
22356 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22359 for 2.6 refcounting, make debug log more correct by printing
22360 the actual refcounts at the time of swap (Wim)
22362 2005-09-29 Andy Wingo <wingo@pobox.com>
22364 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22365 removes signal watches previously added via
22366 gst_bus_add_signal_watch.
22367 (gst_bus_add_signal_watch): Don't return the source id, just store
22368 it on the bus if there wasn't an id already.
22370 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22371 add_signal_watch and remove_signal_watch.
22373 2005-09-29 Edward Hervey <edward@fluendo.com>
22375 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22376 Better if we actually iterate the list :)
22378 2005-09-29 Wim Taymans <wim@fluendo.com>
22380 * check/gst/gstbin.c: (GST_START_TEST):
22381 Change for new bus API.
22383 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22384 (send_messages), (GST_START_TEST), (gstbus_suite):
22385 Change for new bus signal API.
22387 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22388 (gst_bus_source_prepare), (gst_bus_source_check),
22389 (gst_bus_create_watch), (gst_bus_add_watch_full),
22390 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22391 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22393 Remove support for multiple GSources operating on different
22394 message types as it is too complex and unneeded when using
22396 Added support for receiving signals from the bus.
22398 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22400 * docs/libs/tmpl/gstdataprotocol.sgml:
22401 * docs/manual/advanced-dataaccess.xml:
22402 * gst/elements/gstcapsfilter.c:
22404 rename filter-caps to caps property
22406 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22408 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22409 More robust fraction string parsing.
22411 * docs/pwg/appendix-porting.xml:
22412 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22414 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22416 * gst/gstcaps.c: (gst_caps_do_simplify):
22417 Thou shalt not free a structure and then continue using it
22418 in the next loop iteration.
22420 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22422 Add test case for caps simplification.
22424 2005-09-29 Wim Taymans <wim@fluendo.com>
22426 * check/gst/gstbin.c: (GST_START_TEST):
22429 2005-09-29 Wim Taymans <wim@fluendo.com>
22431 * check/gst/gstbin.c: (GST_START_TEST):
22434 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22435 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22436 (find_element), (gst_bin_sort_iterator_next),
22437 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22438 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22439 (gst_bin_change_state), (gst_bin_dispose):
22440 A bin does not have a bus, it gets the bus from the parent.
22442 * gst/gstelement.c: (gst_element_requires_clock),
22443 (gst_element_provides_clock), (gst_element_is_indexable),
22444 (gst_element_is_locked_state), (gst_element_change_state),
22445 (gst_element_set_bus_func):
22448 * gst/gstpipeline.c: (gst_pipeline_class_init),
22449 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22450 The pipeline provides a bus.
22452 2005-09-28 Johan Dahlin <johan@gnome.org>
22454 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22455 gst_structure_get_enum instead of gst_structure_get_int
22457 * gst/gststructure.c (gst_structure_get_enum): Impl.
22459 * gst/gststructure.h (gst_structure_get_enum): Add
22461 * docs/gst/gstreamer-sections.txt: Ditto
22463 * gst/gstmessage.c (gst_message_new_state_changed): Use
22464 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22465 which does introspection.
22466 Reviewed by Christian Schaller
22468 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22470 * gst/gstinfo.c: (gst_debug_log_default):
22471 don't do dummy g_strdup()s
22472 * libs/gst/controller/gstcontroller.c:
22473 (on_object_controlled_property_changed),
22474 (gst_controlled_property_new), (gst_controller_new_valist),
22475 (gst_controller_new_list),
22476 (gst_controller_remove_properties_valist), (gst_controller_set),
22477 (gst_controller_get), (gst_controller_sync_values),
22478 (gst_controller_get_value_array), (_gst_controller_class_init),
22479 (gst_controller_get_type):
22480 * libs/gst/controller/gstcontroller.h:
22481 * libs/gst/controller/gstinterpolation.c:
22482 (gst_controlled_property_find_timed_value_node):
22483 convert // to /**/ comments
22485 2005-09-28 Wim Taymans <wim@fluendo.com>
22487 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22488 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22489 (gst_bus_sync_signal_handler):
22491 Added async-message and sync-message signals to the bus.
22492 Added helper BusFunc to emit signals for all posted messages.
22494 * gst/gstmessage.c: (gst_message_type_get_name),
22495 (gst_message_type_to_quark), (gst_message_get_type):
22496 * gst/gstmessage.h:
22497 Register quarks for message names.
22499 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22501 * docs/libs/gstreamer-libs-sections.txt:
22502 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22503 (gst_controller_new_list):
22504 * libs/gst/controller/gstcontroller.h:
22505 added another constructor for language bindings
22507 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22509 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22513 * gst/gstinfo.c: (_gst_debug_init):
22514 slightly more readable color for refcount debugging
22516 2005-09-28 Wim Taymans <wim@fluendo.com>
22518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22519 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22520 (find_element), (gst_bin_sort_iterator_next),
22521 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22522 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22523 (gst_bin_change_state), (gst_bin_dispose):
22524 Small doc fixes. get_clock -> provide_clock.
22526 * gst/gstelement.c: (gst_element_class_init),
22527 (gst_element_provides_clock), (gst_element_provide_clock),
22528 (gst_element_get_clock), (gst_element_commit_state),
22529 (gst_element_lost_state):
22530 * gst/gstelement.h:
22531 Make get/set_clock() symetric. Add provide_clock vmethod since
22532 that is actually what this function does.
22534 * gst/gstpipeline.c: (gst_pipeline_class_init),
22535 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22536 (gst_pipeline_get_clock):
22537 get_clock -> provide_clock.
22539 2005-09-28 Andy Wingo <wingo@pobox.com>
22541 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22542 lieu of real docs...
22544 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22546 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22548 * gst/elements/gstcapsfilter.c:
22549 * gst/elements/gstfakesink.c:
22550 * gst/elements/gstfakesrc.c:
22551 * gst/elements/gstfdsink.c:
22552 * gst/elements/gstfdsrc.c:
22553 * gst/elements/gstfilesink.c:
22554 * gst/elements/gstfilesrc.c:
22555 * gst/elements/gstidentity.c:
22556 * gst/elements/gsttee.c:
22557 * gst/elements/gsttypefindelement.c:
22558 Make element details static.
22560 2005-09-28 Wim Taymans <wim@fluendo.com>
22562 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22563 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22564 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22565 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22566 (gst_bin_change_state), (gst_bin_dispose):
22567 Some documentation updates.
22568 Clean up dispose handlers.
22570 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22571 * gst/gstpad.c: (gst_pad_dispose):
22572 Clean up dispose handler.
22574 * gst/gstpipeline.c: (gst_pipeline_change_state):
22575 Removed spurious UNLOCK.
22577 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22579 * docs/gst/gstreamer-sections.txt:
22580 * gst/base/gstbasesrc.h:
22581 * gst/gstelement.h:
22585 * gst/gstpipeline.c:
22586 * gst/gstpipeline.h:
22589 added two new functions to the docs
22590 documents all undocumented GstXXXFlags
22591 completed some incomplete docs
22593 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22595 * gst/gstbin.c: (gst_bin_dispose):
22596 * gst/gstelement.c: (gst_element_dispose):
22597 remove now useless and leaky resurrection code in dispose
22598 * gst/base/gstbasesrc.c: (gst_base_src_init):
22599 * gst/gstelementfactory.c: (gst_element_factory_create):
22600 * gst/gstobject.c: (gst_object_set_parent):
22603 2005-09-27 Wim Taymans <wim@fluendo.com>
22605 * docs/design/part-TODO.txt:
22608 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22609 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22610 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22611 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22612 (gst_bin_change_state):
22613 * gst/gstelement.h:
22614 Remove element variable, we keep element info in the iterator now.
22616 2005-09-27 Andy Wingo <wingo@pobox.com>
22618 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22621 2005-09-27 Wim Taymans <wim@fluendo.com>
22623 * check/gst/gstbin.c: (GST_START_TEST):
22624 Enable check that works now.
22626 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22627 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22628 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22629 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22630 (gst_bin_change_state):
22632 Redid the state change algorithm using a topological sort algo.
22633 Handles all cases correctly.
22634 Exposed iterator for state change order.
22636 * gst/gstelement.h:
22637 Temp storage for state changes. Need to get rid of this soon.
22639 2005-09-27 Wim Taymans <wim@fluendo.com>
22641 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22642 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22643 (link_fold_func), (gst_pad_proxy_setcaps):
22644 Leak fixes, the fold functions need to unref the passed object and
22645 _get_parent_*() returns ref to parent.
22647 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22649 * check/gst/gstbuffer.c: (test_make_writable):
22650 Plug leak in test case and fix 'make check-valgrind'
22652 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22654 * gst/gstbuffer.c: (gst_subbuffer_init):
22655 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22656 works correctly in all circumstances (we could have just copied
22657 the parent buffer's readonly flag, but conceptually it seems
22658 cleaner to mark all subbuffers as read-only). (based on patch
22659 by Alessandro Decina, #314710).
22661 * check/gst/gstbuffer.c: (create_read_only_buffer),
22662 (test_make_writable), (test_subbuffer_make_writable),
22664 Add some tests for gst_buffer_make_writable().
22666 2005-09-27 Wim Taymans <wim@fluendo.com>
22668 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22669 use gst_object_has_ancestor().
22671 * gst/gstobject.c: (gst_object_has_ancestor):
22673 gst_object_has_ancestor() copied from gstbin.c as it is a
22676 * tests/instantiate/create.c: (create_all_elements):
22677 * tests/lat.c: (handoff_src), (handoff_sink):
22678 * tests/sched/runxml.c: (main):
22679 * tests/seeking/seeking1.c: (main):
22680 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22682 Fix compilation of some tests.
22684 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22687 Remove comment. GST_TYPE_G_ERROR is here to stay,
22688 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22689 (#316961, #300610).
22691 2005-09-26 Wim Taymans <wim@fluendo.com>
22693 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22694 Added check that shows error in state change order.
22696 2005-09-26 Wim Taymans <wim@fluendo.com>
22698 * gst/gstbin.c: (gst_bin_change_state):
22699 Make state change function use 3 queues again, we were
22700 adding elements in the wrong order.
22702 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22705 * gst/gstpad.c: (gst_pad_dispose):
22706 Added some debug info first.
22708 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22710 * docs/design/draft-push-pull.txt:
22711 * docs/design/part-events.txt:
22712 * docs/design/part-overview.txt:
22713 * docs/design/part-scheduling.txt:
22714 Replace all _pull_region() with _pull_range()
22716 2005-09-26 Andy Wingo <wingo@pobox.com>
22718 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22720 * check/gst-libs/controller.c: Update for controller api change.
22723 * tests/Makefile.am:
22724 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22725 over by GLib bug 118439.
22727 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22728 routines to a function.
22730 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22732 * libs/gst/controller/gsthelper.c:
22733 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22734 (gst_object_sync_values): Renamed from sink_values. Ugh.
22736 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22738 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22739 Renamed from controller_key, as it is exported.
22741 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22743 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22748 * gst/gstpadtemplate.h:
22751 * gst/gstqueryutils.c:
22752 * gst/gstqueryutils.h:
22753 remove queryutils headers after moving the two used functions
22754 to gstquery. also fixes build problem for gstsiddec
22756 2005-09-26 Michael Smith <msmith@fluendo.com>
22758 * tools/gst-launch.1.in:
22759 Correct documentation in manpage of debug syntax
22761 2005-09-26 Wim Taymans <wim@fluendo.com>
22763 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22764 (gst_base_src_is_seekable), (gst_base_src_change_state):
22765 Some more debugging info.
22767 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22769 * docs/gst/gstreamer-sections.txt:
22770 * gst/base/gstbasetransform.h:
22774 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22776 * docs/gst/.cvsignore:
22777 * docs/gst/tmpl/.cvsignore:
22778 * docs/gst/tmpl/gstpipeline.sgml:
22779 * docs/gst/tmpl/gstplugin.sgml:
22780 * gst/gstpipeline.c:
22783 inlined the last two docs files
22784 removed the tmpl directory from cvs (no more conflicts here!)
22786 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22788 * docs/gst/gstreamer-sections.txt:
22789 * docs/gst/tmpl/.cvsignore:
22790 * docs/gst/tmpl/gstpad.sgml:
22791 * docs/gst/tmpl/gstpadtemplate.sgml:
22793 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22794 (gst_pad_finalize), (gst_pad_set_pad_template):
22796 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22797 (gst_pad_template_class_init), (gst_pad_template_init),
22798 (gst_pad_template_dispose), (name_is_valid),
22799 (gst_static_pad_template_get), (gst_pad_template_new),
22800 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22801 (gst_pad_template_pad_created):
22802 * gst/gstpadtemplate.h:
22803 inlined two more docs
22804 factored gstpadtemplate out of gstpad
22806 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22808 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22809 (test_children_state_change_order_semi_sink):
22810 Fix test case: we can't rely on a fixed state change order when
22811 going from READY => PAUSED because the sink might commit its
22812 new state first when the first buffer created by the source
22813 reaches the sink before the source has finished its change state.
22814 (Test case still fails at times, see #316856, comment 5 onwards)
22816 2005-09-24 Wim Taymans <wim@fluendo.com>
22818 * docs/design/part-events.txt:
22819 * docs/design/part-gstbus.txt:
22820 * docs/design/part-gstpipeline.txt:
22821 * docs/design/part-messages.txt:
22822 * docs/design/part-overview.txt:
22823 * docs/design/part-segments.txt:
22827 * gst/gstelement.c:
22830 * gst/gstiterator.c:
22831 Various documentation updates.
22833 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22836 Well, that's embarassing. Luckily we weren't using
22837 GST_CLOCK_DIFF anywhere.
22839 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22841 * common/gtk-doc.mak:
22842 don't fail on building XML, FC4 slave shows a bunch of doc
22843 missing bits that I don't get
22845 * gst/gstpipeline.c:
22846 * gst/gststructure.c:
22849 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22851 * docs/design/part-gstbin.txt:
22852 * docs/design/part-gstbus.txt:
22854 Add blurb about how the bus goes into flushing mode and
22855 drops all messages when its bin goes from READY into NULL
22858 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22860 * docs/gst/gstreamer-sections.txt:
22861 * gst/gststructure.c: (gst_structure_get_clock_time):
22862 * gst/gststructure.h:
22863 add a method to get a GstClockTime out of a structure
22865 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22867 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22868 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22869 Added test to check state change order in bins (can still be made
22870 to fail here under heavy disk load; bails out with 'Push on pad
22871 fakesink:sink0, but it was not activated in push mode').
22873 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22874 Fix state change order when there is only a semi sink (#316856)
22876 * gst/gstbus.c: (gst_bus_class_init):
22877 Use _class_peek_parent(), not _class_ref(); fix docs to say
22878 'default main context' instead of 'mainloop' where that is
22881 * gst/gstelement.c: (gst_element_commit_state),
22882 (gst_element_set_state):
22883 Fix typos in debug messages
22885 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22888 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22889 * gst/gstpluginfeature.c:
22891 various doc updates
22892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22893 change an assert into an error until it gets fixed properly
22895 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22897 * docs/gst/gstreamer-sections.txt:
22898 * docs/gst/tmpl/.cvsignore:
22899 * docs/gst/tmpl/gstelement.sgml:
22900 * docs/gst/tmpl/gstinfo.sgml:
22901 * docs/gst/tmpl/gstobject.sgml:
22902 * gst/gstelement.c:
22903 * gst/gstelement.h:
22906 * gst/gstobject.c: (gst_object_class_init):
22908 inlined 3 more biiiig doc files and added some missing docs on the fly
22910 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22912 * check/gst/.cvsignore:
22913 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22914 * gst/gstregistryxml.c: (load_plugin),
22915 (gst_registry_xml_save_plugin):
22916 put back source in registry. add checks for find_plugin.
22917 * testsuite/states/bin.c: (assert_state), (empty_bin),
22918 (test_adding_one_element), (main):
22919 * testsuite/states/locked.c: (main):
22920 some compile/run fixes
22922 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22924 * check/gst/gstvalue.c: (GST_START_TEST):
22925 fix leaks in the test itself
22927 2005-09-22 Wim Taymans <wim@fluendo.com>
22929 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22930 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22931 (gst_base_sink_query):
22932 Prepare for more accurate position reporting and query
22935 * gst/gstelement.c: (gst_element_send_event),
22936 (gst_element_set_state):
22939 2005-09-22 Wim Taymans <wim@fluendo.com>
22941 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22942 (gst_query_parse_segment):
22944 More documentation.
22945 Add segment query for future use.
22947 2005-09-22 Wim Taymans <wim@fluendo.com>
22949 * gst/gstbin.c: (gst_bin_add_func):
22950 Some more debug info.
22952 * gst/gstelement.c: (gst_element_send_event):
22953 Simplify send_event
22955 * gst/gstelement.h:
22956 Don't know how flags got broken.
22961 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22963 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22964 Add simplistic test suite for GST_TYPE_DATE serialisation and
22967 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22969 * docs/gst/gstreamer-sections.txt:
22970 * gst/gststructure.c: (gst_structure_set_valist),
22971 (gst_structure_get_date):
22972 * gst/gststructure.h:
22973 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22974 (gst_date_copy), (gst_value_compare_date),
22975 (gst_value_serialize_date), (gst_value_deserialize_date),
22976 (gst_value_transform_date_string),
22977 (gst_value_transform_string_date), (_gst_value_initialize):
22979 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22980 bunch of utility functions along with a hack that checks that
22981 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22982 is required. Part of the grand scheme in #170777.
22984 2005-09-22 Andy Wingo <wingo@pobox.com>
22986 * gst/gstconfig.h.in: Psych out gtk-doc.
22988 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22990 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22992 * tools/gst-inspect.c (print_element_list): Plug some
22993 inconsequential leaks.
22995 * gst/gstregistry.c (gst_registry_get_default): Doc.
22997 * check/gst/gstplugin.c:
22998 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22999 * gst/gstelementfactory.c (gst_element_factory_create):
23000 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23003 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23004 (gst_plugin_feature_load): Doc, don't eat refs.
23006 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23007 (gst_plugin_list_free): Doc.
23008 (gst_plugin_load_file): Doc updates.
23010 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23011 accessors returning refcounted objects, return a ref.
23013 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23014 accessor for caps. IDEMPOTENCE. Oh yes.
23016 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23018 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23020 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23021 (_gst_debug_register_funcptr):
23022 Add mutex to serialise access to the hash table with
23023 the function pointer => function name string mapping;
23024 make that hash table static scope (#316809).
23026 * gst/registries/.cvsignore:
23027 Remove left-over file.
23029 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23031 * docs/pwg/appendix-porting.xml:
23032 And something about newsegment events and caps-on-buffers to
23033 the porting guide (feel free to improve).
23035 2005-09-21 Andy Wingo <wingo@pobox.com>
23037 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23038 data and event probes on the same pad.
23039 (test_buffer_probe_once): Test that removing probes from within
23040 the probe functions works.
23042 2005-09-21 Andy Wingo <wingo@pobox.com>
23044 * check/gst/gstutils.c: New file.
23045 (test_buffer_probe_n_times): A simple buffer probe test. More to
23048 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23049 have-data::buffer, not have-data.
23050 (gst_pad_add_event_probe): Likewise for have-data::event.
23051 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23052 peer' isn't quite right yet though.
23053 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23054 (gst_pad_remove_data_probe): Change to take the guint handler_id
23055 as their arg, not the function+data, which is more glib-like.
23057 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23058 the signal emission to indicate if the data is a buffer or an
23060 (gst_pad_get_type): Initialize buffer and event quarks.
23061 (gst_pad_class_init): have-data is now a detailed signal, yes it
23064 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23066 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23067 * gst/gstutils.c: (gst_util_set_value_from_string),
23068 (gst_util_set_object_arg):
23069 Don't put functional code in g_return_if_fail() or
23070 g_return_val_if_fail() statements, otherwise things will
23071 break when G_DISABLE_CHECKS is defined during compilation.
23073 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23075 * docs/gst/tmpl/.cvsignore:
23076 * docs/gst/tmpl/gstvalue.sgml:
23079 inlied another one and added some obvious docs
23081 2005-09-21 Wim Taymans <wim@fluendo.com>
23083 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23084 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23085 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23086 (gst_fdsrc_get_property), (gst_fdsrc_create):
23087 * gst/elements/gstfdsrc.h:
23088 Properly implement fdsrc. Removed signal and timeout,
23089 better implemented somewhere else.
23091 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23093 * docs/gst/tmpl/.cvsignore:
23094 * docs/gst/tmpl/gstimplementsinterface.sgml:
23095 * gst/gstinterface.c:
23098 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23100 * docs/gst/gstreamer-sections.txt:
23101 * docs/gst/tmpl/.cvsignore:
23102 * docs/gst/tmpl/gstenumtypes.sgml:
23103 remove obsolete doc file
23105 2005-09-21 David Schleef <ds@schleef.org>
23107 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23108 little beer, fix a little leak.
23110 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23112 * docs/gst/gstreamer-docs.sgml:
23113 * docs/gst/gstreamer-sections.txt:
23114 * docs/gst/tmpl/.cvsignore:
23118 * gst/gstelement.h:
23119 * gst/gstindex.c: (gst_index_class_init):
23121 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23122 (gst_index_factory_class_init), (gst_index_factory_init),
23123 (gst_index_factory_finalize), (gst_index_factory_new),
23124 (gst_index_factory_destroy), (gst_index_factory_find),
23125 (gst_index_factory_create), (gst_index_factory_make):
23126 * gst/gstindexfactory.h:
23127 * gst/gstpluginfeature.c:
23128 * gst/gstpluginfeature.h:
23129 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23130 more docs inlined, splitted gstindex.{c,h}
23132 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23134 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23137 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23139 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23140 Set sync to FALSE by default.
23142 2005-09-20 Wim Taymans <wim@fluendo.com>
23144 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23145 (gst_base_sink_init):
23146 Make sync property settable from subclass.
23148 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23149 (gst_fake_sink_change_state):
23150 Set sync to FALSE by default.
23152 2005-09-20 Wim Taymans <wim@fluendo.com>
23154 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23155 * tools/gst-launch.c: (main):
23156 The timeout handler should have lower priority than the source
23157 so we don't timeout before popping a message with 0 timeout.
23158 Dump error messages after failed state change.
23160 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23162 * tools/gst-inspect.c: (print_element_properties_info):
23165 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23167 * check/gst/gstevent.c:
23168 * gst/elements/gstfakesink.c:
23169 * gst/elements/gstfakesink.h:
23170 remove the sync property from fakesink.
23171 has the side effect of setting sync TRUE
23172 for fakesink, which is a change. Anyone who knows how
23173 to fix this nicely in a GObject-y way, feel free.
23175 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23177 * docs/gst/gstreamer-docs.sgml:
23178 remove probe refsection
23180 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23182 * check/Makefile.am:
23183 disable valgrinding the controller test again
23184 * docs/gst/gstreamer-sections.txt:
23185 update for api-changes
23187 2005-09-20 Wim Taymans <wim@fluendo.com>
23189 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23190 (gst_base_sink_set_property), (gst_base_sink_get_property),
23191 (gst_base_sink_do_sync):
23192 * gst/base/gstbasesink.h:
23193 Added sync property to basesink to disable clock sync.
23195 2005-09-20 Andy Wingo <wingo@pobox.com>
23197 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23198 eating the caller's refcount.
23200 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23201 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23204 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23205 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23206 of GLib 2.8 public, so we can know which refcount to check in
23209 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23210 (gst_object_init): Only set the gst refcount if we're going ahead
23211 with the refcount hack.
23213 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23215 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23216 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23217 more leaks plumbed, added more debug-logging
23221 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23223 * gst/gstmessage.c:
23224 remove include of gstmemchunk.h
23226 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23228 * gst/gstclock.c: (_gst_clock_id_free):
23229 Commit from the Political Party For More Atomic CVS Commits,
23230 so that people don't waste too much of their day fishing
23231 out obvious leaks out of massive commits.
23232 Oh, and fix a pretty damn obvious leak in the memchunk
23235 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23237 * check/Makefile.am:
23238 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23239 plug mem-leak, re-add to valgrindable tests
23241 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23244 unbreak the build for those who have chronic arthritis
23245 and typing "make check" is just too taxing on the hands
23247 2005-09-20 Andy Wingo <wingo@pobox.com>
23249 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23250 really want it out, you should fix plugins at the same time.
23252 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23255 * docs/gst/gstreamer-sections.txt:
23257 added missing symbols to api docs
23258 disable ref-count hack if we have glib >= 2.8
23260 2005-09-19 David Schleef <ds@schleef.org>
23262 * docs/gst/Makefile.am: Ignore a few more internal headers
23263 * docs/gst/gstreamer-docs.sgml: Remove old sections
23264 * docs/gst/gstreamer-sections.txt: Remove old sections
23265 * docs/gst/tmpl/gstobject.sgml: update
23266 * docs/gst/tmpl/gstplugin.sgml: update
23267 * docs/gst/tmpl/gstpluginfeature.sgml: update
23268 * docs/random/ds/0.9-suggested-changes: update.
23269 * gst/Makefile.am: remove memchunk and trashstack, since they're
23271 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23272 * gst/gst.h: don't include some headers
23273 * gst/gstchildproxy.c: add gstmarshal.h
23274 * gst/gstclock.c: Don't use memchunks
23275 * gst/gstminiobject.c: Add some docs
23276 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23277 * gst/gstobject.h: same
23278 * gst/gstplugin.c: include gstmacros.h
23279 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23280 * gst/gstquery.c: don't use memchunks
23281 * gst/gstregistry.c: rename gst_registry_deinit()
23282 * gst/gstregistry.h: same
23284 2005-09-19 David Schleef <ds@schleef.org>
23286 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23287 * docs/libs/gstreamer-libs-sections.txt:
23288 * docs/libs/tmpl/gstgetbits.sgml:
23289 * docs/libs/tmpl/gstputbits.sgml:
23291 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23293 * win32/gstenumtypes.c:
23294 * win32/gstenumtypes.h:
23297 2005-09-19 Wim Taymans <wim@fluendo.com>
23299 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23300 Automatically PAUSE and RESUME a pipeline when a flushing seek
23303 2005-09-19 Andy Wingo <wingo@pobox.com>
23305 * gst/gstregistry.h: Spacing fixen.
23307 2005-09-19 Wim Taymans <wim@fluendo.com>
23309 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23310 Handle state change failure more correctly.
23312 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23314 * check/Makefile.am:
23315 * check/pipelines/cleanup.c: (run_pipeline):
23316 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23318 enable cleanup again after fixing the leak
23320 some more info on docs
23322 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23324 * check/Makefile.am:
23325 re-enable tests now that leaks are plugged
23327 * check/gst/gstbin.c:
23328 * check/gst/gstpipeline.c:
23329 add some more tests while fixing leaks
23330 * common/check.mak:
23331 make sure binaries are uptodate when valgrinding/gdbing
23333 * gst/gstelementfactory.c:
23334 remove a ref too many, and add a FIXME for when we get
23335 round to disposing of classes
23337 fix the refcounting when loading a plugin from a file and
23338 the code pretends that the pointer is the same even though
23339 of course it can change
23340 * gst/gstpluginfeature.c:
23341 unref plugins marked cached (a bit confusing as a name)
23342 as the docs state should be done
23343 various doc additions to explain refcounting
23344 * gst/gstregistry.c:
23345 * gst/gstregistryxml.c:
23348 2005-09-19 Wim Taymans <wim@fluendo.com>
23350 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23351 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23352 (send_messages), (GST_START_TEST), (gstbus_suite):
23353 * check/gst/gstpipeline.c: (GST_START_TEST):
23354 * check/pipelines/cleanup.c: (run_pipeline):
23355 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23357 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23358 (gst_bus_source_check), (gst_bus_source_dispatch),
23359 (gst_bus_create_watch), (gst_bus_add_watch_full),
23360 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23362 * tools/gst-launch.c: (event_loop):
23363 * tools/gst-md5sum.c: (event_loop):
23364 GstBusHandler -> GstBusFunc, return value has the same meaning as
23365 any other GSource (FALSE == remove source).
23366 _add_watch() and _add_watch_full() now take a MessageType mask to
23367 only handle specific types of messages.
23368 _poll() returns the GstMessage instead of the message type to avoid
23370 _have_pending() takes a MessageType mask now too.
23371 Added testsuite for multiple bus watches.
23372 Fix testsuites and applications for new bus API.
23374 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23376 * check/Makefile.am:
23377 mark a bunch of the tests as to fix until we fix them
23379 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23381 * common/check.mak:
23382 use GST_PLUGIN settings for valgrind tests as well, so we're
23383 valgrinding the correct thing
23384 * gst/gst.c: (init_post):
23387 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23389 * gst/gst.c: (init_post), (gst_deinit):
23390 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23391 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23392 * gst/gstindex.c: (gst_index_factory_class_init),
23393 (gst_index_factory_finalize):
23394 * gst/gstobject.c: (gst_object_dispose):
23395 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23396 (gst_plugin_load_file), (gst_plugin_desc_free):
23397 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23398 (gst_plugin_feature_finalize):
23399 * gst/gstregistry.c: (gst_registry_class_init),
23400 (gst_registry_init), (gst_registry_finalize),
23401 (gst_registry_get_default), (gst_registry_deinit):
23402 * gst/gstregistry.h:
23403 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23404 various cleanups and memleak plugging. make valgrind is happy now.
23406 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23408 * common/check.mak:
23409 add a check-valgrind target
23411 2005-09-18 David Schleef <ds@schleef.org>
23413 * tools/gst-inspect.c: Revert the GOption code.
23415 2005-09-17 David Schleef <ds@schleef.org>
23417 * check/Makefile.am: Fix environment variables.
23418 * check/gst/gstplugin.c: Fix for API changes.
23419 * tools/gst-inspect.c: Fix for API changes.
23420 * tools/gst-xmlinspect.c: Fix for API changes.
23421 * gst/gstelementfactory.c:
23424 * gst/gstpluginfeature.c:
23425 * gst/gstpluginfeature.h:
23426 * gst/gstregistry.c:
23427 * gst/gstregistry.h:
23428 * gst/gstregistryxml.c:
23429 * gst/gsttypefind.c:
23430 * gst/gsttypefindfactory.c:
23431 * gst/indexers/gstfileindex.c:
23432 * gst/indexers/gstmemindex.c:
23433 * gst/schedulers/Makefile.am:
23434 Change registry to keep track of both plugins and features,
23435 removing the feature tracking from plugins themselves.
23437 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23439 * check/Makefile.am:
23440 * tools/gst-register.1.in:
23441 remove gst-register
23443 2005-09-15 David Schleef <ds@schleef.org>
23445 * check/gst/gstplugin.c:
23446 * gst/gstelementfactory.c:
23448 * gst/gstpluginfeature.c:
23449 * gst/gstregistry.c:
23450 Getting tired of debugging. Disabled all the unreffing of
23451 plugins and features, which fixes the segfaults, but of
23452 course leaks like crazy. At least playbin works.
23454 2005-09-15 David Schleef <ds@schleef.org>
23456 * check/gst/gstplugin.c: (register_check_elements),
23457 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23459 * gst/elements/gsttypefindelement.c: Fix refcounting.
23460 * gst/gsttypefind.c:
23461 * gst/gsttypefindfactory.c:
23462 * gst/gsttypefindfactory.h:
23464 2005-09-15 David Schleef <ds@schleef.org>
23466 * gst/gstindex.c: get refcounting correct.
23467 * gst/gstregistry.c: Handle the case where a feature/plugin is
23470 2005-09-15 David Schleef <ds@schleef.org>
23472 * check/Makefile.am:
23473 * check/gst/gstplugin.c: Add test
23474 * gst/gstplugin.c: Fix problems noticed by testsuite
23476 * gst/gstregistry.c:
23477 * gst/gstregistry.h:
23479 2005-09-15 David Schleef <ds@schleef.org>
23481 * gst/gstplugin.c: Implement semi-decent recounting and locking
23482 in plugins and plugin features.
23484 * gst/gstpluginfeature.c:
23485 * gst/gstpluginfeature.h:
23486 * gst/gstregistry.c:
23488 2005-09-15 Michael Smith <msmith@fluendo.com>
23490 * gst/gstregistry.c: (gst_registry_get_feature_list):
23491 Implement this. Makes oggdemux work; decodebin still broken.
23493 2005-09-14 David Schleef <ds@schleef.org>
23495 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23497 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23498 * gst/check/Makefile.am:
23499 * libs/gst/controller/Makefile.am:
23500 * libs/gst/dataprotocol/Makefile.am:
23502 2005-09-14 David Schleef <ds@schleef.org>
23504 * configure.ac: Remove getbits library. Nothing uses it, and
23505 it should be in something like liboil if someone did want
23507 * libs/gst/Makefile.am:
23508 * libs/gst/getbits/Makefile.am:
23509 * libs/gst/getbits/gbtest.c:
23510 * libs/gst/getbits/getbits.c:
23511 * libs/gst/getbits/getbits.h:
23512 * libs/gst/getbits/gstgetbits_generic.c:
23513 * libs/gst/getbits/gstgetbits_i386.s:
23514 * libs/gst/getbits/gstgetbits_inl.h:
23516 2005-09-14 David Schleef <ds@schleef.org>
23518 * gst/Makefile.am: Dist glib-compat.h
23520 2005-09-14 David Schleef <ds@schleef.org>
23522 * configure.ac: Remove gst/registries, since it's no longer used.
23523 * gst/registries/Makefile.am:
23524 * gst/registries/gstlibxmlregistry.c:
23525 * gst/registries/gstlibxmlregistry.h:
23526 * gst/registries/gstxmlregistry.c:
23527 * gst/registries/gstxmlregistry.h:
23528 * gst/registries/registrytest.c:
23530 2005-09-14 David Schleef <ds@schleef.org>
23532 * gst/glib-compat.h:
23533 * gst/gstregistryxml.c:
23534 Convergence is near. Seriously.
23536 2005-09-14 David Schleef <ds@schleef.org>
23538 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23539 * gst/glib-compat.h:
23540 Attempt #4 to appease the buildbots.
23542 2005-09-14 David Schleef <ds@schleef.org>
23544 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23547 2005-09-14 David Schleef <ds@schleef.org>
23549 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23552 2005-09-14 David Schleef <ds@schleef.org>
23554 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23557 2005-09-14 David Schleef <ds@schleef.org>
23559 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23560 * gst/glib-compat.h: Add some functions that are in newer versions
23561 of glib than we care to require.
23562 * gst/gstregistryxml.c: Use them.
23564 2005-09-14 David Schleef <ds@schleef.org>
23566 * po/POTFILES.in: remove gst-register.c
23568 2005-09-14 David Schleef <ds@schleef.org>
23570 * docs/gst/gstreamer-docs.sgml:
23571 * docs/gst/gstreamer-sections.txt:
23572 * docs/gst/gstreamer.types:
23573 * docs/gst/tmpl/gstelement.sgml:
23574 * docs/gst/tmpl/gstplugin.sgml:
23575 * docs/gst/tmpl/gstpluginfeature.sgml:
23576 Documentation updates for registry changes.
23578 2005-09-14 David Schleef <ds@schleef.org>
23580 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23581 because we don't require glib-2.8.
23583 2005-09-14 David Schleef <ds@schleef.org>
23585 * gst/gstregistryxml.c: Added. Essentially moved out of the
23586 registries directory.
23588 2005-09-14 David Schleef <ds@schleef.org>
23590 * check/Makefile.am:
23591 * check/generic/states.c:
23595 * gst/gst_private.h:
23596 * gst/gstelementfactory.c:
23601 * gst/gstpluginfeature.c:
23602 * gst/gstpluginfeature.h:
23603 * gst/gstregistry.c:
23604 * gst/gstregistry.h:
23605 * gst/gstregistrypool.c: remove
23606 * gst/gstregistrypool.h: remove
23607 * gst/gsttypefind.c:
23608 * gst/gsttypefindfactory.c:
23610 * tools/Makefile.am:
23611 * tools/gst-compprep.c:
23612 * tools/gst-inspect.c:
23613 * tools/gst-register.c: remove
23614 * tools/gst-xmlinspect.c:
23615 Registry rewrite. Changes registry from being a file created
23616 by a tool into a simple cache file created automatically by
23617 libgstreamer. Removed gst-register (because it's no longer
23618 needed). Remove registry pools, because we only have one
23619 registry implementation (XML). Fix up other subsystems as
23622 2005-09-13 Michael Smith <msmith@fluendo.com>
23624 * gst/gstconfig.h.in:
23625 Don't Use windows linking attributes for MinGW. Fixes #316157
23627 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23629 * gst/gstutils.c: (set_state_async_thread_func),
23630 (gst_element_set_state_async):
23631 Apparently people think it's better if this function doesn't
23632 try to set the state to whatever state was asked for on the first
23633 call to this function for any object. Seriously.
23635 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23637 * check/gst/gstpipeline.c: (GST_START_TEST):
23638 * docs/gst/gstreamer-sections.txt:
23639 * gst/gstutils.c: (set_state_async_thread_func),
23640 (gst_element_set_state_async):
23642 add a "gst_element_set_state_async" method that
23643 sets the state and starts a thread to make sure the state
23644 change completes as best as it can
23646 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23648 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23649 codify design+behaviour in testsuite after discussion
23651 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23653 * docs/gst/tmpl/gstelement.sgml:
23654 * docs/manual/appendix-quotes.xml:
23656 * gst/gstelement.c: (gst_element_set_state):
23659 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23661 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23662 (gst_base_transform_prepare_output_buf),
23663 (gst_base_transform_handle_buffer):
23664 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23665 (gst_capsfilter_prepare_buf):
23666 Remove the requirement for sub-classes to call the parent
23667 implementation of prepare_output_buffer with a wrapper function.
23669 * gst/gsttaglist.h:
23670 * gst/gsttagsetter.h:
23671 Fix #define wrapper
23673 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23675 * docs/gst/gstreamer-sections.txt:
23678 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23680 * docs/gst/gstreamer-sections.txt:
23681 * docs/gst/tmpl/gstelement.sgml:
23682 * docs/gst/tmpl/gstplugin.sgml:
23683 * gst/gstminiobject.c:
23685 docs now stop throwing warnings
23687 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23689 * docs/gst/gstreamer-sections.txt:
23690 * docs/gst/gstreamer.types:
23691 * docs/gst/tmpl/gstpad.sgml:
23692 * docs/gst/tmpl/gsttypes.sgml:
23693 * gst/base/gstadapter.h:
23694 * gst/base/gstbasesink.h:
23695 * gst/base/gstbasesrc.h:
23701 * gst/gstelement.h:
23703 * gst/gstmessage.h:
23705 * gst/gststructure.c:
23706 * gst/registries/gstlibxmlregistry.h:
23707 various documentation fixes
23709 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23711 * docs/gst/gstreamer-sections.txt:
23712 * docs/gst/tmpl/gstvalue.sgml:
23713 rearrange gstvalue section
23714 * gst/gstutils.c: (gst_element_state_get_name):
23716 * gst/gstvalue.c: (_gst_value_initialize):
23720 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23722 * check/gst-libs/controller.c:
23723 Header include fix.
23724 * gst/base/gstbasetransform.c:
23725 (gst_base_transform_default_prepare_buf),
23726 (gst_base_transform_handle_buffer):
23727 * gst/base/gstbasetransform.h:
23728 Some more basetransform changes and fixes to enable sub-classes
23729 that modify buffer metadata only.
23730 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23731 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23732 (gst_capsfilter_prepare_buf):
23733 If the output pad has fixed allowed caps and input buffers
23734 don't have any, set the fixed caps on outgoing buffers.
23736 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23737 * check/elements/identity.c: (GST_START_TEST):
23738 Make the error a little clearer when the test fails because
23739 identity made a copy of the buffer.
23740 * docs/gst/gstreamer-sections.txt:
23741 New symbols in gstbasetransform.h
23742 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23743 (gst_base_transform_init), (gst_base_transform_transform_size),
23744 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23745 (gst_base_transform_default_prepare_buf),
23746 (gst_base_transform_get_unit_size),
23747 (gst_base_transform_buffer_alloc),
23748 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23749 (gst_base_transform_change_state),
23750 (gst_base_transform_set_passthrough),
23751 (gst_base_transform_set_in_place),
23752 (gst_base_transform_is_in_place):
23753 * gst/base/gstbasetransform.h:
23754 Change BaseTransform to separate in_place operate from same_caps
23755 output. in_place implies that the element can perform the transform
23756 on incoming buffers in-place, even if the caps on the output are
23758 Sub-class elements can now implement special buffer allocation
23759 methods for outgoing buffers if they wish to.
23760 Big documentation addition.
23761 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23762 * gst/elements/gstelements.c:
23763 Changes for basetransform modifications.
23764 * gst/elements/Makefile.am:
23765 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23766 Compile fix. Extra debug output.
23768 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23770 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23772 add tests for valid pad naming
23773 * gst/check/gstcheck.c: (gst_check_log_message_func),
23774 (gst_check_log_critical_func):
23776 remove printing of code, it is fragile when the code contains
23777 % and the line number is enough info
23778 * gst/check/gstcheck.h:
23779 * gst/gstpad.c: (gst_pad_template_new):
23782 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23785 say what CHECK flags we use
23786 * docs/libs/gstreamer-libs.types:
23787 * libs/gst/controller/Makefile.am:
23788 * libs/gst/controller/gst-controller.c:
23789 * libs/gst/controller/gst-controller.h:
23790 * libs/gst/controller/gst-helper.c:
23791 * libs/gst/controller/gst-interpolation.c:
23792 * libs/gst/controller/gstcontroller.c:
23793 * libs/gst/controller/gsthelper.c:
23794 * libs/gst/controller/gstinterpolation.c:
23795 * tools/gst-inspect.c: (print_plugin_info):
23796 we don't use dashes in header names
23798 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23800 * check/Makefile.am:
23801 * check/gst/.cvsignore:
23802 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23803 (gst_pipeline_suite), (main):
23804 adding a test for pipelines and state changes
23805 * gst/gstutils.c: (get_state_func):
23807 * gstreamer.spec.in:
23810 2005-09-08 Michael Smith <msmith@fluendo.com>
23812 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23813 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23814 (gst_file_src_is_seekable), (gst_file_src_get_size),
23815 (gst_file_src_start):
23816 * gst/elements/gstfilesrc.h:
23817 Various fixes for unseekable, unmmapable, and non-normal files, so
23818 that fallback to read() rather than mmap() works.
23819 * gst/gstevent.c: (gst_event_new_newsegment):
23820 Allow newsegment events with segment_start == segment_end, as will
23821 correctly happen if you use filesrc on a zero-size file, for
23824 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23826 * gst/gstplugin.c: (gst_plugin_load_file):
23827 Call g_module_close when we don't load the module
23829 * gst/registries/gstlibxmlregistry.c:
23830 (gst_xml_registry_get_property):
23831 Port leak fix from 0.8
23833 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23835 * docs/gst/gstreamer-docs.sgml:
23836 * docs/gst/tmpl/.cvsignore:
23837 * docs/gst/tmpl/gsttrace.sgml:
23838 * docs/gst/tmpl/gsttrashstack.sgml:
23841 * gst/gstelement.h:
23843 * gst/gstmessage.c:
23844 * gst/gstmessage.h:
23847 * gst/gsttaginterface.c:
23848 * gst/gsttaginterface.h:
23849 * gst/gsttaglist.c:
23850 * gst/gsttaglist.h:
23851 * gst/gsttagsetter.c:
23852 * gst/gsttagsetter.h:
23855 * gst/gsttrashstack.c:
23856 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23857 inlined docs for gsttrace, gsttrashstack
23859 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23862 * gst/elements/gstbufferstore.h:
23863 * gst/elements/gsttypefindelement.c:
23864 * gst/elements/gsttypefindelement.h:
23866 * gst/gsttypefind.c:
23867 * gst/gsttypefind.h:
23868 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23869 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23870 (gst_type_find_factory_dispose),
23871 (gst_type_find_factory_unload_thyself),
23872 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23873 (gst_type_find_factory_get_caps),
23874 (gst_type_find_factory_get_extensions),
23875 (gst_type_find_factory_call_function):
23876 * gst/gsttypefindfactory.h:
23877 * gst/registries/gstlibxmlregistry.c:
23878 * gst/registries/gstxmlregistry.c:
23879 splitted gsttypefind into gsttypefind, gsttypefindfactory
23881 2005-09-07 Andy Wingo <wingo@pobox.com>
23883 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23884 condition whereby the pad's task function is entered before the
23885 pad_mode variable was set.
23887 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23889 * gst/gstpad.c: (gst_pad_alloc_buffer):
23890 Catch misbehaving pad_alloc functions that don't
23891 set up caps and do it for them.
23893 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23895 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23896 test for pipe!=NULL
23897 * docs/gst/tmpl/.cvsignore:
23898 * docs/gst/tmpl/gstmemchunk.sgml:
23899 * docs/gst/tmpl/gstparse.sgml:
23900 * docs/gst/tmpl/gsttaglist.sgml:
23901 * docs/gst/tmpl/gsttagsetter.sgml:
23902 * docs/gst/tmpl/gsttypefind.sgml:
23903 * docs/gst/tmpl/gsttypefindfactory.sgml:
23904 * gst/gstmemchunk.c:
23907 * gst/gsttaginterface.c:
23908 * gst/gsttypefind.c:
23909 * gst/gsttypefind.h:
23912 === release 0.9.2 ===
23914 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23919 releasing 0.9.2, "South"
23921 2005-09-05 Andy Wingo <wingo@pobox.com>
23923 * gst/registries/gstxmlregistry.h:
23924 * gst/registries/gstxmlregistry.c: Um... resurrect...
23926 * gst/registries/gstxmlregistry.h:
23927 * gst/registries/gstxmlregistry.c: and update to newer API.
23928 Incidentally they should be a bit faster now that they don't have
23931 2005-09-05 Andy Wingo <wingo@pobox.com>
23933 * gst/registries/gstxmlregistry.h:
23934 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23935 replaced by the libxml registry a while back
23937 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23939 * docs/gst/tmpl/gstplugin.sgml:
23940 * gst/elements/gstelements.c:
23942 * gst/gstplugin.c: (gst_plugin_register_func),
23943 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23944 (gst_plugin_get_source):
23946 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23947 (gst_xml_registry_save_plugin):
23948 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23949 (gst_xml_registry_save_plugin):
23950 * tools/gst-inspect.c: (print_plugin_info):
23951 add a "source" plugin description field, to represent the source
23952 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23953 will set it to PACKAGE, which is automake's idea of the name of
23954 the source project.
23956 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23961 * docs/Makefile.am:
23962 * docs/faq/Makefile.am:
23963 * docs/gst/tmpl/gstelement.sgml:
23964 * docs/gst/tmpl/gsttypes.sgml:
23965 * docs/htmlinstall.mak:
23966 * docs/manual/Makefile.am:
23967 * docs/pwg/Makefile.am:
23968 reorganize doc build a little
23969 split out docbook and gtk-doc stuff
23970 have two separate --enable's and enable them through autogen
23971 but disable by default in configure (to be similar to other
23973 * gstreamer.spec.in:
23974 clean up docs install
23992 translation updates
23994 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23996 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23999 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24000 (gst_fake_sink_change_state):
24001 Make state change function thread-safe.
24003 * gst/gstpad.c: (gst_pad_alloc_buffer):
24004 Set offset on generic buffer allocated by fallback.
24006 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24008 * docs/gst/gstreamer-sections.txt:
24009 * docs/gst/tmpl/gstelement.sgml:
24011 * libs/gst/controller/gst-controller.c:
24012 (gst_controlled_property_set_interpolation_mode),
24013 (gst_controlled_property_new),
24014 (gst_controller_find_controlled_property):
24015 run the wingo-magic script against the docs
24017 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24019 * docs/gst/gstreamer-docs.sgml:
24020 * docs/gst/gstreamer-sections.txt:
24021 * docs/gst/tmpl/.cvsignore:
24022 * docs/gst/tmpl/gstelementdetails.sgml:
24023 * docs/gst/tmpl/gstelementfactory.sgml:
24026 * gst/gstelementfactory.c:
24027 * gst/gstelementfactory.h:
24028 merged elementdetails docs into elementfactory docs
24031 2005-09-02 Andy Wingo <wingo@pobox.com>
24033 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24034 consider this enum an enum and not a flags.
24036 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24038 * docs/gst/gstreamer-docs.sgml:
24039 * docs/gst/tmpl/.cvsignore:
24040 * docs/gst/tmpl/gstghostpad.sgml:
24041 * docs/gst/tmpl/gstiterator.sgml:
24042 * docs/gst/tmpl/gstmacros.sgml:
24043 * docs/gst/tmpl/gstrealpad.sgml:
24044 * docs/gst/tmpl/gstregistry.sgml:
24045 * docs/gst/tmpl/gstregistrypool.sgml:
24046 * docs/gst/tmpl/gststructure.sgml:
24047 * docs/gst/tmpl/gstsystemclock.sgml:
24048 * docs/gst/tmpl/gsttrace.sgml:
24049 * gst/gstghostpad.c:
24051 * gst/gstmemchunk.c:
24052 * gst/gstmemchunk.h:
24054 * gst/gstregistry.c:
24055 * gst/gstregistrypool.c:
24056 * gst/gststructure.c:
24057 * gst/gstsystemclock.c:
24060 2005-09-02 Andy Wingo <wingo@pobox.com>
24062 * gst/gstelement.h (GstState): Renamed from GstElementState,
24063 changed to be a normal enum instead of flags.
24064 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24065 munged to be GST_STATE_CHANGE_*.
24066 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24067 work with the new state representation.
24068 (GstStateChange): New enumeration of possible state transitions.
24069 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24070 (GstElementClass::change_state): Pass the GstStateChange along as
24071 an argument. Helps language bindings, so they don't have to use
24072 tricky lock-needing macros like GST_STATE_CHANGE ().
24074 * scripts/update-states (file): New script. Run it on a file to
24075 update it for state naming and API changes. Updates files in
24078 * All files updated for the new API.
24080 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24082 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24083 * gst/gstutils.c: (gst_util_set_value_from_string),
24084 (gst_util_set_object_arg):
24085 fix a bunch of unchecked return values
24086 * tools/gst-complete.c: (main):
24087 * gstreamer.spec.in:
24090 2005-09-01 Wim Taymans <wim@fluendo.com>
24092 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24093 (gst_base_sink_event), (gst_base_sink_do_sync),
24094 (gst_base_sink_handle_event):
24095 * gst/base/gstbasesink.h:
24096 Handle newsegments more correctly.
24101 * gst/gstevent.c: (gst_event_new_newsegment):
24102 A newsegment cannot have a start_time of -1
24104 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24106 * win32/gstenumtypes.c:
24107 * win32/gstenumtypes.h:
24110 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24112 * libs/gst/controller/gst-controller.c:
24113 (gst_controlled_property_set_interpolation_mode),
24114 (gst_controlled_property_new):
24115 fixed boolean again
24117 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24119 * docs/faq/gst-uninstalled:
24124 * gst/gstutils.c: (gst_element_link_filtered):
24126 add gst_element_link_filtered
24128 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24130 * docs/gst/gstreamer-docs.sgml:
24131 * docs/gst/gstreamer-sections.txt:
24132 * docs/gst/tmpl/.cvsignore:
24133 * docs/gst/tmpl/gsterror.sgml:
24134 * docs/gst/tmpl/gstfilter.sgml:
24135 * docs/gst/tmpl/gsturihandler.sgml:
24136 * docs/gst/tmpl/gsturitype.sgml:
24137 * docs/gst/tmpl/gstutils.sgml:
24138 * docs/gst/tmpl/gstxml.sgml:
24143 * gst/gsturitype.c:
24146 inlined more docs, fixed double id-ref
24148 2005-08-31 Wim Taymans <wim@fluendo.com>
24150 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24151 (gst_base_transform_handle_buffer):
24152 Passthrough elements don't need the caps as they don't care.
24154 2005-08-31 Wim Taymans <wim@fluendo.com>
24156 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24157 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24158 Don't leak refcounts on buffers.
24160 2005-08-31 Wim Taymans <wim@fluendo.com>
24162 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24163 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24164 (gst_base_transform_chain), (gst_base_transform_change_state):
24165 * gst/base/gstbasetransform.h:
24166 Handle the case where we are not negotiated more gracefully.
24168 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24170 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24171 (gst_file_src_map_region):
24172 Set READONLY flag on mmap'ed buffers, otherwise
24173 gst_buffer_make_writable() won't work properly (#314708).
24175 2005-08-31 Wim Taymans <wim@fluendo.com>
24177 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24178 passthrough elements can even do inplace on non writable
24179 buffers (as they don't touch them).
24181 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24183 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24184 (gst_test_mono_source_set_property),
24185 (gst_test_mono_source_class_init), (GST_START_TEST),
24186 (gst_controller_suite):
24187 more tests (hehe I have the most)
24189 describe popping messages whenusing mulltiple sources
24190 * libs/gst/controller/gst-controller.c:
24191 (gst_controlled_property_set_interpolation_mode),
24192 (gst_controlled_property_new):
24193 * libs/gst/controller/gst-controller.h:
24194 * libs/gst/controller/gst-interpolation.c:
24195 implement boolean properties
24197 2005-08-31 Wim Taymans <wim@fluendo.com>
24199 * gst/gstminiobject.c: (gst_mini_object_ref):
24200 Cannot assert that the refcount has to be positive
24201 since a disposed object can be resurrected.
24203 2005-08-31 Wim Taymans <wim@fluendo.com>
24205 * gst/gstpad.c: (gst_pad_init):
24206 Revert change, need to first fix badly behaving
24209 2005-08-30 Wim Taymans <wim@fluendo.com>
24211 * check/elements/fakesrc.c: (setup_fakesrc):
24212 * check/elements/identity.c: (setup_identity):
24213 Activate pads before using them.
24215 2005-08-30 Wim Taymans <wim@fluendo.com>
24217 * gst/base/gstadapter.c: (gst_adapter_flush):
24218 Flushing out 0 bytes is ok for this function.
24220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24221 no newsegment gives a warning and sets the start/stop to
24224 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24225 (gst_base_transform_set_passthrough):
24228 * gst/gstminiobject.c: (gst_mini_object_ref):
24229 Check refcount here too.
24231 * gst/gstpad.c: (gst_pad_init):
24232 Pads are initially flushing and refusing data.
24234 * gst/gstutils.c: (gst_element_link_pads_filtered):
24235 When adding a capsfilter element make sure it has the
24236 same state as the parent bin.
24238 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24240 * docs/gst/tmpl/.cvsignore:
24241 * docs/gst/tmpl/gstformat.sgml:
24242 * docs/gst/tmpl/gstversion.sgml:
24246 * gst/gstversion.h.in:
24247 more docs and two more inlined
24249 2005-08-30 Wim Taymans <wim@fluendo.com>
24251 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24252 Don't sync to clock.
24254 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24256 * docs/gst/gstreamer-sections.txt:
24257 ultral33t func10ns deserve to appear in the docs actually
24258 * docs/gst/tmpl/.cvsignore:
24259 * docs/gst/tmpl/gstcompat.sgml:
24260 * docs/gst/tmpl/gstconfig.sgml:
24261 * gst/check/gstcheck.c:
24263 * gst/gstconfig.h.in:
24266 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24268 * docs/gst/tmpl/.cvsignore:
24269 * docs/gst/tmpl/gstquery.sgml:
24270 * docs/gst/tmpl/gstutils.sgml:
24273 inlined and extended docs
24275 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24277 * check/gst-libs/controller.c: (GST_START_TEST),
24278 (gst_controller_suite):
24280 * docs/gst/tmpl/gstutils.sgml:
24281 * docs/libs/gstreamer-libs-sections.txt:
24282 * docs/libs/tmpl/gstdataprotocol.sgml:
24284 * examples/controller/audio-example.c: (main):
24285 controller example works now
24288 * tools/gst-inspect.c: (print_element_properties_info):
24289 show param spec flags
24291 2005-08-29 Andy Wingo <wingo@pobox.com>
24293 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24295 2005-08-28 Andy Wingo <wingo@pobox.com>
24297 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24298 as having two arguments instead of just one. Allows superclasses
24299 to access information on subclasses -- see the terrible for() loop
24300 in gtype.c:g_type_create_instance for the reason why. All callers
24303 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24305 * docs/design/part-messages.txt:
24307 * docs/gst/tmpl/.cvsignore:
24308 * docs/gst/tmpl/gstcaps.sgml:
24309 * docs/gst/tmpl/gstclock.sgml:
24315 * gst/gstmessage.c:
24316 added descriptions for bus and message
24317 inline caps and clock docs
24319 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24321 * gst/gstmessage.c:
24322 * gst/gstmessage.h:
24325 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24327 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24330 2005-08-26 Andy Wingo <wingo@pobox.com>
24332 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24333 element_set_state's return val.
24334 (test_2_elements): Add test that's been disabled for months.
24336 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24337 can-activate-pull properties.
24339 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24340 can-activate-pull properties. Implement is_seekable so fakesrc can
24341 operate in pull mode.
24343 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24345 (gst_base_sink_activate, gst_base_sink_activate_pull)
24346 (gst_base_sink_activate_push): Make activation mode choosing work.
24348 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24349 is right. Make pull mode work. Post an eos before pausing in pull
24351 (gst_base_sink_change_state): Pay attention to the core's
24352 change_state() return val.
24354 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24355 has-getrange properties. Cleanups.
24357 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24358 has_getrange and replace with can_activate_pull and
24361 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24362 locking comments. Remove has_loop, has_chain and replace with
24363 can_activate_pull and can_activate_push.
24365 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24368 * examples/Makefile.am:
24369 * examples/metadata/Makefile.am:
24370 * examples/metadata/read-metadata.c: (message_loop),
24371 (have_pad_handler), (make_pipeline), (print_tag), (main):
24372 Add metadata reading example that loops over a list of filenames,
24373 dumping any tags found.
24375 * gst/gstbus.c: (gst_bus_dispose):
24376 * gst/gstelement.c: (gst_element_dispose):
24377 Release a few potentially-held references in dispose.
24379 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24381 * docs/gst/tmpl/gstminiobject.sgml:
24382 do *not* add tmpl/*.sgml files to CVS!
24384 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24386 * libs/gst/bytestream/.cvsignore:
24387 * libs/gst/bytestream/Makefile.am:
24388 * libs/gst/bytestream/adapter.c:
24389 * libs/gst/bytestream/adapter.h:
24390 * libs/gst/bytestream/bytestream.c:
24391 * libs/gst/bytestream/bytestream.h:
24392 * libs/gst/bytestream/filepad.c:
24393 * libs/gst/bytestream/filepad.h:
24394 removing obsolete files
24396 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24398 * docs/gst/gstreamer-docs.sgml:
24399 * docs/libs/gstreamer-libs-docs.sgml:
24400 disabed additional index entries again, as this makes docs-gen just
24401 slow and they aren't useful yet
24402 * docs/libs/gstreamer-libs-sections.txt:
24403 little -section.txt cleanup for libs
24405 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24408 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24409 fix up some debugging
24410 (gst_base_transform_get_unit_size),
24411 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24412 (gst_base_transform_handle_buffer):
24413 * gst/base/gstbasetransform.h:
24414 handle and store timed NEWSEGMENT events so that subclasses that
24415 calculate time by counting samples have a segment_start time they
24416 need to add to their timestamps - see audioresample
24418 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24421 removed ';' from the end of macro defs
24422 * docs/gst/gstreamer-docs.sgml:
24423 * docs/gst/gstreamer-sections.txt:
24424 * docs/gst/tmpl/.cvsignore:
24426 * gst/gstelement.c: (gst_element_class_init),
24427 (gst_element_set_state), (activate_pads),
24428 (gst_element_save_thyself):
24429 * gst/gstevent.c: (gst_event_new_newsegment):
24431 * gst/gstiterator.c:
24432 * gst/gstiterator.h:
24435 * gst/gstutils.c: (gst_pad_query_convert):
24437 fixed parameter name mismatches between source, header and docs
24438 added some more docs, resolved the last batch of unused elements in
24439 docs (now someone needs to doc them)
24441 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24443 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24444 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24445 don't walk through the plugins backwards. Where is all this
24446 reversed logic coming from ?
24448 2005-08-25 Wim Taymans <wim@fluendo.com>
24450 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24451 (gst_base_transform_transform_size),
24452 (gst_base_transform_configure_caps),
24453 (gst_base_transform_get_unit_size),
24454 (gst_base_transform_buffer_alloc),
24455 (gst_base_transform_change_state):
24456 * gst/base/gstbasetransform.h:
24457 Cache caps unit_size.
24458 Make sure we cannot negotiate up and downstream at the
24461 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24463 * gst/gst.c: (init_pre), (init_post):
24464 register the installed plugin path after the env var
24465 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24466 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24467 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24468 directories, so the tests can prefer uninstalled over installed
24470 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24472 * gst/base/gstbasetransform.h:
24477 2005-08-25 Wim Taymans <wim@fluendo.com>
24479 * gst/gstbin.c: (bin_bus_handler):
24480 Be a bit more conservative about the posted message.
24482 * gst/gstbus.c: (gst_bus_post):
24483 Some cleanups, warn wrong return values.
24485 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24487 * check/gst/gstbin.c: (GST_START_TEST):
24488 * gst/gstbin.c: (bin_bus_handler):
24489 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24490 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24491 (gst_message_new_warning), (gst_message_new_tag),
24492 (gst_message_new_state_changed), (gst_message_new_segment_start),
24493 (gst_message_new_segment_done), (gst_message_new_custom):
24494 * gst/gstmessage.h:
24495 * tools/gst-launch.c: (event_loop):
24496 * tools/gst-md5sum.c: (event_loop):
24497 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24499 2005-08-25 Wim Taymans <wim@fluendo.com>
24501 * check/generic/states.c: (GST_START_TEST):
24502 Cleanup can be done at the end.
24504 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24505 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24506 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24507 Oh boy.. Thanks for finding this, Thomas.
24509 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24511 * docs/gst/gstreamer.types:
24512 added missing types
24514 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24516 * docs/gst/gstreamer-docs.sgml:
24517 * docs/gst/gstreamer-sections.txt:
24518 * docs/gst/tmpl/.cvsignore:
24520 * gst/gstiterator.c:
24522 * gst/registries/gstxmlregistry.h:
24523 added missing classes and symbols (123 more to go)
24524 removed removed symbols from section file
24525 fixed many doc-comments
24527 2005-08-24 Wim Taymans <wim@fluendo.com>
24529 * check/generic/states.c: (GST_START_TEST):
24530 Make sure all tasks are stopped.
24532 * check/gst/gstbin.c: (GST_START_TEST):
24533 Unref after usage for proper valgrinding.
24535 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24536 Really wait for the task to stop before destroying the
24539 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24540 (gst_queue_src_activate_push):
24541 Small cleanups. Don't stop the task when we did not start
24544 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24545 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24546 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24549 Protect the stream lock with the object lock.
24550 Disallow setting the stream lock when running.
24551 Add cleanup_all to wait for the threadpool to finish.
24552 Remove code to autoallocate a mutex if none was provided.
24553 Add _join() to wait for a task to stop.
24554 Protect the thread pool with a global lock.
24556 2005-08-24 Wim Taymans <wim@fluendo.com>
24558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24559 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24560 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24561 * gst/base/gstbasesink.h:
24562 Handle newsegment events correctly.
24563 Drop buffers out of the segment range.
24565 2005-08-22 Andy Wingo <wingo@pobox.com>
24567 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24568 macro, implements an interface and gstimplementsinterface for a
24571 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24573 * check/Makefile.am:
24574 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24575 add a test that does a bunch of state changes on elements
24576 needs some fixing for valgrind
24577 * check/states/sinks.c: (gst_object_suite):
24580 add prototype for gst_caps_is_equal_fixed
24582 * gst/gstregistrypool.c:
24585 2005-08-24 Andy Wingo <wingo@pobox.com>
24587 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24588 convert a negative value. Doesn't make much sense. Mostly this is
24589 here to force callers to ensure -1 maps to -1.
24591 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24593 * docs/pwg/advanced-types.xml:
24594 Well done to Michael for catching my deliberate introduction
24595 of this spelling mistake.
24596 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24597 * gst/gstelement.h:
24598 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24599 unlink pads before removing the element from the bin.
24601 2005-08-24 Andy Wingo <wingo@pobox.com>
24603 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24604 the same thing as GST_DEBUG=*:4.
24605 (parse_debug_level, parse_debug_category): New helper parsers.
24607 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24609 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24610 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24611 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24612 (gst_base_transform_buffer_alloc),
24613 (gst_base_transform_handle_buffer):
24614 use gboolean return values and pointers to size so we can use the
24615 full GST_BUFFER_SIZE range (guint) for buffer sizes
24616 use GstPadDirection for transform_caps
24617 * gst/base/gstbasetransform.h:
24618 rename get_size to get_unit_size since that's what it is
24619 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24620 use GstPadDirection for transform_caps
24621 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24623 cleanup and debugging
24625 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24627 * gst/gstelement.c: (gst_element_class_init),
24628 (gst_element_set_state), (activate_pads),
24629 (gst_element_save_thyself):
24630 * tools/gst-compprep.c: (main):
24631 * tools/gst-inspect.c: (print_element_properties_info):
24632 * tools/gst-xmlinspect.c: (print_element_properties):
24633 Fixed long standing mem-leak
24635 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24637 * check/gst/gstbin.c: (GST_START_TEST):
24638 * gst/gstbin.c: (bin_bus_handler):
24639 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24640 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24641 (gst_message_new_warning), (gst_message_new_tag),
24642 (gst_message_new_state_changed), (gst_message_new_segment_start),
24643 (gst_message_new_segment_done), (gst_message_new_custom):
24644 * gst/gstmessage.h:
24645 * tools/gst-launch.c: (event_loop):
24646 * tools/gst-md5sum.c: (event_loop):
24647 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24648 that applications can sensibly post custom messages with references
24649 to their own objects.
24651 2005-08-24 Andy Wingo <wingo@pobox.com>
24653 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24656 2005-08-24 Wim Taymans <wim@fluendo.com>
24658 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24659 (gst_base_transform_transform_caps),
24660 (gst_base_transform_transform_size),
24661 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24662 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24663 (gst_base_transform_handle_buffer):
24664 * gst/base/gstbasetransform.h:
24665 Many fixes and new features added by Thomas. Can now also do
24666 transforms with variable sizes and a custom fixate_caps function.
24668 2005-08-24 Wim Taymans <wim@fluendo.com>
24670 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24674 Cast to ClockTime before formatting to time.
24679 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24681 * check/gst-libs/controller.c: (GST_START_TEST),
24682 (gst_controller_suite):
24683 * docs/gst/tmpl/gstcaps.sgml:
24684 * docs/gst/tmpl/gstghostpad.sgml:
24685 * docs/gst/tmpl/gstquery.sgml:
24686 * docs/gst/tmpl/gstutils.sgml:
24687 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24688 (gst_object_sink_values), (gst_object_get_value_arrays),
24689 (gst_object_get_value_array):
24690 gracefully handle helper method calls to objects that are not beeing
24691 controlled, added test case for that
24693 2005-08-23 Wim Taymans <wim@fluendo.com>
24695 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24696 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24697 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24698 (gst_event_parse_qos), (gst_event_new_seek),
24699 (gst_event_parse_seek):
24701 Some more debugging output and doc cleanups.
24703 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24704 Fix possible deadlock.
24706 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24708 * docs/gst/gstreamer-docs.sgml:
24709 * docs/gst/gstreamer-sections.txt:
24710 * docs/gst/gstreamer.types:
24711 * docs/gst/tmpl/.cvsignore:
24714 * gst/gstelement.c:
24716 added 100 symbols from gstreamer-unused.txt to the right sections
24717 fixed more broken comments
24718 added GstBus to docs
24720 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24722 * docs/gst/gstreamer-sections.txt:
24723 * docs/gst/tmpl/.cvsignore:
24724 * docs/gst/tmpl/gstbin.sgml:
24725 * docs/gst/tmpl/gstbuffer.sgml:
24726 * gst/base/gstbasesrc.c:
24727 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24730 * tools/gst-launch.1.in:
24731 inlined more doc comments, added missing comments and fixed comments
24734 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24736 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24740 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24742 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24743 * gst/gststructure.h:
24744 add a fixate function for booleans; add a FIXME that these func
24745 names should probably be gst_structure_fixate_*
24747 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24749 * docs/gst/gstreamer-docs.sgml:
24750 * docs/gst/gstreamer-sections.txt:
24752 * gst/gstbin.c: (gst_bin_get_type),
24753 (gst_bin_child_proxy_get_child_by_index),
24754 (gst_bin_child_proxy_get_children_count),
24755 (gst_bin_child_proxy_init):
24756 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24757 (gst_child_proxy_get_child_by_index),
24758 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24759 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24760 (gst_child_proxy_get), (gst_child_proxy_set_property),
24761 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24762 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24763 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24764 * gst/gstchildproxy.h:
24765 * gst/parse/grammar.y:
24766 * tools/gst-inspect.c: (print_interfaces),
24767 (print_element_properties_info), (print_element_info):
24768 ported gstchildproxy over from 0.8
24769 ported gst-inspect fixes and enhancements over from 0.8
24771 2005-08-22 Wim Taymans <wim@fluendo.com>
24773 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24774 (gst_base_transform_handle_buffer):
24775 Also call the transform function if we have ANY caps.
24777 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24780 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24782 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24783 Don't pretend to handle seek events if the source is not seekable
24785 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24788 Remove extra parameter to debug output
24790 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24791 (gst_base_src_do_seek), (gst_base_src_activate_push):
24792 Fix seek event handling.
24794 * gst/gstpipeline.c: (gst_pipeline_change_state):
24795 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24796 (gst_queue_src_activate_push):
24797 Don't start the src pad task on FLUSH_STOP if the pad
24801 2005-08-22 Wim Taymans <wim@fluendo.com>
24803 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24804 Added check for gst_static_caps_get() refcounting.
24806 2005-08-22 Wim Taymans <wim@fluendo.com>
24808 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24809 Make _static_caps_get() refcounting sane.
24811 * gst/gstelement.c: (gst_element_set_state):
24812 Add g_return_val_if_fail() to protect against segfaults.
24814 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24816 * docs/gst/tmpl/gstevent.sgml:
24819 inlined remaining docs, added missing doc comments
24821 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24823 * check/gst/gstbin.c: (GST_START_TEST):
24824 since we don't know when preroll is done, use refcount range
24826 * gst/check/gstcheck.h:
24827 add macro for checking refcount range
24829 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24831 * check/Makefile.am:
24832 clean up environment for when registry gets built versus
24833 when actual tests are run; valgrind seems to not report
24834 leaks if GST_PLUGIN_PATH is set to some specific values
24835 * check/gst/gstbin.c: (GST_START_TEST):
24836 add more refcounting checks; maybe this exposes a
24838 * common/check.mak:
24839 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24840 * gst/check/gstcheck.h:
24841 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24842 (gst_bin_change_state):
24843 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24844 add/fix debugging/whitespace
24846 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24848 * check/gst/gstevent.c: (event_probe), (test_event),
24850 Er, don't call gst_bin_watch_for_state_change you idiot.
24852 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24854 * check/Makefile.am:
24855 Use CHECK_CFLAGS and CHECK_LIBS
24856 * check/gst/gstevent.c: (event_probe), (test_event),
24859 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24860 (gst_base_src_start), (gst_base_src_stop),
24861 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24862 (gst_base_src_change_state):
24863 Sprinkle gst_base_src_stop liberally around error paths to fix
24864 problems reusing a source after failed state changes.
24865 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24866 (helper_find_suggest), (gst_type_find_helper):
24867 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24869 * docs/gst/tmpl/gstevent.sgml:
24870 Migrate part of the docs from the SGML file. Wait for ensonic to
24871 tell me how I did it wrong ;)
24872 * tools/gst-typefind.c: (main):
24873 Extra robustness to state changes between files.
24875 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24877 * check/Makefile.am:
24878 don't valgrind the controller test - it's leaking - Stefan, HELP
24879 * gst/check/gstcheck.c: (gst_check_message_error),
24880 (gst_check_chain_func), (gst_check_setup_element),
24881 (gst_check_teardown_element), (gst_check_setup_src_pad),
24882 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24883 (gst_check_teardown_sink_pad):
24884 * gst/check/gstcheck.h:
24885 add a bunch of methods to set up elements, and src and sink pads
24886 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24887 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24890 * gst/gstmessage.c:
24892 whitespace/doc fixes
24894 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24896 * gst/gstelement.h:
24897 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24898 be handled by the application and not always printed as well
24900 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24902 * check/Makefile.am:
24904 * gst/check/gstcheck.c: (gst_check_message_error):
24905 * gst/check/gstcheck.h:
24906 add a fail_unless_equals_int
24907 add fail_unless for error messages
24909 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24911 * check/Makefile.am:
24913 * common/Makefile.am:
24914 * common/check.mak:
24916 factor out some of the common stuff so we can use it
24918 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24920 * check/Makefile.am:
24921 * check/gst/gstiterator.c: (GST_START_TEST):
24922 * check/gst/gstsystemclock.c: (GST_START_TEST),
24923 (gst_systemclock_suite):
24924 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24926 valgrind more tests
24928 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24930 * check/elements/.cvsignore:
24931 * check/elements/gstfakesrc.c:
24932 rename to name of element
24933 * check/elements/identity.c: (chain_func), (event_func),
24934 (setup_identity), (cleanup_identity), (GST_START_TEST),
24935 (identity_suite), (main):
24936 add a test for identity
24937 * check/Makefile.am:
24938 * pkgconfig/Makefile.am:
24939 * pkgconfig/gstreamer-check.pc.in:
24940 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24944 move the check stuff to a library that gets installed
24945 * check/gst-libs/controller.c: (GST_START_TEST):
24946 * check/gst-libs/gdp.c:
24947 * check/gst/gst.c: (GST_START_TEST):
24948 * check/gst/gstbin.c:
24949 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24950 * check/gst/gstbus.c:
24951 * check/gst/gstcaps.c: (GST_START_TEST):
24952 * check/gst/gstelement.c:
24953 * check/gst/gstghostpad.c:
24954 * check/gst/gstiterator.c:
24955 * check/gst/gstmessage.c:
24956 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24957 * check/gst/gstobject.c:
24958 * check/gst/gstpad.c: (GST_START_TEST):
24959 * check/gst/gststructure.c: (GST_START_TEST):
24960 * check/gst/gstsystemclock.c: (GST_START_TEST),
24961 (gst_systemclock_suite):
24962 * check/gst/gsttag.c: (gst_tag_suite):
24963 * check/gst/gstvalue.c:
24964 * check/pipelines/cleanup.c:
24965 * check/pipelines/simple_launch_lines.c:
24966 * check/states/sinks.c:
24967 change include statement
24969 * docs/gst/gstreamer-sections.txt:
24970 * docs/gst/tmpl/gstpad.sgml:
24971 document more pad stuff
24972 * gst/gstminiobject.c: (gst_mini_object_ref),
24973 (gst_mini_object_unref):
24976 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24978 * docs/gst/tmpl/gst.sgml:
24980 eliminate another tmpl file, fix spelling in the long-description
24982 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24984 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24985 (test_event), (timediff), (gstevents_suite):
24986 Should fix build on 64-bit arch's
24988 2005-08-18 Andy Wingo <wingo@pobox.com>
24990 Make sure that when a pipeline goes to PLAYING, that data has
24991 actually hit the sink.
24993 * check/states/sinks.c (test_sink): A sink that doesn't get any
24994 data shouldn't return SUCCESS for going to either PLAYING or
24995 PAUSED. Test also the return values on the way back down.
24997 * gst/gstelement.c (gst_element_set_state): When changing the
24998 state of an element currently changing state asynchronously, go to
24999 lost-state after commiting the pending state. Makes future calls
25000 to get_state continue to return ASYNC.
25002 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25003 ASYNC when going to PLAYING if we still don't have preroll, as can
25004 happen with live sources.
25006 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25008 * docs/pwg/advanced-types.xml:
25009 Hack long paragraph into 2 chunks as a workaround for buggy
25010 jadetex version in sid and breezy that loops infinitely and
25013 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25015 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25016 (test_event), (timediff), (gstevents_suite):
25017 Provide more error margin in clock measurements to allow for
25018 g_get_current_time inaccuracies.
25020 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25022 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25023 (test_event), (timediff), (gstevents_suite):
25024 Fix error message output so I might be able to tell why the
25025 test works here but fails on the build farm.
25027 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25029 * check/Makefile.am:
25030 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25031 (test_event), (timediff), (gstevents_suite), (main):
25034 * docs/design/part-seeking.txt:
25035 Spelling correction
25037 * docs/gst/tmpl/gstevent.sgml:
25038 * docs/gst/tmpl/gstfakesrc.sgml:
25041 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25042 Treat a buffer-without-newsegment the same as a receiving
25043 a newsegment not in time format, and disable syncing to the clock
25046 * gst/gstbus.c: (gst_bus_set_sync_handler):
25047 Assert if anyone tries to replace the existing sync_handler for bus,
25048 as only the owner should be setting it.
25051 Have a fixed set of custom event enums with events identified by
25052 their structure name (as in 0.8), rather than a free-for-all
25053 allowing collisions between enum values from different plugins.
25055 * gst/gstpad.c: (gst_pad_class_init):
25058 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25059 Handle out-of-band downstream events from the sending thread.
25061 2005-08-17 Andy Wingo <wingo@pobox.com>
25063 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25064 play-timeout==0 to mean no timeout at all. In that case, don't
25065 bother with a get_state or a warning, just return directly, even
25068 * gst/base/gstbasetransform.c: Debug changes.
25071 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25072 ensure bins post state change messages. A bit of a hack but I can't
25073 think of a way to avoid it.
25075 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25077 2005-08-16 Andy Wingo <wingo@pobox.com>
25079 * gst/base/gstadapter.h:
25080 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25081 peek() but you own the data. Not terribly efficient atm.
25083 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25085 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25086 (gst_element_found_tags):
25088 Add two utility functions for tag handling.
25090 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25092 * docs/manual/advanced-dataaccess.xml:
25093 * docs/manual/basics-helloworld.xml:
25094 Fix docs to use _bin_add() before _link(), which fixes the examples
25095 with recent core versions (reported by Madhan Raj M
25096 <raj_madan@rediffmail.com>, #313199).
25098 2005-08-16 Wim Taymans <wim@fluendo.com>
25100 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25101 Added subtract checks.
25103 * docs/design/part-events.txt:
25104 Some more docs about newsegment
25106 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25109 * gst/gstcaps.c: (gst_caps_to_string):
25110 Add comments, cleanups.
25112 * gst/gstelement.c: (gst_element_save_thyself):
25115 * gst/gstvalue.c: (gst_value_collect_int_range),
25116 (gst_string_unwrap), (gst_value_union_int_int_range),
25117 (gst_value_union_int_range_int_range),
25118 (gst_value_intersect_int_int_range),
25119 (gst_value_intersect_int_range_int_range),
25120 (gst_value_intersect_double_double_range),
25121 (gst_value_intersect_double_range_double_range),
25122 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25123 (gst_value_subtract_int_range_int),
25124 (gst_value_subtract_double_range_double),
25125 (gst_value_subtract_double_range_double_range),
25126 (gst_value_subtract_from_list), (gst_value_subtract_list),
25127 (gst_value_can_compare), (gst_value_compare_fraction):
25128 Cleanups, add comments, remove unneeded asserts.
25130 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25132 * tools/gst-launch.c: (event_loop):
25133 don't convert NULL structures to strings
25135 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25137 * docs/gst/gstreamer-sections.txt:
25138 made some defines private
25139 * docs/gst/tmpl/gstconfig.sgml:
25140 * docs/gst/tmpl/gstqueue.sgml:
25141 * docs/gst/tmpl/gsttaglist.sgml:
25142 * docs/gst/tmpl/gsttypes.sgml:
25143 * docs/gst/tmpl/gstutils.sgml:
25144 * docs/pwg/appendix-porting.xml:
25145 * gst/base/gstbasesink.h:
25146 * gst/base/gstbasesrc.c:
25147 * gst/base/gstbasesrc.h:
25148 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25149 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25150 * gst/gstelement.c: (gst_element_class_init):
25151 * gst/gstpad.c: (gst_pad_class_init):
25152 * gst/gstqueue.c: (gst_queue_class_init):
25153 * gst/gstxml.c: (gst_xml_class_init):
25154 documented all undocumented signal inline
25155 * libs/gst/controller/gst-controller.h:
25158 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25160 * docs/pwg/appendix-porting.xml:
25161 Document _set_link_function -> _set_setcaps_function.
25163 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25165 * check/Makefile.am:
25166 add a .check target for running the check
25167 * check/gst-libs/controller.c: (GST_START_TEST):
25169 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25170 complete checks for gstbuffer; would be nice if I could get the
25171 gcov stuff to work so I can see if I actually completed gstbuffer.c
25172 * check/gstcheck.h:
25173 add ASSERT_BUFFER_REFCOUNT
25175 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25177 * docs/gst/gstreamer-sections.txt:
25178 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25180 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25181 spew out a warning if a tag that is already registered
25182 is re-registered, unless it is re-registered with a
25183 different type (#308438).
25185 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25187 * docs/pwg/appendix-porting.xml:
25188 * docs/pwg/building-state.xml:
25189 Add some paragraphs about state changes in 0.9 to the PWG
25190 and the porting guide, in particular about the new meaning
25191 of GST_STATE_PAUSED and how to write state change functions
25192 with concurrent access by multiple threads in mind.
25194 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25196 * docs/gst/gstreamer-docs.sgml:
25197 * docs/libs/gstreamer-libs-docs.sgml:
25198 added deprecation and since indexes
25199 * libs/gst/controller/gst-controller.c:
25200 * libs/gst/controller/gst-helper.c:
25204 2005-08-11 Wim Taymans <wim@fluendo.com>
25206 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25207 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25208 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25209 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25210 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25211 (gst_ghost_pad_set_target):
25212 Actually implement (re)setting the target on a ghostpad
25213 as described in the docs.
25215 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25217 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25218 Check whether GST_DEBUG_NO_COLOR environment variable is
25219 set and disable coloured debug output if that is the case.
25221 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25223 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25224 (gst_type_find_helper):
25225 The memory returned by gst_type_find_peek() needs to
25226 stay valid until the end of a typefind function, and
25227 typefind functions may keep results from different
25228 offsets around, so we can't just unref the buffer from
25229 the previous _peek(), but have to save all buffers
25230 returned by _peek() until typefinding is done and only
25233 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25235 * docs/gst/gstreamer-sections.txt:
25237 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25239 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25241 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25242 Fix a pretty good memleak.
25244 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25246 * gst/gstiterator.h:
25247 Fix wrong include and 'make distcheck'.
25249 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25251 * gst/gstbin.c: (bin_bus_handler):
25252 Use gst_element_post_message() instead.
25254 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25256 * gst/base/gstadapter.h:
25257 * gst/base/gstbasesink.h:
25258 * gst/base/gstbasesrc.h:
25259 * gst/base/gstbasetransform.h:
25260 * gst/base/gstcollectpads.h:
25261 * gst/base/gstpushsrc.h:
25262 * gst/gstiterator.h:
25263 Add padding to our base elements' class and instance structs and
25264 to GstIterator (you will need to rebuild all plugins and apps!)
25266 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25268 * gst/gstbin.c: (bin_bus_handler):
25269 Make default message forwarding from child->bus to bin->bus
25270 threadsafe and make it not emit warnings if the parent has no bus.
25272 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25274 * gst/gstelement.c: (activate_pads):
25275 On paused->ready, set pad->caps to NULL, as is the documented
25276 behaviour in this state change. Fixes playback of series of
25277 media files when visualization is enabled in Totem.
25279 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25281 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25282 Allow NULL as filter-caps (which means "any").
25284 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25286 * docs/libs/gstreamer-libs-sections.txt:
25287 * libs/gst/controller/gst-controller.c:
25288 * libs/gst/controller/gst-controller.h:
25289 * libs/gst/controller/gst-helper.c:
25290 adding more entries to the docs and fix small doc-bugs
25292 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25294 * docs/gst/gstreamer-docs.sgml:
25295 * docs/gst/gstreamer-sections.txt:
25296 * docs/gst/gstreamer.types:
25297 * docs/gst/tmpl/gstbasesink.sgml:
25298 * docs/gst/tmpl/gstbasesrc.sgml:
25299 * docs/gst/tmpl/gstbasetransform.sgml:
25300 * docs/gst/tmpl/gstfakesrc.sgml:
25301 * gst/base/gstcollectpads.c:
25302 * gst/base/gstcollectpads.h:
25303 * libs/gst/controller/gst-controller.c:
25304 * libs/gst/controller/gst-controller.h:
25305 * libs/gst/controller/gst-helper.c:
25306 * libs/gst/controller/gst-interpolation.c:
25307 * libs/gst/controller/lib.c:
25308 added long/short desc for controller docs
25309 added collectpads base class docs
25310 added correct includes to base-class docs
25312 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25314 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25315 (gst_test_mono_source_set_property),
25316 (gst_test_mono_source_class_init), (GST_START_TEST),
25317 (gst_controller_suite):
25318 * docs/gst/gstreamer-docs.sgml:
25319 * docs/gst/gstreamer-sections.txt:
25320 * docs/gst/gstreamer.types:
25321 * docs/libs/gstreamer-libs-docs.sgml:
25322 * docs/libs/gstreamer-libs-sections.txt:
25323 * gst/base/gstadapter.c:
25324 * libs/gst/controller/gst-controller.c:
25325 (gst_controlled_property_new), (gst_controlled_property_free),
25326 (gst_controller_new_valist),
25327 (gst_controller_remove_properties_valist),
25328 (gst_controller_sink_values), (_gst_controller_finalize):
25329 * libs/gst/controller/gst-controller.h:
25330 * libs/gst/controller/gst-helper.c:
25331 (gst_object_control_properties), (gst_object_uncontrol_properties),
25332 (gst_object_get_controller), (gst_object_set_controller),
25333 (gst_object_sink_values), (gst_object_get_value_arrays),
25334 (gst_object_get_value_array):
25335 more tests (and fixes) for the controller
25336 more docs for the controller
25337 integrated companies docs for the adapter
25339 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25341 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25342 (GST_START_TEST), (fakesrc_suite):
25343 add tests for sizetype
25345 2005-08-04 Andy Wingo <wingo@pobox.com>
25347 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25348 fixes buffer_alloc proxying among other things.
25350 * gst/base/gstbasetransform.c:
25351 * gst/base/gstbasetransform.h:
25352 Revert patch to gstbasetransform from 7-28 removing
25355 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25356 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25357 Semantics changed, should return not the size of the output buffer
25358 but the byte size of a buffer with a given caps.
25360 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25362 (gst_base_transform_configure_caps): Don't set out_size here: (in,
25363 out) are not the pad caps until setcaps finishes.
25364 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25365 not-in-place case as well. Deal with changing from in-place to
25366 not-in-place within calling pad_alloc_buffer. Still a bit
25367 concerned about the overhead here...
25369 2005-08-03 Andy Wingo <wingo@pobox.com>
25371 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25372 fixating is an error.
25374 2005-08-04 Edward Hervey <edward@fluendo.com>
25376 * gst/base/gstadapter.h:
25377 Added gst_adapter_get_type() to the header
25379 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25381 * check/Makefile.am:
25382 * check/gst-libs/controller.c:
25383 * libs/gst/controller/gst-controller.c:
25384 (gst_controller_new_valist):
25385 added check test suite for the controller
25386 * gst/base/gstpushsrc.c:
25389 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25391 * docs/gst/Makefile.am:
25392 * docs/gst/gstreamer-docs.sgml:
25393 * docs/gst/gstreamer-sections.txt:
25394 * docs/gst/gstreamer.types:
25395 * docs/gst/tmpl/gstfakesrc.sgml:
25397 * gst/base/gstbasesink.c:
25398 * gst/base/gstbasesink.h:
25399 * gst/base/gstbasesrc.c:
25400 * gst/base/gstbasesrc.h:
25401 * gst/base/gstbasetransform.c:
25402 * gst/base/gstpushsrc.c:
25403 * gst/base/gstpushsrc.h:
25404 add short/long description docs to base classes
25405 add pushsrc to the docs
25406 remove consolidated doc fragments
25408 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25411 * docs/libs/Makefile.am:
25412 * docs/libs/gstreamer-libs-docs.sgml:
25413 * docs/libs/gstreamer-libs-sections.txt:
25414 * docs/libs/gstreamer-libs.types:
25415 * examples/Makefile.am:
25416 * examples/controller/.cvsignore:
25417 * examples/controller/Makefile.am:
25418 * examples/controller/audio-example.c: (main):
25419 * libs/gst/Makefile.am:
25420 * libs/gst/controller/.cvsignore:
25421 * libs/gst/controller/Makefile.am:
25422 * libs/gst/controller/gst-controller.c:
25423 (on_object_controlled_property_changed), (gst_timed_value_compare),
25424 (gst_timed_value_find),
25425 (gst_controlled_property_set_interpolation_mode),
25426 (gst_controlled_property_new), (gst_controlled_property_free),
25427 (gst_controller_find_controlled_property),
25428 (gst_controller_new_valist), (gst_controller_new),
25429 (gst_controller_remove_properties_valist),
25430 (gst_controller_remove_properties), (gst_controller_set),
25431 (gst_controller_set_from_list), (gst_controller_unset),
25432 (gst_controller_get), (gst_controller_get_all),
25433 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25434 (gst_controller_get_value_array),
25435 (gst_controller_set_interpolation_mode),
25436 (_gst_controller_finalize), (_gst_controller_init),
25437 (_gst_controller_class_init), (gst_controller_get_type):
25438 * libs/gst/controller/gst-controller.h:
25439 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25440 (g_object_uncontrol_properties), (g_object_get_controller),
25441 (g_object_set_controller), (g_object_sink_values),
25442 (g_object_get_value_arrays), (g_object_get_value_array):
25443 * libs/gst/controller/gst-interpolation.c:
25444 (gst_controlled_property_find_timed_value_node),
25445 (interpolate_none_get), (interpolate_trigger_get),
25446 (interpolate_trigger_get_value_array):
25447 * libs/gst/controller/lib.c: (gst_controller_init):
25448 * pkgconfig/Makefile.am:
25449 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25450 * pkgconfig/gstreamer-control.pc.in:
25451 * testsuite/Makefile.am:
25452 * testsuite/controller/.cvsignore:
25453 * testsuite/controller/Makefile.am:
25454 * testsuite/controller/interpolator.c: (main):
25455 added controller code
25456 removed dparam pc files
25458 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25459 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25460 (gst_collectpads_stop):
25461 Broadcast the condition when shutting down, to make sure we wake all
25462 threads up. Shut down pads on finalize, for safety.
25464 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25465 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25466 (gst_base_transform_handle_buffer),
25467 (gst_base_transform_change_state):
25468 Handle PAUSED->READY->PAUSED transition after negotiation
25470 * gst/gstmessage.c: (gst_message_init):
25471 Extra piece of debug for new messages.
25473 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25476 * docs/gst/tmpl/gstbasesrc.sgml:
25477 * docs/gst/tmpl/gstelement.sgml:
25478 * docs/gst/tmpl/gstevent.sgml:
25479 * docs/gst/tmpl/gstfakesrc.sgml:
25480 * docs/gst/tmpl/gstformat.sgml:
25481 * docs/gst/tmpl/gstghostpad.sgml:
25482 * docs/gst/tmpl/gstpad.sgml:
25483 * docs/gst/tmpl/gstquery.sgml:
25484 * docs/gst/tmpl/gststructure.sgml:
25485 * docs/gst/tmpl/gsttaglist.sgml:
25486 * docs/gst/tmpl/gstvalue.sgml:
25487 * docs/libs/gstreamer-libs-docs.sgml:
25488 * docs/libs/gstreamer-libs-sections.txt:
25489 * docs/libs/gstreamer-libs.types:
25490 * libs/gst/Makefile.am:
25491 * libs/gst/control/.cvsignore:
25492 * libs/gst/control/Makefile.am:
25493 * libs/gst/control/control.c:
25494 * libs/gst/control/control.h:
25495 * libs/gst/control/dparam.c:
25496 * libs/gst/control/dparam.h:
25497 * libs/gst/control/dparam_smooth.c:
25498 * libs/gst/control/dparam_smooth.h:
25499 * libs/gst/control/dparamcommon.h:
25500 * libs/gst/control/dparammanager.c:
25501 * libs/gst/control/dparammanager.h:
25502 * libs/gst/control/dplinearinterp.c:
25503 * libs/gst/control/dplinearinterp.h:
25504 * libs/gst/control/unitconvert.c:
25505 * libs/gst/control/unitconvert.h:
25506 * testsuite/Makefile.am:
25507 * testsuite/dynparams/.cvsignore:
25508 * testsuite/dynparams/Makefile.am:
25509 * testsuite/dynparams/dparamstest.c:
25510 * tools/Makefile.am:
25511 * tools/gst-inspect.c: (print_element_info), (main):
25512 * tools/gst-xmlinspect.c: (print_element_info), (main):
25513 deactivate and remove dparams (libgstcontrol)
25515 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25517 * gst/elements/gsttypefindelement.c:
25518 (gst_type_find_element_have_type), (gst_type_find_element_init),
25519 (stop_typefinding), (gst_type_find_element_handle_event),
25520 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25521 * gst/elements/gsttypefindelement.h:
25522 Set caps on all outgoing buffers, not just the first one.
25524 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25526 * gst/elements/gsttypefindelement.c:
25527 (gst_type_find_element_have_type),
25528 (gst_type_find_element_check_set_buffer_caps),
25529 (gst_type_find_element_init), (stop_typefinding),
25530 (gst_type_find_element_handle_event),
25531 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25532 * gst/elements/gsttypefindelement.h:
25533 Set caps on first outgoing buffer when we've found the type.
25535 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25537 * docs/gst/gstreamer-docs.sgml:
25538 * docs/gst/gstreamer-sections.txt:
25539 * docs/gst/tmpl/gstscheduler.sgml:
25540 * docs/gst/tmpl/gstschedulerfactory.sgml:
25541 Remove some old cruft from docs.
25543 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25546 Fix inline docs for GstPadLinkReturn.
25548 * gst/gststructure.c: (gst_structure_has_name):
25549 * gst/gststructure.h:
25550 * docs/gst/gstreamer-sections.txt:
25551 New API: gst_structure_has_name().
25553 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25556 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25557 and _LARGEFILE_SOURCE in config.h as required. Do not
25558 export those flags in our .pc files any longer (#142209).
25560 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25562 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25563 (gst_file_sink_do_seek), (gst_file_sink_event),
25564 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25565 Redo seek/tell calls with large file support in mind; add some
25566 debugging messages; add log message that tells us when large
25567 file support is unavailable or not enabled for some reason.
25569 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25570 Add log message that tells us when large file support
25571 is unavailable or not enabled for some reason.
25573 2005-07-29 Wim Taymans <wim@fluendo.com>
25575 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25576 Added test for removing an element with ghostpad from a bin.
25577 Fixed test as current implementation does the right thing.
25579 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25580 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25581 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25582 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25583 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25584 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25585 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25586 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25587 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25588 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25589 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25590 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25591 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25592 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25593 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25594 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25595 * gst/gstghostpad.h:
25596 Clean up ghostpads, remove properties for internal stuff.
25599 Prepare for switching targets, not all use cases work yet.
25601 2005-07-29 Wim Taymans <wim@fluendo.com>
25603 * docs/design/part-gstghostpad.txt:
25606 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25607 (gst_bin_remove_func):
25608 Unlinking pads while holding the bin LOCK is not a good
25611 * gst/gstpad.c: (gst_pad_class_init),
25612 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25613 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25614 No prob setting template after creating the pad.
25616 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25618 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25619 (gst_bus_peek), (gst_bus_source_dispatch),
25620 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25621 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25622 gst_bus_poll may be called from other threads. Handle
25623 this nicely by not making poll_data disappear off the
25624 stack once gst_bus_poll returns.
25625 gst_bus_peek now increments the refcount on the returned
25628 2005-07-29 Wim Taymans <wim@fluendo.com>
25630 * docs/design/part-gstghostpad.txt:
25631 Overview of current GhostPad datastructures and use
25632 cases for changing the target.
25634 2005-07-28 Wim Taymans <wim@fluendo.com>
25636 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25637 Added checks for hierarchy consistency whan adding linked
25640 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25641 Added check to test element scheduling without bin/pipeline.
25643 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25644 First add elements to bin, then link.
25646 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25647 (gst_bin_remove_func):
25648 Unlink pads from elements added/removed from bin to maintain
25649 hierarchy consistency.
25651 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25653 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25654 (gst_base_transform_handle_buffer):
25655 * gst/base/gstbasetransform.h:
25656 Remove broken delay_configure (fixes renegotiation of software
25657 scaling pipelines); remove some leftover printf()s.
25659 2005-07-28 Wim Taymans <wim@fluendo.com>
25661 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25662 Added some more tests for wrong hierarchy
25664 * docs/design/part-overview.txt:
25667 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25670 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25671 (gst_element_dispose):
25672 Some more cleanups.
25674 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25675 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25676 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25677 (gst_pad_set_caps), (gst_pad_send_event):
25678 Check for correct hierarchy when linking pads. Moving to
25679 strict requirement for ghostpads when linking elements in
25683 Clean ups. Added WRONG_HIERARCHY return value.
25685 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25687 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25688 Better debug if no transform is possible.
25690 2005-07-27 Wim Taymans <wim@fluendo.com>
25692 * docs/random/wtay/network-transp:
25693 Some old doc I had.
25695 2005-07-27 Wim Taymans <wim@fluendo.com>
25697 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25698 (gst_dp_event_from_packet):
25699 Fix serialization of seek events.
25701 2005-07-27 Wim Taymans <wim@fluendo.com>
25703 * check/gst-libs/gdp.c: (GST_START_TEST):
25704 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25705 Fix compilation and fix event serialization.
25707 2005-07-27 Wim Taymans <wim@fluendo.com>
25710 * docs/design/part-TODO.txt:
25711 * docs/design/part-events.txt:
25714 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25715 (gst_base_sink_event), (gst_base_sink_do_sync),
25716 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25717 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25718 (gst_base_src_do_seek), (gst_base_src_event_handler),
25719 (gst_base_src_loop):
25720 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25721 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25722 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25723 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25724 (gst_base_transform_set_passthrough),
25725 (gst_base_transform_is_passthrough):
25726 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25727 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25733 * gst/gstelement.c: (gst_element_seek):
25734 * gst/gstelement.h:
25735 Update gst_element_seek.
25737 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25738 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25739 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25740 (gst_event_new_eos), (gst_event_new_newsegment),
25741 (gst_event_parse_newsegment), (gst_event_new_tag),
25742 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25743 (gst_event_parse_qos), (gst_event_new_seek),
25744 (gst_event_parse_seek), (gst_event_new_navigation):
25746 Make GstEvent use GstStructure. Add parsing code, make sure the
25747 API is sufficiently generic.
25748 Mark possible directions of events and serialization.
25750 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25751 (_gst_message_copy), (gst_message_new_segment_start),
25752 (gst_message_new_segment_done), (gst_message_new_custom),
25753 (gst_message_parse_segment_start),
25754 (gst_message_parse_segment_done):
25757 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25758 (gst_pad_set_caps), (gst_pad_send_event):
25759 Update for new events.
25760 Catch events sent in wrong directions.
25762 * gst/gstqueue.c: (gst_queue_link_src),
25763 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25764 (gst_queue_handle_src_query):
25769 Remove event code from this file.
25771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25772 (gst_dp_event_from_packet):
25775 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25777 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25778 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25779 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25780 Make debugging actually useful.
25782 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25784 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25785 (gst_pad_fixate_caps):
25786 Implement default fixation once again, so that gst_pad_fixate()
25787 actually does anything at all. This probably needs to be some
25788 sort of a last resort, and use profile-based fixation first, but
25789 since that doesn't exist yet, this is the best we have. Fixes
25790 visualization in Totem.
25792 2005-07-22 Wim Taymans <wim@fluendo.com>
25794 * docs/design/part-events.txt:
25797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25798 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25799 (gst_base_sink_activate_pull):
25800 Some more comments.
25802 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25803 (gst_fake_src_create):
25804 Fix handoff marshall.
25806 * gst/elements/gstidentity.c: (gst_identity_class_init),
25807 (gst_identity_transform_ip):
25808 We're a real inplace element.
25810 * gst/gstbus.c: (gst_bus_post):
25811 Added some comments.
25813 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25814 * tests/muxing/case1.c: (main):
25815 * tests/sched/dynamic-pipeline.c: (main):
25816 * tests/sched/interrupt1.c: (main):
25817 * tests/sched/interrupt2.c: (main):
25818 * tests/sched/interrupt3.c: (main):
25819 * tests/sched/runxml.c: (main):
25820 * tests/sched/sched-stress.c: (main):
25821 * tests/seeking/seeking1.c: (event_received), (main):
25822 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25824 * tests/threadstate/threadstate3.c: (main):
25825 * tests/threadstate/threadstate4.c: (main):
25826 * tests/threadstate/threadstate5.c: (main):
25829 2005-07-21 Wim Taymans <wim@fluendo.com>
25831 * docs/design/part-seeking.txt:
25832 Some small additions.
25834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25835 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25836 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25837 * gst/base/gstbasesink.h:
25838 discont values are gint64, handle the math correctly.
25840 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25841 Make the basesrc report error if the source pad is not linked.
25843 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25844 (gst_queue_loop), (gst_queue_handle_src_query),
25845 (gst_queue_src_activate_push):
25846 Make queue collect data even if the srcpad is not linked.
25847 Start pushing out data as soon as it is linked.
25849 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25851 Added gst_flow_get_name() to ease error reporting.
25853 2005-07-20 Wim Taymans <wim@fluendo.com>
25855 * gst/gstmessage.c: (gst_message_new_segment_start),
25856 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25857 (gst_message_parse_segment_done):
25858 * gst/gstmessage.h:
25859 Added a bunch of messages for advanced seeking.
25861 * gst/parse/grammar.y:
25862 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25863 (gst_dpman_state_changed):
25864 Fix some new-pad -> pad-added signals
25866 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25868 * docs/manual/appendix-porting.xml:
25869 * docs/pwg/appendix-porting.xml:
25870 Document new-pad/state-change signal renames and the FixedList
25873 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25875 * docs/manual/advanced-autoplugging.xml:
25876 * docs/manual/basics-helloworld.xml:
25877 * docs/manual/basics-pads.xml:
25878 * docs/random/ds/0.9-suggested-changes:
25879 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25880 * gst/gstelement.h:
25884 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25885 (gst_structure_parse_array), (gst_structure_parse_value):
25886 * gst/gstvalue.c: (gst_type_is_fixed),
25887 (gst_value_list_prepend_value), (gst_value_list_append_value),
25888 (gst_value_list_get_size), (gst_value_list_get_value),
25889 (gst_value_transform_array_string), (gst_value_serialize_array),
25890 (gst_value_deserialize_array), (gst_value_intersect_array),
25891 (gst_value_is_fixed), (_gst_value_initialize):
25893 GstElement::new-pad -> pad-added, GstElement::state-change ->
25894 state-changed, GstValueFixedList -> GstValueArray, add format and
25895 flags as their own arguments in gst_element_seek() (should improve
25896 "bindeability"), remove function generators since they don't work
25897 under a whole bunch of compilers (they were deprecated already
25900 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25902 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25903 (_gst_debug_register_funcptr):
25905 Fix illegal cast on some platforms (#309253).
25907 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25909 * gst/gstmessage.c: (gst_message_new_custom):
25910 * gst/gstmessage.h:
25911 Add _new_custom, make _new_application a macro to _new_custom.
25913 2005-07-20 Wim Taymans <wim@fluendo.com>
25915 * gst/base/gstbasesrc.c: (gst_base_src_init),
25916 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25917 * gst/base/gstbasesrc.h:
25918 Add a gboolean to decide when to push out a discont.
25920 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25921 (gst_queue_loop), (gst_queue_handle_src_query),
25922 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25923 (gst_queue_set_property), (gst_queue_get_property):
25926 * tests/threadstate/threadstate1.c: (main):
25927 Make a thread test compile and run... very silly..
25930 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25932 * docs/manual/appendix-porting.xml:
25933 Mention removal of libgstgconf-0.9.la and existence of gconf
25936 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25938 * docs/pwg/advanced-clock.xml:
25939 * docs/pwg/appendix-porting.xml:
25940 * docs/pwg/intro-preface.xml:
25941 * docs/pwg/other-base.xml:
25942 * docs/pwg/other-manager.xml:
25943 * docs/pwg/other-nton.xml:
25944 * docs/pwg/other-ntoone.xml:
25945 * docs/pwg/other-oneton.xml:
25946 * docs/pwg/pwg.xml:
25947 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25948 demuxer), remove n-to-n (was never written), fix some code examples
25949 and links and update the porting section to include all this.
25951 2005-07-19 Wim Taymans <wim@fluendo.com>
25953 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25954 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25955 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25956 (gst_queue_src_activate_push), (gst_queue_change_state),
25957 (gst_queue_get_property):
25959 Propagate GstFlowReturn more intelligently upstream and output
25960 an ERROR/EOS when streaming stopped due to fatal error.
25962 2005-07-19 Wim Taymans <wim@fluendo.com>
25964 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25965 Don't block forever for the state change to complete, the
25966 pipeline already did with a sensible timeout.
25968 2005-07-19 Wim Taymans <wim@fluendo.com>
25970 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25971 Make sure we never call the create function is we
25974 2005-07-19 Andy Wingo <wingo@pobox.com>
25976 * gst/parse/parse.l: Attempt to solve bug #172815.
25978 2005-07-19 Wim Taymans <wim@fluendo.com>
25980 * docs/design/part-clocks.txt:
25981 * docs/design/part-events.txt:
25982 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25983 Small docs updates.
25984 Only update the seeking values when we are not
25987 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25989 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25990 Oops, ignore the result of gst_pad_push_event here.
25992 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25994 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25995 (gst_base_src_activate_push):
25996 Send discont event from the loop function, as pads
25997 aren't activated yet in the activate_push handler.
25999 * gst/gstbin.c: (bin_bus_handler):
26000 Don't leak element name.
26002 2005-07-18 Andy Wingo <wingo@pobox.com>
26004 * configure.ac: Use AS_LIBTOOL_TAGS.
26006 2005-07-18 Wim Taymans <wim@fluendo.com>
26008 * docs/gst/gstreamer.types:
26009 Remove deleted types.
26011 2005-07-18 Wim Taymans <wim@fluendo.com>
26013 * check/elements/gstfakesrc.c: (GST_START_TEST):
26016 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26017 (init_popt_callback):
26019 * gst/gst_private.h:
26020 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26021 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26024 * gst/gstconfig.h.in:
26025 * gst/gstelement.c: (gst_element_class_init),
26026 (gst_element_set_base_time), (gst_element_get_base_time),
26027 (iterator_fold_with_resync), (gst_element_change_state),
26028 (gst_element_dispose), (gst_element_get_bus):
26029 * gst/gstelement.h:
26030 * gst/gstelementfactory.h:
26031 * gst/gsterror.c: (_gst_core_errors_init):
26034 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26036 * gst/gstinfo.c: (_gst_debug_init):
26037 * gst/gstmessage.c: (_gst_message_copy):
26038 * gst/gstmessage.h:
26039 * gst/gstminiobject.h:
26042 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26043 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26046 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26047 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26048 (gst_pipeline_get_last_stream_time):
26049 * gst/gstpipeline.h:
26050 * gst/gstpluginfeature.h:
26052 * gst/gstscheduler.c:
26053 * gst/gstscheduler.h:
26054 * gst/gststructure.h:
26055 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26056 (gst_task_finalize), (gst_task_func), (gst_task_create),
26057 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26058 (gst_task_stop), (gst_task_pause):
26060 * gst/gsttypefind.h:
26062 * gst/registries/gstlibxmlregistry.c: (load_feature),
26063 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26064 * gst/registries/gstxmlregistry.c:
26065 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26066 * gst/schedulers/threadscheduler.c:
26067 * libs/gst/control/dparammanager.h:
26068 * tools/gst-inspect.c: (print_element_list),
26069 (print_plugin_features), (print_element_features):
26070 * tools/gst-xmlinspect.c: (print_element_list),
26071 (print_plugin_info), (main):
26072 Removed plugable schedulers.
26073 Removed Scheduler/Manager from elements.
26074 Removed gsttypes.h, rearranged includes.
26075 Removed dependency pad<->element, element<>pipeline, and
26076 various others, fix includes.
26077 implement gst_pad_get_parent() with gst_object_get_parent()
26078 Make GstTask sefcontained.
26079 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26081 Fix endless loop in iterator_fold_with_resync.
26084 2005-07-18 Wim Taymans <wim@fluendo.com>
26090 2005-07-18 Wim Taymans <wim@fluendo.com>
26093 No more cothreads.h
26095 2005-07-18 Wim Taymans <wim@fluendo.com>
26099 Let's remove these.
26101 2005-07-18 Wim Taymans <wim@fluendo.com>
26103 * docs/design/part-dynamic.txt:
26104 * docs/design/part-events.txt:
26105 * docs/design/part-seeking.txt:
26106 Some more docs in the works.
26108 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26109 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26110 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26111 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26112 (gst_base_transform_handle_buffer),
26113 (gst_base_transform_sink_activate_push),
26114 (gst_base_transform_src_activate_pull),
26115 (gst_base_transform_set_passthrough),
26116 (gst_base_transform_is_passthrough):
26119 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26122 * gst/gstevent.c: (gst_event_finalize):
26125 * gst/gstutils.c: (gst_element_unlink),
26126 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26127 (gst_pad_proxy_setcaps):
26129 Add _get_parent_element() to get a pads parent as an element.
26131 2005-07-18 Wim Taymans <wim@fluendo.com>
26133 * check/gst/gstbin.c: (GST_START_TEST):
26136 2005-07-18 Wim Taymans <wim@fluendo.com>
26138 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26139 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26140 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26141 (gst_base_sink_event), (gst_base_sink_do_sync),
26142 (gst_base_sink_chain), (gst_base_sink_loop),
26143 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26144 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26146 Fix logic for returning ASYNC when not prerolled.
26148 2005-07-18 Wim Taymans <wim@fluendo.com>
26150 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26151 Fix nasty refcount bug.
26153 2005-07-16 Philippe Khalaf <burger@speedy.org>
26155 * gst/elements/gstfdsrc.c:
26156 * gst/elements/gstfdsrc.h:
26157 * gst/elements/gstelements.c:
26158 * gst/elements/Makefile.am:
26159 Ported fdsrc to 0.9.
26161 2005-07-16 Wim Taymans <wim@fluendo.com>
26163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26164 (gst_base_sink_do_sync):
26167 2005-07-16 Wim Taymans <wim@fluendo.com>
26169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26170 (gst_base_sink_event), (gst_base_sink_get_times),
26171 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26172 * gst/base/gstbasesink.h:
26173 Store and use discont values when syncing buffers as described
26176 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26177 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26178 (gst_base_src_activate_push):
26179 Push discont event when starting.
26181 * gst/elements/gstidentity.c: (gst_identity_transform):
26184 * gst/gstbin.c: (gst_bin_change_state):
26185 Small cleanups in base_time distribution.
26187 * gst/gstelement.c: (gst_element_set_base_time),
26188 (gst_element_get_base_time), (gst_element_change_state):
26189 * gst/gstelement.h:
26190 Added methods for the base_time of the element.
26193 * gst/gstpipeline.c: (gst_pipeline_send_event),
26194 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26195 (gst_pipeline_get_last_stream_time):
26196 * gst/gstpipeline.h:
26198 Handle seeking as described in design doc, remove stream_time
26200 Cleanups clock and stream_time selection code. Added accessors
26201 for the stream_time.
26204 2005-07-16 Andy Wingo <wingo@pobox.com>
26206 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26209 2005-07-16 Wim Taymans <wim@fluendo.com>
26211 * check/gst/gstbin.c: (GST_START_TEST):
26212 Make elements silent as the deep_notify refs the
26213 parent, which might make the test fail.
26215 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26216 Don't hold the lock for too long.
26218 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26220 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26221 Don't unref the caps we passed to gst_caps_make_writable() after
26222 passing them. gst_caps_make_writable() will do that for us.
26224 2005-07-15 Andy Wingo <wingo@pobox.com>
26226 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26229 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26230 own marshalling function for the handoff signal. Properly type the
26231 buffer as a buffer. Fixes some warnings. Should do a more general
26233 (gst_identity_class_init): Plug into the right marshaller.
26235 2005-07-15 Wim Taymans <wim@fluendo.com>
26237 * docs/design/part-TODO.txt:
26238 * docs/design/part-clocks.txt:
26239 * docs/design/part-element-sink.txt:
26240 * docs/design/part-events.txt:
26241 * docs/design/part-gstpipeline.txt:
26242 Updated docs, mostly DISCONT related.
26244 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26246 * docs/pwg/building-pads.xml:
26247 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26249 2005-07-15 Andy Wingo <wingo@pobox.com>
26251 * tools/gst-typefind.c: Update, add copyright block.
26253 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26254 Normalize and truncate caps before fixation.
26257 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26258 discards all but the first structure from its argument.
26260 2005-07-15 Wim Taymans <wim@fluendo.com>
26262 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26263 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26264 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26265 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26266 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26267 (gst_base_transform_chain), (gst_base_transform_change_state),
26268 (gst_base_transform_set_passthrough),
26269 (gst_base_transform_is_passthrough):
26270 * gst/base/gstbasetransform.h:
26271 Make passthrough work using the bufferpools.
26272 Changed API a bit, subclasses have to write into a buffer
26273 provided by the base class.
26274 More debug info in nego functions.
26276 * gst/elements/gstidentity.c: (gst_identity_init),
26277 (gst_identity_transform):
26278 Port to new base class.
26280 2005-07-15 Wim Taymans <wim@fluendo.com>
26282 * gst/gstmessage.c: (gst_message_new_state_changed):
26283 * tools/gst-launch.c: (event_loop), (main):
26284 Totally dump messages in -launch with the -m option.
26285 Fix message name for State messages,
26287 2005-07-14 Wim Taymans <wim@fluendo.com>
26289 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26290 Post error messages on errors.
26292 2005-07-14 Wim Taymans <wim@fluendo.com>
26294 * gst/gstcaps.c: (gst_caps_do_simplify):
26298 Define error for stream stopped.
26300 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26301 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26302 Do proper return values.
26304 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26305 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26306 (gst_pad_get_range):
26307 Better return values.
26310 Reorganise return values, add macro to check for fatal errors.
26312 * gst/gstqueue.c: (gst_queue_chain):
26313 Return proper GstFlowReturn values,
26315 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26317 * docs/gst/gstreamer-sections.txt:
26318 * docs/gst/gstreamer.types:
26319 * docs/gst/tmpl/gst.sgml:
26320 * docs/gst/tmpl/gstbasesink.sgml:
26321 * docs/gst/tmpl/gstbasesrc.sgml:
26322 * docs/gst/tmpl/gstbasetransform.sgml:
26323 * docs/gst/tmpl/gstbin.sgml:
26324 * docs/gst/tmpl/gstbuffer.sgml:
26325 * docs/gst/tmpl/gstcaps.sgml:
26326 * docs/gst/tmpl/gstclock.sgml:
26327 * docs/gst/tmpl/gstcompat.sgml:
26328 * docs/gst/tmpl/gstconfig.sgml:
26329 * docs/gst/tmpl/gstelement.sgml:
26330 * docs/gst/tmpl/gstelementdetails.sgml:
26331 * docs/gst/tmpl/gstelementfactory.sgml:
26332 * docs/gst/tmpl/gstenumtypes.sgml:
26333 * docs/gst/tmpl/gsterror.sgml:
26334 * docs/gst/tmpl/gstevent.sgml:
26335 * docs/gst/tmpl/gstfakesink.sgml:
26336 * docs/gst/tmpl/gstfakesrc.sgml:
26337 * docs/gst/tmpl/gstfilesink.sgml:
26338 * docs/gst/tmpl/gstfilesrc.sgml:
26339 * docs/gst/tmpl/gstfilter.sgml:
26340 * docs/gst/tmpl/gstformat.sgml:
26341 * docs/gst/tmpl/gstghostpad.sgml:
26342 * docs/gst/tmpl/gstimplementsinterface.sgml:
26343 * docs/gst/tmpl/gstindex.sgml:
26344 * docs/gst/tmpl/gstindexfactory.sgml:
26345 * docs/gst/tmpl/gstinfo.sgml:
26346 * docs/gst/tmpl/gstiterator.sgml:
26347 * docs/gst/tmpl/gstmacros.sgml:
26348 * docs/gst/tmpl/gstmemchunk.sgml:
26349 * docs/gst/tmpl/gstminiobject.sgml:
26350 * docs/gst/tmpl/gstobject.sgml:
26351 * docs/gst/tmpl/gstpad.sgml:
26352 * docs/gst/tmpl/gstpadtemplate.sgml:
26353 * docs/gst/tmpl/gstparse.sgml:
26354 * docs/gst/tmpl/gstpipeline.sgml:
26355 * docs/gst/tmpl/gstplugin.sgml:
26356 * docs/gst/tmpl/gstpluginfeature.sgml:
26357 * docs/gst/tmpl/gstquery.sgml:
26358 * docs/gst/tmpl/gstqueue.sgml:
26359 * docs/gst/tmpl/gstregistry.sgml:
26360 * docs/gst/tmpl/gstregistrypool.sgml:
26361 * docs/gst/tmpl/gstscheduler.sgml:
26362 * docs/gst/tmpl/gstschedulerfactory.sgml:
26363 * docs/gst/tmpl/gststructure.sgml:
26364 * docs/gst/tmpl/gstsystemclock.sgml:
26365 * docs/gst/tmpl/gsttaglist.sgml:
26366 * docs/gst/tmpl/gsttagsetter.sgml:
26367 * docs/gst/tmpl/gsttrace.sgml:
26368 * docs/gst/tmpl/gsttrashstack.sgml:
26369 * docs/gst/tmpl/gsttypefind.sgml:
26370 * docs/gst/tmpl/gsttypefindfactory.sgml:
26371 * docs/gst/tmpl/gsttypes.sgml:
26372 * docs/gst/tmpl/gsturihandler.sgml:
26373 * docs/gst/tmpl/gsturitype.sgml:
26374 * docs/gst/tmpl/gstutils.sgml:
26375 * docs/gst/tmpl/gstvalue.sgml:
26376 * docs/gst/tmpl/gstversion.sgml:
26377 * docs/gst/tmpl/gstxml.sgml:
26378 * docs/libs/tmpl/gstcontrol.sgml:
26379 * docs/libs/tmpl/gstdataprotocol.sgml:
26380 * docs/libs/tmpl/gstdparam.sgml:
26381 * docs/libs/tmpl/gstdplinint.sgml:
26382 * docs/libs/tmpl/gstdpman.sgml:
26383 * docs/libs/tmpl/gstdpsmooth.sgml:
26384 * docs/libs/tmpl/gstgetbits.sgml:
26385 * docs/libs/tmpl/gstunitconvert.sgml:
26386 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26387 (gst_push_src_base_init), (gst_push_src_class_init),
26388 (gst_push_src_init), (gst_push_src_create):
26389 * gst/base/gstpushsrc.h:
26390 * gst/elements/gstelements.c:
26391 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26392 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26393 (gst_fake_sink_init), (gst_fake_sink_set_property),
26394 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26395 (gst_fake_sink_event), (gst_fake_sink_preroll),
26396 (gst_fake_sink_render), (gst_fake_sink_change_state):
26397 * gst/elements/gstfakesink.h:
26398 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26399 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26400 (gst_fake_src_base_init), (gst_fake_src_class_init),
26401 (gst_fake_src_init), (gst_fake_src_event_handler),
26402 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26403 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26404 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26405 (gst_fake_src_create_buffer), (gst_fake_src_create),
26406 (gst_fake_src_start), (gst_fake_src_stop):
26407 * gst/elements/gstfakesrc.h:
26408 * gst/elements/gstfilesink.c: (_do_init),
26409 (gst_file_sink_base_init), (gst_file_sink_class_init),
26410 (gst_file_sink_init), (gst_file_sink_dispose),
26411 (gst_file_sink_set_location), (gst_file_sink_set_property),
26412 (gst_file_sink_get_property), (gst_file_sink_open_file),
26413 (gst_file_sink_close_file), (gst_file_sink_query),
26414 (gst_file_sink_event), (gst_file_sink_render),
26415 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26416 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26417 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26418 * gst/elements/gstfilesink.h:
26419 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26420 (gst_file_src_class_init), (gst_file_src_init),
26421 (gst_file_src_finalize), (gst_file_src_set_location),
26422 (gst_file_src_set_property), (gst_file_src_get_property),
26423 (gst_file_src_map_region), (gst_file_src_map_small_region),
26424 (gst_file_src_create_mmap), (gst_file_src_create_read),
26425 (gst_file_src_create), (gst_file_src_is_seekable),
26426 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26427 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26428 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26429 (gst_file_src_uri_handler_init):
26430 * gst/elements/gstfilesrc.h:
26431 more autistic cleanliness in functions/names/defines
26433 2005-07-13 Andy Wingo <wingo@pobox.com>
26435 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26436 source couldn't negotiate.
26438 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26442 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26443 function. I am channeling Hades. Put your boots on suckers!!!
26445 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26447 * testsuite/caps/Makefile.am:
26448 * testsuite/caps/value_compare.c:
26449 * testsuite/caps/value_intersect.c:
26450 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26451 move two testsuite apps over to the check dir
26453 2005-07-12 Wim Taymans <wim@fluendo.com>
26455 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26456 Added more debug info in the negotiate process.
26458 * gst/gstmessage.h:
26459 Prepare for segment playback.
26461 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26467 * tools/gst-launch.c: (main):
26468 NULL pipeline on errors.
26470 2005-07-12 Andy Wingo <wingo@pobox.com>
26472 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26473 not it comes from a malloc region. Make sure our copy gets freed.
26475 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26477 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26478 * check/gst/gstmessage.c: (GST_START_TEST):
26479 * check/gst/gststructure.c: (GST_START_TEST),
26480 (gst_structure_suite), (main):
26482 * gst/gstelement.c: (gst_element_message_full):
26483 clean up GError and debug string now that they get copied
26484 * gst/gstmessage.c: (gst_message_new_error),
26485 (gst_message_new_warning), (gst_message_parse_error),
26486 (gst_message_parse_warning):
26487 use GST_TYPE_G_ERROR for structure_new, and take copies of
26488 arguments, so that we don't mess up refcounting
26490 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26492 * check/Makefile.am:
26493 add per-test valgrind targets
26494 * check/gst-libs/gdp.c: (GST_START_TEST),
26495 (gst_data_protocol_suite), (main):
26498 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26500 * check/Makefile.am:
26501 instate more valgrindable tests
26502 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26503 (GST_START_TEST), (fakesrc_suite):
26504 * check/gst/gstpad.c: (GST_START_TEST):
26505 * check/gst/gststructure.c: (GST_START_TEST):
26507 * docs/gst/tmpl/gstminiobject.sgml:
26508 * gst/gstpad.c: (gst_pad_finalize):
26509 fix the static mutex leak
26511 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26513 * check/Makefile.am:
26514 add two more tests for valgrinding
26515 * check/gst/gstvalue.c: (GST_START_TEST):
26516 test refcount of deserialized buffer, found a leak
26517 * docs/gst/gstreamer-docs.sgml:
26518 * docs/gst/gstreamer-sections.txt:
26519 * docs/gst/gstreamer.types:
26520 * docs/gst/tmpl/gstminiobject.sgml:
26521 add miniobject to docs
26522 * gst/gstminiobject.c:
26524 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26525 (gst_string_unwrap):
26526 fix a hard-to-find invalid write for one of the tests
26527 fix a leak for deserialized buffers
26529 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26531 * docs/pwg/advanced-events.xml:
26532 * docs/pwg/advanced-request.xml:
26533 * docs/pwg/advanced-scheduling.xml:
26534 * docs/pwg/appendix-porting.xml:
26535 * docs/pwg/building-boiler.xml:
26536 * docs/pwg/intro-preface.xml:
26537 * docs/pwg/other-ntoone.xml:
26538 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26539 of example code and explanation for pad activation, loop() and
26540 getrange() functions and a bit more. Remove old comments pointing
26542 * examples/pwg/Makefile.am:
26543 Add loop/getrange examples.
26545 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26548 check for valgrind binary + some fixes
26550 valgrind suppressions for the tests
26551 * check/Makefile.am:
26552 add a valgrind: target that valgrinds the unit tests
26553 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26554 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26555 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26556 * check/gst/gstghostpad.c:
26558 * check/gst/gstdata.c:
26560 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26561 (thread_unref), (gst_mini_object_suite), (main):
26563 * gst/gst.c: (gst_deinit):
26565 add a method to clean up.
26566 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26567 (gst_system_clock_obtain):
26568 allow for disposing the system clock.
26569 * tools/gst-launch.c: (main):
26572 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26574 * docs/gst/tmpl/gstbasesrc.sgml:
26575 * docs/gst/tmpl/gstfakesrc.sgml:
26576 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26577 (gst_base_src_init), (gst_base_src_set_property),
26578 (gst_base_src_get_property), (gst_base_src_get_range),
26579 (gst_base_src_start):
26580 * gst/base/gstbasesrc.h:
26581 add num-buffers property
26582 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26583 (gst_fakesrc_init), (gst_fakesrc_set_property),
26584 (gst_fakesrc_get_property), (gst_fakesrc_create),
26585 (gst_fakesrc_start):
26586 remove num-buffers property
26588 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26590 * docs/gst/gstreamer-sections.txt:
26591 * docs/gst/tmpl/gstbasesink.sgml:
26592 * docs/gst/tmpl/gstbasesrc.sgml:
26593 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26594 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26595 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26596 (gst_base_sink_set_property), (gst_base_sink_get_property),
26597 (gst_base_sink_handle_object), (gst_base_sink_event),
26598 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26599 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26600 (gst_base_sink_loop), (gst_base_sink_deactivate),
26601 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26602 (gst_base_sink_change_state):
26603 * gst/base/gstbasesink.h:
26604 * gst/base/gstbasesrc.h:
26605 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26606 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26607 (gst_filesink_init):
26608 more macro splitting
26610 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26612 * gst/gstelement.c: (gst_element_get_bus):
26614 * tools/gst-launch.c: (check_intr), (event_loop):
26617 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26619 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26622 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26624 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26625 (gst_base_src_finalize):
26626 add finalize method and clean up properly
26627 * gst/gstpipeline.c: (gst_pipeline_dispose):
26630 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26632 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26634 add more things to check
26635 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26636 * gst/gstelement.c:
26639 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26641 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26642 (GST_START_TEST), (fakesrc_suite):
26643 * check/gst-libs/gdp.c: (GST_START_TEST):
26644 * check/gst/gst.c: (GST_START_TEST):
26645 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26646 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26647 * check/gst/gstbus.c: (GST_START_TEST):
26648 * check/gst/gstcaps.c: (GST_START_TEST):
26649 * check/gst/gstdata.c: (GST_START_TEST):
26650 * check/gst/gstelement.c: (GST_START_TEST):
26651 * check/gst/gstghostpad.c: (GST_START_TEST):
26652 * check/gst/gstiterator.c: (GST_START_TEST):
26653 * check/gst/gstmessage.c: (GST_START_TEST):
26654 * check/gst/gstobject.c: (GST_START_TEST):
26655 * check/gst/gstpad.c: (GST_START_TEST):
26656 * check/gst/gststructure.c: (GST_START_TEST):
26657 * check/gst/gstsystemclock.c: (GST_START_TEST),
26658 (gst_systemclock_suite):
26659 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26660 * check/gst/gstvalue.c: (GST_START_TEST):
26661 * check/pipelines/cleanup.c: (GST_START_TEST):
26662 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26663 * check/states/sinks.c: (GST_START_TEST):
26664 * check/gstcheck.c: (gst_check_init):
26665 * check/gstcheck.h:
26666 add debugging category
26667 use GST_START_TEST now, so we add a debug line
26669 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26671 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26672 add test for state change message on a bin
26673 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26675 * gst/gstbin.c: (gst_bin_init):
26676 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26677 * gst/gstelement.c: (gst_element_post_message),
26678 (gst_element_set_state):
26679 * gst/gstelementfactory.c: (gst_element_factory_create):
26680 * gst/gstmessage.c: (gst_message_new):
26681 * gst/gstscheduler.c:
26682 various debugging additions and cleanups
26684 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26686 * check/Makefile.am:
26687 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26689 adding tests for elements
26690 * gst/gstelement.c: (gst_element_dispose):
26692 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26694 * gst/registries/gstlibxmlregistry.c: (load_feature):
26695 plug more leaks. A simple gst_init() now is leakfree, yay.
26697 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26699 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26700 (gst_xml_registry_load):
26701 plug another memleak
26703 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26706 use GST_SET_ERROR_CFLAGS
26707 * docs/faq/cvs.xml:
26708 change to ERROR_CFLAGS
26710 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26713 make GST_ERROR_CFLAGS overridable and re-enable Werror
26714 * docs/faq/cvs.xml:
26715 add a note about error CFLAGS
26716 * docs/gst/tmpl/gstfakesrc.sgml:
26717 * gst/elements/gstfakesrc.c:
26718 comment out some unused code
26719 * gst/gst.c: (split_and_iterate):
26720 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26724 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26726 * common/Makefile.am:
26727 * common/gtk-doc.mak:
26728 * docs/gst/Makefile.am:
26729 factor out gtk-doc.mak
26731 2005-07-07 Wim Taymans <wim@fluendo.com>
26733 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26734 (gst_thread_scheduler_dispose):
26735 Unlock the STREAM_LOCK completely.
26737 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26739 * check/Makefile.am:
26740 * check/elements/.cvsignore:
26741 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26742 (START_TEST), (fakesrc_suite), (main):
26743 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26744 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26745 (gst_fakesrc_create), (gst_fakesrc_start):
26746 * gst/elements/gstfakesrc.h:
26747 adding a first element test
26749 2005-07-07 Andy Wingo <wingo@pobox.com>
26751 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26754 2005-07-07 Wim Taymans <wim@fluendo.com>
26760 2005-07-07 Wim Taymans <wim@fluendo.com>
26762 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26763 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26764 Allow subclasses to implement their own negotiation.
26766 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26768 * docs/design/part-gstbin.txt:
26769 * docs/design/part-gstpipeline.txt:
26770 Update design notes to reflect the movement of
26771 responsibility for bus handling from GstPipeline to
26774 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26777 Remove unnecessary queue2/3/4 examples.
26779 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26781 * examples/Makefile.am:
26782 * examples/helloworld/helloworld.c: (event_loop), (main):
26783 * examples/queue/queue.c: (event_loop), (main):
26784 * examples/queue2/queue2.c: (main):
26785 Update a couple of the examples to work again.
26787 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26788 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26789 Spelling corrections and extra debug.
26791 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26792 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26793 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26795 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26796 (gst_pipeline_change_state):
26797 * gst/gstpipeline.h:
26798 Move the bus handler for children to the GstBin, and create a
26799 separate bus for receiving messages from children to the one the
26800 bus sends 'upwards' on.
26802 2005-07-06 Wim Taymans <wim@fluendo.com>
26805 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26806 (gst_base_sink_handle_object), (gst_base_sink_loop),
26807 (gst_base_sink_change_state):
26808 * gst/base/gstbasesink.h:
26809 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26810 (gst_base_src_init), (gst_base_src_setcaps),
26811 (gst_base_src_getcaps), (gst_base_src_loop),
26812 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26813 (gst_base_src_start), (gst_base_src_change_state):
26814 * gst/base/gstbasesrc.h:
26815 Make basesrc negotiate.
26816 Handle the case where preroll fails in basesink.
26819 2005-07-06 Wim Taymans <wim@fluendo.com>
26821 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26822 Implement the fixate function.
26823 Clean up acceptcaps.
26825 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26827 * docs/pwg/building-filterfactory.xml:
26828 * docs/pwg/pwg.xml:
26829 Remove never-written filter-factory chapter; I'll add the various
26830 base classes to part 4 ("other element types") later on.
26832 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26834 * docs/pwg/advanced-negotiation.xml:
26835 * docs/pwg/building-boiler.xml:
26836 * docs/pwg/building-pads.xml:
26837 * docs/pwg/pwg.xml:
26838 * examples/pwg/Makefile.am:
26839 Add a chapter on caps negotiation, simplify the original code
26840 samples a bit w.r.t. caps negotiation, add link to the advanced
26841 section. Add a bunch of examples showing different use cases of
26842 different types of caps negotiation. Upstream renegotiation isn't
26843 fully documented yet since nobody knows how that works.
26845 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26847 * check/gst/gstpad.c:
26848 * check/gstcheck.c:
26849 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26850 if pad has no parent, return NULL as list of internal links
26852 2005-07-05 Andy Wingo <wingo@pobox.com>
26854 * gst/elements/gstfilesrc.c:
26855 * gst/elements/gstfakesrc.c:
26856 * gst/base/gstpushsrc.c:
26857 * gst/base/gstbasesrc.h:
26858 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26860 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26863 better report generation target (lcov needs a patch)
26865 2005-07-05 Andy Wingo <wingo@pobox.com>
26867 * gst/elements, testsuite: Null if we got it...
26869 2005-07-05 Wim Taymans <wim@fluendo.com>
26872 * libs/gst/dataprotocol/Makefile.am:
26873 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26874 * libs/gst/dataprotocol/dataprotocol.h:
26875 * pkgconfig/Makefile.am:
26876 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26877 * pkgconfig/gstreamer-dataprotocol.pc.in:
26878 Ported dataprotol to 0.9.
26879 Added pkgconfig files.
26881 2005-07-05 Andy Wingo <wingo@pobox.com>
26883 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26884 Default to returning TRUE for the case when tranform_caps returns
26885 a fixed caps, like for identity or volume.
26887 * check/gst/gstbus.c (pound_bus_with_messages):
26888 * check/gst/gstmessage.c (START_TEST):
26889 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26890 message API change.
26892 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26893 logic weaks here: always run transform_caps, trying passthrough
26894 operation only if the original caps intersects with the transform.
26896 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26897 source and sink caps.
26899 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26900 Intersect the peer caps with the pad template before going into
26902 (gst_base_transform_transform_caps): More debugging.
26904 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26907 2005-07-04 Edward Hervey <edward@fluendo.com>
26911 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26914 2005-07-04 Andy Wingo <wingo@pobox.com>
26916 * check/gst/gstpad.c: Only set explicit caps on pads.
26918 2005-07-01 Andy Wingo <wingo@pobox.com>
26920 * tests/network-clock.scm: Commentary update.
26922 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26923 Didn't really make sense, not implementable with basetransform,
26925 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26926 attempt at implementing the sync property, needs an unlock method.
26928 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26929 New func, by default returns the same caps (the identity
26931 (gst_base_transform_getcaps): Uses transform_caps to return
26932 something sensible.
26933 (gst_base_transform_setcaps): Complicated logic to get caps on
26934 both pads, even if they are different, and to call set_caps once
26935 for every time both pads get their caps set.
26936 (gst_base_transform_handle_buffer): Give the ref to the transform
26937 function. Allows in-place modification of the buffer.
26939 * gst/base/gstbasetransform.h (transform_caps): New class method.
26940 Given caps on one side, what can I do on the other.
26941 (set_caps): Take two caps, one for each side of the element.
26944 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26945 caps in place. This is safe because we can check the mutability of
26946 the caps, and a good idea because fixate functions are just called
26947 as a matter of last resort. (Not actually implemented.)
26948 (gst_pad_set_caps): If the caps we're setting is actually the same
26949 as the existing pad caps, just update the pointer without calling
26950 setcaps. Assert that caps is either NULL or fixed, as per the
26953 * gst/gstghostpad.c: Update for fixate changes.
26955 2005-07-02 Andy Wingo <wingo@pobox.com>
26958 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26959 two refcounts makes it immutable, which is enough. Doc more.
26961 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26963 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26964 Put the mini_object into GValue as a mini_object,
26965 not a gpointer, since that's how we declared
26968 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26970 * examples/pwg/Makefile.am:
26971 Fix buildbot again.
26973 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26975 * docs/pwg/building-testapp.xml:
26977 * examples/pwg/Makefile.am:
26980 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26983 * examples/Makefile.am:
26984 * examples/pwg/Makefile.am:
26985 * examples/pwg/extract.pl:
26986 Enable building the PWG examples.
26987 * docs/pwg/advanced-interfaces.xml:
26988 Add URI interface stub.
26989 * docs/pwg/advanced-types.xml:
26990 * docs/pwg/other-autoplugger.xml:
26991 * docs/pwg/appendix-porting.xml:
26992 * docs/pwg/pwg.xml:
26993 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26994 * docs/pwg/building-boiler.xml:
26995 * docs/pwg/building-chainfn.xml:
26996 * docs/pwg/building-pads.xml:
26997 * docs/pwg/building-props.xml:
26998 * docs/pwg/building-state.xml:
26999 * docs/pwg/building-testapp.xml:
27000 Update the building-*.xml parts for 0.9 changes. All examples
27001 code blocks compile in examples/pwg/*.
27003 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27005 * docs/manual/advanced-autoplugging.xml:
27006 * docs/manual/appendix-checklist.xml:
27007 * docs/manual/appendix-integration.xml:
27008 * docs/manual/highlevel-components.xml:
27009 Fix playbin/decodebin examples, update docs a bit, mention bus
27010 instead of signals in various places, mention kmplayer and
27011 kaffeine since they have a working GStreamer backend in the KDE
27014 2005-06-30 Wim Taymans <wim@fluendo.com>
27017 * docs/design/draft-ghostpads.txt:
27018 * docs/design/draft-push-pull.txt:
27019 * docs/design/draft-query.txt:
27020 * docs/design/part-TODO.txt:
27021 * docs/design/part-query.txt:
27022 Added CHANGES-0.9 doc, updated status of other docs.
27027 2005-06-30 Wim Taymans <wim@fluendo.com>
27029 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27030 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27031 (gst_base_sink_change_state):
27032 * gst/base/gstbasesink.h:
27033 Some tweaks, only EOS and a buffer complete a preroll.
27035 2005-06-30 Andy Wingo <wingo@pobox.com>
27037 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27038 activate_push down to the internal pad as well.
27040 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27042 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27044 * gst/gsttaginterface.c:
27045 Some documentation fixes (#307394 and #307397).
27047 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27049 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27051 * gst/gstvalue.c: (gst_value_intersect_list):
27052 Fix memleak (#309125).
27054 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27056 * docs/manual/advanced-dataaccess.xml:
27057 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27058 * docs/manual/basics-pads.xml:
27059 Add reference for filtered caps to above chapter.
27061 2005-06-30 Wim Taymans <wim@fluendo.com>
27063 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27064 (gst_bin_change_state):
27066 Lame attempt at making the state change function a bit
27069 2005-06-30 Wim Taymans <wim@fluendo.com>
27071 * docs/design/part-clocks.txt:
27072 * docs/design/part-element-sink.txt:
27073 * docs/design/part-events.txt:
27074 * docs/design/part-preroll.txt:
27075 * docs/design/part-states.txt:
27076 Some more tweeks and additions to the docs.
27078 2005-06-30 Wim Taymans <wim@fluendo.com>
27080 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27081 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27082 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27083 (gst_pad_check_pull_range), (gst_pad_get_range),
27084 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27086 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27087 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27088 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27089 (gst_pad_remove_buffer_probe):
27090 Removed atomic operations, use existing LOCK.
27091 Move exception handling out of main code path.
27093 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27095 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27096 (silly_return_true_function), (gst_pad_class_init),
27097 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27098 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27099 (gst_pad_send_event):
27100 Fix accumulator, add default value by using _emitv() instead
27101 of _emit() for signal emission.
27103 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27105 * docs/manual/advanced-dataaccess.xml:
27106 * examples/manual/Makefile.am:
27108 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27111 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27113 * gst/elements/gstfilesink.c: (gst_filesink_render):
27114 Simplify code so that we don't have to handle short
27115 writes and return GST_FLOW_ERROR if an error occured.
27117 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27119 * docs/gst/gstreamer-docs.sgml:
27120 Remove probes more.
27122 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27124 * docs/gst/gstreamer-sections.txt:
27125 * docs/gst/tmpl/gstpad.sgml:
27126 * docs/gst/tmpl/gstprobe.sgml:
27128 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27129 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27130 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27131 (gst_pad_push_event), (gst_pad_send_event):
27133 * gst/gstutils.c: (gst_pad_add_data_probe),
27134 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27135 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27136 (gst_pad_remove_buffer_probe):
27138 Remove old probes, add new g-signal-based probes and some utility
27141 2005-06-29 Edward Hervey <edward@fluendo.com>
27143 * gst/gstelementfactory.c:
27146 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27147 the definition to the header file.
27149 2005-06-29 Andy Wingo <wingo@pobox.com>
27151 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27152 plugins from the source directory.
27154 2005-06-29 Wim Taymans <wim@fluendo.com>
27156 * docs/gst/tmpl/gstbuffer.sgml:
27157 * docs/gst/tmpl/gstclock.sgml:
27158 Some fixings for blantently wrong text.
27160 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27162 * check/Makefile.am:
27163 * gst/gst.c: (add_path_func), (init_pre):
27164 * gst/gstregistry.c: (gst_registry_add_path):
27165 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27166 only scan the GST_PLUGIN_PATH locations, and not add
27169 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27171 * docs/gst/gstreamer-sections.txt:
27172 * docs/gst/tmpl/gstbasesrc.sgml:
27173 * gst/gstelement.c:
27174 * gst/gstelement.h:
27179 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27181 * docs/manual/advanced-autoplugging.xml:
27182 Fix autoplugging example.
27184 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27186 * docs/manual/advanced-autoplugging.xml:
27187 * docs/manual/mime-world.fig:
27188 Try to get autoplugging working, fix type detection. Fix text
27189 in hello-world image.
27191 2005-06-29 Wim Taymans <wim@fluendo.com>
27193 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27194 (gst_base_sink_change_state):
27198 map SIGNAL and BROADCAST to the right function.
27201 Remove redundant braces.
27203 * gst/gstpad.c: (gst_pad_set_caps):
27204 Don't call setcaps function when reseting caps to NULL.
27206 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27207 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27208 (gst_system_clock_id_unschedule):
27209 Use BROADCAST as this is what we do.
27211 2005-06-29 Wim Taymans <wim@fluendo.com>
27213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27214 We are actually prerolling before commiting the state
27217 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27219 * docs/manual/advanced-clocks.xml:
27220 * docs/manual/advanced-interfaces.xml:
27221 * docs/manual/advanced-metadata.xml:
27222 * docs/manual/advanced-position.xml:
27223 * docs/manual/advanced-schedulers.xml:
27224 * docs/manual/advanced-threads.xml:
27225 * docs/manual/appendix-porting.xml:
27226 * docs/manual/basics-bins.xml:
27227 * docs/manual/basics-bus.xml:
27228 * docs/manual/basics-elements.xml:
27229 * docs/manual/basics-helloworld.xml:
27230 * docs/manual/basics-pads.xml:
27231 * docs/manual/highlevel-components.xml:
27232 * docs/manual/manual.xml:
27233 * docs/manual/thread.fig:
27234 Update (until threads/scheduling) Application Development Manual;
27235 remove GstThread, add GstBus, add simple porting checklist, add
27236 documentation for tag writing, clocks, make all examples until this
27237 part compile and run.
27238 * examples/manual/Makefile.am:
27239 Update from changes to Application Development Manual; add bus
27240 example, remove thread example.
27242 2005-06-28 Wim Taymans <wim@fluendo.com>
27244 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27245 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27246 (gst_bus_source_dispatch):
27247 Add debugging messages.
27248 Make internal methods static.
27249 Handle the case where the bus is flushed in the handler.
27251 * gst/gstelement.c: (gst_element_get_bus):
27252 Fix refcount in _get_bus();
27254 * gst/gstpipeline.c: (gst_pipeline_change_state),
27255 (gst_pipeline_get_clock_func):
27256 Clock refcounting fixes.
27257 Handle the case where preroll timed out more gracefully.
27259 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27260 Clean up the internal thread in dispose. This is needed
27261 for subclasses that actually get disposed.
27263 * gst/schedulers/threadscheduler.c:
27264 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27265 (gst_thread_scheduler_dispose):
27266 Free thread pool in dispose.
27268 2005-06-28 Andy Wingo <wingo@pobox.com>
27270 * tests/network-clock-utils.scm (debug, print-event): New utils.
27272 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27273 (*packet-loss*): Unified loss probability.
27274 (network-time): Report out-of-band events.
27276 * tests/plot-data: Add support for out-of-band events. Hack it
27277 into this script instead of passing it down the pipe; should fix
27280 2005-06-28 Wim Taymans <wim@fluendo.com>
27282 * docs/gst/gstreamer.types:
27283 * docs/gst/tmpl/gstbasesrc.sgml:
27284 * docs/gst/tmpl/gstpad.sgml:
27287 2005-06-28 Wim Taymans <wim@fluendo.com>
27289 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27290 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27291 (gst_proxy_pad_do_fixatecaps):
27292 Correctly proxy the check_pull_range function.
27294 2005-06-28 Andy Wingo <wingo@pobox.com>
27296 * tests/network-clock.scm: Removed need for slib.
27298 2005-06-28 Wim Taymans <wim@fluendo.com>
27300 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27301 (gst_basesink_preroll_queue_flush):
27302 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27303 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27304 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27305 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27306 (gst_proxy_pad_set_property):
27309 * gst/gstqueue.c: (gst_queue_init):
27310 The deprecated pad loop function is removed now.
27312 2005-06-28 Andy Wingo <wingo@pobox.com>
27314 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27315 New parameters, simulate network packet loss.
27317 * tests/network-clock-utils.scm: Initialize the RNG.
27319 2005-06-28 Wim Taymans <wim@fluendo.com>
27321 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27322 (gst_basesink_event), (gst_basesink_deactivate):
27323 Flushing the preroll queue always needs to unlock the waiters.
27325 2005-06-28 Edward Hervey <edward@fluendo.com>
27327 * gst/gstpipeline.c: (gst_pipeline_send_event):
27328 Wheen a seek was successful on a pipeline, set the stream_time to the
27329 seek offset in order to have a synchronized stream_time.
27331 2005-06-28 Wim Taymans <wim@fluendo.com>
27333 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27334 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27335 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27336 (gst_proxy_pad_do_fixatecaps):
27337 Call wrapper function instead of just calling the function
27338 pointers. This takes care of any locking and whatmore.
27340 2005-06-28 Wim Taymans <wim@fluendo.com>
27342 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27343 (gst_pad_pull_range):
27345 CONNECTED -> LINKED.
27347 2005-06-28 Andy Wingo <wingo@pobox.com>
27349 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27350 source-munging commit!!!
27352 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27353 (gst_object_sink): Take gpointer arguments, not GstObject --
27354 avoids casts. Like GLib.
27356 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27359 2005-06-27 Andy Wingo <wingo@pobox.com>
27361 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27364 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27365 returns a sorted copy of the trace list.
27366 (gst_alloc_trace_print_live): New API, only prints traces with
27367 live objects. Sort the list.
27368 (gst_alloc_trace_print_all): Sort the list.
27369 (gst_alloc_trace_print): Align columns.
27371 * gst/elements/gstttypefindelement.c:
27372 * gst/elements/gsttee.c:
27373 * gst/base/gstbasesrc.c:
27374 * gst/base/gstbasesink.c:
27375 * gst/base/gstbasetransform.c:
27376 * gst/gstqueue.c: Adapt for pad activation changes.
27378 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27380 (gst_pipeline_dispose): Drop ref on sched.
27382 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27383 (gst_pad_activate_default): Push mode by default.
27384 (pre_activate_switch, post_activate_switch): New stubs, things to
27385 do before and after switching activation modes on pads.
27386 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27387 the pad's activate function to choose which mode to activate.
27388 Shortcut on deactivation and call the right function directly.
27389 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27391 (gst_pad_activate_push): New API, same for push mode.
27392 (gst_pad_set_activate_function)
27393 (gst_pad_set_activatepull_function)
27394 (gst_pad_set_activatepush_function): Setters for new API.
27396 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27397 Trace all miniobjects.
27398 (gst_mini_object_make_writable): Unref the arg if we copy, like
27399 gst_caps_make_writable.
27401 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27403 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27404 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27405 Adapt for new pad API.
27407 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27409 * gst/gstelement.h:
27410 * gst/gstelement.c (gst_element_iterate_src_pads)
27411 (gst_element_iterate_sink_pads): New API functions.
27413 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27414 should fold into gstiterator.c in some form.
27415 (gst_element_pads_activate): Simplified via use of fold and
27416 delegation of decisions to gstpad->activate.
27418 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27421 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27422 class once in init, like gstmessage. Didn't run into this issue
27423 but it seems correct. Don't initialize a trace, gstminiobject does
27426 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27427 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27429 (assert_live_count): New util function, uses alloc traces to check
27432 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27433 To be modified when unlink drops the internal pad.
27435 2005-06-27 Wim Taymans <wim@fluendo.com>
27437 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27438 (gst_bin_change_state):
27439 Cleanup the get_state() function a little, make sure it
27440 iterates the same set of elements.
27441 Added stub iterate_state_order().
27443 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27445 * docs/gst/gstreamer-docs.sgml:
27446 * docs/gst/gstreamer-sections.txt:
27447 * docs/gst/gstreamer.types:
27448 * docs/gst/tmpl/gstbasesink.sgml:
27449 * docs/gst/tmpl/gstbasesrc.sgml:
27450 * docs/gst/tmpl/gstbasetransform.sgml:
27451 * docs/gst/tmpl/gstelement.sgml:
27452 * docs/gst/tmpl/gstiterator.sgml:
27453 * gst/base/gstbasesrc.c:
27454 * gst/base/gstbasesrc.h:
27455 * gst/base/gstbasetransform.h:
27456 * gst/gstelement.c:
27457 * gst/gstiterator.h:
27458 adding basetransform and iterator docs
27460 2005-06-27 Andy Wingo <wingo@pobox.com>
27462 * docs/design/part-activation.txt: Notes on how activation should
27463 work -- not quite implemented yet.
27465 2005-06-25 Wim Taymans <wim@fluendo.com>
27467 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27468 At least get the chain function correct, needs more
27471 2005-06-25 Wim Taymans <wim@fluendo.com>
27473 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27474 (gst_basesink_handle_object), (gst_basesink_event),
27475 (gst_basesink_do_sync), (gst_basesink_handle_event),
27476 (gst_basesink_change_state):
27478 Right, two problems here: ghostpads don't take locks and
27479 glib _rec_mutex_lock_full() with depth==0 still locks.
27480 Catch illegal locking and g_warn them.
27482 2005-06-25 Wim Taymans <wim@fluendo.com>
27484 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27485 Have to check for completion now...
27487 2005-06-25 Wim Taymans <wim@fluendo.com>
27489 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27490 (gst_basesink_handle_object), (gst_basesink_event),
27491 (gst_basesink_do_sync), (gst_basesink_handle_event),
27492 (gst_basesink_change_state):
27494 Unlock STREAM_LOCK whatever the recursion was.
27496 2005-06-25 Wim Taymans <wim@fluendo.com>
27498 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27499 (gst_basesink_preroll_queue_empty),
27500 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27501 (gst_basesink_event), (gst_basesink_do_sync),
27502 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27503 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27504 (gst_basesink_change_state):
27505 Reworked the base sink, handle event and buffer serialisation
27506 correctly and removed possible deadlock.
27507 Handle EOS correctly.
27509 2005-06-25 Wim Taymans <wim@fluendo.com>
27511 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27512 (gst_pipeline_change_state):
27513 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27514 Allow elements to post EOS in the state change function.
27515 Fix up -launch, make it exit the poll loop when the
27516 pipeline actually changed state.
27517 Fix up warning parsing in -launch.
27519 2005-06-25 Wim Taymans <wim@fluendo.com>
27521 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27522 (gst_tee_sink_activate):
27523 Core takes STREAM_LOCK for us now.
27525 2005-06-25 Wim Taymans <wim@fluendo.com>
27527 * gst/gstelement.c: (gst_element_get_state_func),
27528 (gst_element_set_state):
27529 * gst/gstelement.h:
27530 * gst/gstmessage.c: (gst_message_parse_error),
27531 (gst_message_parse_warning):
27532 Keep track of current target state while performing a state
27533 change so that subclasses can do something interesting.
27534 Fix parsing of warning/error messages when GError is NULL.
27536 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27538 * docs/gst/Makefile.am:
27539 * docs/gst/gstreamer-docs.sgml:
27540 * docs/gst/gstreamer-sections.txt:
27541 * docs/gst/gstreamer.types:
27542 * docs/gst/tmpl/gstbasesink.sgml:
27543 * docs/gst/tmpl/gstbasesrc.sgml:
27544 * docs/gst/tmpl/gstbin.sgml:
27545 * docs/gst/tmpl/gstcompat.sgml:
27546 * docs/gst/tmpl/gstfakesink.sgml:
27547 * docs/gst/tmpl/gstfakesrc.sgml:
27548 * docs/gst/tmpl/gstfilesink.sgml:
27549 * docs/gst/tmpl/gstfilesrc.sgml:
27550 * docs/gst/tmpl/gstindex.sgml:
27551 * docs/manual/appendix-quotes.xml:
27552 * gst/base/gstbasesrc.h:
27553 * gst/elements/gstfakesrc.h:
27554 * gst/gstmessage.h:
27555 start pulling in base classes and elements in our docs
27557 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27559 * docs/gst/Makefile.am:
27560 * docs/libs/Makefile.am:
27561 fixed make distcheck with gtk-doc 1.3
27563 2005-06-23 Wim Taymans <wim@fluendo.com>
27565 * gst/gstelement.c: (gst_element_get_state_func),
27566 (gst_element_set_state), (gst_element_change_state):
27567 When the state did not change, also report NO_PREROLL
27570 2005-06-23 Wim Taymans <wim@fluendo.com>
27572 * gst/gstpad.c: (gst_pad_event_default):
27573 * gst/gstqueue.c: (gst_queue_loop):
27574 No unsafe task pausing please.
27576 2005-06-23 Wim Taymans <wim@fluendo.com>
27578 * gst/schedulers/threadscheduler.c:
27579 (gst_thread_scheduler_task_start),
27580 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27581 Ref the task before pushing it on the threadpool. This
27582 makes sure that we have a ref when the threadfunction is
27585 2005-06-23 Andy Wingo <wingo@pobox.com>
27587 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27588 offset is greater than the file's size.
27590 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27591 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27592 * gst/gstobject.c (gst_object_class_init): Make the class lock
27593 recursive. Wim won't let me drop deep_notify. Decodebin works
27594 again, whoopdy doo.
27596 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27597 internal pad, and hacks accordingly. Doesn't do it on the target
27598 pad because we change its caps. Probably catches all cases of
27600 (gst_ghost_pad_set_property): Connect to notify::caps as
27603 * tests/network-clock.scm (plot-simulation): Pipe data to the
27604 elite python skript.
27606 * tests/network-clock-utils.scm (define-parameter): New macro,
27607 defines a parameter that can be set via the command line.
27608 (set-parameter!, parse-parameter-arguments): Command line args
27611 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27614 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27616 * gst/elements/gsttypefindelement.c:
27617 (gst_type_find_element_handle_event):
27618 Don't restart typefinding on a discont.
27619 * gst/gstelement.c: (gst_element_set_state):
27620 Debug spelling fix.
27621 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27622 Allow changing mode of an active pad.
27623 Debug output fixes.
27624 * gst/registries/gstlibxmlregistry.c: (load_feature):
27625 Don't cast a static pad template to a normal pad template.
27627 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27629 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27630 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27631 remove gst_strtoll completely, since it didn't actually do
27632 anything more than what g_ascii_strtoull already does.
27633 check for range errors when deserializing
27634 do a cast for the unsigned cases; but further fixing needs
27635 a decision on what the interpretation of "(int)" and
27636 deserialization should be for values that fall outside the
27637 type's boundaries (ie, refuse, or interpret as casting)
27639 2005-06-23 Wim Taymans <wim@fluendo.com>
27641 * check/Makefile.am:
27642 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27643 * docs/design/part-live-source.txt:
27644 * docs/design/part-states.txt:
27645 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27646 (gst_basesrc_set_live), (gst_basesrc_is_live),
27647 (gst_basesrc_get_range), (gst_basesrc_activate),
27648 (gst_basesrc_change_state):
27649 * gst/base/gstbasesrc.h:
27650 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27651 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27652 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27653 * gst/gstelement.c: (gst_element_get_state_func),
27654 (gst_element_set_state):
27655 * gst/gstelement.h:
27657 * tools/gst-launch.c: (event_loop), (main):
27658 Added support for live sources and other elements that
27660 Updated design docs, added live-source design doc.
27661 Implemented live source functionality in basesrc
27662 Fix error condition in _bin_get_state()
27663 Implement live source handling in -launch.
27664 Added check for live sources.
27665 Fixed case in GstBin where elements were changed state
27669 2005-06-23 Andy Wingo <wingo@pobox.com>
27671 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27672 borken refcounting.
27674 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27675 gst_caps_replace takes care of this for us.
27677 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27678 gst_pad_set_caps on the target, not just its setcaps() function.
27680 * tests/network-clock.scm:
27681 * tests/network-clock-utils.scm: A network clock simulator.
27682 Something of an algorithmic testbed before doing something in C.
27684 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27686 * check/Makefile.am:
27687 * check/gst/capslist.h:
27688 copy over from 0.8, and add two with bitmasks specified with
27690 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27691 add test to parse everything from capslist.h
27692 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27694 add test for structure deserialization
27695 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27696 add tests for deserialization of strings to int types
27697 * gst/gststructure.c: (gst_structure_nth_field_name):
27698 * gst/gststructure.h:
27699 add a way to get the name of a field referenced by index
27700 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27701 instead of checking if the resulting long long lies between
27702 min and max, we check if the long long would fit into
27703 a number of bytes for the final type.
27704 This fixes cases where a string represents 2^32 - 1, which
27705 when cast to int would be the (valid) -1, but is bigger than
27708 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27710 * gst/parse/grammar.y:
27711 add a log line for type deserialization
27713 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27715 * check/gst/gstvalue.c: (START_TEST):
27716 * gst/gstvalue.c: (gst_value_deserialize):
27717 return long long, not int, so gint64 deserialization actually
27718 works. Is there any flag that makes the compiler check this ?
27721 2005-06-22 Wim Taymans <wim@fluendo.com>
27724 Added convenience macros for setting buffers in GValue.
27726 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27728 * check/gst/.cvsignore:
27729 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27730 add a test deserializing int64, and comment part out because
27733 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27735 * check/Makefile.am:
27736 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27737 * testsuite/Makefile.am:
27738 * testsuite/caps/Makefile.am:
27739 * testsuite/caps/value_serialize.c:
27740 * testsuite/test_gst_init.c:
27741 move a value_serialize test over
27743 2005-06-20 Wim Taymans <wim@fluendo.com>
27748 * gst/gstvalue.c: (gst_value_compare_buffer),
27749 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27750 (gst_value_compare_flags), (gst_value_serialize_flags),
27751 (gst_value_deserialize_flags), (_gst_value_initialize):
27752 Fix serialisation of buffers, they are not boxed types anymore
27754 2005-06-20 Wim Taymans <wim@fluendo.com>
27756 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27757 Testcase to show error in buffer-on-caps serialisation.
27759 2005-06-20 Andy Wingo <wingo@pobox.com>
27761 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27762 will be adding to later.
27764 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27765 if its socks fill with rocks.
27766 (gst_system_clock_obtain): Set the name on object construction.
27767 Avoid double-checked locking.
27769 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27771 * gst/gsturi.c: (gst_element_make_from_uri):
27772 Fix potential endless loop.
27774 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27776 * check/Makefile.am:
27778 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27780 move over from testsuite dir and clean up
27783 * testsuite/Makefile.am:
27784 * testsuite/tags/.cvsignore:
27785 * testsuite/tags/Makefile.am:
27786 * testsuite/tags/merge.c:
27787 remove testsuite/tags
27789 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27791 * docs/gst/gstreamer-sections.txt:
27792 * docs/gst/tmpl/gstenumtypes.sgml:
27793 * win32/gstenumtypes.c:
27794 clean up documentation build a little
27796 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27798 * check/gstcheck.h:
27799 add macros for checking refcounts on objects and caps
27800 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27801 add some more unit tests
27802 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27803 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27804 fix leaked refcounts (I hope :)) so unittest works
27808 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27810 * configure.ac: back to HEAD
27812 === release 0.9.1 ===
27814 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27820 2005-06-17 Andy Wingo <wingo@pobox.com>
27822 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27823 assert; it's always possible that the pad gets deactivated in
27824 between the checks in gstpad.c and the implementation. Rely on
27825 finish_preroll() to return a FLUSHING or similar instead of on the
27828 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27829 clock and post an EOS message if we come out of finish_preroll in
27832 2005-06-16 David Schleef <ds@schleef.org>
27834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27835 (gst_capsfilter_set_property): Allow NULL as possible value
27836 for filter_caps property, indicating GST_CAPS_ANY.
27838 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27840 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27842 * gst/schedulers/Makefile.am:
27844 * gstreamer.spec.in:
27847 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27849 * gstreamer.spec.in:
27852 2005-06-08 Andy Wingo <wingo@pobox.com>
27854 * gst/gstutils.c: RPAD fixes all around.
27855 (gst_element_link_pads): Refcounting fixes.
27857 * tools/gst-inspect.c:
27858 * tools/gst-xmlinspect.c:
27860 * gst/base/gsttypefindhelper.c:
27861 * gst/base/gstbasesink.c:
27862 * gst/gstqueue.c: RPAD fixes.
27864 * gst/gstghostpad.h:
27865 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27866 pads. The tricky thing is they provide both source and sink
27867 interfaces, since they proxy the internal pad for the external
27868 pad, and vice versa. Implement with lower-level ProxyPad objects,
27869 with the interior proxy pad as a child of the exterior ghost pad.
27870 Should write a doc on this.
27872 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27873 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27876 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27877 pads are real pads. No ghost pads in this file. Not documenting
27878 the myriad s/RPAD/PAD/ and REALIZE fixes.
27879 (gst_pad_class_init): Add properties for "direction" and
27880 "template". Both are construct-only, so they can't change during
27881 the life of the pad. Fixes properly deriving from GstPad.
27882 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27883 derived objects, just set properties when creating the objects via
27885 (gst_pad_get_parent): Implement as a function, return NULL if the
27886 parent is not an element.
27887 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27888 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27890 * gst/gstobject.c (gst_object_class_init): Make name a construct
27891 property. Don't set it in the object init.
27893 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27894 with UNKNOWN direction.
27895 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27896 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27897 (gst_element_remove_pad): Remove ghost-pad special cases.
27898 (gst_element_pads_activate): Remove rpad cruft.
27900 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27901 catch the pad's-parent-not-an-element case.
27903 * gst/gst.h: Include gstghostpad.h.
27905 * gst/gst.c (init_post): No more real, ghost pads.
27907 * gst/Makefile.am: Add gstghostpad.[ch].
27909 * check/Makefile.am:
27910 * check/gst/gstbin.c:
27911 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27912 into a bin creates ghost pads, and that the refcounts are right.
27913 Partly moved from gstbin.c.
27915 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27917 * check/gst-libs/.cvsignore:
27918 * check/gst/.cvsignore:
27919 * check/pipelines/.cvsignore:
27921 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27922 (START_TEST), (cleanup_suite), (main):
27923 add some tests related to cleanup after running pipelines
27925 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27927 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27928 add a testsuite for GstBuffer
27930 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27932 * gst/gstminiobject.h:
27933 add defines for accessing the refcount
27935 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27937 * Makefile.am: added support for html unit test coverage reports
27939 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27941 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27942 Free existing caps if the capsfilter changes. Add a FIXME about
27943 setting those caps on the pads.
27945 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27946 Before adding a ghost pad to a parent bin, check that there isn't
27947 already one for the element on the bin. Prevents infinite recursion
27948 when using decodebin in parse pipelines. Andy says he'll rewrite the
27949 way this works anyway, so ignore the hack.
27951 2005-06-02 Andy Wingo <wingo@pobox.com>
27953 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27954 file size, pass it on to the type find helper.
27956 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27957 segment_start and segment_end properly according to the seek
27958 method. Segment_end is still a bit flaky because offset can be
27959 negative for CUR and END cases, but it takes -1 as an "unset"
27962 2005-06-02 Wim Taymans <wim@fluendo.com>
27964 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27965 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27966 (gst_basesink_activate):
27967 * gst/base/gstbasesink.h:
27968 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27969 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27970 (gst_pad_query), (gst_pad_start_task):
27972 * gst/gstqueue.c: (gst_queue_bufferalloc),
27973 (gst_queue_handle_sink_event), (gst_queue_chain):
27974 Bufferalloc: return GstFlowReturn to more accuratly report
27975 why allocation failed.
27977 2005-06-02 Wim Taymans <wim@fluendo.com>
27979 * gst/gstpipeline.c: (gst_pipeline_send_event):
27980 Take snapshot of state without blocking.
27982 2005-06-02 Wim Taymans <wim@fluendo.com>
27984 * docs/design/part-TODO.txt:
27985 * docs/design/part-caps.txt:
27986 * docs/design/part-clocks.txt:
27987 * docs/design/part-negotiation.txt:
27988 * docs/design/part-preroll.txt:
27991 2005-05-30 Wim Taymans <wim@fluendo.com>
27993 * gst/elements/gstidentity.c: (gst_identity_event),
27994 (gst_identity_transform), (gst_identity_get_property):
27995 Protect last_message property as it is accessed from
27998 2005-05-30 Wim Taymans <wim@fluendo.com>
28000 * gst/gstelement.c: (gst_element_init),
28001 (gst_element_pads_activate), (gst_element_change_state):
28002 Slicker pad activation code.
28004 2005-05-30 Wim Taymans <wim@fluendo.com>
28007 * gst/gstelement.h:
28008 * gst/gstelementfactory.h:
28010 Move elementfactory methods to separate .h file.
28012 2005-05-30 Wim Taymans <wim@fluendo.com>
28014 * docs/design/part-overview.txt:
28015 * gst/gstsystemclock.h:
28016 Small typo fixes, doc updates.
28018 2005-05-30 Wim Taymans <wim@fluendo.com>
28020 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28021 (init_popt_callback):
28022 Remove cpu-opt flag.
28024 2005-05-30 Wim Taymans <wim@fluendo.com>
28026 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28027 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28029 Avoid typechecking in places where not needed.
28030 Added accessor for malloc_data.
28032 2005-05-30 Wim Taymans <wim@fluendo.com>
28034 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28035 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28036 (gst_pad_configure_sink), (gst_pad_configure_src),
28037 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28038 (gst_pad_start_task):
28039 Propagate errors from _set_caps() in configure_src/sink
28040 functions instead of returning TRUE.
28041 FLUSH events can travel up and downstream
28044 2005-05-30 Wim Taymans <wim@fluendo.com>
28046 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28047 (gst_basesink_activate):
28048 Handle EOS in preroll.
28050 2005-05-30 Wim Taymans <wim@fluendo.com>
28052 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28053 (gst_queue_loop), (gst_queue_handle_src_event):
28054 Remove old pieces of code
28055 Flushing the queue in an upstream event is a very bad idea.
28057 2005-05-26 Andy Wingo <wingo@pobox.com>
28059 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28060 gst_value_set_mini_object so as to add a ref on the object (which
28061 will be removed when the value is unset).
28063 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28064 arg type in ::handoff.
28066 * gst/gstelement.c (gst_element_change_state): Also deactivate
28067 pads in READY->NULL, just in case the element didn't make it to
28068 PAUSED. Wingo tested, Wim approved.
28070 2005-05-26 Wim Taymans <wim@fluendo.com>
28072 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28073 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28074 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28075 A flushing pad cannot be used to alloc_buffer from.
28077 2005-05-26 Wim Taymans <wim@fluendo.com>
28079 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28080 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28081 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28082 (gst_bus_create_watch), (gst_bus_add_watch_full):
28084 Implement a real GSource and use g_main_context_wakeup() to
28085 signal new messages instead of the socketpair.
28087 2005-05-25 Wim Taymans <wim@fluendo.com>
28089 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28090 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28092 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28093 (gst_pad_send_event), (gst_pad_start_task):
28094 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28095 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28096 (gst_queue_sink_activate), (gst_queue_src_activate),
28097 (gst_queue_change_state):
28099 Fix state changes for non sinks. We now change sinks, then elements
28100 with unconnected srcpads, then the rest.
28101 More efficient queue unlocking in flush and state changes.
28102 Set the pad activate mode even if it does not have an activate
28105 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28107 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28108 Don't go in pull mode for non-seekable sources.
28109 * gst/elements/gsttypefindelement.h:
28110 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28111 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28112 (free_entry), (stop_typefinding),
28113 (gst_type_find_element_handle_event), (find_peek),
28114 (gst_type_find_element_chain), (do_pull_typefind),
28115 (gst_type_find_element_change_state):
28116 Allow typefinding (w/o seeking) in push-mode, simplified version
28117 of what was in 0.8.
28118 * gst/gstutils.c: (gst_buffer_join):
28120 gst_buffer_join() from 0.8.
28122 2005-05-25 Wim Taymans <wim@fluendo.com>
28124 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28125 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28126 (gst_pad_send_event), (gst_pad_start_task):
28127 Disable attempt at mode switching until it is figured out.
28129 2005-05-25 Wim Taymans <wim@fluendo.com>
28131 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28132 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28133 (gst_basesink_finish_preroll), (gst_basesink_chain),
28134 (gst_basesink_loop), (gst_basesink_activate),
28135 (gst_basesink_change_state):
28136 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28137 (gst_basesrc_get_range), (gst_basesrc_loop),
28138 (gst_basesrc_activate):
28139 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28140 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28141 (gst_real_pad_init), (gst_real_pad_set_property),
28142 (gst_real_pad_get_property), (gst_pad_set_active),
28143 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28144 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28145 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28146 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28147 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28148 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28149 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28150 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28151 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28152 (gst_pad_stop_task):
28154 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28155 (gst_queue_loop), (gst_queue_src_activate):
28156 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28157 (gst_task_get_state):
28159 * gst/schedulers/threadscheduler.c:
28160 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28161 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28163 Remove ACTIVE pad flag, use FLUSHING everywhere
28164 Added _pad_chain(), _pad_get_range() to call chain/getrange
28166 Add locks around IS_FLUSHING when reading.
28167 Take STREAM lock in chain(), get_range() functions so plugins
28168 don't need to take it anymore.
28172 2005-05-25 Wim Taymans <wim@fluendo.com>
28174 * tools/gst-launch.c: (event_loop):
28175 Unref message after using its contents instead of
28178 2005-05-24 Wim Taymans <wim@fluendo.com>
28180 * docs/design/draft-ghostpads.txt:
28181 * docs/design/draft-push-pull.txt:
28182 * docs/design/draft-query.txt:
28183 * docs/design/part-overview.txt:
28184 Docs updates, added general overview doc.
28186 2005-05-21 David Schleef <ds@schleef.org>
28188 * docs/gst/tmpl/old/GstBin.sgml:
28189 * docs/gst/tmpl/old/GstBuffer.sgml:
28190 * docs/gst/tmpl/old/GstCaps.sgml:
28191 * docs/gst/tmpl/old/GstClock.sgml:
28192 * docs/gst/tmpl/old/GstCompat.sgml:
28193 * docs/gst/tmpl/old/GstData.sgml:
28194 * docs/gst/tmpl/old/GstElement.sgml:
28195 * docs/gst/tmpl/old/GstEvent.sgml:
28196 * docs/gst/tmpl/old/GstIndex.sgml:
28197 * docs/gst/tmpl/old/GstStructure.sgml:
28198 * docs/gst/tmpl/old/GstTag.sgml:
28199 * docs/gst/tmpl/old/cothreads.sgml:
28200 * docs/gst/tmpl/old/cothreads_compat.sgml:
28201 * docs/gst/tmpl/old/gettext.sgml:
28202 * docs/gst/tmpl/old/gobject2gtk.sgml:
28203 * docs/gst/tmpl/old/grammar.tab.sgml:
28204 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28205 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28206 * docs/gst/tmpl/old/gst_private.sgml:
28207 * docs/gst/tmpl/old/gstaggregator.sgml:
28208 * docs/gst/tmpl/old/gstarch.sgml:
28209 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28210 * docs/gst/tmpl/old/gstbufferstore.sgml:
28211 * docs/gst/tmpl/old/gstdata_private.sgml:
28212 * docs/gst/tmpl/old/gstdisksink.sgml:
28213 * docs/gst/tmpl/old/gstdisksrc.sgml:
28214 * docs/gst/tmpl/old/gstelementfactory.sgml:
28215 * docs/gst/tmpl/old/gstextratypes.sgml:
28216 * docs/gst/tmpl/old/gstfakesink.sgml:
28217 * docs/gst/tmpl/old/gstfakesrc.sgml:
28218 * docs/gst/tmpl/old/gstfdsink.sgml:
28219 * docs/gst/tmpl/old/gstfdsrc.sgml:
28220 * docs/gst/tmpl/old/gstfilesink.sgml:
28221 * docs/gst/tmpl/old/gstfilesrc.sgml:
28222 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28223 * docs/gst/tmpl/old/gstidentity.sgml:
28224 * docs/gst/tmpl/old/gstindexfactory.sgml:
28225 * docs/gst/tmpl/old/gstmarshal.sgml:
28226 * docs/gst/tmpl/old/gstmd5sink.sgml:
28227 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28228 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28229 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28230 * docs/gst/tmpl/old/gstpipefilter.sgml:
28231 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28232 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28233 * docs/gst/tmpl/old/gstshaper.sgml:
28234 * docs/gst/tmpl/old/gstspider.sgml:
28235 * docs/gst/tmpl/old/gstspideridentity.sgml:
28236 * docs/gst/tmpl/old/gststatistics.sgml:
28237 * docs/gst/tmpl/old/gsttee.sgml:
28238 * docs/gst/tmpl/old/gsttimecache.sgml:
28239 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28240 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28241 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28242 * docs/gst/tmpl/old/types.sgml:
28243 I didn't intend to add these or check them in.
28245 2005-05-19 David Schleef <ds@schleef.org>
28247 * configure.ac: Use -no-common everywhere. In a sane world, it
28248 would be the default in libtool, because without it, you can't
28249 build DLLs on Windows.
28250 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28251 * docs/gst/gstreamer-sections.txt:
28252 * docs/gst/tmpl/gstcpu.sgml:
28253 * docs/gst/tmpl/gstdata.sgml:
28254 * docs/gst/tmpl/gstthread.sgml:
28256 2005-05-19 David Schleef <ds@schleef.org>
28258 * gst/gstminiobject.c: (gst_value_set_mini_object),
28259 (gst_value_take_mini_object), (gst_value_get_mini_object):
28260 * gst/gstminiobject.h: Add GValue set/get functions.
28262 2005-05-19 Wim Taymans <wim@fluendo.com>
28264 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28265 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28266 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28268 * gst/gstbus.c: (gst_bus_post):
28269 * gst/gstelement.c: (gst_element_get_random_pad):
28270 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28271 Make subbufer unref the parent in finalize.
28272 some more debugging info.
28275 2005-05-19 Wim Taymans <wim@fluendo.com>
28277 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28278 (gst_basesink_init), (gst_basesink_finalize),
28279 (gst_basesink_activate), (gst_basesink_change_state):
28280 Don't free preroll queue too early.
28282 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28286 Hi, I'm outdated. Please shoot me.
28288 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28290 * gst/gstpipeline.c: (gst_pipeline_send_event):
28291 Do not access variables after they have been deleted.
28293 2005-05-19 Wim Taymans <wim@fluendo.com>
28295 * tools/gst-inspect.c: (print_plugin_features):
28296 A plugin feature does unfortunatly not use the
28299 2005-05-18 Wim Taymans <wim@fluendo.com>
28301 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28302 Port _span() functions to new subbuffers.
28304 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28306 * gst/gstbin.c: (gst_bin_add_func):
28307 Fix clock settery in bins when adding kids after the clock has
28310 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28312 * gst/elements/gstidentity.c: (gst_identity_class_init):
28313 Workaround until signals support GstMiniObject.
28315 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28318 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28320 2005-05-18 Wim Taymans <wim@fluendo.com>
28322 * gst/base/Makefile.am:
28323 * gst/base/gstadapter.c: (gst_adapter_base_init),
28324 (gst_adapter_class_init), (gst_adapter_init),
28325 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28326 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28327 (gst_adapter_flush), (gst_adapter_available),
28328 (gst_adapter_available_fast):
28329 * gst/base/gstadapter.h:
28330 Ported and added adapter to the base classes.
28332 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28335 * gst/gstmessage.c:
28336 Make sure the class is reffed/unreffed once before threads can be
28337 used. Fixes #304551.
28339 2005-05-17 Wim Taymans <wim@fluendo.com>
28341 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28342 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28343 * gst/gstminiobject.c: (gst_mini_object_get_type),
28344 (gst_mini_object_free):
28345 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28346 (gst_pad_push), (gst_pad_push_event):
28347 * gst/gstqueue.c: (gst_queue_change_state):
28348 Don't queue buffers in basesink when we are flushing.
28349 Unref buffer when flushing in basesink.
28350 Flush queue when going to READY
28351 Unref buffer when _push() returns an error.
28352 Don't free MiniObject instance when refcount is incremented
28353 in _finalize() so that we can recover objects.
28355 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
28357 * docs/manual/advanced-schedulers.xml:
28358 * docs/manual/appendix-checklist.xml:
28359 * docs/pwg/advanced-clock.xml:
28360 * docs/pwg/advanced-interfaces.xml:
28361 * docs/pwg/advanced-request.xml:
28362 * docs/pwg/advanced-types.xml:
28363 * docs/pwg/intro-preface.xml:
28364 * examples/plugins/example.c: (gst_example_get_type),
28365 (gst_example_class_init), (gst_example_chain),
28366 (gst_example_set_property), (gst_example_get_property),
28367 (gst_example_change_state), (plugin_init):
28368 * examples/plugins/example.h:
28371 2005-05-17 Wim Taymans <wim@fluendo.com>
28373 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28374 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28375 * gst/gstqueue.c: (gst_queue_change_state):
28376 Clear queue when going to READY.
28377 Remove IN_SETCAPS flag too.
28379 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28381 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28382 Remove implicit cast from gboolean to GstElementStateReturn;
28383 make sure we still return failure in paused => ready case if
28384 the parent class fails to change state and our own stop
28387 2005-05-17 Wim Taymans <wim@fluendo.com>
28389 * tools/gst-launch.c: (event_loop):
28390 Message was unreffed too soon.
28392 2005-05-16 Andy Wingo <wingo@pobox.com>
28394 * gst/gstbin.c (sink_iterator_filter): Err... um...
28396 * check/gst/gstbin.c (test_ghost_pads): New test for the
28397 ghosting-if-elements-not-in-same-bin behavior.
28399 2005-05-16 David Schleef <ds@schleef.org>
28401 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28402 accessing refcount directly.
28404 2005-05-15 David Schleef <ds@schleef.org>
28406 * check/Makefile.am: remove GstData checks
28407 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28408 * gst/Makefile.am: add miniobject, remove data
28409 * gst/gst.h: add miniobject, remove data
28410 * gst/gstdata.c: remove
28411 * gst/gstdata.h: remove
28412 * gst/gstdata_private.h: remove
28413 * gst/gsttypes.h: remove GstEvent and GstMessage
28414 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28415 * gst/gstmarshal.list: change BOXED -> OBJECT
28417 Implement GstMiniObject.
28418 * gst/gstminiobject.c:
28419 * gst/gstminiobject.h:
28421 Modify to be subclasses of GstMiniObject.
28422 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28423 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28424 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28425 (gst_subbuffer_get_type), (gst_subbuffer_init),
28426 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28429 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28430 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28431 (_gst_event_copy), (gst_event_new):
28433 * gst/gstmessage.c: (_gst_message_initialize),
28434 (gst_message_get_type), (gst_message_class_init),
28435 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28436 (gst_message_new), (gst_message_new_error),
28437 (gst_message_new_warning), (gst_message_new_tag),
28438 (gst_message_new_state_changed), (gst_message_new_application):
28439 * gst/gstmessage.h:
28440 * gst/gstprobe.c: (gst_probe_perform),
28441 (gst_probe_dispatcher_dispatch):
28443 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28444 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28445 (_gst_query_copy), (gst_query_new):
28447 Update elements for GstData -> GstMiniObject changes
28449 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28450 (gst_queue_chain), (gst_queue_loop):
28451 * gst/elements/gstbufferstore.c:
28452 (gst_buffer_store_add_buffer_func),
28453 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28454 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28455 (gst_fakesink_render):
28456 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28457 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28458 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28459 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28460 (gst_filesrc_create_read):
28461 * gst/elements/gstidentity.c: (gst_identity_class_init):
28462 * gst/elements/gsttypefindelement.c:
28463 (gst_type_find_element_src_event), (free_entry_buffers),
28464 (gst_type_find_element_handle_event):
28465 * libs/gst/dataprotocol/dataprotocol.c:
28466 (gst_dp_header_from_buffer):
28467 * libs/gst/dataprotocol/dataprotocol.h:
28468 * libs/gst/dataprotocol/dp-private.h:
28470 2005-05-15 David Schleef <ds@schleef.org>
28472 * gst/elements/gstelements.c: Don't include headers that were
28475 2005-05-15 David Schleef <ds@schleef.org>
28477 * gst/elements/Makefile.am: Remove some elements that don't
28478 need to be in the core (or even exist at all).
28479 * gst/elements/gstaggregator.c:
28480 * gst/elements/gstaggregator.h:
28481 * gst/elements/gstmd5sink.c:
28482 * gst/elements/gstmd5sink.h:
28483 * gst/elements/gstmultifilesrc.c:
28484 * gst/elements/gstmultifilesrc.h:
28485 * gst/elements/gstpipefilter.c:
28486 * gst/elements/gstpipefilter.h:
28487 * gst/elements/gstshaper.c:
28488 * gst/elements/gstshaper.h:
28489 * gst/elements/gststatistics.c:
28490 * gst/elements/gststatistics.h:
28491 * po/POTFILES.in: Remove above files.
28493 2005-05-14 Andy Wingo <wingo@pobox.com>
28495 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28496 so as to get the refs right.
28497 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28498 unreffing objects that don't pass the filter.
28500 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28501 gst_element_set_bus.
28502 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28503 normal cases, this will destroy the bus.
28505 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28508 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28511 2005-05-13 Andy Wingo <wingo@pobox.com>
28513 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28514 gst_pad_link, call pad_link_maybe_ghosting,
28515 (pad_link_maybe_ghosting): Links pads, making sure that the
28516 elements being linked are in the same bin.
28517 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28518 Helpers for pad_link_maybe_ghosting.
28520 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28523 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28525 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28527 * docs/design/part-element-source.txt:
28530 2005-05-12 Wim Taymans <wim@fluendo.com>
28532 * gst/base/gstbasesink.c: (gst_basesink_init),
28533 (gst_basesink_activate):
28534 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28535 (gst_basesrc_is_seekable):
28536 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28537 (bin_element_is_sink), (gst_bin_change_state):
28538 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28539 * gst/gstelement.h:
28540 Identify sinks by their flag to avoid overly complicated
28542 Do state changes even for elements not reachable from the
28544 BaseSink is a sink now :)
28545 Some more debugging info in the basesrc.
28548 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28550 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28551 Implement _query on a bin, similar to _send_event.
28553 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28555 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28556 Discont event offset format should be GST_FORMAT_BYTES,
28557 not GST_FORMAT_TIME.
28559 2005-05-12 Wim Taymans <wim@fluendo.com>
28561 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28562 Same fix as Ronald's but without the signal.
28564 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28566 * gst/gstutils.c: (gst_element_query_position):
28567 No, an element is not a pad.
28569 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28571 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28572 (gst_bin_get_state):
28573 If a child is removed from a bin while we remove the child from
28574 the bin and while we're retrieving its state, signal this to the
28575 get_state function so we abort the wait (instead of waiting for
28576 a timeout) and can immediately re-iterate over all other elements.
28578 2005-05-12 Wim Taymans <wim@fluendo.com>
28580 * gst/base/Makefile.am:
28581 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28582 (gst_basesrc_start):
28583 * gst/base/gstbasesrc.h:
28584 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28585 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28586 (gst_pushsrc_init), (gst_pushsrc_create):
28587 * gst/base/gstpushsrc.h:
28588 Added is_seekable to BaseSrc
28589 Added simple PushSrc.
28591 2005-05-11 Wim Taymans <wim@fluendo.com>
28593 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28594 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28595 (gst_element_link_pads), (gst_element_query_position),
28596 (gst_element_query_convert), (intersect_caps_func),
28597 (gst_pad_query_position), (gst_pad_query_convert):
28598 Fix refcounting in utils function.
28599 No point in trying to activate a pad when it's added, it could
28600 be added from the state change function and then we deadlock, the
28601 element has to decide what to do.
28603 2005-05-10 Andy Wingo <wingo@pobox.com>
28605 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28606 *all* the arguments.
28608 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28609 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28610 lock (according to the docs -- if this is wrong change the docs).
28612 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28613 flush messages in the NULL state.
28615 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28616 message immediately and return.
28617 (gst_bus_set_flushing): New function. If a bus is flushing, it
28618 flushes out any queued messages and immediately unrefs new
28619 messages. This is so when an element goes to NULL, all of the
28620 unhandled messages coming from it can be freed, and their
28621 references to the element dropped. In other words: message source
28622 ref considered harmful :P
28624 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28625 we're finished with it.
28627 * gst/gstmessage.c (gst_message_new_state_changed):
28629 2005-05-10 Wim Taymans <wim@fluendo.com>
28631 * gst/gstvalue.c: (gst_value_compare_flags),
28632 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28633 (_gst_value_initialize):
28634 Added flags serialize/deserialize/compare code.
28636 2005-05-09 Andy Wingo <wingo@pobox.com>
28638 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28639 Intersect the peer's caps with our caps.
28641 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28643 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28644 * gst/elements/gsttypefindelement.c: (find_peek):
28645 Handle negative offsets better. Fixes decodebin.
28647 2005-05-09 Wim Taymans <wim@fluendo.com>
28649 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28650 (gst_base_transform_event):
28651 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28652 Implement accept_caps.
28653 Fix silly lock/unlock mismatch in base class.
28655 2005-05-09 Wim Taymans <wim@fluendo.com>
28657 * docs/design/draft-push-pull.txt:
28658 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28659 * gst/elements/gstfilesink.c: (gst_filesink_init),
28660 (gst_filesink_query):
28661 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28662 (gst_type_find_handle_src_query), (find_element_get_length):
28663 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28664 * gst/gstelement.h:
28665 * gst/gstmessage.c:
28666 * gst/gstmessage.h:
28667 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28668 (gst_real_pad_get_caps_unlocked),
28669 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28670 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28671 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28672 (gst_real_pad_dispose), (gst_real_pad_finalize),
28673 (gst_pad_load_and_link), (gst_pad_save_thyself),
28674 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28675 (gst_pad_check_pull_range), (gst_pad_pull_range),
28676 (gst_pad_template_get_type), (gst_pad_template_class_init),
28677 (gst_pad_template_init), (gst_pad_template_dispose),
28678 (name_is_valid), (gst_static_pad_template_get),
28679 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28680 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28681 (gst_pad_get_element_private), (gst_pad_start_task),
28682 (gst_pad_pause_task), (gst_pad_stop_task),
28683 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28684 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28685 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28686 (gst_ghost_pad_new):
28688 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28689 (gst_query_new_position), (gst_query_set_position),
28690 (gst_query_parse_position), (gst_query_new_convert),
28691 (gst_query_set_convert), (gst_query_parse_convert):
28693 * gst/gstqueryutils.c:
28694 * gst/gstqueryutils.h:
28695 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28696 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28697 (gst_queue_handle_src_query):
28698 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28699 (gst_element_query_position), (gst_element_query_convert),
28700 (intersect_caps_func), (gst_pad_query_position),
28701 (gst_pad_query_convert):
28703 * tools/gst-inspect.c: (print_pad_info):
28704 * tools/gst-xmlinspect.c: (print_element_info):
28705 Remove old query functions. Ported old code.
28706 Added position/convert helper functions to gstutils.
28707 Reordered gstpad.c code, grouping relevant things.
28708 Remove gst_message_new(), always need to speficy a specific
28712 2005-05-09 Andy Wingo <wingo@pobox.com>
28714 * gst/gstiterator.h: Add some includes.
28716 * gst/gstqueryutils.h: Include more headers.
28719 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28720 some uses of gst_pad_query.
28722 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28723 NULL out parameters.
28724 (gst_query_new_position): New proc, allocates a new position
28727 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28728 gstqueryutils.c to the build.
28730 * gst/gststructure.c (gst_structure_set_valist): Implement with
28731 the generic G_VALUE_COLLECT.
28733 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28735 * gst/Makefile.am: (gst_headers):
28736 Added gstqueryutils.h to the list of headers to install, that was
28737 a 'nachty' move wingo :)
28739 2005-05-06 Andy Wingo <wingo@pobox.com>
28742 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28743 GstData, init a memchunk.
28744 (standard_definitions): Add a few query types, deprecate a few.
28745 (gst_query_get_type): New proc.
28746 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28748 (gst_query_new_application, gst_query_get_structure): New public
28751 * docs/design/draft-query.txt: Removed LINKS from the query types,
28752 because all the rest can be dispatched to other pads -- seemed
28753 ugly to have a query that couldn't be dispatched. internal_links
28754 is fine as a pad method.
28756 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28757 in gstpad.c, but maintain binary compatibility for the moment.
28758 Will fix before 0.9 is out.
28760 * gst/gstqueryutils.c:
28761 * gst/gstqueryutils.h: New files, implement 3 methods for each
28762 query type: parse_query, parse_response, and set. Probably need an
28765 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28767 * gst/elements/gstfilesink.c (gst_filesink_query2):
28768 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28769 query_types, and formats methods.
28771 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28772 (gst_pad_set_query2_function): New functions.
28773 (gst_real_pad_init): Set query2_default as the default query2
28774 function. Basically just dispatches to internally linked pads.
28778 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28779 without using the atomic operations. Only one thread can possibly
28780 be accessing the data at this point. Changed so as to avoid
28781 gst_atomic operations.
28783 2005-05-06 Wim Taymans <wim@fluendo.com>
28785 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28786 Also set caps if we use the fallback buffer alloc.
28788 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28790 * docs/gst/Makefile.am:
28791 * docs/gst/gstreamer-docs.sgml:
28792 * docs/gst/gstreamer-sections.txt:
28793 * docs/gst/tmpl/gstatomic.sgml:
28794 * docs/gst/tmpl/gstmemchunk.sgml:
28795 * testsuite/elements/struct_i386.h:
28796 * win32/GStreamer.vcproj:
28798 Purge GstAtomic stuff from docs and win32 makefiles as well
28800 2005-05-06 Wim Taymans <wim@fluendo.com>
28802 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28803 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28804 * gst/gstpad.c: (gst_pad_peer_get_caps):
28805 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28806 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28807 (gst_queue_src_activate), (gst_queue_change_state):
28809 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28810 (intersect_caps_func):
28811 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28812 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28813 Some fixes for the peer_get_caps() change.
28815 2005-05-06 Wim Taymans <wim@fluendo.com>
28817 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28818 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28819 (gst_basesink_activate):
28820 Actually do something with error codes returned from the push
28823 2005-05-06 Wim Taymans <wim@fluendo.com>
28825 * docs/design/part-element-sink.txt:
28826 * docs/design/part-element-source.txt:
28827 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28828 (gst_basesink_event), (gst_basesink_activate):
28829 * gst/base/gstbasesink.h:
28830 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28831 (gst_basesrc_activate):
28832 * gst/base/gstbasesrc.h:
28833 * gst/gstelement.c: (gst_element_pads_activate):
28834 Some more documentation.
28835 Fixed scheduling decision in _pads_activate().
28837 2005-05-05 Andy Wingo <wingo@pobox.com>
28839 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28842 2005-05-05 Wim Taymans <wim@fluendo.com>
28844 * gst/base/Makefile.am:
28845 * gst/base/gstbasesink.h:
28846 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28847 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28848 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28849 (gst_collectpads_class_init), (gst_collectpads_init),
28850 (gst_collectpads_finalize), (gst_collectpads_new),
28851 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28852 (find_pad), (gst_collectpads_remove_pad),
28853 (gst_collectpads_is_active), (gst_collectpads_collect),
28854 (gst_collectpads_collect_range), (gst_collectpads_start),
28855 (gst_collectpads_stop), (gst_collectpads_peek),
28856 (gst_collectpads_pop), (gst_collectpads_available),
28857 (gst_collectpads_read), (gst_collectpads_flush),
28858 (gst_collectpads_chain):
28859 * gst/base/gstcollectpads.h:
28860 * gst/elements/Makefile.am:
28861 * gst/elements/gstelements.c:
28862 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28863 (gst_fakesink_get_times), (gst_fakesink_event),
28864 (gst_fakesink_preroll), (gst_fakesink_render):
28865 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28866 (gst_filesink_init), (gst_filesink_set_location),
28867 (gst_filesink_open_file), (gst_filesink_close_file),
28868 (gst_filesink_pad_query), (gst_filesink_event),
28869 (gst_filesink_render), (gst_filesink_change_state):
28870 * gst/elements/gstfilesink.h:
28871 Added object to help in making collect pad based elements.
28873 Make event function in sink baseclass return gboolean.
28875 2005-05-05 Wim Taymans <wim@fluendo.com>
28877 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28878 (gst_bin_get_by_name):
28880 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28881 (gst_clock_finalize):
28882 * gst/gstdata.c: (gst_data_replace):
28884 * gst/gstelement.c: (gst_element_request_pad),
28885 (gst_element_pads_activate):
28886 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28887 (gst_object_unref):
28888 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28889 (gst_pad_set_checkgetrange_function),
28890 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28891 (gst_pad_check_pull_range), (gst_pad_pull_range),
28892 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28893 (gst_pad_pause_task), (gst_pad_stop_task):
28894 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28895 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28896 Fix name lookup in GstBin.
28897 Added _data_replace() function and _buffer_replace()
28898 Use finalize method to clean up clock.
28899 Fix refcounting on request pads.
28900 Fix pad schedule mode error.
28901 Some more object refcounting debug info,
28904 2005-05-04 Andy Wingo <wingo@pobox.com>
28906 * check/Makefile.am:
28907 * docs/gst/tmpl/gstatomic.sgml:
28908 * docs/gst/tmpl/gstplugin.sgml:
28909 * gst/base/gstbasesink.c: (gst_basesink_activate):
28910 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28911 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28912 (gst_basesrc_query), (gst_basesrc_set_property),
28913 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28914 (gst_basesrc_activate):
28915 * gst/base/gstbasesrc.h:
28916 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28917 (gst_base_transform_src_activate):
28918 * gst/elements/gstelements.c:
28919 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28920 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28921 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28922 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28923 (gst_type_find_element_checkgetrange),
28924 (gst_type_find_element_activate):
28925 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28926 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28927 (gst_caps_load_thyself):
28928 * gst/gstelement.c: (gst_element_pads_activate),
28929 (gst_element_save_thyself), (gst_element_restore_thyself):
28930 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28931 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28933 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28934 (gst_xml_parse_file), (gst_xml_parse_memory),
28935 (gst_xml_get_element), (gst_xml_make_element):
28936 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28937 (_file_index_id_save_xml), (gst_file_index_commit):
28938 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28939 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28941 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28942 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28943 * tools/gst-complete.c: (main):
28944 * tools/gst-compprep.c: (main):
28945 * tools/gst-inspect.c: (print_element_properties_info):
28946 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28947 * tools/gst-xmlinspect.c: (print_element_properties):
28950 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28952 * gst/gstplugin.c: (gst_plugin_check_module),
28953 (gst_plugin_check_file), (gst_plugin_load_file):
28954 apply patch from #172526 to make register work on MacOSX
28956 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28958 * docs/gst/tmpl/gstconfig.sgml:
28959 * gst/gstconfig.h.in:
28960 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28961 * testsuite/debug/printf_extension.c: (main):
28962 Do not use GST_PTR_FORMAT on pointers to types with
28963 sizeof < sizeof(gpointer). Fixes test on 64-bit
28964 * testsuite/elements/property.h:
28965 use correct printf format
28967 2005-05-02 Wim Taymans <wim@fluendo.com>
28969 * docs/design/draft-push-pull.txt:
28970 * docs/design/draft-query.txt:
28971 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28972 (gst_basesrc_start):
28973 Added draft for new query API.
28974 Added draft for better selecting scheduling methods.
28975 Make basesrc ignore length if the subclass does not support
28978 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28981 possible fixes for automake-1.5 - _LIBADD is reserved
28983 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28985 * docs/faq/Makefile.am:
28986 * docs/manual/Makefile.am:
28987 * docs/manuals.mak:
28988 * docs/pwg/Makefile.am:
28990 possible fixes for automake-1.5
28992 2005-04-28 Wim Taymans <wim@fluendo.com>
28994 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28995 (gst_basesink_pad_getcaps), (gst_basesink_init),
28996 (gst_basesink_do_sync):
28997 * gst/gstclock.c: (gst_clock_entry_new):
28998 * gst/gstevent.c: (gst_event_discont_get_value):
28999 * gst/gstpipeline.c: (pipeline_bus_handler),
29000 (gst_pipeline_change_state):
29001 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29002 Better debugging of clocking info.
29003 Allow NULL values when getting discont values.
29005 2005-04-27 Wim Taymans <wim@fluendo.com>
29007 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29008 * check/gst/gstpad.c: (gst_pad_suite):
29009 Increase timeout for checks.
29011 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29013 * check/Makefile.am:
29014 fix the broken rule for cleanup. Apparently this rule is
29015 only needed on FC2, so maybe this warrants further autotool
29018 2005-04-26 Wim Taymans <wim@fluendo.com>
29020 * gst/gsttrashstack.h:
29021 Ooohh. a nasty one! After having a failed pop() from the stack,
29022 it's possible that the stack is empty. In that case, don't
29023 follow the NULL pointer.
29025 2005-04-25 Wim Taymans <wim@fluendo.com>
29027 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29028 (gst_pad_set_checkgetrange_function),
29029 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29030 (gst_pad_check_pull_range), (gst_pad_pull_range),
29031 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29032 (gst_pad_pause_task), (gst_pad_stop_task):
29033 * gst/gstplugin.c: (gst_plugin_load):
29035 Remove gst_library_load as it does more harm than good with
29036 the new g_module flags.
29037 Revert bogus caps template check in pad linking, pad caps
29038 are important when linking not the template, which is more
29039 general than the current caps.
29041 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29043 * gst/autoplug/.cvsignore:
29044 * gst/autoplug/Makefile.am:
29045 * gst/autoplug/gstsearchfuncs.c:
29046 * gst/autoplug/gstsearchfuncs.h:
29047 * gst/autoplug/gstspider.c:
29048 * gst/autoplug/gstspider.h:
29049 * gst/autoplug/gstspideridentity.c:
29050 * gst/autoplug/gstspideridentity.h:
29051 * gst/autoplug/spidertest.c:
29054 2005-04-25 Wim Taymans <wim@fluendo.com>
29056 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29057 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29058 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29059 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29061 Added stubs for unimplemented functions.
29063 2005-04-24 David Schleef <ds@schleef.org>
29065 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29068 2005-04-24 David Schleef <ds@schleef.org>
29070 Convert everything from GstAtomicInt to g_atomic_int_*, and
29075 * gst/gstatomic_impl.h:
29083 * gst/gstdata_private.h:
29087 * gst/gstmessage.c:
29090 * gst/gststructure.c:
29091 * gst/gststructure.h:
29092 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29095 2005-04-24 David Schleef <ds@schleef.org>
29097 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29098 make the regressions tests work. Remove some code that is no
29100 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29101 Disable warning for pads without templates.
29103 2005-04-24 David Schleef <ds@schleef.org>
29105 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29106 functions that handle filtered links.
29107 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29109 * gst/gstutils.c: Fix/remove utility functions that handle
29112 * gst/gstvalue.c: Add serialization/deserialization of caps
29113 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29114 requires fixing so that the filter caps notation creates
29115 a capsfilter element and sets the filter_caps property. I
29116 think everyone probably wants to keep the shorthand notation.
29117 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29118 * docs/gst/tmpl/gstpad.sgml:
29120 * gst/elements/gstelements.c: Register capsfilter element.
29121 * gst/Makefile.am: fix spacing
29122 * docs/random/ds/0.9-suggested-changes: random
29124 2005-04-23 David Schleef <ds@schleef.org>
29126 * gst/elements/Makefile.am:
29127 * gst/elements/gstcapsfilter.c: New element that acts like an
29128 identity, but filters caps. Will eventually replace filtered
29129 caps in pad linking.
29130 * gst/gstutils.c: (gst_element_create_all_pads): New function
29131 to create all the ALWAYS pads that are registered with an
29132 element class. This functionality should eventually be
29133 merged in with GstElement initialization.
29135 * testsuite/trigger/README: part of trigger test code that should
29136 have been checked in a long time ago.
29138 2005-04-23 David Schleef <ds@schleef.org>
29140 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29141 needed with new versions of libtool (nobody will confirm this),
29142 and hard to carry around.
29143 * gst/autoplug/Makefile.am:
29144 * gst/base/Makefile.am:
29145 * gst/elements/Makefile.am:
29146 * gst/indexers/Makefile.am:
29147 * gst/schedulers/Makefile.am:
29148 * libs/gst/bytestream/Makefile.am:
29149 * libs/gst/control/Makefile.am:
29150 * libs/gst/dataprotocol/Makefile.am:
29151 * libs/gst/getbits/Makefile.am:
29153 2005-04-21 Wim Taymans <wim@fluendo.com>
29155 * docs/design/draft-push-pull.txt:
29156 * docs/design/part-MT-refcounting.txt:
29157 * docs/design/part-TODO.txt:
29158 * docs/design/part-caps.txt:
29159 * docs/design/part-events.txt:
29160 * docs/design/part-gstbus.txt:
29161 * docs/design/part-gstpipeline.txt:
29162 * docs/design/part-messages.txt:
29163 * docs/design/part-push-pull.txt:
29164 * docs/design/part-query.txt:
29167 2005-04-21 Wim Taymans <wim@fluendo.com>
29169 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29170 (gst_message_new), (gst_message_new_error),
29171 (gst_message_new_warning), (gst_message_new_tag),
29172 (gst_message_new_state_changed), (gst_message_new_application),
29173 (gst_message_get_structure):
29174 * gst/gstmessage.h:
29175 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29176 (gst_structure_copy_conditional):
29177 Use parent refcount in GstMessage to ensure GstStructure
29179 Cleaned up headers a bit.
29182 2005-04-20 Wim Taymans <wim@fluendo.com>
29184 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29185 (gst_basesink_pad_getcaps), (gst_basesink_init),
29186 (gst_basesink_chain_unlocked):
29187 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29188 (gst_type_find_helper):
29189 * gst/elements/gsttypefindelement.c:
29190 (gst_type_find_element_have_type), (gst_type_find_element_init),
29191 (stop_typefinding), (gst_type_find_element_handle_event),
29192 (find_suggest), (gst_type_find_element_chain),
29193 (gst_type_find_element_checkgetrange),
29194 (gst_type_find_element_getrange), (do_typefind),
29195 (gst_type_find_element_activate):
29196 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29197 (gst_buffer_default_free), (gst_buffer_default_copy),
29198 (gst_buffer_set_caps):
29199 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29200 (gst_caps_replace):
29201 * gst/gstmessage.c: (gst_message_new),
29202 (gst_message_new_state_changed):
29203 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29204 (gst_pad_set_checkgetrange_function),
29205 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29206 (gst_pad_set_caps), (gst_pad_check_pull_range),
29207 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29209 * gst/gsttypefind.c: (gst_type_find_register):
29210 Make gst_caps_replace() work like other _replace() functions.
29211 Use _caps_replace() where possible.
29212 Make sure _message_new() initialises its field.
29213 Add gst_static_pad_template_get_caps()
29216 2005-04-18 Andy Wingo <wingo@pobox.com>
29218 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29219 on the peer, not the pad. I think that was a typo. Pass an extra
29220 arg to see if random access is possible. Activate the pads as
29221 PULL_RANGE if possible.
29223 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29225 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29226 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29229 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29231 * docs/faq/using.xml:
29232 Add note on gstreamer-properties (#154996).
29234 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29236 * docs/random/bbb/optional-properties:
29237 Some analysis on optional properties.
29239 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29241 * docs/gst/tmpl/gstelementfactory.sgml:
29242 * gst/gstelement.h:
29243 * gst/gstelementfactory.c: (gst_element_factory_init),
29244 (gst_element_factory_cleanup), (gst_element_register),
29245 (__gst_element_factory_add_static_pad_template),
29246 (gst_element_factory_get_static_pad_templates),
29247 (gst_element_factory_can_src_caps),
29248 (gst_element_factory_can_sink_caps):
29249 * gst/registries/Makefile.am:
29250 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29251 (gst_xml_registry_class_init), (gst_xml_registry_init),
29252 (gst_xml_registry_new), (gst_xml_registry_set_property),
29253 (gst_xml_registry_get_property), (get_time), (make_dir),
29254 (gst_xml_registry_get_perms_func),
29255 (plugin_times_older_than_recurse), (plugin_times_older_than),
29256 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29257 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29258 (add_to_char_array), (read_string), (read_uint), (read_enum),
29259 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29260 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29261 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29262 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29263 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29264 (gst_xml_registry_rebuild):
29265 * gst/registries/gstlibxmlregistry.h:
29266 * tools/gst-compprep.c: (main):
29267 * tools/gst-inspect.c: (print_pad_templates_info):
29268 * tools/gst-xmlinspect.c: (print_element_info):
29269 Use libxml2 for registry parsing, use staticpadtemplates in
29270 elementfactories. Makes gst_init() +/- 10x faster.
29272 2005-04-12 Wim Taymans <wim@fluendo.com>
29274 * gst/base/Makefile.am:
29275 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29276 (gst_basesink_pad_getcaps), (gst_basesink_init),
29277 (gst_basesink_event), (gst_basesink_change_state):
29278 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29279 (gst_basesrc_init), (gst_basesrc_query),
29280 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29281 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29282 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29283 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29284 (gst_basesrc_stop), (gst_basesrc_activate),
29285 (gst_basesrc_change_state):
29286 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29287 (helper_find_suggest), (gst_type_find_helper):
29288 * gst/base/gsttypefindhelper.h:
29289 * gst/elements/Makefile.am:
29290 * gst/elements/gstelements.c:
29291 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29292 (gst_fakesink_get_times), (gst_fakesink_event),
29293 (gst_fakesink_preroll), (gst_fakesink_render):
29294 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29295 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29296 (gst_fakesrc_get_property), (gst_fakesrc_create),
29297 (gst_fakesrc_start), (gst_fakesrc_stop):
29298 * gst/elements/gstfakesrc.h:
29299 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29300 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29301 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29302 (gst_filesrc_create_read), (gst_filesrc_create),
29303 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29304 (gst_filesrc_start):
29305 * gst/elements/gsttypefindelement.c:
29306 (gst_type_find_element_have_type), (gst_type_find_element_init),
29307 (start_typefinding), (stop_typefinding), (push_buffer_store),
29308 (gst_type_find_element_handle_event),
29309 (gst_type_find_element_chain),
29310 (gst_type_find_element_checkgetrange),
29311 (gst_type_find_element_getrange), (do_typefind),
29312 (gst_type_find_element_activate),
29313 (gst_type_find_element_change_state):
29314 * gst/elements/gsttypefindelement.h:
29315 * gst/gstpipeline.c: (pipeline_bus_handler):
29316 Added typefind helper.
29317 Small preroll fix in the base sink.
29318 Disable typefind code in basesrc.
29319 Crude port of typefindelement.
29323 2005-04-11 Wim Taymans <wim@fluendo.com>
29325 * check/gst/gstbus.c: (gstbus_suite):
29326 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29327 * check/gstcheck.h:
29328 Fix up the timeout so that the test does not fail.
29330 2005-04-06 Wim Taymans <wim@fluendo.com>
29333 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29334 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29335 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29336 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29337 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29338 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29339 (gst_basesrc_stop), (gst_basesrc_activate),
29340 (gst_basesrc_change_state), (basesrc_find_peek),
29341 (basesrc_find_suggest), (gst_basesrc_type_find):
29342 * gst/base/gstbasesrc.h:
29343 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29344 (gst_filesrc_class_init), (gst_filesrc_init),
29345 (gst_filesrc_finalize), (gst_filesrc_set_location),
29346 (gst_filesrc_set_property), (gst_filesrc_get_property),
29347 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29348 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29349 (gst_filesrc_create_read), (gst_filesrc_create),
29350 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29351 * gst/elements/gstfilesrc.h:
29352 * gst/gstelement.c: (gst_element_get_state_func),
29353 (gst_element_lost_state), (gst_element_pads_activate):
29354 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29355 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29356 (gst_pad_pull_range):
29358 More work on the generic source base class, implement seeking,
29360 Make filesrc extend the base source class.
29361 Added gst_pad_set_checkgetrange_function to GstPad.
29363 2005-04-06 Andy Wingo <wingo@pobox.com>
29365 * pkgconfig/gstreamer-base.pc.in:
29366 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29368 * pkgconfig/Makefile.am:
29369 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29371 2005-04-04 Wim Taymans <wim@fluendo.com>
29373 * gst/base/Makefile.am:
29375 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29376 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29377 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29378 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29379 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29380 (gst_basesrc_base_init), (gst_basesrc_class_init),
29381 (gst_basesrc_init), (gst_basesrc_get_formats),
29382 (gst_basesrc_get_query_types), (gst_basesrc_query),
29383 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29384 (gst_basesrc_set_property), (gst_basesrc_get_property),
29385 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29386 (gst_basesrc_loop), (gst_basesrc_activate),
29387 (gst_basesrc_change_state):
29388 * gst/base/gstbasesrc.h:
29389 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29390 (gst_fakesrc_class_init), (gst_fakesrc_init),
29391 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29392 (gst_fakesrc_get_property), (gst_fakesrc_create):
29393 * gst/elements/gstfakesrc.h:
29394 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29395 (gst_filesrc_open_file), (gst_filesrc_loop),
29396 (gst_filesrc_activate), (filesrc_find_peek),
29397 (gst_filesrc_type_find):
29398 Made base source class, make fakesrc extend it.
29399 Add comments to basesink class.
29400 Some filesrc cleanup.
29402 2005-03-31 David Schleef <ds@schleef.org>
29404 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29405 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29406 expected to link against libgstreamer.
29407 * gst/base/Makefile.am: link against libgstreamer
29408 * gst/elements/Makefile.am: same
29410 2005-03-31 Andy Wingo <wingo@pobox.com>
29412 * tests/instantiate/Makefile.am:
29413 * tests/instantiate/caps.c: Add test to test speed of caps copy
29416 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29417 GMemChunk to be fair.
29419 * gst/gsttrashstack.h: Remove warning about using the fallback
29420 trash stack implementation, it's still faster than malloc.
29422 2005-03-30 Andy Wingo <wingo@pobox.com>
29424 * tests/complexity.c: Add a copyright.
29426 2005-03-31 Wim Taymans <wim@fluendo.com>
29428 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29429 (gst_base_transform_class_init), (gst_base_transform_init),
29430 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29431 (gst_base_transform_get_property),
29432 (gst_base_transform_sink_activate),
29433 (gst_base_transform_src_activate),
29434 (gst_base_transform_change_state):
29435 * gst/base/gstbasetransform.h:
29436 * gst/elements/gstidentity.c: (gst_identity_class_init),
29437 (gst_identity_event), (gst_identity_check_perfect),
29438 (gst_identity_transform), (gst_identity_start),
29439 (gst_identity_stop):
29440 Added start/stop methods to transform base class so subclasses
29441 don't need to deal with state changes even.
29443 2005-03-31 Wim Taymans <wim@fluendo.com>
29445 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29446 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29448 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29449 (gst_pad_pull_range):
29450 Added rate to the discont event to prepare for variable speed
29451 and reverse playback.
29453 2005-03-29 David Schleef <ds@schleef.org>
29456 * testsuite/trigger/Makefile.am:
29457 * testsuite/trigger/trigger.c: A little example program to show
29458 how trigger-based elements can work.
29460 2005-03-29 Wim Taymans <wim@fluendo.com>
29462 * gst/base/Makefile.am:
29464 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29465 (gst_basesink_base_init), (gst_basesink_class_init),
29466 (gst_basesink_pad_getcaps), (gst_basesink_init),
29467 (gst_basesink_activate), (gst_basesink_change_state):
29468 * gst/base/gstbasesink.h:
29469 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29470 (gst_base_transform_base_init), (gst_base_transform_finalize),
29471 (gst_base_transform_class_init), (gst_base_transform_init),
29472 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29473 (gst_base_transform_event), (gst_base_transform_getrange),
29474 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29475 (gst_base_transform_set_property),
29476 (gst_base_transform_get_property),
29477 (gst_base_transform_sink_activate),
29478 (gst_base_transform_src_activate),
29479 (gst_base_transform_change_state):
29480 * gst/base/gstbasetransform.h:
29481 * gst/elements/gstidentity.c: (gst_identity_finalize),
29482 (gst_identity_class_init), (gst_identity_init),
29483 (gst_identity_event), (gst_identity_check_perfect),
29484 (gst_identity_transform), (gst_identity_set_property),
29485 (gst_identity_get_property), (gst_identity_change_state):
29486 * gst/elements/gstidentity.h:
29487 * gst/gstelement.c: (gst_element_get_state_func),
29488 (gst_element_lost_state), (gst_element_pads_activate):
29489 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29490 (gst_pad_check_pull_range), (gst_pad_pull_range):
29492 Simplify pad activation.
29493 Added function to check if pull_range can be performed.
29494 Error out when pulling inactive or flushing pads.
29495 Removed const from refcounted types as it does not make sense.
29496 Simplify pad templates in basesink
29497 Added base class for simple 1-to-1 transforms.
29498 Make identity subclass the base transform.
29500 2005-03-29 Andy Wingo <wingo@pobox.com>
29502 * docs/libs/gstreamer-libs-overrides.txt:
29503 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29504 really don't understand what's going on, but like whatever. I want
29507 * docs/gst/Makefile.am:
29508 * docs/libs/Makefile.am: Dist the overrides files.
29510 * check/Makefile.am (clean-local): Remove .libs directories.
29512 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29513 elements to EXTRA_DIST, so po/ files are happy.
29515 * po/POTFILES.in: Er, remove it here.
29517 * po/POTFILES: Remove gstspider.c.
29519 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29521 * docs/libs/gstreamer-libs-docs.sgml:
29522 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29525 * tests/complexity.c (main): Set the length of the preroll queue
29526 on the sinks to prevent a lockup.
29528 * libs/gst/dataprotocol/Makefile.am:
29529 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29530 the same as the one in check/gst-libs/gdp.c.
29532 * po/, docs/gst/: Commit automatic changes to docs and po files.
29534 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29535 the versioned libgstbase.
29537 * check/Makefile.am: Depend on an unversioned gst-register, seems
29538 to make autoconf happier.
29540 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29542 2005-03-28 Wim Taymans <wim@fluendo.com>
29545 * docs/design/part-gstelement.txt:
29546 * docs/design/part-negotiation.txt:
29547 * docs/design/part-preroll.txt:
29548 * docs/design/part-scheduling.txt:
29549 * docs/design/part-states.txt:
29551 * gst/base/Makefile.am:
29553 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29554 (gst_basesink_base_init), (gst_basesink_class_init),
29555 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29556 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29557 (gst_basesink_set_pad_functions),
29558 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29559 (gst_basesink_set_property), (gst_basesink_get_property),
29560 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29561 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29562 (gst_basesink_preroll_queue_push),
29563 (gst_basesink_preroll_queue_empty),
29564 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29565 (gst_basesink_event), (gst_basesink_get_times),
29566 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29567 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29568 (gst_basesink_loop), (gst_basesink_activate),
29569 (gst_basesink_change_state):
29570 * gst/base/gstbasesink.h:
29571 * gst/elements/Makefile.am:
29572 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29573 (gst_fakesink_class_init), (gst_fakesink_init),
29574 (gst_fakesink_set_property), (gst_fakesink_get_property),
29575 (gst_fakesink_get_times), (gst_fakesink_event),
29576 (gst_fakesink_preroll), (gst_fakesink_render),
29577 (gst_fakesink_change_state):
29578 * gst/elements/gstfakesink.h:
29579 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29580 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29581 * gst/gstelement.c: (gst_element_add_pad),
29582 (gst_element_get_state_func), (gst_element_abort_state),
29583 (gst_element_commit_state), (gst_element_lost_state),
29584 (gst_element_set_state), (gst_element_pads_activate):
29585 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29586 * gst/gstpipeline.c: (gst_pipeline_send_event),
29587 (gst_pipeline_change_state):
29588 Added state change code.
29589 Added/updated docs.
29590 Added sink base class, make fakesink extend the base class.
29591 Small cleanups in GstPipeline.
29593 2005-03-26 David Schleef <ds@schleef.org>
29595 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29596 is broken and should be implemented in a different library.
29597 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29598 * gst/gst.h: remove gstcpu.h
29599 * gst/gstcpu.c: remove
29600 * gst/gstcpu.h: remove
29601 * gst/Makefile.am.future: Remove this file. It's ancient.
29603 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29606 (gst_bin_send_event):
29607 Add default event/set_manager handlers. The set_manager handler
29608 takes care that the manager is distributed over kids that were
29609 already in the bin before the manager was set. The event handler
29610 is a utility virtual function that sends the event over all sinks,
29611 so that gst_element_send_event (bin, event); has the expected
29613 * gst/gstpad.c: (gst_pad_event_default):
29614 Re-install default event handling for discontinuities, so that
29615 seeking works without requiring hacks in applications or extra
29617 * gst/gstpipeline.c: (gst_pipeline_class_init),
29618 (gst_pipeline_send_event):
29619 Half hack, half utility: set a pipeline to PAUSED for seek events,
29620 since that is the only way we can guarantee a/v sync. Means that
29621 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29622 and it "just works".
29624 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29626 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29627 Lock/unlock mismatch.
29629 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29631 * docs/faq/gst-uninstalled:
29632 add gst-plugins-base
29633 * docs/gst/Makefile.am:
29634 don't error out until docs are fixed
29635 * docs/gst/gstreamer.types:
29638 2005-03-22 Wim Taymans <wim@fluendo.com>
29640 * check/Makefile.am:
29641 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29642 * gst/gststructure.c: (gst_structure_set_valist),
29643 (gst_structure_copy_conditional):
29644 Activated more tests.
29645 Added message test.
29646 Added G_TYPE_POINTER to GstStructure.
29649 2005-03-22 Wim Taymans <wim@fluendo.com>
29651 * docs/design/part-TODO.txt:
29652 * docs/design/part-events.txt:
29653 * docs/design/part-gstbin.txt:
29654 * docs/design/part-gstbus.txt:
29655 * docs/design/part-gstpipeline.txt:
29656 * docs/design/part-messages.txt:
29658 * gst/gstmessage.c:
29661 2005-03-21 Wim Taymans <wim@fluendo.com>
29663 * gst/gstbus.c: (gst_bus_post):
29664 Fix copy-and-paste error.
29666 2005-03-21 Wim Taymans <wim@fluendo.com>
29668 * check/Makefile.am:
29670 * gst/elements/Makefile.am:
29671 * gst/elements/gstelements.c:
29672 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29673 (gst_fakesink_event), (gst_fakesink_chain):
29674 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29675 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29676 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29677 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29678 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29679 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29680 (gst_fakesrc_loop), (gst_fakesrc_activate),
29681 (gst_fakesrc_change_state):
29682 * gst/elements/gstfakesrc.h:
29683 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29684 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29685 (gst_filesrc_open_file), (gst_filesrc_loop),
29686 (gst_filesrc_activate), (gst_filesrc_change_state),
29687 (filesrc_find_peek), (filesrc_find_suggest),
29688 (gst_filesrc_type_find):
29689 * gst/elements/gstidentity.c: (gst_identity_finalize),
29690 (gst_identity_class_init), (gst_identity_init),
29691 (gst_identity_proxy_getcaps), (identity_queue_push),
29692 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29693 (gst_identity_getrange), (gst_identity_chain),
29694 (gst_identity_sink_loop), (gst_identity_src_loop),
29695 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29696 (gst_identity_set_property), (gst_identity_get_property),
29697 (gst_identity_change_state):
29698 * gst/elements/gstidentity.h:
29699 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29700 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29701 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29702 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29703 (gst_tee_sink_activate):
29704 * gst/elements/gsttee.h:
29705 * gst/gst.c: (gst_register_core_elements), (init_post):
29707 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29708 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29709 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29710 (gst_bin_change_state):
29712 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29713 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29714 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29715 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29716 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29717 (bus_watch_callback), (bus_watch_destroy),
29718 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29719 (poll_timeout), (gst_bus_poll):
29723 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29724 (gst_element_post_message), (gst_element_message_full),
29725 (gst_element_get_state_func), (gst_element_get_state),
29726 (gst_element_abort_state), (gst_element_commit_state),
29727 (gst_element_lost_state), (gst_element_set_state),
29728 (gst_element_pads_activate), (gst_element_change_state),
29729 (gst_element_dispose), (gst_element_set_manager_func),
29730 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29731 (gst_element_set_manager), (gst_element_get_manager),
29732 (gst_element_set_bus), (gst_element_get_bus),
29733 (gst_element_set_scheduler), (gst_element_get_scheduler):
29734 * gst/gstelement.h:
29735 * gst/gstevent.c: (gst_event_new_segment_seek),
29736 (gst_event_new_flush):
29738 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29739 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29740 (gst_message_new_eos), (gst_message_new_error),
29741 (gst_message_new_warning), (gst_message_new_tag),
29742 (gst_message_new_state_changed), (gst_message_new_application),
29743 (gst_message_get_structure), (gst_message_parse_tag),
29744 (gst_message_parse_state_changed), (gst_message_parse_error),
29745 (gst_message_parse_warning):
29746 * gst/gstmessage.h:
29747 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29748 (gst_real_pad_set_property), (gst_pad_set_active),
29749 (gst_pad_is_active), (gst_pad_set_blocked_async),
29750 (gst_pad_set_blocked), (gst_pad_is_blocked),
29751 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29752 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29753 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29754 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29755 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29756 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29757 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29758 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29759 (gst_pad_set_caps), (gst_pad_configure_sink),
29760 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29761 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29762 (gst_real_pad_dispose), (gst_real_pad_finalize),
29763 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29764 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29765 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29767 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29768 (pipeline_bus_handler), (gst_pipeline_change_state),
29769 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29770 * gst/gstpipeline.h:
29772 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29773 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29774 (gst_queue_link_src), (gst_queue_bufferalloc),
29775 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29776 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29777 (gst_queue_loop), (gst_queue_handle_src_event),
29778 (gst_queue_handle_src_query), (gst_queue_src_activate),
29779 (gst_queue_change_state):
29781 * gst/gstscheduler.c: (gst_scheduler_init),
29782 (gst_scheduler_dispose), (gst_scheduler_create_task),
29783 (gst_scheduler_factory_create):
29784 * gst/gstscheduler.h:
29785 * gst/gststructure.c: (gst_structure_get_type),
29786 (gst_structure_copy_conditional):
29787 * gst/gststructure.h:
29788 * gst/gsttaginterface.h:
29789 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29790 (gst_task_init), (gst_task_dispose), (gst_task_create),
29791 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29797 * gst/schedulers/Makefile.am:
29798 * gst/schedulers/cothreads_compat.h:
29799 * gst/schedulers/entryscheduler.c:
29800 * gst/schedulers/faircothreads.c:
29801 * gst/schedulers/faircothreads.h:
29802 * gst/schedulers/fairscheduler.c:
29803 * gst/schedulers/gstbasicscheduler.c:
29804 * gst/schedulers/gstoptimalscheduler.c:
29805 * gst/schedulers/gthread-cothreads.h:
29806 * gst/schedulers/threadscheduler.c:
29807 (gst_thread_scheduler_task_get_type),
29808 (gst_thread_scheduler_task_class_init),
29809 (gst_thread_scheduler_task_init),
29810 (gst_thread_scheduler_task_start),
29811 (gst_thread_scheduler_task_stop),
29812 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29813 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29814 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29815 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29817 * libs/gst/Makefile.am:
29818 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29819 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29820 (gst_file_pad_parent_set):
29821 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29822 (gst_dp_event_from_packet):
29823 * tests/complexity.c: (main):
29824 * tests/mass_elements.c: (main):
29825 * testsuite/states/locked.c: (message_received), (main):
29826 * testsuite/states/parent.c: (main):
29827 * tools/gst-inspect.c: (print_element_flag_info),
29828 (print_implementation_info), (print_pad_info):
29829 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29831 * tools/gst-md5sum.c: (event_loop), (main):
29832 * tools/gst-typefind.c: (main):
29833 * tools/gst-xmlinspect.c: (print_element_info):
29835 Added GstBus for mainloop integration.
29836 Added GstMessage for sending notifications on the bus.
29837 Added GstTask as an abstraction for pipeline entry points.
29839 Removed Schedulers.
29840 Simplified GstQueue for multithreaded core.
29841 Made _link threadsafe, removed old capsnego.
29842 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29843 Added pad blocking functions.
29844 Reworked scheduling functions in GstPad to prepare for
29845 scheduling updates soon.
29846 Moved events out of data stream.
29847 Simplified GstEvent types.
29848 Added return values to push/pull.
29849 Removed clocking from GstElement.
29850 Added prototypes for state change function for next merge.
29851 Removed iterate from bins and state change management.
29852 Fixed some elements, disabled others for now.
29853 Fixed -inspect and -launch.
29854 Added check for GstBus.
29856 2005-03-10 Wim Taymans <wim@fluendo.com>
29858 * docs/design/part-MT-refcounting.txt:
29859 * docs/design/part-clocks.txt:
29860 * docs/design/part-gstelement.txt:
29861 * docs/design/part-gstobject.txt:
29862 * docs/design/part-standards.txt:
29863 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29864 (gst_bin_remove_func), (gst_bin_remove):
29868 * testsuite/clock/clock1.c: (main):
29869 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29871 * testsuite/dlopen/loadgst.c: (do_test):
29872 * testsuite/refcounting/bin.c: (add_remove_test1),
29873 (add_remove_test2), (main):
29874 * testsuite/refcounting/element.c: (main):
29875 * testsuite/refcounting/element_pad.c: (main):
29876 * testsuite/refcounting/pad.c: (main):
29877 * tools/gst-launch.c: (sigint_handler_sighandler):
29878 * tools/gst-typefind.c: (main):
29880 Added doc about clock.
29881 removed gst_bin_iterate_recurse_up(), marked methods
29883 Fix more testsuites.
29885 2005-03-09 Wim Taymans <wim@fluendo.com>
29887 * gst/gstpad.c: (gst_pad_get_direction),
29888 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29889 (gst_pad_collect_valist):
29890 * testsuite/bins/interface.c: (main):
29891 * testsuite/caps/audioscale.c: (test_caps):
29892 * testsuite/caps/caps.c: (test1), (test2), (test3):
29893 * testsuite/caps/deserialize.c: (main):
29894 * testsuite/caps/enumcaps.c: (main):
29895 * testsuite/caps/filtercaps.c: (main):
29896 * testsuite/caps/intersect2.c: (main):
29897 * testsuite/caps/random.c: (main):
29898 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29899 * testsuite/caps/sets.c: (check_caps):
29900 * testsuite/caps/simplify.c: (check_caps), (main):
29901 * testsuite/caps/subtract.c: (check_caps):
29902 Fix _pad_get_direction wrt ghostpads.
29903 Fix caps testsuite.
29905 2005-03-09 Wim Taymans <wim@fluendo.com>
29907 * check/Makefile.am:
29908 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29909 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29910 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29911 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29912 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29913 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29914 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29915 (bin_element_is_sink), (gst_bin_iterate_sinks),
29916 (gst_bin_iterate_all_by_interface):
29918 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29919 (gst_element_change_state), (gst_element_dispose),
29920 (gst_element_finalize), (gst_element_set_loop_function):
29921 * gst/gstelement.h:
29922 * gst/gstiterator.c: (find_custom_fold_func):
29923 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29924 (gst_pad_collectv), (gst_pad_collect_valist),
29925 (gst_pad_template_new):
29926 * gst/gstpipeline.c: (gst_pipeline_class_init),
29927 (gst_pipeline_dispose), (gst_pipeline_set_property),
29928 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29929 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29930 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29932 * gst/schedulers/entryscheduler.c:
29933 * gst/schedulers/gstbasicscheduler.c:
29934 (gst_basic_scheduler_cothreaded_chain),
29935 (gst_basic_scheduler_chain_add_element):
29936 * testsuite/bins/interface.c: (main):
29938 Added GstSystemClock test.
29939 Implemented clock distribution code in GstBin.
29940 Implemented iterate sinks method for future use.
29941 Rearranged gstelement.h
29942 Fix GstIterator comparison bug.
29943 Moved some code to GstPipeline, mostly clocking related.
29945 2005-03-09 Wim Taymans <wim@fluendo.com>
29948 * gst/gst_private.h:
29949 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29950 (gst_bin_remove_func), (gst_bin_remove),
29951 (gst_bin_get_by_name_recurse_up):
29952 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29953 (gst_clock_id_compare_func), (gst_clock_id_wait),
29954 (gst_clock_id_wait_async), (gst_clock_init),
29955 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29956 * gst/gstelement.h:
29957 * gst/gstinfo.c: (_gst_debug_init):
29959 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29960 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29962 Bump version number, we're now 0.9.0
29963 Add future debugging category.
29964 Fix NULL _unref() in _get_by_name_recurse_up
29965 Rearrange gstpad.h.
29968 2005-03-08 Wim Taymans <wim@fluendo.com>
29970 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29971 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29972 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29973 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29974 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29975 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29976 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29977 * gst/elements/gstidentity.c: (gst_identity_class_init):
29978 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29979 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29980 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29981 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29982 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29984 * gst/gstelement.c: (gst_element_class_init),
29985 (gst_element_base_class_init), (gst_element_init),
29986 (gst_element_get_random_pad), (gst_element_wait_state_change),
29987 (gst_element_change_state), (gst_element_dispose),
29988 (gst_element_finalize), (gst_element_set_loop_function):
29989 * gst/gstelement.h:
29990 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29991 * gst/gstthread.c: (gst_thread_class_init),
29992 (gst_thread_release_children_locks), (gst_thread_change_state):
29993 * gst/schedulers/gstbasicscheduler.c:
29994 (gst_basic_scheduler_loopfunc_wrapper),
29995 (gst_basic_scheduler_chain_wrapper),
29996 (gst_basic_scheduler_src_wrapper),
29997 (gst_basic_scheduler_remove_element):
29998 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29999 Remove threadsafe properties. Fix elements because GObject
30000 complains when installing a property before declaring a
30001 set/get_property handler.
30002 Rearrange gstelement.h file, use STATE macros for state locks.
30003 Free mutexes in the finalize method instead of dispose.
30005 2005-03-08 Wim Taymans <wim@fluendo.com>
30007 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30008 * gst/gstthread.c: (gst_thread_release_children_locks):
30009 Added parentage check.
30010 Fix build og GstThread again.
30012 2005-03-08 Wim Taymans <wim@fluendo.com>
30014 * docs/design/part-MT-refcounting.txt:
30015 * docs/design/part-conventions.txt:
30016 * docs/design/part-gstobject.txt:
30017 * docs/design/part-relations.txt:
30018 * docs/design/part-standards.txt:
30019 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30020 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30021 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30022 (gst_bin_iterate_all_by_interface):
30025 * gst/gstelement.c: (gst_element_class_init),
30026 (gst_element_change_state), (gst_element_set_loop_function):
30027 * gst/gstelement.h:
30028 * gst/gstiterator.c:
30029 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30030 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30031 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30032 (gst_object_set_parent), (gst_object_unparent),
30033 (gst_object_check_uniqueness):
30035 Docs updates, clean up some headers.
30037 2005-03-07 Wim Taymans <wim@fluendo.com>
30039 * check/.cvsignore:
30040 * check/Makefile.am:
30041 * check/gst-libs/.cvsignore:
30042 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30043 * check/gst/.cvsignore:
30044 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30045 (START_TEST), (gstbus_suite), (main):
30046 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30047 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30048 (gst_data_suite), (main):
30049 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30050 (add_fold_func), (gstiterator_suite), (main):
30051 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30052 (thread_name_object), (thread_name_object_default),
30053 (gst_object_name_compare), (gst_object_suite), (main):
30054 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30055 (gst_pad_suite), (main):
30056 * check/gstcheck.c: (gst_check_log_message_func),
30057 (gst_check_log_critical_func), (gst_check_init):
30058 * check/gstcheck.h:
30059 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30060 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30063 2005-03-07 Wim Taymans <wim@fluendo.com>
30065 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30066 (gst_list_iterator_next), (gst_list_iterator_resync),
30067 (gst_list_iterator_free), (gst_iterator_new_list),
30068 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30069 (gst_iterator_free), (gst_iterator_push), (filter_next),
30070 (filter_resync), (filter_uninit), (filter_free),
30071 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30072 (gst_iterator_foreach), (find_custom_fold_func),
30073 (gst_iterator_find_custom):
30074 * gst/gstiterator.h:
30075 Added missing files.
30077 2005-03-07 Wim Taymans <wim@fluendo.com>
30081 * docs/design/part-MT-refcounting.txt:
30082 * docs/design/part-conventions.txt:
30083 * docs/design/part-gstobject.txt:
30084 * docs/design/part-relations.txt:
30085 * examples/mixer/mixer.c: (main):
30086 * examples/thread/thread.c: (eos), (main):
30088 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30089 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30090 (gst_spider_plug_from_srcpad):
30091 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30092 (gst_spider_identity_change_state),
30093 (gst_spider_identity_sink_loop_type_finding):
30094 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30095 * gst/elements/gstidentity.c: (gst_identity_init):
30096 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30097 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30098 * gst/elements/gsttypefindelement.c: (free_entry):
30101 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30102 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30103 (gst_bin_set_index), (gst_bin_set_element_sched),
30104 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30105 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30106 (gst_bin_iterate_elements), (iterate_child_recurse),
30107 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30108 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30109 (compare_interface), (gst_bin_get_by_interface),
30110 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30112 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30113 (gst_buffer_default_free), (gst_buffer_default_copy),
30114 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30115 (gst_buffer_create_sub):
30117 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30118 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30119 (gst_caps_unref), (gst_static_caps_get),
30120 (gst_caps_remove_and_get_structure), (gst_caps_append),
30121 (gst_caps_append_structure), (gst_caps_remove_structure),
30122 (gst_caps_copy_nth), (gst_caps_set_simple),
30123 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30124 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30125 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30126 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30127 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30128 (gst_caps_structure_figure_out_union),
30129 (gst_caps_switch_structures), (gst_caps_do_simplify),
30130 (gst_caps_replace), (gst_caps_from_string),
30131 (gst_caps_copy_conditional):
30133 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30134 (_gst_clock_id_free), (gst_clock_id_unref),
30135 (gst_clock_id_compare_func), (gst_clock_id_wait),
30136 (gst_clock_id_wait_async), (gst_clock_class_init),
30137 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30138 (gst_clock_get_time), (gst_clock_set_time_adjust),
30139 (gst_clock_set_property), (gst_clock_get_property):
30142 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30143 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30145 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30146 (gst_element_requires_clock), (gst_element_provides_clock),
30147 (gst_element_set_clock), (gst_element_clock_wait),
30148 (gst_element_wait), (gst_element_set_time_delay),
30149 (gst_element_is_indexable), (gst_element_add_pad),
30150 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30151 (pad_compare_name), (gst_element_get_static_pad),
30152 (gst_element_request_pad), (gst_element_get_request_pad),
30153 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30154 (gst_element_class_get_pad_template_list),
30155 (gst_element_class_get_pad_template), (gst_element_error_func),
30156 (gst_element_get_random_pad), (gst_element_get_event_masks),
30157 (gst_element_send_event), (gst_element_seek),
30158 (gst_element_get_query_types), (gst_element_query),
30159 (gst_element_get_formats), (gst_element_convert),
30160 (gst_element_is_locked_state), (gst_element_set_locked_state),
30161 (gst_element_sync_state_with_parent), (gst_element_change_state),
30162 (gst_element_finalize), (gst_element_yield),
30163 (gst_element_interrupt), (gst_element_set_scheduler),
30164 (gst_element_get_scheduler), (gst_element_set_loop_function):
30165 * gst/gstelement.h:
30167 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30168 (gst_format_get_by_nick), (gst_format_get_details),
30169 (gst_format_iterate_definitions):
30171 * gst/gstindex.c: (gst_index_gtype_resolver):
30174 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30175 (gst_mem_chunk_free):
30176 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30177 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30178 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30179 (gst_object_dispatch_properties_changed),
30180 (gst_object_set_name_default), (gst_object_set_name),
30181 (gst_object_get_name), (gst_object_set_name_prefix),
30182 (gst_object_get_name_prefix), (gst_object_set_parent),
30183 (gst_object_get_parent), (gst_object_unparent),
30184 (gst_object_check_uniqueness), (gst_object_save_thyself),
30185 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30186 (gst_object_set_property), (gst_object_get_property),
30187 (gst_object_get_path_string):
30189 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30190 (gst_real_pad_init), (gst_real_pad_get_property),
30191 (gst_pad_custom_new), (gst_pad_get_direction),
30192 (gst_pad_set_active), (gst_pad_is_active),
30193 (gst_pad_set_event_function), (gst_pad_is_linked),
30194 (gst_pad_link_free), (gst_pad_link_intersect),
30195 (gst_pad_link_fixate), (gst_pad_set_caps),
30196 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30197 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30198 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30199 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30200 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30201 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30202 (gst_pad_realize), (gst_pad_get_allowed_caps),
30203 (gst_real_pad_dispose), (gst_real_pad_finalize),
30204 (gst_pad_collectv), (gst_pad_collect_valist),
30205 (gst_pad_template_dispose), (gst_pad_template_new),
30206 (gst_pad_get_internal_links):
30208 * gst/gstpipeline.c: (gst_pipeline_dispose),
30209 (gst_pipeline_change_state):
30210 * gst/gstpipeline.h:
30212 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30213 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30214 * gst/gstpluginfeature.h:
30215 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30216 * gst/gstquery.c: (_gst_query_type_initialize),
30217 (gst_query_type_register), (gst_query_type_get_by_nick),
30218 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30220 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30221 * gst/gstscheduler.c: (gst_scheduler_add_element),
30222 (gst_scheduler_factory_create):
30223 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30224 (gst_structure_free), (gst_structure_set_name),
30225 (gst_structure_id_set_value), (gst_structure_set_value),
30226 (gst_structure_set_valist), (gst_structure_remove_field),
30227 (gst_structure_remove_fields),
30228 (gst_structure_remove_fields_valist),
30229 (gst_structure_remove_all_fields), (gst_structure_foreach),
30230 (gst_structure_map_in_place),
30231 (gst_caps_structure_fixate_field_nearest_int),
30232 (gst_caps_structure_fixate_field_nearest_double):
30233 * gst/gststructure.h:
30234 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30235 (gst_system_clock_init), (gst_system_clock_dispose),
30236 (gst_system_clock_async_thread),
30237 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30238 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30239 * gst/gstsystemclock.h:
30240 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30241 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30242 * gst/gsttaginterface.c:
30243 * gst/gstthread.c: (gst_thread_dispose),
30244 (gst_thread_release_children_locks), (gst_thread_change_state),
30245 (gst_thread_main_loop):
30246 * gst/gsttrashstack.h:
30247 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30249 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30250 (gst_element_request_pad), (gst_element_get_pad_from_template),
30251 (gst_element_request_compatible_pad),
30252 (gst_element_get_compatible_pad_filtered),
30253 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30254 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30255 (gst_element_link_many), (gst_element_link),
30256 (gst_element_link_pads), (gst_element_unlink_pads),
30257 (gst_element_unlink_many), (gst_element_unlink),
30258 (gst_pad_can_link_filtered), (gst_pad_can_link),
30259 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30260 (gst_object_default_error), (gst_bin_add_many),
30261 (gst_bin_remove_many), (gst_element_populate_std_props),
30262 (gst_element_class_install_std_props), (gst_buffer_merge),
30263 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30264 (link_fold_func), (gst_pad_proxy_setcaps):
30266 * gst/gstvalue.c: (gst_value_deserialize_string):
30267 * gst/parse/grammar.y:
30268 * gst/schedulers/gstbasicscheduler.c:
30269 (gst_basic_scheduler_cothreaded_chain),
30270 (gst_basic_scheduler_chain_recursive_add),
30271 (gst_basic_scheduler_pad_link):
30272 * gst/schedulers/gstoptimalscheduler.c:
30273 (get_group_schedule_function),
30274 (gst_opt_scheduler_state_transition),
30275 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30276 * libs/gst/bytestream/bytestream.c:
30277 * libs/gst/dataprotocol/dataprotocol.c:
30278 (gst_dp_header_from_buffer):
30281 * tests/threadstate/threadstate2.c: (eos):
30282 * tools/gst-compprep.c: (main):
30283 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30284 (print_pad_info), (print_children_info):
30285 * tools/gst-launch.c: (idle_func), (main):
30286 * tools/gst-md5sum.c: (idle_func), (main):
30287 * tools/gst-xmlinspect.c: (print_element_info):
30288 First THREADED backport attempt, focusing on adding locks and
30289 making sure the API is threadsafe. Needs more work. More docs
30292 2005-02-24 Andy Wingo <wingo@pobox.com>
30294 * tests/bench-complexity.scm:
30295 * tests/complexity.gnuplot: New files, good for running complexity
30298 * tests/Makefile.am:
30299 * tests/complexity.c: New test, sets up N elements, at each level
30300 teeing into M streams per element. Eeeenteresting.
30302 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30303 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30304 running bench-mass_elements.scm.
30306 * tests/bench-mass_elements.scm: New script, runs mass_elements
30307 for various numbers of identities, outputting the results to a
30308 file. Requires guile 1.6. Just for testing.
30310 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30312 * gst/schedulers/fairscheduler.c:
30313 compile with debug disabled
30315 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30318 hunting season on 0.9 is now OPEN