1 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4 Check if caps are not NULL (fix bug #510194)
6 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
9 Fix compilation on systems that have posix timers but no
12 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
15 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
17 * tools/gst-inspect.c:
18 Revert previous commit in preparation for an impromptu 0.10.17 release
20 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
22 * tools/gst-inspect.c: (print_interfaces),
23 (print_element_properties_info), (print_pad_info),
24 (print_signal_info), (print_element_info):
25 Fix a few memory leaks.
27 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
32 === release 0.10.16 ===
34 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
37 releasing 0.10.16, "Special Dispensation"
39 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
42 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
43 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
44 not fail when trying to crosscompile on OpenEmbedded (#511750).
46 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
49 Use $(MAKE) instead of make to fix the build if GNU make is
50 called different. Fixes bug #510747.
52 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
54 * gst/gstplugin.c: (_gst_plugin_initialize):
55 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
56 again, which I broke two commits ago when changing the API
57 of gst_plugin_register_static(): the g_list_foreach() in
58 _gst_plugin_register_static still assumed the old function
59 signature and would therefore fail (re-fixes #510187).
61 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
62 (_gst_plugin_register_static), (gst_plugin_register_static):
63 Revert the (technically correct) change to call g_thread_init() from
64 the pre-main() constructor. This will break programs which call
65 g_thread_init() without an if (!g_thread_supported()) guard in their
66 main function. We could just blame it on GLib or the application, but
67 it's probably best to just avoid this altogether and simply not use
68 any GLib functions here and use plain old malloc() with a simple
69 array to store the plugins to register later when gst_init() is
70 finally called (re-fixes #510187).
72 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
73 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
74 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
75 (GST_START_TEST), (gst_plugin_suite):
76 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
79 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
81 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
82 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
83 This makes gtk-doc complain, but results in slightly better
84 compiler errors. The old _gst_plugin_register_static() is
85 still guarded, so there'll be a compiler warning about that
86 instead. Fixes #510187 too.
88 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
90 * gst/gst.c: (init_post):
91 * gst/gstplugin.c: (_gst_plugin_register_static),
92 (gst_plugin_register_static), (_gst_plugin_initialize):
93 * gst/gstplugin.h: (GstPluginFilter):
94 Change API of gst_plugin_register_static() to not take
95 a GstPluginDesc, but rather just take all the arguments
96 in a GstPluginDesc directly. This is more intuitive and
97 avoids certain mistakes when porting code from
98 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
101 * tests/check/gst/gstplugin.c:
102 Fix up for changed API.
104 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
106 * docs/faq/legal.xml:
107 Update FAQ, Totem actually has an exception these days.
109 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
111 * win32/common/libgstreamer.def:
112 Add new API declarations
114 2008-01-14 Stefan Kost <ensonic@users.sf.net>
116 * gst/gstminiobject.c:
117 Spelling fixes for the API docs.
119 2008-01-14 Stefan Kost <ensonic@users.sf.net>
121 * libs/gst/base/gstbasetransform.c:
122 Fix long property description for QoS.
124 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
127 _gst_trace_on is already provided by gsttrace.h, no need to declare
130 * docs/libs/gstreamer-libs-sections.txt:
131 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
132 and remove strange tcase_add_test which is outputting a warning.
134 * libs/gst/check/gstcheck.c:
135 * libs/gst/check/gstcheck.h:
136 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
137 and define them in gstcheck.c instead of having every .c file whcih
138 includes gstcheck.h be defining its own copy and relying on symbol
139 interposing to marry them all, which doesn't work on Solaris.
141 * tests/check/elements/identity.c: (GST_START_TEST):
142 Don't define 'buffers' locally, it comes from libgstcheck.
144 * tests/check/generic/sinks.c: (send_buffer):
145 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
147 * tests/check/gst/gststructure.c: (GST_START_TEST):
148 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
149 * tests/check/gst/gstutils.c: (GST_START_TEST):
150 * tests/check/gst/gstvalue.c: (GST_START_TEST):
151 Add a bunch of casts to make various constants fit the types
152 they're being assigned to.
154 2008-01-10 Stefan Kost <ensonic@users.sf.net>
156 * gst/gstchildproxy.c:
157 Improve docs and add some ideas for making this more general-purpose.
159 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
161 * gst/gst_private.h: (GST_CAT_TYPES):
162 Add GST_CAT_TYPES, for consistency, and so that the other
163 debug categories don't make fun of it. Spotted by Saur on IRC.
165 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
167 * gst/parse/Makefile.am:
168 Move types.h from EXTRA_DIST to noinst_HEADERS.
170 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
173 Add -Wno-portability to the automake parameters to stop warnings
174 about GNU make extensions being used. We require GNU make in almost
175 every Makefile anyway.
178 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
179 at the same time is required for per target flags.
181 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
184 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
185 __GNUC__ is defined before using it.
187 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
189 * docs/gst/gstreamer-sections.txt:
190 * gst/gst.c: (init_post):
191 * gst/gstplugin.c: (_gst_plugin_register_static),
192 (gst_plugin_register_static), (_gst_plugin_initialize),
193 (gst_plugin_register_func):
194 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
195 API: add gst_plugin_register_static() and deprecate
196 GST_PLUGIN_DEFINE_STATIC, since it's not portable
198 Also, in _gst_plugin_register_static(), make sure to call
199 g_thread_init() before calling GLib functions such as
200 g_list_append() if we're not initialised yet, since that
201 may lead to random crashes with older GSlice/GLib versions.
203 * tests/check/gst/gstplugin.c:
204 Adapt unit test to above changes.
206 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
208 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
209 * gst/gstcaps.c: (gst_caps_to_string):
210 * gst/gststructure.c: (GST_ASCII_IS_STRING),
211 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
212 Yet another gratuitous GString micro-optimisation: add a (private)
213 function that serialises a structure appending to an existing
214 GString, so that when we serialise caps we don't need to alloc+free
215 a throwaway GString for each structure (each of which also entailing
216 multiple reallocs on the way); also use g_string_sized_new() in
217 various places with an approximate string length to avoid reallocs
218 within GString. See #500143.
220 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
222 * gst/gststructure.c: (gst_structure_id_set_value):
223 Always check UTF-8 conformance of structure strings and not only
224 if the debugging system is enabled; reasoning: the behaviour of
225 the actual code shouldn't really change depending on whether the
226 debugging system is enabled or not (#508291).
228 2008-01-09 Stefan Kost <ensonic@users.sf.net>
231 Remove old coverage target in favour of "make lcov".
233 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
235 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
237 The start segment for reverse playback goes from start to last_stop.
239 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
241 Patch by: Peter Kjellerstedt <pkj axis com>
244 Cast the results from the timeval/spec_to_time macros to what the
245 docs say it casts to, a GstClockTime. fixes #508175.
247 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
250 Update some comments.
252 * tools/gst-inspect.c: (print_element_properties_info):
253 Improve printing of flags.
255 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
257 * libs/gst/base/gstbasetransform.c:
258 (gst_base_transform_transform_size):
259 Print element name with g_warning() if there's a problem
262 2008-01-07 David Schleef <ds@schleef.org>
264 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
266 * libs/gst/controller/gstcontroller.h:
267 * libs/gst/controller/gstcontrolsource.h:
268 * libs/gst/controller/gstinterpolationcontrolsource.h:
269 * libs/gst/controller/gstlfocontrolsource.h:
270 * libs/gst/dataprotocol/dataprotocol.h:
271 Fix empty prototypes. Fixes bug #507957.
273 2008-01-07 David Schleef <ds@schleef.org>
275 * docs/faq/dependencies.xml: Fix typo.
277 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
279 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
281 Don't update the last_stop position in do_seek, that's the position we
283 Read backwards when we have a negative rate.
285 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
286 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
288 Add check for reverse reading.
290 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
292 Patch by: Alexis Ballier <aballier at gentoo org>
294 * tests/check/gst/gstabi.c:
295 * tests/check/gst/struct_ppc64.h:
296 * tests/check/libs/libsabi.c:
297 * tests/check/libs/struct_ppc64.h:
298 Decide which header to include based on the userland ABI target
299 and not the kernel/cpu. Fix up structure sizes of ppc64 header
300 for 64-bit userland (#503590). Might need something similar for
303 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
305 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
306 Log the reason why fopen fails in addition to the fact that it failed.
308 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
311 Use "%option never-interactive" to prevent useless calls to isatty()
312 on every input when parsing. Also use "%option noinput" to not define
313 the static input/yyinput functions which we don't use anyway. This
314 removes a compiler warning with gcc 4.3 and saves some bytes in the
317 * gst/parse/lex._gst_parse_yy.pre.c:
318 Regenerated for the above change.
320 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
322 * gst/gstpad.c: (fixate_value):
323 Don't crash when trying to fixate and empty list.
326 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
328 * docs/faq/gst-uninstalled:
329 Clarify the comments to make the usage of this script and what it
330 does easier to understand.
332 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
334 * tools/gst-plot-timeline.py:
335 Add more options to gst-plot-timeline
337 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
339 * docs/design/part-synchronisation.txt:
340 Some more info on how the stream_time in GstBaseSink is done.
342 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
344 * tests/check/generic/sinks.c: (gst_sinks_suite):
345 Put back the tcase_set_timeout(), apparently it's needed after
346 all; fix it up in a way that makes things work with valgrind too.
348 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
350 * gst/gstdebugutils.c:
351 Add warning when failed to open file for writing.
353 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
355 Based on patch by: Laurent Glayal <spglegle yahoo fr>
357 * gst/gstvalue.c: (gst_value_is_fixed):
358 Optimisation: bail out of the loop as early as possible (#500143).
360 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
362 * gst/gstcaps.c: (gst_caps_to_string):
363 * gst/gstinfo.c: (gst_debug_construct_term_color):
364 * gst/gstparse.c: (gst_parse_launchv):
365 * gst/gstutils.c: (gst_util_dump_mem):
366 * gst/gstvalue.c: (gst_value_serialize_any_list),
367 (gst_value_transform_any_list_string):
368 Bunch of gratuitous nano-optimisations.
370 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
372 * tests/check/generic/sinks.c: (async_done_func),
373 (async_done_eos_func):
374 Fix leak in unit test (bus sync handler must unref the message
375 if it returns GST_BUS_DROP). Don't fiddle with the default test
376 timeout, this is smaller than the current preconfigured value
377 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
378 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
380 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
382 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
385 Check for stdio_ext.h for the filesink changes.
387 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
388 (gst_file_sink_class_init), (gst_file_sink_init),
389 (gst_file_sink_dispose), (gst_file_sink_set_property),
390 (gst_file_sink_get_property), (gst_file_sink_open_file),
391 (gst_file_sink_close_file):
392 * plugins/elements/gstfilesink.h:
393 Add two properties to control the buffering mode and size.
394 API: GstFileSink::buffer-mode
395 API: GstFileSink::buffer-size
398 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
400 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
401 Add some more docs to explain why a FIXME was wrongly added.
403 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
406 Fix typo in the gst_object_{ref,unref} documentation.
408 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
410 * tests/check/libs/controller.c:
411 * tests/check/libs/typefindhelper.c:
412 * tests/check/pipelines/parse-launch.c:
413 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
414 going to be deprecated (see #498924).
416 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
418 * gst/gsttypefind.c: (gst_type_find_register):
419 Make gst_type_find_register work for static typefind functions,
420 ie. allow passing plugin == NULL (prerequisite for #498924).
422 * gst/gstelementfactory.c: (gst_element_register):
425 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
427 * gst/gstpad.c: (gst_pad_dispose):
428 Really unlink the peer pad instead of setting the peer pointer to NULL
429 when we dispose the pad.
430 This correctly calls the unlink functions and makes sure that the peer
431 does not have a handle to invalid memory. See #504671.
433 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
434 Add testsuite for above case.
436 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
438 Patch by: Peter Kjellerstedt <pkj axis com>
440 * libs/gst/check/gstcheck.h:
441 Fix detection of the check version we're compiling against (would
442 otherwise break if check goes v0.10.0); correctly report the
443 name of the failed test again in case of failure, instead of
444 just 'tf' (fixes #504499).
446 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
448 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
449 (gst_base_src_get_range), (gst_base_src_pad_get_range),
450 (gst_base_src_loop), (gst_base_src_set_flushing),
451 (gst_base_src_change_state):
452 Allow sending EOS to the source to make it send out an EOS event from
453 the streaming thread.
454 Update docs and deprecate the old NULL/READY shutdown method.
456 * tests/check/libs/basesrc.c: (GST_START_TEST),
458 Add unit test for controlled shutdown.
460 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
462 * docs/design/part-synchronisation.txt:
465 * gst/gstsegment.c: (gst_segment_set_seek),
466 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
467 (gst_segment_to_running_time):
468 The seek format can be different from the segment format when the start
469 and stop values are not to be updated, when we only do a rate change for
472 * tests/check/gst/gstsegment.c: (GST_START_TEST),
474 Add a testcase for the rate-only seeks, checking that the format is
475 correctly ignored when start and stop are not updated.
477 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
479 Patch by: Matthias Bolte <photon at mail dot upb dot de>
481 * win32/vs8/grammar.vcproj:
482 * win32/vs8/libgstcontroller.vcproj:
483 * win32/vs8/libgstreamer.vcproj:
484 Fix compilation with VS8 and include some missing files.
486 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
489 Small docs addition: mention that the strings returned by
490 gst_tag_list_get_string*() are in UTF-8 encoding.
492 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
495 The check-exports stuff moved to common/win32.mak, so include that.
497 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
499 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
500 (gst_base_src_perform_seek), (gst_base_src_get_range),
501 (gst_base_src_set_playing), (gst_base_src_change_state):
502 Make _wait_playing() not check any variables so that we can call this
503 function from subclasses. Move the checks elsewhere similar to
504 _wait_preroll() in basesink.
506 Only signal the LIVE cond when we are going back to PLAYING.
508 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
510 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
511 Use g_remove() and g_rename(). Check result of g_rename(), and
512 don't leak the open file descriptor if we error out when writing.
514 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
515 Must check the return value of close() after writing out the new
516 registry file. Sometimes write problems such as out-of-diskspace
517 are only reported when the file is closed and not already during
518 the write. This may have caused partial/broken registry files in
519 some rare circumstances. Should fix #503675.
521 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
523 * docs/gst/.cvsignore:
524 * docs/libs/.cvsignore:
525 * docs/plugins/.cvsignore:
526 Ignore files generated by new common/* modifications
528 2007-12-15 Stefan Kost <ensonic@users.sf.net>
530 * win32/common/libgstbase.def:
531 Yes, you can also have a <TAB> if you want.
533 2007-12-15 Stefan Kost <ensonic@users.sf.net>
535 * win32/common/libgstbase.def:
536 Add new basetransform API to win export file.
538 2007-12-15 Stefan Kost <ensonic@users.sf.net>
540 * tests/check/gst/gstbin.c:
541 Adjust the test to the refcount change two days ago.
543 2007-12-14 David Schleef <ds@schleef.org>
545 * docs/faq/getting.xml: Fix typo.
547 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
549 * docs/libs/gstreamer-libs-sections.txt:
550 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
551 (gst_base_transform_prepare_output_buffer),
552 (gst_base_transform_set_gap_aware):
553 * libs/gst/base/gstbasetransform.h:
554 API: Add gst_base_transform_set_gap_aware() to control whether
555 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
556 get buffers with this flag at all. Fixes #503231.
558 2007-12-13 Stefan Kost <ensonic@users.sf.net>
560 * libs/gst/base/gstbasesink.c:
561 * libs/gst/base/gstbasesrc.c:
562 * libs/gst/base/gstbasetransform.c:
563 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
564 thread. Correct log message in gstbasesrc.c.
566 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
568 * gst/gstutils.c: (element_find_unconnected_pad):
569 Fix possible compiler warning (#503417).
571 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
573 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
574 Don't use GST_CAT_EVENT here for logging, it makes no sense.
576 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
578 * tools/gst-inspect.c: (print_element_properties_info):
579 Add support for GstFraction properties.
581 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
584 Add check-exports target and run it as part of 'make check'
585 (see #499140 and #493983).
588 * gst/gstelementfactory.h:
589 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
590 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
591 (_priv_gst_in_valgrind):
592 * gst/gstinfo.h: (GstLogFunction):
593 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
594 (gst_type_find_register):
595 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
596 (gst_type_find_factory_get_type):
597 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
598 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
599 (gst_controller_new_valist), (gst_controller_new_list),
600 (_gst_controller_dispose), (_gst_controller_class_init):
601 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
602 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
603 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
604 (gst_object_get_controller), (gst_object_set_controller),
605 (gst_object_suggest_next_sync), (gst_object_sync_values),
606 (gst_object_set_control_source), (gst_object_get_control_source),
607 (gst_object_get_value_arrays), (gst_object_get_value_array),
608 (gst_object_get_control_rate), (gst_object_set_control_rate):
609 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
610 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
611 Make some functions that should be static static; rename some
612 private symbols so that they don't get exported; add some FIXME
613 comments so we can move accidentally exported functions into
614 our private section in 0.11.
616 * win32/common/libgstreamer.def:
617 Add gst_utils_get_timestamp().
619 2007-12-12 Stefan Kost <ensonic@users.sf.net>
623 Add more missing "Since:" tags to docs.
625 2007-12-12 Stefan Kost <ensonic@users.sf.net>
628 Add mising "Since:" to docs.
630 2007-12-11 Stefan Kost <ensonic@users.sf.net>
633 Include "glib-compat-private.h" to fix the build on system with
634 glib < 2.10. Fixes #503131.
636 2007-12-11 Stefan Kost <ensonic@users.sf.net>
640 Actually its not PURE as it gets the time from elsewhere.
642 2007-12-11 Stefan Kost <ensonic@users.sf.net>
644 * docs/gst/gstreamer-sections.txt:
646 * gst/gstdebugutils.c:
650 * libs/gst/base/gstbasesink.c:
651 * tools/gst-launch.c:
652 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
653 uses as we don't have HAVE_POSIX_TIMERS in public headers.
654 Thanks Tim for spotting.
655 API: gst_util_get_timestamp
657 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
660 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
662 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
664 * gst/gststructure.c: (gst_structure_validate_name),
665 (gst_structure_new_valist), (gst_structure_parse_value),
666 (gst_structure_from_string):
667 Don't crash in _from_string() if the structure name is not valid
668 (fixes #501560). Allow structure names to start with a number
669 again (this apparently broke the ubuntu codec installer).
671 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
673 Add unit test for the crash; update unit tests for new behaviour.
675 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
678 Clarify gst_element_get_compatible_pad() documentation.
681 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
683 * tests/check/Makefile.am:
684 Don't forget to dist {gst,libs}/struct_hppa.h.
686 2007-11-28 Stefan Kost <ensonic@users.sf.net>
688 * libs/gst/base/gstbasesink.c:
689 Use new API to get elapsed time.
691 2007-11-28 Stefan Kost <ensonic@users.sf.net>
693 * gst/gstdebugutils.c:
695 Fix wrong order of args in GST_CLOCK_DIFF() usage.
697 * tools/gst-launch.c:
698 Use new API to get elapsed time.
700 2007-11-28 Stefan Kost <ensonic@users.sf.net>
702 * docs/gst/gstreamer-sections.txt:
704 * gst/gstdebugutils.c:
706 Rename new API + ChangeLog surgery to remove old name from last entry..
708 2007-11-28 Stefan Kost <ensonic@users.sf.net>
710 * docs/gst/gstreamer-sections.txt:
712 * gst/gstdebugutils.c:
714 Now hide the different clock stuff behind a macro.
716 2007-11-28 Stefan Kost <ensonic@users.sf.net>
719 * gst/gstdebugutils.c:
721 Apply the posix-timer check from #361155. Conditionally use the posix
722 timer for logging. This gives better timestamp precission, less
723 overhead and no ntp jitter.
725 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
727 * gst/gstminiobject.c: (gst_mini_object_get_type),
728 (gst_mini_object_class_init), (gst_mini_object_copy_default),
729 (gst_mini_object_finalize), (gst_mini_object_copy),
730 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
731 (gst_mini_object_replace), (param_mini_object_validate),
732 (gst_param_spec_mini_object_get_type):
733 Some cleanup and checking against invalid function parameters.
735 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
737 * docs/gst/gstreamer-sections.txt:
739 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
740 (gst_systemclock_suite):
741 Start merging in the easy bits of #361155, the monotonic clock patch.
742 This one adds a few handy macros with docs and a testsuite.
744 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
746 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
747 Be a bit smarter when seeking, like, don't try to do a seek when it's
748 not needed. This avoids errors when the file is not seekable.
751 2007-11-26 Stefan Kost <ensonic@users.sf.net>
753 * docs/gst/gstreamer-docs.sgml:
754 * docs/gst/gstreamer-sections.txt:
755 * docs/gst/gstreamer.types.in:
760 * plugins/elements/gstqueue.c:
761 Due to popular request remove preset interface again. :-(.
763 2007-11-22 Stefan Kost <ensonic@users.sf.net>
765 * tools/gst-inspect.c:
766 Print 'default value' for enums and flags too.
768 2007-11-22 Stefan Kost <ensonic@users.sf.net>
770 * docs/random/ensonic/profiling.txt:
774 Fix typo and give better log output.
776 * gst/gstdebugutils.c:
777 * gst/gstdebugutils.h:
778 More ideas, make graphs a bit smaller and fix param name in macro.
780 2007-11-22 Stefan Kost <ensonic@users.sf.net>
783 Try harder to use the return value from fgets().
785 2007-11-21 Stefan Kost <ensonic@users.sf.net>
788 For theses two fgets we handle the error below.
790 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
792 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
793 Only send upstream events upstream. Fixes #498746.
795 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
797 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
799 * plugins/elements/gstidentity.c: (gst_identity_class_init),
800 (gst_identity_init), (gst_identity_transform_ip),
801 (gst_identity_set_property), (gst_identity_get_property):
802 * plugins/elements/gstidentity.h:
803 Add property to disable handoff signal emission. Fixes #498694.
804 API: GstIdentity::signal-handoffs
806 2007-11-21 Julien Moutte <julien@fluendo.com>
808 * docs/faq/gst-uninstalled: Yet another missing library for the
809 uninstalled script (fft)
811 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
813 * docs/faq/developing.xml:
814 Add a question about how to submit new translations.
816 * docs/random/release:
817 Update the contact email address for the Translation Project
819 * plugins/elements/gstfdsrc.c:
820 The parent_class for fdsrc is pushsrc, not GstElement.
822 2007-11-20 Stefan Kost <ensonic@users.sf.net>
825 Plug a leak and fix saving.
827 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
829 * docs/gst/gstreamer-sections.txt:
830 Add new gst_preset__get_property_names() function to the docs
833 2007-11-20 Stefan Kost <ensonic@users.sf.net>
837 Change _get_preset_names API to return a strv with copies. Add
838 _get_property_names to allow implementations to filter and provide
839 good default implementation.
841 2007-11-20 Julien MOUTTE <julien@moutte.net>
843 * docs/faq/gst-uninstalled: Add another library to the uninstalled
846 2007-11-19 Stefan Kost <ensonic@users.sf.net>
849 More cleanups, docs, and TODOs from comments that now slowly come in.
851 2007-11-19 Julien MOUTTE <julien@moutte.net>
853 * docs/faq/gst-uninstalled: Add new base libraries in the LD
856 2007-11-19 Stefan Kost <ensonic@users.sf.net>
859 Fix bogus warning and make the property type specific code more
862 2007-11-19 Julien MOUTTE <julien@moutte.net>
864 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
867 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
869 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
870 (gst_bin_add_func), (gst_bin_remove_func),
871 (gst_bin_change_state_func), (gst_bin_continue_func):
872 Change email, cleanups add some more debug and comments.
873 Also set bus and clock on new elements when the pipeline was in error.
875 2007-11-18 Stefan Kost <ensonic@users.sf.net>
878 * gst/gstdebugutils.c:
879 Fix build with --disable-gst-debug. Fixes #497859.
880 Spotted by Sameer Naik.
882 2007-11-17 Stefan Kost <ensonic@users.sf.net>
885 Little documentation improvment.
888 More TODO cleanups. Remove c++ comments.
890 * libs/gst/controller/gstcontroller.c:
891 Add TODO and use quark from static string.
893 * tests/check/gst/gstmessage.c:
894 * tests/check/gst/gststructure.c:
895 Use quark from static string.
897 2007-11-17 Stefan Kost <ensonic@users.sf.net>
900 Add some comments and TODOs.
903 Add padding for future changes.
905 * plugins/elements/gstqueue.c:
908 2007-11-17 Stefan Kost <ensonic@users.sf.net>
910 * docs/gst/gstreamer-docs.sgml:
911 * docs/gst/gstreamer-sections.txt:
912 * docs/gst/gstreamer.types.in:
917 Add the preset interface (Fixes #396779). Do some doc cleanups along.
919 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
925 === release 0.10.15 ===
927 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
930 releasing 0.10.15, "October"
932 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
934 * win32/vs6/libgstreamer.dsp:
935 Convert line endings back to DOS.
937 2007-11-13 Stefan Kost <ensonic@users.sf.net>
939 * docs/design/draft-tagreading.txt:
940 * docs/random/ensonic/profiling.txt:
941 Update fast tagreading draft and performance profiling ideas.
943 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
945 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
946 Don't hold the object lock when unreffing a buffer because it could
947 cause a deadlock when the finalize function wants to grab the object
948 lock too. Fixes #495133.
950 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
952 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
953 (gst_segment_to_stream_time), (gst_segment_to_running_time):
954 Also accumulate time correctly when doing reverse playback. Fixes
956 When converting to running and stream time, use default values for
957 start/stop/time/accum when comparing different formats. Fixes #494245.
959 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
960 Do running/stream time in TIME format.
962 * tests/check/gst/gstsegment.c: (GST_START_TEST),
964 2 new unit tests for segment accumulation.
966 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
968 * gst/gst.c: (init_pre):
969 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
970 (_gst_debug_bin_to_dot_file):
971 Move getenv() back into gst_init, so everyone can live happily
972 ever after. Make sure the symbol isn't exported though.
974 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
976 Patch by: Sebastien Moutte <sebastien moutte net>
978 * win32/common/gstenumtypes.c:
979 * win32/common/gstenumtypes.h:
982 * win32/vs6/libgstreamer.dsp:
983 Update vs6 project files (#494343).
985 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
987 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
988 (gst_base_src_perform_seek), (gst_base_src_default_event),
989 (gst_base_src_set_flushing), (gst_base_src_activate_push),
990 (gst_base_src_activate_pull):
991 Unify flushing code, remove some old unlock code that is no longer used.
992 Take the streaming lock when seeking to avoid races. Fixes #492729.
993 Added some more comments.
995 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
997 * gst/gst.c: (_gst_disable_segtrap):
998 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
999 we can use gst_segtrap_is_enabled() there now that we have that API.
1000 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1001 to do the getenv here (and export the variable).
1003 * gst/gstdebugutils.c: (debug_dump_element),
1004 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1005 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1007 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1008 (gst_debug_log_default):
1009 Rename _gst_info_start_time to priv_gst_info_start_time so it
1010 doesn't get exported (was never in any header).
1012 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1013 (gst_plugin_loading_mutex):
1014 Make static mutex gst_plugin_loading_mutex really static (was never
1015 in any header), and use gst_segtrap_is_enabled() instead of
1016 _gst_disable_segtrap.
1018 * gst/gsttrace.c: (_gst_trace_default):
1019 Make local _gst_trace_default static (was never in any header).
1021 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1023 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1025 * win32/common/libgstbase.def:
1026 * win32/common/libgstcontroller.def:
1027 * win32/common/libgstdataprotocol.def:
1028 * win32/common/libgstnet.def:
1029 * win32/common/libgstreamer.def:
1030 Add more missing symbols, remove some duplicates, and sort
1031 as the 'sort' command sorts it (partially fixes #493983).
1033 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1035 * gst/gstelement.c: (gst_element_set_state_func):
1036 Only change the state cookie if a different state was set on the
1037 element. See #492729.
1039 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
1042 Remove unused and uninitialised type variables that were still
1043 exported for some reason (they were never in any header files
1046 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1048 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1049 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1050 (gst_base_sink_event), (gst_base_sink_get_position_last),
1051 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1052 (gst_base_sink_change_state):
1053 Don't try to report a 0 position when we don't know, return -1 and FALSE
1054 instead. This mostly happens when we are prerolling.
1055 Make sure we can report the right position before we post the ASYNC_DONE
1056 message so that a message handler can query position without races.
1058 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1059 (async_done_handoff), (async_done_func), (send_buffer),
1060 (async_done_eos_func), (gst_sinks_suite):
1061 Add two tests for the above.
1063 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
1066 Update with new email address.
1068 * docs/design/part-TODO.txt:
1069 Add some more info about future pad-block and negotiation changes.
1071 * docs/design/part-buffering.txt:
1072 Add some ideas about buffering reporting.
1074 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
1076 * tests/check/gst/gstobject.c:
1077 Disable silly racy test that always fails on this combination of CPU
1080 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
1082 Patch by: Murray Cumming <murrayc@murrayc.com>
1085 Corrected the registration of the parent-set and parent-unset
1086 signals: The parameter is a GstObject, not a GObject (#493134).
1088 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1090 * gst/gst_private.h:
1099 Move declaration of private _gst_foo_initialize() functions into
1100 our private header file where they should have been all along.
1102 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1104 * docs/plugins/gstreamer-plugins-sections.txt:
1105 * gst/gstdebugutils.h:
1107 * plugins/elements/gstqueue.c:
1108 gtk-doc fixes; trailing-comma-in-enum fix.
1110 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
1112 * gst/gst.c: (gst_deinit):
1113 Clean up on deinit (not the external ones though, doesn't seem to be
1114 needed for some reason).
1116 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1118 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1119 Remove __declspec(dllimport) for MSVC that was copied over into core
1120 from a plugin, obviously without ever having been tested (note the
1121 single underscore in _declspec in the initial commit), and that doesn't
1122 really make sense. See #492077.
1124 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1126 * gst/gst.c: (init_post):
1127 * gst/gstevent.c: (_gst_event_initialize):
1128 * gst/gstquery.c: (_gst_query_initialize):
1129 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1130 g_type_class_ref() other types as well, see #349410 and #64764.
1132 * gst/gstbuffer.c: (_gst_buffer_initialize):
1133 * gst/gstmessage.c: (_gst_message_initialize):
1134 Simplify existing g_type_class_ref().
1136 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1138 * gst/gstformat.c: (_gst_format_initialize):
1139 g_type_class_ref() our GstFormat type to make sure we avoid the
1140 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1141 bug #64764. Should fix intermittent tee unit test failures (#474823).
1143 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
1145 * tests/check/elements/tee.c: (test_num_buffers):
1146 Simplify, simplify, simplify - or not. Rewrite unit test
1147 not to use gst_parse_launch(); allow N sub-streams. Increasing
1148 the number of sub-streams seems to reproduce #474823 more easily.
1150 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1152 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
1155 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1156 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1157 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1158 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1159 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1160 so use _pipe() directly (#492077).
1162 * win32/common/dirent.c: (_treaddir):
1163 Add a couple of casts to make it build without warnings with MSVC.
1165 * win32/common/libgstreamer.def:
1166 Add some more symbols that need to be exported.
1168 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
1170 * tests/examples/metadata/read-metadata.c: (message_loop):
1171 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1172 arriving in a second or third tag message are added to
1173 the tag list as well.
1175 2007-10-31 Stefan Kost <ensonic@users.sf.net>
1177 * libs/gst/base/gstbasesrc.c:
1178 Its "Since:" and not "@Since:". And remove an superflous cast.
1180 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
1182 * docs/libs/gstreamer-libs-sections.txt:
1183 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1184 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1185 (gst_base_sink_get_property), (gst_base_sink_render_object),
1186 (gst_base_sink_preroll_object),
1187 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1188 (gst_base_sink_change_state):
1189 * libs/gst/base/gstbasesink.h:
1190 Add a new last-buffer property that contains the last buffer used in
1191 basesink for preroll or rendering. useful for making snapshots.
1192 API: gst_base_sink_get_last_buffer()
1193 API: GstBaseSink::last-buffer
1195 2007-10-29 Stefan Kost <ensonic@users.sf.net>
1197 * docs/gst/running.xml:
1199 * gst/gstdebugutils.c:
1200 * gst/gstdebugutils.h:
1201 * tools/gst-launch.c:
1202 Improve bin graph dumping, by using the envvar to specify a path.
1203 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1205 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
1207 * plugins/elements/gsttypefindelement.c:
1208 (gst_type_find_element_handle_event),
1209 (gst_type_find_element_activate):
1210 Post special error message if we can't determine the type of a stream
1213 2007-10-29 Stefan Kost <ensonic@users.sf.net>
1215 * docs/gst/running.xml:
1216 * gst/gstdebugutils.c:
1217 Document new env-var. Add one log-line after dumpng a graph.
1219 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
1222 Ugly hack to put the (recently removed and non-portable, apparently)
1223 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1224 GNU ld, because without that 'make check' fails miserably on my debian
1225 stable box. Someone with more knowledge of linker intricacies and
1226 portability issues than me fix this properly please.
1228 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
1230 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1231 Reset last seen position after flushing so that we don't report the old
1234 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1236 * gst/gstelementfactory.c: (gst_element_register):
1238 Patch from Alessandro Decina adding get_type_full and
1239 get_protocols_full private vfuncs to the URIHandler interface
1240 to allow bindings to support creating URI handlers.
1241 Partially fixes: #339279
1242 API: GstURIHandlerInterface::get_type_full
1243 API: GstURIHandlerInterface::get_protocols_full
1245 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1247 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1248 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1249 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1250 Make it so that pads are considered linked until a buffer is pushed
1251 and discovered otherwise. This avoids problems with decodebin2 hanging
1252 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1255 Make sure we lock the multiqueue when updating the max-size properties.
1257 Fix a crash on Solaris in a debug statement in get_request_pad that
1258 passes a NULL string to GST_DEBUG.
1260 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1261 (run_output_order_test):
1262 Fix the test to allow the first buffer on not-linked pads to come out
1263 of sequence while multiqueue discovers that they are not-linked.
1265 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
1268 * libs/gst/check/Makefile.am:
1269 Use a custom export symbol regex for libgstcheck, as it needs
1270 to export symbols that don't match the standard GStreamer gst_*
1271 pattern, and --export-dynamic is not portable (only works on
1274 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1275 (gst_check_setup_sink_pad):
1276 Make sure to pass a message parameter to the fail_* macros.
1278 * tests/check/gst/gstinfo.c: (GST_START_TEST):
1279 Fix some compiler warnings.
1281 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
1283 * tests/check/gst/gststructure.c: (test_to_string):
1284 Disable test that checks that white spaces are not allowed
1285 in structure names or field names, since we need to
1286 support that for now for backwards compatibility reasons.
1288 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1290 * docs/gst/gstreamer-sections.txt:
1293 API: add GST_TAG_ARTIST_SORTNAME
1294 API: add GST_TAG_ALBUM_SORTNAME
1295 API: add GST_TAG_TITLE_SORTNAME
1296 Add tag variants for sorting (#414539).
1298 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1300 * gst/gststructure.c:
1301 Also allow white space for names so we don't break
1302 backwards compatibility.
1304 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
1306 * docs/design/part-TODO.txt:
1307 * docs/design/part-segments.txt:
1308 * docs/design/part-streams.txt:
1311 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
1313 * docs/gst/gstreamer-sections.txt:
1314 Fixed documentation from my previous commit (added new API add
1315 gst_value_set_structure(), add gst_value_get_structure() and
1316 GST_VALUE_HOLDS_STRUCTURE).
1318 2007-10-22 Stefan Kost <ensonic@users.sf.net>
1320 * gst/gstdebugutils.c:
1321 Reflow code to fix uninitialized variable warning.
1323 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
1325 * gst/gstcaps.c: (gst_caps_to_string),
1326 (gst_caps_from_string_inplace):
1327 * gst/gststructure.c: (gst_structure_get_abbrs),
1328 (gst_structure_to_string), (gst_structure_from_string):
1329 * gst/gstvalue.c: (gst_value_set_structure),
1330 (gst_value_get_structure), (gst_value_serialize_structure),
1331 (gst_value_deserialize_structure), (_gst_value_initialize):
1333 * tests/check/gst/gststructure.c: (GST_START_TEST),
1334 (gst_structure_suite):
1335 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1336 Added GstStructure to gst_value_table and its related functions.
1337 Changed gst_structure_to_string to print ';' in the end.
1338 Changed gst_caps_to_string to not print ';' beteween its
1339 fields (structures) anymore and remove the lastes ';' from latest
1340 structure. Now it is possible to have nested structures.
1341 In addition, backward compatibilty is assured by accepting '\0' as
1342 end delimiter. Fixes: #487969.
1343 API: add gst_value_set_structure()
1344 API: add gst_value_get_structure()
1345 API: add GST_VALUE_HOLDS_STRUCTURE
1347 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
1350 When no GSource callback has been set up, tell developer
1351 to use a function that actually exists.
1353 2007-10-17 Stefan Kost <ensonic@users.sf.net>
1355 * docs/gst/gstreamer-sections.txt:
1359 * gst/gstdebugutils.c:
1360 * gst/gstdebugutils.h:
1363 * tools/gst-launch.c:
1364 Allow dumping pipelines as dot graphs. Fixes #456573.
1366 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1368 * gst/gststructure.c:
1369 Allow '+' as well, it can be part of media or mime types
1370 such as image/svg+xml.
1372 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1374 * docs/gst/gstreamer-sections.txt:
1377 API: add gst_bus_pop_filtered
1378 API: add gst_bus_timed_pop_filtered
1379 Two new functions for waiting for specific message types on the
1380 bus for a specified amount of time without iterating any main
1381 loops or main contexts.
1383 * tests/check/gst/gstbus.c:
1384 Some tests for the new functions.
1386 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1388 * docs/libs/gstreamer-libs-sections.txt:
1389 Make gtk-doc ignore stuff it should ignore.
1391 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1393 * libs/gst/check/gstcheck.c:
1394 * libs/gst/check/gstcheck.h:
1395 Allow runtime selection of unit tests to run via the GST_CHECKS
1396 environment variable (test case function names, comma-separated).
1398 2007-10-16 Stefan Kost <ensonic@users.sf.net>
1400 * gst/gststructure.c:
1401 * tests/check/gst/gststructure.c:
1402 Revert serialisation change and constrain structure-names after
1403 consensus on irc. Update api documentation to reflect the change.
1405 2007-10-16 Stefan Kost <ensonic@users.sf.net>
1407 * gst/gststructure.c:
1408 Improve serialization and fix tests.
1410 * tests/check/gst/gststructure.c:
1411 Add another test that covers why I actually did the previous structure
1414 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
1416 * tools/gst-inspect.c: (print_element_info):
1417 Don't crash when inspecting an element.
1419 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
1421 * tests/check/gst/gststructure.c:
1422 Add unit test for escaping of structure name when serialising
1423 and deserialising to/from strings.
1425 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
1427 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1428 (gst_single_queue_new):
1429 * plugins/elements/gstqueue.c: (gst_queue_init),
1430 (gst_queue_push_one):
1431 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1432 upstream is tricked into thinking it can suggest a format downstream
1433 while downstream does not support that format. The real problem is that
1434 core calls acceptcaps when pushing a buffer with new caps, for which we
1435 do a little workaround by setting the caps on the srcpad ourselves
1436 before pushing the buffer (until this is figured out). Fixes #486758.
1438 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1440 * gst/gststructure.c:
1442 Add some more comments and debug output. Quote structure name to fix
1443 deserialisation of some strings.
1445 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1448 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1449 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1451 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1453 * tools/gst-inspect.c:
1454 Save approx. 400 1 byte allocs when printing. Use API to acces element
1460 * tools/gst-xmlinspect.c:
1461 Use API to acces element details.
1463 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1466 Fix some spelling errors.
1468 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
1470 * gst/gstbin.c: (bin_handle_async_done):
1471 Correctly set the next state if all of our async children commited their
1472 state. This makes sure we can actually cancel the state change in
1473 progress. Fixes a regression in Rhythmbox when seeking.
1475 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
1478 Don't shadow local variable.
1481 Don't shadow global function name.
1483 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
1485 * gst/gstelementfactory.c:
1486 * gst/gstpluginfeature.c:
1487 * gst/gstpluginfeature.h:
1488 * gst/gstregistrybinary.c:
1489 * gst/gstregistryxml.c:
1490 * gst/gsttypefind.c:
1491 Use already-interned string for the private GstPluginFeature
1494 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1496 * docs/libs/gstreamer-libs-sections.txt:
1497 Add new API to docs; fixes the build.
1499 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
1501 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1503 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1504 (gst_base_sink_event):
1505 * libs/gst/base/gstbasesink.h:
1506 Add function to wait for EOS, subclasses can use this to correctly wait
1507 for devices to drain before performing the EOS logic. Fixes #485343.
1508 API: gst_base_sink_wait_eos()
1510 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1513 Cast description string constants in GST_PLUGIN_DEFINE macros
1514 to a (gchar*) to make C++ code using these macros compile
1515 without warning with g++-4.2 (see #462737). Even if slightly
1516 ugly, this seems preferable to putting the description strings
1517 into the GLib quark table or making the structure member a
1518 const gchar * and doing casts in core code that allocs and
1519 frees these strings, or requiring a cast in the C++ code.
1521 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1524 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1525 to print the entire class/function signature into the log
1526 file for C++ code. This only affects C++ code, for C code
1527 everything remains the same.
1529 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
1531 * gst/gstbin.c: (remove_from_queue):
1532 Work around a problem with pipelines containing (semi)loops until a
1533 proper, more complicated solution is ready. See #475455.
1535 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1539 * gst/gstregistrybinary.c:
1540 * gst/gstregistryxml.c:
1541 Put more strings into the GLib quark table. No need to keep
1542 a hundred-something copies of identical version strings,
1543 license strings, package name strings and package origin
1546 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1548 * docs/manual/advanced-dataaccess.xml:
1549 Don't imply that it's okay to unconditionally change
1550 buffer data or buffer metadata in a pad probe callback,
1551 and a bunch of other comments. Fixes #430031.
1553 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1555 * win32/common/gstenumtypes.c:
1556 * win32/common/gstenumtypes.h:
1557 * win32/common/gstversion.h:
1558 Update generated files.
1560 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1562 * docs/manual/advanced-autoplugging.xml:
1563 Prefix section with broken code with a warning (see #342432).
1565 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1567 * docs/manual/appendix-integration.xml:
1568 * docs/manual/basics-init.xml:
1569 Call g_thread_init() before g_option_context_new() to
1570 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1572 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1574 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1575 (gst_base_sink_queue_object_unlocked),
1576 (gst_base_sink_queue_object), (gst_base_sink_event),
1577 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1578 When we received EOS and are waiting for when to post the EOS message,
1579 our state is prerolled and we should not return ASYNC.
1580 Reorganize some code paths to implement this behavior.
1582 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1584 Add unit test to verify above EOS fix.
1586 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1588 * plugins/elements/gsttypefindelement.c:
1589 (gst_type_find_element_have_type), (gst_type_find_element_init),
1590 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1591 Move detecting the input caps of the sinkpad to the setcaps function.
1592 This allows us to update the output caps when we receive new input caps
1593 instead of always using the first detected caps.
1595 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1597 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1598 (gst_base_sink_get_position):
1599 Don't try to preroll non-async elements after a flush.
1600 Subtract latency form clock times when reporting position.
1602 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1604 * gst/gstpad.c: (gst_pad_pause_task):
1606 Small comment and documentation update.
1608 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1610 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1611 (gst_base_src_set_live), (gst_base_src_is_live),
1612 (gst_base_src_query_latency), (gst_base_src_perform_seek),
1613 (gst_base_src_default_event), (gst_base_src_wait),
1614 (gst_base_src_do_sync), (gst_base_src_get_range),
1615 (gst_base_src_pad_get_range), (gst_base_src_loop),
1616 (gst_base_src_unlock), (gst_base_src_unlock_stop),
1617 (gst_base_src_set_flushing), (gst_base_src_set_playing),
1618 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1619 (gst_base_src_change_state):
1620 Rework the locking of basesrc in a similar fashion to basesink. We
1621 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1622 us to handle live sources and semi live ones much better.
1624 Fix unlocking when seeking, shutting down and pausing in live sources.
1626 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1628 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1629 Fix compilation again.
1631 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1634 Use meaningful categories for the logs to clean the default one.
1636 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1638 * tests/check/pipelines/cleanup.c:
1639 Print message name and not just number.
1641 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1643 * docs/design/draft-tagreading.txt:
1644 Add some more thoughts.
1646 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1648 * tests/check/pipelines/simple-launch-lines.c:
1649 Print message name and not just number.
1651 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1653 * libs/gst/base/gsttypefindhelper.c:
1654 Speedup typefinding. This is work in progress (see #459862).
1656 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1659 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1660 Spotted by Josep Torra Valles <josep@fluendo.com>.
1662 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1665 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1666 field has moved to GstObject.
1668 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1670 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1671 (gst_base_src_get_range), (gst_base_src_change_state):
1672 Call unlock for live sources so that they can't get stuck in _create and
1673 produce a buffer before they are set back to PLAYING.
1675 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1677 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1678 (gst_queue_locked_dequeue):
1679 Comment the segment-related code... in the PROPER function.
1680 See #482147 and my commit from yesterday.
1682 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1684 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1685 Also initialize the counter that calculates the first timestamp on a
1686 buffer correctly for non-live sources.
1688 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1690 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1691 Disable code that's breaking the current-time-level reporting.
1694 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1696 * docs/gst/gstreamer-sections.txt:
1697 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1698 as they shouldn't show up. Fixes the docs build.
1700 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1703 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1704 Define M_PI which is used in files which are including gstinfo.h.
1705 VS6 includes doesn't define it.
1706 * win32/common/libgstbase.def:
1707 * win32/common/libgstcontroller.def:
1708 * win32/common/libgstreamer.def:
1709 Add new exported functions and variables.
1710 * win32/vs6/libgstcontroller.dsp:
1711 * win32/vs6/libgstreamer.dsp:
1712 Update the list of files to build.
1714 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1716 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1718 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1719 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1720 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1721 Improve debugging. Fixes #480858.
1723 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1725 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1727 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1728 First patch of code cleanups, use the macros and right arguments in the
1729 macros to signal and lock the queue. See #480858.
1731 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1733 * gst/gstbus.c: (poll_func):
1734 Improve debugging when dealing with _poll().
1736 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1738 * gst/gstregistryxml.c:
1739 Fix memory leak I introduced a few days ago.
1741 2007-09-26 Michael Smith <msmith@fluendo.com>
1743 * gst/gstbuffer.c: (gst_buffer_finalize):
1744 Make it once again possible to free GstBuffers in the default
1746 The poisoning scribbles on parts of the miniobject we need in
1750 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1752 * docs/gst/gstreamer-sections.txt:
1755 API: add GST_TAG_COMPOSER, fixes #459809.
1757 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1761 Add the 3-clause BSD license and the MIT/X11 license to the license
1762 list. Fixes #479784.
1764 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1766 * docs/faq/getting.xml:
1767 Add Q+A about different GStreamer versions (#364056).
1769 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1771 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1772 (gst_base_sink_event), (gst_base_sink_change_state):
1773 Return correct gboolean from query function.
1775 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1777 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1778 (gst_base_sink_event), (gst_base_sink_query),
1779 (gst_base_sink_change_state):
1780 Simplify latency query.
1781 When not synchronizing, we can report latency without querying the peer
1784 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1788 Fix small typos in the docs.
1790 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1792 * docs/design/draft-latency.txt:
1793 * docs/design/draft-push-pull.txt:
1794 * docs/design/draft-tagreading.txt:
1795 * docs/design/part-MT-refcounting.txt:
1796 * docs/design/part-activation.txt:
1797 * docs/design/part-block.txt:
1798 * docs/design/part-element-source.txt:
1799 * docs/design/part-events.txt:
1800 * docs/design/part-gstbin.txt:
1801 * docs/design/part-gstelement.txt:
1802 * docs/design/part-gstobject.txt:
1803 * docs/design/part-gstpipeline.txt:
1804 * docs/design/part-messages.txt:
1805 * docs/design/part-preroll.txt:
1806 * docs/design/part-push-pull.txt:
1807 * docs/design/part-qos.txt:
1808 * docs/design/part-query.txt:
1809 * docs/design/part-scheduling.txt:
1810 * docs/design/part-seeking.txt:
1811 * docs/design/part-segments.txt:
1812 * docs/design/part-states.txt:
1813 Documentation updates and typo fixes.
1815 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1817 * plugins/elements/gstfakesink.c:
1818 Add some debug text to error message to indicate that
1819 we errored out on request.
1821 * tools/gst-launch.c:
1822 When the state change to PLAYING fails, check for an
1823 error message on the bus and print it.
1825 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1827 translated by: Jorge González González <aloriel@gmail.com>
1831 Added Spanish translation.
1833 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1835 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1836 Fix printf arguments.
1838 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1840 * tests/check/generic/states.c:
1841 Improved state change unit test.
1843 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1846 Move priv to the right place.
1848 * gst/gstsystemclock.c:
1849 Add FIXME: and improve log.
1851 * tests/check/Makefile.am:
1852 * tests/examples/manual/Makefile.am:
1853 Work with all types of registries.
1855 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1857 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1858 Don't unref the event after pushing it. Fixes #478401.
1860 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1863 * tests/examples/manual/.cvsignore:
1864 Ignore registries in any format.
1866 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1868 * gst/glib-compat-private.h:
1869 Add compatibility macro for g_intern_string() for
1870 GLib-2.8 (any reason we can't just bump the
1871 requirement to at least 2.10?)
1873 * gst/gstpadtemplate.h:
1874 * gst/gstelementfactory.c:
1875 * gst/gstregistryxml.c:
1876 * gst/gstregistrybinary.c:
1877 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1878 up the internal code accordingly. This shouldn't be a problem, since
1879 there is no reason external code could ever assume the string in such
1880 a structure is dynamically allocated unless it did that itself; the
1881 use of g_strdup() is private to element factories. The new code also
1882 saves some memory by putting pad template name strings into the GLib
1883 quark table instead of allocating them dynamically.
1884 Declaring this field constant fixes warnings with g++-4.2 when using
1885 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1887 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1889 * gst/gstelementfactory.c:
1890 Release static caps. Fixes #475723.
1892 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1896 Make some internal API take const gchar * instead of just
1897 gchar * to avoid compiler warnings with g++-4.2.2 when
1898 passing string constants (partially fixes #478092).
1900 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1902 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1903 A latency query fails when one of the sinks fail.
1905 * gst/gstelement.c: (gst_element_set_base_time):
1908 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1910 * gst/gstbin.c: (gst_bin_continue_func):
1911 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1912 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1913 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1915 Fix minor compilation warnings shown with Forte.
1917 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1919 * plugins/elements/gstqueue.c: (apply_buffer),
1920 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1921 Measure queue level based on the diff between head and tail timestamps
1922 even when pushing the first buffer.
1924 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1926 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1927 (gst_base_sink_event), (gst_base_sink_change_state):
1928 Sinks that don't preroll can always be queried for the latency.
1929 Don't post ASYNC start when we are not async.
1931 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1933 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1934 (gst_queue_handle_sink_event), (gst_queue_chain),
1935 (gst_queue_push_one), (gst_queue_handle_src_query),
1936 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1937 * plugins/elements/gstqueue.h:
1938 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1939 push more buffers but allow pushing of EOS and NEWSEGMENT.
1940 Add some more debug info here and there. Fixes #476514.
1942 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1944 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1945 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1946 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1947 (gst_base_sink_set_flushing), (gst_base_sink_query),
1948 (gst_base_sink_change_state):
1949 Latency query is allowed after we are prerolled. Introduce a new flag
1950 for this and stop abusing other variables.
1952 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1954 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1955 Push OOB events downstream when we get them in send_event. This allows
1956 the application to insert events in the pipeline.
1957 Add some more comments.
1959 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1961 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1962 (do_bin_latency), (gst_bin_change_state_func):
1963 * gst/gstpipeline.c: (gst_pipeline_change_state):
1964 Move latency query from GstPipeline to GstBin so that we can also
1965 use it when async-handling is enabled on bins.
1967 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1969 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1970 (gst_base_src_do_sync), (gst_base_src_change_state):
1972 Clean up the timestamping and syncing code for pseudo live sources.
1974 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1976 Patch by: Steve Fink <sphink gmail com>
1978 * docs/manual/appendix-checklist.xml:
1979 Mention less -R switch in the section about debug output (#474055).
1981 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1983 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1984 Queue can latency to the pipeline up to the configured max size in time.
1985 Report this fact in the latency query.
1987 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1989 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1991 * libs/gst/controller/gstinterpolation.c:
1992 * libs/gst/controller/gstlfocontrolsource.c:
1993 Use gst_guint64_to_gdouble() when converting from a uint64 or
1994 GstClockTime to double to fix the build on win32. Fixes #474371.
1996 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1998 * gst/gstbuffer.c: (gst_buffer_finalize):
1999 Implement poisoning for GstBuffer if --enable-poisoning is specified.
2000 When finalizing a buffer the complete struct is filled with 0xff,
2001 thus making a use of the buffer after the final unref impossible.
2003 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
2005 * tests/check/libs/controller.c: (GST_START_TEST):
2006 Use fail_unless_equals_int(a, b) instead of
2007 fail_unless_equals (a == b) to get better output on failures.
2009 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2011 * tests/check/gst/gsturi.c:
2012 Also check for the other file URI variant on win32.
2014 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
2016 * gst/gsturi.c: (gst_uri_get_location):
2017 If there's no hostname, we want to return 'c:/foo/bar.txt'
2018 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2020 * tests/check/gst/gsturi.c:
2021 Unit test for the above and a few more things.
2023 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2025 * docs/design/part-live-source.txt:
2026 Add docs on how live sources should timestamp.
2028 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2029 Add some more debug info.
2030 For subclasses that are live and like to sync, add aditional startup
2031 latency to sync time and timestamps so that we timstamp according to the
2034 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2037 Also do a g_type_class_ref() for the subbuffer type in
2040 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
2042 * docs/gst/gstreamer-sections.txt:
2043 * gst/gstpad.c: (gst_pad_peer_query):
2045 Add function to perform a query on the peer of a pad.
2046 API: gst_pad_peer_query()
2048 2007-09-11 Stefan Kost <ensonic@users.sf.net>
2050 * tests/check/gst/gstsystemclock.c:
2051 Cleanup the test a little (use gst-logging and not g_message). Improve
2052 test to check if a wait reached the target.
2054 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
2056 * docs/libs/gstreamer-libs-sections.txt:
2057 Add new API to docs and fix the build.
2059 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
2061 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2062 (gst_base_src_init), (gst_base_src_set_do_timestamp),
2063 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2064 (gst_base_src_get_property), (gst_base_src_do_sync):
2065 * libs/gst/base/gstbasesrc.h:
2066 Add property to make the basesrc timestamp buffers based on the current
2068 API: GstBaseSrc::do-timestamp
2069 API: gst_base_src_set_do_timestamp()
2070 API: gst_base_src_get_do_timestamp()
2072 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
2074 * docs/random/release:
2075 Really make sure translations are up-to-date before
2076 a release (#465010).
2078 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
2080 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2081 Always destroy the timer, also in error cases.
2083 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2085 * docs/manual/highlevel-xml.xml:
2086 Fix XML example code. Fixes #472714.
2088 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
2090 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2091 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2092 (gst_base_sink_query):
2093 Protect eos and have_preroll with the OBJECT lock so we don't need to
2094 take the PREROLL lock when querying the latency. Fixes #473846.
2096 2007-09-05 Stefan Kost <ensonic@users.sf.net>
2099 Give some log-messages a category.
2101 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
2103 * gst/gststructure.c:
2104 (gst_structure_fixate_field_nearest_fraction):
2105 Fix fraction list fixation code. Take the fraction with the smallest
2106 difference with the target instead of the first one in the list.
2108 * tests/check/gst/gststructure.c: (GST_START_TEST),
2109 (gst_structure_suite):
2110 Added test to verify correct fraction list fixation behaviour.
2112 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
2114 * win32/common/libgstreamer.def:
2115 Export gst_bus_add_signal_watch too.
2117 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
2119 * docs/libs/gstreamer-libs-sections.txt:
2120 Add new methods to docs.
2122 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2123 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2124 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2125 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2126 * libs/gst/base/gstbasesink.h:
2127 Add ts-offset property to fine-tune the synchronisation.
2128 API: GstBaseSink::ts-offset property
2129 API: gst_base_sink_set_ts_offset()
2130 API: gst_base_sink_get_ts_offset()
2132 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
2134 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2135 (gst_base_sink_init), (gst_base_sink_set_sync),
2136 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2137 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2138 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2139 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2140 (gst_base_sink_get_property), (gst_base_sink_change_state):
2141 * libs/gst/base/gstbasesink.h:
2142 Add async property to instruct the sink never to inform the parent about
2143 ASYNC state changes, update docs.
2144 Check argument with g_return_* for the public functions.
2145 API: GstBaseSink::async property
2146 API: gst_base_sink_set_async_enabled()
2147 API: gst_base_sink_is_async_enabled()
2149 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
2151 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2154 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2155 (gst_base_src_default_query), (gst_base_src_wait),
2156 (gst_base_src_do_sync), (gst_base_src_change_state):
2157 Rearrange some code so that we can add support for measuring the
2160 2007-08-27 Stefan Kost <ensonic@users.sf.net>
2162 * docs/random/ensonic/dynlink.txt:
2163 More thoughs on this.
2165 * plugins/elements/gstcapsfilter.c:
2166 Add bugzilla ticket number to FIXME comment.
2168 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
2170 * docs/design/part-TODO.txt:
2171 * docs/design/part-block.txt:
2174 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2177 Revert patch which uses $(gst_headers) instead of $^ because it
2180 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2182 * tests/check/gst/gstbin.c: (GST_START_TEST):
2183 Fix leaks in the new unit test.
2185 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
2188 Don't use GST_INFO before the debug system is actually initialised
2189 (shouldn't do any harm, but won't print anything either, so we can
2190 just as well remove it).
2193 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2194 compilers that don't support variadic macros (such as MSVC), should
2195 check for debug_level <= __gst_debug_min as well, since that's the
2196 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2197 inline helper functions. Should improve performance a bit, but also
2198 makes sure uses of GST_INFO et.al are ignored if the debugging
2199 system isn't initialised yet (instead of printing an assertion
2202 2007-08-23 Stefan Kost <ensonic@users.sf.net>
2204 patch by: David Nečas <yeti@physics.muni.cz>
2207 Replace some non portable makefile constructs.
2209 2007-08-21 Stefan Kost <ensonic@users.sf.net>
2211 * common/gtk-doc-plugins.mak:
2212 Grrrrr. Don't remove the types file on make clean.
2214 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
2216 * tools/gst-launch.1.in:
2217 Add colorspace to example pipeline. Fixes #458274.
2219 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
2221 * docs/random/release:
2222 The release manager should run 'make download-po' before making a
2223 release to make sure translations are up-to-date.
2229 Add some new translations.
2231 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
2233 * tools/gst-launch.c: (event_loop), (main):
2234 Don´t try to do any state management when a live pipeline posts
2236 Also make the buffering string translatable.
2238 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2240 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2241 (bin_handle_async_start), (gst_bin_handle_message_func):
2243 When adding elements, insert messages into the bus of the newly added
2244 element and make sure the element is the source of the message. This
2245 allows the parent bin to intercept the message and do the
2246 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2247 messages to the app (which is not allowed).
2250 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2251 Fix testsuite so that is does not work around messages that should not
2252 have been posted in the first place.
2254 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2256 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2257 (update_degree), (gst_bin_sort_iterator_next):
2258 Fix annoying bug in the sorted iterator where a sink that is not really
2259 a sink (when it has downstream links) screwed up the iterator.
2261 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2262 Unit test to verify the fix.
2264 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
2267 Add some more docs for the messages.
2269 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2270 (gst_base_sink_query):
2271 Add some more debugging.
2273 * tools/gst-launch.c: (event_loop):
2274 When interrupting, don't try to set pipeline to PAUSED twice.
2276 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2279 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2280 (bin_handle_async_start), (gst_bin_handle_message_func):
2281 Move ASYNC_START message posting to where it belongs, similar to
2283 Don't post ASYNC_START when we are in error.
2284 Post ASYNC_START when we added an async element to a bin.
2286 2007-08-14 Julien MOUTTE <julien@moutte.net>
2288 * gst/gstindex.c: (gst_index_add_association): Fix index entry
2289 generation from vargs. Fixes #466595.
2291 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2293 * gst/gstbin.c: (gst_bin_element_set_state):
2294 Always change the state of a NO_PREROLL element even if it has ASYNC
2295 elements inside (in case of a bin).
2297 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2298 Unit test for this case.
2300 2007-08-13 Stefan Kost <ensonic@users.sf.net>
2302 * libs/gst/check/gstbufferstraw.c:
2303 * libs/gst/check/gstcheck.h:
2304 * libs/gst/controller/gstcontroller.c:
2305 * libs/gst/controller/gstcontrolsource.h:
2306 * libs/gst/controller/gstlfocontrolsource.h:
2307 * plugins/elements/gstcapsfilter.h:
2308 * plugins/elements/gstfdsink.h:
2309 * plugins/elements/gstfdsrc.h:
2310 Add more missing docs.
2312 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2314 * gst/gststructure.c:
2315 Add Since tag to docs.
2317 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2319 * docs/gst/gstreamer-sections.txt:
2320 * gst/gststructure.c: (gst_structure_get_uint):
2321 * gst/gststructure.h:
2322 Add function to get uint from a structure.
2323 API: gst_structure_get_uint()
2325 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2327 * gst/gstcaps.c: (gst_caps_set_simple_valist),
2328 (gst_caps_intersect):
2329 Fix proper check for simple caps.
2331 2007-08-10 Stefan Kost <ensonic@users.sf.net>
2333 * docs/gst/Makefile.am:
2334 * docs/libs/Makefile.am:
2335 Remove cruft and do some cleanups.
2337 * docs/gst/gstreamer-docs.sgml:
2338 * docs/libs/gstreamer-libs-docs.sgml:
2339 Prepare for comming gtkdoc features (rebase against online docs).
2341 2007-08-10 Michael Smith <msmith@fluendo.com>
2343 * docs/gst/gstreamer-sections.txt:
2344 Add gst_registry_add_path to docs.
2346 2007-08-10 Michael Smith <msmith@fluendo.com>
2348 * gst/gstregistry.h:
2349 Add gst_registry_add_path, which was missing from this header.
2351 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
2353 * libs/gst/controller/gstlfocontrolsource.c:
2356 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2358 * libs/gst/base/gstbasesink.c:
2359 Don't send an async_start message during downwards state change if
2360 target state is less than READY
2362 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
2364 translated by: Gabor Kelemen <kelemeng@gnome.hu>
2368 Added Hungarian translation.
2370 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
2377 Updated translations.
2379 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
2381 * libs/gst/controller/Makefile.am:
2382 Dist gstlfocontrolsourceprivate.h
2384 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
2386 * docs/libs/gstreamer-libs.types:
2387 Don't register the enum type gst_lfo_waveform_get_type() in the
2388 .types file - only GObject derived types belong.
2390 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
2392 Patch by: <arenevier at fdn dot fr>
2395 Remove comma from last element in enum to avoid compile errors when
2396 using -pendantic. Fixes #464366.
2398 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
2400 * docs/design/part-TODO.txt:
2401 Add some more TODO items
2403 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2406 * gst/gstcaps.c: (gst_caps_intersect):
2407 Optimize trivial intersection case between identical caps pointers.
2409 * gst/gstelement.c: (gst_element_continue_state),
2410 (gst_element_set_state_func):
2412 Fix spelling and grammar mistakes.
2414 2007-08-05 Stefan Kost <ensonic@users.sf.net>
2418 Update POTFILES. Fixes #461599.
2420 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
2423 Fix confusing typo in debug output.
2425 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
2427 reviewed by: Stefan Kost <ensonic@users.sf.net>
2429 * libs/gst/controller/Makefile.am:
2430 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2431 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2432 (gst_lfo_control_source_new),
2433 (gst_lfo_control_source_set_waveform),
2434 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2435 (gst_lfo_control_source_finalize),
2436 (gst_lfo_control_source_dispose),
2437 (gst_lfo_control_source_set_property),
2438 (gst_lfo_control_source_get_property),
2439 (gst_lfo_control_source_class_init):
2440 * libs/gst/controller/gstlfocontrolsource.h:
2441 * libs/gst/controller/gstlfocontrolsourceprivate.h:
2442 API: Add GstLFOControlSource, a control source that gives values
2443 for specific timestamps based on several periodic waveforms.
2446 * tests/check/libs/controller.c: (GST_START_TEST),
2447 (gst_controller_suite):
2448 * docs/libs/gstreamer-libs-docs.sgml:
2449 * docs/libs/gstreamer-libs-sections.txt:
2450 * docs/libs/gstreamer-libs.types:
2451 Add documentation and unit tests for GstLFOControlSource.
2453 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
2458 === release 0.10.14 ===
2460 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
2463 releasing 0.10.14, "Breathing Vacuum"
2465 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
2467 * gst/gstelement.c: (gst_element_class_set_details_simple):
2469 Make strings passed to gst_element_class_set_details_simple()
2470 constant, as they should be (#462752).
2472 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
2474 * gst/gstbin.c: (gst_bin_change_state_func),
2475 (bin_handle_async_done), (gst_bin_handle_message_func):
2476 Don't forget about the fact that some element went ASYNC even after a
2477 resync. This makes us post the ASYNC_DONE message correctly.
2480 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2482 * gst/gstregistry.c: (gst_registry_add_feature):
2483 When replacing an existing feature in the registry, make sure to
2484 continue holding a reference until we've replaced the name string
2485 within our feature hash table. Make sure to use g_hash_table_replace
2486 instead of g_hash_table_insert to ensure the new name string is used
2487 as a key instead of the old one that we're about to free.
2490 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2492 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2493 (gst_plugin_feature_set_name):
2494 Revert patch from #459466 until after the release and we can work
2495 out exactly what the problem is (if any).
2497 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2499 * docs/gst/gstreamer-sections.txt:
2502 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2504 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2506 * docs/libs/Makefile.am:
2507 Include our build-prefix libs and includes before the generic ones to
2508 avoid linking against the installed libs when we want the build-tree
2511 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2513 Patch by: Steve Fink <sphink gmail com>
2515 * docs/pwg/building-testapp.xml:
2516 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2517 if people try to build or install the example from the plugin
2518 template against a GStreamer from package using the configure
2521 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
2523 Patch by: Steve Fink <sphink gmail com>
2525 * tools/gst-inspect.1.in:
2526 Document --print-all and --print-plugin-auto-install-info command
2527 line options in man page.
2529 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2531 * docs/gst/gstreamer-sections.txt:
2532 Add docs for new api function.
2534 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2536 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2537 * gst/gstelementfactory.h:
2538 API: gst_element_factory_has_interface()
2539 Added method to check if an element factory implements a named
2542 2007-07-25 Stefan Kost <ensonic@users.sf.net>
2545 * docs/gst/gstreamer.types.in:
2546 Another conditional doc check.
2549 * gst/gstparamspecs.h:
2550 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2555 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2557 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2558 (gst_registry_binary_load_feature),
2559 (gst_registry_binary_load_plugin),
2560 (gst_registry_binary_read_cache):
2561 Print error just once and with additional info.
2563 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2565 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2566 (helper_find_suggest), (helper_find_get_length),
2567 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2568 (gst_type_find_helper_for_buffer):
2569 Cleanup the typefindhelper code and add private doc comments.
2571 2007-07-24 Edward Hervey <bilboed@bilboed.com>
2573 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2574 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2575 Fix capsfilter for cases where the caps set on capsfilter will provide
2576 additional information.
2579 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2581 * gst/gsttypefindfactory.c:
2582 Fix docs that recommened wrong function to use.
2584 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2586 * tools/gst-inspect.c: (print_plugin_features):
2587 Also give media-type for typefinders in element output.
2589 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2591 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2592 (gst_registry_remove_features_for_plugin_unlocked),
2593 (gst_registry_add_feature), (gst_registry_remove_feature),
2594 (gst_registry_lookup_feature_locked):
2595 * gst/gstregistry.h:
2596 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2599 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2601 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2602 (gst_plugin_feature_set_name):
2603 Avoid double memory usage for pluginfeature names. Fixes #459466.
2605 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2608 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2609 driving the pipeline may need to explicitly check for NOT_LINKED as
2610 well, since IS_FATAL doesn't cover that.
2612 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2614 * docs/pwg/advanced-types.xml:
2615 Fix typo and duplicate entry in video formats list.
2617 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
2619 * libs/gst/controller/gstinterpolation.c:
2620 Also round to the nearest int when using cubic interpolation.
2622 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
2624 * libs/gst/controller/gstinterpolation.c:
2625 When linearly interpolating integer types, round to the nearest int
2626 by adding 0.5. Don't do it for float/double types.
2627 Fixes the failing controller test on my machine, which is somehow
2628 rounding differently than on the buildbots.
2630 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2632 * tools/gst-plot-timeline.py:
2633 Better log parsing (categories can have -). Adjust text vs. lines, so
2634 that they span the same y-range.
2636 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2638 * docs/random/ensonic/audiobaseclasses.txt:
2639 * docs/random/ensonic/dynlink.txt:
2640 * docs/random/ensonic/profiling.txt:
2643 * docs/random/moving-plugins:
2644 Add note to use g_assert type macros.
2646 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2649 * libs/gst/check/Makefile.am:
2650 Add libm check as we use in for plugins.
2652 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2654 * gst/gstbin.c: (gst_bin_continue_func):
2655 Check that the state_cookie hasn't changed since the continue_func
2656 was scheduled. Avoids problems where the state changes back to
2657 something it shouldn't be because it was changed in the meantime.
2659 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2661 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2662 (gst_registry_binary_save_string),
2663 (gst_registry_binary_save_pad_template),
2664 (gst_registry_binary_save_feature),
2665 (gst_registry_binary_save_plugin),
2666 (gst_registry_binary_load_feature),
2667 (gst_registry_binary_load_plugin),
2668 (gst_registry_binary_read_cache):
2669 Fix memory leak. Be less verbose in the log.
2671 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2673 * tests/check/elements/.cvsignore:
2674 Add file to cvsignore as commanded.
2676 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2678 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2679 (mq_dummypad_event), (run_output_order_test):
2680 Use a GStaticMutex to protect all cases where libcheck
2681 fail_if/fail_unless macros might be called from multiple threads
2682 simultaneously to avoid errors like:
2683 "check_pack.c:107: :-1081725400:Bad message type arg"
2685 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2687 * tests/check/pipelines/stress.c: (GST_START_TEST):
2688 Make sure we set the pipeline back to the NULL state before
2689 dropping our final reference.
2691 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2693 * tests/check/elements/tee.c: (GST_START_TEST):
2694 Make the tee stress-test a little less stressful so it doesn't just
2695 time out on slow-machines, and remove a small race when it's starting
2696 up by adding a get_state() call.
2698 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2701 Avoid reading registry twice on startup. Fixes #457322.
2703 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2705 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2706 * pkgconfig/gstreamer-check.pc.in:
2707 Substitute the CFLAGS for libcheck into our .pc file too so that
2708 dependent modules will pick it up properly if libcheck is installed
2709 into some other prefix.
2711 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2714 Revert the pkg-config check for libcheck, since it pulls in the
2715 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2716 a proper solution, either from the check project, or something else.
2718 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2721 Use pkg-config to locate check.
2723 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2730 Add deprecation guards.
2732 * libs/gst/base/gstcollectpads.h:
2733 Don't document object (this is implicitly private).
2735 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2737 * gst/gststructure.c: (gst_structure_parse_value):
2738 When deserialising foo=bar without a type cast, check if it's a
2739 boolean before falling back to a string type, otherwise things like
2740 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2741 because the filtercaps end up having a signed=(string)true field,
2742 which causes problems later when intersection caps.
2744 * tests/check/gst/gststructure.c: (GST_START_TEST):
2745 Add a unit test for this.
2747 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2749 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2751 * libs/gst/controller/Makefile.am:
2752 * libs/gst/controller/gstcontroller.c:
2753 (gst_controlled_property_add_interpolation_control_source),
2754 (gst_controlled_property_new), (gst_controlled_property_free),
2755 (gst_controller_find_controlled_property),
2756 (gst_controller_new_valist), (gst_controller_new_list),
2757 (gst_controller_new), (gst_controller_remove_properties_valist),
2758 (gst_controller_remove_properties_list),
2759 (gst_controller_remove_properties),
2760 (gst_controller_set_property_disabled),
2761 (gst_controller_set_disabled), (gst_controller_set_control_source),
2762 (gst_controller_get_control_source), (gst_controller_get),
2763 (gst_controller_sync_values), (gst_controller_get_value_array),
2764 (_gst_controller_dispose), (gst_controller_get_type),
2765 (gst_controlled_property_set_interpolation_mode),
2766 (gst_controller_set), (gst_controller_set_from_list),
2767 (gst_controller_unset), (gst_controller_unset_all),
2768 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2769 * libs/gst/controller/gstcontroller.h:
2770 * libs/gst/controller/gstcontrollerprivate.h:
2771 * libs/gst/controller/gstcontrolsource.c:
2772 (gst_control_source_class_init), (gst_control_source_init),
2773 (gst_control_source_get_value),
2774 (gst_control_source_get_value_array), (gst_control_source_bind):
2775 * libs/gst/controller/gstcontrolsource.h:
2776 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2777 (gst_object_get_control_source):
2778 * libs/gst/controller/gstinterpolation.c:
2779 (gst_interpolation_control_source_find_control_point_node),
2780 (gst_interpolation_control_source_get_first_value),
2781 (_interpolate_none_get), (interpolate_none_get),
2782 (interpolate_none_get_boolean_value_array),
2783 (interpolate_none_get_enum_value_array),
2784 (interpolate_none_get_string_value_array),
2785 (_interpolate_trigger_get), (interpolate_trigger_get),
2786 (interpolate_trigger_get_boolean_value_array),
2787 (interpolate_trigger_get_enum_value_array),
2788 (interpolate_trigger_get_string_value_array):
2789 * libs/gst/controller/gstinterpolationcontrolsource.c:
2790 (gst_control_point_free), (gst_interpolation_control_source_reset),
2791 (gst_interpolation_control_source_new),
2792 (gst_interpolation_control_source_set_interpolation_mode),
2793 (gst_interpolation_control_source_bind),
2794 (gst_control_point_compare), (gst_control_point_find),
2795 (gst_interpolation_control_source_set_internal),
2796 (gst_interpolation_control_source_set),
2797 (gst_interpolation_control_source_set_from_list),
2798 (gst_interpolation_control_source_unset),
2799 (gst_interpolation_control_source_unset_all),
2800 (gst_interpolation_control_source_get_all),
2801 (gst_interpolation_control_source_get_count),
2802 (gst_interpolation_control_source_init),
2803 (gst_interpolation_control_source_finalize),
2804 (gst_interpolation_control_source_dispose),
2805 (gst_interpolation_control_source_class_init):
2806 * libs/gst/controller/gstinterpolationcontrolsource.h:
2807 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2808 API: Refactor GstController into the core controller which can take
2809 a GstControlSource for providing actual values for timestamps.
2810 Implement a interpolation control source and use this for backward
2811 compatibility, deprecate a bunch of functions that are now handled
2812 by GstControlSource or GstInterpolationControlSource.
2813 Make it possible to disable the controller completely or only for
2814 specific properties. Fixes #450711.
2815 * docs/libs/gstreamer-libs-docs.sgml:
2816 * docs/libs/gstreamer-libs-sections.txt:
2817 * docs/libs/gstreamer-libs.types:
2818 Add new functions and classes to the docs.
2819 * tests/check/libs/controller.c: (GST_START_TEST),
2820 (gst_controller_suite):
2821 * tests/examples/controller/audio-example.c: (main):
2822 Port unit test and example to the new API and add some new
2825 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2827 Patch by: Mark Nauwelaerts <manauw at skynet be>
2829 * plugins/elements/gstmultiqueue.c:
2830 (gst_multi_queue_get_internal_links), (apply_buffer),
2831 (single_queue_overrun_cb), (gst_single_queue_new):
2832 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2833 the pipeline layout can be tracked correctly. Fixes #453732.
2835 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2837 * docs/gst/Makefile.am:
2838 * docs/libs/Makefile.am:
2839 * docs/plugins/Makefile.am:
2840 Simplify --extra-dir as gtkdoc scans recursively.
2842 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2844 * tools/gst-launch.c: (main):
2845 When we got an error, there is no point in waiting for preroll when
2848 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2850 * plugins/elements/gsttee.c: (gst_tee_base_init),
2851 (gst_tee_request_new_pad), (gst_tee_release_pad),
2852 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2853 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2855 Be a lot smarter when deciding what srcpad to use for proxying
2856 the buffer_alloc. Also handle pad added/removed when doing so.
2858 Keep track of what pads we already pushed on in case we have pads
2859 added/removed while pushing. Fixes #374639
2861 * tests/check/Makefile.am:
2862 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2864 Added unit test for pad resync.
2866 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2870 Updated translations.
2872 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2874 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2878 Added new Finnish translation.
2880 2007-06-28 Wim Taymans <wim@fluendo.com>
2882 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2883 (single_queue_overrun_cb):
2884 When figuring out when a queue is filled, use our internal time estimate
2885 based on segments, just like check_full does.
2887 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2889 * gst/gstminiobject.c: (gst_mini_object_get_type):
2890 Remove 3 do-nothing methods.
2892 2007-06-27 Wim Taymans <wim@fluendo.com>
2894 Patch by: Tim Angus <tim at ngus dot net>
2896 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2897 (gst_capsfilter_set_property):
2898 Take a reference instead of a copy when setting "caps".
2899 Fix documentation to clarify this behaviour. Fixes #449414.
2901 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2903 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2904 * gst/gstplugin.c: (gst_plugin_init):
2905 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2906 * gst/gstquery.c: (gst_query_get_type):
2907 * gst/gstregistry.c: (gst_registry_init):
2908 * gst/gsturi.c: (gst_uri_handler_base_init):
2909 Remove empty instance_init() functions to save relocs and lessen the
2910 noise. Remove some of the function prototypes that are doubled by
2913 2007-06-27 Wim Taymans <wim@fluendo.com>
2915 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2917 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2918 Add peer and direction in the XML serialisation of ghostpads.
2921 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2924 Preserve useful information, thanks Tim.
2926 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2928 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2929 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2930 (gst_single_queue_push_one), (gst_multi_queue_loop),
2931 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2932 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2933 (compute_high_id), (gst_single_queue_new):
2934 * plugins/elements/gstmultiqueue.h:
2935 Take the multiqueue lock when updating the fill level so we don't get
2938 After applying a buffer or event on the src pad segment, make sure to
2939 call gst_data_queue_limits_changed() to get the data queue to unblock
2940 and check the filled state again.
2942 Rework the not-linked pad handling so the logic is that not-linked
2943 pads can push as fast as they like, but only so they never get
2944 ahead of any linked pads.
2946 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2947 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2948 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2950 Add a test to check that not-linked pads always stay behind
2955 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2957 * docs/random/release:
2958 Some updates to the release procedure.
2960 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2962 * gst/gstelementfactory.c: (__gst_element_details_clear):
2963 Microoptimization that saves stunning 80 bytes.
2965 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2967 * docs/plugins/gstreamer-plugins.args:
2968 * docs/plugins/inspect/plugin-coreelements.xml:
2969 * docs/plugins/inspect/plugin-coreindexers.xml:
2970 Update docs with caps info.
2972 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2975 Updated Italian translation.
2977 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2981 Update Vietnamese translations.
2983 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2985 * libs/gst/base/gstbasesink.c:
2986 Remove unused signal enum.
2988 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2990 * docs/gst/gstreamer-sections.txt:
2992 * gst/gstutils.c: (gst_type_register_static_full):
2993 Beef up and include the docs for gst_type_register_static_full and
2994 gst_element_class_set_details_simple and add the API keyword
2997 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2999 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3000 (update_time_level), (gst_single_queue_push_one),
3001 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3002 (single_queue_overrun_cb), (single_queue_underrun_cb),
3003 (single_queue_check_full):
3004 Fix setting max-* properties after adding queues.
3005 Use IS_FILLED for checking visible items.
3006 Signal overrun if multiple queues overrun.
3007 Add extra debug output.
3008 Patch by: Wim Taymans <wim@fluendo.com>
3010 2007-06-21 Stefan Kost <ensonic@users.sf.net>
3012 * gst/gstelement.c: (gst_element_class_set_details_simple):
3014 * gst/gstutils.c: (gst_type_register_static_full):
3016 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3017 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3018 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3019 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3020 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3021 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3022 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3023 * plugins/elements/gstidentity.c: (gst_identity_base_init):
3024 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3025 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3026 (apply_buffer), (gst_queue_chain):
3027 * plugins/elements/gsttee.c: (gst_tee_base_init):
3028 * plugins/elements/gsttypefindelement.c:
3029 (gst_type_find_element_base_init),
3030 (gst_type_find_element_class_init):
3031 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3032 API: add gst_type_register_static_full
3033 API: add gst_element_class_set_details_simple
3035 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
3037 * docs/pwg/advanced-types.xml:
3038 Fix typo in iana.org URI.
3040 2007-06-19 Andy Wingo <wingo@pobox.com>
3042 * tests/check/pipelines/simple-launch-lines.c
3043 (test_state_change_returns): Enable pull-mode tests now that
3044 basesink has been fixed.
3046 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3047 Changed from gst_base_sink_is_prerolled, reversing the sense of
3048 the return value. Returns FALSE also if the sink is in pull mode,
3049 in which case it needs no preroll.
3050 (gst_base_sink_query, gst_base_sink_change_state): Update for
3051 needs_preroll change.
3052 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3053 chaining up, in which we return SUCCESS directly if we activated
3054 in pull mode instead of ASYNC. Involves countering an async_start
3055 message sent before chaining up; not sure if this is correct, in
3056 an ideal world we only send async-start when activating in push
3059 * tests/check/pipelines/simple-launch-lines.c
3060 (test_state_change_returns): New test, partially disabled until
3063 2007-06-19 Wim Taymans <wim@fluendo.com>
3065 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3066 (gst_multi_queue_sink_event):
3069 2007-06-19 Wim Taymans <wim@fluendo.com>
3071 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3072 (gst_bin_change_state_func), (bin_push_state_continue),
3073 (bin_handle_async_start), (bin_handle_async_done),
3074 (gst_bin_handle_message_func):
3075 Move the common code for posting state-change messages into
3077 Broadcast the state signal after we posted the messages.
3078 Mark the bin as busy when it's doing a state-change.
3079 Make sure async-start/done messages don't interfere with the bin's
3080 state when it's busy.
3081 After the state change, let the bin check which elements completed the
3082 state change while it was busy so that it can update its state.
3084 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
3086 * docs/random/release:
3087 Add a note about updating the doap file to the release checklist
3089 2007-06-18 Wim Taymans <wim@fluendo.com>
3091 * plugins/elements/gstmultiqueue.c: (apply_buffer),
3092 (gst_single_queue_push_one), (gst_multi_queue_chain),
3093 (gst_multi_queue_sink_event):
3094 Make sure we don't reference the buffer/event after we have given away
3095 ownership in the queue.
3097 2007-06-18 Wim Taymans <wim@fluendo.com>
3099 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3100 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3101 Update queue state _after_ adding the item in the queue because else we
3102 could end up being full without the element added yet.
3104 2007-06-18 Wim Taymans <wim@fluendo.com>
3106 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3107 (gst_bin_remove_func), (gst_bin_get_state_func),
3108 (gst_bin_element_set_state), (gst_bin_continue_func),
3109 (bin_push_state_continue), (bin_handle_async_start),
3110 (bin_handle_async_done), (gst_bin_handle_message_func):
3112 Immediatly commit the toplevel bin state when receiving an async-done
3113 message. This enables us to avoid spawning a thread to commit the state
3114 in some common cases and it also avoids some races.
3115 Avoid spawning a state thread when adding/removing async elements to a
3116 toplevel bin. Instead we immediatly update the bin state.
3117 Get rid of iterating all the children when getting the state in the bin
3118 because it is now always up-to-date.
3119 Fix bug where locked elements would always return _SUCCESS even it they
3120 returned NO_PREROLL before being locked.
3121 Fix the order of the state_change, async-start/done messages that was
3122 sometimes incorrect.
3123 Mark the state_dirty field as deprecated, we don't need it anymore as we
3124 are always up-to-date.
3126 * gst/gstelement.c: (gst_element_get_state_func),
3127 (gst_element_continue_state):
3128 Small debug inprovements.
3129 Return the previous element state return when nothing is pending instead
3130 of blindly returning SUCCESS.
3132 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3134 Add a whole bunch of new testcases.
3136 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
3140 Update translations.
3142 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
3145 Fix typo in the docs.
3147 2007-06-15 Wim Taymans <wim@fluendo.com>
3149 * docs/libs/gstreamer-libs-sections.txt:
3150 Add docs for new methods.
3152 2007-06-15 Wim Taymans <wim@fluendo.com>
3154 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3155 (gst_multi_queue_item_new):
3156 Don't use GSlice because we don't depend on >= 2.10 yet.
3158 2007-06-15 Wim Taymans <wim@fluendo.com>
3160 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3161 (update_time_level), (apply_segment), (apply_buffer),
3162 (gst_single_queue_push_one), (gst_multi_queue_item_new),
3163 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3164 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3165 (single_queue_underrun_cb), (single_queue_check_full):
3166 Remove debug printf.
3168 2007-06-15 Wim Taymans <wim@fluendo.com>
3170 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3171 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3172 (gst_data_queue_set_flushing), (gst_data_queue_push),
3173 (gst_data_queue_pop), (gst_data_queue_drop_head),
3174 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3175 * libs/gst/base/gstdataqueue.h:
3177 Added methods to get the current levels and to inform the queue that the
3178 'full' limits changed.
3180 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3181 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3182 (gst_single_queue_flush), (update_time_level), (apply_segment),
3183 (apply_buffer), (gst_single_queue_push_one),
3184 (gst_multi_queue_item_steal_object),
3185 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3186 (gst_multi_queue_loop), (gst_multi_queue_chain),
3187 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3188 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3189 (gst_multi_queue_src_query), (single_queue_overrun_cb),
3190 (single_queue_underrun_cb), (single_queue_check_full),
3191 (gst_single_queue_new):
3192 Keep track of time in the queue by measuring the difference between
3193 running_time on input and output. This gives more accurate results and
3194 can compensate for segments correctly.
3195 Make a queue by default only 5 buffers deep. We will now increase the
3196 buffer size depending on the filledness of the other queues.
3197 Factor out commong flush code.
3198 Make sure we don't add additional refcounts to buffers when we can avoid
3200 Propagate GstFlowReturn differently.
3201 Use GSlice for intermediate GstMultiQueueItems.
3203 Resize queues on over and underruns based on filled level of other
3205 When checking if the queue is filled, prefer to measure in time if we
3206 can and fall back to bytes when no time is known.
3208 * plugins/elements/gstqueue.c:
3211 2007-06-15 Wim Taymans <wim@fluendo.com>
3213 * libs/gst/base/gstbasetransform.c:
3214 (gst_base_transform_sink_event):
3215 Work around the brokenness of the event vmethod in basetransform. Prefer
3216 to return TRUE when the subclass returned FALSE (meaning don't forward
3219 * libs/gst/base/gstbasetransform.h:
3222 2007-06-15 Wim Taymans <wim@fluendo.com>
3224 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3225 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3226 (gst_base_src_default_query), (gst_base_src_get_range),
3227 (gst_base_src_start):
3228 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3231 2007-06-15 Stefan Kost <ensonic@users.sf.net>
3233 * docs/pwg/advanced-types.xml:
3234 Added more formats to caps table.
3236 2007-06-15 Stefan Kost <ensonic@users.sf.net>
3238 * tools/gst-launch.c: (main):
3239 Remove crufy code. GOption does not need this workaround.
3241 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3243 * libs/gst/controller/gstcontroller.c:
3244 (gst_controlled_property_set_interpolation_mode):
3245 Fix wrong getter for enums in controller.
3247 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3249 * libs/gst/check/gstcheck.c: (gst_check_init):
3250 Intercept criticals and warnings in the Gst-Phonon log domain, so
3251 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3254 2007-06-14 Edward Hervey <edward@fluendo.com>
3256 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3257 Since this file doesn't include "gst.h" it will not go through the
3258 macros that disable GST_LOG if debugging was disabled.
3260 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3262 * libs/gst/check/Makefile.am:
3263 * libs/gst/check/gstcheck.h:
3264 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3265 * pkgconfig/gstreamer-check.pc.in:
3266 Ugly 'fix' for the controller unit test on the p5 bot: in
3267 fail_unless_equals_float() check whether the values are 'almost
3268 equal' by allowing a small absolute error, which should be good
3269 enough for our use cases (normal numbers and values close to 0).
3270 Proper fixage left to floating point arithmetic aficionados.
3272 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3274 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3275 (gst_base_sink_render_object), (gst_base_sink_get_position):
3276 Add two breaks thats where missing.
3278 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3280 * docs/libs/gstreamer-libs-sections.txt:
3281 * libs/gst/check/gstcheck.h:
3282 API: add fail_unless_equals_float() and assert_equals_float().
3283 Add documentation for some of the macros.
3285 * tests/check/libs/controller.c: (GST_START_TEST):
3286 Use newly-added asserts.
3288 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3290 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3291 Show the caps change in the log to help spotting the case of not
3292 exactly matching caps.
3294 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3296 * docs/pwg/building-boiler.xml:
3297 Fix typos, spotted by Thijs Vermeir (#447190).
3299 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3301 * docs/plugins/tmpl/.cvsignore:
3302 Ignore file to keep the buildbots happy
3304 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3306 * docs/plugins/Makefile.am:
3307 * docs/plugins/gstreamer-plugins-docs.sgml:
3308 * docs/plugins/gstreamer-plugins-sections.txt:
3309 Pull fdsink into the docs too.
3311 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
3313 * libs/gst/controller/gstinterpolation.c:
3314 Actually use the new functions with min/max checks for the trigger and
3315 none interpolation modes for get() and get_value_array() instead of
3318 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
3320 * libs/gst/controller/gstcontroller.c:
3321 (gst_controlled_property_free):
3322 Unset the minimum and maximum GValues when freeing the corresponding
3323 GstControllerProperty struct.
3325 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
3327 * libs/gst/controller/gstcontroller.c:
3328 (gst_controlled_property_new):
3329 * libs/gst/controller/gstcontrollerprivate.h:
3330 * libs/gst/controller/gstinterpolation.c:
3331 (gst_controlled_property_find_control_point_node),
3332 (interpolate_none_get), (interpolate_none_get_enum_value_array),
3333 (interpolate_none_get_string_value_array),
3334 (interpolate_trigger_get),
3335 (interpolate_trigger_get_enum_value_array),
3336 (interpolate_trigger_get_string_value_array):
3337 Protect against values larger or smaller than the minimum or maximum
3338 allowed value for the property when using values that can be compared.
3340 Optimize trigger interpolator a bit by taking the last requested value
3341 into account instead of always looping through the complete list.
3343 Fix coding style a bit, everywhere else we use "return foo" instead
3346 * tests/check/libs/controller.c: (GST_START_TEST),
3347 (gst_controller_suite):
3348 Add unit test for the protection against too large or too small
3351 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
3353 * docs/random/slomo/controller.txt:
3354 Add some thoughts about the future of the controller.
3356 2007-06-08 Wim Taymans <wim@fluendo.com>
3358 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3359 Don't overflow in retimestamping code.
3361 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
3363 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3364 Use gst_util_guint64_to_gdouble for conversions.
3365 * win32/common/libgstreamer.def:
3366 Add new exported functions.
3368 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
3371 Small docs addition.
3373 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3376 Remove that test line again.
3378 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3381 Test commit mail sending.
3383 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3386 Fix typo and test commit mail sending.
3388 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3390 * tests/examples/controller/audio-example.c:
3391 Improve comment and test commit mail sending.
3393 2007-06-07 Wim Taymans <wim@fluendo.com>
3395 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3396 (gst_bin_remove_func), (gst_bin_element_set_state),
3397 (bin_handle_async_start), (bin_handle_async_done),
3398 (gst_bin_handle_message_func):
3399 Add helper function to find messages.
3400 Generate the async-done messages together with the state change
3402 Small cleanups in handling toplevel bins.
3404 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3406 * libs/gst/base/gstdataqueue.c:
3407 * libs/gst/base/gstdataqueue.h:
3408 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3409 (gst_multi_queue_item_new), (gst_multi_queue_chain),
3410 (gst_multi_queue_sink_event):
3411 * tests/check/elements/multiqueue.c: (multiqueue_suite):
3412 Fix multiqueue leaking buffers and events when downstream or the
3413 queue are flushing. Make refcounting assumptions explicit and
3414 document them (shouldn't break existing code that uses it other than
3415 maybe leak miniobjects, but that already happens anyway). Add unit
3416 test for the most common flushing case. Fixes #423700.
3418 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
3420 * libs/gst/controller/gstcontroller.c:
3421 Clarify docs: The get_all, get_value_array(s) functions
3422 don't modify the GObject properties.
3424 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
3426 * libs/gst/controller/gstcontroller.c:
3427 (gst_controlled_property_set_interpolation_mode),
3428 (gst_controlled_property_prepend_default),
3429 (gst_controlled_property_new), (gst_controller_set_unlocked),
3430 (gst_controller_set), (gst_controller_set_from_list),
3431 (gst_controller_unset), (gst_controller_unset_all):
3432 * libs/gst/controller/gstcontrollerprivate.h:
3433 * libs/gst/controller/gstinterpolation.c:
3434 Factor out the 'set' logic into gst_controller_set_unlocked for the
3435 gst_controller_set and gst_controller_set_from_list functions.
3437 To make life of the interpolators easier always add a control point
3438 at timestamp zero with the default value.
3440 In the linear interpolator make things more obvious by better variable
3443 Implement cubic interpolation mode (by using a natural cubic spline)
3444 and map the quadratic interpolation mode to this too (as quadratic
3445 doesn't make much sense, see discussion on the list).
3447 * tests/check/libs/controller.c: (GST_START_TEST),
3448 (gst_controller_suite):
3449 Add unit test for the cubic interpolation mode and check everywhere
3450 if the interpolation mode could be set as expected.
3452 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3454 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3455 Don't use GLib-2.10 functions, we still depend on
3456 GLib-how-old-is-it-again-2.8.
3458 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3460 * docs/gst/gstreamer-sections.txt:
3464 * gst/gstparamspecs.c: (_gst_param_fraction_init),
3465 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3466 (_gst_param_fraction_values_cmp),
3467 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3468 * gst/gstparamspecs.h:
3470 * tests/check/Makefile.am:
3471 * tests/check/gst/.cvsignore:
3472 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3473 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3474 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3475 (GST_START_TEST), (gst_param_spec_suite):
3476 API: add GstParamSpecFraction, so elements can have fraction
3477 properties without lots of painful string parsing (#444648).
3479 2007-06-05 Wim Taymans <wim@fluendo.com>
3481 * gst/gstobject.c: (gst_object_class_init):
3482 Fix signal signature.
3485 Add small clarification in the api docs.
3487 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3488 States are protected with object lock.
3490 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3493 I should probably be listed as an author by now.
3495 * docs/random/release:
3496 Update the release doc
3498 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
3501 Make docs for gst_value_compare() mention return enums that
3504 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3509 === release 0.10.13 ===
3511 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3514 releasing 0.10.13, "With or without you"
3516 2007-05-25 Wim Taymans <wim@fluendo.com>
3518 * gst/gstbin.c: (bin_handle_async_done):
3519 Make sure that the child bin stops after completing the async state
3520 change so that the parent can continue the state change to PLAYING.
3523 2007-05-25 Wim Taymans <wim@fluendo.com>
3525 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3526 (unref_data), (gst_collect_pads_remove_pad),
3527 (gst_collect_pads_check_pads):
3528 Use additional refcounting to avoid crashes when dynamically adding and
3529 removing pads. Fixes #420206.
3531 2007-05-24 Wim Taymans <wim@fluendo.com>
3533 * tools/gst-launch.c: (event_loop):
3534 When buffering goes from a two digit to a single digit number, make sure
3535 to remove the old second digit by writing a blank over it.
3537 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3539 * libs/gst/base/gstdataqueue.c:
3540 Eliminate tabs and trailing comma in enum list; fix some typos.
3542 2007-05-24 Wim Taymans <wim@fluendo.com>
3544 * tests/check/gst/gstbin.c: (GST_START_TEST):
3545 Allow refcount of 3 and 4 because some state thread might still be busy
3548 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3550 * plugins/elements/Makefile.am:
3551 * plugins/elements/gstmultiqueue.h:
3552 * plugins/elements/gstqueue.h:
3553 These are not installed headers, no need for padding.
3555 2007-05-24 Wim Taymans <wim@fluendo.com>
3557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3558 (gst_bin_continue_func):
3559 Enable latency for next release.
3560 Restore STATE_LOCK around recalc_state that was left out during the
3561 rewrite and could result in racy behaviour when _get_state and
3562 recalc_state are run concurrently. See #440463.
3564 2007-05-23 Wim Taymans <wim@fluendo.com>
3566 * tests/check/gst/gstsystemclock.c: (store_callback),
3568 Improve test_async_order to also work when both timers are already
3569 expired when we get scheduled to check it.
3571 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3573 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3574 (gst_bin_set_property), (gst_bin_get_property),
3575 (gst_bin_remove_func), (gst_bin_handle_message_func):
3577 'private' is a c++ keyword, let's not use that in header files,
3578 otherwise c++ compilers will throw a tantrum.
3580 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3582 * plugins/elements/gstelements.c:
3583 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3584 (gst_file_sink_get_current_offset):
3585 * plugins/indexers/gstindexers.c: (plugin_init):
3586 Use #ifdef for HAVE_XYZ for consistency.
3588 * tests/check/Makefile.am:
3589 * tests/check/elements/.cvsignore:
3590 * tests/check/elements/filesink.c: (setup_filesink),
3591 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3592 Add some unit tests for filesink.
3594 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3596 Patch by: Mark Nauwelaerts <manauw at skynet be>
3598 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3599 (gst_file_sink_query), (gst_file_sink_do_seek),
3600 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3601 * plugins/elements/gstfilesink.h:
3602 Fix position reporting; rename data_written member to current_pos to
3603 reflect its real meaning (fixes #412648).
3605 2007-05-22 Edward Hervey <edward@fluendo.com>
3607 * docs/gst/gstreamer-sections.txt:
3608 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3609 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3610 (gst_bin_remove_func), (gst_bin_handle_message_func):
3612 Add a property for bins that handle the state change of their childs.
3615 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3617 * libs/gst/controller/gstinterpolation.c:
3618 Use an array of the correct type when using _get_value_array with
3619 linear interpolation.
3621 2007-05-22 Stefan Kost <ensonic@users.sf.net>
3623 * gst/gstelement.c (gst_element_requires_clock,
3624 gst_element_provides_clock, gst_element_request_pad,
3625 gst_element_class_set_details, gst_element_class_set_details_simple,
3626 gst_element_default_send_event, gst_element_abort_state,
3627 gst_element_continue_state, gst_element_set_state,
3628 gst_element_set_state_func, iterator_activate_fold_with_resync):
3629 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3630 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3631 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3632 gst_pad_get_range, gst_pad_pull_range):
3633 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3634 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3635 GstPadActivateModeFunction, GstPadChainFunction,
3636 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3637 GstPadFixateCapsFunction, GstPadTemplate):
3638 * gst/gstpipeline.c (gst_pipeline_change_state,
3639 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3640 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3641 gst_pipeline_get_delay):
3642 Whitespace and docs fixes.
3644 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3646 * libs/gst/controller/gstinterpolation.c:
3647 (interpolate_trigger_get_enum_value_array),
3648 (interpolate_trigger_get_string_value_array):
3649 Add support for retrieving value arrays when using the trigger
3652 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3654 * libs/gst/controller/gstcontroller.c:
3655 (gst_controller_get_value_array):
3656 * libs/gst/controller/gstcontroller.h:
3657 Clarify the docs of gst_controller_get_value_array(): The array where
3658 the values should be written to must be allocated as there seems to be
3659 no way to get the size of a random GType. This doesn't change any
3660 behaviour. Also fix some typos all over the place and remove an unused,
3661 commented function that is not necessary as g_object_set() could be
3663 * tests/check/libs/controller.c: (GST_START_TEST),
3664 (gst_controller_suite):
3665 Add unit test for gst_controller_get_value_array().
3667 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3669 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3671 Disable part of the gst_buffer_try_new_and_alloc test, because
3672 it can happily succeed on 64-bit systems where there's more address
3675 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3677 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3678 Add unit test for the improved caps checking from bug #421543.
3680 2007-05-21 Wim Taymans <wim@fluendo.com>
3682 * docs/design/part-synchronisation.txt:
3685 * gst/gstbin.c: (gst_bin_query):
3686 * plugins/elements/gstqueue.c: (apply_segment):
3692 2007-05-21 Wim Taymans <wim@fluendo.com>
3694 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3695 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3696 (gst_pad_configure_src):
3697 Added simple version of improved caps checking. It was previously
3698 assumed that a setcaps function would check the validity of the caps but
3699 people prefer us to check caps against the template automatically.
3702 2007-05-21 Wim Taymans <wim@fluendo.com>
3704 * libs/gst/base/gstbasetransform.h:
3705 Fix macro for locking/unlocking the transform lock.
3707 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3709 * docs/plugins/tmpl/.cvsignore:
3712 2007-05-18 Edward Hervey <edward@fluendo.com>
3714 * plugins/elements/gstqueue.c: (gst_queue_loop):
3715 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3716 for the subtle art of warning a potentially blocking thread that it
3717 should check the source pad return value, and relay the information
3720 2007-05-18 Edward Hervey <edward@fluendo.com>
3722 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3723 Release the queue lock !
3725 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3727 * docs/libs/gstreamer-libs-sections.txt:
3728 Add the two new controller functions to the appropiate places.
3730 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3732 reviewed by: Stefan Kost <ensonic@users.sf.net>
3734 * libs/gst/controller/gstcontroller.c:
3735 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3736 (_gst_controller_get_property), (_gst_controller_set_property),
3737 (_gst_controller_init), (_gst_controller_class_init):
3738 * libs/gst/controller/gstcontroller.h:
3739 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3740 (gst_object_get_control_rate), (gst_object_set_control_rate):
3741 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3742 Add API that provides sync suggestion timestamps for elements that
3743 call gst_object_sync_values() from which those elements can subdivide
3744 their processing loop to get the best results for the controlled
3745 properties. For now it just suggests last_sync + control_rate as
3746 new timestamp but this will be improved in the future.
3748 While doing that change the control-rate property to a GstClockTime
3749 from guint and change it's meaning from samples to nanoseconds as
3750 the GstController doesn't know anything about sampling rate. Strictly
3751 speaking this breaks ABI but as the control-rate property didn't do
3752 anything in the past and as such couldn't be used this should be no
3755 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3757 reviewed by: Stefan Kost <ensonic@users.sf.net>
3759 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3760 (gst_controller_unset_all):
3761 * libs/gst/controller/gstcontrollerprivate.h:
3762 * libs/gst/controller/gstinterpolation.c:
3763 (gst_controlled_property_find_control_point_node):
3764 Save last synced value from the list to continue searching from there
3765 in future syncs. This speeds everything up a bit.
3767 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3769 reviewed by: Stefan Kost <ensonic@users.sf.net>
3771 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3772 (gst_control_point_find), (gst_controlled_property_new),
3773 (gst_control_point_free), (gst_controlled_property_free),
3774 (gst_controller_set), (gst_controller_set_from_list),
3775 (gst_controller_unset), (gst_controller_unset_all),
3776 (gst_controller_sync_values):
3777 * libs/gst/controller/gstcontroller.h:
3778 * libs/gst/controller/gstcontrollerprivate.h:
3779 * libs/gst/controller/gstinterpolation.c:
3780 (gst_controlled_property_find_control_point_node),
3781 (interpolate_none_get), (interpolate_trigger_get):
3782 Add a new private GstControlPoint struct which "inherits" from
3783 GstTimedValue to allow different interpolators to store internal
3784 values next to each control point. From the outside everything is
3785 still a GstControlPoint so we don't loose binary compatibility.
3786 Also fixup all the GValue handling to not leak GValues or list nodes.
3787 * tests/check/libs/controller.c: (GST_START_TEST):
3788 Free the list nodes and GValues in the controller_misc test.
3790 2007-05-17 Edward Hervey <edward@fluendo.com>
3795 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3797 * gst/gstplugin.c: (gst_plugin_load_file):
3798 If we fail to load a plugin because of unresolved symbols or missing
3799 libraries and spew a warning to stderr, we may just as well mention
3800 which plugin it was that failed to load.
3802 2007-05-13 David Schleef <ds@schleef.org>
3804 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3805 handles the case when ENABLE_GTK_DOC is false, and installs
3806 the prebuilt documentation. So gtk-doc subdirs are
3807 unconditionally enabled. Fixes: #349099.
3809 2007-05-13 David Schleef <ds@schleef.org>
3811 * gst/gstutils.h: Reword some documentation.
3813 2007-05-12 David Schleef <ds@schleef.org>
3815 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3816 do anything with the passed "module" parameter, so remove it.
3817 Allows removal of additional vestigal code.
3819 2007-05-12 David Schleef <ds@schleef.org>
3822 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3823 Switch to using g_stat() because it's more portable.
3825 2007-05-12 David Schleef <ds@schleef.org>
3828 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3829 parsing for embedded systems.
3830 * gst/gstelementfactory.c:
3831 Allow gst_element_register() to be called with plugin==NULL.
3832 Did nobody notice that static elements were broken?
3834 2007-05-12 Wim Taymans <wim@fluendo.com>
3836 * tools/gst-launch.c: (event_loop):
3837 Give more interesting info when buffering starts and stops.
3838 Fix case where buffering starts but we fail to update the buffering flag
3839 because the target state is not PLAYING.
3841 2007-05-12 Wim Taymans <wim@fluendo.com>
3843 * plugins/elements/gstqueue.c: (gst_queue_init),
3844 (gst_queue_finalize), (update_time_level), (apply_segment),
3845 (apply_buffer), (gst_queue_locked_flush),
3846 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3847 (gst_queue_handle_sink_event), (gst_queue_chain),
3848 (gst_queue_push_one), (gst_queue_loop):
3849 * plugins/elements/gstqueue.h:
3850 Refactor an cleanup queue a bit.
3851 Do better time level calculations that also work when the srcpad is not
3853 Remove some unneeded debug lines.
3855 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3856 Added testcase for time level measurement.
3857 Try to make some stuff more racefree.
3859 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3861 * gst/gsturi.c: (gst_element_make_from_uri):
3862 Don't leak plugin feature.
3864 * tests/check/Makefile.am:
3865 * tests/check/gst/.cvsignore:
3866 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3867 Add brain-dead unit test.
3869 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3871 Patch by: Jeroen Wouters <woutersj at gmail com>
3873 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3874 Treat protocol strings in a case-insensitive way (#437563).
3876 2007-05-11 Michael Smith <msmith@fluendo.com>
3878 * gst/gstplugin.c: (gst_plugin_load_file):
3879 * gst/gstregistry.c: (gst_registry_scan_path_level):
3880 Don't print a g_warning for any failure to load a shared object.
3881 Instead, push this down into gstplugin.c, and warn _only_ if we
3882 failed to open the module (i.e. failure to link).
3883 Avoids warnings on normal, working, non-plugin .so files.
3885 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3887 * gst/gstplugin.c (gst_plugin_load_file):
3888 * gst/gstregistry.c (GST_CAT_DEFAULT,
3889 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3890 Print a g_warning if there was an error when loading a plugins during
3891 registry scan. The shuld help beginners starting with gst-plugin
3894 2007-05-10 Wim Taymans <wim@fluendo.com>
3896 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3897 (update_time_level), (gst_queue_locked_flush),
3898 (gst_queue_handle_sink_event), (gst_queue_chain),
3899 (gst_queue_push_one), (gst_queue_loop):
3900 * plugins/elements/gstqueue.h:
3901 Be smarter when calculating the current amount of data in the queue by
3902 measuring the difference between start and end timestamps (in running
3903 time) inside the queue. Fixes #432876.
3904 API: GstQueue::pushing to notify elements that we are pushing data again
3905 since the running signal is rather broken for this purpose.
3907 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3909 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3910 gst_queue_base_init, gst_queue_init):
3913 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3915 * win32/common/libgstreamer.def:
3916 Add new exported functions.
3917 * win32/vs6/grammar.dsp:
3918 Use grammar pre-generated files.
3920 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3922 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3925 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3927 * gst/gstutils.c: (gst_parse_bin_from_description):
3929 Maintain API and ABI when --disable-parse is used. Now that
3930 we have an appropriate error code, we can just return NULL and the
3931 appropriate error when gst_parse_launch() is used despite it having
3932 been disabled (#342564).
3934 * tests/check/Makefile.am:
3935 * tests/check/pipelines/.cvsignore:
3936 * tests/check/pipelines/parse-disabled.c:
3937 Make sure these functions exist and return NULL plus a GError when
3938 --disable-parse is used.
3940 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3942 * tests/benchmarks/complexity.c: (main):
3943 * tests/benchmarks/mass-elements.c: (main):
3944 Set a good example and don't leak messages.
3946 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3948 * docs/gst/Makefile.am:
3949 * docs/libs/Makefile.am:
3950 Correct fixxrefs options.
3952 * docs/plugins/Makefile.am:
3953 * docs/plugins/gstreamer-plugins-docs.sgml:
3954 * docs/plugins/gstreamer-plugins-sections.txt:
3955 * plugins/elements/Makefile.am:
3956 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3957 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3958 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3959 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3960 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3961 _GstCapsFilterClass, trans_class):
3962 * plugins/elements/gstelements.c (name, rank, type, _elements):
3963 * plugins/elements/gstidentity.c
3964 (gst_identity_check_imperfect_timestamp,
3965 gst_identity_check_imperfect_offset):
3966 Document capsfilter and add doc-blurb to identity.
3968 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3970 * libs/gst/controller/gstcontroller.c:
3971 (gst_controlled_property_set_interpolation_mode):
3972 * libs/gst/controller/gstinterpolation.c:
3973 Don't crash if someone tries to set an interpolation mode that
3974 is invalid or that isn't supported yet. Fixes #422295.
3976 * tests/check/libs/controller.c: (GST_START_TEST),
3977 (gst_controller_suite):
3978 Add a test case for the above.
3980 2007-05-03 Edward Hervey <edward@fluendo.com>
3982 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3983 Properly set the last_stop position on GstSegment. This will only happen
3984 if there is a buffer to push out.
3986 2007-05-03 Wim Taymans <wim@fluendo.com>
3988 * libs/gst/base/gstbasetransform.c:
3989 (gst_base_transform_buffer_alloc):
3990 always_in_place does not mean that the sink and source caps are the
3991 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3993 2007-05-03 Wim Taymans <wim@fluendo.com>
3995 * docs/libs/gstreamer-libs-sections.txt:
3996 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3997 (gst_base_src_default_query), (gst_base_src_get_range):
3998 * libs/gst/base/gstbasesrc.h:
3999 API: gst_base_src_query_latency(). Added method so that subclasses can
4000 easily get the latency values of the base source class.
4002 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
4004 * tools/gst-inspect.c (print_implementation_info):
4007 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
4009 * tools/Makefile.am:
4010 * tools/gst-launch.1.in:
4011 Don't create a customised man page based on the host architecture,
4012 describe the default registry path generically. That way the man
4013 page is the same for all architectures and packagers have one
4014 multilib issue less to deal with. Fixes #434926.
4016 2007-05-02 Wim Taymans <wim@fluendo.com>
4019 Fix documentation as spotted by rg on IRC.
4021 2007-04-29 Stefan Kost <ensonic@users.sf.net>
4024 Improve docs for gst_element_{link,unlink}.
4026 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
4028 * docs/design/part-events.txt:
4029 * docs/design/part-overview.txt:
4033 * libs/gst/base/gstbasesink.c:
4034 Typo fixes; minor docs addition.
4036 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4038 * docs/gst/gstreamer-sections.txt:
4039 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4040 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4042 API: Add gst_uri_protocol_is_supported(), which checks if a sink
4043 or src that supports a given URI protocol exists.
4045 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4047 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4048 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4049 Set the location to NULL if "file://" is set as URI. Otherwise
4050 some random previous URI would still be set if "file://" is
4051 set on an already used filesink/filesrc.
4053 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
4055 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4056 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4057 Special case the "file://" URI as as this is used by some
4058 applications to test with gst_element_make_from_uri if there's
4059 an element that supports the URI protocol.
4060 Also move the g_path_is_absolute() check for the location part
4061 of the URI to also check this for "file://localhost/bla" URIs.
4063 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
4065 * docs/gst/gstreamer-sections.txt:
4066 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4068 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4070 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4072 2007-04-26 Stefan Kost <ensonic@users.sf.net>
4074 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4075 (gst_registry_binary_load_pad_template),
4076 (gst_registry_binary_load_plugin),
4077 (gst_registry_binary_read_cache):
4078 * gst/gstregistrybinary.h:
4079 Implement no-mmap alternative for registry reading. Do code cleanups.
4080 Add more comments about avoiding strdups for all text data. Comments
4083 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4085 * gst/gstregistrybinary.h (GstBinaryPluginElement,
4086 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4087 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4088 Comment structs and reformat to fix the build (that stuff should go
4089 into a priv. header).
4091 2007-04-25 Stefan Kost <ensonic@users.sf.net>
4093 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4094 (gst_registry_binary_load_feature):
4095 * gst/gstregistrybinary.h:
4096 Refactor so that we can implement multiple features. Add support for
4097 TypeFindFactory features.
4099 2007-04-24 Stefan Kost <ensonic@users.sf.net>
4101 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4104 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4106 2007-04-23 Stefan Kost <ensonic@users.sf.net>
4108 * gst/gstbin.c: (gst_bin_element_set_state),
4109 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4110 (bin_handle_async_done), (gst_bin_handle_message_func):
4111 Fix build with --gst-disable-gst-debug
4113 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
4115 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4116 Make sure streaming has finished before calling the ::stop() vfunc,
4117 since that vfunc might clear state which is being used in the
4118 streaming thread. This fixes a race that caused crashes in
4119 audioresample when shutting down a pipeline (#420106).
4121 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4123 * docs/gst/gstreamer-sections.txt:
4124 That was one byte missing.
4126 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4129 * docs/gst/gstreamer-sections.txt:
4131 * gst/gstconfig.h.in:
4132 * gst/gstobject.c: (gst_object_class_init),
4133 (gst_signal_object_class_init):
4135 2nd attempt to have a xml-less build as a joined effort of #413123
4138 2007-04-20 Stefan Kost <ensonic@users.sf.net>
4140 * docs/design/draft-tagreading.txt:
4141 Added open issues/thoughts to draft.
4143 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4145 * gst/parse/grammar.tab.pre.c:
4146 * gst/parse/grammar.tab.pre.h:
4147 * gst/parse/lex._gst_parse_yy.pre.c:
4148 Update the prebuild parser sources.
4150 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4152 * gst/parse/Makefile.am:
4153 And now fix the building of the flex sources. Now everything should
4156 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4158 * gst/parse/Makefile.am:
4159 Now hopefully fix the build failures by setting proper rule
4160 dependencies and moving instead of copying.
4162 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4164 * tests/benchmarks/complexity.gnuplot:
4165 * tests/benchmarks/complexity.scm:
4166 * tests/benchmarks/mass-elements.gnuplot:
4167 * tests/benchmarks/mass-elements.scm:
4168 Total licensification.
4170 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4172 * gst/parse/Makefile.am:
4173 Fix the build by correcting the rule that gave wrong files to flex.
4175 2007-04-19 Stefan Kost <ensonic@users.sf.net>
4177 * tests/benchmarks/complexity.c:
4178 * tests/benchmarks/mass-elements.c:
4179 Change licence to LGPL as granted by Benjamin and Andy.
4181 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
4183 * gst/parse/Makefile.am:
4184 Add correct grammar.tab.h dependency if compiling without new enough
4185 flex. Fixes #431150.
4187 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
4189 * gst/parse/Makefile.am:
4190 Fix typo and use outdated sources if the flex/bison sources are newer
4191 than the pregenerated ones but flex is too old. Print a warning in
4192 that case. This should fix the build on the build bot.
4194 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
4196 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4197 * gst/parse/Makefile.am:
4198 * gst/parse/grammar.y:
4199 * gst/parse/parse.l:
4200 Make the parser reentrant and recursively callable. This requires flex
4201 >= 2.5.31, for older versions pregenerated sources are used as we
4202 can't bump the build dependency. Finally fixes #349180.
4204 * gst/gstparse.c: (gst_parse_launch):
4205 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4208 * docs/gst/Makefile.am:
4209 * docs/gst/Makefile.am:
4210 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4211 (__gst_parse_strfree), (__gst_parse_link_new),
4212 (__gst_parse_link_free), (__gst_parse_chain_new),
4213 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4214 (gst_parse_element_set), (gst_parse_free_link),
4215 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4216 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4217 (_gst_parse_launch):
4218 * gst/parse/grammar.tab.pre.h:
4219 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4220 (yy_get_previous_state), (yy_try_NUL_trans), (input),
4221 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4222 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4223 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4224 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4225 (_gst_parse_yypop_buffer_state),
4226 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4227 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4228 (yy_fatal_error), (_gst_parse_yyget_extra),
4229 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4230 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4231 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4232 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4233 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4234 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4235 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4236 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4237 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4238 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4239 (_gst_parse_yyfree):
4240 If the installed flex version is too old use pre-generated parser
4241 sources. These pre-generated parser sources are always updated when
4242 the actual flex/bison sources change but require everybody who wants
4243 to change something in the parser to have flex >= 2.5.31 installed.
4245 2007-04-18 Stefan Kost <ensonic@users.sf.net>
4247 * common/m4/gst-gettext.m4:
4248 * gst/gst-i18n-lib.h:
4249 Make --disable-nls to work
4251 2007-04-17 Wim Taymans <wim@fluendo.com>
4253 * gst/gstconfig.h.in:
4254 Revert previous change that broke the build.
4256 2007-04-17 Stefan Kost <ensonic@users.sf.net>
4260 * gst/gstconfig.h.in:
4261 Drop libxml2 dependency when building with
4262 --enable-binary-registry --disable-loadsave
4264 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
4266 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4267 (gst_registry_binary_read_cache):
4268 * gst/gstregistrybinary.h:
4269 Remove unnecessary <sys/mman.h> include which broke the win32 build
4270 with MingW; move includes from header file to .c file, even if the
4271 header file isn't installed; use g_strerror() where UTF-8 strings
4272 are expected, such as in GST_DEBUG messages.
4274 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4276 * docs/libs/gstreamer-libs-sections.txt:
4277 Remove bogus addition for API I didn't end up keeping.
4279 * libs/gst/base/gstbasesrc.h:
4280 Mention Since: 0.10.13 in the documentation.
4282 Add the API keyword to the previous ChangeLog entry.
4284 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4286 * docs/libs/gstreamer-libs-sections.txt:
4287 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4288 (gst_base_src_default_prepare_seek_segment),
4289 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4290 * libs/gst/base/gstbasesrc.h:
4291 Allow basesrc derived classes to execute seeks in other formats
4292 by providing a prepare_seek_segment vmethod. Sub-classes can choose
4293 to prepare the GstSegment in any format that their perform_seek method
4294 will be able to understand. The default implementation provides the
4295 old behaviour of attempting to convert the seek offsets to the
4296 configured native format.
4298 API: basesrc::prepare_seek_segment vmethod.
4300 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4302 * gst/gstelement.c: (gst_element_get_state_func):
4303 Don't output the same debug statement twice.
4305 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4306 (gst_adapter_peek), (gst_adapter_take_buffer):
4307 Optimise the case where we have buffers at the head of the queue that
4308 can be joined quickly (because they're contiguous sub-buffers) by
4309 merging them together rather than copying data out into new memory.
4311 * gst/parse/grammar.y:
4312 * tests/check/pipelines/parse-launch.c:
4313 Fix a leak in an error path for parse_launch, and add a check
4314 for it to the testsuite.
4316 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4318 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4319 Don't deadlock when releasing a pad - gst_pad_set_active may try
4320 and take the multiqueue lock too.
4322 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
4324 * gst/gsterror.c: (_gst_core_errors_init):
4326 API: add GST_CORE_ERROR_DISABLED (#392804).
4328 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4330 * docs/faq/gst-uninstalled:
4331 don't get empty paths on the PATH variables
4332 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4333 Don't format for the uncommon terminal width of 84 characters.
4335 2007-04-06 Wim Taymans <wim@fluendo.com>
4337 * gst/gstpipeline.c: (reset_stream_time),
4338 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4339 Only try to select a different pipeline clock when we went back to
4340 PAUSED and not when we merely got flushed.
4342 2007-04-05 Michael Smith <msmith@fluendo.com>
4344 * tools/gst-launch.1.in:
4345 fractions are better supported in gstreamer than ractions, so
4346 suggest using those.
4348 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
4350 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4354 Added Danish translation.
4356 2007-04-05 Wim Taymans <wim@fluendo.com>
4358 * libs/gst/base/gstbasesink.c:
4359 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4360 Fix leak caused when refusing newsegment after EOS.
4362 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4363 (gst_fake_sink_init), (gst_fake_sink_set_property),
4364 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4365 (gst_fake_sink_render), (gst_fake_sink_change_state):
4366 * plugins/elements/gstfakesink.h:
4367 Add num-buffers property to make the element generate EOS after a
4368 configurable amount of buffers.
4369 API: fakesink::num-buffers property.
4371 * tests/check/elements/fakesink.c: (GST_START_TEST),
4373 Fix GstBus leak in test.
4374 Test for fakesink num-buffers.
4376 2007-04-05 Wim Taymans <wim@fluendo.com>
4378 * libs/gst/base/gstbasesink.c:
4379 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4380 (gst_base_sink_change_state):
4381 Don't accept anything after an EOS, return UNEXPECTED instead.
4383 * tests/check/elements/fakesink.c: (GST_START_TEST),
4385 Unit test for new EOS behaviour.
4387 2007-04-05 Wim Taymans <wim@fluendo.com>
4389 * gst/gstelement.c: (gst_element_get_request_pad):
4390 Make padtemplates also work when they don't contain %s or %d.
4392 2007-04-05 Wim Taymans <wim@fluendo.com>
4394 * docs/gst/gstreamer-sections.txt:
4395 * gst/gstclock.c: (gst_clock_adjust_unlocked),
4396 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4398 Improve _adjust_unlocked() so that it overflows less.
4399 Add gst_clock_unadjust_unlocked to convert from external time to
4400 internal time based on calibration.
4401 Add some more debug.
4402 API: GstClock::gst_clock_unadjust_unlocked()
4404 2007-04-03 Wim Taymans <wim@fluendo.com>
4406 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4408 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4409 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4410 when releasing sink pad. Fixes #425400.
4412 2007-04-02 Stefan Kost <ensonic@users.sf.net>
4414 * docs/random/ensonic/dynlink.txt:
4415 More work on proposal for new core api.
4417 * docs/libs/gstreamer-libs-sections.txt:
4418 * libs/gst/base/gstbasetransform.h:
4419 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4421 * libs/gst/controller/gstcontroller.c:
4422 (on_object_controlled_property_changed),
4423 (gst_controller_sync_values),
4424 (gst_controller_set_interpolation_mode):
4425 * libs/gst/controller/gstcontroller.h:
4426 Less verbose logging add docs for unimplemented parts and correctly
4427 return when using unavailable parts.
4429 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
4431 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4432 Move all the debug to the CLOCK category, and associate it with
4435 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
4437 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4438 Make take_buffer a bit quicker by removing redundant checks
4439 caused by calling gst_adapter_take.
4441 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
4443 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4446 * tests/check/Makefile.am:
4447 * tests/check/elements/.cvsignore:
4448 * tests/check/elements/multiqueue.c: (setup_multiqueue),
4449 (GST_START_TEST), (multiqueue_suite):
4450 Add some dead simple unit tests for the 'multiqueue' element
4451 (some bits don't work yet and are disabled for now).
4453 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
4455 * gst/gstelement.c: (gst_element_get_request_pad),
4456 (gst_element_class_get_request_pad_template):
4457 Make gst_element_get_request_pad() create request pads only for
4458 request pad templates and not for, say, sometimes pad templates.
4460 2007-03-28 Stefan Kost <ensonic@users.sf.net>
4462 * docs/design/draft-klass.txt:
4463 Add example that needs more thinking.
4465 * docs/design/draft-missing-plugins.txt:
4466 More thoughts about wrapper plugins.
4468 * docs/random/ensonic/embedded.txt:
4469 * docs/random/ensonic/profiling.txt:
4472 2007-03-25 Wim Taymans <wim@fluendo.com>
4474 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4475 (gst_base_src_loop):
4476 Only push the segment events in the PLAYING state for live sources.
4478 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
4480 * gst/gstpipeline.c: (gst_pipeline_change_state):
4481 Modify the clock distribution path in PAUSED->PLAYING so that we
4482 never attempt to choose a new clock unless we're actually leaving
4483 the PAUSED state for the first time. This prevents choosing a
4484 different clock when the state_change gets called for a 2nd time due
4485 to some element doing an async state change.
4487 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4489 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4490 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4491 (gst_pad_chain_unchecked), (gst_pad_push):
4492 Revert last commit. This needs some more thoughts.
4494 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4496 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4497 (gst_pad_chain_unchecked), (gst_pad_push):
4498 Check in set_caps if the caps are compatible with the pad and remove
4499 two functions that are redundant now. Fixes #421543.
4501 2007-03-22 Wim Taymans <wim@fluendo.com>
4503 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4504 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4505 Unref some more to make valgrind happy.
4507 2007-03-22 Wim Taymans <wim@fluendo.com>
4509 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4510 (gst_system_clock_id_wait_jitter),
4511 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4512 Fix anoying regression that survived a few releases. When adding an
4513 async entry while blocking on a sync entry, the sync entry will unblock
4514 but still be busy, so it should continue to wait instead of returning
4516 Add some comments here and there.
4518 * tests/check/gst/gstsystemclock.c: (mixed_thread),
4519 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4520 Add testcase for this.
4522 2007-03-22 Wim Taymans <wim@fluendo.com>
4524 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4525 Handle errors from the clock sync better, only UNSCHEDULED indicates a
4526 WRONG_STATE and can silently pause the task. All other cases should
4529 2007-03-22 Wim Taymans <wim@fluendo.com>
4531 Patch by: Ville Syrjala <syrjala at sci dot fi>
4533 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4534 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
4537 2007-03-21 Michael Smith <msmith@fluendo.com>
4539 * docs/pwg/advanced-types.xml:
4540 Fix some errors in the typefinding docs pointed out on irc.
4542 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
4544 * libs/gst/base/gstbasesrc.c:
4545 Clarify FIXME comment in the face of having added unlock_stop()
4547 2007-03-21 Wim Taymans <wim@fluendo.com>
4549 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4550 Prepare for release where we warn against possible app breakage in the
4551 case of live pipelines along with an env var to enable/disable live
4552 preroll mode (GST_COMPAT=[no-]live-preroll).
4554 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4556 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4557 So we should use correct constants for checking for None offset.
4559 2007-03-20 Wim Taymans <wim@fluendo.com>
4561 * docs/design/part-block.txt:
4562 Mention the fact that the newly switched element should be set to at
4565 2007-03-20 Wim Taymans <wim@fluendo.com>
4568 Fix compilation with registry disabled as spotted by Saur.
4570 2007-03-20 Wim Taymans <wim@fluendo.com>
4572 Patch by: Olivier Crete <tester at tester dot ca>
4574 * gst/gstelement.c: (gst_element_sync_state_with_parent):
4575 Look at the pending state too when syncing the element state to the
4576 parent. Fixes #420133.
4578 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
4580 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4581 (gst_base_sink_change_state):
4582 * libs/gst/base/gstbasesink.h:
4583 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4584 (gst_base_src_default_event), (gst_base_src_unlock_stop),
4585 (gst_base_src_deactivate):
4586 * libs/gst/base/gstbasesrc.h:
4587 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4588 for sub-classes to correctly clear any state they set trying to
4589 unlock, such as clearing out unlock commands from a command fd.
4590 API: basesrc::unlock_stop
4591 API: basesink::unlock_stop
4593 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4594 (gst_fd_sink_render), (gst_fd_sink_unlock),
4595 (gst_fd_sink_unlock_stop):
4596 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4597 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4598 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4600 Implement unlock_stop in fdsrc and fdsink.
4601 Implement seeking in fdsrc when a seekable fd is passed, as in
4602 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4604 2007-03-19 Wim Taymans <wim@fluendo.com>
4606 Patch by: Evan Nemerson <evan at coeus dash group dot com>
4608 * gst/gstelement.c: (gst_element_class_init):
4609 Fix pad-added and pad-removed signal signatures so that the pad type is
4610 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4612 2007-03-19 Wim Taymans <wim@fluendo.com>
4614 * docs/gst/gstreamer-sections.txt:
4615 Add new element field and method.
4617 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4618 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4619 (gst_bin_recalc_state), (gst_bin_get_state_func),
4620 (gst_bin_element_set_state), (gst_bin_change_state_func),
4621 (gst_bin_continue_func), (bin_bus_handler),
4622 (bin_push_state_continue), (bin_handle_async_start),
4623 (bin_handle_async_done), (gst_bin_handle_message_func):
4624 Make async state changes a bit smarter by using new ASYNC_START and
4625 ASYNC_DONE messages. This reduces the number of times we run the state
4626 recalculation thread.
4627 Don't change state of element with a pending ASYNC_START message.
4628 Deprecate STATE_DIRTY messages.
4630 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4631 (gst_element_get_state_func), (gst_element_continue_state),
4632 (gst_element_lost_state), (gst_element_set_state_func),
4633 (gst_element_change_state):
4635 Keep the state that was last set by the app in a new element field.
4636 Don't allow state changes when handling an element event.
4637 Post ASYNC_START and ASYNC_DONE messages.
4638 Change lost_state so that we go to PAUSED and wait for the parent to set
4639 us to PLAYING again (so latency calculation can be performed)
4640 Export gst_element_change_state() method so that subclasses can use it.
4641 API: gst_element_change_state()
4642 API: GST_STATE_TARGET
4644 * gst/gstpipeline.c: (gst_pipeline_class_init),
4645 (reset_stream_time), (gst_pipeline_change_state),
4646 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4647 Using the new ASYNC_START message we can reset the base_time when
4648 needed. This can then be used to implement base_time redistribution in
4649 flushing seeks so that we can remove the explicit seek handling.
4650 Perform latency query and configuration when going to PLAYING.
4652 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4653 (gst_base_sink_query), (gst_base_sink_change_state):
4654 Post new ASYNC_START/ASYNC_DONE messages.
4656 * tests/check/generic/sinks.c: (GST_START_TEST):
4657 Fix test because the bin will not set the async element to PLAYING right
4660 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4661 Make the message check a little stronger.
4662 Handle ASYNC messages.
4664 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4665 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4666 Expect ASYNC_DONE messages.
4668 2007-03-19 Wim Taymans <wim@fluendo.com>
4670 * docs/gst/gstreamer-sections.txt:
4671 * gst/gstmessage.c: (gst_message_new_async_start),
4672 (gst_message_new_async_done), (gst_message_parse_info),
4673 (gst_message_parse_async_start):
4675 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4678 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4680 * tools/gst-inspect.c:
4681 (print_plugin_automatic_install_info_codecs):
4682 Now that we don't check for the 'Codec' keyword any longer in the
4683 klass, we shouldn't spew a warning if the klass isn't a decoder or
4684 encoder (since it might be a Source/Network, for example).
4686 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4688 * tools/gst-inspect.c:
4689 (print_plugin_automatic_install_info_codecs):
4690 Don't require decoder/demuxer/depayloader elements or
4691 encoder/muxer/paylader elements to have 'Codec' as part of their
4692 factory class string when introspecting a plugin's capabilities.
4693 draft-klass.txt mentions that it might be removed in future, and
4694 flump3dec doesn't have it as part of its class string, so chances
4695 are others might also not have it.
4697 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4719 Update translations from translation project
4721 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4723 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4724 (gst_child_proxy_set_property):
4725 Invert precondition check to be alike the ones in the mimiced gobject
4728 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4730 * docs/design/draft-tagreading.txt:
4731 * docs/random/ensonic/audiobaseclasses.txt:
4732 Do some Architect work.
4734 * gst/gstobject.c: (gst_object_set_name):
4738 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4740 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4742 * gst/gstsystemclock.c: (gst_system_clock_init),
4743 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4744 Defer starting the async system clock thread until the first async
4745 wait is scheduled. Fixes #414986.
4747 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4749 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4750 (gst_single_queue_free):
4751 Fix small leak (free GstSingleQueue structure too, not only contents).
4753 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4755 * gst/gstbin.c:(gst_bin_add):
4756 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4757 * win32/common/libgstbase.def:
4758 * win32/common/libgstreamer.def:
4759 Add new exported functions.
4761 2007-03-09 Wim Taymans <wim@fluendo.com>
4763 * docs/plugins/gstreamer-plugins-sections.txt:
4766 2007-03-09 Wim Taymans <wim@fluendo.com>
4768 * docs/gst/gstreamer-sections.txt:
4769 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4771 Add metadata copy functions. Fixes #393099.
4772 API: gst_buffer_copy_metadata()
4774 * gst/gstutils.c: (gst_buffer_stamp):
4775 * libs/gst/base/gstbasetransform.c:
4776 (gst_base_transform_prepare_output_buffer):
4777 Use new metadata copy functions.
4779 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4782 (gst_identity_init), (gst_identity_check_perfect),
4783 (gst_identity_check_imperfect_timestamp),
4784 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4785 (gst_identity_set_property), (gst_identity_get_property):
4786 * plugins/elements/gstidentity.h:
4787 Separate out check-imperfect-timestamp and check-imperfect-offset.
4788 Put back check-perfect as it was to keep compatibility.
4790 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4792 * gst/gstelement.c: (gst_element_dispose):
4793 There's no need to warn if VOID_PENDING is not NONE here, as
4794 long as the state is NULL it's ok, and that's checked immediately
4797 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4799 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4800 Fix check for perfect stream to ignore buffers with -1
4801 offsets/offset ends when checking data contiguity.
4803 2007-03-08 Wim Taymans <wim@fluendo.com>
4805 * tools/gst-launch.c: (event_loop):
4806 Print INFO messages.
4808 2007-03-08 Wim Taymans <wim@fluendo.com>
4810 * libs/gst/base/gstbasetransform.c:
4811 (gst_base_transform_sink_eventfunc),
4812 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4813 (gst_base_transform_activate):
4814 * libs/gst/base/gstbasetransform.h:
4815 Add support for dropping buffers with custom GstFlowReturn.
4816 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4817 buffers or dropped buffers.
4819 * docs/libs/gstreamer-libs-sections.txt:
4820 docs for new custom return code.
4822 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4823 Use drop support in base class to implement drop-probability.
4825 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4827 * gst/gst.c: (load_plugin_func):
4828 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4829 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4830 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4831 Remove newlines at end of debug log strings.
4833 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4835 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4836 Only post bus message at max, once per buffer received.
4838 2007-03-07 Wim Taymans <wim@fluendo.com>
4840 * docs/design/Makefile.am:
4841 * docs/design/part-synchronisation.txt:
4842 Add doc about synchronisation
4844 * docs/design/draft-latency.txt:
4845 * docs/design/part-TODO.txt:
4846 * docs/design/part-clocks.txt:
4847 * docs/design/part-events.txt:
4848 * docs/design/part-gstbus.txt:
4849 * docs/design/part-gstpipeline.txt:
4850 * docs/design/part-live-source.txt:
4851 * docs/design/part-messages.txt:
4852 * docs/design/part-overview.txt:
4853 * docs/design/part-streams.txt:
4854 * docs/design/part-trickmodes.txt:
4855 Documentation updates.
4857 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4860 Update the doap file.
4862 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4864 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4865 Rename non-perfect to imperfect for Mike and for the sanctity of the
4867 Also make sure bus message gets emitted for data-incontiguities.
4869 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4871 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4872 (gst_identity_start):
4873 * plugins/elements/gstidentity.h:
4874 Emit bus message if check-perfect is true and we encounter a
4875 non-perfect stream between 2 consecutive buffers.
4878 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4883 === release 0.10.12 ===
4885 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4888 releasing 0.10.12, "Inevitable Demise"
4890 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4893 Version 0.10.11.2 (0.10.12 pre-release)
4894 Bump libtool versioning.
4896 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4898 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4899 Log flow-names and not numbers.
4901 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4904 Convert to new AG_GST style.
4906 2007-02-28 Wim Taymans <wim@fluendo.com>
4908 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4909 Don't unref query twice.
4911 2007-02-28 Wim Taymans <wim@fluendo.com>
4913 * gst/gstvalue.c: (gst_value_transform_object_string),
4914 (_gst_value_initialize):
4915 Implement GstObject -> string transform so we print object names
4916 when serializing GValues containing GstObjects.
4918 2007-02-28 Wim Taymans <wim@fluendo.com>
4920 * docs/gst/gstreamer-sections.txt:
4921 Add new stuff to docs.
4923 2007-02-28 Wim Taymans <wim@fluendo.com>
4925 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4926 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4927 (gst_base_sink_change_state):
4928 Improve latency query code.
4929 Don't leak latency events.
4931 * tests/check/gst/gstbin.c: (GST_START_TEST):
4934 2007-02-28 Wim Taymans <wim@fluendo.com>
4936 * gst/gstelement.c: (gst_element_message_full),
4937 (gst_element_get_state_func):
4939 Improve docs a little. Added Since: for new macro.
4941 * gst/gstobject.c: (gst_object_sink):
4942 * gst/gstpipeline.c: (gst_pipeline_change_state),
4943 (gst_pipeline_set_new_stream_time):
4944 * gst/gstpipeline.h:
4945 Improve debugging and docs.
4947 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4950 2007-02-28 Wim Taymans <wim@fluendo.com>
4952 * gst/gstelement.c: (gst_element_message_full),
4953 (gst_element_set_locked_state), (gst_element_get_state_func),
4954 (gst_element_change_state):
4955 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4956 Documentation updates.
4957 Small code cleanups.
4959 * gst/gstmessage.c: (gst_message_new_info),
4960 (gst_message_parse_info):
4962 API: gst_message_new_info()
4963 API: gst_message_parse_info()
4964 Add INFO message create and parse code.
4966 2007-02-28 Wim Taymans <wim@fluendo.com>
4968 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4969 (bin_query_latency_done):
4970 Also report the live parameter of a latency query.
4972 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4974 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4975 Copy the current generic/states example from -base and adapt so
4976 we can use the exact same code everywhere.
4977 Check a STATES_IGNORE_ELEMENTS env var which can be used
4978 to ignore certain element factories for this test, which is
4979 what is being done in -base
4980 * tests/check/Makefile.am:
4981 Mention this environment variable.
4983 2007-02-27 Wim Taymans <wim@fluendo.com>
4985 * docs/gst/gstreamer-sections.txt:
4986 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4987 (gst_bus_timed_pop), (gst_bus_pop):
4989 API: gst_bus_timed_pop()
4990 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4991 message to arrive on the bus.
4993 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4995 Two unit tests for new _timed_pop() function.
4997 2007-02-23 Wim Taymans <wim@fluendo.com>
4999 * gst/gstpipeline.c: (gst_pipeline_change_state),
5000 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5001 Don't ref a NULL clock in _provide_clock_func().
5002 Don't allow an INVALID delay.
5003 Don't try to calculate base_time with an invalid start_time.
5004 Also distribute and notify a NULL clock when it was selected.
5006 * tools/gst-launch.c: (event_loop):
5007 Don't crash when a NULL clock was selected in the pipeline.
5009 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
5011 * docs/design/Makefile.am:
5012 * docs/design/draft-missing-plugins.txt:
5013 * docs/random/draft-missing-plugins.txt:
5014 Some small updates: update plugin system identifier prefix
5015 ('gstreamer.net' to 'gstreamer'), mention our new install
5016 API in libgstbaseutils rather than libgimme-codec, add
5017 reference to the online docs.
5019 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5021 * win32/common/config.h:
5022 Pretty sure Bill never made a powerpc version. Powerpc hackers,
5023 use moap cl ci to only check in what is mentioned in the ChangeLog.
5025 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5027 * docs/gst/gstreamer-sections.txt:
5029 Fix up documentation to link to the correct GstGError section.
5030 Add GST_ELEMENT_INFO macro since someone else added a Info message.
5032 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
5034 * tools/gst-launch.c: (event_loop):
5035 Make sure that we actually show the important message part of a
5037 No need to check if the gerror is not NULL to free; first of all
5038 g_free accepts NULL; and second the default error handler would
5039 segfault if gerror was NULL.
5041 2007-02-21 Wim Taymans <wim@fluendo.com>
5043 * docs/gst/gstreamer-sections.txt:
5044 Removed docs as well.
5046 2007-02-21 Wim Taymans <wim@fluendo.com>
5048 * gst/gstmessage.c: (gst_message_parse_duration):
5050 Remove new messages for release.
5052 2007-02-20 Wim Taymans <wim@fluendo.com>
5054 * docs/design/part-gstghostpad.txt:
5055 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5056 (gst_ghost_pad_new_full):
5057 Make the ghostpad a parent of the internal pad again for better backward
5058 compatibility. Don't write code that relies on this however.
5060 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5061 (gst_pad_link_check_hierarchy):
5062 Require that parents should be GstElements in the hierarchy check.
5064 2007-02-20 Wim Taymans <wim@fluendo.com>
5066 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5067 (gst_bin_change_state_func), (bin_query_min_max_init),
5068 (bin_query_latency_fold), (bin_query_latency_done),
5071 Implement latency query.
5073 2007-02-20 Wim Taymans <wim@fluendo.com>
5075 * docs/design/part-gstghostpad.txt:
5076 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5077 (gst_ghost_pad_internal_do_activate_push),
5078 (gst_ghost_pad_internal_do_activate_pull),
5079 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5080 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5081 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5082 Do not set the internal pad as a parent anymore so we can avoid
5083 hierarchy linking errors when the ghostpad has no parent yet. This also
5084 fixes failed activation because of unlinked internal pads, which in
5085 turn fixes the impossible case where you have to activate a pad before
5086 you can add it to a running element.
5089 * gst/gstpad.c: (pre_activate), (post_activate),
5090 (gst_pad_set_active), (gst_pad_activate_pull),
5091 (gst_pad_activate_push), (gst_pad_check_pull_range):
5092 Add some more debug info.
5093 Mark activation mode in pre_activate so that we don't try to activate in
5094 endless loops. Fixes #385084.
5096 2007-02-19 Wim Taymans <wim@fluendo.com>
5098 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5099 (gst_base_transform_check_get_range):
5100 Implement a checkgetrange function instead of relying on the default
5101 core behaviour that assumes we can operate in pull mode if we have a
5102 getrange function. First step at fixing #385084.
5104 2007-02-15 Stefan Kost <ensonic@users.sf.net>
5106 * gst/gstchildproxy.h:
5107 * libs/gst/base/gstbasesink.h:
5108 * libs/gst/base/gstbasesrc.h:
5109 * libs/gst/base/gstbasetransform.h:
5110 More docs coverage and some ChangeLog surgery (add missing names)
5112 2007-02-15 Wim Taymans <wim@fluendo.com>
5114 * docs/design/part-TODO.txt:
5115 * docs/design/part-activation.txt:
5116 * docs/design/part-block.txt:
5117 * docs/design/part-buffering.txt:
5118 * docs/design/part-clocks.txt:
5119 * docs/design/part-element-source.txt:
5120 * docs/design/part-events.txt:
5121 * docs/design/part-gstbin.txt:
5122 * docs/design/part-gstbus.txt:
5123 * docs/design/part-gstpipeline.txt:
5124 * docs/design/part-live-source.txt:
5125 * docs/design/part-messages.txt:
5126 * docs/design/part-overview.txt:
5127 * docs/design/part-qos.txt:
5128 * docs/design/part-query.txt:
5129 * docs/design/part-states.txt:
5130 * docs/design/part-trickmodes.txt:
5131 Some doc updates. Start renaming from stream_time to running_time where
5132 it was used wrongly.
5134 2007-02-15 Wim Taymans <wim@fluendo.com>
5136 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5137 Answer LATENCY query.
5139 2007-02-15 Wim Taymans <wim@fluendo.com>
5141 * tests/check/gst/gstevent.c: (event_probe), (test_event),
5145 2007-02-15 Wim Taymans <wim@fluendo.com>
5147 * gst/gstpad.c: (gst_pad_get_internal_links_default),
5148 (gst_pad_dispatcher):
5149 Improve debugging of default pad dispatcher and query functions.
5151 2007-02-15 Wim Taymans <wim@fluendo.com>
5153 * docs/gst/gstreamer-sections.txt:
5154 Remove old unused method.
5156 2007-02-13 Wim Taymans <wim@fluendo.com>
5158 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5161 2007-02-13 Wim Taymans <wim@fluendo.com>
5163 * docs/design/part-seeking.txt:
5166 * gst/gstsegment.c: (gst_segment_set_seek):
5167 Revert old bogus change that should make seeking work again.
5169 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5171 * docs/random/ensonic/dynlink.txt:
5172 * docs/random/ensonic/interfaces.txt:
5173 * docs/random/ensonic/receipies.txt:
5174 Possible dynamic reconnection api, plus some type fixes the other two
5177 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
5179 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5180 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5181 Also check for an absolute path following file:// in the filesrc
5182 element. Remove redundant check and call g_path_is_absolute() on the
5185 2007-02-13 Stefan Kost <ensonic@users.sf.net>
5187 * docs/design/draft-klass.txt:
5188 Add existing category analysis.
5191 Fix doc example, framerate is a fraction.
5193 2007-02-12 Stefan Kost <ensonic@users.sf.net>
5196 * docs/gst/Makefile.am:
5197 * docs/gst/gstreamer-sections.txt:
5198 * docs/libs/Makefile.am:
5199 Erm, forgot a bunch of --extra-dir.
5201 2007-02-12 Stefan Kost <ensonic@users.sf.net>
5204 * docs/gst/Makefile.am:
5205 * docs/libs/Makefile.am:
5206 * docs/plugins/Makefile.am:
5207 Add crossreferences to glib/gobject docs.
5209 2007-02-12 Wim Taymans <wim@fluendo.com>
5211 * docs/design/draft-latency.txt:
5214 * docs/libs/gstreamer-libs-sections.txt:
5215 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5216 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5217 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5218 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5219 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5220 (gst_base_sink_get_position), (gst_base_sink_query),
5221 (gst_base_sink_change_state):
5222 * libs/gst/base/gstbasesink.h:
5223 API: gst_base_sink_query_latency() to let subclasses query the upstream
5225 API: gst_base_sink_get_latency() to let subclasses query the configured
5226 latency in the sink.
5227 Implement query and set latency.
5229 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5230 don't continue preroll when we are flushing. Fixes #405284.
5232 * tests/check/pipelines/stress.c: (change_state_timeout),
5233 (quit_timeout), (GST_START_TEST), (stress_suite):
5236 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
5238 Patch by: René Stadler <mail at renestadler de>
5240 * docs/gst/gstreamer-sections.txt:
5241 * gst/gsttaglist.c: (_gst_tag_initialize):
5243 API: add GST_TAG_REFERENCE_LEVEL (#403597).
5245 2007-02-11 Stefan Kost <ensonic@users.sf.net>
5247 * docs/libs/Makefile.am:
5248 Fix path to core docs.
5250 * gst/gstbin.c: (gst_bin_get_by_interface),
5251 (gst_bin_iterate_all_by_interface):
5252 Refix docs by also renaming 'interface' to 'iface' in implementation.
5254 * docs/gst/gstreamer-sections.txt:
5256 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5257 * gst/gstchildproxy.h:
5258 * gst/gstelementfactory.c:
5259 * gst/gstpadtemplate.h:
5260 * libs/gst/controller/gstcontroller.c:
5261 (gst_controlled_property_new):
5264 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
5266 * gst/gstbin.h:(gst_bin_get_by_interface),
5267 (gst_bin_iterate_all_by_interface):
5268 Replace interface parameter name by iface as interface is
5269 a reserved keyword in Visual Studio for C++ projects so it removes
5270 a build error for application developpers using VS.
5271 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5272 Fix a bug on Windows in uri format check. Now the prefix checked
5273 is file:// and next we check if the path after file:// is absolute.
5274 * win32/common/libgstbase.def:
5275 * win32/common/libgstdataprotocol.def:
5276 * win32/common/libgstgstreamer.def:
5277 Add new exported functions.
5279 2007-02-09 Andy Wingo <wingo@pobox.com>
5281 * tests/check/pipelines/simple-launch-lines.c
5282 (simple_launch_lines_suite, test_tee): Disable tee test until I
5283 have time to fix it :-(
5285 * tests/check/Makefile.am (noinst_HEADERS):
5286 * tests/check/libs/libsabi.c:
5287 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5288 * tests/check/gst/gstabi.c:
5289 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5291 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5292 tests for push and pull tee behavior.
5294 * plugins/elements/gsttee.h:
5295 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5296 mark as deprecated as well as unimplemented. It was a crack idea.
5297 Add support for tee operating in pull mode, off by default.
5299 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5300 normal-case logs down to LOG, raise errors to WARNING.
5301 (gst_registry_xml_read_cache): Don't log before calling a function
5304 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5305 exit (registry finalize).
5306 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5307 DEBUG log when we emit signals that people don't even have the
5308 chance to connect to.
5309 (gst_registry_scan_path_level): Less logging in the normal case.
5311 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5313 Patch by: Michal Benes <michal dot benes at itonis dot tv>
5315 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5316 Correctly generate EOS for non-seekable files. We don't have a total
5317 length for them and would get an unexpected end of file if we only
5318 special-cased for regular files. (Fixes: #404569)
5320 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5322 * tests/check/elements/filesrc.c: (GST_START_TEST),
5324 Add unit test for the GstURIHandler interface in filesrc. This also
5325 tests the newly added file://localhost/foo/bar support.
5327 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/gstelementfactory.h:
5330 The klass string is not a hierarchy. Add reference to the design doc
5331 for more information and common types.
5333 2007-02-02 Wim Taymans <wim@fluendo.com>
5335 * gst/gstquery.c: (gst_query_new_latency):
5336 Remove old structure field.
5338 2007-02-02 Stefan Kost <ensonic@users.sf.net>
5340 * tools/gst-launch.1.in:
5341 Give example for network streaming (#351998)
5343 2007-02-02 Wim Taymans <wim@fluendo.com>
5345 * docs/gst/gstreamer-sections.txt:
5346 Add docs for new methods.
5348 * gst/gstevent.c: (gst_event_new_latency),
5349 (gst_event_parse_latency):
5351 Add new LATENCY event to configure latency in a pipeline.
5352 API: gst_event_new_latency
5353 API: gst_event_parse_latency
5355 * gst/gstmessage.c: (gst_message_new_buffering),
5356 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5357 (gst_message_new_latency), (gst_message_parse_buffering),
5358 (gst_message_parse_lost_preroll):
5360 Added messages used in draft-latency.
5361 API: gst_message_new_lost_preroll
5362 API: gst_message_parse_lost_preroll
5363 API: gst_message_new_prerolled
5364 API: gst_message_new_latency
5366 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5367 (gst_query_parse_latency):
5369 Implemented new latency query as in design doc.
5370 API: gst_query_new_latency
5371 API: gst_query_set_latency
5372 API: gst_query_parse_latency
5374 2007-02-02 Wim Taymans <wim@fluendo.com>
5376 * docs/design/draft-latency.txt:
5377 Slight redesign to allow for dynamic latency adjustments.
5379 * docs/design/part-negotiation.txt:
5382 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5384 reviewed by: Wim Taymans <wim@fluendo.com>
5386 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5387 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5388 Allow file://localhost/foo/bar URLs and correctly fail for every other
5389 hostname that one sets. This was gnomevfssrc is linked for those if
5390 installed as it can handle it (#403172)
5392 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
5394 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5396 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5397 (unref_data), (gst_collect_pads_add_pad_full):
5398 * libs/gst/base/gstcollectpads.h:
5399 Don't put the previously added destroy notify in the GstCollectData
5400 struct as all it's padding is already used and we don't want to break
5401 ABI. Instead put in the pad's GObject data for now. This should be
5402 cleaned up for 0.11 (#402393).
5404 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
5406 reviewed by: Wim Taymans <wim@fluendo.com>
5408 * docs/libs/gstreamer-libs-sections.txt:
5409 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5410 (unref_data), (gst_collect_pads_add_pad),
5411 (gst_collect_pads_add_pad_full):
5412 * libs/gst/base/gstcollectpads.h:
5413 API: Add function to specify a destroy notification for custom
5414 GstCollectData when adding new pads in GstCollectPads (#402393).
5416 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
5419 Update Swedish translation (#378255).
5421 2007-01-31 Stefan Kost <ensonic@users.sf.net>
5423 * docs/design/draft-klass.txt:
5424 Fix the previous change, this is a list of categories and not a hierarchy.
5426 2007-01-31 Stefan Kost <ensonic@users.sf.net>
5428 * docs/design/draft-klass.txt:
5429 Add info about how to get a list of used classes.
5431 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
5433 * plugins/elements/gsttypefindelement.c:
5434 (gst_type_find_element_chain_do_typefinding),
5435 (gst_type_find_element_change_state):
5436 Don't leak found caps in chain function (no idea why that never
5437 showed up as a leak anywhere).
5439 2007-01-30 Stefan Kost <ensonic@users.sf.net>
5442 Fix and expand GstPluginDesc API docs.
5444 2007-01-29 Stefan Kost <ensonic@users.sf.net>
5447 * gst/gstelementfactory.c:
5448 * gst/gstpadtemplate.h:
5451 * libs/gst/controller/gstcontroller.c:
5452 (gst_controlled_property_new):
5453 * tests/examples/controller/audio-example.c:
5456 2007-01-29 Stefan Kost <ensonic@users.sf.net>
5459 comment about refining the xml deps
5462 comments about moving away from jade for docs
5465 recommit the ifdefs to use the binary registry
5467 * gst/gstbin.c: (gst_bin_change_state_func):
5468 this break is obsolete
5470 * gst/gstelementfactory.h:
5471 better GST_ELEMENT_DETAILS docs, add comment about translation
5476 * gst/gstobject.c: (gst_signal_object_get_type):
5477 add G_UNLIKELY as usual
5479 * gst/gstpad.c: (gst_pad_event_default):
5480 add fall trhu comment
5482 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5483 (gst_registry_binary_initialize_magic),
5484 (gst_registry_binary_save_string),
5485 (gst_registry_binary_save_pad_template),
5486 (gst_registry_binary_save_feature),
5487 (gst_registry_binary_save_plugin),
5488 (gst_registry_binary_write_cache),
5489 (gst_registry_binary_check_magic),
5490 (gst_registry_binary_load_pad_template),
5491 (gst_registry_binary_load_feature),
5492 (gst_registry_binary_load_plugin),
5493 (gst_registry_binary_read_cache):
5494 comment typo and formatting
5496 * gst/gstutils.c: (gst_element_state_get_name),
5497 (gst_element_state_change_return_get_name):
5498 remove obsolete breaks
5500 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5501 add FIXME 0.11 and remove cpp comment
5503 2007-01-29 Edward Hervey <edward@fluendo.com>
5505 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5506 Fix print statement in an even more portable way.
5508 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
5510 * docs/gst/gstreamer-sections.txt:
5512 API: add GST_ROUND_DOWN_* macros (#401781).
5514 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
5516 * docs/gst/gstreamer.types.in:
5517 * gst/gstregistry.c: (gst_registry_class_init):
5518 Document registry signals and make gtk-doc pick them up (#401381).
5520 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5522 * docs/pwg/building-testapp.xml:
5523 Add some audioconverts and audioresample to the pipeline, and some
5524 more comments and error handling.
5526 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5528 * docs/manual/manual.xml:
5532 2007-01-26 Wim Taymans <wim@fluendo.com>
5534 * gst/gstcaps.c: (gst_static_caps_get):
5535 Init caps flags too.
5537 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
5539 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5541 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5542 If not using mmap'ed files try to seek to the end instead of the
5543 start to determine whether we can seek at all. This fixes the case
5544 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5545 seeks for everything afterwards fail. Fixes #400656
5547 2007-01-25 Wim Taymans <wim@fluendo.com>
5549 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5550 Add some refcount debugging.
5551 Make gst_static_caps_get threadsafe, which is needed when autoplugging
5552 in multiple streaming threads.
5554 2007-01-25 Wim Taymans <wim@fluendo.com>
5556 Patch by: David Schleef <ds at schleef dot org>
5558 * docs/libs/gstreamer-libs-sections.txt:
5559 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5560 * libs/gst/base/gstadapter.h:
5561 API: gst_adapter_copy() that can reduce the amount of memcpy when
5562 getting data from the adapter. Fixes #388201.
5564 2007-01-25 Edward Hervey <edward@fluendo.com>
5566 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5567 In print statements, "%x" is for guint. Fixes build on macosx.
5569 2007-01-24 Edward Hervey <edward@fluendo.com>
5571 * plugins/elements/gstmultiqueue.c:
5572 (gst_multi_queue_loop):
5574 (single_queue_overrun_cb), (single_queue_underrun_cb),
5575 (single_queue_check_full), (gst_single_queue_new):
5576 Implement single queue growth system.
5577 This uses the extra-size properties, and will grow single queues by
5578 that much if one goes full whereas there are others empty. This is
5579 called extra-mode in the code.
5580 When a single queue's levels go back below the initial max-size
5581 limits, it is no longer in extra-mode. This is to ensure we don't
5582 consume too much memory.
5585 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
5587 * gst/gst.c: (gst_init_get_option_group):
5588 Make warning about late g_thread_init() calls a bit more explicit,
5589 so that it's more obvious to application developers what they need
5590 to do if a user files a bug against their application.
5592 2007-01-22 Edward Hervey <edward@fluendo.com>
5594 * plugins/elements/gstmultiqueue.c:
5595 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5596 Remove previous hack of unsetting the flushing flag for the source pad
5597 instead of activating it. Instead, fix the source pad activate function
5598 so that it no longer depends on having a parent set or not.
5600 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
5602 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5604 * docs/manual/basics-bus.xml:
5605 Fix example code, gst_element_unref() doesn't exist any longer.
5607 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
5609 Patch by: Mark Nauwelaerts <manauw at skynet be>
5612 Fix two docs typoes (#399094).
5614 2007-01-19 Edward Hervey <edward@fluendo.com>
5616 * docs/faq/gst-uninstalled:
5617 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5618 depending on libgstbaseutils can work in uninstalled environment.
5620 2007-01-18 Stefan Kost <ensonic@users.sf.net>
5623 * gst/gsttagsetter.c:
5624 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5625 statement for new tag.
5627 2007-01-17 Edward Hervey <edward@fluendo.com>
5629 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5630 When dynamically creating single queues, activate sinkpad before adding
5632 We should be doing the same thing for the source pad, but we can't
5633 since it would call a method which needs the parent to be set in order
5634 to work propertly. Instead of activating the source pad, we just unset
5635 the flushing flag, which is the minimal requirement for adding a pad
5636 to an element in a state greater than READY.
5638 2007-01-17 Edward Hervey <edward@fluendo.com>
5640 * docs/faq/gst-uninstalled:
5641 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5644 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5646 * tests/check/gst/gstabi.c:
5647 * tests/check/gst/struct_hppa.h:
5648 * tests/check/libs/libsabi.c:
5649 * tests/check/libs/struct_hppa.h:
5650 Add ABI structs for HPPA (see #393796).
5652 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5654 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5655 Actually write ABI structs to the file specified in the GST_ABI
5656 environment variable, as the message we print claims we would.
5658 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5660 * tests/check/gst/gsttask.c:
5663 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5665 * gst/gsttaglist.c: (_gst_tag_initialize):
5666 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5667 previous two entries.
5669 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5671 * docs/gst/gstreamer-sections.txt:
5672 * gst/gsttaglist.c: (_gst_tag_initialize):
5674 Add tag support for beat-per-minute.
5676 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5678 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5679 (gst_registry_binary_initialize_magic),
5680 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5681 (gst_registry_binary_save_pad_template),
5682 (gst_registry_binary_save_feature),
5683 (gst_registry_binary_save_plugin),
5684 (gst_registry_binary_write_cache),
5685 (gst_registry_binary_check_magic),
5686 (gst_registry_binary_load_pad_template),
5687 (gst_registry_binary_load_feature),
5688 (gst_registry_binary_load_plugin),
5689 (gst_registry_binary_read_cache):
5690 * gst/gstregistrybinary.h:
5691 Use glib types, cleanup comments, impement interfaces and uri-types.
5693 2007-01-13 Andy Wingo <wingo@pobox.com>
5695 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5696 getrange() to return buffers with other caps, while we fix
5697 demuxers and typefind, or otherwise change part-negotiation.txt.
5699 2007-01-12 Andy Wingo <wingo@pobox.com>
5701 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5702 Factor start/stop into this private function instead of partially
5703 in activate functions and partially in the change_state function.
5704 Fixes setup before the element has changed from READY->PAUSED, as
5705 is the case in pull-mode pipelines.
5706 (gst_base_transform_sink_activate_push)
5707 (gst_base_transform_src_activate_pull): Refactor to use
5708 gst_base_transform_activate().
5709 (gst_base_transform_change_state): Removed, not needed any more.
5711 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5712 Truncate before fixating.
5714 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5715 Don't set_caps() if the result of fixating is ANY, as it's not
5716 supported, and not necessary in the case of a link with no
5717 template caps on either side. Fixes tests/check/libs/basesrc in
5718 some pull-mode tests.
5720 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5721 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5722 (gst_base_transform_src_activate_pull):
5723 Track the activation mode.
5724 (gst_base_transform_setcaps): In pull mode, when activating the
5725 src pad, after activating the sink pad, activate the sink pad's
5726 peer, as discussed in part-negotiation.txt.
5728 * libs/gst/base/gstbasesrc.h:
5729 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5730 vmethod, as in basesink.
5732 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5734 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5735 mode, first proxy the setcaps to the peer pad.
5736 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5738 (gst_base_sink_default_activate_pull): Rename from
5739 gst_base_sink_activate_pull.
5740 (gst_base_sink_negotiate_pull): New function, performs negotiation
5741 in pull mode before calling ::activate_pull().
5742 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5743 vmethod instead of the default implementation. I have no idea how
5744 this worked before. Negotiate before calling activate_pull.
5746 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5747 sink pads in pull mode. In addition to being correct, fixes
5748 filesrc ! decodebin ! identity ! fakesink.
5749 (gst_pad_get_range, gst_pad_pull_range): Don't call
5750 gst_pad_set_caps() if the caps changes; instead error out with
5751 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5753 2007-01-12 Andy Wingo <wingo@pobox.com>
5755 * docs/design/part-negotiation.txt: Update with more policy.
5757 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5759 * libs/gst/check/gstbufferstraw.h:
5760 * libs/gst/check/gstcheck.h:
5761 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5764 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5766 * tests/check/Makefile.am:
5767 * tests/check/gst/.cvsignore:
5768 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5769 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5770 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5771 (GST_START_TEST), (gst_tag_setter_suite):
5772 Add minimal unit test for beforementioned GstTagSetter bug.
5774 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5776 Patch by: René Stadler <mail at renestadler dot de>
5778 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5779 gst_tag_list_merge() returns a new list, so it's not the best idea
5780 to ingore its return value. Effectively meant that tags could only
5781 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5782 Also add function guard to require a non-NULL taglist as input (has
5783 always been so due to gst_tag_list_copy(), just making it explicit).
5785 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5787 * docs/random/draft-missing-plugins.txt:
5788 Some additions: mention new API that is supposed to be used at the
5789 various stages; short blob about new gst-inspect introspection
5790 option; mention potential future problem with plugins that have
5791 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5793 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5795 * tools/gst-inspect.c:
5796 (print_plugin_automatic_install_info_codecs),
5797 (print_plugin_automatic_install_info_protocols),
5798 (print_plugin_automatic_install_info), (main):
5799 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5800 introspect plugin files and get machine-parsable output that corresponds
5801 to the last bit of the missing-plugin installer string (small gotcha:
5802 doesn't take into account ranks).
5804 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5807 * docs/gst/gstreamer-sections.txt:
5809 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5810 (gst_registry_lookup_locked):
5811 * gst/gstregistry.h:
5812 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5813 (gst_registry_binary_initialize_magic),
5814 (gst_registry_binary_save_string),
5815 (gst_registry_binary_save_pad_template),
5816 (gst_registry_binary_save_feature),
5817 (gst_registry_binary_save_plugin),
5818 (gst_registry_binary_write_cache),
5819 (gst_registry_binary_check_magic),
5820 (gst_registry_binary_load_pad_template),
5821 (gst_registry_binary_load_feature),
5822 (gst_registry_binary_load_plugin),
5823 (gst_registry_binary_read_cache):
5824 * gst/gstregistrybinary.h:
5825 * gst/gstregistryxml.c: (load_feature),
5826 (gst_registry_xml_read_cache):
5827 commit binary registry (disabled by default, see #359653)
5829 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5831 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5832 Fix 'make check' too.
5834 2007-01-10 Andy Wingo <wingo@pobox.com>
5836 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5839 * docs/design/part-negotiation.txt: Update with, um, one way that
5840 pull-mode negotiation might work?
5843 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5844 that the pad must be a src pad; makes sense to call it the other
5845 way in pull mode, and the logic is symmetric anyway.
5847 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5849 * plugins/elements/gstfilesink.c:
5850 Include <stdio.h> for fseeko().
5852 2007-01-10 Wim Taymans <wim@fluendo.com>
5856 Reserve LATENCY event.
5858 2007-01-09 Wim Taymans <wim@fluendo.com>
5860 * docs/design/draft-latency.txt:
5863 2007-01-09 Wim Taymans <wim@fluendo.com>
5865 * docs/design/draft-latency.txt:
5869 * gst/gststructure.c:
5873 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5875 * tests/check/.cvsignore:
5876 Ignore test-registry.xml as well.
5878 2007-01-09 Wim Taymans <wim@fluendo.com>
5880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5881 unref data at the end when we are done with the pad.
5883 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5885 * docs/gst/gstreamer-sections.txt:
5886 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5887 (init_post), (gst_deinit), (gst_update_registry):
5889 API: add gst_update_registry() (#391296).
5891 * tests/check/Makefile.am:
5892 * tests/check/gst/gstregistry.c:
5893 * tests/check/gst/.cvsignore:
5894 Simple unit test for the above.
5896 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5898 * gst/gstregistry.c: (gst_registry_scan_path_level):
5899 Plugin extension on HP-UX is .sl, add that to the list of approved
5900 plugin extensions (see #393796).
5902 * tests/check/gst/gstpad.c: (GST_START_TEST):
5903 ulong => gulong. Fixes compilation with HP-UX compiler.
5905 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5906 Fix compilation if valgrind headers are not available.
5908 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5910 * win32/common/libgstreamer.def:
5911 Add new exported function.
5912 * win32/vs6/libgstbase.dsp:
5913 Add gstdataqueue.c to the build.
5914 * win32/vs6/libgstcoreelements.dsp:
5915 Add gstmultiqueue.c to the build.
5917 2007-01-06 Andy Wingo <wingo@pobox.com>
5919 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5920 activate_pull(), providing for a way to specialize the process of
5921 spawning a thread to pull on the sink pad. There is a default
5924 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5925 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5926 (gst_base_sink_init): Renamed pad activation functions (inserting
5927 "_pad" in their names). Refactor to use the new activate_pull
5928 vmethod, as appropriate.
5929 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5930 default activate_pull function to start a task pulling from the
5931 sink pad, as before.
5933 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5934 on the pads if necessary, as in push()/chain(). Update docs.
5935 Shouldn't affect existing pull() usage as it is currently only
5936 being used on buffers without caps.
5938 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5940 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5942 Call g_thread_init() first thing in gst_init() / gst_check_init().
5943 When initialisation is done via gst_init_get_option_group() and
5944 GOption parsing, issue a warning if the GLib thread system has not
5945 been initialised yet by the time gst_init_get_option_group() is
5946 called, as it's quite likely other GLib functions such as
5947 g_option_context_new() have been called already then, and
5948 g_thread_init() must be called before any other GLib function. The
5949 application in question must be fixed in that case, since memory
5950 corruption might happen otherwise.
5951 We issue the warning because even if the GLib folks decide to work
5952 around the problem on their end in future, this is still an issue
5953 with all GLib versions >= 2.10.0, so we should warn until we depend
5954 on a GLib version we know to be safe.
5955 Update documentation as well.
5958 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5960 * tools/gst-inspect.c: (main):
5961 * tools/gst-launch.c: (main):
5962 * tools/gst-typefind.c: (main):
5963 * tools/gst-xmlinspect.c: (main):
5964 Call g_thread_init() really really early, before any other GLib
5965 function (see #342564 and recent discussion on gtk-devel-list).
5967 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5969 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5971 * gst/gst_private.h:
5972 * gst/gstconfig.h.in:
5974 On win32, all the __declspec stuff for symbol exporting is
5975 apparently only needed with MSVC, but doesn't work with MingW.
5976 Fixes compilation with MingW and #391909.
5978 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5980 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5981 Change some GST_ERROR_OBJECT that aren't really errors to
5982 GST_WARNING_OBJECT in order to reduce terminal spam.
5984 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5986 * tests/check/Makefile.am:
5987 disable test again, as there seem to be still race problems
5989 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5991 * tests/check/Makefile.am:
5992 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5993 (GST_START_TEST), (queue_suite):
5994 enable queue test again, add tests for the leaky behaviour
5996 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5999 * tests/examples/Makefile.am:
6000 Compile adapter test/example only if the required headers are
6001 available (fixes #391915).
6003 2007-01-01 David Schleef <ds@schleef.org>
6006 Restore the previous signal handler for SIGSEGV instead of
6007 setting to default, since we may have stolen it away from
6008 someone. (i.e., Mono)
6010 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6012 * docs/random/draft-missing-plugins.txt:
6013 Some small additions and clarifications.
6015 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
6017 * gst/gstregistryxml.c: (gst_registry_save_escaped):
6018 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6019 since that can lead to random memory corruptions and crashes
6020 (may or may not be related to #383244, #386711, and #386711).
6022 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6024 * tests/check/.cvsignore:
6025 * tests/check/Makefile.am:
6026 sync .cvsignome and CLEANFILES
6028 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6030 * tests/check/Makefile.am:
6033 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6035 * docs/design/part-states.txt:
6036 two tiny additional comments
6038 * gst/gststructure.c:
6041 * tests/check/Makefile.am:
6042 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6044 disable test for now, unless it gets fixed
6046 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6048 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6050 fix race in underrun test
6052 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6054 * tests/check/elements/.cvsignore:
6057 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6059 try to narrow test failure
6061 2006-12-21 David Schleef <ds@schleef.org>
6063 * plugins/elements/gstfakesrc.c:
6064 Use g_random_int_range(), since it produces better random
6065 numbers in a range than almost-correct floating point code.
6067 2006-12-21 Stefan Kost <ensonic@users.sf.net>
6069 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6070 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6071 (gst_check_teardown_sink_pad):
6072 do not automatically (de)activate pads
6074 * tests/check/Makefile.am:
6075 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6076 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6077 add new, yet simple tests for queue
6079 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6080 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6081 * tests/check/elements/filesrc.c: (cleanup_filesrc),
6083 * tests/check/elements/identity.c: (cleanup_identity):
6084 consistent pad (de)activation
6086 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
6088 Patch by: Sebastian Dröge <slomo ubuntu com>
6090 * libs/gst/base/gstcollectpads.c:
6091 Fix two doc typos (#387866).
6093 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6095 * docs/manual/advanced-dparams.xml:
6096 Fix typo (g_object_control_properties() doesn't exist).
6098 2006-12-19 Edward Hervey <edward@fluendo.com>
6100 * gst/gstsegment.c: (gst_segment_set_seek):
6101 Fine tune the cases where the segment start/stop values are really
6103 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6104 Add tests for the return values of gst_segment_set_seek().
6106 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
6111 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6113 Fix incorrect documentation and flesh it out a bit more.
6114 Set default values for the max properties on the GParamSpec as well,
6115 so it shows up correctly in gst-inspect.
6117 2006-12-18 Stefan Kost <ensonic@users.sf.net>
6119 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6120 Correct docs of queue, add more detail and crosslink it more.
6122 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6124 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6125 Print additional debug info when the stream isn't perfectly
6126 timestamped; don't try to use invalid durations.
6128 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
6130 * docs/design/Makefile.am:
6131 Dist new design docs.
6133 2006-12-16 Wim Taymans <wim@fluendo.com>
6135 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6137 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6138 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6139 (gst_collect_pads_stop), (gst_collect_pads_event),
6140 (gst_collect_pads_chain):
6141 * libs/gst/base/gstcollectpads.h:
6142 Add refcounting to the collectpads data so we can track when it's safe
6143 to free the data. Fixes #383382.
6145 2006-12-15 Wim Taymans <wim@fluendo.com>
6147 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6148 (gst_collect_pads_remove_pad):
6149 Automatically activate/deactivate pads when they are added to a
6150 started/stoped collectpads.
6152 2006-12-15 Wim Taymans <wim@fluendo.com>
6154 * gst/gstelement.c: (gst_element_add_pad):
6155 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6156 * gst/gstpad.c: (gst_pad_init):
6157 Set pads to FLUSHING when they are created. Check, warn and fix when a
6158 demuxer adds an inactive pad to itself when running. Fixes #339326.
6160 2006-12-15 Wim Taymans <wim@fluendo.com>
6162 * gst/gstelement.c: (gst_element_class_init),
6163 (gst_element_default_send_event), (gst_element_send_event),
6164 (gst_element_default_query), (gst_element_query):
6165 Expose default element send_event and query handling as vmethods that
6166 subclasses can chain up to.
6168 2006-12-15 Wim Taymans <wim@fluendo.com>
6170 * gst/gstelement.c: (gst_element_set_state_func):
6171 Small documentation fixes.
6173 2006-12-15 Wim Taymans <wim@fluendo.com>
6175 * docs/design/draft-latency.txt:
6176 Checked in draft for handling latency in pipelines.
6178 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
6182 * gstreamer.spec.in:
6185 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
6187 * gst/gst.c: (init_pre), (init_post):
6188 init_pre() and init_post() might be called via our GOptionGroup or
6189 from gst_init(), and we should skip both of them if we've already
6190 been initialised, otherwise we will init some things twice or add
6191 two default log functions.
6193 2006-12-13 Edward Hervey <edward@fluendo.com>
6195 * docs/manual/basics-bus.xml:
6196 No, gst_main_loop does not exist. Its g_main_loop.
6197 Discovered by somebody who abused the copy-paste technique of coding :)
6199 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
6201 * gst/gstghostpad.c:
6202 Log ghostpad debug stuff to the GST_PADS category as well rather
6203 than just to the default category.
6205 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
6208 * gst/gst.c: (init_pre):
6209 Add some basic system details such as OS and architecture
6210 to the debug output if possible, courtesy of uname().
6212 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
6214 * docs/gst/running.xml:
6215 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6216 environment variables.
6218 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
6220 * tests/check/gst/gstbin.c: (GST_START_TEST):
6221 It is acceptable to have a refcount of 2 or 3 at this point in the
6222 test, because the pipeline might be just posting its state_change
6223 message. The next line then waits for that message to appear using
6224 bus_poll, so that should be fine too.
6226 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
6228 * gst/gst.c: (ensure_current_registry_forking):
6229 Ignore EINTR when reading from the child registry pipe.
6230 Explicitly ignore the return value from close, since it makes no
6233 * gst/gstminiobject.c: (gst_mini_object_ref),
6234 (gst_mini_object_unref):
6235 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6237 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6238 When removing cached plugins, remove their features too, so they're
6239 not visible after they've disappeared.
6241 * gst/gstutils.c: (prepare_link_maybe_ghosting):
6242 In the unlikely case that we are linking pads with no parents, don't
6243 crash trying to get the non-existent parent bin.
6245 * gst/parse/grammar.y:
6246 Output debug in the PIPELINE category
6248 2005-03-08 Wim Taymans <wim@fluendo.com>
6250 Patch by: René Stadler <mail at renestadler dot de>
6252 * gst/gstclock.c: (gst_clock_new_periodic_id):
6253 Reject invalid clock times for interval of periodic ids.
6256 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6258 * gst/gstelementfactory.c: (gst_element_factory_create):
6259 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6260 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6261 * tools/gst-inspect.c: (print_element_info):
6262 Fix refcounting of gst_plugin_feature_load to match the docs.
6265 2006-12-07 Wim Taymans <wim@fluendo.com>
6267 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6268 (gst_base_sink_get_position):
6269 Improve debugging of events.
6271 2006-12-07 Wim Taymans <wim@fluendo.com>
6273 Patch by: René Stadler <mail at renestadler dot de>
6275 * gst/gstclock.c: (gst_clock_id_wait):
6276 Make period ids add the interval to the origial requested time instead
6277 of the possibly updated time which can be wrong when there are multiple
6278 waiters for the same id. Fixes #382592.
6280 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6281 (gst_system_clock_id_wait_jitter_unlocked),
6282 (gst_system_clock_id_wait_jitter):
6283 Fix restart in the async notify thread when an async entry is added to
6284 the front of the list. Fixes #381492.
6286 * tests/check/gst/gstsystemclock.c: (store_callback),
6287 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6288 Added test for multiple async waits.
6289 Added test for async wait order.
6291 2006-12-07 Wim Taymans <wim@fluendo.com>
6293 * gst/gstbin.c: (gst_bin_query):
6294 Add some more docs about the POSITION query.
6296 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6299 Bump version nano - back to CVS.
6301 === release 0.10.11 ===
6303 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
6306 releasing 0.10.11, "Love never runs on time"
6308 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
6310 * win32/common/libgstbase.def:
6311 * win32/common/libgstreamer.def:
6312 * win32/vs8/libgstbase.vcproj:
6313 * win32/vs8/libgstcoreelements.vcproj:
6314 * win32/vs8/libgstreamer.vcproj:
6315 Fix compilation on win32 under VS8
6316 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6317 Partially fixes #381175
6319 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6321 * gst/gstvalue.c: (gst_value_compare_fraction):
6322 If someone is foolish enough to compare 2 fractions with denominator =
6323 0, return UNORDERED rather than aborting.
6325 2006-11-28 Edward Hervey <edward@fluendo.com>
6327 * libs/gst/base/Makefile.am:
6328 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6329 (gst_data_queue_base_init), (gst_data_queue_class_init),
6330 (gst_data_queue_init), (gst_data_queue_new),
6331 (gst_data_queue_cleanup), (gst_data_queue_finalize),
6332 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6333 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6334 (gst_data_queue_is_empty), (gst_data_queue_is_full),
6335 (gst_data_queue_set_flushing), (gst_data_queue_push),
6336 (gst_data_queue_pop), (gst_data_queue_drop_head),
6337 (gst_data_queue_set_property), (gst_data_queue_get_property):
6338 * libs/gst/base/gstdataqueue.h:
6339 New GstDataQueue object for threadsafe queueing. Most useful for
6340 elements that need some queueing functionnality.
6341 * docs/libs/gstreamer-libs-docs.sgml:
6342 * docs/libs/gstreamer-libs-sections.txt:
6343 Insert documentation for GstDataQueue
6344 * plugins/elements/Makefile.am:
6345 * plugins/elements/gstelements.c:
6346 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6347 (gst_multi_queue_class_init), (gst_multi_queue_init),
6348 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6349 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6350 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6351 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6352 (gst_multi_queue_loop), (gst_multi_queue_chain),
6353 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6354 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6355 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6356 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6357 (wake_up_next_non_linked), (compute_next_non_linked),
6358 (single_queue_overrun_cb), (single_queue_underrun_cb),
6359 (single_queue_check_full), (gst_single_queue_new):
6360 * plugins/elements/gstmultiqueue.h:
6361 New multiqueue element, using GstDataQueue. Used for queuing multiple
6363 Closes #344639 and #347785
6365 2006-11-22 Stefan Kost <ensonic@users.sf.net>
6367 * docs/pwg/advanced-types.xml:
6368 add more missing type details
6370 * tools/gst-run.c: (main):
6371 remove unused variable
6373 2006-11-21 Stefan Kost <ensonic@users.sf.net>
6375 * docs/libs/Makefile.am:
6376 * docs/libs/gstreamer-libs.types:
6377 add types of base classes to enable gobject specific stuff in the docs
6379 * docs/random/ensonic/embedded.txt:
6380 more ideas about isolating platform specific things
6382 2006-11-20 Wim Taymans <wim@fluendo.com>
6384 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6386 * libs/gst/check/gstcheck.h:
6387 Fix compilation and running against 0.9.4. Fixes #377332.
6389 2006-11-20 Wim Taymans <wim@fluendo.com>
6391 * gst/gstsegment.c: (gst_segment_set_seek),
6392 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6393 (gst_segment_to_running_time):
6394 Fix boundary checking in to_running_time() and to_stream_time().
6397 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6398 stream and running time can now be calculated for the complete
6401 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
6403 * gst/gstpad.c: (gst_pad_push_event):
6404 Can't access event structure after giving away ownership of
6407 2006-11-15 Stefan Kost <ensonic@users.sf.net>
6409 * docs/random/ensonic/embedded.txt:
6410 * docs/random/ensonic/profiling.txt:
6411 * docs/random/ensonic/receipies.txt:
6414 2006-11-13 Wim Taymans <wim@fluendo.com>
6416 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6419 Fix documentation for gst_pad_dispatcher. Fixes #374475.
6421 2006-11-13 Wim Taymans <wim@fluendo.com>
6423 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6425 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6426 Store new length in segment duration so we don't keep on calling the
6427 potentially expensize get_size() call. Fixes #370865.
6429 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
6431 Patch by: Sergey Scobich <sergey.scobich at gmail com>
6433 * win32/common/libgstreamer.def:
6434 Add two missing symbols (#366492).
6436 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
6438 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6439 (gst_adapter_take_buffer):
6440 Fix format string to use all its arguments.
6441 Remove useless >= check on a guint
6443 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6445 * tests/examples/adapter/.cvsignore:
6446 Ignore build file as commanded by the build-bot
6448 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6450 * tests/examples/adapter/Makefile.am:
6451 * tests/examples/adapter/adapter_test.c: (run_test_take),
6452 (run_test_take_buffer), (run_tests), (main):
6454 Add new files from the previous commit
6456 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6460 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6461 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6462 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6463 * libs/gst/base/gstadapter.h:
6464 * tests/check/libs/adapter.c: (create_and_fill_adapter),
6465 (GST_START_TEST), (gst_adapter_suite):
6466 * tests/examples/Makefile.am:
6467 Do some optimisation work in GstAdapter to avoid copies in more cases.
6468 It could still do slightly better by merging buffers when
6469 gst_buffer_is_span_fast is true, but is already faster.
6471 Also, avoid traversing a single-linked list to append each incoming
6472 buffer inside the adapter.
6474 Add simple test app that times the adapter behaviour in different
6475 situations, and extend the unit test to check that bytes enter and
6476 exit the adapter in their original order.
6478 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
6480 * docs/random/draft-missing-plugins.txt:
6481 Update: use element message instead of adding a new message
6482 type to the core; don't provide GStreamer API to initiate the
6483 plugin download, just provide API to compose the strings needed
6484 and let an external libgimmestuff handle the rest.
6486 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
6488 * tools/gst-inspect.c: (print_element_properties_info):
6489 Print a string instead of 'unknown type' for GValueArray properties
6491 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
6493 * docs/random/draft-missing-plugins.txt:
6496 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6498 * tests/examples/typefind/typefind.c: (type_found), (main):
6499 Make typefind element example work again (#371894); add a
6502 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6504 * docs/random/draft-missing-plugins.txt:
6505 Commit initial draft about how to deal with missing plugins,
6506 needs work (API too).
6508 2006-11-07 Stefan Kost <ensonic@users.sf.net>
6510 * docs/pwg/advanced-types.xml:
6511 documents the new caps elements (see #363118)
6513 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6515 * gst/gstplugin.c: (gst_plugin_load_file):
6516 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6517 (gst_file_src_map_region), (gst_file_src_start):
6518 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6519 (gst_file_index_commit):
6520 Use g_strerror() instead of strerror() - we want UTF-8.
6522 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6524 Patch by: Peter Kjellerstedt <pkj at axis com>
6526 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6527 Another printf fix (#371493).
6529 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6531 * tests/check/gst/gsttag.c:
6532 relicence (okay with author=company)
6534 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6536 * gst/gstpad.c: (gst_pad_event_default_dispatch),
6537 (gst_pad_push_event):
6538 Enhance debug and improve docs
6543 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6545 * docs/random/ensonic/distributed.txt:
6546 * docs/random/ensonic/profiling.txt:
6549 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6551 * docs/gst/gstreamer-sections.txt:
6552 add new API and fix the build
6554 * gst/gstbin.c: (gst_bin_recalc_state):
6555 * gst/gstelement.c: (gst_element_message_full),
6556 (gst_element_get_state_func), (gst_element_set_state_func):
6557 use new API and improve logging
6559 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6561 API: add function to get StateChangereturn names to improve logs
6563 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
6565 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6566 I'm considering shooting the next person to put strerror stuff
6567 in the translateable part of the message.
6569 2006-11-03 Wim Taymans <wim@fluendo.com>
6571 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6572 Get the type and printf conversion specifiers right.
6574 2006-11-03 Wim Taymans <wim@fluendo.com>
6576 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6578 * gst/gstpad.c: (gst_pad_init), (pre_activate),
6579 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6580 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6581 Some small cleanups. Improve debugging.
6583 Signal all waiting threads with a broadcast instead of just one.
6586 2006-11-03 Wim Taymans <wim@fluendo.com>
6588 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6589 (gst_fd_src_create):
6591 Only update fd when it's different from the old.
6593 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6595 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6596 Printf fixes for PPC/OSX, take two (#369366).
6598 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6600 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
6602 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6603 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6604 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6605 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6606 don't cast to long long for portability reasons, but use
6607 GLib's types instead.
6609 2006-10-30 Michael Smith <msmith@fluendo.com>
6611 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6612 Get the arguments to lseek() the right way around.
6615 2006-10-30 Wim Taymans <wim@fluendo.com>
6617 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6620 _declspec should be __declspec (two underscores, not one). Fixes 366572.
6622 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6624 Patch by: Kjartan Maraas <kmaraas at gnome org>
6626 * docs/design/part-MT-refcounting.txt:
6627 * docs/random/wtay/capsnego2-docs:
6630 Typo fixes (#366212).
6632 2006-10-28 Wim Taymans <wim@fluendo.com>
6634 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6637 * win32/common/libgstbase.def:
6638 * win32/common/libgstreamer.def:
6639 * win32/vs8/libgstbase.vcproj:
6640 * win32/vs8/libgstcontroller.vcproj:
6641 Add needed entries in .def files.
6643 Rearrange def files in vs8 solutions. Fixes #366286.
6645 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6647 * win32/common/gstconfig.h:
6648 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6649 hand-made win32 gstconfig.h. Fixes #366321.
6651 2006-10-27 Wim Taymans <wim@fluendo.com>
6653 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6654 (gst_ghost_pad_new_full):
6655 Make acceptcaps return TRUE when we don't have a target, just like
6658 2006-10-27 Wim Taymans <wim@fluendo.com>
6660 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6661 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6663 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6665 * gst/gststructure.c: (gst_structure_id_set_value):
6666 If someone tries to set a non-UTF8 string field on a structure,
6667 don't just print a warning, but also ignore the request and do
6668 not change/add that field to the structure.
6670 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6673 2006-10-25 David Schleef <ds@schleef.org>
6676 g_hash_table_insert() needs a cast to a non-const pointer duh.
6678 2006-10-25 David Schleef <ds@schleef.org>
6682 Change name parameter of _gst_debug_register_funcptr to const
6683 to reflect the constness of its use in the function as well
6684 as to quiet a gcc warning.
6686 2006-10-25 Edward Hervey <edward@fluendo.com>
6688 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6689 Don't push the buffer if it's empty.
6692 2006-10-24 Wim Taymans <wim@fluendo.com>
6697 * libs/gst/base/gstbasetransform.c:
6698 (gst_base_transform_sink_eventfunc):
6699 Debug segment values *after* updating them as this is more
6702 2006-10-23 Wim Taymans <wim@fluendo.com>
6704 * docs/design/part-events.txt:
6707 * docs/design/part-block.txt:
6708 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6709 (gst_pad_push_event):
6710 Revert BLOCKING patch, it tries to be smart without really having a
6711 clear idea what or how. So, now we discard all FLUSHING events again on
6712 a blocking pad. Should fix gnonlin again.
6714 2006-10-23 Wim Taymans <wim@fluendo.com>
6716 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6718 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6719 (gst_base_src_start), (gst_base_src_activate_push):
6720 Make sure size is always initialized. Fixes #364388.
6722 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6724 * docs/random/ensonic/distributed.txt:
6725 add some ideas about doing distributed processing
6727 * docs/random/ensonic/profiling.txt:
6728 get_rusage look promising
6730 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6732 * docs/manual/basics-helloworld.xml:
6733 Add a cast in example to fix compile warning
6735 2006-10-18 Wim Taymans <wim@fluendo.com>
6737 * gst/gstsegment.c: (gst_segment_set_last_stop),
6738 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6739 Relax arg checking again, -1 is allowed.
6741 2006-10-18 Wim Taymans <wim@fluendo.com>
6743 * gst/gstsegment.c: (gst_segment_set_last_stop),
6744 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6745 _set_last_stop() must be with a value != -1
6746 A _TYPE_SET to -1 means seek to 0.
6747 Calc last_stop correctly for negative rates.
6748 Make sure we work with positive durations when updating a segment.
6750 2006-10-18 Wim Taymans <wim@fluendo.com>
6752 * docs/design/part-live-source.txt:
6756 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6759 Add an explicit cast to GstBuffer** to keep old code that added an
6760 explicit cast to GstMiniObject** for gst_mini_object_replace()
6761 compiling without warning.
6763 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6765 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6766 check for validity of dates
6768 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6770 * docs/gst/gstreamer-sections.txt:
6771 Forgot this one, makes gtk-doc shut up.
6773 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6775 Patch by: Peter Kjellerstedt <pkj at axis com>
6778 Don't define xmlNodePtr to gpointer if the core was built with
6779 --disable-loadsave and --disable-registry, this will break
6780 applications that want to use libxml2 but are buildling against a
6781 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6782 instead so we don't have to mess with the libxml2 namespace
6785 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6788 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6789 type-punned pointer warnings.
6791 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6794 Add casts to the correct return type to state <=> state transition
6797 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6799 * docs/design/part-live-source.txt:
6800 describe howto handle latency
6802 * docs/random/ensonic/profiling.txt:
6805 * tools/gst-plot-timeline.py:
6806 fix log parsing for solaris, remove unused function
6808 2006-10-16 Wim Taymans <wim@fluendo.com>
6810 * docs/design/part-trickmodes.txt:
6812 Update some docs regarding reverse playback.
6814 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6816 Patch by: Marcus Granado <mrc dot gran at gmail com>
6818 * win32/vs8/grammar.vcproj:
6819 Error out with a warning if glib-genmarshal.exe is not in path,
6820 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6822 2006-10-13 Wim Taymans <wim@fluendo.com>
6824 * gst/gstsegment.c: (gst_segment_set_seek):
6825 When seeking to stop -1, set last_stop (current position) to the
6826 duration of the segment.
6828 2006-10-13 Wim Taymans <wim@fluendo.com>
6831 Clarify _NO_PREROLL a bit more.
6836 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6837 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6838 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6839 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6840 due to wrong locking order. Fixes #361769.
6841 Remove some redundant/misplaced checks in pad_block.
6843 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6844 For negative rates, count backwards from the duration.
6846 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6848 * gst/gsterror.c: (_gst_library_errors_init):
6849 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6850 up with something better).
6852 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6854 * win32/vs6/libgstreamer.dsp:
6855 * win32/vs7/libgstreamer.vcproj:
6856 * win32/vs8/libgstreamer.vcproj:
6857 Don't reference glib-compat.c which is currently not used and not
6858 disted; add gstquark.c which was recently added. Fixes #361730.
6860 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6862 * win32/common/libgstbase.def:
6863 * win32/common/libgstcontroller.def:
6864 * win32/common/libgstreamer.def:
6865 Add gst_caps_merge() and a bunch of other recently-added functions.
6868 2006-10-11 Wim Taymans <wim@fluendo.com>
6870 * docs/plugins/gstreamer-plugins.args:
6871 * docs/plugins/inspect/plugin-coreelements.xml:
6872 * docs/plugins/inspect/plugin-coreindexers.xml:
6873 Update element args.
6875 * gst/gstsystemclock.c:
6876 Small comment update.
6878 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6879 (gst_tee_request_new_pad), (gst_tee_release_pad),
6880 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6881 (gst_tee_sink_activate_pull):
6882 * plugins/elements/gsttee.h:
6884 Add default property defines.
6885 Implement release pad function.
6886 Give properties better blubs etc.
6887 Activate pads before adding them to a running tee.
6888 Do simple buffer_alloc on the first requested pad.
6889 Post error when activation fails.
6891 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6893 * gst/gst.c: (ensure_current_registry_forking):
6894 Check return value of write() to make compiler happy.
6896 2006-10-11 Wim Taymans <wim@fluendo.com>
6898 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6900 * plugins/elements/gstqueue.c: (gst_queue_chain):
6901 Recheck queue filledness after signalling the overrun when we're about
6902 to leak downstream because we released the lock when emitting the signal
6903 and the queue could be empty again. Fixes #352345.
6905 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6907 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6908 Fix refcounting here too, just like we did for _new_valist() a few
6909 days ago (#357180) (thanks to René Stadler). Also remove all those
6910 'Since: 0.9' from the gtk-doc blobs.
6912 * tests/check/libs/controller.c: (controller_refcount_new_list),
6913 (gst_controller_suite):
6914 Unit test for the above.
6916 2006-10-10 Wim Taymans <wim@fluendo.com>
6918 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6920 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6921 (gst_pad_save_thyself):
6923 Write pad direction in XML output. Fixes #345496.
6925 2006-10-10 Wim Taymans <wim@fluendo.com>
6927 Patch by: René Stadler <mail at renestadler dot de>
6929 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6930 (gst_controller_new_list), (_gst_controller_dispose),
6931 (_gst_controller_finalize), (_gst_controller_class_init):
6932 Take ref to controlled object so that it cannot disappear.
6935 2006-10-10 Wim Taymans <wim@fluendo.com>
6937 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6938 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6939 (gst_check_teardown_sink_pad):
6940 Activate/deactivate pads in setup/teardown respectively.
6942 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6944 Patch by: Josep Torre Valles <josep@fluendo.com>
6947 Cast values when making gstenumtypes.h. This pacifies Forte
6948 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6951 2006-10-09 Wim Taymans <wim@fluendo.com>
6953 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6954 Rename some more @cur to @start to fix docs.
6956 * gst/gstsegment.c: (gst_segment_set_seek):
6958 time and start must always stay in sync as defined in design doc.
6960 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6961 Rename param to fix docs.
6963 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6964 Check that start and time are in sync.
6966 * tests/check/pipelines/parse-launch.c:
6967 (gst_parse_test_element_change_state):
6968 Activate pad before adding to the element.
6970 2006-10-09 Wim Taymans <wim@fluendo.com>
6972 * docs/design/part-qos.txt:
6977 Update seek event docs regarding negative rates.
6978 Rename @cur to @start.
6980 * gst/gstsegment.c: (gst_segment_set_seek):
6982 Update set_seek docs regarding negative rates.
6983 Correctly update last_stop to @stop when dealing with negative
6985 Rename @cur to @start.
6987 * tests/check/gst/gstpad.c: (GST_START_TEST):
6988 Activate pads before trying to use them.
6990 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6991 (gst_segment_suite):
6992 Add simple check for segments and negative rates.
6994 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6996 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6998 * docs/gst/gstreamer-sections.txt:
6999 API: add gst_tag_list_is_empty() (#360467).
7001 * tests/check/gst/gsttag.c: (GST_START_TEST):
7004 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7007 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7008 a value that doesn't fit on enumeration.
7010 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7012 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7013 Remove local debugging system and use Gstreamer's instead.
7015 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7017 Patch by: Josep Torre Valles <josep@fluendo.com>
7019 * common/m4/gst-error.m4:
7020 Disable warning of statement not reached on Forte.
7022 Fix warning on Forte (value doesn't fit on enumeration).
7023 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7024 Fix warning on Forte (value doesn't fit on enumeration).
7025 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7026 DEBUG macro says it takes minimum of 2 args and so Forte
7027 complains about the use with just 1 arg.
7028 * plugins/elements/gstfdsink.c:
7029 * plugins/elements/gstfdsrc.c:
7030 * plugins/elements/gstfilesink.c:
7031 * plugins/elements/gstfilesrc.c:
7032 Use correct return type for the uri handler implementations.
7034 All these fix warnings in Forte. Fixes bug #360860.
7036 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
7039 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7040 format string, so don't use G_GNUC_PRINTF for those versions.
7042 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7044 * gst/gsttaglist.c: (gst_is_tag_list):
7046 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7048 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7049 Small test for the above.
7051 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
7054 Less tabs, more spaces.
7056 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
7059 Those two function declarations do actually belong there, revert
7060 commit from yesterday that turned them intro macros.
7062 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7064 Patch by: Josep Torre Valles <josep@fluendo.com>
7066 * gst/gst.c: (gst_init_get_option_group):
7067 Fix empty declaration and type mismatch.
7068 * gst/gstbin.c: (gst_bin_change_state_func):
7070 * gst/gstelement.c: (gst_element_continue_state),
7071 (gst_element_set_state_func), (gst_element_change_state),
7072 (gst_element_change_state_func):
7073 Fix type mismatches.
7074 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7075 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7076 Cast as appropriate.
7077 * gst/gstobject.c: (gst_class_signal_connect):
7078 Cast as appropriate. The function pointer parameter really
7079 has the wrong type but would break API if we change it.
7081 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7082 order of including string.h.
7083 * gst/gstutils.c: (gst_element_state_get_name):
7084 Remove unreachable line.
7085 * gst/gstxml.c: (gst_xml_parse_doc):
7087 All these caught by Forte.
7089 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7091 Patch by: Josep Torre Valles <josep@fluendo.com>
7093 * common/m4/gst-error.m4:
7095 We need to disable warnings on Forte for empty declarations
7096 due to gst-indent adding ;s to lines that just use macros
7097 where the macro actually doesn't need a ; at end to end
7100 2006-10-06 Wim Taymans <wim@fluendo.com>
7102 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7103 (gst_file_sink_close_file), (gst_file_sink_event),
7104 (gst_file_sink_render):
7105 Add some FIXME for the NEWSEGMENT handling.
7107 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7109 * gst/parse/grammar.y:
7110 Remove static function gst_parse_element_lock as all it does
7111 is return. Looks like cruft from 0.8.
7113 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7115 Patch by: Josep Torre Valles <josep@fluendo.com>
7117 * common/m4/gst-error.m4:
7119 * libs/gst/net/Makefile.am:
7120 Fix a compilation issue with Forte on Solaris. inet_aton is in
7123 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7125 * gst/gstpad.c: (pre_activate):
7126 * gst/gstregistry.c: (gst_registry_scan_path_level):
7127 * gst/gstregistryxml.c: (load_plugin):
7128 * libs/gst/controller/gstcontroller.c:
7129 (gst_controlled_property_set_interpolation_mode):
7130 * libs/gst/dataprotocol/dataprotocol.c:
7131 (gst_dp_packet_from_event_1_0):
7132 * libs/gst/net/gstnetclientclock.c:
7133 (gst_net_client_clock_observe_times):
7134 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7137 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
7140 * docs/gst/gstreamer-sections.txt:
7141 * gst/gstconfig.h.in:
7144 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7145 whether we can use G_GNUC_PRINTF in other header files and at
7146 least check the printf format/arguments of debug messages and
7147 GST_ELEMENT_ERROR messages when the printf extension is not
7149 Replace more tabs with spaces in gstinfo.h and remove two spurious
7150 function declarations in GST_DISABLE_DEBUG part with macros.
7152 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
7154 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7155 More docs for the sync-message signal (mention that it is not
7156 emitted by default); log message structures of messages posted on
7159 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
7161 * gst/gst.c: (ensure_current_registry_forking):
7162 Use a pipe pair to receive status results from the forked child, and
7163 ignore the result from waitpid. Fixes #355499
7165 2006-10-02 Wim Taymans <wim@fluendo.com>
7167 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7168 (gst_ghost_pad_suite):
7171 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
7174 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7176 2006-10-02 Edward Hervey <edward@fluendo.com>
7178 * docs/design/part-block.txt:
7179 Further explain the use of flushing on blocked pads.
7180 * docs/gst/gstreamer-sections.txt:
7181 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7182 (gst_pad_push_event):
7184 Added new GstPadFlag : GST_PAD_BLOCKING.
7185 Adds the notion of pads really blocking, which enables to properly
7186 handle FLUSH_START/FLUSH_STOP events on blocked pads.
7188 API: gst_pad_is_blocking()
7189 API: GST_PAD_IS_BLOCKING() macro
7190 API: GST_PAD_BLOCKING GstPadFlag
7192 2006-10-02 Wim Taymans <wim@fluendo.com>
7194 Patch by: mrcgran <mrc.gran at gmail dot com>
7196 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7197 Filter the proxied caps against the padtemplate if we have one.
7199 * gst/gstquery.c: (gst_query_new_segment):
7200 Add include for gstinfo.h so that compilation with
7201 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7203 2006-10-02 Wim Taymans <wim@fluendo.com>
7205 Patch by: Alessandro Decina <alessandro at nnva org>
7207 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7208 (gst_file_sink_set_location), (gst_file_sink_open_file),
7209 (gst_file_sink_close_file), (gst_file_sink_event),
7210 (gst_file_sink_render):
7211 Set file to NULL when closing filesink so that we can set a new filename
7212 in READY. Fixes #358613.
7214 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
7216 Patch by: Alessandro Decina <alessandro at nnva org>
7218 * gst/gstevent.c: (_gst_event_copy):
7219 Fix gst_mini_object_make_writable() and gst_event_copy() for events
7220 with event structures by setting the parent refcount address of the
7221 copied structure to the address of the refcount member of the newly
7222 copied event rather than the address of the refcount member of the
7223 original event. Fixes #358737.
7225 * tests/check/gst/gstevent.c: (GST_START_TEST):
7226 Unit test for the above.
7228 2006-09-29 Stefan Kost <ensonic@users.sf.net>
7230 * docs/design/Makefile.am:
7231 Dist some more files.
7233 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
7235 * tests/check/libs/controller.c: (GST_START_TEST),
7236 (gst_controller_suite):
7237 Add test for the previous fix; add some more tests
7238 for correct refcounting behaviour; fix a few leaks
7239 in test cases; call gst_controller_init() at start
7242 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
7244 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7245 (gst_controller_set_from_list):
7246 Don't g_return_val_if_fail() on timed values with invalid timestamps
7247 inside a critical section without unlocking the mutex. Spotted by
7248 René Stadler. (#357617)
7249 Also, fix up refcounting properly: when returning an existing
7250 controller, we should increase the reference only once and not
7251 once per property and when trying to control a property again
7252 we should also increase the refcount.
7254 2006-09-29 Wim Taymans <wim@fluendo.com>
7256 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7257 * libs/gst/net/gstnettimeprovider.c:
7258 (gst_net_time_provider_thread):
7259 Stop reading commands when EOF as well.
7261 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7262 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7263 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7264 Unify description of the dump property.
7266 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7268 * tests/examples/manual/.cvsignore:
7269 OK, so it's actually cvsignore that needs changing. Stop laughing.
7271 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7273 * tests/examples/manual/Makefile.am:
7274 Gah, declare vars *before* using them
7276 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7278 * gst/gst.c: (init_pre), (scan_and_update_registry),
7279 (ensure_current_registry_nonforking),
7280 (ensure_current_registry_forking), (ensure_current_registry),
7281 (init_post), (gst_debug_help), (gst_deinit):
7282 * gst/gst_private.h:
7283 * gst/gstregistry.c: (gst_registry_finalize),
7284 (gst_registry_remove_features_for_plugin_unlocked),
7285 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7286 (gst_registry_scan_path),
7287 (_priv_gst_registry_remove_cache_plugins),
7288 (_priv_gst_registry_cleanup):
7289 * gst/gstregistry.h:
7290 Re-commit the registry changes, along with an extra fix:
7291 When a cached plugin is encountered at a different file path,
7292 update the stored path in the registry cache so that the parent
7293 process knows where it actually is now when it re-reads the registry
7294 cache. Fixes the thing that broke distcheck with the previous commit.
7296 * tests/check/Makefile.am:
7297 Clean up files named 'core' too when running make clean.
7299 * tests/examples/manual/Makefile.am:
7300 Set up a registry path for running these tests, and clean it properly
7303 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7306 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7307 want gmodule-no-export-2.0.pc instead so that we don't drag in
7308 --export-dynamic on every project that links to GStreamer.
7310 Also, make our export regex only match the start of symbols, rather
7311 than any symbol that contains '_gst' somewhere.
7313 * libs/gst/check/Makefile.am:
7314 The libgstcheck we build does however need export-dynamic, as it
7315 produces some symbols that don't match our _gst... style regex.
7318 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
7320 * gst/gst.c: (init_pre), (scan_and_update_registry),
7321 (ensure_current_registry_nonforking),
7322 (ensure_current_registry_forking), (ensure_current_registry),
7323 (init_post), (gst_debug_help), (gst_deinit):
7324 * gst/gst_private.h:
7325 * gst/gstregistry.c: (gst_registry_finalize),
7326 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7327 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7328 (_gst_registry_cleanup):
7329 * gst/gstregistry.h:
7330 Revert previous change until I figure out why it breaks distcheck.
7332 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
7334 * gst/gst.c: (init_pre), (scan_and_update_registry),
7335 (ensure_current_registry_nonforking),
7336 (ensure_current_registry_forking), (ensure_current_registry),
7337 (init_post), (gst_debug_help), (gst_deinit):
7339 Make init_pre and init_post take the full complement of GOptionFunc
7340 args so they can return useful GErrors. Make the registry updating
7343 Call _priv_gst_registry_remove_cache_plugins after scanning files to
7344 ensure that the registry we're about to write out doesn't contain
7345 stale information about old-deleted plugin files.
7347 Make _priv_gst_registry_remove_cache_plugins return a boolean so
7348 that deletion of plugin files is considered a registry change.
7350 * gst/gst_private.h:
7351 * gst/gstregistry.c: (gst_registry_finalize),
7352 (gst_registry_remove_features_for_plugin_unlocked),
7353 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7354 (gst_registry_scan_path),
7355 (_priv_gst_registry_remove_cache_plugins),
7356 (_priv_gst_registry_cleanup):
7357 * gst/gstregistry.h:
7358 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7359 by adding _priv prefix, so that they won't appear in the global
7360 symbol table. They still do atm though because of #318031. Move the
7361 prototypes to gst_private.h
7363 When removing a plugin, remove all features for that plugin too.
7366 2006-09-27 Wim Taymans <wim@fluendo.com>
7368 * docs/random/moving-plugins:
7369 Make it clear that the "compiled-in descriptions" really mean
7370 the element details.
7372 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7373 (gst_base_sink_wait_preroll):
7376 * docs/libs/gstreamer-libs-sections.txt:
7377 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7378 (gst_base_src_get_range), (gst_base_src_activate_push):
7379 * libs/gst/base/gstbasesrc.h:
7380 Added function to block while waiting for PLAYING, this function
7381 is used by live sources that block on the clock.
7382 API: gst_base_src_wait_playing()
7384 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
7386 Patch by: Peter Kjellerstedt <pkj at axis com>
7389 gst-element-check.m4 is generated and should therefore be
7390 copied from the build dir rather than the source dir (#357593).
7391 'make distcheck' hasn't noticed this because we were disting
7392 the file as well, so stop doing that.
7394 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
7396 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7397 Add some tests for gst_caps_intersect().
7399 * tools/gst-launch.c: (event_loop):
7400 Print all buffering percentages we get, even the 100% one.
7402 2006-09-26 Wim Taymans <wim@fluendo.com>
7404 * tools/gst-inspect.c: (print_element_properties_info),
7405 (print_signal_info):
7406 Fix printing of flags to match the look of enums.
7408 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
7410 * gst/gstelementfactory.c:
7411 Fix typo in docs blurb.
7413 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
7415 * gst/gsturi.c: (search_by_entry):
7416 Don't assert/crash here if a uri handler doesn't return any
7417 supported protocols. The list of protocols could be generated
7418 dynamically at runtime or at plugin registration, and an error
7419 in the underlying library shouldn't be fatal (#353301).
7421 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
7424 Fix warning if HAVE_PRINTF_EXTENSION is undefined
7425 (spotted by Peter Kjellerstedt).
7427 2006-09-23 Wim Taymans <wim@fluendo.com>
7429 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7431 * libs/gst/base/gstbasesrc.c:
7432 (gst_base_src_default_check_get_range), (gst_base_src_start),
7433 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7434 (gst_base_src_change_state):
7435 Match _start/_stop calls in the activate functions. Remove redundant
7436 _stop call from the state change function. Fixes #356910.
7437 Turn failure DEBUG into ERROR.
7439 2006-09-22 Wim Taymans <wim@fluendo.com>
7441 * docs/design/part-buffering.txt:
7442 * gst/gstmessage.c: (gst_message_new_buffering),
7443 (gst_message_parse_buffering):
7444 Update docs about buffering.
7446 * docs/design/part-trickmodes.txt:
7449 2006-09-22 Stefan Kost <ensonic@users.sf.net>
7451 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7452 (gst_controller_new_list):
7453 Ref instances when returning them again (fixes #357180)
7455 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
7457 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7458 Don't forget to release proxy lock when there's an error.
7460 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
7463 Add extra initialisers for Caps things, to fix some plugin warnings
7466 2006-09-18 Wim Taymans <wim@fluendo.com>
7468 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7469 Also set template on the internal pad so that a getcaps from the
7470 target pad returns the template caps.
7472 2006-09-18 Wim Taymans <wim@fluendo.com>
7474 * gst/gstelement.c: (gst_element_post_message),
7475 (gst_element_dispose):
7476 Use _DEBUG_OBJECT some more.
7478 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7481 * tools/gst-launch.c: (main):
7482 If the toplevel element is not a GstPipeline, it must be put in a
7483 pipeline so that a bus and clock is selected.
7485 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
7487 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7488 JITTER, RATE, and LATENCY query should be handled by the
7489 default case and not by the CONVERT query code.
7491 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
7493 * gst/gstformat.c: (gst_format_register):
7494 Fix locking order (must take lock before using n_values).
7496 * gst/gstvalue.c: (gst_value_serialize_enum),
7497 (gst_value_deserialize_enum_iter_cmp),
7498 (gst_value_deserialize_enum):
7499 Fix serialisation/deserialisation of custom registered GstFormats.
7501 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7502 Unit test for custom format serialisation/deserialisation.
7504 2006-09-17 Stefan Kost <ensonic@users.sf.net>
7506 * docs/pwg/building-boiler.xml:
7507 * plugins/elements/gstcapsfilter.c:
7508 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7511 2006-09-16 Edward Hervey <edward@fluendo.com>
7513 * libs/gst/base/gstbasetransform.c:
7514 (gst_base_transform_buffer_alloc):
7515 Check if requested caps are the same as the sinks caps IF
7516 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7518 This fixes the renegotiation issues stated in #352827.
7520 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7523 * docs/manual/advanced-autoplugging.xml:
7524 * tests/examples/Makefile.am:
7525 * tests/examples/manual/.cvsignore:
7526 * tests/examples/manual/Makefile.am:
7527 * tests/examples/manual/extract.pl:
7528 Extract the manual examples again like we used to do.
7531 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7533 * win32/common/config.h:
7536 2006-09-16 Stefan Kost <ensonic@users.sf.net>
7539 Documents how to receive errors.
7541 2006-09-15 Wim Taymans <wim@fluendo.com>
7543 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7544 (event_loop), (main):
7545 Added some comments here and there.
7546 Post an application message when an interrupt is caught instead of doing
7547 an uncontrolled state change.
7548 Clean up the event loop.
7549 Handle buffering messages, pause/resume the pipeline.
7550 Make shutdown because of an interrupt more reliable.
7552 2006-09-15 Wim Taymans <wim@fluendo.com>
7554 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7555 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7556 (gst_base_sink_preroll_object):
7557 Make sure that our internal state is correct when we commit our state
7558 asynchronously. This solves a race where a state change to PLAYING
7559 could cause the sink to remain blocked in preroll in some situations.
7561 2006-09-15 Wim Taymans <wim@fluendo.com>
7563 * tools/gst-inspect.c: (print_element_properties_info),
7564 (print_signal_info):
7565 List flags as hex so it's easier to deal with.
7567 2006-09-15 Wim Taymans <wim@fluendo.com>
7569 * docs/libs/gstreamer-libs-sections.txt:
7570 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7571 (gst_base_sink_do_sync):
7572 * libs/gst/base/gstbasesink.h:
7573 Expose logic to wait for preroll so that subclasses such as audiosink
7574 can also use this method.
7575 API: gst_base_sink_wait_preroll()
7577 2006-09-15 Wim Taymans <wim@fluendo.com>
7579 * gst/gstobject.c: (gst_object_set_parent):
7580 * gst/gstpipeline.c: (do_pipeline_seek):
7581 Small cleanups in docs and code.
7583 * gst/gstsegment.c: (gst_segment_clip):
7584 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7585 if stop == start and start is in the segment, no clipping should be
7586 done. Also add a test for this.
7588 2006-09-15 Wim Taymans <wim@fluendo.com>
7590 * docs/design/part-buffering.txt:
7591 * docs/gst/gstreamer-sections.txt:
7592 * gst/gstmessage.c: (gst_message_new_buffering),
7593 (gst_message_parse_buffering):
7595 Added methods to create and parse BUFFERING messages.
7596 Added preliminary docs about buffering.
7597 API: gst_message_new_buffering
7598 API: gst_message_parse_buffering
7600 2006-09-06 Wim Taymans <wim@fluendo.com>
7603 Update documentation.
7605 * gst/gstelement.c: (gst_element_class_init),
7606 (gst_element_release_request_pad), (gst_element_set_clock),
7607 (gst_element_get_index), (gst_element_add_pad),
7608 (gst_element_remove_pad), (gst_element_get_random_pad),
7609 (gst_element_send_event), (gst_element_get_query_types),
7610 (gst_element_query), (gst_element_post_message),
7611 (gst_element_message_full), (gst_element_continue_state),
7612 (gst_element_lost_state), (gst_element_save_thyself),
7613 (gst_element_restore_thyself):
7614 Documentation updates.
7615 Rename last bit of the new-pad -> pad-added signal rename.
7616 Fix the case where an element query would only work if the source
7618 Avoid some useless type checking in message handling.
7623 Documentation updates.
7625 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7627 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7628 add an INFO line for when we actually update the fd
7630 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7635 === release 0.10.10 ===
7637 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7640 releasing 0.10.10, "Pais"
7642 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7644 * docs/manual/advanced-position.xml:
7645 Fix typo in sample code.
7647 2006-09-05 Wim Taymans <wim@fluendo.com>
7649 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7650 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7651 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7652 * libs/gst/net/gstnetclientclock.h:
7653 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7654 * libs/gst/net/gstnettimepacket.h:
7655 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7656 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7657 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7658 * libs/gst/net/gstnettimeprovider.h:
7659 Make stuff compile on windows. Fixes #345295.
7661 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7663 * gst/gst.c: (ensure_current_registry_forking):
7664 Print better details when child was terminated by signal.
7666 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7668 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7669 Print a warning rather than g_assert() if a plugin feature
7670 is a URI handler but returns no protocols (#353976).
7672 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7674 * docs/random/moving-plugins:
7677 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7679 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7680 Fix locking order, handle NULL function values properly.
7685 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7686 Initialise variable before using it and fix debug statement to
7687 print the address of the function rather than the address of the
7688 variable on the stack holding the address of the function.
7690 2006-09-01 Wim Taymans <wim@fluendo.com>
7692 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7693 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7694 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7695 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7696 (gst_ghost_pad_parent_unset),
7697 (gst_ghost_pad_internal_do_activate_push),
7698 (gst_ghost_pad_internal_do_activate_pull),
7699 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7700 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7701 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7702 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7703 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7704 (gst_ghost_pad_new_no_target_from_template),
7705 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7707 Avoid needless typechecking in macros.
7708 Since the internal pad is always present and never changes, there is
7709 no need to locking or ref when retrieving it.
7710 Improve debugging a bit.
7711 Handle link errors when setting the target. Fixes #341029.
7713 2006-09-01 Wim Taymans <wim@fluendo.com>
7715 * docs/libs/gstreamer-libs-sections.txt:
7716 * docs/plugins/gstreamer-plugins-sections.txt:
7719 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7720 (gst_collect_pads_event):
7721 * libs/gst/base/gstcollectpads.h:
7722 Documentation updates.
7723 Free queued buffer when removing a pad.
7725 2006-08-31 Michael Smith <msmith@fluendo.com>
7727 * gst/gstutils.c: (gst_element_link_pads),
7728 (gst_element_link_pads_filtered):
7729 Ensure that we set a capsfilter to NULL if we failed to link it
7730 when doing filtered linking, to avoid criticals.
7732 No need to check for unreffing srcpad, which is explicly NULLed
7733 above (a trivial code cleanup).
7735 2006-08-31 Wim Taymans <wim@fluendo.com>
7737 * docs/design/part-gstghostpad.txt:
7738 Update ascii art in documentation.
7740 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7741 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7742 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7743 (gst_ghost_pad_internal_do_activate_push),
7744 (gst_ghost_pad_internal_do_activate_pull),
7745 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7746 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7747 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7748 (gst_ghost_pad_set_target):
7749 Small cleanups and leak fixes.
7750 Remove some checks now that the internal pad is never NULL.
7751 Fix the case where linking pads without a target would create nasty
7752 criticals. Fixes #341029.
7753 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7754 value of _set_target().
7756 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7757 (gst_ghost_pad_suite):
7758 Some more tests for creating and linking untargeted ghostpads.
7760 2006-08-31 Edward Hervey <edward@fluendo.com>
7762 * docs/gst/gstreamer-sections.txt:
7763 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7764 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7765 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7766 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7767 (gst_ghost_pad_new_from_template),
7768 (gst_ghost_pad_new_no_target_from_template):
7769 * gst/gstghostpad.h:
7770 Refactored *_new() functions.
7771 Templates are now used as a g_object_new() parameter.
7772 Use template in _do_getcaps() if we don't have a target.
7773 Small documentation cleanups.
7774 Added two new constructors:
7775 gst_ghost_pad_new_from_template()
7776 gst_ghost_pad_new_no_target_from_template()
7777 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7778 (gst_ghost_pad_suite):
7779 Added tests for new ghostpad instanciation functions.
7781 API additions: gst_ghost_pad_new_from_template,
7782 gst_ghost_pad_new_no_target_from_template
7784 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7786 * docs/random/ensonic/profiling.txt:
7787 Ideas about qos profiling.
7789 2006-08-29 Wim Taymans <wim@fluendo.com>
7791 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7795 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7798 Improve and detypofy docs.
7800 * tests/check/Makefile.am:
7801 * tests/check/gst/.cvsignore:
7802 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7803 Add a basic test suite for GstXML.
7805 2006-08-29 Wim Taymans <wim@fluendo.com>
7807 * gst/gstelement.c: (activate_pads), (clear_caps),
7808 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7809 Clear the pad caps when the element shut down all of the pads and
7810 is not streaming data that could modify the caps.
7813 2006-08-28 Michael Smith <msmith@fluendo.com>
7815 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7816 Revert previous change; I misunderstood single-segment mode.
7818 2006-08-28 Michael Smith <msmith@fluendo.com>
7820 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7821 Unset DISCONT on buffers when using single-segment mode.
7823 2006-08-28 Wim Taymans <wim@fluendo.com>
7825 * gst/gstcaps.c: (gst_caps_merge_structure):
7827 Fix docs and indentation again.
7829 * tests/check/gst/gstquery.c: (GST_START_TEST):
7830 Fix leak in tests and add some more tests.
7832 2006-08-28 Edward Hervey <edward@fluendo.com>
7834 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7835 Inform GstSegment of the last stop position in order for the current
7836 segment to have a proper duration if it doesn't have a specific stop
7837 position from which a duration could be calculated.
7838 This bug was noticeable when a non-flushing, non-update new segment was
7839 followed by another segment (all buffers from the new segment were being
7842 2006-08-28 Wim Taymans <wim@fluendo.com>
7844 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7845 Small comment update.
7847 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7848 (gst_identity_transform_ip):
7849 Drop-probability is broken, mention this in the code with a
7850 FIXME and also in the property description.
7851 Make silent also be silent about the drop messages.
7853 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7855 * docs/manual/appendix-win32.xml:
7856 Remove mention of popt, we don't depend on that any
7857 longer (#353136). Add some comments pointing out that
7858 this section is slightly outdated.
7860 2006-08-28 Wim Taymans <wim@fluendo.com>
7862 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7864 * gst/gstquery.c: (gst_query_new_segment):
7865 * tests/check/gst/gstquery.c: (GST_START_TEST):
7866 Initialize variables when creating a new segment query.
7869 2006-08-28 Wim Taymans <wim@fluendo.com>
7871 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7873 * gst/gstelement.c: (gst_element_get_bus):
7874 * tests/check/gst/gstelement.c: (GST_START_TEST):
7875 Check for NULL before _reffing the bus. Fixes #353122.
7877 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7879 * docs/manual/basics-bus.xml:
7880 Docs update: fix wrong callback return value explanation; add
7881 some lines about the implicit relationship between main loop
7882 and main context; remove duplicate main loop variable declaration.
7884 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7886 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7887 Don't leak caps in unit test; add a few more simple
7890 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7892 * docs/gst/gstreamer-sections.txt:
7893 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7894 (gst_caps_structure_is_subset), (gst_caps_merge),
7895 (gst_caps_merge_structure):
7897 * libs/gst/base/gstbasetransform.c:
7898 (gst_base_transform_transform_caps):
7899 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7900 implement caps merging (fixes #352580)
7902 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7904 * tools/Makefile.am:
7905 * tools/gst-plot-timeline.py:
7906 add debug-log plotting developer tool (#340674)
7908 2006-08-23 Wim Taymans <wim@fluendo.com>
7910 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7911 (gst_pad_stop_task):
7912 Improve debugging for task functions.
7914 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7915 (gst_task_start), (gst_task_pause), (gst_task_join):
7916 Make sure that the task function started and finished after a
7918 Don't try to push the task function on the threadpool multiple
7920 Improve the g_warning message with some useful suggestions
7921 about how to fix the problem.
7923 2006-08-23 Wim Taymans <wim@fluendo.com>
7925 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7926 Handle RESYNC correctly in _proxy_getcaps.
7928 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7930 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7931 (gst_xml_parse_memory), (gst_xml_get_element):
7932 Chain up to parent class in dispose function and also
7933 unref the elements in the toplevel_elements GList.
7934 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7935 Always return a reference in gst_xml_get_element() rather
7936 than only sometimes.
7938 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7939 Don't leak GstXml object.
7941 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7943 * docs/gst/gstreamer-sections.txt:
7944 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7947 * libs/gst/base/gstbasetransform.c:
7948 (gst_base_transform_transform_caps):
7949 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7952 2006-08-21 Edward Hervey <edward@fluendo.com>
7954 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7955 Implement GObject::dispose virtual method in GstXML so we can free the
7958 2006-08-21 Wim Taymans <wim@fluendo.com>
7960 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7961 (gst_buffer_create_sub):
7962 Copy duration/offset_end/caps when creating a subbuffer of the
7964 Make the subbuffer read-only when we make the metadata writable for
7967 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7968 Added check for metadata copy when creating subbuffers.
7970 2006-08-21 Edward Hervey <edward@fluendo.com>
7972 * libs/gst/base/gstbasetransform.c:
7973 (gst_base_transform_buffer_alloc):
7974 Only call downstream buffer_alloc if transform element is passthrough
7975 or always_in_place. Closes #350449.
7977 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7980 ChangeLog surgery to add comments to previous changes
7982 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7987 * gst/gstpad.c: (gst_pad_set_active):
7988 Be more verbose in the log
7990 * libs/gst/base/gstbasetransform.c:
7991 (gst_base_transform_transform_caps):
7992 Simplify caps to get rid of duplicates, fixes #345444
7994 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7998 Use these optimizations only internally.
8000 2006-08-20 Stefan Kost <ensonic@users.sf.net>
8002 * gst/gstvalue.c: (gst_value_compare_list),
8003 (gst_value_compare_fraction_range),
8004 (gst_value_intersect_fraction_fraction_range),
8005 (gst_value_intersect_fraction_range_fraction_range),
8006 (gst_value_subtract_fraction_fraction_range),
8007 (gst_value_subtract_fraction_range_fraction_range),
8008 (gst_value_get_compare_func), (gst_value_compare),
8009 (gst_value_compare_with_func):
8011 Saves the expensive lookup of the compare function in many cases
8014 2006-08-18 Edward Hervey <edward@fluendo.com>
8016 * tests/check/gst/gstinfo.c: (gst_info_suite):
8017 Disable test that require gstdebug if it wasn't built in core.
8019 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8021 * docs/random/ensonic/logging.txt:
8024 * gst/gstinfo.c: (gst_debug_log_default):
8025 reorder fields, save some columns, add optional color codes for log
8028 2006-08-18 Stefan Kost <ensonic@users.sf.net>
8030 * docs/random/ensonic/logging.txt:
8031 add ideas about making the logs a bit more useful
8033 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8035 * docs/pwg/advanced-events.xml:
8036 * docs/pwg/titlepage.xml:
8037 Update for 0.10 API (#340627). Add myself
8040 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
8042 * docs/libs/gstreamer-libs-docs.sgml:
8043 * docs/libs/gstreamer-libs-sections.txt:
8044 * libs/gst/check/gstbufferstraw.c:
8045 Make gstcheck stuff show up in docs (still needs to
8046 be documented properly though).
8048 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
8050 * docs/gst/gstreamer-sections.txt:
8052 * gst/gst.c: (init_post):
8053 * gst/gst_private.h:
8054 * gst/gstquark.c: (_priv_gst_quarks_initialize):
8056 * gst/gstquery.c: (gst_query_new_position),
8057 (gst_query_set_position), (gst_query_parse_position),
8058 (gst_query_new_duration), (gst_query_set_duration),
8059 (gst_query_parse_duration), (gst_query_new_convert),
8060 (gst_query_set_convert), (gst_query_parse_convert),
8061 (gst_query_new_segment), (gst_query_set_segment),
8062 (gst_query_parse_segment), (gst_query_new_seeking),
8063 (gst_query_set_seeking), (gst_query_parse_seeking):
8064 Add internal helpers for pre-registering quarks from static strings
8065 and using the quark values directly instead of looking them up when
8066 creating and parsing queries. Can be used for event construction too.
8069 2006-08-16 Wim Taymans <wim@fluendo.com>
8074 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8076 * gst/gstutils.c: (gst_util_set_value_from_string):
8077 Fix memleak (#351502).
8079 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8080 Add unit test for most of gst_util_set_value_from_string()
8081 (not that one would want to encourage use of this function).
8083 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8085 * libs/gst/check/gstcheck.h:
8086 Use const gchar * variables in fail_unless_equals_string
8087 macro to avoid compiler warnings (and don't use tabs for
8090 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8092 * tools/gst-launch.c: (print_tag):
8093 More space on the left for the tag names, to cater
8094 for the 'extended comment' tag (not touching the
8095 string for the first line since it's translated).
8097 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
8099 * libs/gst/check/gstcheck.h:
8100 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8101 print something when they fail.
8103 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8105 * docs/gst/gstreamer-sections.txt:
8106 * gst/gsttaglist.c: (_gst_tag_initialize):
8108 API: add GST_TAG_EXTENDED_COMMENT (#350935).
8109 Also change merge function for GST_TAG_COMMENT to
8112 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8114 * gst/gstinfo.c: (gst_debug_print_object):
8115 Make GST_PTR_FORMAT print messages as well.
8117 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8118 (GST_START_TEST), (gst_info_suite):
8121 2006-08-14 Edward Hervey <edward@fluendo.com>
8123 * gst/gstelementfactory.c: (gst_element_register):
8124 If the GstElementClass doesn't have a GstElementDetails with all fields
8125 filled up correctly (longname, description AND author), then error out
8126 nicely instead of crashing.
8128 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
8130 * gst/gststructure.c:
8131 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8134 Expand on the difference between arrays and lists as we use them.
8136 2006-08-14 Wim Taymans <wim@fluendo.com>
8138 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8139 If the parent state change function failed, don't assume we can safely
8140 stop the source, this will be done when the pads are deactivated.
8142 2006-08-14 Wim Taymans <wim@fluendo.com>
8145 * gst/gsttask.c: (gst_task_join):
8148 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8149 (gst_pad_stop_task):
8150 When pad (de)activation failed for some reason, restore the old
8151 activation mode and set the pad to flushing instead of assuming the
8153 If the _task_join() failed, reinstall the task on the pad so that it can
8154 be stopped later and return an error.
8156 2006-08-11 Andy Wingo <wingo@pobox.com>
8159 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8160 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8161 is only for users of API that don't want to see deprecated
8162 functions in the headers; people that want to compile out
8163 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8164 CFLAGS. Fixes the build of multifdsink, or will soon..
8166 2006-08-11 Wim Taymans <wim@fluendo.com>
8168 * docs/gst/gstreamer-sections.txt:
8169 Add GstClockClass vmethod docs.
8172 Mark #endif with comment for associated #if
8174 * gst/gstclock.c: (gst_clock_id_wait):
8176 Add vmethod wait_jitter to avoid an unneeded _get_time() for
8177 most clock implementations.
8179 Flesh out docs about resolution methods.
8180 API: GstClockClass::wait_jitter
8182 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8183 (gst_system_clock_async_thread),
8184 (gst_system_clock_id_wait_jitter_unlocked),
8185 (gst_system_clock_id_wait_jitter):
8186 Use base class wait_jitter variant for improved performance
8187 due to less clock polling.
8189 2006-08-11 Edward Hervey <edward@fluendo.com>
8191 * gst/gst.c: (gst_init_check), (init_post):
8192 Set gst as being initialized before scanning/updating the registry,
8193 since there might be my python plugin loader that calls gst_init() and
8194 we don't want to loop back in.
8197 2006-08-11 Wim Taymans <wim@fluendo.com>
8199 * docs/design/part-qos.txt:
8200 Bring docs in line with the code. Mostly the sign of the jitter was
8201 wrong in the docs. Fixes #349943.
8204 Fix the docs for the jitter.
8206 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8207 (gst_event_parse_tag), (gst_event_new_buffer_size),
8208 (gst_event_parse_buffer_size), (gst_event_parse_qos),
8209 (gst_event_new_seek), (gst_event_parse_seek),
8210 (gst_event_new_navigation):
8211 Make sure the GstStructure has no parent when creating custom
8213 Add some more argument checking so that we avoid 0.0 rates.
8214 Flesh out the docs for the QoS event some more.
8216 2006-08-11 Wim Taymans <wim@fluendo.com>
8218 * docs/gst/gstreamer-sections.txt:
8219 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8220 (ensure_current_registry_forking), (ensure_current_registry),
8221 (parse_one_option), (parse_goption_arg), (gst_deinit),
8222 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8225 Added API and command line option to disable registry forking in
8226 addition to the environment variable.
8227 Constify some static arrays.
8228 Added some more debug.
8230 API: gst_registry_fork_is_enabled()
8231 API: gst_registry_fork_set_enabled()
8232 API: --gst-disable-registry-fork command line option
8235 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
8237 * gst/gst.c: (gst_init):
8238 Fix typo in error message.
8240 2006-08-10 Stefan Kost <ensonic@users.sf.net>
8242 * libs/gst/controller/gstcontroller.h:
8243 fix ABI size-correction
8245 * tests/check/libs/gdp.c: (gst_dp_suite):
8246 make tests that use deprecated API conditional
8248 2006-08-10 Stefan Kost <ensonic@users.sf.net>
8250 * docs/libs/gstreamer-libs-sections.txt:
8251 * libs/gst/controller/gstcontroller.c:
8252 (_gst_controller_get_property), (_gst_controller_set_property),
8253 (_gst_controller_init), (_gst_controller_class_init):
8254 * libs/gst/controller/gstcontroller.h:
8255 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8256 (gst_object_set_control_rate):
8257 API: add gst_object_{s,g}et_control_rate(), add private data section,
8260 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8261 * libs/gst/dataprotocol/dataprotocol.h:
8262 add deprecation guards to make gtk-doc happy and allow disabling cruft
8264 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
8266 * tests/check/Makefile.am:
8267 * tests/check/gst/.cvsignore:
8268 Let's enable the new unit test as well.
8270 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
8273 * docs/gst/gstreamer-sections.txt:
8274 * gst/gstconfig.h.in:
8275 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8276 (_gst_info_printf_extension_ptr),
8277 (_gst_info_printf_extension_segment):
8278 API: add GST_SEGMENT_FORMAT, which is a printf extension we
8279 register that lets us easily dump GstSegments into debug
8282 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8283 (info_segment_format_printf_extension), (gst_info_suite):
8284 Add simple unit test that logs a bunch of different segments (not
8285 valgrinded at the moment because of leaks in
8286 gst_debug_add_log_function).
8288 2006-08-09 Edward Hervey <edward@fluendo.com>
8290 * libs/gst/base/gstbasetransform.c:
8291 (gst_base_transform_buffer_alloc):
8292 Even if we can't figure out the proper format to request downstream,
8293 call buffer_alloc() downstream with the input parameters without setting
8294 the caps on the srcpad. This will force negotiation in the chain
8298 2006-08-08 Edward Hervey <edward@fluendo.com>
8300 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8301 Unlinking from a pad without a target is now a perfectly valid case
8302 which should NOT raise an assertion.
8303 This case would happen if a linked ghostpad its target set to NULL after
8304 it was previously linked.
8306 2006-08-08 Edward Hervey <edward@fluendo.com>
8308 * tests/check/libs/gdp.c:
8309 Also comment out the test (see below).
8311 2006-08-08 Edward Hervey <edward@fluendo.com>
8313 * tests/check/libs/gdp.c: (gst_dp_suite):
8314 Use the architecture information from config.h and not gcc macros
8315 in order to properly disable a test that fails on PPC64.
8317 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
8319 * gst/gstelement.c: (gst_element_remove_pad):
8320 Don't crash printing the warning if the pad has no parent.
8322 2006-08-02 Wim Taymans <wim@fluendo.com>
8324 * libs/gst/dataprotocol/dataprotocol.c:
8325 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8326 (gst_dp_crc), (gst_dp_header_payload_length),
8327 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8328 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8329 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8330 (gst_dp_event_from_packet), (gst_dp_validate_header),
8331 (gst_dp_validate_payload):
8332 Make debug category static
8333 Constify the crc table.
8334 Do some more arg checking in public functions.
8335 Fix some docs and do some small cleanups.
8337 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8338 Add some more checks to see if GDP deals with bogus input.
8340 2006-07-31 Wim Taymans <wim@fluendo.com>
8342 * gst/gstvalue.c: (gst_value_compare_list):
8343 Fix GstValueList comparison code. Fixes #347293.
8345 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8346 Check to test GstValueList comparison.
8348 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
8350 * gst/gstelementfactory.c: (gst_element_factory_create):
8351 Remove unnecessary ref/unref pair
8353 * gst/parse/grammar.y:
8354 Make sure to free the parse buffer on all code paths.
8355 Move a g_free up to the error handler where it's easier to see.
8357 * tests/check/gst/gstevent.c: (test_event):
8358 Extending timeout for downstream travelling events to 10 seconds to
8359 hopefully avoid intermittent failure on the buildbots.
8361 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8362 Don't manually set the state of the src element - it will happen as a
8363 natural consequence of the pipeline changing state, and that way it
8364 will do it in the right order too.
8366 2006-07-31 Wim Taymans <wim@fluendo.com>
8368 * libs/gst/base/gstbasetransform.c:
8369 (gst_base_transform_buffer_alloc):
8370 Use OBJECT_LOCK and refcounting to get the pad caps in the
8371 buffer_alloc function because the caps could change while we are
8372 busy with them. Fixes #349105
8374 2006-07-31 Wim Taymans <wim@fluendo.com>
8376 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8377 Protect _PAD_CAPS with OBJECT_LOCK.
8379 2006-07-31 Wim Taymans <wim@fluendo.com>
8381 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8382 (gst_pad_get_property), (gst_pad_activate_pull),
8383 (gst_pad_activate_push), (gst_pad_set_blocked_async),
8384 (gst_pad_set_activate_function),
8385 (gst_pad_set_activatepull_function),
8386 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8387 (gst_pad_set_getrange_function),
8388 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8389 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8390 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8391 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8392 (gst_pad_set_acceptcaps_function),
8393 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8394 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8395 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8396 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8397 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8398 (gst_pad_configure_sink), (gst_pad_configure_src),
8399 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8400 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8401 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8402 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8403 (gst_pad_send_event):
8404 Use _DEBUG_OBJECT when it makes sense.
8405 Protect GST_PAD_CAPS with the OBJECT_LOCK.
8406 Small cleanups and code reflows.
8407 Avoid caps refcounting in _accept_caps.
8408 Refactor alloc_buffer so that the code performed on the peer is in a
8409 separate function. Also if the pad does not implement a buffer alloc
8410 function, we should still check if the pad is flushing before falling
8411 back to the default allocator.
8413 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
8415 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8416 Make all uses of identity and fakesink have silent=true to avoid
8417 serialising every passing data structure, which is breaking tests
8418 on FC4 for some unknown reason.
8420 2006-07-30 Stefan Kost <ensonic@users.sf.net>
8422 * gst/parse/Makefile.am:
8423 * gst/parse/grammar.y:
8424 * gst/parse/parse.l:
8425 Reverted previous patch as it required to bump the flex dependency to
8426 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8428 2006-07-30 Stefan Kost <ensonic@users.sf.net>
8430 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8432 * gst/parse/Makefile.am:
8433 * gst/parse/grammar.y:
8434 * gst/parse/parse.l:
8435 push & pop the state of the lexer for reentrant use case
8438 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
8440 * libs/gst/base/gstbasesrc.h:
8441 Note in the docs that the ::newsegment vfunc is not actually used by
8444 2006-07-28 Wim Taymans <wim@fluendo.com>
8446 * libs/gst/base/gstcollectpads.c:
8447 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8448 (gst_collect_pads_clear), (gst_collect_pads_flush),
8449 (gst_collect_pads_event), (gst_collect_pads_chain):
8450 When flushing a pad, also clear the queued buffer so that we don't
8451 accidentally use it when we shouldn't.
8452 Fix leaks by inreffing incomming buffer.
8453 Flush out queued buffers in case of errors.
8456 2006-07-28 Wim Taymans <wim@fluendo.com>
8458 * docs/random/phonon-gst:
8459 Random notes about a Phonon backend.
8461 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8463 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8465 * tests/check/libs/gdp.c: (gst_dp_suite):
8466 Take a whack at fixing the ppc compile using a different define to
8467 disable the broken test.
8469 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8470 Remove excess g_print()
8472 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8474 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8475 Oops, meant to uncomment this line too to dampen the noise a bit.
8477 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8479 * gst/parse/grammar.y:
8480 * gst/parse/parse.l:
8481 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8482 (GST_START_TEST), (parse_suite):
8483 Fix some of the leaks exposed by extending the parse-launch testsuite,
8484 and move the 3 I can't figure out into a separate test that won't run
8485 the pipelines unless the appropriate line is uncommented.
8487 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8489 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8490 Requesting 0 bytes before the end of the file should result in
8491 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8494 2006-07-27 Wim Taymans <wim@fluendo.com>
8496 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8497 Fix useless assert, a uint is always positive.
8499 * gst/gststructure.c: (gst_structure_nth_field_name),
8500 (gst_structure_foreach), (gst_structure_map_in_place):
8501 Check input arguments for public functions to avoid obvious crashes.
8503 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8504 * plugins/elements/gstfakesink.h:
8505 Do less useless typechecking.
8507 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8509 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8510 Do not use mmap() by default since there are a number of error
8511 conditions that we would like to handle in a non-fatal way that
8512 will result in a SIGBUS if we use mmap(). Examples: external
8513 devices (USB harddrive, portable music player) being unplugged
8514 while in use; file on mounted CD/DVD that can't be read because
8515 the medium is partly damaged. Fixes #348455 and #348475.
8517 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8520 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8523 2006-07-26 Stefan Kost <ensonic@users.sf.net>
8525 * gst/gstregistry.c:
8526 Move big documentation comment into class section header, so that it
8527 appears in the API docs.
8529 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8531 * docs/gst/gstreamer-sections.txt:
8532 Oops. Commit the docs additions too for new API.
8533 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8535 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8537 * gst/gststructure.c: (gst_structure_id_set),
8538 (gst_structure_id_set_valist):
8539 * gst/gststructure.h:
8540 Add API for setting values into structures without performing
8541 a quark lookup, if the appropriate quark is already known.
8543 API: gst_structure_id_set
8544 API: gst_structure_id_set_valist
8546 * gst/parse/grammar.y:
8547 * gst/parse/parse.l:
8548 Remove some dead code shown by the coverage information.
8549 Don't throw a critical g_warning when encountering a syntax error,
8550 just warn and let the normal error path handle it.
8552 * plugins/elements/gstelements.c:
8553 Bump the rank of filesink up to PRIMARY so that it is preferred over
8554 gnomevfssink for file:// sink uri's
8556 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8557 (GST_START_TEST), (run_delayed_test),
8558 (gst_parse_test_element_base_init),
8559 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8560 (gst_parse_test_element_change_state),
8561 (gst_register_parse_element), (parse_suite):
8562 Beef up the tests for parse syntax to check that more error cases
8563 fail as they are supposed to. Increases the test coverage a bit.
8565 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
8567 * docs/manual/basics-elements.xml:
8568 Fix gst_element_link() example.
8571 Mention in API docs that one should usually gst_bin_add()
8572 elements to a bin or pipeline before doing the linking.
8574 2006-07-26 Wim Taymans <wim@fluendo.com>
8576 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8577 (gst_subbuffer_get_type), (gst_buffer_create_sub):
8578 Avoid function call for known types by keeping the buffer and
8579 subbuffer GType global.
8581 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8582 Random silly optimisations in read() path.
8584 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8586 * tools/gst-launch.c: (main):
8587 If the top-level of the parse is a normal bin, it doesn't do the
8588 right logic to run as a top-level element, so place it inside a
8591 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
8593 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8594 Remove superfluous g_object_notify() calls, GObject does
8595 that for us automatically.
8597 2006-07-25 Stefan Kost <ensonic@users.sf.net>
8600 on Win32, use dllspec to export the debug category symbols
8602 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
8604 * gst/gsttaglist.c: (_gst_tag_initialize):
8605 Allow more than one GST_TAG_IMAGE per taglist.
8607 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
8609 * gst/gstminiobject.c:
8611 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8612 (gst_fd_src_create):
8613 log recurring events at LOG level
8614 add more debug for when the fd gets set
8616 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8618 * gst/gstparse.c: (gst_parse_launch):
8619 Also remove reentrance checks if flex is MT safe (#348179)
8620 Fix my empty ChangeLog entry below
8622 2006-07-21 Andy Wingo <wingo@pobox.com>
8624 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8626 * libs/gst/check/Makefile.am
8627 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8628 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8629 * libs/gst/check/gstbufferstraw.h:
8630 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8631 functions, thus proving I am still a GStreamer haxor. OK I wrote
8632 them a long time ago, but anyways.
8634 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8637 * gst/gstparse.c: (gst_parse_launch):
8638 Check for flex version and omit mutex if we have a MT save flex
8641 2006-07-21 Wim Taymans <wim@fluendo.com>
8643 * gst/gstparse.c: (gst_parse_launch):
8644 Protect recursive calls to _parse with a recursive mutex
8647 2006-07-21 Wim Taymans <wim@fluendo.com>
8649 * tests/check/gst/gstpad.c: (GST_START_TEST):
8652 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8654 * gst/gstparse.c: (gst_parse_launch):
8655 Do not hang on recursive usage of gst_parse_launch()
8657 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8660 Add some more docs, comments and FIXME 0.11s here and there
8661 and also fix some typos.
8663 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8666 Convert tabs to spaces for better readability.
8668 2006-07-20 Edward Hervey <edward@fluendo.com>
8670 * tests/check/libs/gdp.c: (gst_dp_suite):
8671 the test_buffer test fails at line 140 on ppc64 at the following
8673 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8674 GST_BUFFER_FLAG_IN_CAPS),
8675 "GST_BUFFER_IN_CAPS flag should have been copied !");
8676 See bug #348114 for more details.
8678 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8680 * docs/pwg/advanced-scheduling.xml:
8682 Fix typos (#348000).
8684 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8686 * docs/pwg/intro-basics.xml:
8687 Fix wrong links (#347927).
8689 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8691 * gst/gstregistry.h:
8692 * gst/gstregistryxml.c: (load_feature),
8693 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8694 * win32/common/config.h:
8695 make --disable-index work (#342564)
8697 2006-07-18 Wim Taymans <wim@fluendo.com>
8699 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8703 The attached patch adds two missing defines to gsttrace.h when tracing
8704 is disabled. It also corrects one existing define.
8707 2006-07-17 Wim Taymans <wim@fluendo.com>
8709 * docs/gst/gstreamer-sections.txt:
8710 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8712 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8713 Add two functions to check and change the SIGSEGV behaviour
8714 when loading plugins.
8715 Don't mess with the SIGSEGV handler when we were told not to.
8717 API: gst_segtrap_is_enabled
8718 API: gst_segtrap_set_enabled
8720 2006-07-14 Wim Taymans <wim@fluendo.com>
8722 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8723 * tests/check/elements/filesrc.c: (GST_START_TEST):
8724 Revert fix for regression in #347408 after release.
8726 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8728 Patch by: Antoine Tremblay <hexa00 at gmail com>
8730 * gst/gstutils.c: (gst_element_unlink):
8731 Free iterator when done (#347311).
8733 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8734 And add a test case for this.
8736 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8739 Bump nano back to CVS
8741 === release 0.10.9 ===
8743 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8746 releasing 0.10.9, "On the road again"
8748 2006-07-13 Wim Taymans <wim@fluendo.com>
8750 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8751 * tests/check/elements/filesrc.c: (GST_START_TEST):
8752 Revert pull-0 fix for release. Disable check. Fixes #347408.
8754 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8756 * libs/gst/dataprotocol/dataprotocol.c:
8757 (gst_dp_event_from_packet_1_0):
8758 Fixes #347337: failure to deserialize event packets with
8759 empty payload (only event type)
8761 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8764 do not install a .c file in the header directory
8766 2006-07-13 Edward Hervey <edward@fluendo.com>
8768 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8769 GhostPad no longer implicitely use the padtemplates of the targets.
8772 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8774 * gst/gstvalue.c: (gst_value_compare_list),
8775 (gst_value_compare_array), (_gst_value_initialize):
8776 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8777 Make GstValueArray comparison be order dependent as designed.
8778 Add checks for value lists and value array comparisons.
8781 2006-07-11 Edward Hervey <edward@fluendo.com>
8783 * gst/gstbin.c: (activate_pads),
8784 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8785 (gst_bin_change_state_func):
8786 (de)activate src pads before calling state_change on the childs.
8787 This is to avoid the case where a src ghostpad is blocked (holding the
8788 stream lock), which would block the deactivation of the ghostpad's
8790 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8791 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8792 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8793 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8794 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8795 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8796 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8797 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8798 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8799 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8800 (gst_ghost_pad_class_init),
8801 (gst_ghost_pad_internal_do_activate_push),
8802 (gst_ghost_pad_internal_do_activate_pull),
8803 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8804 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8805 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8806 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8807 GhostPads now create their internal GstProxyPad at creation (and not
8808 when they're linked, as it was being done previously).
8809 The internal and target pads are linked straight away.
8810 The data will also travel through the other pad in order to make
8811 pad blocking and probes non-hackish (the probe/block now really happens
8812 on the GhostPad and not on the target).
8813 * gst/gstpad.c: (gst_pad_set_blocked_async),
8814 (gst_pad_link_prepare), (gst_pad_push_event):
8815 Remove previous ghostpad cruft.
8816 * gst/gstutils.c: (gst_pad_add_data_probe),
8817 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8818 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8819 (gst_pad_remove_buffer_probe):
8820 Remove previous ghost pad cruft.
8821 Added more detailed debug statements.
8822 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8823 Fix the testsuite for refcounting changes.
8824 The comments about who has references were correct, but the refcount
8825 being checked wasn't the same (!?!).
8829 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8831 * docs/gst/gstreamer-sections.txt:
8832 * gst/gstconfig.h.in:
8833 More docs for configuration options, add docs to gtk-doc.
8835 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8838 * gst/gstconfig.h.in:
8839 * win32/common/config.h:
8840 Fix build when disabling tracing (fixes #344016). Also start to document
8841 the defines that disable the sub-systems.
8843 2006-07-10 Edward Hervey <edward@fluendo.com>
8845 * gst/gst.c: (ensure_current_registry_forking):
8846 let's make valgrind happy...
8848 2006-07-09 Wim Taymans <wim@fluendo.com>
8850 * gst/gstelement.c: (activate_pads),
8851 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8852 Better pad activation code: Reset the collect value too on resync.
8855 2006-07-09 Wim Taymans <wim@fluendo.com>
8857 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8858 (gst_pad_activate_push):
8859 Use some more macros where it makes sense.
8860 Allow pad mode switching instead of asserting. When a pad
8861 is activated in one mode and we activate it in another,
8862 deactivate it first before activating it in a different mode.
8865 2006-07-08 Andy Wingo <wingo@pobox.com>
8867 * tools/gst-launch.c (main): Handle err == NULL.
8869 * gst/gst.c (init_post, ensure_current_registry)
8870 (ensure_current_registry_forking)
8871 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8872 factoring out the registry scanning into separate functions. Don't
8873 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8874 Better environment var name/interface suggestions accepted.
8876 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8878 * gst/gstobject.c: (gst_object_set_name_default),
8879 (gst_object_set_name):
8880 Random micro-optimisation: don't use a hash table
8881 with strings as keys and the usual strdup/strcmp
8882 involved, but rather just use the GQuark of the
8883 type name as key, since it needs to be looked up
8884 anyway to get the type name string.
8886 * tests/check/gst/gstobject.c: (GST_START_TEST):
8889 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8891 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8892 (gst_bin_iterate_all_by_interface):
8893 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8894 GTypes are gulongs and thus the top 4 bytes might be cut
8895 off on some platforms when doing GPOINTER_TO_INT, leading
8896 to invalid GTypes and bad things happening (see RH bug #179654).
8897 Also add a check to make sure the type passed in is really
8900 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8905 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8909 * gst-element-check.m4:
8910 * gst-element-check.m4.in:
8911 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8912 instead of the unversioned gst-inspect (#324176, #168659).
8914 2006-07-06 Wim Taymans <wim@fluendo.com>
8917 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8920 2006-07-06 Wim Taymans <wim@fluendo.com>
8922 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8923 (gst_base_src_wait), (gst_base_src_update_length),
8924 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8925 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8926 (gst_base_src_loop), (gst_base_src_start),
8927 (gst_base_src_activate_pull):
8929 blocksize == 0 now means the default blocksize when working in push
8931 Remove some pointless asserts in _wait function.
8932 Fix offset/length calculations and EOS handling. We can now pull 0
8933 bytes as well, which is allowed.
8934 use _check_get_range() to decide if we can operate in _pull based
8936 Fix refcounting leak when check_get_range function was not
8938 API GstBaseSrc::blocksize range can be 0 too now (default)
8940 * tests/check/elements/filesrc.c: (GST_START_TEST),
8942 Added check to test _get_range() behaviour.
8944 2006-07-06 Wim Taymans <wim@fluendo.com>
8946 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8947 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8948 (gst_pad_pull_range):
8950 Lots of comments and docs added to the pad functions.
8951 Flesh out the expected behaviour of the get_range() functions.
8953 2006-07-06 Wim Taymans <wim@fluendo.com>
8958 * gst/gstiterator.h:
8962 Remove comma at end of enumerator list.
8964 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8966 * win32/common/libgstbase.def:
8967 * win32/common/libgstdataprotocol.def:
8968 * win32/common/libsgtreamer.def:
8969 Add new exported functions.
8971 2006-07-05 Wim Taymans <wim@fluendo.com>
8973 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8974 Add some more docs here and there.
8976 2006-07-05 Wim Taymans <wim@fluendo.com>
8978 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8979 (gst_base_sink_loop), (gst_base_sink_get_position):
8980 When operating in pull mode update the offset so that we
8983 2006-07-05 Wim Taymans <wim@fluendo.com>
8985 * gst/gstregistryxml.c: (read_string):
8986 Avoid strdup. (will happen in libxml, but hey!)
8991 2006-07-05 Wim Taymans <wim@fluendo.com>
8993 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8994 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8996 No point in checking if the size of the subbuffer > 0, the
8997 code handles it correclty as demonstrated by unit test.
8998 Also add a unit test for the zero sized _new_and_alloc and
8999 _copy. Fixes #346663.
9001 2006-07-05 Wim Taymans <wim@fluendo.com>
9003 * libs/gst/base/gstbasetransform.c:
9004 (gst_base_transform_prepare_output_buffer),
9005 (gst_base_transform_buffer_alloc),
9006 (gst_base_transform_handle_buffer):
9007 Make sure the buffer we pass to transform_ip has a refcount of
9008 1 and thus is writable. Fixes #343196
9010 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
9012 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9013 (gst_file_src_init), (gst_file_src_set_property),
9014 (gst_file_src_get_property), (gst_file_src_map_region):
9015 * plugins/elements/gstfilesrc.h:
9016 Add "sequential" property, off by default, to use madvise and hint
9017 to the kernel that sequential access is desired.
9018 Touch all retrieved pages by default to ensure they are pulled
9019 into memory. (Closes #345720)
9021 2006-07-03 Wim Taymans <wim@fluendo.com>
9023 * docs/design/part-block.txt:
9024 * docs/design/part-dynamic.txt:
9027 2006-07-03 Wim Taymans <wim@fluendo.com>
9029 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9030 (gst_caps_unref), (gst_static_caps_get),
9031 (gst_caps_append_structure):
9032 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9033 Use GSlice when the glib we build against is >= 2.10
9035 2006-07-03 Wim Taymans <wim@fluendo.com>
9037 * gst/gstelement.c: (gst_element_pads_activate):
9038 Small cleanup in pad activation code.
9040 2006-07-03 Wim Taymans <wim@fluendo.com>
9042 Patch by: Peter Kjellerstedt <pkj at axis dot com>
9044 * gst/gst-i18n-app.h:
9045 * gst/gst-i18n-lib.h:
9046 * tools/gst-inspect.c: (print_signal_info):
9047 The attached patch will make the inclusion of gettext.h unconditional in
9048 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9049 libintl.h in tools/gst-inspect.c.
9050 This allows use of --disable-nls again and fixes #344642.
9052 2006-07-03 Edward Hervey <edward@fluendo.com>
9054 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9055 Implement pad blocking on events according to part-block.txt.
9056 More comments on behaviour.
9057 * tests/check/gst/gstevent.c: (test_event):
9058 Send event to peer pad of blocked pad (else it will block).
9060 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9062 * libs/gst/check/gstcheck.c: (gst_check_message_error),
9063 (gst_check_run_suite):
9064 if we get the wrong message, give us the types as string
9065 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9067 * tests/check/elements/filesrc.c: (GST_START_TEST):
9068 add a test for trying to open a non-existing file
9070 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9072 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9073 add a test for adding self
9075 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
9077 * libs/gst/check/gstcheck.h:
9078 add some assert_ as alias for fail_unless_*
9079 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9080 increase test coverage
9082 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9085 include lcov.mak for lcov coverage generation
9086 * tools/Makefile.am:
9089 2006-07-02 Edward Hervey <edward@fluendo.com>
9091 * tests/check/elements/.cvsignore:
9094 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9097 don't set CFLAGS and friends for gcov, done from GST_GCOV now
9098 * tests/check/Makefile.am:
9101 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9103 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9104 remove gst_caps_simplify; it was not declared and not used
9105 and deprecated in 0.8
9107 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9109 * docs/faq/gst-uninstalled:
9110 don't put empty paths on PYTHONPATH
9111 * docs/gst/gstreamer-sections.txt:
9112 remove some symbols that are not there
9114 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9116 * gst/gstcaps.c: (gst_caps_compare_structures):
9118 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9119 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9122 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9124 * libs/gst/dataprotocol/Makefile.am:
9125 build dataprotocol test by linking to the lib, instead of
9126 compiling the source, so we get coverage
9127 * tests/check/Makefile.am:
9128 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9129 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9130 add a test for filesrc
9132 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9134 * tests/check/gst/gststructure.c: (GST_START_TEST),
9135 (gst_structure_suite):
9136 Push coverage from 59.04% to 70.00%
9138 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9140 * tests/check/Makefile.am:
9141 gst-inspect every element; this makes sure that we also get
9142 coverage on element's get/set functions
9144 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
9147 set CFLAGS and friends to -O0 if gcov is being used
9150 * libs/gst/base/Makefile.am:
9151 * libs/gst/check/Makefile.am:
9152 * libs/gst/controller/Makefile.am:
9153 * libs/gst/dataprotocol/Makefile.am:
9154 * libs/gst/net/Makefile.am:
9155 * plugins/elements/Makefile.am:
9156 * plugins/indexers/Makefile.am:
9157 add makefile rules to generate gcov data and clean up
9158 * tests/check/Makefile.am:
9159 add a coverage target that generates an html overview
9162 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9164 * tests/check/elements/fakesink.c:
9165 * tests/check/elements/fakesrc.c:
9166 * tests/check/elements/fdsrc.c:
9167 * tests/check/elements/identity.c:
9168 * tests/check/generic/sinks.c: (gst_sinks_suite):
9169 * tests/check/generic/states.c:
9170 * tests/check/gst/gst.c:
9171 * tests/check/gst/gstabi.c:
9172 * tests/check/gst/gstbin.c:
9173 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9174 * tests/check/gst/gstbus.c: (gst_bus_suite):
9175 * tests/check/gst/gstcaps.c: (GST_START_TEST):
9176 * tests/check/gst/gstelement.c:
9177 * tests/check/gst/gstevent.c: (gst_event_suite):
9178 * tests/check/gst/gstghostpad.c:
9179 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9180 * tests/check/gst/gstmessage.c: (gst_message_suite):
9181 * tests/check/gst/gstminiobject.c:
9182 * tests/check/gst/gstobject.c:
9183 * tests/check/gst/gstpad.c:
9184 * tests/check/gst/gstpipeline.c:
9185 * tests/check/gst/gstplugin.c:
9186 * tests/check/gst/gstquery.c: (gst_query_suite):
9187 * tests/check/gst/gstsegment.c: (gst_segment_suite):
9188 * tests/check/gst/gststructure.c:
9189 * tests/check/gst/gstsystemclock.c:
9190 * tests/check/gst/gsttag.c:
9191 * tests/check/gst/gsttask.c: (gst_task_suite):
9192 * tests/check/gst/gstutils.c:
9193 * tests/check/gst/gstvalue.c:
9194 * tests/check/libs/adapter.c:
9195 * tests/check/libs/basesrc.c:
9196 * tests/check/libs/collectpads.c:
9197 * tests/check/libs/controller.c:
9198 * tests/check/libs/gdp.c: (gst_dp_suite):
9199 * tests/check/libs/gstnetclientclock.c:
9200 * tests/check/libs/gstnettimeprovider.c:
9201 * tests/check/libs/libsabi.c: (libsabi_suite):
9202 * tests/check/libs/typefindhelper.c:
9203 * tests/check/pipelines/cleanup.c:
9204 * tests/check/pipelines/parse-launch.c:
9205 * tests/check/pipelines/simple-launch-lines.c:
9206 * tests/check/pipelines/stress.c: (stress_suite):
9209 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
9211 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9212 * libs/gst/check/gstcheck.h:
9213 create a macro and function so that the simple unit test
9214 case can be just one macro to create main()
9216 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
9218 * gst/gstbin.c: (gst_bin_restore_thyself):
9219 * gst/gstxml.c: (gst_xml_make_element):
9220 Fix deserialisation from XML. Set parent manually
9221 instead of using gst_bin_add(), since gst_bin_add()
9222 will unlink all pads of the element being added.
9225 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
9227 Patch by: Peter Kjellerstedt <pkj at axis com>
9229 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9230 Fix missing g_strdup() and double free when using the
9231 --gst-plugin-load command line option (#346097).
9233 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
9236 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9238 * libs/gst/net/gstnetclientclock.c:
9239 * libs/gst/net/gstnettimeprovider.c:
9240 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9242 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
9244 * docs/manual/advanced-dataaccess.xml:
9245 Fix buffer probe example compilation in
9248 2006-06-22 Edward Hervey <edward@fluendo.com>
9250 * gst/gstelement.c: (gst_element_pads_activate):
9251 We need to deactivate src pads first and then sink pads.
9252 The reason is the src pads might be blocking while holding the streaming
9253 lock, so we need to deactivate them first so that deactivating the sink
9254 pads doesn't block (since it will require the streaming lock).
9256 2006-06-22 Wim Taymans <wim@fluendo.com>
9258 * libs/gst/base/gstbasetransform.c:
9259 (gst_base_transform_buffer_alloc):
9260 Forgot to remove two unneeded unrefs.
9261 Simplify a check _is_equal allready checks the obvious case.
9263 2006-06-22 Wim Taymans <wim@fluendo.com>
9265 * docs/design/part-block.txt:
9266 Some docs about what pad_block should do.
9268 2006-06-22 Wim Taymans <wim@fluendo.com>
9270 * gst/gstcaps.c: (gst_caps_replace):
9271 Fix crasher when passed NULL. Doc clarification.
9272 Optimize for the trivial case.
9274 * gst/gstpipeline.c: (gst_pipeline_change_state):
9277 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9278 Small documentation cleanup.
9280 * libs/gst/base/gstbasetransform.c:
9281 (gst_base_transform_buffer_alloc):
9282 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9283 is what we need and it avoids a whole lot of redundant
9284 refcount operations.
9286 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
9288 Patch by: Philip Jägenstedt <philip at lysator liu se>
9290 * docs/manual/advanced-dataaccess.xml:
9291 Fix 'Embedding static elements' section to use
9292 GST_PLUGIN_DEFINE_STATIC (#345607).
9294 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9296 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9297 Attempt to 'fix' spuriously failing test case: it seems like the
9298 timeout of half a second is simply too small when the system is under
9299 load otherwise, and the timeout doesn't really seem to serve any
9300 particular purpose here. Give the pipeline a few seconds to preroll
9301 first, and then give it another half a second to go from PAUSED to
9302 PLAYING and marshal the message into the main thread.
9304 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9306 * tools/gst-feedback-m.m:
9307 Don't only use unversioned tools, try versioned tools as well
9310 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9312 * gst/gstbus.c: (gst_bus_class_init):
9313 Fix some typos, make docs more explicit.
9315 2006-06-20 Wim Taymans <wim@fluendo.com>
9317 * tests/check/gst/gstghostpad.c: (block_callback),
9318 (GST_START_TEST), (gst_ghost_pad_suite):
9319 Added some more ghostpad tests, mainly blocking
9322 2006-06-16 Wim Taymans <wim@fluendo.com>
9324 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9325 (gst_file_sink_close_file), (gst_file_sink_do_seek),
9326 (gst_file_sink_event), (gst_file_sink_render):
9327 * plugins/elements/gstfilesink.h:
9328 Check if we can seek in the file instead of assuming
9329 we always can. Post an error when we are asked to seek in a
9330 non-seekable file (like a fifo). Fixes #343312.
9333 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
9335 * tools/gst-launch.1.in:
9336 Un-garble (fourcc) bit in filtered caps section.
9338 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
9340 * docs/manual/advanced-autoplugging.xml:
9341 * docs/manual/basics-helloworld.xml:
9342 * docs/manual/highlevel-components.xml:
9343 Don't leak bus reference in sample code.
9345 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
9348 Add default for new --enable-plugin-docs switch.
9351 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9355 Use new ENABLE_PLUGIN_DOCS conditional.
9357 2006-06-14 Wim Taymans <wim@fluendo.com>
9359 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9360 Make it clear with a FIXME and a real define what the #if 0
9361 previously disabled.
9363 2006-06-14 Wim Taymans <wim@fluendo.com>
9365 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9366 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9367 * libs/gst/base/gstbasetransform.c:
9368 (gst_base_transform_sink_eventfunc):
9369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9370 Don't randomly and silently reset a segment when the format
9371 changes as this is a bug somewhere upstream. Fixes #330379.
9373 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
9375 Patch by: Wouter Paesen <wouter at kangaroot net>
9377 * libs/gst/controller/gstcontroller.c:
9378 (gst_controlled_property_new):
9379 Fix controlling of float properties (#344849).
9381 * tests/check/libs/controller.c:
9382 (gst_test_mono_source_get_property),
9383 (gst_test_mono_source_set_property),
9384 (gst_test_mono_source_class_init), (GST_START_TEST):
9385 While we're at it, add some float stuff to unit test.
9387 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
9390 * docs/images/gdp-header.svg:
9392 * docs/libs/Makefile.am:
9393 * docs/libs/gdp-header.png:
9394 * libs/gst/dataprotocol/dataprotocol.c:
9395 add it to the API docs
9396 * docs/manual/intro-motivation.xml:
9399 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
9401 * gst/gst.c: (scan_and_update_registry), (init_post):
9402 If the fork()'ed child process can't write the updated registry cache
9403 file to disk for some reason, make it exit with a failure exit code,
9404 so that the parent can then re-scan the plugins itself and update the
9405 registry structures in memory and work with that (rather than failing
9406 when creating elements because seemingly no plugins are available).
9407 Refactor registry scanning code into separate function for this and
9408 also separate fork() and non-fork() code paths. Fixes #344748.
9410 2006-06-13 Wim Taymans <wim@fluendo.com>
9412 * docs/manual/advanced-dataaccess.xml:
9413 Fix wrong PluginDesc. Fixes #344755.
9415 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
9417 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9418 Fix silly bug that prevented us from creating
9419 ~/.gstreamer-0.10 and writing the registry in one
9420 go (the first call to g_mkstemp() would overwrite the
9421 placeholder in the template string, so the second call
9422 to g_mkstemp() after creating the missing directory
9423 would then error out with 'invalid argument').
9425 2006-06-13 Edward Hervey <edward@fluendo.com>
9427 * gst/gst.c: (init_post):
9430 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
9432 * gst/glib-compat-private.h:
9433 * gst/glib-compat.c:
9434 * gst/glib-compat.h:
9435 * gst/gstvalue.c: (gst_value_serialize_flags):
9436 remove GLib 2.6 compatibility code
9438 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
9440 * gst/parse/Makefile.am:
9441 Fix build with 'make -j N' even more (#340016).
9443 2006-06-12 Wim Taymans <wim@fluendo.com>
9445 * docs/gst/gstreamer-sections.txt:
9448 2006-06-12 Wim Taymans <wim@fluendo.com>
9450 * gst/gstsegment.c: (gst_segment_set_duration),
9451 (gst_segment_set_last_stop), (gst_segment_set_seek),
9452 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9453 (gst_segment_to_running_time), (gst_segment_clip):
9454 Use G_UNLIKELY to help the compiler a bit.
9456 2006-06-12 Wim Taymans <wim@fluendo.com>
9458 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9460 * gst/gstevent.c: (gst_event_get_type):
9462 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9464 constify quark registration strings. Fixes #344115
9465 Avoid unneeded type checking is _pad_push() by internally
9466 calling gst_pad_chain_unchecked().
9468 2006-06-12 Wim Taymans <wim@fluendo.com>
9470 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9471 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9472 (gst_subbuffer_finalize), (gst_buffer_create_sub),
9473 (gst_buffer_is_span_fast), (gst_buffer_span):
9474 Init _type for consistency.
9475 Use _FLAGS macro to avoid type check.
9476 Avoid unneeded type checks in subbufer code.
9478 2006-06-12 Wim Taymans <wim@fluendo.com>
9480 * gst/gst.c: (gst_debug_help):
9481 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9482 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9483 (gst_plugin_feature_list_free):
9484 * gst/gstregistry.c: (gst_registry_add_plugin),
9485 (gst_registry_add_feature), (gst_registry_plugin_filter),
9486 (gst_registry_feature_filter), (gst_registry_find_plugin),
9487 (gst_registry_find_feature), (gst_registry_get_plugin_list),
9488 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9489 * gst/gstregistryxml.c: (load_feature),
9490 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9491 * gst/gstminiobject.c: (gst_mini_object_unref),
9492 (gst_mini_object_replace), (gst_value_mini_object_free),
9493 (gst_value_mini_object_copy):
9494 Use _CAST macros to avoid unneeded type checking.
9495 Added some more G_UNLIKELY.
9497 2006-06-12 Wim Taymans <wim@fluendo.com>
9500 Avoid unneeded type checking.
9501 API: GST_BUFFER_IS_DISCONT
9503 * gst/gstminiobject.h:
9504 Avoid type check in flag accessor.
9506 * gst/gstelementfactory.h:
9508 * gst/gstpluginfeature.h:
9510 API: GST_ELEMENT_FACTORY_CAST
9511 API: GST_PLUGIN_CAST
9512 API: GST_PLUGIN_FEATURE_CAST
9514 2006-06-12 Wim Taymans <wim@fluendo.com>
9516 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9518 Add G_UNLIKELY in type registration.
9519 Avoid type check in _ref/_unref since that is also
9522 2006-06-12 Wim Taymans <wim@fluendo.com>
9524 * gst/gsterror.c: (gst_g_error_get_type):
9525 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9526 (gst_static_pad_template_get_type):
9527 * gst/gsttaglist.c: (gst_tag_list_get_type):
9528 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9529 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9530 * gst/gsturi.c: (gst_uri_handler_get_type):
9531 * gst/gstvalue.c: (gst_date_get_type):
9532 * gst/gstxml.c: (gst_xml_get_type):
9533 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9534 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9535 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9536 Add G_UNLIKELY in type registration.
9538 2006-06-12 Wim Taymans <wim@fluendo.com>
9540 * tools/gst-inspect.c: (print_signal_info):
9541 Properly print enum values.
9543 2006-06-12 Wim Taymans <wim@fluendo.com>
9545 * gst/gstinfo.c: (gst_debug_set_active),
9546 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9548 Add some G_[UN]LIKELY.
9549 Maintain __gst_debug_min to avoid formatting the arguments of
9550 debug messages that will be dropped anyway to avoid a lot of
9551 overhead from the debugging system.
9553 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9557 add missing files containing translatable strings, tell intltool about
9560 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9562 * tests/check/libs/.cvsignore:
9563 add test-binary to ignore list
9565 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9567 * docs/libs/gstreamer-libs-docs.sgml:
9568 reorder (put dp into a chapter) and indent
9570 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9575 === release 0.10.8 ===
9577 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9580 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9582 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9584 * gst/gst.c: (init_post):
9585 move pid declaration to declaration block
9587 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9589 * gst/gst.c: (init_post):
9590 use _exit() instead of exit() in our forked child; this ensures
9591 that none of the registered exit handlers from whatever is using
9592 GStreamer get executed. This fixes gnome-mixer-applet failing
9593 to load, because ORBit would shut down.
9594 Spotted by: Edward Hervey <edward@fluendo.com>
9595 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
9598 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9603 === release 0.10.7 ===
9605 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9608 releasing 0.10.7, "Soepeke, ik zie ou"
9610 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9633 * win32/common/config.h:
9636 2006-06-07 Wim Taymans <wim@fluendo.com>
9638 * gst/gstindex.c: (gst_index_gtype_resolver):
9639 * tools/gst-xmlinspect.c: (print_plugin_info):
9640 Fix leak spotted by coverity checker. Fixes #343827
9641 Fix another other leak found by paolo borelli.
9643 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9645 * libs/gst/dataprotocol/dataprotocol.c:
9646 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9647 (gst_dp_version_get_type), (gst_dp_init),
9648 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9649 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9650 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9651 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9652 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9653 (gst_dp_packetizer_free):
9654 * libs/gst/dataprotocol/dataprotocol.h:
9655 API: add a GstDPPacketizer object, and create/free functions
9656 API: add GstDPVersion enum
9657 Add 1.0 event function that uses the string serialization
9658 Serialize more useful buffer flags
9661 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9663 * tests/check/Makefile.am:
9664 * tests/check/gst/gstabi.c:
9665 * tests/check/gst/struct_ppc64.h:
9666 * tests/check/libs/libsabi.c:
9667 * tests/check/libs/struct_ppc64.h:
9668 add ppc64 structure sizes
9670 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9672 * tests/check/Makefile.am:
9673 * tests/check/gst/gstabi.c:
9674 * tests/check/gst/struct_x86_64.h:
9675 * tests/check/libs/libsabi.c:
9676 * tests/check/libs/struct_x86_64.h:
9677 generate and add structure size lists for x86_64
9679 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9681 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9682 * libs/gst/check/gstcheck.h:
9683 factor out the method from tests that checks size of structures,
9684 and add code to generate the header containing these sizes
9685 * tests/check/gst/gstabi.c: (GST_START_TEST):
9686 * tests/check/gst/struct_i386.h:
9687 * tests/check/libs/libsabi.c: (GST_START_TEST):
9688 * tests/check/libs/struct_i386.h:
9691 2006-06-06 Michael Smith <msmith@fluendo.com>
9694 Don't use c++-style comments, fixes #343929
9696 2006-06-05 Edward Hervey <edward@fluendo.com>
9699 plugin_paths is not used if we build without registry support.
9701 * gst/gstsegment.c: (gst_segment_copy):
9702 _copy() was always returning NULL...
9704 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9706 * libs/gst/dataprotocol/dataprotocol.c:
9707 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9708 (gst_dp_packet_from_event):
9711 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9713 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9714 make sure we unset caps
9716 2006-06-02 Michael Smith <msmith@fluendo.com>
9718 * libs/gst/check/gstcheck.c: (gst_check_init),
9719 (gst_check_chain_func):
9720 * libs/gst/check/gstcheck.h:
9721 Add a cond/mutex to the check support lib, signal this whenever we
9722 add to the buffers list. This will allow tests to not busy-wait on
9725 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9727 * libs/gst/dataprotocol/dataprotocol.c:
9728 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9729 (gst_dp_packet_from_event):
9730 factor out some common header init code
9732 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9734 * docs/libs/gstreamer-libs-sections.txt:
9735 * docs/libs/tmpl/gstdataprotocol.sgml:
9736 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9737 * libs/gst/dataprotocol/dataprotocol.h:
9738 API: make gst_dp_crc() public
9740 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9742 * plugins/indexers/gstindexers.c: (plugin_init):
9743 conditionally register fileindexer (fixes #343598)
9745 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9747 * gst/gsttagsetter.h:
9748 Can't cast ifaces to a class
9750 * libs/gst/net/gstnetclientclock.h:
9751 * libs/gst/net/gstnettimeprovider.h:
9752 * plugins/elements/gstfakesink.h:
9753 * plugins/elements/gstfakesrc.h:
9754 * plugins/elements/gstfdsink.h:
9755 * plugins/elements/gstfdsrc.h:
9756 * plugins/elements/gstfilesink.h:
9757 * plugins/elements/gstfilesrc.h:
9758 * plugins/elements/gstidentity.h:
9759 * plugins/elements/gstqueue.h:
9760 * plugins/elements/gsttee.h:
9761 * plugins/indexers/gstfileindex.c:
9762 * plugins/indexers/gstmemindex.c:
9763 * tests/old/examples/plugins/example.h:
9764 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9766 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9768 * libs/gst/dataprotocol/dataprotocol.c:
9769 (gst_dp_header_from_buffer):
9770 make sure we zero the whole ABI-compatible area
9772 2006-06-01 Wim Taymans <wim@fluendo.com>
9774 Patch by: Alessandro Decina <alessandro at nnva dot org>
9776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9777 Make sure the EOS flag is cleared from pads after a flush
9778 or stop. Fixes #343538.
9780 * tests/check/libs/collectpads.c: (GST_START_TEST),
9781 (gst_collect_pads_suite):
9782 Added test for collectpads reusage after EOS.
9784 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9787 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9788 * win32/common/libgstbase.def:
9789 export gst_collect_pads_set_flushing
9790 * win32/common/libgstreamer.def:
9791 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9792 gst_value_fraction_multiply
9793 * win32/vs6/gst_inspect.dsp:
9794 add a link to intl.lib
9796 2006-05-30 Wim Taymans <wim@fluendo.com>
9798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9799 (gst_collect_pads_chain):
9800 Handle the case where a pad is removed from the collection
9801 that could cause the other pads to become collectable.
9803 2006-05-30 Wim Taymans <wim@fluendo.com>
9806 Clarify the use of _release_request_pad() and
9807 _get_request_pad() a bit better.
9809 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9810 (gst_adapter_take_buffer):
9811 Fix some doc and comment typos.
9813 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9815 * docs/gst/gstreamer-sections.txt:
9816 * docs/libs/gstreamer-libs-sections.txt:
9817 add declared symbols
9819 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9821 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9822 Add debug that can be enabled using a #define at the top of the file,
9823 for dumping stats about how late/early we were when waking up from
9824 waiting on the clock.
9826 2006-05-30 Wim Taymans <wim@fluendo.com>
9828 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9829 When rebuilding the pad list, don't leak the previous list.
9831 2006-05-30 Wim Taymans <wim@fluendo.com>
9833 Patch by: Lutz Mueller <lutz at topfrose dot de>
9835 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9836 (gst_base_src_get_query_types), (gst_base_src_update_length):
9837 Publish supported query types.
9838 Update last_stop field in get_range mode so the position
9839 query works. Fixes #342321.
9841 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9843 * docs/gst/gstreamer-sections.txt:
9844 * gst/gsttaglist.c: (_gst_tag_initialize):
9846 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9848 2006-05-30 Wim Taymans <wim@fluendo.com>
9850 Patch by: Alessandro Decina <alessandro at nnva dot org>
9852 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9853 Unlock mutex when removing an unknown pad.
9856 * tests/check/Makefile.am:
9857 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9858 (push_event), (setup), (teardown), (GST_START_TEST),
9859 (gst_collect_pads_suite), (main):
9860 Added collecpads check, disabled for now as check crashes for
9863 2006-05-29 Wim Taymans <wim@fluendo.com>
9865 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9866 Don't leak pads lists.
9868 2006-05-29 Wim Taymans <wim@fluendo.com>
9870 * docs/libs/gstreamer-libs-sections.txt:
9871 * libs/gst/base/gstcollectpads.c:
9872 (gst_collect_pads_set_flushing_unlocked),
9873 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9874 (gst_collect_pads_stop):
9875 * libs/gst/base/gstcollectpads.h:
9876 API: gst_collect_pads_set_flushing()
9877 Added api to set the pads to flushing, useful for seeking
9878 code in elements using collectpads.
9879 Clear segment when receiving a flush.
9881 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9883 * gst/gst.c: (add_path_func), (init_post):
9884 Don't scan registry paths passed via --gst-plugin-path immediately
9885 (will crash, because absolutely nothing is set up and no types are
9886 registered etc.); do this later in init_post(). Fixes #343057.
9888 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9890 * gst/gst.c: (init_post):
9891 if we have fork, fork while reading/rebuilding the registry
9892 so the parent doesn't take the hit of having all plugins loaded
9893 in memory. Fixes #342777.
9895 Check if we have fork()
9896 * win32/common/config.h.in:
9899 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9901 * plugins/elements/gstelements.c:
9902 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9903 (gst_file_src_init), (gst_file_src_set_property),
9904 (gst_file_src_get_property), (gst_file_src_start):
9905 * plugins/elements/gstfilesrc.h:
9906 API: GstFileSrc::use-mmap
9908 Add a use-mmap property to enable easier testing of all code paths.
9909 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9910 in the absence of gnomevfssrc. (Closes #340501)
9912 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9914 * tools/gst-inspect.c:
9915 Add missing include, removes warning of ngettext not being defined on
9918 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9920 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9921 Handle NULL input and output pointers silently as a failed conversion,
9922 rather than g_warnings.
9924 2006-05-25 Wim Taymans <wim@fluendo.com>
9926 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9927 Initialize variable before using. Fixes #342820.
9929 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9931 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9932 Fix off-by-one bug that would only allow peeks of N-1 bytes
9933 from the start even if the buffer to typefind on contains
9934 in fact N bytes of data (makes vorbis typefinding from a
9935 vorbis identification header buffer work).
9937 * tests/check/Makefile.am:
9938 * tests/check/libs/.cvsignore:
9939 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9940 (gst_typefindhelper_suite), (main), (foobar_typefind),
9942 Add very basic unit test for gst_type_find_helper_for_buffer()
9943 that checks for the problem fixed above.
9945 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9947 * tools/gst-inspect.c: (print_interfaces),
9948 (print_element_properties_info), (print_element_list), (main):
9949 add more translatable strings
9951 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9953 Patch by: Julien Moutte <julien at moutte net>
9955 * docs/gst/gstreamer-sections.txt:
9956 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9958 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9959 (gst_fake_sink_preroll):
9960 * plugins/elements/gstfakesink.h:
9961 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9963 2006-05-23 Wim Taymans <wim@fluendo.com>
9965 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9967 Added _CUSTOM error and success GstFlowReturn that can be
9968 used be elements internally.
9969 Added macro to check for SUCCESS flowreturns.
9970 API: GST_FLOW_CUSTOM_SUCCESS
9971 API: GST_FLOW_CUSTOM_ERROR
9972 API: GST_FLOW_IS_SUCCESS
9974 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9975 Added check for GstFlowReturn sanity.
9977 2006-05-23 Wim Taymans <wim@fluendo.com>
9979 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9981 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9982 (gst_collect_pads_event):
9983 clear/reset segment info in FLUSH_STOP.
9986 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9988 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9989 (gst_collect_pads_check_collected):
9990 Flush queued buffer on _stop(), fixes playing again (#342454)
9992 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9994 * tests/check/gst/gststructure.c: (GST_START_TEST),
9995 (gst_structure_suite):
9996 add a test for a complete structure
9998 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10000 * docs/faq/developing.xml:
10001 * docs/faq/faq.xml:
10002 * docs/faq/troubleshooting.xml:
10003 * docs/faq/using.xml:
10004 Some minor FAQ updates that won't change the fact that
10005 our FAQ is badly structured, full of information hardly
10006 anyone new to GStreamer needs to know and lacking lots
10007 of information people constantly ask for.
10009 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
10011 * gst/gstpad.c: (gst_pad_set_caps):
10012 Short-circuit gst_pad_set_caps if setting the existing
10013 caps pointer again, and avoid printing debug and
10014 reffing/unreffing the caps.
10016 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10017 There's actually no need to set the caps before pushing -
10018 the acceptcaps method will handle it anyway.
10020 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
10022 * docs/gst/gstreamer-sections.txt:
10023 * win32/common/libgstreamer.def:
10024 * gst/gstutils.c: (gst_element_seek_simple):
10026 API: add gst_element_seek_simple() (#342238).
10028 2006-05-18 Edward Hervey <edward@fluendo.com>
10030 * gst/gsttypefind.c: (gst_type_find_get_type):
10031 * gst/gsttypefind.h:
10032 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10033 registered for GstTypeFind pointers. This allows wrapping the structure
10034 in bindings (i.e. gst-python).
10036 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10038 * gst/gsttagsetter.c:
10039 Docs additions and fixes (see #339918).
10041 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10043 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10044 The caps intersection algorithm can produce multiple copies of the
10045 caps. Until that is fixed, we need to simplify the result to be
10046 sure whether the allowed caps are fixed or not.
10048 * plugins/elements/gstqueue.c: (gst_queue_init),
10049 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10050 (gst_queue_push_one):
10051 Proxied buffer alloc should not set the caps on the source pad.
10052 When pushing buffers, we always accept the caps change that triggers.
10053 This prevents negotiation errors caused by caps changing mid-stream
10054 and then being refused on our source pad (because upstream is now
10055 refusing those caps).
10057 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
10059 * tests/examples/helloworld/helloworld.c: (main):
10060 Must plug audioconvert and audioresample between decoder
10063 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
10065 * gst/gstregistryxml.c: (read_string), (load_pad_template),
10066 (load_feature), (load_plugin):
10067 Allow empty strings for some of the plugin fields so we don't
10068 drop valid plugin entries that were written out correctly
10071 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
10073 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10074 Use g_remove and g_rename instead of remove and rename that don't
10075 handle utf8 characters. rename was failing for users who had specific
10076 characters in their name then the registry was built at each
10078 * win32/vs6/gst_inspect.dsp:
10079 * win32/vs6/gst_launch.dsp:
10080 * win32/vs6/libgstbase.dsp:
10081 * win32/vs6/libgstcoreelements.dsp:
10082 * win32/vs6/libgstreamer.dsp:
10083 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
10084 build of libgstreamer and clean unused libraries in projects link
10087 2006-05-17 Edward Hervey <edward@fluendo.com>
10089 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10090 The queue is not responsible for pushing an EOS when receiving a fatal
10091 flow error. It's up to the real element driving the pipeline to do that.
10093 2006-05-16 Edward Hervey <edward@fluendo.com>
10095 * plugins/elements/gstqueue.c: (gst_queue_push_one):
10096 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10097 buffer returned a fatal error. It should just send an EOS and stop
10099 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10100 when pushing buffers on the queue and will be able to handle the event.
10102 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
10104 * docs/manual/basics-bins.xml:
10105 * docs/manual/basics-init.xml:
10106 Fix typos and minor errors in sample code (#341856).
10108 2006-05-16 Wim Taymans <wim@fluendo.com>
10110 * docs/design/part-qos.txt:
10111 Fix indexes in formulas to make more sense.
10113 2006-05-15 Wim Taymans <wim@fluendo.com>
10115 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10116 Don't report POSITION based on clock time if sync is
10117 disabled in a sink.
10119 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
10122 Add cast to make compiler happy - refcount variable was a gint
10123 in GstObject but is a guint in GObject and g_atomic_int_get()
10126 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
10128 * gst/parse/Makefile.am:
10129 chain commands using &&, which also makes parallel make work
10131 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
10133 * docs/gst/gstreamer-sections.txt:
10136 * gst/gstmessage.h:
10139 === release 0.10.6 ===
10141 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
10144 releasing 0.10.6, "Take the cannoli"
10146 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
10148 * tools/gst-launch.c: (print_tag):
10149 Fix use of uninitialized variable in the hypothetical
10150 case that some broken plugin creates a GST_TAG_IMAGE
10151 tag containing a NULL buffer (#341667).
10153 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
10155 * tools/gst-launch.c: (print_tag):
10156 Print something more intelligible for image tags when
10157 using the -t switch (#341556).
10159 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
10164 define GST_MAJORMINOR so we have it available in win32/common/config.h
10165 Possibly remove it from our Makefile.am files later
10166 * win32/common/config.h:
10167 * win32/common/config.h.in:
10168 added GST_MAJORMINOR
10169 * win32/common/gstenumtypes.c: (register_gst_resource_error):
10170 * win32/common/gstversion.h:
10173 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
10176 Update win32 files listing.
10177 * win32/common/gstversion.h:
10178 Add GST_MAJORMINOR definition.
10179 * win32/common/libgstreamer.def:
10180 Add new exported functions.
10182 2006-05-12 Michael Smith <msmith@fluendo.com>
10184 * gst/gstplugin.c: (gst_plugin_load_file):
10185 If an so file has no plugin entry point, unload the module.
10187 2006-05-11 Wim Taymans <wim@fluendo.com>
10189 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10190 (gst_queue_set_property):
10191 Don't forget to signal the _chain or _loop function
10192 when the queue size or thresholds change since that might
10193 cause them to make progres again.
10195 2006-05-11 Stefan Kost <ensonic@users.sf.net>
10197 * gst/gstclock.c: (gst_clock_class_init):
10198 * gst/gstindex.c: (gst_index_class_init):
10199 * gst/gstobject.c: (gst_object_class_init):
10200 * gst/gstpad.c: (gst_pad_class_init):
10201 * gst/gstpipeline.c: (gst_pipeline_class_init):
10202 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10203 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10204 * libs/gst/base/gstbasetransform.c:
10205 (gst_base_transform_class_init):
10206 * libs/gst/net/gstnetclientclock.c:
10207 (gst_net_client_clock_class_init):
10208 * libs/gst/net/gstnettimeprovider.c:
10209 (gst_net_time_provider_class_init):
10210 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10211 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10212 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10213 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10214 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10215 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10216 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10217 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10218 * plugins/elements/gsttee.c: (gst_tee_class_init):
10219 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10220 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10221 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10223 2006-05-11 Wim Taymans <wim@fluendo.com>
10225 * gst/gstbuffer.c: (_gst_buffer_initialize):
10226 Register subbufer along with the buffer type so that
10227 it does not accidentally gets registered from N
10228 different streaming threads in a non threadsafe way.
10230 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
10234 * gst/gstmessage.h:
10235 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10236 gst_event_ref() and gst_message_ref() functions again
10237 (ugly hack, please do fix if there's a better way besides
10238 overrides.txt, which doesn't seem to work).
10240 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10242 * libs/gst/check/gstcheck.h:
10243 add an assert for setting state to avoid lots of repetitive code
10246 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10248 * gst/gstvalue.c: (gst_value_serialize_flags):
10249 fix a leak if no flags are set
10250 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10253 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
10255 * docs/manual/basics-pads.xml:
10256 Expand a bit on caps and filtered links and update
10257 examples that were still using the no longer existing
10258 gst_pad_link_filtered() (#338206).
10260 2006-05-10 Wim Taymans <wim@fluendo.com>
10262 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10263 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10264 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10265 (gst_collect_pads_stop):
10266 * libs/gst/base/gstcollectpads.h:
10267 No need to call _stop in _finalize.
10268 Iterate the main pad list in _finalize.
10269 Added some more debug.
10270 Free lists and data in the right order.
10271 Also free data whem doing _remove_pad when stopped for
10272 backward compatibility protect ::started with PAD_LOCK as
10275 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10277 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10278 (gst_structure_parse_value):
10280 rename a method so that it actually says what it does better
10282 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
10284 * gst/gstevent.c: (_gst_event_initialize):
10285 * gst/gstformat.c: (_gst_format_initialize):
10286 make sure some essential types used by events are registered
10287 as part of gst_init()
10288 * gst/gstvalue.c: (gst_value_serialize_flags):
10289 if no flags are set, serialize them to a value that represents NONE
10290 so that deserializing them works
10291 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10292 add tests for serialization and deserialization of flags
10294 2006-05-10 Wim Taymans <wim@fluendo.com>
10296 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10297 (gst_collect_pads_collect_range), (gst_collect_pads_available),
10298 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10299 (gst_collect_pads_event), (gst_collect_pads_chain):
10302 Catch and return errors from the collect function
10303 Refuse data on eos pads.
10305 2006-05-10 Edward Hervey <edward@fluendo.com>
10307 * gst/gstinterface.h:
10308 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10309 GInterface type checking.
10310 They were previously using non-defined macros.
10312 2006-05-09 Wim Taymans <wim@fluendo.com>
10314 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10315 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10316 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10317 (gst_collect_pads_start), (gst_collect_pads_stop),
10318 (gst_collect_pads_peek), (gst_collect_pads_pop),
10319 (gst_collect_pads_available), (gst_collect_pads_read),
10320 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10321 (gst_collect_pads_is_collected), (gst_collect_pads_event),
10322 (gst_collect_pads_chain):
10323 * libs/gst/base/gstcollectpads.h:
10324 Clean up the mess that is collectpads, add comments and
10325 FIXMEs where needed.
10326 Maintain a separate pad list so we can add pads while
10327 collecting the other ones. For this we need a new separate
10329 Fix memory leak in finalize.
10330 Refactor some weird code to set/unset pad flushing flags, mark
10332 Don't crash in _available, _read, _flush when we're EOS.
10334 * tests/check/libs/.cvsignore:
10335 Ignore adapter check binary.
10337 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10339 * gst/gstindex.c: (gst_index_resolver_get_type):
10340 * plugins/elements/gstfakesink.c:
10341 (gst_fake_sink_state_error_get_type):
10342 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10343 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10344 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10345 Const-ify GEnumValue arrays.
10347 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10349 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10350 Add test case for flags + gst_buffer_make_metadata_writable().
10352 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10354 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10355 gst_buffer_make_metadata_writable() should maintain the
10356 buffer flags (those that make sense at least) (see #340859).
10358 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10360 * tools/gst-inspect.c:
10361 * tools/gst-launch.c:
10362 * tools/gst-typefind.c:
10363 * tools/gst-xmlinspect.c:
10365 Fix up includes: need to include stdlib.h in tools.h for exit().
10367 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10369 * gst/gsttaglist.c: (_gst_tag_initialize):
10370 * gst/gsttaglist.h:
10371 API: add GST_TAG_IMAGE tag (#340721).
10373 2006-05-08 Wim Taymans <wim@fluendo.com>
10376 Added some docs for the segment query.
10378 2006-05-08 Wim Taymans <wim@fluendo.com>
10380 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10381 (gst_base_src_loop), (gst_base_src_change_state):
10382 Always push non-flushing serialized events in the streaming
10385 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
10387 * gst/gsterror.c: (_gst_stream_errors_init):
10388 Add a missing error string.
10390 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
10392 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10393 Add applied_rate to the debug
10395 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10396 Copy applied_rate into the outgoing NEWSEGMENT event
10398 2006-05-08 Wim Taymans <wim@fluendo.com>
10400 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10402 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10403 (gst_base_sink_change_state):
10404 call ::unlock before taking the PREROLL_LOCK so we can safely
10405 handle elements that lock in ::render.
10408 2006-05-08 Edward Hervey <edward@fluendo.com>
10410 * autogen.sh: (CONFIGURE_DEF_OPT):
10411 Darwin's libtoolize is in fact called glibtoolize.
10412 Adding glibtoolize to the list of accepted names for libtoolize.
10414 2006-05-08 Wim Taymans <wim@fluendo.com>
10416 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10417 Unify error handling, don't post an error message
10418 when a push() returns EOS but perform our normal EOS
10419 handling code. Fixes #340772.
10421 2006-05-08 Wim Taymans <wim@fluendo.com>
10423 * docs/design/part-overview.txt:
10424 Make upsteam/downstream concepts more clear.
10425 Give an example of serialized/non-serialized events.
10427 * docs/design/part-events.txt:
10428 * docs/design/part-streams.txt:
10429 Mention applied_rate.
10431 * docs/design/part-trickmodes.txt:
10432 Mention applied rate, flesh out some more use cases.
10434 * gst/gstevent.c: (gst_event_new_new_segment),
10435 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10436 (gst_event_parse_new_segment_full), (gst_event_new_tag),
10437 (gst_event_parse_tag), (gst_event_new_buffer_size),
10438 (gst_event_parse_buffer_size), (gst_event_new_qos),
10439 (gst_event_parse_qos), (gst_event_parse_seek),
10440 (gst_event_new_navigation):
10442 Add applied_rate field to NEWSEGMENT event.
10443 API: gst_event_new_new_segment_full()
10444 API: gst_event_parse_new_segment_full()
10446 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10447 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10448 (gst_segment_to_stream_time), (gst_segment_to_running_time):
10449 * gst/gstsegment.h:
10450 Add applied_rate to GstSegment structure.
10451 Make calculation of stream_time and running_time more correct
10452 wrt rate/applied_rate.
10453 Add some more docs.
10454 API: GstSegment::applied_rate field
10455 API: gst_segment_set_newsegment_full();
10457 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10458 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10459 * libs/gst/base/gstbasetransform.c:
10460 (gst_base_transform_sink_eventfunc),
10461 (gst_base_transform_handle_buffer):
10462 Parse and use applied_rate in the GstSegment field.
10464 * tests/check/gst/gstevent.c: (GST_START_TEST):
10465 Add check for applied_rate field.
10467 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10468 (gstsegments_suite):
10469 Add more checks for various GstSegment operations.
10471 2006-05-08 Wim Taymans <wim@fluendo.com>
10473 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10474 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10475 (gst_base_sink_get_position), (gst_base_sink_change_state):
10476 Store the sync time of the buffer end position separatly in a
10477 new variable eos_rtime so we can properly sync the EOS event.
10479 Fix the docs for gst_base_sink_set_qos_enabled().
10480 Don't set segment start to invalid value when we receive a
10481 non TIME newsegment.
10482 get closer to handling position reporting for negative rates
10485 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10488 Docs about how to print caps for debug purposes.
10490 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10491 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10493 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10495 * gst/gstelement.c:
10496 use full enum names and preprend a '%' in docs strings to make recent
10497 gtk-doc turn that into a link
10499 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10501 * docs/manual/basics-bins.xml:
10502 * docs/manual/basics-bus.xml:
10503 * docs/manual/basics-pads.xml:
10504 Some typo fixes, some additions, some clarifications.
10506 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10508 * tools/gst-inspect.c: (main):
10509 * tools/gst-launch.c: (main):
10510 * tools/gst-run.c: (main):
10511 * tools/gst-typefind.c: (main):
10512 * tools/gst-xmlinspect.c: (main):
10513 Use the string passed to g_option_context_new() for
10514 what it's intended for - the program name is already
10517 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10519 * tools/Makefile.am:
10520 * tools/gst-inspect.c: (main):
10521 * tools/gst-launch.c: (main):
10522 * tools/gst-xmlinspect.c: (main):
10524 Add back --version command line option (#340460).
10526 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10527 Add --version option and use GOption for argument parsing; refactor a
10528 bit; accept directories as arguments and recurse into them; lastly,
10529 print a decent error message when things go wrong.
10531 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10533 * docs/manual/basics-bins.xml:
10534 Don't mention GstThread (#340611)
10535 * docs/manual/basics-elements.xml:
10536 Update link to GObject tutorial (#340607)
10538 2006-05-05 Wim Taymans <wim@fluendo.com>
10541 * gst/gstminiobject.c:
10542 Add note about refcounting and miniobject/buffer writeability
10543 to docs. Fixes #340604
10545 * gst/gstelementfactory.h:
10546 Added some explanation about @klass.
10548 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10550 * docs/manual/intro-motivation.xml:
10551 * docs/manual/manual.xml:
10552 Avoid CORBA & Bonobo references (#340598)
10554 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10556 * docs/manual/basics-bus.xml:
10557 * docs/manual/basics-pads.xml:
10558 Fix up some inaccuracies and omissions (#340609)
10560 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10562 * gst/gstghostpad.c:
10563 Small typo in docs (#340625)
10565 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10567 * gst/parse/Makefile.am:
10568 Make 'make -j' proof (see #340698).
10570 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10573 Require GLib-2.8 here as well.
10575 2006-05-05 Wim Taymans <wim@fluendo.com>
10577 * gst/glib-compat.c:
10578 * gst/gst.c: (init_pre):
10579 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10580 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10581 (gst_object_dispatch_properties_changed):
10583 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10584 * gst/gststructure.c: (gst_structure_set_valist):
10585 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10586 Remove pre glib2.8 compatibility, fixes #340508
10588 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10590 * gst/gsttaglist.h:
10591 Mention type of tags in doc blurbs.
10593 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
10595 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10596 (gst_pad_configure_src), (gst_pad_push):
10597 Restore acceptcaps checking behaviour now that good plugins have
10600 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10602 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10609 * gst/gstmessage.c:
10613 * gst/parse/Makefile.am:
10614 * libs/gst/base/gstadapter.c:
10615 * libs/gst/base/gstbasesrc.c:
10616 * libs/gst/base/gstpushsrc.c:
10617 * libs/gst/base/gsttypefindhelper.c:
10618 * plugins/elements/gstfakesrc.c:
10619 * plugins/elements/gstidentity.c:
10620 Make sure gstprivate.h and/or config.h are
10621 always included first, otherwise some of our
10622 defines (like _FILE_OFFSET_BITS) might be
10623 redefined in the system headers. Fixes build
10624 on opensolaris (#340016).
10626 2006-05-04 Wim Taymans <wim@fluendo.com>
10628 * docs/libs/gstreamer-libs-sections.txt:
10629 API: addition: gst_adapter_take_buffer()
10631 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10632 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10633 (gst_adapter_available_fast):
10634 * libs/gst/base/gstadapter.h:
10635 Prepare for optimizing the hell out of this hugely inefficient
10637 Added gst_adapter_take_buffer() so we can at least start thinking
10638 about subbuffering and merging.
10639 Added some comments.
10641 * tests/check/Makefile.am:
10642 * tests/check/libs/adapter.c: (GST_START_TEST),
10643 (gst_adapter_suite), (main):
10644 Added GstAdapter check.
10646 2006-05-04 Wim Taymans <wim@fluendo.com>
10648 * docs/design/part-overview.txt:
10649 Fix some typos, add blurb about buffer flags.
10651 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10653 * docs/libs/gstreamer-libs-sections.txt:
10654 make sure GstBaseTransformClass shows up in the docs
10655 * libs/gst/base/gstbasetransform.c:
10656 * libs/gst/base/gstbasetransform.h:
10657 move docs so gtk-doc picks it up now
10659 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10661 * docs/libs/gstreamer-libs-sections.txt:
10662 add missing symbols to docs
10664 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10666 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10667 back out the newsegment handling change, see #340060 for ongoing
10670 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10672 * tools/gst-run.c: (get_candidates), (main):
10673 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10674 work); fix typo in error message. Fixes #340079.
10676 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10678 * common/Makefile.am:
10679 * docs/Makefile.am:
10680 * docs/faq/Makefile.am:
10681 * docs/gst/Makefile.am:
10682 * docs/libs/Makefile.am:
10683 * docs/manual/Makefile.am:
10684 * docs/plugins/Makefile.am:
10685 * docs/pwg/Makefile.am:
10686 * docs/slides/Makefile.am:
10688 * common/upload.mak:
10689 move upload.mak to common
10691 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10693 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10694 add more asserts on refcounts
10695 do more cleanup at end of tests
10696 fix test leaks showing in FC5
10698 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10700 * plugins/elements/gsttypefindelement.c:
10701 (gst_type_find_element_handle_event):
10702 reverted wrong change and reflowed code to avoid others falling into
10705 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10707 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10708 fix changelog entry about last collectpads change,
10709 add notes about proper fix
10711 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10714 * gst/gstregistry.c: (gst_registry_scan_path_level),
10715 (gst_registry_scan_path):
10716 * gst/gstregistry.h:
10717 only write out registry if it has changed, fixes #338339
10719 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10722 * gst/gstpipeline.c:
10723 * plugins/elements/gstcapsfilter.c:
10724 * plugins/elements/gstfakesink.c:
10725 * plugins/elements/gstfakesrc.c:
10726 * plugins/elements/gstfdsink.c:
10727 * plugins/elements/gstfdsrc.c:
10728 * plugins/elements/gstfilesink.c:
10729 * plugins/elements/gstfilesrc.c:
10730 * plugins/elements/gstidentity.c:
10731 * plugins/elements/gstqueue.c:
10732 * plugins/elements/gsttee.c:
10733 * plugins/elements/gsttypefindelement.c:
10734 (gst_type_find_element_handle_event):
10735 make GstElementDetails const
10737 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10739 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10741 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10742 more detailed debug and formatting cleanup,
10743 forward newsegments to src-pad (so that e.g. adder not eats them)
10745 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10747 * gst/gstutils.c: (gst_element_link_pads):
10748 cleanup double code
10750 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10752 * libs/gst/controller/gstcontroller.c:
10753 (gst_controller_sync_values):
10755 * tests/check/libs/controller.c: (GST_START_TEST),
10756 (gst_controller_suite):
10757 a new test for live value handling
10759 2006-04-28 Wim Taymans <wim@fluendo.com>
10761 * gst/gstutils.c: (push_and_ref):
10762 Added some more docs.
10763 Fix refcount issue whith gst_element_found_tags() helper
10764 function. Fixes #338335
10766 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10767 Added testsuite for gst_element_found_tags().
10769 2006-04-28 Michael Smith <msmith@fluendo.com>
10771 * gst/gstvalue.c: (gst_value_serialize_flags):
10772 Avoid NULL dereference when trying to serialize flags containing
10775 2006-04-28 Michael Smith <msmith@fluendo.com>
10777 * plugins/elements/gsttypefindelement.c:
10778 (gst_type_find_element_handle_event):
10779 If we get EOS before any data is accumulated, don't use
10780 uninitialised local variables.
10782 2006-04-28 Michael Smith <msmith@fluendo.com>
10784 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10785 (gst_dp_event_from_packet):
10786 Fixes in reading/writing events over GDP (not currently used?) -
10787 dereferencing NULL events for unknown/invalid event types, memory
10788 leak, and change g_warning to GST_WARNING.
10790 2006-04-28 Wim Taymans <wim@fluendo.com>
10792 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10793 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10794 (gst_base_sink_get_position), (gst_base_sink_change_state):
10795 When frame dropping is enabled, we should not ignore frames
10796 without a duration.
10797 Update some documentation.
10799 2006-04-28 Wim Taymans <wim@fluendo.com>
10801 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10802 (gst_base_src_send_event), (gst_base_src_change_state):
10803 Documentation updates.
10805 2006-04-28 Wim Taymans <wim@fluendo.com>
10807 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10808 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10809 handle EAGAIN, EINTR and short writes correctly. Also clean
10810 up some error cases, avoid a deadlock on bad file descriptors and
10811 use GST_DEBUG_OBJECT.
10814 2006-04-28 Wim Taymans <wim@fluendo.com>
10816 * gst/gstvalue.c: (gst_value_serialize_buffer),
10817 (gst_value_deserialize_buffer):
10818 Don't try to serialize a GValue with a NULL buffer.
10821 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10822 Added check for serialisation of NULL buffers.
10824 2006-04-28 Wim Taymans <wim@fluendo.com>
10826 * gst/gstminiobject.c: (gst_value_take_mini_object):
10827 Taking a NULL miniobject is valid, fix the case where
10828 we try to unref the NULL miniobject.
10830 2006-04-28 Wim Taymans <wim@fluendo.com>
10832 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10834 * gst/gstbin.c: (gst_bin_handle_message_func):
10836 Don't leak bin refcount when a state recalc is
10837 in progress and we delay another one #339808.
10839 2006-04-28 Wim Taymans <wim@fluendo.com>
10841 * docs/design/part-TODO.txt:
10842 Mention QoS as an ongoing work item.
10844 * docs/design/part-buffering.txt:
10845 New doc about buffering that needs to be fleshed out
10848 * docs/design/part-qos.txt:
10849 More QoS policy for decoders/demuxers/transforms
10851 * docs/design/part-trickmodes.txt:
10854 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10859 === release 0.10.5 ===
10861 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10864 releasing 0.10.5, "Fogo"
10866 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10868 patch by: Wim Taymans
10870 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10871 (gst_pad_configure_src), (gst_pad_push):
10872 * gst/gstpipeline.c: (gst_pipeline_init):
10873 Fix internal data flow errors. Fixes #338711.
10875 2006-04-12 Wim Taymans <wim@fluendo.com>
10877 * tests/check/gst/gstelement.c: (GST_START_TEST):
10878 Don't leak the factory.
10880 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10883 * win32/common/config.h:
10886 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10888 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10889 (gst_controller_unset_all):
10890 Free allocated GstTimedValues when freeing list nodes.
10891 Should fix leaks 'make check-valgrind' complains about.
10893 * win32/common/libgstcontroller.def:
10894 Add gst_controller_unset_all.
10896 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10898 * docs/libs/gstreamer-libs-sections.txt:
10899 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10900 (gst_controller_unset_all):
10901 * libs/gst/controller/gstcontroller.h:
10902 API: Added new method gst_controller_unset_all()
10903 fixed gst_controller_unset()
10904 * tests/check/libs/controller.c: (GST_START_TEST),
10905 (gst_controller_suite):
10906 Added two testcases for new and fixed method
10908 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10910 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10911 MSG_DONTWAIT is not defined on Cygwin, so work
10912 around that (fixes #317048).
10914 2006-04-11 Wim Taymans <wim@fluendo.com>
10916 * gst/gstelementfactory.c: (gst_element_register),
10917 (gst_element_factory_create), (gst_element_factory_make):
10920 Updated docs (Fixes #131079)
10922 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10925 * tests/check/gst/gstelement.c: (GST_START_TEST),
10926 (gst_element_suite):
10927 Added testcase for elementfactory class field.
10929 2006-04-10 Wim Taymans <wim@fluendo.com>
10931 * gst/gstsegment.c:
10932 Added some more docs.
10934 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10935 (gst_base_sink_reset_qos):
10936 Calculate more accurate rate values.
10938 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10940 * gst/gst_private.h:
10941 add a new #ifdef to use __declspec(dllimport) only for
10942 other modules and not for gstreamer core
10943 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10944 use gst_guint64_to_gdouble for conversion
10945 * win32/common/libgstreamer.def:
10946 add new exported functions
10947 * win32/vs6/gst_inspect.dsp:
10948 * win32/vs6/gst_launch.dsp:
10949 * win32/vs6/libgstbase.dsp:
10950 * win32/vs6/libgstcontroller.dsp:
10951 * win32/vs6/libgstcoreelements.dsp:
10952 * win32/vs6/libgstdataprotocol.dsp:
10953 * win32/vs6/libgstnet.dsp:
10954 update project files
10956 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10958 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10959 * gst/gstclock.c: (gst_clock_class_init):
10960 * gst/gstelement.c: (gst_element_class_init):
10961 * gst/gstindex.c: (gst_index_class_init):
10962 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10963 * gst/gstobject.c: (gst_object_class_init),
10964 (gst_signal_object_class_init):
10965 * gst/gstpad.c: (gst_pad_class_init):
10966 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10967 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10968 * gst/gstregistry.c: (gst_registry_class_init):
10969 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10970 * gst/gsttask.c: (gst_task_class_init):
10971 * gst/gstxml.c: (gst_xml_class_init):
10972 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10973 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10974 (gst_base_src_loop):
10975 * libs/gst/controller/gstcontroller.c:/
10976 (_gst_controller_class_init):
10977 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10978 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10979 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10980 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10981 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10982 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10984 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10986 * gst/gstpad.c: (gst_pad_link):
10987 Must set peer pads before calling the link function, otherwise
10988 a task started from a link function might get a flow-not-linked
10989 result when trying to push because the other thread where the
10990 linking happens hasn't had a chance to set the peers yet. This
10991 might happen for example when a queue gets linked to a downstream
10992 element, as queue starts a streaming task when its source pad
10993 gets linked. Happens in real life when playing back flac/musepack
10994 files in playbin (#332390).
10996 2006-04-08 Stefan Kost <ensonic@users.sf.net>
11000 * libs/gst/base/gstadapter.h:
11001 * libs/gst/base/gstbasesink.h:
11002 * libs/gst/base/gstbasesrc.h:
11003 * libs/gst/base/gstbasetransform.h:
11004 * libs/gst/base/gstcollectpads.h:
11005 * libs/gst/base/gstpushsrc.h:
11006 Fix broken GObject macros
11008 2006-04-07 Wim Taymans <wim@fluendo.com>
11010 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11011 Initialize start and stop times, thanks valgrind.
11013 2006-04-07 Wim Taymans <wim@fluendo.com>
11015 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11016 Be a bit nicer to badly behaving upstream elements that expect
11017 us to deal with non TIME segments and timestamps (such as fakesrc
11020 2006-04-07 Wim Taymans <wim@fluendo.com>
11023 Small documentation clarification about the signal watch.
11025 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11026 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11027 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11028 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11029 (gst_base_sink_get_position_last),
11030 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11031 Convert and store timestamps in stream time and running time, the
11032 raw timestamps are not useful, also document this better.
11033 Use different window sizes for good and bad QoS observations so
11034 we react to badness a little quicker.
11035 Keep track of the amount of rendered and dropped buffers.
11036 Send QoS timestamps in running time.
11038 * libs/gst/base/gstbasetransform.c:
11039 (gst_base_transform_sink_eventfunc),
11040 (gst_base_transform_handle_buffer):
11041 Compare QoS timestamps against running time.
11043 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11046 Typo fixes in docs.
11048 2006-04-06 Michael Smith <msmith@fluendo.com>
11050 * gst/gstpad.c: (gst_pad_set_property):
11051 Use g_value_get_object() instead of g_value_dup_gst_object(),
11052 to avoid double-reffing the pad template (which we then sink,
11053 so this worked previously if (and only if) the pad template
11056 * gst/gstpadtemplate.c: (gst_pad_template_init),
11057 (gst_pad_template_pad_created):
11058 Never return floating references to pad templates, create
11059 them as initially-sunken.
11061 Document an extra function (and make this stop sinking our
11062 pad template, since that is now guaranteed to do nothing,
11063 since we created it sunken).
11065 * gst/gstghostpad.c:
11068 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
11070 * gst/gstinfo.c: (__gst_in_valgrind):
11073 * plugins/elements/gsttypefindelement.c:
11074 (gst_type_find_element_chain):
11075 Don't leak buffer caps.
11077 2006-04-06 Michael Smith <msmith@fluendo.com>
11079 * gst/parse/grammar.y:
11080 Fix a leak in parse-launch for any source-or-sink named element
11083 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11084 Unref the pipeline if it exists after we've failed parsing.
11086 2006-04-05 Michael Smith <msmith@fluendo.com>
11088 * gst/gstpipeline.c: (gst_pipeline_init):
11089 When we create a pipeline bus, initially create it in flushing mode.
11090 Fixes leaks in at least one test, and makes a new pipeline work the
11091 same as one that has gone to READY and then back to NULL.
11093 * gst/gstelement.c:
11096 2006-04-05 Michael Smith <msmith@fluendo.com>
11098 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11099 Unref a pad we reffed.
11100 * tests/check/gst/gstutils.c: (GST_START_TEST):
11103 2006-04-05 Michael Smith <msmith@fluendo.com>
11105 * gst/gstquery.c: (gst_query_set_formats),
11106 (gst_query_set_formatsv):
11107 Fix leaking GValues in queries, as shown by valgrind/testsuite.
11109 2006-04-05 Michael Smith <msmith@fluendo.com>
11111 * tests/check/generic/sinks.c: (GST_START_TEST):
11112 Fix a variety of memleaks in sinks check, which are only sometimes
11113 shown by running the tests under valgrind (weird?).
11115 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
11117 * docs/version.entities.in:
11118 Fix the substituted entity name after thomas' changes on the
11121 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11123 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11126 2006-04-05 Andy Wingo <wingo@pobox.com>
11128 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11130 * libs/gst/base/gstbasetransform.c
11131 (gst_base_transform_sink_eventfunc): When resetting our segment on
11132 FLUSH_STOP, also update the flag saying we haven't seen a
11135 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11137 Patch by: Paolo Borelli <pborelli at katamail dot com>
11139 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11140 (gst_plugin_check_license):
11141 minor clean-ups: G_DEFINE_TYPE already takes care of the
11142 parent_class stuff, no need to do it twice. Mark array of
11143 license strings as constant. (#337103)
11145 2006-04-04 Michael Smith <msmith@fluendo.com>
11147 * tools/gst-inspect.c: (print_element_list):
11148 Free the right plugin list; fixes a memory leak.
11150 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11152 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11154 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11155 Don't error out on empty buffers (#336945).
11157 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
11159 * docs/libs/gstreamer-libs-sections.txt:
11160 * gst/gsttaglist.c:
11161 * libs/gst/base/gstbasesink.c:
11162 * libs/gst/base/gstbasesink.h:
11163 * libs/gst/base/gstbasesrc.c:
11164 * libs/gst/base/gstbasesrc.h:
11165 Documentation updates. Make BaseSink and BaseSrc docs contain the
11166 class structure so that people can actually see the prototypes for
11167 virtual functions they're supposed to be overriding.
11169 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
11171 * plugins/elements/gsttypefindelement.c:
11172 (gst_type_find_element_chain):
11173 More debug info; when skipping typefinding, send cached
11174 events in all cases.
11176 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
11179 use new AS_VERSION and AS_NANO macros
11180 * gst/gst-i18n-lib.h:
11183 * gst/gstversion.h.in:
11184 * win32/common/config.h:
11185 * win32/common/config.h.in:
11188 2006-03-31 Michael Smith <msmith@fluendo.com>
11190 * plugins/elements/gsttypefindelement.c:
11191 (gst_type_find_element_chain):
11192 Do not typefind content if the buffers already have caps.
11193 Neccesary for icydemux (#333657), and the right thing to do anyway.
11195 2006-03-30 Wim Taymans <wim@fluendo.com>
11197 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11198 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11199 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11200 (gst_base_sink_record_qos_observation),
11201 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11202 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11203 (gst_base_sink_change_state):
11204 More QoS measurements as described in the design doc.
11205 Get rid of ringbuffer with observations, running average is
11206 more simple and equally good.
11207 Calculates valid proportion now.
11208 Added beginning of flood measurement.
11210 2006-03-29 Wim Taymans <wim@fluendo.com>
11212 * docs/design/part-qos.txt:
11214 Small documentation updates and additions.
11216 2006-03-29 Wim Taymans <wim@fluendo.com>
11218 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11219 (gst_base_src_send_event), (gst_base_src_loop),
11220 (gst_base_src_change_state):
11221 Perform the EOS logic when we reach the segment stop position.
11222 Fix compilation on gcc4.1
11224 2006-03-29 Wim Taymans <wim@fluendo.com>
11226 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11228 * plugins/elements/gstqueue.c: (gst_queue_init),
11229 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11230 (gst_queue_set_property):
11231 * plugins/elements/gstqueue.h:
11232 In queue, when EOS is received, if minimum threshold > max_size -
11233 current_level, there is chance that queue blocks forever in conditional
11234 item del wait. This is because the queue is not emptied completely due
11235 to minimum threshold. Here is another approach. Instead of setting
11236 cur_levels to max in EOS, just zero all minimum threshold levels. This
11237 should make sure that queue gives out all data. When going to READY
11238 (stop) state, just reset the original minimum threshold levels.
11241 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
11243 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11244 (gst_type_find_element_handle_event),
11245 (gst_type_find_element_send_cached_events),
11246 (gst_type_find_element_change_state):
11247 * plugins/elements/gsttypefindelement.h:
11248 When typefinding is done in push mode, we should cache
11249 events we receive during typefinding instead of just
11250 dropping them (e.g. newsegment, custom events from
11251 dvdreadsrc etc.) and then send them out once we've
11252 determined the type of the stream (and decodebin
11253 has had a chance to plug in a decoder/demuxer).
11255 2006-03-27 Wim Taymans <wim@fluendo.com>
11257 * docs/design/part-qos.txt:
11260 2006-03-27 Wim Taymans <wim@fluendo.com>
11262 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11264 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11265 (gst_base_src_send_event), (gst_base_src_change_state):
11266 Handle element seek correctly when we are streaming.
11269 2006-03-24 Michael Smith <msmith@fluendo.com>
11271 * docs/faq/gst-uninstalled:
11272 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11273 allow you to correctly run intalled applications built against old
11274 core, using plugins that require updated core (e.g. running
11275 installed totem against a full uninstalled gstreamer stack)
11277 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11282 2006-03-24 Wim Taymans <wim@fluendo.com>
11284 * docs/gst/gstreamer-sections.txt:
11285 Rearrange the order of the methods so that related methods
11286 are grouped together in sections.
11288 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11290 * gst/gstelement.c:
11291 Little clarification in the docs
11293 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11297 * plugins/elements/gstidentity.c:
11298 * plugins/elements/gstqueue.c:
11299 * plugins/elements/gsttee.c:
11300 * plugins/elements/gsttypefindelement.c:
11301 GST_ELEMENT_DETAILS formatting
11303 2006-03-24 Wim Taymans <wim@fluendo.com>
11305 * libs/gst/base/gstbasesink.h:
11306 Only add fields, not insert or we break ABI.
11308 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11310 * win32/common/libgstbase.def:
11311 * win32/common/libgstreamer.def:
11312 Update, add recently added functions.
11314 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11316 * docs/gst/gstreamer-sections.txt:
11317 * gst/gstutils.c: (gst_pad_query_peer_position),
11318 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11320 API: add some new utility functions:
11321 - gst_pad_query_peer_position()
11322 - gst_pad_query_peer_duration()
11323 - gst_pad_query_peer_convert()
11325 2006-03-23 Wim Taymans <wim@fluendo.com>
11327 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11328 (gst_base_sink_init), (gst_base_sink_finalize),
11329 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11330 (gst_base_sink_set_property), (gst_base_sink_get_property),
11331 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11332 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11333 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11334 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11335 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11336 (gst_base_sink_preroll_object), (gst_base_sink_event),
11337 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11338 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11339 (gst_base_sink_query), (gst_base_sink_change_state):
11340 Decouple max-lateness and the fact that QoS messages are generated
11341 with a new property (qos).
11342 added API: GstBaseSink::async_play()
11343 Add vmethod so subclasses can be notified of ASYNC playing
11345 Collect timestamp start and stop to report better current
11346 position in EOS/PLAYING/PAUSED/READY/NULL.
11347 Refactor QoS/frame dropping and other measurements.
11348 API: GstBaseSrc::qos
11351 * libs/gst/base/gstbasesink.h:
11352 Added Private struct.
11353 API: gst_base_sink_set_qos_enabled()
11354 API: gst_base_sink_is_qos_enabled()
11356 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11358 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11359 If compiling against GLib-2.8 or newer, try to read the
11360 registry file using GMappedFile first before falling back
11361 to fopen() + fread() (#332151).
11363 2006-03-22 Wim Taymans <wim@fluendo.com>
11365 * gst/gstinfo.c: (gst_debug_set_active),
11366 (gst_debug_category_set_threshold):
11367 Disable debugging unless explicitly activated.
11370 2006-03-22 Wim Taymans <wim@fluendo.com>
11372 * gst/gstelement.c: (gst_element_set_locked_state),
11373 (gst_element_dispose):
11374 Cleanup the error case.
11376 * gst/gstobject.c: (gst_object_dispose):
11377 print a critical when some object was disposed with
11378 a parent, also revive the object since it might
11381 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
11383 * tools/gst-launch.1.in:
11386 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
11389 * tests/check/Makefile.am:
11390 disable some tests when we don't have a registry
11391 * tests/check/gst/gstutils.c: (gst_utils_suite):
11392 don't build the part that needs parsing
11394 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
11397 * tests/examples/Makefile.am:
11398 fix --disable-parse build
11400 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11402 * tools/gst-feedback.1.in:
11403 Fix typo: s/feeback/feedback/ (#133494).
11405 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11407 * tools/Makefile.am:
11408 * tools/gst-launch.1.in:
11409 Add FILES section and correct entry about GST_REGISTRY_PATH
11410 environment variable (#133495; #133494).
11412 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11414 * tools/Makefile.am:
11415 * tools/gst-md5sum.1.in:
11416 * tools/gst-md5sum.c:
11417 Remove gst-md5sum and man page (the md5sink element
11418 required was removed ages ago)
11420 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11422 * gst/gststructure.c: (gst_structure_id_set_value):
11423 Make sure that string fields in structures/taglists
11424 contain valid UTF-8 - we don't want to pass rubbish to
11425 applications because of a buggy plugin (cp. #334167).
11427 2006-03-21 Edward Hervey <edward@fluendo.com>
11429 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11430 (gst_bin_handle_message_func):
11431 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11432 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11433 (gst_element_set_bus_func):
11434 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11435 * gst/gstminiobject.c: (gst_value_set_mini_object),
11436 (gst_value_take_mini_object):
11437 * gst/gstpad.c: (gst_pad_set_pad_template):
11438 * gst/gstpipeline.c: (gst_pipeline_dispose),
11439 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11440 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11441 (gst_collect_pads_chain):
11442 * libs/gst/net/gstnettimeprovider.c:
11443 (gst_net_time_provider_set_property):
11444 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11445 It's in fact all issues with gst_*object_replace().
11447 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11449 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
11451 * pkgconfig/gstreamer-check-uninstalled.pc.in:
11452 * pkgconfig/gstreamer-check.pc.in:
11453 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11455 2006-03-21 Edward Hervey <edward@fluendo.com>
11459 * gst/gstmessage.h:
11460 gst_[buffer|event|message]_ref() macros are replaced by a static
11461 inline functions because gcc-4.1 will about if the return value
11463 * tests/check/gst/gstevent.c: (event_probe):
11464 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11466 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
11469 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11470 the type' case. (Closes: #335195 for now). In the future, when we
11471 depend on GLib 2.10, we could also intern the type name using
11472 g_intern_static_string()
11474 2006-03-20 Wim Taymans <wim@fluendo.com>
11476 * gst/gstbin.c: (gst_bin_handle_message_func),
11477 (bin_query_max_init), (bin_query_position_fold),
11478 (bin_query_position_done), (gst_bin_query):
11479 Position query should also take max of all streams.
11481 2006-03-20 Wim Taymans <wim@fluendo.com>
11483 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11484 (gst_fake_src_finalize):
11485 Fix leaks in fakesrc.
11487 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11488 Fix leaks in the testcase.
11490 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
11492 * gst/gst_private.h:
11493 add win32 specific import decoration(__declspec(dllimport))
11494 for all extern GstDebugCategory * variables
11495 * win32/common/libgstbase.def:
11496 * win32/common/libgstcontroller.def:
11497 * win32/common/libgstreamer.def:
11498 Add some exports, remove empty lines
11499 * win32/common/libgstdataprotocol.def:
11500 * win32/common/libgstdataprotocol.dsp:
11501 * win32/common/libgstnet.def:
11502 * win32/common/libgstnet.dsp:
11503 new project files and exportation files added
11505 2006-03-19 Wim Taymans <wim@fluendo.com>
11507 * tests/check/libs/basesrc.c: (eos_event_counter):
11508 Use proper return value for probe.
11510 2006-03-17 Wim Taymans <wim@fluendo.com>
11512 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11514 Don't leak buffers, caps and pads on negotiation errors.
11516 2006-03-16 Stefan Kost <ensonic@users.sf.net>
11518 * docs/faq/cvs.xml:
11519 * docs/faq/dependencies.xml:
11520 * docs/faq/developing.xml:
11521 * docs/faq/faq.xml:
11522 * docs/faq/general.xml:
11523 * docs/faq/getting.xml:
11524 * docs/faq/legal.xml:
11525 * docs/faq/troubleshooting.xml:
11526 * docs/faq/using.xml:
11527 Faq review and update.
11529 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
11531 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11533 Don't pound the cpu to pieces by checking get_caps when accept_caps
11534 is called with the same caps as the pad already has.
11535 Use GST_DEBUG_OBJECT when outputting caps change information.
11537 2006-03-15 Wim Taymans <wim@fluendo.com>
11539 * gst/gstclock.c: (gst_clock_class_init):
11542 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
11547 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11548 (gst_pad_accept_caps), (gst_pad_configure_sink),
11549 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11550 Make the default acceptcaps behaviour be to check the requested
11551 caps against the gst_pad_get_caps output.
11553 Ensure that gst_pad_accept_caps is used to check caps when a pad
11554 doesn't have a setcaps function, so that pads automatically refuse
11555 caps that they don't allow in their pad template. (Fixes #332986)
11557 When a buffer with attached caps is pushed, ensure that the source
11558 pad receives those caps even if the element didn't call
11559 gst_pad_set_caps first.
11561 2006-03-15 Wim Taymans <wim@fluendo.com>
11563 * libs/gst/base/gstadapter.c:
11566 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
11568 * win32/common/libgstbase.def:
11569 * win32/common/libgstcontroller.def:
11570 * win32/common/libgstreamer.def:
11571 Add a whole bunch of missing functions (#334434).
11573 2006-03-14 Wim Taymans <wim@fluendo.com>
11575 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11576 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11577 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11578 Better debug info when we receive a segment event.
11579 Reorganize a bit so we can pass the get_times() results around.
11580 Use the segment format when calculating the running time.
11581 Don't do QoS is sync is disabled or we have no clock or the
11582 element does not want us to sync to the clock.
11583 Don't drop buffers if QoS is disabled for now.
11585 2006-03-14 Wim Taymans <wim@fluendo.com>
11587 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11588 Marked the stats property as unimplemented so people don't get
11590 Add debug message when regression goes wrong.
11591 Added some more docs.
11593 2006-03-14 Wim Taymans <wim@fluendo.com>
11595 * gst/gstsegment.c: (gst_segment_to_stream_time):
11596 Return correct return type in case of errors.
11598 2006-03-14 Wim Taymans <wim@fluendo.com>
11600 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11601 Don't segfault on invalid formats.
11603 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11605 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11606 Can't use gst_segment_to_running_time() when the segment
11607 is not in GST_TIME_FORMAT (like with filesink, for example).
11608 Stops flac encoding pipelines from spewing critical warnings
11611 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11613 * gst/gstpipeline.c: (gst_pipeline_class_init):
11614 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11616 * plugins/elements/gsttypefindelement.c:
11617 (gst_type_find_element_handle_event):
11618 Don't try to typefind empty streams.
11620 2006-03-14 Wim Taymans <wim@fluendo.com>
11622 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11623 (gst_base_sink_do_qos):
11624 Separate QoS calculation.
11625 Only drop buffers when lateness is bigger than the
11626 duration of the buffer.
11628 2006-03-13 Wim Taymans <wim@fluendo.com>
11630 * gst/gstpipeline.c: (gst_pipeline_set_property),
11631 (gst_pipeline_get_property), (do_pipeline_seek),
11632 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11633 (gst_pipeline_get_delay):
11634 Don't deadlock when reading properties.
11636 2006-03-13 Wim Taymans <wim@fluendo.com>
11638 * libs/gst/base/gstbasetransform.c:
11639 (gst_base_transform_class_init), (gst_base_transform_init),
11640 (gst_base_transform_sink_event),
11641 (gst_base_transform_sink_eventfunc),
11642 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11643 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11644 (gst_base_transform_set_property),
11645 (gst_base_transform_get_property),
11646 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11647 (gst_base_transform_set_qos_enabled),
11648 (gst_base_transform_is_qos_enabled):
11649 * libs/gst/base/gstbasetransform.h:
11650 Make basetransform virtual method for src events too.
11651 Handle QOS in basetransform.
11652 API: gst_base_transform_update_qos()
11653 API: gst_base_transform_set_qos_enabled()
11654 API: gst_base_transform_is_qos_enabled()
11656 2006-03-13 Wim Taymans <wim@fluendo.com>
11658 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11659 (gst_base_sink_do_sync):
11661 Use QOS debug category.
11663 2006-03-13 Wim Taymans <wim@fluendo.com>
11665 * plugins/elements/gstqueue.c:
11666 Very small doc update.
11668 2006-03-13 Wim Taymans <wim@fluendo.com>
11670 * gst/gst_private.h:
11671 * gst/gstinfo.c: (_gst_debug_init):
11672 Added QOS debug category
11674 2006-03-13 Wim Taymans <wim@fluendo.com>
11676 * docs/gst/gstreamer-sections.txt:
11677 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11679 * gst/gstbus.c: (gst_bus_class_init):
11682 * gst/gstelement.c: (gst_element_set_locked_state):
11683 * gst/gstsegment.c:
11684 Documentation updates.
11686 * gst/gstpipeline.c: (gst_pipeline_get_type),
11687 (gst_pipeline_class_init), (gst_pipeline_init),
11688 (gst_pipeline_dispose), (gst_pipeline_set_property),
11689 (gst_pipeline_get_property), (do_pipeline_seek),
11690 (gst_pipeline_send_event), (gst_pipeline_change_state),
11691 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11692 (gst_pipeline_get_delay):
11693 * gst/gstpipeline.h:
11694 Added methods for setting the delay.
11695 API: gst_pipeline_set_delay()
11696 API: gst_pipeline_get_delay()
11697 Add pipeline debug category
11700 Don't reset stream time when seek failed.
11702 2006-03-13 Wim Taymans <wim@fluendo.com>
11704 * docs/design/draft-klass.txt:
11705 * docs/design/part-clocks.txt:
11706 * docs/design/part-events.txt:
11707 * docs/design/part-gstbin.txt:
11708 * docs/design/part-gstpipeline.txt:
11709 * docs/design/part-messages.txt:
11710 * docs/design/part-negotiation.txt:
11711 * docs/design/part-overview.txt:
11712 * docs/design/part-preroll.txt:
11713 * docs/design/part-seeking.txt:
11714 * docs/design/part-states.txt:
11715 * docs/design/part-streams.txt:
11716 Documentation updates.
11718 2006-03-12 Julien MOUTTE <julien@moutte.net>
11720 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11721 us to leak strings...
11723 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11725 * libs/gst/net/gstnettimeprovider.c:
11727 * win32/common/config.h:
11730 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11732 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11735 Don't check for libgnomeui (leftover from old examples
11736 that aren't built or disted any longer) (#334303).
11738 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11740 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11741 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11742 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11743 there's no space left on the device.
11745 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11748 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11749 to cast the input to GstClockTime before comparing with
11750 another GstClockTime value.
11752 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11757 === release 0.10.4 ===
11759 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11762 releasing 0.10.4, "Light"
11764 2006-03-10 Michael Smith <msmith@fluendo.com>
11766 * libs/gst/dataprotocol/dataprotocol.c:
11767 Fix docs for dataprocotol to not get the return types completely
11768 wrong for a few functions.
11770 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11772 * docs/gst/gstreamer-sections.txt:
11773 * gst/gstpipeline.c: (gst_pipeline_class_init),
11774 (gst_pipeline_init), (gst_pipeline_set_property),
11775 (gst_pipeline_get_property), (gst_pipeline_change_state),
11776 (gst_pipeline_set_auto_flush_bus),
11777 (gst_pipeline_get_auto_flush_bus):
11778 * gst/gstpipeline.h:
11779 Add new API: gst_pipeline_set_auto_flush_bus() and
11780 gst_pipeline_get_auto_flush_bus() to disable automatic
11781 flushing of the pipeline's GstBus when going from READY
11782 to NULL state (#332045).
11784 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11786 * docs/gst/gstreamer-sections.txt:
11787 * gst/gsturi.c: (gst_uri_has_protocol):
11789 Add new API: gst_uri_has_protocol() (#333779).
11791 2006-03-09 Wim Taymans <wim@fluendo.com>
11793 * gst/gstclock.c: (gst_clock_entry_new),
11794 (gst_clock_id_compare_func), (gst_clock_id_wait),
11795 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11796 (gst_clock_init), (gst_clock_get_internal_time),
11797 (gst_clock_set_master), (do_linear_regression),
11798 (gst_clock_add_observation), (gst_clock_set_property):
11802 Fix a possible segfault when the window-size is made smaller.
11803 Calculate jitter before performing the clock wait. Ideally
11804 the clock implementation should calculate jitter but we need
11805 API breakage for that.
11807 * gst/gstsystemclock.c: (gst_system_clock_init):
11810 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11811 Remove leftover else
11813 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11814 (gst_systemclock_suite):
11815 Added check to test GST_CLOCK_DIFF.
11817 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11819 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11820 (gst_type_find_helper_get_range):
11821 If we are provided with the size, we should implement
11822 GstTypeFind::get_length, so that typefind functions who
11823 want to can actually peek at the middle of a file.
11825 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11827 * docs/manual/advanced-dataaccess.xml:
11828 Add some very very basic error checking.
11830 * docs/pwg/appendix-checklist.xml:
11831 Some updates to the list of things to check when writing an element.
11833 2006-03-08 Wim Taymans <wim@fluendo.com>
11835 * docs/design/part-element-transform.txt:
11836 Added some docs about the design of tranform elements.
11838 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11839 (gst_base_src_loop), (gst_base_src_change_state):
11840 Mark buffers with the DISCONT flag.
11842 2006-03-08 Michael Smith <msmith@fluendo.com>
11844 * gst/gstregistry.h:
11845 * gst/gstregistryxml.c: (gst_registry_save),
11846 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11847 (gst_registry_xml_save_pad_template),
11848 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11849 (gst_registry_xml_write_cache):
11850 Rewrite registry-saving to avoid race conditions and check for
11853 2006-03-08 Wim Taymans <wim@fluendo.com>
11855 * libs/gst/base/gstbasetransform.c:
11856 (gst_base_transform_transform_caps),
11857 (gst_base_transform_transform_size),
11858 (gst_base_transform_prepare_output_buffer),
11859 (gst_base_transform_get_unit_size),
11860 (gst_base_transform_buffer_alloc),
11861 (gst_base_transform_handle_buffer),
11862 (gst_base_transform_change_state):
11863 Cleanups, separate normal flow from errors, add sensible
11865 Don't try to renegotiate when allocating an output buffer.
11866 Also copy DISCONT buffer flag when copying a buffer.
11867 Reset the transform after we finish streaming, not during.
11869 2006-03-08 Wim Taymans <wim@fluendo.com>
11871 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11872 Use last buffer timestamp in qos message.
11874 2006-03-07 Wim Taymans <wim@fluendo.com>
11876 Patch by: Christophe Fergeau
11878 * docs/pwg/advanced-tagging.xml:
11879 * docs/pwg/building-pads.xml:
11882 2006-03-07 Wim Taymans <wim@fluendo.com>
11884 * docs/libs/gstreamer-libs-sections.txt:
11885 Added basesink new methods.
11889 Docs updates. Flesh out the QoS docs.
11891 * libs/gst/base/gstadapter.c:
11892 Small doc clarification about ownership and flushing.
11894 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11895 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11896 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11897 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11898 * libs/gst/base/gstbasesink.h:
11900 Added new methods to allow subclass to control max-lateness
11902 Generate very basic QoS events based on last sync observation.
11903 Updated docs, fix typo, added some QoS blurb.
11905 * libs/gst/base/gstbasesrc.c:
11906 Remove obsolete _get_state() calls from docs.
11908 2006-03-07 Wim Taymans <wim@fluendo.com>
11910 * docs/libs/gstreamer-libs-sections.txt:
11911 * libs/gst/base/gstbasetransform.h:
11912 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11913 Fix docs for GstBaseSrc.
11915 2006-03-07 Wim Taymans <wim@fluendo.com>
11917 * docs/gst/gstreamer-sections.txt:
11920 * libs/gst/base/gstbasetransform.h:
11921 Small documentation fixes.
11923 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11926 Document thread-unsafety of gst_value_register_foo_func()
11927 when used at the same time as gst_value_foo() (#322628).
11929 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11931 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11932 (gst_push_src_check_get_range):
11933 Push sources don't support pull mode by default.
11935 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11937 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11938 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11939 (gst_base_src_default_check_get_range):
11940 * libs/gst/base/gstbasesrc.h:
11941 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11942 provide default implementation, and rename
11943 gst_base_src_check_get_range() to
11944 gst_base_src_pad_check_get_range() for clarity.
11946 2006-03-06 Wim Taymans <wim@fluendo.com>
11948 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11949 Make property overridable.
11951 2006-03-06 Wim Taymans <wim@fluendo.com>
11953 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11954 (gst_base_sink_init), (gst_base_sink_set_property),
11955 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11956 * libs/gst/base/gstbasesink.h:
11957 API addition: Make max-lateness a property.
11959 2006-03-06 Wim Taymans <wim@fluendo.com>
11961 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11962 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11963 Don't ever draw a frame that is >10ms late.
11965 2006-03-06 Michael Smith <msmith@fluendo.com>
11967 * gst/gstmessage.c: (_gst_message_copy):
11968 When copying a message, set the parent_refcount of the enclosed
11969 structure to point at the copy, not the original message.
11971 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11973 Patch by: Christophe Fergeau
11976 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11977 usable in c++ code (#333417)
11979 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11982 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11984 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11986 * libs/gst/base/gstbasetransform.c:
11987 (gst_base_transform_transform_caps):
11988 Make sure caps are writable before passing them to
11991 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11994 Fix some minor docs errors.
11996 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11998 Patch by: Ross Burton <ross at burtonini dot com>
12000 * gst/gsterror.c: (_gst_resource_errors_init):
12002 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12004 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12007 Add a check and output a g_warning when GStreamer is built
12008 against GLib 2.6 but running against 2.8 or higher, and vice
12009 versa. (Closes: #323542)
12011 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
12013 * gst/parse/parse.l:
12014 Commit patch for parse_launch syntax from #331255. Removes
12015 support for quoted strings and mimetypes when writing filtered
12016 caps. See the bug report for more details - I'm pretty sure this
12017 obscure feature is not in use by _anyone_ anywhere.
12019 With this simple change, the size of the gstreamer.so here
12020 drops from 2193KB to 1565KB.
12022 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12024 * plugins/elements/gsttypefindelement.h:
12025 * plugins/elements/gsttypefindelement.c:
12026 (gst_type_find_element_src_event), (start_typefinding),
12027 (stop_typefinding), (gst_type_find_element_handle_event),
12028 (gst_type_find_element_chain),
12029 (gst_type_find_element_chain_do_typefinding):
12030 Use gst_type_find_helper_for_buffer() for chain-based
12033 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12035 * plugins/elements/gsttypefindelement.c:
12036 (gst_type_find_element_class_init),
12037 (gst_type_find_element_set_property),
12038 (gst_type_find_element_get_property):
12039 Deprecate "maximum" property (not only was it only taken into
12040 account for typefinding in push-mode anyway, it also was never
12041 actually possible to set it in the first place because the
12042 property was registered with the numeric property ID for the
12043 "minimum" property). Register "maximum" property correctly,
12044 for the sake of future copy'n'pasters. Remove some cruft
12045 from property get/set functions.
12047 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
12049 * plugins/elements/gsttypefindelement.c:
12050 (gst_type_find_element_activate):
12051 Use gst_type_find_helper_get_range() here, so we
12052 can honour the "minimum" property and also emit
12053 the signal with the correct probability of the found caps.
12055 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
12057 * docs/libs/gstreamer-libs-sections.txt:
12058 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12059 (helper_find_suggest), (gst_type_find_helper_get_range),
12060 (gst_type_find_helper):
12061 * libs/gst/base/gsttypefindhelper.h:
12062 New API: gst_type_find_helper_get_range() (#333042).
12064 2006-03-02 Michael Smith <msmith@fluendo.com>
12066 * gst/gstregistryxml.c: (load_feature):
12067 Asserting on a failure to read part of the registry is Not Cool.
12068 Just log a warning and return NULL (which is already handled)
12070 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
12072 * win32/common/libgstbase.def:
12073 added export of gst_type_find_helper_for_buffer
12074 * win32/common/libgstbase.def:
12075 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12076 gst_ghost_pad_get_target
12078 2006-02-28 Wim Taymans <wim@fluendo.com>
12080 * docs/design/draft-klass.txt:
12082 Added Connector to mark elements that are only used to
12083 allow pipeline connections.
12084 Moved Debug to extra feature since most of them are
12085 functionally something else.
12087 2006-02-28 Wim Taymans <wim@fluendo.com>
12089 * docs/design/draft-klass.txt:
12090 Some updates and clarifications.
12092 2006-02-28 Wim Taymans <wim@fluendo.com>
12094 * docs/design/draft-klass.txt:
12095 Proposal for klass field values.
12097 * docs/design/part-streams.txt:
12098 Start of a doc describing stream anatomy.
12100 2006-02-28 Wim Taymans <wim@fluendo.com>
12102 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12103 Help the compiler a bit with type registration.
12104 Use existing forward cod path instead of duplicating it when
12105 handling a message.
12107 * gst/gstbus.c: (gst_bus_get_type):
12108 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12109 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12110 * gst/gstclock.c: (gst_clock_get_type):
12111 * gst/gstelement.c: (gst_element_get_type),
12112 * gst/gstelementfactory.c: (gst_element_factory_get_type):
12113 * gst/gstindexfactory.c: (gst_index_factory_get_type):
12114 * gst/gstminiobject.c: (gst_mini_object_get_type):
12115 * gst/gstpad.c: (gst_pad_get_type):
12116 * gst/gstsegment.c: (gst_segment_get_type):
12117 * gst/gststructure.c: (gst_structure_get_type):
12118 * gst/gstsystemclock.c: (gst_system_clock_get_type):
12119 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12121 Help compiler with type registration.
12123 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12126 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12128 * plugins/elements/gsttypefindelement.c:
12129 (gst_type_find_element_handle_event):
12130 When we get an EOS event and have not found a type yet
12131 (most likely because we had not yet accumulated
12132 TYPE_FIND_MIN_SIZE of data yet), try to determine the
12133 type given the data we have so far. Fixes typefinding
12134 for very short streams again, most notably quicktime
12135 redirections as used on Apple's trailer site (#331701).
12137 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12139 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12140 (gst_type_find_helper):
12141 Try typefinding factories with the highest rank first.
12143 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12145 * docs/libs/gstreamer-libs-docs.sgml:
12146 * docs/libs/gstreamer-libs-sections.txt:
12147 * libs/gst/base/gsttypefindhelper.c:
12148 Add section for typefind helper and add documentation
12149 for the old and the new function.
12151 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12153 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12154 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12155 (gst_type_find_helper_for_buffer):
12156 * libs/gst/base/gsttypefindhelper.h:
12157 New API: gst_type_find_helper_for_buffer() (#332723).
12159 2006-02-27 Michael Smith <msmith@fluendo.com>
12161 Patch by: Loïc Minier
12164 * docs/Makefile.am:
12165 * docs/slides/Makefile.am:
12166 prevent CVS directories getting disted.
12168 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
12170 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12171 Use the REFCOUNTING category for caps refcounting.
12173 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
12175 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12176 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12178 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
12180 * plugins/elements/gsttypefindelement.c:
12181 (gst_type_find_element_activate):
12182 Use gst_pad_check_pull_range() before _activate_pull()
12183 to avoid unnecessary open/close (see #331690).
12185 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
12188 Docs enhancement: make it crystal clear what the
12189 gst_pad_add_*_probe() callbacks should look like.
12191 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
12193 * libs/gst/base/gstbasesrc.c:
12194 Document how applications can stop recording from
12195 live sources (see #330996).
12197 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12199 * tests/check/Makefile.am:
12200 * tests/check/libs/basesrc.c: (eos_event_counter),
12201 (basesrc_eos_events_pull), (basesrc_eos_events_push),
12202 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12203 (gst_basesrc_suite), (main):
12204 ... and add some tests for the base source EOS stuff.
12206 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12208 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12209 Test case originally showed the problem fixed below,
12210 but was then amended. Add checks back at the place
12211 where they used to be.
12213 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12215 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12216 (gst_base_src_init), (gst_base_src_loop),
12217 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12218 (gst_base_src_change_state):
12219 * libs/gst/base/gstbasesrc.h:
12220 Don't unconditionally send EOS when going from PAUSED to
12221 READY state, esp. make sure we don't send two EOS events
12222 in some cases (e.g. one when reaching EOS and one when
12223 going from PAUSED to READY). Also, we don't want to send
12224 EOS events when operating in pull mode. However, we do
12225 want to send an EOS event when shutting down a live
12226 source explicitly, for example (fixes #330996).
12228 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
12230 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12231 Update src->read_position after a seek when not using mmap.
12232 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12234 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
12240 Make things work with --disable-parse as they do with
12241 --disable-load-save - the symbols involved disappear, but the
12242 header is still installed and GST_DISABLE_PARSE is included via
12245 2006-02-20 Julien MOUTTE <julien@moutte.net>
12247 * libs/gst/base/gstbasetransform.c:
12248 (gst_base_transform_change_state): Fix a stupid bug. I was
12249 sure I compiled that.
12251 2006-02-20 Julien MOUTTE <julien@moutte.net>
12253 * gst/gstpad.c: (gst_pad_set_blocked_async):
12254 * gst/gstutils.c: (gst_pad_add_data_probe),
12255 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12256 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12257 (gst_pad_remove_buffer_probe): Make those function act on the
12258 ghostpad target when it's a ghostpad. (Closes #331727)
12260 2006-02-20 Julien MOUTTE <julien@moutte.net>
12262 * libs/gst/base/gstbasetransform.c:
12263 (gst_base_transform_change_state): Make basetransform reusable.
12266 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
12268 * docs/random/release:
12269 Move the current documentation of how to do a release to the top
12272 * gst/gstbin.c: (gst_bin_class_init),
12273 (gst_bin_handle_message_func):
12274 Allow multiple state-recalculation threads. (Closes #328873)
12276 2006-02-19 Julien MOUTTE <julien@moutte.net>
12278 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12279 * gst/gstpad.c: (gst_pad_set_event_function),
12280 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12281 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12282 2 strings. You can't use the STR_NULL macro on that.
12284 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
12286 * gst/gstpad.c: (gst_pad_set_event_function),
12287 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12288 (gst_pad_set_getcaps_function)
12289 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12290 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12291 So now, we can use --gst-debug-level=5 on Windows
12292 * win32/common/libgstcontroller.def:
12293 Added export of gst_controller_init
12294 * win32/vs6/libgstcontroller.dsp:
12295 Fixed Release post build configuration
12297 2006-02-17 Wim Taymans <wim@fluendo.com>
12299 * tests/check/gst/gstquery.c: (GST_START_TEST):
12300 Added another check.
12302 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
12304 * plugins/elements/gsttypefindelement.c: (find_peek):
12305 We can do peeks at non-zero offsets, as long as they
12306 fall within the buffer we have.
12308 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
12310 * tests/check/Makefile.am:
12311 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12312 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12313 (parse_suite), (main):
12314 Add testsuite for parse launch syntax
12316 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
12318 * plugins/elements/gsttypefindelement.c:
12319 (gst_type_find_element_chain):
12320 When typefinding is unsuccessful in the chain function, don't
12321 error out immediately. Only error out with NO_CAPS_FOUND if
12322 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12323 otherwise simply wait for more data so we can try typefinding
12324 again with more data later. Also, don't attempt to typefind
12325 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12326 this should improve typefinding from network sources where the
12327 size of the first buffer can be somewhat random.
12329 2006-02-14 Wim Taymans <wim@fluendo.com>
12331 * docs/gst/gstreamer-sections.txt:
12332 * gst/gstpadtemplate.c:
12333 * gst/gstpadtemplate.h:
12334 Fix padtemplate docs, fixes #328805.
12336 2006-02-14 Wim Taymans <wim@fluendo.com>
12338 * tools/gst-launch.c: (main):
12339 NO_PREROLL is not an ERROR so don't send confusing messages
12342 2006-02-14 Wim Taymans <wim@fluendo.com>
12344 Patch by: Torsten Schoenfeld
12346 * gst/gstregistry.c: (gst_registry_get_default),
12347 (_gst_registry_cleanup):
12348 Protect default registry with lock and ref/sink it.
12351 2006-02-14 Wim Taymans <wim@fluendo.com>
12354 * gst/gstquery.c: (gst_query_list_add_format),
12355 (gst_query_set_formatsv), (gst_query_parse_formats_length),
12356 (gst_query_parse_formats_nth):
12357 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12360 2006-02-14 Wim Taymans <wim@fluendo.com>
12362 * docs/gst/gstreamer-sections.txt:
12363 Reworked query docs.
12365 * gst/gstquery.c: (gst_query_new_formats),
12366 (gst_query_list_add_format), (gst_query_set_formats),
12367 (gst_query_set_formatsv), (gst_query_parse_formats_length),
12368 (gst_query_parse_formats_nth):
12370 Flesh out formats query, added some new methods.
12371 Fix part of #324398.
12373 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12374 Added query creation tests.
12376 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
12378 * gst/gstpad.c: (fixate_value):
12379 Add a default fixation for fraction lists.
12381 2006-02-13 Wim Taymans <wim@fluendo.com>
12383 * gst/gsttask.c: (gst_task_init), (gst_task_func),
12384 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12387 Detect and warn for obvious deadlocks. fixes #320340
12388 Fix error case where lock was not released.
12390 * tests/check/Makefile.am:
12391 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12392 (task_func), (gst_element_suite), (main):
12395 2006-02-13 Wim Taymans <wim@fluendo.com>
12397 * docs/gst/gstreamer-sections.txt:
12399 Add new functions to docs.
12401 2006-02-13 Wim Taymans <wim@fluendo.com>
12403 * docs/design/part-TODO.txt:
12404 Updated TODO list, basesrc supports seeking to non-bytes
12407 * docs/design/part-element-sink.txt:
12410 * gst/gstbin.c: (bin_replace_message),
12411 (gst_bin_handle_message_func):
12412 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12413 * gst/gstevent.c: (gst_event_finalize):
12414 * gst/gstpad.c: (gst_pad_event_default_dispatch),
12415 (gst_pad_send_event):
12416 Use shiny new _TYPE_NAME macros.
12418 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12419 Move debug statement up.
12421 * gst/gstelement.c: (gst_element_set_locked_state):
12422 Add some debugging.
12424 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
12426 * docs/gst/gstreamer-sections.txt:
12427 * gst/gstmessage.h:
12429 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12430 macros (#330906). Also, document the already existing
12431 GST_QUERY_TYPE macro.
12433 2006-02-13 Wim Taymans <wim@fluendo.com>
12435 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12436 (event_probe), (GST_START_TEST):
12437 Only events up to the pipeline EOS are counted, there are
12438 some more when going to NULL currently which we don't care
12441 2006-02-13 Wim Taymans <wim@fluendo.com>
12443 * gst/gstpad.c: (gst_pad_send_event):
12444 Correctly check flushing and emit probes. fixes #330125
12446 2006-02-10 Andy Wingo <wingo@pobox.com>
12448 * gst/gstbus.c (gst_bus_class_init): Declare our private data
12450 (gst_bus_init): Cache the location of the private data in the
12451 instance structure.
12452 (gst_bus_enable_sync_message_emission)
12453 (gst_bus_disable_sync_message_emission): Implement new public
12455 (gst_bus_post): Emit the sync-message signal if the user asked for
12458 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12459 location of the bus-private structure.
12460 (gst_bus_enable_sync_message_emission)
12461 (gst_bus_disable_sync_message_emission): API addition
12463 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
12465 Patch by: Vincent Torri
12467 * docs/pwg/building-boiler.xml:
12468 PWG patch from #326800
12470 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
12473 * docs/Makefile.am:
12474 * docs/design/Makefile.am:
12477 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12482 === release 0.10.3 ===
12484 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12487 releasing 0.10.3, "Like a virgin"
12489 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12492 2nd prerelease of 0.10.3
12493 Bump libtool versioning.
12495 2006-02-07 Andy Wingo <wingo@pobox.com>
12497 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12498 update last_stop if we're in TIME format and the timestamp is
12501 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
12502 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
12503 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12504 If we get a new newsegment with a different format, adapt
12507 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12508 of 0. Not a problem, really.
12510 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12513 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
12518 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
12521 project files updated to the default vs7 configuration
12522 * win32/common/libgstbase.def:
12523 * win32/common/libgstreamer.def:
12525 removed empty lines,
12526 sorted all exported symbols alphabetically
12527 * win32/common/dirent.c:
12528 * win32/common/dirent.h:
12529 * win32/common/gchar.h:
12530 use windows line end.
12532 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12534 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12535 Send EOS event when stopping.
12537 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12540 Tell folks what to do if the plugin-foobar.xml file
12541 hasn't been generated for a newly-added plugin.
12543 2006-02-05 Julien MOUTTE <julien@moutte.net>
12545 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12546 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12547 (gst_collect_pads_start), (gst_collect_pads_stop),
12548 (gst_collect_pads_event): Collectpads now holds a reference
12549 to the GstPad that was added. Indeed we don't want to look
12550 at pads that might just go away with no warning...
12552 2006-02-05 Julien MOUTTE <julien@moutte.net>
12554 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12555 (gst_collect_pads_start), (gst_collect_pads_stop),
12556 (gst_collect_pads_event), (gst_collect_pads_chain):
12557 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12558 Mark Nauwelaerts's patch on bug #328491.
12560 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12562 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12564 Add some simple tests for gst_parse_bin_from_description() and
12565 gst_bin_find_unconnected_pad() (#329069).
12567 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12569 * tools/gst-launch.c: (event_loop), (main):
12570 Catch errors during preroll (#320084).
12572 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
12574 * plugins/elements/gsttypefindelement.c:
12575 (gst_type_find_element_activate):
12576 Post TYPE_NOT_FOUND error message when typefinding
12577 is unsuccessful in the activate function as well.
12579 2006-02-02 Wim Taymans <wim@fluendo.com>
12581 * docs/design/part-element-sink.txt:
12584 2006-02-02 Wim Taymans <wim@fluendo.com>
12586 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12587 (gst_base_sink_render_object),
12588 (gst_base_sink_queue_object_unlocked):
12589 Only keep track of prerollable items when we are
12591 Before rendering after preroll, always check if we
12593 Added some more debugging.
12595 2006-02-02 Wim Taymans <wim@fluendo.com>
12597 * gst/gstelement.c: (gst_element_continue_state),
12598 (gst_element_set_state_func), (gst_element_change_state):
12599 Fixed #326576, been running this for quite some time with
12600 no regressions at all.
12602 2006-02-02 Wim Taymans <wim@fluendo.com>
12605 Added more suppressions
12607 2006-02-02 Wim Taymans <wim@fluendo.com>
12609 * docs/design/part-element-sink.txt:
12612 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12613 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12614 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12615 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12616 (gst_base_sink_do_sync), (gst_base_sink_render_object),
12617 (gst_base_sink_preroll_object),
12618 (gst_base_sink_queue_object_unlocked),
12619 (gst_base_sink_queue_object), (gst_base_sink_event),
12620 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12621 (gst_base_sink_loop), (gst_base_sink_activate_pull),
12622 (gst_base_sink_get_position), (gst_base_sink_change_state):
12623 * libs/gst/base/gstbasesink.h:
12624 Totally refactored matching the design doc.
12625 Use two segments, one to clip incomming buffers and another to
12627 Handle queueing correctly, bypass the queue when playing.
12628 Make EOS cancelable.
12629 Handle errors correctly when operating in pull based mode.
12631 * tests/check/elements/fakesink.c: (GST_START_TEST),
12633 Added new check for sinks.
12635 2006-02-02 Wim Taymans <wim@fluendo.com>
12637 * gst/gstsegment.c: (gst_segment_clip):
12638 No reason to refuse to clip when start == -1
12640 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12643 * docs/manual/intro-basics.xml:
12644 * docs/manual/intro-preface.xml:
12645 * docs/manual/manual.xml:
12646 * docs/pwg/advanced-dparams.xml:
12647 * docs/pwg/intro-basics.xml:
12648 * docs/pwg/intro-preface.xml:
12649 * docs/pwg/pwg.xml:
12650 describe dparams (controller) for plugins
12651 unify docs a little more
12653 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12655 * docs/gst/gstreamer-sections.txt:
12656 * gst/gstutils.c: (element_find_unconnected_pad),
12657 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12659 Add new API: gst_parse_bin_from_description() and
12660 gst_bin_find_unconnected_pad() (#329069).
12662 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12664 * docs/manual/README:
12665 uncover a nasty detail of the docs build
12667 2006-01-31 Wim Taymans <wim@fluendo.com>
12669 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12670 Don't cache duration messages if we're not going to use or
12673 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12675 * docs/manual/advanced-dparams.xml:
12676 * docs/pwg/advanced-dparams.xml:
12680 * libs/gst/controller/lib.c: (gst_controller_init):
12683 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12685 * gst/gstelement.c: (gst_element_message_full):
12686 also show file/line/func if no additional debug was given
12688 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12690 * win32/vs7/grammar.vcproj:
12691 activate copy of autogenerated files for Release mode
12693 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12695 * win32/common/libgstreamer.def:
12696 export gst_value_compare
12698 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12700 * plugins/elements/Makefile.am:
12701 * plugins/elements/gstelements.c:
12702 * plugins/elements/gstfdsink.c: (_do_init),
12703 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12704 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12705 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12706 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12707 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12708 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12709 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12710 * plugins/elements/gstfdsink.h:
12711 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12713 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12715 * docs/manual/advanced-dparams.xml:
12716 describe controller
12717 * docs/manual/advanced-position.xml:
12718 * docs/manual/basics-init.xml:
12719 * docs/manual/manual.xml:
12720 * docs/manual/titlepage.xml:
12721 * docs/pwg/pwg.xml:
12722 * docs/pwg/titlepage.xml:
12723 cleanup xml (more to come)
12724 * libs/gst/controller/gstcontroller.c:
12727 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12729 * win32/vs6/grammar.dsp:
12730 add autogen of gstmarshal.c,h for Release mode
12732 2006-01-30 Wim Taymans <wim@fluendo.com>
12734 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12735 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12736 (gst_base_sink_handle_object), (gst_base_sink_event),
12737 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12738 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12739 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12740 (gst_base_sink_deactivate), (gst_base_sink_activate),
12741 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12742 (gst_base_sink_query), (gst_base_sink_change_state):
12743 Basesink cleanups, remove some old code.
12744 Handle the case where a subclass can preroll in the render
12745 method (mostly audiosinks).
12746 Handle more events.
12747 Remove some locks around variables that are now protected
12748 with the PREROLL_LOCK (clock_id, flushing, ..).
12749 Optimize position query some more, do correct locking.
12750 Remove old code to push queue in state change, this is not
12751 needed anymore since preroll blocks on all prerollable items
12753 Almost implemented as described in design doc.
12755 2006-01-30 Wim Taymans <wim@fluendo.com>
12757 * tests/check/gst/gstbin.c: (GST_START_TEST):
12758 Wait for refcount to settle down before checking.
12760 2006-01-30 Wim Taymans <wim@fluendo.com>
12762 * docs/design/part-element-sink.txt:
12763 Pseudo code overview of desired sink behaviour regarding
12766 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12767 * win32/vs6/grammar.dsp:
12768 fix some bugs in Release mode for autogenerated files
12770 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12771 * win32/common/libgstbase.def:
12772 * win32/common/libgstreamer.def:
12773 export some new symbols: gst_base_src_set_format,
12774 gst_iterator_next, gst_structure_set_valist
12776 2006-01-29 Julien MOUTTE <julien@moutte.net>
12778 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12779 Set pad functions unconditionally. Fixes #329105.
12781 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12783 add vs8 project files created by Sergey Scobich
12785 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12787 * gst/gstutils.c: (gst_element_unlink_pads):
12788 Don't leak pad references.
12790 * tests/check/elements/fakesink.c: (GST_START_TEST):
12791 * tests/check/generic/sinks.c: (GST_START_TEST):
12792 * tests/check/generic/states.c: (GST_START_TEST):
12793 * tests/check/gst/gstbin.c: (GST_START_TEST):
12794 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12795 * tests/check/gst/gstelement.c: (GST_START_TEST):
12796 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12797 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12798 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12799 Fix a bunch of leaks. Make generic/sinks.c
12800 use a bit less cpu by slowing the buffer rate
12801 between fakesrc and fakesink.
12803 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12805 * gst/gstelement.c: (gst_element_send_event):
12808 * gst/gstiterator.c:
12809 * gst/gstiterator.h:
12810 * gst/gstpad.c: (gst_pad_send_event):
12811 * gst/gststructure.c:
12815 * libs/gst/base/gstadapter.c:
12816 doc fixes, to link to function, just write gst_cool_function(), don't
12819 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12821 * plugins/elements/gsttee.c: (gst_tee_do_push),
12822 (gst_tee_handle_buffer):
12823 Always prefer an actual return value from a src
12824 pad in place of NOT_LINKED. This means we return
12825 WRONG_STATE when all src pads are WRONG_STATE
12826 instead of NOT_LINKED.
12828 Lock when replacing the last message to prevent
12829 racing with the get_property method.
12833 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12835 * tests/check/Makefile.am:
12836 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12838 Add a very simple check that should have caught the memleak I fixed
12839 last night (if not for the slice allocator hiding it)
12841 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12843 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12844 (gst_bin_remove_func), (gst_bin_handle_message_func),
12845 (bin_query_duration_fold), (bin_query_generic_fold):
12846 Clean up references to the clock provider when disposed or when
12847 handling a clock-lost message from it.
12849 Unref sinks when performing a query via gst_iterator_fold, as the
12850 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12852 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12853 (gst_clock_set_master):
12854 Drop our reference to the master clock, if any, when we are disposed.
12856 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12857 Chain up in dispose.
12859 2006-01-26 Wim Taymans <wim@fluendo.com>
12861 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12862 Add some debugging.
12864 2006-01-26 Julien MOUTTE <julien@moutte.net>
12866 * plugins/elements/gsttee.c: (gst_tee_do_push),
12867 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12868 handles pad being NOT_LINKED or in WRONG_STATE.
12870 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12875 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12878 remove obsolete entry
12880 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12882 * docs/gst/gstreamer-sections.txt:
12883 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12884 (gst_bin_iterate_sources), (gst_bin_send_event):
12886 * gst/gstelement.c: (gst_element_send_event):
12888 * gst/gstpad.c: (gst_pad_send_event):
12889 added code for downstream events, reviewed docs in gstevent.c
12891 2006-01-25 Julien MOUTTE <julien@moutte.net>
12893 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12894 We only query position using the clock in the playing state.
12895 Query peer in the other cases.
12896 * win32/common/config.h: Updates.
12898 2006-01-24 Wim Taymans <wim@fluendo.com>
12900 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12901 A clock entry that is scheduled for the exact time of the
12902 clock is still in time.
12904 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12905 (gst_base_sink_do_sync):
12906 Add some more debug info.
12908 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12911 Add new vs7 project files and solution.
12913 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12916 all files removed as they were out-dated.
12918 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12920 * docs/random/release:
12922 * gst/gstbin.c: (gst_bin_init):
12923 * gst/gstbus.c: (gst_bus_new):
12925 * gst/gstpipeline.c: (gst_pipeline_init):
12926 use gst_bus_new(), improve logging, fix docs
12927 * win32/common/config.h:
12928 update for cvs build
12930 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12933 up required version of automake to 1.7
12935 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12937 * win32/common/libgstreamer.def:
12938 export gst_buffer_is_metadata_writable
12940 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12942 * docs/gst/gstreamer-sections.txt:
12944 Add gst_event_replace() (#327001)
12946 2006-01-20 Wim Taymans <wim@fluendo.com>
12948 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12949 Make it actually compile too..
12951 2006-01-20 Wim Taymans <wim@fluendo.com>
12954 Clarify behaviour of _is_equal() when passing NULL parameters.
12956 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12957 (gst_pad_set_caps):
12958 Cleanups. Don't unref NULL caps.
12959 When setting the same caps, protect caps of the pad with
12961 Use full functionality of _is_equal() when comparing caps.
12963 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12966 Don't loop infinitely if there are no buffers to present. Partially
12967 fixes #327197, but collectpads is just broken for reusing elements
12968 to do multiple encodes atm.
12970 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12972 * tools/gst-inspect.c: (print_element_features):
12973 * tools/gst-xmlinspect.c: (main):
12974 URL_HANDLER is not a plugin feature we can search for in
12977 2006-01-19 Edward Hervey <edward@fluendo.com>
12979 * gst/gstelement.c: (gst_element_pads_activate):
12980 When activating, do src pads first, then sink pads.
12981 When de-activating, do sink pads first, then src pads.
12983 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12985 * docs/gst/gstreamer-sections.txt:
12986 Add gst_index_add_associationv to the docs
12988 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12993 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12994 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12995 Do some refactoring. Doesn't actually change functionality,
12996 but makes landing the DRAIN event easier later.
12998 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
13000 * docs/pwg/advanced-scheduling.xml:
13001 Update from 0.9.x to 0.10 API and make example a bit
13004 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13006 * docs/gst/gstreamer-sections.txt:
13007 Add gst_buffer_(is|make)_metadata_writable methods.
13009 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
13011 * docs/design/part-sparsestreams.txt:
13012 Update sparse streams doc, hopefully for greater clarity
13014 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
13016 * docs/design/part-events.txt:
13017 Remove mention of FILLER events.
13020 * docs/design/part-sparsestreams.txt:
13021 Write some things about using NEWSEGMENT to keep sparse streams
13024 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13026 * gst/gstbin.c: (gst_bin_dispose):
13027 Guard gst_object_unref call against a NULL object (dispose
13028 can theoretically be called multiple times).
13030 2006-01-18 Wim Taymans <wim@fluendo.com>
13032 * gst/gstbin.c: (gst_bin_element_set_state):
13033 * gst/gstclock.c: (gst_clock_id_wait):
13034 Added some more debug info.
13036 * libs/gst/base/gstadapter.c:
13039 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13040 (gst_base_sink_do_sync), (gst_base_sink_chain):
13041 Added some comments.
13043 2006-01-18 Wim Taymans <wim@fluendo.com>
13045 * tests/check/Makefile.am:
13046 * tests/check/elements/fakesink.c: (chain_async_buffer),
13047 (chain_async), (chain_async_return), (GST_START_TEST),
13048 (fakesink_suite), (main):
13049 Added fakesink test that checks prerolling and clipping
13052 * tests/check/gst/gstutils.c: (GST_START_TEST):
13053 Make check run faster so that buildbots don't timeout.
13055 2006-01-18 Wim Taymans <wim@fluendo.com>
13057 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13058 (gst_base_sink_do_sync):
13060 When the sink finishes blocking on the preroll buffer, it can
13061 immediatly render it instead of rendering when the next buffer
13064 2006-01-18 Wim Taymans <wim@fluendo.com>
13066 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13067 (gst_base_sink_get_property), (gst_base_sink_do_sync),
13068 (gst_base_sink_chain):
13070 GST_ELEMENT_CLOCK and sync are protected with LOCK.
13071 Don't store _last_stop if the buffer is dropped.
13073 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
13075 * plugins/elements/gsttypefindelement.c:
13076 (gst_type_find_element_class_init):
13077 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13078 object method handler that sets the caps on the pad and we want
13079 that to happen before we emit the signal (fixes e.g. feeding a
13080 plain text file to decodebin).
13082 2006-01-18 Christian Schaller <Christian@fluendo.com>
13084 * gst/gstplugin.c: Add MPL and Proprietary as license options
13086 2006-01-18 Andy Wingo <wingo@pobox.com>
13088 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13089 symbol was exported before, it appears this was just an oversight.
13091 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13093 * gst/gstindex.c (gst_index_add_associationv): Changed int in
13094 prototype to gint. OK since this prototype was not in the header.
13096 2006-01-17 Andy Wingo <wingo@pobox.com>
13098 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13099 registry while we remove plugins.
13101 * tools/gst-inspect.c (print_element_info): Don't unref the
13102 factory arg, that should be the responsibility of whatever code
13103 received the ref. Fixes a double-free when called from
13104 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13105 (main): Unref the factory if we have one.
13106 (print_element_list): No change -- relies on the
13107 plugin_feature_list_free to free the list of features.
13109 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
13111 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13112 (gst_buffer_make_metadata_writable):
13114 * libs/gst/base/gstbasetransform.c:
13115 (gst_base_transform_prepare_output_buf):
13116 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13117 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13118 Replace gst_buffer_(make|is)_metadata_writable patch now
13119 that the release is out.
13121 2006-01-17 Andy Wingo <wingo@pobox.com>
13123 * gst/gstregistry.c: Reflow design comment. Update so as to speak
13124 in the present tense without reference to versions.
13126 * gst/gstregistry.c (gst_registry_add_plugin)
13127 (gst_registry_remove_plugin, gst_registry_remove_feature)
13128 (gst_registry_find_feature, gst_registry_get_feature_list)
13129 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13130 (gst_registry_lookup, gst_registry_scan_path)
13131 (_gst_registry_remove_cache_plugins)
13132 (gst_registry_get_feature_list_by_plugin): Add argument
13135 === release 0.10.2 ===
13137 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
13140 releasing 0.10.2, "If man is five"
13142 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13146 * libs/gst/base/gstbasetransform.c:
13147 (gst_base_transform_prepare_output_buf):
13148 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13149 * tests/check/gst/gstbuffer.c: (gst_test_suite):
13150 Back out patch until after the release.
13152 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13154 * gst/gstminiobject.c:
13155 Spelling fix in docs.
13156 * ChangeLog - remove conflict indicator
13158 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
13160 Reviewed By: Andy Wingo
13162 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13163 (gst_buffer_make_metadata_writable):
13165 Add gst_buffer_(is|make)_metadata_writable as analogues of
13166 gst_buffer_(is|make)_writable.
13168 * libs/gst/base/gstbasetransform.c:
13169 (gst_base_transform_prepare_output_buf):
13170 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13171 Use name gst_buffer_(is|make)_metadata_writable functions.
13173 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13174 Test gst_buffer_(is|make)_metadata_writable
13178 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
13180 * docs/manual/Makefile.am:
13181 don't do parallel make
13184 * win32/common/config.h.in:
13185 add generations for HOST_CPU and GST_MAJORMINOR
13186 * win32/common/config.h:
13187 commit generated result
13189 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
13191 * docs/manual/appendix-integration.xml:
13192 Update GNOME integration section to use gst_init_get_option_group()
13193 instead of the old popt stuff (#322911). Also, GNOME applications
13194 should now use gconf*sink and gconf*src instead of the old gconf
13197 2006-01-13 Stefan Kost <ensonic@users.sf.net>
13200 * docs/gst/gstreamer-docs.sgml:
13201 * docs/gst/gstreamer-sections.txt:
13202 * docs/libs/gstreamer-libs-sections.txt:
13203 add new API entries to the docs
13204 * libs/gst/controller/Makefile.am:
13205 * libs/gst/controller/gstcontroller.c:
13206 * libs/gst/controller/gstcontroller.h:
13207 * libs/gst/controller/gstcontrollerprivate.h:
13208 * libs/gst/controller/gsthelper.c:
13209 * libs/gst/controller/gstinterpolation.c:
13210 move private structs to private header
13212 gstreamer-0.7 -> gstreamer-0.10
13213 * tests/check/libs/struct_i386.h:
13214 remove private structs
13216 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13218 * plugins/indexers/Makefile.am:
13219 Fixes as part of #317048
13221 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13223 * plugins/indexers/Makefile.am:
13224 fix #316086 - compilation when mmap is missing
13226 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
13228 * libs/gst/base/gstbasesink.c:
13229 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
13230 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13231 * win32/common/config.h:
13232 added some defines GST_MAJORMINOR and HOST_CPU
13233 * win32/common/libgstbase.def:
13234 * win32/common/libgstreamer.def:
13235 added some exported functions.
13237 2006-01-12 Stefan Kost <ensonic@users.sf.net>
13239 * libs/gst/controller/gstcontroller.c:
13240 (gst_controlled_property_set_interpolation_mode),
13241 (gst_controlled_property_new):
13242 * libs/gst/controller/gstcontroller.h:
13243 * libs/gst/controller/gstinterpolation.c:
13244 (interpolate_none_get_string_value_array):
13245 make G_TYPE_STRING controlable
13247 2006-01-12 Stefan Kost <ensonic@users.sf.net>
13250 * tools/gst-feedback.1.in:
13251 * tools/gst-inspect.1.in:
13252 * tools/gst-launch.1.in:
13253 * tools/gst-md5sum.1.in:
13254 * tools/gst-typefind.1.in:
13255 * tools/gst-xmlinspect.1.in:
13256 * tools/gst-xmllaunch.1.in:
13257 cleanup man-pages, remove reference to gst-register, document env-vars
13259 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
13261 * gst/gstbuffer.c: (gst_buffer_span):
13262 gst_buffer_span should copy the timestamp of the first buffer
13263 if they were both originally overlapping subbuffers of the
13264 same parent, using the same logic as the 'slow copy' case.
13266 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
13268 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13269 Need to awaken ALL the pads when we pop a buffer, otherwise
13270 collectpads only works when there is 2 input streams.
13272 2006-01-11 Stefan Kost <ensonic@users.sf.net>
13274 * docs/random/ensonic/media-device-daemon.txt:
13277 fix doc example, add clarification
13278 * tools/gst-launch.1.in:
13279 add initial info about GST_PLUGIN_PATH, needs more work
13281 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
13283 * docs/manual/basics-bins.xml:
13284 * docs/manual/basics-elements.xml:
13285 * docs/manual/intro-basics.xml:
13286 Some more minor docs additions and updates.
13288 2006-01-11 Wim Taymans <wim@fluendo.com>
13290 * docs/manual/basics-bins.xml:
13291 * docs/manual/basics-elements.xml:
13292 Some small fixes as pointed out by Ser-ver on IRC.
13294 2006-01-10 Edward Hervey <edward@fluendo.com>
13296 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13297 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13298 the single-segment mode.
13300 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
13302 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13304 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13305 (gst_base_src_perform_seek), (gst_base_src_send_event),
13306 (gst_base_src_set_property), (gst_base_src_get_property),
13307 (gst_base_src_loop), (gst_base_src_start),
13308 (gst_base_src_activate_push):
13309 * libs/gst/base/gstbasesrc.h:
13310 Name (private) union; makes Sun's Forte compiler happy (#324900).
13312 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
13315 gst-register is gone.
13317 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
13319 * gst/gstvalue.c: (_gst_value_initialize):
13320 make the G_TYPE_DATE instantiation work if debug is disabled
13322 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
13324 * gst/gstmessage.c: (gst_message_parse_tag),
13325 (gst_message_parse_error), (gst_message_parse_warning):
13326 Don't crash when return location for error/warning debug
13327 string is NULL; add fact that return locations can be
13328 NULL to docs where appropriate.
13330 2006-01-05 Wim Taymans <wim@fluendo.com>
13332 * gst/gstplugin.c: (gst_plugin_load_file):
13333 Replace strdup by g_strdup.
13335 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13337 * docs/pwg/advanced-types.xml:
13340 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13342 submitted by: Abel Cheung
13346 Added Chinese (traditional) translation
13348 2006-01-04 Wim Taymans <wim@fluendo.com>
13350 * docs/manual/basics-pads.xml:
13351 * docs/plugins/Makefile.am:
13352 * docs/plugins/gstreamer-plugins-docs.sgml:
13353 * docs/plugins/gstreamer-plugins-sections.txt:
13354 * docs/pwg/advanced-clock.xml:
13355 * docs/pwg/advanced-scheduling.xml:
13356 * docs/pwg/advanced-types.xml:
13357 * plugins/elements/gstfdsink.c:
13358 * plugins/elements/gstfdsrc.c:
13359 * plugins/elements/gstfdsrc.h:
13360 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13361 * plugins/elements/gstidentity.h:
13362 * plugins/elements/gstqueue.h:
13363 * plugins/elements/gsttee.c:
13364 * plugins/elements/gsttee.h:
13365 * plugins/elements/gsttypefindelement.c:
13366 (gst_type_find_element_class_init):
13367 * plugins/elements/gsttypefindelement.h:
13368 Small updates to various docs.
13369 Added core plugins to docs.
13371 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13374 add a suppression for liboil's uninitialized variable
13376 2006-01-02 James Livingston <jrl at ids dot org dot au>
13378 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13381 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13382 macro, so that gcc doesn't complain if the -Wmissing-prototypes
13383 compiler switch is being used (#325429).
13385 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
13387 * gst/gstbin.c: (gst_bin_query):
13388 Disable duration query caching in bins until it gets
13389 fixed (see #324807).
13391 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
13393 * tools/gst-inspect.c: (print_element_properties_info):
13394 Handle properties of POINTER and BOXED type.
13396 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
13398 * gst/gst.c: (init_post):
13399 Init tags stuff and some other things before loading
13400 any static plugins (there may be other static plugins
13401 than just the GStreamer ones, and they may want to
13402 register their own tags or formats or whatever, and
13403 preferably without segfaulting).
13405 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13406 Print at least a warning in the debug logs if we drop a
13407 query just because we don't know how to adjust the value
13408 in the particular format.
13410 2005-12-24 David Schleef <ds@schleef.org>
13412 * tools/gstreamer-completion:
13413 Replacement for gst-complete written in sh and sed. Only
13414 completes names of features, but that's 90% of what I want
13415 it for. Properties are not available in registry.xml. (Maybe
13418 === release 0.10.1 ===
13420 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
13423 releasing 0.10.1, "Nollaig chridheil"
13425 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
13427 * docs/faq/cvs.xml:
13428 Add missing quote, should be make ERROR_CFLAGS="".
13430 2005-12-20 Wim Taymans <wim@fluendo.com>
13432 * docs/design/part-trickmodes.txt:
13433 More documentation on trickmodes.
13435 2005-12-20 Edward Hervey <edward@fluendo.com>
13437 * gst/gstcaps.c: (gst_static_caps_get_type):
13439 API addition: GST_TYPE_STATIC_CAPS
13440 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13441 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13442 * gst/gstpadtemplate.h:
13443 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13444 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13447 2005-12-18 Wim Taymans <wim@fluendo.com>
13449 * libs/gst/base/gstadapter.c:
13450 * libs/gst/base/gstadapter.h:
13451 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13452 (gst_base_sink_get_position):
13453 * libs/gst/base/gstbasesink.h:
13454 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13455 (gst_base_src_default_query), (gst_base_src_default_do_seek),
13456 (gst_base_src_do_seek), (gst_base_src_perform_seek),
13457 (gst_base_src_send_event), (gst_base_src_update_length),
13458 (gst_base_src_get_range), (gst_base_src_loop),
13459 (gst_base_src_start):
13460 * libs/gst/base/gstbasesrc.h:
13461 * libs/gst/base/gstbasetransform.h:
13462 * libs/gst/base/gstcollectpads.h:
13463 * libs/gst/base/gstpushsrc.c:
13464 * libs/gst/base/gstpushsrc.h:
13465 * libs/gst/dataprotocol/dataprotocol.c:
13466 * libs/gst/dataprotocol/dataprotocol.h:
13467 * libs/gst/net/gstnetclientclock.h:
13468 * libs/gst/net/gstnettimeprovider.h:
13469 Documentation updates.
13471 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
13473 * docs/manual/basics-helloworld.xml:
13474 Remove superfluous closing bracket in helloworld example.
13476 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
13478 * tools/gst-launch.1.in:
13479 Update gst-launch man page; add a section with useful
13480 environment variables. Fixes #323882.
13482 2005-12-16 Stefan Kost <ensonic@users.sf.net>
13485 * gst/gst_private.h:
13486 change some char* into char[]
13488 2005-12-16 Wim Taymans <wim@fluendo.com>
13490 * gst/gstregistryxml.c: (load_feature):
13492 Don't use g_object_unref on GstObjects so that we avoid
13493 leaks on unsafe glibs.
13495 2005-12-16 Wim Taymans <wim@fluendo.com>
13497 * gst/gstbin.c: (gst_bin_recalc_state):
13500 2005-12-16 Wim Taymans <wim@fluendo.com>
13502 * common/check.mak:
13503 Added make forever target for check.
13505 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
13507 * gst/gst.c: (init_post):
13508 make the registry cache file HOST_CPU-dependent
13510 2005-12-16 Andy Wingo <wingo@pobox.com>
13512 * plugins/elements/gstbufferstore.c
13513 (gst_buffer_store_cleared_func): Pay attention to g_list_append
13516 * tests/check/gst/gstobject.c
13517 (test_fake_object_name_threaded_unique): Pay attention to
13518 g_list_sort return value.
13520 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
13522 * tools/gst-feedback-m.m:
13523 Update for 0.9/0.10 (fixes #323870).
13525 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
13527 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13528 Fix lcopy for mini objects, the mini object needs to be ref'ed.
13530 * tests/check/gst/gstminiobject.c: (my_foo_init),
13531 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13532 (test_value_collection), (gst_mini_object_suite):
13533 Add test to ensure refcounts end up as expected when passing
13534 GstMiniObjects through g_object_get() and g_object_set().
13536 2005-12-14 Julien MOUTTE <julien@moutte.net>
13538 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13539 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13540 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13541 of collectpads. This version removes a lot of races without
13542 touching API/ABI. Yay !
13544 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
13546 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13547 Don't allow activation of a srcpad in pull_range if it has no
13549 Change some debug statements to be a little clearer
13551 * plugins/elements/gsttypefindelement.c:
13552 (gst_type_find_handle_src_query):
13553 Check that we have a peer before executing queries thereupon.
13555 * tests/examples/metadata/read-metadata.c: (message_loop):
13556 Use gst_bus_pop instead of gst_bus_poll when we just want it to
13557 immediately return us any available message with 0 timeout.
13559 2005-12-12 Michael Smith <msmith@fluendo.com>
13561 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13562 Don't unref factories after calling them.
13563 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13564 * plugins/elements/gsttypefindelement.c:
13565 (gst_type_find_element_chain):
13566 Free lists of factories after using them. Fixing typefinding memory
13569 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13571 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13572 (gst_plugin_feature_load):
13573 more meaningful debug output
13575 * tests/Makefile.am:
13576 * tests/old/examples/Makefile.am:
13577 make make distcheck happy again
13579 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13581 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13582 Catch the special case where we are operating chain-based,
13583 but the downstream peer pad has no chain function. Emit a
13584 custom error message in this case instead of letting the
13585 core generate one implying that this is some sort of core
13586 bug. It's not, it just means that whatever got plugged
13587 into the pipeline downstream when we announced the type
13588 can only operate pull-based, while our source can only
13589 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13590 Error string has not been marked for translation yet, as
13591 it probably needs some more work first.
13593 (gst_type_find_element_get_best_possibility):
13594 Add helper function to find the best of all available
13595 found possibilities that qualify given the min. threshold.
13597 (gst_type_find_element_handle_event):
13598 Fix the case where we get an EOS while still in TYPEFIND
13599 mode (we want to chose the best of all possible types,
13600 not just the first type that happens to be in our unsorted
13601 list of possible types).
13603 (gst_type_find_element_chain):
13604 Make sure we return GST_FLOW_ERROR when we errored out
13605 in stop_typefinding(); also, don't just find the best of
13606 all found type entries and then use the last examined
13607 type entry, but actually use the best entry.
13609 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13611 * tests/examples/typefind/typefind.c: (type_found):
13612 * tests/examples/xml/runxml.c: (xml_loaded):
13613 More gcc4 fixes and a mem leak fix.
13615 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13617 * tests/examples/xml/createxml.c: (object_saved):
13620 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13622 * tests/Makefile.am:
13623 enable the examples even more
13625 2005-12-12 Andy Wingo <wingo@pobox.com>
13627 * libs/gst/net/gstnettimeprovider.c
13628 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13629 (gst_net_time_provider_set_property)
13630 (gst_net_time_provider_get_property):
13631 API addition: Export "active" as a GObject property.
13632 (gst_net_time_provider_thread): Only respond to time queries if
13633 the time provider is active.
13635 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13636 NetTimeProvider, preserving binary compat.
13638 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13640 * tests/examples/controller/audio-example.c: (main):
13641 * tests/examples/launch/Makefile.am:
13642 convert comments again
13644 2005-12-12 Wim Taymans <wim@fluendo.com>
13646 * libs/gst/base/gstpushsrc.c:
13649 2005-12-12 Wim Taymans <wim@fluendo.com>
13651 * docs/libs/gstreamer-libs-sections.txt:
13652 Added new symbol to docs.
13654 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13655 (gst_base_src_init), (gst_base_src_set_format),
13656 (gst_base_src_default_query), (gst_base_src_query),
13657 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13658 (gst_base_src_perform_seek), (gst_base_src_send_event),
13659 (gst_base_src_default_event), (gst_base_src_event_handler),
13660 (gst_base_src_set_property), (gst_base_src_get_property),
13661 (gst_base_src_wait), (gst_base_src_do_sync),
13662 (gst_base_src_update_length), (gst_base_src_get_range),
13663 (gst_base_src_check_get_range), (gst_base_src_loop),
13664 (gst_base_src_default_negotiate), (gst_base_src_start),
13665 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13666 (gst_base_src_change_state):
13667 * libs/gst/base/gstbasesrc.h:
13668 Implement seeking to other formats than _BYTES.
13669 Implement more seeking methods correctly.
13671 Added query vmethod.
13672 Added do_seek vmethod to make life easier for subclasses
13674 API addition: gst_base_src_set_format()
13676 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13678 * tests/examples/Makefile.am:
13681 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13684 * docs/random/ensonic/media-device-daemon.txt:
13685 * tests/examples/controller/.cvsignore:
13686 * tests/examples/controller/Makefile.am:
13687 * tests/examples/controller/audio-example.c: (main):
13688 * tests/examples/helloworld/.cvsignore:
13689 * tests/examples/helloworld/Makefile.am:
13690 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13691 * tests/examples/launch/.cvsignore:
13692 * tests/examples/launch/Makefile.am:
13693 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13694 * tests/examples/metadata/.cvsignore:
13695 * tests/examples/metadata/Makefile.am:
13696 * tests/examples/metadata/read-metadata.c: (message_loop),
13697 (make_pipeline), (print_tag), (main):
13698 * tests/examples/queue/.cvsignore:
13699 * tests/examples/queue/Makefile.am:
13700 * tests/examples/queue/queue.c: (event_loop), (main):
13701 * tests/examples/typefind/.cvsignore:
13702 * tests/examples/typefind/Makefile.am:
13703 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13705 * tests/examples/xml/.cvsignore:
13706 * tests/examples/xml/Makefile.am:
13707 * tests/examples/xml/createxml.c: (object_saved), (main):
13708 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13709 * tests/old/examples/Makefile.am:
13710 * tests/old/examples/TODO:
13711 * tests/old/examples/controller/.cvsignore:
13712 * tests/old/examples/controller/Makefile.am:
13713 * tests/old/examples/controller/audio-example.c:
13714 * tests/old/examples/helloworld/.cvsignore:
13715 * tests/old/examples/helloworld/Makefile.am:
13716 * tests/old/examples/helloworld/helloworld.c:
13717 * tests/old/examples/launch/.cvsignore:
13718 * tests/old/examples/launch/Makefile.am:
13719 * tests/old/examples/launch/mp3parselaunch.c:
13720 * tests/old/examples/launch/mp3play:
13721 * tests/old/examples/manual/Makefile.am:
13722 * tests/old/examples/metadata/Makefile.am:
13723 * tests/old/examples/metadata/read-metadata.c:
13724 * tests/old/examples/queue/.cvsignore:
13725 * tests/old/examples/queue/Makefile.am:
13726 * tests/old/examples/queue/queue.c:
13727 * tests/old/examples/typefind/.cvsignore:
13728 * tests/old/examples/typefind/Makefile.am:
13729 * tests/old/examples/typefind/typefind.c:
13730 * tests/old/examples/xml/.cvsignore:
13731 * tests/old/examples/xml/Makefile.am:
13732 * tests/old/examples/xml/createxml.c:
13733 * tests/old/examples/xml/runxml.c:
13734 applied some simple fixing to some examples
13735 re-enabled the working examples
13737 2005-12-12 Wim Taymans <wim@fluendo.com>
13739 * gst/gstsegment.c: (gst_segment_init),
13740 (gst_segment_set_last_stop), (gst_segment_set_seek),
13741 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13742 (gst_segment_to_running_time):
13743 Added more documentation.
13744 Make sure the last_pos value is updated properly.
13745 Make sure to_stream_time and to_running_time don't
13746 operate on wrong values.
13748 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13751 2005-12-12 Michael Smith <msmith@fluendo.com>
13753 * plugins/elements/gsttypefindelement.c: (free_entry),
13754 (gst_type_find_element_chain):
13755 Now that we're not leaking factories, make sure we keep references
13756 to them while we need them.
13758 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13760 * tests/check/gst/struct_i386.h:
13761 ifdef out the XML structs
13763 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13765 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13766 floor is not needed, F is always positive; this obviates the
13767 need for adding -lm when building without libxml
13769 2005-12-12 Wim Taymans <wim@fluendo.com>
13771 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13772 Take current playback rate into account when reporting
13775 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13777 * docs/manual/mime-world.fig:
13778 Let's try this again, this time with a file that is
13779 actually in XFig format.
13781 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13783 * docs/manual/mime-world.fig:
13784 Add audioconvert element to diagram so that it
13785 matches the text and the code (fixes #319526).
13787 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13789 * docs/pwg/building-chainfn.xml:
13790 * docs/pwg/building-pads.xml:
13791 * docs/pwg/building-state.xml:
13792 * docs/pwg/other-source.xml:
13793 Update state change stuff for 0.10 (fixes #322969).
13795 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13797 * docs/manual/advanced-dataaccess.xml:
13798 * docs/manual/appendix-checklist.xml:
13799 * docs/manual/appendix-programs.xml:
13800 * docs/manual/basics-pads.xml:
13801 * docs/manual/highlevel-components.xml:
13802 * docs/manual/manual.xml:
13803 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13804 add converters in front of pipelines; remove curly
13805 brackets for threads stuff, they no longer exist; use
13806 GST_TYPE_FRACTION for framerates; update some pieces of
13807 code to 0.10, but there's plenty more to do.
13809 * docs/manual/appendix-porting.xml:
13810 Expand on asynchroneous state changes; s/0.9/0.10/;
13811 mention disappearance of gst_init_get_popt_table()
13814 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13816 * docs/faq/using.xml:
13817 Spider no longer exists, and neither does gst-launch-ext.
13818 Update examples to use decodebin and playbin and put
13819 converters in front of sinks (fixes #323726).
13821 2005-12-09 Michael Smith <msmith@fluendo.com>
13823 * plugins/elements/gsttypefindelement.c: (find_peek),
13824 (gst_type_find_element_chain):
13825 Fix leaking element factories in typefinding.
13826 Fix problem where we forgot about a probable type on non-seekable
13827 files, and thus later mis-typefound it.
13829 2005-12-09 Michael Smith <msmith@fluendo.com>
13831 * common/m4/gst-makecontext.m4:
13832 * common/m4/gst-mcsc.m4:
13834 * win32/common/config.h:
13835 * win32/common/config.h.in:
13836 Remove makecontext stuff; not used in 0.10 and causes problems on
13837 HPUX according to bug #322441
13839 2005-12-07 Wim Taymans <wim@fluendo.com>
13841 * tests/check/Makefile.am:
13842 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13844 * tests/check/libs/struct_i386.h:
13845 Added ABI check for libs
13847 2005-12-07 Wim Taymans <wim@fluendo.com>
13849 * tests/check/Makefile.am:
13850 And add the struct_i386.h to dist.
13852 2005-12-07 Wim Taymans <wim@fluendo.com>
13854 * tests/check/Makefile.am:
13855 * tests/check/gst/.cvsignore:
13856 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13858 * tests/check/gst/struct_i386.h:
13859 Added check for ABI compatibility.
13861 2005-12-07 Wim Taymans <wim@fluendo.com>
13863 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13864 (gst_fake_src_get_times), (gst_fake_src_create):
13865 Fix broken sync option, fixes #323259
13867 2005-12-07 Wim Taymans <wim@fluendo.com>
13872 * gst/gstcaps.c: (gst_caps_is_equal):
13873 Don't assert on NULL <--> X. Fixes #323260
13875 * gst/gstminiobject.c: (gst_mini_object_replace):
13876 If we're doing atomic operations, we might just as well use
13877 the proper way to get an atomic pointer.
13879 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13880 Clean up debugging.
13882 2005-12-07 Michael Smith <msmith@fluendo.com>
13884 * gst/parse/grammar.y:
13885 Remove handling of { } for threads.
13887 2005-12-06 David Schleef <ds@schleef.org>
13889 * libs/gst/base/gstbasetransform.c: speling fix.
13891 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13893 * docs/libs/tmpl/gstdataprotocol.sgml:
13894 * docs/random/omega/testing/gstobject.c:
13897 * gst/gstelement.c:
13898 * gst/gstelementfactory.c:
13901 * gst/gstghostpad.c:
13903 * gst/gstpadtemplate.c:
13904 * gst/gstregistryxml.c:
13905 * gst/gsttaglist.c:
13906 * gst/gsttagsetter.c:
13907 * gst/gsttypefind.c:
13909 * libs/gst/base/gstbasesrc.c:
13910 * libs/gst/net/gstnetclientclock.c:
13911 * libs/gst/net/gstnettimeprovider.c:
13912 * plugins/elements/gstfakesrc.c:
13913 * plugins/elements/gstfdsrc.c:
13914 * plugins/elements/gstfilesrc.c:
13915 * plugins/elements/gstidentity.c:
13916 * plugins/elements/gstqueue.c:
13917 * plugins/elements/gsttypefindelement.c:
13918 * plugins/indexers/gstfileindex.c:
13919 * plugins/indexers/gstmemindex.c:
13920 * tests/check/gst/gsttag.c:
13921 * tests/old/examples/cutter/cutter.c:
13922 * tests/old/examples/mixer/mixer.c:
13923 * tests/old/examples/xml/runxml.c: (main):
13924 * tests/old/testsuite/caps/normalisation.c:
13925 * tests/old/testsuite/debug/global.c:
13926 * tests/old/testsuite/parse/parse1.c:
13927 * tools/gst-xmlinspect.c:
13928 * win32/common/dirent.c:
13931 === release 0.10.0 ===
13933 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13936 releasing 0.10.0, "Maroilles"
13938 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13940 submitted by: Funda Wang <fundawang@linux.net.cn>
13944 added Chinese (Traditional) translation
13946 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13948 * docs/gst/gstreamer-sections.txt:
13949 * docs/libs/tmpl/gstdataprotocol.sgml:
13950 * docs/random/thomasvs/TODO:
13955 2005-12-05 Andy Wingo <wingo@pobox.com>
13957 patch by: Wim Taymans <wim@fluendo.com>
13959 * libs/gst/base/gstbasetransform.c
13960 (gst_base_transform_prepare_output_buf)
13961 (gst_base_transform_buffer_alloc):
13962 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13963 alloc_buffer_and_set_caps.
13965 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13966 set_caps on the source pad.
13967 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13968 alloc_buffer used to do. Fixes #322874.
13970 * docs/gst/gstreamer-sections.txt:
13971 * docs/design/part-negotiation.txt:
13972 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13975 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13977 patch by: Sebastien Moutte
13980 * win32/common/config.h.in:
13981 * win32/vs6/libgstcontroller.dsp:
13984 2005-12-05 Wim Taymans <wim@fluendo.com>
13986 * gst/gstcaps.c: (gst_caps_is_equal):
13987 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13988 (gst_fake_src_create):
13989 Back out previous code changes, leave doc updates, file bugs
13992 2005-12-05 Wim Taymans <wim@fluendo.com>
13994 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13995 (gst_fake_src_get_times), (gst_fake_src_create):
13996 * plugins/elements/gstfakesrc.h:
13997 Fix broken sync code.
13999 2005-12-05 Wim Taymans <wim@fluendo.com>
14001 * gst/gstcaps.c: (gst_caps_is_equal):
14002 Comparing NULL against !NULL yields different caps, not a
14005 2005-12-05 Wim Taymans <wim@fluendo.com>
14007 * gst/gstpipeline.c:
14008 Fix small typo in docs.
14010 2005-12-05 Andy Wingo <wingo@pobox.com>
14012 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
14014 * gst/gst.c (init_post): remove hard-coded 0.9 location for
14015 registries/plugins with a MAJORMINOR one.
14016 (plugin_desc): Rename library from gstcoreleements to
14017 staticelements. Fixes #323222.
14019 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
14021 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14022 Change debug category to 'collectpads' from 'collect_pads'
14025 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14027 patch by: Sebastien Moutte
14029 * libs/gst/controller/gstinterpolation.c:
14030 use convert function for uint64/double
14031 * win32/vs6/libgstcontroller.dsp:
14034 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
14036 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14037 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14039 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14040 add tests that seem to show that the guint64/gdouble conversions
14043 2005-12-02 Wim Taymans <wim@fluendo.com>
14045 * gst/gstregistry.c: (gst_registry_add_path):
14046 * gst/gstregistry.h:
14047 * gst/gstregistryxml.c:
14050 2005-12-02 Wim Taymans <wim@fluendo.com>
14052 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14053 (gst_util_uint64_scale_int):
14056 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14057 Add debug log line.
14059 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14062 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14065 * win32/common/config.h:
14066 * win32/vs6/gstreamer.dsw:
14067 * win32/vs6/libgstcoreelements.dsp:
14068 * win32/vs6/libgstelements.dsp:
14069 renamed core elements plugin
14071 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
14073 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14075 do piece-wise major/minor comparison so 0.9 < 0.10
14076 also allow .exe extensions for tools
14078 2005-12-02 Michael Smith <msmith@fluendo.com>
14081 Escape a % to make gtkdoc happier; bug 322958.
14083 === release 0.9.7 ===
14085 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14088 releasing 0.9.7, "My Dog Has No Nose"
14090 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14092 * common/gst-xmlinspect.py:
14094 * docs/libs/tmpl/gstdataprotocol.sgml:
14095 * docs/random/release:
14114 * win32/common/config.h:
14115 * win32/common/config.h.in:
14116 * win32/vs6/gst_inspect.dsp:
14117 * win32/vs6/gst_launch.dsp:
14118 * win32/vs6/libgstbase.dsp:
14119 * win32/vs6/libgstelements.dsp:
14120 * win32/vs6/libgstreamer.dsp:
14121 * win32/vs7/GStreamer.vcproj:
14122 * win32/vs7/gst-inspect.vcproj:
14123 * win32/vs7/gst-launch.vcproj:
14124 * win32/vs7/libgstbase.vcproj:
14125 bump GST_MAJORMINOR to 0.10
14126 reset libtool version
14128 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14132 Added Bulgarian translation by (Alexander Shopov)
14134 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14136 * tests/check/gst/gstplugin.c:
14139 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14141 * common/gst-xmlinspect.py:
14142 * common/gtk-doc-plugins.mak:
14144 * docs/Makefile.am:
14145 * docs/gst/Makefile.am:
14146 * docs/gst/gstreamer-docs.sgml:
14147 * docs/gst/gstreamer-sections.txt:
14148 * docs/gst/gstreamer.types:
14149 * docs/gst/gstreamer.types.in:
14150 * docs/plugins/Makefile.am:
14151 * docs/plugins/gstreamer-plugins-docs.sgml:
14152 * docs/plugins/gstreamer-plugins-sections.txt:
14153 * docs/plugins/gstreamer-plugins.types:
14154 * docs/plugins/inspect.stamp:
14155 * docs/plugins/inspect/plugin-coreelements.xml:
14156 * docs/plugins/inspect/plugin-coreindexers.xml:
14157 * docs/plugins/scanobj-build.stamp:
14158 * gstreamer.spec.in:
14159 * plugins/elements/Makefile.am:
14160 * plugins/elements/gstelements.c:
14161 * plugins/elements/gstfakesink.c:
14162 * plugins/elements/gstfakesrc.c:
14163 * plugins/elements/gstfilesink.c:
14164 * plugins/elements/gstfilesrc.c:
14165 * plugins/elements/gstqueue.c:
14166 * plugins/indexers/Makefile.am:
14167 * plugins/indexers/gstindexers.c:
14168 document core plugins in a separate document just like all the
14170 rename these plugins to something starting with core
14172 2005-12-01 Andy Wingo <wingo@pobox.com>
14174 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14175 padding here before, but it missed the commit.
14177 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14179 * libs/gst/controller/gstinterpolation.c:
14180 whitespace prices have crashed, we should feel free to use some now
14181 use gst_guint64_to_gdouble
14183 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14185 * libs/gst/controller/gstcontroller.c:
14186 * libs/gst/controller/gsthelper.c:
14187 * libs/gst/controller/gstinterpolation.c:
14188 * libs/gst/controller/lib.c:
14189 wrap config.h include
14191 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14193 * docs/gst/gstreamer-sections.txt:
14196 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
14198 * plugins/elements/gstelements.c:
14199 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14200 (gst_fd_sink__class_init), (gst_fd_sink__init),
14201 (gst_fd_sink__chain), (gst_fd_sink__set_property),
14202 (gst_fd_sink__get_property):
14203 * plugins/elements/gstfdsink.h:
14204 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14205 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14206 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14207 (gst_fd_src_unlock), (gst_fd_src_set_property),
14208 (gst_fd_src_get_property), (gst_fd_src_create),
14209 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14210 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14211 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14212 (gst_fd_src_uri_handler_init):
14213 * plugins/elements/gstfdsrc.h:
14214 * plugins/elements/gstqueue.c: (gst_queue_get_type):
14217 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14219 * docs/gst/Makefile.am:
14220 * docs/gst/gstreamer.types.in:
14224 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14230 * gst/gstregistry.h:
14231 * tests/benchmarks/complexity.c:
14232 * tests/benchmarks/mass-elements.c:
14233 * tests/check/Makefile.am:
14234 * tools/Makefile.am:
14235 * tools/gst-inspect.c:
14236 * tools/gst-xmlinspect.c:
14237 various fixes to make
14238 --disable-nls --disable-registry --disable-loadsave
14239 --disable-parse --disable-gst-debug
14240 work and get the core .so down to 360444 bytes after stripping
14242 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14247 * docs/random/thomasvs/TODO:
14248 * tests/Makefile.am:
14252 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14254 * win32/GStreamer.vcproj:
14257 * win32/Makefile.inspect:
14258 * win32/Makefile.launch:
14259 * win32/Makefile.register:
14260 * win32/README.txt:
14261 * win32/gst-inspect.vcproj:
14262 * win32/gst-launch.vcproj:
14263 * win32/gst-register.vcproj:
14264 * win32/gstelements.vcproj:
14265 * win32/gstgetbits.def:
14266 * win32/gstgetbits.vcproj:
14267 * win32/gstreamer-dbg.def:
14268 * win32/gstreamer.def:
14269 * win32/libgstbase.def:
14270 * win32/libgstbase.vcproj:
14271 * win32/link_oldruntime.c:
14275 * win32/msvc71.sln:
14276 move even more stuff, win32/ is nice and clean now
14278 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14280 * libs/gst/control/.cvsignore:
14285 * win32/gstbytestream.def:
14286 * win32/gstbytestream.vcproj:
14287 * win32/gstconfig.h:
14288 * win32/gstenumtypes.c:
14289 * win32/gstenumtypes.h:
14290 * win32/gstoptimalscheduler.vcproj:
14291 * win32/gstversion.h:
14293 * win32/testsuite/bins.vcproj:
14294 * win32/testsuite/bytestream.vcproj:
14295 * win32/testsuite/caps.vcproj:
14296 * win32/testsuite/cleanup.vcproj:
14297 * win32/testsuite/clock.vcproj:
14298 * win32/testsuite/debug.vcproj:
14299 * win32/testsuite/dlopen.vcproj:
14300 * win32/testsuite/dynparams.vcproj:
14301 * win32/testsuite/elements.vcproj:
14302 * win32/testsuite/ghostpads.vcproj:
14303 * win32/testsuite/indexers.vcproj:
14304 * win32/testsuite/negotiation.vcproj:
14305 * win32/testsuite/parse.vcproj:
14306 * win32/testsuite/plugin.vcproj:
14307 * win32/testsuite/refcounting.vcproj:
14308 * win32/testsuite/schedulers.vcproj:
14309 * win32/testsuite/states.vcproj:
14310 * win32/testsuite/tags.vcproj:
14311 * win32/testsuite/threads.vcproj:
14312 remove old win32 stuff that isn't maintained and should be
14315 2005-11-30 Andy Wingo <wingo@pobox.com>
14317 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14318 loading the gst.interfaces python module bork.
14320 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14321 available since GLib 2.2. Fixes #318031.
14323 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14326 * check/.cvsignore:
14327 * check/Makefile.am:
14328 * check/elements/.cvsignore:
14329 * check/elements/fakesrc.c:
14330 * check/elements/fdsrc.c:
14331 * check/elements/identity.c:
14332 * check/generic/.cvsignore:
14333 * check/generic/states.c:
14334 * check/gst-libs/.cvsignore:
14335 * check/gst-libs/controller.c:
14336 * check/gst-libs/gdp.c:
14337 * check/gst/.cvsignore:
14338 * check/gst/capslist.h:
14340 * check/gst/gstbin.c:
14341 * check/gst/gstbuffer.c:
14342 * check/gst/gstbus.c:
14343 * check/gst/gstcaps.c:
14344 * check/gst/gstelement.c:
14345 * check/gst/gstevent.c:
14346 * check/gst/gstghostpad.c:
14347 * check/gst/gstiterator.c:
14348 * check/gst/gstmessage.c:
14349 * check/gst/gstminiobject.c:
14350 * check/gst/gstobject.c:
14351 * check/gst/gstpad.c:
14352 * check/gst/gstpipeline.c:
14353 * check/gst/gstplugin.c:
14354 * check/gst/gstsegment.c:
14355 * check/gst/gststructure.c:
14356 * check/gst/gstsystemclock.c:
14357 * check/gst/gsttag.c:
14358 * check/gst/gstutils.c:
14359 * check/gst/gstvalue.c:
14360 * check/net/.cvsignore:
14361 * check/net/gstnetclientclock.c:
14362 * check/net/gstnettimeprovider.c:
14363 * check/pipelines/.cvsignore:
14364 * check/pipelines/cleanup.c:
14365 * check/pipelines/simple_launch_lines.c:
14366 * check/pipelines/stress.c:
14367 * check/states/.cvsignore:
14368 * check/states/sinks.c:
14370 * examples/Makefile.am:
14371 * examples/appreader/.cvsignore:
14372 * examples/appreader/Makefile.am:
14373 * examples/appreader/appreader.c:
14374 * examples/controller/.cvsignore:
14375 * examples/controller/Makefile.am:
14376 * examples/controller/audio-example.c:
14377 * examples/cutter/.cvsignore:
14378 * examples/cutter/Makefile.am:
14379 * examples/cutter/cutter.c:
14380 * examples/cutter/cutter.h:
14381 * examples/events/Makefile.am:
14382 * examples/events/seek.c:
14383 * examples/helloworld/.cvsignore:
14384 * examples/helloworld/Makefile.am:
14385 * examples/helloworld/helloworld.c:
14386 * examples/helloworld2/.cvsignore:
14387 * examples/helloworld2/Makefile.am:
14388 * examples/helloworld2/helloworld2.c:
14389 * examples/launch/.cvsignore:
14390 * examples/launch/Makefile.am:
14391 * examples/launch/mp3parselaunch.c:
14392 * examples/launch/mp3play:
14393 * examples/manual/.cvsignore:
14394 * examples/manual/Makefile.am:
14395 * examples/manual/extract.pl:
14396 * examples/metadata/Makefile.am:
14397 * examples/metadata/read-metadata.c:
14398 * examples/mixer/.cvsignore:
14399 * examples/mixer/Makefile.am:
14400 * examples/mixer/mixer.c:
14401 * examples/mixer/mixer.h:
14402 * examples/pingpong/.cvsignore:
14403 * examples/pingpong/Makefile.am:
14404 * examples/pingpong/pingpong.c:
14405 * examples/plugins/.cvsignore:
14406 * examples/plugins/Makefile.am:
14407 * examples/plugins/example.c:
14408 * examples/plugins/example.h:
14409 * examples/pwg/.cvsignore:
14410 * examples/pwg/Makefile.am:
14411 * examples/pwg/extract.pl:
14412 * examples/queue/.cvsignore:
14413 * examples/queue/Makefile.am:
14414 * examples/queue/queue.c:
14415 * examples/queue2/.cvsignore:
14416 * examples/queue2/Makefile.am:
14417 * examples/queue2/queue2.c:
14418 * examples/queue3/.cvsignore:
14419 * examples/queue3/Makefile.am:
14420 * examples/queue3/queue3.c:
14421 * examples/queue4/.cvsignore:
14422 * examples/queue4/Makefile.am:
14423 * examples/queue4/queue4.c:
14424 * examples/retag/.cvsignore:
14425 * examples/retag/Makefile.am:
14426 * examples/retag/retag.c:
14427 * examples/retag/transcode.c:
14428 * examples/thread/.cvsignore:
14429 * examples/thread/Makefile.am:
14430 * examples/thread/thread.c:
14431 * examples/typefind/.cvsignore:
14432 * examples/typefind/Makefile.am:
14433 * examples/typefind/typefind.c:
14434 * examples/xml/.cvsignore:
14435 * examples/xml/Makefile.am:
14436 * examples/xml/createxml.c:
14437 * examples/xml/runxml.c:
14438 * tests/Makefile.am:
14439 * tests/check/Makefile.am:
14440 * testsuite/.cvsignore:
14441 * testsuite/Makefile.am:
14443 * testsuite/caps/.cvsignore:
14444 * testsuite/caps/Makefile.am:
14445 * testsuite/caps/app_fixate.c:
14446 * testsuite/caps/audioscale.c:
14447 * testsuite/caps/caps.c:
14448 * testsuite/caps/caps.h:
14449 * testsuite/caps/caps_strings:
14450 * testsuite/caps/compatibility.c:
14451 * testsuite/caps/deserialize.c:
14452 * testsuite/caps/enumcaps.c:
14453 * testsuite/caps/eratosthenes.c:
14454 * testsuite/caps/filtercaps.c:
14455 * testsuite/caps/fixed.c:
14456 * testsuite/caps/fraction-convert.c:
14457 * testsuite/caps/fraction-multiply-and-zero.c:
14458 * testsuite/caps/intersect2.c:
14459 * testsuite/caps/intersection.c:
14460 * testsuite/caps/normalisation.c:
14461 * testsuite/caps/random.c:
14462 * testsuite/caps/renegotiate.c:
14463 * testsuite/caps/sets.c:
14464 * testsuite/caps/simplify.c:
14465 * testsuite/caps/string-conversions.c:
14466 * testsuite/caps/structure.c:
14467 * testsuite/caps/subtract.c:
14468 * testsuite/caps/union.c:
14469 * testsuite/debug/.cvsignore:
14470 * testsuite/debug/Makefile.am:
14471 * testsuite/debug/category.c:
14472 * testsuite/debug/commandline.c:
14473 * testsuite/debug/global.c:
14474 * testsuite/debug/output.c:
14475 * testsuite/debug/printf_extension.c:
14476 * testsuite/dlopen/.cvsignore:
14477 * testsuite/dlopen/Makefile.am:
14478 * testsuite/dlopen/dlopen_gst.c:
14479 * testsuite/dlopen/loadgst.c:
14480 * testsuite/elements/.cvsignore:
14481 * testsuite/elements/Makefile.am:
14482 * testsuite/elements/gst-inspect-check.in:
14483 * testsuite/elements/struct_i386.h:
14484 * testsuite/elements/struct_size.c:
14485 * testsuite/indexers/.cvsignore:
14486 * testsuite/indexers/Makefile.am:
14487 * testsuite/indexers/cache1.c:
14488 * testsuite/indexers/indexdump.c:
14489 * testsuite/parse/.cvsignore:
14490 * testsuite/parse/Makefile.am:
14491 * testsuite/parse/parse1.c:
14492 * testsuite/parse/parse2.c:
14493 * testsuite/plugin/.cvsignore:
14494 * testsuite/plugin/Makefile.am:
14495 * testsuite/plugin/README:
14496 * testsuite/plugin/dynamic.c:
14497 * testsuite/plugin/linked.c:
14498 * testsuite/plugin/loading.c:
14499 * testsuite/plugin/registry.c:
14500 * testsuite/plugin/static.c:
14501 * testsuite/plugin/static2.c:
14502 * testsuite/plugin/testplugin.c:
14503 * testsuite/plugin/testplugin2.c:
14504 * testsuite/plugin/testplugin2_s.c:
14505 * testsuite/plugin/testplugin_s.c:
14506 * testsuite/refcounting/.cvsignore:
14507 * testsuite/refcounting/Makefile.am:
14508 * testsuite/refcounting/bin.c:
14509 * testsuite/refcounting/element.c:
14510 * testsuite/refcounting/element_pad.c:
14511 * testsuite/refcounting/mainloop.c:
14512 * testsuite/refcounting/mem.c:
14513 * testsuite/refcounting/mem.h:
14514 * testsuite/refcounting/object.c:
14515 * testsuite/refcounting/pad.c:
14516 * testsuite/refcounting/sched.c:
14517 * testsuite/refcounting/thread.c:
14518 * testsuite/states/.cvsignore:
14519 * testsuite/states/Makefile.am:
14520 * testsuite/states/bin.c:
14521 * testsuite/states/locked.c:
14522 * testsuite/states/parent.c:
14523 * testsuite/threads/.cvsignore:
14524 * testsuite/threads/159566.c:
14525 * testsuite/threads/159852.c:
14526 * testsuite/threads/Makefile.am:
14527 * testsuite/threads/queue.c:
14528 * testsuite/threads/signals.c:
14529 * testsuite/threads/staticrec.c:
14530 * testsuite/threads/thread.c:
14531 * testsuite/threads/threadb.c:
14532 * testsuite/threads/threadc.c:
14533 * testsuite/threads/threadd.c:
14534 * testsuite/threads/threade.c:
14535 * testsuite/threads/threadf.c:
14536 * testsuite/threads/threadg.c:
14537 * testsuite/threads/threadh.c:
14538 * testsuite/threads/threadi.c:
14539 move all of these under tests
14541 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14544 * tests/Makefile.am:
14547 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14549 * docs/gst/gstreamer-sections.txt:
14550 * tests/sched/.cvsignore:
14551 * tests/sched/Makefile.am:
14552 * tests/sched/cases/(fs-fs).xml:
14553 * tests/sched/cases/(fs-i-fs).xml:
14554 * tests/sched/cases/(fs-i-i-fs).xml:
14555 * tests/sched/cases/(fs-i-q[i-fs]).xml:
14556 * tests/sched/dynamic-pipeline.c:
14557 * tests/sched/interrupt1.c:
14558 * tests/sched/interrupt2.c:
14559 * tests/sched/interrupt3.c:
14560 * tests/sched/runtestcases:
14561 * tests/sched/runxml.c:
14562 * tests/sched/sched-stress.c:
14563 * tests/sched/sort.c:
14564 * tests/sched/testcases:
14565 * tests/sched/testcases1.tc:
14566 * tests/seeking/.cvsignore:
14567 * tests/seeking/Makefile.am:
14568 * tests/seeking/seeking1.c:
14569 * tests/threadstate/.cvsignore:
14570 * tests/threadstate/Makefile.am:
14571 * tests/threadstate/test1.c:
14572 * tests/threadstate/test2.c:
14573 * tests/threadstate/threadstate1.c:
14574 * tests/threadstate/threadstate2.c:
14575 * tests/threadstate/threadstate3.c:
14576 * tests/threadstate/threadstate4.c:
14577 * tests/threadstate/threadstate5.c:
14578 remove obsolete tests
14580 * tests/bench-complexity.scm:
14581 * tests/bench-mass_elements.scm:
14582 * tests/complexity.c:
14583 * tests/complexity.gnuplot:
14584 * tests/instantiate/.cvsignore:
14585 * tests/instantiate/Makefile.am:
14586 * tests/instantiate/caps.c:
14587 * tests/mass_elements.c:
14588 * tests/network-clock-utils.scm:
14589 * tests/network-clock.scm:
14591 First pass at cleaning up tests/ dir before moving the rest
14592 Combined with CVS surgery
14594 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14597 queue has moved, update
14599 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14601 * docs/gst/gstreamer-sections.txt:
14602 remove double entries from the docs
14603 * gst/gst_private.h:
14604 * gst/gstinfo.c: (_gst_debug_init):
14605 remove the THREAD debug category
14609 * docs/gst/gstreamer.types:
14610 * plugins/elements/gstqueue.c: (gst_queue_get_type),
14611 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14612 completely move queue and fix up debugging categories
14614 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14616 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14617 make initialization portable, using LL is not
14619 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14621 * win32/common/gstconfig.h:
14624 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14626 * win32/common/libgstreamer.def:
14627 rename symbols; sort base section
14629 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14631 * gst/gstclock.c: (do_linear_regression):
14632 remove crack non-portable handrolled DEBUG macro
14634 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14636 * docs/random/release:
14638 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14639 (gst_object_flags_get_type), (register_gst_bin_flags),
14640 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14641 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14642 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14643 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14644 (gst_caps_flags_get_type), (register_gst_clock_return),
14645 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14646 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14647 (gst_clock_flags_get_type), (register_gst_state),
14648 (gst_state_get_type), (register_gst_state_change_return),
14649 (gst_state_change_return_get_type), (register_gst_state_change),
14650 (gst_state_change_get_type), (register_gst_element_flags),
14651 (gst_element_flags_get_type), (register_gst_core_error),
14652 (gst_core_error_get_type), (register_gst_library_error),
14653 (gst_library_error_get_type), (register_gst_resource_error),
14654 (gst_resource_error_get_type), (register_gst_stream_error),
14655 (gst_stream_error_get_type), (register_gst_event_type_flags),
14656 (gst_event_type_flags_get_type), (register_gst_event_type),
14657 (gst_event_type_get_type), (register_gst_seek_type),
14658 (gst_seek_type_get_type), (register_gst_seek_flags),
14659 (gst_seek_flags_get_type), (register_gst_format),
14660 (gst_format_get_type), (register_gst_index_certainty),
14661 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14662 (gst_index_entry_type_get_type),
14663 (register_gst_index_lookup_method),
14664 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14665 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14666 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14667 (gst_index_flags_get_type), (register_gst_debug_level),
14668 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14669 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14670 (gst_iterator_result_get_type), (register_gst_iterator_item),
14671 (gst_iterator_item_get_type), (register_gst_message_type),
14672 (gst_message_type_get_type), (register_gst_mini_object_flags),
14673 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14674 (gst_pad_link_return_get_type), (register_gst_flow_return),
14675 (gst_flow_return_get_type), (register_gst_activate_mode),
14676 (gst_activate_mode_get_type), (register_gst_pad_direction),
14677 (gst_pad_direction_get_type), (register_gst_pad_flags),
14678 (gst_pad_flags_get_type), (register_gst_pad_presence),
14679 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14680 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14681 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14682 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14683 (gst_plugin_flags_get_type), (register_gst_rank),
14684 (gst_rank_get_type), (register_gst_query_type),
14685 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14686 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14687 (gst_tag_flag_get_type), (register_gst_task_state),
14688 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14689 (gst_alloc_trace_flags_get_type),
14690 (register_gst_type_find_probability),
14691 (gst_type_find_probability_get_type), (register_gst_uri_type),
14692 (gst_uri_type_get_type), (register_gst_parse_error),
14693 (gst_parse_error_get_type):
14694 * win32/common/gstenumtypes.h:
14695 * win32/common/gstversion.h:
14696 update visual studio generated files
14698 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14700 * win32/vs6/libgstbase.dsp:
14701 * win32/vs6/libgstelements.dsp:
14702 update project files for new locations
14704 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14709 reinstate and update
14714 * docs/random/LICENSE:
14717 2005-11-30 Edward Hervey <edward@fluendo.com>
14719 * gst/gsttypefind.c: (gst_type_find_register):
14720 * gst/gsttypefind.h:
14721 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14722 (gst_type_find_factory_dispose):
14723 * gst/gsttypefindfactory.h:
14724 Fix memory leak in GstTypeFindFactory.
14726 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14729 * plugins/elements/Makefile.am:
14730 * plugins/elements/gstelements.c:
14731 * plugins/elements/gstqueue.c:
14732 move queue from core to the elements plugin
14734 2005-11-29 Andy Wingo <wingo@pobox.com>
14736 * libs/gst/base/gstbasetransform.h:
14737 * libs/gst/base/gstbasesrc.h:
14738 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14740 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14741 of pointers by which to pad very extensible base classes (like the
14742 ones in libs/gst/base).
14744 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14746 * docs/gst/gstreamer-docs.sgml:
14747 * docs/gst/gstreamer-sections.txt:
14748 * docs/libs/gstreamer-libs-docs.sgml:
14749 * docs/libs/gstreamer-libs-sections.txt:
14750 moving documentation from core to lib
14752 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14754 * check/Makefile.am:
14756 * docs/gst/Makefile.am:
14758 * gst/base/.cvsignore:
14759 * gst/base/Makefile.am:
14761 * gst/base/gstadapter.c:
14762 * gst/base/gstadapter.h:
14763 * gst/base/gstbasesink.c:
14764 * gst/base/gstbasesink.h:
14765 * gst/base/gstbasesrc.c:
14766 * gst/base/gstbasesrc.h:
14767 * gst/base/gstbasetransform.c:
14768 * gst/base/gstbasetransform.h:
14769 * gst/base/gstcollectpads.c:
14770 * gst/base/gstcollectpads.h:
14771 * gst/base/gstpushsrc.c:
14772 * gst/base/gstpushsrc.h:
14773 * gst/base/gsttypefindhelper.c:
14774 * gst/base/gsttypefindhelper.h:
14775 * gst/check/Makefile.am:
14776 * gst/check/gstcheck.c:
14777 * gst/check/gstcheck.h:
14778 * gst/net/Makefile.am:
14779 * gst/net/gstnet.h:
14780 * gst/net/gstnetclientclock.c:
14781 * gst/net/gstnetclientclock.h:
14782 * gst/net/gstnettimepacket.c:
14783 * gst/net/gstnettimepacket.h:
14784 * gst/net/gstnettimeprovider.c:
14785 * gst/net/gstnettimeprovider.h:
14786 * libs/gst/Makefile.am:
14787 * libs/gst/base/Makefile.am:
14788 * libs/gst/base/gstbasetransform.c:
14789 * libs/gst/check/Makefile.am:
14790 * plugins/elements/Makefile.am:
14792 CVS surgery + support to move base, check, and net out of gst
14795 2005-11-29 Andy Wingo <wingo@pobox.com>
14797 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14799 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14802 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14804 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14806 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14808 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14809 padding; reduces object size by about 30%. We don't expect
14810 anything else to go into gstobject.
14812 * gst/gstminiobject.h (struct _GstMiniObject)
14813 (struct _GstMiniObjectClass): Only one pointer of padding; the
14814 payload is only a pointer and two ints anyway. For the class there
14815 are only two methods as well.
14817 * gst/gstelement.h (struct _GstElementClass): Removed
14818 the state_changed signal callback, it is not used.
14820 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14822 * docs/gst/gstreamer.types:
14823 fix includes, though they are a little dinky
14825 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14827 * check/Makefile.am:
14828 look in the right place for elements, a lot more chance of
14831 remove indexers and elements subdirs
14832 * plugins/Makefile.am:
14833 make indexers conditional
14835 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14839 * plugins/elements/Makefile.am:
14840 * plugins/elements/gstcapsfilter.c:
14841 * plugins/elements/gstfilesink.c:
14842 * plugins/elements/gstfilesrc.c:
14843 * plugins/elements/gstidentity.c:
14844 * plugins/indexers/Makefile.am:
14845 do CVS surgery and related build fixery to move elements
14846 and indexers in a new gstreamer/plugins directory, out of the
14849 2005-11-29 Andy Wingo <wingo@pobox.com>
14851 * check/Makefile.am:
14852 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14853 * pkgconfig/gstreamer-net.pc.in:
14854 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14857 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14859 * tools/Makefile.am:
14860 * tools/gst-complete.1.in:
14861 * tools/gst-complete.c:
14862 * tools/gst-compprep.1.in:
14863 * tools/gst-compprep.c:
14864 removing -compprep and -complete
14866 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14868 * gst/gstevent.c: (gst_event_new_new_segment),
14869 (gst_event_parse_new_segment):
14871 fix #320529 - clean up new_segment API and structure.
14872 Let's hope everyone was using the methods, and not the structure.
14874 2005-11-29 Edward Hervey <edward@fluendo.com>
14876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14877 (gst_base_sink_event), (gst_base_sink_do_sync),
14878 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14879 Properly handle non GST_FORMAT_TIME segment
14880 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14881 Properly handle non GST_FORMAT_TIME segment
14882 * gst/gstsegment.c:
14883 This function is valid if the accumulator is 0 and the format
14884 is different from the requested format.
14886 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14888 * docs/gst/gstreamer-sections.txt:
14889 Add gst_query_new_seeking and gst_query_parse_seeking to the
14892 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14894 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14895 Treat a pad alloc with new caps the same as if we were not
14896 negotiated, in order to allow a changing upstream output
14897 to produce a new format of data.
14899 2005-11-29 Edward Hervey <edward@fluendo.com>
14901 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14902 (gst_base_transform_event), (gst_base_transform_eventfunc):
14903 The event virtual method is now properly implemented, with a default
14905 Sub classes should call the parent_class event method. They should
14906 return FALSE if they had a problem handling the given event, or don't
14907 want GstBaseTransform to send that even downstream
14908 * gst/elements/gstidentity.c: (gst_identity_class_init),
14909 (gst_identity_init), (gst_identity_event),
14910 (gst_identity_transform_ip), (gst_identity_set_property),
14911 (gst_identity_get_property):
14912 * gst/elements/gstidentity.h:
14913 Added the single-segment boolean property.
14914 If set to TRUE, it will output a single segment of data, starting from
14915 0, will eat up all incoming newsegment, and modify the timestamp of the
14916 buffers accordingly
14918 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14920 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14921 Don't ref NULL target pad (#322751). Improve docs.
14923 2005-11-29 Michael Smith <msmith@fluendo.com>
14925 * gst/gstregistryxml.c: (load_plugin):
14926 Don't crash if we failed to load a feature from a plugin.
14928 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14930 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14932 use more check API and less GLib API
14934 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14937 don't run checks if we don't have check
14938 * common/check.mak:
14939 remove the registry when running make torture
14940 * docs/gst/gstreamer-sections.txt:
14941 remove second multiply
14942 * gst/gstqueue.c: (gst_queue_loop):
14943 fix a compile warning when disabling debug
14945 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14948 Hey! Let's print the pad name if the pointer != NULL instead
14949 of when it == NULL :-)
14951 2005-11-28 Wim Taymans <wim@fluendo.com>
14953 * check/gst/gstutils.c: (GST_START_TEST):
14954 Updated check, add some scaling accuracy checking code.
14956 * gst/gstutils.c: (gst_util_div128_64),
14957 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14958 (gst_util_uint64_scale_int):
14959 Fix 6 times faster division code. Optimize for common
14960 1/1 and less common X/1 cases.
14962 2005-11-28 Wim Taymans <wim@fluendo.com>
14964 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14967 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14968 (do_linear_regression), (gst_clock_add_observation):
14970 Release lock when the clock cannot be slaved.
14971 Catch the case where the regression returned an invalid denominator.
14973 * gst/gstutils.c: (gst_util_div128_64_iterate),
14974 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14975 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14976 Add protentially more performant non-iterative 128/64 divide function
14977 that unfortunatly does not work yet.
14978 Shortcut the trivial 0/X = 0 case.
14979 Remove the warnings on overflow.
14981 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14983 * gst/gstplugin.c: (gst_plugin_register_func):
14984 everything causing a plugin not to load should be at least a WARNING
14986 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14988 * docs/random/ensonic/dparams.txt:
14989 some TODOs for the next dev cycle
14990 * libs/gst/controller/gstcontroller.c:
14991 (gst_controlled_property_set_interpolation_mode),
14992 (gst_controlled_property_new):
14993 * libs/gst/controller/gstcontroller.h:
14994 use base type to assign acccessor functions
14996 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14998 * check/Makefile.am:
14999 Oops, that should have been top_srcdir
15001 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
15003 * check/Makefile.am:
15004 * check/elements/fdsrc.c: (GST_START_TEST):
15005 Use a cmdline define to specify the location of a file to use for
15006 testing, to avoid breaking distcheck.
15008 2005-11-28 Andy Wingo <wingo@pobox.com>
15010 * gst/gstpad.c (fixate_value): Use array functions for arrays.
15012 2005-11-28 Edward Hervey <edward@fluendo.com>
15014 * tools/gst-launch.c: (main):
15015 Clarify the output strings, makes it easier to translate.
15018 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
15021 don't try and build net if we don't even have <sys/socket.h>
15023 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
15025 * check/Makefile.am:
15026 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15027 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15028 Add tests for fdsrc seekability
15030 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15031 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15032 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15033 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15034 * gst/elements/gstfdsrc.h:
15035 fdsrc should not be a 'live' source.
15036 Implement seeking on seekable fd's.
15038 * gst/gstquery.c: (gst_query_new_seeking),
15039 (gst_query_parse_seeking):
15041 Implement SEEKING query functions:
15042 *_new_seeking and *_parse_seeking
15044 2005-11-27 Stefan Kost <ensonic@users.sf.net>
15046 * gst/gstelement.c: (gst_element_dispose):
15049 * gst/gstiterator.c:
15050 * gst/gststructure.c:
15053 * libs/gst/controller/gstcontroller.c:
15054 (gst_controlled_property_set_interpolation_mode):
15055 * libs/gst/controller/gstcontroller.h:
15056 * libs/gst/controller/gstinterpolation.c:
15057 (interpolate_none_get_enum_value_array):
15058 support controlling enums
15060 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15063 Improve documentation for gst_value_union().
15066 Change return value for union, intersect and subtract functions
15067 from gint to gboolean.
15069 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
15071 * gst/gstvalue.c: (gst_value_serialize_any_list),
15072 (gst_value_transform_any_list_string),
15073 (gst_value_deserialize_list), (gst_value_deserialize_array),
15074 (gst_value_set_int_range), (gst_value_deserialize_int_range),
15075 (gst_value_set_double_range), (gst_value_deserialize_double_range),
15076 (gst_value_set_fraction_range_full),
15077 (gst_value_deserialize_fraction_range),
15078 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15079 (gst_value_deserialize_boolean),
15080 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15081 (gst_value_serialize_float), (gst_value_deserialize_float),
15082 (gst_string_wrap), (gst_value_deserialize_string),
15083 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15084 (gst_value_union_int_range_int_range),
15085 (gst_value_intersect_int_range_int_range),
15086 (gst_value_intersect_double_range_double_range),
15087 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15088 (gst_value_subtract_int_range_int_range),
15089 (gst_value_subtract_double_double_range),
15090 (gst_value_subtract_double_range_double_range),
15091 (gst_value_deserialize_fraction):
15093 Use gint, gdouble and gchar in our API instead of int, double and
15094 char (and make usage in gstvalue.c more consistent).
15096 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15098 * check/Makefile.am:
15099 * libs/gst/controller/Makefile.am:
15100 * libs/gst/dataprotocol/Makefile.am:
15101 fix up Makefile.am and remove GST_ENABLE_NEW
15103 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15107 * gst/base/Makefile.am:
15108 * gst/check/Makefile.am:
15109 * gst/elements/Makefile.am:
15110 * gst/net/Makefile.am:
15111 update LDFLAGS use some more
15113 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
15115 * common/m4/gst-doc.m4:
15118 2005-11-26 Edward Hervey <edward@fluendo.com>
15120 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15121 This shouldn't issue a g_warning since it returns NULL if it
15122 couldn't find the plugin, and all functions using this behave
15123 properly on a NULL return. Switching to a GST_WARNING.
15125 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
15127 * gst/gstbin.c: (gst_bin_handle_message_func):
15128 Don't leak clock messages.
15130 2005-11-25 Wim Taymans <wim@fluendo.com>
15132 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15133 (gst_util_uint64_scale_int):
15134 Optimisations, remove unneeded vars.
15136 2005-11-25 Wim Taymans <wim@fluendo.com>
15138 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15139 Added more checks for the high precision uint64 cases.
15141 * gst/gstutils.c: (gst_util_uint64_scale_int64),
15142 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15143 Implement high precision (guint64 * guint64) / guint64.
15145 2005-11-24 Wim Taymans <wim@fluendo.com>
15147 * gst/base/gstbasesrc.c: (gst_base_src_query):
15148 Fix wrong percentage query.
15150 * gst/gstutils.c: (gst_util_uint64_scale),
15151 (gst_util_uint64_scale_int):
15152 Add some more common cases that can be handled
15153 efficiently to _scale.
15155 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15157 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15158 (gst_mini_object_suite):
15159 don't use check calls from threads; check probably isn't
15160 threadsafe and using a lock to make it threadsafe would
15161 defeat the purpose of this check
15162 * gst/check/gstcheck.c:
15163 * gst/check/gstcheck.h:
15164 use GST_DEBUG some more
15166 2005-11-24 Wim Taymans <wim@fluendo.com>
15168 * gst/gstutils.c: (gst_util_uint64_scale),
15169 (gst_util_uint64_scale_int):
15170 Chain trivial case to _scale_int.
15172 2005-11-24 Wim Taymans <wim@fluendo.com>
15174 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15175 Added test for scaling.
15180 * gst/gstutils.c: (gst_util_uint64_scale_int):
15181 Implemented high precision scaling code.
15183 2005-11-24 Stefan Kost <ensonic@users.sf.net>
15186 do not crash on pad==NULL
15188 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
15190 Patch by: Stefan Kost
15192 * common/gtk-doc.mak:
15193 * docs/gst/Makefile.am:
15194 * docs/libs/Makefile.am:
15195 Fix distcheck issues for the libraries docs build
15198 2005-11-24 Michael Smith <msmith@fluendo.com>
15200 * docs/manual/basics-helloworld.xml:
15201 Fix bug #315027: memory leak in example code in docs.
15203 2005-11-24 Michael Smith <msmith@fluendo.com>
15205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15206 Unlock the PREROLL_LOCK in a failure case.
15208 2005-11-24 Wim Taymans <wim@fluendo.com>
15210 * docs/gst/gstreamer-sections.txt:
15211 * gst/base/gstadapter.h:
15212 * gst/base/gstbasesink.h:
15213 * gst/base/gstbasesrc.h:
15214 * gst/base/gstbasetransform.h:
15215 * gst/base/gstpushsrc.h:
15216 * gst/elements/gstfakesink.h:
15217 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15218 * gst/elements/gstfakesrc.h:
15219 * gst/elements/gstfilesink.h:
15220 * gst/elements/gstfilesrc.h:
15223 * gst/gstbuffer.c: (_gst_buffer_copy):
15226 * gst/gstchildproxy.c:
15228 * gst/gstelement.c:
15229 * gst/gstelementfactory.c:
15230 * gst/gstelementfactory.h:
15232 * gst/gstghostpad.h:
15234 * gst/gstinterface.h:
15235 * gst/gstminiobject.c:
15236 * gst/gstminiobject.h:
15239 * gst/gstpadtemplate.h:
15240 * gst/gstpipeline.h:
15241 * gst/gstpluginfeature.h:
15244 * gst/gsttaglist.c:
15245 * gst/gsttaglist.h:
15246 * gst/gsttagsetter.c:
15247 * gst/gsttagsetter.h:
15250 * gst/gsttypefind.h:
15253 * gst/net/gstnetclientclock.c:
15254 * gst/net/gstnetclientclock.h:
15255 * gst/net/gstnettimepacket.c:
15256 * gst/net/gstnettimeprovider.c:
15257 * gst/net/gstnettimeprovider.h:
15260 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15262 * configure.ac: back to HEAD
15264 === release 0.9.6 ===
15266 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15269 releasing 0.9.6, "Always On Time"
15271 2005-11-23 Wim Taymans <wim@fluendo.com>
15273 * docs/gst/gstreamer-sections.txt:
15274 * gst/glib-compat.c:
15275 * gst/gsttagsetter.c:
15277 * gst/net/gstnetclientclock.c:
15278 * gst/net/gstnettimepacket.h:
15281 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
15283 * docs/faq/using.xml:
15284 * docs/libs/tmpl/gstcontrol.sgml:
15285 * docs/manual/advanced-dparams.xml:
15286 * docs/manual/appendix-checklist.xml:
15287 * docs/manual/basics-elements.xml:
15288 * docs/pwg/other-source.xml:
15289 * docs/random/moving-plugins:
15291 * tools/gst-launch.1.in:
15292 remove mentions of sinesrc
15294 2005-11-23 Michael Smith <msmith@fluendo.com>
15296 * docs/gst/gstreamer-sections.txt:
15297 Update for new API and API changes.
15299 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15301 Documentation typo fix.
15302 * gst/net/gstnettimepacket.c:
15303 Documentation fixes for arguments.
15305 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
15307 * gst/gststructure.c: (gst_structure_get_fraction),
15308 (gst_structure_parse_value),
15309 (gst_structure_fixate_field_nearest_fraction):
15310 * gst/gststructure.h:
15311 * gst/gstutils.c: (gst_util_uint64_scale_int):
15313 * scripts/update-funcnames:
15315 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15316 Make gst_structure_fixate_field_nearest_fraction take a numerator
15317 and denominator argument instead of a GValue
15318 add gst_structure_get_fraction helper function.
15320 2005-11-23 Wim Taymans <wim@fluendo.com>
15322 * docs/design/part-TODO.txt:
15325 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15326 * gst/net/gstnetclientclock.h:
15327 Use parent fields for timeout and window_size.
15329 2005-11-23 Andy Wingo <wingo@pobox.com>
15331 * check/net/gstnetclientclock.c (test_functioning): Adjust to
15332 rate_num/rate_denom change.
15334 * gst/net/gstnetclientclock.c
15335 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15336 OBJECT_LOCK. Don't call add_observation with the lock.
15338 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15340 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15342 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15343 deal with rate as a fraction whose numerator and denominator are
15344 GstClockTime values.
15345 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15346 master; the other fields are protected by the SLAVE_LOCK.
15347 (do_linear_regression): Note that this must be called with the
15349 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15350 OBJECT_LOCK. Call set_calibration instead of touching the
15351 variables directly.
15352 (gst_clock_set_property, gst_clock_get_property): Protect
15353 master/slave parameters with the SLAVE_LOCK.
15355 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15356 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15357 note that all of the instance variables that add_observation and
15358 the set_master functions use are protected by that lock and not
15360 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15362 * gst/gstclock.c (gst_clock_add_observation): No longer requires
15363 the caller to take the object lock.
15365 2005-11-23 Wim Taymans <wim@fluendo.com>
15367 * gst/gsterror.c: (_gst_core_errors_init):
15369 Add error for clock stuff.
15371 * gst/gstpipeline.c: (gst_pipeline_change_state),
15372 (gst_pipeline_set_clock):
15373 Post clock error when clock cannot be used in a pipeline.
15375 2005-11-23 Stefan Kost <ensonic@users.sf.net>
15377 * docs/gst/gstreamer-sections.txt:
15378 make two symbols from gstinfo private for the docs
15379 * gst/base/gstcollectpads.h:
15381 fix doc typos, update docs
15383 2005-11-22 Wim Taymans <wim@fluendo.com>
15385 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15386 (gst_base_sink_wait), (gst_base_sink_do_sync),
15387 (gst_base_sink_handle_event):
15388 * gst/base/gstbasesink.h:
15389 No need to store the clock, the parent element class already
15392 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15393 Updates for clock_set returning a gboolean
15395 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15396 (gst_clock_id_wait_async), (gst_clock_class_init),
15397 (gst_clock_init), (gst_clock_finalize),
15398 (gst_clock_get_internal_time), (gst_clock_get_time),
15399 (gst_clock_slave_callback), (gst_clock_set_master),
15400 (gst_clock_get_master), (do_linear_regression),
15401 (gst_clock_add_observation), (gst_clock_set_property),
15402 (gst_clock_get_property):
15404 Implement master/slave. When setting a clock as a slave, a
15405 periodic timeout is scheduled to sample master and slave times.
15406 Then the slave clock is recalibrated to match offset and rate
15407 of the master clock.
15408 Update logging a bit.
15409 Add flag so that a clock can state that is cannot be slaved to
15412 * gst/gstelement.c: (gst_element_set_clock):
15413 * gst/gstelement.h:
15414 The set clock returns a gboolean for when an element cannot
15415 deal with the selected clock in the pipeline.
15417 * gst/gstpipeline.c: (gst_pipeline_change_state),
15418 (gst_pipeline_set_clock):
15419 * gst/gstpipeline.h:
15420 Handle the case where the selected clock cannot be set on
15423 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15424 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15425 (gst_net_client_clock_set_property),
15426 (gst_net_client_clock_get_property),
15427 (gst_net_client_clock_observe_times):
15428 * gst/net/gstnetclientclock.h:
15429 Use regression code in GstClock parent, remove duplicated
15432 2005-11-22 Michael Smith <msmith@fluendo.com>
15434 * gst/gstutils.c: (gst_util_clock_time_scale):
15436 * docs/gst/gstreamer-sections.txt:
15437 Rename method to have extra underscore.
15439 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
15441 * gst/elements/Makefile.am:
15442 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15443 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15444 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15445 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15446 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15447 * gst/elements/gstfakesrc.h:
15448 * gst/gstqueue.c: (queue_leaky_get_type):
15449 correctly fix GEnumValues so that nick is the short lowercase
15451 * tools/gst-inspect.c: (print_element_properties_info):
15452 also show the nick, since it's useful to use from parse_launch
15456 2005-11-22 Michael Smith <msmith@fluendo.com>
15458 * gst/gstutils.c: (gst_util_clocktime_scale):
15460 * docs/gst/gstreamer-sections.txt:
15461 Add util method for scaling a clocktime by a fraction. Useful
15462 implementation is left as an exercise for the reader.
15464 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15466 * gst/gstvalue.c: (gst_value_collect_fraction_range):
15467 If needed, allocate storage in the destination value during
15470 2005-11-22 Edward Hervey <edward@fluendo.com>
15472 * docs/gst/gstreamer-sections.txt:
15475 * gst/gsturitype.c:
15476 * gst/gsturitype.h:
15477 * gst/gstutils.c: (gst_util_set_object_arg):
15478 * tools/gst-compprep.c: (main):
15479 * tools/gst-inspect.c: (print_element_properties_info):
15480 Removed GstURI, closes bug #321061
15482 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15484 * check/gst/gststructure.c: (GST_START_TEST):
15485 * gst/gststructure.c: (gst_structure_parse_value):
15486 Oops, broke automatic string type parsing.
15487 Add a test to catch it in future.
15489 2005-11-22 Andy Wingo <wingo@pobox.com>
15491 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
15492 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15493 Actually rename the function implementations. Grr.
15495 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15497 * check/gst/capslist.h:
15499 * check/gst/gststructure.c: (GST_START_TEST),
15500 (gst_structure_suite):
15501 Test automatic value type detection in gst_structure_from_string.
15502 * gst/gststructure.c: (gst_structure_parse_value):
15503 Add fraction as a type we try and guess automatically in
15504 caps/structure strings.
15506 2005-11-22 Andy Wingo <wingo@pobox.com>
15508 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15510 * gst/gsttagsetter.h:
15511 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15512 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15513 (gst_tag_setter_add_tag_valist)
15514 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15515 _add_values, _add_valist, and _add_valist_values. Since this is an
15516 interface the function suffixes should be more explicit so
15517 language binding don't end up with element.add_valist ->
15518 gst_tag_setter_add_valist, for example. Fixes #322069.
15520 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15522 * check/gst/gstcaps.c: (GST_START_TEST):
15523 Extend caps string tests to check that a caps to string
15524 conversion is reversible and produces the same caps.
15526 * gst/gststructure.c: (gst_structure_value_get_generic_type):
15527 Output "fraction" as the generic type fraction range, so caps
15528 serialisation and deserialisation works.
15529 * check/gst/capslist.h:
15530 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15531 Support 'MIN' and 'MAX' for deserialising fractions.
15533 2005-11-22 Andy Wingo <wingo@pobox.com>
15535 * gst/gstevent.h (gst_event_new_new_segment)
15536 (gst_event_parse_new_segment, gst_event_new_buffer_size)
15537 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15538 Renamed from *_newsegment, *_buffersize, *_notarget.
15540 * scripts/update-funcnames: New script, performs the changes
15543 2005-11-22 Wim Taymans <wim@fluendo.com>
15545 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15546 Make sure the GstFlowReturn is returned.
15548 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15549 (gst_bus_add_signal_watch):
15551 add gst_bus_add_signal_watch_full.
15553 * gst/gstplugin.c: (gst_plugin_load_file):
15554 Small style cleanup.
15556 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15558 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15559 Block the fakesrc srcpad when we send an event, to avoid
15560 contention on the stream_lock causing random test failures.
15562 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15564 * check/gst/gstvalue.c: (GST_START_TEST):
15565 * gst/gstvalue.c: (gst_value_fraction_subtract):
15568 2005-11-22 Stefan Kost <ensonic@users.sf.net>
15571 include "gstchildproxy.h"
15572 * gst/gstchildproxy.h:
15573 * libs/gst/controller/gstcontroller.h:
15574 use G_GNUC_NULL_TERMINATED
15576 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15578 * check/gst/capslist.h:
15579 * check/gst/gstcaps.c: (GST_START_TEST):
15580 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15581 * gst/gststructure.c: (gst_structure_parse_range),
15582 (gst_structure_fixate_field_nearest_fraction):
15583 * gst/gststructure.h:
15584 * gst/gstvalue.c: (gst_value_init_fraction_range),
15585 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15586 (gst_value_collect_fraction_range),
15587 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15588 (gst_value_set_fraction_range_full),
15589 (gst_value_get_fraction_range_min),
15590 (gst_value_get_fraction_range_max),
15591 (gst_value_serialize_fraction_range),
15592 (gst_value_transform_fraction_range_string),
15593 (gst_value_compare_fraction_range),
15594 (gst_value_deserialize_fraction_range),
15595 (gst_value_intersect_fraction_fraction_range),
15596 (gst_value_intersect_fraction_range_fraction_range),
15597 (gst_value_subtract_fraction_fraction_range),
15598 (gst_value_subtract_fraction_range_fraction),
15599 (gst_value_subtract_fraction_range_fraction_range),
15600 (gst_value_collect_fraction), (gst_value_fraction_multiply),
15601 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15602 (gst_value_transform_string_fraction), (_gst_value_initialize):
15604 Implement fraction ranges and extend GstFraction to support
15605 arithmetic subtraction, as well as deserialization from integer
15606 strings such as "100"
15607 Add a testsuite as for int and double range set operations
15609 2005-11-21 Andy Wingo <wingo@pobox.com>
15611 * gst/gsttaglist.h:
15613 * gst/gststructure.h: Add glib-compat.h.
15615 2005-11-21 Wim Taymans <wim@fluendo.com>
15617 * gst/gstbin.c: (gst_bin_change_state_func):
15620 2005-11-21 Wim Taymans <wim@fluendo.com>
15622 * gst/gstsegment.h:
15623 And add a nice define too.
15625 2005-11-21 Wim Taymans <wim@fluendo.com>
15627 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15628 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15629 (gst_segment_set_duration), (gst_segment_set_last_stop),
15630 (gst_segment_set_seek), (gst_segment_set_newsegment),
15631 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15632 (gst_segment_clip):
15633 * gst/gstsegment.h:
15634 Make binding friendly.
15636 2005-11-21 Andy Wingo <wingo@pobox.com>
15638 * gst/gsttagsetter.h:
15639 * gst/gsttaglist.h:
15640 * gst/gststructure.h:
15642 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15645 * gst/gsterror.c (_gst_core_errors_init):
15646 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15649 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15650 (noinst_HEADERS): noinst the -private.
15652 2005-11-21 Michael Smith <msmith@fluendo.com>
15655 * gst/gstregistry.h:
15656 Remove unimplemented declarations for which we can see no sensible
15659 2005-11-21 Andy Wingo <wingo@pobox.com>
15661 * gst/gst.h: Include glib-compat.h.
15663 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15665 * gst/glib-compat.c: Include the public and the private header.
15667 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15671 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15673 * check/gst/gstevent.c (create_custom_events): Check that
15674 FLUSH_STOP is serialized.
15676 * check/elements/identity.c (event_func):
15677 * check/elements/fakesrc.c (event_func): No stream lock, the core
15680 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15681 stream lock taking, yay.
15683 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15684 ensure that core takes the stream lock.
15686 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15689 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15690 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15691 it already. For the flush start we do take it though so we get the
15692 right preroll state change messages.
15694 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15695 the stream lock here, the core does it for us.
15697 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15698 GST_STREAM_GET_LOCK.
15699 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15700 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15701 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15702 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15703 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15704 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15706 * gst/gstpad.c: Update for stream lock name change.
15708 * gst/base/gstbasesink.c: Update for preroll lock name change.
15710 2005-11-21 Wim Taymans <wim@fluendo.com>
15712 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15713 (gst_clock_get_master):
15715 * gst/gstsystemclock.c: (gst_system_clock_init):
15716 Convert Clock flags to object flags.
15717 Added methods to manage master/slave clocks.
15719 2005-11-21 Wim Taymans <wim@fluendo.com>
15721 * check/gst/gstsegment.c: (GST_START_TEST):
15722 * docs/design/part-TODO.txt:
15723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15724 (gst_base_sink_event), (gst_base_sink_do_sync),
15725 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15726 (gst_base_sink_query), (gst_base_sink_change_state):
15727 * gst/base/gstbasesink.h:
15728 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15729 (gst_base_src_default_newsegment),
15730 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15731 (gst_base_src_get_range), (gst_base_src_loop),
15732 (gst_base_src_change_state):
15733 * gst/base/gstbasesrc.h:
15734 * gst/base/gstbasetransform.c:
15735 (gst_base_transform_prepare_output_buf),
15736 (gst_base_transform_event), (gst_base_transform_change_state):
15737 * gst/base/gstbasetransform.h:
15738 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15739 (gst_collect_pads_event):
15740 * gst/base/gstcollectpads.h:
15741 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15742 (gst_fake_src_create):
15743 * gst/elements/gstfakesrc.h:
15744 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15745 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15746 (gst_segment_set_last_stop), (gst_segment_set_seek),
15747 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15748 (gst_segment_to_running_time), (gst_segment_clip):
15749 * gst/gstsegment.h:
15750 More segment updates, replace code in plugins with segment
15753 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15755 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15756 Don't ignore sscanf results
15758 2005-11-21 Andy Wingo <wingo@pobox.com>
15760 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15763 * *.c: Ran scripts/update-macros. Oh yes.
15765 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15766 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15769 * scripts/update-macros: New script. Run it on your files to
15770 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15773 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15775 * docs/gst/Makefile.am:
15776 * docs/gst/gstreamer-docs.sgml:
15777 * docs/gst/gstreamer-sections.txt:
15778 * docs/gst/gstreamer.types:
15780 more docs fixes, add new api to the docs
15782 2005-11-21 Andy Wingo <wingo@pobox.com>
15784 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15785 state_broadcast call.
15787 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15789 2005-11-21 Julien MOUTTE <julien@moutte.net>
15791 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15792 function calls for arrays.
15794 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15796 * docs/random/ensonic/media-device-daemon.txt:
15797 wild idea, can this be done?
15798 * docs/gst/gstreamer-sections.txt:
15803 * gst/gstpluginfeature.c:
15807 doc fixes and additions
15809 2005-11-21 Andy Wingo <wingo@pobox.com>
15811 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15812 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15813 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15814 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15815 private to the basesrc implementation.
15817 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15818 behalf of event function if necessary. It should no longer be
15819 necessary to take the stream lock in pad's event functions. Fixes
15822 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15823 * docs/gst/gstreamer-sections.txt:
15824 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15825 (gst_structure_fixate_field_nearest_double),
15826 (gst_structure_fixate_field_boolean):
15827 * gst/gststructure.h:
15828 * win32/common/libgstreamer.def:
15829 * win32/gstreamer.def:
15831 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15834 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15836 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15837 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15838 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15839 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15840 (gst_fdsrc_uri_handler_init):
15841 * gst/elements/gstfdsrc.h:
15842 Port fd:// URI handler from 0.8 to fdsrc
15844 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15846 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15847 (gst_value_serialize_fourcc):
15849 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15850 consistent with our other format defines (#320324).
15852 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15854 * gst/gstvalue.c: (gst_value_is_fixed):
15855 Revert previous commit. Value lists are by definition
15856 not fixed, as they are a list of possible values.
15858 2005-11-21 Andy Wingo <wingo@pobox.com>
15860 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15861 during the stable series if we need it. Fixes #319178.
15863 * gst/gstevent.c (gst_event_new_filler): Removed.
15865 * check/gst/gstevent.c: Update comment about filler events.
15867 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15869 * gst/gstvalue.c: (gst_value_is_fixed):
15870 Should handle both value arrays and value lists.
15872 2005-11-21 Andy Wingo <wingo@pobox.com>
15874 patch by: Alessandro Dessina <alessandro nnva org>
15876 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15877 functions to access arrays. Fixes #321962.
15879 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15881 * docs/gst/gstreamer.types:
15882 gst_collectpads_get_type => gst_collect_pads_get_type.
15884 * gst/base/gstbasetransform.c:
15885 Remove unused SIGNAL_HANDOFF enum.
15887 2005-11-21 Andy Wingo <wingo@pobox.com>
15889 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15890 the event type (upstream, downstream, serialized). Renamed
15891 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15892 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15893 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15895 * gst/gstevent.c: Update for new CUSTOM event names.
15897 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15900 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15903 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15905 * docs/gst/gstreamer-sections.txt:
15906 * win32/common/libgstbase.def:
15907 * win32/libgstbase.def:
15908 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15909 (gst_collect_pads_class_init), (gst_collect_pads_init),
15910 (gst_collect_pads_finalize), (gst_collect_pads_new),
15911 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15912 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15913 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15914 (gst_collect_pads_start), (gst_collect_pads_stop),
15915 (gst_collect_pads_peek), (gst_collect_pads_pop),
15916 (gst_collect_pads_available), (gst_collect_pads_read),
15917 (gst_collect_pads_flush), (gst_collect_pads_event),
15918 (gst_collect_pads_chain):
15919 * gst/base/gstcollectpads.h:
15920 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15921 unimplemented functions as unimplemented. Add padding to
15922 GstCollectData. (#320766, #320423)
15924 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15926 * gst/gstmessage.c:
15927 Improve docs for DURATION message (usage of duration parameter)
15930 2005-11-20 Wim Taymans <wim@fluendo.com>
15932 * check/Makefile.am:
15933 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15937 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15938 (gst_segment_set_seek), (gst_segment_set_newsegment),
15939 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15940 (gst_segment_clip):
15941 * gst/gstsegment.h:
15942 Added segment helper structure and methods. Not fully implemented
15944 Added segment check.
15946 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15948 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15949 Add a deserialisation test for fractions
15950 * examples/metadata/read-metadata.c: (message_loop),
15951 (make_pipeline), (main):
15952 Fix up metadata reading sample.
15953 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15955 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15956 Don't try and fixate empty caps
15957 * gst/gst_private.h:
15958 Wrap in G_BEGIN_DECLS/G_END_DECLS
15959 * gst/gstvalue.c: (gst_value_collect_fraction),
15960 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15961 (gst_value_transform_string_fraction),
15962 (gst_value_compare_fraction):
15963 Add some extra guards to ensure that we don't end up
15964 with an invalid denominator of 0 in a gstfraction and
15965 that fractions always get reduced.
15967 2005-11-20 Wim Taymans <wim@fluendo.com>
15969 * docs/gst/gstreamer-sections.txt:
15971 * gst/gstelement.c:
15980 2005-11-20 Wim Taymans <wim@fluendo.com>
15982 * docs/design/part-TODO.txt:
15984 Make a proper enum of the flag.
15986 2005-11-19 Wim Taymans <wim@fluendo.com>
15988 * docs/design/part-TODO.txt:
15989 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15990 (gst_format_to_quark), (gst_format_register):
15992 * gst/gstquery.c: (_gst_query_initialize),
15993 (gst_query_type_get_name), (gst_query_type_to_quark),
15994 (gst_query_type_register):
15996 Add type to quark and type to string conversions.
15998 2005-11-19 Andy Wingo <wingo@pobox.com>
16000 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16003 2005-11-19 Wim Taymans <wim@fluendo.com>
16005 * docs/design/part-TODO.txt:
16006 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16007 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16008 (gst_bin_handle_message_func):
16010 Make message handling overridable.
16012 2005-11-19 Andy Wingo <wingo@pobox.com>
16014 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16017 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16019 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16020 is a GstClockTime. Fixes #321710.
16022 * gst/gstclock.h (GstClock): Remove offset property. Add
16023 internal_calibration and external_calibration. Fix padding. Pad
16024 also by GstClockTime so we don't run into problems.
16026 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16027 (gst_clock_get_rate_offset): Remove.
16028 (gst_clock_set_time_adjust): Remove. Fixes #321712.
16031 * gst/gstutils.c (g_static_rec_cond_wait)
16032 (g_static_rec_cond_timed_wait): Removed, no longer needed.
16034 * gst/gstbin.c: Remove terrible continue_state prototype.
16036 * gst/gstelement.h (gst_element_continue_state): Make public.
16038 * gst/gstelement.h:
16039 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16040 by continue_state. Fixes #319389.
16042 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16043 Really fixes #168438. However I don't see anywhere where the
16044 filter function is called... stupid GStreamer...
16046 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16047 don't have a dispose function, so it won't get called when the
16048 object is unreffed, but oh well!
16050 * gst/gstindex.c (gst_index_set_filter_full): New API function,
16051 allows a destroy function to be set so user_data can be freed.
16053 (gst_index_set_filter): Call gst_index_set_filter_full.
16055 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16057 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16058 string should produce an error, given the lack of a way to
16059 represent NULL strings. Fixes #165650.
16062 * gst/gstvalue.c (gst_value_array_append_value)
16063 (gst_value_array_prepend_value, gst_value_array_get_size)
16064 (gst_value_array_get_value): New API, copied from
16065 gst_value_list_*, only operates on arrays.
16066 (gst_value_list_append_value, gst_value_list_prepend_value)
16067 (gst_value_list_concat, gst_value_list_get_size)
16068 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16070 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16071 init_list, because it works on both.
16072 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16073 (gst_value_copy_list_or_array): Renamed from copy_list.
16074 (gst_value_free_list_or_array): Renamed from free_list.
16075 (gst_value_collect_list_or_array): Renamed from collect_list.
16076 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16077 (gst_value_list_or_array_peek_pointer): Renamed from
16079 (_gst_value_array_value_table, _gst_value_list_value_table):
16080 Update value table functions.
16081 (gst_value_compare_list_or_array): Renamed from compare_list.
16083 * gsttaglist.h: Whoops, foreach function returns void. Also fix
16086 * gst/gsttaglist.c:
16087 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16088 GstTagList*. Fixes #143472.
16090 * gst/gststructure.h: Clarify what the foreach/map functions can
16091 or can't do to their arguments.
16093 2005-11-18 Wim Taymans <wim@fluendo.com>
16095 * gst/gstclock.c: (gst_clock_set_calibration),
16096 (gst_clock_get_calibration):
16098 Calibration can be set with internal time equal to current
16101 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
16107 2005-11-18 Andy Wingo <wingo@pobox.com>
16110 * pkgconfig/gstreamer-net.pc.in:
16111 * pkgconfig/gstreamer-net-uninstalled.pc.in:
16112 * pkgconfig/Makefile.am: Add net pkgconfig files.
16114 2005-11-18 Stefan Kost <ensonic@users.sf.net>
16117 * gst/gstghostpad.c:
16123 2005-11-18 Andy Wingo <wingo@pobox.com>
16125 * gst/net/gstnetclientclock.c: Turn off debugging.
16127 * check/net/gstnetclientclock.c (test_functioning): Assert that the
16128 times connverge somewhat. Can't make a real test.
16130 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16131 integer arithmetic. Return the minimum of the domain, which can be
16132 set as "internal" for gst_clock_set_calibration.
16133 (gst_net_client_clock_observe_times): Call _set_calibration.
16134 (gst_net_client_clock_new): Call _set_calibration instead of
16137 * check/net/gstnetclientclock.c (test_functioning): Use the right
16141 * gst/gstclock.c (gst_clock_get_calibration)
16142 (gst_clock_set_calibration): New functions, obsolete the ones I
16143 added yesterday. Doh. Precision issues mean we have to extrapolate
16144 from a point in the more recent past than 1970.
16145 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16147 (gst_clock_adjust_unlocked): Use the right calibration data.
16149 2005-11-18 Edward Hervey <edward@fluendo.com>
16151 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16152 Also reset the ->current_* values in READY->PAUSED
16154 2005-11-18 Andy Wingo <wingo@pobox.com>
16156 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16157 Whoops, check the right fd. Also add some debugging.
16158 (gst_net_client_clock_observe_times): Adjust for int64 offset.
16159 (do_linear_regression): Add a crapload of debugging. Subtract off
16160 the minimum values from the input series to discard unneeded bits.
16161 Use only int arithmetic. There is still double arithmetic when
16162 calculating the intercept that needs fixing. Return boolean to
16163 indicate success; FALSE would mean the domain or range is too
16164 great. Still needs fixes.
16166 2005-11-18 Wim Taymans <wim@fluendo.com>
16168 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16169 For the current position in stream time, we need to subtract
16172 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16173 Release lock before calling the callback function of async
16176 2005-11-18 Andy Wingo <wingo@pobox.com>
16178 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16179 Port goes all the way to MAXUINT16.
16181 * gst/net/gstnettimeprovider.c: Make the port range the same as
16182 for the kernel: 0 assigns, otherwise ports are less than
16185 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16188 * check/net/gstnetclientclock.c (test_functioning): Add the start
16191 2005-11-18 Wim Taymans <wim@fluendo.com>
16193 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16194 (gst_bin_remove_func), (bin_bus_handler):
16196 Removing a clock provider from a bin, triggers a clock lost message
16197 so that a new clock will be selected.
16198 Adding a clock to a bin triggers a clock provider message.
16199 Make sure we reselect a clock when we received a clock lost message.
16200 Keep a reference to the element that provided the clock.
16202 2005-11-18 Andy Wingo <wingo@pobox.com>
16204 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16205 the clock initially so it produces values around the base time.
16206 (gst_net_client_clock_class_init): Typo fix.
16207 (gst_net_client_clock_thread): Add note on when the socket gets
16210 2005-11-17 Wim Taymans <wim@fluendo.com>
16212 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16213 Free remote and local time arrays.
16215 2005-11-17 Wim Taymans <wim@fluendo.com>
16217 * gst/net/gstnetclientclock.c: (do_linear_regression),
16218 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16219 Fix compilation, uninitialized vars and a forgotten continue.
16221 2005-11-17 Andy Wingo <wingo@pobox.com>
16223 * check/Makefile.am (check_PROGRAMS):
16224 * check/net/gstnetclientclock.c: Add a most minimal test for the
16225 net client clock. More to come later.
16227 * gst/net/gstnet.h:
16228 * gst/net/Makefile.am: Add netclientclock.
16230 * gst/net/gstnetclientclock.h:
16231 * gst/net/gstnetclientclock.c: New files, implement an untested
16232 GstClock that takes its time from a network time provider.
16233 Implements the algorithm in network-clock.scm.
16235 * tests/network-clock.scm (*window-size*): Rename from
16237 * tests/network-clock.scm (network-time):
16238 * tests/network-clock-utils.scm (q-push): Update callers.
16240 2005-11-17 Wim Taymans <wim@fluendo.com>
16242 * gst/gstbin.c: (gst_bin_provide_clock_func),
16243 (gst_bin_sort_iterator_new):
16244 And unref the child too..
16246 2005-11-17 Wim Taymans <wim@fluendo.com>
16248 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16249 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16250 Refactor the sort iterator so it can be used while holding the
16252 Make clock selection select a clock closest to the source.
16254 2005-11-17 Michael Smith <msmith@fluendo.com>
16256 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16257 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16259 Anonymous structs are a gcc (and some other compilers) extension, so
16260 don't use them. Since this is only for ABI-compatibility, and our
16261 API/ABI freeze is over in a few days, this whole thing will only
16262 last a few days, so don't bother trying to think up a meaningful
16263 name for the struct.
16265 2005-11-17 Andy Wingo <wingo@pobox.com>
16267 * gst/gstclock.h (GstClock): Add rate and offset properties,
16268 preserving ABI stability. Add rate/offset accessors. Will file bug
16269 for the freeze break.
16271 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16272 and offset, trying to keep precision and avoiding
16273 underflow/overflow.
16274 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16275 functions. Make gst_clock_set_time_adjust obsolete.
16276 (gst_clock_set_time_adjust): Note that this function is obsolete.
16277 Will file bug soon.
16279 * gst/base/gstbasetransform.h: Make the ABI-stability hack
16280 greppable by using GST_PADDING-1+1.
16282 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
16284 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16286 * gst/gstmessage.c: (gst_message_parse_clock_lost):
16287 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16289 * gst/gstpadtemplate.h:
16290 * gst/gstpluginfeature.h:
16291 Don't use c++ style comments in headers (#321638).
16293 2005-11-16 Andy Wingo <wingo@pobox.com>
16295 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16298 * check/net/gstnettimeprovider.c: Check to see that the time
16299 provider actually provides times. Works, yo!
16301 2005-11-16 Wim Taymans <wim@fluendo.com>
16303 * check/Makefile.am:
16306 * check/elements/fakesrc.c: (GST_START_TEST):
16307 Set element to NULL before disposing it.
16309 2005-11-16 Andy Wingo <wingo@pobox.com>
16311 * gst/net/Makefile.am:
16312 * gst/net/gstnet.h:
16313 * gst/net/gstnettimeprovider.c:
16314 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16315 provider, include it from gstnet.h, and add it to the build.
16317 * gst/net/gstnettimepacket.h:
16318 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16319 sending and receiving.
16321 2005-11-16 Wim Taymans <wim@fluendo.com>
16323 * check/Makefile.am:
16324 Enable valgrind check.
16326 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16327 (gst_fake_src_alloc_buffer):
16330 2005-11-16 Wim Taymans <wim@fluendo.com>
16332 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16333 Call parent finalize too.
16335 2005-11-16 Wim Taymans <wim@fluendo.com>
16337 * check/Makefile.am:
16338 Enable valgrind check that should work fine now.
16340 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16341 * gst/gstqueue.c: (gst_queue_init):
16342 Fix memleaks in pad allocation.
16344 2005-11-16 Andy Wingo <wingo@pobox.com>
16346 * gst/net/Makefile.am:
16347 * gst/net/gstnet.h: New part of core to hold network elements and
16348 objects. Put in core because it exposes API that applications want
16349 to use. The library is named libgstnet-tempname right now because
16350 of the existing libgstnet in gst-plugins-base. Solution is
16351 probably to rename the one in plugins-base; will file a bug for
16354 * gst/net/gstnettimeprovider.c:
16355 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16356 get_time call over the network.
16359 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16361 * check/Makefile.am:
16362 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16363 get additions shortly.
16365 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16367 * gst/gstpad.c: (gst_pad_new_from_static_template):
16369 add gst_pad_new_from_static_template functions
16370 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16371 (gst_check_setup_sink_pad):
16372 * gst/elements/gsttee.c: (gst_tee_init):
16375 2005-11-16 Wim Taymans <wim@fluendo.com>
16377 * gst/gstpad.c: (gst_pad_pause_task):
16378 Removed warning, it's not really an error either.
16380 2005-11-16 Wim Taymans <wim@fluendo.com>
16382 * gst/base/gstbasetransform.c:
16383 (gst_base_transform_prepare_output_buf),
16384 (gst_base_transform_event):
16385 Check if the caps are NULL, this can happen if the element
16386 is shutting down and the pad caps are set to NULL.
16388 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16390 * gst/elements/gsttee.c: (gst_tee_init):
16391 fix pad template leak in tee
16393 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16395 * gst/glib-compat.c: (g_value_dup_gst_object):
16396 * gst/glib-compat.h:
16397 * gst/gstpad.c: (gst_pad_set_property):
16398 use gst_object_ref when setting the pad template; this will
16399 trigger the pad template leaks on GLib 2.6 and the slaves
16401 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16403 * gst/glib-compat.c: (gst_flags_get_first_value):
16404 * gst/glib-compat.h:
16405 * gst/gstregistryxml.c:
16406 remove functions copied from GLib 2.6
16408 2005-11-16 Michael Smith <msmith@fluendo.com>
16411 Don't link against VALGRIND_LIBS. That was always the wrong thing to
16412 do, but only breaks with newer valgrind versions. We're not a
16413 valgrind tool, we have no link-time dependencies on libcoregrind.
16415 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16417 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16419 * gst/gstmessage.h:
16422 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16424 * gst/base/gstbasesrc.c: (gst_base_src_init):
16425 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16426 * gst/gstqueue.c: (gst_queue_init):
16427 * gst/gstregistryxml.c: (load_feature):
16428 Revert all these unrefs, they don't even pass make check !
16430 2005-11-15 Johan Dahlin <johan@gnome.org>
16432 * gst/base/gstbasesrc.c: (gst_base_src_init):
16433 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16434 * gst/gstqueue.c: (gst_queue_init):
16435 Free pad templates, fixes a couple of leaks.
16437 2005-11-15 Daniel Fischer <dan at f3c dot com>
16439 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16441 * gst/gstpad.c: (gst_pad_get_property):
16442 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16443 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16446 2005-11-15 Wim Taymans <wim@fluendo.com>
16451 2005-11-15 Andy Wingo <wingo@pobox.com>
16453 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16455 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16456 using GST_CLOCK_TIME_NONE to disable base time management.
16457 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16458 time if it was NONE before.
16459 (gst_pipeline_change_state): Only munge the base time if
16460 stream_time != GST_CLOCK_TIME_NONE.
16462 * check/gst/gstpipeline.c (test_base_time): Punt around the
16463 problem of the probe not being called, because that's not the
16464 issue I'm looking at. Add a check that setting stream_time to NONE
16465 disables base time management.
16467 2005-11-15 Wim Taymans <wim@fluendo.com>
16469 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16470 segment_stop == -1 at startup.
16472 * gst/base/gstbasetransform.c: (gst_base_transform_event),
16473 (gst_base_transform_change_state):
16474 Init segment values at start.
16476 2005-11-15 Wim Taymans <wim@fluendo.com>
16478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16479 0 segment values are 0 in any format.
16481 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16482 * gst/base/gstbasetransform.h:
16483 Parse newsegment correctly in basetransform
16485 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16486 Sync to clock using updated segment values.
16488 2005-11-15 Andy Wingo <wingo@pobox.com>
16490 * check/gst/gstpipeline.c (test_base_time): Add check that the
16491 base time and stream time are reset correctly.
16493 2005-11-15 Wim Taymans <wim@fluendo.com>
16495 * docs/design/part-TODO.txt:
16496 Some more TODO items.
16498 2005-11-15 Andy Wingo <wingo@pobox.com>
16500 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16501 error if the user selected "no clock" as the clocking method.
16503 * check/gst/gstpipeline.c (test_base_time): New test for buffer
16504 timestamps with live capture.
16506 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16507 is 0 but we are a live source, timestamp the buffers using the
16510 2005-11-14 Stefan Kost <ensonic@users.sf.net>
16512 * docs/gst/gstreamer-sections.txt:
16514 * gst/gstghostpad.c:
16519 2005-11-14 Wim Taymans <wim@fluendo.com>
16522 add suppressions from Wim's Debian machine
16524 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
16527 add suppressions from Andy's AMD64 Ubuntu machine
16529 2005-11-14 Andy Wingo <wingo@pobox.com>
16531 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16532 STATE_LOCK not necessary. Fixes #311489.
16534 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16537 * gst/gstindex.c (gst_index_add_object): Note in the docs that
16538 this function is not implemented.
16540 2005-11-14 Julien MOUTTE <julien@moutte.net>
16542 * gst/base/gstbasetransform.c:
16543 (gst_base_transform_prepare_output_buf):
16544 Ref the source pad caps while we need them.
16547 2005-11-11 Wim Taymans <wim@fluendo.com>
16549 * docs/gst/gstreamer-sections.txt:
16550 Added some docs for GstCollectData.
16552 * gst/base/gstadapter.c:
16553 Some small code example fix.
16555 * gst/base/gstcollectpads.c:
16556 * gst/base/gstcollectpads.h:
16557 Document some more.
16559 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16561 * configure.ac: back to HEAD
16563 === release 0.9.5 ===
16565 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16568 releasing 0.9.5, "Bike Lunch Day"
16570 2005-11-11 Wim Taymans <wim@fluendo.com>
16572 * gst/gstbuffer.c: (_gst_buffer_copy):
16575 * gst/gstcaps.c: (gst_caps_is_equal):
16577 Make _is_equal fast in the trivial cases.
16579 * gst/gstminiobject.c:
16580 * gst/gstminiobject.h:
16581 More docs. Spifify .h file.
16586 2005-11-11 Wim Taymans <wim@fluendo.com>
16588 * gst/base/gstbasetransform.c:
16589 (gst_base_transform_prepare_output_buf),
16590 (gst_base_transform_handle_buffer):
16592 If we're processing a buffer and need to allocate an output
16593 buffer, we cannot accept a format change. If we did get a
16594 format change, we have to alloc a buffer ourselves of the
16597 2005-11-11 Wim Taymans <wim@fluendo.com>
16599 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16600 While checking the flag for reentrancy in the gstcaps function
16601 is nice to detect recursive invocations, it also makes it
16602 impossible to call getcaps from multiple threads, which must be
16603 possible. So, checking for recursive calls has to go.
16605 2005-11-11 Michael Smith <msmith@fluendo.com>
16607 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16608 Don't sync on buffers that fall partially outside our current
16609 segment. Prevents an assertion failure/abort playing some files.
16611 2005-11-10 Andy Wingo <wingo@pobox.com>
16613 * check/gst/gstbin.c (test_message_state_changed_children): Style
16616 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16617 gst_bus_poll with the signal watch. Ensures that poll and a signal
16618 watch see the same messages.
16620 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16621 a poll and a watch at the same time get the same messages.
16623 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16625 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16626 * gst/gstcaps.c: (gst_caps_intersect):
16627 Don't call gst_caps_do_simplify - it doesn't respect order of caps
16628 and it's not needed.
16630 2005-11-10 Wim Taymans <wim@fluendo.com>
16632 * docs/design/part-TODO.txt:
16635 2005-11-10 Wim Taymans <wim@fluendo.com>
16637 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16638 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16639 (gst_base_src_do_sync), (gst_base_src_get_range):
16640 Implement clock sync in base class.
16642 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16644 patch by: Tim-Philipp Müller <tim at centricular dot net>
16646 * gst/gststructure.c: (gst_structure_parse_field),
16647 (gst_structure_from_string):
16648 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16649 so that gst_parse_launch() can deal with spaces in filtered link
16650 caps (fixes #164479)
16651 * check/gst/capslist.h:
16652 * check/gst/gststructure.c: (GST_START_TEST):
16653 add unit tests for this change
16655 2005-11-10 Wim Taymans <wim@fluendo.com>
16657 * docs/gst/gstreamer-sections.txt:
16658 * gst/gstelement.c:
16659 * gst/gstelement.h:
16660 Fix docs, move some STATE macros to private.
16662 2005-11-10 Wim Taymans <wim@fluendo.com>
16664 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16665 Added check for bug #317341
16669 Some more spiffifying.
16671 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16672 Call peer linkfunction if we are a source pad. Totally fixes
16676 Update docs, source pads should call the peer linkfunction
16677 so they can atomically perform the pad link.
16679 2005-11-09 Wim Taymans <wim@fluendo.com>
16683 Uber-spiffy-spiffify some more.
16685 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16687 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16688 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16689 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16690 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16691 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16692 * gst/gstpad.c: (gst_pad_init):
16693 Use GST_DEBUG_FUNCPTR() more extensively.
16695 2005-11-09 Wim Taymans <wim@fluendo.com>
16697 * gst/gstobject.c: (gst_object_class_init):
16699 Documentation fixes.
16701 2005-11-09 Edward Hervey <edward@fluendo.com>
16703 * gst/gsttypefindfactory.c:
16706 2005-11-09 Edward Hervey <edward@fluendo.com>
16708 * gst/base/gsttypefindhelper.c:
16709 * gst/gsttypefind.c:
16710 * gst/gsttypefind.h:
16713 2005-11-09 Wim Taymans <wim@fluendo.com>
16715 * gst/gstiterator.c:
16722 2005-11-09 Wim Taymans <wim@fluendo.com>
16728 2005-11-09 Wim Taymans <wim@fluendo.com>
16730 * docs/gst/gstreamer-sections.txt:
16731 Moved the message async delivery private lock and cond
16732 to the private section.
16734 * gst/gstmessage.c:
16735 * gst/gstmessage.h:
16738 2005-11-09 Edward Hervey <edward@fluendo.com>
16740 * docs/gst/gstreamer-sections.txt:
16743 Document GstURIHandler
16745 2005-11-09 Wim Taymans <wim@fluendo.com>
16747 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16748 (gst_iterator_find_custom):
16749 * gst/gstiterator.h:
16752 2005-11-09 Wim Taymans <wim@fluendo.com>
16755 Document another field.
16757 * gst/gststructure.c:
16758 * gst/gststructure.h:
16761 2005-11-09 Wim Taymans <wim@fluendo.com>
16764 Documented structs.
16766 2005-11-09 Wim Taymans <wim@fluendo.com>
16768 * docs/gst/gstreamer-sections.txt:
16769 Added some new macros.
16776 2005-11-09 Wim Taymans <wim@fluendo.com>
16778 * docs/design/part-TODO.txt:
16779 Some more items for the TODO
16785 2005-11-09 Andy Wingo <wingo@pobox.com>
16787 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16788 to work on something else now tho...
16790 * gst/base/gstadapter.c: More adapter docs.
16792 * gst/elements/gstfilesink.c (gst_file_sink_start)
16793 (gst_file_sink_stop): New functions, replace the state change
16795 (gst_file_sink_class_init): Hook up the start and stop functions.
16796 (gst_file_sink_base_init): Don't set the state change handler any
16797 more. It was a bit ugly too, being set from here...
16798 (gst_file_sink_get_property, gst_file_sink_set_property):
16800 (gst_file_sink_set_location): More robust check that doesn't call
16801 GST_STATE. Ugggggg.
16803 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16805 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16806 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16808 2005-11-08 Wim Taymans <wim@fluendo.com>
16810 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16811 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16812 (gst_base_sink_chain), (gst_base_sink_change_state):
16813 * gst/base/gstbasesink.h:
16814 * gst/base/gstbasesrc.h:
16815 * gst/gstelement.h:
16817 Avoid excessive typechecking in macros.
16819 * gst/gstminiobject.c: (gst_mini_object_get_type),
16820 (gst_mini_object_init), (gst_mini_object_new),
16821 (gst_mini_object_free):
16822 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16823 (gst_object_finalize):
16824 Remove cruft code, optimize alloc_trace.
16826 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16828 * docs/faq/gst-uninstalled:
16829 fix up PS1 for systems that try to reset it
16831 2005-11-07 Wim Taymans <wim@fluendo.com>
16833 * gst/base/gstbasesrc.c: (gst_base_src_init),
16834 (gst_base_src_get_range):
16835 Set the segment_end to -1 initially. Fixed typefind.
16837 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16839 * gst/base/gstadapter.c:
16840 Debug category should be 'adapter', not 'GstAdapter'.
16842 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16843 (gst_collectpads_class_init), (gst_collectpads_init),
16844 (gst_collectpads_peek), (gst_collectpads_pop),
16845 (gst_collectpads_event), (gst_collectpads_chain):
16846 Add debug category and some debugging output. Use boilerplate
16847 macros. Remove some extraneous words from docs.
16849 2005-11-05 Andy Wingo <wingo@pobox.com>
16851 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16854 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16856 * docs/gst/gstreamer-sections.txt:
16859 * gst/gstminiobject.h:
16864 2005-11-04 Wim Taymans <wim@fluendo.com>
16866 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16867 Small update to stop at the configured segment_end
16870 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16872 * gst/gstregistry.c:
16873 * gst/gstregistry.h:
16876 2005-11-04 Edward Hervey <edward@fluendo.com>
16878 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16879 Check if we are doing a segment seek and have arrived at the
16880 end of that segment.
16882 2005-11-04 Wim Taymans <wim@fluendo.com>
16884 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16885 Don't leak a mutex unlock in case of an error.
16890 2005-11-04 Wim Taymans <wim@fluendo.com>
16892 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16894 Get the context to wake up only once.
16896 2005-11-03 Wim Taymans <wim@fluendo.com>
16898 * check/states/sinks.c: (GST_START_TEST):
16899 Uncomment fixed check.
16901 * docs/design/part-TODO.txt:
16904 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16905 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16906 (gst_base_sink_get_position):
16907 If we are going to PLAYING, post the right pending state
16908 when we post the intermediate paused message.
16910 * gst/gstelement.c: (gst_element_continue_state),
16911 (gst_element_set_state_func), (gst_element_change_state):
16912 Don't post state changes that were between the same state
16913 and were not ASYNC.
16915 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16917 * docs/gst/gstreamer-sections.txt:
16920 * gst/gstminiobject.h:
16923 more docs and doc style fixes
16925 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16927 * docs/gst/gstreamer-sections.txt:
16928 * gst/gstelement.c:
16929 * gst/gstminiobject.c:
16932 2005-11-03 Andy Wingo <wingo@pobox.com>
16934 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16935 state-changed messages actually have the right order and the right
16938 2005-11-03 Wim Taymans <wim@fluendo.com>
16940 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16941 Added some more checks. Specifically the case where NO_PREROLL
16942 elements are in the pipeline.
16944 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16945 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16946 (gst_base_sink_get_position):
16947 Post READY->PAUSED state change messages too.
16948 Fix bug where VOID was posted as pending state...
16950 * gst/gstbin.c: (gst_bin_recalc_state):
16951 use _element_continue_state() to continue the state change.
16953 * gst/gstelement.c: (gst_element_continue_state),
16954 (gst_element_commit_state), (gst_element_set_state_func),
16955 (gst_element_change_state), (gst_element_change_state_func):
16956 Lots of state change cleanups, assign the STATE_RETURN in
16957 a new continue_state() function that also propagates the
16958 last return value from a state change to the app.
16959 Update some debug statements with proper category.
16961 2005-11-03 Wim Taymans <wim@fluendo.com>
16963 * docs/design/part-events.txt:
16964 * docs/design/part-gstpipeline.txt:
16965 * docs/design/part-messages.txt:
16966 * docs/design/part-overview.txt:
16967 * docs/design/part-seeking.txt:
16968 * docs/design/part-states.txt:
16969 * docs/design/part-trickmodes.txt:
16970 * docs/manual/advanced-position.xml:
16971 Small docs updates.
16974 People think !! is ugly, this looks better.
16976 * gst/gstpad.c: (gst_pad_set_blocked_async):
16977 Remove !! since it's fixed elsewhere now.
16979 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16981 * gst/gstminiobject.h:
16983 Add !! to _FLAG_IS_SET macros to make the result boolean.
16985 2005-11-03 Edward Hervey <edward@fluendo.com>
16987 * gst/gstpad.c: (gst_pad_set_blocked_async):
16988 comparing a flag and a gboolean rarely returns coherent results...
16989 Added two characters (!!) to make that work correctly.
16991 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16993 * gst/gstbus.c: (gst_bus_class_init):
16996 * gst/gstqueue.c: (gst_queue_loop):
16997 Don't assume a miniobject that isn't a buffer is an
16998 event (it could be that there is a refcounting
16999 problem somewhere and the pointer is stale and
17000 refers to an already destroyed miniobject).
17002 2005-11-03 Julien MOUTTE <julien@moutte.net>
17004 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17006 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
17008 * docs/manual/advanced-position.xml:
17009 Update seek example and explanations to current 0.9 API.
17011 * gst/elements/gsttypefindelement.c:
17012 (gst_type_find_element_activate):
17013 Remove FIXME comment now that the found caps
17016 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
17018 * gst/gstregistryxml.c: (load_feature):
17019 Add another GST_STR_NULL instance
17021 2005-11-02 Edward Hervey <edward@fluendo.com>
17023 * gst/gstpad.c: (handle_pad_block):
17024 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17026 2005-11-02 Wim Taymans <wim@fluendo.com>
17031 * gst/gstelement.c: (gst_element_commit_state):
17032 Remove unused value.
17034 * gst/gstiterator.c:
17035 Mention that the returned element is reffed in the docs.
17037 2005-11-02 Wim Taymans <wim@fluendo.com>
17039 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17040 (gst_pad_push), (gst_pad_push_event):
17041 Unlock blocked pads when they are flushed.
17043 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17046 * docs/gst/gstreamer-sections.txt:
17049 * gst/gstregistry.c: (gst_registry_scan_path_level):
17050 fix for a nasty little missed situation where an installed plug-in
17051 which was in the cache did not get overridden by an uninstalled one
17052 which was earlier in the plugin path because the newly created plugin
17053 for the uninstalled one (not in the registry) didn't get its
17054 ->registered set to TRUE
17056 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17058 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17059 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17060 (gst_collectpads_is_active), (gst_collectpads_collect),
17061 (gst_collectpads_collect_range), (gst_collectpads_start),
17062 (gst_collectpads_stop), (gst_collectpads_peek),
17063 (gst_collectpads_pop), (gst_collectpads_available),
17064 (gst_collectpads_read), (gst_collectpads_flush):
17065 Guard public API with assertions.
17068 Fix docs for gst_pad_set_link_function().
17070 2005-11-02 Johan Dahlin <johan@gnome.org>
17072 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
17073 Unref found_caps after we used it.
17075 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
17077 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17078 Don't try to ref NULL.
17080 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17082 * win32/common/config.h.in:
17083 provide a GST_FUNCTION that just gives a string for now
17085 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
17087 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17088 (gst_object_flags_get_type), (register_gst_bin_flags),
17089 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17090 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17091 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17092 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17093 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17094 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17095 (gst_clock_flags_get_type), (register_gst_state),
17096 (gst_state_get_type), (register_gst_state_change_return),
17097 (gst_state_change_return_get_type), (register_gst_state_change),
17098 (gst_state_change_get_type), (register_gst_element_flags),
17099 (gst_element_flags_get_type), (register_gst_core_error),
17100 (gst_core_error_get_type), (register_gst_library_error),
17101 (gst_library_error_get_type), (register_gst_resource_error),
17102 (gst_resource_error_get_type), (register_gst_stream_error),
17103 (gst_stream_error_get_type), (register_gst_event_type),
17104 (gst_event_type_get_type), (register_gst_seek_type),
17105 (gst_seek_type_get_type), (register_gst_seek_flags),
17106 (gst_seek_flags_get_type), (register_gst_format),
17107 (gst_format_get_type), (register_gst_index_certainty),
17108 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17109 (gst_index_entry_type_get_type),
17110 (register_gst_index_lookup_method),
17111 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17112 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17113 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17114 (gst_index_flags_get_type), (register_gst_debug_level),
17115 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17116 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17117 (gst_iterator_result_get_type), (register_gst_iterator_item),
17118 (gst_iterator_item_get_type), (register_gst_message_type),
17119 (gst_message_type_get_type), (register_gst_mini_object_flags),
17120 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17121 (gst_pad_link_return_get_type), (register_gst_flow_return),
17122 (gst_flow_return_get_type), (register_gst_activate_mode),
17123 (gst_activate_mode_get_type), (register_gst_pad_direction),
17124 (gst_pad_direction_get_type), (register_gst_pad_flags),
17125 (gst_pad_flags_get_type), (register_gst_pad_presence),
17126 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17127 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17128 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17129 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17130 (gst_plugin_flags_get_type), (register_gst_rank),
17131 (gst_rank_get_type), (register_gst_query_type),
17132 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17133 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17134 (gst_tag_flag_get_type), (register_gst_task_state),
17135 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17136 (gst_alloc_trace_flags_get_type),
17137 (register_gst_type_find_probability),
17138 (gst_type_find_probability_get_type), (register_gst_uri_type),
17139 (gst_uri_type_get_type), (register_gst_parse_error),
17140 (gst_parse_error_get_type):
17141 * win32/common/gstversion.h:
17142 update win32 copies
17144 2005-11-01 Luca Ognibene <luogni@tin.it>
17147 fix docs. popt is dead, long live GOption.
17149 2005-10-31 Wim Taymans <wim@fluendo.com>
17154 2005-10-31 Andy Wingo <wingo@pobox.com>
17158 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17160 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17161 need to serialize property notifications on GLib 2.8. GLib 2.6 has
17162 the possibility of deadlocks here if code calling notify() or
17163 set() has a lock that can be taken in another notify handler (ABBA
17164 with class lock and e.g. python GIL state lock).
17166 2005-10-28 Julien MOUTTE <julien@moutte.net>
17168 * gst/gstbus.c: Doc updates.
17170 2005-10-28 Wim Taymans <wim@fluendo.com>
17172 * docs/design/part-TODO.txt:
17173 * gst/gstiterator.c:
17174 * gst/gstsystemclock.c:
17175 * gst/gstsystemclock.h:
17178 2005-10-28 Edward Hervey <edward@fluendo.com>
17180 * docs/gst/gstreamer-docs.sgml:
17181 * docs/gst/gstreamer-sections.txt:
17182 the GstURIType documentation page is private, it only defines GstURIType
17183 which should be defined in the GstURIHandler page
17185 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
17187 * gst/gstbin.c: (gst_bin_class_init):
17190 Documentation updates.
17192 2005-10-28 Wim Taymans <wim@fluendo.com>
17194 * docs/gst/gstreamer-sections.txt:
17197 Documented the clocks.
17199 2005-10-28 Stefan Kost <ensonic@users.sf.net>
17201 * docs/gst/gstreamer-sections.txt:
17202 move some macros to private sections
17203 * gst/gstminiobject.c:
17204 * gst/gstminiobject.h:
17205 add descriptions provided by ds and some more
17207 mark macro as to be removed
17209 2005-10-28 Wim Taymans <wim@fluendo.com>
17211 * docs/design/part-TODO.txt:
17212 Add an item to TODO.
17214 * gst/gstiterator.c: (gst_iterator_fold),
17215 (gst_iterator_find_custom):
17216 * gst/gstiterator.h:
17219 2005-10-28 Wim Taymans <wim@fluendo.com>
17221 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17222 (gst_base_transform_init):
17225 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17226 An EOS event marks the queue as completely filled.
17228 2005-10-27 Wim Taymans <wim@fluendo.com>
17230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17231 (gst_base_sink_do_sync), (gst_base_sink_get_position):
17232 Some more debugging.
17234 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17235 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17236 (gst_base_transform_event), (gst_base_transform_getrange),
17237 (gst_base_transform_chain):
17238 * gst/base/gstbasetransform.h:
17240 Protect transform and concurrent buffer alloc with a new lock.
17241 Try not to break ABI/API.
17243 2005-10-27 Wim Taymans <wim@fluendo.com>
17245 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17246 (gst_base_src_init), (gst_base_src_query),
17247 (gst_base_src_default_newsegment),
17248 (gst_base_src_configure_segment), (gst_base_src_do_seek),
17249 (gst_base_src_send_event), (gst_base_src_event_handler),
17250 (gst_base_src_pad_get_range), (gst_base_src_loop),
17251 (gst_base_src_unlock), (gst_base_src_default_negotiate),
17252 (gst_base_src_start), (gst_base_src_deactivate),
17253 (gst_base_src_activate_push), (gst_base_src_change_state):
17254 Move some stuff around and cleanup things.
17256 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
17258 * gst/base/gstbasesrc.c: (gst_base_src_query):
17259 Add missing break statements.
17261 2005-10-27 Wim Taymans <wim@fluendo.com>
17263 * check/gst/gstbin.c: (GST_START_TEST):
17264 An extra refcount is taken in basesrc.
17266 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17267 (gst_base_src_get_range), (gst_base_src_pad_get_range),
17268 (gst_base_src_loop):
17269 Small cleanups, check for flushing after being unlocked from the
17270 LIVE_LOCK. take refcounts correctly (not yet everywhere).
17271 Don't send out EOS when going to READY.
17273 2005-10-27 Wim Taymans <wim@fluendo.com>
17275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17276 (gst_base_sink_get_position):
17279 * gst/gstbin.c: (message_check), (bin_replace_message),
17280 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17281 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17282 (bin_query_duration_init), (bin_query_duration_fold),
17283 (bin_query_duration_done), (bin_query_generic_fold),
17285 * tools/gst-launch.c: (main):
17288 2005-10-26 Stefan Kost <ensonic@users.sf.net>
17290 * examples/controller/audio-example.c: (main):
17291 * examples/queue/queue.c: (event_loop):
17292 * gst/base/gstbasetransform.h:
17293 * gst/gstelement.c: (gst_element_send_event):
17295 * gst/gstpad.c: (gst_pad_send_event):
17298 changing log priority in error situations
17300 2005-10-25 Wim Taymans <wim@fluendo.com>
17302 * gst/gstbin.c: (message_check), (bin_replace_message),
17303 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17304 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17305 (bin_query_duration_init), (bin_query_duration_fold),
17306 (bin_query_duration_done), (bin_query_generic_fold),
17308 Some doc and debug updates.
17309 Cache previously requested query DURATION for speed. invalidate
17310 cached duration if element posts a DURATION message.
17312 2005-10-25 Wim Taymans <wim@fluendo.com>
17314 * docs/design/part-TODO.txt:
17317 * gst/gstbin.c: (message_check), (bin_replace_message),
17318 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17319 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17320 (bin_query_duration_init), (bin_query_duration_fold),
17321 (bin_query_duration_done), (bin_query_generic_fold),
17323 Handle SEGMENT_START/DONE messages correctly.
17324 More evolved query algorithm that handles duration queries
17327 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17328 (gst_element_get_state_func), (gst_element_abort_state),
17329 (gst_element_commit_state), (gst_element_lost_state):
17330 Some more debugging.
17332 * gst/gstmessage.h:
17335 2005-10-25 Wim Taymans <wim@fluendo.com>
17337 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17338 Don't use invalid stream_time.
17340 * gst/gstevent.c: (gst_event_new_newsegment):
17341 stream_time in newsegment cannot be undefined.
17343 2005-10-24 Wim Taymans <wim@fluendo.com>
17348 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17350 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17352 2005-10-24 Stefan Kost <ensonic@users.sf.net>
17354 * docs/libs/tmpl/gstdparam.sgml:
17355 * docs/libs/tmpl/gstdplinint.sgml:
17356 * docs/libs/tmpl/gstdpman.sgml:
17357 * docs/libs/tmpl/gstdpsmooth.sgml:
17358 * docs/libs/tmpl/gstunitconvert.sgml:
17361 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
17366 === release 0.9.4 ===
17368 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
17371 releasing 0.9.4, "Tyrannosaurus Rex"
17373 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
17375 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17376 (gst_file_sink_get_current_offset):
17377 Use fseeko() and ftello() if available. When falling back on
17378 lseek() to get the current offset, fflush() first to make sure
17379 everything is up-to-date and we get the right offset.
17381 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
17383 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17384 * gst/base/gstbasesrc.c: (gst_base_src_loop):
17385 * gst/gsterror.c: (_gst_stream_errors_init):
17387 * gst/gstqueue.c: (gst_queue_loop):
17389 remove prematurely added error category and clean up the instances
17391 2005-10-21 Wim Taymans <wim@fluendo.com>
17393 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17394 (gst_base_sink_get_position), (gst_base_sink_query),
17395 (gst_base_sink_change_state):
17396 Simply set the right flag when going to playing, that's all
17397 we need to do instead of calling a function inside the object
17398 lock (that could take the lock as well and deadlock)
17400 2005-10-21 Wim Taymans <wim@fluendo.com>
17402 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17403 (gst_base_src_loop):
17404 Don't warn, the peer element knows what to do best when
17405 the seek failed, it might try something else.
17407 2005-10-21 Wim Taymans <wim@fluendo.com>
17409 * gst/base/gstbasesrc.c: (gst_base_src_init),
17410 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17413 2005-10-21 Wim Taymans <wim@fluendo.com>
17415 * docs/design/part-segments.txt:
17418 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17419 Correctly set caps, even on the subbufer.
17421 2005-10-21 Wim Taymans <wim@fluendo.com>
17423 * docs/gst/gstreamer-docs.sgml:
17424 * docs/gst/gstreamer-sections.txt:
17425 * gst/gstelement.h:
17428 * gst/gstmessage.h:
17431 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17435 And 2% more doc coverage.
17437 2005-10-21 Andy Wingo <wingo@pobox.com>
17439 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17440 position reporting.
17442 2005-10-20 Wim Taymans <wim@fluendo.com>
17444 * gst/gsterror.c: (gst_error_get_message):
17447 * gst/gststructure.c:
17452 2005-10-20 Wim Taymans <wim@fluendo.com>
17457 Another 1% more coverage.
17459 2005-10-20 Wim Taymans <wim@fluendo.com>
17461 * docs/gst/gstreamer-sections.txt:
17462 * gst/gstelement.c: (gst_element_get_state_func),
17463 (gst_element_abort_state), (gst_element_commit_state),
17464 (gst_element_lost_state):
17466 * gst/gstquery.c: (gst_query_set_position),
17467 (gst_query_parse_position), (gst_query_set_duration),
17468 (gst_query_parse_duration), (gst_query_new_convert):
17470 Yay! 1% more docs coverage.
17472 2005-10-20 Wim Taymans <wim@fluendo.com>
17475 * gst/gstquery.c: (gst_query_set_position),
17476 (gst_query_parse_position), (gst_query_set_duration),
17477 (gst_query_parse_duration), (gst_query_new_convert):
17479 * gst/gstutils.c: (gst_element_query_convert):
17481 Docs and consistency fixes.
17483 2005-10-20 Wim Taymans <wim@fluendo.com>
17489 2005-10-20 Wim Taymans <wim@fluendo.com>
17491 * gst/gstbin.c: (message_check), (bin_replace_message),
17492 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17493 (update_degree), (gst_bin_sort_iterator_next),
17494 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17495 Reworked the message handling a bit, cache the messages instead of
17496 only the senders. alows us to do more in the future.
17498 2005-10-20 Wim Taymans <wim@fluendo.com>
17500 * docs/design/part-TODO.txt:
17503 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17504 (gst_base_sink_query):
17505 Don't use clock time to report position when in EOS.
17507 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
17509 * tools/gst-inspect.c: (print_interfaces),
17510 (print_element_properties_info), (print_element_info):
17511 Fix interface output with gst-inspect -a; don't print
17512 newlines after double/float properties.
17514 2005-10-20 Wim Taymans <wim@fluendo.com>
17516 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17517 (gst_base_sink_query):
17518 Speed up current position calculation.
17520 * gst/base/gstbasesrc.c: (gst_base_src_query),
17521 (gst_base_src_default_newsegment):
17522 Correctly set stream position in newsegment.
17524 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17525 (update_degree), (gst_bin_sort_iterator_next),
17526 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17527 * gst/gstmessage.c: (gst_message_new_custom):
17528 Clean up debugging info
17530 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17531 (gst_queue_loop), (gst_queue_handle_src_query):
17534 2005-10-19 Wim Taymans <wim@fluendo.com>
17536 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17537 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17538 Fix query handling again.
17540 2005-10-19 Wim Taymans <wim@fluendo.com>
17542 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17543 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17544 * gst/base/gstbasesrc.c: (gst_base_src_query):
17545 * gst/elements/gstfilesink.c: (gst_file_sink_query):
17546 * gst/elements/gsttypefindelement.c:
17547 (gst_type_find_handle_src_query), (find_element_get_length),
17548 (gst_type_find_element_activate):
17551 * gst/gstquery.c: (gst_query_new_position),
17552 (gst_query_set_position), (gst_query_parse_position),
17553 (gst_query_new_duration), (gst_query_set_duration),
17554 (gst_query_parse_duration), (gst_query_set_segment),
17555 (gst_query_parse_segment):
17557 Bundling query position/duration is not a good idea since duration
17558 does not change much and we don't want to recalculate it for every
17559 position query, so they are separated again..
17560 Base value in segment query is not needed.
17562 * gst/gstqueue.c: (gst_queue_handle_src_query):
17563 * gst/gstutils.c: (gst_element_query_position),
17564 (gst_element_query_duration), (gst_pad_query_position),
17565 (gst_pad_query_duration):
17567 Updates for query API change.
17568 Added some docs here and there.
17570 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
17572 * check/gst/gstbin.c: (GST_START_TEST):
17573 * check/gst/gstghostpad.c: (GST_START_TEST):
17574 * check/pipelines/cleanup.c: (GST_START_TEST):
17575 wait on thread to die so we can check refcount correctly
17577 2005-10-18 Wim Taymans <wim@fluendo.com>
17579 * check/pipelines/stress.c: (GST_START_TEST):
17580 Make check a little more time consuming.
17582 2005-10-18 Wim Taymans <wim@fluendo.com>
17584 * check/Makefile.am:
17585 * check/pipelines/stress.c: (GST_START_TEST),
17586 (simple_launch_lines_suite), (main):
17587 Small state change torture test.
17589 * docs/design/part-states.txt:
17590 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17591 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17592 (gst_base_sink_change_state):
17593 Never take state lock from streaming thread, clean up ugly
17594 hacks. Unfortunatly core does not yet support nice ways to
17595 async commit state.
17597 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17599 Start state recalc if a STATE_DIRTY message is posted, but only
17600 on the toplevel bin.
17602 * gst/gstelement.c: (gst_element_sync_state_with_parent),
17603 (gst_element_get_state_func), (gst_element_abort_state),
17604 (gst_element_commit_state), (gst_element_lost_state),
17605 (gst_element_set_state_func), (gst_element_change_state):
17606 * gst/gstelement.h:
17607 State variables are now protected with the LOCK, the state
17608 lock is only used to serialize _set_state().
17610 2005-10-18 Wim Taymans <wim@fluendo.com>
17612 * check/gst/gstbin.c: (GST_START_TEST):
17613 * check/gst/gstmessage.c: (GST_START_TEST):
17614 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17615 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17617 * gst/gstelement.c: (gst_element_abort_state),
17618 (gst_element_commit_state), (gst_element_lost_state):
17619 * gst/gstmessage.c: (gst_message_new_state_changed),
17620 (gst_message_new_state_dirty), (gst_message_new_segment_start),
17621 (gst_message_new_segment_done), (gst_message_new_duration),
17622 (gst_message_parse_state_changed),
17623 (gst_message_parse_segment_start),
17624 (gst_message_parse_segment_done), (gst_message_parse_duration):
17625 * gst/gstmessage.h:
17626 * tools/gst-launch.c: (event_loop):
17627 Seriously, this is better than a previous commit as we only need
17628 to notify the fact that an element changed state in a streaming
17629 thread, marking the state of the parents dirty, hence the
17630 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17633 2005-10-18 Wim Taymans <wim@fluendo.com>
17635 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17636 (gst_bin_recalc_func):
17637 * gst/gstelement.c: (gst_element_set_clock),
17638 (gst_element_abort_state), (gst_element_lost_state):
17639 Cleanups, prepare for state change fixes.
17641 2005-10-18 Wim Taymans <wim@fluendo.com>
17644 * gst/gstelement.c: (gst_element_class_init),
17645 (gst_element_set_state), (gst_element_set_state_func):
17646 * gst/gstelement.h:
17647 Pending ABI changes.
17648 GThreadPool in GstBinClass to monitor async state changes.
17649 state_cookie in GstElement to detect concurrent gst/set state.
17650 set_state is now virtual too in case a very complicated element
17651 has to be constructed.
17653 2005-10-18 Wim Taymans <wim@fluendo.com>
17655 * check/gst/gstbin.c: (GST_START_TEST):
17656 * check/gst/gstmessage.c: (GST_START_TEST):
17657 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17658 * gst/gstbin.c: (bin_bus_handler):
17659 * gst/gstelement.c: (gst_element_commit_state),
17660 (gst_element_lost_state):
17661 * gst/gstmessage.c: (gst_message_new_state_changed),
17662 (gst_message_new_segment_start), (gst_message_new_segment_done),
17663 (gst_message_new_duration), (gst_message_parse_state_changed),
17664 (gst_message_parse_segment_start),
17665 (gst_message_parse_segment_done), (gst_message_parse_duration):
17666 * gst/gstmessage.h:
17667 * tools/gst-launch.c: (event_loop):
17668 Make messages future proof.
17669 state-change gets a flag if it was a message comming from the
17671 segment-start/stop can also be specified in other formats.
17672 A message to notify an app that a pipeline changed playback
17674 Also fix a GstMessage leak in -launch
17676 2005-10-18 Andy Wingo <wingo@pobox.com>
17678 * gst/gstelement.c (gst_element_dispose): More helpful message.
17680 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17682 reviewed by: <delete if not using a buddy>
17684 * common/gtk-doc.mak:
17686 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17688 * gst/gstregistry.c: (gst_registry_scan_path_level):
17689 unref a plug-in we get that was already initialized
17691 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17693 * docs/gst/gstreamer-sections.txt:
17694 * docs/libs/gstreamer-libs-sections.txt:
17695 * gst/gstelement.h:
17696 add new api entries
17697 hide internal macro
17699 2005-10-17 Andy Wingo <wingo@pobox.com>
17701 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17704 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17706 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17708 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17709 (gst_element_get_state_func): Better debug message.
17710 (gst_element_commit_state): s/INFO/DEBUG/.
17711 (gst_element_lost_state, gst_element_change_state):
17713 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17714 (gst_message_new_custom): s/INFO/LOG/.
17716 2005-10-17 Michael Smith <msmith@fluendo.com>
17718 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17719 Check if end time is valid using end time, not start time.
17721 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17723 * check/gst-libs/controller.c: (GST_START_TEST),
17724 (gst_controller_suite):
17725 * libs/gst/controller/gstcontroller.c:
17726 (gst_controlled_property_set_interpolation_mode):
17727 * libs/gst/controller/gstcontroller.h:
17728 * libs/gst/controller/gstinterpolation.c:
17729 * testsuite/controller/.cvsignore:
17730 * testsuite/controller/Makefile.am:
17731 * testsuite/controller/interpolator.c:
17732 merge controller testsuites
17734 remove mem-chunk from docs
17736 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17738 * gst/gstmemchunk.c:
17739 * gst/gstmemchunk.h:
17740 * gst/gsttrashstack.c:
17741 * gst/gsttrashstack.h:
17742 out. get out. you're fired. to the Attic !
17744 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17746 * gst/gstcaps.c: (gst_caps_intersect):
17747 fix signedness issues in a (hopefully) correct way
17748 * gst/gstelement.c: (gst_element_pads_activate):
17750 * gst/gstobject.c: (gst_object_set_parent):
17753 2005-10-17 Julien MOUTTE <julien@moutte.net>
17755 * gst/gstvalue.h: Fix prototypes.
17757 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17759 * docs/gst/gstreamer-sections.txt:
17760 * gst/gst.c: (gst_version_string):
17762 * gst/gstversion.h.in:
17763 * win32/common/libgstreamer.def:
17764 add gst_version_string ()
17766 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17770 * gst/gst.c: (init_post):
17771 * win32/common/config.h.in:
17773 * gst/gstcaps.c: (gst_caps_intersect):
17774 use gint64, the range could be bigger than a guint
17776 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17779 document potential problem in 2038
17781 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17783 * gst/gstcaps.c: (gst_caps_intersect):
17784 Fix guint j diving under 0
17786 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17789 * win32/common/config.h:
17790 * win32/common/config.h.in:
17791 check for process.h, declares getpid() on Windows
17793 include process.h if we have it
17794 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17795 * gst/gstmemchunk.h:
17796 fix signedness issues
17797 * win32/common/libgstreamer.def:
17800 2005-10-16 Julien MOUTTE <julien@moutte.net>
17802 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17803 fix. Because of unsigned ints, caps intersection was going nuts and
17804 trying to access structures with G_MAXUINT index. That fixes
17805 videotestsrc ! ffmpegcolorspace ! fakesink
17806 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17809 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17812 use the gettext macro
17813 * gst/elements/gstelements.c:
17815 * gst/indexers/gstindexers.c:
17816 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17817 * win32/common/config.h:
17819 * win32/common/config.h.in:
17820 add the template to generate config.h
17821 * win32/common/gstenumtypes.c:
17822 * win32/common/gstversion.h:
17825 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17827 * gst/gst.c: (gst_version):
17828 * gst/gstversion.h.in:
17831 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17834 Oops, add missing closing bracket.
17836 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17839 use common m4's for argument checking
17841 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17843 * docs/gst/gstreamer-sections.txt:
17845 Add GST_EVENT_TYPE_NAME() macro.
17847 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17850 * gst/gstpluginfeature.c:
17852 privatize more symbols
17854 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17857 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17858 everything that uses GStreamer API should have the includes
17860 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17862 * docs/gst/gstreamer-sections.txt:
17863 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17865 give each value a _get_type, removes the DATA exports
17867 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17871 remove _gst_registry_auto_load, not used anymore
17872 * gst/gstbin.c: (gst_bin_get_type):
17874 * gst/gstelement.c: (gst_element_get_type):
17875 * gst/gstelement.h:
17876 * gst/gstobject.c: (gst_object_get_type):
17878 * gst/gstpad.c: (gst_pad_get_type):
17880 make _get_type functions similar, fixes data export from library
17882 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17885 correctly make conditionals
17886 * gst/elements/Makefile.am:
17887 * gst/elements/gstelements.c:
17888 fix typo causing fdsrc not to build
17890 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17892 * testsuite/Makefile.am:
17893 * testsuite/bytestream/.cvsignore:
17894 * testsuite/bytestream/Makefile.am:
17895 * testsuite/bytestream/filepadsink.c:
17896 * testsuite/bytestream/gstbstest.c:
17897 * testsuite/bytestream/test1.c:
17898 * testsuite/bytestream/testfile1:
17899 * testsuite/caps/normalisation.c:
17900 * testsuite/caps/random.c: (main):
17901 * testsuite/cleanup/.cvsignore:
17902 * testsuite/cleanup/Makefile.am:
17903 * testsuite/cleanup/cleanup1.c:
17904 * testsuite/cleanup/cleanup2.c:
17905 * testsuite/cleanup/cleanup3.c:
17906 * testsuite/cleanup/cleanup4.c:
17907 * testsuite/cleanup/cleanup5.c:
17908 * testsuite/controller/interpolator.c:
17909 * testsuite/debug/printf_extension.c: (main):
17910 * testsuite/elements/tee.c:
17911 * testsuite/negotiation/.cvsignore:
17912 * testsuite/negotiation/Makefile.am:
17913 * testsuite/negotiation/pad_link.c:
17914 * testsuite/pad/Makefile.am:
17915 * testsuite/pad/chainnopull.c:
17916 * testsuite/pad/getnopush.c:
17917 * testsuite/pad/link.c:
17918 * testsuite/refcounting/sched.c: (create_pipeline):
17919 * testsuite/registry/Makefile.am:
17920 * testsuite/registry/gst-print-formats.c:
17921 * testsuite/schedulers/.cvsignore:
17922 * testsuite/schedulers/142183-2.c:
17923 * testsuite/schedulers/142183.c:
17924 * testsuite/schedulers/143777-2.c:
17925 * testsuite/schedulers/143777.c:
17926 * testsuite/schedulers/147713.c:
17927 * testsuite/schedulers/147819.c:
17928 * testsuite/schedulers/147894-2.c:
17929 * testsuite/schedulers/147894.c:
17930 * testsuite/schedulers/Makefile.am:
17931 * testsuite/schedulers/group_link.c:
17932 * testsuite/schedulers/queue_link.c:
17933 * testsuite/schedulers/relink.c:
17934 * testsuite/schedulers/unlink.c:
17935 * testsuite/schedulers/unref.c:
17936 * testsuite/schedulers/useless_iteration.c:
17937 * testsuite/states/bin.c:
17938 clean out/remove some stuff from the testsuite directories
17940 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17943 check for some headers
17944 * gst/elements/Makefile.am:
17945 * gst/elements/gstelements.c:
17946 don't compile fdsrc without sys/socket.h
17947 * gst/indexers/Makefile.am:
17948 * gst/indexers/gstindexers.c: (plugin_init):
17949 don't compile fileindex without mmap
17951 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17958 * check/Makefile.am:
17959 * docs/gst/Makefile.am:
17960 * examples/helloworld/Makefile.am:
17962 * gst/base/Makefile.am:
17963 * gst/check/Makefile.am:
17964 * gst/elements/Makefile.am:
17965 * gst/indexers/Makefile.am:
17966 * gst/parse/Makefile.am:
17967 * libs/gst/controller/Makefile.am:
17968 * libs/gst/dataprotocol/Makefile.am:
17969 * examples/helloworld/helloworld.c: (event_loop):
17970 compile fixes, though it's not being compiled currently
17972 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17974 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17975 Add some simple tests for the new taglist date API.
17977 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17979 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17980 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17981 Beautify 'last-message' output: print 'none' for buffer timestamps
17982 and durations if none is set; improve alignment with next messages.
17984 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17986 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17987 * gst/gstpluginfeature.h:
17988 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17989 * gst/gstregistry.h:
17990 * docs/gst/gstreamer-sections.txt:
17991 Add new API to check plugin feature version requirements.
17993 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17994 Some basic tests for the above.
17996 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17998 * gst/gststructure.c: (gst_structure_to_string):
17999 guard against NULL printf - happens when for example
18000 a message structure with GstClock gets serialized
18002 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18004 * gst/base/gstcollectpads.c: (gst_collectpads_event):
18005 Fix presumable copy'n'pasto.
18007 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18009 * gst/elements/gstfakesrc.h:
18010 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18011 * gst/elements/gsttypefindelement.c:
18012 fix some signedness
18013 * gst/elements/gstfilesink.c: (gst_file_sink_render):
18014 I wonder if this could actually write +2GB files before
18016 2005-10-13 Andy Wingo <wingo@pobox.com>
18018 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18019 Fix Timmeke Waymans bug.
18020 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18021 string of the proper length to gst_caps_from_string. There's a
18022 potential for, before this fix, that this could cause someone
18023 connecting over the network to cause a segfault if the payload is
18024 not NUL-terminated.
18026 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18028 * docs/design/draft-push-pull.txt:
18029 * docs/design/part-overview.txt:
18030 * docs/random/TODO-pre-0.9:
18031 * docs/random/old/ChangeLog.gstreamer:
18032 * gst/base/gstpushsrc.c:
18036 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18038 * gst/glib-compat.c: (gst_flags_get_first_value):
18039 * gst/glib-compat.h:
18040 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18041 (gst_value_compare_double), (gst_value_serialize_flags):
18042 GLib 2.6 g_flags_get_first_value has a bug that triggers an
18045 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18048 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18050 * tools/gst-launch.c: (event_loop):
18051 print out clock nicely
18053 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
18055 * docs/gst/gstreamer-sections.txt:
18056 * gst/gsttaglist.h:
18057 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18058 (gst_tag_list_get_date_index):
18059 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18060 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18062 2005-10-13 Julien MOUTTE <julien@moutte.net>
18064 * gst/base/gstcollectpads.c: (gst_collectpads_event),
18065 (gst_collectpads_chain):
18066 * gst/base/gstcollectpads.h: Handle newsegment and store informations
18069 2005-10-13 Stefan Kost <ensonic@users.sf.net>
18071 * docs/gst/gstreamer-sections.txt:
18074 * tools/gst-inspect.c: (main):
18075 * tools/gst-launch.c: (main):
18076 * tools/gst-run.c: (main):
18077 * tools/gst-xmlinspect.c: (main):
18078 fix GOption context leaks
18081 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
18085 * win32/common/config.h:
18087 * win32/vs6/grammar.dsp:
18088 * win32/vs6/libgstelements.dsp:
18089 * win32/vs6/libgstreamer.dsp:
18092 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18095 * gst/base/gstbasesrc.c: (gst_base_src_query):
18096 fix more guint64<->gdouble conversions
18098 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18101 add win32-update target
18102 * win32/common/gstconfig.h:
18103 * win32/common/gstenumtypes.c:
18104 * win32/common/gstenumtypes.h:
18105 * win32/common/gstversion.h:
18106 add files that visual studio can't generate
18108 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
18111 add a win32-update target
18114 2005-10-12 Wim Taymans <wim@fluendo.com>
18116 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18117 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18118 * gst/gstelement.c: (gst_element_commit_state),
18119 (gst_element_set_state):
18120 Protect flags with proper lock.
18121 unref provided cached clock in dispose.
18123 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18126 * gst/gstminiobject.h:
18128 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18129 removed unused flags from miniobject
18132 2005-10-12 Wim Taymans <wim@fluendo.com>
18134 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18135 (gst_file_sink_event), (gst_file_sink_render):
18136 Flush before seeking.
18138 2005-10-12 Andy Wingo <wingo@pobox.com>
18140 * gst/gst.c (gst_init_check): Ignore unknown options, as has
18141 always been the case.
18143 2005-10-12 Stefan Kost <ensonic@users.sf.net>
18145 * check/gst/gstbin.c: (GST_START_TEST):
18146 * docs/gst/gstreamer-sections.txt:
18147 * gst/base/gstbasesink.c: (gst_base_sink_init):
18148 * gst/base/gstbasesrc.c: (gst_base_src_init),
18149 (gst_base_src_get_range), (gst_base_src_check_get_range),
18150 (gst_base_src_start), (gst_base_src_stop):
18151 * gst/base/gstbasesrc.h:
18152 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18153 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18154 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18158 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18160 * gst/gstelement.c: (gst_element_is_locked_state),
18161 (gst_element_set_locked_state), (gst_element_commit_state),
18162 (gst_element_set_state):
18163 * gst/gstelement.h:
18164 * gst/gstindex.c: (gst_index_init):
18166 * gst/gstminiobject.h:
18167 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18168 (gst_object_set_parent):
18170 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18171 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18173 * gst/gstpadtemplate.h:
18174 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18175 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18176 * gst/gstpipeline.h:
18177 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18178 (gst_file_index_commit):
18179 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18180 * testsuite/pad/link.c: (gst_test_src_init),
18181 (gst_test_filter_init), (gst_test_sink_init):
18182 * testsuite/states/locked.c: (main):
18183 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18184 moved bitshift from macro to enum definition
18186 2005-10-12 Wim Taymans <wim@fluendo.com>
18188 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18189 * gst/elements/gstfilesink.c: (gst_file_sink_event),
18190 (gst_file_sink_render):
18191 Some more debugging info.
18193 2005-10-12 Wim Taymans <wim@fluendo.com>
18195 * docs/design/part-states.txt:
18196 * tools/gst-launch.c: (main):
18198 Revert non-intentional change.
18200 2005-10-12 Wim Taymans <wim@fluendo.com>
18202 * check/gst/gstbin.c: (GST_START_TEST):
18203 * check/gst/gstelement.c: (GST_START_TEST):
18204 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18205 * check/gst/gstghostpad.c: (GST_START_TEST):
18206 * check/gst/gstpipeline.c: (GST_START_TEST):
18207 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18208 * check/states/sinks.c: (GST_START_TEST):
18209 * gst/elements/gsttypefindelement.c: (stop_typefinding):
18210 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18211 (gst_bin_remove_func), (gst_bin_get_state_func),
18212 (gst_bin_recalc_state), (gst_bin_change_state_func),
18214 * gst/gstelement.c: (gst_element_get_state_func),
18215 (gst_element_get_state), (gst_element_abort_state),
18216 (gst_element_commit_state), (gst_element_set_state),
18217 (gst_element_change_state), (gst_element_change_state_func):
18218 * gst/gstelement.h:
18219 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18220 (gst_pipeline_provide_clock_func):
18221 * gst/gstutils.c: (gst_element_link_pads_filtered):
18222 * tools/gst-launch.c: (main):
18223 * tools/gst-typefind.c: (main):
18224 Use GstClockTime in _get_state() instead of GTimeVal.
18225 Remove old code in gstutils.c
18227 2005-10-12 Andy Wingo <wingo@pobox.com>
18229 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18232 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18233 there is no task. Shouldn't affect any code, as nothing in our
18234 plugins checks this return value.
18235 (gst_pad_stop_task): Also take the stream lock if the pad has no
18236 task. Docs updated.
18238 2005-10-12 Wim Taymans <wim@fluendo.com>
18240 * gst/gstpad.c: (pre_activate), (post_activate),
18241 (gst_pad_activate_pull), (gst_pad_activate_push):
18242 Cleanup activation code. Reset old state if
18245 2005-10-12 Wim Taymans <wim@fluendo.com>
18247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18248 (gst_base_sink_change_state):
18249 No need to prerol after receiving EOS.
18251 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18252 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18253 * gst/elements/gstidentity.c: (gst_identity_event):
18254 Print events more verbosely.
18256 2005-10-12 Wim Taymans <wim@fluendo.com>
18258 * check/Makefile.am:
18259 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18260 * check/states/sinks2.c:
18261 Moved sinks2 testcode in sinks check.
18263 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18264 (gst_bin_remove_func), (gst_bin_recalc_state),
18265 (gst_bin_change_state_func), (bin_bus_handler):
18266 Fix potential race condition when _get_state() iterated over an
18267 ASYNC element right before it posted a state completion.
18270 Do proper cast here.
18272 * gst/gstevent.c: (gst_event_new_newsegment),
18273 (gst_event_parse_newsegment):
18274 A playback rate of 0.0 is not allowed.
18276 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18278 * win32/common/config.h:
18279 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18280 (_trewinddir), (_ttelldir), (_tseekdir):
18281 * win32/common/dirent.h:
18282 * win32/common/gtchar.h:
18283 * win32/common/libgstbase.def:
18284 * win32/common/libgstreamer.def:
18285 * win32/vs6/grammar.dsp:
18286 * win32/vs6/gst_inspect.dsp:
18287 * win32/vs6/gst_launch.dsp:
18288 * win32/vs6/gstreamer.dsw:
18289 * win32/vs6/libgstbase.dsp:
18290 * win32/vs6/libgstelements.dsp:
18291 * win32/vs6/libgstreamer.dsp:
18292 Visual Studio 6 project files, and a new common directory.
18295 2005-10-11 Wim Taymans <wim@fluendo.com>
18297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18298 (gst_base_sink_do_sync), (gst_base_sink_query),
18299 (gst_base_sink_change_state):
18300 * gst/base/gstbasesink.h:
18301 Correctly parse newsegment info.
18303 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18305 * gst/gst.c: (init_post):
18306 split plugin paths correctly
18308 2005-10-11 Wim Taymans <wim@fluendo.com>
18310 * check/gst/gstevent.c: (GST_START_TEST):
18311 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18312 (gst_base_sink_change_state):
18313 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18314 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18315 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18316 * gst/gstevent.c: (gst_event_new_newsegment),
18317 (gst_event_parse_newsegment):
18319 Added extra flag to newsegment for future API freeze.
18320 Updated check and base elements.
18322 2005-10-11 Julien MOUTTE <julien@moutte.net>
18324 * gst/base/gstcollectpads.c: (gst_collectpads_init),
18325 (gst_collectpads_add_pad), (gst_collectpads_pop),
18326 (gst_collectpads_event), (gst_collectpads_chain):
18327 * gst/base/gstcollectpads.h: Handle EOS correctly.
18329 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18331 * tools/gst-launch.c: (main):
18332 more null protecting
18334 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18336 * gst/gst-i18n-lib.h:
18337 check for ENABLE_NLS, not GETTEXT_PACKAGE
18338 * gst/gstregistry.c: (gst_registry_add_plugin),
18339 (gst_registry_scan_path_level),
18340 (_gst_registry_remove_cache_plugins):
18341 protect possibly NULL strings
18342 * gst/parse/types.h:
18343 config.h already included before
18344 * tools/gst-inspect.c: (main):
18345 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18346 check for ENABLE_NLS, not GETTEXT_PACKAGE
18347 * tools/gst-launch.c: (main):
18348 check for ENABLE_NLS, not GETTEXT_PACKAGE
18350 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18353 if we don't have glib, fail before testing 2.8
18354 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18355 fix a leak, should fix plugins-base testsuite
18357 2005-10-11 Andy Wingo <wingo@pobox.com>
18359 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18360 take the mode we're going to as an arg. Go head and set the mode
18361 and flushing flags now, so that if the activate function starts a
18362 thread all the flags will be in the right state.
18363 (post_activate): Renamed also. Just handle making sure streaming
18364 finishes for the deactivation case, and setting the deactivated
18366 (gst_pad_set_active): Complain loudly if deactivation fails.
18367 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18368 (gst_pad_activate_push): Adapt to pre/post_activate changes,
18369 remove the terrible hack.
18371 2005-10-11 Wim Taymans <wim@fluendo.com>
18373 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18374 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18375 (gst_bin_recalc_state), (gst_bin_change_state_func),
18376 (gst_bin_dispose), (bin_bus_handler):
18378 Prepare to make current EOS message queue more generic.
18381 * gst/gstevent.c: (gst_event_new_newsegment),
18382 (gst_event_parse_newsegment):
18384 Rename base to stream_time.
18386 * gst/gstmessage.h:
18389 2005-10-11 Wim Taymans <wim@fluendo.com>
18391 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18392 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18393 (gst_bin_change_state_func), (bin_bus_handler):
18395 Work on proper clock selection.
18397 2005-10-11 Edward Hervey <edward@fluendo.com>
18399 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
18400 * libs/gst/controller/gstcontroller.h:
18401 Added GList* version of _remove_properties() in order to be able to wrap
18404 2005-10-11 Wim Taymans <wim@fluendo.com>
18406 * docs/design/part-states.txt:
18409 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18410 (gst_bin_change_state_func), (bin_bus_handler):
18411 Doc updates. Don't distribute the same clock over and over again.
18417 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18418 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18419 (gst_pad_send_event):
18421 Make probe emission threadsafe again.
18422 Register quarks and move _get_name() from utils.
18425 * gst/gstpipeline.c: (gst_pipeline_class_init),
18426 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18427 Only redistribute the clock of it changed.
18429 * gst/gstsystemclock.h:
18434 Moved the _flow_get_name() to GstPad.
18436 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18438 * check/gst-libs/gdp.c: (GST_START_TEST):
18439 * check/gst/gstcaps.c: (GST_START_TEST):
18440 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18441 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18442 (gst_dp_packet_from_caps):
18443 fix more valgrind warnings before turning up the heat
18445 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18447 * gst/parse/grammar.y:
18448 some cleanup before the hacking
18450 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18452 * gst/base/gstbasesrc.c: (gst_base_src_query):
18454 * gst/gstutils.c: (gst_guint64_to_gdouble),
18455 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18457 externalize, basesrc uses it
18458 obviously the implementation needs testing
18460 2005-10-10 Wim Taymans <wim@fluendo.com>
18462 * tests/sched/Makefile.am:
18463 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18464 (make_pipeline3), (make_pipeline4), (print_elem), (main):
18466 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18468 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18469 apparently converting from guint64 to double is not implemented
18472 2005-10-10 Wim Taymans <wim@fluendo.com>
18474 * check/Makefile.am:
18475 * check/generic/states.c: (GST_START_TEST):
18476 * check/gst/gstbin.c: (GST_START_TEST):
18477 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18478 * check/states/sinks.c: (GST_START_TEST):
18479 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18481 Check fixes, use API as stated in design docs, remove hacks.
18483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18484 (gst_base_sink_change_state):
18485 Catch stopping our task while we're shutting down.
18487 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18488 (gst_bin_remove_func), (gst_bin_get_state_func),
18489 (gst_bin_recalc_state), (gst_bin_change_state_func),
18492 * gst/gstelement.c: (gst_element_init),
18493 (gst_element_get_state_func), (gst_element_abort_state),
18494 (gst_element_commit_state), (gst_element_lost_state),
18495 (gst_element_set_state), (gst_element_change_state),
18496 (gst_element_change_state_func):
18497 * gst/gstelement.h:
18498 New state change algorithm (see #318116)
18500 * gst/gstpipeline.c: (gst_pipeline_class_init),
18501 (gst_pipeline_init), (gst_pipeline_set_property),
18502 (gst_pipeline_get_property), (do_pipeline_seek),
18503 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18504 * gst/gstpipeline.h:
18505 Remove crude state change hacks.
18508 Remove crude hacks.
18510 * tools/gst-launch.c: (main):
18511 Fixes for state change. Needs some more work to fully use the
18514 2005-10-10 Andy Wingo <wingo@pobox.com>
18516 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18518 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18519 this flag, but it's not even in GLib 2.6. Odd. Hack around the
18522 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18524 * gst/gstiterator.c: (gst_iterator_new):
18525 Fix my previous commit: GTypes passed to gst_iterator_new()
18526 can be fundamental types.
18528 2005-10-10 Wim Taymans <wim@fluendo.com>
18530 * gst/gstelement.c: (gst_element_iterate_pad_list),
18531 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18532 (gst_element_iterate_sink_pads):
18533 Use src/sink pads lists for the respective iterators instead
18536 2005-10-10 Andy Wingo <wingo@pobox.com>
18538 Merged in popt removal + GOption addition patch from Ronald, bug
18541 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18542 GstElement macros around, remove popt-related symbols, add goption
18545 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18547 * docs/gst/Makefile.am:
18548 * docs/libs/Makefile.am: No POPT_CFLAGS.
18550 * examples/manual/Makefile.am:
18551 * docs/manual/basics-init.xml: Doc updates with an example.
18553 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18554 (gst_init), (parse_one_option), (parse_goption_arg):
18555 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18556 bit of hand merging and debugging to get the GOption stuff working
18559 * tests/Makefile.am:
18560 * tools/Makefile.am:
18561 * tools/gst-inspect.c: (main):
18562 * tools/gst-launch.c: (main):
18563 * tools/gst-run.c: (main):
18564 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18566 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18568 * gst/gstiterator.c: (gst_iterator_new):
18569 Add assertions to make sure passed GType is likely to really
18570 be a GType (as the compiler won't catch it if the size and
18571 GType arguments get mixed up, see #318447).
18573 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
18575 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18577 * gst/gstbin.c: (gst_bin_iterate_sorted):
18578 Pass GType and size arguments to gst_iterator_new() in the right
18579 order (maybe we should make _new() take the GType as first argument
18580 just like _new_list()?) (#318447).
18583 2005-10-10 Wim Taymans <wim@fluendo.com>
18585 * gst/gstelement.c: (gst_element_finalize):
18586 And free the GStaticRecMutex too
18588 2005-10-10 Andy Wingo <wingo@pobox.com>
18590 * gst/gstelement.c (gst_element_init, gst_element_finalize):
18591 Allocate and free the mutex properly.
18593 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18595 (GstElement): The state_lock is now recursive. Rebuild your
18596 plugins, suckers. Old macros adapted.
18598 * docs/gst/gstreamer-sections.txt: Doc updates.
18601 * gst/gstutils.c (g_static_rec_cond_timed_wait)
18602 (g_static_rec_cond_wait): Ported from state changes patch, while
18603 we wait on bug #317802 to be solved in a well-distributed GLib.
18605 * gst/gstelement.c (gst_element_change_state_func): Renamed from
18606 gst_element_change_state, variable name changes.
18607 (gst_element_change_state): Split out of gst_element_set_state in
18608 preparation for the state change merge. Doesn't pay attention to
18609 the 'transition' argument.
18610 (gst_element_set_state): Updates, hopefully purely cosmetic.
18611 (gst_element_sync_state_with_parent): MT-safety. Ported from the
18612 state change patch.
18613 (gst_element_get_state_func): Renamed from get_state, cosmetic
18616 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18618 * gst/elements/gstelements.c:
18619 * win32/GStreamer.vcproj:
18621 * win32/dirent.c: (_tseekdir):
18622 * win32/gst-inspect.vcproj:
18623 * win32/gst-launch.vcproj:
18624 * win32/gstconfig.h:
18625 * win32/gstelements.vcproj:
18626 * win32/gstenumtypes.c: (gst_object_flags_get_type):
18627 * win32/gstreamer.def:
18628 * win32/msvc71.sln:
18629 updates for the win32 build (patch from Sebastien Moutte)
18631 2005-10-10 Andy Wingo <wingo@pobox.com>
18633 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18634 gst_bin_get_state, cleaned up (but no logic changes).
18635 (bin_element_is_sink): Comment updates.
18636 (sink_iterator_filter): Remove needless cast.
18637 (gst_bin_iterate_sinks): Doc update.
18638 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18639 cleaned up (but no logic changes).
18641 * check/states/sinks.c (test_src_sink): Cleanups from the state
18643 (test_livesrc_sink): Sync on the state.
18645 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18646 the state change patch.
18648 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18651 * check/gst/gstbin.c: Merge in some style fixes and additional
18652 checks from Wim's state change patch.
18654 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18656 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18657 (gst_type_find_helper):
18658 Check whether we have the requested data already in our list of
18659 cached buffers before pulling a new buffer; also make the buffer
18660 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18662 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18667 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18668 don't use long long, it's not portable. Replacing with
18669 gint64 seems to work; let's hope no skeletons fall out of the closet.
18671 2005-10-10 Andy Wingo <wingo@pobox.com>
18673 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18675 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18677 * docs/gst/gstreamer-sections.txt:
18682 * gst/gstmessage.c: (gst_message_parse_state_changed):
18685 more docs, fix compilation
18687 2005-10-09 Philippe Khalaf <burger@speedy.org>
18688 * gst/gstmessage.c:
18689 Fixed a few forgotten variables on previous commit
18691 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18693 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18694 Fix evil typefind crasher: getrange() might return a short
18695 buffer at the end of a file, but gst_type_find_peek() must
18696 either return the full data as requested or NULL, but
18697 never a short buffer.
18699 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18701 * gst/gstmessage.c: (gst_message_new_state_changed),
18702 (gst_message_parse_state_changed):
18703 * gst/gstmessage.h:
18704 don't use "new", it's a C++ keyword
18706 2005-10-08 Wim Taymans <wim@fluendo.com>
18708 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18709 * gst/gstelement.c: (gst_element_post_message):
18710 * gst/gstpipeline.c: (gst_pipeline_change_state):
18711 Small docs and debug updates.
18713 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18715 * docs/gst/gstreamer-sections.txt:
18716 * gst/gstelementfactory.c:
18718 * gst/gsttaglist.c:
18721 2005-10-08 Wim Taymans <wim@fluendo.com>
18723 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18724 (gst_bin_dispose), (bin_bus_handler):
18725 Fix typos, add comments.
18726 Clear EOS list when going to PAUSED from any direction and do it
18727 in a threadsafe way.
18728 Get base time in a threadsafe way too.
18729 Fix confusing debug in the change_state function.
18730 Various other small cleanups.
18732 * gst/gstelement.c: (gst_element_post_message):
18733 Fix very verbose bus posting code.
18735 * gst/gstpipeline.c: (gst_pipeline_class_init),
18736 (gst_pipeline_set_property), (gst_pipeline_get_property),
18737 (gst_pipeline_change_state):
18738 Small ARG_ -> PROP_ cleanup
18740 2005-10-08 Wim Taymans <wim@fluendo.com>
18742 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18743 Do a less CPU demanding EOS check because we can.
18745 2005-10-08 Wim Taymans <wim@fluendo.com>
18747 * libs/gst/dataprotocol/dataprotocol.c:
18748 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18749 (gst_dp_packet_from_event):
18750 * libs/gst/dataprotocol/dataprotocol.h:
18751 * libs/gst/dataprotocol/dp-private.h:
18752 It's about time we bump the version number.
18753 Since event types don't fit in the guint8 anymore describing
18754 the payload type, make payload type 16 bits wide.
18756 2005-10-08 Wim Taymans <wim@fluendo.com>
18758 * docs/design/part-TODO.txt:
18759 * docs/design/part-clocks.txt:
18760 * docs/design/part-events.txt:
18761 * docs/design/part-gstbin.txt:
18762 * docs/design/part-gstelement.txt:
18763 * docs/design/part-gstpipeline.txt:
18764 * docs/design/part-live-source.txt:
18765 * docs/design/part-messages.txt:
18766 * docs/design/part-overview.txt:
18767 * docs/design/part-states.txt:
18770 2005-10-08 Wim Taymans <wim@fluendo.com>
18774 Fix event quark registration.
18775 Add some space between events so we can insert them in the
18778 2005-10-08 Wim Taymans <wim@fluendo.com>
18780 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18781 (gst_base_sink_handle_buffer):
18782 Better log message.
18785 * gst/gstelement.h:
18788 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18789 (gst_queue_set_property), (gst_queue_get_property):
18791 Remove old unused properties.
18793 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18794 * docs/gst/gstreamer-sections.txt:
18795 * gst/gstmessage.c:
18796 * gst/gstmessage.h:
18797 * gst/gstminiobject.c:
18798 * gst/gstminiobject.h:
18802 lots of new docs and doc fixes
18804 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18806 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18808 * gst/gstregistry.c: (gst_registry_lookup_locked),
18809 (gst_registry_scan_path_level):
18810 * gst/gstregistryxml.c: (load_plugin):
18811 Only ever load one plugin for a given plugin basename.
18812 This ensures correct overriding of GST_PLUGIN_PATH over
18813 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18814 system installed plugins.
18816 2005-10-08 Wim Taymans <wim@fluendo.com>
18818 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18819 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18820 Prepare for doing QOS.
18822 2005-10-08 Wim Taymans <wim@fluendo.com>
18824 * check/gst/gstbin.c: (GST_START_TEST):
18825 * check/pipelines/cleanup.c: (GST_START_TEST):
18826 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18827 Allow new clock message too.
18829 2005-10-08 Wim Taymans <wim@fluendo.com>
18831 * gst/gstmessage.c: (gst_message_new_error),
18832 (gst_message_new_warning), (gst_message_new_tag),
18833 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18834 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18835 (gst_message_new_segment_start), (gst_message_new_segment_done),
18836 (gst_message_parse_state_changed),
18837 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18838 (gst_message_parse_new_clock):
18839 * gst/gstmessage.h:
18840 Also carry the clock in question.
18842 2005-10-08 Wim Taymans <wim@fluendo.com>
18844 * gst/gstmessage.c: (gst_message_new_custom),
18845 (gst_message_new_eos), (gst_message_new_error),
18846 (gst_message_new_warning), (gst_message_new_tag),
18847 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18848 (gst_message_new_new_clock), (gst_message_new_segment_start),
18849 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18850 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18851 * gst/gstmessage.h:
18853 Added clock related messages.
18855 * gst/gstpipeline.c: (gst_pipeline_change_state):
18856 Post message when the clock changed.
18858 * tools/gst-launch.c: (event_loop):
18861 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18863 * tools/gst-inspect.c: (print_element_properties_info):
18864 Can't pass NULL strings to g_print() on windows.
18866 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18868 * docs/Makefile.am:
18869 * docs/gst/Makefile.am:
18870 * docs/gst/gstreamer-docs.sgml:
18871 * docs/gst/running.xml:
18872 * docs/version.entities.in:
18873 add a chapter on running GStreamer.
18874 document GST_DEBUG and GST_PLUGIN* env vars
18876 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18881 remove PLUGINS_BUILDDIR stuff
18882 * gst/gst.c: (init_post):
18883 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18885 remove, it was condescending and not needed
18887 2005-10-08 Wim Taymans <wim@fluendo.com>
18889 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18890 (gst_base_sink_handle_object), (gst_base_sink_event),
18891 (gst_base_sink_wait), (gst_base_sink_handle_event),
18892 (gst_base_sink_change_state):
18893 * gst/base/gstbasesink.h:
18894 Repost EOS message while going to PLAYING if still EOS.
18895 Make sure that when receiving a FLUSH_START we don't attempt
18896 to sync on the clock anymore.
18898 2005-10-08 Wim Taymans <wim@fluendo.com>
18900 * tools/gst-launch.c: (event_loop):
18901 Better message printout.
18903 2005-10-08 Wim Taymans <wim@fluendo.com>
18905 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18906 (gst_bin_child_proxy_get_children_count):
18907 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18908 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18909 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18910 (gst_child_proxy_set_valist):
18911 * gst/parse/grammar.y:
18912 Make ChildProxy threadsafe and fix mem leaks.
18914 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18916 * gst/gst.c: (init_post):
18917 debug the GST_PLUGIN_ env vars
18919 2005-10-08 Wim Taymans <wim@fluendo.com>
18921 * check/gst/gstbin.c: (GST_START_TEST):
18922 * check/gst/gstmessage.c: (GST_START_TEST):
18923 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18924 * gst/gstelement.c: (gst_element_commit_state),
18925 (gst_element_lost_state):
18926 * gst/gstmessage.c: (gst_message_new_state_changed),
18927 (gst_message_parse_state_changed):
18928 * gst/gstmessage.h:
18929 * tools/gst-launch.c: (event_loop):
18930 Added extra field to STATE_CHANGE message with the pending
18931 state, which will be different from the new state soon.
18933 2005-10-08 Wim Taymans <wim@fluendo.com>
18935 * gst/gstbus.c: (gst_bus_pop):
18937 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18938 Small cleanups and doc updates.
18940 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18942 * gst/gst.c: (init_pre):
18943 * gst/gstbin.c: (gst_bin_add_func):
18944 log distributing clocks and base time
18945 * gst/gstregistry.c: (gst_registry_add_plugin),
18946 (gst_registry_scan_path_level), (gst_registry_scan_path):
18947 clean up the debugging output a little
18948 * gst/gstutils.c: (gst_element_state_get_name):
18949 warn about a memleak (I've actually seen this be used, though
18950 it was probably a bug)
18952 2005-10-07 Wim Taymans <wim@fluendo.com>
18954 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18955 (gst_base_src_init), (gst_base_src_default_newsegment),
18956 (gst_base_src_newsegment), (gst_base_src_do_seek),
18957 (gst_base_src_loop), (gst_base_src_start):
18958 * gst/base/gstbasesrc.h:
18959 Make the newsegment event customizable by subclasses.
18961 2005-10-07 Wim Taymans <wim@fluendo.com>
18963 * gst/gstevent.c: (gst_event_new_buffersize),
18964 (gst_event_parse_buffersize):
18966 New event for future idea.
18968 2005-10-07 Andy Wingo <wingo@pobox.com>
18970 * gst/gstelement.c (gst_element_post_message): Doc update.
18972 * docs/gst/gstreamer-sections.txt: Update.
18974 * gst/gstmessage.c (gst_message_new_application): Made into a
18975 function like honest API calls.
18976 (gst_message_new_element): New message type.
18978 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18980 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18981 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18984 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18985 NO_PREROLL from gst_element_change_state to fall through.
18987 2005-10-07 Wim Taymans <wim@fluendo.com>
18989 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18990 (gst_ghost_pad_do_activate_push):
18991 Activating a ghostpad with no internal pad in push mode
18994 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18997 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18998 Fixes compilation on Windows.
19000 2005-10-07 Michael Smith <msmith@fluendo.com>
19002 * tools/gst-inspect.c:
19003 Print out feature and plugin count at the end when printing out
19006 2005-10-04 Michael Smith <msmith@fluendo.com>
19008 * gst/gsterror.c: (_gst_stream_errors_init):
19009 Add another error string used in a few existing plugins.
19012 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19013 * tools/gst-inspect.c: (print_element_info):
19014 When a feature disappears from a plugin (and the feature exists in
19015 the cached registry file), things went horribly wrong. This isn't a
19016 complete fix, we should actually be removing the 'missing' features
19017 from the features list when we load the actual plugin. That's not
19020 2005-10-04 Johan Dahlin <johan@gnome.org>
19022 * check/gst/gstiterator.c: (GST_START_TEST):
19023 * gst/gstbin.c: (gst_bin_iterate_elements),
19024 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19025 * gst/gstelement.c: (gst_element_iterate_pads):
19026 * gst/gstformat.c: (gst_format_iterate_definitions):
19027 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19028 (gst_iterator_new_list), (gst_iterator_filter):
19029 * gst/gstiterator.h:
19030 * gst/gstquery.c: (gst_query_type_iterate_definitions):
19031 Add a GType to GstIterator, update callsites and tests.
19033 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19035 * gst/gstpad.c: (gst_pad_event_default_dispatch):
19036 give events a chance to be handled by event probes when the pad
19039 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19041 * gst/gstevent.c: (gst_event_type_get_name),
19042 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19044 add string representations for event types
19046 2005-10-06 Wim Taymans <wim@fluendo.com>
19048 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19049 Don't use NULL pointers.
19051 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19053 * gst/gst_private.h:
19055 * gst/gstelement.c:
19057 * gst/gstpluginfeature.c:
19058 widen the debug category in output to fit the biggest one we have
19059 add a bus category and use it
19060 play with the colors
19061 fix up some categories
19063 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
19065 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19066 add push activation of sink ghost pads.
19067 Andye, please verify
19069 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19071 * gst/gstutils.c: (gst_element_link_pads):
19072 fix a bug in the case where neither element has a pad
19073 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19074 add a test for that case
19076 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
19078 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19079 emit have-data before checking for peers. This allows
19080 for probe handlers to connect elements. This helps autopluggers.
19081 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19083 add six checks, linked/unlinked with no/true/false probe
19085 2005-10-04 Wim Taymans <wim@fluendo.com>
19087 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19088 (gst_fake_sink_event), (gst_fake_sink_preroll),
19089 (gst_fake_sink_render), (gst_fake_sink_change_state):
19090 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19091 (gst_fake_src_get_property), (gst_fake_src_create),
19092 (gst_fake_src_stop):
19093 * gst/elements/gstidentity.c: (gst_identity_stop):
19094 Protect last_message with lock.
19096 2005-10-04 Edward Hervey <edward@fluendo.com>
19099 Added precision in the comments for GST_FORMAT_DEFAULT
19101 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
19103 * tools/gst-launch.c: (main):
19104 Don't try to run erroneous pipelines.
19106 2005-10-04 Julien MOUTTE <julien@moutte.net>
19108 * gst/gstbus.c: We don't need this header.
19110 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19113 back to development
19115 === release 0.9.3 ===
19117 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
19121 Releasing 0.9.3, "Unregistered"
19123 2005-10-03 Andy Wingo <wingo@pobox.com>
19125 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19126 whereby calling a pad's activatepush() function can start a thread
19127 that starts to push or pull before the pad gets the FLUSHING flag
19128 unset. Hack around it by holding the stream lock until the flag is
19129 set. Need to replace this with a proper solution. Together with
19130 the ghost pad fixes, this fixes mp3 playing/tagreading.
19132 * docs/design/part-gstghostpad.txt: Add a note about activation of
19133 proxy pads outside of ghost pads.
19135 * gst/gstghostpad.c: Implement the ghost pad activation design.
19137 2005-10-02 Andy Wingo <wingo@pobox.com>
19139 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19140 It is volatile, after all.
19142 * docs/design/part-gstghostpad.txt: Flesh out activation with
19145 * gst/base/gstbasesrc.c (gst_base_src_init): Use
19148 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
19151 Fix (unused) AM_CONDITIONAL tests.
19153 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
19155 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19157 * gst/gstutils.c: (gst_pad_query_convert):
19158 Add assertion that makes sure src_val is >=0, just like
19159 gst_query_new_convert() has. (#315895)
19161 2005-09-30 Edward Hervey <edward@fluendo.com>
19163 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19164 Let's not iterate pads we're not interested in, it avoids getting
19165 sky-high refcounts on sinkpad.
19167 2005-09-30 Wim Taymans <wim@fluendo.com>
19169 * gst/gstelement.c: (gst_element_set_state),
19170 (gst_element_change_state):
19171 Small tweak, element in ASYNC remains ASYNC.
19173 2005-09-30 Wim Taymans <wim@fluendo.com>
19175 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19176 Only error is an error.
19178 * gst/gstbin.c: (gst_bin_change_state):
19181 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19182 Also call pad_block in pad alloc.
19184 * gst/gstutils.c: (gst_flow_get_name):
19187 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19189 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19190 (gst_base_src_get_range):
19191 Fix documentation typos. Add some more debug info.
19193 2005-09-29 David Schleef <ds@schleef.org>
19195 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19196 more end-user friendly.
19197 * tools/gst-inspect.c: (main): Check if command-line argument is
19198 a file and attempt to load that file as a plugin.
19200 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19202 * check/gst/gstbin.c:
19203 * check/states/sinks.c:
19204 fix tests for the new warning
19205 * check/gst/gstpipeline.c:
19206 add a test for pipeline and bus interaction
19207 * gst/gstelement.c:
19208 elements should be NULL if they get disposed; add a warning if not
19210 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19213 for 2.6 refcounting, make debug log more correct by printing
19214 the actual refcounts at the time of swap (Wim)
19216 2005-09-29 Andy Wingo <wingo@pobox.com>
19218 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19219 removes signal watches previously added via
19220 gst_bus_add_signal_watch.
19221 (gst_bus_add_signal_watch): Don't return the source id, just store
19222 it on the bus if there wasn't an id already.
19224 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19225 add_signal_watch and remove_signal_watch.
19227 2005-09-29 Edward Hervey <edward@fluendo.com>
19229 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
19230 Better if we actually iterate the list :)
19232 2005-09-29 Wim Taymans <wim@fluendo.com>
19234 * check/gst/gstbin.c: (GST_START_TEST):
19235 Change for new bus API.
19237 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19238 (send_messages), (GST_START_TEST), (gstbus_suite):
19239 Change for new bus signal API.
19241 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19242 (gst_bus_source_prepare), (gst_bus_source_check),
19243 (gst_bus_create_watch), (gst_bus_add_watch_full),
19244 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19245 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19247 Remove support for multiple GSources operating on different
19248 message types as it is too complex and unneeded when using
19250 Added support for receiving signals from the bus.
19252 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * docs/libs/tmpl/gstdataprotocol.sgml:
19255 * docs/manual/advanced-dataaccess.xml:
19256 * gst/elements/gstcapsfilter.c:
19258 rename filter-caps to caps property
19260 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19262 * gst/gstvalue.c: (gst_value_deserialize_fraction):
19263 More robust fraction string parsing.
19265 * docs/pwg/appendix-porting.xml:
19266 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19268 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
19270 * gst/gstcaps.c: (gst_caps_do_simplify):
19271 Thou shalt not free a structure and then continue using it
19272 in the next loop iteration.
19274 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19276 Add test case for caps simplification.
19278 2005-09-29 Wim Taymans <wim@fluendo.com>
19280 * check/gst/gstbin.c: (GST_START_TEST):
19283 2005-09-29 Wim Taymans <wim@fluendo.com>
19285 * check/gst/gstbin.c: (GST_START_TEST):
19288 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19289 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19290 (find_element), (gst_bin_sort_iterator_next),
19291 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19292 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19293 (gst_bin_change_state), (gst_bin_dispose):
19294 A bin does not have a bus, it gets the bus from the parent.
19296 * gst/gstelement.c: (gst_element_requires_clock),
19297 (gst_element_provides_clock), (gst_element_is_indexable),
19298 (gst_element_is_locked_state), (gst_element_change_state),
19299 (gst_element_set_bus_func):
19302 * gst/gstpipeline.c: (gst_pipeline_class_init),
19303 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19304 The pipeline provides a bus.
19306 2005-09-28 Johan Dahlin <johan@gnome.org>
19308 * gst/gstmessage.c (gst_message_parse_state_changed): Use
19309 gst_structure_get_enum instead of gst_structure_get_int
19311 * gst/gststructure.c (gst_structure_get_enum): Impl.
19313 * gst/gststructure.h (gst_structure_get_enum): Add
19315 * docs/gst/gstreamer-sections.txt: Ditto
19317 * gst/gstmessage.c (gst_message_new_state_changed): Use
19318 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19319 which does introspection.
19320 Reviewed by Christian Schaller
19322 2005-09-28 Stefan Kost <ensonic@users.sf.net>
19324 * gst/gstinfo.c: (gst_debug_log_default):
19325 don't do dummy g_strdup()s
19326 * libs/gst/controller/gstcontroller.c:
19327 (on_object_controlled_property_changed),
19328 (gst_controlled_property_new), (gst_controller_new_valist),
19329 (gst_controller_new_list),
19330 (gst_controller_remove_properties_valist), (gst_controller_set),
19331 (gst_controller_get), (gst_controller_sync_values),
19332 (gst_controller_get_value_array), (_gst_controller_class_init),
19333 (gst_controller_get_type):
19334 * libs/gst/controller/gstcontroller.h:
19335 * libs/gst/controller/gstinterpolation.c:
19336 (gst_controlled_property_find_timed_value_node):
19337 convert // to /**/ comments
19339 2005-09-28 Wim Taymans <wim@fluendo.com>
19341 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19342 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19343 (gst_bus_sync_signal_handler):
19345 Added async-message and sync-message signals to the bus.
19346 Added helper BusFunc to emit signals for all posted messages.
19348 * gst/gstmessage.c: (gst_message_type_get_name),
19349 (gst_message_type_to_quark), (gst_message_get_type):
19350 * gst/gstmessage.h:
19351 Register quarks for message names.
19353 2005-09-28 Stefan Kost <ensonic@users.sf.net>
19355 * docs/libs/gstreamer-libs-sections.txt:
19356 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19357 (gst_controller_new_list):
19358 * libs/gst/controller/gstcontroller.h:
19359 added another constructor for language bindings
19361 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
19363 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19367 * gst/gstinfo.c: (_gst_debug_init):
19368 slightly more readable color for refcount debugging
19370 2005-09-28 Wim Taymans <wim@fluendo.com>
19372 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19373 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19374 (find_element), (gst_bin_sort_iterator_next),
19375 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19376 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19377 (gst_bin_change_state), (gst_bin_dispose):
19378 Small doc fixes. get_clock -> provide_clock.
19380 * gst/gstelement.c: (gst_element_class_init),
19381 (gst_element_provides_clock), (gst_element_provide_clock),
19382 (gst_element_get_clock), (gst_element_commit_state),
19383 (gst_element_lost_state):
19384 * gst/gstelement.h:
19385 Make get/set_clock() symetric. Add provide_clock vmethod since
19386 that is actually what this function does.
19388 * gst/gstpipeline.c: (gst_pipeline_class_init),
19389 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19390 (gst_pipeline_get_clock):
19391 get_clock -> provide_clock.
19393 2005-09-28 Andy Wingo <wingo@pobox.com>
19395 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19396 lieu of real docs...
19398 * gst/elements/gstfdsrc.c: Cleaned up a bit.
19400 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
19402 * gst/elements/gstcapsfilter.c:
19403 * gst/elements/gstfakesink.c:
19404 * gst/elements/gstfakesrc.c:
19405 * gst/elements/gstfdsink.c:
19406 * gst/elements/gstfdsrc.c:
19407 * gst/elements/gstfilesink.c:
19408 * gst/elements/gstfilesrc.c:
19409 * gst/elements/gstidentity.c:
19410 * gst/elements/gsttee.c:
19411 * gst/elements/gsttypefindelement.c:
19412 Make element details static.
19414 2005-09-28 Wim Taymans <wim@fluendo.com>
19416 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19417 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19418 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19419 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19420 (gst_bin_change_state), (gst_bin_dispose):
19421 Some documentation updates.
19422 Clean up dispose handlers.
19424 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19425 * gst/gstpad.c: (gst_pad_dispose):
19426 Clean up dispose handler.
19428 * gst/gstpipeline.c: (gst_pipeline_change_state):
19429 Removed spurious UNLOCK.
19431 2005-09-27 Stefan Kost <ensonic@users.sf.net>
19433 * docs/gst/gstreamer-sections.txt:
19434 * gst/base/gstbasesrc.h:
19435 * gst/gstelement.h:
19439 * gst/gstpipeline.c:
19440 * gst/gstpipeline.h:
19443 added two new functions to the docs
19444 documents all undocumented GstXXXFlags
19445 completed some incomplete docs
19447 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
19449 * gst/gstbin.c: (gst_bin_dispose):
19450 * gst/gstelement.c: (gst_element_dispose):
19451 remove now useless and leaky resurrection code in dispose
19452 * gst/base/gstbasesrc.c: (gst_base_src_init):
19453 * gst/gstelementfactory.c: (gst_element_factory_create):
19454 * gst/gstobject.c: (gst_object_set_parent):
19457 2005-09-27 Wim Taymans <wim@fluendo.com>
19459 * docs/design/part-TODO.txt:
19462 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19463 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19464 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19465 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19466 (gst_bin_change_state):
19467 * gst/gstelement.h:
19468 Remove element variable, we keep element info in the iterator now.
19470 2005-09-27 Andy Wingo <wingo@pobox.com>
19472 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19475 2005-09-27 Wim Taymans <wim@fluendo.com>
19477 * check/gst/gstbin.c: (GST_START_TEST):
19478 Enable check that works now.
19480 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19481 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19482 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19483 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19484 (gst_bin_change_state):
19486 Redid the state change algorithm using a topological sort algo.
19487 Handles all cases correctly.
19488 Exposed iterator for state change order.
19490 * gst/gstelement.h:
19491 Temp storage for state changes. Need to get rid of this soon.
19493 2005-09-27 Wim Taymans <wim@fluendo.com>
19495 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19496 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19497 (link_fold_func), (gst_pad_proxy_setcaps):
19498 Leak fixes, the fold functions need to unref the passed object and
19499 _get_parent_*() returns ref to parent.
19501 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19503 * check/gst/gstbuffer.c: (test_make_writable):
19504 Plug leak in test case and fix 'make check-valgrind'
19506 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19508 * gst/gstbuffer.c: (gst_subbuffer_init):
19509 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19510 works correctly in all circumstances (we could have just copied
19511 the parent buffer's readonly flag, but conceptually it seems
19512 cleaner to mark all subbuffers as read-only). (based on patch
19513 by Alessandro Decina, #314710).
19515 * check/gst/gstbuffer.c: (create_read_only_buffer),
19516 (test_make_writable), (test_subbuffer_make_writable),
19518 Add some tests for gst_buffer_make_writable().
19520 2005-09-27 Wim Taymans <wim@fluendo.com>
19522 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19523 use gst_object_has_ancestor().
19525 * gst/gstobject.c: (gst_object_has_ancestor):
19527 gst_object_has_ancestor() copied from gstbin.c as it is a
19530 * tests/instantiate/create.c: (create_all_elements):
19531 * tests/lat.c: (handoff_src), (handoff_sink):
19532 * tests/sched/runxml.c: (main):
19533 * tests/seeking/seeking1.c: (main):
19534 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19536 Fix compilation of some tests.
19538 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19541 Remove comment. GST_TYPE_G_ERROR is here to stay,
19542 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19543 (#316961, #300610).
19545 2005-09-26 Wim Taymans <wim@fluendo.com>
19547 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19548 Added check that shows error in state change order.
19550 2005-09-26 Wim Taymans <wim@fluendo.com>
19552 * gst/gstbin.c: (gst_bin_change_state):
19553 Make state change function use 3 queues again, we were
19554 adding elements in the wrong order.
19556 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19559 * gst/gstpad.c: (gst_pad_dispose):
19560 Added some debug info first.
19562 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
19564 * docs/design/draft-push-pull.txt:
19565 * docs/design/part-events.txt:
19566 * docs/design/part-overview.txt:
19567 * docs/design/part-scheduling.txt:
19568 Replace all _pull_region() with _pull_range()
19570 2005-09-26 Andy Wingo <wingo@pobox.com>
19572 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19574 * check/gst-libs/controller.c: Update for controller api change.
19577 * tests/Makefile.am:
19578 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19579 over by GLib bug 118439.
19581 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19582 routines to a function.
19584 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19586 * libs/gst/controller/gsthelper.c:
19587 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19588 (gst_object_sync_values): Renamed from sink_values. Ugh.
19590 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19592 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19593 Renamed from controller_key, as it is exported.
19595 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19597 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
19602 * gst/gstpadtemplate.h:
19605 * gst/gstqueryutils.c:
19606 * gst/gstqueryutils.h:
19607 remove queryutils headers after moving the two used functions
19608 to gstquery. also fixes build problem for gstsiddec
19610 2005-09-26 Michael Smith <msmith@fluendo.com>
19612 * tools/gst-launch.1.in:
19613 Correct documentation in manpage of debug syntax
19615 2005-09-26 Wim Taymans <wim@fluendo.com>
19617 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19618 (gst_base_src_is_seekable), (gst_base_src_change_state):
19619 Some more debugging info.
19621 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19623 * docs/gst/gstreamer-sections.txt:
19624 * gst/base/gstbasetransform.h:
19628 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19630 * docs/gst/.cvsignore:
19631 * docs/gst/tmpl/.cvsignore:
19632 * docs/gst/tmpl/gstpipeline.sgml:
19633 * docs/gst/tmpl/gstplugin.sgml:
19634 * gst/gstpipeline.c:
19637 inlined the last two docs files
19638 removed the tmpl directory from cvs (no more conflicts here!)
19640 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19642 * docs/gst/gstreamer-sections.txt:
19643 * docs/gst/tmpl/.cvsignore:
19644 * docs/gst/tmpl/gstpad.sgml:
19645 * docs/gst/tmpl/gstpadtemplate.sgml:
19647 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19648 (gst_pad_finalize), (gst_pad_set_pad_template):
19650 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19651 (gst_pad_template_class_init), (gst_pad_template_init),
19652 (gst_pad_template_dispose), (name_is_valid),
19653 (gst_static_pad_template_get), (gst_pad_template_new),
19654 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19655 (gst_pad_template_pad_created):
19656 * gst/gstpadtemplate.h:
19657 inlined two more docs
19658 factored gstpadtemplate out of gstpad
19660 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19662 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19663 (test_children_state_change_order_semi_sink):
19664 Fix test case: we can't rely on a fixed state change order when
19665 going from READY => PAUSED because the sink might commit its
19666 new state first when the first buffer created by the source
19667 reaches the sink before the source has finished its change state.
19668 (Test case still fails at times, see #316856, comment 5 onwards)
19670 2005-09-24 Wim Taymans <wim@fluendo.com>
19672 * docs/design/part-events.txt:
19673 * docs/design/part-gstbus.txt:
19674 * docs/design/part-gstpipeline.txt:
19675 * docs/design/part-messages.txt:
19676 * docs/design/part-overview.txt:
19677 * docs/design/part-segments.txt:
19681 * gst/gstelement.c:
19684 * gst/gstiterator.c:
19685 Various documentation updates.
19687 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19690 Well, that's embarassing. Luckily we weren't using
19691 GST_CLOCK_DIFF anywhere.
19693 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19695 * common/gtk-doc.mak:
19696 don't fail on building XML, FC4 slave shows a bunch of doc
19697 missing bits that I don't get
19699 * gst/gstpipeline.c:
19700 * gst/gststructure.c:
19703 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19705 * docs/design/part-gstbin.txt:
19706 * docs/design/part-gstbus.txt:
19708 Add blurb about how the bus goes into flushing mode and
19709 drops all messages when its bin goes from READY into NULL
19712 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19714 * docs/gst/gstreamer-sections.txt:
19715 * gst/gststructure.c: (gst_structure_get_clock_time):
19716 * gst/gststructure.h:
19717 add a method to get a GstClockTime out of a structure
19719 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19721 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19722 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19723 Added test to check state change order in bins (can still be made
19724 to fail here under heavy disk load; bails out with 'Push on pad
19725 fakesink:sink0, but it was not activated in push mode').
19727 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19728 Fix state change order when there is only a semi sink (#316856)
19730 * gst/gstbus.c: (gst_bus_class_init):
19731 Use _class_peek_parent(), not _class_ref(); fix docs to say
19732 'default main context' instead of 'mainloop' where that is
19735 * gst/gstelement.c: (gst_element_commit_state),
19736 (gst_element_set_state):
19737 Fix typos in debug messages
19739 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19742 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19743 * gst/gstpluginfeature.c:
19745 various doc updates
19746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19747 change an assert into an error until it gets fixed properly
19749 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19751 * docs/gst/gstreamer-sections.txt:
19752 * docs/gst/tmpl/.cvsignore:
19753 * docs/gst/tmpl/gstelement.sgml:
19754 * docs/gst/tmpl/gstinfo.sgml:
19755 * docs/gst/tmpl/gstobject.sgml:
19756 * gst/gstelement.c:
19757 * gst/gstelement.h:
19760 * gst/gstobject.c: (gst_object_class_init):
19762 inlined 3 more biiiig doc files and added some missing docs on the fly
19764 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19766 * check/gst/.cvsignore:
19767 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19768 * gst/gstregistryxml.c: (load_plugin),
19769 (gst_registry_xml_save_plugin):
19770 put back source in registry. add checks for find_plugin.
19771 * testsuite/states/bin.c: (assert_state), (empty_bin),
19772 (test_adding_one_element), (main):
19773 * testsuite/states/locked.c: (main):
19774 some compile/run fixes
19776 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19778 * check/gst/gstvalue.c: (GST_START_TEST):
19779 fix leaks in the test itself
19781 2005-09-22 Wim Taymans <wim@fluendo.com>
19783 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19784 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19785 (gst_base_sink_query):
19786 Prepare for more accurate position reporting and query
19789 * gst/gstelement.c: (gst_element_send_event),
19790 (gst_element_set_state):
19793 2005-09-22 Wim Taymans <wim@fluendo.com>
19795 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19796 (gst_query_parse_segment):
19798 More documentation.
19799 Add segment query for future use.
19801 2005-09-22 Wim Taymans <wim@fluendo.com>
19803 * gst/gstbin.c: (gst_bin_add_func):
19804 Some more debug info.
19806 * gst/gstelement.c: (gst_element_send_event):
19807 Simplify send_event
19809 * gst/gstelement.h:
19810 Don't know how flags got broken.
19815 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19817 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19818 Add simplistic test suite for GST_TYPE_DATE serialisation and
19821 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19823 * docs/gst/gstreamer-sections.txt:
19824 * gst/gststructure.c: (gst_structure_set_valist),
19825 (gst_structure_get_date):
19826 * gst/gststructure.h:
19827 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19828 (gst_date_copy), (gst_value_compare_date),
19829 (gst_value_serialize_date), (gst_value_deserialize_date),
19830 (gst_value_transform_date_string),
19831 (gst_value_transform_string_date), (_gst_value_initialize):
19833 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19834 bunch of utility functions along with a hack that checks that
19835 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19836 is required. Part of the grand scheme in #170777.
19838 2005-09-22 Andy Wingo <wingo@pobox.com>
19840 * gst/gstconfig.h.in: Psych out gtk-doc.
19842 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19844 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19846 * tools/gst-inspect.c (print_element_list): Plug some
19847 inconsequential leaks.
19849 * gst/gstregistry.c (gst_registry_get_default): Doc.
19851 * check/gst/gstplugin.c:
19852 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19853 * gst/gstelementfactory.c (gst_element_factory_create):
19854 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19857 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19858 (gst_plugin_feature_load): Doc, don't eat refs.
19860 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19861 (gst_plugin_list_free): Doc.
19862 (gst_plugin_load_file): Doc updates.
19864 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19865 accessors returning refcounted objects, return a ref.
19867 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19868 accessor for caps. IDEMPOTENCE. Oh yes.
19870 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19872 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19874 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19875 (_gst_debug_register_funcptr):
19876 Add mutex to serialise access to the hash table with
19877 the function pointer => function name string mapping;
19878 make that hash table static scope (#316809).
19880 * gst/registries/.cvsignore:
19881 Remove left-over file.
19883 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19885 * docs/pwg/appendix-porting.xml:
19886 And something about newsegment events and caps-on-buffers to
19887 the porting guide (feel free to improve).
19889 2005-09-21 Andy Wingo <wingo@pobox.com>
19891 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19892 data and event probes on the same pad.
19893 (test_buffer_probe_once): Test that removing probes from within
19894 the probe functions works.
19896 2005-09-21 Andy Wingo <wingo@pobox.com>
19898 * check/gst/gstutils.c: New file.
19899 (test_buffer_probe_n_times): A simple buffer probe test. More to
19902 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19903 have-data::buffer, not have-data.
19904 (gst_pad_add_event_probe): Likewise for have-data::event.
19905 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19906 peer' isn't quite right yet though.
19907 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19908 (gst_pad_remove_data_probe): Change to take the guint handler_id
19909 as their arg, not the function+data, which is more glib-like.
19911 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19912 the signal emission to indicate if the data is a buffer or an
19914 (gst_pad_get_type): Initialize buffer and event quarks.
19915 (gst_pad_class_init): have-data is now a detailed signal, yes it
19918 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19920 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19921 * gst/gstutils.c: (gst_util_set_value_from_string),
19922 (gst_util_set_object_arg):
19923 Don't put functional code in g_return_if_fail() or
19924 g_return_val_if_fail() statements, otherwise things will
19925 break when G_DISABLE_CHECKS is defined during compilation.
19927 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19929 * docs/gst/tmpl/.cvsignore:
19930 * docs/gst/tmpl/gstvalue.sgml:
19933 inlied another one and added some obvious docs
19935 2005-09-21 Wim Taymans <wim@fluendo.com>
19937 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19938 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19939 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19940 (gst_fdsrc_get_property), (gst_fdsrc_create):
19941 * gst/elements/gstfdsrc.h:
19942 Properly implement fdsrc. Removed signal and timeout,
19943 better implemented somewhere else.
19945 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19947 * docs/gst/tmpl/.cvsignore:
19948 * docs/gst/tmpl/gstimplementsinterface.sgml:
19949 * gst/gstinterface.c:
19952 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19954 * docs/gst/gstreamer-sections.txt:
19955 * docs/gst/tmpl/.cvsignore:
19956 * docs/gst/tmpl/gstenumtypes.sgml:
19957 remove obsolete doc file
19959 2005-09-21 David Schleef <ds@schleef.org>
19961 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19962 little beer, fix a little leak.
19964 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19966 * docs/gst/gstreamer-docs.sgml:
19967 * docs/gst/gstreamer-sections.txt:
19968 * docs/gst/tmpl/.cvsignore:
19972 * gst/gstelement.h:
19973 * gst/gstindex.c: (gst_index_class_init):
19975 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19976 (gst_index_factory_class_init), (gst_index_factory_init),
19977 (gst_index_factory_finalize), (gst_index_factory_new),
19978 (gst_index_factory_destroy), (gst_index_factory_find),
19979 (gst_index_factory_create), (gst_index_factory_make):
19980 * gst/gstindexfactory.h:
19981 * gst/gstpluginfeature.c:
19982 * gst/gstpluginfeature.h:
19983 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19984 more docs inlined, splitted gstindex.{c,h}
19986 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19988 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19991 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19993 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19994 Set sync to FALSE by default.
19996 2005-09-20 Wim Taymans <wim@fluendo.com>
19998 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19999 (gst_base_sink_init):
20000 Make sync property settable from subclass.
20002 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20003 (gst_fake_sink_change_state):
20004 Set sync to FALSE by default.
20006 2005-09-20 Wim Taymans <wim@fluendo.com>
20008 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20009 * tools/gst-launch.c: (main):
20010 The timeout handler should have lower priority than the source
20011 so we don't timeout before popping a message with 0 timeout.
20012 Dump error messages after failed state change.
20014 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
20016 * tools/gst-inspect.c: (print_element_properties_info):
20019 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20021 * check/gst/gstevent.c:
20022 * gst/elements/gstfakesink.c:
20023 * gst/elements/gstfakesink.h:
20024 remove the sync property from fakesink.
20025 has the side effect of setting sync TRUE
20026 for fakesink, which is a change. Anyone who knows how
20027 to fix this nicely in a GObject-y way, feel free.
20029 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20031 * docs/gst/gstreamer-docs.sgml:
20032 remove probe refsection
20034 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20036 * check/Makefile.am:
20037 disable valgrinding the controller test again
20038 * docs/gst/gstreamer-sections.txt:
20039 update for api-changes
20041 2005-09-20 Wim Taymans <wim@fluendo.com>
20043 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20044 (gst_base_sink_set_property), (gst_base_sink_get_property),
20045 (gst_base_sink_do_sync):
20046 * gst/base/gstbasesink.h:
20047 Added sync property to basesink to disable clock sync.
20049 2005-09-20 Andy Wingo <wingo@pobox.com>
20051 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20052 eating the caller's refcount.
20054 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
20055 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20058 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20059 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20060 of GLib 2.8 public, so we can know which refcount to check in
20063 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20064 (gst_object_init): Only set the gst refcount if we're going ahead
20065 with the refcount hack.
20067 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20069 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20070 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20071 more leaks plumbed, added more debug-logging
20075 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20077 * gst/gstmessage.c:
20078 remove include of gstmemchunk.h
20080 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20082 * gst/gstclock.c: (_gst_clock_id_free):
20083 Commit from the Political Party For More Atomic CVS Commits,
20084 so that people don't waste too much of their day fishing
20085 out obvious leaks out of massive commits.
20086 Oh, and fix a pretty damn obvious leak in the memchunk
20089 2005-09-20 Stefan Kost <ensonic@users.sf.net>
20091 * check/Makefile.am:
20092 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20093 plug mem-leak, re-add to valgrindable tests
20095 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
20098 unbreak the build for those who have chronic arthritis
20099 and typing "make check" is just too taxing on the hands
20101 2005-09-20 Andy Wingo <wingo@pobox.com>
20103 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20104 really want it out, you should fix plugins at the same time.
20106 2005-09-19 Stefan Kost <ensonic@users.sf.net>
20109 * docs/gst/gstreamer-sections.txt:
20111 added missing symbols to api docs
20112 disable ref-count hack if we have glib >= 2.8
20114 2005-09-19 David Schleef <ds@schleef.org>
20116 * docs/gst/Makefile.am: Ignore a few more internal headers
20117 * docs/gst/gstreamer-docs.sgml: Remove old sections
20118 * docs/gst/gstreamer-sections.txt: Remove old sections
20119 * docs/gst/tmpl/gstobject.sgml: update
20120 * docs/gst/tmpl/gstplugin.sgml: update
20121 * docs/gst/tmpl/gstpluginfeature.sgml: update
20122 * docs/random/ds/0.9-suggested-changes: update.
20123 * gst/Makefile.am: remove memchunk and trashstack, since they're
20125 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20126 * gst/gst.h: don't include some headers
20127 * gst/gstchildproxy.c: add gstmarshal.h
20128 * gst/gstclock.c: Don't use memchunks
20129 * gst/gstminiobject.c: Add some docs
20130 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20131 * gst/gstobject.h: same
20132 * gst/gstplugin.c: include gstmacros.h
20133 * gst/gstplugin.h: don't include gstmacros.h, since it's private
20134 * gst/gstquery.c: don't use memchunks
20135 * gst/gstregistry.c: rename gst_registry_deinit()
20136 * gst/gstregistry.h: same
20138 2005-09-19 David Schleef <ds@schleef.org>
20140 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20141 * docs/libs/gstreamer-libs-sections.txt:
20142 * docs/libs/tmpl/gstgetbits.sgml:
20143 * docs/libs/tmpl/gstputbits.sgml:
20145 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
20147 * win32/gstenumtypes.c:
20148 * win32/gstenumtypes.h:
20151 2005-09-19 Wim Taymans <wim@fluendo.com>
20153 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20154 Automatically PAUSE and RESUME a pipeline when a flushing seek
20157 2005-09-19 Andy Wingo <wingo@pobox.com>
20159 * gst/gstregistry.h: Spacing fixen.
20161 2005-09-19 Wim Taymans <wim@fluendo.com>
20163 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20164 Handle state change failure more correctly.
20166 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20168 * check/Makefile.am:
20169 * check/pipelines/cleanup.c: (run_pipeline):
20170 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20172 enable cleanup again after fixing the leak
20174 some more info on docs
20176 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20178 * check/Makefile.am:
20179 re-enable tests now that leaks are plugged
20181 * check/gst/gstbin.c:
20182 * check/gst/gstpipeline.c:
20183 add some more tests while fixing leaks
20184 * common/check.mak:
20185 make sure binaries are uptodate when valgrinding/gdbing
20187 * gst/gstelementfactory.c:
20188 remove a ref too many, and add a FIXME for when we get
20189 round to disposing of classes
20191 fix the refcounting when loading a plugin from a file and
20192 the code pretends that the pointer is the same even though
20193 of course it can change
20194 * gst/gstpluginfeature.c:
20195 unref plugins marked cached (a bit confusing as a name)
20196 as the docs state should be done
20197 various doc additions to explain refcounting
20198 * gst/gstregistry.c:
20199 * gst/gstregistryxml.c:
20202 2005-09-19 Wim Taymans <wim@fluendo.com>
20204 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20205 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20206 (send_messages), (GST_START_TEST), (gstbus_suite):
20207 * check/gst/gstpipeline.c: (GST_START_TEST):
20208 * check/pipelines/cleanup.c: (run_pipeline):
20209 * check/pipelines/simple_launch_lines.c: (run_pipeline),
20211 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20212 (gst_bus_source_check), (gst_bus_source_dispatch),
20213 (gst_bus_create_watch), (gst_bus_add_watch_full),
20214 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20216 * tools/gst-launch.c: (event_loop):
20217 * tools/gst-md5sum.c: (event_loop):
20218 GstBusHandler -> GstBusFunc, return value has the same meaning as
20219 any other GSource (FALSE == remove source).
20220 _add_watch() and _add_watch_full() now take a MessageType mask to
20221 only handle specific types of messages.
20222 _poll() returns the GstMessage instead of the message type to avoid
20224 _have_pending() takes a MessageType mask now too.
20225 Added testsuite for multiple bus watches.
20226 Fix testsuites and applications for new bus API.
20228 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
20230 * check/Makefile.am:
20231 mark a bunch of the tests as to fix until we fix them
20233 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20235 * common/check.mak:
20236 use GST_PLUGIN settings for valgrind tests as well, so we're
20237 valgrinding the correct thing
20238 * gst/gst.c: (init_post):
20241 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20243 * gst/gst.c: (init_post), (gst_deinit):
20244 * gst/gstelementfactory.c: (gst_element_factory_class_init),
20245 (gst_element_factory_finalize), (gst_element_factory_cleanup):
20246 * gst/gstindex.c: (gst_index_factory_class_init),
20247 (gst_index_factory_finalize):
20248 * gst/gstobject.c: (gst_object_dispose):
20249 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20250 (gst_plugin_load_file), (gst_plugin_desc_free):
20251 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20252 (gst_plugin_feature_finalize):
20253 * gst/gstregistry.c: (gst_registry_class_init),
20254 (gst_registry_init), (gst_registry_finalize),
20255 (gst_registry_get_default), (gst_registry_deinit):
20256 * gst/gstregistry.h:
20257 * gst/gstregistryxml.c: (load_feature), (load_plugin):
20258 various cleanups and memleak plugging. make valgrind is happy now.
20260 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
20262 * common/check.mak:
20263 add a check-valgrind target
20265 2005-09-18 David Schleef <ds@schleef.org>
20267 * tools/gst-inspect.c: Revert the GOption code.
20269 2005-09-17 David Schleef <ds@schleef.org>
20271 * check/Makefile.am: Fix environment variables.
20272 * check/gst/gstplugin.c: Fix for API changes.
20273 * tools/gst-inspect.c: Fix for API changes.
20274 * tools/gst-xmlinspect.c: Fix for API changes.
20275 * gst/gstelementfactory.c:
20278 * gst/gstpluginfeature.c:
20279 * gst/gstpluginfeature.h:
20280 * gst/gstregistry.c:
20281 * gst/gstregistry.h:
20282 * gst/gstregistryxml.c:
20283 * gst/gsttypefind.c:
20284 * gst/gsttypefindfactory.c:
20285 * gst/indexers/gstfileindex.c:
20286 * gst/indexers/gstmemindex.c:
20287 * gst/schedulers/Makefile.am:
20288 Change registry to keep track of both plugins and features,
20289 removing the feature tracking from plugins themselves.
20291 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
20293 * check/Makefile.am:
20294 * tools/gst-register.1.in:
20295 remove gst-register
20297 2005-09-15 David Schleef <ds@schleef.org>
20299 * check/gst/gstplugin.c:
20300 * gst/gstelementfactory.c:
20302 * gst/gstpluginfeature.c:
20303 * gst/gstregistry.c:
20304 Getting tired of debugging. Disabled all the unreffing of
20305 plugins and features, which fixes the segfaults, but of
20306 course leaks like crazy. At least playbin works.
20308 2005-09-15 David Schleef <ds@schleef.org>
20310 * check/gst/gstplugin.c: (register_check_elements),
20311 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20313 * gst/elements/gsttypefindelement.c: Fix refcounting.
20314 * gst/gsttypefind.c:
20315 * gst/gsttypefindfactory.c:
20316 * gst/gsttypefindfactory.h:
20318 2005-09-15 David Schleef <ds@schleef.org>
20320 * gst/gstindex.c: get refcounting correct.
20321 * gst/gstregistry.c: Handle the case where a feature/plugin is
20324 2005-09-15 David Schleef <ds@schleef.org>
20326 * check/Makefile.am:
20327 * check/gst/gstplugin.c: Add test
20328 * gst/gstplugin.c: Fix problems noticed by testsuite
20330 * gst/gstregistry.c:
20331 * gst/gstregistry.h:
20333 2005-09-15 David Schleef <ds@schleef.org>
20335 * gst/gstplugin.c: Implement semi-decent recounting and locking
20336 in plugins and plugin features.
20338 * gst/gstpluginfeature.c:
20339 * gst/gstpluginfeature.h:
20340 * gst/gstregistry.c:
20342 2005-09-15 Michael Smith <msmith@fluendo.com>
20344 * gst/gstregistry.c: (gst_registry_get_feature_list):
20345 Implement this. Makes oggdemux work; decodebin still broken.
20347 2005-09-14 David Schleef <ds@schleef.org>
20349 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20351 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20352 * gst/check/Makefile.am:
20353 * libs/gst/controller/Makefile.am:
20354 * libs/gst/dataprotocol/Makefile.am:
20356 2005-09-14 David Schleef <ds@schleef.org>
20358 * configure.ac: Remove getbits library. Nothing uses it, and
20359 it should be in something like liboil if someone did want
20361 * libs/gst/Makefile.am:
20362 * libs/gst/getbits/Makefile.am:
20363 * libs/gst/getbits/gbtest.c:
20364 * libs/gst/getbits/getbits.c:
20365 * libs/gst/getbits/getbits.h:
20366 * libs/gst/getbits/gstgetbits_generic.c:
20367 * libs/gst/getbits/gstgetbits_i386.s:
20368 * libs/gst/getbits/gstgetbits_inl.h:
20370 2005-09-14 David Schleef <ds@schleef.org>
20372 * gst/Makefile.am: Dist glib-compat.h
20374 2005-09-14 David Schleef <ds@schleef.org>
20376 * configure.ac: Remove gst/registries, since it's no longer used.
20377 * gst/registries/Makefile.am:
20378 * gst/registries/gstlibxmlregistry.c:
20379 * gst/registries/gstlibxmlregistry.h:
20380 * gst/registries/gstxmlregistry.c:
20381 * gst/registries/gstxmlregistry.h:
20382 * gst/registries/registrytest.c:
20384 2005-09-14 David Schleef <ds@schleef.org>
20386 * gst/glib-compat.h:
20387 * gst/gstregistryxml.c:
20388 Convergence is near. Seriously.
20390 2005-09-14 David Schleef <ds@schleef.org>
20392 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20393 * gst/glib-compat.h:
20394 Attempt #4 to appease the buildbots.
20396 2005-09-14 David Schleef <ds@schleef.org>
20398 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20401 2005-09-14 David Schleef <ds@schleef.org>
20403 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20406 2005-09-14 David Schleef <ds@schleef.org>
20408 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20411 2005-09-14 David Schleef <ds@schleef.org>
20413 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20414 * gst/glib-compat.h: Add some functions that are in newer versions
20415 of glib than we care to require.
20416 * gst/gstregistryxml.c: Use them.
20418 2005-09-14 David Schleef <ds@schleef.org>
20420 * po/POTFILES.in: remove gst-register.c
20422 2005-09-14 David Schleef <ds@schleef.org>
20424 * docs/gst/gstreamer-docs.sgml:
20425 * docs/gst/gstreamer-sections.txt:
20426 * docs/gst/gstreamer.types:
20427 * docs/gst/tmpl/gstelement.sgml:
20428 * docs/gst/tmpl/gstplugin.sgml:
20429 * docs/gst/tmpl/gstpluginfeature.sgml:
20430 Documentation updates for registry changes.
20432 2005-09-14 David Schleef <ds@schleef.org>
20434 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20435 because we don't require glib-2.8.
20437 2005-09-14 David Schleef <ds@schleef.org>
20439 * gst/gstregistryxml.c: Added. Essentially moved out of the
20440 registries directory.
20442 2005-09-14 David Schleef <ds@schleef.org>
20444 * check/Makefile.am:
20445 * check/generic/states.c:
20449 * gst/gst_private.h:
20450 * gst/gstelementfactory.c:
20455 * gst/gstpluginfeature.c:
20456 * gst/gstpluginfeature.h:
20457 * gst/gstregistry.c:
20458 * gst/gstregistry.h:
20459 * gst/gstregistrypool.c: remove
20460 * gst/gstregistrypool.h: remove
20461 * gst/gsttypefind.c:
20462 * gst/gsttypefindfactory.c:
20464 * tools/Makefile.am:
20465 * tools/gst-compprep.c:
20466 * tools/gst-inspect.c:
20467 * tools/gst-register.c: remove
20468 * tools/gst-xmlinspect.c:
20469 Registry rewrite. Changes registry from being a file created
20470 by a tool into a simple cache file created automatically by
20471 libgstreamer. Removed gst-register (because it's no longer
20472 needed). Remove registry pools, because we only have one
20473 registry implementation (XML). Fix up other subsystems as
20476 2005-09-13 Michael Smith <msmith@fluendo.com>
20478 * gst/gstconfig.h.in:
20479 Don't Use windows linking attributes for MinGW. Fixes #316157
20481 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
20483 * gst/gstutils.c: (set_state_async_thread_func),
20484 (gst_element_set_state_async):
20485 Apparently people think it's better if this function doesn't
20486 try to set the state to whatever state was asked for on the first
20487 call to this function for any object. Seriously.
20489 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20491 * check/gst/gstpipeline.c: (GST_START_TEST):
20492 * docs/gst/gstreamer-sections.txt:
20493 * gst/gstutils.c: (set_state_async_thread_func),
20494 (gst_element_set_state_async):
20496 add a "gst_element_set_state_async" method that
20497 sets the state and starts a thread to make sure the state
20498 change completes as best as it can
20500 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20502 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20503 codify design+behaviour in testsuite after discussion
20505 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20507 * docs/gst/tmpl/gstelement.sgml:
20508 * docs/manual/appendix-quotes.xml:
20510 * gst/gstelement.c: (gst_element_set_state):
20513 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
20515 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20516 (gst_base_transform_prepare_output_buf),
20517 (gst_base_transform_handle_buffer):
20518 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20519 (gst_capsfilter_prepare_buf):
20520 Remove the requirement for sub-classes to call the parent
20521 implementation of prepare_output_buffer with a wrapper function.
20523 * gst/gsttaglist.h:
20524 * gst/gsttagsetter.h:
20525 Fix #define wrapper
20527 2005-09-11 Stefan Kost <ensonic@users.sf.net>
20529 * docs/gst/gstreamer-sections.txt:
20532 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20534 * docs/gst/gstreamer-sections.txt:
20535 * docs/gst/tmpl/gstelement.sgml:
20536 * docs/gst/tmpl/gstplugin.sgml:
20537 * gst/gstminiobject.c:
20539 docs now stop throwing warnings
20541 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20543 * docs/gst/gstreamer-sections.txt:
20544 * docs/gst/gstreamer.types:
20545 * docs/gst/tmpl/gstpad.sgml:
20546 * docs/gst/tmpl/gsttypes.sgml:
20547 * gst/base/gstadapter.h:
20548 * gst/base/gstbasesink.h:
20549 * gst/base/gstbasesrc.h:
20555 * gst/gstelement.h:
20557 * gst/gstmessage.h:
20559 * gst/gststructure.c:
20560 * gst/registries/gstlibxmlregistry.h:
20561 various documentation fixes
20563 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20565 * docs/gst/gstreamer-sections.txt:
20566 * docs/gst/tmpl/gstvalue.sgml:
20567 rearrange gstvalue section
20568 * gst/gstutils.c: (gst_element_state_get_name):
20570 * gst/gstvalue.c: (_gst_value_initialize):
20574 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
20576 * check/gst-libs/controller.c:
20577 Header include fix.
20578 * gst/base/gstbasetransform.c:
20579 (gst_base_transform_default_prepare_buf),
20580 (gst_base_transform_handle_buffer):
20581 * gst/base/gstbasetransform.h:
20582 Some more basetransform changes and fixes to enable sub-classes
20583 that modify buffer metadata only.
20584 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20585 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20586 (gst_capsfilter_prepare_buf):
20587 If the output pad has fixed allowed caps and input buffers
20588 don't have any, set the fixed caps on outgoing buffers.
20590 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
20591 * check/elements/identity.c: (GST_START_TEST):
20592 Make the error a little clearer when the test fails because
20593 identity made a copy of the buffer.
20594 * docs/gst/gstreamer-sections.txt:
20595 New symbols in gstbasetransform.h
20596 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20597 (gst_base_transform_init), (gst_base_transform_transform_size),
20598 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20599 (gst_base_transform_default_prepare_buf),
20600 (gst_base_transform_get_unit_size),
20601 (gst_base_transform_buffer_alloc),
20602 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20603 (gst_base_transform_change_state),
20604 (gst_base_transform_set_passthrough),
20605 (gst_base_transform_set_in_place),
20606 (gst_base_transform_is_in_place):
20607 * gst/base/gstbasetransform.h:
20608 Change BaseTransform to separate in_place operate from same_caps
20609 output. in_place implies that the element can perform the transform
20610 on incoming buffers in-place, even if the caps on the output are
20612 Sub-class elements can now implement special buffer allocation
20613 methods for outgoing buffers if they wish to.
20614 Big documentation addition.
20615 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20616 * gst/elements/gstelements.c:
20617 Changes for basetransform modifications.
20618 * gst/elements/Makefile.am:
20619 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20620 Compile fix. Extra debug output.
20622 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20624 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20626 add tests for valid pad naming
20627 * gst/check/gstcheck.c: (gst_check_log_message_func),
20628 (gst_check_log_critical_func):
20630 remove printing of code, it is fragile when the code contains
20631 % and the line number is enough info
20632 * gst/check/gstcheck.h:
20633 * gst/gstpad.c: (gst_pad_template_new):
20636 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20639 say what CHECK flags we use
20640 * docs/libs/gstreamer-libs.types:
20641 * libs/gst/controller/Makefile.am:
20642 * libs/gst/controller/gst-controller.c:
20643 * libs/gst/controller/gst-controller.h:
20644 * libs/gst/controller/gst-helper.c:
20645 * libs/gst/controller/gst-interpolation.c:
20646 * libs/gst/controller/gstcontroller.c:
20647 * libs/gst/controller/gsthelper.c:
20648 * libs/gst/controller/gstinterpolation.c:
20649 * tools/gst-inspect.c: (print_plugin_info):
20650 we don't use dashes in header names
20652 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20654 * check/Makefile.am:
20655 * check/gst/.cvsignore:
20656 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20657 (gst_pipeline_suite), (main):
20658 adding a test for pipelines and state changes
20659 * gst/gstutils.c: (get_state_func):
20661 * gstreamer.spec.in:
20664 2005-09-08 Michael Smith <msmith@fluendo.com>
20666 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20667 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20668 (gst_file_src_is_seekable), (gst_file_src_get_size),
20669 (gst_file_src_start):
20670 * gst/elements/gstfilesrc.h:
20671 Various fixes for unseekable, unmmapable, and non-normal files, so
20672 that fallback to read() rather than mmap() works.
20673 * gst/gstevent.c: (gst_event_new_newsegment):
20674 Allow newsegment events with segment_start == segment_end, as will
20675 correctly happen if you use filesrc on a zero-size file, for
20678 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20680 * gst/gstplugin.c: (gst_plugin_load_file):
20681 Call g_module_close when we don't load the module
20683 * gst/registries/gstlibxmlregistry.c:
20684 (gst_xml_registry_get_property):
20685 Port leak fix from 0.8
20687 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20689 * docs/gst/gstreamer-docs.sgml:
20690 * docs/gst/tmpl/.cvsignore:
20691 * docs/gst/tmpl/gsttrace.sgml:
20692 * docs/gst/tmpl/gsttrashstack.sgml:
20695 * gst/gstelement.h:
20697 * gst/gstmessage.c:
20698 * gst/gstmessage.h:
20701 * gst/gsttaginterface.c:
20702 * gst/gsttaginterface.h:
20703 * gst/gsttaglist.c:
20704 * gst/gsttaglist.h:
20705 * gst/gsttagsetter.c:
20706 * gst/gsttagsetter.h:
20709 * gst/gsttrashstack.c:
20710 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20711 inlined docs for gsttrace, gsttrashstack
20713 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20716 * gst/elements/gstbufferstore.h:
20717 * gst/elements/gsttypefindelement.c:
20718 * gst/elements/gsttypefindelement.h:
20720 * gst/gsttypefind.c:
20721 * gst/gsttypefind.h:
20722 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20723 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20724 (gst_type_find_factory_dispose),
20725 (gst_type_find_factory_unload_thyself),
20726 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20727 (gst_type_find_factory_get_caps),
20728 (gst_type_find_factory_get_extensions),
20729 (gst_type_find_factory_call_function):
20730 * gst/gsttypefindfactory.h:
20731 * gst/registries/gstlibxmlregistry.c:
20732 * gst/registries/gstxmlregistry.c:
20733 splitted gsttypefind into gsttypefind, gsttypefindfactory
20735 2005-09-07 Andy Wingo <wingo@pobox.com>
20737 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20738 condition whereby the pad's task function is entered before the
20739 pad_mode variable was set.
20741 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20743 * gst/gstpad.c: (gst_pad_alloc_buffer):
20744 Catch misbehaving pad_alloc functions that don't
20745 set up caps and do it for them.
20747 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20749 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20750 test for pipe!=NULL
20751 * docs/gst/tmpl/.cvsignore:
20752 * docs/gst/tmpl/gstmemchunk.sgml:
20753 * docs/gst/tmpl/gstparse.sgml:
20754 * docs/gst/tmpl/gsttaglist.sgml:
20755 * docs/gst/tmpl/gsttagsetter.sgml:
20756 * docs/gst/tmpl/gsttypefind.sgml:
20757 * docs/gst/tmpl/gsttypefindfactory.sgml:
20758 * gst/gstmemchunk.c:
20761 * gst/gsttaginterface.c:
20762 * gst/gsttypefind.c:
20763 * gst/gsttypefind.h:
20766 === release 0.9.2 ===
20768 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20773 releasing 0.9.2, "South"
20775 2005-09-05 Andy Wingo <wingo@pobox.com>
20777 * gst/registries/gstxmlregistry.h:
20778 * gst/registries/gstxmlregistry.c: Um... resurrect...
20780 * gst/registries/gstxmlregistry.h:
20781 * gst/registries/gstxmlregistry.c: and update to newer API.
20782 Incidentally they should be a bit faster now that they don't have
20785 2005-09-05 Andy Wingo <wingo@pobox.com>
20787 * gst/registries/gstxmlregistry.h:
20788 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20789 replaced by the libxml registry a while back
20791 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20793 * docs/gst/tmpl/gstplugin.sgml:
20794 * gst/elements/gstelements.c:
20796 * gst/gstplugin.c: (gst_plugin_register_func),
20797 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20798 (gst_plugin_get_source):
20800 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20801 (gst_xml_registry_save_plugin):
20802 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20803 (gst_xml_registry_save_plugin):
20804 * tools/gst-inspect.c: (print_plugin_info):
20805 add a "source" plugin description field, to represent the source
20806 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20807 will set it to PACKAGE, which is automake's idea of the name of
20808 the source project.
20810 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20815 * docs/Makefile.am:
20816 * docs/faq/Makefile.am:
20817 * docs/gst/tmpl/gstelement.sgml:
20818 * docs/gst/tmpl/gsttypes.sgml:
20819 * docs/htmlinstall.mak:
20820 * docs/manual/Makefile.am:
20821 * docs/pwg/Makefile.am:
20822 reorganize doc build a little
20823 split out docbook and gtk-doc stuff
20824 have two separate --enable's and enable them through autogen
20825 but disable by default in configure (to be similar to other
20827 * gstreamer.spec.in:
20828 clean up docs install
20846 translation updates
20848 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20850 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20853 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20854 (gst_fake_sink_change_state):
20855 Make state change function thread-safe.
20857 * gst/gstpad.c: (gst_pad_alloc_buffer):
20858 Set offset on generic buffer allocated by fallback.
20860 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20862 * docs/gst/gstreamer-sections.txt:
20863 * docs/gst/tmpl/gstelement.sgml:
20865 * libs/gst/controller/gst-controller.c:
20866 (gst_controlled_property_set_interpolation_mode),
20867 (gst_controlled_property_new),
20868 (gst_controller_find_controlled_property):
20869 run the wingo-magic script against the docs
20871 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20873 * docs/gst/gstreamer-docs.sgml:
20874 * docs/gst/gstreamer-sections.txt:
20875 * docs/gst/tmpl/.cvsignore:
20876 * docs/gst/tmpl/gstelementdetails.sgml:
20877 * docs/gst/tmpl/gstelementfactory.sgml:
20880 * gst/gstelementfactory.c:
20881 * gst/gstelementfactory.h:
20882 merged elementdetails docs into elementfactory docs
20885 2005-09-02 Andy Wingo <wingo@pobox.com>
20887 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20888 consider this enum an enum and not a flags.
20890 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20892 * docs/gst/gstreamer-docs.sgml:
20893 * docs/gst/tmpl/.cvsignore:
20894 * docs/gst/tmpl/gstghostpad.sgml:
20895 * docs/gst/tmpl/gstiterator.sgml:
20896 * docs/gst/tmpl/gstmacros.sgml:
20897 * docs/gst/tmpl/gstrealpad.sgml:
20898 * docs/gst/tmpl/gstregistry.sgml:
20899 * docs/gst/tmpl/gstregistrypool.sgml:
20900 * docs/gst/tmpl/gststructure.sgml:
20901 * docs/gst/tmpl/gstsystemclock.sgml:
20902 * docs/gst/tmpl/gsttrace.sgml:
20903 * gst/gstghostpad.c:
20905 * gst/gstmemchunk.c:
20906 * gst/gstmemchunk.h:
20908 * gst/gstregistry.c:
20909 * gst/gstregistrypool.c:
20910 * gst/gststructure.c:
20911 * gst/gstsystemclock.c:
20914 2005-09-02 Andy Wingo <wingo@pobox.com>
20916 * gst/gstelement.h (GstState): Renamed from GstElementState,
20917 changed to be a normal enum instead of flags.
20918 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20919 munged to be GST_STATE_CHANGE_*.
20920 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20921 work with the new state representation.
20922 (GstStateChange): New enumeration of possible state transitions.
20923 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20924 (GstElementClass::change_state): Pass the GstStateChange along as
20925 an argument. Helps language bindings, so they don't have to use
20926 tricky lock-needing macros like GST_STATE_CHANGE ().
20928 * scripts/update-states (file): New script. Run it on a file to
20929 update it for state naming and API changes. Updates files in
20932 * All files updated for the new API.
20934 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20936 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20937 * gst/gstutils.c: (gst_util_set_value_from_string),
20938 (gst_util_set_object_arg):
20939 fix a bunch of unchecked return values
20940 * tools/gst-complete.c: (main):
20941 * gstreamer.spec.in:
20944 2005-09-01 Wim Taymans <wim@fluendo.com>
20946 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20947 (gst_base_sink_event), (gst_base_sink_do_sync),
20948 (gst_base_sink_handle_event):
20949 * gst/base/gstbasesink.h:
20950 Handle newsegments more correctly.
20955 * gst/gstevent.c: (gst_event_new_newsegment):
20956 A newsegment cannot have a start_time of -1
20958 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20960 * win32/gstenumtypes.c:
20961 * win32/gstenumtypes.h:
20964 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20966 * libs/gst/controller/gst-controller.c:
20967 (gst_controlled_property_set_interpolation_mode),
20968 (gst_controlled_property_new):
20969 fixed boolean again
20971 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20973 * docs/faq/gst-uninstalled:
20978 * gst/gstutils.c: (gst_element_link_filtered):
20980 add gst_element_link_filtered
20982 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20984 * docs/gst/gstreamer-docs.sgml:
20985 * docs/gst/gstreamer-sections.txt:
20986 * docs/gst/tmpl/.cvsignore:
20987 * docs/gst/tmpl/gsterror.sgml:
20988 * docs/gst/tmpl/gstfilter.sgml:
20989 * docs/gst/tmpl/gsturihandler.sgml:
20990 * docs/gst/tmpl/gsturitype.sgml:
20991 * docs/gst/tmpl/gstutils.sgml:
20992 * docs/gst/tmpl/gstxml.sgml:
20997 * gst/gsturitype.c:
21000 inlined more docs, fixed double id-ref
21002 2005-08-31 Wim Taymans <wim@fluendo.com>
21004 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21005 (gst_base_transform_handle_buffer):
21006 Passthrough elements don't need the caps as they don't care.
21008 2005-08-31 Wim Taymans <wim@fluendo.com>
21010 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21011 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21012 Don't leak refcounts on buffers.
21014 2005-08-31 Wim Taymans <wim@fluendo.com>
21016 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21017 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21018 (gst_base_transform_chain), (gst_base_transform_change_state):
21019 * gst/base/gstbasetransform.h:
21020 Handle the case where we are not negotiated more gracefully.
21022 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
21024 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21025 (gst_file_src_map_region):
21026 Set READONLY flag on mmap'ed buffers, otherwise
21027 gst_buffer_make_writable() won't work properly (#314708).
21029 2005-08-31 Wim Taymans <wim@fluendo.com>
21031 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21032 passthrough elements can even do inplace on non writable
21033 buffers (as they don't touch them).
21035 2005-08-31 Stefan Kost <ensonic@users.sf.net>
21037 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21038 (gst_test_mono_source_set_property),
21039 (gst_test_mono_source_class_init), (GST_START_TEST),
21040 (gst_controller_suite):
21041 more tests (hehe I have the most)
21043 describe popping messages whenusing mulltiple sources
21044 * libs/gst/controller/gst-controller.c:
21045 (gst_controlled_property_set_interpolation_mode),
21046 (gst_controlled_property_new):
21047 * libs/gst/controller/gst-controller.h:
21048 * libs/gst/controller/gst-interpolation.c:
21049 implement boolean properties
21051 2005-08-31 Wim Taymans <wim@fluendo.com>
21053 * gst/gstminiobject.c: (gst_mini_object_ref):
21054 Cannot assert that the refcount has to be positive
21055 since a disposed object can be resurrected.
21057 2005-08-31 Wim Taymans <wim@fluendo.com>
21059 * gst/gstpad.c: (gst_pad_init):
21060 Revert change, need to first fix badly behaving
21063 2005-08-30 Wim Taymans <wim@fluendo.com>
21065 * check/elements/fakesrc.c: (setup_fakesrc):
21066 * check/elements/identity.c: (setup_identity):
21067 Activate pads before using them.
21069 2005-08-30 Wim Taymans <wim@fluendo.com>
21071 * gst/base/gstadapter.c: (gst_adapter_flush):
21072 Flushing out 0 bytes is ok for this function.
21074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21075 no newsegment gives a warning and sets the start/stop to
21078 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21079 (gst_base_transform_set_passthrough):
21082 * gst/gstminiobject.c: (gst_mini_object_ref):
21083 Check refcount here too.
21085 * gst/gstpad.c: (gst_pad_init):
21086 Pads are initially flushing and refusing data.
21088 * gst/gstutils.c: (gst_element_link_pads_filtered):
21089 When adding a capsfilter element make sure it has the
21090 same state as the parent bin.
21092 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21094 * docs/gst/tmpl/.cvsignore:
21095 * docs/gst/tmpl/gstformat.sgml:
21096 * docs/gst/tmpl/gstversion.sgml:
21100 * gst/gstversion.h.in:
21101 more docs and two more inlined
21103 2005-08-30 Wim Taymans <wim@fluendo.com>
21105 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21106 Don't sync to clock.
21108 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21110 * docs/gst/gstreamer-sections.txt:
21111 ultral33t func10ns deserve to appear in the docs actually
21112 * docs/gst/tmpl/.cvsignore:
21113 * docs/gst/tmpl/gstcompat.sgml:
21114 * docs/gst/tmpl/gstconfig.sgml:
21115 * gst/check/gstcheck.c:
21117 * gst/gstconfig.h.in:
21120 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21122 * docs/gst/tmpl/.cvsignore:
21123 * docs/gst/tmpl/gstquery.sgml:
21124 * docs/gst/tmpl/gstutils.sgml:
21127 inlined and extended docs
21129 2005-08-30 Stefan Kost <ensonic@users.sf.net>
21131 * check/gst-libs/controller.c: (GST_START_TEST),
21132 (gst_controller_suite):
21134 * docs/gst/tmpl/gstutils.sgml:
21135 * docs/libs/gstreamer-libs-sections.txt:
21136 * docs/libs/tmpl/gstdataprotocol.sgml:
21138 * examples/controller/audio-example.c: (main):
21139 controller example works now
21142 * tools/gst-inspect.c: (print_element_properties_info):
21143 show param spec flags
21145 2005-08-29 Andy Wingo <wingo@pobox.com>
21147 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21149 2005-08-28 Andy Wingo <wingo@pobox.com>
21151 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21152 as having two arguments instead of just one. Allows superclasses
21153 to access information on subclasses -- see the terrible for() loop
21154 in gtype.c:g_type_create_instance for the reason why. All callers
21157 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21159 * docs/design/part-messages.txt:
21161 * docs/gst/tmpl/.cvsignore:
21162 * docs/gst/tmpl/gstcaps.sgml:
21163 * docs/gst/tmpl/gstclock.sgml:
21169 * gst/gstmessage.c:
21170 added descriptions for bus and message
21171 inline caps and clock docs
21173 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21175 * gst/gstmessage.c:
21176 * gst/gstmessage.h:
21179 2005-08-27 Stefan Kost <ensonic@users.sf.net>
21181 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21184 2005-08-26 Andy Wingo <wingo@pobox.com>
21186 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21187 element_set_state's return val.
21188 (test_2_elements): Add test that's been disabled for months.
21190 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21191 can-activate-pull properties.
21193 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21194 can-activate-pull properties. Implement is_seekable so fakesrc can
21195 operate in pull mode.
21197 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21199 (gst_base_sink_activate, gst_base_sink_activate_pull)
21200 (gst_base_sink_activate_push): Make activation mode choosing work.
21202 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21203 is right. Make pull mode work. Post an eos before pausing in pull
21205 (gst_base_sink_change_state): Pay attention to the core's
21206 change_state() return val.
21208 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21209 has-getrange properties. Cleanups.
21211 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21212 has_getrange and replace with can_activate_pull and
21215 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21216 locking comments. Remove has_loop, has_chain and replace with
21217 can_activate_pull and can_activate_push.
21219 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
21222 * examples/Makefile.am:
21223 * examples/metadata/Makefile.am:
21224 * examples/metadata/read-metadata.c: (message_loop),
21225 (have_pad_handler), (make_pipeline), (print_tag), (main):
21226 Add metadata reading example that loops over a list of filenames,
21227 dumping any tags found.
21229 * gst/gstbus.c: (gst_bus_dispose):
21230 * gst/gstelement.c: (gst_element_dispose):
21231 Release a few potentially-held references in dispose.
21233 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21235 * docs/gst/tmpl/gstminiobject.sgml:
21236 do *not* add tmpl/*.sgml files to CVS!
21238 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21240 * libs/gst/bytestream/.cvsignore:
21241 * libs/gst/bytestream/Makefile.am:
21242 * libs/gst/bytestream/adapter.c:
21243 * libs/gst/bytestream/adapter.h:
21244 * libs/gst/bytestream/bytestream.c:
21245 * libs/gst/bytestream/bytestream.h:
21246 * libs/gst/bytestream/filepad.c:
21247 * libs/gst/bytestream/filepad.h:
21248 removing obsolete files
21250 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21252 * docs/gst/gstreamer-docs.sgml:
21253 * docs/libs/gstreamer-libs-docs.sgml:
21254 disabed additional index entries again, as this makes docs-gen just
21255 slow and they aren't useful yet
21256 * docs/libs/gstreamer-libs-sections.txt:
21257 little -section.txt cleanup for libs
21259 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
21261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21262 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21263 fix up some debugging
21264 (gst_base_transform_get_unit_size),
21265 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21266 (gst_base_transform_handle_buffer):
21267 * gst/base/gstbasetransform.h:
21268 handle and store timed NEWSEGMENT events so that subclasses that
21269 calculate time by counting samples have a segment_start time they
21270 need to add to their timestamps - see audioresample
21272 2005-08-26 Stefan Kost <ensonic@users.sf.net>
21275 removed ';' from the end of macro defs
21276 * docs/gst/gstreamer-docs.sgml:
21277 * docs/gst/gstreamer-sections.txt:
21278 * docs/gst/tmpl/.cvsignore:
21280 * gst/gstelement.c: (gst_element_class_init),
21281 (gst_element_set_state), (activate_pads),
21282 (gst_element_save_thyself):
21283 * gst/gstevent.c: (gst_event_new_newsegment):
21285 * gst/gstiterator.c:
21286 * gst/gstiterator.h:
21289 * gst/gstutils.c: (gst_pad_query_convert):
21291 fixed parameter name mismatches between source, header and docs
21292 added some more docs, resolved the last batch of unused elements in
21293 docs (now someone needs to doc them)
21295 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21297 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21298 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21299 don't walk through the plugins backwards. Where is all this
21300 reversed logic coming from ?
21302 2005-08-25 Wim Taymans <wim@fluendo.com>
21304 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21305 (gst_base_transform_transform_size),
21306 (gst_base_transform_configure_caps),
21307 (gst_base_transform_get_unit_size),
21308 (gst_base_transform_buffer_alloc),
21309 (gst_base_transform_change_state):
21310 * gst/base/gstbasetransform.h:
21311 Cache caps unit_size.
21312 Make sure we cannot negotiate up and downstream at the
21315 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21317 * gst/gst.c: (init_pre), (init_post):
21318 register the installed plugin path after the env var
21319 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21320 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21321 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21322 directories, so the tests can prefer uninstalled over installed
21324 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21326 * gst/base/gstbasetransform.h:
21331 2005-08-25 Wim Taymans <wim@fluendo.com>
21333 * gst/gstbin.c: (bin_bus_handler):
21334 Be a bit more conservative about the posted message.
21336 * gst/gstbus.c: (gst_bus_post):
21337 Some cleanups, warn wrong return values.
21339 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
21341 * check/gst/gstbin.c: (GST_START_TEST):
21342 * gst/gstbin.c: (bin_bus_handler):
21343 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21344 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21345 (gst_message_new_warning), (gst_message_new_tag),
21346 (gst_message_new_state_changed), (gst_message_new_segment_start),
21347 (gst_message_new_segment_done), (gst_message_new_custom):
21348 * gst/gstmessage.h:
21349 * tools/gst-launch.c: (event_loop):
21350 * tools/gst-md5sum.c: (event_loop):
21351 Revert unpopular change for GST_MESSAGE_SRC to GObject.
21353 2005-08-25 Wim Taymans <wim@fluendo.com>
21355 * check/generic/states.c: (GST_START_TEST):
21356 Cleanup can be done at the end.
21358 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21359 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21360 (gst_task_get_state), (gst_task_start), (gst_task_pause):
21361 Oh boy.. Thanks for finding this, Thomas.
21363 2005-08-25 Stefan Kost <ensonic@users.sf.net>
21365 * docs/gst/gstreamer.types:
21366 added missing types
21368 2005-08-25 Stefan Kost <ensonic@users.sf.net>
21370 * docs/gst/gstreamer-docs.sgml:
21371 * docs/gst/gstreamer-sections.txt:
21372 * docs/gst/tmpl/.cvsignore:
21374 * gst/gstiterator.c:
21376 * gst/registries/gstxmlregistry.h:
21377 added missing classes and symbols (123 more to go)
21378 removed removed symbols from section file
21379 fixed many doc-comments
21381 2005-08-24 Wim Taymans <wim@fluendo.com>
21383 * check/generic/states.c: (GST_START_TEST):
21384 Make sure all tasks are stopped.
21386 * check/gst/gstbin.c: (GST_START_TEST):
21387 Unref after usage for proper valgrinding.
21389 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21390 Really wait for the task to stop before destroying the
21393 * gst/gstqueue.c: (gst_queue_sink_activate_push),
21394 (gst_queue_src_activate_push):
21395 Small cleanups. Don't stop the task when we did not start
21398 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21399 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21400 (gst_task_get_state), (gst_task_start), (gst_task_pause),
21403 Protect the stream lock with the object lock.
21404 Disallow setting the stream lock when running.
21405 Add cleanup_all to wait for the threadpool to finish.
21406 Remove code to autoallocate a mutex if none was provided.
21407 Add _join() to wait for a task to stop.
21408 Protect the thread pool with a global lock.
21410 2005-08-24 Wim Taymans <wim@fluendo.com>
21412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21413 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21414 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21415 * gst/base/gstbasesink.h:
21416 Handle newsegment events correctly.
21417 Drop buffers out of the segment range.
21419 2005-08-22 Andy Wingo <wingo@pobox.com>
21421 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21422 macro, implements an interface and gstimplementsinterface for a
21425 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
21427 * check/Makefile.am:
21428 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21429 add a test that does a bunch of state changes on elements
21430 needs some fixing for valgrind
21431 * check/states/sinks.c: (gst_object_suite):
21434 add prototype for gst_caps_is_equal_fixed
21436 * gst/gstregistrypool.c:
21439 2005-08-24 Andy Wingo <wingo@pobox.com>
21441 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21442 convert a negative value. Doesn't make much sense. Mostly this is
21443 here to force callers to ensure -1 maps to -1.
21445 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
21447 * docs/pwg/advanced-types.xml:
21448 Well done to Michael for catching my deliberate introduction
21449 of this spelling mistake.
21450 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21451 * gst/gstelement.h:
21452 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21453 unlink pads before removing the element from the bin.
21455 2005-08-24 Andy Wingo <wingo@pobox.com>
21457 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21458 the same thing as GST_DEBUG=*:4.
21459 (parse_debug_level, parse_debug_category): New helper parsers.
21461 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
21463 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21464 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21465 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21466 (gst_base_transform_buffer_alloc),
21467 (gst_base_transform_handle_buffer):
21468 use gboolean return values and pointers to size so we can use the
21469 full GST_BUFFER_SIZE range (guint) for buffer sizes
21470 use GstPadDirection for transform_caps
21471 * gst/base/gstbasetransform.h:
21472 rename get_size to get_unit_size since that's what it is
21473 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21474 use GstPadDirection for transform_caps
21475 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21477 cleanup and debugging
21479 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21481 * gst/gstelement.c: (gst_element_class_init),
21482 (gst_element_set_state), (activate_pads),
21483 (gst_element_save_thyself):
21484 * tools/gst-compprep.c: (main):
21485 * tools/gst-inspect.c: (print_element_properties_info):
21486 * tools/gst-xmlinspect.c: (print_element_properties):
21487 Fixed long standing mem-leak
21489 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
21491 * check/gst/gstbin.c: (GST_START_TEST):
21492 * gst/gstbin.c: (bin_bus_handler):
21493 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21494 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21495 (gst_message_new_warning), (gst_message_new_tag),
21496 (gst_message_new_state_changed), (gst_message_new_segment_start),
21497 (gst_message_new_segment_done), (gst_message_new_custom):
21498 * gst/gstmessage.h:
21499 * tools/gst-launch.c: (event_loop):
21500 * tools/gst-md5sum.c: (event_loop):
21501 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21502 that applications can sensibly post custom messages with references
21503 to their own objects.
21505 2005-08-24 Andy Wingo <wingo@pobox.com>
21507 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21510 2005-08-24 Wim Taymans <wim@fluendo.com>
21512 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21513 (gst_base_transform_transform_caps),
21514 (gst_base_transform_transform_size),
21515 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21516 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21517 (gst_base_transform_handle_buffer):
21518 * gst/base/gstbasetransform.h:
21519 Many fixes and new features added by Thomas. Can now also do
21520 transforms with variable sizes and a custom fixate_caps function.
21522 2005-08-24 Wim Taymans <wim@fluendo.com>
21524 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21528 Cast to ClockTime before formatting to time.
21533 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21535 * check/gst-libs/controller.c: (GST_START_TEST),
21536 (gst_controller_suite):
21537 * docs/gst/tmpl/gstcaps.sgml:
21538 * docs/gst/tmpl/gstghostpad.sgml:
21539 * docs/gst/tmpl/gstquery.sgml:
21540 * docs/gst/tmpl/gstutils.sgml:
21541 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21542 (gst_object_sink_values), (gst_object_get_value_arrays),
21543 (gst_object_get_value_array):
21544 gracefully handle helper method calls to objects that are not beeing
21545 controlled, added test case for that
21547 2005-08-23 Wim Taymans <wim@fluendo.com>
21549 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21550 (gst_event_new_newsegment), (gst_event_parse_newsegment),
21551 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21552 (gst_event_parse_qos), (gst_event_new_seek),
21553 (gst_event_parse_seek):
21555 Some more debugging output and doc cleanups.
21557 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21558 Fix possible deadlock.
21560 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21562 * docs/gst/gstreamer-docs.sgml:
21563 * docs/gst/gstreamer-sections.txt:
21564 * docs/gst/gstreamer.types:
21565 * docs/gst/tmpl/.cvsignore:
21568 * gst/gstelement.c:
21570 added 100 symbols from gstreamer-unused.txt to the right sections
21571 fixed more broken comments
21572 added GstBus to docs
21574 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21576 * docs/gst/gstreamer-sections.txt:
21577 * docs/gst/tmpl/.cvsignore:
21578 * docs/gst/tmpl/gstbin.sgml:
21579 * docs/gst/tmpl/gstbuffer.sgml:
21580 * gst/base/gstbasesrc.c:
21581 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21584 * tools/gst-launch.1.in:
21585 inlined more doc comments, added missing comments and fixed comments
21588 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
21590 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21594 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21596 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21597 * gst/gststructure.h:
21598 add a fixate function for booleans; add a FIXME that these func
21599 names should probably be gst_structure_fixate_*
21601 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21603 * docs/gst/gstreamer-docs.sgml:
21604 * docs/gst/gstreamer-sections.txt:
21606 * gst/gstbin.c: (gst_bin_get_type),
21607 (gst_bin_child_proxy_get_child_by_index),
21608 (gst_bin_child_proxy_get_children_count),
21609 (gst_bin_child_proxy_init):
21610 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21611 (gst_child_proxy_get_child_by_index),
21612 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21613 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21614 (gst_child_proxy_get), (gst_child_proxy_set_property),
21615 (gst_child_proxy_set_valist), (gst_child_proxy_set),
21616 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21617 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21618 * gst/gstchildproxy.h:
21619 * gst/parse/grammar.y:
21620 * tools/gst-inspect.c: (print_interfaces),
21621 (print_element_properties_info), (print_element_info):
21622 ported gstchildproxy over from 0.8
21623 ported gst-inspect fixes and enhancements over from 0.8
21625 2005-08-22 Wim Taymans <wim@fluendo.com>
21627 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21628 (gst_base_transform_handle_buffer):
21629 Also call the transform function if we have ANY caps.
21631 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21634 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21636 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21637 Don't pretend to handle seek events if the source is not seekable
21639 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21642 Remove extra parameter to debug output
21644 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21645 (gst_base_src_do_seek), (gst_base_src_activate_push):
21646 Fix seek event handling.
21648 * gst/gstpipeline.c: (gst_pipeline_change_state):
21649 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21650 (gst_queue_src_activate_push):
21651 Don't start the src pad task on FLUSH_STOP if the pad
21655 2005-08-22 Wim Taymans <wim@fluendo.com>
21657 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21658 Added check for gst_static_caps_get() refcounting.
21660 2005-08-22 Wim Taymans <wim@fluendo.com>
21662 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21663 Make _static_caps_get() refcounting sane.
21665 * gst/gstelement.c: (gst_element_set_state):
21666 Add g_return_val_if_fail() to protect against segfaults.
21668 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21670 * docs/gst/tmpl/gstevent.sgml:
21673 inlined remaining docs, added missing doc comments
21675 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21677 * check/gst/gstbin.c: (GST_START_TEST):
21678 since we don't know when preroll is done, use refcount range
21680 * gst/check/gstcheck.h:
21681 add macro for checking refcount range
21683 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21685 * check/Makefile.am:
21686 clean up environment for when registry gets built versus
21687 when actual tests are run; valgrind seems to not report
21688 leaks if GST_PLUGIN_PATH is set to some specific values
21689 * check/gst/gstbin.c: (GST_START_TEST):
21690 add more refcounting checks; maybe this exposes a
21692 * common/check.mak:
21693 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21694 * gst/check/gstcheck.h:
21695 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21696 (gst_bin_change_state):
21697 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21698 add/fix debugging/whitespace
21700 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21702 * check/gst/gstevent.c: (event_probe), (test_event),
21704 Er, don't call gst_bin_watch_for_state_change you idiot.
21706 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21708 * check/Makefile.am:
21709 Use CHECK_CFLAGS and CHECK_LIBS
21710 * check/gst/gstevent.c: (event_probe), (test_event),
21713 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21714 (gst_base_src_start), (gst_base_src_stop),
21715 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21716 (gst_base_src_change_state):
21717 Sprinkle gst_base_src_stop liberally around error paths to fix
21718 problems reusing a source after failed state changes.
21719 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21720 (helper_find_suggest), (gst_type_find_helper):
21721 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21723 * docs/gst/tmpl/gstevent.sgml:
21724 Migrate part of the docs from the SGML file. Wait for ensonic to
21725 tell me how I did it wrong ;)
21726 * tools/gst-typefind.c: (main):
21727 Extra robustness to state changes between files.
21729 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21731 * check/Makefile.am:
21732 don't valgrind the controller test - it's leaking - Stefan, HELP
21733 * gst/check/gstcheck.c: (gst_check_message_error),
21734 (gst_check_chain_func), (gst_check_setup_element),
21735 (gst_check_teardown_element), (gst_check_setup_src_pad),
21736 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21737 (gst_check_teardown_sink_pad):
21738 * gst/check/gstcheck.h:
21739 add a bunch of methods to set up elements, and src and sink pads
21740 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21741 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21744 * gst/gstmessage.c:
21746 whitespace/doc fixes
21748 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21750 * gst/gstelement.h:
21751 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21752 be handled by the application and not always printed as well
21754 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21756 * check/Makefile.am:
21758 * gst/check/gstcheck.c: (gst_check_message_error):
21759 * gst/check/gstcheck.h:
21760 add a fail_unless_equals_int
21761 add fail_unless for error messages
21763 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21765 * check/Makefile.am:
21767 * common/Makefile.am:
21768 * common/check.mak:
21770 factor out some of the common stuff so we can use it
21772 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21774 * check/Makefile.am:
21775 * check/gst/gstiterator.c: (GST_START_TEST):
21776 * check/gst/gstsystemclock.c: (GST_START_TEST),
21777 (gst_systemclock_suite):
21778 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21780 valgrind more tests
21782 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21784 * check/elements/.cvsignore:
21785 * check/elements/gstfakesrc.c:
21786 rename to name of element
21787 * check/elements/identity.c: (chain_func), (event_func),
21788 (setup_identity), (cleanup_identity), (GST_START_TEST),
21789 (identity_suite), (main):
21790 add a test for identity
21791 * check/Makefile.am:
21792 * pkgconfig/Makefile.am:
21793 * pkgconfig/gstreamer-check.pc.in:
21794 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21798 move the check stuff to a library that gets installed
21799 * check/gst-libs/controller.c: (GST_START_TEST):
21800 * check/gst-libs/gdp.c:
21801 * check/gst/gst.c: (GST_START_TEST):
21802 * check/gst/gstbin.c:
21803 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21804 * check/gst/gstbus.c:
21805 * check/gst/gstcaps.c: (GST_START_TEST):
21806 * check/gst/gstelement.c:
21807 * check/gst/gstghostpad.c:
21808 * check/gst/gstiterator.c:
21809 * check/gst/gstmessage.c:
21810 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21811 * check/gst/gstobject.c:
21812 * check/gst/gstpad.c: (GST_START_TEST):
21813 * check/gst/gststructure.c: (GST_START_TEST):
21814 * check/gst/gstsystemclock.c: (GST_START_TEST),
21815 (gst_systemclock_suite):
21816 * check/gst/gsttag.c: (gst_tag_suite):
21817 * check/gst/gstvalue.c:
21818 * check/pipelines/cleanup.c:
21819 * check/pipelines/simple_launch_lines.c:
21820 * check/states/sinks.c:
21821 change include statement
21823 * docs/gst/gstreamer-sections.txt:
21824 * docs/gst/tmpl/gstpad.sgml:
21825 document more pad stuff
21826 * gst/gstminiobject.c: (gst_mini_object_ref),
21827 (gst_mini_object_unref):
21830 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21832 * docs/gst/tmpl/gst.sgml:
21834 eliminate another tmpl file, fix spelling in the long-description
21836 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21838 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21839 (test_event), (timediff), (gstevents_suite):
21840 Should fix build on 64-bit arch's
21842 2005-08-18 Andy Wingo <wingo@pobox.com>
21844 Make sure that when a pipeline goes to PLAYING, that data has
21845 actually hit the sink.
21847 * check/states/sinks.c (test_sink): A sink that doesn't get any
21848 data shouldn't return SUCCESS for going to either PLAYING or
21849 PAUSED. Test also the return values on the way back down.
21851 * gst/gstelement.c (gst_element_set_state): When changing the
21852 state of an element currently changing state asynchronously, go to
21853 lost-state after commiting the pending state. Makes future calls
21854 to get_state continue to return ASYNC.
21856 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21857 ASYNC when going to PLAYING if we still don't have preroll, as can
21858 happen with live sources.
21860 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21862 * docs/pwg/advanced-types.xml:
21863 Hack long paragraph into 2 chunks as a workaround for buggy
21864 jadetex version in sid and breezy that loops infinitely and
21867 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21869 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21870 (test_event), (timediff), (gstevents_suite):
21871 Provide more error margin in clock measurements to allow for
21872 g_get_current_time inaccuracies.
21874 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21876 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21877 (test_event), (timediff), (gstevents_suite):
21878 Fix error message output so I might be able to tell why the
21879 test works here but fails on the build farm.
21881 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21883 * check/Makefile.am:
21884 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21885 (test_event), (timediff), (gstevents_suite), (main):
21888 * docs/design/part-seeking.txt:
21889 Spelling correction
21891 * docs/gst/tmpl/gstevent.sgml:
21892 * docs/gst/tmpl/gstfakesrc.sgml:
21895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21896 Treat a buffer-without-newsegment the same as a receiving
21897 a newsegment not in time format, and disable syncing to the clock
21900 * gst/gstbus.c: (gst_bus_set_sync_handler):
21901 Assert if anyone tries to replace the existing sync_handler for bus,
21902 as only the owner should be setting it.
21905 Have a fixed set of custom event enums with events identified by
21906 their structure name (as in 0.8), rather than a free-for-all
21907 allowing collisions between enum values from different plugins.
21909 * gst/gstpad.c: (gst_pad_class_init):
21912 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21913 Handle out-of-band downstream events from the sending thread.
21915 2005-08-17 Andy Wingo <wingo@pobox.com>
21917 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21918 play-timeout==0 to mean no timeout at all. In that case, don't
21919 bother with a get_state or a warning, just return directly, even
21922 * gst/base/gstbasetransform.c: Debug changes.
21925 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21926 ensure bins post state change messages. A bit of a hack but I can't
21927 think of a way to avoid it.
21929 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21931 2005-08-16 Andy Wingo <wingo@pobox.com>
21933 * gst/base/gstadapter.h:
21934 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21935 peek() but you own the data. Not terribly efficient atm.
21937 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21939 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21940 (gst_element_found_tags):
21942 Add two utility functions for tag handling.
21944 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21946 * docs/manual/advanced-dataaccess.xml:
21947 * docs/manual/basics-helloworld.xml:
21948 Fix docs to use _bin_add() before _link(), which fixes the examples
21949 with recent core versions (reported by Madhan Raj M
21950 <raj_madan@rediffmail.com>, #313199).
21952 2005-08-16 Wim Taymans <wim@fluendo.com>
21954 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21955 Added subtract checks.
21957 * docs/design/part-events.txt:
21958 Some more docs about newsegment
21960 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21963 * gst/gstcaps.c: (gst_caps_to_string):
21964 Add comments, cleanups.
21966 * gst/gstelement.c: (gst_element_save_thyself):
21969 * gst/gstvalue.c: (gst_value_collect_int_range),
21970 (gst_string_unwrap), (gst_value_union_int_int_range),
21971 (gst_value_union_int_range_int_range),
21972 (gst_value_intersect_int_int_range),
21973 (gst_value_intersect_int_range_int_range),
21974 (gst_value_intersect_double_double_range),
21975 (gst_value_intersect_double_range_double_range),
21976 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21977 (gst_value_subtract_int_range_int),
21978 (gst_value_subtract_double_range_double),
21979 (gst_value_subtract_double_range_double_range),
21980 (gst_value_subtract_from_list), (gst_value_subtract_list),
21981 (gst_value_can_compare), (gst_value_compare_fraction):
21982 Cleanups, add comments, remove unneeded asserts.
21984 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21986 * tools/gst-launch.c: (event_loop):
21987 don't convert NULL structures to strings
21989 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21991 * docs/gst/gstreamer-sections.txt:
21992 made some defines private
21993 * docs/gst/tmpl/gstconfig.sgml:
21994 * docs/gst/tmpl/gstqueue.sgml:
21995 * docs/gst/tmpl/gsttaglist.sgml:
21996 * docs/gst/tmpl/gsttypes.sgml:
21997 * docs/gst/tmpl/gstutils.sgml:
21998 * docs/pwg/appendix-porting.xml:
21999 * gst/base/gstbasesink.h:
22000 * gst/base/gstbasesrc.c:
22001 * gst/base/gstbasesrc.h:
22002 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22003 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22004 * gst/gstelement.c: (gst_element_class_init):
22005 * gst/gstpad.c: (gst_pad_class_init):
22006 * gst/gstqueue.c: (gst_queue_class_init):
22007 * gst/gstxml.c: (gst_xml_class_init):
22008 documented all undocumented signal inline
22009 * libs/gst/controller/gst-controller.h:
22012 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22014 * docs/pwg/appendix-porting.xml:
22015 Document _set_link_function -> _set_setcaps_function.
22017 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
22019 * check/Makefile.am:
22020 add a .check target for running the check
22021 * check/gst-libs/controller.c: (GST_START_TEST):
22023 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22024 complete checks for gstbuffer; would be nice if I could get the
22025 gcov stuff to work so I can see if I actually completed gstbuffer.c
22026 * check/gstcheck.h:
22027 add ASSERT_BUFFER_REFCOUNT
22029 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
22031 * docs/gst/gstreamer-sections.txt:
22032 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22034 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22035 spew out a warning if a tag that is already registered
22036 is re-registered, unless it is re-registered with a
22037 different type (#308438).
22039 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
22041 * docs/pwg/appendix-porting.xml:
22042 * docs/pwg/building-state.xml:
22043 Add some paragraphs about state changes in 0.9 to the PWG
22044 and the porting guide, in particular about the new meaning
22045 of GST_STATE_PAUSED and how to write state change functions
22046 with concurrent access by multiple threads in mind.
22048 2005-08-11 Stefan Kost <ensonic@users.sf.net>
22050 * docs/gst/gstreamer-docs.sgml:
22051 * docs/libs/gstreamer-libs-docs.sgml:
22052 added deprecation and since indexes
22053 * libs/gst/controller/gst-controller.c:
22054 * libs/gst/controller/gst-helper.c:
22058 2005-08-11 Wim Taymans <wim@fluendo.com>
22060 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22061 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22062 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22063 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22064 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22065 (gst_ghost_pad_set_target):
22066 Actually implement (re)setting the target on a ghostpad
22067 as described in the docs.
22069 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22071 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22072 Check whether GST_DEBUG_NO_COLOR environment variable is
22073 set and disable coloured debug output if that is the case.
22075 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
22077 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22078 (gst_type_find_helper):
22079 The memory returned by gst_type_find_peek() needs to
22080 stay valid until the end of a typefind function, and
22081 typefind functions may keep results from different
22082 offsets around, so we can't just unref the buffer from
22083 the previous _peek(), but have to save all buffers
22084 returned by _peek() until typefinding is done and only
22087 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
22089 * docs/gst/gstreamer-sections.txt:
22091 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22093 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22095 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22096 Fix a pretty good memleak.
22098 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22100 * gst/gstiterator.h:
22101 Fix wrong include and 'make distcheck'.
22103 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22105 * gst/gstbin.c: (bin_bus_handler):
22106 Use gst_element_post_message() instead.
22108 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
22110 * gst/base/gstadapter.h:
22111 * gst/base/gstbasesink.h:
22112 * gst/base/gstbasesrc.h:
22113 * gst/base/gstbasetransform.h:
22114 * gst/base/gstcollectpads.h:
22115 * gst/base/gstpushsrc.h:
22116 * gst/gstiterator.h:
22117 Add padding to our base elements' class and instance structs and
22118 to GstIterator (you will need to rebuild all plugins and apps!)
22120 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22122 * gst/gstbin.c: (bin_bus_handler):
22123 Make default message forwarding from child->bus to bin->bus
22124 threadsafe and make it not emit warnings if the parent has no bus.
22126 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22128 * gst/gstelement.c: (activate_pads):
22129 On paused->ready, set pad->caps to NULL, as is the documented
22130 behaviour in this state change. Fixes playback of series of
22131 media files when visualization is enabled in Totem.
22133 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22135 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22136 Allow NULL as filter-caps (which means "any").
22138 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22140 * docs/libs/gstreamer-libs-sections.txt:
22141 * libs/gst/controller/gst-controller.c:
22142 * libs/gst/controller/gst-controller.h:
22143 * libs/gst/controller/gst-helper.c:
22144 adding more entries to the docs and fix small doc-bugs
22146 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22148 * docs/gst/gstreamer-docs.sgml:
22149 * docs/gst/gstreamer-sections.txt:
22150 * docs/gst/gstreamer.types:
22151 * docs/gst/tmpl/gstbasesink.sgml:
22152 * docs/gst/tmpl/gstbasesrc.sgml:
22153 * docs/gst/tmpl/gstbasetransform.sgml:
22154 * docs/gst/tmpl/gstfakesrc.sgml:
22155 * gst/base/gstcollectpads.c:
22156 * gst/base/gstcollectpads.h:
22157 * libs/gst/controller/gst-controller.c:
22158 * libs/gst/controller/gst-controller.h:
22159 * libs/gst/controller/gst-helper.c:
22160 * libs/gst/controller/gst-interpolation.c:
22161 * libs/gst/controller/lib.c:
22162 added long/short desc for controller docs
22163 added collectpads base class docs
22164 added correct includes to base-class docs
22166 2005-08-05 Stefan Kost <ensonic@users.sf.net>
22168 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22169 (gst_test_mono_source_set_property),
22170 (gst_test_mono_source_class_init), (GST_START_TEST),
22171 (gst_controller_suite):
22172 * docs/gst/gstreamer-docs.sgml:
22173 * docs/gst/gstreamer-sections.txt:
22174 * docs/gst/gstreamer.types:
22175 * docs/libs/gstreamer-libs-docs.sgml:
22176 * docs/libs/gstreamer-libs-sections.txt:
22177 * gst/base/gstadapter.c:
22178 * libs/gst/controller/gst-controller.c:
22179 (gst_controlled_property_new), (gst_controlled_property_free),
22180 (gst_controller_new_valist),
22181 (gst_controller_remove_properties_valist),
22182 (gst_controller_sink_values), (_gst_controller_finalize):
22183 * libs/gst/controller/gst-controller.h:
22184 * libs/gst/controller/gst-helper.c:
22185 (gst_object_control_properties), (gst_object_uncontrol_properties),
22186 (gst_object_get_controller), (gst_object_set_controller),
22187 (gst_object_sink_values), (gst_object_get_value_arrays),
22188 (gst_object_get_value_array):
22189 more tests (and fixes) for the controller
22190 more docs for the controller
22191 integrated companies docs for the adapter
22193 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
22195 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22196 (GST_START_TEST), (fakesrc_suite):
22197 add tests for sizetype
22199 2005-08-04 Andy Wingo <wingo@pobox.com>
22201 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22202 fixes buffer_alloc proxying among other things.
22204 * gst/base/gstbasetransform.c:
22205 * gst/base/gstbasetransform.h:
22206 Revert patch to gstbasetransform from 7-28 removing
22209 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22210 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22211 Semantics changed, should return not the size of the output buffer
22212 but the byte size of a buffer with a given caps.
22214 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22216 (gst_base_transform_configure_caps): Don't set out_size here: (in,
22217 out) are not the pad caps until setcaps finishes.
22218 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22219 not-in-place case as well. Deal with changing from in-place to
22220 not-in-place within calling pad_alloc_buffer. Still a bit
22221 concerned about the overhead here...
22223 2005-08-03 Andy Wingo <wingo@pobox.com>
22225 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22226 fixating is an error.
22228 2005-08-04 Edward Hervey <edward@fluendo.com>
22230 * gst/base/gstadapter.h:
22231 Added gst_adapter_get_type() to the header
22233 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22235 * check/Makefile.am:
22236 * check/gst-libs/controller.c:
22237 * libs/gst/controller/gst-controller.c:
22238 (gst_controller_new_valist):
22239 added check test suite for the controller
22240 * gst/base/gstpushsrc.c:
22243 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22245 * docs/gst/Makefile.am:
22246 * docs/gst/gstreamer-docs.sgml:
22247 * docs/gst/gstreamer-sections.txt:
22248 * docs/gst/gstreamer.types:
22249 * docs/gst/tmpl/gstfakesrc.sgml:
22251 * gst/base/gstbasesink.c:
22252 * gst/base/gstbasesink.h:
22253 * gst/base/gstbasesrc.c:
22254 * gst/base/gstbasesrc.h:
22255 * gst/base/gstbasetransform.c:
22256 * gst/base/gstpushsrc.c:
22257 * gst/base/gstpushsrc.h:
22258 add short/long description docs to base classes
22259 add pushsrc to the docs
22260 remove consolidated doc fragments
22262 2005-08-03 Stefan Kost <ensonic@users.sf.net>
22265 * docs/libs/Makefile.am:
22266 * docs/libs/gstreamer-libs-docs.sgml:
22267 * docs/libs/gstreamer-libs-sections.txt:
22268 * docs/libs/gstreamer-libs.types:
22269 * examples/Makefile.am:
22270 * examples/controller/.cvsignore:
22271 * examples/controller/Makefile.am:
22272 * examples/controller/audio-example.c: (main):
22273 * libs/gst/Makefile.am:
22274 * libs/gst/controller/.cvsignore:
22275 * libs/gst/controller/Makefile.am:
22276 * libs/gst/controller/gst-controller.c:
22277 (on_object_controlled_property_changed), (gst_timed_value_compare),
22278 (gst_timed_value_find),
22279 (gst_controlled_property_set_interpolation_mode),
22280 (gst_controlled_property_new), (gst_controlled_property_free),
22281 (gst_controller_find_controlled_property),
22282 (gst_controller_new_valist), (gst_controller_new),
22283 (gst_controller_remove_properties_valist),
22284 (gst_controller_remove_properties), (gst_controller_set),
22285 (gst_controller_set_from_list), (gst_controller_unset),
22286 (gst_controller_get), (gst_controller_get_all),
22287 (gst_controller_sink_values), (gst_controller_get_value_arrays),
22288 (gst_controller_get_value_array),
22289 (gst_controller_set_interpolation_mode),
22290 (_gst_controller_finalize), (_gst_controller_init),
22291 (_gst_controller_class_init), (gst_controller_get_type):
22292 * libs/gst/controller/gst-controller.h:
22293 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22294 (g_object_uncontrol_properties), (g_object_get_controller),
22295 (g_object_set_controller), (g_object_sink_values),
22296 (g_object_get_value_arrays), (g_object_get_value_array):
22297 * libs/gst/controller/gst-interpolation.c:
22298 (gst_controlled_property_find_timed_value_node),
22299 (interpolate_none_get), (interpolate_trigger_get),
22300 (interpolate_trigger_get_value_array):
22301 * libs/gst/controller/lib.c: (gst_controller_init):
22302 * pkgconfig/Makefile.am:
22303 * pkgconfig/gstreamer-control-uninstalled.pc.in:
22304 * pkgconfig/gstreamer-control.pc.in:
22305 * testsuite/Makefile.am:
22306 * testsuite/controller/.cvsignore:
22307 * testsuite/controller/Makefile.am:
22308 * testsuite/controller/interpolator.c: (main):
22309 added controller code
22310 removed dparam pc files
22312 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
22313 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22314 (gst_collectpads_stop):
22315 Broadcast the condition when shutting down, to make sure we wake all
22316 threads up. Shut down pads on finalize, for safety.
22318 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
22319 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22320 (gst_base_transform_handle_buffer),
22321 (gst_base_transform_change_state):
22322 Handle PAUSED->READY->PAUSED transition after negotiation
22324 * gst/gstmessage.c: (gst_message_init):
22325 Extra piece of debug for new messages.
22327 2005-08-01 Stefan Kost <ensonic@users.sf.net>
22330 * docs/gst/tmpl/gstbasesrc.sgml:
22331 * docs/gst/tmpl/gstelement.sgml:
22332 * docs/gst/tmpl/gstevent.sgml:
22333 * docs/gst/tmpl/gstfakesrc.sgml:
22334 * docs/gst/tmpl/gstformat.sgml:
22335 * docs/gst/tmpl/gstghostpad.sgml:
22336 * docs/gst/tmpl/gstpad.sgml:
22337 * docs/gst/tmpl/gstquery.sgml:
22338 * docs/gst/tmpl/gststructure.sgml:
22339 * docs/gst/tmpl/gsttaglist.sgml:
22340 * docs/gst/tmpl/gstvalue.sgml:
22341 * docs/libs/gstreamer-libs-docs.sgml:
22342 * docs/libs/gstreamer-libs-sections.txt:
22343 * docs/libs/gstreamer-libs.types:
22344 * libs/gst/Makefile.am:
22345 * libs/gst/control/.cvsignore:
22346 * libs/gst/control/Makefile.am:
22347 * libs/gst/control/control.c:
22348 * libs/gst/control/control.h:
22349 * libs/gst/control/dparam.c:
22350 * libs/gst/control/dparam.h:
22351 * libs/gst/control/dparam_smooth.c:
22352 * libs/gst/control/dparam_smooth.h:
22353 * libs/gst/control/dparamcommon.h:
22354 * libs/gst/control/dparammanager.c:
22355 * libs/gst/control/dparammanager.h:
22356 * libs/gst/control/dplinearinterp.c:
22357 * libs/gst/control/dplinearinterp.h:
22358 * libs/gst/control/unitconvert.c:
22359 * libs/gst/control/unitconvert.h:
22360 * testsuite/Makefile.am:
22361 * testsuite/dynparams/.cvsignore:
22362 * testsuite/dynparams/Makefile.am:
22363 * testsuite/dynparams/dparamstest.c:
22364 * tools/Makefile.am:
22365 * tools/gst-inspect.c: (print_element_info), (main):
22366 * tools/gst-xmlinspect.c: (print_element_info), (main):
22367 deactivate and remove dparams (libgstcontrol)
22369 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
22371 * gst/elements/gsttypefindelement.c:
22372 (gst_type_find_element_have_type), (gst_type_find_element_init),
22373 (stop_typefinding), (gst_type_find_element_handle_event),
22374 (gst_type_find_element_chain), (gst_type_find_element_getrange):
22375 * gst/elements/gsttypefindelement.h:
22376 Set caps on all outgoing buffers, not just the first one.
22378 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
22380 * gst/elements/gsttypefindelement.c:
22381 (gst_type_find_element_have_type),
22382 (gst_type_find_element_check_set_buffer_caps),
22383 (gst_type_find_element_init), (stop_typefinding),
22384 (gst_type_find_element_handle_event),
22385 (gst_type_find_element_chain), (gst_type_find_element_getrange):
22386 * gst/elements/gsttypefindelement.h:
22387 Set caps on first outgoing buffer when we've found the type.
22389 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
22391 * docs/gst/gstreamer-docs.sgml:
22392 * docs/gst/gstreamer-sections.txt:
22393 * docs/gst/tmpl/gstscheduler.sgml:
22394 * docs/gst/tmpl/gstschedulerfactory.sgml:
22395 Remove some old cruft from docs.
22397 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
22400 Fix inline docs for GstPadLinkReturn.
22402 * gst/gststructure.c: (gst_structure_has_name):
22403 * gst/gststructure.h:
22404 * docs/gst/gstreamer-sections.txt:
22405 New API: gst_structure_has_name().
22407 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
22410 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22411 and _LARGEFILE_SOURCE in config.h as required. Do not
22412 export those flags in our .pc files any longer (#142209).
22414 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22416 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22417 (gst_file_sink_do_seek), (gst_file_sink_event),
22418 (gst_file_sink_get_current_offset), (gst_file_sink_render):
22419 Redo seek/tell calls with large file support in mind; add some
22420 debugging messages; add log message that tells us when large
22421 file support is unavailable or not enabled for some reason.
22423 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22424 Add log message that tells us when large file support
22425 is unavailable or not enabled for some reason.
22427 2005-07-29 Wim Taymans <wim@fluendo.com>
22429 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22430 Added test for removing an element with ghostpad from a bin.
22431 Fixed test as current implementation does the right thing.
22433 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22434 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22435 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22436 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22437 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22438 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22439 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22440 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22441 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22442 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22443 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22444 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22445 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22446 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22447 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22448 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22449 * gst/gstghostpad.h:
22450 Clean up ghostpads, remove properties for internal stuff.
22453 Prepare for switching targets, not all use cases work yet.
22455 2005-07-29 Wim Taymans <wim@fluendo.com>
22457 * docs/design/part-gstghostpad.txt:
22460 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22461 (gst_bin_remove_func):
22462 Unlinking pads while holding the bin LOCK is not a good
22465 * gst/gstpad.c: (gst_pad_class_init),
22466 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22467 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22468 No prob setting template after creating the pad.
22470 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
22472 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22473 (gst_bus_peek), (gst_bus_source_dispatch),
22474 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22475 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22476 gst_bus_poll may be called from other threads. Handle
22477 this nicely by not making poll_data disappear off the
22478 stack once gst_bus_poll returns.
22479 gst_bus_peek now increments the refcount on the returned
22482 2005-07-29 Wim Taymans <wim@fluendo.com>
22484 * docs/design/part-gstghostpad.txt:
22485 Overview of current GhostPad datastructures and use
22486 cases for changing the target.
22488 2005-07-28 Wim Taymans <wim@fluendo.com>
22490 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22491 Added checks for hierarchy consistency whan adding linked
22494 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22495 Added check to test element scheduling without bin/pipeline.
22497 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22498 First add elements to bin, then link.
22500 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22501 (gst_bin_remove_func):
22502 Unlink pads from elements added/removed from bin to maintain
22503 hierarchy consistency.
22505 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22507 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22508 (gst_base_transform_handle_buffer):
22509 * gst/base/gstbasetransform.h:
22510 Remove broken delay_configure (fixes renegotiation of software
22511 scaling pipelines); remove some leftover printf()s.
22513 2005-07-28 Wim Taymans <wim@fluendo.com>
22515 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22516 Added some more tests for wrong hierarchy
22518 * docs/design/part-overview.txt:
22521 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22524 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22525 (gst_element_dispose):
22526 Some more cleanups.
22528 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22529 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22530 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22531 (gst_pad_set_caps), (gst_pad_send_event):
22532 Check for correct hierarchy when linking pads. Moving to
22533 strict requirement for ghostpads when linking elements in
22537 Clean ups. Added WRONG_HIERARCHY return value.
22539 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22541 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22542 Better debug if no transform is possible.
22544 2005-07-27 Wim Taymans <wim@fluendo.com>
22546 * docs/random/wtay/network-transp:
22547 Some old doc I had.
22549 2005-07-27 Wim Taymans <wim@fluendo.com>
22551 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22552 (gst_dp_event_from_packet):
22553 Fix serialization of seek events.
22555 2005-07-27 Wim Taymans <wim@fluendo.com>
22557 * check/gst-libs/gdp.c: (GST_START_TEST):
22558 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22559 Fix compilation and fix event serialization.
22561 2005-07-27 Wim Taymans <wim@fluendo.com>
22564 * docs/design/part-TODO.txt:
22565 * docs/design/part-events.txt:
22568 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22569 (gst_base_sink_event), (gst_base_sink_do_sync),
22570 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22571 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22572 (gst_base_src_do_seek), (gst_base_src_event_handler),
22573 (gst_base_src_loop):
22574 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22575 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22576 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22577 (gst_base_transform_event), (gst_base_transform_handle_buffer),
22578 (gst_base_transform_set_passthrough),
22579 (gst_base_transform_is_passthrough):
22580 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22581 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22587 * gst/gstelement.c: (gst_element_seek):
22588 * gst/gstelement.h:
22589 Update gst_element_seek.
22591 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22592 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22593 (gst_event_new_flush_start), (gst_event_new_flush_stop),
22594 (gst_event_new_eos), (gst_event_new_newsegment),
22595 (gst_event_parse_newsegment), (gst_event_new_tag),
22596 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22597 (gst_event_parse_qos), (gst_event_new_seek),
22598 (gst_event_parse_seek), (gst_event_new_navigation):
22600 Make GstEvent use GstStructure. Add parsing code, make sure the
22601 API is sufficiently generic.
22602 Mark possible directions of events and serialization.
22604 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22605 (_gst_message_copy), (gst_message_new_segment_start),
22606 (gst_message_new_segment_done), (gst_message_new_custom),
22607 (gst_message_parse_segment_start),
22608 (gst_message_parse_segment_done):
22611 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22612 (gst_pad_set_caps), (gst_pad_send_event):
22613 Update for new events.
22614 Catch events sent in wrong directions.
22616 * gst/gstqueue.c: (gst_queue_link_src),
22617 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22618 (gst_queue_handle_src_query):
22623 Remove event code from this file.
22625 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22626 (gst_dp_event_from_packet):
22629 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22631 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22632 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22633 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22634 Make debugging actually useful.
22636 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22638 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22639 (gst_pad_fixate_caps):
22640 Implement default fixation once again, so that gst_pad_fixate()
22641 actually does anything at all. This probably needs to be some
22642 sort of a last resort, and use profile-based fixation first, but
22643 since that doesn't exist yet, this is the best we have. Fixes
22644 visualization in Totem.
22646 2005-07-22 Wim Taymans <wim@fluendo.com>
22648 * docs/design/part-events.txt:
22651 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22652 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22653 (gst_base_sink_activate_pull):
22654 Some more comments.
22656 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22657 (gst_fake_src_create):
22658 Fix handoff marshall.
22660 * gst/elements/gstidentity.c: (gst_identity_class_init),
22661 (gst_identity_transform_ip):
22662 We're a real inplace element.
22664 * gst/gstbus.c: (gst_bus_post):
22665 Added some comments.
22667 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22668 * tests/muxing/case1.c: (main):
22669 * tests/sched/dynamic-pipeline.c: (main):
22670 * tests/sched/interrupt1.c: (main):
22671 * tests/sched/interrupt2.c: (main):
22672 * tests/sched/interrupt3.c: (main):
22673 * tests/sched/runxml.c: (main):
22674 * tests/sched/sched-stress.c: (main):
22675 * tests/seeking/seeking1.c: (event_received), (main):
22676 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22678 * tests/threadstate/threadstate3.c: (main):
22679 * tests/threadstate/threadstate4.c: (main):
22680 * tests/threadstate/threadstate5.c: (main):
22683 2005-07-21 Wim Taymans <wim@fluendo.com>
22685 * docs/design/part-seeking.txt:
22686 Some small additions.
22688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22689 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22690 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22691 * gst/base/gstbasesink.h:
22692 discont values are gint64, handle the math correctly.
22694 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22695 Make the basesrc report error if the source pad is not linked.
22697 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22698 (gst_queue_loop), (gst_queue_handle_src_query),
22699 (gst_queue_src_activate_push):
22700 Make queue collect data even if the srcpad is not linked.
22701 Start pushing out data as soon as it is linked.
22703 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22705 Added gst_flow_get_name() to ease error reporting.
22707 2005-07-20 Wim Taymans <wim@fluendo.com>
22709 * gst/gstmessage.c: (gst_message_new_segment_start),
22710 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22711 (gst_message_parse_segment_done):
22712 * gst/gstmessage.h:
22713 Added a bunch of messages for advanced seeking.
22715 * gst/parse/grammar.y:
22716 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22717 (gst_dpman_state_changed):
22718 Fix some new-pad -> pad-added signals
22720 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22722 * docs/manual/appendix-porting.xml:
22723 * docs/pwg/appendix-porting.xml:
22724 Document new-pad/state-change signal renames and the FixedList
22727 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22729 * docs/manual/advanced-autoplugging.xml:
22730 * docs/manual/basics-helloworld.xml:
22731 * docs/manual/basics-pads.xml:
22732 * docs/random/ds/0.9-suggested-changes:
22733 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22734 * gst/gstelement.h:
22738 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22739 (gst_structure_parse_array), (gst_structure_parse_value):
22740 * gst/gstvalue.c: (gst_type_is_fixed),
22741 (gst_value_list_prepend_value), (gst_value_list_append_value),
22742 (gst_value_list_get_size), (gst_value_list_get_value),
22743 (gst_value_transform_array_string), (gst_value_serialize_array),
22744 (gst_value_deserialize_array), (gst_value_intersect_array),
22745 (gst_value_is_fixed), (_gst_value_initialize):
22747 GstElement::new-pad -> pad-added, GstElement::state-change ->
22748 state-changed, GstValueFixedList -> GstValueArray, add format and
22749 flags as their own arguments in gst_element_seek() (should improve
22750 "bindeability"), remove function generators since they don't work
22751 under a whole bunch of compilers (they were deprecated already
22754 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22756 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22757 (_gst_debug_register_funcptr):
22759 Fix illegal cast on some platforms (#309253).
22761 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22763 * gst/gstmessage.c: (gst_message_new_custom):
22764 * gst/gstmessage.h:
22765 Add _new_custom, make _new_application a macro to _new_custom.
22767 2005-07-20 Wim Taymans <wim@fluendo.com>
22769 * gst/base/gstbasesrc.c: (gst_base_src_init),
22770 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22771 * gst/base/gstbasesrc.h:
22772 Add a gboolean to decide when to push out a discont.
22774 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22775 (gst_queue_loop), (gst_queue_handle_src_query),
22776 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22777 (gst_queue_set_property), (gst_queue_get_property):
22780 * tests/threadstate/threadstate1.c: (main):
22781 Make a thread test compile and run... very silly..
22784 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22786 * docs/manual/appendix-porting.xml:
22787 Mention removal of libgstgconf-0.9.la and existence of gconf
22790 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22792 * docs/pwg/advanced-clock.xml:
22793 * docs/pwg/appendix-porting.xml:
22794 * docs/pwg/intro-preface.xml:
22795 * docs/pwg/other-base.xml:
22796 * docs/pwg/other-manager.xml:
22797 * docs/pwg/other-nton.xml:
22798 * docs/pwg/other-ntoone.xml:
22799 * docs/pwg/other-oneton.xml:
22800 * docs/pwg/pwg.xml:
22801 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22802 demuxer), remove n-to-n (was never written), fix some code examples
22803 and links and update the porting section to include all this.
22805 2005-07-19 Wim Taymans <wim@fluendo.com>
22807 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22808 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22809 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22810 (gst_queue_src_activate_push), (gst_queue_change_state),
22811 (gst_queue_get_property):
22813 Propagate GstFlowReturn more intelligently upstream and output
22814 an ERROR/EOS when streaming stopped due to fatal error.
22816 2005-07-19 Wim Taymans <wim@fluendo.com>
22818 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22819 Don't block forever for the state change to complete, the
22820 pipeline already did with a sensible timeout.
22822 2005-07-19 Wim Taymans <wim@fluendo.com>
22824 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22825 Make sure we never call the create function is we
22828 2005-07-19 Andy Wingo <wingo@pobox.com>
22830 * gst/parse/parse.l: Attempt to solve bug #172815.
22832 2005-07-19 Wim Taymans <wim@fluendo.com>
22834 * docs/design/part-clocks.txt:
22835 * docs/design/part-events.txt:
22836 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22837 Small docs updates.
22838 Only update the seeking values when we are not
22841 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22843 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22844 Oops, ignore the result of gst_pad_push_event here.
22846 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22848 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22849 (gst_base_src_activate_push):
22850 Send discont event from the loop function, as pads
22851 aren't activated yet in the activate_push handler.
22853 * gst/gstbin.c: (bin_bus_handler):
22854 Don't leak element name.
22856 2005-07-18 Andy Wingo <wingo@pobox.com>
22858 * configure.ac: Use AS_LIBTOOL_TAGS.
22860 2005-07-18 Wim Taymans <wim@fluendo.com>
22862 * docs/gst/gstreamer.types:
22863 Remove deleted types.
22865 2005-07-18 Wim Taymans <wim@fluendo.com>
22867 * check/elements/gstfakesrc.c: (GST_START_TEST):
22870 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22871 (init_popt_callback):
22873 * gst/gst_private.h:
22874 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22875 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22878 * gst/gstconfig.h.in:
22879 * gst/gstelement.c: (gst_element_class_init),
22880 (gst_element_set_base_time), (gst_element_get_base_time),
22881 (iterator_fold_with_resync), (gst_element_change_state),
22882 (gst_element_dispose), (gst_element_get_bus):
22883 * gst/gstelement.h:
22884 * gst/gstelementfactory.h:
22885 * gst/gsterror.c: (_gst_core_errors_init):
22888 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22890 * gst/gstinfo.c: (_gst_debug_init):
22891 * gst/gstmessage.c: (_gst_message_copy):
22892 * gst/gstmessage.h:
22893 * gst/gstminiobject.h:
22896 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22897 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22900 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22901 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22902 (gst_pipeline_get_last_stream_time):
22903 * gst/gstpipeline.h:
22904 * gst/gstpluginfeature.h:
22906 * gst/gstscheduler.c:
22907 * gst/gstscheduler.h:
22908 * gst/gststructure.h:
22909 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22910 (gst_task_finalize), (gst_task_func), (gst_task_create),
22911 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22912 (gst_task_stop), (gst_task_pause):
22914 * gst/gsttypefind.h:
22916 * gst/registries/gstlibxmlregistry.c: (load_feature),
22917 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22918 * gst/registries/gstxmlregistry.c:
22919 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22920 * gst/schedulers/threadscheduler.c:
22921 * libs/gst/control/dparammanager.h:
22922 * tools/gst-inspect.c: (print_element_list),
22923 (print_plugin_features), (print_element_features):
22924 * tools/gst-xmlinspect.c: (print_element_list),
22925 (print_plugin_info), (main):
22926 Removed plugable schedulers.
22927 Removed Scheduler/Manager from elements.
22928 Removed gsttypes.h, rearranged includes.
22929 Removed dependency pad<->element, element<>pipeline, and
22930 various others, fix includes.
22931 implement gst_pad_get_parent() with gst_object_get_parent()
22932 Make GstTask sefcontained.
22933 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22935 Fix endless loop in iterator_fold_with_resync.
22938 2005-07-18 Wim Taymans <wim@fluendo.com>
22944 2005-07-18 Wim Taymans <wim@fluendo.com>
22947 No more cothreads.h
22949 2005-07-18 Wim Taymans <wim@fluendo.com>
22953 Let's remove these.
22955 2005-07-18 Wim Taymans <wim@fluendo.com>
22957 * docs/design/part-dynamic.txt:
22958 * docs/design/part-events.txt:
22959 * docs/design/part-seeking.txt:
22960 Some more docs in the works.
22962 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22963 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22964 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22965 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22966 (gst_base_transform_handle_buffer),
22967 (gst_base_transform_sink_activate_push),
22968 (gst_base_transform_src_activate_pull),
22969 (gst_base_transform_set_passthrough),
22970 (gst_base_transform_is_passthrough):
22973 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22976 * gst/gstevent.c: (gst_event_finalize):
22979 * gst/gstutils.c: (gst_element_unlink),
22980 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22981 (gst_pad_proxy_setcaps):
22983 Add _get_parent_element() to get a pads parent as an element.
22985 2005-07-18 Wim Taymans <wim@fluendo.com>
22987 * check/gst/gstbin.c: (GST_START_TEST):
22990 2005-07-18 Wim Taymans <wim@fluendo.com>
22992 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22993 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22994 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22995 (gst_base_sink_event), (gst_base_sink_do_sync),
22996 (gst_base_sink_chain), (gst_base_sink_loop),
22997 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22998 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23000 Fix logic for returning ASYNC when not prerolled.
23002 2005-07-18 Wim Taymans <wim@fluendo.com>
23004 * gst/gstqueue.c: (gst_queue_handle_sink_event):
23005 Fix nasty refcount bug.
23007 2005-07-16 Philippe Khalaf <burger@speedy.org>
23009 * gst/elements/gstfdsrc.c:
23010 * gst/elements/gstfdsrc.h:
23011 * gst/elements/gstelements.c:
23012 * gst/elements/Makefile.am:
23013 Ported fdsrc to 0.9.
23015 2005-07-16 Wim Taymans <wim@fluendo.com>
23017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23018 (gst_base_sink_do_sync):
23021 2005-07-16 Wim Taymans <wim@fluendo.com>
23023 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23024 (gst_base_sink_event), (gst_base_sink_get_times),
23025 (gst_base_sink_do_sync), (gst_base_sink_change_state):
23026 * gst/base/gstbasesink.h:
23027 Store and use discont values when syncing buffers as described
23030 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23031 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23032 (gst_base_src_activate_push):
23033 Push discont event when starting.
23035 * gst/elements/gstidentity.c: (gst_identity_transform):
23038 * gst/gstbin.c: (gst_bin_change_state):
23039 Small cleanups in base_time distribution.
23041 * gst/gstelement.c: (gst_element_set_base_time),
23042 (gst_element_get_base_time), (gst_element_change_state):
23043 * gst/gstelement.h:
23044 Added methods for the base_time of the element.
23047 * gst/gstpipeline.c: (gst_pipeline_send_event),
23048 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23049 (gst_pipeline_get_last_stream_time):
23050 * gst/gstpipeline.h:
23052 Handle seeking as described in design doc, remove stream_time
23054 Cleanups clock and stream_time selection code. Added accessors
23055 for the stream_time.
23058 2005-07-16 Andy Wingo <wingo@pobox.com>
23060 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23063 2005-07-16 Wim Taymans <wim@fluendo.com>
23065 * check/gst/gstbin.c: (GST_START_TEST):
23066 Make elements silent as the deep_notify refs the
23067 parent, which might make the test fail.
23069 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23070 Don't hold the lock for too long.
23072 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
23074 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23075 Don't unref the caps we passed to gst_caps_make_writable() after
23076 passing them. gst_caps_make_writable() will do that for us.
23078 2005-07-15 Andy Wingo <wingo@pobox.com>
23080 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23083 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23084 own marshalling function for the handoff signal. Properly type the
23085 buffer as a buffer. Fixes some warnings. Should do a more general
23087 (gst_identity_class_init): Plug into the right marshaller.
23089 2005-07-15 Wim Taymans <wim@fluendo.com>
23091 * docs/design/part-TODO.txt:
23092 * docs/design/part-clocks.txt:
23093 * docs/design/part-element-sink.txt:
23094 * docs/design/part-events.txt:
23095 * docs/design/part-gstpipeline.txt:
23096 Updated docs, mostly DISCONT related.
23098 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
23100 * docs/pwg/building-pads.xml:
23101 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23103 2005-07-15 Andy Wingo <wingo@pobox.com>
23105 * tools/gst-typefind.c: Update, add copyright block.
23107 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23108 Normalize and truncate caps before fixation.
23111 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23112 discards all but the first structure from its argument.
23114 2005-07-15 Wim Taymans <wim@fluendo.com>
23116 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23117 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23118 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23119 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23120 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23121 (gst_base_transform_chain), (gst_base_transform_change_state),
23122 (gst_base_transform_set_passthrough),
23123 (gst_base_transform_is_passthrough):
23124 * gst/base/gstbasetransform.h:
23125 Make passthrough work using the bufferpools.
23126 Changed API a bit, subclasses have to write into a buffer
23127 provided by the base class.
23128 More debug info in nego functions.
23130 * gst/elements/gstidentity.c: (gst_identity_init),
23131 (gst_identity_transform):
23132 Port to new base class.
23134 2005-07-15 Wim Taymans <wim@fluendo.com>
23136 * gst/gstmessage.c: (gst_message_new_state_changed):
23137 * tools/gst-launch.c: (event_loop), (main):
23138 Totally dump messages in -launch with the -m option.
23139 Fix message name for State messages,
23141 2005-07-14 Wim Taymans <wim@fluendo.com>
23143 * gst/base/gstbasesrc.c: (gst_base_src_loop):
23144 Post error messages on errors.
23146 2005-07-14 Wim Taymans <wim@fluendo.com>
23148 * gst/gstcaps.c: (gst_caps_do_simplify):
23152 Define error for stream stopped.
23154 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23155 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23156 Do proper return values.
23158 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23159 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23160 (gst_pad_get_range):
23161 Better return values.
23164 Reorganise return values, add macro to check for fatal errors.
23166 * gst/gstqueue.c: (gst_queue_chain):
23167 Return proper GstFlowReturn values,
23169 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
23171 * docs/gst/gstreamer-sections.txt:
23172 * docs/gst/gstreamer.types:
23173 * docs/gst/tmpl/gst.sgml:
23174 * docs/gst/tmpl/gstbasesink.sgml:
23175 * docs/gst/tmpl/gstbasesrc.sgml:
23176 * docs/gst/tmpl/gstbasetransform.sgml:
23177 * docs/gst/tmpl/gstbin.sgml:
23178 * docs/gst/tmpl/gstbuffer.sgml:
23179 * docs/gst/tmpl/gstcaps.sgml:
23180 * docs/gst/tmpl/gstclock.sgml:
23181 * docs/gst/tmpl/gstcompat.sgml:
23182 * docs/gst/tmpl/gstconfig.sgml:
23183 * docs/gst/tmpl/gstelement.sgml:
23184 * docs/gst/tmpl/gstelementdetails.sgml:
23185 * docs/gst/tmpl/gstelementfactory.sgml:
23186 * docs/gst/tmpl/gstenumtypes.sgml:
23187 * docs/gst/tmpl/gsterror.sgml:
23188 * docs/gst/tmpl/gstevent.sgml:
23189 * docs/gst/tmpl/gstfakesink.sgml:
23190 * docs/gst/tmpl/gstfakesrc.sgml:
23191 * docs/gst/tmpl/gstfilesink.sgml:
23192 * docs/gst/tmpl/gstfilesrc.sgml:
23193 * docs/gst/tmpl/gstfilter.sgml:
23194 * docs/gst/tmpl/gstformat.sgml:
23195 * docs/gst/tmpl/gstghostpad.sgml:
23196 * docs/gst/tmpl/gstimplementsinterface.sgml:
23197 * docs/gst/tmpl/gstindex.sgml:
23198 * docs/gst/tmpl/gstindexfactory.sgml:
23199 * docs/gst/tmpl/gstinfo.sgml:
23200 * docs/gst/tmpl/gstiterator.sgml:
23201 * docs/gst/tmpl/gstmacros.sgml:
23202 * docs/gst/tmpl/gstmemchunk.sgml:
23203 * docs/gst/tmpl/gstminiobject.sgml:
23204 * docs/gst/tmpl/gstobject.sgml:
23205 * docs/gst/tmpl/gstpad.sgml:
23206 * docs/gst/tmpl/gstpadtemplate.sgml:
23207 * docs/gst/tmpl/gstparse.sgml:
23208 * docs/gst/tmpl/gstpipeline.sgml:
23209 * docs/gst/tmpl/gstplugin.sgml:
23210 * docs/gst/tmpl/gstpluginfeature.sgml:
23211 * docs/gst/tmpl/gstquery.sgml:
23212 * docs/gst/tmpl/gstqueue.sgml:
23213 * docs/gst/tmpl/gstregistry.sgml:
23214 * docs/gst/tmpl/gstregistrypool.sgml:
23215 * docs/gst/tmpl/gstscheduler.sgml:
23216 * docs/gst/tmpl/gstschedulerfactory.sgml:
23217 * docs/gst/tmpl/gststructure.sgml:
23218 * docs/gst/tmpl/gstsystemclock.sgml:
23219 * docs/gst/tmpl/gsttaglist.sgml:
23220 * docs/gst/tmpl/gsttagsetter.sgml:
23221 * docs/gst/tmpl/gsttrace.sgml:
23222 * docs/gst/tmpl/gsttrashstack.sgml:
23223 * docs/gst/tmpl/gsttypefind.sgml:
23224 * docs/gst/tmpl/gsttypefindfactory.sgml:
23225 * docs/gst/tmpl/gsttypes.sgml:
23226 * docs/gst/tmpl/gsturihandler.sgml:
23227 * docs/gst/tmpl/gsturitype.sgml:
23228 * docs/gst/tmpl/gstutils.sgml:
23229 * docs/gst/tmpl/gstvalue.sgml:
23230 * docs/gst/tmpl/gstversion.sgml:
23231 * docs/gst/tmpl/gstxml.sgml:
23232 * docs/libs/tmpl/gstcontrol.sgml:
23233 * docs/libs/tmpl/gstdataprotocol.sgml:
23234 * docs/libs/tmpl/gstdparam.sgml:
23235 * docs/libs/tmpl/gstdplinint.sgml:
23236 * docs/libs/tmpl/gstdpman.sgml:
23237 * docs/libs/tmpl/gstdpsmooth.sgml:
23238 * docs/libs/tmpl/gstgetbits.sgml:
23239 * docs/libs/tmpl/gstunitconvert.sgml:
23240 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23241 (gst_push_src_base_init), (gst_push_src_class_init),
23242 (gst_push_src_init), (gst_push_src_create):
23243 * gst/base/gstpushsrc.h:
23244 * gst/elements/gstelements.c:
23245 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23246 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23247 (gst_fake_sink_init), (gst_fake_sink_set_property),
23248 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23249 (gst_fake_sink_event), (gst_fake_sink_preroll),
23250 (gst_fake_sink_render), (gst_fake_sink_change_state):
23251 * gst/elements/gstfakesink.h:
23252 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23253 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23254 (gst_fake_src_base_init), (gst_fake_src_class_init),
23255 (gst_fake_src_init), (gst_fake_src_event_handler),
23256 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23257 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23258 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23259 (gst_fake_src_create_buffer), (gst_fake_src_create),
23260 (gst_fake_src_start), (gst_fake_src_stop):
23261 * gst/elements/gstfakesrc.h:
23262 * gst/elements/gstfilesink.c: (_do_init),
23263 (gst_file_sink_base_init), (gst_file_sink_class_init),
23264 (gst_file_sink_init), (gst_file_sink_dispose),
23265 (gst_file_sink_set_location), (gst_file_sink_set_property),
23266 (gst_file_sink_get_property), (gst_file_sink_open_file),
23267 (gst_file_sink_close_file), (gst_file_sink_query),
23268 (gst_file_sink_event), (gst_file_sink_render),
23269 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23270 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23271 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23272 * gst/elements/gstfilesink.h:
23273 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23274 (gst_file_src_class_init), (gst_file_src_init),
23275 (gst_file_src_finalize), (gst_file_src_set_location),
23276 (gst_file_src_set_property), (gst_file_src_get_property),
23277 (gst_file_src_map_region), (gst_file_src_map_small_region),
23278 (gst_file_src_create_mmap), (gst_file_src_create_read),
23279 (gst_file_src_create), (gst_file_src_is_seekable),
23280 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23281 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23282 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23283 (gst_file_src_uri_handler_init):
23284 * gst/elements/gstfilesrc.h:
23285 more autistic cleanliness in functions/names/defines
23287 2005-07-13 Andy Wingo <wingo@pobox.com>
23289 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23290 source couldn't negotiate.
23292 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23296 * gst/gstutils.c (gst_element_link_pads_filtered): New old
23297 function. I am channeling Hades. Put your boots on suckers!!!
23299 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
23301 * testsuite/caps/Makefile.am:
23302 * testsuite/caps/value_compare.c:
23303 * testsuite/caps/value_intersect.c:
23304 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23305 move two testsuite apps over to the check dir
23307 2005-07-12 Wim Taymans <wim@fluendo.com>
23309 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23310 Added more debug info in the negotiate process.
23312 * gst/gstmessage.h:
23313 Prepare for segment playback.
23315 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23321 * tools/gst-launch.c: (main):
23322 NULL pipeline on errors.
23324 2005-07-12 Andy Wingo <wingo@pobox.com>
23326 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23327 not it comes from a malloc region. Make sure our copy gets freed.
23329 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23331 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23332 * check/gst/gstmessage.c: (GST_START_TEST):
23333 * check/gst/gststructure.c: (GST_START_TEST),
23334 (gst_structure_suite), (main):
23336 * gst/gstelement.c: (gst_element_message_full):
23337 clean up GError and debug string now that they get copied
23338 * gst/gstmessage.c: (gst_message_new_error),
23339 (gst_message_new_warning), (gst_message_parse_error),
23340 (gst_message_parse_warning):
23341 use GST_TYPE_G_ERROR for structure_new, and take copies of
23342 arguments, so that we don't mess up refcounting
23344 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23346 * check/Makefile.am:
23347 add per-test valgrind targets
23348 * check/gst-libs/gdp.c: (GST_START_TEST),
23349 (gst_data_protocol_suite), (main):
23352 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23354 * check/Makefile.am:
23355 instate more valgrindable tests
23356 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23357 (GST_START_TEST), (fakesrc_suite):
23358 * check/gst/gstpad.c: (GST_START_TEST):
23359 * check/gst/gststructure.c: (GST_START_TEST):
23361 * docs/gst/tmpl/gstminiobject.sgml:
23362 * gst/gstpad.c: (gst_pad_finalize):
23363 fix the static mutex leak
23365 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
23367 * check/Makefile.am:
23368 add two more tests for valgrinding
23369 * check/gst/gstvalue.c: (GST_START_TEST):
23370 test refcount of deserialized buffer, found a leak
23371 * docs/gst/gstreamer-docs.sgml:
23372 * docs/gst/gstreamer-sections.txt:
23373 * docs/gst/gstreamer.types:
23374 * docs/gst/tmpl/gstminiobject.sgml:
23375 add miniobject to docs
23376 * gst/gstminiobject.c:
23378 * gst/gstvalue.c: (gst_value_deserialize_buffer),
23379 (gst_string_unwrap):
23380 fix a hard-to-find invalid write for one of the tests
23381 fix a leak for deserialized buffers
23383 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23385 * docs/pwg/advanced-events.xml:
23386 * docs/pwg/advanced-request.xml:
23387 * docs/pwg/advanced-scheduling.xml:
23388 * docs/pwg/appendix-porting.xml:
23389 * docs/pwg/building-boiler.xml:
23390 * docs/pwg/intro-preface.xml:
23391 * docs/pwg/other-ntoone.xml:
23392 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23393 of example code and explanation for pad activation, loop() and
23394 getrange() functions and a bit more. Remove old comments pointing
23396 * examples/pwg/Makefile.am:
23397 Add loop/getrange examples.
23399 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
23402 check for valgrind binary + some fixes
23404 valgrind suppressions for the tests
23405 * check/Makefile.am:
23406 add a valgrind: target that valgrinds the unit tests
23407 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23408 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23409 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23410 * check/gst/gstghostpad.c:
23412 * check/gst/gstdata.c:
23414 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23415 (thread_unref), (gst_mini_object_suite), (main):
23417 * gst/gst.c: (gst_deinit):
23419 add a method to clean up.
23420 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23421 (gst_system_clock_obtain):
23422 allow for disposing the system clock.
23423 * tools/gst-launch.c: (main):
23426 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
23428 * docs/gst/tmpl/gstbasesrc.sgml:
23429 * docs/gst/tmpl/gstfakesrc.sgml:
23430 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23431 (gst_base_src_init), (gst_base_src_set_property),
23432 (gst_base_src_get_property), (gst_base_src_get_range),
23433 (gst_base_src_start):
23434 * gst/base/gstbasesrc.h:
23435 add num-buffers property
23436 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23437 (gst_fakesrc_init), (gst_fakesrc_set_property),
23438 (gst_fakesrc_get_property), (gst_fakesrc_create),
23439 (gst_fakesrc_start):
23440 remove num-buffers property
23442 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23444 * docs/gst/gstreamer-sections.txt:
23445 * docs/gst/tmpl/gstbasesink.sgml:
23446 * docs/gst/tmpl/gstbasesrc.sgml:
23447 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23448 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23449 (gst_base_sink_finalize), (gst_base_sink_set_clock),
23450 (gst_base_sink_set_property), (gst_base_sink_get_property),
23451 (gst_base_sink_handle_object), (gst_base_sink_event),
23452 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23453 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23454 (gst_base_sink_loop), (gst_base_sink_deactivate),
23455 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23456 (gst_base_sink_change_state):
23457 * gst/base/gstbasesink.h:
23458 * gst/base/gstbasesrc.h:
23459 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23460 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23461 (gst_filesink_init):
23462 more macro splitting
23464 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23466 * gst/gstelement.c: (gst_element_get_bus):
23468 * tools/gst-launch.c: (check_intr), (event_loop):
23471 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23473 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23476 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23478 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23479 (gst_base_src_finalize):
23480 add finalize method and clean up properly
23481 * gst/gstpipeline.c: (gst_pipeline_dispose):
23484 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23486 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23488 add more things to check
23489 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23490 * gst/gstelement.c:
23493 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23495 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23496 (GST_START_TEST), (fakesrc_suite):
23497 * check/gst-libs/gdp.c: (GST_START_TEST):
23498 * check/gst/gst.c: (GST_START_TEST):
23499 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23500 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23501 * check/gst/gstbus.c: (GST_START_TEST):
23502 * check/gst/gstcaps.c: (GST_START_TEST):
23503 * check/gst/gstdata.c: (GST_START_TEST):
23504 * check/gst/gstelement.c: (GST_START_TEST):
23505 * check/gst/gstghostpad.c: (GST_START_TEST):
23506 * check/gst/gstiterator.c: (GST_START_TEST):
23507 * check/gst/gstmessage.c: (GST_START_TEST):
23508 * check/gst/gstobject.c: (GST_START_TEST):
23509 * check/gst/gstpad.c: (GST_START_TEST):
23510 * check/gst/gststructure.c: (GST_START_TEST):
23511 * check/gst/gstsystemclock.c: (GST_START_TEST),
23512 (gst_systemclock_suite):
23513 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23514 * check/gst/gstvalue.c: (GST_START_TEST):
23515 * check/pipelines/cleanup.c: (GST_START_TEST):
23516 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23517 * check/states/sinks.c: (GST_START_TEST):
23518 * check/gstcheck.c: (gst_check_init):
23519 * check/gstcheck.h:
23520 add debugging category
23521 use GST_START_TEST now, so we add a debug line
23523 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23525 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23526 add test for state change message on a bin
23527 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23529 * gst/gstbin.c: (gst_bin_init):
23530 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23531 * gst/gstelement.c: (gst_element_post_message),
23532 (gst_element_set_state):
23533 * gst/gstelementfactory.c: (gst_element_factory_create):
23534 * gst/gstmessage.c: (gst_message_new):
23535 * gst/gstscheduler.c:
23536 various debugging additions and cleanups
23538 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23540 * check/Makefile.am:
23541 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23543 adding tests for elements
23544 * gst/gstelement.c: (gst_element_dispose):
23546 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23548 * gst/registries/gstlibxmlregistry.c: (load_feature):
23549 plug more leaks. A simple gst_init() now is leakfree, yay.
23551 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23553 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23554 (gst_xml_registry_load):
23555 plug another memleak
23557 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23560 use GST_SET_ERROR_CFLAGS
23561 * docs/faq/cvs.xml:
23562 change to ERROR_CFLAGS
23564 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23567 make GST_ERROR_CFLAGS overridable and re-enable Werror
23568 * docs/faq/cvs.xml:
23569 add a note about error CFLAGS
23570 * docs/gst/tmpl/gstfakesrc.sgml:
23571 * gst/elements/gstfakesrc.c:
23572 comment out some unused code
23573 * gst/gst.c: (split_and_iterate):
23574 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23578 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23580 * common/Makefile.am:
23581 * common/gtk-doc.mak:
23582 * docs/gst/Makefile.am:
23583 factor out gtk-doc.mak
23585 2005-07-07 Wim Taymans <wim@fluendo.com>
23587 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23588 (gst_thread_scheduler_dispose):
23589 Unlock the STREAM_LOCK completely.
23591 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23593 * check/Makefile.am:
23594 * check/elements/.cvsignore:
23595 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23596 (START_TEST), (fakesrc_suite), (main):
23597 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23598 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23599 (gst_fakesrc_create), (gst_fakesrc_start):
23600 * gst/elements/gstfakesrc.h:
23601 adding a first element test
23603 2005-07-07 Andy Wingo <wingo@pobox.com>
23605 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23608 2005-07-07 Wim Taymans <wim@fluendo.com>
23614 2005-07-07 Wim Taymans <wim@fluendo.com>
23616 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23617 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23618 Allow subclasses to implement their own negotiation.
23620 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23622 * docs/design/part-gstbin.txt:
23623 * docs/design/part-gstpipeline.txt:
23624 Update design notes to reflect the movement of
23625 responsibility for bus handling from GstPipeline to
23628 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23631 Remove unnecessary queue2/3/4 examples.
23633 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23635 * examples/Makefile.am:
23636 * examples/helloworld/helloworld.c: (event_loop), (main):
23637 * examples/queue/queue.c: (event_loop), (main):
23638 * examples/queue2/queue2.c: (main):
23639 Update a couple of the examples to work again.
23641 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23642 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23643 Spelling corrections and extra debug.
23645 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23646 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23647 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23649 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23650 (gst_pipeline_change_state):
23651 * gst/gstpipeline.h:
23652 Move the bus handler for children to the GstBin, and create a
23653 separate bus for receiving messages from children to the one the
23654 bus sends 'upwards' on.
23656 2005-07-06 Wim Taymans <wim@fluendo.com>
23659 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23660 (gst_base_sink_handle_object), (gst_base_sink_loop),
23661 (gst_base_sink_change_state):
23662 * gst/base/gstbasesink.h:
23663 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23664 (gst_base_src_init), (gst_base_src_setcaps),
23665 (gst_base_src_getcaps), (gst_base_src_loop),
23666 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23667 (gst_base_src_start), (gst_base_src_change_state):
23668 * gst/base/gstbasesrc.h:
23669 Make basesrc negotiate.
23670 Handle the case where preroll fails in basesink.
23673 2005-07-06 Wim Taymans <wim@fluendo.com>
23675 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23676 Implement the fixate function.
23677 Clean up acceptcaps.
23679 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23681 * docs/pwg/building-filterfactory.xml:
23682 * docs/pwg/pwg.xml:
23683 Remove never-written filter-factory chapter; I'll add the various
23684 base classes to part 4 ("other element types") later on.
23686 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23688 * docs/pwg/advanced-negotiation.xml:
23689 * docs/pwg/building-boiler.xml:
23690 * docs/pwg/building-pads.xml:
23691 * docs/pwg/pwg.xml:
23692 * examples/pwg/Makefile.am:
23693 Add a chapter on caps negotiation, simplify the original code
23694 samples a bit w.r.t. caps negotiation, add link to the advanced
23695 section. Add a bunch of examples showing different use cases of
23696 different types of caps negotiation. Upstream renegotiation isn't
23697 fully documented yet since nobody knows how that works.
23699 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23701 * check/gst/gstpad.c:
23702 * check/gstcheck.c:
23703 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23704 if pad has no parent, return NULL as list of internal links
23706 2005-07-05 Andy Wingo <wingo@pobox.com>
23708 * gst/elements/gstfilesrc.c:
23709 * gst/elements/gstfakesrc.c:
23710 * gst/base/gstpushsrc.c:
23711 * gst/base/gstbasesrc.h:
23712 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23714 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23717 better report generation target (lcov needs a patch)
23719 2005-07-05 Andy Wingo <wingo@pobox.com>
23721 * gst/elements, testsuite: Null if we got it...
23723 2005-07-05 Wim Taymans <wim@fluendo.com>
23726 * libs/gst/dataprotocol/Makefile.am:
23727 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23728 * libs/gst/dataprotocol/dataprotocol.h:
23729 * pkgconfig/Makefile.am:
23730 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23731 * pkgconfig/gstreamer-dataprotocol.pc.in:
23732 Ported dataprotol to 0.9.
23733 Added pkgconfig files.
23735 2005-07-05 Andy Wingo <wingo@pobox.com>
23737 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23738 Default to returning TRUE for the case when tranform_caps returns
23739 a fixed caps, like for identity or volume.
23741 * check/gst/gstbus.c (pound_bus_with_messages):
23742 * check/gst/gstmessage.c (START_TEST):
23743 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23744 message API change.
23746 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23747 logic weaks here: always run transform_caps, trying passthrough
23748 operation only if the original caps intersects with the transform.
23750 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23751 source and sink caps.
23753 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23754 Intersect the peer caps with the pad template before going into
23756 (gst_base_transform_transform_caps): More debugging.
23758 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23761 2005-07-04 Edward Hervey <edward@fluendo.com>
23765 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23768 2005-07-04 Andy Wingo <wingo@pobox.com>
23770 * check/gst/gstpad.c: Only set explicit caps on pads.
23772 2005-07-01 Andy Wingo <wingo@pobox.com>
23774 * tests/network-clock.scm: Commentary update.
23776 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23777 Didn't really make sense, not implementable with basetransform,
23779 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23780 attempt at implementing the sync property, needs an unlock method.
23782 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23783 New func, by default returns the same caps (the identity
23785 (gst_base_transform_getcaps): Uses transform_caps to return
23786 something sensible.
23787 (gst_base_transform_setcaps): Complicated logic to get caps on
23788 both pads, even if they are different, and to call set_caps once
23789 for every time both pads get their caps set.
23790 (gst_base_transform_handle_buffer): Give the ref to the transform
23791 function. Allows in-place modification of the buffer.
23793 * gst/base/gstbasetransform.h (transform_caps): New class method.
23794 Given caps on one side, what can I do on the other.
23795 (set_caps): Take two caps, one for each side of the element.
23798 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23799 caps in place. This is safe because we can check the mutability of
23800 the caps, and a good idea because fixate functions are just called
23801 as a matter of last resort. (Not actually implemented.)
23802 (gst_pad_set_caps): If the caps we're setting is actually the same
23803 as the existing pad caps, just update the pointer without calling
23804 setcaps. Assert that caps is either NULL or fixed, as per the
23807 * gst/gstghostpad.c: Update for fixate changes.
23809 2005-07-02 Andy Wingo <wingo@pobox.com>
23812 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23813 two refcounts makes it immutable, which is enough. Doc more.
23815 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23817 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23818 Put the mini_object into GValue as a mini_object,
23819 not a gpointer, since that's how we declared
23822 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23824 * examples/pwg/Makefile.am:
23825 Fix buildbot again.
23827 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23829 * docs/pwg/building-testapp.xml:
23831 * examples/pwg/Makefile.am:
23834 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23837 * examples/Makefile.am:
23838 * examples/pwg/Makefile.am:
23839 * examples/pwg/extract.pl:
23840 Enable building the PWG examples.
23841 * docs/pwg/advanced-interfaces.xml:
23842 Add URI interface stub.
23843 * docs/pwg/advanced-types.xml:
23844 * docs/pwg/other-autoplugger.xml:
23845 * docs/pwg/appendix-porting.xml:
23846 * docs/pwg/pwg.xml:
23847 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23848 * docs/pwg/building-boiler.xml:
23849 * docs/pwg/building-chainfn.xml:
23850 * docs/pwg/building-pads.xml:
23851 * docs/pwg/building-props.xml:
23852 * docs/pwg/building-state.xml:
23853 * docs/pwg/building-testapp.xml:
23854 Update the building-*.xml parts for 0.9 changes. All examples
23855 code blocks compile in examples/pwg/*.
23857 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23859 * docs/manual/advanced-autoplugging.xml:
23860 * docs/manual/appendix-checklist.xml:
23861 * docs/manual/appendix-integration.xml:
23862 * docs/manual/highlevel-components.xml:
23863 Fix playbin/decodebin examples, update docs a bit, mention bus
23864 instead of signals in various places, mention kmplayer and
23865 kaffeine since they have a working GStreamer backend in the KDE
23868 2005-06-30 Wim Taymans <wim@fluendo.com>
23871 * docs/design/draft-ghostpads.txt:
23872 * docs/design/draft-push-pull.txt:
23873 * docs/design/draft-query.txt:
23874 * docs/design/part-TODO.txt:
23875 * docs/design/part-query.txt:
23876 Added CHANGES-0.9 doc, updated status of other docs.
23881 2005-06-30 Wim Taymans <wim@fluendo.com>
23883 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23884 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23885 (gst_base_sink_change_state):
23886 * gst/base/gstbasesink.h:
23887 Some tweaks, only EOS and a buffer complete a preroll.
23889 2005-06-30 Andy Wingo <wingo@pobox.com>
23891 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23892 activate_push down to the internal pad as well.
23894 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23896 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23898 * gst/gsttaginterface.c:
23899 Some documentation fixes (#307394 and #307397).
23901 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23903 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23905 * gst/gstvalue.c: (gst_value_intersect_list):
23906 Fix memleak (#309125).
23908 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23910 * docs/manual/advanced-dataaccess.xml:
23911 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23912 * docs/manual/basics-pads.xml:
23913 Add reference for filtered caps to above chapter.
23915 2005-06-30 Wim Taymans <wim@fluendo.com>
23917 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23918 (gst_bin_change_state):
23920 Lame attempt at making the state change function a bit
23923 2005-06-30 Wim Taymans <wim@fluendo.com>
23925 * docs/design/part-clocks.txt:
23926 * docs/design/part-element-sink.txt:
23927 * docs/design/part-events.txt:
23928 * docs/design/part-preroll.txt:
23929 * docs/design/part-states.txt:
23930 Some more tweeks and additions to the docs.
23932 2005-06-30 Wim Taymans <wim@fluendo.com>
23934 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23935 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23936 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23937 (gst_pad_check_pull_range), (gst_pad_get_range),
23938 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23940 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23941 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23942 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23943 (gst_pad_remove_buffer_probe):
23944 Removed atomic operations, use existing LOCK.
23945 Move exception handling out of main code path.
23947 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23949 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23950 (silly_return_true_function), (gst_pad_class_init),
23951 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23952 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23953 (gst_pad_send_event):
23954 Fix accumulator, add default value by using _emitv() instead
23955 of _emit() for signal emission.
23957 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23959 * docs/manual/advanced-dataaccess.xml:
23960 * examples/manual/Makefile.am:
23962 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23965 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23967 * gst/elements/gstfilesink.c: (gst_filesink_render):
23968 Simplify code so that we don't have to handle short
23969 writes and return GST_FLOW_ERROR if an error occured.
23971 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23973 * docs/gst/gstreamer-docs.sgml:
23974 Remove probes more.
23976 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23978 * docs/gst/gstreamer-sections.txt:
23979 * docs/gst/tmpl/gstpad.sgml:
23980 * docs/gst/tmpl/gstprobe.sgml:
23982 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23983 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23984 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23985 (gst_pad_push_event), (gst_pad_send_event):
23987 * gst/gstutils.c: (gst_pad_add_data_probe),
23988 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23989 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23990 (gst_pad_remove_buffer_probe):
23992 Remove old probes, add new g-signal-based probes and some utility
23995 2005-06-29 Edward Hervey <edward@fluendo.com>
23997 * gst/gstelementfactory.c:
24000 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24001 the definition to the header file.
24003 2005-06-29 Andy Wingo <wingo@pobox.com>
24005 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24006 plugins from the source directory.
24008 2005-06-29 Wim Taymans <wim@fluendo.com>
24010 * docs/gst/tmpl/gstbuffer.sgml:
24011 * docs/gst/tmpl/gstclock.sgml:
24012 Some fixings for blantently wrong text.
24014 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24016 * check/Makefile.am:
24017 * gst/gst.c: (add_path_func), (init_pre):
24018 * gst/gstregistry.c: (gst_registry_add_path):
24019 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24020 only scan the GST_PLUGIN_PATH locations, and not add
24023 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
24025 * docs/gst/gstreamer-sections.txt:
24026 * docs/gst/tmpl/gstbasesrc.sgml:
24027 * gst/gstelement.c:
24028 * gst/gstelement.h:
24033 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24035 * docs/manual/advanced-autoplugging.xml:
24036 Fix autoplugging example.
24038 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24040 * docs/manual/advanced-autoplugging.xml:
24041 * docs/manual/mime-world.fig:
24042 Try to get autoplugging working, fix type detection. Fix text
24043 in hello-world image.
24045 2005-06-29 Wim Taymans <wim@fluendo.com>
24047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24048 (gst_base_sink_change_state):
24052 map SIGNAL and BROADCAST to the right function.
24055 Remove redundant braces.
24057 * gst/gstpad.c: (gst_pad_set_caps):
24058 Don't call setcaps function when reseting caps to NULL.
24060 * gst/gstsystemclock.c: (gst_system_clock_dispose),
24061 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24062 (gst_system_clock_id_unschedule):
24063 Use BROADCAST as this is what we do.
24065 2005-06-29 Wim Taymans <wim@fluendo.com>
24067 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24068 We are actually prerolling before commiting the state
24071 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24073 * docs/manual/advanced-clocks.xml:
24074 * docs/manual/advanced-interfaces.xml:
24075 * docs/manual/advanced-metadata.xml:
24076 * docs/manual/advanced-position.xml:
24077 * docs/manual/advanced-schedulers.xml:
24078 * docs/manual/advanced-threads.xml:
24079 * docs/manual/appendix-porting.xml:
24080 * docs/manual/basics-bins.xml:
24081 * docs/manual/basics-bus.xml:
24082 * docs/manual/basics-elements.xml:
24083 * docs/manual/basics-helloworld.xml:
24084 * docs/manual/basics-pads.xml:
24085 * docs/manual/highlevel-components.xml:
24086 * docs/manual/manual.xml:
24087 * docs/manual/thread.fig:
24088 Update (until threads/scheduling) Application Development Manual;
24089 remove GstThread, add GstBus, add simple porting checklist, add
24090 documentation for tag writing, clocks, make all examples until this
24091 part compile and run.
24092 * examples/manual/Makefile.am:
24093 Update from changes to Application Development Manual; add bus
24094 example, remove thread example.
24096 2005-06-28 Wim Taymans <wim@fluendo.com>
24098 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24099 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24100 (gst_bus_source_dispatch):
24101 Add debugging messages.
24102 Make internal methods static.
24103 Handle the case where the bus is flushed in the handler.
24105 * gst/gstelement.c: (gst_element_get_bus):
24106 Fix refcount in _get_bus();
24108 * gst/gstpipeline.c: (gst_pipeline_change_state),
24109 (gst_pipeline_get_clock_func):
24110 Clock refcounting fixes.
24111 Handle the case where preroll timed out more gracefully.
24113 * gst/gstsystemclock.c: (gst_system_clock_dispose):
24114 Clean up the internal thread in dispose. This is needed
24115 for subclasses that actually get disposed.
24117 * gst/schedulers/threadscheduler.c:
24118 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24119 (gst_thread_scheduler_dispose):
24120 Free thread pool in dispose.
24122 2005-06-28 Andy Wingo <wingo@pobox.com>
24124 * tests/network-clock-utils.scm (debug, print-event): New utils.
24126 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24127 (*packet-loss*): Unified loss probability.
24128 (network-time): Report out-of-band events.
24130 * tests/plot-data: Add support for out-of-band events. Hack it
24131 into this script instead of passing it down the pipe; should fix
24134 2005-06-28 Wim Taymans <wim@fluendo.com>
24136 * docs/gst/gstreamer.types:
24137 * docs/gst/tmpl/gstbasesrc.sgml:
24138 * docs/gst/tmpl/gstpad.sgml:
24141 2005-06-28 Wim Taymans <wim@fluendo.com>
24143 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24144 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24145 (gst_proxy_pad_do_fixatecaps):
24146 Correctly proxy the check_pull_range function.
24148 2005-06-28 Andy Wingo <wingo@pobox.com>
24150 * tests/network-clock.scm: Removed need for slib.
24152 2005-06-28 Wim Taymans <wim@fluendo.com>
24154 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24155 (gst_basesink_preroll_queue_flush):
24156 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24157 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24158 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24159 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24160 (gst_proxy_pad_set_property):
24163 * gst/gstqueue.c: (gst_queue_init):
24164 The deprecated pad loop function is removed now.
24166 2005-06-28 Andy Wingo <wingo@pobox.com>
24168 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24169 New parameters, simulate network packet loss.
24171 * tests/network-clock-utils.scm: Initialize the RNG.
24173 2005-06-28 Wim Taymans <wim@fluendo.com>
24175 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24176 (gst_basesink_event), (gst_basesink_deactivate):
24177 Flushing the preroll queue always needs to unlock the waiters.
24179 2005-06-28 Edward Hervey <edward@fluendo.com>
24181 * gst/gstpipeline.c: (gst_pipeline_send_event):
24182 Wheen a seek was successful on a pipeline, set the stream_time to the
24183 seek offset in order to have a synchronized stream_time.
24185 2005-06-28 Wim Taymans <wim@fluendo.com>
24187 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24188 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24189 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24190 (gst_proxy_pad_do_fixatecaps):
24191 Call wrapper function instead of just calling the function
24192 pointers. This takes care of any locking and whatmore.
24194 2005-06-28 Wim Taymans <wim@fluendo.com>
24196 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24197 (gst_pad_pull_range):
24199 CONNECTED -> LINKED.
24201 2005-06-28 Andy Wingo <wingo@pobox.com>
24203 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24204 source-munging commit!!!
24206 * gst/gstobject.c (gst_object_unref, gst_object_ref)
24207 (gst_object_sink): Take gpointer arguments, not GstObject --
24208 avoids casts. Like GLib.
24210 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24213 2005-06-27 Andy Wingo <wingo@pobox.com>
24215 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24218 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24219 returns a sorted copy of the trace list.
24220 (gst_alloc_trace_print_live): New API, only prints traces with
24221 live objects. Sort the list.
24222 (gst_alloc_trace_print_all): Sort the list.
24223 (gst_alloc_trace_print): Align columns.
24225 * gst/elements/gstttypefindelement.c:
24226 * gst/elements/gsttee.c:
24227 * gst/base/gstbasesrc.c:
24228 * gst/base/gstbasesink.c:
24229 * gst/base/gstbasetransform.c:
24230 * gst/gstqueue.c: Adapt for pad activation changes.
24232 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24234 (gst_pipeline_dispose): Drop ref on sched.
24236 * gst/gstpad.c (gst_pad_init): Set the default activate func.
24237 (gst_pad_activate_default): Push mode by default.
24238 (pre_activate_switch, post_activate_switch): New stubs, things to
24239 do before and after switching activation modes on pads.
24240 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24241 the pad's activate function to choose which mode to activate.
24242 Shortcut on deactivation and call the right function directly.
24243 (gst_pad_activate_pull): New API, (de)activates a pad in pull
24245 (gst_pad_activate_push): New API, same for push mode.
24246 (gst_pad_set_activate_function)
24247 (gst_pad_set_activatepull_function)
24248 (gst_pad_set_activatepush_function): Setters for new API.
24250 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24251 Trace all miniobjects.
24252 (gst_mini_object_make_writable): Unref the arg if we copy, like
24253 gst_caps_make_writable.
24255 * gst/gstmessage.c (_gst_message_initialize): No trace init.
24257 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
24258 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24259 Adapt for new pad API.
24261 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24263 * gst/gstelement.h:
24264 * gst/gstelement.c (gst_element_iterate_src_pads)
24265 (gst_element_iterate_sink_pads): New API functions.
24267 * gst/gstelement.c (iterator_fold_with_resync): New utility,
24268 should fold into gstiterator.c in some form.
24269 (gst_element_pads_activate): Simplified via use of fold and
24270 delegation of decisions to gstpad->activate.
24272 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24275 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24276 class once in init, like gstmessage. Didn't run into this issue
24277 but it seems correct. Don't initialize a trace, gstminiobject does
24280 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24281 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24283 (assert_live_count): New util function, uses alloc traces to check
24286 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24287 To be modified when unlink drops the internal pad.
24289 2005-06-27 Wim Taymans <wim@fluendo.com>
24291 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24292 (gst_bin_change_state):
24293 Cleanup the get_state() function a little, make sure it
24294 iterates the same set of elements.
24295 Added stub iterate_state_order().
24297 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
24299 * docs/gst/gstreamer-docs.sgml:
24300 * docs/gst/gstreamer-sections.txt:
24301 * docs/gst/gstreamer.types:
24302 * docs/gst/tmpl/gstbasesink.sgml:
24303 * docs/gst/tmpl/gstbasesrc.sgml:
24304 * docs/gst/tmpl/gstbasetransform.sgml:
24305 * docs/gst/tmpl/gstelement.sgml:
24306 * docs/gst/tmpl/gstiterator.sgml:
24307 * gst/base/gstbasesrc.c:
24308 * gst/base/gstbasesrc.h:
24309 * gst/base/gstbasetransform.h:
24310 * gst/gstelement.c:
24311 * gst/gstiterator.h:
24312 adding basetransform and iterator docs
24314 2005-06-27 Andy Wingo <wingo@pobox.com>
24316 * docs/design/part-activation.txt: Notes on how activation should
24317 work -- not quite implemented yet.
24319 2005-06-25 Wim Taymans <wim@fluendo.com>
24321 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24322 At least get the chain function correct, needs more
24325 2005-06-25 Wim Taymans <wim@fluendo.com>
24327 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24328 (gst_basesink_handle_object), (gst_basesink_event),
24329 (gst_basesink_do_sync), (gst_basesink_handle_event),
24330 (gst_basesink_change_state):
24332 Right, two problems here: ghostpads don't take locks and
24333 glib _rec_mutex_lock_full() with depth==0 still locks.
24334 Catch illegal locking and g_warn them.
24336 2005-06-25 Wim Taymans <wim@fluendo.com>
24338 * check/states/sinks.c: (START_TEST), (gst_object_suite):
24339 Have to check for completion now...
24341 2005-06-25 Wim Taymans <wim@fluendo.com>
24343 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24344 (gst_basesink_handle_object), (gst_basesink_event),
24345 (gst_basesink_do_sync), (gst_basesink_handle_event),
24346 (gst_basesink_change_state):
24348 Unlock STREAM_LOCK whatever the recursion was.
24350 2005-06-25 Wim Taymans <wim@fluendo.com>
24352 * gst/base/gstbasesink.c: (gst_basesink_set_property),
24353 (gst_basesink_preroll_queue_empty),
24354 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24355 (gst_basesink_event), (gst_basesink_do_sync),
24356 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24357 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24358 (gst_basesink_change_state):
24359 Reworked the base sink, handle event and buffer serialisation
24360 correctly and removed possible deadlock.
24361 Handle EOS correctly.
24363 2005-06-25 Wim Taymans <wim@fluendo.com>
24365 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24366 (gst_pipeline_change_state):
24367 * tools/gst-launch.c: (check_intr), (event_loop), (main):
24368 Allow elements to post EOS in the state change function.
24369 Fix up -launch, make it exit the poll loop when the
24370 pipeline actually changed state.
24371 Fix up warning parsing in -launch.
24373 2005-06-25 Wim Taymans <wim@fluendo.com>
24375 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24376 (gst_tee_sink_activate):
24377 Core takes STREAM_LOCK for us now.
24379 2005-06-25 Wim Taymans <wim@fluendo.com>
24381 * gst/gstelement.c: (gst_element_get_state_func),
24382 (gst_element_set_state):
24383 * gst/gstelement.h:
24384 * gst/gstmessage.c: (gst_message_parse_error),
24385 (gst_message_parse_warning):
24386 Keep track of current target state while performing a state
24387 change so that subclasses can do something interesting.
24388 Fix parsing of warning/error messages when GError is NULL.
24390 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
24392 * docs/gst/Makefile.am:
24393 * docs/gst/gstreamer-docs.sgml:
24394 * docs/gst/gstreamer-sections.txt:
24395 * docs/gst/gstreamer.types:
24396 * docs/gst/tmpl/gstbasesink.sgml:
24397 * docs/gst/tmpl/gstbasesrc.sgml:
24398 * docs/gst/tmpl/gstbin.sgml:
24399 * docs/gst/tmpl/gstcompat.sgml:
24400 * docs/gst/tmpl/gstfakesink.sgml:
24401 * docs/gst/tmpl/gstfakesrc.sgml:
24402 * docs/gst/tmpl/gstfilesink.sgml:
24403 * docs/gst/tmpl/gstfilesrc.sgml:
24404 * docs/gst/tmpl/gstindex.sgml:
24405 * docs/manual/appendix-quotes.xml:
24406 * gst/base/gstbasesrc.h:
24407 * gst/elements/gstfakesrc.h:
24408 * gst/gstmessage.h:
24409 start pulling in base classes and elements in our docs
24411 2005-06-24 Stefan Kost <ensonic@users.sf.net>
24413 * docs/gst/Makefile.am:
24414 * docs/libs/Makefile.am:
24415 fixed make distcheck with gtk-doc 1.3
24417 2005-06-23 Wim Taymans <wim@fluendo.com>
24419 * gst/gstelement.c: (gst_element_get_state_func),
24420 (gst_element_set_state), (gst_element_change_state):
24421 When the state did not change, also report NO_PREROLL
24424 2005-06-23 Wim Taymans <wim@fluendo.com>
24426 * gst/gstpad.c: (gst_pad_event_default):
24427 * gst/gstqueue.c: (gst_queue_loop):
24428 No unsafe task pausing please.
24430 2005-06-23 Wim Taymans <wim@fluendo.com>
24432 * gst/schedulers/threadscheduler.c:
24433 (gst_thread_scheduler_task_start),
24434 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24435 Ref the task before pushing it on the threadpool. This
24436 makes sure that we have a ref when the threadfunction is
24439 2005-06-23 Andy Wingo <wingo@pobox.com>
24441 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24442 offset is greater than the file's size.
24444 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
24445 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24446 * gst/gstobject.c (gst_object_class_init): Make the class lock
24447 recursive. Wim won't let me drop deep_notify. Decodebin works
24448 again, whoopdy doo.
24450 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24451 internal pad, and hacks accordingly. Doesn't do it on the target
24452 pad because we change its caps. Probably catches all cases of
24454 (gst_ghost_pad_set_property): Connect to notify::caps as
24457 * tests/network-clock.scm (plot-simulation): Pipe data to the
24458 elite python skript.
24460 * tests/network-clock-utils.scm (define-parameter): New macro,
24461 defines a parameter that can be set via the command line.
24462 (set-parameter!, parse-parameter-arguments): Command line args
24465 * tests/plot-data: Simple matplotlib-based plotter, takes input on
24468 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
24470 * gst/elements/gsttypefindelement.c:
24471 (gst_type_find_element_handle_event):
24472 Don't restart typefinding on a discont.
24473 * gst/gstelement.c: (gst_element_set_state):
24474 Debug spelling fix.
24475 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24476 Allow changing mode of an active pad.
24477 Debug output fixes.
24478 * gst/registries/gstlibxmlregistry.c: (load_feature):
24479 Don't cast a static pad template to a normal pad template.
24481 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
24483 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24484 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24485 remove gst_strtoll completely, since it didn't actually do
24486 anything more than what g_ascii_strtoull already does.
24487 check for range errors when deserializing
24488 do a cast for the unsigned cases; but further fixing needs
24489 a decision on what the interpretation of "(int)" and
24490 deserialization should be for values that fall outside the
24491 type's boundaries (ie, refuse, or interpret as casting)
24493 2005-06-23 Wim Taymans <wim@fluendo.com>
24495 * check/Makefile.am:
24496 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24497 * docs/design/part-live-source.txt:
24498 * docs/design/part-states.txt:
24499 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24500 (gst_basesrc_set_live), (gst_basesrc_is_live),
24501 (gst_basesrc_get_range), (gst_basesrc_activate),
24502 (gst_basesrc_change_state):
24503 * gst/base/gstbasesrc.h:
24504 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24505 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24506 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24507 * gst/gstelement.c: (gst_element_get_state_func),
24508 (gst_element_set_state):
24509 * gst/gstelement.h:
24511 * tools/gst-launch.c: (event_loop), (main):
24512 Added support for live sources and other elements that
24514 Updated design docs, added live-source design doc.
24515 Implemented live source functionality in basesrc
24516 Fix error condition in _bin_get_state()
24517 Implement live source handling in -launch.
24518 Added check for live sources.
24519 Fixed case in GstBin where elements were changed state
24523 2005-06-23 Andy Wingo <wingo@pobox.com>
24525 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24526 borken refcounting.
24528 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24529 gst_caps_replace takes care of this for us.
24531 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24532 gst_pad_set_caps on the target, not just its setcaps() function.
24534 * tests/network-clock.scm:
24535 * tests/network-clock-utils.scm: A network clock simulator.
24536 Something of an algorithmic testbed before doing something in C.
24538 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24540 * check/Makefile.am:
24541 * check/gst/capslist.h:
24542 copy over from 0.8, and add two with bitmasks specified with
24544 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24545 add test to parse everything from capslist.h
24546 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24548 add test for structure deserialization
24549 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24550 add tests for deserialization of strings to int types
24551 * gst/gststructure.c: (gst_structure_nth_field_name):
24552 * gst/gststructure.h:
24553 add a way to get the name of a field referenced by index
24554 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24555 instead of checking if the resulting long long lies between
24556 min and max, we check if the long long would fit into
24557 a number of bytes for the final type.
24558 This fixes cases where a string represents 2^32 - 1, which
24559 when cast to int would be the (valid) -1, but is bigger than
24562 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24564 * gst/parse/grammar.y:
24565 add a log line for type deserialization
24567 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24569 * check/gst/gstvalue.c: (START_TEST):
24570 * gst/gstvalue.c: (gst_value_deserialize):
24571 return long long, not int, so gint64 deserialization actually
24572 works. Is there any flag that makes the compiler check this ?
24575 2005-06-22 Wim Taymans <wim@fluendo.com>
24578 Added convenience macros for setting buffers in GValue.
24580 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24582 * check/gst/.cvsignore:
24583 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24584 add a test deserializing int64, and comment part out because
24587 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24589 * check/Makefile.am:
24590 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24591 * testsuite/Makefile.am:
24592 * testsuite/caps/Makefile.am:
24593 * testsuite/caps/value_serialize.c:
24594 * testsuite/test_gst_init.c:
24595 move a value_serialize test over
24597 2005-06-20 Wim Taymans <wim@fluendo.com>
24602 * gst/gstvalue.c: (gst_value_compare_buffer),
24603 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24604 (gst_value_compare_flags), (gst_value_serialize_flags),
24605 (gst_value_deserialize_flags), (_gst_value_initialize):
24606 Fix serialisation of buffers, they are not boxed types anymore
24608 2005-06-20 Wim Taymans <wim@fluendo.com>
24610 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24611 Testcase to show error in buffer-on-caps serialisation.
24613 2005-06-20 Andy Wingo <wingo@pobox.com>
24615 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24616 will be adding to later.
24618 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24619 if its socks fill with rocks.
24620 (gst_system_clock_obtain): Set the name on object construction.
24621 Avoid double-checked locking.
24623 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
24625 * gst/gsturi.c: (gst_element_make_from_uri):
24626 Fix potential endless loop.
24628 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24630 * check/Makefile.am:
24632 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24634 move over from testsuite dir and clean up
24637 * testsuite/Makefile.am:
24638 * testsuite/tags/.cvsignore:
24639 * testsuite/tags/Makefile.am:
24640 * testsuite/tags/merge.c:
24641 remove testsuite/tags
24643 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24645 * docs/gst/gstreamer-sections.txt:
24646 * docs/gst/tmpl/gstenumtypes.sgml:
24647 * win32/gstenumtypes.c:
24648 clean up documentation build a little
24650 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24652 * check/gstcheck.h:
24653 add macros for checking refcounts on objects and caps
24654 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24655 add some more unit tests
24656 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24657 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24658 fix leaked refcounts (I hope :)) so unittest works
24662 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24664 * configure.ac: back to HEAD
24666 === release 0.9.1 ===
24668 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24674 2005-06-17 Andy Wingo <wingo@pobox.com>
24676 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24677 assert; it's always possible that the pad gets deactivated in
24678 between the checks in gstpad.c and the implementation. Rely on
24679 finish_preroll() to return a FLUSHING or similar instead of on the
24682 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24683 clock and post an EOS message if we come out of finish_preroll in
24686 2005-06-16 David Schleef <ds@schleef.org>
24688 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24689 (gst_capsfilter_set_property): Allow NULL as possible value
24690 for filter_caps property, indicating GST_CAPS_ANY.
24692 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24694 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24696 * gst/schedulers/Makefile.am:
24698 * gstreamer.spec.in:
24701 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24703 * gstreamer.spec.in:
24706 2005-06-08 Andy Wingo <wingo@pobox.com>
24708 * gst/gstutils.c: RPAD fixes all around.
24709 (gst_element_link_pads): Refcounting fixes.
24711 * tools/gst-inspect.c:
24712 * tools/gst-xmlinspect.c:
24714 * gst/base/gsttypefindhelper.c:
24715 * gst/base/gstbasesink.c:
24716 * gst/gstqueue.c: RPAD fixes.
24718 * gst/gstghostpad.h:
24719 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24720 pads. The tricky thing is they provide both source and sink
24721 interfaces, since they proxy the internal pad for the external
24722 pad, and vice versa. Implement with lower-level ProxyPad objects,
24723 with the interior proxy pad as a child of the exterior ghost pad.
24724 Should write a doc on this.
24726 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24727 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24730 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24731 pads are real pads. No ghost pads in this file. Not documenting
24732 the myriad s/RPAD/PAD/ and REALIZE fixes.
24733 (gst_pad_class_init): Add properties for "direction" and
24734 "template". Both are construct-only, so they can't change during
24735 the life of the pad. Fixes properly deriving from GstPad.
24736 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24737 derived objects, just set properties when creating the objects via
24739 (gst_pad_get_parent): Implement as a function, return NULL if the
24740 parent is not an element.
24741 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24742 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24744 * gst/gstobject.c (gst_object_class_init): Make name a construct
24745 property. Don't set it in the object init.
24747 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24748 with UNKNOWN direction.
24749 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24750 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24751 (gst_element_remove_pad): Remove ghost-pad special cases.
24752 (gst_element_pads_activate): Remove rpad cruft.
24754 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24755 catch the pad's-parent-not-an-element case.
24757 * gst/gst.h: Include gstghostpad.h.
24759 * gst/gst.c (init_post): No more real, ghost pads.
24761 * gst/Makefile.am: Add gstghostpad.[ch].
24763 * check/Makefile.am:
24764 * check/gst/gstbin.c:
24765 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24766 into a bin creates ghost pads, and that the refcounts are right.
24767 Partly moved from gstbin.c.
24769 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24771 * check/gst-libs/.cvsignore:
24772 * check/gst/.cvsignore:
24773 * check/pipelines/.cvsignore:
24775 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24776 (START_TEST), (cleanup_suite), (main):
24777 add some tests related to cleanup after running pipelines
24779 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24781 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24782 add a testsuite for GstBuffer
24784 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24786 * gst/gstminiobject.h:
24787 add defines for accessing the refcount
24789 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24791 * Makefile.am: added support for html unit test coverage reports
24793 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24795 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24796 Free existing caps if the capsfilter changes. Add a FIXME about
24797 setting those caps on the pads.
24799 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24800 Before adding a ghost pad to a parent bin, check that there isn't
24801 already one for the element on the bin. Prevents infinite recursion
24802 when using decodebin in parse pipelines. Andy says he'll rewrite the
24803 way this works anyway, so ignore the hack.
24805 2005-06-02 Andy Wingo <wingo@pobox.com>
24807 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24808 file size, pass it on to the type find helper.
24810 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24811 segment_start and segment_end properly according to the seek
24812 method. Segment_end is still a bit flaky because offset can be
24813 negative for CUR and END cases, but it takes -1 as an "unset"
24816 2005-06-02 Wim Taymans <wim@fluendo.com>
24818 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24819 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24820 (gst_basesink_activate):
24821 * gst/base/gstbasesink.h:
24822 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24823 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24824 (gst_pad_query), (gst_pad_start_task):
24826 * gst/gstqueue.c: (gst_queue_bufferalloc),
24827 (gst_queue_handle_sink_event), (gst_queue_chain):
24828 Bufferalloc: return GstFlowReturn to more accuratly report
24829 why allocation failed.
24831 2005-06-02 Wim Taymans <wim@fluendo.com>
24833 * gst/gstpipeline.c: (gst_pipeline_send_event):
24834 Take snapshot of state without blocking.
24836 2005-06-02 Wim Taymans <wim@fluendo.com>
24838 * docs/design/part-TODO.txt:
24839 * docs/design/part-caps.txt:
24840 * docs/design/part-clocks.txt:
24841 * docs/design/part-negotiation.txt:
24842 * docs/design/part-preroll.txt:
24845 2005-05-30 Wim Taymans <wim@fluendo.com>
24847 * gst/elements/gstidentity.c: (gst_identity_event),
24848 (gst_identity_transform), (gst_identity_get_property):
24849 Protect last_message property as it is accessed from
24852 2005-05-30 Wim Taymans <wim@fluendo.com>
24854 * gst/gstelement.c: (gst_element_init),
24855 (gst_element_pads_activate), (gst_element_change_state):
24856 Slicker pad activation code.
24858 2005-05-30 Wim Taymans <wim@fluendo.com>
24861 * gst/gstelement.h:
24862 * gst/gstelementfactory.h:
24864 Move elementfactory methods to separate .h file.
24866 2005-05-30 Wim Taymans <wim@fluendo.com>
24868 * docs/design/part-overview.txt:
24869 * gst/gstsystemclock.h:
24870 Small typo fixes, doc updates.
24872 2005-05-30 Wim Taymans <wim@fluendo.com>
24874 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24875 (init_popt_callback):
24876 Remove cpu-opt flag.
24878 2005-05-30 Wim Taymans <wim@fluendo.com>
24880 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24881 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24883 Avoid typechecking in places where not needed.
24884 Added accessor for malloc_data.
24886 2005-05-30 Wim Taymans <wim@fluendo.com>
24888 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24889 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24890 (gst_pad_configure_sink), (gst_pad_configure_src),
24891 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24892 (gst_pad_start_task):
24893 Propagate errors from _set_caps() in configure_src/sink
24894 functions instead of returning TRUE.
24895 FLUSH events can travel up and downstream
24898 2005-05-30 Wim Taymans <wim@fluendo.com>
24900 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24901 (gst_basesink_activate):
24902 Handle EOS in preroll.
24904 2005-05-30 Wim Taymans <wim@fluendo.com>
24906 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24907 (gst_queue_loop), (gst_queue_handle_src_event):
24908 Remove old pieces of code
24909 Flushing the queue in an upstream event is a very bad idea.
24911 2005-05-26 Andy Wingo <wingo@pobox.com>
24913 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24914 gst_value_set_mini_object so as to add a ref on the object (which
24915 will be removed when the value is unset).
24917 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24918 arg type in ::handoff.
24920 * gst/gstelement.c (gst_element_change_state): Also deactivate
24921 pads in READY->NULL, just in case the element didn't make it to
24922 PAUSED. Wingo tested, Wim approved.
24924 2005-05-26 Wim Taymans <wim@fluendo.com>
24926 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24927 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24928 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24929 A flushing pad cannot be used to alloc_buffer from.
24931 2005-05-26 Wim Taymans <wim@fluendo.com>
24933 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24934 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24935 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24936 (gst_bus_create_watch), (gst_bus_add_watch_full):
24938 Implement a real GSource and use g_main_context_wakeup() to
24939 signal new messages instead of the socketpair.
24941 2005-05-25 Wim Taymans <wim@fluendo.com>
24943 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24944 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24945 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24946 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24947 (gst_pad_send_event), (gst_pad_start_task):
24948 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24949 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24950 (gst_queue_sink_activate), (gst_queue_src_activate),
24951 (gst_queue_change_state):
24953 Fix state changes for non sinks. We now change sinks, then elements
24954 with unconnected srcpads, then the rest.
24955 More efficient queue unlocking in flush and state changes.
24956 Set the pad activate mode even if it does not have an activate
24959 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24961 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24962 Don't go in pull mode for non-seekable sources.
24963 * gst/elements/gsttypefindelement.h:
24964 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24965 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24966 (free_entry), (stop_typefinding),
24967 (gst_type_find_element_handle_event), (find_peek),
24968 (gst_type_find_element_chain), (do_pull_typefind),
24969 (gst_type_find_element_change_state):
24970 Allow typefinding (w/o seeking) in push-mode, simplified version
24971 of what was in 0.8.
24972 * gst/gstutils.c: (gst_buffer_join):
24974 gst_buffer_join() from 0.8.
24976 2005-05-25 Wim Taymans <wim@fluendo.com>
24978 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24979 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24980 (gst_pad_send_event), (gst_pad_start_task):
24981 Disable attempt at mode switching until it is figured out.
24983 2005-05-25 Wim Taymans <wim@fluendo.com>
24985 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24986 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24987 (gst_basesink_finish_preroll), (gst_basesink_chain),
24988 (gst_basesink_loop), (gst_basesink_activate),
24989 (gst_basesink_change_state):
24990 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24991 (gst_basesrc_get_range), (gst_basesrc_loop),
24992 (gst_basesrc_activate):
24993 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24994 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24995 (gst_real_pad_init), (gst_real_pad_set_property),
24996 (gst_real_pad_get_property), (gst_pad_set_active),
24997 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24998 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24999 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25000 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25001 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25002 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25003 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25004 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25005 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25006 (gst_pad_stop_task):
25008 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25009 (gst_queue_loop), (gst_queue_src_activate):
25010 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25011 (gst_task_get_state):
25013 * gst/schedulers/threadscheduler.c:
25014 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25015 Implement gst_pad_pause/start/stop_task(), take STREAM lock
25017 Remove ACTIVE pad flag, use FLUSHING everywhere
25018 Added _pad_chain(), _pad_get_range() to call chain/getrange
25020 Add locks around IS_FLUSHING when reading.
25021 Take STREAM lock in chain(), get_range() functions so plugins
25022 don't need to take it anymore.
25026 2005-05-25 Wim Taymans <wim@fluendo.com>
25028 * tools/gst-launch.c: (event_loop):
25029 Unref message after using its contents instead of
25032 2005-05-24 Wim Taymans <wim@fluendo.com>
25034 * docs/design/draft-ghostpads.txt:
25035 * docs/design/draft-push-pull.txt:
25036 * docs/design/draft-query.txt:
25037 * docs/design/part-overview.txt:
25038 Docs updates, added general overview doc.
25040 2005-05-21 David Schleef <ds@schleef.org>
25042 * docs/gst/tmpl/old/GstBin.sgml:
25043 * docs/gst/tmpl/old/GstBuffer.sgml:
25044 * docs/gst/tmpl/old/GstCaps.sgml:
25045 * docs/gst/tmpl/old/GstClock.sgml:
25046 * docs/gst/tmpl/old/GstCompat.sgml:
25047 * docs/gst/tmpl/old/GstData.sgml:
25048 * docs/gst/tmpl/old/GstElement.sgml:
25049 * docs/gst/tmpl/old/GstEvent.sgml:
25050 * docs/gst/tmpl/old/GstIndex.sgml:
25051 * docs/gst/tmpl/old/GstStructure.sgml:
25052 * docs/gst/tmpl/old/GstTag.sgml:
25053 * docs/gst/tmpl/old/cothreads.sgml:
25054 * docs/gst/tmpl/old/cothreads_compat.sgml:
25055 * docs/gst/tmpl/old/gettext.sgml:
25056 * docs/gst/tmpl/old/gobject2gtk.sgml:
25057 * docs/gst/tmpl/old/grammar.tab.sgml:
25058 * docs/gst/tmpl/old/gst-i18n-app.sgml:
25059 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25060 * docs/gst/tmpl/old/gst_private.sgml:
25061 * docs/gst/tmpl/old/gstaggregator.sgml:
25062 * docs/gst/tmpl/old/gstarch.sgml:
25063 * docs/gst/tmpl/old/gstatomic_impl.sgml:
25064 * docs/gst/tmpl/old/gstbufferstore.sgml:
25065 * docs/gst/tmpl/old/gstdata_private.sgml:
25066 * docs/gst/tmpl/old/gstdisksink.sgml:
25067 * docs/gst/tmpl/old/gstdisksrc.sgml:
25068 * docs/gst/tmpl/old/gstelementfactory.sgml:
25069 * docs/gst/tmpl/old/gstextratypes.sgml:
25070 * docs/gst/tmpl/old/gstfakesink.sgml:
25071 * docs/gst/tmpl/old/gstfakesrc.sgml:
25072 * docs/gst/tmpl/old/gstfdsink.sgml:
25073 * docs/gst/tmpl/old/gstfdsrc.sgml:
25074 * docs/gst/tmpl/old/gstfilesink.sgml:
25075 * docs/gst/tmpl/old/gstfilesrc.sgml:
25076 * docs/gst/tmpl/old/gsthttpsrc.sgml:
25077 * docs/gst/tmpl/old/gstidentity.sgml:
25078 * docs/gst/tmpl/old/gstindexfactory.sgml:
25079 * docs/gst/tmpl/old/gstmarshal.sgml:
25080 * docs/gst/tmpl/old/gstmd5sink.sgml:
25081 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25082 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25083 * docs/gst/tmpl/old/gstpadtemplate.sgml:
25084 * docs/gst/tmpl/old/gstpipefilter.sgml:
25085 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25086 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25087 * docs/gst/tmpl/old/gstshaper.sgml:
25088 * docs/gst/tmpl/old/gstspider.sgml:
25089 * docs/gst/tmpl/old/gstspideridentity.sgml:
25090 * docs/gst/tmpl/old/gststatistics.sgml:
25091 * docs/gst/tmpl/old/gsttee.sgml:
25092 * docs/gst/tmpl/old/gsttimecache.sgml:
25093 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25094 * docs/gst/tmpl/old/gstxmlregistry.sgml:
25095 * docs/gst/tmpl/old/gthread-cothreads.sgml:
25096 * docs/gst/tmpl/old/types.sgml:
25097 I didn't intend to add these or check them in.
25099 2005-05-19 David Schleef <ds@schleef.org>
25101 * configure.ac: Use -no-common everywhere. In a sane world, it
25102 would be the default in libtool, because without it, you can't
25103 build DLLs on Windows.
25104 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25105 * docs/gst/gstreamer-sections.txt:
25106 * docs/gst/tmpl/gstcpu.sgml:
25107 * docs/gst/tmpl/gstdata.sgml:
25108 * docs/gst/tmpl/gstthread.sgml:
25110 2005-05-19 David Schleef <ds@schleef.org>
25112 * gst/gstminiobject.c: (gst_value_set_mini_object),
25113 (gst_value_take_mini_object), (gst_value_get_mini_object):
25114 * gst/gstminiobject.h: Add GValue set/get functions.
25116 2005-05-19 Wim Taymans <wim@fluendo.com>
25118 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25119 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25120 (gst_subbuffer_init), (gst_buffer_is_span_fast):
25122 * gst/gstbus.c: (gst_bus_post):
25123 * gst/gstelement.c: (gst_element_get_random_pad):
25124 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25125 Make subbufer unref the parent in finalize.
25126 some more debugging info.
25129 2005-05-19 Wim Taymans <wim@fluendo.com>
25131 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25132 (gst_basesink_init), (gst_basesink_finalize),
25133 (gst_basesink_activate), (gst_basesink_change_state):
25134 Don't free preroll queue too early.
25136 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25140 Hi, I'm outdated. Please shoot me.
25142 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25144 * gst/gstpipeline.c: (gst_pipeline_send_event):
25145 Do not access variables after they have been deleted.
25147 2005-05-19 Wim Taymans <wim@fluendo.com>
25149 * tools/gst-inspect.c: (print_plugin_features):
25150 A plugin feature does unfortunatly not use the
25153 2005-05-18 Wim Taymans <wim@fluendo.com>
25155 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25156 Port _span() functions to new subbuffers.
25158 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25160 * gst/gstbin.c: (gst_bin_add_func):
25161 Fix clock settery in bins when adding kids after the clock has
25164 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25166 * gst/elements/gstidentity.c: (gst_identity_class_init):
25167 Workaround until signals support GstMiniObject.
25169 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
25172 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25174 2005-05-18 Wim Taymans <wim@fluendo.com>
25176 * gst/base/Makefile.am:
25177 * gst/base/gstadapter.c: (gst_adapter_base_init),
25178 (gst_adapter_class_init), (gst_adapter_init),
25179 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25180 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25181 (gst_adapter_flush), (gst_adapter_available),
25182 (gst_adapter_available_fast):
25183 * gst/base/gstadapter.h:
25184 Ported and added adapter to the base classes.
25186 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25189 * gst/gstmessage.c:
25190 Make sure the class is reffed/unreffed once before threads can be
25191 used. Fixes #304551.
25193 2005-05-17 Wim Taymans <wim@fluendo.com>
25195 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25196 (gst_basesink_chain_unlocked), (gst_basesink_activate):
25197 * gst/gstminiobject.c: (gst_mini_object_get_type),
25198 (gst_mini_object_free):
25199 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25200 (gst_pad_push), (gst_pad_push_event):
25201 * gst/gstqueue.c: (gst_queue_change_state):
25202 Don't queue buffers in basesink when we are flushing.
25203 Unref buffer when flushing in basesink.
25204 Flush queue when going to READY
25205 Unref buffer when _push() returns an error.
25206 Don't free MiniObject instance when refcount is incremented
25207 in _finalize() so that we can recover objects.
25209 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
25211 * docs/manual/advanced-schedulers.xml:
25212 * docs/manual/appendix-checklist.xml:
25213 * docs/pwg/advanced-clock.xml:
25214 * docs/pwg/advanced-interfaces.xml:
25215 * docs/pwg/advanced-request.xml:
25216 * docs/pwg/advanced-types.xml:
25217 * docs/pwg/intro-preface.xml:
25218 * examples/plugins/example.c: (gst_example_get_type),
25219 (gst_example_class_init), (gst_example_chain),
25220 (gst_example_set_property), (gst_example_get_property),
25221 (gst_example_change_state), (plugin_init):
25222 * examples/plugins/example.h:
25225 2005-05-17 Wim Taymans <wim@fluendo.com>
25227 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25228 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25229 * gst/gstqueue.c: (gst_queue_change_state):
25230 Clear queue when going to READY.
25231 Remove IN_SETCAPS flag too.
25233 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
25235 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25236 Remove implicit cast from gboolean to GstElementStateReturn;
25237 make sure we still return failure in paused => ready case if
25238 the parent class fails to change state and our own stop
25241 2005-05-17 Wim Taymans <wim@fluendo.com>
25243 * tools/gst-launch.c: (event_loop):
25244 Message was unreffed too soon.
25246 2005-05-16 Andy Wingo <wingo@pobox.com>
25248 * gst/gstbin.c (sink_iterator_filter): Err... um...
25250 * check/gst/gstbin.c (test_ghost_pads): New test for the
25251 ghosting-if-elements-not-in-same-bin behavior.
25253 2005-05-16 David Schleef <ds@schleef.org>
25255 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25256 accessing refcount directly.
25258 2005-05-15 David Schleef <ds@schleef.org>
25260 * check/Makefile.am: remove GstData checks
25261 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25262 * gst/Makefile.am: add miniobject, remove data
25263 * gst/gst.h: add miniobject, remove data
25264 * gst/gstdata.c: remove
25265 * gst/gstdata.h: remove
25266 * gst/gstdata_private.h: remove
25267 * gst/gsttypes.h: remove GstEvent and GstMessage
25268 * gst/gstelement.c: (gst_element_post_message): fix for API changes
25269 * gst/gstmarshal.list: change BOXED -> OBJECT
25271 Implement GstMiniObject.
25272 * gst/gstminiobject.c:
25273 * gst/gstminiobject.h:
25275 Modify to be subclasses of GstMiniObject.
25276 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25277 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25278 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25279 (gst_subbuffer_get_type), (gst_subbuffer_init),
25280 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25283 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25284 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25285 (_gst_event_copy), (gst_event_new):
25287 * gst/gstmessage.c: (_gst_message_initialize),
25288 (gst_message_get_type), (gst_message_class_init),
25289 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25290 (gst_message_new), (gst_message_new_error),
25291 (gst_message_new_warning), (gst_message_new_tag),
25292 (gst_message_new_state_changed), (gst_message_new_application):
25293 * gst/gstmessage.h:
25294 * gst/gstprobe.c: (gst_probe_perform),
25295 (gst_probe_dispatcher_dispatch):
25297 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25298 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25299 (_gst_query_copy), (gst_query_new):
25301 Update elements for GstData -> GstMiniObject changes
25303 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25304 (gst_queue_chain), (gst_queue_loop):
25305 * gst/elements/gstbufferstore.c:
25306 (gst_buffer_store_add_buffer_func),
25307 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25308 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25309 (gst_fakesink_render):
25310 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25311 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25312 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25313 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25314 (gst_filesrc_create_read):
25315 * gst/elements/gstidentity.c: (gst_identity_class_init):
25316 * gst/elements/gsttypefindelement.c:
25317 (gst_type_find_element_src_event), (free_entry_buffers),
25318 (gst_type_find_element_handle_event):
25319 * libs/gst/dataprotocol/dataprotocol.c:
25320 (gst_dp_header_from_buffer):
25321 * libs/gst/dataprotocol/dataprotocol.h:
25322 * libs/gst/dataprotocol/dp-private.h:
25324 2005-05-15 David Schleef <ds@schleef.org>
25326 * gst/elements/gstelements.c: Don't include headers that were
25329 2005-05-15 David Schleef <ds@schleef.org>
25331 * gst/elements/Makefile.am: Remove some elements that don't
25332 need to be in the core (or even exist at all).
25333 * gst/elements/gstaggregator.c:
25334 * gst/elements/gstaggregator.h:
25335 * gst/elements/gstmd5sink.c:
25336 * gst/elements/gstmd5sink.h:
25337 * gst/elements/gstmultifilesrc.c:
25338 * gst/elements/gstmultifilesrc.h:
25339 * gst/elements/gstpipefilter.c:
25340 * gst/elements/gstpipefilter.h:
25341 * gst/elements/gstshaper.c:
25342 * gst/elements/gstshaper.h:
25343 * gst/elements/gststatistics.c:
25344 * gst/elements/gststatistics.h:
25345 * po/POTFILES.in: Remove above files.
25347 2005-05-14 Andy Wingo <wingo@pobox.com>
25349 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25350 so as to get the refs right.
25351 (sink_iterator_filter): New function, wraps bin_element_is_sink,
25352 unreffing objects that don't pass the filter.
25354 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25355 gst_element_set_bus.
25356 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25357 normal cases, this will destroy the bus.
25359 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25362 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25365 2005-05-13 Andy Wingo <wingo@pobox.com>
25367 * gst/gstutils.c (gst_element_link_pads): Instead of calling
25368 gst_pad_link, call pad_link_maybe_ghosting,
25369 (pad_link_maybe_ghosting): Links pads, making sure that the
25370 elements being linked are in the same bin.
25371 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25372 Helpers for pad_link_maybe_ghosting.
25374 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
25377 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25379 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
25381 * docs/design/part-element-source.txt:
25384 2005-05-12 Wim Taymans <wim@fluendo.com>
25386 * gst/base/gstbasesink.c: (gst_basesink_init),
25387 (gst_basesink_activate):
25388 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25389 (gst_basesrc_is_seekable):
25390 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25391 (bin_element_is_sink), (gst_bin_change_state):
25392 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25393 * gst/gstelement.h:
25394 Identify sinks by their flag to avoid overly complicated
25396 Do state changes even for elements not reachable from the
25398 BaseSink is a sink now :)
25399 Some more debugging info in the basesrc.
25402 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25404 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25405 Implement _query on a bin, similar to _send_event.
25407 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
25409 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25410 Discont event offset format should be GST_FORMAT_BYTES,
25411 not GST_FORMAT_TIME.
25413 2005-05-12 Wim Taymans <wim@fluendo.com>
25415 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25416 Same fix as Ronald's but without the signal.
25418 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25420 * gst/gstutils.c: (gst_element_query_position):
25421 No, an element is not a pad.
25423 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25425 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25426 (gst_bin_get_state):
25427 If a child is removed from a bin while we remove the child from
25428 the bin and while we're retrieving its state, signal this to the
25429 get_state function so we abort the wait (instead of waiting for
25430 a timeout) and can immediately re-iterate over all other elements.
25432 2005-05-12 Wim Taymans <wim@fluendo.com>
25434 * gst/base/Makefile.am:
25435 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25436 (gst_basesrc_start):
25437 * gst/base/gstbasesrc.h:
25438 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25439 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25440 (gst_pushsrc_init), (gst_pushsrc_create):
25441 * gst/base/gstpushsrc.h:
25442 Added is_seekable to BaseSrc
25443 Added simple PushSrc.
25445 2005-05-11 Wim Taymans <wim@fluendo.com>
25447 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25448 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25449 (gst_element_link_pads), (gst_element_query_position),
25450 (gst_element_query_convert), (intersect_caps_func),
25451 (gst_pad_query_position), (gst_pad_query_convert):
25452 Fix refcounting in utils function.
25453 No point in trying to activate a pad when it's added, it could
25454 be added from the state change function and then we deadlock, the
25455 element has to decide what to do.
25457 2005-05-10 Andy Wingo <wingo@pobox.com>
25459 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25460 *all* the arguments.
25462 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25463 stream lock if it's a FLUSH_DONE; normal flushes don't get the
25464 lock (according to the docs -- if this is wrong change the docs).
25466 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25467 flush messages in the NULL state.
25469 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25470 message immediately and return.
25471 (gst_bus_set_flushing): New function. If a bus is flushing, it
25472 flushes out any queued messages and immediately unrefs new
25473 messages. This is so when an element goes to NULL, all of the
25474 unhandled messages coming from it can be freed, and their
25475 references to the element dropped. In other words: message source
25476 ref considered harmful :P
25478 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25479 we're finished with it.
25481 * gst/gstmessage.c (gst_message_new_state_changed):
25483 2005-05-10 Wim Taymans <wim@fluendo.com>
25485 * gst/gstvalue.c: (gst_value_compare_flags),
25486 (gst_value_serialize_flags), (gst_value_deserialize_flags),
25487 (_gst_value_initialize):
25488 Added flags serialize/deserialize/compare code.
25490 2005-05-09 Andy Wingo <wingo@pobox.com>
25492 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25493 Intersect the peer's caps with our caps.
25495 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25497 * gst/base/gsttypefindhelper.c: (helper_find_peek):
25498 * gst/elements/gsttypefindelement.c: (find_peek):
25499 Handle negative offsets better. Fixes decodebin.
25501 2005-05-09 Wim Taymans <wim@fluendo.com>
25503 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25504 (gst_base_transform_event):
25505 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25506 Implement accept_caps.
25507 Fix silly lock/unlock mismatch in base class.
25509 2005-05-09 Wim Taymans <wim@fluendo.com>
25511 * docs/design/draft-push-pull.txt:
25512 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25513 * gst/elements/gstfilesink.c: (gst_filesink_init),
25514 (gst_filesink_query):
25515 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25516 (gst_type_find_handle_src_query), (find_element_get_length):
25517 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25518 * gst/gstelement.h:
25519 * gst/gstmessage.c:
25520 * gst/gstmessage.h:
25521 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25522 (gst_real_pad_get_caps_unlocked),
25523 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25524 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25525 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25526 (gst_real_pad_dispose), (gst_real_pad_finalize),
25527 (gst_pad_load_and_link), (gst_pad_save_thyself),
25528 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25529 (gst_pad_check_pull_range), (gst_pad_pull_range),
25530 (gst_pad_template_get_type), (gst_pad_template_class_init),
25531 (gst_pad_template_init), (gst_pad_template_dispose),
25532 (name_is_valid), (gst_static_pad_template_get),
25533 (gst_pad_template_new), (gst_static_pad_template_get_caps),
25534 (gst_pad_template_get_caps), (gst_pad_set_element_private),
25535 (gst_pad_get_element_private), (gst_pad_start_task),
25536 (gst_pad_pause_task), (gst_pad_stop_task),
25537 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25538 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25539 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25540 (gst_ghost_pad_new):
25542 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25543 (gst_query_new_position), (gst_query_set_position),
25544 (gst_query_parse_position), (gst_query_new_convert),
25545 (gst_query_set_convert), (gst_query_parse_convert):
25547 * gst/gstqueryutils.c:
25548 * gst/gstqueryutils.h:
25549 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25550 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25551 (gst_queue_handle_src_query):
25552 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25553 (gst_element_query_position), (gst_element_query_convert),
25554 (intersect_caps_func), (gst_pad_query_position),
25555 (gst_pad_query_convert):
25557 * tools/gst-inspect.c: (print_pad_info):
25558 * tools/gst-xmlinspect.c: (print_element_info):
25559 Remove old query functions. Ported old code.
25560 Added position/convert helper functions to gstutils.
25561 Reordered gstpad.c code, grouping relevant things.
25562 Remove gst_message_new(), always need to speficy a specific
25566 2005-05-09 Andy Wingo <wingo@pobox.com>
25568 * gst/gstiterator.h: Add some includes.
25570 * gst/gstqueryutils.h: Include more headers.
25573 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25574 some uses of gst_pad_query.
25576 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25577 NULL out parameters.
25578 (gst_query_new_position): New proc, allocates a new position
25581 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25582 gstqueryutils.c to the build.
25584 * gst/gststructure.c (gst_structure_set_valist): Implement with
25585 the generic G_VALUE_COLLECT.
25587 2005-05-08 Edward Hervey <bilboed@bilboed.com>
25589 * gst/Makefile.am: (gst_headers):
25590 Added gstqueryutils.h to the list of headers to install, that was
25591 a 'nachty' move wingo :)
25593 2005-05-06 Andy Wingo <wingo@pobox.com>
25596 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25597 GstData, init a memchunk.
25598 (standard_definitions): Add a few query types, deprecate a few.
25599 (gst_query_get_type): New proc.
25600 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25602 (gst_query_new_application, gst_query_get_structure): New public
25605 * docs/design/draft-query.txt: Removed LINKS from the query types,
25606 because all the rest can be dispatched to other pads -- seemed
25607 ugly to have a query that couldn't be dispatched. internal_links
25608 is fine as a pad method.
25610 * gst/gstpad.h: Add query2 as a pad method, add the new functions
25611 in gstpad.c, but maintain binary compatibility for the moment.
25612 Will fix before 0.9 is out.
25614 * gst/gstqueryutils.c:
25615 * gst/gstqueryutils.h: New files, implement 3 methods for each
25616 query type: parse_query, parse_response, and set. Probably need an
25619 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25621 * gst/elements/gstfilesink.c (gst_filesink_query2):
25622 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25623 query_types, and formats methods.
25625 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25626 (gst_pad_set_query2_function): New functions.
25627 (gst_real_pad_init): Set query2_default as the default query2
25628 function. Basically just dispatches to internally linked pads.
25632 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25633 without using the atomic operations. Only one thread can possibly
25634 be accessing the data at this point. Changed so as to avoid
25635 gst_atomic operations.
25637 2005-05-06 Wim Taymans <wim@fluendo.com>
25639 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25640 Also set caps if we use the fallback buffer alloc.
25642 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25644 * docs/gst/Makefile.am:
25645 * docs/gst/gstreamer-docs.sgml:
25646 * docs/gst/gstreamer-sections.txt:
25647 * docs/gst/tmpl/gstatomic.sgml:
25648 * docs/gst/tmpl/gstmemchunk.sgml:
25649 * testsuite/elements/struct_i386.h:
25650 * win32/GStreamer.vcproj:
25652 Purge GstAtomic stuff from docs and win32 makefiles as well
25654 2005-05-06 Wim Taymans <wim@fluendo.com>
25656 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25657 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25658 * gst/gstpad.c: (gst_pad_peer_get_caps):
25659 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25660 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25661 (gst_queue_src_activate), (gst_queue_change_state):
25663 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25664 (intersect_caps_func):
25665 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25666 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25667 Some fixes for the peer_get_caps() change.
25669 2005-05-06 Wim Taymans <wim@fluendo.com>
25671 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25672 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25673 (gst_basesink_activate):
25674 Actually do something with error codes returned from the push
25677 2005-05-06 Wim Taymans <wim@fluendo.com>
25679 * docs/design/part-element-sink.txt:
25680 * docs/design/part-element-source.txt:
25681 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25682 (gst_basesink_event), (gst_basesink_activate):
25683 * gst/base/gstbasesink.h:
25684 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25685 (gst_basesrc_activate):
25686 * gst/base/gstbasesrc.h:
25687 * gst/gstelement.c: (gst_element_pads_activate):
25688 Some more documentation.
25689 Fixed scheduling decision in _pads_activate().
25691 2005-05-05 Andy Wingo <wingo@pobox.com>
25693 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25696 2005-05-05 Wim Taymans <wim@fluendo.com>
25698 * gst/base/Makefile.am:
25699 * gst/base/gstbasesink.h:
25700 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25701 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25702 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25703 (gst_collectpads_class_init), (gst_collectpads_init),
25704 (gst_collectpads_finalize), (gst_collectpads_new),
25705 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25706 (find_pad), (gst_collectpads_remove_pad),
25707 (gst_collectpads_is_active), (gst_collectpads_collect),
25708 (gst_collectpads_collect_range), (gst_collectpads_start),
25709 (gst_collectpads_stop), (gst_collectpads_peek),
25710 (gst_collectpads_pop), (gst_collectpads_available),
25711 (gst_collectpads_read), (gst_collectpads_flush),
25712 (gst_collectpads_chain):
25713 * gst/base/gstcollectpads.h:
25714 * gst/elements/Makefile.am:
25715 * gst/elements/gstelements.c:
25716 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25717 (gst_fakesink_get_times), (gst_fakesink_event),
25718 (gst_fakesink_preroll), (gst_fakesink_render):
25719 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25720 (gst_filesink_init), (gst_filesink_set_location),
25721 (gst_filesink_open_file), (gst_filesink_close_file),
25722 (gst_filesink_pad_query), (gst_filesink_event),
25723 (gst_filesink_render), (gst_filesink_change_state):
25724 * gst/elements/gstfilesink.h:
25725 Added object to help in making collect pad based elements.
25727 Make event function in sink baseclass return gboolean.
25729 2005-05-05 Wim Taymans <wim@fluendo.com>
25731 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25732 (gst_bin_get_by_name):
25734 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25735 (gst_clock_finalize):
25736 * gst/gstdata.c: (gst_data_replace):
25738 * gst/gstelement.c: (gst_element_request_pad),
25739 (gst_element_pads_activate):
25740 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25741 (gst_object_unref):
25742 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25743 (gst_pad_set_checkgetrange_function),
25744 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25745 (gst_pad_check_pull_range), (gst_pad_pull_range),
25746 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25747 (gst_pad_pause_task), (gst_pad_stop_task):
25748 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25749 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25750 Fix name lookup in GstBin.
25751 Added _data_replace() function and _buffer_replace()
25752 Use finalize method to clean up clock.
25753 Fix refcounting on request pads.
25754 Fix pad schedule mode error.
25755 Some more object refcounting debug info,
25758 2005-05-04 Andy Wingo <wingo@pobox.com>
25760 * check/Makefile.am:
25761 * docs/gst/tmpl/gstatomic.sgml:
25762 * docs/gst/tmpl/gstplugin.sgml:
25763 * gst/base/gstbasesink.c: (gst_basesink_activate):
25764 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25765 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25766 (gst_basesrc_query), (gst_basesrc_set_property),
25767 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25768 (gst_basesrc_activate):
25769 * gst/base/gstbasesrc.h:
25770 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25771 (gst_base_transform_src_activate):
25772 * gst/elements/gstelements.c:
25773 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25774 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25775 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25776 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25777 (gst_type_find_element_checkgetrange),
25778 (gst_type_find_element_activate):
25779 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25780 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25781 (gst_caps_load_thyself):
25782 * gst/gstelement.c: (gst_element_pads_activate),
25783 (gst_element_save_thyself), (gst_element_restore_thyself):
25784 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25785 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25787 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25788 (gst_xml_parse_file), (gst_xml_parse_memory),
25789 (gst_xml_get_element), (gst_xml_make_element):
25790 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25791 (_file_index_id_save_xml), (gst_file_index_commit):
25792 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25793 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25795 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25796 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25797 * tools/gst-complete.c: (main):
25798 * tools/gst-compprep.c: (main):
25799 * tools/gst-inspect.c: (print_element_properties_info):
25800 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25801 * tools/gst-xmlinspect.c: (print_element_properties):
25804 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25806 * gst/gstplugin.c: (gst_plugin_check_module),
25807 (gst_plugin_check_file), (gst_plugin_load_file):
25808 apply patch from #172526 to make register work on MacOSX
25810 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25812 * docs/gst/tmpl/gstconfig.sgml:
25813 * gst/gstconfig.h.in:
25814 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25815 * testsuite/debug/printf_extension.c: (main):
25816 Do not use GST_PTR_FORMAT on pointers to types with
25817 sizeof < sizeof(gpointer). Fixes test on 64-bit
25818 * testsuite/elements/property.h:
25819 use correct printf format
25821 2005-05-02 Wim Taymans <wim@fluendo.com>
25823 * docs/design/draft-push-pull.txt:
25824 * docs/design/draft-query.txt:
25825 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25826 (gst_basesrc_start):
25827 Added draft for new query API.
25828 Added draft for better selecting scheduling methods.
25829 Make basesrc ignore length if the subclass does not support
25832 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25835 possible fixes for automake-1.5 - _LIBADD is reserved
25837 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25839 * docs/faq/Makefile.am:
25840 * docs/manual/Makefile.am:
25841 * docs/manuals.mak:
25842 * docs/pwg/Makefile.am:
25844 possible fixes for automake-1.5
25846 2005-04-28 Wim Taymans <wim@fluendo.com>
25848 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25849 (gst_basesink_pad_getcaps), (gst_basesink_init),
25850 (gst_basesink_do_sync):
25851 * gst/gstclock.c: (gst_clock_entry_new):
25852 * gst/gstevent.c: (gst_event_discont_get_value):
25853 * gst/gstpipeline.c: (pipeline_bus_handler),
25854 (gst_pipeline_change_state):
25855 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25856 Better debugging of clocking info.
25857 Allow NULL values when getting discont values.
25859 2005-04-27 Wim Taymans <wim@fluendo.com>
25861 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25862 * check/gst/gstpad.c: (gst_pad_suite):
25863 Increase timeout for checks.
25865 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25867 * check/Makefile.am:
25868 fix the broken rule for cleanup. Apparently this rule is
25869 only needed on FC2, so maybe this warrants further autotool
25872 2005-04-26 Wim Taymans <wim@fluendo.com>
25874 * gst/gsttrashstack.h:
25875 Ooohh. a nasty one! After having a failed pop() from the stack,
25876 it's possible that the stack is empty. In that case, don't
25877 follow the NULL pointer.
25879 2005-04-25 Wim Taymans <wim@fluendo.com>
25881 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25882 (gst_pad_set_checkgetrange_function),
25883 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25884 (gst_pad_check_pull_range), (gst_pad_pull_range),
25885 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25886 (gst_pad_pause_task), (gst_pad_stop_task):
25887 * gst/gstplugin.c: (gst_plugin_load):
25889 Remove gst_library_load as it does more harm than good with
25890 the new g_module flags.
25891 Revert bogus caps template check in pad linking, pad caps
25892 are important when linking not the template, which is more
25893 general than the current caps.
25895 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25897 * gst/autoplug/.cvsignore:
25898 * gst/autoplug/Makefile.am:
25899 * gst/autoplug/gstsearchfuncs.c:
25900 * gst/autoplug/gstsearchfuncs.h:
25901 * gst/autoplug/gstspider.c:
25902 * gst/autoplug/gstspider.h:
25903 * gst/autoplug/gstspideridentity.c:
25904 * gst/autoplug/gstspideridentity.h:
25905 * gst/autoplug/spidertest.c:
25908 2005-04-25 Wim Taymans <wim@fluendo.com>
25910 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25911 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25912 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25913 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25915 Added stubs for unimplemented functions.
25917 2005-04-24 David Schleef <ds@schleef.org>
25919 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25922 2005-04-24 David Schleef <ds@schleef.org>
25924 Convert everything from GstAtomicInt to g_atomic_int_*, and
25929 * gst/gstatomic_impl.h:
25937 * gst/gstdata_private.h:
25941 * gst/gstmessage.c:
25944 * gst/gststructure.c:
25945 * gst/gststructure.h:
25946 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25949 2005-04-24 David Schleef <ds@schleef.org>
25951 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25952 make the regressions tests work. Remove some code that is no
25954 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25955 Disable warning for pads without templates.
25957 2005-04-24 David Schleef <ds@schleef.org>
25959 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25960 functions that handle filtered links.
25961 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25963 * gst/gstutils.c: Fix/remove utility functions that handle
25966 * gst/gstvalue.c: Add serialization/deserialization of caps
25967 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25968 requires fixing so that the filter caps notation creates
25969 a capsfilter element and sets the filter_caps property. I
25970 think everyone probably wants to keep the shorthand notation.
25971 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25972 * docs/gst/tmpl/gstpad.sgml:
25974 * gst/elements/gstelements.c: Register capsfilter element.
25975 * gst/Makefile.am: fix spacing
25976 * docs/random/ds/0.9-suggested-changes: random
25978 2005-04-23 David Schleef <ds@schleef.org>
25980 * gst/elements/Makefile.am:
25981 * gst/elements/gstcapsfilter.c: New element that acts like an
25982 identity, but filters caps. Will eventually replace filtered
25983 caps in pad linking.
25984 * gst/gstutils.c: (gst_element_create_all_pads): New function
25985 to create all the ALWAYS pads that are registered with an
25986 element class. This functionality should eventually be
25987 merged in with GstElement initialization.
25989 * testsuite/trigger/README: part of trigger test code that should
25990 have been checked in a long time ago.
25992 2005-04-23 David Schleef <ds@schleef.org>
25994 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25995 needed with new versions of libtool (nobody will confirm this),
25996 and hard to carry around.
25997 * gst/autoplug/Makefile.am:
25998 * gst/base/Makefile.am:
25999 * gst/elements/Makefile.am:
26000 * gst/indexers/Makefile.am:
26001 * gst/schedulers/Makefile.am:
26002 * libs/gst/bytestream/Makefile.am:
26003 * libs/gst/control/Makefile.am:
26004 * libs/gst/dataprotocol/Makefile.am:
26005 * libs/gst/getbits/Makefile.am:
26007 2005-04-21 Wim Taymans <wim@fluendo.com>
26009 * docs/design/draft-push-pull.txt:
26010 * docs/design/part-MT-refcounting.txt:
26011 * docs/design/part-TODO.txt:
26012 * docs/design/part-caps.txt:
26013 * docs/design/part-events.txt:
26014 * docs/design/part-gstbus.txt:
26015 * docs/design/part-gstpipeline.txt:
26016 * docs/design/part-messages.txt:
26017 * docs/design/part-push-pull.txt:
26018 * docs/design/part-query.txt:
26021 2005-04-21 Wim Taymans <wim@fluendo.com>
26023 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26024 (gst_message_new), (gst_message_new_error),
26025 (gst_message_new_warning), (gst_message_new_tag),
26026 (gst_message_new_state_changed), (gst_message_new_application),
26027 (gst_message_get_structure):
26028 * gst/gstmessage.h:
26029 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26030 (gst_structure_copy_conditional):
26031 Use parent refcount in GstMessage to ensure GstStructure
26033 Cleaned up headers a bit.
26036 2005-04-20 Wim Taymans <wim@fluendo.com>
26038 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26039 (gst_basesink_pad_getcaps), (gst_basesink_init),
26040 (gst_basesink_chain_unlocked):
26041 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26042 (gst_type_find_helper):
26043 * gst/elements/gsttypefindelement.c:
26044 (gst_type_find_element_have_type), (gst_type_find_element_init),
26045 (stop_typefinding), (gst_type_find_element_handle_event),
26046 (find_suggest), (gst_type_find_element_chain),
26047 (gst_type_find_element_checkgetrange),
26048 (gst_type_find_element_getrange), (do_typefind),
26049 (gst_type_find_element_activate):
26050 * gst/gstbuffer.c: (_gst_buffer_sub_free),
26051 (gst_buffer_default_free), (gst_buffer_default_copy),
26052 (gst_buffer_set_caps):
26053 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26054 (gst_caps_replace):
26055 * gst/gstmessage.c: (gst_message_new),
26056 (gst_message_new_state_changed):
26057 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26058 (gst_pad_set_checkgetrange_function),
26059 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26060 (gst_pad_set_caps), (gst_pad_check_pull_range),
26061 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26063 * gst/gsttypefind.c: (gst_type_find_register):
26064 Make gst_caps_replace() work like other _replace() functions.
26065 Use _caps_replace() where possible.
26066 Make sure _message_new() initialises its field.
26067 Add gst_static_pad_template_get_caps()
26070 2005-04-18 Andy Wingo <wingo@pobox.com>
26072 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26073 on the peer, not the pad. I think that was a typo. Pass an extra
26074 arg to see if random access is possible. Activate the pads as
26075 PULL_RANGE if possible.
26077 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26079 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
26080 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26083 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26085 * docs/faq/using.xml:
26086 Add note on gstreamer-properties (#154996).
26088 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26090 * docs/random/bbb/optional-properties:
26091 Some analysis on optional properties.
26093 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26095 * docs/gst/tmpl/gstelementfactory.sgml:
26096 * gst/gstelement.h:
26097 * gst/gstelementfactory.c: (gst_element_factory_init),
26098 (gst_element_factory_cleanup), (gst_element_register),
26099 (__gst_element_factory_add_static_pad_template),
26100 (gst_element_factory_get_static_pad_templates),
26101 (gst_element_factory_can_src_caps),
26102 (gst_element_factory_can_sink_caps):
26103 * gst/registries/Makefile.am:
26104 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26105 (gst_xml_registry_class_init), (gst_xml_registry_init),
26106 (gst_xml_registry_new), (gst_xml_registry_set_property),
26107 (gst_xml_registry_get_property), (get_time), (make_dir),
26108 (gst_xml_registry_get_perms_func),
26109 (plugin_times_older_than_recurse), (plugin_times_older_than),
26110 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26111 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26112 (add_to_char_array), (read_string), (read_uint), (read_enum),
26113 (load_pad_template), (load_feature), (load_plugin), (load_paths),
26114 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26115 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26116 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26117 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26118 (gst_xml_registry_rebuild):
26119 * gst/registries/gstlibxmlregistry.h:
26120 * tools/gst-compprep.c: (main):
26121 * tools/gst-inspect.c: (print_pad_templates_info):
26122 * tools/gst-xmlinspect.c: (print_element_info):
26123 Use libxml2 for registry parsing, use staticpadtemplates in
26124 elementfactories. Makes gst_init() +/- 10x faster.
26126 2005-04-12 Wim Taymans <wim@fluendo.com>
26128 * gst/base/Makefile.am:
26129 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26130 (gst_basesink_pad_getcaps), (gst_basesink_init),
26131 (gst_basesink_event), (gst_basesink_change_state):
26132 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26133 (gst_basesrc_init), (gst_basesrc_query),
26134 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26135 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26136 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26137 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26138 (gst_basesrc_stop), (gst_basesrc_activate),
26139 (gst_basesrc_change_state):
26140 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26141 (helper_find_suggest), (gst_type_find_helper):
26142 * gst/base/gsttypefindhelper.h:
26143 * gst/elements/Makefile.am:
26144 * gst/elements/gstelements.c:
26145 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26146 (gst_fakesink_get_times), (gst_fakesink_event),
26147 (gst_fakesink_preroll), (gst_fakesink_render):
26148 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26149 (gst_fakesrc_init), (gst_fakesrc_event_handler),
26150 (gst_fakesrc_get_property), (gst_fakesrc_create),
26151 (gst_fakesrc_start), (gst_fakesrc_stop):
26152 * gst/elements/gstfakesrc.h:
26153 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26154 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26155 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26156 (gst_filesrc_create_read), (gst_filesrc_create),
26157 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26158 (gst_filesrc_start):
26159 * gst/elements/gsttypefindelement.c:
26160 (gst_type_find_element_have_type), (gst_type_find_element_init),
26161 (start_typefinding), (stop_typefinding), (push_buffer_store),
26162 (gst_type_find_element_handle_event),
26163 (gst_type_find_element_chain),
26164 (gst_type_find_element_checkgetrange),
26165 (gst_type_find_element_getrange), (do_typefind),
26166 (gst_type_find_element_activate),
26167 (gst_type_find_element_change_state):
26168 * gst/elements/gsttypefindelement.h:
26169 * gst/gstpipeline.c: (pipeline_bus_handler):
26170 Added typefind helper.
26171 Small preroll fix in the base sink.
26172 Disable typefind code in basesrc.
26173 Crude port of typefindelement.
26177 2005-04-11 Wim Taymans <wim@fluendo.com>
26179 * check/gst/gstbus.c: (gstbus_suite):
26180 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26181 * check/gstcheck.h:
26182 Fix up the timeout so that the test does not fail.
26184 2005-04-06 Wim Taymans <wim@fluendo.com>
26187 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26188 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26189 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26190 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26191 (gst_basesrc_check_get_range), (gst_basesrc_loop),
26192 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26193 (gst_basesrc_stop), (gst_basesrc_activate),
26194 (gst_basesrc_change_state), (basesrc_find_peek),
26195 (basesrc_find_suggest), (gst_basesrc_type_find):
26196 * gst/base/gstbasesrc.h:
26197 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26198 (gst_filesrc_class_init), (gst_filesrc_init),
26199 (gst_filesrc_finalize), (gst_filesrc_set_location),
26200 (gst_filesrc_set_property), (gst_filesrc_get_property),
26201 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26202 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26203 (gst_filesrc_create_read), (gst_filesrc_create),
26204 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26205 * gst/elements/gstfilesrc.h:
26206 * gst/gstelement.c: (gst_element_get_state_func),
26207 (gst_element_lost_state), (gst_element_pads_activate):
26208 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26209 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26210 (gst_pad_pull_range):
26212 More work on the generic source base class, implement seeking,
26214 Make filesrc extend the base source class.
26215 Added gst_pad_set_checkgetrange_function to GstPad.
26217 2005-04-06 Andy Wingo <wingo@pobox.com>
26219 * pkgconfig/gstreamer-base.pc.in:
26220 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26222 * pkgconfig/Makefile.am:
26223 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26225 2005-04-04 Wim Taymans <wim@fluendo.com>
26227 * gst/base/Makefile.am:
26229 * gst/base/gstbasesink.c: (gst_basesink_base_init),
26230 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26231 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26232 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26233 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26234 (gst_basesrc_base_init), (gst_basesrc_class_init),
26235 (gst_basesrc_init), (gst_basesrc_get_formats),
26236 (gst_basesrc_get_query_types), (gst_basesrc_query),
26237 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26238 (gst_basesrc_set_property), (gst_basesrc_get_property),
26239 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26240 (gst_basesrc_loop), (gst_basesrc_activate),
26241 (gst_basesrc_change_state):
26242 * gst/base/gstbasesrc.h:
26243 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26244 (gst_fakesrc_class_init), (gst_fakesrc_init),
26245 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26246 (gst_fakesrc_get_property), (gst_fakesrc_create):
26247 * gst/elements/gstfakesrc.h:
26248 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26249 (gst_filesrc_open_file), (gst_filesrc_loop),
26250 (gst_filesrc_activate), (filesrc_find_peek),
26251 (gst_filesrc_type_find):
26252 Made base source class, make fakesrc extend it.
26253 Add comments to basesink class.
26254 Some filesrc cleanup.
26256 2005-03-31 David Schleef <ds@schleef.org>
26258 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26259 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26260 expected to link against libgstreamer.
26261 * gst/base/Makefile.am: link against libgstreamer
26262 * gst/elements/Makefile.am: same
26264 2005-03-31 Andy Wingo <wingo@pobox.com>
26266 * tests/instantiate/Makefile.am:
26267 * tests/instantiate/caps.c: Add test to test speed of caps copy
26270 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26271 GMemChunk to be fair.
26273 * gst/gsttrashstack.h: Remove warning about using the fallback
26274 trash stack implementation, it's still faster than malloc.
26276 2005-03-30 Andy Wingo <wingo@pobox.com>
26278 * tests/complexity.c: Add a copyright.
26280 2005-03-31 Wim Taymans <wim@fluendo.com>
26282 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26283 (gst_base_transform_class_init), (gst_base_transform_init),
26284 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26285 (gst_base_transform_get_property),
26286 (gst_base_transform_sink_activate),
26287 (gst_base_transform_src_activate),
26288 (gst_base_transform_change_state):
26289 * gst/base/gstbasetransform.h:
26290 * gst/elements/gstidentity.c: (gst_identity_class_init),
26291 (gst_identity_event), (gst_identity_check_perfect),
26292 (gst_identity_transform), (gst_identity_start),
26293 (gst_identity_stop):
26294 Added start/stop methods to transform base class so subclasses
26295 don't need to deal with state changes even.
26297 2005-03-31 Wim Taymans <wim@fluendo.com>
26299 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26300 (gst_event_new_discontinuous), (gst_event_discont_get_value):
26302 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26303 (gst_pad_pull_range):
26304 Added rate to the discont event to prepare for variable speed
26305 and reverse playback.
26307 2005-03-29 David Schleef <ds@schleef.org>
26310 * testsuite/trigger/Makefile.am:
26311 * testsuite/trigger/trigger.c: A little example program to show
26312 how trigger-based elements can work.
26314 2005-03-29 Wim Taymans <wim@fluendo.com>
26316 * gst/base/Makefile.am:
26318 * gst/base/gstbasesink.c: (gst_basesink_get_type),
26319 (gst_basesink_base_init), (gst_basesink_class_init),
26320 (gst_basesink_pad_getcaps), (gst_basesink_init),
26321 (gst_basesink_activate), (gst_basesink_change_state):
26322 * gst/base/gstbasesink.h:
26323 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26324 (gst_base_transform_base_init), (gst_base_transform_finalize),
26325 (gst_base_transform_class_init), (gst_base_transform_init),
26326 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26327 (gst_base_transform_event), (gst_base_transform_getrange),
26328 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26329 (gst_base_transform_set_property),
26330 (gst_base_transform_get_property),
26331 (gst_base_transform_sink_activate),
26332 (gst_base_transform_src_activate),
26333 (gst_base_transform_change_state):
26334 * gst/base/gstbasetransform.h:
26335 * gst/elements/gstidentity.c: (gst_identity_finalize),
26336 (gst_identity_class_init), (gst_identity_init),
26337 (gst_identity_event), (gst_identity_check_perfect),
26338 (gst_identity_transform), (gst_identity_set_property),
26339 (gst_identity_get_property), (gst_identity_change_state):
26340 * gst/elements/gstidentity.h:
26341 * gst/gstelement.c: (gst_element_get_state_func),
26342 (gst_element_lost_state), (gst_element_pads_activate):
26343 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26344 (gst_pad_check_pull_range), (gst_pad_pull_range):
26346 Simplify pad activation.
26347 Added function to check if pull_range can be performed.
26348 Error out when pulling inactive or flushing pads.
26349 Removed const from refcounted types as it does not make sense.
26350 Simplify pad templates in basesink
26351 Added base class for simple 1-to-1 transforms.
26352 Make identity subclass the base transform.
26354 2005-03-29 Andy Wingo <wingo@pobox.com>
26356 * docs/libs/gstreamer-libs-overrides.txt:
26357 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26358 really don't understand what's going on, but like whatever. I want
26361 * docs/gst/Makefile.am:
26362 * docs/libs/Makefile.am: Dist the overrides files.
26364 * check/Makefile.am (clean-local): Remove .libs directories.
26366 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26367 elements to EXTRA_DIST, so po/ files are happy.
26369 * po/POTFILES.in: Er, remove it here.
26371 * po/POTFILES: Remove gstspider.c.
26373 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26375 * docs/libs/gstreamer-libs-docs.sgml:
26376 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26379 * tests/complexity.c (main): Set the length of the preroll queue
26380 on the sinks to prevent a lockup.
26382 * libs/gst/dataprotocol/Makefile.am:
26383 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26384 the same as the one in check/gst-libs/gdp.c.
26386 * po/, docs/gst/: Commit automatic changes to docs and po files.
26388 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26389 the versioned libgstbase.
26391 * check/Makefile.am: Depend on an unversioned gst-register, seems
26392 to make autoconf happier.
26394 * gst/base/Makefile.am: Make libgstbase a versioned lib.
26396 2005-03-28 Wim Taymans <wim@fluendo.com>
26399 * docs/design/part-gstelement.txt:
26400 * docs/design/part-negotiation.txt:
26401 * docs/design/part-preroll.txt:
26402 * docs/design/part-scheduling.txt:
26403 * docs/design/part-states.txt:
26405 * gst/base/Makefile.am:
26407 * gst/base/gstbasesink.c: (gst_basesink_get_template),
26408 (gst_basesink_base_init), (gst_basesink_class_init),
26409 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26410 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26411 (gst_basesink_set_pad_functions),
26412 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26413 (gst_basesink_set_property), (gst_basesink_get_property),
26414 (gst_base_sink_get_template), (gst_base_sink_get_caps),
26415 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26416 (gst_basesink_preroll_queue_push),
26417 (gst_basesink_preroll_queue_empty),
26418 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26419 (gst_basesink_event), (gst_basesink_get_times),
26420 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26421 (gst_basesink_chain_unlocked), (gst_basesink_chain),
26422 (gst_basesink_loop), (gst_basesink_activate),
26423 (gst_basesink_change_state):
26424 * gst/base/gstbasesink.h:
26425 * gst/elements/Makefile.am:
26426 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26427 (gst_fakesink_class_init), (gst_fakesink_init),
26428 (gst_fakesink_set_property), (gst_fakesink_get_property),
26429 (gst_fakesink_get_times), (gst_fakesink_event),
26430 (gst_fakesink_preroll), (gst_fakesink_render),
26431 (gst_fakesink_change_state):
26432 * gst/elements/gstfakesink.h:
26433 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26434 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26435 * gst/gstelement.c: (gst_element_add_pad),
26436 (gst_element_get_state_func), (gst_element_abort_state),
26437 (gst_element_commit_state), (gst_element_lost_state),
26438 (gst_element_set_state), (gst_element_pads_activate):
26439 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26440 * gst/gstpipeline.c: (gst_pipeline_send_event),
26441 (gst_pipeline_change_state):
26442 Added state change code.
26443 Added/updated docs.
26444 Added sink base class, make fakesink extend the base class.
26445 Small cleanups in GstPipeline.
26447 2005-03-26 David Schleef <ds@schleef.org>
26449 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
26450 is broken and should be implemented in a different library.
26451 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26452 * gst/gst.h: remove gstcpu.h
26453 * gst/gstcpu.c: remove
26454 * gst/gstcpu.h: remove
26455 * gst/Makefile.am.future: Remove this file. It's ancient.
26457 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26459 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26460 (gst_bin_send_event):
26461 Add default event/set_manager handlers. The set_manager handler
26462 takes care that the manager is distributed over kids that were
26463 already in the bin before the manager was set. The event handler
26464 is a utility virtual function that sends the event over all sinks,
26465 so that gst_element_send_event (bin, event); has the expected
26467 * gst/gstpad.c: (gst_pad_event_default):
26468 Re-install default event handling for discontinuities, so that
26469 seeking works without requiring hacks in applications or extra
26471 * gst/gstpipeline.c: (gst_pipeline_class_init),
26472 (gst_pipeline_send_event):
26473 Half hack, half utility: set a pipeline to PAUSED for seek events,
26474 since that is the only way we can guarantee a/v sync. Means that
26475 you can do gst_element_seek (pipeline, method, pos); on a pipeline
26476 and it "just works".
26478 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26480 * gst/gstpipeline.c: (gst_pipeline_use_clock):
26481 Lock/unlock mismatch.
26483 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
26485 * docs/faq/gst-uninstalled:
26486 add gst-plugins-base
26487 * docs/gst/Makefile.am:
26488 don't error out until docs are fixed
26489 * docs/gst/gstreamer.types:
26492 2005-03-22 Wim Taymans <wim@fluendo.com>
26494 * check/Makefile.am:
26495 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26496 * gst/gststructure.c: (gst_structure_set_valist),
26497 (gst_structure_copy_conditional):
26498 Activated more tests.
26499 Added message test.
26500 Added G_TYPE_POINTER to GstStructure.
26503 2005-03-22 Wim Taymans <wim@fluendo.com>
26505 * docs/design/part-TODO.txt:
26506 * docs/design/part-events.txt:
26507 * docs/design/part-gstbin.txt:
26508 * docs/design/part-gstbus.txt:
26509 * docs/design/part-gstpipeline.txt:
26510 * docs/design/part-messages.txt:
26512 * gst/gstmessage.c:
26515 2005-03-21 Wim Taymans <wim@fluendo.com>
26517 * gst/gstbus.c: (gst_bus_post):
26518 Fix copy-and-paste error.
26520 2005-03-21 Wim Taymans <wim@fluendo.com>
26522 * check/Makefile.am:
26524 * gst/elements/Makefile.am:
26525 * gst/elements/gstelements.c:
26526 * gst/elements/gstfakesink.c: (gst_fakesink_init),
26527 (gst_fakesink_event), (gst_fakesink_chain):
26528 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26529 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26530 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26531 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26532 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26533 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26534 (gst_fakesrc_loop), (gst_fakesrc_activate),
26535 (gst_fakesrc_change_state):
26536 * gst/elements/gstfakesrc.h:
26537 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26538 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26539 (gst_filesrc_open_file), (gst_filesrc_loop),
26540 (gst_filesrc_activate), (gst_filesrc_change_state),
26541 (filesrc_find_peek), (filesrc_find_suggest),
26542 (gst_filesrc_type_find):
26543 * gst/elements/gstidentity.c: (gst_identity_finalize),
26544 (gst_identity_class_init), (gst_identity_init),
26545 (gst_identity_proxy_getcaps), (identity_queue_push),
26546 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26547 (gst_identity_getrange), (gst_identity_chain),
26548 (gst_identity_sink_loop), (gst_identity_src_loop),
26549 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26550 (gst_identity_set_property), (gst_identity_get_property),
26551 (gst_identity_change_state):
26552 * gst/elements/gstidentity.h:
26553 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26554 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26555 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26556 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26557 (gst_tee_sink_activate):
26558 * gst/elements/gsttee.h:
26559 * gst/gst.c: (gst_register_core_elements), (init_post):
26561 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26562 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26563 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26564 (gst_bin_change_state):
26566 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26567 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26568 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26569 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26570 (gst_bus_set_sync_handler), (gst_bus_create_watch),
26571 (bus_watch_callback), (bus_watch_destroy),
26572 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26573 (poll_timeout), (gst_bus_poll):
26577 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26578 (gst_element_post_message), (gst_element_message_full),
26579 (gst_element_get_state_func), (gst_element_get_state),
26580 (gst_element_abort_state), (gst_element_commit_state),
26581 (gst_element_lost_state), (gst_element_set_state),
26582 (gst_element_pads_activate), (gst_element_change_state),
26583 (gst_element_dispose), (gst_element_set_manager_func),
26584 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26585 (gst_element_set_manager), (gst_element_get_manager),
26586 (gst_element_set_bus), (gst_element_get_bus),
26587 (gst_element_set_scheduler), (gst_element_get_scheduler):
26588 * gst/gstelement.h:
26589 * gst/gstevent.c: (gst_event_new_segment_seek),
26590 (gst_event_new_flush):
26592 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26593 (_gst_message_free), (gst_message_get_type), (gst_message_new),
26594 (gst_message_new_eos), (gst_message_new_error),
26595 (gst_message_new_warning), (gst_message_new_tag),
26596 (gst_message_new_state_changed), (gst_message_new_application),
26597 (gst_message_get_structure), (gst_message_parse_tag),
26598 (gst_message_parse_state_changed), (gst_message_parse_error),
26599 (gst_message_parse_warning):
26600 * gst/gstmessage.h:
26601 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26602 (gst_real_pad_set_property), (gst_pad_set_active),
26603 (gst_pad_is_active), (gst_pad_set_blocked_async),
26604 (gst_pad_set_blocked), (gst_pad_is_blocked),
26605 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26606 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26607 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26608 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26609 (gst_pad_link_filtered), (gst_pad_relink_filtered),
26610 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26611 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26612 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26613 (gst_pad_set_caps), (gst_pad_configure_sink),
26614 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26615 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26616 (gst_real_pad_dispose), (gst_real_pad_finalize),
26617 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26618 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26619 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26621 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26622 (pipeline_bus_handler), (gst_pipeline_change_state),
26623 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26624 * gst/gstpipeline.h:
26626 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26627 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26628 (gst_queue_link_src), (gst_queue_bufferalloc),
26629 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26630 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26631 (gst_queue_loop), (gst_queue_handle_src_event),
26632 (gst_queue_handle_src_query), (gst_queue_src_activate),
26633 (gst_queue_change_state):
26635 * gst/gstscheduler.c: (gst_scheduler_init),
26636 (gst_scheduler_dispose), (gst_scheduler_create_task),
26637 (gst_scheduler_factory_create):
26638 * gst/gstscheduler.h:
26639 * gst/gststructure.c: (gst_structure_get_type),
26640 (gst_structure_copy_conditional):
26641 * gst/gststructure.h:
26642 * gst/gsttaginterface.h:
26643 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26644 (gst_task_init), (gst_task_dispose), (gst_task_create),
26645 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26651 * gst/schedulers/Makefile.am:
26652 * gst/schedulers/cothreads_compat.h:
26653 * gst/schedulers/entryscheduler.c:
26654 * gst/schedulers/faircothreads.c:
26655 * gst/schedulers/faircothreads.h:
26656 * gst/schedulers/fairscheduler.c:
26657 * gst/schedulers/gstbasicscheduler.c:
26658 * gst/schedulers/gstoptimalscheduler.c:
26659 * gst/schedulers/gthread-cothreads.h:
26660 * gst/schedulers/threadscheduler.c:
26661 (gst_thread_scheduler_task_get_type),
26662 (gst_thread_scheduler_task_class_init),
26663 (gst_thread_scheduler_task_init),
26664 (gst_thread_scheduler_task_start),
26665 (gst_thread_scheduler_task_stop),
26666 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26667 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26668 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26669 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26671 * libs/gst/Makefile.am:
26672 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26673 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26674 (gst_file_pad_parent_set):
26675 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26676 (gst_dp_event_from_packet):
26677 * tests/complexity.c: (main):
26678 * tests/mass_elements.c: (main):
26679 * testsuite/states/locked.c: (message_received), (main):
26680 * testsuite/states/parent.c: (main):
26681 * tools/gst-inspect.c: (print_element_flag_info),
26682 (print_implementation_info), (print_pad_info):
26683 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26685 * tools/gst-md5sum.c: (event_loop), (main):
26686 * tools/gst-typefind.c: (main):
26687 * tools/gst-xmlinspect.c: (print_element_info):
26689 Added GstBus for mainloop integration.
26690 Added GstMessage for sending notifications on the bus.
26691 Added GstTask as an abstraction for pipeline entry points.
26693 Removed Schedulers.
26694 Simplified GstQueue for multithreaded core.
26695 Made _link threadsafe, removed old capsnego.
26696 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26697 Added pad blocking functions.
26698 Reworked scheduling functions in GstPad to prepare for
26699 scheduling updates soon.
26700 Moved events out of data stream.
26701 Simplified GstEvent types.
26702 Added return values to push/pull.
26703 Removed clocking from GstElement.
26704 Added prototypes for state change function for next merge.
26705 Removed iterate from bins and state change management.
26706 Fixed some elements, disabled others for now.
26707 Fixed -inspect and -launch.
26708 Added check for GstBus.
26710 2005-03-10 Wim Taymans <wim@fluendo.com>
26712 * docs/design/part-MT-refcounting.txt:
26713 * docs/design/part-clocks.txt:
26714 * docs/design/part-gstelement.txt:
26715 * docs/design/part-gstobject.txt:
26716 * docs/design/part-standards.txt:
26717 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26718 (gst_bin_remove_func), (gst_bin_remove):
26722 * testsuite/clock/clock1.c: (main):
26723 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26725 * testsuite/dlopen/loadgst.c: (do_test):
26726 * testsuite/refcounting/bin.c: (add_remove_test1),
26727 (add_remove_test2), (main):
26728 * testsuite/refcounting/element.c: (main):
26729 * testsuite/refcounting/element_pad.c: (main):
26730 * testsuite/refcounting/pad.c: (main):
26731 * tools/gst-launch.c: (sigint_handler_sighandler):
26732 * tools/gst-typefind.c: (main):
26734 Added doc about clock.
26735 removed gst_bin_iterate_recurse_up(), marked methods
26737 Fix more testsuites.
26739 2005-03-09 Wim Taymans <wim@fluendo.com>
26741 * gst/gstpad.c: (gst_pad_get_direction),
26742 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26743 (gst_pad_collect_valist):
26744 * testsuite/bins/interface.c: (main):
26745 * testsuite/caps/audioscale.c: (test_caps):
26746 * testsuite/caps/caps.c: (test1), (test2), (test3):
26747 * testsuite/caps/deserialize.c: (main):
26748 * testsuite/caps/enumcaps.c: (main):
26749 * testsuite/caps/filtercaps.c: (main):
26750 * testsuite/caps/intersect2.c: (main):
26751 * testsuite/caps/random.c: (main):
26752 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26753 * testsuite/caps/sets.c: (check_caps):
26754 * testsuite/caps/simplify.c: (check_caps), (main):
26755 * testsuite/caps/subtract.c: (check_caps):
26756 Fix _pad_get_direction wrt ghostpads.
26757 Fix caps testsuite.
26759 2005-03-09 Wim Taymans <wim@fluendo.com>
26761 * check/Makefile.am:
26762 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26763 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26764 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26765 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26766 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26767 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26768 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26769 (bin_element_is_sink), (gst_bin_iterate_sinks),
26770 (gst_bin_iterate_all_by_interface):
26772 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26773 (gst_element_change_state), (gst_element_dispose),
26774 (gst_element_finalize), (gst_element_set_loop_function):
26775 * gst/gstelement.h:
26776 * gst/gstiterator.c: (find_custom_fold_func):
26777 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26778 (gst_pad_collectv), (gst_pad_collect_valist),
26779 (gst_pad_template_new):
26780 * gst/gstpipeline.c: (gst_pipeline_class_init),
26781 (gst_pipeline_dispose), (gst_pipeline_set_property),
26782 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26783 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26784 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26786 * gst/schedulers/entryscheduler.c:
26787 * gst/schedulers/gstbasicscheduler.c:
26788 (gst_basic_scheduler_cothreaded_chain),
26789 (gst_basic_scheduler_chain_add_element):
26790 * testsuite/bins/interface.c: (main):
26792 Added GstSystemClock test.
26793 Implemented clock distribution code in GstBin.
26794 Implemented iterate sinks method for future use.
26795 Rearranged gstelement.h
26796 Fix GstIterator comparison bug.
26797 Moved some code to GstPipeline, mostly clocking related.
26799 2005-03-09 Wim Taymans <wim@fluendo.com>
26802 * gst/gst_private.h:
26803 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26804 (gst_bin_remove_func), (gst_bin_remove),
26805 (gst_bin_get_by_name_recurse_up):
26806 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26807 (gst_clock_id_compare_func), (gst_clock_id_wait),
26808 (gst_clock_id_wait_async), (gst_clock_init),
26809 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26810 * gst/gstelement.h:
26811 * gst/gstinfo.c: (_gst_debug_init):
26813 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26814 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26816 Bump version number, we're now 0.9.0
26817 Add future debugging category.
26818 Fix NULL _unref() in _get_by_name_recurse_up
26819 Rearrange gstpad.h.
26822 2005-03-08 Wim Taymans <wim@fluendo.com>
26824 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26825 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26826 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26827 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26828 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26829 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26830 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26831 * gst/elements/gstidentity.c: (gst_identity_class_init):
26832 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26833 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26834 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26835 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26836 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26838 * gst/gstelement.c: (gst_element_class_init),
26839 (gst_element_base_class_init), (gst_element_init),
26840 (gst_element_get_random_pad), (gst_element_wait_state_change),
26841 (gst_element_change_state), (gst_element_dispose),
26842 (gst_element_finalize), (gst_element_set_loop_function):
26843 * gst/gstelement.h:
26844 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26845 * gst/gstthread.c: (gst_thread_class_init),
26846 (gst_thread_release_children_locks), (gst_thread_change_state):
26847 * gst/schedulers/gstbasicscheduler.c:
26848 (gst_basic_scheduler_loopfunc_wrapper),
26849 (gst_basic_scheduler_chain_wrapper),
26850 (gst_basic_scheduler_src_wrapper),
26851 (gst_basic_scheduler_remove_element):
26852 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26853 Remove threadsafe properties. Fix elements because GObject
26854 complains when installing a property before declaring a
26855 set/get_property handler.
26856 Rearrange gstelement.h file, use STATE macros for state locks.
26857 Free mutexes in the finalize method instead of dispose.
26859 2005-03-08 Wim Taymans <wim@fluendo.com>
26861 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26862 * gst/gstthread.c: (gst_thread_release_children_locks):
26863 Added parentage check.
26864 Fix build og GstThread again.
26866 2005-03-08 Wim Taymans <wim@fluendo.com>
26868 * docs/design/part-MT-refcounting.txt:
26869 * docs/design/part-conventions.txt:
26870 * docs/design/part-gstobject.txt:
26871 * docs/design/part-relations.txt:
26872 * docs/design/part-standards.txt:
26873 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26874 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26875 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26876 (gst_bin_iterate_all_by_interface):
26879 * gst/gstelement.c: (gst_element_class_init),
26880 (gst_element_change_state), (gst_element_set_loop_function):
26881 * gst/gstelement.h:
26882 * gst/gstiterator.c:
26883 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26884 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26885 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26886 (gst_object_set_parent), (gst_object_unparent),
26887 (gst_object_check_uniqueness):
26889 Docs updates, clean up some headers.
26891 2005-03-07 Wim Taymans <wim@fluendo.com>
26893 * check/.cvsignore:
26894 * check/Makefile.am:
26895 * check/gst-libs/.cvsignore:
26896 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26897 * check/gst/.cvsignore:
26898 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26899 (START_TEST), (gstbus_suite), (main):
26900 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26901 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26902 (gst_data_suite), (main):
26903 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26904 (add_fold_func), (gstiterator_suite), (main):
26905 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26906 (thread_name_object), (thread_name_object_default),
26907 (gst_object_name_compare), (gst_object_suite), (main):
26908 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26909 (gst_pad_suite), (main):
26910 * check/gstcheck.c: (gst_check_log_message_func),
26911 (gst_check_log_critical_func), (gst_check_init):
26912 * check/gstcheck.h:
26913 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26914 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26917 2005-03-07 Wim Taymans <wim@fluendo.com>
26919 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26920 (gst_list_iterator_next), (gst_list_iterator_resync),
26921 (gst_list_iterator_free), (gst_iterator_new_list),
26922 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26923 (gst_iterator_free), (gst_iterator_push), (filter_next),
26924 (filter_resync), (filter_uninit), (filter_free),
26925 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26926 (gst_iterator_foreach), (find_custom_fold_func),
26927 (gst_iterator_find_custom):
26928 * gst/gstiterator.h:
26929 Added missing files.
26931 2005-03-07 Wim Taymans <wim@fluendo.com>
26935 * docs/design/part-MT-refcounting.txt:
26936 * docs/design/part-conventions.txt:
26937 * docs/design/part-gstobject.txt:
26938 * docs/design/part-relations.txt:
26939 * examples/mixer/mixer.c: (main):
26940 * examples/thread/thread.c: (eos), (main):
26942 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26943 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26944 (gst_spider_plug_from_srcpad):
26945 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26946 (gst_spider_identity_change_state),
26947 (gst_spider_identity_sink_loop_type_finding):
26948 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26949 * gst/elements/gstidentity.c: (gst_identity_init):
26950 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26951 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26952 * gst/elements/gsttypefindelement.c: (free_entry):
26955 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26956 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26957 (gst_bin_set_index), (gst_bin_set_element_sched),
26958 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26959 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26960 (gst_bin_iterate_elements), (iterate_child_recurse),
26961 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26962 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26963 (compare_interface), (gst_bin_get_by_interface),
26964 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26966 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26967 (gst_buffer_default_free), (gst_buffer_default_copy),
26968 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26969 (gst_buffer_create_sub):
26971 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26972 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26973 (gst_caps_unref), (gst_static_caps_get),
26974 (gst_caps_remove_and_get_structure), (gst_caps_append),
26975 (gst_caps_append_structure), (gst_caps_remove_structure),
26976 (gst_caps_copy_nth), (gst_caps_set_simple),
26977 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26978 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26979 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26980 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26981 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26982 (gst_caps_structure_figure_out_union),
26983 (gst_caps_switch_structures), (gst_caps_do_simplify),
26984 (gst_caps_replace), (gst_caps_from_string),
26985 (gst_caps_copy_conditional):
26987 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26988 (_gst_clock_id_free), (gst_clock_id_unref),
26989 (gst_clock_id_compare_func), (gst_clock_id_wait),
26990 (gst_clock_id_wait_async), (gst_clock_class_init),
26991 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26992 (gst_clock_get_time), (gst_clock_set_time_adjust),
26993 (gst_clock_set_property), (gst_clock_get_property):
26996 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26997 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26999 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27000 (gst_element_requires_clock), (gst_element_provides_clock),
27001 (gst_element_set_clock), (gst_element_clock_wait),
27002 (gst_element_wait), (gst_element_set_time_delay),
27003 (gst_element_is_indexable), (gst_element_add_pad),
27004 (gst_element_add_ghost_pad), (gst_element_remove_pad),
27005 (pad_compare_name), (gst_element_get_static_pad),
27006 (gst_element_request_pad), (gst_element_get_request_pad),
27007 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27008 (gst_element_class_get_pad_template_list),
27009 (gst_element_class_get_pad_template), (gst_element_error_func),
27010 (gst_element_get_random_pad), (gst_element_get_event_masks),
27011 (gst_element_send_event), (gst_element_seek),
27012 (gst_element_get_query_types), (gst_element_query),
27013 (gst_element_get_formats), (gst_element_convert),
27014 (gst_element_is_locked_state), (gst_element_set_locked_state),
27015 (gst_element_sync_state_with_parent), (gst_element_change_state),
27016 (gst_element_finalize), (gst_element_yield),
27017 (gst_element_interrupt), (gst_element_set_scheduler),
27018 (gst_element_get_scheduler), (gst_element_set_loop_function):
27019 * gst/gstelement.h:
27021 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27022 (gst_format_get_by_nick), (gst_format_get_details),
27023 (gst_format_iterate_definitions):
27025 * gst/gstindex.c: (gst_index_gtype_resolver):
27028 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27029 (gst_mem_chunk_free):
27030 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27031 (gst_object_ref), (gst_object_unref), (gst_object_sink),
27032 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27033 (gst_object_dispatch_properties_changed),
27034 (gst_object_set_name_default), (gst_object_set_name),
27035 (gst_object_get_name), (gst_object_set_name_prefix),
27036 (gst_object_get_name_prefix), (gst_object_set_parent),
27037 (gst_object_get_parent), (gst_object_unparent),
27038 (gst_object_check_uniqueness), (gst_object_save_thyself),
27039 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27040 (gst_object_set_property), (gst_object_get_property),
27041 (gst_object_get_path_string):
27043 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27044 (gst_real_pad_init), (gst_real_pad_get_property),
27045 (gst_pad_custom_new), (gst_pad_get_direction),
27046 (gst_pad_set_active), (gst_pad_is_active),
27047 (gst_pad_set_event_function), (gst_pad_is_linked),
27048 (gst_pad_link_free), (gst_pad_link_intersect),
27049 (gst_pad_link_fixate), (gst_pad_set_caps),
27050 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27051 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27052 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27053 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27054 (gst_pad_get_caps), (gst_pad_peer_get_caps),
27055 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27056 (gst_pad_realize), (gst_pad_get_allowed_caps),
27057 (gst_real_pad_dispose), (gst_real_pad_finalize),
27058 (gst_pad_collectv), (gst_pad_collect_valist),
27059 (gst_pad_template_dispose), (gst_pad_template_new),
27060 (gst_pad_get_internal_links):
27062 * gst/gstpipeline.c: (gst_pipeline_dispose),
27063 (gst_pipeline_change_state):
27064 * gst/gstpipeline.h:
27066 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27067 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27068 * gst/gstpluginfeature.h:
27069 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27070 * gst/gstquery.c: (_gst_query_type_initialize),
27071 (gst_query_type_register), (gst_query_type_get_by_nick),
27072 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27074 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27075 * gst/gstscheduler.c: (gst_scheduler_add_element),
27076 (gst_scheduler_factory_create):
27077 * gst/gststructure.c: (gst_structure_set_parent_refcount),
27078 (gst_structure_free), (gst_structure_set_name),
27079 (gst_structure_id_set_value), (gst_structure_set_value),
27080 (gst_structure_set_valist), (gst_structure_remove_field),
27081 (gst_structure_remove_fields),
27082 (gst_structure_remove_fields_valist),
27083 (gst_structure_remove_all_fields), (gst_structure_foreach),
27084 (gst_structure_map_in_place),
27085 (gst_caps_structure_fixate_field_nearest_int),
27086 (gst_caps_structure_fixate_field_nearest_double):
27087 * gst/gststructure.h:
27088 * gst/gstsystemclock.c: (gst_system_clock_class_init),
27089 (gst_system_clock_init), (gst_system_clock_dispose),
27090 (gst_system_clock_async_thread),
27091 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27092 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27093 * gst/gstsystemclock.h:
27094 * gst/gsttag.c: (gst_tag_list_add_value_internal),
27095 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27096 * gst/gsttaginterface.c:
27097 * gst/gstthread.c: (gst_thread_dispose),
27098 (gst_thread_release_children_locks), (gst_thread_change_state),
27099 (gst_thread_main_loop):
27100 * gst/gsttrashstack.h:
27101 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27103 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27104 (gst_element_request_pad), (gst_element_get_pad_from_template),
27105 (gst_element_request_compatible_pad),
27106 (gst_element_get_compatible_pad_filtered),
27107 (gst_element_get_compatible_pad), (gst_element_state_get_name),
27108 (gst_element_link_pads_filtered), (gst_element_link_filtered),
27109 (gst_element_link_many), (gst_element_link),
27110 (gst_element_link_pads), (gst_element_unlink_pads),
27111 (gst_element_unlink_many), (gst_element_unlink),
27112 (gst_pad_can_link_filtered), (gst_pad_can_link),
27113 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27114 (gst_object_default_error), (gst_bin_add_many),
27115 (gst_bin_remove_many), (gst_element_populate_std_props),
27116 (gst_element_class_install_std_props), (gst_buffer_merge),
27117 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27118 (link_fold_func), (gst_pad_proxy_setcaps):
27120 * gst/gstvalue.c: (gst_value_deserialize_string):
27121 * gst/parse/grammar.y:
27122 * gst/schedulers/gstbasicscheduler.c:
27123 (gst_basic_scheduler_cothreaded_chain),
27124 (gst_basic_scheduler_chain_recursive_add),
27125 (gst_basic_scheduler_pad_link):
27126 * gst/schedulers/gstoptimalscheduler.c:
27127 (get_group_schedule_function),
27128 (gst_opt_scheduler_state_transition),
27129 (gst_opt_scheduler_add_element), (element_get_reachables_func):
27130 * libs/gst/bytestream/bytestream.c:
27131 * libs/gst/dataprotocol/dataprotocol.c:
27132 (gst_dp_header_from_buffer):
27135 * tests/threadstate/threadstate2.c: (eos):
27136 * tools/gst-compprep.c: (main):
27137 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27138 (print_pad_info), (print_children_info):
27139 * tools/gst-launch.c: (idle_func), (main):
27140 * tools/gst-md5sum.c: (idle_func), (main):
27141 * tools/gst-xmlinspect.c: (print_element_info):
27142 First THREADED backport attempt, focusing on adding locks and
27143 making sure the API is threadsafe. Needs more work. More docs
27146 2005-02-24 Andy Wingo <wingo@pobox.com>
27148 * tests/bench-complexity.scm:
27149 * tests/complexity.gnuplot: New files, good for running complexity
27152 * tests/Makefile.am:
27153 * tests/complexity.c: New test, sets up N elements, at each level
27154 teeing into M streams per element. Eeeenteresting.
27156 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27157 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27158 running bench-mass_elements.scm.
27160 * tests/bench-mass_elements.scm: New script, runs mass_elements
27161 for various numbers of identities, outputting the results to a
27162 file. Requires guile 1.6. Just for testing.
27164 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
27166 * gst/schedulers/fairscheduler.c:
27167 compile with debug disabled
27169 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
27172 hunting season on 0.9 is now OPEN