1 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3 Patch by: Alexis Ballier <aballier at gentoo org>
5 * tests/check/gst/gstabi.c:
6 * tests/check/gst/struct_ppc64.h:
7 * tests/check/libs/libsabi.c:
8 * tests/check/libs/struct_ppc64.h:
9 Decide which header to include based on the userland ABI target
10 and not the kernel/cpu. Fix up structure sizes of ppc64 header
11 for 64-bit userland (#503590). Might need something similar for
14 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
16 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
17 Log the reason why fopen fails in addition to the fact that it failed.
19 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
22 Use "%option never-interactive" to prevent useless calls to isatty()
23 on every input when parsing. Also use "%option noinput" to not define
24 the static input/yyinput functions which we don't use anyway. This
25 removes a compiler warning with gcc 4.3 and saves some bytes in the
28 * gst/parse/lex._gst_parse_yy.pre.c:
29 Regenerated for the above change.
31 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
33 * gst/gstpad.c: (fixate_value):
34 Don't crash when trying to fixate and empty list.
37 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
39 * docs/faq/gst-uninstalled:
40 Clarify the comments to make the usage of this script and what it
41 does easier to understand.
43 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
45 * tools/gst-plot-timeline.py:
46 Add more options to gst-plot-timeline
48 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
50 * docs/design/part-synchronisation.txt:
51 Some more info on how the stream_time in GstBaseSink is done.
53 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
55 * tests/check/generic/sinks.c: (gst_sinks_suite):
56 Put back the tcase_set_timeout(), apparently it's needed after
57 all; fix it up in a way that makes things work with valgrind too.
59 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
61 * gst/gstdebugutils.c:
62 Add warning when failed to open file for writing.
64 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
66 Based on patch by: Laurent Glayal <spglegle yahoo fr>
68 * gst/gstvalue.c: (gst_value_is_fixed):
69 Optimisation: bail out of the loop as early as possible (#500143).
71 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
73 * gst/gstcaps.c: (gst_caps_to_string):
74 * gst/gstinfo.c: (gst_debug_construct_term_color):
75 * gst/gstparse.c: (gst_parse_launchv):
76 * gst/gstutils.c: (gst_util_dump_mem):
77 * gst/gstvalue.c: (gst_value_serialize_any_list),
78 (gst_value_transform_any_list_string):
79 Bunch of gratuitous nano-optimisations.
81 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
83 * tests/check/generic/sinks.c: (async_done_func),
84 (async_done_eos_func):
85 Fix leak in unit test (bus sync handler must unref the message
86 if it returns GST_BUS_DROP). Don't fiddle with the default test
87 timeout, this is smaller than the current preconfigured value
88 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
89 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
91 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
93 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
96 Check for stdio_ext.h for the filesink changes.
98 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
99 (gst_file_sink_class_init), (gst_file_sink_init),
100 (gst_file_sink_dispose), (gst_file_sink_set_property),
101 (gst_file_sink_get_property), (gst_file_sink_open_file),
102 (gst_file_sink_close_file):
103 * plugins/elements/gstfilesink.h:
104 Add two properties to control the buffering mode and size.
105 API: GstFileSink::buffer-mode
106 API: GstFileSink::buffer-size
109 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
111 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
112 Add some more docs to explain why a FIXME was wrongly added.
114 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
117 Fix typo in the gst_object_{ref,unref} documentation.
119 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
121 * tests/check/libs/controller.c:
122 * tests/check/libs/typefindhelper.c:
123 * tests/check/pipelines/parse-launch.c:
124 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
125 going to be deprecated (see #498924).
127 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
129 * gst/gsttypefind.c: (gst_type_find_register):
130 Make gst_type_find_register work for static typefind functions,
131 ie. allow passing plugin == NULL (prerequisite for #498924).
133 * gst/gstelementfactory.c: (gst_element_register):
136 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
138 * gst/gstpad.c: (gst_pad_dispose):
139 Really unlink the peer pad instead of setting the peer pointer to NULL
140 when we dispose the pad.
141 This correctly calls the unlink functions and makes sure that the peer
142 does not have a handle to invalid memory. See #504671.
144 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
145 Add testsuite for above case.
147 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
149 Patch by: Peter Kjellerstedt <pkj axis com>
151 * libs/gst/check/gstcheck.h:
152 Fix detection of the check version we're compiling against (would
153 otherwise break if check goes v0.10.0); correctly report the
154 name of the failed test again in case of failure, instead of
155 just 'tf' (fixes #504499).
157 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
159 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
160 (gst_base_src_get_range), (gst_base_src_pad_get_range),
161 (gst_base_src_loop), (gst_base_src_set_flushing),
162 (gst_base_src_change_state):
163 Allow sending EOS to the source to make it send out an EOS event from
164 the streaming thread.
165 Update docs and deprecate the old NULL/READY shutdown method.
167 * tests/check/libs/basesrc.c: (GST_START_TEST),
169 Add unit test for controlled shutdown.
171 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
173 * docs/design/part-synchronisation.txt:
176 * gst/gstsegment.c: (gst_segment_set_seek),
177 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
178 (gst_segment_to_running_time):
179 The seek format can be different from the segment format when the start
180 and stop values are not to be updated, when we only do a rate change for
183 * tests/check/gst/gstsegment.c: (GST_START_TEST),
185 Add a testcase for the rate-only seeks, checking that the format is
186 correctly ignored when start and stop are not updated.
188 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
190 Patch by: Matthias Bolte <photon at mail dot upb dot de>
192 * win32/vs8/grammar.vcproj:
193 * win32/vs8/libgstcontroller.vcproj:
194 * win32/vs8/libgstreamer.vcproj:
195 Fix compilation with VS8 and include some missing files.
197 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
200 Small docs addition: mention that the strings returned by
201 gst_tag_list_get_string*() are in UTF-8 encoding.
203 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
206 The check-exports stuff moved to common/win32.mak, so include that.
208 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
210 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
211 (gst_base_src_perform_seek), (gst_base_src_get_range),
212 (gst_base_src_set_playing), (gst_base_src_change_state):
213 Make _wait_playing() not check any variables so that we can call this
214 function from subclasses. Move the checks elsewhere similar to
215 _wait_preroll() in basesink.
217 Only signal the LIVE cond when we are going back to PLAYING.
219 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
221 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
222 Use g_remove() and g_rename(). Check result of g_rename(), and
223 don't leak the open file descriptor if we error out when writing.
225 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
226 Must check the return value of close() after writing out the new
227 registry file. Sometimes write problems such as out-of-diskspace
228 are only reported when the file is closed and not already during
229 the write. This may have caused partial/broken registry files in
230 some rare circumstances. Should fix #503675.
232 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
234 * docs/gst/.cvsignore:
235 * docs/libs/.cvsignore:
236 * docs/plugins/.cvsignore:
237 Ignore files generated by new common/* modifications
239 2007-12-15 Stefan Kost <ensonic@users.sf.net>
241 * win32/common/libgstbase.def:
242 Yes, you can also have a <TAB> if you want.
244 2007-12-15 Stefan Kost <ensonic@users.sf.net>
246 * win32/common/libgstbase.def:
247 Add new basetransform API to win export file.
249 2007-12-15 Stefan Kost <ensonic@users.sf.net>
251 * tests/check/gst/gstbin.c:
252 Adjust the test to the refcount change two days ago.
254 2007-12-14 David Schleef <ds@schleef.org>
256 * docs/faq/getting.xml: Fix typo.
258 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
260 * docs/libs/gstreamer-libs-sections.txt:
261 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
262 (gst_base_transform_prepare_output_buffer),
263 (gst_base_transform_set_gap_aware):
264 * libs/gst/base/gstbasetransform.h:
265 API: Add gst_base_transform_set_gap_aware() to control whether
266 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
267 get buffers with this flag at all. Fixes #503231.
269 2007-12-13 Stefan Kost <ensonic@users.sf.net>
271 * libs/gst/base/gstbasesink.c:
272 * libs/gst/base/gstbasesrc.c:
273 * libs/gst/base/gstbasetransform.c:
274 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
275 thread. Correct log message in gstbasesrc.c.
277 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
279 * gst/gstutils.c: (element_find_unconnected_pad):
280 Fix possible compiler warning (#503417).
282 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
284 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
285 Don't use GST_CAT_EVENT here for logging, it makes no sense.
287 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
289 * tools/gst-inspect.c: (print_element_properties_info):
290 Add support for GstFraction properties.
292 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
295 Add check-exports target and run it as part of 'make check'
296 (see #499140 and #493983).
299 * gst/gstelementfactory.h:
300 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
301 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
302 (_priv_gst_in_valgrind):
303 * gst/gstinfo.h: (GstLogFunction):
304 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
305 (gst_type_find_register):
306 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
307 (gst_type_find_factory_get_type):
308 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
309 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
310 (gst_controller_new_valist), (gst_controller_new_list),
311 (_gst_controller_dispose), (_gst_controller_class_init):
312 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
313 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
314 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
315 (gst_object_get_controller), (gst_object_set_controller),
316 (gst_object_suggest_next_sync), (gst_object_sync_values),
317 (gst_object_set_control_source), (gst_object_get_control_source),
318 (gst_object_get_value_arrays), (gst_object_get_value_array),
319 (gst_object_get_control_rate), (gst_object_set_control_rate):
320 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
321 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
322 Make some functions that should be static static; rename some
323 private symbols so that they don't get exported; add some FIXME
324 comments so we can move accidentally exported functions into
325 our private section in 0.11.
327 * win32/common/libgstreamer.def:
328 Add gst_utils_get_timestamp().
330 2007-12-12 Stefan Kost <ensonic@users.sf.net>
334 Add more missing "Since:" tags to docs.
336 2007-12-12 Stefan Kost <ensonic@users.sf.net>
339 Add mising "Since:" to docs.
341 2007-12-11 Stefan Kost <ensonic@users.sf.net>
344 Include "glib-compat-private.h" to fix the build on system with
345 glib < 2.10. Fixes #503131.
347 2007-12-11 Stefan Kost <ensonic@users.sf.net>
351 Actually its not PURE as it gets the time from elsewhere.
353 2007-12-11 Stefan Kost <ensonic@users.sf.net>
355 * docs/gst/gstreamer-sections.txt:
357 * gst/gstdebugutils.c:
361 * libs/gst/base/gstbasesink.c:
362 * tools/gst-launch.c:
363 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
364 uses as we don't have HAVE_POSIX_TIMERS in public headers.
365 Thanks Tim for spotting.
367 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
370 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
372 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
374 * gst/gststructure.c: (gst_structure_validate_name),
375 (gst_structure_new_valist), (gst_structure_parse_value),
376 (gst_structure_from_string):
377 Don't crash in _from_string() if the structure name is not valid
378 (fixes #501560). Allow structure names to start with a number
379 again (this apparently broke the ubuntu codec installer).
381 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
383 Add unit test for the crash; update unit tests for new behaviour.
385 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
388 Clarify gst_element_get_compatible_pad() documentation.
391 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
393 * tests/check/Makefile.am:
394 Don't forget to dist {gst,libs}/struct_hppa.h.
396 2007-11-28 Stefan Kost <ensonic@users.sf.net>
398 * libs/gst/base/gstbasesink.c:
399 Use new API to get elapsed time.
401 2007-11-28 Stefan Kost <ensonic@users.sf.net>
403 * gst/gstdebugutils.c:
405 Fix wrong order of args in GST_CLOCK_DIFF() usage.
407 * tools/gst-launch.c:
408 Use new API to get elapsed time.
410 2007-11-28 Stefan Kost <ensonic@users.sf.net>
412 * docs/gst/gstreamer-sections.txt:
414 * gst/gstdebugutils.c:
416 Rename new API + ChangeLog surgery to remove old name from last entry..
417 API: GST_GET_TIMESTAMP
419 2007-11-28 Stefan Kost <ensonic@users.sf.net>
421 * docs/gst/gstreamer-sections.txt:
423 * gst/gstdebugutils.c:
425 Now hide the different clock stuff behind a macro.
427 2007-11-28 Stefan Kost <ensonic@users.sf.net>
430 * gst/gstdebugutils.c:
432 Apply the posix-timer check from #361155. Conditionally use the posix
433 timer for logging. This gives better timestamp precission, less
434 overhead and no ntp jitter.
436 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
438 * gst/gstminiobject.c: (gst_mini_object_get_type),
439 (gst_mini_object_class_init), (gst_mini_object_copy_default),
440 (gst_mini_object_finalize), (gst_mini_object_copy),
441 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
442 (gst_mini_object_replace), (param_mini_object_validate),
443 (gst_param_spec_mini_object_get_type):
444 Some cleanup and checking against invalid function parameters.
446 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
448 * docs/gst/gstreamer-sections.txt:
450 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
451 (gst_systemclock_suite):
452 Start merging in the easy bits of #361155, the monotonic clock patch.
453 This one adds a few handy macros with docs and a testsuite.
455 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
457 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
458 Be a bit smarter when seeking, like, don't try to do a seek when it's
459 not needed. This avoids errors when the file is not seekable.
462 2007-11-26 Stefan Kost <ensonic@users.sf.net>
464 * docs/gst/gstreamer-docs.sgml:
465 * docs/gst/gstreamer-sections.txt:
466 * docs/gst/gstreamer.types.in:
471 * plugins/elements/gstqueue.c:
472 Due to popular request remove preset interface again. :-(.
474 2007-11-22 Stefan Kost <ensonic@users.sf.net>
476 * tools/gst-inspect.c:
477 Print 'default value' for enums and flags too.
479 2007-11-22 Stefan Kost <ensonic@users.sf.net>
481 * docs/random/ensonic/profiling.txt:
485 Fix typo and give better log output.
487 * gst/gstdebugutils.c:
488 * gst/gstdebugutils.h:
489 More ideas, make graphs a bit smaller and fix param name in macro.
491 2007-11-22 Stefan Kost <ensonic@users.sf.net>
494 Try harder to use the return value from fgets().
496 2007-11-21 Stefan Kost <ensonic@users.sf.net>
499 For theses two fgets we handle the error below.
501 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
503 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
504 Only send upstream events upstream. Fixes #498746.
506 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
508 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
510 * plugins/elements/gstidentity.c: (gst_identity_class_init),
511 (gst_identity_init), (gst_identity_transform_ip),
512 (gst_identity_set_property), (gst_identity_get_property):
513 * plugins/elements/gstidentity.h:
514 Add property to disable handoff signal emission. Fixes #498694.
515 API: GstIdentity::signal-handoffs
517 2007-11-21 Julien Moutte <julien@fluendo.com>
519 * docs/faq/gst-uninstalled: Yet another missing library for the
520 uninstalled script (fft)
522 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
524 * docs/faq/developing.xml:
525 Add a question about how to submit new translations.
527 * docs/random/release:
528 Update the contact email address for the Translation Project
530 * plugins/elements/gstfdsrc.c:
531 The parent_class for fdsrc is pushsrc, not GstElement.
533 2007-11-20 Stefan Kost <ensonic@users.sf.net>
536 Plug a leak and fix saving.
538 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
540 * docs/gst/gstreamer-sections.txt:
541 Add new gst_preset__get_property_names() function to the docs
544 2007-11-20 Stefan Kost <ensonic@users.sf.net>
548 Change _get_preset_names API to return a strv with copies. Add
549 _get_property_names to allow implementations to filter and provide
550 good default implementation.
552 2007-11-20 Julien MOUTTE <julien@moutte.net>
554 * docs/faq/gst-uninstalled: Add another library to the uninstalled
557 2007-11-19 Stefan Kost <ensonic@users.sf.net>
560 More cleanups, docs, and TODOs from comments that now slowly come in.
562 2007-11-19 Julien MOUTTE <julien@moutte.net>
564 * docs/faq/gst-uninstalled: Add new base libraries in the LD
567 2007-11-19 Stefan Kost <ensonic@users.sf.net>
570 Fix bogus warning and make the property type specific code more
573 2007-11-19 Julien MOUTTE <julien@moutte.net>
575 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
578 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
580 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
581 (gst_bin_add_func), (gst_bin_remove_func),
582 (gst_bin_change_state_func), (gst_bin_continue_func):
583 Change email, cleanups add some more debug and comments.
584 Also set bus and clock on new elements when the pipeline was in error.
586 2007-11-18 Stefan Kost <ensonic@users.sf.net>
589 * gst/gstdebugutils.c:
590 Fix build with --disable-gst-debug. Fixes #497859.
591 Spotted by Sameer Naik.
593 2007-11-17 Stefan Kost <ensonic@users.sf.net>
596 Little documentation improvment.
599 More TODO cleanups. Remove c++ comments.
601 * libs/gst/controller/gstcontroller.c:
602 Add TODO and use quark from static string.
604 * tests/check/gst/gstmessage.c:
605 * tests/check/gst/gststructure.c:
606 Use quark from static string.
608 2007-11-17 Stefan Kost <ensonic@users.sf.net>
611 Add some comments and TODOs.
614 Add padding for future changes.
616 * plugins/elements/gstqueue.c:
619 2007-11-17 Stefan Kost <ensonic@users.sf.net>
621 * docs/gst/gstreamer-docs.sgml:
622 * docs/gst/gstreamer-sections.txt:
623 * docs/gst/gstreamer.types.in:
628 Add the preset interface (Fixes #396779). Do some doc cleanups along.
630 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
636 === release 0.10.15 ===
638 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
641 releasing 0.10.15, "October"
643 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
645 * win32/vs6/libgstreamer.dsp:
646 Convert line endings back to DOS.
648 2007-11-13 Stefan Kost <ensonic@users.sf.net>
650 * docs/design/draft-tagreading.txt:
651 * docs/random/ensonic/profiling.txt:
652 Update fast tagreading draft and performance profiling ideas.
654 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
656 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
657 Don't hold the object lock when unreffing a buffer because it could
658 cause a deadlock when the finalize function wants to grab the object
659 lock too. Fixes #495133.
661 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
663 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
664 (gst_segment_to_stream_time), (gst_segment_to_running_time):
665 Also accumulate time correctly when doing reverse playback. Fixes
667 When converting to running and stream time, use default values for
668 start/stop/time/accum when comparing different formats. Fixes #494245.
670 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
671 Do running/stream time in TIME format.
673 * tests/check/gst/gstsegment.c: (GST_START_TEST),
675 2 new unit tests for segment accumulation.
677 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
679 * gst/gst.c: (init_pre):
680 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
681 (_gst_debug_bin_to_dot_file):
682 Move getenv() back into gst_init, so everyone can live happily
683 ever after. Make sure the symbol isn't exported though.
685 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
687 Patch by: Sebastien Moutte <sebastien moutte net>
689 * win32/common/gstenumtypes.c:
690 * win32/common/gstenumtypes.h:
693 * win32/vs6/libgstreamer.dsp:
694 Update vs6 project files (#494343).
696 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
698 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
699 (gst_base_src_perform_seek), (gst_base_src_default_event),
700 (gst_base_src_set_flushing), (gst_base_src_activate_push),
701 (gst_base_src_activate_pull):
702 Unify flushing code, remove some old unlock code that is no longer used.
703 Take the streaming lock when seeking to avoid races. Fixes #492729.
704 Added some more comments.
706 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
708 * gst/gst.c: (_gst_disable_segtrap):
709 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
710 we can use gst_segtrap_is_enabled() there now that we have that API.
711 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
712 to do the getenv here (and export the variable).
714 * gst/gstdebugutils.c: (debug_dump_element),
715 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
716 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
718 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
719 (gst_debug_log_default):
720 Rename _gst_info_start_time to priv_gst_info_start_time so it
721 doesn't get exported (was never in any header).
723 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
724 (gst_plugin_loading_mutex):
725 Make static mutex gst_plugin_loading_mutex really static (was never
726 in any header), and use gst_segtrap_is_enabled() instead of
727 _gst_disable_segtrap.
729 * gst/gsttrace.c: (_gst_trace_default):
730 Make local _gst_trace_default static (was never in any header).
732 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
734 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
736 * win32/common/libgstbase.def:
737 * win32/common/libgstcontroller.def:
738 * win32/common/libgstdataprotocol.def:
739 * win32/common/libgstnet.def:
740 * win32/common/libgstreamer.def:
741 Add more missing symbols, remove some duplicates, and sort
742 as the 'sort' command sorts it (partially fixes #493983).
744 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
746 * gst/gstelement.c: (gst_element_set_state_func):
747 Only change the state cookie if a different state was set on the
748 element. See #492729.
750 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
753 Remove unused and uninitialised type variables that were still
754 exported for some reason (they were never in any header files
757 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
759 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
760 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
761 (gst_base_sink_event), (gst_base_sink_get_position_last),
762 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
763 (gst_base_sink_change_state):
764 Don't try to report a 0 position when we don't know, return -1 and FALSE
765 instead. This mostly happens when we are prerolling.
766 Make sure we can report the right position before we post the ASYNC_DONE
767 message so that a message handler can query position without races.
769 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
770 (async_done_handoff), (async_done_func), (send_buffer),
771 (async_done_eos_func), (gst_sinks_suite):
772 Add two tests for the above.
774 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
777 Update with new email address.
779 * docs/design/part-TODO.txt:
780 Add some more info about future pad-block and negotiation changes.
782 * docs/design/part-buffering.txt:
783 Add some ideas about buffering reporting.
785 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
787 * tests/check/gst/gstobject.c:
788 Disable silly racy test that always fails on this combination of CPU
791 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
793 Patch by: Murray Cumming <murrayc@murrayc.com>
796 Corrected the registration of the parent-set and parent-unset
797 signals: The parameter is a GstObject, not a GObject (#493134).
799 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
810 Move declaration of private _gst_foo_initialize() functions into
811 our private header file where they should have been all along.
813 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
815 * docs/plugins/gstreamer-plugins-sections.txt:
816 * gst/gstdebugutils.h:
818 * plugins/elements/gstqueue.c:
819 gtk-doc fixes; trailing-comma-in-enum fix.
821 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
823 * gst/gst.c: (gst_deinit):
824 Clean up on deinit (not the external ones though, doesn't seem to be
825 needed for some reason).
827 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
829 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
830 Remove __declspec(dllimport) for MSVC that was copied over into core
831 from a plugin, obviously without ever having been tested (note the
832 single underscore in _declspec in the initial commit), and that doesn't
833 really make sense. See #492077.
835 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
837 * gst/gst.c: (init_post):
838 * gst/gstevent.c: (_gst_event_initialize):
839 * gst/gstquery.c: (_gst_query_initialize):
840 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
841 g_type_class_ref() other types as well, see #349410 and #64764.
843 * gst/gstbuffer.c: (_gst_buffer_initialize):
844 * gst/gstmessage.c: (_gst_message_initialize):
845 Simplify existing g_type_class_ref().
847 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
849 * gst/gstformat.c: (_gst_format_initialize):
850 g_type_class_ref() our GstFormat type to make sure we avoid the
851 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
852 bug #64764. Should fix intermittent tee unit test failures (#474823).
854 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
856 * tests/check/elements/tee.c: (test_num_buffers):
857 Simplify, simplify, simplify - or not. Rewrite unit test
858 not to use gst_parse_launch(); allow N sub-streams. Increasing
859 the number of sub-streams seems to reproduce #474823 more easily.
861 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
863 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
866 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
867 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
868 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
869 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
870 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
871 so use _pipe() directly (#492077).
873 * win32/common/dirent.c: (_treaddir):
874 Add a couple of casts to make it build without warnings with MSVC.
876 * win32/common/libgstreamer.def:
877 Add some more symbols that need to be exported.
879 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
881 * tests/examples/metadata/read-metadata.c: (message_loop):
882 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
883 arriving in a second or third tag message are added to
884 the tag list as well.
886 2007-10-31 Stefan Kost <ensonic@users.sf.net>
888 * libs/gst/base/gstbasesrc.c:
889 Its "Since:" and not "@Since:". And remove an superflous cast.
891 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
893 * docs/libs/gstreamer-libs-sections.txt:
894 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
895 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
896 (gst_base_sink_get_property), (gst_base_sink_render_object),
897 (gst_base_sink_preroll_object),
898 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
899 (gst_base_sink_change_state):
900 * libs/gst/base/gstbasesink.h:
901 Add a new last-buffer property that contains the last buffer used in
902 basesink for preroll or rendering. useful for making snapshots.
903 API: gst_base_sink_get_last_buffer()
904 API: GstBaseSink::last-buffer
906 2007-10-29 Stefan Kost <ensonic@users.sf.net>
908 * docs/gst/running.xml:
910 * gst/gstdebugutils.c:
911 * gst/gstdebugutils.h:
912 * tools/gst-launch.c:
913 Improve bin graph dumping, by using the envvar to specify a path.
914 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
916 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
918 * plugins/elements/gsttypefindelement.c:
919 (gst_type_find_element_handle_event),
920 (gst_type_find_element_activate):
921 Post special error message if we can't determine the type of a stream
924 2007-10-29 Stefan Kost <ensonic@users.sf.net>
926 * docs/gst/running.xml:
927 * gst/gstdebugutils.c:
928 Document new env-var. Add one log-line after dumpng a graph.
930 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
933 Ugly hack to put the (recently removed and non-portable, apparently)
934 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
935 GNU ld, because without that 'make check' fails miserably on my debian
936 stable box. Someone with more knowledge of linker intricacies and
937 portability issues than me fix this properly please.
939 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
941 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
942 Reset last seen position after flushing so that we don't report the old
945 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
947 * gst/gstelementfactory.c: (gst_element_register):
949 Patch from Alessandro Decina adding get_type_full and
950 get_protocols_full private vfuncs to the URIHandler interface
951 to allow bindings to support creating URI handlers.
952 Partially fixes: #339279
953 API: GstURIHandlerInterface::get_type_full
954 API: GstURIHandlerInterface::get_protocols_full
956 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
958 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
959 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
960 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
961 Make it so that pads are considered linked until a buffer is pushed
962 and discovered otherwise. This avoids problems with decodebin2 hanging
963 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
966 Make sure we lock the multiqueue when updating the max-size properties.
968 Fix a crash on Solaris in a debug statement in get_request_pad that
969 passes a NULL string to GST_DEBUG.
971 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
972 (run_output_order_test):
973 Fix the test to allow the first buffer on not-linked pads to come out
974 of sequence while multiqueue discovers that they are not-linked.
976 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
979 * libs/gst/check/Makefile.am:
980 Use a custom export symbol regex for libgstcheck, as it needs
981 to export symbols that don't match the standard GStreamer gst_*
982 pattern, and --export-dynamic is not portable (only works on
985 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
986 (gst_check_setup_sink_pad):
987 Make sure to pass a message parameter to the fail_* macros.
989 * tests/check/gst/gstinfo.c: (GST_START_TEST):
990 Fix some compiler warnings.
992 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
994 * tests/check/gst/gststructure.c: (test_to_string):
995 Disable test that checks that white spaces are not allowed
996 in structure names or field names, since we need to
997 support that for now for backwards compatibility reasons.
999 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1001 * docs/gst/gstreamer-sections.txt:
1004 API: add GST_TAG_ARTIST_SORTNAME
1005 API: add GST_TAG_ALBUM_SORTNAME
1006 API: add GST_TAG_TITLE_SORTNAME
1007 Add tag variants for sorting (#414539).
1009 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
1011 * gst/gststructure.c:
1012 Also allow white space for names so we don't break
1013 backwards compatibility.
1015 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
1017 * docs/design/part-TODO.txt:
1018 * docs/design/part-segments.txt:
1019 * docs/design/part-streams.txt:
1022 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
1024 * docs/gst/gstreamer-sections.txt:
1025 Fixed documentation from my previous commit (added new API add
1026 gst_value_set_structure(), add gst_value_get_structure() and
1027 GST_VALUE_HOLDS_STRUCTURE).
1029 2007-10-22 Stefan Kost <ensonic@users.sf.net>
1031 * gst/gstdebugutils.c:
1032 Reflow code to fix uninitialized variable warning.
1034 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
1036 * gst/gstcaps.c: (gst_caps_to_string),
1037 (gst_caps_from_string_inplace):
1038 * gst/gststructure.c: (gst_structure_get_abbrs),
1039 (gst_structure_to_string), (gst_structure_from_string):
1040 * gst/gstvalue.c: (gst_value_set_structure),
1041 (gst_value_get_structure), (gst_value_serialize_structure),
1042 (gst_value_deserialize_structure), (_gst_value_initialize):
1044 * tests/check/gst/gststructure.c: (GST_START_TEST),
1045 (gst_structure_suite):
1046 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1047 Added GstStructure to gst_value_table and its related functions.
1048 Changed gst_structure_to_string to print ';' in the end.
1049 Changed gst_caps_to_string to not print ';' beteween its
1050 fields (structures) anymore and remove the lastes ';' from latest
1051 structure. Now it is possible to have nested structures.
1052 In addition, backward compatibilty is assured by accepting '\0' as
1053 end delimiter. Fixes: #487969.
1054 API: add gst_value_set_structure()
1055 API: add gst_value_get_structure()
1056 API: add GST_VALUE_HOLDS_STRUCTURE
1058 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
1061 When no GSource callback has been set up, tell developer
1062 to use a function that actually exists.
1064 2007-10-17 Stefan Kost <ensonic@users.sf.net>
1066 * docs/gst/gstreamer-sections.txt:
1070 * gst/gstdebugutils.c:
1071 * gst/gstdebugutils.h:
1074 * tools/gst-launch.c:
1075 Allow dumping pipelines as dot graphs. Fixes #456573.
1077 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1079 * gst/gststructure.c:
1080 Allow '+' as well, it can be part of media or mime types
1081 such as image/svg+xml.
1083 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1085 * docs/gst/gstreamer-sections.txt:
1088 API: add gst_bus_pop_filtered
1089 API: add gst_bus_timed_pop_filtered
1090 Two new functions for waiting for specific message types on the
1091 bus for a specified amount of time without iterating any main
1092 loops or main contexts.
1094 * tests/check/gst/gstbus.c:
1095 Some tests for the new functions.
1097 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1099 * docs/libs/gstreamer-libs-sections.txt:
1100 Make gtk-doc ignore stuff it should ignore.
1102 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
1104 * libs/gst/check/gstcheck.c:
1105 * libs/gst/check/gstcheck.h:
1106 Allow runtime selection of unit tests to run via the GST_CHECKS
1107 environment variable (test case function names, comma-separated).
1109 2007-10-16 Stefan Kost <ensonic@users.sf.net>
1111 * gst/gststructure.c:
1112 * tests/check/gst/gststructure.c:
1113 Revert serialisation change and constrain structure-names after
1114 consensus on irc. Update api documentation to reflect the change.
1116 2007-10-16 Stefan Kost <ensonic@users.sf.net>
1118 * gst/gststructure.c:
1119 Improve serialization and fix tests.
1121 * tests/check/gst/gststructure.c:
1122 Add another test that covers why I actually did the previous structure
1125 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
1127 * tools/gst-inspect.c: (print_element_info):
1128 Don't crash when inspecting an element.
1130 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
1132 * tests/check/gst/gststructure.c:
1133 Add unit test for escaping of structure name when serialising
1134 and deserialising to/from strings.
1136 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
1138 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1139 (gst_single_queue_new):
1140 * plugins/elements/gstqueue.c: (gst_queue_init),
1141 (gst_queue_push_one):
1142 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1143 upstream is tricked into thinking it can suggest a format downstream
1144 while downstream does not support that format. The real problem is that
1145 core calls acceptcaps when pushing a buffer with new caps, for which we
1146 do a little workaround by setting the caps on the srcpad ourselves
1147 before pushing the buffer (until this is figured out). Fixes #486758.
1149 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1151 * gst/gststructure.c:
1153 Add some more comments and debug output. Quote structure name to fix
1154 deserialisation of some strings.
1156 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1159 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1160 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1162 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1164 * tools/gst-inspect.c:
1165 Save approx. 400 1 byte allocs when printing. Use API to acces element
1171 * tools/gst-xmlinspect.c:
1172 Use API to acces element details.
1174 2007-10-15 Stefan Kost <ensonic@users.sf.net>
1177 Fix some spelling errors.
1179 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
1181 * gst/gstbin.c: (bin_handle_async_done):
1182 Correctly set the next state if all of our async children commited their
1183 state. This makes sure we can actually cancel the state change in
1184 progress. Fixes a regression in Rhythmbox when seeking.
1186 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
1189 Don't shadow local variable.
1192 Don't shadow global function name.
1194 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
1196 * gst/gstelementfactory.c:
1197 * gst/gstpluginfeature.c:
1198 * gst/gstpluginfeature.h:
1199 * gst/gstregistrybinary.c:
1200 * gst/gstregistryxml.c:
1201 * gst/gsttypefind.c:
1202 Use already-interned string for the private GstPluginFeature
1205 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1207 * docs/libs/gstreamer-libs-sections.txt:
1208 Add new API to docs; fixes the build.
1210 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
1212 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1214 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1215 (gst_base_sink_event):
1216 * libs/gst/base/gstbasesink.h:
1217 Add function to wait for EOS, subclasses can use this to correctly wait
1218 for devices to drain before performing the EOS logic. Fixes #485343.
1219 API: gst_base_sink_wait_eos()
1221 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1224 Cast description string constants in GST_PLUGIN_DEFINE macros
1225 to a (gchar*) to make C++ code using these macros compile
1226 without warning with g++-4.2 (see #462737). Even if slightly
1227 ugly, this seems preferable to putting the description strings
1228 into the GLib quark table or making the structure member a
1229 const gchar * and doing casts in core code that allocs and
1230 frees these strings, or requiring a cast in the C++ code.
1232 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1235 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1236 to print the entire class/function signature into the log
1237 file for C++ code. This only affects C++ code, for C code
1238 everything remains the same.
1240 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
1242 * gst/gstbin.c: (remove_from_queue):
1243 Work around a problem with pipelines containing (semi)loops until a
1244 proper, more complicated solution is ready. See #475455.
1246 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1250 * gst/gstregistrybinary.c:
1251 * gst/gstregistryxml.c:
1252 Put more strings into the GLib quark table. No need to keep
1253 a hundred-something copies of identical version strings,
1254 license strings, package name strings and package origin
1257 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1259 * docs/manual/advanced-dataaccess.xml:
1260 Don't imply that it's okay to unconditionally change
1261 buffer data or buffer metadata in a pad probe callback,
1262 and a bunch of other comments. Fixes #430031.
1264 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1266 * win32/common/gstenumtypes.c:
1267 * win32/common/gstenumtypes.h:
1268 * win32/common/gstversion.h:
1269 Update generated files.
1271 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1273 * docs/manual/advanced-autoplugging.xml:
1274 Prefix section with broken code with a warning (see #342432).
1276 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1278 * docs/manual/appendix-integration.xml:
1279 * docs/manual/basics-init.xml:
1280 Call g_thread_init() before g_option_context_new() to
1281 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1283 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1285 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1286 (gst_base_sink_queue_object_unlocked),
1287 (gst_base_sink_queue_object), (gst_base_sink_event),
1288 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1289 When we received EOS and are waiting for when to post the EOS message,
1290 our state is prerolled and we should not return ASYNC.
1291 Reorganize some code paths to implement this behavior.
1293 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1295 Add unit test to verify above EOS fix.
1297 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1299 * plugins/elements/gsttypefindelement.c:
1300 (gst_type_find_element_have_type), (gst_type_find_element_init),
1301 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1302 Move detecting the input caps of the sinkpad to the setcaps function.
1303 This allows us to update the output caps when we receive new input caps
1304 instead of always using the first detected caps.
1306 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1308 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1309 (gst_base_sink_get_position):
1310 Don't try to preroll non-async elements after a flush.
1311 Subtract latency form clock times when reporting position.
1313 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1315 * gst/gstpad.c: (gst_pad_pause_task):
1317 Small comment and documentation update.
1319 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1321 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1322 (gst_base_src_set_live), (gst_base_src_is_live),
1323 (gst_base_src_query_latency), (gst_base_src_perform_seek),
1324 (gst_base_src_default_event), (gst_base_src_wait),
1325 (gst_base_src_do_sync), (gst_base_src_get_range),
1326 (gst_base_src_pad_get_range), (gst_base_src_loop),
1327 (gst_base_src_unlock), (gst_base_src_unlock_stop),
1328 (gst_base_src_set_flushing), (gst_base_src_set_playing),
1329 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1330 (gst_base_src_change_state):
1331 Rework the locking of basesrc in a similar fashion to basesink. We
1332 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1333 us to handle live sources and semi live ones much better.
1335 Fix unlocking when seeking, shutting down and pausing in live sources.
1337 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1339 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1340 Fix compilation again.
1342 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1345 Use meaningful categories for the logs to clean the default one.
1347 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1349 * tests/check/pipelines/cleanup.c:
1350 Print message name and not just number.
1352 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1354 * docs/design/draft-tagreading.txt:
1355 Add some more thoughts.
1357 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1359 * tests/check/pipelines/simple-launch-lines.c:
1360 Print message name and not just number.
1362 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1364 * libs/gst/base/gsttypefindhelper.c:
1365 Speedup typefinding. This is work in progress (see #459862).
1367 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1370 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1371 Spotted by Josep Torra Valles <josep@fluendo.com>.
1373 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1376 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1377 field has moved to GstObject.
1379 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1381 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1382 (gst_base_src_get_range), (gst_base_src_change_state):
1383 Call unlock for live sources so that they can't get stuck in _create and
1384 produce a buffer before they are set back to PLAYING.
1386 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1388 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1389 (gst_queue_locked_dequeue):
1390 Comment the segment-related code... in the PROPER function.
1391 See #482147 and my commit from yesterday.
1393 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1395 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1396 Also initialize the counter that calculates the first timestamp on a
1397 buffer correctly for non-live sources.
1399 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1401 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1402 Disable code that's breaking the current-time-level reporting.
1405 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1407 * docs/gst/gstreamer-sections.txt:
1408 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1409 as they shouldn't show up. Fixes the docs build.
1411 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1414 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1415 Define M_PI which is used in files which are including gstinfo.h.
1416 VS6 includes doesn't define it.
1417 * win32/common/libgstbase.def:
1418 * win32/common/libgstcontroller.def:
1419 * win32/common/libgstreamer.def:
1420 Add new exported functions and variables.
1421 * win32/vs6/libgstcontroller.dsp:
1422 * win32/vs6/libgstreamer.dsp:
1423 Update the list of files to build.
1425 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1427 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1429 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1430 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1431 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1432 Improve debugging. Fixes #480858.
1434 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1436 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1438 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1439 First patch of code cleanups, use the macros and right arguments in the
1440 macros to signal and lock the queue. See #480858.
1442 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1444 * gst/gstbus.c: (poll_func):
1445 Improve debugging when dealing with _poll().
1447 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1449 * gst/gstregistryxml.c:
1450 Fix memory leak I introduced a few days ago.
1452 2007-09-26 Michael Smith <msmith@fluendo.com>
1454 * gst/gstbuffer.c: (gst_buffer_finalize):
1455 Make it once again possible to free GstBuffers in the default
1457 The poisoning scribbles on parts of the miniobject we need in
1461 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1463 * docs/gst/gstreamer-sections.txt:
1466 API: add GST_TAG_COMPOSER, fixes #459809.
1468 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1472 Add the 3-clause BSD license and the MIT/X11 license to the license
1473 list. Fixes #479784.
1475 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1477 * docs/faq/getting.xml:
1478 Add Q+A about different GStreamer versions (#364056).
1480 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1482 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1483 (gst_base_sink_event), (gst_base_sink_change_state):
1484 Return correct gboolean from query function.
1486 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1488 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1489 (gst_base_sink_event), (gst_base_sink_query),
1490 (gst_base_sink_change_state):
1491 Simplify latency query.
1492 When not synchronizing, we can report latency without querying the peer
1495 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1499 Fix small typos in the docs.
1501 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1503 * docs/design/draft-latency.txt:
1504 * docs/design/draft-push-pull.txt:
1505 * docs/design/draft-tagreading.txt:
1506 * docs/design/part-MT-refcounting.txt:
1507 * docs/design/part-activation.txt:
1508 * docs/design/part-block.txt:
1509 * docs/design/part-element-source.txt:
1510 * docs/design/part-events.txt:
1511 * docs/design/part-gstbin.txt:
1512 * docs/design/part-gstelement.txt:
1513 * docs/design/part-gstobject.txt:
1514 * docs/design/part-gstpipeline.txt:
1515 * docs/design/part-messages.txt:
1516 * docs/design/part-preroll.txt:
1517 * docs/design/part-push-pull.txt:
1518 * docs/design/part-qos.txt:
1519 * docs/design/part-query.txt:
1520 * docs/design/part-scheduling.txt:
1521 * docs/design/part-seeking.txt:
1522 * docs/design/part-segments.txt:
1523 * docs/design/part-states.txt:
1524 Documentation updates and typo fixes.
1526 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1528 * plugins/elements/gstfakesink.c:
1529 Add some debug text to error message to indicate that
1530 we errored out on request.
1532 * tools/gst-launch.c:
1533 When the state change to PLAYING fails, check for an
1534 error message on the bus and print it.
1536 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1538 translated by: Jorge González González <aloriel@gmail.com>
1542 Added Spanish translation.
1544 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1546 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1547 Fix printf arguments.
1549 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1551 * tests/check/generic/states.c:
1552 Improved state change unit test.
1554 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1557 Move priv to the right place.
1559 * gst/gstsystemclock.c:
1560 Add FIXME: and improve log.
1562 * tests/check/Makefile.am:
1563 * tests/examples/manual/Makefile.am:
1564 Work with all types of registries.
1566 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1568 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1569 Don't unref the event after pushing it. Fixes #478401.
1571 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1574 * tests/examples/manual/.cvsignore:
1575 Ignore registries in any format.
1577 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1579 * gst/glib-compat-private.h:
1580 Add compatibility macro for g_intern_string() for
1581 GLib-2.8 (any reason we can't just bump the
1582 requirement to at least 2.10?)
1584 * gst/gstpadtemplate.h:
1585 * gst/gstelementfactory.c:
1586 * gst/gstregistryxml.c:
1587 * gst/gstregistrybinary.c:
1588 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1589 up the internal code accordingly. This shouldn't be a problem, since
1590 there is no reason external code could ever assume the string in such
1591 a structure is dynamically allocated unless it did that itself; the
1592 use of g_strdup() is private to element factories. The new code also
1593 saves some memory by putting pad template name strings into the GLib
1594 quark table instead of allocating them dynamically.
1595 Declaring this field constant fixes warnings with g++-4.2 when using
1596 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1598 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1600 * gst/gstelementfactory.c:
1601 Release static caps. Fixes #475723.
1603 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1607 Make some internal API take const gchar * instead of just
1608 gchar * to avoid compiler warnings with g++-4.2.2 when
1609 passing string constants (partially fixes #478092).
1611 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1613 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1614 A latency query fails when one of the sinks fail.
1616 * gst/gstelement.c: (gst_element_set_base_time):
1619 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1621 * gst/gstbin.c: (gst_bin_continue_func):
1622 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1623 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1624 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1626 Fix minor compilation warnings shown with Forte.
1628 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1630 * plugins/elements/gstqueue.c: (apply_buffer),
1631 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1632 Measure queue level based on the diff between head and tail timestamps
1633 even when pushing the first buffer.
1635 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1637 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1638 (gst_base_sink_event), (gst_base_sink_change_state):
1639 Sinks that don't preroll can always be queried for the latency.
1640 Don't post ASYNC start when we are not async.
1642 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1644 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1645 (gst_queue_handle_sink_event), (gst_queue_chain),
1646 (gst_queue_push_one), (gst_queue_handle_src_query),
1647 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1648 * plugins/elements/gstqueue.h:
1649 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1650 push more buffers but allow pushing of EOS and NEWSEGMENT.
1651 Add some more debug info here and there. Fixes #476514.
1653 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1655 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1656 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1657 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1658 (gst_base_sink_set_flushing), (gst_base_sink_query),
1659 (gst_base_sink_change_state):
1660 Latency query is allowed after we are prerolled. Introduce a new flag
1661 for this and stop abusing other variables.
1663 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1665 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1666 Push OOB events downstream when we get them in send_event. This allows
1667 the application to insert events in the pipeline.
1668 Add some more comments.
1670 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1672 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1673 (do_bin_latency), (gst_bin_change_state_func):
1674 * gst/gstpipeline.c: (gst_pipeline_change_state):
1675 Move latency query from GstPipeline to GstBin so that we can also
1676 use it when async-handling is enabled on bins.
1678 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1680 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1681 (gst_base_src_do_sync), (gst_base_src_change_state):
1683 Clean up the timestamping and syncing code for pseudo live sources.
1685 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1687 Patch by: Steve Fink <sphink gmail com>
1689 * docs/manual/appendix-checklist.xml:
1690 Mention less -R switch in the section about debug output (#474055).
1692 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1694 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1695 Queue can latency to the pipeline up to the configured max size in time.
1696 Report this fact in the latency query.
1698 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1700 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1702 * libs/gst/controller/gstinterpolation.c:
1703 * libs/gst/controller/gstlfocontrolsource.c:
1704 Use gst_guint64_to_gdouble() when converting from a uint64 or
1705 GstClockTime to double to fix the build on win32. Fixes #474371.
1707 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1709 * gst/gstbuffer.c: (gst_buffer_finalize):
1710 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1711 When finalizing a buffer the complete struct is filled with 0xff,
1712 thus making a use of the buffer after the final unref impossible.
1714 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1716 * tests/check/libs/controller.c: (GST_START_TEST):
1717 Use fail_unless_equals_int(a, b) instead of
1718 fail_unless_equals (a == b) to get better output on failures.
1720 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1722 * tests/check/gst/gsturi.c:
1723 Also check for the other file URI variant on win32.
1725 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1727 * gst/gsturi.c: (gst_uri_get_location):
1728 If there's no hostname, we want to return 'c:/foo/bar.txt'
1729 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1731 * tests/check/gst/gsturi.c:
1732 Unit test for the above and a few more things.
1734 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1736 * docs/design/part-live-source.txt:
1737 Add docs on how live sources should timestamp.
1739 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1740 Add some more debug info.
1741 For subclasses that are live and like to sync, add aditional startup
1742 latency to sync time and timestamps so that we timstamp according to the
1745 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1748 Also do a g_type_class_ref() for the subbuffer type in
1751 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1753 * docs/gst/gstreamer-sections.txt:
1754 * gst/gstpad.c: (gst_pad_peer_query):
1756 Add function to perform a query on the peer of a pad.
1757 API: gst_pad_peer_query()
1759 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1761 * tests/check/gst/gstsystemclock.c:
1762 Cleanup the test a little (use gst-logging and not g_message). Improve
1763 test to check if a wait reached the target.
1765 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1767 * docs/libs/gstreamer-libs-sections.txt:
1768 Add new API to docs and fix the build.
1770 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1772 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1773 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1774 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1775 (gst_base_src_get_property), (gst_base_src_do_sync):
1776 * libs/gst/base/gstbasesrc.h:
1777 Add property to make the basesrc timestamp buffers based on the current
1779 API: GstBaseSrc::do-timestamp
1780 API: gst_base_src_set_do_timestamp()
1781 API: gst_base_src_get_do_timestamp()
1783 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1785 * docs/random/release:
1786 Really make sure translations are up-to-date before
1787 a release (#465010).
1789 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1791 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1792 Always destroy the timer, also in error cases.
1794 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1796 * docs/manual/highlevel-xml.xml:
1797 Fix XML example code. Fixes #472714.
1799 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1801 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1802 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1803 (gst_base_sink_query):
1804 Protect eos and have_preroll with the OBJECT lock so we don't need to
1805 take the PREROLL lock when querying the latency. Fixes #473846.
1807 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1810 Give some log-messages a category.
1812 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1814 * gst/gststructure.c:
1815 (gst_structure_fixate_field_nearest_fraction):
1816 Fix fraction list fixation code. Take the fraction with the smallest
1817 difference with the target instead of the first one in the list.
1819 * tests/check/gst/gststructure.c: (GST_START_TEST),
1820 (gst_structure_suite):
1821 Added test to verify correct fraction list fixation behaviour.
1823 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1825 * win32/common/libgstreamer.def:
1826 Export gst_bus_add_signal_watch too.
1828 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1830 * docs/libs/gstreamer-libs-sections.txt:
1831 Add new methods to docs.
1833 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1834 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1835 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1836 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1837 * libs/gst/base/gstbasesink.h:
1838 Add ts-offset property to fine-tune the synchronisation.
1839 API: GstBaseSink::ts-offset property
1840 API: gst_base_sink_set_ts_offset()
1841 API: gst_base_sink_get_ts_offset()
1843 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1845 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1846 (gst_base_sink_init), (gst_base_sink_set_sync),
1847 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1848 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1849 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1850 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1851 (gst_base_sink_get_property), (gst_base_sink_change_state):
1852 * libs/gst/base/gstbasesink.h:
1853 Add async property to instruct the sink never to inform the parent about
1854 ASYNC state changes, update docs.
1855 Check argument with g_return_* for the public functions.
1856 API: GstBaseSink::async property
1857 API: gst_base_sink_set_async_enabled()
1858 API: gst_base_sink_is_async_enabled()
1860 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1862 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1865 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1866 (gst_base_src_default_query), (gst_base_src_wait),
1867 (gst_base_src_do_sync), (gst_base_src_change_state):
1868 Rearrange some code so that we can add support for measuring the
1871 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1873 * docs/random/ensonic/dynlink.txt:
1874 More thoughs on this.
1876 * plugins/elements/gstcapsfilter.c:
1877 Add bugzilla ticket number to FIXME comment.
1879 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1881 * docs/design/part-TODO.txt:
1882 * docs/design/part-block.txt:
1885 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1888 Revert patch which uses $(gst_headers) instead of $^ because it
1891 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1893 * tests/check/gst/gstbin.c: (GST_START_TEST):
1894 Fix leaks in the new unit test.
1896 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1899 Don't use GST_INFO before the debug system is actually initialised
1900 (shouldn't do any harm, but won't print anything either, so we can
1901 just as well remove it).
1904 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1905 compilers that don't support variadic macros (such as MSVC), should
1906 check for debug_level <= __gst_debug_min as well, since that's the
1907 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1908 inline helper functions. Should improve performance a bit, but also
1909 makes sure uses of GST_INFO et.al are ignored if the debugging
1910 system isn't initialised yet (instead of printing an assertion
1913 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1915 patch by: David Nečas <yeti@physics.muni.cz>
1918 Replace some non portable makefile constructs.
1920 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1922 * common/gtk-doc-plugins.mak:
1923 Grrrrr. Don't remove the types file on make clean.
1925 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1927 * tools/gst-launch.1.in:
1928 Add colorspace to example pipeline. Fixes #458274.
1930 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1932 * docs/random/release:
1933 The release manager should run 'make download-po' before making a
1934 release to make sure translations are up-to-date.
1940 Add some new translations.
1942 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1944 * tools/gst-launch.c: (event_loop), (main):
1945 Don´t try to do any state management when a live pipeline posts
1947 Also make the buffering string translatable.
1949 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1951 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1952 (bin_handle_async_start), (gst_bin_handle_message_func):
1954 When adding elements, insert messages into the bus of the newly added
1955 element and make sure the element is the source of the message. This
1956 allows the parent bin to intercept the message and do the
1957 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1958 messages to the app (which is not allowed).
1961 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1962 Fix testsuite so that is does not work around messages that should not
1963 have been posted in the first place.
1965 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1967 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1968 (update_degree), (gst_bin_sort_iterator_next):
1969 Fix annoying bug in the sorted iterator where a sink that is not really
1970 a sink (when it has downstream links) screwed up the iterator.
1972 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1973 Unit test to verify the fix.
1975 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1978 Add some more docs for the messages.
1980 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1981 (gst_base_sink_query):
1982 Add some more debugging.
1984 * tools/gst-launch.c: (event_loop):
1985 When interrupting, don't try to set pipeline to PAUSED twice.
1987 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1990 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1991 (bin_handle_async_start), (gst_bin_handle_message_func):
1992 Move ASYNC_START message posting to where it belongs, similar to
1994 Don't post ASYNC_START when we are in error.
1995 Post ASYNC_START when we added an async element to a bin.
1997 2007-08-14 Julien MOUTTE <julien@moutte.net>
1999 * gst/gstindex.c: (gst_index_add_association): Fix index entry
2000 generation from vargs. Fixes #466595.
2002 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
2004 * gst/gstbin.c: (gst_bin_element_set_state):
2005 Always change the state of a NO_PREROLL element even if it has ASYNC
2006 elements inside (in case of a bin).
2008 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2009 Unit test for this case.
2011 2007-08-13 Stefan Kost <ensonic@users.sf.net>
2013 * libs/gst/check/gstbufferstraw.c:
2014 * libs/gst/check/gstcheck.h:
2015 * libs/gst/controller/gstcontroller.c:
2016 * libs/gst/controller/gstcontrolsource.h:
2017 * libs/gst/controller/gstlfocontrolsource.h:
2018 * plugins/elements/gstcapsfilter.h:
2019 * plugins/elements/gstfdsink.h:
2020 * plugins/elements/gstfdsrc.h:
2021 Add more missing docs.
2023 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2025 * gst/gststructure.c:
2026 Add Since tag to docs.
2028 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2030 * docs/gst/gstreamer-sections.txt:
2031 * gst/gststructure.c: (gst_structure_get_uint):
2032 * gst/gststructure.h:
2033 Add function to get uint from a structure.
2034 API: gst_structure_get_uint()
2036 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
2038 * gst/gstcaps.c: (gst_caps_set_simple_valist),
2039 (gst_caps_intersect):
2040 Fix proper check for simple caps.
2042 2007-08-10 Stefan Kost <ensonic@users.sf.net>
2044 * docs/gst/Makefile.am:
2045 * docs/libs/Makefile.am:
2046 Remove cruft and do some cleanups.
2048 * docs/gst/gstreamer-docs.sgml:
2049 * docs/libs/gstreamer-libs-docs.sgml:
2050 Prepare for comming gtkdoc features (rebase against online docs).
2052 2007-08-10 Michael Smith <msmith@fluendo.com>
2054 * docs/gst/gstreamer-sections.txt:
2055 Add gst_registry_add_path to docs.
2057 2007-08-10 Michael Smith <msmith@fluendo.com>
2059 * gst/gstregistry.h:
2060 Add gst_registry_add_path, which was missing from this header.
2062 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
2064 * libs/gst/controller/gstlfocontrolsource.c:
2067 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2069 * libs/gst/base/gstbasesink.c:
2070 Don't send an async_start message during downwards state change if
2071 target state is less than READY
2073 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
2075 translated by: Gabor Kelemen <kelemeng@gnome.hu>
2079 Added Hungarian translation.
2081 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
2088 Updated translations.
2090 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
2092 * libs/gst/controller/Makefile.am:
2093 Dist gstlfocontrolsourceprivate.h
2095 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
2097 * docs/libs/gstreamer-libs.types:
2098 Don't register the enum type gst_lfo_waveform_get_type() in the
2099 .types file - only GObject derived types belong.
2101 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
2103 Patch by: <arenevier at fdn dot fr>
2106 Remove comma from last element in enum to avoid compile errors when
2107 using -pendantic. Fixes #464366.
2109 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
2111 * docs/design/part-TODO.txt:
2112 Add some more TODO items
2114 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2117 * gst/gstcaps.c: (gst_caps_intersect):
2118 Optimize trivial intersection case between identical caps pointers.
2120 * gst/gstelement.c: (gst_element_continue_state),
2121 (gst_element_set_state_func):
2123 Fix spelling and grammar mistakes.
2125 2007-08-05 Stefan Kost <ensonic@users.sf.net>
2129 Update POTFILES. Fixes #461599.
2131 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
2134 Fix confusing typo in debug output.
2136 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
2138 reviewed by: Stefan Kost <ensonic@users.sf.net>
2140 * libs/gst/controller/Makefile.am:
2141 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2142 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2143 (gst_lfo_control_source_new),
2144 (gst_lfo_control_source_set_waveform),
2145 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2146 (gst_lfo_control_source_finalize),
2147 (gst_lfo_control_source_dispose),
2148 (gst_lfo_control_source_set_property),
2149 (gst_lfo_control_source_get_property),
2150 (gst_lfo_control_source_class_init):
2151 * libs/gst/controller/gstlfocontrolsource.h:
2152 * libs/gst/controller/gstlfocontrolsourceprivate.h:
2153 API: Add GstLFOControlSource, a control source that gives values
2154 for specific timestamps based on several periodic waveforms.
2157 * tests/check/libs/controller.c: (GST_START_TEST),
2158 (gst_controller_suite):
2159 * docs/libs/gstreamer-libs-docs.sgml:
2160 * docs/libs/gstreamer-libs-sections.txt:
2161 * docs/libs/gstreamer-libs.types:
2162 Add documentation and unit tests for GstLFOControlSource.
2164 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
2169 === release 0.10.14 ===
2171 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
2174 releasing 0.10.14, "Breathing Vacuum"
2176 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
2178 * gst/gstelement.c: (gst_element_class_set_details_simple):
2180 Make strings passed to gst_element_class_set_details_simple()
2181 constant, as they should be (#462752).
2183 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
2185 * gst/gstbin.c: (gst_bin_change_state_func),
2186 (bin_handle_async_done), (gst_bin_handle_message_func):
2187 Don't forget about the fact that some element went ASYNC even after a
2188 resync. This makes us post the ASYNC_DONE message correctly.
2191 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2193 * gst/gstregistry.c: (gst_registry_add_feature):
2194 When replacing an existing feature in the registry, make sure to
2195 continue holding a reference until we've replaced the name string
2196 within our feature hash table. Make sure to use g_hash_table_replace
2197 instead of g_hash_table_insert to ensure the new name string is used
2198 as a key instead of the old one that we're about to free.
2201 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
2203 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2204 (gst_plugin_feature_set_name):
2205 Revert patch from #459466 until after the release and we can work
2206 out exactly what the problem is (if any).
2208 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2210 * docs/gst/gstreamer-sections.txt:
2213 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2215 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2217 * docs/libs/Makefile.am:
2218 Include our build-prefix libs and includes before the generic ones to
2219 avoid linking against the installed libs when we want the build-tree
2222 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2224 Patch by: Steve Fink <sphink gmail com>
2226 * docs/pwg/building-testapp.xml:
2227 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2228 if people try to build or install the example from the plugin
2229 template against a GStreamer from package using the configure
2232 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
2234 Patch by: Steve Fink <sphink gmail com>
2236 * tools/gst-inspect.1.in:
2237 Document --print-all and --print-plugin-auto-install-info command
2238 line options in man page.
2240 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2242 * docs/gst/gstreamer-sections.txt:
2243 Add docs for new api function.
2245 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2247 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2248 * gst/gstelementfactory.h:
2249 API: gst_element_factory_has_interface()
2250 Added method to check if an element factory implements a named
2253 2007-07-25 Stefan Kost <ensonic@users.sf.net>
2256 * docs/gst/gstreamer.types.in:
2257 Another conditional doc check.
2260 * gst/gstparamspecs.h:
2261 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2266 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2268 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2269 (gst_registry_binary_load_feature),
2270 (gst_registry_binary_load_plugin),
2271 (gst_registry_binary_read_cache):
2272 Print error just once and with additional info.
2274 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2276 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2277 (helper_find_suggest), (helper_find_get_length),
2278 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2279 (gst_type_find_helper_for_buffer):
2280 Cleanup the typefindhelper code and add private doc comments.
2282 2007-07-24 Edward Hervey <bilboed@bilboed.com>
2284 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2285 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2286 Fix capsfilter for cases where the caps set on capsfilter will provide
2287 additional information.
2290 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2292 * gst/gsttypefindfactory.c:
2293 Fix docs that recommened wrong function to use.
2295 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2297 * tools/gst-inspect.c: (print_plugin_features):
2298 Also give media-type for typefinders in element output.
2300 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2302 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2303 (gst_registry_remove_features_for_plugin_unlocked),
2304 (gst_registry_add_feature), (gst_registry_remove_feature),
2305 (gst_registry_lookup_feature_locked):
2306 * gst/gstregistry.h:
2307 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2310 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2312 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2313 (gst_plugin_feature_set_name):
2314 Avoid double memory usage for pluginfeature names. Fixes #459466.
2316 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2319 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2320 driving the pipeline may need to explicitly check for NOT_LINKED as
2321 well, since IS_FATAL doesn't cover that.
2323 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2325 * docs/pwg/advanced-types.xml:
2326 Fix typo and duplicate entry in video formats list.
2328 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
2330 * libs/gst/controller/gstinterpolation.c:
2331 Also round to the nearest int when using cubic interpolation.
2333 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
2335 * libs/gst/controller/gstinterpolation.c:
2336 When linearly interpolating integer types, round to the nearest int
2337 by adding 0.5. Don't do it for float/double types.
2338 Fixes the failing controller test on my machine, which is somehow
2339 rounding differently than on the buildbots.
2341 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2343 * tools/gst-plot-timeline.py:
2344 Better log parsing (categories can have -). Adjust text vs. lines, so
2345 that they span the same y-range.
2347 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2349 * docs/random/ensonic/audiobaseclasses.txt:
2350 * docs/random/ensonic/dynlink.txt:
2351 * docs/random/ensonic/profiling.txt:
2354 * docs/random/moving-plugins:
2355 Add note to use g_assert type macros.
2357 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2360 * libs/gst/check/Makefile.am:
2361 Add libm check as we use in for plugins.
2363 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2365 * gst/gstbin.c: (gst_bin_continue_func):
2366 Check that the state_cookie hasn't changed since the continue_func
2367 was scheduled. Avoids problems where the state changes back to
2368 something it shouldn't be because it was changed in the meantime.
2370 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2372 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2373 (gst_registry_binary_save_string),
2374 (gst_registry_binary_save_pad_template),
2375 (gst_registry_binary_save_feature),
2376 (gst_registry_binary_save_plugin),
2377 (gst_registry_binary_load_feature),
2378 (gst_registry_binary_load_plugin),
2379 (gst_registry_binary_read_cache):
2380 Fix memory leak. Be less verbose in the log.
2382 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2384 * tests/check/elements/.cvsignore:
2385 Add file to cvsignore as commanded.
2387 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2389 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2390 (mq_dummypad_event), (run_output_order_test):
2391 Use a GStaticMutex to protect all cases where libcheck
2392 fail_if/fail_unless macros might be called from multiple threads
2393 simultaneously to avoid errors like:
2394 "check_pack.c:107: :-1081725400:Bad message type arg"
2396 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2398 * tests/check/pipelines/stress.c: (GST_START_TEST):
2399 Make sure we set the pipeline back to the NULL state before
2400 dropping our final reference.
2402 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2404 * tests/check/elements/tee.c: (GST_START_TEST):
2405 Make the tee stress-test a little less stressful so it doesn't just
2406 time out on slow-machines, and remove a small race when it's starting
2407 up by adding a get_state() call.
2409 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2412 Avoid reading registry twice on startup. Fixes #457322.
2414 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2416 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2417 * pkgconfig/gstreamer-check.pc.in:
2418 Substitute the CFLAGS for libcheck into our .pc file too so that
2419 dependent modules will pick it up properly if libcheck is installed
2420 into some other prefix.
2422 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2425 Revert the pkg-config check for libcheck, since it pulls in the
2426 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2427 a proper solution, either from the check project, or something else.
2429 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2432 Use pkg-config to locate check.
2434 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2441 Add deprecation guards.
2443 * libs/gst/base/gstcollectpads.h:
2444 Don't document object (this is implicitly private).
2446 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2448 * gst/gststructure.c: (gst_structure_parse_value):
2449 When deserialising foo=bar without a type cast, check if it's a
2450 boolean before falling back to a string type, otherwise things like
2451 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2452 because the filtercaps end up having a signed=(string)true field,
2453 which causes problems later when intersection caps.
2455 * tests/check/gst/gststructure.c: (GST_START_TEST):
2456 Add a unit test for this.
2458 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2460 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2462 * libs/gst/controller/Makefile.am:
2463 * libs/gst/controller/gstcontroller.c:
2464 (gst_controlled_property_add_interpolation_control_source),
2465 (gst_controlled_property_new), (gst_controlled_property_free),
2466 (gst_controller_find_controlled_property),
2467 (gst_controller_new_valist), (gst_controller_new_list),
2468 (gst_controller_new), (gst_controller_remove_properties_valist),
2469 (gst_controller_remove_properties_list),
2470 (gst_controller_remove_properties),
2471 (gst_controller_set_property_disabled),
2472 (gst_controller_set_disabled), (gst_controller_set_control_source),
2473 (gst_controller_get_control_source), (gst_controller_get),
2474 (gst_controller_sync_values), (gst_controller_get_value_array),
2475 (_gst_controller_dispose), (gst_controller_get_type),
2476 (gst_controlled_property_set_interpolation_mode),
2477 (gst_controller_set), (gst_controller_set_from_list),
2478 (gst_controller_unset), (gst_controller_unset_all),
2479 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2480 * libs/gst/controller/gstcontroller.h:
2481 * libs/gst/controller/gstcontrollerprivate.h:
2482 * libs/gst/controller/gstcontrolsource.c:
2483 (gst_control_source_class_init), (gst_control_source_init),
2484 (gst_control_source_get_value),
2485 (gst_control_source_get_value_array), (gst_control_source_bind):
2486 * libs/gst/controller/gstcontrolsource.h:
2487 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2488 (gst_object_get_control_source):
2489 * libs/gst/controller/gstinterpolation.c:
2490 (gst_interpolation_control_source_find_control_point_node),
2491 (gst_interpolation_control_source_get_first_value),
2492 (_interpolate_none_get), (interpolate_none_get),
2493 (interpolate_none_get_boolean_value_array),
2494 (interpolate_none_get_enum_value_array),
2495 (interpolate_none_get_string_value_array),
2496 (_interpolate_trigger_get), (interpolate_trigger_get),
2497 (interpolate_trigger_get_boolean_value_array),
2498 (interpolate_trigger_get_enum_value_array),
2499 (interpolate_trigger_get_string_value_array):
2500 * libs/gst/controller/gstinterpolationcontrolsource.c:
2501 (gst_control_point_free), (gst_interpolation_control_source_reset),
2502 (gst_interpolation_control_source_new),
2503 (gst_interpolation_control_source_set_interpolation_mode),
2504 (gst_interpolation_control_source_bind),
2505 (gst_control_point_compare), (gst_control_point_find),
2506 (gst_interpolation_control_source_set_internal),
2507 (gst_interpolation_control_source_set),
2508 (gst_interpolation_control_source_set_from_list),
2509 (gst_interpolation_control_source_unset),
2510 (gst_interpolation_control_source_unset_all),
2511 (gst_interpolation_control_source_get_all),
2512 (gst_interpolation_control_source_get_count),
2513 (gst_interpolation_control_source_init),
2514 (gst_interpolation_control_source_finalize),
2515 (gst_interpolation_control_source_dispose),
2516 (gst_interpolation_control_source_class_init):
2517 * libs/gst/controller/gstinterpolationcontrolsource.h:
2518 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2519 API: Refactor GstController into the core controller which can take
2520 a GstControlSource for providing actual values for timestamps.
2521 Implement a interpolation control source and use this for backward
2522 compatibility, deprecate a bunch of functions that are now handled
2523 by GstControlSource or GstInterpolationControlSource.
2524 Make it possible to disable the controller completely or only for
2525 specific properties. Fixes #450711.
2526 * docs/libs/gstreamer-libs-docs.sgml:
2527 * docs/libs/gstreamer-libs-sections.txt:
2528 * docs/libs/gstreamer-libs.types:
2529 Add new functions and classes to the docs.
2530 * tests/check/libs/controller.c: (GST_START_TEST),
2531 (gst_controller_suite):
2532 * tests/examples/controller/audio-example.c: (main):
2533 Port unit test and example to the new API and add some new
2536 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2538 Patch by: Mark Nauwelaerts <manauw at skynet be>
2540 * plugins/elements/gstmultiqueue.c:
2541 (gst_multi_queue_get_internal_links), (apply_buffer),
2542 (single_queue_overrun_cb), (gst_single_queue_new):
2543 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2544 the pipeline layout can be tracked correctly. Fixes #453732.
2546 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2548 * docs/gst/Makefile.am:
2549 * docs/libs/Makefile.am:
2550 * docs/plugins/Makefile.am:
2551 Simplify --extra-dir as gtkdoc scans recursively.
2553 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2555 * tools/gst-launch.c: (main):
2556 When we got an error, there is no point in waiting for preroll when
2559 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2561 * plugins/elements/gsttee.c: (gst_tee_base_init),
2562 (gst_tee_request_new_pad), (gst_tee_release_pad),
2563 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2564 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2566 Be a lot smarter when deciding what srcpad to use for proxying
2567 the buffer_alloc. Also handle pad added/removed when doing so.
2569 Keep track of what pads we already pushed on in case we have pads
2570 added/removed while pushing. Fixes #374639
2572 * tests/check/Makefile.am:
2573 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2575 Added unit test for pad resync.
2577 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2581 Updated translations.
2583 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2585 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2589 Added new Finnish translation.
2591 2007-06-28 Wim Taymans <wim@fluendo.com>
2593 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2594 (single_queue_overrun_cb):
2595 When figuring out when a queue is filled, use our internal time estimate
2596 based on segments, just like check_full does.
2598 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2600 * gst/gstminiobject.c: (gst_mini_object_get_type):
2601 Remove 3 do-nothing methods.
2603 2007-06-27 Wim Taymans <wim@fluendo.com>
2605 Patch by: Tim Angus <tim at ngus dot net>
2607 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2608 (gst_capsfilter_set_property):
2609 Take a reference instead of a copy when setting "caps".
2610 Fix documentation to clarify this behaviour. Fixes #449414.
2612 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2614 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2615 * gst/gstplugin.c: (gst_plugin_init):
2616 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2617 * gst/gstquery.c: (gst_query_get_type):
2618 * gst/gstregistry.c: (gst_registry_init):
2619 * gst/gsturi.c: (gst_uri_handler_base_init):
2620 Remove empty instance_init() functions to save relocs and lessen the
2621 noise. Remove some of the function prototypes that are doubled by
2624 2007-06-27 Wim Taymans <wim@fluendo.com>
2626 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2628 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2629 Add peer and direction in the XML serialisation of ghostpads.
2632 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2635 Preserve useful information, thanks Tim.
2637 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2639 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2640 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2641 (gst_single_queue_push_one), (gst_multi_queue_loop),
2642 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2643 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2644 (compute_high_id), (gst_single_queue_new):
2645 * plugins/elements/gstmultiqueue.h:
2646 Take the multiqueue lock when updating the fill level so we don't get
2649 After applying a buffer or event on the src pad segment, make sure to
2650 call gst_data_queue_limits_changed() to get the data queue to unblock
2651 and check the filled state again.
2653 Rework the not-linked pad handling so the logic is that not-linked
2654 pads can push as fast as they like, but only so they never get
2655 ahead of any linked pads.
2657 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2658 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2659 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2661 Add a test to check that not-linked pads always stay behind
2666 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2668 * docs/random/release:
2669 Some updates to the release procedure.
2671 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2673 * gst/gstelementfactory.c: (__gst_element_details_clear):
2674 Microoptimization that saves stunning 80 bytes.
2676 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2678 * docs/plugins/gstreamer-plugins.args:
2679 * docs/plugins/inspect/plugin-coreelements.xml:
2680 * docs/plugins/inspect/plugin-coreindexers.xml:
2681 Update docs with caps info.
2683 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2686 Updated Italian translation.
2688 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2692 Update Vietnamese translations.
2694 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2696 * libs/gst/base/gstbasesink.c:
2697 Remove unused signal enum.
2699 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2701 * docs/gst/gstreamer-sections.txt:
2703 * gst/gstutils.c: (gst_type_register_static_full):
2704 Beef up and include the docs for gst_type_register_static_full and
2705 gst_element_class_set_details_simple and add the API keyword
2708 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2710 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2711 (update_time_level), (gst_single_queue_push_one),
2712 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2713 (single_queue_overrun_cb), (single_queue_underrun_cb),
2714 (single_queue_check_full):
2715 Fix setting max-* properties after adding queues.
2716 Use IS_FILLED for checking visible items.
2717 Signal overrun if multiple queues overrun.
2718 Add extra debug output.
2719 Patch by: Wim Taymans <wim@fluendo.com>
2721 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2723 * gst/gstelement.c: (gst_element_class_set_details_simple):
2725 * gst/gstutils.c: (gst_type_register_static_full):
2727 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2728 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2729 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2730 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2731 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2732 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2733 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2734 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2735 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2736 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2737 (apply_buffer), (gst_queue_chain):
2738 * plugins/elements/gsttee.c: (gst_tee_base_init):
2739 * plugins/elements/gsttypefindelement.c:
2740 (gst_type_find_element_base_init),
2741 (gst_type_find_element_class_init):
2742 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2743 API: add gst_type_register_static_full
2744 API: add gst_element_class_set_details_simple
2746 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2748 * docs/pwg/advanced-types.xml:
2749 Fix typo in iana.org URI.
2751 2007-06-19 Andy Wingo <wingo@pobox.com>
2753 * tests/check/pipelines/simple-launch-lines.c
2754 (test_state_change_returns): Enable pull-mode tests now that
2755 basesink has been fixed.
2757 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2758 Changed from gst_base_sink_is_prerolled, reversing the sense of
2759 the return value. Returns FALSE also if the sink is in pull mode,
2760 in which case it needs no preroll.
2761 (gst_base_sink_query, gst_base_sink_change_state): Update for
2762 needs_preroll change.
2763 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2764 chaining up, in which we return SUCCESS directly if we activated
2765 in pull mode instead of ASYNC. Involves countering an async_start
2766 message sent before chaining up; not sure if this is correct, in
2767 an ideal world we only send async-start when activating in push
2770 * tests/check/pipelines/simple-launch-lines.c
2771 (test_state_change_returns): New test, partially disabled until
2774 2007-06-19 Wim Taymans <wim@fluendo.com>
2776 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2777 (gst_multi_queue_sink_event):
2780 2007-06-19 Wim Taymans <wim@fluendo.com>
2782 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2783 (gst_bin_change_state_func), (bin_push_state_continue),
2784 (bin_handle_async_start), (bin_handle_async_done),
2785 (gst_bin_handle_message_func):
2786 Move the common code for posting state-change messages into
2788 Broadcast the state signal after we posted the messages.
2789 Mark the bin as busy when it's doing a state-change.
2790 Make sure async-start/done messages don't interfere with the bin's
2791 state when it's busy.
2792 After the state change, let the bin check which elements completed the
2793 state change while it was busy so that it can update its state.
2795 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2797 * docs/random/release:
2798 Add a note about updating the doap file to the release checklist
2800 2007-06-18 Wim Taymans <wim@fluendo.com>
2802 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2803 (gst_single_queue_push_one), (gst_multi_queue_chain),
2804 (gst_multi_queue_sink_event):
2805 Make sure we don't reference the buffer/event after we have given away
2806 ownership in the queue.
2808 2007-06-18 Wim Taymans <wim@fluendo.com>
2810 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2811 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2812 Update queue state _after_ adding the item in the queue because else we
2813 could end up being full without the element added yet.
2815 2007-06-18 Wim Taymans <wim@fluendo.com>
2817 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2818 (gst_bin_remove_func), (gst_bin_get_state_func),
2819 (gst_bin_element_set_state), (gst_bin_continue_func),
2820 (bin_push_state_continue), (bin_handle_async_start),
2821 (bin_handle_async_done), (gst_bin_handle_message_func):
2823 Immediatly commit the toplevel bin state when receiving an async-done
2824 message. This enables us to avoid spawning a thread to commit the state
2825 in some common cases and it also avoids some races.
2826 Avoid spawning a state thread when adding/removing async elements to a
2827 toplevel bin. Instead we immediatly update the bin state.
2828 Get rid of iterating all the children when getting the state in the bin
2829 because it is now always up-to-date.
2830 Fix bug where locked elements would always return _SUCCESS even it they
2831 returned NO_PREROLL before being locked.
2832 Fix the order of the state_change, async-start/done messages that was
2833 sometimes incorrect.
2834 Mark the state_dirty field as deprecated, we don't need it anymore as we
2835 are always up-to-date.
2837 * gst/gstelement.c: (gst_element_get_state_func),
2838 (gst_element_continue_state):
2839 Small debug inprovements.
2840 Return the previous element state return when nothing is pending instead
2841 of blindly returning SUCCESS.
2843 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2845 Add a whole bunch of new testcases.
2847 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2851 Update translations.
2853 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2856 Fix typo in the docs.
2858 2007-06-15 Wim Taymans <wim@fluendo.com>
2860 * docs/libs/gstreamer-libs-sections.txt:
2861 Add docs for new methods.
2863 2007-06-15 Wim Taymans <wim@fluendo.com>
2865 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2866 (gst_multi_queue_item_new):
2867 Don't use GSlice because we don't depend on >= 2.10 yet.
2869 2007-06-15 Wim Taymans <wim@fluendo.com>
2871 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2872 (update_time_level), (apply_segment), (apply_buffer),
2873 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2874 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2875 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2876 (single_queue_underrun_cb), (single_queue_check_full):
2877 Remove debug printf.
2879 2007-06-15 Wim Taymans <wim@fluendo.com>
2881 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2882 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2883 (gst_data_queue_set_flushing), (gst_data_queue_push),
2884 (gst_data_queue_pop), (gst_data_queue_drop_head),
2885 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2886 * libs/gst/base/gstdataqueue.h:
2888 Added methods to get the current levels and to inform the queue that the
2889 'full' limits changed.
2891 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2892 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2893 (gst_single_queue_flush), (update_time_level), (apply_segment),
2894 (apply_buffer), (gst_single_queue_push_one),
2895 (gst_multi_queue_item_steal_object),
2896 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2897 (gst_multi_queue_loop), (gst_multi_queue_chain),
2898 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2899 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2900 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2901 (single_queue_underrun_cb), (single_queue_check_full),
2902 (gst_single_queue_new):
2903 Keep track of time in the queue by measuring the difference between
2904 running_time on input and output. This gives more accurate results and
2905 can compensate for segments correctly.
2906 Make a queue by default only 5 buffers deep. We will now increase the
2907 buffer size depending on the filledness of the other queues.
2908 Factor out commong flush code.
2909 Make sure we don't add additional refcounts to buffers when we can avoid
2911 Propagate GstFlowReturn differently.
2912 Use GSlice for intermediate GstMultiQueueItems.
2914 Resize queues on over and underruns based on filled level of other
2916 When checking if the queue is filled, prefer to measure in time if we
2917 can and fall back to bytes when no time is known.
2919 * plugins/elements/gstqueue.c:
2922 2007-06-15 Wim Taymans <wim@fluendo.com>
2924 * libs/gst/base/gstbasetransform.c:
2925 (gst_base_transform_sink_event):
2926 Work around the brokenness of the event vmethod in basetransform. Prefer
2927 to return TRUE when the subclass returned FALSE (meaning don't forward
2930 * libs/gst/base/gstbasetransform.h:
2933 2007-06-15 Wim Taymans <wim@fluendo.com>
2935 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2936 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2937 (gst_base_src_default_query), (gst_base_src_get_range),
2938 (gst_base_src_start):
2939 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2942 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2944 * docs/pwg/advanced-types.xml:
2945 Added more formats to caps table.
2947 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2949 * tools/gst-launch.c: (main):
2950 Remove crufy code. GOption does not need this workaround.
2952 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2954 * libs/gst/controller/gstcontroller.c:
2955 (gst_controlled_property_set_interpolation_mode):
2956 Fix wrong getter for enums in controller.
2958 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2960 * libs/gst/check/gstcheck.c: (gst_check_init):
2961 Intercept criticals and warnings in the Gst-Phonon log domain, so
2962 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2965 2007-06-14 Edward Hervey <edward@fluendo.com>
2967 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2968 Since this file doesn't include "gst.h" it will not go through the
2969 macros that disable GST_LOG if debugging was disabled.
2971 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2973 * libs/gst/check/Makefile.am:
2974 * libs/gst/check/gstcheck.h:
2975 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2976 * pkgconfig/gstreamer-check.pc.in:
2977 Ugly 'fix' for the controller unit test on the p5 bot: in
2978 fail_unless_equals_float() check whether the values are 'almost
2979 equal' by allowing a small absolute error, which should be good
2980 enough for our use cases (normal numbers and values close to 0).
2981 Proper fixage left to floating point arithmetic aficionados.
2983 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2985 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2986 (gst_base_sink_render_object), (gst_base_sink_get_position):
2987 Add two breaks thats where missing.
2989 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2991 * docs/libs/gstreamer-libs-sections.txt:
2992 * libs/gst/check/gstcheck.h:
2993 API: add fail_unless_equals_float() and assert_equals_float().
2994 Add documentation for some of the macros.
2996 * tests/check/libs/controller.c: (GST_START_TEST):
2997 Use newly-added asserts.
2999 2007-06-14 Stefan Kost <ensonic@users.sf.net>
3001 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3002 Show the caps change in the log to help spotting the case of not
3003 exactly matching caps.
3005 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
3007 * docs/pwg/building-boiler.xml:
3008 Fix typos, spotted by Thijs Vermeir (#447190).
3010 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3012 * docs/plugins/tmpl/.cvsignore:
3013 Ignore file to keep the buildbots happy
3015 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
3017 * docs/plugins/Makefile.am:
3018 * docs/plugins/gstreamer-plugins-docs.sgml:
3019 * docs/plugins/gstreamer-plugins-sections.txt:
3020 Pull fdsink into the docs too.
3022 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
3024 * libs/gst/controller/gstinterpolation.c:
3025 Actually use the new functions with min/max checks for the trigger and
3026 none interpolation modes for get() and get_value_array() instead of
3029 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
3031 * libs/gst/controller/gstcontroller.c:
3032 (gst_controlled_property_free):
3033 Unset the minimum and maximum GValues when freeing the corresponding
3034 GstControllerProperty struct.
3036 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
3038 * libs/gst/controller/gstcontroller.c:
3039 (gst_controlled_property_new):
3040 * libs/gst/controller/gstcontrollerprivate.h:
3041 * libs/gst/controller/gstinterpolation.c:
3042 (gst_controlled_property_find_control_point_node),
3043 (interpolate_none_get), (interpolate_none_get_enum_value_array),
3044 (interpolate_none_get_string_value_array),
3045 (interpolate_trigger_get),
3046 (interpolate_trigger_get_enum_value_array),
3047 (interpolate_trigger_get_string_value_array):
3048 Protect against values larger or smaller than the minimum or maximum
3049 allowed value for the property when using values that can be compared.
3051 Optimize trigger interpolator a bit by taking the last requested value
3052 into account instead of always looping through the complete list.
3054 Fix coding style a bit, everywhere else we use "return foo" instead
3057 * tests/check/libs/controller.c: (GST_START_TEST),
3058 (gst_controller_suite):
3059 Add unit test for the protection against too large or too small
3062 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
3064 * docs/random/slomo/controller.txt:
3065 Add some thoughts about the future of the controller.
3067 2007-06-08 Wim Taymans <wim@fluendo.com>
3069 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3070 Don't overflow in retimestamping code.
3072 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
3074 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3075 Use gst_util_guint64_to_gdouble for conversions.
3076 * win32/common/libgstreamer.def:
3077 Add new exported functions.
3079 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
3082 Small docs addition.
3084 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3087 Remove that test line again.
3089 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3092 Test commit mail sending.
3094 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3097 Fix typo and test commit mail sending.
3099 2007-06-07 Stefan Kost <ensonic@users.sf.net>
3101 * tests/examples/controller/audio-example.c:
3102 Improve comment and test commit mail sending.
3104 2007-06-07 Wim Taymans <wim@fluendo.com>
3106 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3107 (gst_bin_remove_func), (gst_bin_element_set_state),
3108 (bin_handle_async_start), (bin_handle_async_done),
3109 (gst_bin_handle_message_func):
3110 Add helper function to find messages.
3111 Generate the async-done messages together with the state change
3113 Small cleanups in handling toplevel bins.
3115 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3117 * libs/gst/base/gstdataqueue.c:
3118 * libs/gst/base/gstdataqueue.h:
3119 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3120 (gst_multi_queue_item_new), (gst_multi_queue_chain),
3121 (gst_multi_queue_sink_event):
3122 * tests/check/elements/multiqueue.c: (multiqueue_suite):
3123 Fix multiqueue leaking buffers and events when downstream or the
3124 queue are flushing. Make refcounting assumptions explicit and
3125 document them (shouldn't break existing code that uses it other than
3126 maybe leak miniobjects, but that already happens anyway). Add unit
3127 test for the most common flushing case. Fixes #423700.
3129 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
3131 * libs/gst/controller/gstcontroller.c:
3132 Clarify docs: The get_all, get_value_array(s) functions
3133 don't modify the GObject properties.
3135 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
3137 * libs/gst/controller/gstcontroller.c:
3138 (gst_controlled_property_set_interpolation_mode),
3139 (gst_controlled_property_prepend_default),
3140 (gst_controlled_property_new), (gst_controller_set_unlocked),
3141 (gst_controller_set), (gst_controller_set_from_list),
3142 (gst_controller_unset), (gst_controller_unset_all):
3143 * libs/gst/controller/gstcontrollerprivate.h:
3144 * libs/gst/controller/gstinterpolation.c:
3145 Factor out the 'set' logic into gst_controller_set_unlocked for the
3146 gst_controller_set and gst_controller_set_from_list functions.
3148 To make life of the interpolators easier always add a control point
3149 at timestamp zero with the default value.
3151 In the linear interpolator make things more obvious by better variable
3154 Implement cubic interpolation mode (by using a natural cubic spline)
3155 and map the quadratic interpolation mode to this too (as quadratic
3156 doesn't make much sense, see discussion on the list).
3158 * tests/check/libs/controller.c: (GST_START_TEST),
3159 (gst_controller_suite):
3160 Add unit test for the cubic interpolation mode and check everywhere
3161 if the interpolation mode could be set as expected.
3163 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3165 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3166 Don't use GLib-2.10 functions, we still depend on
3167 GLib-how-old-is-it-again-2.8.
3169 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
3171 * docs/gst/gstreamer-sections.txt:
3175 * gst/gstparamspecs.c: (_gst_param_fraction_init),
3176 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3177 (_gst_param_fraction_values_cmp),
3178 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3179 * gst/gstparamspecs.h:
3181 * tests/check/Makefile.am:
3182 * tests/check/gst/.cvsignore:
3183 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3184 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3185 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3186 (GST_START_TEST), (gst_param_spec_suite):
3187 API: add GstParamSpecFraction, so elements can have fraction
3188 properties without lots of painful string parsing (#444648).
3190 2007-06-05 Wim Taymans <wim@fluendo.com>
3192 * gst/gstobject.c: (gst_object_class_init):
3193 Fix signal signature.
3196 Add small clarification in the api docs.
3198 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3199 States are protected with object lock.
3201 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3204 I should probably be listed as an author by now.
3206 * docs/random/release:
3207 Update the release doc
3209 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
3212 Make docs for gst_value_compare() mention return enums that
3215 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3220 === release 0.10.13 ===
3222 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3225 releasing 0.10.13, "With or without you"
3227 2007-05-25 Wim Taymans <wim@fluendo.com>
3229 * gst/gstbin.c: (bin_handle_async_done):
3230 Make sure that the child bin stops after completing the async state
3231 change so that the parent can continue the state change to PLAYING.
3234 2007-05-25 Wim Taymans <wim@fluendo.com>
3236 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3237 (unref_data), (gst_collect_pads_remove_pad),
3238 (gst_collect_pads_check_pads):
3239 Use additional refcounting to avoid crashes when dynamically adding and
3240 removing pads. Fixes #420206.
3242 2007-05-24 Wim Taymans <wim@fluendo.com>
3244 * tools/gst-launch.c: (event_loop):
3245 When buffering goes from a two digit to a single digit number, make sure
3246 to remove the old second digit by writing a blank over it.
3248 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3250 * libs/gst/base/gstdataqueue.c:
3251 Eliminate tabs and trailing comma in enum list; fix some typos.
3253 2007-05-24 Wim Taymans <wim@fluendo.com>
3255 * tests/check/gst/gstbin.c: (GST_START_TEST):
3256 Allow refcount of 3 and 4 because some state thread might still be busy
3259 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3261 * plugins/elements/Makefile.am:
3262 * plugins/elements/gstmultiqueue.h:
3263 * plugins/elements/gstqueue.h:
3264 These are not installed headers, no need for padding.
3266 2007-05-24 Wim Taymans <wim@fluendo.com>
3268 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3269 (gst_bin_continue_func):
3270 Enable latency for next release.
3271 Restore STATE_LOCK around recalc_state that was left out during the
3272 rewrite and could result in racy behaviour when _get_state and
3273 recalc_state are run concurrently. See #440463.
3275 2007-05-23 Wim Taymans <wim@fluendo.com>
3277 * tests/check/gst/gstsystemclock.c: (store_callback),
3279 Improve test_async_order to also work when both timers are already
3280 expired when we get scheduled to check it.
3282 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3284 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3285 (gst_bin_set_property), (gst_bin_get_property),
3286 (gst_bin_remove_func), (gst_bin_handle_message_func):
3288 'private' is a c++ keyword, let's not use that in header files,
3289 otherwise c++ compilers will throw a tantrum.
3291 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3293 * plugins/elements/gstelements.c:
3294 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3295 (gst_file_sink_get_current_offset):
3296 * plugins/indexers/gstindexers.c: (plugin_init):
3297 Use #ifdef for HAVE_XYZ for consistency.
3299 * tests/check/Makefile.am:
3300 * tests/check/elements/.cvsignore:
3301 * tests/check/elements/filesink.c: (setup_filesink),
3302 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3303 Add some unit tests for filesink.
3305 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3307 Patch by: Mark Nauwelaerts <manauw at skynet be>
3309 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3310 (gst_file_sink_query), (gst_file_sink_do_seek),
3311 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3312 * plugins/elements/gstfilesink.h:
3313 Fix position reporting; rename data_written member to current_pos to
3314 reflect its real meaning (fixes #412648).
3316 2007-05-22 Edward Hervey <edward@fluendo.com>
3318 * docs/gst/gstreamer-sections.txt:
3319 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3320 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3321 (gst_bin_remove_func), (gst_bin_handle_message_func):
3323 Add a property for bins that handle the state change of their childs.
3326 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3328 * libs/gst/controller/gstinterpolation.c:
3329 Use an array of the correct type when using _get_value_array with
3330 linear interpolation.
3332 2007-05-22 Stefan Kost <ensonic@users.sf.net>
3334 * gst/gstelement.c (gst_element_requires_clock,
3335 gst_element_provides_clock, gst_element_request_pad,
3336 gst_element_class_set_details, gst_element_class_set_details_simple,
3337 gst_element_default_send_event, gst_element_abort_state,
3338 gst_element_continue_state, gst_element_set_state,
3339 gst_element_set_state_func, iterator_activate_fold_with_resync):
3340 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3341 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3342 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3343 gst_pad_get_range, gst_pad_pull_range):
3344 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3345 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3346 GstPadActivateModeFunction, GstPadChainFunction,
3347 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3348 GstPadFixateCapsFunction, GstPadTemplate):
3349 * gst/gstpipeline.c (gst_pipeline_change_state,
3350 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3351 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3352 gst_pipeline_get_delay):
3353 Whitespace and docs fixes.
3355 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3357 * libs/gst/controller/gstinterpolation.c:
3358 (interpolate_trigger_get_enum_value_array),
3359 (interpolate_trigger_get_string_value_array):
3360 Add support for retrieving value arrays when using the trigger
3363 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3365 * libs/gst/controller/gstcontroller.c:
3366 (gst_controller_get_value_array):
3367 * libs/gst/controller/gstcontroller.h:
3368 Clarify the docs of gst_controller_get_value_array(): The array where
3369 the values should be written to must be allocated as there seems to be
3370 no way to get the size of a random GType. This doesn't change any
3371 behaviour. Also fix some typos all over the place and remove an unused,
3372 commented function that is not necessary as g_object_set() could be
3374 * tests/check/libs/controller.c: (GST_START_TEST),
3375 (gst_controller_suite):
3376 Add unit test for gst_controller_get_value_array().
3378 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3380 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3382 Disable part of the gst_buffer_try_new_and_alloc test, because
3383 it can happily succeed on 64-bit systems where there's more address
3386 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3388 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3389 Add unit test for the improved caps checking from bug #421543.
3391 2007-05-21 Wim Taymans <wim@fluendo.com>
3393 * docs/design/part-synchronisation.txt:
3396 * gst/gstbin.c: (gst_bin_query):
3397 * plugins/elements/gstqueue.c: (apply_segment):
3403 2007-05-21 Wim Taymans <wim@fluendo.com>
3405 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3406 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3407 (gst_pad_configure_src):
3408 Added simple version of improved caps checking. It was previously
3409 assumed that a setcaps function would check the validity of the caps but
3410 people prefer us to check caps against the template automatically.
3413 2007-05-21 Wim Taymans <wim@fluendo.com>
3415 * libs/gst/base/gstbasetransform.h:
3416 Fix macro for locking/unlocking the transform lock.
3418 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3420 * docs/plugins/tmpl/.cvsignore:
3423 2007-05-18 Edward Hervey <edward@fluendo.com>
3425 * plugins/elements/gstqueue.c: (gst_queue_loop):
3426 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3427 for the subtle art of warning a potentially blocking thread that it
3428 should check the source pad return value, and relay the information
3431 2007-05-18 Edward Hervey <edward@fluendo.com>
3433 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3434 Release the queue lock !
3436 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3438 * docs/libs/gstreamer-libs-sections.txt:
3439 Add the two new controller functions to the appropiate places.
3441 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3443 reviewed by: Stefan Kost <ensonic@users.sf.net>
3445 * libs/gst/controller/gstcontroller.c:
3446 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3447 (_gst_controller_get_property), (_gst_controller_set_property),
3448 (_gst_controller_init), (_gst_controller_class_init):
3449 * libs/gst/controller/gstcontroller.h:
3450 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3451 (gst_object_get_control_rate), (gst_object_set_control_rate):
3452 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3453 Add API that provides sync suggestion timestamps for elements that
3454 call gst_object_sync_values() from which those elements can subdivide
3455 their processing loop to get the best results for the controlled
3456 properties. For now it just suggests last_sync + control_rate as
3457 new timestamp but this will be improved in the future.
3459 While doing that change the control-rate property to a GstClockTime
3460 from guint and change it's meaning from samples to nanoseconds as
3461 the GstController doesn't know anything about sampling rate. Strictly
3462 speaking this breaks ABI but as the control-rate property didn't do
3463 anything in the past and as such couldn't be used this should be no
3466 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3468 reviewed by: Stefan Kost <ensonic@users.sf.net>
3470 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3471 (gst_controller_unset_all):
3472 * libs/gst/controller/gstcontrollerprivate.h:
3473 * libs/gst/controller/gstinterpolation.c:
3474 (gst_controlled_property_find_control_point_node):
3475 Save last synced value from the list to continue searching from there
3476 in future syncs. This speeds everything up a bit.
3478 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3480 reviewed by: Stefan Kost <ensonic@users.sf.net>
3482 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3483 (gst_control_point_find), (gst_controlled_property_new),
3484 (gst_control_point_free), (gst_controlled_property_free),
3485 (gst_controller_set), (gst_controller_set_from_list),
3486 (gst_controller_unset), (gst_controller_unset_all),
3487 (gst_controller_sync_values):
3488 * libs/gst/controller/gstcontroller.h:
3489 * libs/gst/controller/gstcontrollerprivate.h:
3490 * libs/gst/controller/gstinterpolation.c:
3491 (gst_controlled_property_find_control_point_node),
3492 (interpolate_none_get), (interpolate_trigger_get):
3493 Add a new private GstControlPoint struct which "inherits" from
3494 GstTimedValue to allow different interpolators to store internal
3495 values next to each control point. From the outside everything is
3496 still a GstControlPoint so we don't loose binary compatibility.
3497 Also fixup all the GValue handling to not leak GValues or list nodes.
3498 * tests/check/libs/controller.c: (GST_START_TEST):
3499 Free the list nodes and GValues in the controller_misc test.
3501 2007-05-17 Edward Hervey <edward@fluendo.com>
3506 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3508 * gst/gstplugin.c: (gst_plugin_load_file):
3509 If we fail to load a plugin because of unresolved symbols or missing
3510 libraries and spew a warning to stderr, we may just as well mention
3511 which plugin it was that failed to load.
3513 2007-05-13 David Schleef <ds@schleef.org>
3515 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3516 handles the case when ENABLE_GTK_DOC is false, and installs
3517 the prebuilt documentation. So gtk-doc subdirs are
3518 unconditionally enabled. Fixes: #349099.
3520 2007-05-13 David Schleef <ds@schleef.org>
3522 * gst/gstutils.h: Reword some documentation.
3524 2007-05-12 David Schleef <ds@schleef.org>
3526 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3527 do anything with the passed "module" parameter, so remove it.
3528 Allows removal of additional vestigal code.
3530 2007-05-12 David Schleef <ds@schleef.org>
3533 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3534 Switch to using g_stat() because it's more portable.
3536 2007-05-12 David Schleef <ds@schleef.org>
3539 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3540 parsing for embedded systems.
3541 * gst/gstelementfactory.c:
3542 Allow gst_element_register() to be called with plugin==NULL.
3543 Did nobody notice that static elements were broken?
3545 2007-05-12 Wim Taymans <wim@fluendo.com>
3547 * tools/gst-launch.c: (event_loop):
3548 Give more interesting info when buffering starts and stops.
3549 Fix case where buffering starts but we fail to update the buffering flag
3550 because the target state is not PLAYING.
3552 2007-05-12 Wim Taymans <wim@fluendo.com>
3554 * plugins/elements/gstqueue.c: (gst_queue_init),
3555 (gst_queue_finalize), (update_time_level), (apply_segment),
3556 (apply_buffer), (gst_queue_locked_flush),
3557 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3558 (gst_queue_handle_sink_event), (gst_queue_chain),
3559 (gst_queue_push_one), (gst_queue_loop):
3560 * plugins/elements/gstqueue.h:
3561 Refactor an cleanup queue a bit.
3562 Do better time level calculations that also work when the srcpad is not
3564 Remove some unneeded debug lines.
3566 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3567 Added testcase for time level measurement.
3568 Try to make some stuff more racefree.
3570 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3572 * gst/gsturi.c: (gst_element_make_from_uri):
3573 Don't leak plugin feature.
3575 * tests/check/Makefile.am:
3576 * tests/check/gst/.cvsignore:
3577 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3578 Add brain-dead unit test.
3580 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3582 Patch by: Jeroen Wouters <woutersj at gmail com>
3584 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3585 Treat protocol strings in a case-insensitive way (#437563).
3587 2007-05-11 Michael Smith <msmith@fluendo.com>
3589 * gst/gstplugin.c: (gst_plugin_load_file):
3590 * gst/gstregistry.c: (gst_registry_scan_path_level):
3591 Don't print a g_warning for any failure to load a shared object.
3592 Instead, push this down into gstplugin.c, and warn _only_ if we
3593 failed to open the module (i.e. failure to link).
3594 Avoids warnings on normal, working, non-plugin .so files.
3596 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3598 * gst/gstplugin.c (gst_plugin_load_file):
3599 * gst/gstregistry.c (GST_CAT_DEFAULT,
3600 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3601 Print a g_warning if there was an error when loading a plugins during
3602 registry scan. The shuld help beginners starting with gst-plugin
3605 2007-05-10 Wim Taymans <wim@fluendo.com>
3607 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3608 (update_time_level), (gst_queue_locked_flush),
3609 (gst_queue_handle_sink_event), (gst_queue_chain),
3610 (gst_queue_push_one), (gst_queue_loop):
3611 * plugins/elements/gstqueue.h:
3612 Be smarter when calculating the current amount of data in the queue by
3613 measuring the difference between start and end timestamps (in running
3614 time) inside the queue. Fixes #432876.
3615 API: GstQueue::pushing to notify elements that we are pushing data again
3616 since the running signal is rather broken for this purpose.
3618 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3620 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3621 gst_queue_base_init, gst_queue_init):
3624 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3626 * win32/common/libgstreamer.def:
3627 Add new exported functions.
3628 * win32/vs6/grammar.dsp:
3629 Use grammar pre-generated files.
3631 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3633 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3636 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3638 * gst/gstutils.c: (gst_parse_bin_from_description):
3640 Maintain API and ABI when --disable-parse is used. Now that
3641 we have an appropriate error code, we can just return NULL and the
3642 appropriate error when gst_parse_launch() is used despite it having
3643 been disabled (#342564).
3645 * tests/check/Makefile.am:
3646 * tests/check/pipelines/.cvsignore:
3647 * tests/check/pipelines/parse-disabled.c:
3648 Make sure these functions exist and return NULL plus a GError when
3649 --disable-parse is used.
3651 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3653 * tests/benchmarks/complexity.c: (main):
3654 * tests/benchmarks/mass-elements.c: (main):
3655 Set a good example and don't leak messages.
3657 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3659 * docs/gst/Makefile.am:
3660 * docs/libs/Makefile.am:
3661 Correct fixxrefs options.
3663 * docs/plugins/Makefile.am:
3664 * docs/plugins/gstreamer-plugins-docs.sgml:
3665 * docs/plugins/gstreamer-plugins-sections.txt:
3666 * plugins/elements/Makefile.am:
3667 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3668 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3669 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3670 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3671 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3672 _GstCapsFilterClass, trans_class):
3673 * plugins/elements/gstelements.c (name, rank, type, _elements):
3674 * plugins/elements/gstidentity.c
3675 (gst_identity_check_imperfect_timestamp,
3676 gst_identity_check_imperfect_offset):
3677 Document capsfilter and add doc-blurb to identity.
3679 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3681 * libs/gst/controller/gstcontroller.c:
3682 (gst_controlled_property_set_interpolation_mode):
3683 * libs/gst/controller/gstinterpolation.c:
3684 Don't crash if someone tries to set an interpolation mode that
3685 is invalid or that isn't supported yet. Fixes #422295.
3687 * tests/check/libs/controller.c: (GST_START_TEST),
3688 (gst_controller_suite):
3689 Add a test case for the above.
3691 2007-05-03 Edward Hervey <edward@fluendo.com>
3693 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3694 Properly set the last_stop position on GstSegment. This will only happen
3695 if there is a buffer to push out.
3697 2007-05-03 Wim Taymans <wim@fluendo.com>
3699 * libs/gst/base/gstbasetransform.c:
3700 (gst_base_transform_buffer_alloc):
3701 always_in_place does not mean that the sink and source caps are the
3702 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3704 2007-05-03 Wim Taymans <wim@fluendo.com>
3706 * docs/libs/gstreamer-libs-sections.txt:
3707 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3708 (gst_base_src_default_query), (gst_base_src_get_range):
3709 * libs/gst/base/gstbasesrc.h:
3710 API: gst_base_src_query_latency(). Added method so that subclasses can
3711 easily get the latency values of the base source class.
3713 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3715 * tools/gst-inspect.c (print_implementation_info):
3718 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3720 * tools/Makefile.am:
3721 * tools/gst-launch.1.in:
3722 Don't create a customised man page based on the host architecture,
3723 describe the default registry path generically. That way the man
3724 page is the same for all architectures and packagers have one
3725 multilib issue less to deal with. Fixes #434926.
3727 2007-05-02 Wim Taymans <wim@fluendo.com>
3730 Fix documentation as spotted by rg on IRC.
3732 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3735 Improve docs for gst_element_{link,unlink}.
3737 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3739 * docs/design/part-events.txt:
3740 * docs/design/part-overview.txt:
3744 * libs/gst/base/gstbasesink.c:
3745 Typo fixes; minor docs addition.
3747 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3749 * docs/gst/gstreamer-sections.txt:
3750 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3751 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3753 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3754 or src that supports a given URI protocol exists.
3756 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3758 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3759 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3760 Set the location to NULL if "file://" is set as URI. Otherwise
3761 some random previous URI would still be set if "file://" is
3762 set on an already used filesink/filesrc.
3764 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3766 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3767 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3768 Special case the "file://" URI as as this is used by some
3769 applications to test with gst_element_make_from_uri if there's
3770 an element that supports the URI protocol.
3771 Also move the g_path_is_absolute() check for the location part
3772 of the URI to also check this for "file://localhost/bla" URIs.
3774 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3776 * docs/gst/gstreamer-sections.txt:
3777 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3779 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3781 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3783 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3785 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3786 (gst_registry_binary_load_pad_template),
3787 (gst_registry_binary_load_plugin),
3788 (gst_registry_binary_read_cache):
3789 * gst/gstregistrybinary.h:
3790 Implement no-mmap alternative for registry reading. Do code cleanups.
3791 Add more comments about avoiding strdups for all text data. Comments
3794 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3796 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3797 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3798 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3799 Comment structs and reformat to fix the build (that stuff should go
3800 into a priv. header).
3802 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3804 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3805 (gst_registry_binary_load_feature):
3806 * gst/gstregistrybinary.h:
3807 Refactor so that we can implement multiple features. Add support for
3808 TypeFindFactory features.
3810 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3812 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3815 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3817 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3819 * gst/gstbin.c: (gst_bin_element_set_state),
3820 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3821 (bin_handle_async_done), (gst_bin_handle_message_func):
3822 Fix build with --gst-disable-gst-debug
3824 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3826 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3827 Make sure streaming has finished before calling the ::stop() vfunc,
3828 since that vfunc might clear state which is being used in the
3829 streaming thread. This fixes a race that caused crashes in
3830 audioresample when shutting down a pipeline (#420106).
3832 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3834 * docs/gst/gstreamer-sections.txt:
3835 That was one byte missing.
3837 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3840 * docs/gst/gstreamer-sections.txt:
3842 * gst/gstconfig.h.in:
3843 * gst/gstobject.c: (gst_object_class_init),
3844 (gst_signal_object_class_init):
3846 2nd attempt to have a xml-less build as a joined effort of #413123
3849 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3851 * docs/design/draft-tagreading.txt:
3852 Added open issues/thoughts to draft.
3854 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3856 * gst/parse/grammar.tab.pre.c:
3857 * gst/parse/grammar.tab.pre.h:
3858 * gst/parse/lex._gst_parse_yy.pre.c:
3859 Update the prebuild parser sources.
3861 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3863 * gst/parse/Makefile.am:
3864 And now fix the building of the flex sources. Now everything should
3867 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3869 * gst/parse/Makefile.am:
3870 Now hopefully fix the build failures by setting proper rule
3871 dependencies and moving instead of copying.
3873 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3875 * tests/benchmarks/complexity.gnuplot:
3876 * tests/benchmarks/complexity.scm:
3877 * tests/benchmarks/mass-elements.gnuplot:
3878 * tests/benchmarks/mass-elements.scm:
3879 Total licensification.
3881 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3883 * gst/parse/Makefile.am:
3884 Fix the build by correcting the rule that gave wrong files to flex.
3886 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3888 * tests/benchmarks/complexity.c:
3889 * tests/benchmarks/mass-elements.c:
3890 Change licence to LGPL as granted by Benjamin and Andy.
3892 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3894 * gst/parse/Makefile.am:
3895 Add correct grammar.tab.h dependency if compiling without new enough
3896 flex. Fixes #431150.
3898 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3900 * gst/parse/Makefile.am:
3901 Fix typo and use outdated sources if the flex/bison sources are newer
3902 than the pregenerated ones but flex is too old. Print a warning in
3903 that case. This should fix the build on the build bot.
3905 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3907 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3908 * gst/parse/Makefile.am:
3909 * gst/parse/grammar.y:
3910 * gst/parse/parse.l:
3911 Make the parser reentrant and recursively callable. This requires flex
3912 >= 2.5.31, for older versions pregenerated sources are used as we
3913 can't bump the build dependency. Finally fixes #349180.
3915 * gst/gstparse.c: (gst_parse_launch):
3916 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3919 * docs/gst/Makefile.am:
3920 * docs/gst/Makefile.am:
3921 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3922 (__gst_parse_strfree), (__gst_parse_link_new),
3923 (__gst_parse_link_free), (__gst_parse_chain_new),
3924 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3925 (gst_parse_element_set), (gst_parse_free_link),
3926 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3927 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3928 (_gst_parse_launch):
3929 * gst/parse/grammar.tab.pre.h:
3930 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3931 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3932 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3933 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3934 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3935 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3936 (_gst_parse_yypop_buffer_state),
3937 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3938 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3939 (yy_fatal_error), (_gst_parse_yyget_extra),
3940 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3941 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3942 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3943 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3944 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3945 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3946 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3947 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3948 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3949 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3950 (_gst_parse_yyfree):
3951 If the installed flex version is too old use pre-generated parser
3952 sources. These pre-generated parser sources are always updated when
3953 the actual flex/bison sources change but require everybody who wants
3954 to change something in the parser to have flex >= 2.5.31 installed.
3956 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3958 * common/m4/gst-gettext.m4:
3959 * gst/gst-i18n-lib.h:
3960 Make --disable-nls to work
3962 2007-04-17 Wim Taymans <wim@fluendo.com>
3964 * gst/gstconfig.h.in:
3965 Revert previous change that broke the build.
3967 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3971 * gst/gstconfig.h.in:
3972 Drop libxml2 dependency when building with
3973 --enable-binary-registry --disable-loadsave
3975 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3977 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3978 (gst_registry_binary_read_cache):
3979 * gst/gstregistrybinary.h:
3980 Remove unnecessary <sys/mman.h> include which broke the win32 build
3981 with MingW; move includes from header file to .c file, even if the
3982 header file isn't installed; use g_strerror() where UTF-8 strings
3983 are expected, such as in GST_DEBUG messages.
3985 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3987 * docs/libs/gstreamer-libs-sections.txt:
3988 Remove bogus addition for API I didn't end up keeping.
3990 * libs/gst/base/gstbasesrc.h:
3991 Mention Since: 0.10.13 in the documentation.
3993 Add the API keyword to the previous ChangeLog entry.
3995 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3997 * docs/libs/gstreamer-libs-sections.txt:
3998 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3999 (gst_base_src_default_prepare_seek_segment),
4000 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4001 * libs/gst/base/gstbasesrc.h:
4002 Allow basesrc derived classes to execute seeks in other formats
4003 by providing a prepare_seek_segment vmethod. Sub-classes can choose
4004 to prepare the GstSegment in any format that their perform_seek method
4005 will be able to understand. The default implementation provides the
4006 old behaviour of attempting to convert the seek offsets to the
4007 configured native format.
4009 API: basesrc::prepare_seek_segment vmethod.
4011 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4013 * gst/gstelement.c: (gst_element_get_state_func):
4014 Don't output the same debug statement twice.
4016 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4017 (gst_adapter_peek), (gst_adapter_take_buffer):
4018 Optimise the case where we have buffers at the head of the queue that
4019 can be joined quickly (because they're contiguous sub-buffers) by
4020 merging them together rather than copying data out into new memory.
4022 * gst/parse/grammar.y:
4023 * tests/check/pipelines/parse-launch.c:
4024 Fix a leak in an error path for parse_launch, and add a check
4025 for it to the testsuite.
4027 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
4029 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4030 Don't deadlock when releasing a pad - gst_pad_set_active may try
4031 and take the multiqueue lock too.
4033 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
4035 * gst/gsterror.c: (_gst_core_errors_init):
4037 API: add GST_CORE_ERROR_DISABLED (#392804).
4039 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4041 * docs/faq/gst-uninstalled:
4042 don't get empty paths on the PATH variables
4043 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4044 Don't format for the uncommon terminal width of 84 characters.
4046 2007-04-06 Wim Taymans <wim@fluendo.com>
4048 * gst/gstpipeline.c: (reset_stream_time),
4049 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4050 Only try to select a different pipeline clock when we went back to
4051 PAUSED and not when we merely got flushed.
4053 2007-04-05 Michael Smith <msmith@fluendo.com>
4055 * tools/gst-launch.1.in:
4056 fractions are better supported in gstreamer than ractions, so
4057 suggest using those.
4059 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
4061 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4065 Added Danish translation.
4067 2007-04-05 Wim Taymans <wim@fluendo.com>
4069 * libs/gst/base/gstbasesink.c:
4070 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4071 Fix leak caused when refusing newsegment after EOS.
4073 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4074 (gst_fake_sink_init), (gst_fake_sink_set_property),
4075 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4076 (gst_fake_sink_render), (gst_fake_sink_change_state):
4077 * plugins/elements/gstfakesink.h:
4078 Add num-buffers property to make the element generate EOS after a
4079 configurable amount of buffers.
4080 API: fakesink::num-buffers property.
4082 * tests/check/elements/fakesink.c: (GST_START_TEST),
4084 Fix GstBus leak in test.
4085 Test for fakesink num-buffers.
4087 2007-04-05 Wim Taymans <wim@fluendo.com>
4089 * libs/gst/base/gstbasesink.c:
4090 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4091 (gst_base_sink_change_state):
4092 Don't accept anything after an EOS, return UNEXPECTED instead.
4094 * tests/check/elements/fakesink.c: (GST_START_TEST),
4096 Unit test for new EOS behaviour.
4098 2007-04-05 Wim Taymans <wim@fluendo.com>
4100 * gst/gstelement.c: (gst_element_get_request_pad):
4101 Make padtemplates also work when they don't contain %s or %d.
4103 2007-04-05 Wim Taymans <wim@fluendo.com>
4105 * docs/gst/gstreamer-sections.txt:
4106 * gst/gstclock.c: (gst_clock_adjust_unlocked),
4107 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4109 Improve _adjust_unlocked() so that it overflows less.
4110 Add gst_clock_unadjust_unlocked to convert from external time to
4111 internal time based on calibration.
4112 Add some more debug.
4113 API: GstClock::gst_clock_unadjust_unlocked()
4115 2007-04-03 Wim Taymans <wim@fluendo.com>
4117 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4119 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4120 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4121 when releasing sink pad. Fixes #425400.
4123 2007-04-02 Stefan Kost <ensonic@users.sf.net>
4125 * docs/random/ensonic/dynlink.txt:
4126 More work on proposal for new core api.
4128 * docs/libs/gstreamer-libs-sections.txt:
4129 * libs/gst/base/gstbasetransform.h:
4130 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4132 * libs/gst/controller/gstcontroller.c:
4133 (on_object_controlled_property_changed),
4134 (gst_controller_sync_values),
4135 (gst_controller_set_interpolation_mode):
4136 * libs/gst/controller/gstcontroller.h:
4137 Less verbose logging add docs for unimplemented parts and correctly
4138 return when using unavailable parts.
4140 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
4142 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4143 Move all the debug to the CLOCK category, and associate it with
4146 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
4148 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4149 Make take_buffer a bit quicker by removing redundant checks
4150 caused by calling gst_adapter_take.
4152 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
4154 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4157 * tests/check/Makefile.am:
4158 * tests/check/elements/.cvsignore:
4159 * tests/check/elements/multiqueue.c: (setup_multiqueue),
4160 (GST_START_TEST), (multiqueue_suite):
4161 Add some dead simple unit tests for the 'multiqueue' element
4162 (some bits don't work yet and are disabled for now).
4164 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
4166 * gst/gstelement.c: (gst_element_get_request_pad),
4167 (gst_element_class_get_request_pad_template):
4168 Make gst_element_get_request_pad() create request pads only for
4169 request pad templates and not for, say, sometimes pad templates.
4171 2007-03-28 Stefan Kost <ensonic@users.sf.net>
4173 * docs/design/draft-klass.txt:
4174 Add example that needs more thinking.
4176 * docs/design/draft-missing-plugins.txt:
4177 More thoughts about wrapper plugins.
4179 * docs/random/ensonic/embedded.txt:
4180 * docs/random/ensonic/profiling.txt:
4183 2007-03-25 Wim Taymans <wim@fluendo.com>
4185 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4186 (gst_base_src_loop):
4187 Only push the segment events in the PLAYING state for live sources.
4189 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
4191 * gst/gstpipeline.c: (gst_pipeline_change_state):
4192 Modify the clock distribution path in PAUSED->PLAYING so that we
4193 never attempt to choose a new clock unless we're actually leaving
4194 the PAUSED state for the first time. This prevents choosing a
4195 different clock when the state_change gets called for a 2nd time due
4196 to some element doing an async state change.
4198 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4200 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4201 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4202 (gst_pad_chain_unchecked), (gst_pad_push):
4203 Revert last commit. This needs some more thoughts.
4205 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4207 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4208 (gst_pad_chain_unchecked), (gst_pad_push):
4209 Check in set_caps if the caps are compatible with the pad and remove
4210 two functions that are redundant now. Fixes #421543.
4212 2007-03-22 Wim Taymans <wim@fluendo.com>
4214 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4215 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4216 Unref some more to make valgrind happy.
4218 2007-03-22 Wim Taymans <wim@fluendo.com>
4220 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4221 (gst_system_clock_id_wait_jitter),
4222 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4223 Fix anoying regression that survived a few releases. When adding an
4224 async entry while blocking on a sync entry, the sync entry will unblock
4225 but still be busy, so it should continue to wait instead of returning
4227 Add some comments here and there.
4229 * tests/check/gst/gstsystemclock.c: (mixed_thread),
4230 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4231 Add testcase for this.
4233 2007-03-22 Wim Taymans <wim@fluendo.com>
4235 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4236 Handle errors from the clock sync better, only UNSCHEDULED indicates a
4237 WRONG_STATE and can silently pause the task. All other cases should
4240 2007-03-22 Wim Taymans <wim@fluendo.com>
4242 Patch by: Ville Syrjala <syrjala at sci dot fi>
4244 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4245 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
4248 2007-03-21 Michael Smith <msmith@fluendo.com>
4250 * docs/pwg/advanced-types.xml:
4251 Fix some errors in the typefinding docs pointed out on irc.
4253 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
4255 * libs/gst/base/gstbasesrc.c:
4256 Clarify FIXME comment in the face of having added unlock_stop()
4258 2007-03-21 Wim Taymans <wim@fluendo.com>
4260 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4261 Prepare for release where we warn against possible app breakage in the
4262 case of live pipelines along with an env var to enable/disable live
4263 preroll mode (GST_COMPAT=[no-]live-preroll).
4265 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4267 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4268 So we should use correct constants for checking for None offset.
4270 2007-03-20 Wim Taymans <wim@fluendo.com>
4272 * docs/design/part-block.txt:
4273 Mention the fact that the newly switched element should be set to at
4276 2007-03-20 Wim Taymans <wim@fluendo.com>
4279 Fix compilation with registry disabled as spotted by Saur.
4281 2007-03-20 Wim Taymans <wim@fluendo.com>
4283 Patch by: Olivier Crete <tester at tester dot ca>
4285 * gst/gstelement.c: (gst_element_sync_state_with_parent):
4286 Look at the pending state too when syncing the element state to the
4287 parent. Fixes #420133.
4289 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
4291 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4292 (gst_base_sink_change_state):
4293 * libs/gst/base/gstbasesink.h:
4294 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4295 (gst_base_src_default_event), (gst_base_src_unlock_stop),
4296 (gst_base_src_deactivate):
4297 * libs/gst/base/gstbasesrc.h:
4298 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4299 for sub-classes to correctly clear any state they set trying to
4300 unlock, such as clearing out unlock commands from a command fd.
4301 API: basesrc::unlock_stop
4302 API: basesink::unlock_stop
4304 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4305 (gst_fd_sink_render), (gst_fd_sink_unlock),
4306 (gst_fd_sink_unlock_stop):
4307 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4308 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4309 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4311 Implement unlock_stop in fdsrc and fdsink.
4312 Implement seeking in fdsrc when a seekable fd is passed, as in
4313 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4315 2007-03-19 Wim Taymans <wim@fluendo.com>
4317 Patch by: Evan Nemerson <evan at coeus dash group dot com>
4319 * gst/gstelement.c: (gst_element_class_init):
4320 Fix pad-added and pad-removed signal signatures so that the pad type is
4321 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4323 2007-03-19 Wim Taymans <wim@fluendo.com>
4325 * docs/gst/gstreamer-sections.txt:
4326 Add new element field and method.
4328 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4329 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4330 (gst_bin_recalc_state), (gst_bin_get_state_func),
4331 (gst_bin_element_set_state), (gst_bin_change_state_func),
4332 (gst_bin_continue_func), (bin_bus_handler),
4333 (bin_push_state_continue), (bin_handle_async_start),
4334 (bin_handle_async_done), (gst_bin_handle_message_func):
4335 Make async state changes a bit smarter by using new ASYNC_START and
4336 ASYNC_DONE messages. This reduces the number of times we run the state
4337 recalculation thread.
4338 Don't change state of element with a pending ASYNC_START message.
4339 Deprecate STATE_DIRTY messages.
4341 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4342 (gst_element_get_state_func), (gst_element_continue_state),
4343 (gst_element_lost_state), (gst_element_set_state_func),
4344 (gst_element_change_state):
4346 Keep the state that was last set by the app in a new element field.
4347 Don't allow state changes when handling an element event.
4348 Post ASYNC_START and ASYNC_DONE messages.
4349 Change lost_state so that we go to PAUSED and wait for the parent to set
4350 us to PLAYING again (so latency calculation can be performed)
4351 Export gst_element_change_state() method so that subclasses can use it.
4352 API: gst_element_change_state()
4353 API: GST_STATE_TARGET
4355 * gst/gstpipeline.c: (gst_pipeline_class_init),
4356 (reset_stream_time), (gst_pipeline_change_state),
4357 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4358 Using the new ASYNC_START message we can reset the base_time when
4359 needed. This can then be used to implement base_time redistribution in
4360 flushing seeks so that we can remove the explicit seek handling.
4361 Perform latency query and configuration when going to PLAYING.
4363 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4364 (gst_base_sink_query), (gst_base_sink_change_state):
4365 Post new ASYNC_START/ASYNC_DONE messages.
4367 * tests/check/generic/sinks.c: (GST_START_TEST):
4368 Fix test because the bin will not set the async element to PLAYING right
4371 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4372 Make the message check a little stronger.
4373 Handle ASYNC messages.
4375 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4376 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4377 Expect ASYNC_DONE messages.
4379 2007-03-19 Wim Taymans <wim@fluendo.com>
4381 * docs/gst/gstreamer-sections.txt:
4382 * gst/gstmessage.c: (gst_message_new_async_start),
4383 (gst_message_new_async_done), (gst_message_parse_info),
4384 (gst_message_parse_async_start):
4386 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4389 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4391 * tools/gst-inspect.c:
4392 (print_plugin_automatic_install_info_codecs):
4393 Now that we don't check for the 'Codec' keyword any longer in the
4394 klass, we shouldn't spew a warning if the klass isn't a decoder or
4395 encoder (since it might be a Source/Network, for example).
4397 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4399 * tools/gst-inspect.c:
4400 (print_plugin_automatic_install_info_codecs):
4401 Don't require decoder/demuxer/depayloader elements or
4402 encoder/muxer/paylader elements to have 'Codec' as part of their
4403 factory class string when introspecting a plugin's capabilities.
4404 draft-klass.txt mentions that it might be removed in future, and
4405 flump3dec doesn't have it as part of its class string, so chances
4406 are others might also not have it.
4408 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4430 Update translations from translation project
4432 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4434 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4435 (gst_child_proxy_set_property):
4436 Invert precondition check to be alike the ones in the mimiced gobject
4439 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4441 * docs/design/draft-tagreading.txt:
4442 * docs/random/ensonic/audiobaseclasses.txt:
4443 Do some Architect work.
4445 * gst/gstobject.c: (gst_object_set_name):
4449 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4451 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4453 * gst/gstsystemclock.c: (gst_system_clock_init),
4454 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4455 Defer starting the async system clock thread until the first async
4456 wait is scheduled. Fixes #414986.
4458 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4460 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4461 (gst_single_queue_free):
4462 Fix small leak (free GstSingleQueue structure too, not only contents).
4464 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4466 * gst/gstbin.c:(gst_bin_add):
4467 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4468 * win32/common/libgstbase.def:
4469 * win32/common/libgstreamer.def:
4470 Add new exported functions.
4472 2007-03-09 Wim Taymans <wim@fluendo.com>
4474 * docs/plugins/gstreamer-plugins-sections.txt:
4477 2007-03-09 Wim Taymans <wim@fluendo.com>
4479 * docs/gst/gstreamer-sections.txt:
4480 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4482 Add metadata copy functions. Fixes #393099.
4483 API: gst_buffer_copy_metadata()
4485 * gst/gstutils.c: (gst_buffer_stamp):
4486 * libs/gst/base/gstbasetransform.c:
4487 (gst_base_transform_prepare_output_buffer):
4488 Use new metadata copy functions.
4490 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4492 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4493 (gst_identity_init), (gst_identity_check_perfect),
4494 (gst_identity_check_imperfect_timestamp),
4495 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4496 (gst_identity_set_property), (gst_identity_get_property):
4497 * plugins/elements/gstidentity.h:
4498 Separate out check-imperfect-timestamp and check-imperfect-offset.
4499 Put back check-perfect as it was to keep compatibility.
4501 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4503 * gst/gstelement.c: (gst_element_dispose):
4504 There's no need to warn if VOID_PENDING is not NONE here, as
4505 long as the state is NULL it's ok, and that's checked immediately
4508 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4510 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4511 Fix check for perfect stream to ignore buffers with -1
4512 offsets/offset ends when checking data contiguity.
4514 2007-03-08 Wim Taymans <wim@fluendo.com>
4516 * tools/gst-launch.c: (event_loop):
4517 Print INFO messages.
4519 2007-03-08 Wim Taymans <wim@fluendo.com>
4521 * libs/gst/base/gstbasetransform.c:
4522 (gst_base_transform_sink_eventfunc),
4523 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4524 (gst_base_transform_activate):
4525 * libs/gst/base/gstbasetransform.h:
4526 Add support for dropping buffers with custom GstFlowReturn.
4527 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4528 buffers or dropped buffers.
4530 * docs/libs/gstreamer-libs-sections.txt:
4531 docs for new custom return code.
4533 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4534 Use drop support in base class to implement drop-probability.
4536 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4538 * gst/gst.c: (load_plugin_func):
4539 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4540 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4541 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4542 Remove newlines at end of debug log strings.
4544 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4546 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4547 Only post bus message at max, once per buffer received.
4549 2007-03-07 Wim Taymans <wim@fluendo.com>
4551 * docs/design/Makefile.am:
4552 * docs/design/part-synchronisation.txt:
4553 Add doc about synchronisation
4555 * docs/design/draft-latency.txt:
4556 * docs/design/part-TODO.txt:
4557 * docs/design/part-clocks.txt:
4558 * docs/design/part-events.txt:
4559 * docs/design/part-gstbus.txt:
4560 * docs/design/part-gstpipeline.txt:
4561 * docs/design/part-live-source.txt:
4562 * docs/design/part-messages.txt:
4563 * docs/design/part-overview.txt:
4564 * docs/design/part-streams.txt:
4565 * docs/design/part-trickmodes.txt:
4566 Documentation updates.
4568 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4571 Update the doap file.
4573 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4575 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4576 Rename non-perfect to imperfect for Mike and for the sanctity of the
4578 Also make sure bus message gets emitted for data-incontiguities.
4580 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4582 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4583 (gst_identity_start):
4584 * plugins/elements/gstidentity.h:
4585 Emit bus message if check-perfect is true and we encounter a
4586 non-perfect stream between 2 consecutive buffers.
4589 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4594 === release 0.10.12 ===
4596 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4599 releasing 0.10.12, "Inevitable Demise"
4601 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4604 Version 0.10.11.2 (0.10.12 pre-release)
4605 Bump libtool versioning.
4607 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4609 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4610 Log flow-names and not numbers.
4612 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4615 Convert to new AG_GST style.
4617 2007-02-28 Wim Taymans <wim@fluendo.com>
4619 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4620 Don't unref query twice.
4622 2007-02-28 Wim Taymans <wim@fluendo.com>
4624 * gst/gstvalue.c: (gst_value_transform_object_string),
4625 (_gst_value_initialize):
4626 Implement GstObject -> string transform so we print object names
4627 when serializing GValues containing GstObjects.
4629 2007-02-28 Wim Taymans <wim@fluendo.com>
4631 * docs/gst/gstreamer-sections.txt:
4632 Add new stuff to docs.
4634 2007-02-28 Wim Taymans <wim@fluendo.com>
4636 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4637 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4638 (gst_base_sink_change_state):
4639 Improve latency query code.
4640 Don't leak latency events.
4642 * tests/check/gst/gstbin.c: (GST_START_TEST):
4645 2007-02-28 Wim Taymans <wim@fluendo.com>
4647 * gst/gstelement.c: (gst_element_message_full),
4648 (gst_element_get_state_func):
4650 Improve docs a little. Added Since: for new macro.
4652 * gst/gstobject.c: (gst_object_sink):
4653 * gst/gstpipeline.c: (gst_pipeline_change_state),
4654 (gst_pipeline_set_new_stream_time):
4655 * gst/gstpipeline.h:
4656 Improve debugging and docs.
4658 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4661 2007-02-28 Wim Taymans <wim@fluendo.com>
4663 * gst/gstelement.c: (gst_element_message_full),
4664 (gst_element_set_locked_state), (gst_element_get_state_func),
4665 (gst_element_change_state):
4666 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4667 Documentation updates.
4668 Small code cleanups.
4670 * gst/gstmessage.c: (gst_message_new_info),
4671 (gst_message_parse_info):
4673 API: gst_message_new_info()
4674 API: gst_message_parse_info()
4675 Add INFO message create and parse code.
4677 2007-02-28 Wim Taymans <wim@fluendo.com>
4679 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4680 (bin_query_latency_done):
4681 Also report the live parameter of a latency query.
4683 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4685 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4686 Copy the current generic/states example from -base and adapt so
4687 we can use the exact same code everywhere.
4688 Check a STATES_IGNORE_ELEMENTS env var which can be used
4689 to ignore certain element factories for this test, which is
4690 what is being done in -base
4691 * tests/check/Makefile.am:
4692 Mention this environment variable.
4694 2007-02-27 Wim Taymans <wim@fluendo.com>
4696 * docs/gst/gstreamer-sections.txt:
4697 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4698 (gst_bus_timed_pop), (gst_bus_pop):
4700 API: gst_bus_timed_pop()
4701 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4702 message to arrive on the bus.
4704 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4706 Two unit tests for new _timed_pop() function.
4708 2007-02-23 Wim Taymans <wim@fluendo.com>
4710 * gst/gstpipeline.c: (gst_pipeline_change_state),
4711 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4712 Don't ref a NULL clock in _provide_clock_func().
4713 Don't allow an INVALID delay.
4714 Don't try to calculate base_time with an invalid start_time.
4715 Also distribute and notify a NULL clock when it was selected.
4717 * tools/gst-launch.c: (event_loop):
4718 Don't crash when a NULL clock was selected in the pipeline.
4720 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4722 * docs/design/Makefile.am:
4723 * docs/design/draft-missing-plugins.txt:
4724 * docs/random/draft-missing-plugins.txt:
4725 Some small updates: update plugin system identifier prefix
4726 ('gstreamer.net' to 'gstreamer'), mention our new install
4727 API in libgstbaseutils rather than libgimme-codec, add
4728 reference to the online docs.
4730 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4732 * win32/common/config.h:
4733 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4734 use moap cl ci to only check in what is mentioned in the ChangeLog.
4736 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4738 * docs/gst/gstreamer-sections.txt:
4740 Fix up documentation to link to the correct GstGError section.
4741 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4743 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4745 * tools/gst-launch.c: (event_loop):
4746 Make sure that we actually show the important message part of a
4748 No need to check if the gerror is not NULL to free; first of all
4749 g_free accepts NULL; and second the default error handler would
4750 segfault if gerror was NULL.
4752 2007-02-21 Wim Taymans <wim@fluendo.com>
4754 * docs/gst/gstreamer-sections.txt:
4755 Removed docs as well.
4757 2007-02-21 Wim Taymans <wim@fluendo.com>
4759 * gst/gstmessage.c: (gst_message_parse_duration):
4761 Remove new messages for release.
4763 2007-02-20 Wim Taymans <wim@fluendo.com>
4765 * docs/design/part-gstghostpad.txt:
4766 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4767 (gst_ghost_pad_new_full):
4768 Make the ghostpad a parent of the internal pad again for better backward
4769 compatibility. Don't write code that relies on this however.
4771 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4772 (gst_pad_link_check_hierarchy):
4773 Require that parents should be GstElements in the hierarchy check.
4775 2007-02-20 Wim Taymans <wim@fluendo.com>
4777 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4778 (gst_bin_change_state_func), (bin_query_min_max_init),
4779 (bin_query_latency_fold), (bin_query_latency_done),
4782 Implement latency query.
4784 2007-02-20 Wim Taymans <wim@fluendo.com>
4786 * docs/design/part-gstghostpad.txt:
4787 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4788 (gst_ghost_pad_internal_do_activate_push),
4789 (gst_ghost_pad_internal_do_activate_pull),
4790 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4791 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4792 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4793 Do not set the internal pad as a parent anymore so we can avoid
4794 hierarchy linking errors when the ghostpad has no parent yet. This also
4795 fixes failed activation because of unlinked internal pads, which in
4796 turn fixes the impossible case where you have to activate a pad before
4797 you can add it to a running element.
4800 * gst/gstpad.c: (pre_activate), (post_activate),
4801 (gst_pad_set_active), (gst_pad_activate_pull),
4802 (gst_pad_activate_push), (gst_pad_check_pull_range):
4803 Add some more debug info.
4804 Mark activation mode in pre_activate so that we don't try to activate in
4805 endless loops. Fixes #385084.
4807 2007-02-19 Wim Taymans <wim@fluendo.com>
4809 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4810 (gst_base_transform_check_get_range):
4811 Implement a checkgetrange function instead of relying on the default
4812 core behaviour that assumes we can operate in pull mode if we have a
4813 getrange function. First step at fixing #385084.
4815 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4817 * gst/gstchildproxy.h:
4818 * libs/gst/base/gstbasesink.h:
4819 * libs/gst/base/gstbasesrc.h:
4820 * libs/gst/base/gstbasetransform.h:
4821 More docs coverage and some ChangeLog surgery (add missing names)
4823 2007-02-15 Wim Taymans <wim@fluendo.com>
4825 * docs/design/part-TODO.txt:
4826 * docs/design/part-activation.txt:
4827 * docs/design/part-block.txt:
4828 * docs/design/part-buffering.txt:
4829 * docs/design/part-clocks.txt:
4830 * docs/design/part-element-source.txt:
4831 * docs/design/part-events.txt:
4832 * docs/design/part-gstbin.txt:
4833 * docs/design/part-gstbus.txt:
4834 * docs/design/part-gstpipeline.txt:
4835 * docs/design/part-live-source.txt:
4836 * docs/design/part-messages.txt:
4837 * docs/design/part-overview.txt:
4838 * docs/design/part-qos.txt:
4839 * docs/design/part-query.txt:
4840 * docs/design/part-states.txt:
4841 * docs/design/part-trickmodes.txt:
4842 Some doc updates. Start renaming from stream_time to running_time where
4843 it was used wrongly.
4845 2007-02-15 Wim Taymans <wim@fluendo.com>
4847 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4848 Answer LATENCY query.
4850 2007-02-15 Wim Taymans <wim@fluendo.com>
4852 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4856 2007-02-15 Wim Taymans <wim@fluendo.com>
4858 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4859 (gst_pad_dispatcher):
4860 Improve debugging of default pad dispatcher and query functions.
4862 2007-02-15 Wim Taymans <wim@fluendo.com>
4864 * docs/gst/gstreamer-sections.txt:
4865 Remove old unused method.
4867 2007-02-13 Wim Taymans <wim@fluendo.com>
4869 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4872 2007-02-13 Wim Taymans <wim@fluendo.com>
4874 * docs/design/part-seeking.txt:
4877 * gst/gstsegment.c: (gst_segment_set_seek):
4878 Revert old bogus change that should make seeking work again.
4880 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4882 * docs/random/ensonic/dynlink.txt:
4883 * docs/random/ensonic/interfaces.txt:
4884 * docs/random/ensonic/receipies.txt:
4885 Possible dynamic reconnection api, plus some type fixes the other two
4888 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4890 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4891 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4892 Also check for an absolute path following file:// in the filesrc
4893 element. Remove redundant check and call g_path_is_absolute() on the
4896 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4898 * docs/design/draft-klass.txt:
4899 Add existing category analysis.
4902 Fix doc example, framerate is a fraction.
4904 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4907 * docs/gst/Makefile.am:
4908 * docs/gst/gstreamer-sections.txt:
4909 * docs/libs/Makefile.am:
4910 Erm, forgot a bunch of --extra-dir.
4912 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4915 * docs/gst/Makefile.am:
4916 * docs/libs/Makefile.am:
4917 * docs/plugins/Makefile.am:
4918 Add crossreferences to glib/gobject docs.
4920 2007-02-12 Wim Taymans <wim@fluendo.com>
4922 * docs/design/draft-latency.txt:
4925 * docs/libs/gstreamer-libs-sections.txt:
4926 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4927 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4928 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4929 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4930 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4931 (gst_base_sink_get_position), (gst_base_sink_query),
4932 (gst_base_sink_change_state):
4933 * libs/gst/base/gstbasesink.h:
4934 API: gst_base_sink_query_latency() to let subclasses query the upstream
4936 API: gst_base_sink_get_latency() to let subclasses query the configured
4937 latency in the sink.
4938 Implement query and set latency.
4940 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4941 don't continue preroll when we are flushing. Fixes #405284.
4943 * tests/check/pipelines/stress.c: (change_state_timeout),
4944 (quit_timeout), (GST_START_TEST), (stress_suite):
4947 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4949 Patch by: René Stadler <mail at renestadler de>
4951 * docs/gst/gstreamer-sections.txt:
4952 * gst/gsttaglist.c: (_gst_tag_initialize):
4954 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4956 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4958 * docs/libs/Makefile.am:
4959 Fix path to core docs.
4961 * gst/gstbin.c: (gst_bin_get_by_interface),
4962 (gst_bin_iterate_all_by_interface):
4963 Refix docs by also renaming 'interface' to 'iface' in implementation.
4965 * docs/gst/gstreamer-sections.txt:
4967 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4968 * gst/gstchildproxy.h:
4969 * gst/gstelementfactory.c:
4970 * gst/gstpadtemplate.h:
4971 * libs/gst/controller/gstcontroller.c:
4972 (gst_controlled_property_new):
4975 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4977 * gst/gstbin.h:(gst_bin_get_by_interface),
4978 (gst_bin_iterate_all_by_interface):
4979 Replace interface parameter name by iface as interface is
4980 a reserved keyword in Visual Studio for C++ projects so it removes
4981 a build error for application developpers using VS.
4982 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4983 Fix a bug on Windows in uri format check. Now the prefix checked
4984 is file:// and next we check if the path after file:// is absolute.
4985 * win32/common/libgstbase.def:
4986 * win32/common/libgstdataprotocol.def:
4987 * win32/common/libgstgstreamer.def:
4988 Add new exported functions.
4990 2007-02-09 Andy Wingo <wingo@pobox.com>
4992 * tests/check/pipelines/simple-launch-lines.c
4993 (simple_launch_lines_suite, test_tee): Disable tee test until I
4994 have time to fix it :-(
4996 * tests/check/Makefile.am (noinst_HEADERS):
4997 * tests/check/libs/libsabi.c:
4998 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4999 * tests/check/gst/gstabi.c:
5000 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5002 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5003 tests for push and pull tee behavior.
5005 * plugins/elements/gsttee.h:
5006 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5007 mark as deprecated as well as unimplemented. It was a crack idea.
5008 Add support for tee operating in pull mode, off by default.
5010 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5011 normal-case logs down to LOG, raise errors to WARNING.
5012 (gst_registry_xml_read_cache): Don't log before calling a function
5015 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5016 exit (registry finalize).
5017 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5018 DEBUG log when we emit signals that people don't even have the
5019 chance to connect to.
5020 (gst_registry_scan_path_level): Less logging in the normal case.
5022 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5024 Patch by: Michal Benes <michal dot benes at itonis dot tv>
5026 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5027 Correctly generate EOS for non-seekable files. We don't have a total
5028 length for them and would get an unexpected end of file if we only
5029 special-cased for regular files. (Fixes: #404569)
5031 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
5033 * tests/check/elements/filesrc.c: (GST_START_TEST),
5035 Add unit test for the GstURIHandler interface in filesrc. This also
5036 tests the newly added file://localhost/foo/bar support.
5038 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
5040 * gst/gstelementfactory.h:
5041 The klass string is not a hierarchy. Add reference to the design doc
5042 for more information and common types.
5044 2007-02-02 Wim Taymans <wim@fluendo.com>
5046 * gst/gstquery.c: (gst_query_new_latency):
5047 Remove old structure field.
5049 2007-02-02 Stefan Kost <ensonic@users.sf.net>
5051 * tools/gst-launch.1.in:
5052 Give example for network streaming (#351998)
5054 2007-02-02 Wim Taymans <wim@fluendo.com>
5056 * docs/gst/gstreamer-sections.txt:
5057 Add docs for new methods.
5059 * gst/gstevent.c: (gst_event_new_latency),
5060 (gst_event_parse_latency):
5062 Add new LATENCY event to configure latency in a pipeline.
5063 API: gst_event_new_latency
5064 API: gst_event_parse_latency
5066 * gst/gstmessage.c: (gst_message_new_buffering),
5067 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5068 (gst_message_new_latency), (gst_message_parse_buffering),
5069 (gst_message_parse_lost_preroll):
5071 Added messages used in draft-latency.
5072 API: gst_message_new_lost_preroll
5073 API: gst_message_parse_lost_preroll
5074 API: gst_message_new_prerolled
5075 API: gst_message_new_latency
5077 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5078 (gst_query_parse_latency):
5080 Implemented new latency query as in design doc.
5081 API: gst_query_new_latency
5082 API: gst_query_set_latency
5083 API: gst_query_parse_latency
5085 2007-02-02 Wim Taymans <wim@fluendo.com>
5087 * docs/design/draft-latency.txt:
5088 Slight redesign to allow for dynamic latency adjustments.
5090 * docs/design/part-negotiation.txt:
5093 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
5095 reviewed by: Wim Taymans <wim@fluendo.com>
5097 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5098 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5099 Allow file://localhost/foo/bar URLs and correctly fail for every other
5100 hostname that one sets. This was gnomevfssrc is linked for those if
5101 installed as it can handle it (#403172)
5103 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
5105 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5107 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5108 (unref_data), (gst_collect_pads_add_pad_full):
5109 * libs/gst/base/gstcollectpads.h:
5110 Don't put the previously added destroy notify in the GstCollectData
5111 struct as all it's padding is already used and we don't want to break
5112 ABI. Instead put in the pad's GObject data for now. This should be
5113 cleaned up for 0.11 (#402393).
5115 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
5117 reviewed by: Wim Taymans <wim@fluendo.com>
5119 * docs/libs/gstreamer-libs-sections.txt:
5120 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5121 (unref_data), (gst_collect_pads_add_pad),
5122 (gst_collect_pads_add_pad_full):
5123 * libs/gst/base/gstcollectpads.h:
5124 API: Add function to specify a destroy notification for custom
5125 GstCollectData when adding new pads in GstCollectPads (#402393).
5127 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
5130 Update Swedish translation (#378255).
5132 2007-01-31 Stefan Kost <ensonic@users.sf.net>
5134 * docs/design/draft-klass.txt:
5135 Fix the previous change, this is a list of categories and not a hierarchy.
5137 2007-01-31 Stefan Kost <ensonic@users.sf.net>
5139 * docs/design/draft-klass.txt:
5140 Add info about how to get a list of used classes.
5142 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
5144 * plugins/elements/gsttypefindelement.c:
5145 (gst_type_find_element_chain_do_typefinding),
5146 (gst_type_find_element_change_state):
5147 Don't leak found caps in chain function (no idea why that never
5148 showed up as a leak anywhere).
5150 2007-01-30 Stefan Kost <ensonic@users.sf.net>
5153 Fix and expand GstPluginDesc API docs.
5155 2007-01-29 Stefan Kost <ensonic@users.sf.net>
5158 * gst/gstelementfactory.c:
5159 * gst/gstpadtemplate.h:
5162 * libs/gst/controller/gstcontroller.c:
5163 (gst_controlled_property_new):
5164 * tests/examples/controller/audio-example.c:
5167 2007-01-29 Stefan Kost <ensonic@users.sf.net>
5170 comment about refining the xml deps
5173 comments about moving away from jade for docs
5176 recommit the ifdefs to use the binary registry
5178 * gst/gstbin.c: (gst_bin_change_state_func):
5179 this break is obsolete
5181 * gst/gstelementfactory.h:
5182 better GST_ELEMENT_DETAILS docs, add comment about translation
5187 * gst/gstobject.c: (gst_signal_object_get_type):
5188 add G_UNLIKELY as usual
5190 * gst/gstpad.c: (gst_pad_event_default):
5191 add fall trhu comment
5193 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5194 (gst_registry_binary_initialize_magic),
5195 (gst_registry_binary_save_string),
5196 (gst_registry_binary_save_pad_template),
5197 (gst_registry_binary_save_feature),
5198 (gst_registry_binary_save_plugin),
5199 (gst_registry_binary_write_cache),
5200 (gst_registry_binary_check_magic),
5201 (gst_registry_binary_load_pad_template),
5202 (gst_registry_binary_load_feature),
5203 (gst_registry_binary_load_plugin),
5204 (gst_registry_binary_read_cache):
5205 comment typo and formatting
5207 * gst/gstutils.c: (gst_element_state_get_name),
5208 (gst_element_state_change_return_get_name):
5209 remove obsolete breaks
5211 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5212 add FIXME 0.11 and remove cpp comment
5214 2007-01-29 Edward Hervey <edward@fluendo.com>
5216 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5217 Fix print statement in an even more portable way.
5219 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
5221 * docs/gst/gstreamer-sections.txt:
5223 API: add GST_ROUND_DOWN_* macros (#401781).
5225 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
5227 * docs/gst/gstreamer.types.in:
5228 * gst/gstregistry.c: (gst_registry_class_init):
5229 Document registry signals and make gtk-doc pick them up (#401381).
5231 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5233 * docs/pwg/building-testapp.xml:
5234 Add some audioconverts and audioresample to the pipeline, and some
5235 more comments and error handling.
5237 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5239 * docs/manual/manual.xml:
5243 2007-01-26 Wim Taymans <wim@fluendo.com>
5245 * gst/gstcaps.c: (gst_static_caps_get):
5246 Init caps flags too.
5248 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
5250 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5252 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5253 If not using mmap'ed files try to seek to the end instead of the
5254 start to determine whether we can seek at all. This fixes the case
5255 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5256 seeks for everything afterwards fail. Fixes #400656
5258 2007-01-25 Wim Taymans <wim@fluendo.com>
5260 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5261 Add some refcount debugging.
5262 Make gst_static_caps_get threadsafe, which is needed when autoplugging
5263 in multiple streaming threads.
5265 2007-01-25 Wim Taymans <wim@fluendo.com>
5267 Patch by: David Schleef <ds at schleef dot org>
5269 * docs/libs/gstreamer-libs-sections.txt:
5270 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5271 * libs/gst/base/gstadapter.h:
5272 API: gst_adapter_copy() that can reduce the amount of memcpy when
5273 getting data from the adapter. Fixes #388201.
5275 2007-01-25 Edward Hervey <edward@fluendo.com>
5277 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5278 In print statements, "%x" is for guint. Fixes build on macosx.
5280 2007-01-24 Edward Hervey <edward@fluendo.com>
5282 * plugins/elements/gstmultiqueue.c:
5283 (gst_multi_queue_loop):
5285 (single_queue_overrun_cb), (single_queue_underrun_cb),
5286 (single_queue_check_full), (gst_single_queue_new):
5287 Implement single queue growth system.
5288 This uses the extra-size properties, and will grow single queues by
5289 that much if one goes full whereas there are others empty. This is
5290 called extra-mode in the code.
5291 When a single queue's levels go back below the initial max-size
5292 limits, it is no longer in extra-mode. This is to ensure we don't
5293 consume too much memory.
5296 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
5298 * gst/gst.c: (gst_init_get_option_group):
5299 Make warning about late g_thread_init() calls a bit more explicit,
5300 so that it's more obvious to application developers what they need
5301 to do if a user files a bug against their application.
5303 2007-01-22 Edward Hervey <edward@fluendo.com>
5305 * plugins/elements/gstmultiqueue.c:
5306 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5307 Remove previous hack of unsetting the flushing flag for the source pad
5308 instead of activating it. Instead, fix the source pad activate function
5309 so that it no longer depends on having a parent set or not.
5311 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
5313 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5315 * docs/manual/basics-bus.xml:
5316 Fix example code, gst_element_unref() doesn't exist any longer.
5318 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
5320 Patch by: Mark Nauwelaerts <manauw at skynet be>
5323 Fix two docs typoes (#399094).
5325 2007-01-19 Edward Hervey <edward@fluendo.com>
5327 * docs/faq/gst-uninstalled:
5328 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5329 depending on libgstbaseutils can work in uninstalled environment.
5331 2007-01-18 Stefan Kost <ensonic@users.sf.net>
5334 * gst/gsttagsetter.c:
5335 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5336 statement for new tag.
5338 2007-01-17 Edward Hervey <edward@fluendo.com>
5340 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5341 When dynamically creating single queues, activate sinkpad before adding
5343 We should be doing the same thing for the source pad, but we can't
5344 since it would call a method which needs the parent to be set in order
5345 to work propertly. Instead of activating the source pad, we just unset
5346 the flushing flag, which is the minimal requirement for adding a pad
5347 to an element in a state greater than READY.
5349 2007-01-17 Edward Hervey <edward@fluendo.com>
5351 * docs/faq/gst-uninstalled:
5352 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5355 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5357 * tests/check/gst/gstabi.c:
5358 * tests/check/gst/struct_hppa.h:
5359 * tests/check/libs/libsabi.c:
5360 * tests/check/libs/struct_hppa.h:
5361 Add ABI structs for HPPA (see #393796).
5363 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5365 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5366 Actually write ABI structs to the file specified in the GST_ABI
5367 environment variable, as the message we print claims we would.
5369 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5371 * tests/check/gst/gsttask.c:
5374 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5376 * gst/gsttaglist.c: (_gst_tag_initialize):
5377 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5378 previous two entries.
5380 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5382 * docs/gst/gstreamer-sections.txt:
5383 * gst/gsttaglist.c: (_gst_tag_initialize):
5385 Add tag support for beat-per-minute.
5387 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5389 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5390 (gst_registry_binary_initialize_magic),
5391 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5392 (gst_registry_binary_save_pad_template),
5393 (gst_registry_binary_save_feature),
5394 (gst_registry_binary_save_plugin),
5395 (gst_registry_binary_write_cache),
5396 (gst_registry_binary_check_magic),
5397 (gst_registry_binary_load_pad_template),
5398 (gst_registry_binary_load_feature),
5399 (gst_registry_binary_load_plugin),
5400 (gst_registry_binary_read_cache):
5401 * gst/gstregistrybinary.h:
5402 Use glib types, cleanup comments, impement interfaces and uri-types.
5404 2007-01-13 Andy Wingo <wingo@pobox.com>
5406 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5407 getrange() to return buffers with other caps, while we fix
5408 demuxers and typefind, or otherwise change part-negotiation.txt.
5410 2007-01-12 Andy Wingo <wingo@pobox.com>
5412 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5413 Factor start/stop into this private function instead of partially
5414 in activate functions and partially in the change_state function.
5415 Fixes setup before the element has changed from READY->PAUSED, as
5416 is the case in pull-mode pipelines.
5417 (gst_base_transform_sink_activate_push)
5418 (gst_base_transform_src_activate_pull): Refactor to use
5419 gst_base_transform_activate().
5420 (gst_base_transform_change_state): Removed, not needed any more.
5422 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5423 Truncate before fixating.
5425 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5426 Don't set_caps() if the result of fixating is ANY, as it's not
5427 supported, and not necessary in the case of a link with no
5428 template caps on either side. Fixes tests/check/libs/basesrc in
5429 some pull-mode tests.
5431 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5432 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5433 (gst_base_transform_src_activate_pull):
5434 Track the activation mode.
5435 (gst_base_transform_setcaps): In pull mode, when activating the
5436 src pad, after activating the sink pad, activate the sink pad's
5437 peer, as discussed in part-negotiation.txt.
5439 * libs/gst/base/gstbasesrc.h:
5440 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5441 vmethod, as in basesink.
5443 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5445 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5446 mode, first proxy the setcaps to the peer pad.
5447 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5449 (gst_base_sink_default_activate_pull): Rename from
5450 gst_base_sink_activate_pull.
5451 (gst_base_sink_negotiate_pull): New function, performs negotiation
5452 in pull mode before calling ::activate_pull().
5453 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5454 vmethod instead of the default implementation. I have no idea how
5455 this worked before. Negotiate before calling activate_pull.
5457 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5458 sink pads in pull mode. In addition to being correct, fixes
5459 filesrc ! decodebin ! identity ! fakesink.
5460 (gst_pad_get_range, gst_pad_pull_range): Don't call
5461 gst_pad_set_caps() if the caps changes; instead error out with
5462 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5464 2007-01-12 Andy Wingo <wingo@pobox.com>
5466 * docs/design/part-negotiation.txt: Update with more policy.
5468 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5470 * libs/gst/check/gstbufferstraw.h:
5471 * libs/gst/check/gstcheck.h:
5472 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5475 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5477 * tests/check/Makefile.am:
5478 * tests/check/gst/.cvsignore:
5479 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5480 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5481 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5482 (GST_START_TEST), (gst_tag_setter_suite):
5483 Add minimal unit test for beforementioned GstTagSetter bug.
5485 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5487 Patch by: René Stadler <mail at renestadler dot de>
5489 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5490 gst_tag_list_merge() returns a new list, so it's not the best idea
5491 to ingore its return value. Effectively meant that tags could only
5492 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5493 Also add function guard to require a non-NULL taglist as input (has
5494 always been so due to gst_tag_list_copy(), just making it explicit).
5496 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5498 * docs/random/draft-missing-plugins.txt:
5499 Some additions: mention new API that is supposed to be used at the
5500 various stages; short blob about new gst-inspect introspection
5501 option; mention potential future problem with plugins that have
5502 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5504 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5506 * tools/gst-inspect.c:
5507 (print_plugin_automatic_install_info_codecs),
5508 (print_plugin_automatic_install_info_protocols),
5509 (print_plugin_automatic_install_info), (main):
5510 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5511 introspect plugin files and get machine-parsable output that corresponds
5512 to the last bit of the missing-plugin installer string (small gotcha:
5513 doesn't take into account ranks).
5515 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5518 * docs/gst/gstreamer-sections.txt:
5520 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5521 (gst_registry_lookup_locked):
5522 * gst/gstregistry.h:
5523 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5524 (gst_registry_binary_initialize_magic),
5525 (gst_registry_binary_save_string),
5526 (gst_registry_binary_save_pad_template),
5527 (gst_registry_binary_save_feature),
5528 (gst_registry_binary_save_plugin),
5529 (gst_registry_binary_write_cache),
5530 (gst_registry_binary_check_magic),
5531 (gst_registry_binary_load_pad_template),
5532 (gst_registry_binary_load_feature),
5533 (gst_registry_binary_load_plugin),
5534 (gst_registry_binary_read_cache):
5535 * gst/gstregistrybinary.h:
5536 * gst/gstregistryxml.c: (load_feature),
5537 (gst_registry_xml_read_cache):
5538 commit binary registry (disabled by default, see #359653)
5540 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5542 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5543 Fix 'make check' too.
5545 2007-01-10 Andy Wingo <wingo@pobox.com>
5547 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5550 * docs/design/part-negotiation.txt: Update with, um, one way that
5551 pull-mode negotiation might work?
5554 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5555 that the pad must be a src pad; makes sense to call it the other
5556 way in pull mode, and the logic is symmetric anyway.
5558 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5560 * plugins/elements/gstfilesink.c:
5561 Include <stdio.h> for fseeko().
5563 2007-01-10 Wim Taymans <wim@fluendo.com>
5567 Reserve LATENCY event.
5569 2007-01-09 Wim Taymans <wim@fluendo.com>
5571 * docs/design/draft-latency.txt:
5574 2007-01-09 Wim Taymans <wim@fluendo.com>
5576 * docs/design/draft-latency.txt:
5580 * gst/gststructure.c:
5584 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5586 * tests/check/.cvsignore:
5587 Ignore test-registry.xml as well.
5589 2007-01-09 Wim Taymans <wim@fluendo.com>
5591 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5592 unref data at the end when we are done with the pad.
5594 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5596 * docs/gst/gstreamer-sections.txt:
5597 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5598 (init_post), (gst_deinit), (gst_update_registry):
5600 API: add gst_update_registry() (#391296).
5602 * tests/check/Makefile.am:
5603 * tests/check/gst/gstregistry.c:
5604 * tests/check/gst/.cvsignore:
5605 Simple unit test for the above.
5607 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5609 * gst/gstregistry.c: (gst_registry_scan_path_level):
5610 Plugin extension on HP-UX is .sl, add that to the list of approved
5611 plugin extensions (see #393796).
5613 * tests/check/gst/gstpad.c: (GST_START_TEST):
5614 ulong => gulong. Fixes compilation with HP-UX compiler.
5616 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5617 Fix compilation if valgrind headers are not available.
5619 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5621 * win32/common/libgstreamer.def:
5622 Add new exported function.
5623 * win32/vs6/libgstbase.dsp:
5624 Add gstdataqueue.c to the build.
5625 * win32/vs6/libgstcoreelements.dsp:
5626 Add gstmultiqueue.c to the build.
5628 2007-01-06 Andy Wingo <wingo@pobox.com>
5630 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5631 activate_pull(), providing for a way to specialize the process of
5632 spawning a thread to pull on the sink pad. There is a default
5635 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5636 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5637 (gst_base_sink_init): Renamed pad activation functions (inserting
5638 "_pad" in their names). Refactor to use the new activate_pull
5639 vmethod, as appropriate.
5640 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5641 default activate_pull function to start a task pulling from the
5642 sink pad, as before.
5644 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5645 on the pads if necessary, as in push()/chain(). Update docs.
5646 Shouldn't affect existing pull() usage as it is currently only
5647 being used on buffers without caps.
5649 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5651 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5653 Call g_thread_init() first thing in gst_init() / gst_check_init().
5654 When initialisation is done via gst_init_get_option_group() and
5655 GOption parsing, issue a warning if the GLib thread system has not
5656 been initialised yet by the time gst_init_get_option_group() is
5657 called, as it's quite likely other GLib functions such as
5658 g_option_context_new() have been called already then, and
5659 g_thread_init() must be called before any other GLib function. The
5660 application in question must be fixed in that case, since memory
5661 corruption might happen otherwise.
5662 We issue the warning because even if the GLib folks decide to work
5663 around the problem on their end in future, this is still an issue
5664 with all GLib versions >= 2.10.0, so we should warn until we depend
5665 on a GLib version we know to be safe.
5666 Update documentation as well.
5669 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5671 * tools/gst-inspect.c: (main):
5672 * tools/gst-launch.c: (main):
5673 * tools/gst-typefind.c: (main):
5674 * tools/gst-xmlinspect.c: (main):
5675 Call g_thread_init() really really early, before any other GLib
5676 function (see #342564 and recent discussion on gtk-devel-list).
5678 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5680 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5682 * gst/gst_private.h:
5683 * gst/gstconfig.h.in:
5685 On win32, all the __declspec stuff for symbol exporting is
5686 apparently only needed with MSVC, but doesn't work with MingW.
5687 Fixes compilation with MingW and #391909.
5689 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5691 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5692 Change some GST_ERROR_OBJECT that aren't really errors to
5693 GST_WARNING_OBJECT in order to reduce terminal spam.
5695 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5697 * tests/check/Makefile.am:
5698 disable test again, as there seem to be still race problems
5700 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5702 * tests/check/Makefile.am:
5703 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5704 (GST_START_TEST), (queue_suite):
5705 enable queue test again, add tests for the leaky behaviour
5707 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5710 * tests/examples/Makefile.am:
5711 Compile adapter test/example only if the required headers are
5712 available (fixes #391915).
5714 2007-01-01 David Schleef <ds@schleef.org>
5717 Restore the previous signal handler for SIGSEGV instead of
5718 setting to default, since we may have stolen it away from
5719 someone. (i.e., Mono)
5721 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5723 * docs/random/draft-missing-plugins.txt:
5724 Some small additions and clarifications.
5726 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5728 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5729 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5730 since that can lead to random memory corruptions and crashes
5731 (may or may not be related to #383244, #386711, and #386711).
5733 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5735 * tests/check/.cvsignore:
5736 * tests/check/Makefile.am:
5737 sync .cvsignome and CLEANFILES
5739 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5741 * tests/check/Makefile.am:
5744 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5746 * docs/design/part-states.txt:
5747 two tiny additional comments
5749 * gst/gststructure.c:
5752 * tests/check/Makefile.am:
5753 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5755 disable test for now, unless it gets fixed
5757 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5759 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5761 fix race in underrun test
5763 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5765 * tests/check/elements/.cvsignore:
5768 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5770 try to narrow test failure
5772 2006-12-21 David Schleef <ds@schleef.org>
5774 * plugins/elements/gstfakesrc.c:
5775 Use g_random_int_range(), since it produces better random
5776 numbers in a range than almost-correct floating point code.
5778 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5780 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5781 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5782 (gst_check_teardown_sink_pad):
5783 do not automatically (de)activate pads
5785 * tests/check/Makefile.am:
5786 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5787 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5788 add new, yet simple tests for queue
5790 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5791 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5792 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5794 * tests/check/elements/identity.c: (cleanup_identity):
5795 consistent pad (de)activation
5797 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5799 Patch by: Sebastian Dröge <slomo ubuntu com>
5801 * libs/gst/base/gstcollectpads.c:
5802 Fix two doc typos (#387866).
5804 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5806 * docs/manual/advanced-dparams.xml:
5807 Fix typo (g_object_control_properties() doesn't exist).
5809 2006-12-19 Edward Hervey <edward@fluendo.com>
5811 * gst/gstsegment.c: (gst_segment_set_seek):
5812 Fine tune the cases where the segment start/stop values are really
5814 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5815 Add tests for the return values of gst_segment_set_seek().
5817 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5822 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5824 Fix incorrect documentation and flesh it out a bit more.
5825 Set default values for the max properties on the GParamSpec as well,
5826 so it shows up correctly in gst-inspect.
5828 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5830 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5831 Correct docs of queue, add more detail and crosslink it more.
5833 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5835 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5836 Print additional debug info when the stream isn't perfectly
5837 timestamped; don't try to use invalid durations.
5839 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5841 * docs/design/Makefile.am:
5842 Dist new design docs.
5844 2006-12-16 Wim Taymans <wim@fluendo.com>
5846 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5848 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5849 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5850 (gst_collect_pads_stop), (gst_collect_pads_event),
5851 (gst_collect_pads_chain):
5852 * libs/gst/base/gstcollectpads.h:
5853 Add refcounting to the collectpads data so we can track when it's safe
5854 to free the data. Fixes #383382.
5856 2006-12-15 Wim Taymans <wim@fluendo.com>
5858 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5859 (gst_collect_pads_remove_pad):
5860 Automatically activate/deactivate pads when they are added to a
5861 started/stoped collectpads.
5863 2006-12-15 Wim Taymans <wim@fluendo.com>
5865 * gst/gstelement.c: (gst_element_add_pad):
5866 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5867 * gst/gstpad.c: (gst_pad_init):
5868 Set pads to FLUSHING when they are created. Check, warn and fix when a
5869 demuxer adds an inactive pad to itself when running. Fixes #339326.
5871 2006-12-15 Wim Taymans <wim@fluendo.com>
5873 * gst/gstelement.c: (gst_element_class_init),
5874 (gst_element_default_send_event), (gst_element_send_event),
5875 (gst_element_default_query), (gst_element_query):
5876 Expose default element send_event and query handling as vmethods that
5877 subclasses can chain up to.
5879 2006-12-15 Wim Taymans <wim@fluendo.com>
5881 * gst/gstelement.c: (gst_element_set_state_func):
5882 Small documentation fixes.
5884 2006-12-15 Wim Taymans <wim@fluendo.com>
5886 * docs/design/draft-latency.txt:
5887 Checked in draft for handling latency in pipelines.
5889 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5893 * gstreamer.spec.in:
5896 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5898 * gst/gst.c: (init_pre), (init_post):
5899 init_pre() and init_post() might be called via our GOptionGroup or
5900 from gst_init(), and we should skip both of them if we've already
5901 been initialised, otherwise we will init some things twice or add
5902 two default log functions.
5904 2006-12-13 Edward Hervey <edward@fluendo.com>
5906 * docs/manual/basics-bus.xml:
5907 No, gst_main_loop does not exist. Its g_main_loop.
5908 Discovered by somebody who abused the copy-paste technique of coding :)
5910 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5912 * gst/gstghostpad.c:
5913 Log ghostpad debug stuff to the GST_PADS category as well rather
5914 than just to the default category.
5916 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5919 * gst/gst.c: (init_pre):
5920 Add some basic system details such as OS and architecture
5921 to the debug output if possible, courtesy of uname().
5923 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5925 * docs/gst/running.xml:
5926 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5927 environment variables.
5929 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5931 * tests/check/gst/gstbin.c: (GST_START_TEST):
5932 It is acceptable to have a refcount of 2 or 3 at this point in the
5933 test, because the pipeline might be just posting its state_change
5934 message. The next line then waits for that message to appear using
5935 bus_poll, so that should be fine too.
5937 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5939 * gst/gst.c: (ensure_current_registry_forking):
5940 Ignore EINTR when reading from the child registry pipe.
5941 Explicitly ignore the return value from close, since it makes no
5944 * gst/gstminiobject.c: (gst_mini_object_ref),
5945 (gst_mini_object_unref):
5946 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5948 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5949 When removing cached plugins, remove their features too, so they're
5950 not visible after they've disappeared.
5952 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5953 In the unlikely case that we are linking pads with no parents, don't
5954 crash trying to get the non-existent parent bin.
5956 * gst/parse/grammar.y:
5957 Output debug in the PIPELINE category
5959 2005-03-08 Wim Taymans <wim@fluendo.com>
5961 Patch by: René Stadler <mail at renestadler dot de>
5963 * gst/gstclock.c: (gst_clock_new_periodic_id):
5964 Reject invalid clock times for interval of periodic ids.
5967 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5969 * gst/gstelementfactory.c: (gst_element_factory_create):
5970 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5971 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5972 * tools/gst-inspect.c: (print_element_info):
5973 Fix refcounting of gst_plugin_feature_load to match the docs.
5976 2006-12-07 Wim Taymans <wim@fluendo.com>
5978 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5979 (gst_base_sink_get_position):
5980 Improve debugging of events.
5982 2006-12-07 Wim Taymans <wim@fluendo.com>
5984 Patch by: René Stadler <mail at renestadler dot de>
5986 * gst/gstclock.c: (gst_clock_id_wait):
5987 Make period ids add the interval to the origial requested time instead
5988 of the possibly updated time which can be wrong when there are multiple
5989 waiters for the same id. Fixes #382592.
5991 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5992 (gst_system_clock_id_wait_jitter_unlocked),
5993 (gst_system_clock_id_wait_jitter):
5994 Fix restart in the async notify thread when an async entry is added to
5995 the front of the list. Fixes #381492.
5997 * tests/check/gst/gstsystemclock.c: (store_callback),
5998 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5999 Added test for multiple async waits.
6000 Added test for async wait order.
6002 2006-12-07 Wim Taymans <wim@fluendo.com>
6004 * gst/gstbin.c: (gst_bin_query):
6005 Add some more docs about the POSITION query.
6007 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
6010 Bump version nano - back to CVS.
6012 === release 0.10.11 ===
6014 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
6017 releasing 0.10.11, "Love never runs on time"
6019 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
6021 * win32/common/libgstbase.def:
6022 * win32/common/libgstreamer.def:
6023 * win32/vs8/libgstbase.vcproj:
6024 * win32/vs8/libgstcoreelements.vcproj:
6025 * win32/vs8/libgstreamer.vcproj:
6026 Fix compilation on win32 under VS8
6027 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6028 Partially fixes #381175
6030 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
6032 * gst/gstvalue.c: (gst_value_compare_fraction):
6033 If someone is foolish enough to compare 2 fractions with denominator =
6034 0, return UNORDERED rather than aborting.
6036 2006-11-28 Edward Hervey <edward@fluendo.com>
6038 * libs/gst/base/Makefile.am:
6039 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6040 (gst_data_queue_base_init), (gst_data_queue_class_init),
6041 (gst_data_queue_init), (gst_data_queue_new),
6042 (gst_data_queue_cleanup), (gst_data_queue_finalize),
6043 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6044 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6045 (gst_data_queue_is_empty), (gst_data_queue_is_full),
6046 (gst_data_queue_set_flushing), (gst_data_queue_push),
6047 (gst_data_queue_pop), (gst_data_queue_drop_head),
6048 (gst_data_queue_set_property), (gst_data_queue_get_property):
6049 * libs/gst/base/gstdataqueue.h:
6050 New GstDataQueue object for threadsafe queueing. Most useful for
6051 elements that need some queueing functionnality.
6052 * docs/libs/gstreamer-libs-docs.sgml:
6053 * docs/libs/gstreamer-libs-sections.txt:
6054 Insert documentation for GstDataQueue
6055 * plugins/elements/Makefile.am:
6056 * plugins/elements/gstelements.c:
6057 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6058 (gst_multi_queue_class_init), (gst_multi_queue_init),
6059 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6060 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6061 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6062 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6063 (gst_multi_queue_loop), (gst_multi_queue_chain),
6064 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6065 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6066 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6067 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6068 (wake_up_next_non_linked), (compute_next_non_linked),
6069 (single_queue_overrun_cb), (single_queue_underrun_cb),
6070 (single_queue_check_full), (gst_single_queue_new):
6071 * plugins/elements/gstmultiqueue.h:
6072 New multiqueue element, using GstDataQueue. Used for queuing multiple
6074 Closes #344639 and #347785
6076 2006-11-22 Stefan Kost <ensonic@users.sf.net>
6078 * docs/pwg/advanced-types.xml:
6079 add more missing type details
6081 * tools/gst-run.c: (main):
6082 remove unused variable
6084 2006-11-21 Stefan Kost <ensonic@users.sf.net>
6086 * docs/libs/Makefile.am:
6087 * docs/libs/gstreamer-libs.types:
6088 add types of base classes to enable gobject specific stuff in the docs
6090 * docs/random/ensonic/embedded.txt:
6091 more ideas about isolating platform specific things
6093 2006-11-20 Wim Taymans <wim@fluendo.com>
6095 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6097 * libs/gst/check/gstcheck.h:
6098 Fix compilation and running against 0.9.4. Fixes #377332.
6100 2006-11-20 Wim Taymans <wim@fluendo.com>
6102 * gst/gstsegment.c: (gst_segment_set_seek),
6103 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6104 (gst_segment_to_running_time):
6105 Fix boundary checking in to_running_time() and to_stream_time().
6108 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6109 stream and running time can now be calculated for the complete
6112 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
6114 * gst/gstpad.c: (gst_pad_push_event):
6115 Can't access event structure after giving away ownership of
6118 2006-11-15 Stefan Kost <ensonic@users.sf.net>
6120 * docs/random/ensonic/embedded.txt:
6121 * docs/random/ensonic/profiling.txt:
6122 * docs/random/ensonic/receipies.txt:
6125 2006-11-13 Wim Taymans <wim@fluendo.com>
6127 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6130 Fix documentation for gst_pad_dispatcher. Fixes #374475.
6132 2006-11-13 Wim Taymans <wim@fluendo.com>
6134 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6136 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6137 Store new length in segment duration so we don't keep on calling the
6138 potentially expensize get_size() call. Fixes #370865.
6140 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
6142 Patch by: Sergey Scobich <sergey.scobich at gmail com>
6144 * win32/common/libgstreamer.def:
6145 Add two missing symbols (#366492).
6147 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
6149 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6150 (gst_adapter_take_buffer):
6151 Fix format string to use all its arguments.
6152 Remove useless >= check on a guint
6154 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6156 * tests/examples/adapter/.cvsignore:
6157 Ignore build file as commanded by the build-bot
6159 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6161 * tests/examples/adapter/Makefile.am:
6162 * tests/examples/adapter/adapter_test.c: (run_test_take),
6163 (run_test_take_buffer), (run_tests), (main):
6165 Add new files from the previous commit
6167 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
6171 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6172 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6173 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6174 * libs/gst/base/gstadapter.h:
6175 * tests/check/libs/adapter.c: (create_and_fill_adapter),
6176 (GST_START_TEST), (gst_adapter_suite):
6177 * tests/examples/Makefile.am:
6178 Do some optimisation work in GstAdapter to avoid copies in more cases.
6179 It could still do slightly better by merging buffers when
6180 gst_buffer_is_span_fast is true, but is already faster.
6182 Also, avoid traversing a single-linked list to append each incoming
6183 buffer inside the adapter.
6185 Add simple test app that times the adapter behaviour in different
6186 situations, and extend the unit test to check that bytes enter and
6187 exit the adapter in their original order.
6189 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
6191 * docs/random/draft-missing-plugins.txt:
6192 Update: use element message instead of adding a new message
6193 type to the core; don't provide GStreamer API to initiate the
6194 plugin download, just provide API to compose the strings needed
6195 and let an external libgimmestuff handle the rest.
6197 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
6199 * tools/gst-inspect.c: (print_element_properties_info):
6200 Print a string instead of 'unknown type' for GValueArray properties
6202 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
6204 * docs/random/draft-missing-plugins.txt:
6207 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6209 * tests/examples/typefind/typefind.c: (type_found), (main):
6210 Make typefind element example work again (#371894); add a
6213 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6215 * docs/random/draft-missing-plugins.txt:
6216 Commit initial draft about how to deal with missing plugins,
6217 needs work (API too).
6219 2006-11-07 Stefan Kost <ensonic@users.sf.net>
6221 * docs/pwg/advanced-types.xml:
6222 documents the new caps elements (see #363118)
6224 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6226 * gst/gstplugin.c: (gst_plugin_load_file):
6227 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6228 (gst_file_src_map_region), (gst_file_src_start):
6229 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6230 (gst_file_index_commit):
6231 Use g_strerror() instead of strerror() - we want UTF-8.
6233 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6235 Patch by: Peter Kjellerstedt <pkj at axis com>
6237 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6238 Another printf fix (#371493).
6240 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6242 * tests/check/gst/gsttag.c:
6243 relicence (okay with author=company)
6245 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6247 * gst/gstpad.c: (gst_pad_event_default_dispatch),
6248 (gst_pad_push_event):
6249 Enhance debug and improve docs
6254 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6256 * docs/random/ensonic/distributed.txt:
6257 * docs/random/ensonic/profiling.txt:
6260 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6262 * docs/gst/gstreamer-sections.txt:
6263 add new API and fix the build
6265 * gst/gstbin.c: (gst_bin_recalc_state):
6266 * gst/gstelement.c: (gst_element_message_full),
6267 (gst_element_get_state_func), (gst_element_set_state_func):
6268 use new API and improve logging
6270 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6272 API: add function to get StateChangereturn names to improve logs
6274 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
6276 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6277 I'm considering shooting the next person to put strerror stuff
6278 in the translateable part of the message.
6280 2006-11-03 Wim Taymans <wim@fluendo.com>
6282 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6283 Get the type and printf conversion specifiers right.
6285 2006-11-03 Wim Taymans <wim@fluendo.com>
6287 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6289 * gst/gstpad.c: (gst_pad_init), (pre_activate),
6290 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6291 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6292 Some small cleanups. Improve debugging.
6294 Signal all waiting threads with a broadcast instead of just one.
6297 2006-11-03 Wim Taymans <wim@fluendo.com>
6299 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6300 (gst_fd_src_create):
6302 Only update fd when it's different from the old.
6304 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6306 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6307 Printf fixes for PPC/OSX, take two (#369366).
6309 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6311 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
6313 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6314 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6315 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6316 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6317 don't cast to long long for portability reasons, but use
6318 GLib's types instead.
6320 2006-10-30 Michael Smith <msmith@fluendo.com>
6322 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6323 Get the arguments to lseek() the right way around.
6326 2006-10-30 Wim Taymans <wim@fluendo.com>
6328 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6331 _declspec should be __declspec (two underscores, not one). Fixes 366572.
6333 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6335 Patch by: Kjartan Maraas <kmaraas at gnome org>
6337 * docs/design/part-MT-refcounting.txt:
6338 * docs/random/wtay/capsnego2-docs:
6341 Typo fixes (#366212).
6343 2006-10-28 Wim Taymans <wim@fluendo.com>
6345 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6348 * win32/common/libgstbase.def:
6349 * win32/common/libgstreamer.def:
6350 * win32/vs8/libgstbase.vcproj:
6351 * win32/vs8/libgstcontroller.vcproj:
6352 Add needed entries in .def files.
6354 Rearrange def files in vs8 solutions. Fixes #366286.
6356 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6358 * win32/common/gstconfig.h:
6359 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6360 hand-made win32 gstconfig.h. Fixes #366321.
6362 2006-10-27 Wim Taymans <wim@fluendo.com>
6364 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6365 (gst_ghost_pad_new_full):
6366 Make acceptcaps return TRUE when we don't have a target, just like
6369 2006-10-27 Wim Taymans <wim@fluendo.com>
6371 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6372 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6374 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6376 * gst/gststructure.c: (gst_structure_id_set_value):
6377 If someone tries to set a non-UTF8 string field on a structure,
6378 don't just print a warning, but also ignore the request and do
6379 not change/add that field to the structure.
6381 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6384 2006-10-25 David Schleef <ds@schleef.org>
6387 g_hash_table_insert() needs a cast to a non-const pointer duh.
6389 2006-10-25 David Schleef <ds@schleef.org>
6393 Change name parameter of _gst_debug_register_funcptr to const
6394 to reflect the constness of its use in the function as well
6395 as to quiet a gcc warning.
6397 2006-10-25 Edward Hervey <edward@fluendo.com>
6399 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6400 Don't push the buffer if it's empty.
6403 2006-10-24 Wim Taymans <wim@fluendo.com>
6408 * libs/gst/base/gstbasetransform.c:
6409 (gst_base_transform_sink_eventfunc):
6410 Debug segment values *after* updating them as this is more
6413 2006-10-23 Wim Taymans <wim@fluendo.com>
6415 * docs/design/part-events.txt:
6418 * docs/design/part-block.txt:
6419 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6420 (gst_pad_push_event):
6421 Revert BLOCKING patch, it tries to be smart without really having a
6422 clear idea what or how. So, now we discard all FLUSHING events again on
6423 a blocking pad. Should fix gnonlin again.
6425 2006-10-23 Wim Taymans <wim@fluendo.com>
6427 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6429 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6430 (gst_base_src_start), (gst_base_src_activate_push):
6431 Make sure size is always initialized. Fixes #364388.
6433 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6435 * docs/random/ensonic/distributed.txt:
6436 add some ideas about doing distributed processing
6438 * docs/random/ensonic/profiling.txt:
6439 get_rusage look promising
6441 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6443 * docs/manual/basics-helloworld.xml:
6444 Add a cast in example to fix compile warning
6446 2006-10-18 Wim Taymans <wim@fluendo.com>
6448 * gst/gstsegment.c: (gst_segment_set_last_stop),
6449 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6450 Relax arg checking again, -1 is allowed.
6452 2006-10-18 Wim Taymans <wim@fluendo.com>
6454 * gst/gstsegment.c: (gst_segment_set_last_stop),
6455 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6456 _set_last_stop() must be with a value != -1
6457 A _TYPE_SET to -1 means seek to 0.
6458 Calc last_stop correctly for negative rates.
6459 Make sure we work with positive durations when updating a segment.
6461 2006-10-18 Wim Taymans <wim@fluendo.com>
6463 * docs/design/part-live-source.txt:
6467 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6470 Add an explicit cast to GstBuffer** to keep old code that added an
6471 explicit cast to GstMiniObject** for gst_mini_object_replace()
6472 compiling without warning.
6474 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6476 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6477 check for validity of dates
6479 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6481 * docs/gst/gstreamer-sections.txt:
6482 Forgot this one, makes gtk-doc shut up.
6484 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6486 Patch by: Peter Kjellerstedt <pkj at axis com>
6489 Don't define xmlNodePtr to gpointer if the core was built with
6490 --disable-loadsave and --disable-registry, this will break
6491 applications that want to use libxml2 but are buildling against a
6492 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6493 instead so we don't have to mess with the libxml2 namespace
6496 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6499 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6500 type-punned pointer warnings.
6502 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6505 Add casts to the correct return type to state <=> state transition
6508 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6510 * docs/design/part-live-source.txt:
6511 describe howto handle latency
6513 * docs/random/ensonic/profiling.txt:
6516 * tools/gst-plot-timeline.py:
6517 fix log parsing for solaris, remove unused function
6519 2006-10-16 Wim Taymans <wim@fluendo.com>
6521 * docs/design/part-trickmodes.txt:
6523 Update some docs regarding reverse playback.
6525 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6527 Patch by: Marcus Granado <mrc dot gran at gmail com>
6529 * win32/vs8/grammar.vcproj:
6530 Error out with a warning if glib-genmarshal.exe is not in path,
6531 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6533 2006-10-13 Wim Taymans <wim@fluendo.com>
6535 * gst/gstsegment.c: (gst_segment_set_seek):
6536 When seeking to stop -1, set last_stop (current position) to the
6537 duration of the segment.
6539 2006-10-13 Wim Taymans <wim@fluendo.com>
6542 Clarify _NO_PREROLL a bit more.
6547 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6548 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6549 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6550 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6551 due to wrong locking order. Fixes #361769.
6552 Remove some redundant/misplaced checks in pad_block.
6554 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6555 For negative rates, count backwards from the duration.
6557 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6559 * gst/gsterror.c: (_gst_library_errors_init):
6560 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6561 up with something better).
6563 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6565 * win32/vs6/libgstreamer.dsp:
6566 * win32/vs7/libgstreamer.vcproj:
6567 * win32/vs8/libgstreamer.vcproj:
6568 Don't reference glib-compat.c which is currently not used and not
6569 disted; add gstquark.c which was recently added. Fixes #361730.
6571 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6573 * win32/common/libgstbase.def:
6574 * win32/common/libgstcontroller.def:
6575 * win32/common/libgstreamer.def:
6576 Add gst_caps_merge() and a bunch of other recently-added functions.
6579 2006-10-11 Wim Taymans <wim@fluendo.com>
6581 * docs/plugins/gstreamer-plugins.args:
6582 * docs/plugins/inspect/plugin-coreelements.xml:
6583 * docs/plugins/inspect/plugin-coreindexers.xml:
6584 Update element args.
6586 * gst/gstsystemclock.c:
6587 Small comment update.
6589 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6590 (gst_tee_request_new_pad), (gst_tee_release_pad),
6591 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6592 (gst_tee_sink_activate_pull):
6593 * plugins/elements/gsttee.h:
6595 Add default property defines.
6596 Implement release pad function.
6597 Give properties better blubs etc.
6598 Activate pads before adding them to a running tee.
6599 Do simple buffer_alloc on the first requested pad.
6600 Post error when activation fails.
6602 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6604 * gst/gst.c: (ensure_current_registry_forking):
6605 Check return value of write() to make compiler happy.
6607 2006-10-11 Wim Taymans <wim@fluendo.com>
6609 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6611 * plugins/elements/gstqueue.c: (gst_queue_chain):
6612 Recheck queue filledness after signalling the overrun when we're about
6613 to leak downstream because we released the lock when emitting the signal
6614 and the queue could be empty again. Fixes #352345.
6616 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6618 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6619 Fix refcounting here too, just like we did for _new_valist() a few
6620 days ago (#357180) (thanks to René Stadler). Also remove all those
6621 'Since: 0.9' from the gtk-doc blobs.
6623 * tests/check/libs/controller.c: (controller_refcount_new_list),
6624 (gst_controller_suite):
6625 Unit test for the above.
6627 2006-10-10 Wim Taymans <wim@fluendo.com>
6629 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6631 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6632 (gst_pad_save_thyself):
6634 Write pad direction in XML output. Fixes #345496.
6636 2006-10-10 Wim Taymans <wim@fluendo.com>
6638 Patch by: René Stadler <mail at renestadler dot de>
6640 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6641 (gst_controller_new_list), (_gst_controller_dispose),
6642 (_gst_controller_finalize), (_gst_controller_class_init):
6643 Take ref to controlled object so that it cannot disappear.
6646 2006-10-10 Wim Taymans <wim@fluendo.com>
6648 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6649 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6650 (gst_check_teardown_sink_pad):
6651 Activate/deactivate pads in setup/teardown respectively.
6653 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6655 Patch by: Josep Torre Valles <josep@fluendo.com>
6658 Cast values when making gstenumtypes.h. This pacifies Forte
6659 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6662 2006-10-09 Wim Taymans <wim@fluendo.com>
6664 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6665 Rename some more @cur to @start to fix docs.
6667 * gst/gstsegment.c: (gst_segment_set_seek):
6669 time and start must always stay in sync as defined in design doc.
6671 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6672 Rename param to fix docs.
6674 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6675 Check that start and time are in sync.
6677 * tests/check/pipelines/parse-launch.c:
6678 (gst_parse_test_element_change_state):
6679 Activate pad before adding to the element.
6681 2006-10-09 Wim Taymans <wim@fluendo.com>
6683 * docs/design/part-qos.txt:
6688 Update seek event docs regarding negative rates.
6689 Rename @cur to @start.
6691 * gst/gstsegment.c: (gst_segment_set_seek):
6693 Update set_seek docs regarding negative rates.
6694 Correctly update last_stop to @stop when dealing with negative
6696 Rename @cur to @start.
6698 * tests/check/gst/gstpad.c: (GST_START_TEST):
6699 Activate pads before trying to use them.
6701 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6702 (gst_segment_suite):
6703 Add simple check for segments and negative rates.
6705 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6707 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6709 * docs/gst/gstreamer-sections.txt:
6710 API: add gst_tag_list_is_empty() (#360467).
6712 * tests/check/gst/gsttag.c: (GST_START_TEST):
6715 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6718 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6719 a value that doesn't fit on enumeration.
6721 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6723 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6724 Remove local debugging system and use Gstreamer's instead.
6726 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6728 Patch by: Josep Torre Valles <josep@fluendo.com>
6730 * common/m4/gst-error.m4:
6731 Disable warning of statement not reached on Forte.
6733 Fix warning on Forte (value doesn't fit on enumeration).
6734 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6735 Fix warning on Forte (value doesn't fit on enumeration).
6736 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6737 DEBUG macro says it takes minimum of 2 args and so Forte
6738 complains about the use with just 1 arg.
6739 * plugins/elements/gstfdsink.c:
6740 * plugins/elements/gstfdsrc.c:
6741 * plugins/elements/gstfilesink.c:
6742 * plugins/elements/gstfilesrc.c:
6743 Use correct return type for the uri handler implementations.
6745 All these fix warnings in Forte. Fixes bug #360860.
6747 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6750 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6751 format string, so don't use G_GNUC_PRINTF for those versions.
6753 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6755 * gst/gsttaglist.c: (gst_is_tag_list):
6757 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6759 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6760 Small test for the above.
6762 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6765 Less tabs, more spaces.
6767 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6770 Those two function declarations do actually belong there, revert
6771 commit from yesterday that turned them intro macros.
6773 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6775 Patch by: Josep Torre Valles <josep@fluendo.com>
6777 * gst/gst.c: (gst_init_get_option_group):
6778 Fix empty declaration and type mismatch.
6779 * gst/gstbin.c: (gst_bin_change_state_func):
6781 * gst/gstelement.c: (gst_element_continue_state),
6782 (gst_element_set_state_func), (gst_element_change_state),
6783 (gst_element_change_state_func):
6784 Fix type mismatches.
6785 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6786 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6787 Cast as appropriate.
6788 * gst/gstobject.c: (gst_class_signal_connect):
6789 Cast as appropriate. The function pointer parameter really
6790 has the wrong type but would break API if we change it.
6792 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6793 order of including string.h.
6794 * gst/gstutils.c: (gst_element_state_get_name):
6795 Remove unreachable line.
6796 * gst/gstxml.c: (gst_xml_parse_doc):
6798 All these caught by Forte.
6800 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6802 Patch by: Josep Torre Valles <josep@fluendo.com>
6804 * common/m4/gst-error.m4:
6806 We need to disable warnings on Forte for empty declarations
6807 due to gst-indent adding ;s to lines that just use macros
6808 where the macro actually doesn't need a ; at end to end
6811 2006-10-06 Wim Taymans <wim@fluendo.com>
6813 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6814 (gst_file_sink_close_file), (gst_file_sink_event),
6815 (gst_file_sink_render):
6816 Add some FIXME for the NEWSEGMENT handling.
6818 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6820 * gst/parse/grammar.y:
6821 Remove static function gst_parse_element_lock as all it does
6822 is return. Looks like cruft from 0.8.
6824 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6826 Patch by: Josep Torre Valles <josep@fluendo.com>
6828 * common/m4/gst-error.m4:
6830 * libs/gst/net/Makefile.am:
6831 Fix a compilation issue with Forte on Solaris. inet_aton is in
6834 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6836 * gst/gstpad.c: (pre_activate):
6837 * gst/gstregistry.c: (gst_registry_scan_path_level):
6838 * gst/gstregistryxml.c: (load_plugin):
6839 * libs/gst/controller/gstcontroller.c:
6840 (gst_controlled_property_set_interpolation_mode):
6841 * libs/gst/dataprotocol/dataprotocol.c:
6842 (gst_dp_packet_from_event_1_0):
6843 * libs/gst/net/gstnetclientclock.c:
6844 (gst_net_client_clock_observe_times):
6845 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6848 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6851 * docs/gst/gstreamer-sections.txt:
6852 * gst/gstconfig.h.in:
6855 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6856 whether we can use G_GNUC_PRINTF in other header files and at
6857 least check the printf format/arguments of debug messages and
6858 GST_ELEMENT_ERROR messages when the printf extension is not
6860 Replace more tabs with spaces in gstinfo.h and remove two spurious
6861 function declarations in GST_DISABLE_DEBUG part with macros.
6863 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6865 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6866 More docs for the sync-message signal (mention that it is not
6867 emitted by default); log message structures of messages posted on
6870 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6872 * gst/gst.c: (ensure_current_registry_forking):
6873 Use a pipe pair to receive status results from the forked child, and
6874 ignore the result from waitpid. Fixes #355499
6876 2006-10-02 Wim Taymans <wim@fluendo.com>
6878 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6879 (gst_ghost_pad_suite):
6882 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6885 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6887 2006-10-02 Edward Hervey <edward@fluendo.com>
6889 * docs/design/part-block.txt:
6890 Further explain the use of flushing on blocked pads.
6891 * docs/gst/gstreamer-sections.txt:
6892 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6893 (gst_pad_push_event):
6895 Added new GstPadFlag : GST_PAD_BLOCKING.
6896 Adds the notion of pads really blocking, which enables to properly
6897 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6899 API: gst_pad_is_blocking()
6900 API: GST_PAD_IS_BLOCKING() macro
6901 API: GST_PAD_BLOCKING GstPadFlag
6903 2006-10-02 Wim Taymans <wim@fluendo.com>
6905 Patch by: mrcgran <mrc.gran at gmail dot com>
6907 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6908 Filter the proxied caps against the padtemplate if we have one.
6910 * gst/gstquery.c: (gst_query_new_segment):
6911 Add include for gstinfo.h so that compilation with
6912 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6914 2006-10-02 Wim Taymans <wim@fluendo.com>
6916 Patch by: Alessandro Decina <alessandro at nnva org>
6918 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6919 (gst_file_sink_set_location), (gst_file_sink_open_file),
6920 (gst_file_sink_close_file), (gst_file_sink_event),
6921 (gst_file_sink_render):
6922 Set file to NULL when closing filesink so that we can set a new filename
6923 in READY. Fixes #358613.
6925 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6927 Patch by: Alessandro Decina <alessandro at nnva org>
6929 * gst/gstevent.c: (_gst_event_copy):
6930 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6931 with event structures by setting the parent refcount address of the
6932 copied structure to the address of the refcount member of the newly
6933 copied event rather than the address of the refcount member of the
6934 original event. Fixes #358737.
6936 * tests/check/gst/gstevent.c: (GST_START_TEST):
6937 Unit test for the above.
6939 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6941 * docs/design/Makefile.am:
6942 Dist some more files.
6944 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6946 * tests/check/libs/controller.c: (GST_START_TEST),
6947 (gst_controller_suite):
6948 Add test for the previous fix; add some more tests
6949 for correct refcounting behaviour; fix a few leaks
6950 in test cases; call gst_controller_init() at start
6953 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6955 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6956 (gst_controller_set_from_list):
6957 Don't g_return_val_if_fail() on timed values with invalid timestamps
6958 inside a critical section without unlocking the mutex. Spotted by
6959 René Stadler. (#357617)
6960 Also, fix up refcounting properly: when returning an existing
6961 controller, we should increase the reference only once and not
6962 once per property and when trying to control a property again
6963 we should also increase the refcount.
6965 2006-09-29 Wim Taymans <wim@fluendo.com>
6967 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6968 * libs/gst/net/gstnettimeprovider.c:
6969 (gst_net_time_provider_thread):
6970 Stop reading commands when EOF as well.
6972 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6973 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6974 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6975 Unify description of the dump property.
6977 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6979 * tests/examples/manual/.cvsignore:
6980 OK, so it's actually cvsignore that needs changing. Stop laughing.
6982 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6984 * tests/examples/manual/Makefile.am:
6985 Gah, declare vars *before* using them
6987 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6989 * gst/gst.c: (init_pre), (scan_and_update_registry),
6990 (ensure_current_registry_nonforking),
6991 (ensure_current_registry_forking), (ensure_current_registry),
6992 (init_post), (gst_debug_help), (gst_deinit):
6993 * gst/gst_private.h:
6994 * gst/gstregistry.c: (gst_registry_finalize),
6995 (gst_registry_remove_features_for_plugin_unlocked),
6996 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6997 (gst_registry_scan_path),
6998 (_priv_gst_registry_remove_cache_plugins),
6999 (_priv_gst_registry_cleanup):
7000 * gst/gstregistry.h:
7001 Re-commit the registry changes, along with an extra fix:
7002 When a cached plugin is encountered at a different file path,
7003 update the stored path in the registry cache so that the parent
7004 process knows where it actually is now when it re-reads the registry
7005 cache. Fixes the thing that broke distcheck with the previous commit.
7007 * tests/check/Makefile.am:
7008 Clean up files named 'core' too when running make clean.
7010 * tests/examples/manual/Makefile.am:
7011 Set up a registry path for running these tests, and clean it properly
7014 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
7017 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7018 want gmodule-no-export-2.0.pc instead so that we don't drag in
7019 --export-dynamic on every project that links to GStreamer.
7021 Also, make our export regex only match the start of symbols, rather
7022 than any symbol that contains '_gst' somewhere.
7024 * libs/gst/check/Makefile.am:
7025 The libgstcheck we build does however need export-dynamic, as it
7026 produces some symbols that don't match our _gst... style regex.
7029 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
7031 * gst/gst.c: (init_pre), (scan_and_update_registry),
7032 (ensure_current_registry_nonforking),
7033 (ensure_current_registry_forking), (ensure_current_registry),
7034 (init_post), (gst_debug_help), (gst_deinit):
7035 * gst/gst_private.h:
7036 * gst/gstregistry.c: (gst_registry_finalize),
7037 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7038 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7039 (_gst_registry_cleanup):
7040 * gst/gstregistry.h:
7041 Revert previous change until I figure out why it breaks distcheck.
7043 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
7045 * gst/gst.c: (init_pre), (scan_and_update_registry),
7046 (ensure_current_registry_nonforking),
7047 (ensure_current_registry_forking), (ensure_current_registry),
7048 (init_post), (gst_debug_help), (gst_deinit):
7050 Make init_pre and init_post take the full complement of GOptionFunc
7051 args so they can return useful GErrors. Make the registry updating
7054 Call _priv_gst_registry_remove_cache_plugins after scanning files to
7055 ensure that the registry we're about to write out doesn't contain
7056 stale information about old-deleted plugin files.
7058 Make _priv_gst_registry_remove_cache_plugins return a boolean so
7059 that deletion of plugin files is considered a registry change.
7061 * gst/gst_private.h:
7062 * gst/gstregistry.c: (gst_registry_finalize),
7063 (gst_registry_remove_features_for_plugin_unlocked),
7064 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7065 (gst_registry_scan_path),
7066 (_priv_gst_registry_remove_cache_plugins),
7067 (_priv_gst_registry_cleanup):
7068 * gst/gstregistry.h:
7069 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7070 by adding _priv prefix, so that they won't appear in the global
7071 symbol table. They still do atm though because of #318031. Move the
7072 prototypes to gst_private.h
7074 When removing a plugin, remove all features for that plugin too.
7077 2006-09-27 Wim Taymans <wim@fluendo.com>
7079 * docs/random/moving-plugins:
7080 Make it clear that the "compiled-in descriptions" really mean
7081 the element details.
7083 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7084 (gst_base_sink_wait_preroll):
7087 * docs/libs/gstreamer-libs-sections.txt:
7088 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7089 (gst_base_src_get_range), (gst_base_src_activate_push):
7090 * libs/gst/base/gstbasesrc.h:
7091 Added function to block while waiting for PLAYING, this function
7092 is used by live sources that block on the clock.
7093 API: gst_base_src_wait_playing()
7095 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
7097 Patch by: Peter Kjellerstedt <pkj at axis com>
7100 gst-element-check.m4 is generated and should therefore be
7101 copied from the build dir rather than the source dir (#357593).
7102 'make distcheck' hasn't noticed this because we were disting
7103 the file as well, so stop doing that.
7105 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
7107 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7108 Add some tests for gst_caps_intersect().
7110 * tools/gst-launch.c: (event_loop):
7111 Print all buffering percentages we get, even the 100% one.
7113 2006-09-26 Wim Taymans <wim@fluendo.com>
7115 * tools/gst-inspect.c: (print_element_properties_info),
7116 (print_signal_info):
7117 Fix printing of flags to match the look of enums.
7119 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
7121 * gst/gstelementfactory.c:
7122 Fix typo in docs blurb.
7124 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
7126 * gst/gsturi.c: (search_by_entry):
7127 Don't assert/crash here if a uri handler doesn't return any
7128 supported protocols. The list of protocols could be generated
7129 dynamically at runtime or at plugin registration, and an error
7130 in the underlying library shouldn't be fatal (#353301).
7132 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
7135 Fix warning if HAVE_PRINTF_EXTENSION is undefined
7136 (spotted by Peter Kjellerstedt).
7138 2006-09-23 Wim Taymans <wim@fluendo.com>
7140 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7142 * libs/gst/base/gstbasesrc.c:
7143 (gst_base_src_default_check_get_range), (gst_base_src_start),
7144 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7145 (gst_base_src_change_state):
7146 Match _start/_stop calls in the activate functions. Remove redundant
7147 _stop call from the state change function. Fixes #356910.
7148 Turn failure DEBUG into ERROR.
7150 2006-09-22 Wim Taymans <wim@fluendo.com>
7152 * docs/design/part-buffering.txt:
7153 * gst/gstmessage.c: (gst_message_new_buffering),
7154 (gst_message_parse_buffering):
7155 Update docs about buffering.
7157 * docs/design/part-trickmodes.txt:
7160 2006-09-22 Stefan Kost <ensonic@users.sf.net>
7162 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7163 (gst_controller_new_list):
7164 Ref instances when returning them again (fixes #357180)
7166 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
7168 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7169 Don't forget to release proxy lock when there's an error.
7171 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
7174 Add extra initialisers for Caps things, to fix some plugin warnings
7177 2006-09-18 Wim Taymans <wim@fluendo.com>
7179 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7180 Also set template on the internal pad so that a getcaps from the
7181 target pad returns the template caps.
7183 2006-09-18 Wim Taymans <wim@fluendo.com>
7185 * gst/gstelement.c: (gst_element_post_message),
7186 (gst_element_dispose):
7187 Use _DEBUG_OBJECT some more.
7189 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7192 * tools/gst-launch.c: (main):
7193 If the toplevel element is not a GstPipeline, it must be put in a
7194 pipeline so that a bus and clock is selected.
7196 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
7198 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7199 JITTER, RATE, and LATENCY query should be handled by the
7200 default case and not by the CONVERT query code.
7202 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
7204 * gst/gstformat.c: (gst_format_register):
7205 Fix locking order (must take lock before using n_values).
7207 * gst/gstvalue.c: (gst_value_serialize_enum),
7208 (gst_value_deserialize_enum_iter_cmp),
7209 (gst_value_deserialize_enum):
7210 Fix serialisation/deserialisation of custom registered GstFormats.
7212 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7213 Unit test for custom format serialisation/deserialisation.
7215 2006-09-17 Stefan Kost <ensonic@users.sf.net>
7217 * docs/pwg/building-boiler.xml:
7218 * plugins/elements/gstcapsfilter.c:
7219 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7222 2006-09-16 Edward Hervey <edward@fluendo.com>
7224 * libs/gst/base/gstbasetransform.c:
7225 (gst_base_transform_buffer_alloc):
7226 Check if requested caps are the same as the sinks caps IF
7227 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7229 This fixes the renegotiation issues stated in #352827.
7231 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7234 * docs/manual/advanced-autoplugging.xml:
7235 * tests/examples/Makefile.am:
7236 * tests/examples/manual/.cvsignore:
7237 * tests/examples/manual/Makefile.am:
7238 * tests/examples/manual/extract.pl:
7239 Extract the manual examples again like we used to do.
7242 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7244 * win32/common/config.h:
7247 2006-09-16 Stefan Kost <ensonic@users.sf.net>
7250 Documents how to receive errors.
7252 2006-09-15 Wim Taymans <wim@fluendo.com>
7254 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7255 (event_loop), (main):
7256 Added some comments here and there.
7257 Post an application message when an interrupt is caught instead of doing
7258 an uncontrolled state change.
7259 Clean up the event loop.
7260 Handle buffering messages, pause/resume the pipeline.
7261 Make shutdown because of an interrupt more reliable.
7263 2006-09-15 Wim Taymans <wim@fluendo.com>
7265 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7266 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7267 (gst_base_sink_preroll_object):
7268 Make sure that our internal state is correct when we commit our state
7269 asynchronously. This solves a race where a state change to PLAYING
7270 could cause the sink to remain blocked in preroll in some situations.
7272 2006-09-15 Wim Taymans <wim@fluendo.com>
7274 * tools/gst-inspect.c: (print_element_properties_info),
7275 (print_signal_info):
7276 List flags as hex so it's easier to deal with.
7278 2006-09-15 Wim Taymans <wim@fluendo.com>
7280 * docs/libs/gstreamer-libs-sections.txt:
7281 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7282 (gst_base_sink_do_sync):
7283 * libs/gst/base/gstbasesink.h:
7284 Expose logic to wait for preroll so that subclasses such as audiosink
7285 can also use this method.
7286 API: gst_base_sink_wait_preroll()
7288 2006-09-15 Wim Taymans <wim@fluendo.com>
7290 * gst/gstobject.c: (gst_object_set_parent):
7291 * gst/gstpipeline.c: (do_pipeline_seek):
7292 Small cleanups in docs and code.
7294 * gst/gstsegment.c: (gst_segment_clip):
7295 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7296 if stop == start and start is in the segment, no clipping should be
7297 done. Also add a test for this.
7299 2006-09-15 Wim Taymans <wim@fluendo.com>
7301 * docs/design/part-buffering.txt:
7302 * docs/gst/gstreamer-sections.txt:
7303 * gst/gstmessage.c: (gst_message_new_buffering),
7304 (gst_message_parse_buffering):
7306 Added methods to create and parse BUFFERING messages.
7307 Added preliminary docs about buffering.
7308 API: gst_message_new_buffering
7309 API: gst_message_parse_buffering
7311 2006-09-06 Wim Taymans <wim@fluendo.com>
7314 Update documentation.
7316 * gst/gstelement.c: (gst_element_class_init),
7317 (gst_element_release_request_pad), (gst_element_set_clock),
7318 (gst_element_get_index), (gst_element_add_pad),
7319 (gst_element_remove_pad), (gst_element_get_random_pad),
7320 (gst_element_send_event), (gst_element_get_query_types),
7321 (gst_element_query), (gst_element_post_message),
7322 (gst_element_message_full), (gst_element_continue_state),
7323 (gst_element_lost_state), (gst_element_save_thyself),
7324 (gst_element_restore_thyself):
7325 Documentation updates.
7326 Rename last bit of the new-pad -> pad-added signal rename.
7327 Fix the case where an element query would only work if the source
7329 Avoid some useless type checking in message handling.
7334 Documentation updates.
7336 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7338 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7339 add an INFO line for when we actually update the fd
7341 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7346 === release 0.10.10 ===
7348 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7351 releasing 0.10.10, "Pais"
7353 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7355 * docs/manual/advanced-position.xml:
7356 Fix typo in sample code.
7358 2006-09-05 Wim Taymans <wim@fluendo.com>
7360 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7361 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7362 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7363 * libs/gst/net/gstnetclientclock.h:
7364 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7365 * libs/gst/net/gstnettimepacket.h:
7366 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7367 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7368 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7369 * libs/gst/net/gstnettimeprovider.h:
7370 Make stuff compile on windows. Fixes #345295.
7372 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7374 * gst/gst.c: (ensure_current_registry_forking):
7375 Print better details when child was terminated by signal.
7377 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7379 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7380 Print a warning rather than g_assert() if a plugin feature
7381 is a URI handler but returns no protocols (#353976).
7383 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7385 * docs/random/moving-plugins:
7388 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7390 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7391 Fix locking order, handle NULL function values properly.
7396 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7397 Initialise variable before using it and fix debug statement to
7398 print the address of the function rather than the address of the
7399 variable on the stack holding the address of the function.
7401 2006-09-01 Wim Taymans <wim@fluendo.com>
7403 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7404 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7405 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7406 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7407 (gst_ghost_pad_parent_unset),
7408 (gst_ghost_pad_internal_do_activate_push),
7409 (gst_ghost_pad_internal_do_activate_pull),
7410 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7411 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7412 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7413 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7414 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7415 (gst_ghost_pad_new_no_target_from_template),
7416 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7418 Avoid needless typechecking in macros.
7419 Since the internal pad is always present and never changes, there is
7420 no need to locking or ref when retrieving it.
7421 Improve debugging a bit.
7422 Handle link errors when setting the target. Fixes #341029.
7424 2006-09-01 Wim Taymans <wim@fluendo.com>
7426 * docs/libs/gstreamer-libs-sections.txt:
7427 * docs/plugins/gstreamer-plugins-sections.txt:
7430 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7431 (gst_collect_pads_event):
7432 * libs/gst/base/gstcollectpads.h:
7433 Documentation updates.
7434 Free queued buffer when removing a pad.
7436 2006-08-31 Michael Smith <msmith@fluendo.com>
7438 * gst/gstutils.c: (gst_element_link_pads),
7439 (gst_element_link_pads_filtered):
7440 Ensure that we set a capsfilter to NULL if we failed to link it
7441 when doing filtered linking, to avoid criticals.
7443 No need to check for unreffing srcpad, which is explicly NULLed
7444 above (a trivial code cleanup).
7446 2006-08-31 Wim Taymans <wim@fluendo.com>
7448 * docs/design/part-gstghostpad.txt:
7449 Update ascii art in documentation.
7451 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7452 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7453 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7454 (gst_ghost_pad_internal_do_activate_push),
7455 (gst_ghost_pad_internal_do_activate_pull),
7456 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7457 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7458 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7459 (gst_ghost_pad_set_target):
7460 Small cleanups and leak fixes.
7461 Remove some checks now that the internal pad is never NULL.
7462 Fix the case where linking pads without a target would create nasty
7463 criticals. Fixes #341029.
7464 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7465 value of _set_target().
7467 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7468 (gst_ghost_pad_suite):
7469 Some more tests for creating and linking untargeted ghostpads.
7471 2006-08-31 Edward Hervey <edward@fluendo.com>
7473 * docs/gst/gstreamer-sections.txt:
7474 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7475 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7476 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7477 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7478 (gst_ghost_pad_new_from_template),
7479 (gst_ghost_pad_new_no_target_from_template):
7480 * gst/gstghostpad.h:
7481 Refactored *_new() functions.
7482 Templates are now used as a g_object_new() parameter.
7483 Use template in _do_getcaps() if we don't have a target.
7484 Small documentation cleanups.
7485 Added two new constructors:
7486 gst_ghost_pad_new_from_template()
7487 gst_ghost_pad_new_no_target_from_template()
7488 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7489 (gst_ghost_pad_suite):
7490 Added tests for new ghostpad instanciation functions.
7492 API additions: gst_ghost_pad_new_from_template,
7493 gst_ghost_pad_new_no_target_from_template
7495 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7497 * docs/random/ensonic/profiling.txt:
7498 Ideas about qos profiling.
7500 2006-08-29 Wim Taymans <wim@fluendo.com>
7502 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7506 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7509 Improve and detypofy docs.
7511 * tests/check/Makefile.am:
7512 * tests/check/gst/.cvsignore:
7513 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7514 Add a basic test suite for GstXML.
7516 2006-08-29 Wim Taymans <wim@fluendo.com>
7518 * gst/gstelement.c: (activate_pads), (clear_caps),
7519 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7520 Clear the pad caps when the element shut down all of the pads and
7521 is not streaming data that could modify the caps.
7524 2006-08-28 Michael Smith <msmith@fluendo.com>
7526 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7527 Revert previous change; I misunderstood single-segment mode.
7529 2006-08-28 Michael Smith <msmith@fluendo.com>
7531 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7532 Unset DISCONT on buffers when using single-segment mode.
7534 2006-08-28 Wim Taymans <wim@fluendo.com>
7536 * gst/gstcaps.c: (gst_caps_merge_structure):
7538 Fix docs and indentation again.
7540 * tests/check/gst/gstquery.c: (GST_START_TEST):
7541 Fix leak in tests and add some more tests.
7543 2006-08-28 Edward Hervey <edward@fluendo.com>
7545 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7546 Inform GstSegment of the last stop position in order for the current
7547 segment to have a proper duration if it doesn't have a specific stop
7548 position from which a duration could be calculated.
7549 This bug was noticeable when a non-flushing, non-update new segment was
7550 followed by another segment (all buffers from the new segment were being
7553 2006-08-28 Wim Taymans <wim@fluendo.com>
7555 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7556 Small comment update.
7558 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7559 (gst_identity_transform_ip):
7560 Drop-probability is broken, mention this in the code with a
7561 FIXME and also in the property description.
7562 Make silent also be silent about the drop messages.
7564 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7566 * docs/manual/appendix-win32.xml:
7567 Remove mention of popt, we don't depend on that any
7568 longer (#353136). Add some comments pointing out that
7569 this section is slightly outdated.
7571 2006-08-28 Wim Taymans <wim@fluendo.com>
7573 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7575 * gst/gstquery.c: (gst_query_new_segment):
7576 * tests/check/gst/gstquery.c: (GST_START_TEST):
7577 Initialize variables when creating a new segment query.
7580 2006-08-28 Wim Taymans <wim@fluendo.com>
7582 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7584 * gst/gstelement.c: (gst_element_get_bus):
7585 * tests/check/gst/gstelement.c: (GST_START_TEST):
7586 Check for NULL before _reffing the bus. Fixes #353122.
7588 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7590 * docs/manual/basics-bus.xml:
7591 Docs update: fix wrong callback return value explanation; add
7592 some lines about the implicit relationship between main loop
7593 and main context; remove duplicate main loop variable declaration.
7595 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7597 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7598 Don't leak caps in unit test; add a few more simple
7601 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7603 * docs/gst/gstreamer-sections.txt:
7604 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7605 (gst_caps_structure_is_subset), (gst_caps_merge),
7606 (gst_caps_merge_structure):
7608 * libs/gst/base/gstbasetransform.c:
7609 (gst_base_transform_transform_caps):
7610 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7611 implement caps merging (fixes #352580)
7613 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7615 * tools/Makefile.am:
7616 * tools/gst-plot-timeline.py:
7617 add debug-log plotting developer tool (#340674)
7619 2006-08-23 Wim Taymans <wim@fluendo.com>
7621 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7622 (gst_pad_stop_task):
7623 Improve debugging for task functions.
7625 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7626 (gst_task_start), (gst_task_pause), (gst_task_join):
7627 Make sure that the task function started and finished after a
7629 Don't try to push the task function on the threadpool multiple
7631 Improve the g_warning message with some useful suggestions
7632 about how to fix the problem.
7634 2006-08-23 Wim Taymans <wim@fluendo.com>
7636 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7637 Handle RESYNC correctly in _proxy_getcaps.
7639 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7641 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7642 (gst_xml_parse_memory), (gst_xml_get_element):
7643 Chain up to parent class in dispose function and also
7644 unref the elements in the toplevel_elements GList.
7645 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7646 Always return a reference in gst_xml_get_element() rather
7647 than only sometimes.
7649 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7650 Don't leak GstXml object.
7652 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7654 * docs/gst/gstreamer-sections.txt:
7655 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7658 * libs/gst/base/gstbasetransform.c:
7659 (gst_base_transform_transform_caps):
7660 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7663 2006-08-21 Edward Hervey <edward@fluendo.com>
7665 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7666 Implement GObject::dispose virtual method in GstXML so we can free the
7669 2006-08-21 Wim Taymans <wim@fluendo.com>
7671 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7672 (gst_buffer_create_sub):
7673 Copy duration/offset_end/caps when creating a subbuffer of the
7675 Make the subbuffer read-only when we make the metadata writable for
7678 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7679 Added check for metadata copy when creating subbuffers.
7681 2006-08-21 Edward Hervey <edward@fluendo.com>
7683 * libs/gst/base/gstbasetransform.c:
7684 (gst_base_transform_buffer_alloc):
7685 Only call downstream buffer_alloc if transform element is passthrough
7686 or always_in_place. Closes #350449.
7688 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7691 ChangeLog surgery to add comments to previous changes
7693 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7698 * gst/gstpad.c: (gst_pad_set_active):
7699 Be more verbose in the log
7701 * libs/gst/base/gstbasetransform.c:
7702 (gst_base_transform_transform_caps):
7703 Simplify caps to get rid of duplicates, fixes #345444
7705 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7709 Use these optimizations only internally.
7711 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7713 * gst/gstvalue.c: (gst_value_compare_list),
7714 (gst_value_compare_fraction_range),
7715 (gst_value_intersect_fraction_fraction_range),
7716 (gst_value_intersect_fraction_range_fraction_range),
7717 (gst_value_subtract_fraction_fraction_range),
7718 (gst_value_subtract_fraction_range_fraction_range),
7719 (gst_value_get_compare_func), (gst_value_compare),
7720 (gst_value_compare_with_func):
7722 Saves the expensive lookup of the compare function in many cases
7725 2006-08-18 Edward Hervey <edward@fluendo.com>
7727 * tests/check/gst/gstinfo.c: (gst_info_suite):
7728 Disable test that require gstdebug if it wasn't built in core.
7730 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7732 * docs/random/ensonic/logging.txt:
7735 * gst/gstinfo.c: (gst_debug_log_default):
7736 reorder fields, save some columns, add optional color codes for log
7739 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7741 * docs/random/ensonic/logging.txt:
7742 add ideas about making the logs a bit more useful
7744 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7746 * docs/pwg/advanced-events.xml:
7747 * docs/pwg/titlepage.xml:
7748 Update for 0.10 API (#340627). Add myself
7751 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7753 * docs/libs/gstreamer-libs-docs.sgml:
7754 * docs/libs/gstreamer-libs-sections.txt:
7755 * libs/gst/check/gstbufferstraw.c:
7756 Make gstcheck stuff show up in docs (still needs to
7757 be documented properly though).
7759 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7761 * docs/gst/gstreamer-sections.txt:
7763 * gst/gst.c: (init_post):
7764 * gst/gst_private.h:
7765 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7767 * gst/gstquery.c: (gst_query_new_position),
7768 (gst_query_set_position), (gst_query_parse_position),
7769 (gst_query_new_duration), (gst_query_set_duration),
7770 (gst_query_parse_duration), (gst_query_new_convert),
7771 (gst_query_set_convert), (gst_query_parse_convert),
7772 (gst_query_new_segment), (gst_query_set_segment),
7773 (gst_query_parse_segment), (gst_query_new_seeking),
7774 (gst_query_set_seeking), (gst_query_parse_seeking):
7775 Add internal helpers for pre-registering quarks from static strings
7776 and using the quark values directly instead of looking them up when
7777 creating and parsing queries. Can be used for event construction too.
7780 2006-08-16 Wim Taymans <wim@fluendo.com>
7785 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7787 * gst/gstutils.c: (gst_util_set_value_from_string):
7788 Fix memleak (#351502).
7790 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7791 Add unit test for most of gst_util_set_value_from_string()
7792 (not that one would want to encourage use of this function).
7794 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7796 * libs/gst/check/gstcheck.h:
7797 Use const gchar * variables in fail_unless_equals_string
7798 macro to avoid compiler warnings (and don't use tabs for
7801 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7803 * tools/gst-launch.c: (print_tag):
7804 More space on the left for the tag names, to cater
7805 for the 'extended comment' tag (not touching the
7806 string for the first line since it's translated).
7808 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7810 * libs/gst/check/gstcheck.h:
7811 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7812 print something when they fail.
7814 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7816 * docs/gst/gstreamer-sections.txt:
7817 * gst/gsttaglist.c: (_gst_tag_initialize):
7819 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7820 Also change merge function for GST_TAG_COMMENT to
7823 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7825 * gst/gstinfo.c: (gst_debug_print_object):
7826 Make GST_PTR_FORMAT print messages as well.
7828 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7829 (GST_START_TEST), (gst_info_suite):
7832 2006-08-14 Edward Hervey <edward@fluendo.com>
7834 * gst/gstelementfactory.c: (gst_element_register):
7835 If the GstElementClass doesn't have a GstElementDetails with all fields
7836 filled up correctly (longname, description AND author), then error out
7837 nicely instead of crashing.
7839 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7841 * gst/gststructure.c:
7842 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7845 Expand on the difference between arrays and lists as we use them.
7847 2006-08-14 Wim Taymans <wim@fluendo.com>
7849 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7850 If the parent state change function failed, don't assume we can safely
7851 stop the source, this will be done when the pads are deactivated.
7853 2006-08-14 Wim Taymans <wim@fluendo.com>
7856 * gst/gsttask.c: (gst_task_join):
7859 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7860 (gst_pad_stop_task):
7861 When pad (de)activation failed for some reason, restore the old
7862 activation mode and set the pad to flushing instead of assuming the
7864 If the _task_join() failed, reinstall the task on the pad so that it can
7865 be stopped later and return an error.
7867 2006-08-11 Andy Wingo <wingo@pobox.com>
7870 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7871 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7872 is only for users of API that don't want to see deprecated
7873 functions in the headers; people that want to compile out
7874 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7875 CFLAGS. Fixes the build of multifdsink, or will soon..
7877 2006-08-11 Wim Taymans <wim@fluendo.com>
7879 * docs/gst/gstreamer-sections.txt:
7880 Add GstClockClass vmethod docs.
7883 Mark #endif with comment for associated #if
7885 * gst/gstclock.c: (gst_clock_id_wait):
7887 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7888 most clock implementations.
7890 Flesh out docs about resolution methods.
7891 API: GstClockClass::wait_jitter
7893 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7894 (gst_system_clock_async_thread),
7895 (gst_system_clock_id_wait_jitter_unlocked),
7896 (gst_system_clock_id_wait_jitter):
7897 Use base class wait_jitter variant for improved performance
7898 due to less clock polling.
7900 2006-08-11 Edward Hervey <edward@fluendo.com>
7902 * gst/gst.c: (gst_init_check), (init_post):
7903 Set gst as being initialized before scanning/updating the registry,
7904 since there might be my python plugin loader that calls gst_init() and
7905 we don't want to loop back in.
7908 2006-08-11 Wim Taymans <wim@fluendo.com>
7910 * docs/design/part-qos.txt:
7911 Bring docs in line with the code. Mostly the sign of the jitter was
7912 wrong in the docs. Fixes #349943.
7915 Fix the docs for the jitter.
7917 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7918 (gst_event_parse_tag), (gst_event_new_buffer_size),
7919 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7920 (gst_event_new_seek), (gst_event_parse_seek),
7921 (gst_event_new_navigation):
7922 Make sure the GstStructure has no parent when creating custom
7924 Add some more argument checking so that we avoid 0.0 rates.
7925 Flesh out the docs for the QoS event some more.
7927 2006-08-11 Wim Taymans <wim@fluendo.com>
7929 * docs/gst/gstreamer-sections.txt:
7930 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7931 (ensure_current_registry_forking), (ensure_current_registry),
7932 (parse_one_option), (parse_goption_arg), (gst_deinit),
7933 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7936 Added API and command line option to disable registry forking in
7937 addition to the environment variable.
7938 Constify some static arrays.
7939 Added some more debug.
7941 API: gst_registry_fork_is_enabled()
7942 API: gst_registry_fork_set_enabled()
7943 API: --gst-disable-registry-fork command line option
7946 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7948 * gst/gst.c: (gst_init):
7949 Fix typo in error message.
7951 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7953 * libs/gst/controller/gstcontroller.h:
7954 fix ABI size-correction
7956 * tests/check/libs/gdp.c: (gst_dp_suite):
7957 make tests that use deprecated API conditional
7959 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7961 * docs/libs/gstreamer-libs-sections.txt:
7962 * libs/gst/controller/gstcontroller.c:
7963 (_gst_controller_get_property), (_gst_controller_set_property),
7964 (_gst_controller_init), (_gst_controller_class_init):
7965 * libs/gst/controller/gstcontroller.h:
7966 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7967 (gst_object_set_control_rate):
7968 API: add gst_object_{s,g}et_control_rate(), add private data section,
7971 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7972 * libs/gst/dataprotocol/dataprotocol.h:
7973 add deprecation guards to make gtk-doc happy and allow disabling cruft
7975 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7977 * tests/check/Makefile.am:
7978 * tests/check/gst/.cvsignore:
7979 Let's enable the new unit test as well.
7981 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7984 * docs/gst/gstreamer-sections.txt:
7985 * gst/gstconfig.h.in:
7986 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7987 (_gst_info_printf_extension_ptr),
7988 (_gst_info_printf_extension_segment):
7989 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7990 register that lets us easily dump GstSegments into debug
7993 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7994 (info_segment_format_printf_extension), (gst_info_suite):
7995 Add simple unit test that logs a bunch of different segments (not
7996 valgrinded at the moment because of leaks in
7997 gst_debug_add_log_function).
7999 2006-08-09 Edward Hervey <edward@fluendo.com>
8001 * libs/gst/base/gstbasetransform.c:
8002 (gst_base_transform_buffer_alloc):
8003 Even if we can't figure out the proper format to request downstream,
8004 call buffer_alloc() downstream with the input parameters without setting
8005 the caps on the srcpad. This will force negotiation in the chain
8009 2006-08-08 Edward Hervey <edward@fluendo.com>
8011 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8012 Unlinking from a pad without a target is now a perfectly valid case
8013 which should NOT raise an assertion.
8014 This case would happen if a linked ghostpad its target set to NULL after
8015 it was previously linked.
8017 2006-08-08 Edward Hervey <edward@fluendo.com>
8019 * tests/check/libs/gdp.c:
8020 Also comment out the test (see below).
8022 2006-08-08 Edward Hervey <edward@fluendo.com>
8024 * tests/check/libs/gdp.c: (gst_dp_suite):
8025 Use the architecture information from config.h and not gcc macros
8026 in order to properly disable a test that fails on PPC64.
8028 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
8030 * gst/gstelement.c: (gst_element_remove_pad):
8031 Don't crash printing the warning if the pad has no parent.
8033 2006-08-02 Wim Taymans <wim@fluendo.com>
8035 * libs/gst/dataprotocol/dataprotocol.c:
8036 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8037 (gst_dp_crc), (gst_dp_header_payload_length),
8038 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8039 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8040 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8041 (gst_dp_event_from_packet), (gst_dp_validate_header),
8042 (gst_dp_validate_payload):
8043 Make debug category static
8044 Constify the crc table.
8045 Do some more arg checking in public functions.
8046 Fix some docs and do some small cleanups.
8048 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8049 Add some more checks to see if GDP deals with bogus input.
8051 2006-07-31 Wim Taymans <wim@fluendo.com>
8053 * gst/gstvalue.c: (gst_value_compare_list):
8054 Fix GstValueList comparison code. Fixes #347293.
8056 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8057 Check to test GstValueList comparison.
8059 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
8061 * gst/gstelementfactory.c: (gst_element_factory_create):
8062 Remove unnecessary ref/unref pair
8064 * gst/parse/grammar.y:
8065 Make sure to free the parse buffer on all code paths.
8066 Move a g_free up to the error handler where it's easier to see.
8068 * tests/check/gst/gstevent.c: (test_event):
8069 Extending timeout for downstream travelling events to 10 seconds to
8070 hopefully avoid intermittent failure on the buildbots.
8072 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8073 Don't manually set the state of the src element - it will happen as a
8074 natural consequence of the pipeline changing state, and that way it
8075 will do it in the right order too.
8077 2006-07-31 Wim Taymans <wim@fluendo.com>
8079 * libs/gst/base/gstbasetransform.c:
8080 (gst_base_transform_buffer_alloc):
8081 Use OBJECT_LOCK and refcounting to get the pad caps in the
8082 buffer_alloc function because the caps could change while we are
8083 busy with them. Fixes #349105
8085 2006-07-31 Wim Taymans <wim@fluendo.com>
8087 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8088 Protect _PAD_CAPS with OBJECT_LOCK.
8090 2006-07-31 Wim Taymans <wim@fluendo.com>
8092 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8093 (gst_pad_get_property), (gst_pad_activate_pull),
8094 (gst_pad_activate_push), (gst_pad_set_blocked_async),
8095 (gst_pad_set_activate_function),
8096 (gst_pad_set_activatepull_function),
8097 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8098 (gst_pad_set_getrange_function),
8099 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8100 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8101 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8102 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8103 (gst_pad_set_acceptcaps_function),
8104 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8105 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8106 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8107 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8108 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8109 (gst_pad_configure_sink), (gst_pad_configure_src),
8110 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8111 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8112 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8113 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8114 (gst_pad_send_event):
8115 Use _DEBUG_OBJECT when it makes sense.
8116 Protect GST_PAD_CAPS with the OBJECT_LOCK.
8117 Small cleanups and code reflows.
8118 Avoid caps refcounting in _accept_caps.
8119 Refactor alloc_buffer so that the code performed on the peer is in a
8120 separate function. Also if the pad does not implement a buffer alloc
8121 function, we should still check if the pad is flushing before falling
8122 back to the default allocator.
8124 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
8126 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8127 Make all uses of identity and fakesink have silent=true to avoid
8128 serialising every passing data structure, which is breaking tests
8129 on FC4 for some unknown reason.
8131 2006-07-30 Stefan Kost <ensonic@users.sf.net>
8133 * gst/parse/Makefile.am:
8134 * gst/parse/grammar.y:
8135 * gst/parse/parse.l:
8136 Reverted previous patch as it required to bump the flex dependency to
8137 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8139 2006-07-30 Stefan Kost <ensonic@users.sf.net>
8141 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8143 * gst/parse/Makefile.am:
8144 * gst/parse/grammar.y:
8145 * gst/parse/parse.l:
8146 push & pop the state of the lexer for reentrant use case
8149 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
8151 * libs/gst/base/gstbasesrc.h:
8152 Note in the docs that the ::newsegment vfunc is not actually used by
8155 2006-07-28 Wim Taymans <wim@fluendo.com>
8157 * libs/gst/base/gstcollectpads.c:
8158 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8159 (gst_collect_pads_clear), (gst_collect_pads_flush),
8160 (gst_collect_pads_event), (gst_collect_pads_chain):
8161 When flushing a pad, also clear the queued buffer so that we don't
8162 accidentally use it when we shouldn't.
8163 Fix leaks by inreffing incomming buffer.
8164 Flush out queued buffers in case of errors.
8167 2006-07-28 Wim Taymans <wim@fluendo.com>
8169 * docs/random/phonon-gst:
8170 Random notes about a Phonon backend.
8172 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8174 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8176 * tests/check/libs/gdp.c: (gst_dp_suite):
8177 Take a whack at fixing the ppc compile using a different define to
8178 disable the broken test.
8180 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8181 Remove excess g_print()
8183 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8185 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8186 Oops, meant to uncomment this line too to dampen the noise a bit.
8188 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8190 * gst/parse/grammar.y:
8191 * gst/parse/parse.l:
8192 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8193 (GST_START_TEST), (parse_suite):
8194 Fix some of the leaks exposed by extending the parse-launch testsuite,
8195 and move the 3 I can't figure out into a separate test that won't run
8196 the pipelines unless the appropriate line is uncommented.
8198 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8200 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8201 Requesting 0 bytes before the end of the file should result in
8202 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8205 2006-07-27 Wim Taymans <wim@fluendo.com>
8207 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8208 Fix useless assert, a uint is always positive.
8210 * gst/gststructure.c: (gst_structure_nth_field_name),
8211 (gst_structure_foreach), (gst_structure_map_in_place):
8212 Check input arguments for public functions to avoid obvious crashes.
8214 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8215 * plugins/elements/gstfakesink.h:
8216 Do less useless typechecking.
8218 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8220 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8221 Do not use mmap() by default since there are a number of error
8222 conditions that we would like to handle in a non-fatal way that
8223 will result in a SIGBUS if we use mmap(). Examples: external
8224 devices (USB harddrive, portable music player) being unplugged
8225 while in use; file on mounted CD/DVD that can't be read because
8226 the medium is partly damaged. Fixes #348455 and #348475.
8228 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8231 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8234 2006-07-26 Stefan Kost <ensonic@users.sf.net>
8236 * gst/gstregistry.c:
8237 Move big documentation comment into class section header, so that it
8238 appears in the API docs.
8240 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8242 * docs/gst/gstreamer-sections.txt:
8243 Oops. Commit the docs additions too for new API.
8244 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8246 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8248 * gst/gststructure.c: (gst_structure_id_set),
8249 (gst_structure_id_set_valist):
8250 * gst/gststructure.h:
8251 Add API for setting values into structures without performing
8252 a quark lookup, if the appropriate quark is already known.
8254 API: gst_structure_id_set
8255 API: gst_structure_id_set_valist
8257 * gst/parse/grammar.y:
8258 * gst/parse/parse.l:
8259 Remove some dead code shown by the coverage information.
8260 Don't throw a critical g_warning when encountering a syntax error,
8261 just warn and let the normal error path handle it.
8263 * plugins/elements/gstelements.c:
8264 Bump the rank of filesink up to PRIMARY so that it is preferred over
8265 gnomevfssink for file:// sink uri's
8267 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8268 (GST_START_TEST), (run_delayed_test),
8269 (gst_parse_test_element_base_init),
8270 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8271 (gst_parse_test_element_change_state),
8272 (gst_register_parse_element), (parse_suite):
8273 Beef up the tests for parse syntax to check that more error cases
8274 fail as they are supposed to. Increases the test coverage a bit.
8276 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
8278 * docs/manual/basics-elements.xml:
8279 Fix gst_element_link() example.
8282 Mention in API docs that one should usually gst_bin_add()
8283 elements to a bin or pipeline before doing the linking.
8285 2006-07-26 Wim Taymans <wim@fluendo.com>
8287 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8288 (gst_subbuffer_get_type), (gst_buffer_create_sub):
8289 Avoid function call for known types by keeping the buffer and
8290 subbuffer GType global.
8292 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8293 Random silly optimisations in read() path.
8295 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8297 * tools/gst-launch.c: (main):
8298 If the top-level of the parse is a normal bin, it doesn't do the
8299 right logic to run as a top-level element, so place it inside a
8302 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
8304 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8305 Remove superfluous g_object_notify() calls, GObject does
8306 that for us automatically.
8308 2006-07-25 Stefan Kost <ensonic@users.sf.net>
8311 on Win32, use dllspec to export the debug category symbols
8313 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
8315 * gst/gsttaglist.c: (_gst_tag_initialize):
8316 Allow more than one GST_TAG_IMAGE per taglist.
8318 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
8320 * gst/gstminiobject.c:
8322 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8323 (gst_fd_src_create):
8324 log recurring events at LOG level
8325 add more debug for when the fd gets set
8327 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8329 * gst/gstparse.c: (gst_parse_launch):
8330 Also remove reentrance checks if flex is MT safe (#348179)
8331 Fix my empty ChangeLog entry below
8333 2006-07-21 Andy Wingo <wingo@pobox.com>
8335 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8337 * libs/gst/check/Makefile.am
8338 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8339 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8340 * libs/gst/check/gstbufferstraw.h:
8341 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8342 functions, thus proving I am still a GStreamer haxor. OK I wrote
8343 them a long time ago, but anyways.
8345 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8348 * gst/gstparse.c: (gst_parse_launch):
8349 Check for flex version and omit mutex if we have a MT save flex
8352 2006-07-21 Wim Taymans <wim@fluendo.com>
8354 * gst/gstparse.c: (gst_parse_launch):
8355 Protect recursive calls to _parse with a recursive mutex
8358 2006-07-21 Wim Taymans <wim@fluendo.com>
8360 * tests/check/gst/gstpad.c: (GST_START_TEST):
8363 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8365 * gst/gstparse.c: (gst_parse_launch):
8366 Do not hang on recursive usage of gst_parse_launch()
8368 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8371 Add some more docs, comments and FIXME 0.11s here and there
8372 and also fix some typos.
8374 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8377 Convert tabs to spaces for better readability.
8379 2006-07-20 Edward Hervey <edward@fluendo.com>
8381 * tests/check/libs/gdp.c: (gst_dp_suite):
8382 the test_buffer test fails at line 140 on ppc64 at the following
8384 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8385 GST_BUFFER_FLAG_IN_CAPS),
8386 "GST_BUFFER_IN_CAPS flag should have been copied !");
8387 See bug #348114 for more details.
8389 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8391 * docs/pwg/advanced-scheduling.xml:
8393 Fix typos (#348000).
8395 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8397 * docs/pwg/intro-basics.xml:
8398 Fix wrong links (#347927).
8400 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8402 * gst/gstregistry.h:
8403 * gst/gstregistryxml.c: (load_feature),
8404 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8405 * win32/common/config.h:
8406 make --disable-index work (#342564)
8408 2006-07-18 Wim Taymans <wim@fluendo.com>
8410 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8414 The attached patch adds two missing defines to gsttrace.h when tracing
8415 is disabled. It also corrects one existing define.
8418 2006-07-17 Wim Taymans <wim@fluendo.com>
8420 * docs/gst/gstreamer-sections.txt:
8421 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8423 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8424 Add two functions to check and change the SIGSEGV behaviour
8425 when loading plugins.
8426 Don't mess with the SIGSEGV handler when we were told not to.
8428 API: gst_segtrap_is_enabled
8429 API: gst_segtrap_set_enabled
8431 2006-07-14 Wim Taymans <wim@fluendo.com>
8433 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8434 * tests/check/elements/filesrc.c: (GST_START_TEST):
8435 Revert fix for regression in #347408 after release.
8437 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8439 Patch by: Antoine Tremblay <hexa00 at gmail com>
8441 * gst/gstutils.c: (gst_element_unlink):
8442 Free iterator when done (#347311).
8444 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8445 And add a test case for this.
8447 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8450 Bump nano back to CVS
8452 === release 0.10.9 ===
8454 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8457 releasing 0.10.9, "On the road again"
8459 2006-07-13 Wim Taymans <wim@fluendo.com>
8461 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8462 * tests/check/elements/filesrc.c: (GST_START_TEST):
8463 Revert pull-0 fix for release. Disable check. Fixes #347408.
8465 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8467 * libs/gst/dataprotocol/dataprotocol.c:
8468 (gst_dp_event_from_packet_1_0):
8469 Fixes #347337: failure to deserialize event packets with
8470 empty payload (only event type)
8472 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8475 do not install a .c file in the header directory
8477 2006-07-13 Edward Hervey <edward@fluendo.com>
8479 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8480 GhostPad no longer implicitely use the padtemplates of the targets.
8483 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8485 * gst/gstvalue.c: (gst_value_compare_list),
8486 (gst_value_compare_array), (_gst_value_initialize):
8487 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8488 Make GstValueArray comparison be order dependent as designed.
8489 Add checks for value lists and value array comparisons.
8492 2006-07-11 Edward Hervey <edward@fluendo.com>
8494 * gst/gstbin.c: (activate_pads),
8495 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8496 (gst_bin_change_state_func):
8497 (de)activate src pads before calling state_change on the childs.
8498 This is to avoid the case where a src ghostpad is blocked (holding the
8499 stream lock), which would block the deactivation of the ghostpad's
8501 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8502 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8503 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8504 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8505 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8506 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8507 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8508 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8509 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8510 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8511 (gst_ghost_pad_class_init),
8512 (gst_ghost_pad_internal_do_activate_push),
8513 (gst_ghost_pad_internal_do_activate_pull),
8514 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8515 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8516 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8517 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8518 GhostPads now create their internal GstProxyPad at creation (and not
8519 when they're linked, as it was being done previously).
8520 The internal and target pads are linked straight away.
8521 The data will also travel through the other pad in order to make
8522 pad blocking and probes non-hackish (the probe/block now really happens
8523 on the GhostPad and not on the target).
8524 * gst/gstpad.c: (gst_pad_set_blocked_async),
8525 (gst_pad_link_prepare), (gst_pad_push_event):
8526 Remove previous ghostpad cruft.
8527 * gst/gstutils.c: (gst_pad_add_data_probe),
8528 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8529 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8530 (gst_pad_remove_buffer_probe):
8531 Remove previous ghost pad cruft.
8532 Added more detailed debug statements.
8533 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8534 Fix the testsuite for refcounting changes.
8535 The comments about who has references were correct, but the refcount
8536 being checked wasn't the same (!?!).
8540 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8542 * docs/gst/gstreamer-sections.txt:
8543 * gst/gstconfig.h.in:
8544 More docs for configuration options, add docs to gtk-doc.
8546 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8549 * gst/gstconfig.h.in:
8550 * win32/common/config.h:
8551 Fix build when disabling tracing (fixes #344016). Also start to document
8552 the defines that disable the sub-systems.
8554 2006-07-10 Edward Hervey <edward@fluendo.com>
8556 * gst/gst.c: (ensure_current_registry_forking):
8557 let's make valgrind happy...
8559 2006-07-09 Wim Taymans <wim@fluendo.com>
8561 * gst/gstelement.c: (activate_pads),
8562 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8563 Better pad activation code: Reset the collect value too on resync.
8566 2006-07-09 Wim Taymans <wim@fluendo.com>
8568 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8569 (gst_pad_activate_push):
8570 Use some more macros where it makes sense.
8571 Allow pad mode switching instead of asserting. When a pad
8572 is activated in one mode and we activate it in another,
8573 deactivate it first before activating it in a different mode.
8576 2006-07-08 Andy Wingo <wingo@pobox.com>
8578 * tools/gst-launch.c (main): Handle err == NULL.
8580 * gst/gst.c (init_post, ensure_current_registry)
8581 (ensure_current_registry_forking)
8582 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8583 factoring out the registry scanning into separate functions. Don't
8584 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8585 Better environment var name/interface suggestions accepted.
8587 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8589 * gst/gstobject.c: (gst_object_set_name_default),
8590 (gst_object_set_name):
8591 Random micro-optimisation: don't use a hash table
8592 with strings as keys and the usual strdup/strcmp
8593 involved, but rather just use the GQuark of the
8594 type name as key, since it needs to be looked up
8595 anyway to get the type name string.
8597 * tests/check/gst/gstobject.c: (GST_START_TEST):
8600 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8602 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8603 (gst_bin_iterate_all_by_interface):
8604 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8605 GTypes are gulongs and thus the top 4 bytes might be cut
8606 off on some platforms when doing GPOINTER_TO_INT, leading
8607 to invalid GTypes and bad things happening (see RH bug #179654).
8608 Also add a check to make sure the type passed in is really
8611 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8616 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8620 * gst-element-check.m4:
8621 * gst-element-check.m4.in:
8622 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8623 instead of the unversioned gst-inspect (#324176, #168659).
8625 2006-07-06 Wim Taymans <wim@fluendo.com>
8628 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8631 2006-07-06 Wim Taymans <wim@fluendo.com>
8633 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8634 (gst_base_src_wait), (gst_base_src_update_length),
8635 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8636 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8637 (gst_base_src_loop), (gst_base_src_start),
8638 (gst_base_src_activate_pull):
8640 blocksize == 0 now means the default blocksize when working in push
8642 Remove some pointless asserts in _wait function.
8643 Fix offset/length calculations and EOS handling. We can now pull 0
8644 bytes as well, which is allowed.
8645 use _check_get_range() to decide if we can operate in _pull based
8647 Fix refcounting leak when check_get_range function was not
8649 API GstBaseSrc::blocksize range can be 0 too now (default)
8651 * tests/check/elements/filesrc.c: (GST_START_TEST),
8653 Added check to test _get_range() behaviour.
8655 2006-07-06 Wim Taymans <wim@fluendo.com>
8657 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8658 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8659 (gst_pad_pull_range):
8661 Lots of comments and docs added to the pad functions.
8662 Flesh out the expected behaviour of the get_range() functions.
8664 2006-07-06 Wim Taymans <wim@fluendo.com>
8669 * gst/gstiterator.h:
8673 Remove comma at end of enumerator list.
8675 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8677 * win32/common/libgstbase.def:
8678 * win32/common/libgstdataprotocol.def:
8679 * win32/common/libsgtreamer.def:
8680 Add new exported functions.
8682 2006-07-05 Wim Taymans <wim@fluendo.com>
8684 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8685 Add some more docs here and there.
8687 2006-07-05 Wim Taymans <wim@fluendo.com>
8689 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8690 (gst_base_sink_loop), (gst_base_sink_get_position):
8691 When operating in pull mode update the offset so that we
8694 2006-07-05 Wim Taymans <wim@fluendo.com>
8696 * gst/gstregistryxml.c: (read_string):
8697 Avoid strdup. (will happen in libxml, but hey!)
8702 2006-07-05 Wim Taymans <wim@fluendo.com>
8704 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8705 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8707 No point in checking if the size of the subbuffer > 0, the
8708 code handles it correclty as demonstrated by unit test.
8709 Also add a unit test for the zero sized _new_and_alloc and
8710 _copy. Fixes #346663.
8712 2006-07-05 Wim Taymans <wim@fluendo.com>
8714 * libs/gst/base/gstbasetransform.c:
8715 (gst_base_transform_prepare_output_buffer),
8716 (gst_base_transform_buffer_alloc),
8717 (gst_base_transform_handle_buffer):
8718 Make sure the buffer we pass to transform_ip has a refcount of
8719 1 and thus is writable. Fixes #343196
8721 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8723 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8724 (gst_file_src_init), (gst_file_src_set_property),
8725 (gst_file_src_get_property), (gst_file_src_map_region):
8726 * plugins/elements/gstfilesrc.h:
8727 Add "sequential" property, off by default, to use madvise and hint
8728 to the kernel that sequential access is desired.
8729 Touch all retrieved pages by default to ensure they are pulled
8730 into memory. (Closes #345720)
8732 2006-07-03 Wim Taymans <wim@fluendo.com>
8734 * docs/design/part-block.txt:
8735 * docs/design/part-dynamic.txt:
8738 2006-07-03 Wim Taymans <wim@fluendo.com>
8740 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8741 (gst_caps_unref), (gst_static_caps_get),
8742 (gst_caps_append_structure):
8743 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8744 Use GSlice when the glib we build against is >= 2.10
8746 2006-07-03 Wim Taymans <wim@fluendo.com>
8748 * gst/gstelement.c: (gst_element_pads_activate):
8749 Small cleanup in pad activation code.
8751 2006-07-03 Wim Taymans <wim@fluendo.com>
8753 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8755 * gst/gst-i18n-app.h:
8756 * gst/gst-i18n-lib.h:
8757 * tools/gst-inspect.c: (print_signal_info):
8758 The attached patch will make the inclusion of gettext.h unconditional in
8759 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8760 libintl.h in tools/gst-inspect.c.
8761 This allows use of --disable-nls again and fixes #344642.
8763 2006-07-03 Edward Hervey <edward@fluendo.com>
8765 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8766 Implement pad blocking on events according to part-block.txt.
8767 More comments on behaviour.
8768 * tests/check/gst/gstevent.c: (test_event):
8769 Send event to peer pad of blocked pad (else it will block).
8771 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8773 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8774 (gst_check_run_suite):
8775 if we get the wrong message, give us the types as string
8776 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8778 * tests/check/elements/filesrc.c: (GST_START_TEST):
8779 add a test for trying to open a non-existing file
8781 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8783 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8784 add a test for adding self
8786 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8788 * libs/gst/check/gstcheck.h:
8789 add some assert_ as alias for fail_unless_*
8790 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8791 increase test coverage
8793 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8796 include lcov.mak for lcov coverage generation
8797 * tools/Makefile.am:
8800 2006-07-02 Edward Hervey <edward@fluendo.com>
8802 * tests/check/elements/.cvsignore:
8805 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8808 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8809 * tests/check/Makefile.am:
8812 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8814 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8815 remove gst_caps_simplify; it was not declared and not used
8816 and deprecated in 0.8
8818 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8820 * docs/faq/gst-uninstalled:
8821 don't put empty paths on PYTHONPATH
8822 * docs/gst/gstreamer-sections.txt:
8823 remove some symbols that are not there
8825 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8827 * gst/gstcaps.c: (gst_caps_compare_structures):
8829 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8830 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8833 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8835 * libs/gst/dataprotocol/Makefile.am:
8836 build dataprotocol test by linking to the lib, instead of
8837 compiling the source, so we get coverage
8838 * tests/check/Makefile.am:
8839 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8840 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8841 add a test for filesrc
8843 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8845 * tests/check/gst/gststructure.c: (GST_START_TEST),
8846 (gst_structure_suite):
8847 Push coverage from 59.04% to 70.00%
8849 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8851 * tests/check/Makefile.am:
8852 gst-inspect every element; this makes sure that we also get
8853 coverage on element's get/set functions
8855 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8858 set CFLAGS and friends to -O0 if gcov is being used
8861 * libs/gst/base/Makefile.am:
8862 * libs/gst/check/Makefile.am:
8863 * libs/gst/controller/Makefile.am:
8864 * libs/gst/dataprotocol/Makefile.am:
8865 * libs/gst/net/Makefile.am:
8866 * plugins/elements/Makefile.am:
8867 * plugins/indexers/Makefile.am:
8868 add makefile rules to generate gcov data and clean up
8869 * tests/check/Makefile.am:
8870 add a coverage target that generates an html overview
8873 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8875 * tests/check/elements/fakesink.c:
8876 * tests/check/elements/fakesrc.c:
8877 * tests/check/elements/fdsrc.c:
8878 * tests/check/elements/identity.c:
8879 * tests/check/generic/sinks.c: (gst_sinks_suite):
8880 * tests/check/generic/states.c:
8881 * tests/check/gst/gst.c:
8882 * tests/check/gst/gstabi.c:
8883 * tests/check/gst/gstbin.c:
8884 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8885 * tests/check/gst/gstbus.c: (gst_bus_suite):
8886 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8887 * tests/check/gst/gstelement.c:
8888 * tests/check/gst/gstevent.c: (gst_event_suite):
8889 * tests/check/gst/gstghostpad.c:
8890 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8891 * tests/check/gst/gstmessage.c: (gst_message_suite):
8892 * tests/check/gst/gstminiobject.c:
8893 * tests/check/gst/gstobject.c:
8894 * tests/check/gst/gstpad.c:
8895 * tests/check/gst/gstpipeline.c:
8896 * tests/check/gst/gstplugin.c:
8897 * tests/check/gst/gstquery.c: (gst_query_suite):
8898 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8899 * tests/check/gst/gststructure.c:
8900 * tests/check/gst/gstsystemclock.c:
8901 * tests/check/gst/gsttag.c:
8902 * tests/check/gst/gsttask.c: (gst_task_suite):
8903 * tests/check/gst/gstutils.c:
8904 * tests/check/gst/gstvalue.c:
8905 * tests/check/libs/adapter.c:
8906 * tests/check/libs/basesrc.c:
8907 * tests/check/libs/collectpads.c:
8908 * tests/check/libs/controller.c:
8909 * tests/check/libs/gdp.c: (gst_dp_suite):
8910 * tests/check/libs/gstnetclientclock.c:
8911 * tests/check/libs/gstnettimeprovider.c:
8912 * tests/check/libs/libsabi.c: (libsabi_suite):
8913 * tests/check/libs/typefindhelper.c:
8914 * tests/check/pipelines/cleanup.c:
8915 * tests/check/pipelines/parse-launch.c:
8916 * tests/check/pipelines/simple-launch-lines.c:
8917 * tests/check/pipelines/stress.c: (stress_suite):
8920 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8922 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8923 * libs/gst/check/gstcheck.h:
8924 create a macro and function so that the simple unit test
8925 case can be just one macro to create main()
8927 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8929 * gst/gstbin.c: (gst_bin_restore_thyself):
8930 * gst/gstxml.c: (gst_xml_make_element):
8931 Fix deserialisation from XML. Set parent manually
8932 instead of using gst_bin_add(), since gst_bin_add()
8933 will unlink all pads of the element being added.
8936 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8938 Patch by: Peter Kjellerstedt <pkj at axis com>
8940 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8941 Fix missing g_strdup() and double free when using the
8942 --gst-plugin-load command line option (#346097).
8944 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8947 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8949 * libs/gst/net/gstnetclientclock.c:
8950 * libs/gst/net/gstnettimeprovider.c:
8951 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8953 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8955 * docs/manual/advanced-dataaccess.xml:
8956 Fix buffer probe example compilation in
8959 2006-06-22 Edward Hervey <edward@fluendo.com>
8961 * gst/gstelement.c: (gst_element_pads_activate):
8962 We need to deactivate src pads first and then sink pads.
8963 The reason is the src pads might be blocking while holding the streaming
8964 lock, so we need to deactivate them first so that deactivating the sink
8965 pads doesn't block (since it will require the streaming lock).
8967 2006-06-22 Wim Taymans <wim@fluendo.com>
8969 * libs/gst/base/gstbasetransform.c:
8970 (gst_base_transform_buffer_alloc):
8971 Forgot to remove two unneeded unrefs.
8972 Simplify a check _is_equal allready checks the obvious case.
8974 2006-06-22 Wim Taymans <wim@fluendo.com>
8976 * docs/design/part-block.txt:
8977 Some docs about what pad_block should do.
8979 2006-06-22 Wim Taymans <wim@fluendo.com>
8981 * gst/gstcaps.c: (gst_caps_replace):
8982 Fix crasher when passed NULL. Doc clarification.
8983 Optimize for the trivial case.
8985 * gst/gstpipeline.c: (gst_pipeline_change_state):
8988 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8989 Small documentation cleanup.
8991 * libs/gst/base/gstbasetransform.c:
8992 (gst_base_transform_buffer_alloc):
8993 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8994 is what we need and it avoids a whole lot of redundant
8995 refcount operations.
8997 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8999 Patch by: Philip Jägenstedt <philip at lysator liu se>
9001 * docs/manual/advanced-dataaccess.xml:
9002 Fix 'Embedding static elements' section to use
9003 GST_PLUGIN_DEFINE_STATIC (#345607).
9005 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9007 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9008 Attempt to 'fix' spuriously failing test case: it seems like the
9009 timeout of half a second is simply too small when the system is under
9010 load otherwise, and the timeout doesn't really seem to serve any
9011 particular purpose here. Give the pipeline a few seconds to preroll
9012 first, and then give it another half a second to go from PAUSED to
9013 PLAYING and marshal the message into the main thread.
9015 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9017 * tools/gst-feedback-m.m:
9018 Don't only use unversioned tools, try versioned tools as well
9021 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
9023 * gst/gstbus.c: (gst_bus_class_init):
9024 Fix some typos, make docs more explicit.
9026 2006-06-20 Wim Taymans <wim@fluendo.com>
9028 * tests/check/gst/gstghostpad.c: (block_callback),
9029 (GST_START_TEST), (gst_ghost_pad_suite):
9030 Added some more ghostpad tests, mainly blocking
9033 2006-06-16 Wim Taymans <wim@fluendo.com>
9035 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9036 (gst_file_sink_close_file), (gst_file_sink_do_seek),
9037 (gst_file_sink_event), (gst_file_sink_render):
9038 * plugins/elements/gstfilesink.h:
9039 Check if we can seek in the file instead of assuming
9040 we always can. Post an error when we are asked to seek in a
9041 non-seekable file (like a fifo). Fixes #343312.
9044 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
9046 * tools/gst-launch.1.in:
9047 Un-garble (fourcc) bit in filtered caps section.
9049 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
9051 * docs/manual/advanced-autoplugging.xml:
9052 * docs/manual/basics-helloworld.xml:
9053 * docs/manual/highlevel-components.xml:
9054 Don't leak bus reference in sample code.
9056 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
9059 Add default for new --enable-plugin-docs switch.
9062 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9066 Use new ENABLE_PLUGIN_DOCS conditional.
9068 2006-06-14 Wim Taymans <wim@fluendo.com>
9070 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9071 Make it clear with a FIXME and a real define what the #if 0
9072 previously disabled.
9074 2006-06-14 Wim Taymans <wim@fluendo.com>
9076 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9077 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9078 * libs/gst/base/gstbasetransform.c:
9079 (gst_base_transform_sink_eventfunc):
9080 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9081 Don't randomly and silently reset a segment when the format
9082 changes as this is a bug somewhere upstream. Fixes #330379.
9084 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
9086 Patch by: Wouter Paesen <wouter at kangaroot net>
9088 * libs/gst/controller/gstcontroller.c:
9089 (gst_controlled_property_new):
9090 Fix controlling of float properties (#344849).
9092 * tests/check/libs/controller.c:
9093 (gst_test_mono_source_get_property),
9094 (gst_test_mono_source_set_property),
9095 (gst_test_mono_source_class_init), (GST_START_TEST):
9096 While we're at it, add some float stuff to unit test.
9098 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
9101 * docs/images/gdp-header.svg:
9103 * docs/libs/Makefile.am:
9104 * docs/libs/gdp-header.png:
9105 * libs/gst/dataprotocol/dataprotocol.c:
9106 add it to the API docs
9107 * docs/manual/intro-motivation.xml:
9110 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
9112 * gst/gst.c: (scan_and_update_registry), (init_post):
9113 If the fork()'ed child process can't write the updated registry cache
9114 file to disk for some reason, make it exit with a failure exit code,
9115 so that the parent can then re-scan the plugins itself and update the
9116 registry structures in memory and work with that (rather than failing
9117 when creating elements because seemingly no plugins are available).
9118 Refactor registry scanning code into separate function for this and
9119 also separate fork() and non-fork() code paths. Fixes #344748.
9121 2006-06-13 Wim Taymans <wim@fluendo.com>
9123 * docs/manual/advanced-dataaccess.xml:
9124 Fix wrong PluginDesc. Fixes #344755.
9126 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
9128 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9129 Fix silly bug that prevented us from creating
9130 ~/.gstreamer-0.10 and writing the registry in one
9131 go (the first call to g_mkstemp() would overwrite the
9132 placeholder in the template string, so the second call
9133 to g_mkstemp() after creating the missing directory
9134 would then error out with 'invalid argument').
9136 2006-06-13 Edward Hervey <edward@fluendo.com>
9138 * gst/gst.c: (init_post):
9141 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
9143 * gst/glib-compat-private.h:
9144 * gst/glib-compat.c:
9145 * gst/glib-compat.h:
9146 * gst/gstvalue.c: (gst_value_serialize_flags):
9147 remove GLib 2.6 compatibility code
9149 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
9151 * gst/parse/Makefile.am:
9152 Fix build with 'make -j N' even more (#340016).
9154 2006-06-12 Wim Taymans <wim@fluendo.com>
9156 * docs/gst/gstreamer-sections.txt:
9159 2006-06-12 Wim Taymans <wim@fluendo.com>
9161 * gst/gstsegment.c: (gst_segment_set_duration),
9162 (gst_segment_set_last_stop), (gst_segment_set_seek),
9163 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9164 (gst_segment_to_running_time), (gst_segment_clip):
9165 Use G_UNLIKELY to help the compiler a bit.
9167 2006-06-12 Wim Taymans <wim@fluendo.com>
9169 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9171 * gst/gstevent.c: (gst_event_get_type):
9173 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9175 constify quark registration strings. Fixes #344115
9176 Avoid unneeded type checking is _pad_push() by internally
9177 calling gst_pad_chain_unchecked().
9179 2006-06-12 Wim Taymans <wim@fluendo.com>
9181 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9182 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9183 (gst_subbuffer_finalize), (gst_buffer_create_sub),
9184 (gst_buffer_is_span_fast), (gst_buffer_span):
9185 Init _type for consistency.
9186 Use _FLAGS macro to avoid type check.
9187 Avoid unneeded type checks in subbufer code.
9189 2006-06-12 Wim Taymans <wim@fluendo.com>
9191 * gst/gst.c: (gst_debug_help):
9192 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9193 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9194 (gst_plugin_feature_list_free):
9195 * gst/gstregistry.c: (gst_registry_add_plugin),
9196 (gst_registry_add_feature), (gst_registry_plugin_filter),
9197 (gst_registry_feature_filter), (gst_registry_find_plugin),
9198 (gst_registry_find_feature), (gst_registry_get_plugin_list),
9199 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9200 * gst/gstregistryxml.c: (load_feature),
9201 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9202 * gst/gstminiobject.c: (gst_mini_object_unref),
9203 (gst_mini_object_replace), (gst_value_mini_object_free),
9204 (gst_value_mini_object_copy):
9205 Use _CAST macros to avoid unneeded type checking.
9206 Added some more G_UNLIKELY.
9208 2006-06-12 Wim Taymans <wim@fluendo.com>
9211 Avoid unneeded type checking.
9212 API: GST_BUFFER_IS_DISCONT
9214 * gst/gstminiobject.h:
9215 Avoid type check in flag accessor.
9217 * gst/gstelementfactory.h:
9219 * gst/gstpluginfeature.h:
9221 API: GST_ELEMENT_FACTORY_CAST
9222 API: GST_PLUGIN_CAST
9223 API: GST_PLUGIN_FEATURE_CAST
9225 2006-06-12 Wim Taymans <wim@fluendo.com>
9227 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9229 Add G_UNLIKELY in type registration.
9230 Avoid type check in _ref/_unref since that is also
9233 2006-06-12 Wim Taymans <wim@fluendo.com>
9235 * gst/gsterror.c: (gst_g_error_get_type):
9236 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9237 (gst_static_pad_template_get_type):
9238 * gst/gsttaglist.c: (gst_tag_list_get_type):
9239 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9240 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9241 * gst/gsturi.c: (gst_uri_handler_get_type):
9242 * gst/gstvalue.c: (gst_date_get_type):
9243 * gst/gstxml.c: (gst_xml_get_type):
9244 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9245 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9246 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9247 Add G_UNLIKELY in type registration.
9249 2006-06-12 Wim Taymans <wim@fluendo.com>
9251 * tools/gst-inspect.c: (print_signal_info):
9252 Properly print enum values.
9254 2006-06-12 Wim Taymans <wim@fluendo.com>
9256 * gst/gstinfo.c: (gst_debug_set_active),
9257 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9259 Add some G_[UN]LIKELY.
9260 Maintain __gst_debug_min to avoid formatting the arguments of
9261 debug messages that will be dropped anyway to avoid a lot of
9262 overhead from the debugging system.
9264 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9268 add missing files containing translatable strings, tell intltool about
9271 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9273 * tests/check/libs/.cvsignore:
9274 add test-binary to ignore list
9276 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9278 * docs/libs/gstreamer-libs-docs.sgml:
9279 reorder (put dp into a chapter) and indent
9281 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9286 === release 0.10.8 ===
9288 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9291 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9293 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9295 * gst/gst.c: (init_post):
9296 move pid declaration to declaration block
9298 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9300 * gst/gst.c: (init_post):
9301 use _exit() instead of exit() in our forked child; this ensures
9302 that none of the registered exit handlers from whatever is using
9303 GStreamer get executed. This fixes gnome-mixer-applet failing
9304 to load, because ORBit would shut down.
9305 Spotted by: Edward Hervey <edward@fluendo.com>
9306 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
9309 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9314 === release 0.10.7 ===
9316 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9319 releasing 0.10.7, "Soepeke, ik zie ou"
9321 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9344 * win32/common/config.h:
9347 2006-06-07 Wim Taymans <wim@fluendo.com>
9349 * gst/gstindex.c: (gst_index_gtype_resolver):
9350 * tools/gst-xmlinspect.c: (print_plugin_info):
9351 Fix leak spotted by coverity checker. Fixes #343827
9352 Fix another other leak found by paolo borelli.
9354 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9356 * libs/gst/dataprotocol/dataprotocol.c:
9357 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9358 (gst_dp_version_get_type), (gst_dp_init),
9359 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9360 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9361 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9362 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9363 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9364 (gst_dp_packetizer_free):
9365 * libs/gst/dataprotocol/dataprotocol.h:
9366 API: add a GstDPPacketizer object, and create/free functions
9367 API: add GstDPVersion enum
9368 Add 1.0 event function that uses the string serialization
9369 Serialize more useful buffer flags
9372 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9374 * tests/check/Makefile.am:
9375 * tests/check/gst/gstabi.c:
9376 * tests/check/gst/struct_ppc64.h:
9377 * tests/check/libs/libsabi.c:
9378 * tests/check/libs/struct_ppc64.h:
9379 add ppc64 structure sizes
9381 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9383 * tests/check/Makefile.am:
9384 * tests/check/gst/gstabi.c:
9385 * tests/check/gst/struct_x86_64.h:
9386 * tests/check/libs/libsabi.c:
9387 * tests/check/libs/struct_x86_64.h:
9388 generate and add structure size lists for x86_64
9390 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9392 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9393 * libs/gst/check/gstcheck.h:
9394 factor out the method from tests that checks size of structures,
9395 and add code to generate the header containing these sizes
9396 * tests/check/gst/gstabi.c: (GST_START_TEST):
9397 * tests/check/gst/struct_i386.h:
9398 * tests/check/libs/libsabi.c: (GST_START_TEST):
9399 * tests/check/libs/struct_i386.h:
9402 2006-06-06 Michael Smith <msmith@fluendo.com>
9405 Don't use c++-style comments, fixes #343929
9407 2006-06-05 Edward Hervey <edward@fluendo.com>
9410 plugin_paths is not used if we build without registry support.
9412 * gst/gstsegment.c: (gst_segment_copy):
9413 _copy() was always returning NULL...
9415 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9417 * libs/gst/dataprotocol/dataprotocol.c:
9418 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9419 (gst_dp_packet_from_event):
9422 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9424 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9425 make sure we unset caps
9427 2006-06-02 Michael Smith <msmith@fluendo.com>
9429 * libs/gst/check/gstcheck.c: (gst_check_init),
9430 (gst_check_chain_func):
9431 * libs/gst/check/gstcheck.h:
9432 Add a cond/mutex to the check support lib, signal this whenever we
9433 add to the buffers list. This will allow tests to not busy-wait on
9436 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9438 * libs/gst/dataprotocol/dataprotocol.c:
9439 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9440 (gst_dp_packet_from_event):
9441 factor out some common header init code
9443 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9445 * docs/libs/gstreamer-libs-sections.txt:
9446 * docs/libs/tmpl/gstdataprotocol.sgml:
9447 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9448 * libs/gst/dataprotocol/dataprotocol.h:
9449 API: make gst_dp_crc() public
9451 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9453 * plugins/indexers/gstindexers.c: (plugin_init):
9454 conditionally register fileindexer (fixes #343598)
9456 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9458 * gst/gsttagsetter.h:
9459 Can't cast ifaces to a class
9461 * libs/gst/net/gstnetclientclock.h:
9462 * libs/gst/net/gstnettimeprovider.h:
9463 * plugins/elements/gstfakesink.h:
9464 * plugins/elements/gstfakesrc.h:
9465 * plugins/elements/gstfdsink.h:
9466 * plugins/elements/gstfdsrc.h:
9467 * plugins/elements/gstfilesink.h:
9468 * plugins/elements/gstfilesrc.h:
9469 * plugins/elements/gstidentity.h:
9470 * plugins/elements/gstqueue.h:
9471 * plugins/elements/gsttee.h:
9472 * plugins/indexers/gstfileindex.c:
9473 * plugins/indexers/gstmemindex.c:
9474 * tests/old/examples/plugins/example.h:
9475 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9477 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9479 * libs/gst/dataprotocol/dataprotocol.c:
9480 (gst_dp_header_from_buffer):
9481 make sure we zero the whole ABI-compatible area
9483 2006-06-01 Wim Taymans <wim@fluendo.com>
9485 Patch by: Alessandro Decina <alessandro at nnva dot org>
9487 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9488 Make sure the EOS flag is cleared from pads after a flush
9489 or stop. Fixes #343538.
9491 * tests/check/libs/collectpads.c: (GST_START_TEST),
9492 (gst_collect_pads_suite):
9493 Added test for collectpads reusage after EOS.
9495 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9498 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9499 * win32/common/libgstbase.def:
9500 export gst_collect_pads_set_flushing
9501 * win32/common/libgstreamer.def:
9502 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9503 gst_value_fraction_multiply
9504 * win32/vs6/gst_inspect.dsp:
9505 add a link to intl.lib
9507 2006-05-30 Wim Taymans <wim@fluendo.com>
9509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9510 (gst_collect_pads_chain):
9511 Handle the case where a pad is removed from the collection
9512 that could cause the other pads to become collectable.
9514 2006-05-30 Wim Taymans <wim@fluendo.com>
9517 Clarify the use of _release_request_pad() and
9518 _get_request_pad() a bit better.
9520 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9521 (gst_adapter_take_buffer):
9522 Fix some doc and comment typos.
9524 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9526 * docs/gst/gstreamer-sections.txt:
9527 * docs/libs/gstreamer-libs-sections.txt:
9528 add declared symbols
9530 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9532 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9533 Add debug that can be enabled using a #define at the top of the file,
9534 for dumping stats about how late/early we were when waking up from
9535 waiting on the clock.
9537 2006-05-30 Wim Taymans <wim@fluendo.com>
9539 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9540 When rebuilding the pad list, don't leak the previous list.
9542 2006-05-30 Wim Taymans <wim@fluendo.com>
9544 Patch by: Lutz Mueller <lutz at topfrose dot de>
9546 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9547 (gst_base_src_get_query_types), (gst_base_src_update_length):
9548 Publish supported query types.
9549 Update last_stop field in get_range mode so the position
9550 query works. Fixes #342321.
9552 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9554 * docs/gst/gstreamer-sections.txt:
9555 * gst/gsttaglist.c: (_gst_tag_initialize):
9557 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9559 2006-05-30 Wim Taymans <wim@fluendo.com>
9561 Patch by: Alessandro Decina <alessandro at nnva dot org>
9563 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9564 Unlock mutex when removing an unknown pad.
9567 * tests/check/Makefile.am:
9568 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9569 (push_event), (setup), (teardown), (GST_START_TEST),
9570 (gst_collect_pads_suite), (main):
9571 Added collecpads check, disabled for now as check crashes for
9574 2006-05-29 Wim Taymans <wim@fluendo.com>
9576 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9577 Don't leak pads lists.
9579 2006-05-29 Wim Taymans <wim@fluendo.com>
9581 * docs/libs/gstreamer-libs-sections.txt:
9582 * libs/gst/base/gstcollectpads.c:
9583 (gst_collect_pads_set_flushing_unlocked),
9584 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9585 (gst_collect_pads_stop):
9586 * libs/gst/base/gstcollectpads.h:
9587 API: gst_collect_pads_set_flushing()
9588 Added api to set the pads to flushing, useful for seeking
9589 code in elements using collectpads.
9590 Clear segment when receiving a flush.
9592 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9594 * gst/gst.c: (add_path_func), (init_post):
9595 Don't scan registry paths passed via --gst-plugin-path immediately
9596 (will crash, because absolutely nothing is set up and no types are
9597 registered etc.); do this later in init_post(). Fixes #343057.
9599 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9601 * gst/gst.c: (init_post):
9602 if we have fork, fork while reading/rebuilding the registry
9603 so the parent doesn't take the hit of having all plugins loaded
9604 in memory. Fixes #342777.
9606 Check if we have fork()
9607 * win32/common/config.h.in:
9610 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9612 * plugins/elements/gstelements.c:
9613 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9614 (gst_file_src_init), (gst_file_src_set_property),
9615 (gst_file_src_get_property), (gst_file_src_start):
9616 * plugins/elements/gstfilesrc.h:
9617 API: GstFileSrc::use-mmap
9619 Add a use-mmap property to enable easier testing of all code paths.
9620 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9621 in the absence of gnomevfssrc. (Closes #340501)
9623 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9625 * tools/gst-inspect.c:
9626 Add missing include, removes warning of ngettext not being defined on
9629 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9631 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9632 Handle NULL input and output pointers silently as a failed conversion,
9633 rather than g_warnings.
9635 2006-05-25 Wim Taymans <wim@fluendo.com>
9637 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9638 Initialize variable before using. Fixes #342820.
9640 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9642 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9643 Fix off-by-one bug that would only allow peeks of N-1 bytes
9644 from the start even if the buffer to typefind on contains
9645 in fact N bytes of data (makes vorbis typefinding from a
9646 vorbis identification header buffer work).
9648 * tests/check/Makefile.am:
9649 * tests/check/libs/.cvsignore:
9650 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9651 (gst_typefindhelper_suite), (main), (foobar_typefind),
9653 Add very basic unit test for gst_type_find_helper_for_buffer()
9654 that checks for the problem fixed above.
9656 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9658 * tools/gst-inspect.c: (print_interfaces),
9659 (print_element_properties_info), (print_element_list), (main):
9660 add more translatable strings
9662 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9664 Patch by: Julien Moutte <julien at moutte net>
9666 * docs/gst/gstreamer-sections.txt:
9667 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9669 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9670 (gst_fake_sink_preroll):
9671 * plugins/elements/gstfakesink.h:
9672 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9674 2006-05-23 Wim Taymans <wim@fluendo.com>
9676 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9678 Added _CUSTOM error and success GstFlowReturn that can be
9679 used be elements internally.
9680 Added macro to check for SUCCESS flowreturns.
9681 API: GST_FLOW_CUSTOM_SUCCESS
9682 API: GST_FLOW_CUSTOM_ERROR
9683 API: GST_FLOW_IS_SUCCESS
9685 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9686 Added check for GstFlowReturn sanity.
9688 2006-05-23 Wim Taymans <wim@fluendo.com>
9690 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9692 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9693 (gst_collect_pads_event):
9694 clear/reset segment info in FLUSH_STOP.
9697 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9699 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9700 (gst_collect_pads_check_collected):
9701 Flush queued buffer on _stop(), fixes playing again (#342454)
9703 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9705 * tests/check/gst/gststructure.c: (GST_START_TEST),
9706 (gst_structure_suite):
9707 add a test for a complete structure
9709 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9711 * docs/faq/developing.xml:
9713 * docs/faq/troubleshooting.xml:
9714 * docs/faq/using.xml:
9715 Some minor FAQ updates that won't change the fact that
9716 our FAQ is badly structured, full of information hardly
9717 anyone new to GStreamer needs to know and lacking lots
9718 of information people constantly ask for.
9720 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9722 * gst/gstpad.c: (gst_pad_set_caps):
9723 Short-circuit gst_pad_set_caps if setting the existing
9724 caps pointer again, and avoid printing debug and
9725 reffing/unreffing the caps.
9727 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9728 There's actually no need to set the caps before pushing -
9729 the acceptcaps method will handle it anyway.
9731 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9733 * docs/gst/gstreamer-sections.txt:
9734 * win32/common/libgstreamer.def:
9735 * gst/gstutils.c: (gst_element_seek_simple):
9737 API: add gst_element_seek_simple() (#342238).
9739 2006-05-18 Edward Hervey <edward@fluendo.com>
9741 * gst/gsttypefind.c: (gst_type_find_get_type):
9742 * gst/gsttypefind.h:
9743 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9744 registered for GstTypeFind pointers. This allows wrapping the structure
9745 in bindings (i.e. gst-python).
9747 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9749 * gst/gsttagsetter.c:
9750 Docs additions and fixes (see #339918).
9752 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9754 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9755 The caps intersection algorithm can produce multiple copies of the
9756 caps. Until that is fixed, we need to simplify the result to be
9757 sure whether the allowed caps are fixed or not.
9759 * plugins/elements/gstqueue.c: (gst_queue_init),
9760 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9761 (gst_queue_push_one):
9762 Proxied buffer alloc should not set the caps on the source pad.
9763 When pushing buffers, we always accept the caps change that triggers.
9764 This prevents negotiation errors caused by caps changing mid-stream
9765 and then being refused on our source pad (because upstream is now
9766 refusing those caps).
9768 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9770 * tests/examples/helloworld/helloworld.c: (main):
9771 Must plug audioconvert and audioresample between decoder
9774 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9776 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9777 (load_feature), (load_plugin):
9778 Allow empty strings for some of the plugin fields so we don't
9779 drop valid plugin entries that were written out correctly
9782 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9784 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9785 Use g_remove and g_rename instead of remove and rename that don't
9786 handle utf8 characters. rename was failing for users who had specific
9787 characters in their name then the registry was built at each
9789 * win32/vs6/gst_inspect.dsp:
9790 * win32/vs6/gst_launch.dsp:
9791 * win32/vs6/libgstbase.dsp:
9792 * win32/vs6/libgstcoreelements.dsp:
9793 * win32/vs6/libgstreamer.dsp:
9794 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9795 build of libgstreamer and clean unused libraries in projects link
9798 2006-05-17 Edward Hervey <edward@fluendo.com>
9800 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9801 The queue is not responsible for pushing an EOS when receiving a fatal
9802 flow error. It's up to the real element driving the pipeline to do that.
9804 2006-05-16 Edward Hervey <edward@fluendo.com>
9806 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9807 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9808 buffer returned a fatal error. It should just send an EOS and stop
9810 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9811 when pushing buffers on the queue and will be able to handle the event.
9813 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9815 * docs/manual/basics-bins.xml:
9816 * docs/manual/basics-init.xml:
9817 Fix typos and minor errors in sample code (#341856).
9819 2006-05-16 Wim Taymans <wim@fluendo.com>
9821 * docs/design/part-qos.txt:
9822 Fix indexes in formulas to make more sense.
9824 2006-05-15 Wim Taymans <wim@fluendo.com>
9826 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9827 Don't report POSITION based on clock time if sync is
9830 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9833 Add cast to make compiler happy - refcount variable was a gint
9834 in GstObject but is a guint in GObject and g_atomic_int_get()
9837 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9839 * gst/parse/Makefile.am:
9840 chain commands using &&, which also makes parallel make work
9842 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9844 * docs/gst/gstreamer-sections.txt:
9850 === release 0.10.6 ===
9852 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9855 releasing 0.10.6, "Take the cannoli"
9857 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9859 * tools/gst-launch.c: (print_tag):
9860 Fix use of uninitialized variable in the hypothetical
9861 case that some broken plugin creates a GST_TAG_IMAGE
9862 tag containing a NULL buffer (#341667).
9864 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9866 * tools/gst-launch.c: (print_tag):
9867 Print something more intelligible for image tags when
9868 using the -t switch (#341556).
9870 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9875 define GST_MAJORMINOR so we have it available in win32/common/config.h
9876 Possibly remove it from our Makefile.am files later
9877 * win32/common/config.h:
9878 * win32/common/config.h.in:
9879 added GST_MAJORMINOR
9880 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9881 * win32/common/gstversion.h:
9884 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9887 Update win32 files listing.
9888 * win32/common/gstversion.h:
9889 Add GST_MAJORMINOR definition.
9890 * win32/common/libgstreamer.def:
9891 Add new exported functions.
9893 2006-05-12 Michael Smith <msmith@fluendo.com>
9895 * gst/gstplugin.c: (gst_plugin_load_file):
9896 If an so file has no plugin entry point, unload the module.
9898 2006-05-11 Wim Taymans <wim@fluendo.com>
9900 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9901 (gst_queue_set_property):
9902 Don't forget to signal the _chain or _loop function
9903 when the queue size or thresholds change since that might
9904 cause them to make progres again.
9906 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9908 * gst/gstclock.c: (gst_clock_class_init):
9909 * gst/gstindex.c: (gst_index_class_init):
9910 * gst/gstobject.c: (gst_object_class_init):
9911 * gst/gstpad.c: (gst_pad_class_init):
9912 * gst/gstpipeline.c: (gst_pipeline_class_init):
9913 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9914 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9915 * libs/gst/base/gstbasetransform.c:
9916 (gst_base_transform_class_init):
9917 * libs/gst/net/gstnetclientclock.c:
9918 (gst_net_client_clock_class_init):
9919 * libs/gst/net/gstnettimeprovider.c:
9920 (gst_net_time_provider_class_init):
9921 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9922 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9923 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9924 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9925 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9926 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9927 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9928 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9929 * plugins/elements/gsttee.c: (gst_tee_class_init):
9930 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9931 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9932 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9934 2006-05-11 Wim Taymans <wim@fluendo.com>
9936 * gst/gstbuffer.c: (_gst_buffer_initialize):
9937 Register subbufer along with the buffer type so that
9938 it does not accidentally gets registered from N
9939 different streaming threads in a non threadsafe way.
9941 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9946 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9947 gst_event_ref() and gst_message_ref() functions again
9948 (ugly hack, please do fix if there's a better way besides
9949 overrides.txt, which doesn't seem to work).
9951 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9953 * libs/gst/check/gstcheck.h:
9954 add an assert for setting state to avoid lots of repetitive code
9957 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9959 * gst/gstvalue.c: (gst_value_serialize_flags):
9960 fix a leak if no flags are set
9961 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9964 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9966 * docs/manual/basics-pads.xml:
9967 Expand a bit on caps and filtered links and update
9968 examples that were still using the no longer existing
9969 gst_pad_link_filtered() (#338206).
9971 2006-05-10 Wim Taymans <wim@fluendo.com>
9973 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9974 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9975 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9976 (gst_collect_pads_stop):
9977 * libs/gst/base/gstcollectpads.h:
9978 No need to call _stop in _finalize.
9979 Iterate the main pad list in _finalize.
9980 Added some more debug.
9981 Free lists and data in the right order.
9982 Also free data whem doing _remove_pad when stopped for
9983 backward compatibility protect ::started with PAD_LOCK as
9986 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9988 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9989 (gst_structure_parse_value):
9991 rename a method so that it actually says what it does better
9993 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9995 * gst/gstevent.c: (_gst_event_initialize):
9996 * gst/gstformat.c: (_gst_format_initialize):
9997 make sure some essential types used by events are registered
9998 as part of gst_init()
9999 * gst/gstvalue.c: (gst_value_serialize_flags):
10000 if no flags are set, serialize them to a value that represents NONE
10001 so that deserializing them works
10002 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10003 add tests for serialization and deserialization of flags
10005 2006-05-10 Wim Taymans <wim@fluendo.com>
10007 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10008 (gst_collect_pads_collect_range), (gst_collect_pads_available),
10009 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10010 (gst_collect_pads_event), (gst_collect_pads_chain):
10013 Catch and return errors from the collect function
10014 Refuse data on eos pads.
10016 2006-05-10 Edward Hervey <edward@fluendo.com>
10018 * gst/gstinterface.h:
10019 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10020 GInterface type checking.
10021 They were previously using non-defined macros.
10023 2006-05-09 Wim Taymans <wim@fluendo.com>
10025 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10026 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10027 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10028 (gst_collect_pads_start), (gst_collect_pads_stop),
10029 (gst_collect_pads_peek), (gst_collect_pads_pop),
10030 (gst_collect_pads_available), (gst_collect_pads_read),
10031 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10032 (gst_collect_pads_is_collected), (gst_collect_pads_event),
10033 (gst_collect_pads_chain):
10034 * libs/gst/base/gstcollectpads.h:
10035 Clean up the mess that is collectpads, add comments and
10036 FIXMEs where needed.
10037 Maintain a separate pad list so we can add pads while
10038 collecting the other ones. For this we need a new separate
10040 Fix memory leak in finalize.
10041 Refactor some weird code to set/unset pad flushing flags, mark
10043 Don't crash in _available, _read, _flush when we're EOS.
10045 * tests/check/libs/.cvsignore:
10046 Ignore adapter check binary.
10048 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10050 * gst/gstindex.c: (gst_index_resolver_get_type):
10051 * plugins/elements/gstfakesink.c:
10052 (gst_fake_sink_state_error_get_type):
10053 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10054 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10055 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10056 Const-ify GEnumValue arrays.
10058 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10060 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10061 Add test case for flags + gst_buffer_make_metadata_writable().
10063 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10065 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10066 gst_buffer_make_metadata_writable() should maintain the
10067 buffer flags (those that make sense at least) (see #340859).
10069 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10071 * tools/gst-inspect.c:
10072 * tools/gst-launch.c:
10073 * tools/gst-typefind.c:
10074 * tools/gst-xmlinspect.c:
10076 Fix up includes: need to include stdlib.h in tools.h for exit().
10078 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
10080 * gst/gsttaglist.c: (_gst_tag_initialize):
10081 * gst/gsttaglist.h:
10082 API: add GST_TAG_IMAGE tag (#340721).
10084 2006-05-08 Wim Taymans <wim@fluendo.com>
10087 Added some docs for the segment query.
10089 2006-05-08 Wim Taymans <wim@fluendo.com>
10091 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10092 (gst_base_src_loop), (gst_base_src_change_state):
10093 Always push non-flushing serialized events in the streaming
10096 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
10098 * gst/gsterror.c: (_gst_stream_errors_init):
10099 Add a missing error string.
10101 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
10103 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10104 Add applied_rate to the debug
10106 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10107 Copy applied_rate into the outgoing NEWSEGMENT event
10109 2006-05-08 Wim Taymans <wim@fluendo.com>
10111 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10113 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10114 (gst_base_sink_change_state):
10115 call ::unlock before taking the PREROLL_LOCK so we can safely
10116 handle elements that lock in ::render.
10119 2006-05-08 Edward Hervey <edward@fluendo.com>
10121 * autogen.sh: (CONFIGURE_DEF_OPT):
10122 Darwin's libtoolize is in fact called glibtoolize.
10123 Adding glibtoolize to the list of accepted names for libtoolize.
10125 2006-05-08 Wim Taymans <wim@fluendo.com>
10127 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10128 Unify error handling, don't post an error message
10129 when a push() returns EOS but perform our normal EOS
10130 handling code. Fixes #340772.
10132 2006-05-08 Wim Taymans <wim@fluendo.com>
10134 * docs/design/part-overview.txt:
10135 Make upsteam/downstream concepts more clear.
10136 Give an example of serialized/non-serialized events.
10138 * docs/design/part-events.txt:
10139 * docs/design/part-streams.txt:
10140 Mention applied_rate.
10142 * docs/design/part-trickmodes.txt:
10143 Mention applied rate, flesh out some more use cases.
10145 * gst/gstevent.c: (gst_event_new_new_segment),
10146 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10147 (gst_event_parse_new_segment_full), (gst_event_new_tag),
10148 (gst_event_parse_tag), (gst_event_new_buffer_size),
10149 (gst_event_parse_buffer_size), (gst_event_new_qos),
10150 (gst_event_parse_qos), (gst_event_parse_seek),
10151 (gst_event_new_navigation):
10153 Add applied_rate field to NEWSEGMENT event.
10154 API: gst_event_new_new_segment_full()
10155 API: gst_event_parse_new_segment_full()
10157 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10158 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10159 (gst_segment_to_stream_time), (gst_segment_to_running_time):
10160 * gst/gstsegment.h:
10161 Add applied_rate to GstSegment structure.
10162 Make calculation of stream_time and running_time more correct
10163 wrt rate/applied_rate.
10164 Add some more docs.
10165 API: GstSegment::applied_rate field
10166 API: gst_segment_set_newsegment_full();
10168 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10169 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10170 * libs/gst/base/gstbasetransform.c:
10171 (gst_base_transform_sink_eventfunc),
10172 (gst_base_transform_handle_buffer):
10173 Parse and use applied_rate in the GstSegment field.
10175 * tests/check/gst/gstevent.c: (GST_START_TEST):
10176 Add check for applied_rate field.
10178 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10179 (gstsegments_suite):
10180 Add more checks for various GstSegment operations.
10182 2006-05-08 Wim Taymans <wim@fluendo.com>
10184 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10185 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10186 (gst_base_sink_get_position), (gst_base_sink_change_state):
10187 Store the sync time of the buffer end position separatly in a
10188 new variable eos_rtime so we can properly sync the EOS event.
10190 Fix the docs for gst_base_sink_set_qos_enabled().
10191 Don't set segment start to invalid value when we receive a
10192 non TIME newsegment.
10193 get closer to handling position reporting for negative rates
10196 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10199 Docs about how to print caps for debug purposes.
10201 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10202 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10204 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10206 * gst/gstelement.c:
10207 use full enum names and preprend a '%' in docs strings to make recent
10208 gtk-doc turn that into a link
10210 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10212 * docs/manual/basics-bins.xml:
10213 * docs/manual/basics-bus.xml:
10214 * docs/manual/basics-pads.xml:
10215 Some typo fixes, some additions, some clarifications.
10217 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10219 * tools/gst-inspect.c: (main):
10220 * tools/gst-launch.c: (main):
10221 * tools/gst-run.c: (main):
10222 * tools/gst-typefind.c: (main):
10223 * tools/gst-xmlinspect.c: (main):
10224 Use the string passed to g_option_context_new() for
10225 what it's intended for - the program name is already
10228 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10230 * tools/Makefile.am:
10231 * tools/gst-inspect.c: (main):
10232 * tools/gst-launch.c: (main):
10233 * tools/gst-xmlinspect.c: (main):
10235 Add back --version command line option (#340460).
10237 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10238 Add --version option and use GOption for argument parsing; refactor a
10239 bit; accept directories as arguments and recurse into them; lastly,
10240 print a decent error message when things go wrong.
10242 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10244 * docs/manual/basics-bins.xml:
10245 Don't mention GstThread (#340611)
10246 * docs/manual/basics-elements.xml:
10247 Update link to GObject tutorial (#340607)
10249 2006-05-05 Wim Taymans <wim@fluendo.com>
10252 * gst/gstminiobject.c:
10253 Add note about refcounting and miniobject/buffer writeability
10254 to docs. Fixes #340604
10256 * gst/gstelementfactory.h:
10257 Added some explanation about @klass.
10259 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10261 * docs/manual/intro-motivation.xml:
10262 * docs/manual/manual.xml:
10263 Avoid CORBA & Bonobo references (#340598)
10265 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10267 * docs/manual/basics-bus.xml:
10268 * docs/manual/basics-pads.xml:
10269 Fix up some inaccuracies and omissions (#340609)
10271 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10273 * gst/gstghostpad.c:
10274 Small typo in docs (#340625)
10276 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10278 * gst/parse/Makefile.am:
10279 Make 'make -j' proof (see #340698).
10281 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10284 Require GLib-2.8 here as well.
10286 2006-05-05 Wim Taymans <wim@fluendo.com>
10288 * gst/glib-compat.c:
10289 * gst/gst.c: (init_pre):
10290 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10291 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10292 (gst_object_dispatch_properties_changed):
10294 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10295 * gst/gststructure.c: (gst_structure_set_valist):
10296 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10297 Remove pre glib2.8 compatibility, fixes #340508
10299 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10301 * gst/gsttaglist.h:
10302 Mention type of tags in doc blurbs.
10304 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
10306 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10307 (gst_pad_configure_src), (gst_pad_push):
10308 Restore acceptcaps checking behaviour now that good plugins have
10311 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10313 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10320 * gst/gstmessage.c:
10324 * gst/parse/Makefile.am:
10325 * libs/gst/base/gstadapter.c:
10326 * libs/gst/base/gstbasesrc.c:
10327 * libs/gst/base/gstpushsrc.c:
10328 * libs/gst/base/gsttypefindhelper.c:
10329 * plugins/elements/gstfakesrc.c:
10330 * plugins/elements/gstidentity.c:
10331 Make sure gstprivate.h and/or config.h are
10332 always included first, otherwise some of our
10333 defines (like _FILE_OFFSET_BITS) might be
10334 redefined in the system headers. Fixes build
10335 on opensolaris (#340016).
10337 2006-05-04 Wim Taymans <wim@fluendo.com>
10339 * docs/libs/gstreamer-libs-sections.txt:
10340 API: addition: gst_adapter_take_buffer()
10342 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10343 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10344 (gst_adapter_available_fast):
10345 * libs/gst/base/gstadapter.h:
10346 Prepare for optimizing the hell out of this hugely inefficient
10348 Added gst_adapter_take_buffer() so we can at least start thinking
10349 about subbuffering and merging.
10350 Added some comments.
10352 * tests/check/Makefile.am:
10353 * tests/check/libs/adapter.c: (GST_START_TEST),
10354 (gst_adapter_suite), (main):
10355 Added GstAdapter check.
10357 2006-05-04 Wim Taymans <wim@fluendo.com>
10359 * docs/design/part-overview.txt:
10360 Fix some typos, add blurb about buffer flags.
10362 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10364 * docs/libs/gstreamer-libs-sections.txt:
10365 make sure GstBaseTransformClass shows up in the docs
10366 * libs/gst/base/gstbasetransform.c:
10367 * libs/gst/base/gstbasetransform.h:
10368 move docs so gtk-doc picks it up now
10370 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10372 * docs/libs/gstreamer-libs-sections.txt:
10373 add missing symbols to docs
10375 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10377 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10378 back out the newsegment handling change, see #340060 for ongoing
10381 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10383 * tools/gst-run.c: (get_candidates), (main):
10384 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10385 work); fix typo in error message. Fixes #340079.
10387 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10389 * common/Makefile.am:
10390 * docs/Makefile.am:
10391 * docs/faq/Makefile.am:
10392 * docs/gst/Makefile.am:
10393 * docs/libs/Makefile.am:
10394 * docs/manual/Makefile.am:
10395 * docs/plugins/Makefile.am:
10396 * docs/pwg/Makefile.am:
10397 * docs/slides/Makefile.am:
10399 * common/upload.mak:
10400 move upload.mak to common
10402 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10404 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10405 add more asserts on refcounts
10406 do more cleanup at end of tests
10407 fix test leaks showing in FC5
10409 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10411 * plugins/elements/gsttypefindelement.c:
10412 (gst_type_find_element_handle_event):
10413 reverted wrong change and reflowed code to avoid others falling into
10416 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10418 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10419 fix changelog entry about last collectpads change,
10420 add notes about proper fix
10422 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10425 * gst/gstregistry.c: (gst_registry_scan_path_level),
10426 (gst_registry_scan_path):
10427 * gst/gstregistry.h:
10428 only write out registry if it has changed, fixes #338339
10430 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10433 * gst/gstpipeline.c:
10434 * plugins/elements/gstcapsfilter.c:
10435 * plugins/elements/gstfakesink.c:
10436 * plugins/elements/gstfakesrc.c:
10437 * plugins/elements/gstfdsink.c:
10438 * plugins/elements/gstfdsrc.c:
10439 * plugins/elements/gstfilesink.c:
10440 * plugins/elements/gstfilesrc.c:
10441 * plugins/elements/gstidentity.c:
10442 * plugins/elements/gstqueue.c:
10443 * plugins/elements/gsttee.c:
10444 * plugins/elements/gsttypefindelement.c:
10445 (gst_type_find_element_handle_event):
10446 make GstElementDetails const
10448 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10450 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10451 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10452 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10453 more detailed debug and formatting cleanup,
10454 forward newsegments to src-pad (so that e.g. adder not eats them)
10456 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10458 * gst/gstutils.c: (gst_element_link_pads):
10459 cleanup double code
10461 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10463 * libs/gst/controller/gstcontroller.c:
10464 (gst_controller_sync_values):
10466 * tests/check/libs/controller.c: (GST_START_TEST),
10467 (gst_controller_suite):
10468 a new test for live value handling
10470 2006-04-28 Wim Taymans <wim@fluendo.com>
10472 * gst/gstutils.c: (push_and_ref):
10473 Added some more docs.
10474 Fix refcount issue whith gst_element_found_tags() helper
10475 function. Fixes #338335
10477 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10478 Added testsuite for gst_element_found_tags().
10480 2006-04-28 Michael Smith <msmith@fluendo.com>
10482 * gst/gstvalue.c: (gst_value_serialize_flags):
10483 Avoid NULL dereference when trying to serialize flags containing
10486 2006-04-28 Michael Smith <msmith@fluendo.com>
10488 * plugins/elements/gsttypefindelement.c:
10489 (gst_type_find_element_handle_event):
10490 If we get EOS before any data is accumulated, don't use
10491 uninitialised local variables.
10493 2006-04-28 Michael Smith <msmith@fluendo.com>
10495 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10496 (gst_dp_event_from_packet):
10497 Fixes in reading/writing events over GDP (not currently used?) -
10498 dereferencing NULL events for unknown/invalid event types, memory
10499 leak, and change g_warning to GST_WARNING.
10501 2006-04-28 Wim Taymans <wim@fluendo.com>
10503 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10504 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10505 (gst_base_sink_get_position), (gst_base_sink_change_state):
10506 When frame dropping is enabled, we should not ignore frames
10507 without a duration.
10508 Update some documentation.
10510 2006-04-28 Wim Taymans <wim@fluendo.com>
10512 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10513 (gst_base_src_send_event), (gst_base_src_change_state):
10514 Documentation updates.
10516 2006-04-28 Wim Taymans <wim@fluendo.com>
10518 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10519 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10520 handle EAGAIN, EINTR and short writes correctly. Also clean
10521 up some error cases, avoid a deadlock on bad file descriptors and
10522 use GST_DEBUG_OBJECT.
10525 2006-04-28 Wim Taymans <wim@fluendo.com>
10527 * gst/gstvalue.c: (gst_value_serialize_buffer),
10528 (gst_value_deserialize_buffer):
10529 Don't try to serialize a GValue with a NULL buffer.
10532 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10533 Added check for serialisation of NULL buffers.
10535 2006-04-28 Wim Taymans <wim@fluendo.com>
10537 * gst/gstminiobject.c: (gst_value_take_mini_object):
10538 Taking a NULL miniobject is valid, fix the case where
10539 we try to unref the NULL miniobject.
10541 2006-04-28 Wim Taymans <wim@fluendo.com>
10543 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10545 * gst/gstbin.c: (gst_bin_handle_message_func):
10547 Don't leak bin refcount when a state recalc is
10548 in progress and we delay another one #339808.
10550 2006-04-28 Wim Taymans <wim@fluendo.com>
10552 * docs/design/part-TODO.txt:
10553 Mention QoS as an ongoing work item.
10555 * docs/design/part-buffering.txt:
10556 New doc about buffering that needs to be fleshed out
10559 * docs/design/part-qos.txt:
10560 More QoS policy for decoders/demuxers/transforms
10562 * docs/design/part-trickmodes.txt:
10565 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10570 === release 0.10.5 ===
10572 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10575 releasing 0.10.5, "Fogo"
10577 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10579 patch by: Wim Taymans
10581 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10582 (gst_pad_configure_src), (gst_pad_push):
10583 * gst/gstpipeline.c: (gst_pipeline_init):
10584 Fix internal data flow errors. Fixes #338711.
10586 2006-04-12 Wim Taymans <wim@fluendo.com>
10588 * tests/check/gst/gstelement.c: (GST_START_TEST):
10589 Don't leak the factory.
10591 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10594 * win32/common/config.h:
10597 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10599 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10600 (gst_controller_unset_all):
10601 Free allocated GstTimedValues when freeing list nodes.
10602 Should fix leaks 'make check-valgrind' complains about.
10604 * win32/common/libgstcontroller.def:
10605 Add gst_controller_unset_all.
10607 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10609 * docs/libs/gstreamer-libs-sections.txt:
10610 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10611 (gst_controller_unset_all):
10612 * libs/gst/controller/gstcontroller.h:
10613 API: Added new method gst_controller_unset_all()
10614 fixed gst_controller_unset()
10615 * tests/check/libs/controller.c: (GST_START_TEST),
10616 (gst_controller_suite):
10617 Added two testcases for new and fixed method
10619 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10621 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10622 MSG_DONTWAIT is not defined on Cygwin, so work
10623 around that (fixes #317048).
10625 2006-04-11 Wim Taymans <wim@fluendo.com>
10627 * gst/gstelementfactory.c: (gst_element_register),
10628 (gst_element_factory_create), (gst_element_factory_make):
10631 Updated docs (Fixes #131079)
10633 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10636 * tests/check/gst/gstelement.c: (GST_START_TEST),
10637 (gst_element_suite):
10638 Added testcase for elementfactory class field.
10640 2006-04-10 Wim Taymans <wim@fluendo.com>
10642 * gst/gstsegment.c:
10643 Added some more docs.
10645 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10646 (gst_base_sink_reset_qos):
10647 Calculate more accurate rate values.
10649 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10651 * gst/gst_private.h:
10652 add a new #ifdef to use __declspec(dllimport) only for
10653 other modules and not for gstreamer core
10654 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10655 use gst_guint64_to_gdouble for conversion
10656 * win32/common/libgstreamer.def:
10657 add new exported functions
10658 * win32/vs6/gst_inspect.dsp:
10659 * win32/vs6/gst_launch.dsp:
10660 * win32/vs6/libgstbase.dsp:
10661 * win32/vs6/libgstcontroller.dsp:
10662 * win32/vs6/libgstcoreelements.dsp:
10663 * win32/vs6/libgstdataprotocol.dsp:
10664 * win32/vs6/libgstnet.dsp:
10665 update project files
10667 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10669 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10670 * gst/gstclock.c: (gst_clock_class_init):
10671 * gst/gstelement.c: (gst_element_class_init):
10672 * gst/gstindex.c: (gst_index_class_init):
10673 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10674 * gst/gstobject.c: (gst_object_class_init),
10675 (gst_signal_object_class_init):
10676 * gst/gstpad.c: (gst_pad_class_init):
10677 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10678 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10679 * gst/gstregistry.c: (gst_registry_class_init):
10680 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10681 * gst/gsttask.c: (gst_task_class_init):
10682 * gst/gstxml.c: (gst_xml_class_init):
10683 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10684 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10685 (gst_base_src_loop):
10686 * libs/gst/controller/gstcontroller.c:/
10687 (_gst_controller_class_init):
10688 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10689 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10690 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10691 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10692 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10693 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10695 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10697 * gst/gstpad.c: (gst_pad_link):
10698 Must set peer pads before calling the link function, otherwise
10699 a task started from a link function might get a flow-not-linked
10700 result when trying to push because the other thread where the
10701 linking happens hasn't had a chance to set the peers yet. This
10702 might happen for example when a queue gets linked to a downstream
10703 element, as queue starts a streaming task when its source pad
10704 gets linked. Happens in real life when playing back flac/musepack
10705 files in playbin (#332390).
10707 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10711 * libs/gst/base/gstadapter.h:
10712 * libs/gst/base/gstbasesink.h:
10713 * libs/gst/base/gstbasesrc.h:
10714 * libs/gst/base/gstbasetransform.h:
10715 * libs/gst/base/gstcollectpads.h:
10716 * libs/gst/base/gstpushsrc.h:
10717 Fix broken GObject macros
10719 2006-04-07 Wim Taymans <wim@fluendo.com>
10721 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10722 Initialize start and stop times, thanks valgrind.
10724 2006-04-07 Wim Taymans <wim@fluendo.com>
10726 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10727 Be a bit nicer to badly behaving upstream elements that expect
10728 us to deal with non TIME segments and timestamps (such as fakesrc
10731 2006-04-07 Wim Taymans <wim@fluendo.com>
10734 Small documentation clarification about the signal watch.
10736 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10737 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10738 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10739 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10740 (gst_base_sink_get_position_last),
10741 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10742 Convert and store timestamps in stream time and running time, the
10743 raw timestamps are not useful, also document this better.
10744 Use different window sizes for good and bad QoS observations so
10745 we react to badness a little quicker.
10746 Keep track of the amount of rendered and dropped buffers.
10747 Send QoS timestamps in running time.
10749 * libs/gst/base/gstbasetransform.c:
10750 (gst_base_transform_sink_eventfunc),
10751 (gst_base_transform_handle_buffer):
10752 Compare QoS timestamps against running time.
10754 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10757 Typo fixes in docs.
10759 2006-04-06 Michael Smith <msmith@fluendo.com>
10761 * gst/gstpad.c: (gst_pad_set_property):
10762 Use g_value_get_object() instead of g_value_dup_gst_object(),
10763 to avoid double-reffing the pad template (which we then sink,
10764 so this worked previously if (and only if) the pad template
10767 * gst/gstpadtemplate.c: (gst_pad_template_init),
10768 (gst_pad_template_pad_created):
10769 Never return floating references to pad templates, create
10770 them as initially-sunken.
10772 Document an extra function (and make this stop sinking our
10773 pad template, since that is now guaranteed to do nothing,
10774 since we created it sunken).
10776 * gst/gstghostpad.c:
10779 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10781 * gst/gstinfo.c: (__gst_in_valgrind):
10784 * plugins/elements/gsttypefindelement.c:
10785 (gst_type_find_element_chain):
10786 Don't leak buffer caps.
10788 2006-04-06 Michael Smith <msmith@fluendo.com>
10790 * gst/parse/grammar.y:
10791 Fix a leak in parse-launch for any source-or-sink named element
10794 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10795 Unref the pipeline if it exists after we've failed parsing.
10797 2006-04-05 Michael Smith <msmith@fluendo.com>
10799 * gst/gstpipeline.c: (gst_pipeline_init):
10800 When we create a pipeline bus, initially create it in flushing mode.
10801 Fixes leaks in at least one test, and makes a new pipeline work the
10802 same as one that has gone to READY and then back to NULL.
10804 * gst/gstelement.c:
10807 2006-04-05 Michael Smith <msmith@fluendo.com>
10809 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10810 Unref a pad we reffed.
10811 * tests/check/gst/gstutils.c: (GST_START_TEST):
10814 2006-04-05 Michael Smith <msmith@fluendo.com>
10816 * gst/gstquery.c: (gst_query_set_formats),
10817 (gst_query_set_formatsv):
10818 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10820 2006-04-05 Michael Smith <msmith@fluendo.com>
10822 * tests/check/generic/sinks.c: (GST_START_TEST):
10823 Fix a variety of memleaks in sinks check, which are only sometimes
10824 shown by running the tests under valgrind (weird?).
10826 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10828 * docs/version.entities.in:
10829 Fix the substituted entity name after thomas' changes on the
10832 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10834 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10837 2006-04-05 Andy Wingo <wingo@pobox.com>
10839 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10841 * libs/gst/base/gstbasetransform.c
10842 (gst_base_transform_sink_eventfunc): When resetting our segment on
10843 FLUSH_STOP, also update the flag saying we haven't seen a
10846 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10848 Patch by: Paolo Borelli <pborelli at katamail dot com>
10850 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10851 (gst_plugin_check_license):
10852 minor clean-ups: G_DEFINE_TYPE already takes care of the
10853 parent_class stuff, no need to do it twice. Mark array of
10854 license strings as constant. (#337103)
10856 2006-04-04 Michael Smith <msmith@fluendo.com>
10858 * tools/gst-inspect.c: (print_element_list):
10859 Free the right plugin list; fixes a memory leak.
10861 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10863 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10865 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10866 Don't error out on empty buffers (#336945).
10868 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10870 * docs/libs/gstreamer-libs-sections.txt:
10871 * gst/gsttaglist.c:
10872 * libs/gst/base/gstbasesink.c:
10873 * libs/gst/base/gstbasesink.h:
10874 * libs/gst/base/gstbasesrc.c:
10875 * libs/gst/base/gstbasesrc.h:
10876 Documentation updates. Make BaseSink and BaseSrc docs contain the
10877 class structure so that people can actually see the prototypes for
10878 virtual functions they're supposed to be overriding.
10880 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10882 * plugins/elements/gsttypefindelement.c:
10883 (gst_type_find_element_chain):
10884 More debug info; when skipping typefinding, send cached
10885 events in all cases.
10887 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10890 use new AS_VERSION and AS_NANO macros
10891 * gst/gst-i18n-lib.h:
10894 * gst/gstversion.h.in:
10895 * win32/common/config.h:
10896 * win32/common/config.h.in:
10899 2006-03-31 Michael Smith <msmith@fluendo.com>
10901 * plugins/elements/gsttypefindelement.c:
10902 (gst_type_find_element_chain):
10903 Do not typefind content if the buffers already have caps.
10904 Neccesary for icydemux (#333657), and the right thing to do anyway.
10906 2006-03-30 Wim Taymans <wim@fluendo.com>
10908 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10909 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10910 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10911 (gst_base_sink_record_qos_observation),
10912 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10913 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10914 (gst_base_sink_change_state):
10915 More QoS measurements as described in the design doc.
10916 Get rid of ringbuffer with observations, running average is
10917 more simple and equally good.
10918 Calculates valid proportion now.
10919 Added beginning of flood measurement.
10921 2006-03-29 Wim Taymans <wim@fluendo.com>
10923 * docs/design/part-qos.txt:
10925 Small documentation updates and additions.
10927 2006-03-29 Wim Taymans <wim@fluendo.com>
10929 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10930 (gst_base_src_send_event), (gst_base_src_loop),
10931 (gst_base_src_change_state):
10932 Perform the EOS logic when we reach the segment stop position.
10933 Fix compilation on gcc4.1
10935 2006-03-29 Wim Taymans <wim@fluendo.com>
10937 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10939 * plugins/elements/gstqueue.c: (gst_queue_init),
10940 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10941 (gst_queue_set_property):
10942 * plugins/elements/gstqueue.h:
10943 In queue, when EOS is received, if minimum threshold > max_size -
10944 current_level, there is chance that queue blocks forever in conditional
10945 item del wait. This is because the queue is not emptied completely due
10946 to minimum threshold. Here is another approach. Instead of setting
10947 cur_levels to max in EOS, just zero all minimum threshold levels. This
10948 should make sure that queue gives out all data. When going to READY
10949 (stop) state, just reset the original minimum threshold levels.
10952 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10954 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10955 (gst_type_find_element_handle_event),
10956 (gst_type_find_element_send_cached_events),
10957 (gst_type_find_element_change_state):
10958 * plugins/elements/gsttypefindelement.h:
10959 When typefinding is done in push mode, we should cache
10960 events we receive during typefinding instead of just
10961 dropping them (e.g. newsegment, custom events from
10962 dvdreadsrc etc.) and then send them out once we've
10963 determined the type of the stream (and decodebin
10964 has had a chance to plug in a decoder/demuxer).
10966 2006-03-27 Wim Taymans <wim@fluendo.com>
10968 * docs/design/part-qos.txt:
10971 2006-03-27 Wim Taymans <wim@fluendo.com>
10973 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10975 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10976 (gst_base_src_send_event), (gst_base_src_change_state):
10977 Handle element seek correctly when we are streaming.
10980 2006-03-24 Michael Smith <msmith@fluendo.com>
10982 * docs/faq/gst-uninstalled:
10983 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10984 allow you to correctly run intalled applications built against old
10985 core, using plugins that require updated core (e.g. running
10986 installed totem against a full uninstalled gstreamer stack)
10988 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10990 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10993 2006-03-24 Wim Taymans <wim@fluendo.com>
10995 * docs/gst/gstreamer-sections.txt:
10996 Rearrange the order of the methods so that related methods
10997 are grouped together in sections.
10999 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11001 * gst/gstelement.c:
11002 Little clarification in the docs
11004 2006-03-24 Stefan Kost <ensonic@users.sf.net>
11008 * plugins/elements/gstidentity.c:
11009 * plugins/elements/gstqueue.c:
11010 * plugins/elements/gsttee.c:
11011 * plugins/elements/gsttypefindelement.c:
11012 GST_ELEMENT_DETAILS formatting
11014 2006-03-24 Wim Taymans <wim@fluendo.com>
11016 * libs/gst/base/gstbasesink.h:
11017 Only add fields, not insert or we break ABI.
11019 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11021 * win32/common/libgstbase.def:
11022 * win32/common/libgstreamer.def:
11023 Update, add recently added functions.
11025 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11027 * docs/gst/gstreamer-sections.txt:
11028 * gst/gstutils.c: (gst_pad_query_peer_position),
11029 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11031 API: add some new utility functions:
11032 - gst_pad_query_peer_position()
11033 - gst_pad_query_peer_duration()
11034 - gst_pad_query_peer_convert()
11036 2006-03-23 Wim Taymans <wim@fluendo.com>
11038 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11039 (gst_base_sink_init), (gst_base_sink_finalize),
11040 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11041 (gst_base_sink_set_property), (gst_base_sink_get_property),
11042 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11043 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11044 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11045 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11046 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11047 (gst_base_sink_preroll_object), (gst_base_sink_event),
11048 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11049 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11050 (gst_base_sink_query), (gst_base_sink_change_state):
11051 Decouple max-lateness and the fact that QoS messages are generated
11052 with a new property (qos).
11053 added API: GstBaseSink::async_play()
11054 Add vmethod so subclasses can be notified of ASYNC playing
11056 Collect timestamp start and stop to report better current
11057 position in EOS/PLAYING/PAUSED/READY/NULL.
11058 Refactor QoS/frame dropping and other measurements.
11059 API: GstBaseSrc::qos
11062 * libs/gst/base/gstbasesink.h:
11063 Added Private struct.
11064 API: gst_base_sink_set_qos_enabled()
11065 API: gst_base_sink_is_qos_enabled()
11067 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
11069 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11070 If compiling against GLib-2.8 or newer, try to read the
11071 registry file using GMappedFile first before falling back
11072 to fopen() + fread() (#332151).
11074 2006-03-22 Wim Taymans <wim@fluendo.com>
11076 * gst/gstinfo.c: (gst_debug_set_active),
11077 (gst_debug_category_set_threshold):
11078 Disable debugging unless explicitly activated.
11081 2006-03-22 Wim Taymans <wim@fluendo.com>
11083 * gst/gstelement.c: (gst_element_set_locked_state),
11084 (gst_element_dispose):
11085 Cleanup the error case.
11087 * gst/gstobject.c: (gst_object_dispose):
11088 print a critical when some object was disposed with
11089 a parent, also revive the object since it might
11092 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
11094 * tools/gst-launch.1.in:
11097 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
11100 * tests/check/Makefile.am:
11101 disable some tests when we don't have a registry
11102 * tests/check/gst/gstutils.c: (gst_utils_suite):
11103 don't build the part that needs parsing
11105 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
11108 * tests/examples/Makefile.am:
11109 fix --disable-parse build
11111 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11113 * tools/gst-feedback.1.in:
11114 Fix typo: s/feeback/feedback/ (#133494).
11116 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11118 * tools/Makefile.am:
11119 * tools/gst-launch.1.in:
11120 Add FILES section and correct entry about GST_REGISTRY_PATH
11121 environment variable (#133495; #133494).
11123 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11125 * tools/Makefile.am:
11126 * tools/gst-md5sum.1.in:
11127 * tools/gst-md5sum.c:
11128 Remove gst-md5sum and man page (the md5sink element
11129 required was removed ages ago)
11131 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11133 * gst/gststructure.c: (gst_structure_id_set_value):
11134 Make sure that string fields in structures/taglists
11135 contain valid UTF-8 - we don't want to pass rubbish to
11136 applications because of a buggy plugin (cp. #334167).
11138 2006-03-21 Edward Hervey <edward@fluendo.com>
11140 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11141 (gst_bin_handle_message_func):
11142 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11143 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11144 (gst_element_set_bus_func):
11145 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11146 * gst/gstminiobject.c: (gst_value_set_mini_object),
11147 (gst_value_take_mini_object):
11148 * gst/gstpad.c: (gst_pad_set_pad_template):
11149 * gst/gstpipeline.c: (gst_pipeline_dispose),
11150 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11151 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11152 (gst_collect_pads_chain):
11153 * libs/gst/net/gstnettimeprovider.c:
11154 (gst_net_time_provider_set_property):
11155 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11156 It's in fact all issues with gst_*object_replace().
11158 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
11160 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
11162 * pkgconfig/gstreamer-check-uninstalled.pc.in:
11163 * pkgconfig/gstreamer-check.pc.in:
11164 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11166 2006-03-21 Edward Hervey <edward@fluendo.com>
11170 * gst/gstmessage.h:
11171 gst_[buffer|event|message]_ref() macros are replaced by a static
11172 inline functions because gcc-4.1 will about if the return value
11174 * tests/check/gst/gstevent.c: (event_probe):
11175 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11177 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
11180 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11181 the type' case. (Closes: #335195 for now). In the future, when we
11182 depend on GLib 2.10, we could also intern the type name using
11183 g_intern_static_string()
11185 2006-03-20 Wim Taymans <wim@fluendo.com>
11187 * gst/gstbin.c: (gst_bin_handle_message_func),
11188 (bin_query_max_init), (bin_query_position_fold),
11189 (bin_query_position_done), (gst_bin_query):
11190 Position query should also take max of all streams.
11192 2006-03-20 Wim Taymans <wim@fluendo.com>
11194 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11195 (gst_fake_src_finalize):
11196 Fix leaks in fakesrc.
11198 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11199 Fix leaks in the testcase.
11201 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
11203 * gst/gst_private.h:
11204 add win32 specific import decoration(__declspec(dllimport))
11205 for all extern GstDebugCategory * variables
11206 * win32/common/libgstbase.def:
11207 * win32/common/libgstcontroller.def:
11208 * win32/common/libgstreamer.def:
11209 Add some exports, remove empty lines
11210 * win32/common/libgstdataprotocol.def:
11211 * win32/common/libgstdataprotocol.dsp:
11212 * win32/common/libgstnet.def:
11213 * win32/common/libgstnet.dsp:
11214 new project files and exportation files added
11216 2006-03-19 Wim Taymans <wim@fluendo.com>
11218 * tests/check/libs/basesrc.c: (eos_event_counter):
11219 Use proper return value for probe.
11221 2006-03-17 Wim Taymans <wim@fluendo.com>
11223 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11225 Don't leak buffers, caps and pads on negotiation errors.
11227 2006-03-16 Stefan Kost <ensonic@users.sf.net>
11229 * docs/faq/cvs.xml:
11230 * docs/faq/dependencies.xml:
11231 * docs/faq/developing.xml:
11232 * docs/faq/faq.xml:
11233 * docs/faq/general.xml:
11234 * docs/faq/getting.xml:
11235 * docs/faq/legal.xml:
11236 * docs/faq/troubleshooting.xml:
11237 * docs/faq/using.xml:
11238 Faq review and update.
11240 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
11242 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11244 Don't pound the cpu to pieces by checking get_caps when accept_caps
11245 is called with the same caps as the pad already has.
11246 Use GST_DEBUG_OBJECT when outputting caps change information.
11248 2006-03-15 Wim Taymans <wim@fluendo.com>
11250 * gst/gstclock.c: (gst_clock_class_init):
11253 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
11258 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11259 (gst_pad_accept_caps), (gst_pad_configure_sink),
11260 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11261 Make the default acceptcaps behaviour be to check the requested
11262 caps against the gst_pad_get_caps output.
11264 Ensure that gst_pad_accept_caps is used to check caps when a pad
11265 doesn't have a setcaps function, so that pads automatically refuse
11266 caps that they don't allow in their pad template. (Fixes #332986)
11268 When a buffer with attached caps is pushed, ensure that the source
11269 pad receives those caps even if the element didn't call
11270 gst_pad_set_caps first.
11272 2006-03-15 Wim Taymans <wim@fluendo.com>
11274 * libs/gst/base/gstadapter.c:
11277 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
11279 * win32/common/libgstbase.def:
11280 * win32/common/libgstcontroller.def:
11281 * win32/common/libgstreamer.def:
11282 Add a whole bunch of missing functions (#334434).
11284 2006-03-14 Wim Taymans <wim@fluendo.com>
11286 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11287 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11288 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11289 Better debug info when we receive a segment event.
11290 Reorganize a bit so we can pass the get_times() results around.
11291 Use the segment format when calculating the running time.
11292 Don't do QoS is sync is disabled or we have no clock or the
11293 element does not want us to sync to the clock.
11294 Don't drop buffers if QoS is disabled for now.
11296 2006-03-14 Wim Taymans <wim@fluendo.com>
11298 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11299 Marked the stats property as unimplemented so people don't get
11301 Add debug message when regression goes wrong.
11302 Added some more docs.
11304 2006-03-14 Wim Taymans <wim@fluendo.com>
11306 * gst/gstsegment.c: (gst_segment_to_stream_time):
11307 Return correct return type in case of errors.
11309 2006-03-14 Wim Taymans <wim@fluendo.com>
11311 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11312 Don't segfault on invalid formats.
11314 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11316 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11317 Can't use gst_segment_to_running_time() when the segment
11318 is not in GST_TIME_FORMAT (like with filesink, for example).
11319 Stops flac encoding pipelines from spewing critical warnings
11322 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11324 * gst/gstpipeline.c: (gst_pipeline_class_init):
11325 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11327 * plugins/elements/gsttypefindelement.c:
11328 (gst_type_find_element_handle_event):
11329 Don't try to typefind empty streams.
11331 2006-03-14 Wim Taymans <wim@fluendo.com>
11333 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11334 (gst_base_sink_do_qos):
11335 Separate QoS calculation.
11336 Only drop buffers when lateness is bigger than the
11337 duration of the buffer.
11339 2006-03-13 Wim Taymans <wim@fluendo.com>
11341 * gst/gstpipeline.c: (gst_pipeline_set_property),
11342 (gst_pipeline_get_property), (do_pipeline_seek),
11343 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11344 (gst_pipeline_get_delay):
11345 Don't deadlock when reading properties.
11347 2006-03-13 Wim Taymans <wim@fluendo.com>
11349 * libs/gst/base/gstbasetransform.c:
11350 (gst_base_transform_class_init), (gst_base_transform_init),
11351 (gst_base_transform_sink_event),
11352 (gst_base_transform_sink_eventfunc),
11353 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11354 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11355 (gst_base_transform_set_property),
11356 (gst_base_transform_get_property),
11357 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11358 (gst_base_transform_set_qos_enabled),
11359 (gst_base_transform_is_qos_enabled):
11360 * libs/gst/base/gstbasetransform.h:
11361 Make basetransform virtual method for src events too.
11362 Handle QOS in basetransform.
11363 API: gst_base_transform_update_qos()
11364 API: gst_base_transform_set_qos_enabled()
11365 API: gst_base_transform_is_qos_enabled()
11367 2006-03-13 Wim Taymans <wim@fluendo.com>
11369 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11370 (gst_base_sink_do_sync):
11372 Use QOS debug category.
11374 2006-03-13 Wim Taymans <wim@fluendo.com>
11376 * plugins/elements/gstqueue.c:
11377 Very small doc update.
11379 2006-03-13 Wim Taymans <wim@fluendo.com>
11381 * gst/gst_private.h:
11382 * gst/gstinfo.c: (_gst_debug_init):
11383 Added QOS debug category
11385 2006-03-13 Wim Taymans <wim@fluendo.com>
11387 * docs/gst/gstreamer-sections.txt:
11388 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11390 * gst/gstbus.c: (gst_bus_class_init):
11393 * gst/gstelement.c: (gst_element_set_locked_state):
11394 * gst/gstsegment.c:
11395 Documentation updates.
11397 * gst/gstpipeline.c: (gst_pipeline_get_type),
11398 (gst_pipeline_class_init), (gst_pipeline_init),
11399 (gst_pipeline_dispose), (gst_pipeline_set_property),
11400 (gst_pipeline_get_property), (do_pipeline_seek),
11401 (gst_pipeline_send_event), (gst_pipeline_change_state),
11402 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11403 (gst_pipeline_get_delay):
11404 * gst/gstpipeline.h:
11405 Added methods for setting the delay.
11406 API: gst_pipeline_set_delay()
11407 API: gst_pipeline_get_delay()
11408 Add pipeline debug category
11411 Don't reset stream time when seek failed.
11413 2006-03-13 Wim Taymans <wim@fluendo.com>
11415 * docs/design/draft-klass.txt:
11416 * docs/design/part-clocks.txt:
11417 * docs/design/part-events.txt:
11418 * docs/design/part-gstbin.txt:
11419 * docs/design/part-gstpipeline.txt:
11420 * docs/design/part-messages.txt:
11421 * docs/design/part-negotiation.txt:
11422 * docs/design/part-overview.txt:
11423 * docs/design/part-preroll.txt:
11424 * docs/design/part-seeking.txt:
11425 * docs/design/part-states.txt:
11426 * docs/design/part-streams.txt:
11427 Documentation updates.
11429 2006-03-12 Julien MOUTTE <julien@moutte.net>
11431 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11432 us to leak strings...
11434 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11436 * libs/gst/net/gstnettimeprovider.c:
11438 * win32/common/config.h:
11441 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11443 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11446 Don't check for libgnomeui (leftover from old examples
11447 that aren't built or disted any longer) (#334303).
11449 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11451 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11452 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11453 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11454 there's no space left on the device.
11456 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11459 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11460 to cast the input to GstClockTime before comparing with
11461 another GstClockTime value.
11463 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11468 === release 0.10.4 ===
11470 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11473 releasing 0.10.4, "Light"
11475 2006-03-10 Michael Smith <msmith@fluendo.com>
11477 * libs/gst/dataprotocol/dataprotocol.c:
11478 Fix docs for dataprocotol to not get the return types completely
11479 wrong for a few functions.
11481 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11483 * docs/gst/gstreamer-sections.txt:
11484 * gst/gstpipeline.c: (gst_pipeline_class_init),
11485 (gst_pipeline_init), (gst_pipeline_set_property),
11486 (gst_pipeline_get_property), (gst_pipeline_change_state),
11487 (gst_pipeline_set_auto_flush_bus),
11488 (gst_pipeline_get_auto_flush_bus):
11489 * gst/gstpipeline.h:
11490 Add new API: gst_pipeline_set_auto_flush_bus() and
11491 gst_pipeline_get_auto_flush_bus() to disable automatic
11492 flushing of the pipeline's GstBus when going from READY
11493 to NULL state (#332045).
11495 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11497 * docs/gst/gstreamer-sections.txt:
11498 * gst/gsturi.c: (gst_uri_has_protocol):
11500 Add new API: gst_uri_has_protocol() (#333779).
11502 2006-03-09 Wim Taymans <wim@fluendo.com>
11504 * gst/gstclock.c: (gst_clock_entry_new),
11505 (gst_clock_id_compare_func), (gst_clock_id_wait),
11506 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11507 (gst_clock_init), (gst_clock_get_internal_time),
11508 (gst_clock_set_master), (do_linear_regression),
11509 (gst_clock_add_observation), (gst_clock_set_property):
11513 Fix a possible segfault when the window-size is made smaller.
11514 Calculate jitter before performing the clock wait. Ideally
11515 the clock implementation should calculate jitter but we need
11516 API breakage for that.
11518 * gst/gstsystemclock.c: (gst_system_clock_init):
11521 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11522 Remove leftover else
11524 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11525 (gst_systemclock_suite):
11526 Added check to test GST_CLOCK_DIFF.
11528 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11530 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11531 (gst_type_find_helper_get_range):
11532 If we are provided with the size, we should implement
11533 GstTypeFind::get_length, so that typefind functions who
11534 want to can actually peek at the middle of a file.
11536 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11538 * docs/manual/advanced-dataaccess.xml:
11539 Add some very very basic error checking.
11541 * docs/pwg/appendix-checklist.xml:
11542 Some updates to the list of things to check when writing an element.
11544 2006-03-08 Wim Taymans <wim@fluendo.com>
11546 * docs/design/part-element-transform.txt:
11547 Added some docs about the design of tranform elements.
11549 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11550 (gst_base_src_loop), (gst_base_src_change_state):
11551 Mark buffers with the DISCONT flag.
11553 2006-03-08 Michael Smith <msmith@fluendo.com>
11555 * gst/gstregistry.h:
11556 * gst/gstregistryxml.c: (gst_registry_save),
11557 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11558 (gst_registry_xml_save_pad_template),
11559 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11560 (gst_registry_xml_write_cache):
11561 Rewrite registry-saving to avoid race conditions and check for
11564 2006-03-08 Wim Taymans <wim@fluendo.com>
11566 * libs/gst/base/gstbasetransform.c:
11567 (gst_base_transform_transform_caps),
11568 (gst_base_transform_transform_size),
11569 (gst_base_transform_prepare_output_buffer),
11570 (gst_base_transform_get_unit_size),
11571 (gst_base_transform_buffer_alloc),
11572 (gst_base_transform_handle_buffer),
11573 (gst_base_transform_change_state):
11574 Cleanups, separate normal flow from errors, add sensible
11576 Don't try to renegotiate when allocating an output buffer.
11577 Also copy DISCONT buffer flag when copying a buffer.
11578 Reset the transform after we finish streaming, not during.
11580 2006-03-08 Wim Taymans <wim@fluendo.com>
11582 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11583 Use last buffer timestamp in qos message.
11585 2006-03-07 Wim Taymans <wim@fluendo.com>
11587 Patch by: Christophe Fergeau
11589 * docs/pwg/advanced-tagging.xml:
11590 * docs/pwg/building-pads.xml:
11593 2006-03-07 Wim Taymans <wim@fluendo.com>
11595 * docs/libs/gstreamer-libs-sections.txt:
11596 Added basesink new methods.
11600 Docs updates. Flesh out the QoS docs.
11602 * libs/gst/base/gstadapter.c:
11603 Small doc clarification about ownership and flushing.
11605 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11606 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11607 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11608 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11609 * libs/gst/base/gstbasesink.h:
11611 Added new methods to allow subclass to control max-lateness
11613 Generate very basic QoS events based on last sync observation.
11614 Updated docs, fix typo, added some QoS blurb.
11616 * libs/gst/base/gstbasesrc.c:
11617 Remove obsolete _get_state() calls from docs.
11619 2006-03-07 Wim Taymans <wim@fluendo.com>
11621 * docs/libs/gstreamer-libs-sections.txt:
11622 * libs/gst/base/gstbasetransform.h:
11623 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11624 Fix docs for GstBaseSrc.
11626 2006-03-07 Wim Taymans <wim@fluendo.com>
11628 * docs/gst/gstreamer-sections.txt:
11631 * libs/gst/base/gstbasetransform.h:
11632 Small documentation fixes.
11634 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11637 Document thread-unsafety of gst_value_register_foo_func()
11638 when used at the same time as gst_value_foo() (#322628).
11640 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11642 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11643 (gst_push_src_check_get_range):
11644 Push sources don't support pull mode by default.
11646 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11648 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11649 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11650 (gst_base_src_default_check_get_range):
11651 * libs/gst/base/gstbasesrc.h:
11652 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11653 provide default implementation, and rename
11654 gst_base_src_check_get_range() to
11655 gst_base_src_pad_check_get_range() for clarity.
11657 2006-03-06 Wim Taymans <wim@fluendo.com>
11659 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11660 Make property overridable.
11662 2006-03-06 Wim Taymans <wim@fluendo.com>
11664 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11665 (gst_base_sink_init), (gst_base_sink_set_property),
11666 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11667 * libs/gst/base/gstbasesink.h:
11668 API addition: Make max-lateness a property.
11670 2006-03-06 Wim Taymans <wim@fluendo.com>
11672 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11673 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11674 Don't ever draw a frame that is >10ms late.
11676 2006-03-06 Michael Smith <msmith@fluendo.com>
11678 * gst/gstmessage.c: (_gst_message_copy):
11679 When copying a message, set the parent_refcount of the enclosed
11680 structure to point at the copy, not the original message.
11682 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11684 Patch by: Christophe Fergeau
11687 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11688 usable in c++ code (#333417)
11690 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11693 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11695 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11697 * libs/gst/base/gstbasetransform.c:
11698 (gst_base_transform_transform_caps):
11699 Make sure caps are writable before passing them to
11702 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11705 Fix some minor docs errors.
11707 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11709 Patch by: Ross Burton <ross at burtonini dot com>
11711 * gst/gsterror.c: (_gst_resource_errors_init):
11713 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11715 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11718 Add a check and output a g_warning when GStreamer is built
11719 against GLib 2.6 but running against 2.8 or higher, and vice
11720 versa. (Closes: #323542)
11722 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11724 * gst/parse/parse.l:
11725 Commit patch for parse_launch syntax from #331255. Removes
11726 support for quoted strings and mimetypes when writing filtered
11727 caps. See the bug report for more details - I'm pretty sure this
11728 obscure feature is not in use by _anyone_ anywhere.
11730 With this simple change, the size of the gstreamer.so here
11731 drops from 2193KB to 1565KB.
11733 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11735 * plugins/elements/gsttypefindelement.h:
11736 * plugins/elements/gsttypefindelement.c:
11737 (gst_type_find_element_src_event), (start_typefinding),
11738 (stop_typefinding), (gst_type_find_element_handle_event),
11739 (gst_type_find_element_chain),
11740 (gst_type_find_element_chain_do_typefinding):
11741 Use gst_type_find_helper_for_buffer() for chain-based
11744 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11746 * plugins/elements/gsttypefindelement.c:
11747 (gst_type_find_element_class_init),
11748 (gst_type_find_element_set_property),
11749 (gst_type_find_element_get_property):
11750 Deprecate "maximum" property (not only was it only taken into
11751 account for typefinding in push-mode anyway, it also was never
11752 actually possible to set it in the first place because the
11753 property was registered with the numeric property ID for the
11754 "minimum" property). Register "maximum" property correctly,
11755 for the sake of future copy'n'pasters. Remove some cruft
11756 from property get/set functions.
11758 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11760 * plugins/elements/gsttypefindelement.c:
11761 (gst_type_find_element_activate):
11762 Use gst_type_find_helper_get_range() here, so we
11763 can honour the "minimum" property and also emit
11764 the signal with the correct probability of the found caps.
11766 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11768 * docs/libs/gstreamer-libs-sections.txt:
11769 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11770 (helper_find_suggest), (gst_type_find_helper_get_range),
11771 (gst_type_find_helper):
11772 * libs/gst/base/gsttypefindhelper.h:
11773 New API: gst_type_find_helper_get_range() (#333042).
11775 2006-03-02 Michael Smith <msmith@fluendo.com>
11777 * gst/gstregistryxml.c: (load_feature):
11778 Asserting on a failure to read part of the registry is Not Cool.
11779 Just log a warning and return NULL (which is already handled)
11781 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11783 * win32/common/libgstbase.def:
11784 added export of gst_type_find_helper_for_buffer
11785 * win32/common/libgstbase.def:
11786 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11787 gst_ghost_pad_get_target
11789 2006-02-28 Wim Taymans <wim@fluendo.com>
11791 * docs/design/draft-klass.txt:
11793 Added Connector to mark elements that are only used to
11794 allow pipeline connections.
11795 Moved Debug to extra feature since most of them are
11796 functionally something else.
11798 2006-02-28 Wim Taymans <wim@fluendo.com>
11800 * docs/design/draft-klass.txt:
11801 Some updates and clarifications.
11803 2006-02-28 Wim Taymans <wim@fluendo.com>
11805 * docs/design/draft-klass.txt:
11806 Proposal for klass field values.
11808 * docs/design/part-streams.txt:
11809 Start of a doc describing stream anatomy.
11811 2006-02-28 Wim Taymans <wim@fluendo.com>
11813 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11814 Help the compiler a bit with type registration.
11815 Use existing forward cod path instead of duplicating it when
11816 handling a message.
11818 * gst/gstbus.c: (gst_bus_get_type):
11819 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11820 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11821 * gst/gstclock.c: (gst_clock_get_type):
11822 * gst/gstelement.c: (gst_element_get_type),
11823 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11824 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11825 * gst/gstminiobject.c: (gst_mini_object_get_type):
11826 * gst/gstpad.c: (gst_pad_get_type):
11827 * gst/gstsegment.c: (gst_segment_get_type):
11828 * gst/gststructure.c: (gst_structure_get_type):
11829 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11830 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11832 Help compiler with type registration.
11834 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11837 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11839 * plugins/elements/gsttypefindelement.c:
11840 (gst_type_find_element_handle_event):
11841 When we get an EOS event and have not found a type yet
11842 (most likely because we had not yet accumulated
11843 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11844 type given the data we have so far. Fixes typefinding
11845 for very short streams again, most notably quicktime
11846 redirections as used on Apple's trailer site (#331701).
11848 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11850 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11851 (gst_type_find_helper):
11852 Try typefinding factories with the highest rank first.
11854 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11856 * docs/libs/gstreamer-libs-docs.sgml:
11857 * docs/libs/gstreamer-libs-sections.txt:
11858 * libs/gst/base/gsttypefindhelper.c:
11859 Add section for typefind helper and add documentation
11860 for the old and the new function.
11862 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11864 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11865 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11866 (gst_type_find_helper_for_buffer):
11867 * libs/gst/base/gsttypefindhelper.h:
11868 New API: gst_type_find_helper_for_buffer() (#332723).
11870 2006-02-27 Michael Smith <msmith@fluendo.com>
11872 Patch by: Loïc Minier
11875 * docs/Makefile.am:
11876 * docs/slides/Makefile.am:
11877 prevent CVS directories getting disted.
11879 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11881 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11882 Use the REFCOUNTING category for caps refcounting.
11884 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11886 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11887 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11889 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11891 * plugins/elements/gsttypefindelement.c:
11892 (gst_type_find_element_activate):
11893 Use gst_pad_check_pull_range() before _activate_pull()
11894 to avoid unnecessary open/close (see #331690).
11896 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11899 Docs enhancement: make it crystal clear what the
11900 gst_pad_add_*_probe() callbacks should look like.
11902 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11904 * libs/gst/base/gstbasesrc.c:
11905 Document how applications can stop recording from
11906 live sources (see #330996).
11908 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11910 * tests/check/Makefile.am:
11911 * tests/check/libs/basesrc.c: (eos_event_counter),
11912 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11913 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11914 (gst_basesrc_suite), (main):
11915 ... and add some tests for the base source EOS stuff.
11917 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11919 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11920 Test case originally showed the problem fixed below,
11921 but was then amended. Add checks back at the place
11922 where they used to be.
11924 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11926 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11927 (gst_base_src_init), (gst_base_src_loop),
11928 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11929 (gst_base_src_change_state):
11930 * libs/gst/base/gstbasesrc.h:
11931 Don't unconditionally send EOS when going from PAUSED to
11932 READY state, esp. make sure we don't send two EOS events
11933 in some cases (e.g. one when reaching EOS and one when
11934 going from PAUSED to READY). Also, we don't want to send
11935 EOS events when operating in pull mode. However, we do
11936 want to send an EOS event when shutting down a live
11937 source explicitly, for example (fixes #330996).
11939 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11941 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11942 Update src->read_position after a seek when not using mmap.
11943 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11945 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11951 Make things work with --disable-parse as they do with
11952 --disable-load-save - the symbols involved disappear, but the
11953 header is still installed and GST_DISABLE_PARSE is included via
11956 2006-02-20 Julien MOUTTE <julien@moutte.net>
11958 * libs/gst/base/gstbasetransform.c:
11959 (gst_base_transform_change_state): Fix a stupid bug. I was
11960 sure I compiled that.
11962 2006-02-20 Julien MOUTTE <julien@moutte.net>
11964 * gst/gstpad.c: (gst_pad_set_blocked_async):
11965 * gst/gstutils.c: (gst_pad_add_data_probe),
11966 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11967 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11968 (gst_pad_remove_buffer_probe): Make those function act on the
11969 ghostpad target when it's a ghostpad. (Closes #331727)
11971 2006-02-20 Julien MOUTTE <julien@moutte.net>
11973 * libs/gst/base/gstbasetransform.c:
11974 (gst_base_transform_change_state): Make basetransform reusable.
11977 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11979 * docs/random/release:
11980 Move the current documentation of how to do a release to the top
11983 * gst/gstbin.c: (gst_bin_class_init),
11984 (gst_bin_handle_message_func):
11985 Allow multiple state-recalculation threads. (Closes #328873)
11987 2006-02-19 Julien MOUTTE <julien@moutte.net>
11989 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11990 * gst/gstpad.c: (gst_pad_set_event_function),
11991 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11992 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11993 2 strings. You can't use the STR_NULL macro on that.
11995 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11997 * gst/gstpad.c: (gst_pad_set_event_function),
11998 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11999 (gst_pad_set_getcaps_function)
12000 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12001 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12002 So now, we can use --gst-debug-level=5 on Windows
12003 * win32/common/libgstcontroller.def:
12004 Added export of gst_controller_init
12005 * win32/vs6/libgstcontroller.dsp:
12006 Fixed Release post build configuration
12008 2006-02-17 Wim Taymans <wim@fluendo.com>
12010 * tests/check/gst/gstquery.c: (GST_START_TEST):
12011 Added another check.
12013 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
12015 * plugins/elements/gsttypefindelement.c: (find_peek):
12016 We can do peeks at non-zero offsets, as long as they
12017 fall within the buffer we have.
12019 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
12021 * tests/check/Makefile.am:
12022 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12023 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12024 (parse_suite), (main):
12025 Add testsuite for parse launch syntax
12027 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
12029 * plugins/elements/gsttypefindelement.c:
12030 (gst_type_find_element_chain):
12031 When typefinding is unsuccessful in the chain function, don't
12032 error out immediately. Only error out with NO_CAPS_FOUND if
12033 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12034 otherwise simply wait for more data so we can try typefinding
12035 again with more data later. Also, don't attempt to typefind
12036 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12037 this should improve typefinding from network sources where the
12038 size of the first buffer can be somewhat random.
12040 2006-02-14 Wim Taymans <wim@fluendo.com>
12042 * docs/gst/gstreamer-sections.txt:
12043 * gst/gstpadtemplate.c:
12044 * gst/gstpadtemplate.h:
12045 Fix padtemplate docs, fixes #328805.
12047 2006-02-14 Wim Taymans <wim@fluendo.com>
12049 * tools/gst-launch.c: (main):
12050 NO_PREROLL is not an ERROR so don't send confusing messages
12053 2006-02-14 Wim Taymans <wim@fluendo.com>
12055 Patch by: Torsten Schoenfeld
12057 * gst/gstregistry.c: (gst_registry_get_default),
12058 (_gst_registry_cleanup):
12059 Protect default registry with lock and ref/sink it.
12062 2006-02-14 Wim Taymans <wim@fluendo.com>
12065 * gst/gstquery.c: (gst_query_list_add_format),
12066 (gst_query_set_formatsv), (gst_query_parse_formats_length),
12067 (gst_query_parse_formats_nth):
12068 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12071 2006-02-14 Wim Taymans <wim@fluendo.com>
12073 * docs/gst/gstreamer-sections.txt:
12074 Reworked query docs.
12076 * gst/gstquery.c: (gst_query_new_formats),
12077 (gst_query_list_add_format), (gst_query_set_formats),
12078 (gst_query_set_formatsv), (gst_query_parse_formats_length),
12079 (gst_query_parse_formats_nth):
12081 Flesh out formats query, added some new methods.
12082 Fix part of #324398.
12084 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12085 Added query creation tests.
12087 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
12089 * gst/gstpad.c: (fixate_value):
12090 Add a default fixation for fraction lists.
12092 2006-02-13 Wim Taymans <wim@fluendo.com>
12094 * gst/gsttask.c: (gst_task_init), (gst_task_func),
12095 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12098 Detect and warn for obvious deadlocks. fixes #320340
12099 Fix error case where lock was not released.
12101 * tests/check/Makefile.am:
12102 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12103 (task_func), (gst_element_suite), (main):
12106 2006-02-13 Wim Taymans <wim@fluendo.com>
12108 * docs/gst/gstreamer-sections.txt:
12110 Add new functions to docs.
12112 2006-02-13 Wim Taymans <wim@fluendo.com>
12114 * docs/design/part-TODO.txt:
12115 Updated TODO list, basesrc supports seeking to non-bytes
12118 * docs/design/part-element-sink.txt:
12121 * gst/gstbin.c: (bin_replace_message),
12122 (gst_bin_handle_message_func):
12123 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12124 * gst/gstevent.c: (gst_event_finalize):
12125 * gst/gstpad.c: (gst_pad_event_default_dispatch),
12126 (gst_pad_send_event):
12127 Use shiny new _TYPE_NAME macros.
12129 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12130 Move debug statement up.
12132 * gst/gstelement.c: (gst_element_set_locked_state):
12133 Add some debugging.
12135 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
12137 * docs/gst/gstreamer-sections.txt:
12138 * gst/gstmessage.h:
12140 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12141 macros (#330906). Also, document the already existing
12142 GST_QUERY_TYPE macro.
12144 2006-02-13 Wim Taymans <wim@fluendo.com>
12146 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12147 (event_probe), (GST_START_TEST):
12148 Only events up to the pipeline EOS are counted, there are
12149 some more when going to NULL currently which we don't care
12152 2006-02-13 Wim Taymans <wim@fluendo.com>
12154 * gst/gstpad.c: (gst_pad_send_event):
12155 Correctly check flushing and emit probes. fixes #330125
12157 2006-02-10 Andy Wingo <wingo@pobox.com>
12159 * gst/gstbus.c (gst_bus_class_init): Declare our private data
12161 (gst_bus_init): Cache the location of the private data in the
12162 instance structure.
12163 (gst_bus_enable_sync_message_emission)
12164 (gst_bus_disable_sync_message_emission): Implement new public
12166 (gst_bus_post): Emit the sync-message signal if the user asked for
12169 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12170 location of the bus-private structure.
12171 (gst_bus_enable_sync_message_emission)
12172 (gst_bus_disable_sync_message_emission): API addition
12174 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
12176 Patch by: Vincent Torri
12178 * docs/pwg/building-boiler.xml:
12179 PWG patch from #326800
12181 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
12184 * docs/Makefile.am:
12185 * docs/design/Makefile.am:
12188 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12193 === release 0.10.3 ===
12195 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12198 releasing 0.10.3, "Like a virgin"
12200 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
12203 2nd prerelease of 0.10.3
12204 Bump libtool versioning.
12206 2006-02-07 Andy Wingo <wingo@pobox.com>
12208 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12209 update last_stop if we're in TIME format and the timestamp is
12212 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
12213 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
12214 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12215 If we get a new newsegment with a different format, adapt
12218 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12219 of 0. Not a problem, really.
12221 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12224 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
12229 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
12232 project files updated to the default vs7 configuration
12233 * win32/common/libgstbase.def:
12234 * win32/common/libgstreamer.def:
12236 removed empty lines,
12237 sorted all exported symbols alphabetically
12238 * win32/common/dirent.c:
12239 * win32/common/dirent.h:
12240 * win32/common/gchar.h:
12241 use windows line end.
12243 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12245 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12246 Send EOS event when stopping.
12248 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12251 Tell folks what to do if the plugin-foobar.xml file
12252 hasn't been generated for a newly-added plugin.
12254 2006-02-05 Julien MOUTTE <julien@moutte.net>
12256 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12257 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12258 (gst_collect_pads_start), (gst_collect_pads_stop),
12259 (gst_collect_pads_event): Collectpads now holds a reference
12260 to the GstPad that was added. Indeed we don't want to look
12261 at pads that might just go away with no warning...
12263 2006-02-05 Julien MOUTTE <julien@moutte.net>
12265 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12266 (gst_collect_pads_start), (gst_collect_pads_stop),
12267 (gst_collect_pads_event), (gst_collect_pads_chain):
12268 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12269 Mark Nauwelaerts's patch on bug #328491.
12271 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12273 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12275 Add some simple tests for gst_parse_bin_from_description() and
12276 gst_bin_find_unconnected_pad() (#329069).
12278 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12280 * tools/gst-launch.c: (event_loop), (main):
12281 Catch errors during preroll (#320084).
12283 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
12285 * plugins/elements/gsttypefindelement.c:
12286 (gst_type_find_element_activate):
12287 Post TYPE_NOT_FOUND error message when typefinding
12288 is unsuccessful in the activate function as well.
12290 2006-02-02 Wim Taymans <wim@fluendo.com>
12292 * docs/design/part-element-sink.txt:
12295 2006-02-02 Wim Taymans <wim@fluendo.com>
12297 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12298 (gst_base_sink_render_object),
12299 (gst_base_sink_queue_object_unlocked):
12300 Only keep track of prerollable items when we are
12302 Before rendering after preroll, always check if we
12304 Added some more debugging.
12306 2006-02-02 Wim Taymans <wim@fluendo.com>
12308 * gst/gstelement.c: (gst_element_continue_state),
12309 (gst_element_set_state_func), (gst_element_change_state):
12310 Fixed #326576, been running this for quite some time with
12311 no regressions at all.
12313 2006-02-02 Wim Taymans <wim@fluendo.com>
12316 Added more suppressions
12318 2006-02-02 Wim Taymans <wim@fluendo.com>
12320 * docs/design/part-element-sink.txt:
12323 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12324 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12325 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12326 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12327 (gst_base_sink_do_sync), (gst_base_sink_render_object),
12328 (gst_base_sink_preroll_object),
12329 (gst_base_sink_queue_object_unlocked),
12330 (gst_base_sink_queue_object), (gst_base_sink_event),
12331 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12332 (gst_base_sink_loop), (gst_base_sink_activate_pull),
12333 (gst_base_sink_get_position), (gst_base_sink_change_state):
12334 * libs/gst/base/gstbasesink.h:
12335 Totally refactored matching the design doc.
12336 Use two segments, one to clip incomming buffers and another to
12338 Handle queueing correctly, bypass the queue when playing.
12339 Make EOS cancelable.
12340 Handle errors correctly when operating in pull based mode.
12342 * tests/check/elements/fakesink.c: (GST_START_TEST),
12344 Added new check for sinks.
12346 2006-02-02 Wim Taymans <wim@fluendo.com>
12348 * gst/gstsegment.c: (gst_segment_clip):
12349 No reason to refuse to clip when start == -1
12351 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12354 * docs/manual/intro-basics.xml:
12355 * docs/manual/intro-preface.xml:
12356 * docs/manual/manual.xml:
12357 * docs/pwg/advanced-dparams.xml:
12358 * docs/pwg/intro-basics.xml:
12359 * docs/pwg/intro-preface.xml:
12360 * docs/pwg/pwg.xml:
12361 describe dparams (controller) for plugins
12362 unify docs a little more
12364 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12366 * docs/gst/gstreamer-sections.txt:
12367 * gst/gstutils.c: (element_find_unconnected_pad),
12368 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12370 Add new API: gst_parse_bin_from_description() and
12371 gst_bin_find_unconnected_pad() (#329069).
12373 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12375 * docs/manual/README:
12376 uncover a nasty detail of the docs build
12378 2006-01-31 Wim Taymans <wim@fluendo.com>
12380 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12381 Don't cache duration messages if we're not going to use or
12384 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12386 * docs/manual/advanced-dparams.xml:
12387 * docs/pwg/advanced-dparams.xml:
12391 * libs/gst/controller/lib.c: (gst_controller_init):
12394 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12396 * gst/gstelement.c: (gst_element_message_full):
12397 also show file/line/func if no additional debug was given
12399 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12401 * win32/vs7/grammar.vcproj:
12402 activate copy of autogenerated files for Release mode
12404 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12406 * win32/common/libgstreamer.def:
12407 export gst_value_compare
12409 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12411 * plugins/elements/Makefile.am:
12412 * plugins/elements/gstelements.c:
12413 * plugins/elements/gstfdsink.c: (_do_init),
12414 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12415 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12416 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12417 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12418 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12419 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12420 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12421 * plugins/elements/gstfdsink.h:
12422 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12424 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12426 * docs/manual/advanced-dparams.xml:
12427 describe controller
12428 * docs/manual/advanced-position.xml:
12429 * docs/manual/basics-init.xml:
12430 * docs/manual/manual.xml:
12431 * docs/manual/titlepage.xml:
12432 * docs/pwg/pwg.xml:
12433 * docs/pwg/titlepage.xml:
12434 cleanup xml (more to come)
12435 * libs/gst/controller/gstcontroller.c:
12438 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12440 * win32/vs6/grammar.dsp:
12441 add autogen of gstmarshal.c,h for Release mode
12443 2006-01-30 Wim Taymans <wim@fluendo.com>
12445 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12446 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12447 (gst_base_sink_handle_object), (gst_base_sink_event),
12448 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12449 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12450 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12451 (gst_base_sink_deactivate), (gst_base_sink_activate),
12452 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12453 (gst_base_sink_query), (gst_base_sink_change_state):
12454 Basesink cleanups, remove some old code.
12455 Handle the case where a subclass can preroll in the render
12456 method (mostly audiosinks).
12457 Handle more events.
12458 Remove some locks around variables that are now protected
12459 with the PREROLL_LOCK (clock_id, flushing, ..).
12460 Optimize position query some more, do correct locking.
12461 Remove old code to push queue in state change, this is not
12462 needed anymore since preroll blocks on all prerollable items
12464 Almost implemented as described in design doc.
12466 2006-01-30 Wim Taymans <wim@fluendo.com>
12468 * tests/check/gst/gstbin.c: (GST_START_TEST):
12469 Wait for refcount to settle down before checking.
12471 2006-01-30 Wim Taymans <wim@fluendo.com>
12473 * docs/design/part-element-sink.txt:
12474 Pseudo code overview of desired sink behaviour regarding
12477 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12478 * win32/vs6/grammar.dsp:
12479 fix some bugs in Release mode for autogenerated files
12481 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12482 * win32/common/libgstbase.def:
12483 * win32/common/libgstreamer.def:
12484 export some new symbols: gst_base_src_set_format,
12485 gst_iterator_next, gst_structure_set_valist
12487 2006-01-29 Julien MOUTTE <julien@moutte.net>
12489 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12490 Set pad functions unconditionally. Fixes #329105.
12492 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12494 add vs8 project files created by Sergey Scobich
12496 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12498 * gst/gstutils.c: (gst_element_unlink_pads):
12499 Don't leak pad references.
12501 * tests/check/elements/fakesink.c: (GST_START_TEST):
12502 * tests/check/generic/sinks.c: (GST_START_TEST):
12503 * tests/check/generic/states.c: (GST_START_TEST):
12504 * tests/check/gst/gstbin.c: (GST_START_TEST):
12505 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12506 * tests/check/gst/gstelement.c: (GST_START_TEST):
12507 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12508 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12509 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12510 Fix a bunch of leaks. Make generic/sinks.c
12511 use a bit less cpu by slowing the buffer rate
12512 between fakesrc and fakesink.
12514 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12516 * gst/gstelement.c: (gst_element_send_event):
12519 * gst/gstiterator.c:
12520 * gst/gstiterator.h:
12521 * gst/gstpad.c: (gst_pad_send_event):
12522 * gst/gststructure.c:
12526 * libs/gst/base/gstadapter.c:
12527 doc fixes, to link to function, just write gst_cool_function(), don't
12530 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12532 * plugins/elements/gsttee.c: (gst_tee_do_push),
12533 (gst_tee_handle_buffer):
12534 Always prefer an actual return value from a src
12535 pad in place of NOT_LINKED. This means we return
12536 WRONG_STATE when all src pads are WRONG_STATE
12537 instead of NOT_LINKED.
12539 Lock when replacing the last message to prevent
12540 racing with the get_property method.
12544 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12546 * tests/check/Makefile.am:
12547 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12549 Add a very simple check that should have caught the memleak I fixed
12550 last night (if not for the slice allocator hiding it)
12552 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12554 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12555 (gst_bin_remove_func), (gst_bin_handle_message_func),
12556 (bin_query_duration_fold), (bin_query_generic_fold):
12557 Clean up references to the clock provider when disposed or when
12558 handling a clock-lost message from it.
12560 Unref sinks when performing a query via gst_iterator_fold, as the
12561 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12563 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12564 (gst_clock_set_master):
12565 Drop our reference to the master clock, if any, when we are disposed.
12567 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12568 Chain up in dispose.
12570 2006-01-26 Wim Taymans <wim@fluendo.com>
12572 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12573 Add some debugging.
12575 2006-01-26 Julien MOUTTE <julien@moutte.net>
12577 * plugins/elements/gsttee.c: (gst_tee_do_push),
12578 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12579 handles pad being NOT_LINKED or in WRONG_STATE.
12581 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12586 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12589 remove obsolete entry
12591 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12593 * docs/gst/gstreamer-sections.txt:
12594 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12595 (gst_bin_iterate_sources), (gst_bin_send_event):
12597 * gst/gstelement.c: (gst_element_send_event):
12599 * gst/gstpad.c: (gst_pad_send_event):
12600 added code for downstream events, reviewed docs in gstevent.c
12602 2006-01-25 Julien MOUTTE <julien@moutte.net>
12604 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12605 We only query position using the clock in the playing state.
12606 Query peer in the other cases.
12607 * win32/common/config.h: Updates.
12609 2006-01-24 Wim Taymans <wim@fluendo.com>
12611 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12612 A clock entry that is scheduled for the exact time of the
12613 clock is still in time.
12615 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12616 (gst_base_sink_do_sync):
12617 Add some more debug info.
12619 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12622 Add new vs7 project files and solution.
12624 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12627 all files removed as they were out-dated.
12629 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12631 * docs/random/release:
12633 * gst/gstbin.c: (gst_bin_init):
12634 * gst/gstbus.c: (gst_bus_new):
12636 * gst/gstpipeline.c: (gst_pipeline_init):
12637 use gst_bus_new(), improve logging, fix docs
12638 * win32/common/config.h:
12639 update for cvs build
12641 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12644 up required version of automake to 1.7
12646 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12648 * win32/common/libgstreamer.def:
12649 export gst_buffer_is_metadata_writable
12651 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12653 * docs/gst/gstreamer-sections.txt:
12655 Add gst_event_replace() (#327001)
12657 2006-01-20 Wim Taymans <wim@fluendo.com>
12659 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12660 Make it actually compile too..
12662 2006-01-20 Wim Taymans <wim@fluendo.com>
12665 Clarify behaviour of _is_equal() when passing NULL parameters.
12667 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12668 (gst_pad_set_caps):
12669 Cleanups. Don't unref NULL caps.
12670 When setting the same caps, protect caps of the pad with
12672 Use full functionality of _is_equal() when comparing caps.
12674 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12676 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12677 Don't loop infinitely if there are no buffers to present. Partially
12678 fixes #327197, but collectpads is just broken for reusing elements
12679 to do multiple encodes atm.
12681 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12683 * tools/gst-inspect.c: (print_element_features):
12684 * tools/gst-xmlinspect.c: (main):
12685 URL_HANDLER is not a plugin feature we can search for in
12688 2006-01-19 Edward Hervey <edward@fluendo.com>
12690 * gst/gstelement.c: (gst_element_pads_activate):
12691 When activating, do src pads first, then sink pads.
12692 When de-activating, do sink pads first, then src pads.
12694 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12696 * docs/gst/gstreamer-sections.txt:
12697 Add gst_index_add_associationv to the docs
12699 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12704 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12705 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12706 Do some refactoring. Doesn't actually change functionality,
12707 but makes landing the DRAIN event easier later.
12709 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12711 * docs/pwg/advanced-scheduling.xml:
12712 Update from 0.9.x to 0.10 API and make example a bit
12715 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12717 * docs/gst/gstreamer-sections.txt:
12718 Add gst_buffer_(is|make)_metadata_writable methods.
12720 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12722 * docs/design/part-sparsestreams.txt:
12723 Update sparse streams doc, hopefully for greater clarity
12725 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12727 * docs/design/part-events.txt:
12728 Remove mention of FILLER events.
12731 * docs/design/part-sparsestreams.txt:
12732 Write some things about using NEWSEGMENT to keep sparse streams
12735 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12737 * gst/gstbin.c: (gst_bin_dispose):
12738 Guard gst_object_unref call against a NULL object (dispose
12739 can theoretically be called multiple times).
12741 2006-01-18 Wim Taymans <wim@fluendo.com>
12743 * gst/gstbin.c: (gst_bin_element_set_state):
12744 * gst/gstclock.c: (gst_clock_id_wait):
12745 Added some more debug info.
12747 * libs/gst/base/gstadapter.c:
12750 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12751 (gst_base_sink_do_sync), (gst_base_sink_chain):
12752 Added some comments.
12754 2006-01-18 Wim Taymans <wim@fluendo.com>
12756 * tests/check/Makefile.am:
12757 * tests/check/elements/fakesink.c: (chain_async_buffer),
12758 (chain_async), (chain_async_return), (GST_START_TEST),
12759 (fakesink_suite), (main):
12760 Added fakesink test that checks prerolling and clipping
12763 * tests/check/gst/gstutils.c: (GST_START_TEST):
12764 Make check run faster so that buildbots don't timeout.
12766 2006-01-18 Wim Taymans <wim@fluendo.com>
12768 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12769 (gst_base_sink_do_sync):
12771 When the sink finishes blocking on the preroll buffer, it can
12772 immediatly render it instead of rendering when the next buffer
12775 2006-01-18 Wim Taymans <wim@fluendo.com>
12777 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12778 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12779 (gst_base_sink_chain):
12781 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12782 Don't store _last_stop if the buffer is dropped.
12784 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12786 * plugins/elements/gsttypefindelement.c:
12787 (gst_type_find_element_class_init):
12788 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12789 object method handler that sets the caps on the pad and we want
12790 that to happen before we emit the signal (fixes e.g. feeding a
12791 plain text file to decodebin).
12793 2006-01-18 Christian Schaller <Christian@fluendo.com>
12795 * gst/gstplugin.c: Add MPL and Proprietary as license options
12797 2006-01-18 Andy Wingo <wingo@pobox.com>
12799 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12800 symbol was exported before, it appears this was just an oversight.
12802 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12804 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12805 prototype to gint. OK since this prototype was not in the header.
12807 2006-01-17 Andy Wingo <wingo@pobox.com>
12809 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12810 registry while we remove plugins.
12812 * tools/gst-inspect.c (print_element_info): Don't unref the
12813 factory arg, that should be the responsibility of whatever code
12814 received the ref. Fixes a double-free when called from
12815 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12816 (main): Unref the factory if we have one.
12817 (print_element_list): No change -- relies on the
12818 plugin_feature_list_free to free the list of features.
12820 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12822 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12823 (gst_buffer_make_metadata_writable):
12825 * libs/gst/base/gstbasetransform.c:
12826 (gst_base_transform_prepare_output_buf):
12827 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12828 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12829 Replace gst_buffer_(make|is)_metadata_writable patch now
12830 that the release is out.
12832 2006-01-17 Andy Wingo <wingo@pobox.com>
12834 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12835 in the present tense without reference to versions.
12837 * gst/gstregistry.c (gst_registry_add_plugin)
12838 (gst_registry_remove_plugin, gst_registry_remove_feature)
12839 (gst_registry_find_feature, gst_registry_get_feature_list)
12840 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12841 (gst_registry_lookup, gst_registry_scan_path)
12842 (_gst_registry_remove_cache_plugins)
12843 (gst_registry_get_feature_list_by_plugin): Add argument
12846 === release 0.10.2 ===
12848 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12851 releasing 0.10.2, "If man is five"
12853 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12857 * libs/gst/base/gstbasetransform.c:
12858 (gst_base_transform_prepare_output_buf):
12859 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12860 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12861 Back out patch until after the release.
12863 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12865 * gst/gstminiobject.c:
12866 Spelling fix in docs.
12867 * ChangeLog - remove conflict indicator
12869 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12871 Reviewed By: Andy Wingo
12873 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12874 (gst_buffer_make_metadata_writable):
12876 Add gst_buffer_(is|make)_metadata_writable as analogues of
12877 gst_buffer_(is|make)_writable.
12879 * libs/gst/base/gstbasetransform.c:
12880 (gst_base_transform_prepare_output_buf):
12881 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12882 Use name gst_buffer_(is|make)_metadata_writable functions.
12884 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12885 Test gst_buffer_(is|make)_metadata_writable
12889 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12891 * docs/manual/Makefile.am:
12892 don't do parallel make
12895 * win32/common/config.h.in:
12896 add generations for HOST_CPU and GST_MAJORMINOR
12897 * win32/common/config.h:
12898 commit generated result
12900 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12902 * docs/manual/appendix-integration.xml:
12903 Update GNOME integration section to use gst_init_get_option_group()
12904 instead of the old popt stuff (#322911). Also, GNOME applications
12905 should now use gconf*sink and gconf*src instead of the old gconf
12908 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12911 * docs/gst/gstreamer-docs.sgml:
12912 * docs/gst/gstreamer-sections.txt:
12913 * docs/libs/gstreamer-libs-sections.txt:
12914 add new API entries to the docs
12915 * libs/gst/controller/Makefile.am:
12916 * libs/gst/controller/gstcontroller.c:
12917 * libs/gst/controller/gstcontroller.h:
12918 * libs/gst/controller/gstcontrollerprivate.h:
12919 * libs/gst/controller/gsthelper.c:
12920 * libs/gst/controller/gstinterpolation.c:
12921 move private structs to private header
12923 gstreamer-0.7 -> gstreamer-0.10
12924 * tests/check/libs/struct_i386.h:
12925 remove private structs
12927 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12929 * plugins/indexers/Makefile.am:
12930 Fixes as part of #317048
12932 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12934 * plugins/indexers/Makefile.am:
12935 fix #316086 - compilation when mmap is missing
12937 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12939 * libs/gst/base/gstbasesink.c:
12940 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12941 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12942 * win32/common/config.h:
12943 added some defines GST_MAJORMINOR and HOST_CPU
12944 * win32/common/libgstbase.def:
12945 * win32/common/libgstreamer.def:
12946 added some exported functions.
12948 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12950 * libs/gst/controller/gstcontroller.c:
12951 (gst_controlled_property_set_interpolation_mode),
12952 (gst_controlled_property_new):
12953 * libs/gst/controller/gstcontroller.h:
12954 * libs/gst/controller/gstinterpolation.c:
12955 (interpolate_none_get_string_value_array):
12956 make G_TYPE_STRING controlable
12958 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12961 * tools/gst-feedback.1.in:
12962 * tools/gst-inspect.1.in:
12963 * tools/gst-launch.1.in:
12964 * tools/gst-md5sum.1.in:
12965 * tools/gst-typefind.1.in:
12966 * tools/gst-xmlinspect.1.in:
12967 * tools/gst-xmllaunch.1.in:
12968 cleanup man-pages, remove reference to gst-register, document env-vars
12970 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12972 * gst/gstbuffer.c: (gst_buffer_span):
12973 gst_buffer_span should copy the timestamp of the first buffer
12974 if they were both originally overlapping subbuffers of the
12975 same parent, using the same logic as the 'slow copy' case.
12977 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12980 Need to awaken ALL the pads when we pop a buffer, otherwise
12981 collectpads only works when there is 2 input streams.
12983 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12985 * docs/random/ensonic/media-device-daemon.txt:
12988 fix doc example, add clarification
12989 * tools/gst-launch.1.in:
12990 add initial info about GST_PLUGIN_PATH, needs more work
12992 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12994 * docs/manual/basics-bins.xml:
12995 * docs/manual/basics-elements.xml:
12996 * docs/manual/intro-basics.xml:
12997 Some more minor docs additions and updates.
12999 2006-01-11 Wim Taymans <wim@fluendo.com>
13001 * docs/manual/basics-bins.xml:
13002 * docs/manual/basics-elements.xml:
13003 Some small fixes as pointed out by Ser-ver on IRC.
13005 2006-01-10 Edward Hervey <edward@fluendo.com>
13007 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13008 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13009 the single-segment mode.
13011 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
13013 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13015 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13016 (gst_base_src_perform_seek), (gst_base_src_send_event),
13017 (gst_base_src_set_property), (gst_base_src_get_property),
13018 (gst_base_src_loop), (gst_base_src_start),
13019 (gst_base_src_activate_push):
13020 * libs/gst/base/gstbasesrc.h:
13021 Name (private) union; makes Sun's Forte compiler happy (#324900).
13023 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
13026 gst-register is gone.
13028 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
13030 * gst/gstvalue.c: (_gst_value_initialize):
13031 make the G_TYPE_DATE instantiation work if debug is disabled
13033 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
13035 * gst/gstmessage.c: (gst_message_parse_tag),
13036 (gst_message_parse_error), (gst_message_parse_warning):
13037 Don't crash when return location for error/warning debug
13038 string is NULL; add fact that return locations can be
13039 NULL to docs where appropriate.
13041 2006-01-05 Wim Taymans <wim@fluendo.com>
13043 * gst/gstplugin.c: (gst_plugin_load_file):
13044 Replace strdup by g_strdup.
13046 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13048 * docs/pwg/advanced-types.xml:
13051 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13053 submitted by: Abel Cheung
13057 Added Chinese (traditional) translation
13059 2006-01-04 Wim Taymans <wim@fluendo.com>
13061 * docs/manual/basics-pads.xml:
13062 * docs/plugins/Makefile.am:
13063 * docs/plugins/gstreamer-plugins-docs.sgml:
13064 * docs/plugins/gstreamer-plugins-sections.txt:
13065 * docs/pwg/advanced-clock.xml:
13066 * docs/pwg/advanced-scheduling.xml:
13067 * docs/pwg/advanced-types.xml:
13068 * plugins/elements/gstfdsink.c:
13069 * plugins/elements/gstfdsrc.c:
13070 * plugins/elements/gstfdsrc.h:
13071 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13072 * plugins/elements/gstidentity.h:
13073 * plugins/elements/gstqueue.h:
13074 * plugins/elements/gsttee.c:
13075 * plugins/elements/gsttee.h:
13076 * plugins/elements/gsttypefindelement.c:
13077 (gst_type_find_element_class_init):
13078 * plugins/elements/gsttypefindelement.h:
13079 Small updates to various docs.
13080 Added core plugins to docs.
13082 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13085 add a suppression for liboil's uninitialized variable
13087 2006-01-02 James Livingston <jrl at ids dot org dot au>
13089 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13092 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13093 macro, so that gcc doesn't complain if the -Wmissing-prototypes
13094 compiler switch is being used (#325429).
13096 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
13098 * gst/gstbin.c: (gst_bin_query):
13099 Disable duration query caching in bins until it gets
13100 fixed (see #324807).
13102 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
13104 * tools/gst-inspect.c: (print_element_properties_info):
13105 Handle properties of POINTER and BOXED type.
13107 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
13109 * gst/gst.c: (init_post):
13110 Init tags stuff and some other things before loading
13111 any static plugins (there may be other static plugins
13112 than just the GStreamer ones, and they may want to
13113 register their own tags or formats or whatever, and
13114 preferably without segfaulting).
13116 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13117 Print at least a warning in the debug logs if we drop a
13118 query just because we don't know how to adjust the value
13119 in the particular format.
13121 2005-12-24 David Schleef <ds@schleef.org>
13123 * tools/gstreamer-completion:
13124 Replacement for gst-complete written in sh and sed. Only
13125 completes names of features, but that's 90% of what I want
13126 it for. Properties are not available in registry.xml. (Maybe
13129 === release 0.10.1 ===
13131 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
13134 releasing 0.10.1, "Nollaig chridheil"
13136 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
13138 * docs/faq/cvs.xml:
13139 Add missing quote, should be make ERROR_CFLAGS="".
13141 2005-12-20 Wim Taymans <wim@fluendo.com>
13143 * docs/design/part-trickmodes.txt:
13144 More documentation on trickmodes.
13146 2005-12-20 Edward Hervey <edward@fluendo.com>
13148 * gst/gstcaps.c: (gst_static_caps_get_type):
13150 API addition: GST_TYPE_STATIC_CAPS
13151 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13152 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13153 * gst/gstpadtemplate.h:
13154 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13155 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13158 2005-12-18 Wim Taymans <wim@fluendo.com>
13160 * libs/gst/base/gstadapter.c:
13161 * libs/gst/base/gstadapter.h:
13162 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13163 (gst_base_sink_get_position):
13164 * libs/gst/base/gstbasesink.h:
13165 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13166 (gst_base_src_default_query), (gst_base_src_default_do_seek),
13167 (gst_base_src_do_seek), (gst_base_src_perform_seek),
13168 (gst_base_src_send_event), (gst_base_src_update_length),
13169 (gst_base_src_get_range), (gst_base_src_loop),
13170 (gst_base_src_start):
13171 * libs/gst/base/gstbasesrc.h:
13172 * libs/gst/base/gstbasetransform.h:
13173 * libs/gst/base/gstcollectpads.h:
13174 * libs/gst/base/gstpushsrc.c:
13175 * libs/gst/base/gstpushsrc.h:
13176 * libs/gst/dataprotocol/dataprotocol.c:
13177 * libs/gst/dataprotocol/dataprotocol.h:
13178 * libs/gst/net/gstnetclientclock.h:
13179 * libs/gst/net/gstnettimeprovider.h:
13180 Documentation updates.
13182 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
13184 * docs/manual/basics-helloworld.xml:
13185 Remove superfluous closing bracket in helloworld example.
13187 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
13189 * tools/gst-launch.1.in:
13190 Update gst-launch man page; add a section with useful
13191 environment variables. Fixes #323882.
13193 2005-12-16 Stefan Kost <ensonic@users.sf.net>
13196 * gst/gst_private.h:
13197 change some char* into char[]
13199 2005-12-16 Wim Taymans <wim@fluendo.com>
13201 * gst/gstregistryxml.c: (load_feature):
13203 Don't use g_object_unref on GstObjects so that we avoid
13204 leaks on unsafe glibs.
13206 2005-12-16 Wim Taymans <wim@fluendo.com>
13208 * gst/gstbin.c: (gst_bin_recalc_state):
13211 2005-12-16 Wim Taymans <wim@fluendo.com>
13213 * common/check.mak:
13214 Added make forever target for check.
13216 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
13218 * gst/gst.c: (init_post):
13219 make the registry cache file HOST_CPU-dependent
13221 2005-12-16 Andy Wingo <wingo@pobox.com>
13223 * plugins/elements/gstbufferstore.c
13224 (gst_buffer_store_cleared_func): Pay attention to g_list_append
13227 * tests/check/gst/gstobject.c
13228 (test_fake_object_name_threaded_unique): Pay attention to
13229 g_list_sort return value.
13231 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
13233 * tools/gst-feedback-m.m:
13234 Update for 0.9/0.10 (fixes #323870).
13236 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
13238 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13239 Fix lcopy for mini objects, the mini object needs to be ref'ed.
13241 * tests/check/gst/gstminiobject.c: (my_foo_init),
13242 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13243 (test_value_collection), (gst_mini_object_suite):
13244 Add test to ensure refcounts end up as expected when passing
13245 GstMiniObjects through g_object_get() and g_object_set().
13247 2005-12-14 Julien MOUTTE <julien@moutte.net>
13249 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13250 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13251 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13252 of collectpads. This version removes a lot of races without
13253 touching API/ABI. Yay !
13255 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
13257 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13258 Don't allow activation of a srcpad in pull_range if it has no
13260 Change some debug statements to be a little clearer
13262 * plugins/elements/gsttypefindelement.c:
13263 (gst_type_find_handle_src_query):
13264 Check that we have a peer before executing queries thereupon.
13266 * tests/examples/metadata/read-metadata.c: (message_loop):
13267 Use gst_bus_pop instead of gst_bus_poll when we just want it to
13268 immediately return us any available message with 0 timeout.
13270 2005-12-12 Michael Smith <msmith@fluendo.com>
13272 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13273 Don't unref factories after calling them.
13274 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13275 * plugins/elements/gsttypefindelement.c:
13276 (gst_type_find_element_chain):
13277 Free lists of factories after using them. Fixing typefinding memory
13280 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13282 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13283 (gst_plugin_feature_load):
13284 more meaningful debug output
13286 * tests/Makefile.am:
13287 * tests/old/examples/Makefile.am:
13288 make make distcheck happy again
13290 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13292 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13293 Catch the special case where we are operating chain-based,
13294 but the downstream peer pad has no chain function. Emit a
13295 custom error message in this case instead of letting the
13296 core generate one implying that this is some sort of core
13297 bug. It's not, it just means that whatever got plugged
13298 into the pipeline downstream when we announced the type
13299 can only operate pull-based, while our source can only
13300 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13301 Error string has not been marked for translation yet, as
13302 it probably needs some more work first.
13304 (gst_type_find_element_get_best_possibility):
13305 Add helper function to find the best of all available
13306 found possibilities that qualify given the min. threshold.
13308 (gst_type_find_element_handle_event):
13309 Fix the case where we get an EOS while still in TYPEFIND
13310 mode (we want to chose the best of all possible types,
13311 not just the first type that happens to be in our unsorted
13312 list of possible types).
13314 (gst_type_find_element_chain):
13315 Make sure we return GST_FLOW_ERROR when we errored out
13316 in stop_typefinding(); also, don't just find the best of
13317 all found type entries and then use the last examined
13318 type entry, but actually use the best entry.
13320 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13322 * tests/examples/typefind/typefind.c: (type_found):
13323 * tests/examples/xml/runxml.c: (xml_loaded):
13324 More gcc4 fixes and a mem leak fix.
13326 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13328 * tests/examples/xml/createxml.c: (object_saved):
13331 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13333 * tests/Makefile.am:
13334 enable the examples even more
13336 2005-12-12 Andy Wingo <wingo@pobox.com>
13338 * libs/gst/net/gstnettimeprovider.c
13339 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13340 (gst_net_time_provider_set_property)
13341 (gst_net_time_provider_get_property):
13342 API addition: Export "active" as a GObject property.
13343 (gst_net_time_provider_thread): Only respond to time queries if
13344 the time provider is active.
13346 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13347 NetTimeProvider, preserving binary compat.
13349 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13351 * tests/examples/controller/audio-example.c: (main):
13352 * tests/examples/launch/Makefile.am:
13353 convert comments again
13355 2005-12-12 Wim Taymans <wim@fluendo.com>
13357 * libs/gst/base/gstpushsrc.c:
13360 2005-12-12 Wim Taymans <wim@fluendo.com>
13362 * docs/libs/gstreamer-libs-sections.txt:
13363 Added new symbol to docs.
13365 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13366 (gst_base_src_init), (gst_base_src_set_format),
13367 (gst_base_src_default_query), (gst_base_src_query),
13368 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13369 (gst_base_src_perform_seek), (gst_base_src_send_event),
13370 (gst_base_src_default_event), (gst_base_src_event_handler),
13371 (gst_base_src_set_property), (gst_base_src_get_property),
13372 (gst_base_src_wait), (gst_base_src_do_sync),
13373 (gst_base_src_update_length), (gst_base_src_get_range),
13374 (gst_base_src_check_get_range), (gst_base_src_loop),
13375 (gst_base_src_default_negotiate), (gst_base_src_start),
13376 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13377 (gst_base_src_change_state):
13378 * libs/gst/base/gstbasesrc.h:
13379 Implement seeking to other formats than _BYTES.
13380 Implement more seeking methods correctly.
13382 Added query vmethod.
13383 Added do_seek vmethod to make life easier for subclasses
13385 API addition: gst_base_src_set_format()
13387 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13389 * tests/examples/Makefile.am:
13392 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13395 * docs/random/ensonic/media-device-daemon.txt:
13396 * tests/examples/controller/.cvsignore:
13397 * tests/examples/controller/Makefile.am:
13398 * tests/examples/controller/audio-example.c: (main):
13399 * tests/examples/helloworld/.cvsignore:
13400 * tests/examples/helloworld/Makefile.am:
13401 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13402 * tests/examples/launch/.cvsignore:
13403 * tests/examples/launch/Makefile.am:
13404 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13405 * tests/examples/metadata/.cvsignore:
13406 * tests/examples/metadata/Makefile.am:
13407 * tests/examples/metadata/read-metadata.c: (message_loop),
13408 (make_pipeline), (print_tag), (main):
13409 * tests/examples/queue/.cvsignore:
13410 * tests/examples/queue/Makefile.am:
13411 * tests/examples/queue/queue.c: (event_loop), (main):
13412 * tests/examples/typefind/.cvsignore:
13413 * tests/examples/typefind/Makefile.am:
13414 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13416 * tests/examples/xml/.cvsignore:
13417 * tests/examples/xml/Makefile.am:
13418 * tests/examples/xml/createxml.c: (object_saved), (main):
13419 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13420 * tests/old/examples/Makefile.am:
13421 * tests/old/examples/TODO:
13422 * tests/old/examples/controller/.cvsignore:
13423 * tests/old/examples/controller/Makefile.am:
13424 * tests/old/examples/controller/audio-example.c:
13425 * tests/old/examples/helloworld/.cvsignore:
13426 * tests/old/examples/helloworld/Makefile.am:
13427 * tests/old/examples/helloworld/helloworld.c:
13428 * tests/old/examples/launch/.cvsignore:
13429 * tests/old/examples/launch/Makefile.am:
13430 * tests/old/examples/launch/mp3parselaunch.c:
13431 * tests/old/examples/launch/mp3play:
13432 * tests/old/examples/manual/Makefile.am:
13433 * tests/old/examples/metadata/Makefile.am:
13434 * tests/old/examples/metadata/read-metadata.c:
13435 * tests/old/examples/queue/.cvsignore:
13436 * tests/old/examples/queue/Makefile.am:
13437 * tests/old/examples/queue/queue.c:
13438 * tests/old/examples/typefind/.cvsignore:
13439 * tests/old/examples/typefind/Makefile.am:
13440 * tests/old/examples/typefind/typefind.c:
13441 * tests/old/examples/xml/.cvsignore:
13442 * tests/old/examples/xml/Makefile.am:
13443 * tests/old/examples/xml/createxml.c:
13444 * tests/old/examples/xml/runxml.c:
13445 applied some simple fixing to some examples
13446 re-enabled the working examples
13448 2005-12-12 Wim Taymans <wim@fluendo.com>
13450 * gst/gstsegment.c: (gst_segment_init),
13451 (gst_segment_set_last_stop), (gst_segment_set_seek),
13452 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13453 (gst_segment_to_running_time):
13454 Added more documentation.
13455 Make sure the last_pos value is updated properly.
13456 Make sure to_stream_time and to_running_time don't
13457 operate on wrong values.
13459 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13462 2005-12-12 Michael Smith <msmith@fluendo.com>
13464 * plugins/elements/gsttypefindelement.c: (free_entry),
13465 (gst_type_find_element_chain):
13466 Now that we're not leaking factories, make sure we keep references
13467 to them while we need them.
13469 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13471 * tests/check/gst/struct_i386.h:
13472 ifdef out the XML structs
13474 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13476 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13477 floor is not needed, F is always positive; this obviates the
13478 need for adding -lm when building without libxml
13480 2005-12-12 Wim Taymans <wim@fluendo.com>
13482 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13483 Take current playback rate into account when reporting
13486 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13488 * docs/manual/mime-world.fig:
13489 Let's try this again, this time with a file that is
13490 actually in XFig format.
13492 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13494 * docs/manual/mime-world.fig:
13495 Add audioconvert element to diagram so that it
13496 matches the text and the code (fixes #319526).
13498 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13500 * docs/pwg/building-chainfn.xml:
13501 * docs/pwg/building-pads.xml:
13502 * docs/pwg/building-state.xml:
13503 * docs/pwg/other-source.xml:
13504 Update state change stuff for 0.10 (fixes #322969).
13506 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13508 * docs/manual/advanced-dataaccess.xml:
13509 * docs/manual/appendix-checklist.xml:
13510 * docs/manual/appendix-programs.xml:
13511 * docs/manual/basics-pads.xml:
13512 * docs/manual/highlevel-components.xml:
13513 * docs/manual/manual.xml:
13514 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13515 add converters in front of pipelines; remove curly
13516 brackets for threads stuff, they no longer exist; use
13517 GST_TYPE_FRACTION for framerates; update some pieces of
13518 code to 0.10, but there's plenty more to do.
13520 * docs/manual/appendix-porting.xml:
13521 Expand on asynchroneous state changes; s/0.9/0.10/;
13522 mention disappearance of gst_init_get_popt_table()
13525 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13527 * docs/faq/using.xml:
13528 Spider no longer exists, and neither does gst-launch-ext.
13529 Update examples to use decodebin and playbin and put
13530 converters in front of sinks (fixes #323726).
13532 2005-12-09 Michael Smith <msmith@fluendo.com>
13534 * plugins/elements/gsttypefindelement.c: (find_peek),
13535 (gst_type_find_element_chain):
13536 Fix leaking element factories in typefinding.
13537 Fix problem where we forgot about a probable type on non-seekable
13538 files, and thus later mis-typefound it.
13540 2005-12-09 Michael Smith <msmith@fluendo.com>
13542 * common/m4/gst-makecontext.m4:
13543 * common/m4/gst-mcsc.m4:
13545 * win32/common/config.h:
13546 * win32/common/config.h.in:
13547 Remove makecontext stuff; not used in 0.10 and causes problems on
13548 HPUX according to bug #322441
13550 2005-12-07 Wim Taymans <wim@fluendo.com>
13552 * tests/check/Makefile.am:
13553 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13555 * tests/check/libs/struct_i386.h:
13556 Added ABI check for libs
13558 2005-12-07 Wim Taymans <wim@fluendo.com>
13560 * tests/check/Makefile.am:
13561 And add the struct_i386.h to dist.
13563 2005-12-07 Wim Taymans <wim@fluendo.com>
13565 * tests/check/Makefile.am:
13566 * tests/check/gst/.cvsignore:
13567 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13569 * tests/check/gst/struct_i386.h:
13570 Added check for ABI compatibility.
13572 2005-12-07 Wim Taymans <wim@fluendo.com>
13574 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13575 (gst_fake_src_get_times), (gst_fake_src_create):
13576 Fix broken sync option, fixes #323259
13578 2005-12-07 Wim Taymans <wim@fluendo.com>
13583 * gst/gstcaps.c: (gst_caps_is_equal):
13584 Don't assert on NULL <--> X. Fixes #323260
13586 * gst/gstminiobject.c: (gst_mini_object_replace):
13587 If we're doing atomic operations, we might just as well use
13588 the proper way to get an atomic pointer.
13590 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13591 Clean up debugging.
13593 2005-12-07 Michael Smith <msmith@fluendo.com>
13595 * gst/parse/grammar.y:
13596 Remove handling of { } for threads.
13598 2005-12-06 David Schleef <ds@schleef.org>
13600 * libs/gst/base/gstbasetransform.c: speling fix.
13602 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13604 * docs/libs/tmpl/gstdataprotocol.sgml:
13605 * docs/random/omega/testing/gstobject.c:
13608 * gst/gstelement.c:
13609 * gst/gstelementfactory.c:
13612 * gst/gstghostpad.c:
13614 * gst/gstpadtemplate.c:
13615 * gst/gstregistryxml.c:
13616 * gst/gsttaglist.c:
13617 * gst/gsttagsetter.c:
13618 * gst/gsttypefind.c:
13620 * libs/gst/base/gstbasesrc.c:
13621 * libs/gst/net/gstnetclientclock.c:
13622 * libs/gst/net/gstnettimeprovider.c:
13623 * plugins/elements/gstfakesrc.c:
13624 * plugins/elements/gstfdsrc.c:
13625 * plugins/elements/gstfilesrc.c:
13626 * plugins/elements/gstidentity.c:
13627 * plugins/elements/gstqueue.c:
13628 * plugins/elements/gsttypefindelement.c:
13629 * plugins/indexers/gstfileindex.c:
13630 * plugins/indexers/gstmemindex.c:
13631 * tests/check/gst/gsttag.c:
13632 * tests/old/examples/cutter/cutter.c:
13633 * tests/old/examples/mixer/mixer.c:
13634 * tests/old/examples/xml/runxml.c: (main):
13635 * tests/old/testsuite/caps/normalisation.c:
13636 * tests/old/testsuite/debug/global.c:
13637 * tests/old/testsuite/parse/parse1.c:
13638 * tools/gst-xmlinspect.c:
13639 * win32/common/dirent.c:
13642 === release 0.10.0 ===
13644 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13647 releasing 0.10.0, "Maroilles"
13649 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13651 submitted by: Funda Wang <fundawang@linux.net.cn>
13655 added Chinese (Traditional) translation
13657 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13659 * docs/gst/gstreamer-sections.txt:
13660 * docs/libs/tmpl/gstdataprotocol.sgml:
13661 * docs/random/thomasvs/TODO:
13666 2005-12-05 Andy Wingo <wingo@pobox.com>
13668 patch by: Wim Taymans <wim@fluendo.com>
13670 * libs/gst/base/gstbasetransform.c
13671 (gst_base_transform_prepare_output_buf)
13672 (gst_base_transform_buffer_alloc):
13673 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13674 alloc_buffer_and_set_caps.
13676 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13677 set_caps on the source pad.
13678 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13679 alloc_buffer used to do. Fixes #322874.
13681 * docs/gst/gstreamer-sections.txt:
13682 * docs/design/part-negotiation.txt:
13683 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13686 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13688 patch by: Sebastien Moutte
13691 * win32/common/config.h.in:
13692 * win32/vs6/libgstcontroller.dsp:
13695 2005-12-05 Wim Taymans <wim@fluendo.com>
13697 * gst/gstcaps.c: (gst_caps_is_equal):
13698 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13699 (gst_fake_src_create):
13700 Back out previous code changes, leave doc updates, file bugs
13703 2005-12-05 Wim Taymans <wim@fluendo.com>
13705 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13706 (gst_fake_src_get_times), (gst_fake_src_create):
13707 * plugins/elements/gstfakesrc.h:
13708 Fix broken sync code.
13710 2005-12-05 Wim Taymans <wim@fluendo.com>
13712 * gst/gstcaps.c: (gst_caps_is_equal):
13713 Comparing NULL against !NULL yields different caps, not a
13716 2005-12-05 Wim Taymans <wim@fluendo.com>
13718 * gst/gstpipeline.c:
13719 Fix small typo in docs.
13721 2005-12-05 Andy Wingo <wingo@pobox.com>
13723 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13725 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13726 registries/plugins with a MAJORMINOR one.
13727 (plugin_desc): Rename library from gstcoreleements to
13728 staticelements. Fixes #323222.
13730 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13732 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13733 Change debug category to 'collectpads' from 'collect_pads'
13736 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13738 patch by: Sebastien Moutte
13740 * libs/gst/controller/gstinterpolation.c:
13741 use convert function for uint64/double
13742 * win32/vs6/libgstcontroller.dsp:
13745 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13747 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13748 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13750 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13751 add tests that seem to show that the guint64/gdouble conversions
13754 2005-12-02 Wim Taymans <wim@fluendo.com>
13756 * gst/gstregistry.c: (gst_registry_add_path):
13757 * gst/gstregistry.h:
13758 * gst/gstregistryxml.c:
13761 2005-12-02 Wim Taymans <wim@fluendo.com>
13763 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13764 (gst_util_uint64_scale_int):
13767 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13768 Add debug log line.
13770 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13773 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13776 * win32/common/config.h:
13777 * win32/vs6/gstreamer.dsw:
13778 * win32/vs6/libgstcoreelements.dsp:
13779 * win32/vs6/libgstelements.dsp:
13780 renamed core elements plugin
13782 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13784 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13786 do piece-wise major/minor comparison so 0.9 < 0.10
13787 also allow .exe extensions for tools
13789 2005-12-02 Michael Smith <msmith@fluendo.com>
13792 Escape a % to make gtkdoc happier; bug 322958.
13794 === release 0.9.7 ===
13796 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13799 releasing 0.9.7, "My Dog Has No Nose"
13801 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13803 * common/gst-xmlinspect.py:
13805 * docs/libs/tmpl/gstdataprotocol.sgml:
13806 * docs/random/release:
13825 * win32/common/config.h:
13826 * win32/common/config.h.in:
13827 * win32/vs6/gst_inspect.dsp:
13828 * win32/vs6/gst_launch.dsp:
13829 * win32/vs6/libgstbase.dsp:
13830 * win32/vs6/libgstelements.dsp:
13831 * win32/vs6/libgstreamer.dsp:
13832 * win32/vs7/GStreamer.vcproj:
13833 * win32/vs7/gst-inspect.vcproj:
13834 * win32/vs7/gst-launch.vcproj:
13835 * win32/vs7/libgstbase.vcproj:
13836 bump GST_MAJORMINOR to 0.10
13837 reset libtool version
13839 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13843 Added Bulgarian translation by (Alexander Shopov)
13845 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13847 * tests/check/gst/gstplugin.c:
13850 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13852 * common/gst-xmlinspect.py:
13853 * common/gtk-doc-plugins.mak:
13855 * docs/Makefile.am:
13856 * docs/gst/Makefile.am:
13857 * docs/gst/gstreamer-docs.sgml:
13858 * docs/gst/gstreamer-sections.txt:
13859 * docs/gst/gstreamer.types:
13860 * docs/gst/gstreamer.types.in:
13861 * docs/plugins/Makefile.am:
13862 * docs/plugins/gstreamer-plugins-docs.sgml:
13863 * docs/plugins/gstreamer-plugins-sections.txt:
13864 * docs/plugins/gstreamer-plugins.types:
13865 * docs/plugins/inspect.stamp:
13866 * docs/plugins/inspect/plugin-coreelements.xml:
13867 * docs/plugins/inspect/plugin-coreindexers.xml:
13868 * docs/plugins/scanobj-build.stamp:
13869 * gstreamer.spec.in:
13870 * plugins/elements/Makefile.am:
13871 * plugins/elements/gstelements.c:
13872 * plugins/elements/gstfakesink.c:
13873 * plugins/elements/gstfakesrc.c:
13874 * plugins/elements/gstfilesink.c:
13875 * plugins/elements/gstfilesrc.c:
13876 * plugins/elements/gstqueue.c:
13877 * plugins/indexers/Makefile.am:
13878 * plugins/indexers/gstindexers.c:
13879 document core plugins in a separate document just like all the
13881 rename these plugins to something starting with core
13883 2005-12-01 Andy Wingo <wingo@pobox.com>
13885 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13886 padding here before, but it missed the commit.
13888 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13890 * libs/gst/controller/gstinterpolation.c:
13891 whitespace prices have crashed, we should feel free to use some now
13892 use gst_guint64_to_gdouble
13894 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13896 * libs/gst/controller/gstcontroller.c:
13897 * libs/gst/controller/gsthelper.c:
13898 * libs/gst/controller/gstinterpolation.c:
13899 * libs/gst/controller/lib.c:
13900 wrap config.h include
13902 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13904 * docs/gst/gstreamer-sections.txt:
13907 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13909 * plugins/elements/gstelements.c:
13910 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13911 (gst_fd_sink__class_init), (gst_fd_sink__init),
13912 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13913 (gst_fd_sink__get_property):
13914 * plugins/elements/gstfdsink.h:
13915 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13916 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13917 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13918 (gst_fd_src_unlock), (gst_fd_src_set_property),
13919 (gst_fd_src_get_property), (gst_fd_src_create),
13920 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13921 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13922 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13923 (gst_fd_src_uri_handler_init):
13924 * plugins/elements/gstfdsrc.h:
13925 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13928 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13930 * docs/gst/Makefile.am:
13931 * docs/gst/gstreamer.types.in:
13935 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13941 * gst/gstregistry.h:
13942 * tests/benchmarks/complexity.c:
13943 * tests/benchmarks/mass-elements.c:
13944 * tests/check/Makefile.am:
13945 * tools/Makefile.am:
13946 * tools/gst-inspect.c:
13947 * tools/gst-xmlinspect.c:
13948 various fixes to make
13949 --disable-nls --disable-registry --disable-loadsave
13950 --disable-parse --disable-gst-debug
13951 work and get the core .so down to 360444 bytes after stripping
13953 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13958 * docs/random/thomasvs/TODO:
13959 * tests/Makefile.am:
13963 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13965 * win32/GStreamer.vcproj:
13968 * win32/Makefile.inspect:
13969 * win32/Makefile.launch:
13970 * win32/Makefile.register:
13971 * win32/README.txt:
13972 * win32/gst-inspect.vcproj:
13973 * win32/gst-launch.vcproj:
13974 * win32/gst-register.vcproj:
13975 * win32/gstelements.vcproj:
13976 * win32/gstgetbits.def:
13977 * win32/gstgetbits.vcproj:
13978 * win32/gstreamer-dbg.def:
13979 * win32/gstreamer.def:
13980 * win32/libgstbase.def:
13981 * win32/libgstbase.vcproj:
13982 * win32/link_oldruntime.c:
13986 * win32/msvc71.sln:
13987 move even more stuff, win32/ is nice and clean now
13989 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13991 * libs/gst/control/.cvsignore:
13996 * win32/gstbytestream.def:
13997 * win32/gstbytestream.vcproj:
13998 * win32/gstconfig.h:
13999 * win32/gstenumtypes.c:
14000 * win32/gstenumtypes.h:
14001 * win32/gstoptimalscheduler.vcproj:
14002 * win32/gstversion.h:
14004 * win32/testsuite/bins.vcproj:
14005 * win32/testsuite/bytestream.vcproj:
14006 * win32/testsuite/caps.vcproj:
14007 * win32/testsuite/cleanup.vcproj:
14008 * win32/testsuite/clock.vcproj:
14009 * win32/testsuite/debug.vcproj:
14010 * win32/testsuite/dlopen.vcproj:
14011 * win32/testsuite/dynparams.vcproj:
14012 * win32/testsuite/elements.vcproj:
14013 * win32/testsuite/ghostpads.vcproj:
14014 * win32/testsuite/indexers.vcproj:
14015 * win32/testsuite/negotiation.vcproj:
14016 * win32/testsuite/parse.vcproj:
14017 * win32/testsuite/plugin.vcproj:
14018 * win32/testsuite/refcounting.vcproj:
14019 * win32/testsuite/schedulers.vcproj:
14020 * win32/testsuite/states.vcproj:
14021 * win32/testsuite/tags.vcproj:
14022 * win32/testsuite/threads.vcproj:
14023 remove old win32 stuff that isn't maintained and should be
14026 2005-11-30 Andy Wingo <wingo@pobox.com>
14028 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14029 loading the gst.interfaces python module bork.
14031 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14032 available since GLib 2.2. Fixes #318031.
14034 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14037 * check/.cvsignore:
14038 * check/Makefile.am:
14039 * check/elements/.cvsignore:
14040 * check/elements/fakesrc.c:
14041 * check/elements/fdsrc.c:
14042 * check/elements/identity.c:
14043 * check/generic/.cvsignore:
14044 * check/generic/states.c:
14045 * check/gst-libs/.cvsignore:
14046 * check/gst-libs/controller.c:
14047 * check/gst-libs/gdp.c:
14048 * check/gst/.cvsignore:
14049 * check/gst/capslist.h:
14051 * check/gst/gstbin.c:
14052 * check/gst/gstbuffer.c:
14053 * check/gst/gstbus.c:
14054 * check/gst/gstcaps.c:
14055 * check/gst/gstelement.c:
14056 * check/gst/gstevent.c:
14057 * check/gst/gstghostpad.c:
14058 * check/gst/gstiterator.c:
14059 * check/gst/gstmessage.c:
14060 * check/gst/gstminiobject.c:
14061 * check/gst/gstobject.c:
14062 * check/gst/gstpad.c:
14063 * check/gst/gstpipeline.c:
14064 * check/gst/gstplugin.c:
14065 * check/gst/gstsegment.c:
14066 * check/gst/gststructure.c:
14067 * check/gst/gstsystemclock.c:
14068 * check/gst/gsttag.c:
14069 * check/gst/gstutils.c:
14070 * check/gst/gstvalue.c:
14071 * check/net/.cvsignore:
14072 * check/net/gstnetclientclock.c:
14073 * check/net/gstnettimeprovider.c:
14074 * check/pipelines/.cvsignore:
14075 * check/pipelines/cleanup.c:
14076 * check/pipelines/simple_launch_lines.c:
14077 * check/pipelines/stress.c:
14078 * check/states/.cvsignore:
14079 * check/states/sinks.c:
14081 * examples/Makefile.am:
14082 * examples/appreader/.cvsignore:
14083 * examples/appreader/Makefile.am:
14084 * examples/appreader/appreader.c:
14085 * examples/controller/.cvsignore:
14086 * examples/controller/Makefile.am:
14087 * examples/controller/audio-example.c:
14088 * examples/cutter/.cvsignore:
14089 * examples/cutter/Makefile.am:
14090 * examples/cutter/cutter.c:
14091 * examples/cutter/cutter.h:
14092 * examples/events/Makefile.am:
14093 * examples/events/seek.c:
14094 * examples/helloworld/.cvsignore:
14095 * examples/helloworld/Makefile.am:
14096 * examples/helloworld/helloworld.c:
14097 * examples/helloworld2/.cvsignore:
14098 * examples/helloworld2/Makefile.am:
14099 * examples/helloworld2/helloworld2.c:
14100 * examples/launch/.cvsignore:
14101 * examples/launch/Makefile.am:
14102 * examples/launch/mp3parselaunch.c:
14103 * examples/launch/mp3play:
14104 * examples/manual/.cvsignore:
14105 * examples/manual/Makefile.am:
14106 * examples/manual/extract.pl:
14107 * examples/metadata/Makefile.am:
14108 * examples/metadata/read-metadata.c:
14109 * examples/mixer/.cvsignore:
14110 * examples/mixer/Makefile.am:
14111 * examples/mixer/mixer.c:
14112 * examples/mixer/mixer.h:
14113 * examples/pingpong/.cvsignore:
14114 * examples/pingpong/Makefile.am:
14115 * examples/pingpong/pingpong.c:
14116 * examples/plugins/.cvsignore:
14117 * examples/plugins/Makefile.am:
14118 * examples/plugins/example.c:
14119 * examples/plugins/example.h:
14120 * examples/pwg/.cvsignore:
14121 * examples/pwg/Makefile.am:
14122 * examples/pwg/extract.pl:
14123 * examples/queue/.cvsignore:
14124 * examples/queue/Makefile.am:
14125 * examples/queue/queue.c:
14126 * examples/queue2/.cvsignore:
14127 * examples/queue2/Makefile.am:
14128 * examples/queue2/queue2.c:
14129 * examples/queue3/.cvsignore:
14130 * examples/queue3/Makefile.am:
14131 * examples/queue3/queue3.c:
14132 * examples/queue4/.cvsignore:
14133 * examples/queue4/Makefile.am:
14134 * examples/queue4/queue4.c:
14135 * examples/retag/.cvsignore:
14136 * examples/retag/Makefile.am:
14137 * examples/retag/retag.c:
14138 * examples/retag/transcode.c:
14139 * examples/thread/.cvsignore:
14140 * examples/thread/Makefile.am:
14141 * examples/thread/thread.c:
14142 * examples/typefind/.cvsignore:
14143 * examples/typefind/Makefile.am:
14144 * examples/typefind/typefind.c:
14145 * examples/xml/.cvsignore:
14146 * examples/xml/Makefile.am:
14147 * examples/xml/createxml.c:
14148 * examples/xml/runxml.c:
14149 * tests/Makefile.am:
14150 * tests/check/Makefile.am:
14151 * testsuite/.cvsignore:
14152 * testsuite/Makefile.am:
14154 * testsuite/caps/.cvsignore:
14155 * testsuite/caps/Makefile.am:
14156 * testsuite/caps/app_fixate.c:
14157 * testsuite/caps/audioscale.c:
14158 * testsuite/caps/caps.c:
14159 * testsuite/caps/caps.h:
14160 * testsuite/caps/caps_strings:
14161 * testsuite/caps/compatibility.c:
14162 * testsuite/caps/deserialize.c:
14163 * testsuite/caps/enumcaps.c:
14164 * testsuite/caps/eratosthenes.c:
14165 * testsuite/caps/filtercaps.c:
14166 * testsuite/caps/fixed.c:
14167 * testsuite/caps/fraction-convert.c:
14168 * testsuite/caps/fraction-multiply-and-zero.c:
14169 * testsuite/caps/intersect2.c:
14170 * testsuite/caps/intersection.c:
14171 * testsuite/caps/normalisation.c:
14172 * testsuite/caps/random.c:
14173 * testsuite/caps/renegotiate.c:
14174 * testsuite/caps/sets.c:
14175 * testsuite/caps/simplify.c:
14176 * testsuite/caps/string-conversions.c:
14177 * testsuite/caps/structure.c:
14178 * testsuite/caps/subtract.c:
14179 * testsuite/caps/union.c:
14180 * testsuite/debug/.cvsignore:
14181 * testsuite/debug/Makefile.am:
14182 * testsuite/debug/category.c:
14183 * testsuite/debug/commandline.c:
14184 * testsuite/debug/global.c:
14185 * testsuite/debug/output.c:
14186 * testsuite/debug/printf_extension.c:
14187 * testsuite/dlopen/.cvsignore:
14188 * testsuite/dlopen/Makefile.am:
14189 * testsuite/dlopen/dlopen_gst.c:
14190 * testsuite/dlopen/loadgst.c:
14191 * testsuite/elements/.cvsignore:
14192 * testsuite/elements/Makefile.am:
14193 * testsuite/elements/gst-inspect-check.in:
14194 * testsuite/elements/struct_i386.h:
14195 * testsuite/elements/struct_size.c:
14196 * testsuite/indexers/.cvsignore:
14197 * testsuite/indexers/Makefile.am:
14198 * testsuite/indexers/cache1.c:
14199 * testsuite/indexers/indexdump.c:
14200 * testsuite/parse/.cvsignore:
14201 * testsuite/parse/Makefile.am:
14202 * testsuite/parse/parse1.c:
14203 * testsuite/parse/parse2.c:
14204 * testsuite/plugin/.cvsignore:
14205 * testsuite/plugin/Makefile.am:
14206 * testsuite/plugin/README:
14207 * testsuite/plugin/dynamic.c:
14208 * testsuite/plugin/linked.c:
14209 * testsuite/plugin/loading.c:
14210 * testsuite/plugin/registry.c:
14211 * testsuite/plugin/static.c:
14212 * testsuite/plugin/static2.c:
14213 * testsuite/plugin/testplugin.c:
14214 * testsuite/plugin/testplugin2.c:
14215 * testsuite/plugin/testplugin2_s.c:
14216 * testsuite/plugin/testplugin_s.c:
14217 * testsuite/refcounting/.cvsignore:
14218 * testsuite/refcounting/Makefile.am:
14219 * testsuite/refcounting/bin.c:
14220 * testsuite/refcounting/element.c:
14221 * testsuite/refcounting/element_pad.c:
14222 * testsuite/refcounting/mainloop.c:
14223 * testsuite/refcounting/mem.c:
14224 * testsuite/refcounting/mem.h:
14225 * testsuite/refcounting/object.c:
14226 * testsuite/refcounting/pad.c:
14227 * testsuite/refcounting/sched.c:
14228 * testsuite/refcounting/thread.c:
14229 * testsuite/states/.cvsignore:
14230 * testsuite/states/Makefile.am:
14231 * testsuite/states/bin.c:
14232 * testsuite/states/locked.c:
14233 * testsuite/states/parent.c:
14234 * testsuite/threads/.cvsignore:
14235 * testsuite/threads/159566.c:
14236 * testsuite/threads/159852.c:
14237 * testsuite/threads/Makefile.am:
14238 * testsuite/threads/queue.c:
14239 * testsuite/threads/signals.c:
14240 * testsuite/threads/staticrec.c:
14241 * testsuite/threads/thread.c:
14242 * testsuite/threads/threadb.c:
14243 * testsuite/threads/threadc.c:
14244 * testsuite/threads/threadd.c:
14245 * testsuite/threads/threade.c:
14246 * testsuite/threads/threadf.c:
14247 * testsuite/threads/threadg.c:
14248 * testsuite/threads/threadh.c:
14249 * testsuite/threads/threadi.c:
14250 move all of these under tests
14252 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14255 * tests/Makefile.am:
14258 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14260 * docs/gst/gstreamer-sections.txt:
14261 * tests/sched/.cvsignore:
14262 * tests/sched/Makefile.am:
14263 * tests/sched/cases/(fs-fs).xml:
14264 * tests/sched/cases/(fs-i-fs).xml:
14265 * tests/sched/cases/(fs-i-i-fs).xml:
14266 * tests/sched/cases/(fs-i-q[i-fs]).xml:
14267 * tests/sched/dynamic-pipeline.c:
14268 * tests/sched/interrupt1.c:
14269 * tests/sched/interrupt2.c:
14270 * tests/sched/interrupt3.c:
14271 * tests/sched/runtestcases:
14272 * tests/sched/runxml.c:
14273 * tests/sched/sched-stress.c:
14274 * tests/sched/sort.c:
14275 * tests/sched/testcases:
14276 * tests/sched/testcases1.tc:
14277 * tests/seeking/.cvsignore:
14278 * tests/seeking/Makefile.am:
14279 * tests/seeking/seeking1.c:
14280 * tests/threadstate/.cvsignore:
14281 * tests/threadstate/Makefile.am:
14282 * tests/threadstate/test1.c:
14283 * tests/threadstate/test2.c:
14284 * tests/threadstate/threadstate1.c:
14285 * tests/threadstate/threadstate2.c:
14286 * tests/threadstate/threadstate3.c:
14287 * tests/threadstate/threadstate4.c:
14288 * tests/threadstate/threadstate5.c:
14289 remove obsolete tests
14291 * tests/bench-complexity.scm:
14292 * tests/bench-mass_elements.scm:
14293 * tests/complexity.c:
14294 * tests/complexity.gnuplot:
14295 * tests/instantiate/.cvsignore:
14296 * tests/instantiate/Makefile.am:
14297 * tests/instantiate/caps.c:
14298 * tests/mass_elements.c:
14299 * tests/network-clock-utils.scm:
14300 * tests/network-clock.scm:
14302 First pass at cleaning up tests/ dir before moving the rest
14303 Combined with CVS surgery
14305 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14308 queue has moved, update
14310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14312 * docs/gst/gstreamer-sections.txt:
14313 remove double entries from the docs
14314 * gst/gst_private.h:
14315 * gst/gstinfo.c: (_gst_debug_init):
14316 remove the THREAD debug category
14320 * docs/gst/gstreamer.types:
14321 * plugins/elements/gstqueue.c: (gst_queue_get_type),
14322 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14323 completely move queue and fix up debugging categories
14325 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14327 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14328 make initialization portable, using LL is not
14330 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14332 * win32/common/gstconfig.h:
14335 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14337 * win32/common/libgstreamer.def:
14338 rename symbols; sort base section
14340 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14342 * gst/gstclock.c: (do_linear_regression):
14343 remove crack non-portable handrolled DEBUG macro
14345 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14347 * docs/random/release:
14349 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14350 (gst_object_flags_get_type), (register_gst_bin_flags),
14351 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14352 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14353 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14354 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14355 (gst_caps_flags_get_type), (register_gst_clock_return),
14356 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14357 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14358 (gst_clock_flags_get_type), (register_gst_state),
14359 (gst_state_get_type), (register_gst_state_change_return),
14360 (gst_state_change_return_get_type), (register_gst_state_change),
14361 (gst_state_change_get_type), (register_gst_element_flags),
14362 (gst_element_flags_get_type), (register_gst_core_error),
14363 (gst_core_error_get_type), (register_gst_library_error),
14364 (gst_library_error_get_type), (register_gst_resource_error),
14365 (gst_resource_error_get_type), (register_gst_stream_error),
14366 (gst_stream_error_get_type), (register_gst_event_type_flags),
14367 (gst_event_type_flags_get_type), (register_gst_event_type),
14368 (gst_event_type_get_type), (register_gst_seek_type),
14369 (gst_seek_type_get_type), (register_gst_seek_flags),
14370 (gst_seek_flags_get_type), (register_gst_format),
14371 (gst_format_get_type), (register_gst_index_certainty),
14372 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14373 (gst_index_entry_type_get_type),
14374 (register_gst_index_lookup_method),
14375 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14376 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14377 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14378 (gst_index_flags_get_type), (register_gst_debug_level),
14379 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14380 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14381 (gst_iterator_result_get_type), (register_gst_iterator_item),
14382 (gst_iterator_item_get_type), (register_gst_message_type),
14383 (gst_message_type_get_type), (register_gst_mini_object_flags),
14384 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14385 (gst_pad_link_return_get_type), (register_gst_flow_return),
14386 (gst_flow_return_get_type), (register_gst_activate_mode),
14387 (gst_activate_mode_get_type), (register_gst_pad_direction),
14388 (gst_pad_direction_get_type), (register_gst_pad_flags),
14389 (gst_pad_flags_get_type), (register_gst_pad_presence),
14390 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14391 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14392 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14393 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14394 (gst_plugin_flags_get_type), (register_gst_rank),
14395 (gst_rank_get_type), (register_gst_query_type),
14396 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14397 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14398 (gst_tag_flag_get_type), (register_gst_task_state),
14399 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14400 (gst_alloc_trace_flags_get_type),
14401 (register_gst_type_find_probability),
14402 (gst_type_find_probability_get_type), (register_gst_uri_type),
14403 (gst_uri_type_get_type), (register_gst_parse_error),
14404 (gst_parse_error_get_type):
14405 * win32/common/gstenumtypes.h:
14406 * win32/common/gstversion.h:
14407 update visual studio generated files
14409 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14411 * win32/vs6/libgstbase.dsp:
14412 * win32/vs6/libgstelements.dsp:
14413 update project files for new locations
14415 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14420 reinstate and update
14425 * docs/random/LICENSE:
14428 2005-11-30 Edward Hervey <edward@fluendo.com>
14430 * gst/gsttypefind.c: (gst_type_find_register):
14431 * gst/gsttypefind.h:
14432 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14433 (gst_type_find_factory_dispose):
14434 * gst/gsttypefindfactory.h:
14435 Fix memory leak in GstTypeFindFactory.
14437 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14440 * plugins/elements/Makefile.am:
14441 * plugins/elements/gstelements.c:
14442 * plugins/elements/gstqueue.c:
14443 move queue from core to the elements plugin
14445 2005-11-29 Andy Wingo <wingo@pobox.com>
14447 * libs/gst/base/gstbasetransform.h:
14448 * libs/gst/base/gstbasesrc.h:
14449 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14451 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14452 of pointers by which to pad very extensible base classes (like the
14453 ones in libs/gst/base).
14455 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14457 * docs/gst/gstreamer-docs.sgml:
14458 * docs/gst/gstreamer-sections.txt:
14459 * docs/libs/gstreamer-libs-docs.sgml:
14460 * docs/libs/gstreamer-libs-sections.txt:
14461 moving documentation from core to lib
14463 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14465 * check/Makefile.am:
14467 * docs/gst/Makefile.am:
14469 * gst/base/.cvsignore:
14470 * gst/base/Makefile.am:
14472 * gst/base/gstadapter.c:
14473 * gst/base/gstadapter.h:
14474 * gst/base/gstbasesink.c:
14475 * gst/base/gstbasesink.h:
14476 * gst/base/gstbasesrc.c:
14477 * gst/base/gstbasesrc.h:
14478 * gst/base/gstbasetransform.c:
14479 * gst/base/gstbasetransform.h:
14480 * gst/base/gstcollectpads.c:
14481 * gst/base/gstcollectpads.h:
14482 * gst/base/gstpushsrc.c:
14483 * gst/base/gstpushsrc.h:
14484 * gst/base/gsttypefindhelper.c:
14485 * gst/base/gsttypefindhelper.h:
14486 * gst/check/Makefile.am:
14487 * gst/check/gstcheck.c:
14488 * gst/check/gstcheck.h:
14489 * gst/net/Makefile.am:
14490 * gst/net/gstnet.h:
14491 * gst/net/gstnetclientclock.c:
14492 * gst/net/gstnetclientclock.h:
14493 * gst/net/gstnettimepacket.c:
14494 * gst/net/gstnettimepacket.h:
14495 * gst/net/gstnettimeprovider.c:
14496 * gst/net/gstnettimeprovider.h:
14497 * libs/gst/Makefile.am:
14498 * libs/gst/base/Makefile.am:
14499 * libs/gst/base/gstbasetransform.c:
14500 * libs/gst/check/Makefile.am:
14501 * plugins/elements/Makefile.am:
14503 CVS surgery + support to move base, check, and net out of gst
14506 2005-11-29 Andy Wingo <wingo@pobox.com>
14508 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14510 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14513 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14515 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14517 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14519 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14520 padding; reduces object size by about 30%. We don't expect
14521 anything else to go into gstobject.
14523 * gst/gstminiobject.h (struct _GstMiniObject)
14524 (struct _GstMiniObjectClass): Only one pointer of padding; the
14525 payload is only a pointer and two ints anyway. For the class there
14526 are only two methods as well.
14528 * gst/gstelement.h (struct _GstElementClass): Removed
14529 the state_changed signal callback, it is not used.
14531 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14533 * docs/gst/gstreamer.types:
14534 fix includes, though they are a little dinky
14536 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14538 * check/Makefile.am:
14539 look in the right place for elements, a lot more chance of
14542 remove indexers and elements subdirs
14543 * plugins/Makefile.am:
14544 make indexers conditional
14546 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14550 * plugins/elements/Makefile.am:
14551 * plugins/elements/gstcapsfilter.c:
14552 * plugins/elements/gstfilesink.c:
14553 * plugins/elements/gstfilesrc.c:
14554 * plugins/elements/gstidentity.c:
14555 * plugins/indexers/Makefile.am:
14556 do CVS surgery and related build fixery to move elements
14557 and indexers in a new gstreamer/plugins directory, out of the
14560 2005-11-29 Andy Wingo <wingo@pobox.com>
14562 * check/Makefile.am:
14563 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14564 * pkgconfig/gstreamer-net.pc.in:
14565 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14568 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14570 * tools/Makefile.am:
14571 * tools/gst-complete.1.in:
14572 * tools/gst-complete.c:
14573 * tools/gst-compprep.1.in:
14574 * tools/gst-compprep.c:
14575 removing -compprep and -complete
14577 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14579 * gst/gstevent.c: (gst_event_new_new_segment),
14580 (gst_event_parse_new_segment):
14582 fix #320529 - clean up new_segment API and structure.
14583 Let's hope everyone was using the methods, and not the structure.
14585 2005-11-29 Edward Hervey <edward@fluendo.com>
14587 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14588 (gst_base_sink_event), (gst_base_sink_do_sync),
14589 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14590 Properly handle non GST_FORMAT_TIME segment
14591 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14592 Properly handle non GST_FORMAT_TIME segment
14593 * gst/gstsegment.c:
14594 This function is valid if the accumulator is 0 and the format
14595 is different from the requested format.
14597 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14599 * docs/gst/gstreamer-sections.txt:
14600 Add gst_query_new_seeking and gst_query_parse_seeking to the
14603 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14605 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14606 Treat a pad alloc with new caps the same as if we were not
14607 negotiated, in order to allow a changing upstream output
14608 to produce a new format of data.
14610 2005-11-29 Edward Hervey <edward@fluendo.com>
14612 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14613 (gst_base_transform_event), (gst_base_transform_eventfunc):
14614 The event virtual method is now properly implemented, with a default
14616 Sub classes should call the parent_class event method. They should
14617 return FALSE if they had a problem handling the given event, or don't
14618 want GstBaseTransform to send that even downstream
14619 * gst/elements/gstidentity.c: (gst_identity_class_init),
14620 (gst_identity_init), (gst_identity_event),
14621 (gst_identity_transform_ip), (gst_identity_set_property),
14622 (gst_identity_get_property):
14623 * gst/elements/gstidentity.h:
14624 Added the single-segment boolean property.
14625 If set to TRUE, it will output a single segment of data, starting from
14626 0, will eat up all incoming newsegment, and modify the timestamp of the
14627 buffers accordingly
14629 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14631 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14632 Don't ref NULL target pad (#322751). Improve docs.
14634 2005-11-29 Michael Smith <msmith@fluendo.com>
14636 * gst/gstregistryxml.c: (load_plugin):
14637 Don't crash if we failed to load a feature from a plugin.
14639 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14641 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14643 use more check API and less GLib API
14645 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14648 don't run checks if we don't have check
14649 * common/check.mak:
14650 remove the registry when running make torture
14651 * docs/gst/gstreamer-sections.txt:
14652 remove second multiply
14653 * gst/gstqueue.c: (gst_queue_loop):
14654 fix a compile warning when disabling debug
14656 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14659 Hey! Let's print the pad name if the pointer != NULL instead
14660 of when it == NULL :-)
14662 2005-11-28 Wim Taymans <wim@fluendo.com>
14664 * check/gst/gstutils.c: (GST_START_TEST):
14665 Updated check, add some scaling accuracy checking code.
14667 * gst/gstutils.c: (gst_util_div128_64),
14668 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14669 (gst_util_uint64_scale_int):
14670 Fix 6 times faster division code. Optimize for common
14671 1/1 and less common X/1 cases.
14673 2005-11-28 Wim Taymans <wim@fluendo.com>
14675 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14678 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14679 (do_linear_regression), (gst_clock_add_observation):
14681 Release lock when the clock cannot be slaved.
14682 Catch the case where the regression returned an invalid denominator.
14684 * gst/gstutils.c: (gst_util_div128_64_iterate),
14685 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14686 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14687 Add protentially more performant non-iterative 128/64 divide function
14688 that unfortunatly does not work yet.
14689 Shortcut the trivial 0/X = 0 case.
14690 Remove the warnings on overflow.
14692 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14694 * gst/gstplugin.c: (gst_plugin_register_func):
14695 everything causing a plugin not to load should be at least a WARNING
14697 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14699 * docs/random/ensonic/dparams.txt:
14700 some TODOs for the next dev cycle
14701 * libs/gst/controller/gstcontroller.c:
14702 (gst_controlled_property_set_interpolation_mode),
14703 (gst_controlled_property_new):
14704 * libs/gst/controller/gstcontroller.h:
14705 use base type to assign acccessor functions
14707 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14709 * check/Makefile.am:
14710 Oops, that should have been top_srcdir
14712 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14714 * check/Makefile.am:
14715 * check/elements/fdsrc.c: (GST_START_TEST):
14716 Use a cmdline define to specify the location of a file to use for
14717 testing, to avoid breaking distcheck.
14719 2005-11-28 Andy Wingo <wingo@pobox.com>
14721 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14723 2005-11-28 Edward Hervey <edward@fluendo.com>
14725 * tools/gst-launch.c: (main):
14726 Clarify the output strings, makes it easier to translate.
14729 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14732 don't try and build net if we don't even have <sys/socket.h>
14734 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14736 * check/Makefile.am:
14737 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14738 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14739 Add tests for fdsrc seekability
14741 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14742 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14743 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14744 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14745 * gst/elements/gstfdsrc.h:
14746 fdsrc should not be a 'live' source.
14747 Implement seeking on seekable fd's.
14749 * gst/gstquery.c: (gst_query_new_seeking),
14750 (gst_query_parse_seeking):
14752 Implement SEEKING query functions:
14753 *_new_seeking and *_parse_seeking
14755 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14757 * gst/gstelement.c: (gst_element_dispose):
14760 * gst/gstiterator.c:
14761 * gst/gststructure.c:
14764 * libs/gst/controller/gstcontroller.c:
14765 (gst_controlled_property_set_interpolation_mode):
14766 * libs/gst/controller/gstcontroller.h:
14767 * libs/gst/controller/gstinterpolation.c:
14768 (interpolate_none_get_enum_value_array):
14769 support controlling enums
14771 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14774 Improve documentation for gst_value_union().
14777 Change return value for union, intersect and subtract functions
14778 from gint to gboolean.
14780 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14782 * gst/gstvalue.c: (gst_value_serialize_any_list),
14783 (gst_value_transform_any_list_string),
14784 (gst_value_deserialize_list), (gst_value_deserialize_array),
14785 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14786 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14787 (gst_value_set_fraction_range_full),
14788 (gst_value_deserialize_fraction_range),
14789 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14790 (gst_value_deserialize_boolean),
14791 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14792 (gst_value_serialize_float), (gst_value_deserialize_float),
14793 (gst_string_wrap), (gst_value_deserialize_string),
14794 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14795 (gst_value_union_int_range_int_range),
14796 (gst_value_intersect_int_range_int_range),
14797 (gst_value_intersect_double_range_double_range),
14798 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14799 (gst_value_subtract_int_range_int_range),
14800 (gst_value_subtract_double_double_range),
14801 (gst_value_subtract_double_range_double_range),
14802 (gst_value_deserialize_fraction):
14804 Use gint, gdouble and gchar in our API instead of int, double and
14805 char (and make usage in gstvalue.c more consistent).
14807 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14809 * check/Makefile.am:
14810 * libs/gst/controller/Makefile.am:
14811 * libs/gst/dataprotocol/Makefile.am:
14812 fix up Makefile.am and remove GST_ENABLE_NEW
14814 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14818 * gst/base/Makefile.am:
14819 * gst/check/Makefile.am:
14820 * gst/elements/Makefile.am:
14821 * gst/net/Makefile.am:
14822 update LDFLAGS use some more
14824 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14826 * common/m4/gst-doc.m4:
14829 2005-11-26 Edward Hervey <edward@fluendo.com>
14831 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14832 This shouldn't issue a g_warning since it returns NULL if it
14833 couldn't find the plugin, and all functions using this behave
14834 properly on a NULL return. Switching to a GST_WARNING.
14836 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14838 * gst/gstbin.c: (gst_bin_handle_message_func):
14839 Don't leak clock messages.
14841 2005-11-25 Wim Taymans <wim@fluendo.com>
14843 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14844 (gst_util_uint64_scale_int):
14845 Optimisations, remove unneeded vars.
14847 2005-11-25 Wim Taymans <wim@fluendo.com>
14849 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14850 Added more checks for the high precision uint64 cases.
14852 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14853 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14854 Implement high precision (guint64 * guint64) / guint64.
14856 2005-11-24 Wim Taymans <wim@fluendo.com>
14858 * gst/base/gstbasesrc.c: (gst_base_src_query):
14859 Fix wrong percentage query.
14861 * gst/gstutils.c: (gst_util_uint64_scale),
14862 (gst_util_uint64_scale_int):
14863 Add some more common cases that can be handled
14864 efficiently to _scale.
14866 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14868 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14869 (gst_mini_object_suite):
14870 don't use check calls from threads; check probably isn't
14871 threadsafe and using a lock to make it threadsafe would
14872 defeat the purpose of this check
14873 * gst/check/gstcheck.c:
14874 * gst/check/gstcheck.h:
14875 use GST_DEBUG some more
14877 2005-11-24 Wim Taymans <wim@fluendo.com>
14879 * gst/gstutils.c: (gst_util_uint64_scale),
14880 (gst_util_uint64_scale_int):
14881 Chain trivial case to _scale_int.
14883 2005-11-24 Wim Taymans <wim@fluendo.com>
14885 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14886 Added test for scaling.
14891 * gst/gstutils.c: (gst_util_uint64_scale_int):
14892 Implemented high precision scaling code.
14894 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14897 do not crash on pad==NULL
14899 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14901 Patch by: Stefan Kost
14903 * common/gtk-doc.mak:
14904 * docs/gst/Makefile.am:
14905 * docs/libs/Makefile.am:
14906 Fix distcheck issues for the libraries docs build
14909 2005-11-24 Michael Smith <msmith@fluendo.com>
14911 * docs/manual/basics-helloworld.xml:
14912 Fix bug #315027: memory leak in example code in docs.
14914 2005-11-24 Michael Smith <msmith@fluendo.com>
14916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14917 Unlock the PREROLL_LOCK in a failure case.
14919 2005-11-24 Wim Taymans <wim@fluendo.com>
14921 * docs/gst/gstreamer-sections.txt:
14922 * gst/base/gstadapter.h:
14923 * gst/base/gstbasesink.h:
14924 * gst/base/gstbasesrc.h:
14925 * gst/base/gstbasetransform.h:
14926 * gst/base/gstpushsrc.h:
14927 * gst/elements/gstfakesink.h:
14928 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14929 * gst/elements/gstfakesrc.h:
14930 * gst/elements/gstfilesink.h:
14931 * gst/elements/gstfilesrc.h:
14934 * gst/gstbuffer.c: (_gst_buffer_copy):
14937 * gst/gstchildproxy.c:
14939 * gst/gstelement.c:
14940 * gst/gstelementfactory.c:
14941 * gst/gstelementfactory.h:
14943 * gst/gstghostpad.h:
14945 * gst/gstinterface.h:
14946 * gst/gstminiobject.c:
14947 * gst/gstminiobject.h:
14950 * gst/gstpadtemplate.h:
14951 * gst/gstpipeline.h:
14952 * gst/gstpluginfeature.h:
14955 * gst/gsttaglist.c:
14956 * gst/gsttaglist.h:
14957 * gst/gsttagsetter.c:
14958 * gst/gsttagsetter.h:
14961 * gst/gsttypefind.h:
14964 * gst/net/gstnetclientclock.c:
14965 * gst/net/gstnetclientclock.h:
14966 * gst/net/gstnettimepacket.c:
14967 * gst/net/gstnettimeprovider.c:
14968 * gst/net/gstnettimeprovider.h:
14971 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14973 * configure.ac: back to HEAD
14975 === release 0.9.6 ===
14977 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14980 releasing 0.9.6, "Always On Time"
14982 2005-11-23 Wim Taymans <wim@fluendo.com>
14984 * docs/gst/gstreamer-sections.txt:
14985 * gst/glib-compat.c:
14986 * gst/gsttagsetter.c:
14988 * gst/net/gstnetclientclock.c:
14989 * gst/net/gstnettimepacket.h:
14992 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14994 * docs/faq/using.xml:
14995 * docs/libs/tmpl/gstcontrol.sgml:
14996 * docs/manual/advanced-dparams.xml:
14997 * docs/manual/appendix-checklist.xml:
14998 * docs/manual/basics-elements.xml:
14999 * docs/pwg/other-source.xml:
15000 * docs/random/moving-plugins:
15002 * tools/gst-launch.1.in:
15003 remove mentions of sinesrc
15005 2005-11-23 Michael Smith <msmith@fluendo.com>
15007 * docs/gst/gstreamer-sections.txt:
15008 Update for new API and API changes.
15010 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15012 Documentation typo fix.
15013 * gst/net/gstnettimepacket.c:
15014 Documentation fixes for arguments.
15016 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
15018 * gst/gststructure.c: (gst_structure_get_fraction),
15019 (gst_structure_parse_value),
15020 (gst_structure_fixate_field_nearest_fraction):
15021 * gst/gststructure.h:
15022 * gst/gstutils.c: (gst_util_uint64_scale_int):
15024 * scripts/update-funcnames:
15026 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15027 Make gst_structure_fixate_field_nearest_fraction take a numerator
15028 and denominator argument instead of a GValue
15029 add gst_structure_get_fraction helper function.
15031 2005-11-23 Wim Taymans <wim@fluendo.com>
15033 * docs/design/part-TODO.txt:
15036 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15037 * gst/net/gstnetclientclock.h:
15038 Use parent fields for timeout and window_size.
15040 2005-11-23 Andy Wingo <wingo@pobox.com>
15042 * check/net/gstnetclientclock.c (test_functioning): Adjust to
15043 rate_num/rate_denom change.
15045 * gst/net/gstnetclientclock.c
15046 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15047 OBJECT_LOCK. Don't call add_observation with the lock.
15049 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15051 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15053 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15054 deal with rate as a fraction whose numerator and denominator are
15055 GstClockTime values.
15056 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15057 master; the other fields are protected by the SLAVE_LOCK.
15058 (do_linear_regression): Note that this must be called with the
15060 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15061 OBJECT_LOCK. Call set_calibration instead of touching the
15062 variables directly.
15063 (gst_clock_set_property, gst_clock_get_property): Protect
15064 master/slave parameters with the SLAVE_LOCK.
15066 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15067 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15068 note that all of the instance variables that add_observation and
15069 the set_master functions use are protected by that lock and not
15071 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15073 * gst/gstclock.c (gst_clock_add_observation): No longer requires
15074 the caller to take the object lock.
15076 2005-11-23 Wim Taymans <wim@fluendo.com>
15078 * gst/gsterror.c: (_gst_core_errors_init):
15080 Add error for clock stuff.
15082 * gst/gstpipeline.c: (gst_pipeline_change_state),
15083 (gst_pipeline_set_clock):
15084 Post clock error when clock cannot be used in a pipeline.
15086 2005-11-23 Stefan Kost <ensonic@users.sf.net>
15088 * docs/gst/gstreamer-sections.txt:
15089 make two symbols from gstinfo private for the docs
15090 * gst/base/gstcollectpads.h:
15092 fix doc typos, update docs
15094 2005-11-22 Wim Taymans <wim@fluendo.com>
15096 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15097 (gst_base_sink_wait), (gst_base_sink_do_sync),
15098 (gst_base_sink_handle_event):
15099 * gst/base/gstbasesink.h:
15100 No need to store the clock, the parent element class already
15103 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15104 Updates for clock_set returning a gboolean
15106 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15107 (gst_clock_id_wait_async), (gst_clock_class_init),
15108 (gst_clock_init), (gst_clock_finalize),
15109 (gst_clock_get_internal_time), (gst_clock_get_time),
15110 (gst_clock_slave_callback), (gst_clock_set_master),
15111 (gst_clock_get_master), (do_linear_regression),
15112 (gst_clock_add_observation), (gst_clock_set_property),
15113 (gst_clock_get_property):
15115 Implement master/slave. When setting a clock as a slave, a
15116 periodic timeout is scheduled to sample master and slave times.
15117 Then the slave clock is recalibrated to match offset and rate
15118 of the master clock.
15119 Update logging a bit.
15120 Add flag so that a clock can state that is cannot be slaved to
15123 * gst/gstelement.c: (gst_element_set_clock):
15124 * gst/gstelement.h:
15125 The set clock returns a gboolean for when an element cannot
15126 deal with the selected clock in the pipeline.
15128 * gst/gstpipeline.c: (gst_pipeline_change_state),
15129 (gst_pipeline_set_clock):
15130 * gst/gstpipeline.h:
15131 Handle the case where the selected clock cannot be set on
15134 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15135 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15136 (gst_net_client_clock_set_property),
15137 (gst_net_client_clock_get_property),
15138 (gst_net_client_clock_observe_times):
15139 * gst/net/gstnetclientclock.h:
15140 Use regression code in GstClock parent, remove duplicated
15143 2005-11-22 Michael Smith <msmith@fluendo.com>
15145 * gst/gstutils.c: (gst_util_clock_time_scale):
15147 * docs/gst/gstreamer-sections.txt:
15148 Rename method to have extra underscore.
15150 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
15152 * gst/elements/Makefile.am:
15153 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15154 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15155 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15156 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15157 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15158 * gst/elements/gstfakesrc.h:
15159 * gst/gstqueue.c: (queue_leaky_get_type):
15160 correctly fix GEnumValues so that nick is the short lowercase
15162 * tools/gst-inspect.c: (print_element_properties_info):
15163 also show the nick, since it's useful to use from parse_launch
15167 2005-11-22 Michael Smith <msmith@fluendo.com>
15169 * gst/gstutils.c: (gst_util_clocktime_scale):
15171 * docs/gst/gstreamer-sections.txt:
15172 Add util method for scaling a clocktime by a fraction. Useful
15173 implementation is left as an exercise for the reader.
15175 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15177 * gst/gstvalue.c: (gst_value_collect_fraction_range):
15178 If needed, allocate storage in the destination value during
15181 2005-11-22 Edward Hervey <edward@fluendo.com>
15183 * docs/gst/gstreamer-sections.txt:
15186 * gst/gsturitype.c:
15187 * gst/gsturitype.h:
15188 * gst/gstutils.c: (gst_util_set_object_arg):
15189 * tools/gst-compprep.c: (main):
15190 * tools/gst-inspect.c: (print_element_properties_info):
15191 Removed GstURI, closes bug #321061
15193 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15195 * check/gst/gststructure.c: (GST_START_TEST):
15196 * gst/gststructure.c: (gst_structure_parse_value):
15197 Oops, broke automatic string type parsing.
15198 Add a test to catch it in future.
15200 2005-11-22 Andy Wingo <wingo@pobox.com>
15202 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
15203 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15204 Actually rename the function implementations. Grr.
15206 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15208 * check/gst/capslist.h:
15210 * check/gst/gststructure.c: (GST_START_TEST),
15211 (gst_structure_suite):
15212 Test automatic value type detection in gst_structure_from_string.
15213 * gst/gststructure.c: (gst_structure_parse_value):
15214 Add fraction as a type we try and guess automatically in
15215 caps/structure strings.
15217 2005-11-22 Andy Wingo <wingo@pobox.com>
15219 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15221 * gst/gsttagsetter.h:
15222 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15223 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15224 (gst_tag_setter_add_tag_valist)
15225 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15226 _add_values, _add_valist, and _add_valist_values. Since this is an
15227 interface the function suffixes should be more explicit so
15228 language binding don't end up with element.add_valist ->
15229 gst_tag_setter_add_valist, for example. Fixes #322069.
15231 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15233 * check/gst/gstcaps.c: (GST_START_TEST):
15234 Extend caps string tests to check that a caps to string
15235 conversion is reversible and produces the same caps.
15237 * gst/gststructure.c: (gst_structure_value_get_generic_type):
15238 Output "fraction" as the generic type fraction range, so caps
15239 serialisation and deserialisation works.
15240 * check/gst/capslist.h:
15241 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15242 Support 'MIN' and 'MAX' for deserialising fractions.
15244 2005-11-22 Andy Wingo <wingo@pobox.com>
15246 * gst/gstevent.h (gst_event_new_new_segment)
15247 (gst_event_parse_new_segment, gst_event_new_buffer_size)
15248 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15249 Renamed from *_newsegment, *_buffersize, *_notarget.
15251 * scripts/update-funcnames: New script, performs the changes
15254 2005-11-22 Wim Taymans <wim@fluendo.com>
15256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15257 Make sure the GstFlowReturn is returned.
15259 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15260 (gst_bus_add_signal_watch):
15262 add gst_bus_add_signal_watch_full.
15264 * gst/gstplugin.c: (gst_plugin_load_file):
15265 Small style cleanup.
15267 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15269 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15270 Block the fakesrc srcpad when we send an event, to avoid
15271 contention on the stream_lock causing random test failures.
15273 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15275 * check/gst/gstvalue.c: (GST_START_TEST):
15276 * gst/gstvalue.c: (gst_value_fraction_subtract):
15279 2005-11-22 Stefan Kost <ensonic@users.sf.net>
15282 include "gstchildproxy.h"
15283 * gst/gstchildproxy.h:
15284 * libs/gst/controller/gstcontroller.h:
15285 use G_GNUC_NULL_TERMINATED
15287 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15289 * check/gst/capslist.h:
15290 * check/gst/gstcaps.c: (GST_START_TEST):
15291 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15292 * gst/gststructure.c: (gst_structure_parse_range),
15293 (gst_structure_fixate_field_nearest_fraction):
15294 * gst/gststructure.h:
15295 * gst/gstvalue.c: (gst_value_init_fraction_range),
15296 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15297 (gst_value_collect_fraction_range),
15298 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15299 (gst_value_set_fraction_range_full),
15300 (gst_value_get_fraction_range_min),
15301 (gst_value_get_fraction_range_max),
15302 (gst_value_serialize_fraction_range),
15303 (gst_value_transform_fraction_range_string),
15304 (gst_value_compare_fraction_range),
15305 (gst_value_deserialize_fraction_range),
15306 (gst_value_intersect_fraction_fraction_range),
15307 (gst_value_intersect_fraction_range_fraction_range),
15308 (gst_value_subtract_fraction_fraction_range),
15309 (gst_value_subtract_fraction_range_fraction),
15310 (gst_value_subtract_fraction_range_fraction_range),
15311 (gst_value_collect_fraction), (gst_value_fraction_multiply),
15312 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15313 (gst_value_transform_string_fraction), (_gst_value_initialize):
15315 Implement fraction ranges and extend GstFraction to support
15316 arithmetic subtraction, as well as deserialization from integer
15317 strings such as "100"
15318 Add a testsuite as for int and double range set operations
15320 2005-11-21 Andy Wingo <wingo@pobox.com>
15322 * gst/gsttaglist.h:
15324 * gst/gststructure.h: Add glib-compat.h.
15326 2005-11-21 Wim Taymans <wim@fluendo.com>
15328 * gst/gstbin.c: (gst_bin_change_state_func):
15331 2005-11-21 Wim Taymans <wim@fluendo.com>
15333 * gst/gstsegment.h:
15334 And add a nice define too.
15336 2005-11-21 Wim Taymans <wim@fluendo.com>
15338 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15339 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15340 (gst_segment_set_duration), (gst_segment_set_last_stop),
15341 (gst_segment_set_seek), (gst_segment_set_newsegment),
15342 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15343 (gst_segment_clip):
15344 * gst/gstsegment.h:
15345 Make binding friendly.
15347 2005-11-21 Andy Wingo <wingo@pobox.com>
15349 * gst/gsttagsetter.h:
15350 * gst/gsttaglist.h:
15351 * gst/gststructure.h:
15353 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15356 * gst/gsterror.c (_gst_core_errors_init):
15357 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15360 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15361 (noinst_HEADERS): noinst the -private.
15363 2005-11-21 Michael Smith <msmith@fluendo.com>
15366 * gst/gstregistry.h:
15367 Remove unimplemented declarations for which we can see no sensible
15370 2005-11-21 Andy Wingo <wingo@pobox.com>
15372 * gst/gst.h: Include glib-compat.h.
15374 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15376 * gst/glib-compat.c: Include the public and the private header.
15378 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15382 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15384 * check/gst/gstevent.c (create_custom_events): Check that
15385 FLUSH_STOP is serialized.
15387 * check/elements/identity.c (event_func):
15388 * check/elements/fakesrc.c (event_func): No stream lock, the core
15391 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15392 stream lock taking, yay.
15394 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15395 ensure that core takes the stream lock.
15397 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15400 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15401 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15402 it already. For the flush start we do take it though so we get the
15403 right preroll state change messages.
15405 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15406 the stream lock here, the core does it for us.
15408 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15409 GST_STREAM_GET_LOCK.
15410 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15411 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15412 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15413 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15414 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15415 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15417 * gst/gstpad.c: Update for stream lock name change.
15419 * gst/base/gstbasesink.c: Update for preroll lock name change.
15421 2005-11-21 Wim Taymans <wim@fluendo.com>
15423 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15424 (gst_clock_get_master):
15426 * gst/gstsystemclock.c: (gst_system_clock_init):
15427 Convert Clock flags to object flags.
15428 Added methods to manage master/slave clocks.
15430 2005-11-21 Wim Taymans <wim@fluendo.com>
15432 * check/gst/gstsegment.c: (GST_START_TEST):
15433 * docs/design/part-TODO.txt:
15434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15435 (gst_base_sink_event), (gst_base_sink_do_sync),
15436 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15437 (gst_base_sink_query), (gst_base_sink_change_state):
15438 * gst/base/gstbasesink.h:
15439 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15440 (gst_base_src_default_newsegment),
15441 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15442 (gst_base_src_get_range), (gst_base_src_loop),
15443 (gst_base_src_change_state):
15444 * gst/base/gstbasesrc.h:
15445 * gst/base/gstbasetransform.c:
15446 (gst_base_transform_prepare_output_buf),
15447 (gst_base_transform_event), (gst_base_transform_change_state):
15448 * gst/base/gstbasetransform.h:
15449 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15450 (gst_collect_pads_event):
15451 * gst/base/gstcollectpads.h:
15452 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15453 (gst_fake_src_create):
15454 * gst/elements/gstfakesrc.h:
15455 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15456 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15457 (gst_segment_set_last_stop), (gst_segment_set_seek),
15458 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15459 (gst_segment_to_running_time), (gst_segment_clip):
15460 * gst/gstsegment.h:
15461 More segment updates, replace code in plugins with segment
15464 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15466 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15467 Don't ignore sscanf results
15469 2005-11-21 Andy Wingo <wingo@pobox.com>
15471 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15474 * *.c: Ran scripts/update-macros. Oh yes.
15476 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15477 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15480 * scripts/update-macros: New script. Run it on your files to
15481 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15484 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15486 * docs/gst/Makefile.am:
15487 * docs/gst/gstreamer-docs.sgml:
15488 * docs/gst/gstreamer-sections.txt:
15489 * docs/gst/gstreamer.types:
15491 more docs fixes, add new api to the docs
15493 2005-11-21 Andy Wingo <wingo@pobox.com>
15495 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15496 state_broadcast call.
15498 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15500 2005-11-21 Julien MOUTTE <julien@moutte.net>
15502 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15503 function calls for arrays.
15505 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15507 * docs/random/ensonic/media-device-daemon.txt:
15508 wild idea, can this be done?
15509 * docs/gst/gstreamer-sections.txt:
15514 * gst/gstpluginfeature.c:
15518 doc fixes and additions
15520 2005-11-21 Andy Wingo <wingo@pobox.com>
15522 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15523 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15524 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15525 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15526 private to the basesrc implementation.
15528 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15529 behalf of event function if necessary. It should no longer be
15530 necessary to take the stream lock in pad's event functions. Fixes
15533 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15534 * docs/gst/gstreamer-sections.txt:
15535 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15536 (gst_structure_fixate_field_nearest_double),
15537 (gst_structure_fixate_field_boolean):
15538 * gst/gststructure.h:
15539 * win32/common/libgstreamer.def:
15540 * win32/gstreamer.def:
15542 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15545 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15547 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15548 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15549 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15550 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15551 (gst_fdsrc_uri_handler_init):
15552 * gst/elements/gstfdsrc.h:
15553 Port fd:// URI handler from 0.8 to fdsrc
15555 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15557 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15558 (gst_value_serialize_fourcc):
15560 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15561 consistent with our other format defines (#320324).
15563 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15565 * gst/gstvalue.c: (gst_value_is_fixed):
15566 Revert previous commit. Value lists are by definition
15567 not fixed, as they are a list of possible values.
15569 2005-11-21 Andy Wingo <wingo@pobox.com>
15571 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15572 during the stable series if we need it. Fixes #319178.
15574 * gst/gstevent.c (gst_event_new_filler): Removed.
15576 * check/gst/gstevent.c: Update comment about filler events.
15578 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15580 * gst/gstvalue.c: (gst_value_is_fixed):
15581 Should handle both value arrays and value lists.
15583 2005-11-21 Andy Wingo <wingo@pobox.com>
15585 patch by: Alessandro Dessina <alessandro nnva org>
15587 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15588 functions to access arrays. Fixes #321962.
15590 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15592 * docs/gst/gstreamer.types:
15593 gst_collectpads_get_type => gst_collect_pads_get_type.
15595 * gst/base/gstbasetransform.c:
15596 Remove unused SIGNAL_HANDOFF enum.
15598 2005-11-21 Andy Wingo <wingo@pobox.com>
15600 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15601 the event type (upstream, downstream, serialized). Renamed
15602 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15603 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15604 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15606 * gst/gstevent.c: Update for new CUSTOM event names.
15608 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15611 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15614 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15616 * docs/gst/gstreamer-sections.txt:
15617 * win32/common/libgstbase.def:
15618 * win32/libgstbase.def:
15619 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15620 (gst_collect_pads_class_init), (gst_collect_pads_init),
15621 (gst_collect_pads_finalize), (gst_collect_pads_new),
15622 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15623 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15624 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15625 (gst_collect_pads_start), (gst_collect_pads_stop),
15626 (gst_collect_pads_peek), (gst_collect_pads_pop),
15627 (gst_collect_pads_available), (gst_collect_pads_read),
15628 (gst_collect_pads_flush), (gst_collect_pads_event),
15629 (gst_collect_pads_chain):
15630 * gst/base/gstcollectpads.h:
15631 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15632 unimplemented functions as unimplemented. Add padding to
15633 GstCollectData. (#320766, #320423)
15635 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15637 * gst/gstmessage.c:
15638 Improve docs for DURATION message (usage of duration parameter)
15641 2005-11-20 Wim Taymans <wim@fluendo.com>
15643 * check/Makefile.am:
15644 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15648 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15649 (gst_segment_set_seek), (gst_segment_set_newsegment),
15650 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15651 (gst_segment_clip):
15652 * gst/gstsegment.h:
15653 Added segment helper structure and methods. Not fully implemented
15655 Added segment check.
15657 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15659 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15660 Add a deserialisation test for fractions
15661 * examples/metadata/read-metadata.c: (message_loop),
15662 (make_pipeline), (main):
15663 Fix up metadata reading sample.
15664 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15666 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15667 Don't try and fixate empty caps
15668 * gst/gst_private.h:
15669 Wrap in G_BEGIN_DECLS/G_END_DECLS
15670 * gst/gstvalue.c: (gst_value_collect_fraction),
15671 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15672 (gst_value_transform_string_fraction),
15673 (gst_value_compare_fraction):
15674 Add some extra guards to ensure that we don't end up
15675 with an invalid denominator of 0 in a gstfraction and
15676 that fractions always get reduced.
15678 2005-11-20 Wim Taymans <wim@fluendo.com>
15680 * docs/gst/gstreamer-sections.txt:
15682 * gst/gstelement.c:
15691 2005-11-20 Wim Taymans <wim@fluendo.com>
15693 * docs/design/part-TODO.txt:
15695 Make a proper enum of the flag.
15697 2005-11-19 Wim Taymans <wim@fluendo.com>
15699 * docs/design/part-TODO.txt:
15700 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15701 (gst_format_to_quark), (gst_format_register):
15703 * gst/gstquery.c: (_gst_query_initialize),
15704 (gst_query_type_get_name), (gst_query_type_to_quark),
15705 (gst_query_type_register):
15707 Add type to quark and type to string conversions.
15709 2005-11-19 Andy Wingo <wingo@pobox.com>
15711 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15714 2005-11-19 Wim Taymans <wim@fluendo.com>
15716 * docs/design/part-TODO.txt:
15717 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15718 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15719 (gst_bin_handle_message_func):
15721 Make message handling overridable.
15723 2005-11-19 Andy Wingo <wingo@pobox.com>
15725 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15728 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15730 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15731 is a GstClockTime. Fixes #321710.
15733 * gst/gstclock.h (GstClock): Remove offset property. Add
15734 internal_calibration and external_calibration. Fix padding. Pad
15735 also by GstClockTime so we don't run into problems.
15737 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15738 (gst_clock_get_rate_offset): Remove.
15739 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15742 * gst/gstutils.c (g_static_rec_cond_wait)
15743 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15745 * gst/gstbin.c: Remove terrible continue_state prototype.
15747 * gst/gstelement.h (gst_element_continue_state): Make public.
15749 * gst/gstelement.h:
15750 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15751 by continue_state. Fixes #319389.
15753 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15754 Really fixes #168438. However I don't see anywhere where the
15755 filter function is called... stupid GStreamer...
15757 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15758 don't have a dispose function, so it won't get called when the
15759 object is unreffed, but oh well!
15761 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15762 allows a destroy function to be set so user_data can be freed.
15764 (gst_index_set_filter): Call gst_index_set_filter_full.
15766 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15768 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15769 string should produce an error, given the lack of a way to
15770 represent NULL strings. Fixes #165650.
15773 * gst/gstvalue.c (gst_value_array_append_value)
15774 (gst_value_array_prepend_value, gst_value_array_get_size)
15775 (gst_value_array_get_value): New API, copied from
15776 gst_value_list_*, only operates on arrays.
15777 (gst_value_list_append_value, gst_value_list_prepend_value)
15778 (gst_value_list_concat, gst_value_list_get_size)
15779 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15781 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15782 init_list, because it works on both.
15783 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15784 (gst_value_copy_list_or_array): Renamed from copy_list.
15785 (gst_value_free_list_or_array): Renamed from free_list.
15786 (gst_value_collect_list_or_array): Renamed from collect_list.
15787 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15788 (gst_value_list_or_array_peek_pointer): Renamed from
15790 (_gst_value_array_value_table, _gst_value_list_value_table):
15791 Update value table functions.
15792 (gst_value_compare_list_or_array): Renamed from compare_list.
15794 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15797 * gst/gsttaglist.c:
15798 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15799 GstTagList*. Fixes #143472.
15801 * gst/gststructure.h: Clarify what the foreach/map functions can
15802 or can't do to their arguments.
15804 2005-11-18 Wim Taymans <wim@fluendo.com>
15806 * gst/gstclock.c: (gst_clock_set_calibration),
15807 (gst_clock_get_calibration):
15809 Calibration can be set with internal time equal to current
15812 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15818 2005-11-18 Andy Wingo <wingo@pobox.com>
15821 * pkgconfig/gstreamer-net.pc.in:
15822 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15823 * pkgconfig/Makefile.am: Add net pkgconfig files.
15825 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15828 * gst/gstghostpad.c:
15834 2005-11-18 Andy Wingo <wingo@pobox.com>
15836 * gst/net/gstnetclientclock.c: Turn off debugging.
15838 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15839 times connverge somewhat. Can't make a real test.
15841 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15842 integer arithmetic. Return the minimum of the domain, which can be
15843 set as "internal" for gst_clock_set_calibration.
15844 (gst_net_client_clock_observe_times): Call _set_calibration.
15845 (gst_net_client_clock_new): Call _set_calibration instead of
15848 * check/net/gstnetclientclock.c (test_functioning): Use the right
15852 * gst/gstclock.c (gst_clock_get_calibration)
15853 (gst_clock_set_calibration): New functions, obsolete the ones I
15854 added yesterday. Doh. Precision issues mean we have to extrapolate
15855 from a point in the more recent past than 1970.
15856 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15858 (gst_clock_adjust_unlocked): Use the right calibration data.
15860 2005-11-18 Edward Hervey <edward@fluendo.com>
15862 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15863 Also reset the ->current_* values in READY->PAUSED
15865 2005-11-18 Andy Wingo <wingo@pobox.com>
15867 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15868 Whoops, check the right fd. Also add some debugging.
15869 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15870 (do_linear_regression): Add a crapload of debugging. Subtract off
15871 the minimum values from the input series to discard unneeded bits.
15872 Use only int arithmetic. There is still double arithmetic when
15873 calculating the intercept that needs fixing. Return boolean to
15874 indicate success; FALSE would mean the domain or range is too
15875 great. Still needs fixes.
15877 2005-11-18 Wim Taymans <wim@fluendo.com>
15879 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15880 For the current position in stream time, we need to subtract
15883 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15884 Release lock before calling the callback function of async
15887 2005-11-18 Andy Wingo <wingo@pobox.com>
15889 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15890 Port goes all the way to MAXUINT16.
15892 * gst/net/gstnettimeprovider.c: Make the port range the same as
15893 for the kernel: 0 assigns, otherwise ports are less than
15896 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15899 * check/net/gstnetclientclock.c (test_functioning): Add the start
15902 2005-11-18 Wim Taymans <wim@fluendo.com>
15904 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15905 (gst_bin_remove_func), (bin_bus_handler):
15907 Removing a clock provider from a bin, triggers a clock lost message
15908 so that a new clock will be selected.
15909 Adding a clock to a bin triggers a clock provider message.
15910 Make sure we reselect a clock when we received a clock lost message.
15911 Keep a reference to the element that provided the clock.
15913 2005-11-18 Andy Wingo <wingo@pobox.com>
15915 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15916 the clock initially so it produces values around the base time.
15917 (gst_net_client_clock_class_init): Typo fix.
15918 (gst_net_client_clock_thread): Add note on when the socket gets
15921 2005-11-17 Wim Taymans <wim@fluendo.com>
15923 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15924 Free remote and local time arrays.
15926 2005-11-17 Wim Taymans <wim@fluendo.com>
15928 * gst/net/gstnetclientclock.c: (do_linear_regression),
15929 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15930 Fix compilation, uninitialized vars and a forgotten continue.
15932 2005-11-17 Andy Wingo <wingo@pobox.com>
15934 * check/Makefile.am (check_PROGRAMS):
15935 * check/net/gstnetclientclock.c: Add a most minimal test for the
15936 net client clock. More to come later.
15938 * gst/net/gstnet.h:
15939 * gst/net/Makefile.am: Add netclientclock.
15941 * gst/net/gstnetclientclock.h:
15942 * gst/net/gstnetclientclock.c: New files, implement an untested
15943 GstClock that takes its time from a network time provider.
15944 Implements the algorithm in network-clock.scm.
15946 * tests/network-clock.scm (*window-size*): Rename from
15948 * tests/network-clock.scm (network-time):
15949 * tests/network-clock-utils.scm (q-push): Update callers.
15951 2005-11-17 Wim Taymans <wim@fluendo.com>
15953 * gst/gstbin.c: (gst_bin_provide_clock_func),
15954 (gst_bin_sort_iterator_new):
15955 And unref the child too..
15957 2005-11-17 Wim Taymans <wim@fluendo.com>
15959 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15960 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15961 Refactor the sort iterator so it can be used while holding the
15963 Make clock selection select a clock closest to the source.
15965 2005-11-17 Michael Smith <msmith@fluendo.com>
15967 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15968 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15970 Anonymous structs are a gcc (and some other compilers) extension, so
15971 don't use them. Since this is only for ABI-compatibility, and our
15972 API/ABI freeze is over in a few days, this whole thing will only
15973 last a few days, so don't bother trying to think up a meaningful
15974 name for the struct.
15976 2005-11-17 Andy Wingo <wingo@pobox.com>
15978 * gst/gstclock.h (GstClock): Add rate and offset properties,
15979 preserving ABI stability. Add rate/offset accessors. Will file bug
15980 for the freeze break.
15982 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15983 and offset, trying to keep precision and avoiding
15984 underflow/overflow.
15985 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15986 functions. Make gst_clock_set_time_adjust obsolete.
15987 (gst_clock_set_time_adjust): Note that this function is obsolete.
15988 Will file bug soon.
15990 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15991 greppable by using GST_PADDING-1+1.
15993 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15995 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15997 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15998 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16000 * gst/gstpadtemplate.h:
16001 * gst/gstpluginfeature.h:
16002 Don't use c++ style comments in headers (#321638).
16004 2005-11-16 Andy Wingo <wingo@pobox.com>
16006 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16009 * check/net/gstnettimeprovider.c: Check to see that the time
16010 provider actually provides times. Works, yo!
16012 2005-11-16 Wim Taymans <wim@fluendo.com>
16014 * check/Makefile.am:
16017 * check/elements/fakesrc.c: (GST_START_TEST):
16018 Set element to NULL before disposing it.
16020 2005-11-16 Andy Wingo <wingo@pobox.com>
16022 * gst/net/Makefile.am:
16023 * gst/net/gstnet.h:
16024 * gst/net/gstnettimeprovider.c:
16025 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16026 provider, include it from gstnet.h, and add it to the build.
16028 * gst/net/gstnettimepacket.h:
16029 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16030 sending and receiving.
16032 2005-11-16 Wim Taymans <wim@fluendo.com>
16034 * check/Makefile.am:
16035 Enable valgrind check.
16037 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16038 (gst_fake_src_alloc_buffer):
16041 2005-11-16 Wim Taymans <wim@fluendo.com>
16043 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16044 Call parent finalize too.
16046 2005-11-16 Wim Taymans <wim@fluendo.com>
16048 * check/Makefile.am:
16049 Enable valgrind check that should work fine now.
16051 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16052 * gst/gstqueue.c: (gst_queue_init):
16053 Fix memleaks in pad allocation.
16055 2005-11-16 Andy Wingo <wingo@pobox.com>
16057 * gst/net/Makefile.am:
16058 * gst/net/gstnet.h: New part of core to hold network elements and
16059 objects. Put in core because it exposes API that applications want
16060 to use. The library is named libgstnet-tempname right now because
16061 of the existing libgstnet in gst-plugins-base. Solution is
16062 probably to rename the one in plugins-base; will file a bug for
16065 * gst/net/gstnettimeprovider.c:
16066 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16067 get_time call over the network.
16070 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16072 * check/Makefile.am:
16073 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16074 get additions shortly.
16076 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16078 * gst/gstpad.c: (gst_pad_new_from_static_template):
16080 add gst_pad_new_from_static_template functions
16081 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16082 (gst_check_setup_sink_pad):
16083 * gst/elements/gsttee.c: (gst_tee_init):
16086 2005-11-16 Wim Taymans <wim@fluendo.com>
16088 * gst/gstpad.c: (gst_pad_pause_task):
16089 Removed warning, it's not really an error either.
16091 2005-11-16 Wim Taymans <wim@fluendo.com>
16093 * gst/base/gstbasetransform.c:
16094 (gst_base_transform_prepare_output_buf),
16095 (gst_base_transform_event):
16096 Check if the caps are NULL, this can happen if the element
16097 is shutting down and the pad caps are set to NULL.
16099 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16101 * gst/elements/gsttee.c: (gst_tee_init):
16102 fix pad template leak in tee
16104 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16106 * gst/glib-compat.c: (g_value_dup_gst_object):
16107 * gst/glib-compat.h:
16108 * gst/gstpad.c: (gst_pad_set_property):
16109 use gst_object_ref when setting the pad template; this will
16110 trigger the pad template leaks on GLib 2.6 and the slaves
16112 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16114 * gst/glib-compat.c: (gst_flags_get_first_value):
16115 * gst/glib-compat.h:
16116 * gst/gstregistryxml.c:
16117 remove functions copied from GLib 2.6
16119 2005-11-16 Michael Smith <msmith@fluendo.com>
16122 Don't link against VALGRIND_LIBS. That was always the wrong thing to
16123 do, but only breaks with newer valgrind versions. We're not a
16124 valgrind tool, we have no link-time dependencies on libcoregrind.
16126 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16128 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16130 * gst/gstmessage.h:
16133 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
16135 * gst/base/gstbasesrc.c: (gst_base_src_init):
16136 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16137 * gst/gstqueue.c: (gst_queue_init):
16138 * gst/gstregistryxml.c: (load_feature):
16139 Revert all these unrefs, they don't even pass make check !
16141 2005-11-15 Johan Dahlin <johan@gnome.org>
16143 * gst/base/gstbasesrc.c: (gst_base_src_init):
16144 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16145 * gst/gstqueue.c: (gst_queue_init):
16146 Free pad templates, fixes a couple of leaks.
16148 2005-11-15 Daniel Fischer <dan at f3c dot com>
16150 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16152 * gst/gstpad.c: (gst_pad_get_property):
16153 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16154 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16157 2005-11-15 Wim Taymans <wim@fluendo.com>
16162 2005-11-15 Andy Wingo <wingo@pobox.com>
16164 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16166 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16167 using GST_CLOCK_TIME_NONE to disable base time management.
16168 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16169 time if it was NONE before.
16170 (gst_pipeline_change_state): Only munge the base time if
16171 stream_time != GST_CLOCK_TIME_NONE.
16173 * check/gst/gstpipeline.c (test_base_time): Punt around the
16174 problem of the probe not being called, because that's not the
16175 issue I'm looking at. Add a check that setting stream_time to NONE
16176 disables base time management.
16178 2005-11-15 Wim Taymans <wim@fluendo.com>
16180 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16181 segment_stop == -1 at startup.
16183 * gst/base/gstbasetransform.c: (gst_base_transform_event),
16184 (gst_base_transform_change_state):
16185 Init segment values at start.
16187 2005-11-15 Wim Taymans <wim@fluendo.com>
16189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16190 0 segment values are 0 in any format.
16192 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16193 * gst/base/gstbasetransform.h:
16194 Parse newsegment correctly in basetransform
16196 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16197 Sync to clock using updated segment values.
16199 2005-11-15 Andy Wingo <wingo@pobox.com>
16201 * check/gst/gstpipeline.c (test_base_time): Add check that the
16202 base time and stream time are reset correctly.
16204 2005-11-15 Wim Taymans <wim@fluendo.com>
16206 * docs/design/part-TODO.txt:
16207 Some more TODO items.
16209 2005-11-15 Andy Wingo <wingo@pobox.com>
16211 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16212 error if the user selected "no clock" as the clocking method.
16214 * check/gst/gstpipeline.c (test_base_time): New test for buffer
16215 timestamps with live capture.
16217 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16218 is 0 but we are a live source, timestamp the buffers using the
16221 2005-11-14 Stefan Kost <ensonic@users.sf.net>
16223 * docs/gst/gstreamer-sections.txt:
16225 * gst/gstghostpad.c:
16230 2005-11-14 Wim Taymans <wim@fluendo.com>
16233 add suppressions from Wim's Debian machine
16235 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
16238 add suppressions from Andy's AMD64 Ubuntu machine
16240 2005-11-14 Andy Wingo <wingo@pobox.com>
16242 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16243 STATE_LOCK not necessary. Fixes #311489.
16245 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16248 * gst/gstindex.c (gst_index_add_object): Note in the docs that
16249 this function is not implemented.
16251 2005-11-14 Julien MOUTTE <julien@moutte.net>
16253 * gst/base/gstbasetransform.c:
16254 (gst_base_transform_prepare_output_buf):
16255 Ref the source pad caps while we need them.
16258 2005-11-11 Wim Taymans <wim@fluendo.com>
16260 * docs/gst/gstreamer-sections.txt:
16261 Added some docs for GstCollectData.
16263 * gst/base/gstadapter.c:
16264 Some small code example fix.
16266 * gst/base/gstcollectpads.c:
16267 * gst/base/gstcollectpads.h:
16268 Document some more.
16270 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16272 * configure.ac: back to HEAD
16274 === release 0.9.5 ===
16276 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16279 releasing 0.9.5, "Bike Lunch Day"
16281 2005-11-11 Wim Taymans <wim@fluendo.com>
16283 * gst/gstbuffer.c: (_gst_buffer_copy):
16286 * gst/gstcaps.c: (gst_caps_is_equal):
16288 Make _is_equal fast in the trivial cases.
16290 * gst/gstminiobject.c:
16291 * gst/gstminiobject.h:
16292 More docs. Spifify .h file.
16297 2005-11-11 Wim Taymans <wim@fluendo.com>
16299 * gst/base/gstbasetransform.c:
16300 (gst_base_transform_prepare_output_buf),
16301 (gst_base_transform_handle_buffer):
16303 If we're processing a buffer and need to allocate an output
16304 buffer, we cannot accept a format change. If we did get a
16305 format change, we have to alloc a buffer ourselves of the
16308 2005-11-11 Wim Taymans <wim@fluendo.com>
16310 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16311 While checking the flag for reentrancy in the gstcaps function
16312 is nice to detect recursive invocations, it also makes it
16313 impossible to call getcaps from multiple threads, which must be
16314 possible. So, checking for recursive calls has to go.
16316 2005-11-11 Michael Smith <msmith@fluendo.com>
16318 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16319 Don't sync on buffers that fall partially outside our current
16320 segment. Prevents an assertion failure/abort playing some files.
16322 2005-11-10 Andy Wingo <wingo@pobox.com>
16324 * check/gst/gstbin.c (test_message_state_changed_children): Style
16327 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16328 gst_bus_poll with the signal watch. Ensures that poll and a signal
16329 watch see the same messages.
16331 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16332 a poll and a watch at the same time get the same messages.
16334 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16336 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16337 * gst/gstcaps.c: (gst_caps_intersect):
16338 Don't call gst_caps_do_simplify - it doesn't respect order of caps
16339 and it's not needed.
16341 2005-11-10 Wim Taymans <wim@fluendo.com>
16343 * docs/design/part-TODO.txt:
16346 2005-11-10 Wim Taymans <wim@fluendo.com>
16348 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16349 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16350 (gst_base_src_do_sync), (gst_base_src_get_range):
16351 Implement clock sync in base class.
16353 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16355 patch by: Tim-Philipp Müller <tim at centricular dot net>
16357 * gst/gststructure.c: (gst_structure_parse_field),
16358 (gst_structure_from_string):
16359 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16360 so that gst_parse_launch() can deal with spaces in filtered link
16361 caps (fixes #164479)
16362 * check/gst/capslist.h:
16363 * check/gst/gststructure.c: (GST_START_TEST):
16364 add unit tests for this change
16366 2005-11-10 Wim Taymans <wim@fluendo.com>
16368 * docs/gst/gstreamer-sections.txt:
16369 * gst/gstelement.c:
16370 * gst/gstelement.h:
16371 Fix docs, move some STATE macros to private.
16373 2005-11-10 Wim Taymans <wim@fluendo.com>
16375 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16376 Added check for bug #317341
16380 Some more spiffifying.
16382 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16383 Call peer linkfunction if we are a source pad. Totally fixes
16387 Update docs, source pads should call the peer linkfunction
16388 so they can atomically perform the pad link.
16390 2005-11-09 Wim Taymans <wim@fluendo.com>
16394 Uber-spiffy-spiffify some more.
16396 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16398 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16399 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16400 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16401 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16402 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16403 * gst/gstpad.c: (gst_pad_init):
16404 Use GST_DEBUG_FUNCPTR() more extensively.
16406 2005-11-09 Wim Taymans <wim@fluendo.com>
16408 * gst/gstobject.c: (gst_object_class_init):
16410 Documentation fixes.
16412 2005-11-09 Edward Hervey <edward@fluendo.com>
16414 * gst/gsttypefindfactory.c:
16417 2005-11-09 Edward Hervey <edward@fluendo.com>
16419 * gst/base/gsttypefindhelper.c:
16420 * gst/gsttypefind.c:
16421 * gst/gsttypefind.h:
16424 2005-11-09 Wim Taymans <wim@fluendo.com>
16426 * gst/gstiterator.c:
16433 2005-11-09 Wim Taymans <wim@fluendo.com>
16439 2005-11-09 Wim Taymans <wim@fluendo.com>
16441 * docs/gst/gstreamer-sections.txt:
16442 Moved the message async delivery private lock and cond
16443 to the private section.
16445 * gst/gstmessage.c:
16446 * gst/gstmessage.h:
16449 2005-11-09 Edward Hervey <edward@fluendo.com>
16451 * docs/gst/gstreamer-sections.txt:
16454 Document GstURIHandler
16456 2005-11-09 Wim Taymans <wim@fluendo.com>
16458 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16459 (gst_iterator_find_custom):
16460 * gst/gstiterator.h:
16463 2005-11-09 Wim Taymans <wim@fluendo.com>
16466 Document another field.
16468 * gst/gststructure.c:
16469 * gst/gststructure.h:
16472 2005-11-09 Wim Taymans <wim@fluendo.com>
16475 Documented structs.
16477 2005-11-09 Wim Taymans <wim@fluendo.com>
16479 * docs/gst/gstreamer-sections.txt:
16480 Added some new macros.
16487 2005-11-09 Wim Taymans <wim@fluendo.com>
16489 * docs/design/part-TODO.txt:
16490 Some more items for the TODO
16496 2005-11-09 Andy Wingo <wingo@pobox.com>
16498 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16499 to work on something else now tho...
16501 * gst/base/gstadapter.c: More adapter docs.
16503 * gst/elements/gstfilesink.c (gst_file_sink_start)
16504 (gst_file_sink_stop): New functions, replace the state change
16506 (gst_file_sink_class_init): Hook up the start and stop functions.
16507 (gst_file_sink_base_init): Don't set the state change handler any
16508 more. It was a bit ugly too, being set from here...
16509 (gst_file_sink_get_property, gst_file_sink_set_property):
16511 (gst_file_sink_set_location): More robust check that doesn't call
16512 GST_STATE. Ugggggg.
16514 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16516 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16517 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16519 2005-11-08 Wim Taymans <wim@fluendo.com>
16521 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16522 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16523 (gst_base_sink_chain), (gst_base_sink_change_state):
16524 * gst/base/gstbasesink.h:
16525 * gst/base/gstbasesrc.h:
16526 * gst/gstelement.h:
16528 Avoid excessive typechecking in macros.
16530 * gst/gstminiobject.c: (gst_mini_object_get_type),
16531 (gst_mini_object_init), (gst_mini_object_new),
16532 (gst_mini_object_free):
16533 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16534 (gst_object_finalize):
16535 Remove cruft code, optimize alloc_trace.
16537 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16539 * docs/faq/gst-uninstalled:
16540 fix up PS1 for systems that try to reset it
16542 2005-11-07 Wim Taymans <wim@fluendo.com>
16544 * gst/base/gstbasesrc.c: (gst_base_src_init),
16545 (gst_base_src_get_range):
16546 Set the segment_end to -1 initially. Fixed typefind.
16548 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16550 * gst/base/gstadapter.c:
16551 Debug category should be 'adapter', not 'GstAdapter'.
16553 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16554 (gst_collectpads_class_init), (gst_collectpads_init),
16555 (gst_collectpads_peek), (gst_collectpads_pop),
16556 (gst_collectpads_event), (gst_collectpads_chain):
16557 Add debug category and some debugging output. Use boilerplate
16558 macros. Remove some extraneous words from docs.
16560 2005-11-05 Andy Wingo <wingo@pobox.com>
16562 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16565 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16567 * docs/gst/gstreamer-sections.txt:
16570 * gst/gstminiobject.h:
16575 2005-11-04 Wim Taymans <wim@fluendo.com>
16577 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16578 Small update to stop at the configured segment_end
16581 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16583 * gst/gstregistry.c:
16584 * gst/gstregistry.h:
16587 2005-11-04 Edward Hervey <edward@fluendo.com>
16589 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16590 Check if we are doing a segment seek and have arrived at the
16591 end of that segment.
16593 2005-11-04 Wim Taymans <wim@fluendo.com>
16595 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16596 Don't leak a mutex unlock in case of an error.
16601 2005-11-04 Wim Taymans <wim@fluendo.com>
16603 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16605 Get the context to wake up only once.
16607 2005-11-03 Wim Taymans <wim@fluendo.com>
16609 * check/states/sinks.c: (GST_START_TEST):
16610 Uncomment fixed check.
16612 * docs/design/part-TODO.txt:
16615 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16616 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16617 (gst_base_sink_get_position):
16618 If we are going to PLAYING, post the right pending state
16619 when we post the intermediate paused message.
16621 * gst/gstelement.c: (gst_element_continue_state),
16622 (gst_element_set_state_func), (gst_element_change_state):
16623 Don't post state changes that were between the same state
16624 and were not ASYNC.
16626 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16628 * docs/gst/gstreamer-sections.txt:
16631 * gst/gstminiobject.h:
16634 more docs and doc style fixes
16636 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16638 * docs/gst/gstreamer-sections.txt:
16639 * gst/gstelement.c:
16640 * gst/gstminiobject.c:
16643 2005-11-03 Andy Wingo <wingo@pobox.com>
16645 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16646 state-changed messages actually have the right order and the right
16649 2005-11-03 Wim Taymans <wim@fluendo.com>
16651 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16652 Added some more checks. Specifically the case where NO_PREROLL
16653 elements are in the pipeline.
16655 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16656 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16657 (gst_base_sink_get_position):
16658 Post READY->PAUSED state change messages too.
16659 Fix bug where VOID was posted as pending state...
16661 * gst/gstbin.c: (gst_bin_recalc_state):
16662 use _element_continue_state() to continue the state change.
16664 * gst/gstelement.c: (gst_element_continue_state),
16665 (gst_element_commit_state), (gst_element_set_state_func),
16666 (gst_element_change_state), (gst_element_change_state_func):
16667 Lots of state change cleanups, assign the STATE_RETURN in
16668 a new continue_state() function that also propagates the
16669 last return value from a state change to the app.
16670 Update some debug statements with proper category.
16672 2005-11-03 Wim Taymans <wim@fluendo.com>
16674 * docs/design/part-events.txt:
16675 * docs/design/part-gstpipeline.txt:
16676 * docs/design/part-messages.txt:
16677 * docs/design/part-overview.txt:
16678 * docs/design/part-seeking.txt:
16679 * docs/design/part-states.txt:
16680 * docs/design/part-trickmodes.txt:
16681 * docs/manual/advanced-position.xml:
16682 Small docs updates.
16685 People think !! is ugly, this looks better.
16687 * gst/gstpad.c: (gst_pad_set_blocked_async):
16688 Remove !! since it's fixed elsewhere now.
16690 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16692 * gst/gstminiobject.h:
16694 Add !! to _FLAG_IS_SET macros to make the result boolean.
16696 2005-11-03 Edward Hervey <edward@fluendo.com>
16698 * gst/gstpad.c: (gst_pad_set_blocked_async):
16699 comparing a flag and a gboolean rarely returns coherent results...
16700 Added two characters (!!) to make that work correctly.
16702 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16704 * gst/gstbus.c: (gst_bus_class_init):
16707 * gst/gstqueue.c: (gst_queue_loop):
16708 Don't assume a miniobject that isn't a buffer is an
16709 event (it could be that there is a refcounting
16710 problem somewhere and the pointer is stale and
16711 refers to an already destroyed miniobject).
16713 2005-11-03 Julien MOUTTE <julien@moutte.net>
16715 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16717 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16719 * docs/manual/advanced-position.xml:
16720 Update seek example and explanations to current 0.9 API.
16722 * gst/elements/gsttypefindelement.c:
16723 (gst_type_find_element_activate):
16724 Remove FIXME comment now that the found caps
16727 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16729 * gst/gstregistryxml.c: (load_feature):
16730 Add another GST_STR_NULL instance
16732 2005-11-02 Edward Hervey <edward@fluendo.com>
16734 * gst/gstpad.c: (handle_pad_block):
16735 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16737 2005-11-02 Wim Taymans <wim@fluendo.com>
16742 * gst/gstelement.c: (gst_element_commit_state):
16743 Remove unused value.
16745 * gst/gstiterator.c:
16746 Mention that the returned element is reffed in the docs.
16748 2005-11-02 Wim Taymans <wim@fluendo.com>
16750 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16751 (gst_pad_push), (gst_pad_push_event):
16752 Unlock blocked pads when they are flushed.
16754 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16757 * docs/gst/gstreamer-sections.txt:
16760 * gst/gstregistry.c: (gst_registry_scan_path_level):
16761 fix for a nasty little missed situation where an installed plug-in
16762 which was in the cache did not get overridden by an uninstalled one
16763 which was earlier in the plugin path because the newly created plugin
16764 for the uninstalled one (not in the registry) didn't get its
16765 ->registered set to TRUE
16767 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16769 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16770 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16771 (gst_collectpads_is_active), (gst_collectpads_collect),
16772 (gst_collectpads_collect_range), (gst_collectpads_start),
16773 (gst_collectpads_stop), (gst_collectpads_peek),
16774 (gst_collectpads_pop), (gst_collectpads_available),
16775 (gst_collectpads_read), (gst_collectpads_flush):
16776 Guard public API with assertions.
16779 Fix docs for gst_pad_set_link_function().
16781 2005-11-02 Johan Dahlin <johan@gnome.org>
16783 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16784 Unref found_caps after we used it.
16786 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16788 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16789 Don't try to ref NULL.
16791 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16793 * win32/common/config.h.in:
16794 provide a GST_FUNCTION that just gives a string for now
16796 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16798 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16799 (gst_object_flags_get_type), (register_gst_bin_flags),
16800 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16801 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16802 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16803 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16804 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16805 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16806 (gst_clock_flags_get_type), (register_gst_state),
16807 (gst_state_get_type), (register_gst_state_change_return),
16808 (gst_state_change_return_get_type), (register_gst_state_change),
16809 (gst_state_change_get_type), (register_gst_element_flags),
16810 (gst_element_flags_get_type), (register_gst_core_error),
16811 (gst_core_error_get_type), (register_gst_library_error),
16812 (gst_library_error_get_type), (register_gst_resource_error),
16813 (gst_resource_error_get_type), (register_gst_stream_error),
16814 (gst_stream_error_get_type), (register_gst_event_type),
16815 (gst_event_type_get_type), (register_gst_seek_type),
16816 (gst_seek_type_get_type), (register_gst_seek_flags),
16817 (gst_seek_flags_get_type), (register_gst_format),
16818 (gst_format_get_type), (register_gst_index_certainty),
16819 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16820 (gst_index_entry_type_get_type),
16821 (register_gst_index_lookup_method),
16822 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16823 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16824 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16825 (gst_index_flags_get_type), (register_gst_debug_level),
16826 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16827 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16828 (gst_iterator_result_get_type), (register_gst_iterator_item),
16829 (gst_iterator_item_get_type), (register_gst_message_type),
16830 (gst_message_type_get_type), (register_gst_mini_object_flags),
16831 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16832 (gst_pad_link_return_get_type), (register_gst_flow_return),
16833 (gst_flow_return_get_type), (register_gst_activate_mode),
16834 (gst_activate_mode_get_type), (register_gst_pad_direction),
16835 (gst_pad_direction_get_type), (register_gst_pad_flags),
16836 (gst_pad_flags_get_type), (register_gst_pad_presence),
16837 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16838 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16839 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16840 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16841 (gst_plugin_flags_get_type), (register_gst_rank),
16842 (gst_rank_get_type), (register_gst_query_type),
16843 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16844 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16845 (gst_tag_flag_get_type), (register_gst_task_state),
16846 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16847 (gst_alloc_trace_flags_get_type),
16848 (register_gst_type_find_probability),
16849 (gst_type_find_probability_get_type), (register_gst_uri_type),
16850 (gst_uri_type_get_type), (register_gst_parse_error),
16851 (gst_parse_error_get_type):
16852 * win32/common/gstversion.h:
16853 update win32 copies
16855 2005-11-01 Luca Ognibene <luogni@tin.it>
16858 fix docs. popt is dead, long live GOption.
16860 2005-10-31 Wim Taymans <wim@fluendo.com>
16865 2005-10-31 Andy Wingo <wingo@pobox.com>
16869 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16871 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16872 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16873 the possibility of deadlocks here if code calling notify() or
16874 set() has a lock that can be taken in another notify handler (ABBA
16875 with class lock and e.g. python GIL state lock).
16877 2005-10-28 Julien MOUTTE <julien@moutte.net>
16879 * gst/gstbus.c: Doc updates.
16881 2005-10-28 Wim Taymans <wim@fluendo.com>
16883 * docs/design/part-TODO.txt:
16884 * gst/gstiterator.c:
16885 * gst/gstsystemclock.c:
16886 * gst/gstsystemclock.h:
16889 2005-10-28 Edward Hervey <edward@fluendo.com>
16891 * docs/gst/gstreamer-docs.sgml:
16892 * docs/gst/gstreamer-sections.txt:
16893 the GstURIType documentation page is private, it only defines GstURIType
16894 which should be defined in the GstURIHandler page
16896 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16898 * gst/gstbin.c: (gst_bin_class_init):
16901 Documentation updates.
16903 2005-10-28 Wim Taymans <wim@fluendo.com>
16905 * docs/gst/gstreamer-sections.txt:
16908 Documented the clocks.
16910 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16912 * docs/gst/gstreamer-sections.txt:
16913 move some macros to private sections
16914 * gst/gstminiobject.c:
16915 * gst/gstminiobject.h:
16916 add descriptions provided by ds and some more
16918 mark macro as to be removed
16920 2005-10-28 Wim Taymans <wim@fluendo.com>
16922 * docs/design/part-TODO.txt:
16923 Add an item to TODO.
16925 * gst/gstiterator.c: (gst_iterator_fold),
16926 (gst_iterator_find_custom):
16927 * gst/gstiterator.h:
16930 2005-10-28 Wim Taymans <wim@fluendo.com>
16932 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16933 (gst_base_transform_init):
16936 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16937 An EOS event marks the queue as completely filled.
16939 2005-10-27 Wim Taymans <wim@fluendo.com>
16941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16942 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16943 Some more debugging.
16945 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16946 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16947 (gst_base_transform_event), (gst_base_transform_getrange),
16948 (gst_base_transform_chain):
16949 * gst/base/gstbasetransform.h:
16951 Protect transform and concurrent buffer alloc with a new lock.
16952 Try not to break ABI/API.
16954 2005-10-27 Wim Taymans <wim@fluendo.com>
16956 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16957 (gst_base_src_init), (gst_base_src_query),
16958 (gst_base_src_default_newsegment),
16959 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16960 (gst_base_src_send_event), (gst_base_src_event_handler),
16961 (gst_base_src_pad_get_range), (gst_base_src_loop),
16962 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16963 (gst_base_src_start), (gst_base_src_deactivate),
16964 (gst_base_src_activate_push), (gst_base_src_change_state):
16965 Move some stuff around and cleanup things.
16967 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16969 * gst/base/gstbasesrc.c: (gst_base_src_query):
16970 Add missing break statements.
16972 2005-10-27 Wim Taymans <wim@fluendo.com>
16974 * check/gst/gstbin.c: (GST_START_TEST):
16975 An extra refcount is taken in basesrc.
16977 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16978 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16979 (gst_base_src_loop):
16980 Small cleanups, check for flushing after being unlocked from the
16981 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16982 Don't send out EOS when going to READY.
16984 2005-10-27 Wim Taymans <wim@fluendo.com>
16986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16987 (gst_base_sink_get_position):
16990 * gst/gstbin.c: (message_check), (bin_replace_message),
16991 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16992 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16993 (bin_query_duration_init), (bin_query_duration_fold),
16994 (bin_query_duration_done), (bin_query_generic_fold),
16996 * tools/gst-launch.c: (main):
16999 2005-10-26 Stefan Kost <ensonic@users.sf.net>
17001 * examples/controller/audio-example.c: (main):
17002 * examples/queue/queue.c: (event_loop):
17003 * gst/base/gstbasetransform.h:
17004 * gst/gstelement.c: (gst_element_send_event):
17006 * gst/gstpad.c: (gst_pad_send_event):
17009 changing log priority in error situations
17011 2005-10-25 Wim Taymans <wim@fluendo.com>
17013 * gst/gstbin.c: (message_check), (bin_replace_message),
17014 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17015 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17016 (bin_query_duration_init), (bin_query_duration_fold),
17017 (bin_query_duration_done), (bin_query_generic_fold),
17019 Some doc and debug updates.
17020 Cache previously requested query DURATION for speed. invalidate
17021 cached duration if element posts a DURATION message.
17023 2005-10-25 Wim Taymans <wim@fluendo.com>
17025 * docs/design/part-TODO.txt:
17028 * gst/gstbin.c: (message_check), (bin_replace_message),
17029 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17030 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17031 (bin_query_duration_init), (bin_query_duration_fold),
17032 (bin_query_duration_done), (bin_query_generic_fold),
17034 Handle SEGMENT_START/DONE messages correctly.
17035 More evolved query algorithm that handles duration queries
17038 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17039 (gst_element_get_state_func), (gst_element_abort_state),
17040 (gst_element_commit_state), (gst_element_lost_state):
17041 Some more debugging.
17043 * gst/gstmessage.h:
17046 2005-10-25 Wim Taymans <wim@fluendo.com>
17048 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17049 Don't use invalid stream_time.
17051 * gst/gstevent.c: (gst_event_new_newsegment):
17052 stream_time in newsegment cannot be undefined.
17054 2005-10-24 Wim Taymans <wim@fluendo.com>
17059 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17061 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17063 2005-10-24 Stefan Kost <ensonic@users.sf.net>
17065 * docs/libs/tmpl/gstdparam.sgml:
17066 * docs/libs/tmpl/gstdplinint.sgml:
17067 * docs/libs/tmpl/gstdpman.sgml:
17068 * docs/libs/tmpl/gstdpsmooth.sgml:
17069 * docs/libs/tmpl/gstunitconvert.sgml:
17072 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
17077 === release 0.9.4 ===
17079 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
17082 releasing 0.9.4, "Tyrannosaurus Rex"
17084 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
17086 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17087 (gst_file_sink_get_current_offset):
17088 Use fseeko() and ftello() if available. When falling back on
17089 lseek() to get the current offset, fflush() first to make sure
17090 everything is up-to-date and we get the right offset.
17092 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
17094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17095 * gst/base/gstbasesrc.c: (gst_base_src_loop):
17096 * gst/gsterror.c: (_gst_stream_errors_init):
17098 * gst/gstqueue.c: (gst_queue_loop):
17100 remove prematurely added error category and clean up the instances
17102 2005-10-21 Wim Taymans <wim@fluendo.com>
17104 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17105 (gst_base_sink_get_position), (gst_base_sink_query),
17106 (gst_base_sink_change_state):
17107 Simply set the right flag when going to playing, that's all
17108 we need to do instead of calling a function inside the object
17109 lock (that could take the lock as well and deadlock)
17111 2005-10-21 Wim Taymans <wim@fluendo.com>
17113 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17114 (gst_base_src_loop):
17115 Don't warn, the peer element knows what to do best when
17116 the seek failed, it might try something else.
17118 2005-10-21 Wim Taymans <wim@fluendo.com>
17120 * gst/base/gstbasesrc.c: (gst_base_src_init),
17121 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17124 2005-10-21 Wim Taymans <wim@fluendo.com>
17126 * docs/design/part-segments.txt:
17129 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17130 Correctly set caps, even on the subbufer.
17132 2005-10-21 Wim Taymans <wim@fluendo.com>
17134 * docs/gst/gstreamer-docs.sgml:
17135 * docs/gst/gstreamer-sections.txt:
17136 * gst/gstelement.h:
17139 * gst/gstmessage.h:
17142 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17146 And 2% more doc coverage.
17148 2005-10-21 Andy Wingo <wingo@pobox.com>
17150 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17151 position reporting.
17153 2005-10-20 Wim Taymans <wim@fluendo.com>
17155 * gst/gsterror.c: (gst_error_get_message):
17158 * gst/gststructure.c:
17163 2005-10-20 Wim Taymans <wim@fluendo.com>
17168 Another 1% more coverage.
17170 2005-10-20 Wim Taymans <wim@fluendo.com>
17172 * docs/gst/gstreamer-sections.txt:
17173 * gst/gstelement.c: (gst_element_get_state_func),
17174 (gst_element_abort_state), (gst_element_commit_state),
17175 (gst_element_lost_state):
17177 * gst/gstquery.c: (gst_query_set_position),
17178 (gst_query_parse_position), (gst_query_set_duration),
17179 (gst_query_parse_duration), (gst_query_new_convert):
17181 Yay! 1% more docs coverage.
17183 2005-10-20 Wim Taymans <wim@fluendo.com>
17186 * gst/gstquery.c: (gst_query_set_position),
17187 (gst_query_parse_position), (gst_query_set_duration),
17188 (gst_query_parse_duration), (gst_query_new_convert):
17190 * gst/gstutils.c: (gst_element_query_convert):
17192 Docs and consistency fixes.
17194 2005-10-20 Wim Taymans <wim@fluendo.com>
17200 2005-10-20 Wim Taymans <wim@fluendo.com>
17202 * gst/gstbin.c: (message_check), (bin_replace_message),
17203 (bin_remove_messages), (is_eos), (gst_bin_add_func),
17204 (update_degree), (gst_bin_sort_iterator_next),
17205 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17206 Reworked the message handling a bit, cache the messages instead of
17207 only the senders. alows us to do more in the future.
17209 2005-10-20 Wim Taymans <wim@fluendo.com>
17211 * docs/design/part-TODO.txt:
17214 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17215 (gst_base_sink_query):
17216 Don't use clock time to report position when in EOS.
17218 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
17220 * tools/gst-inspect.c: (print_interfaces),
17221 (print_element_properties_info), (print_element_info):
17222 Fix interface output with gst-inspect -a; don't print
17223 newlines after double/float properties.
17225 2005-10-20 Wim Taymans <wim@fluendo.com>
17227 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17228 (gst_base_sink_query):
17229 Speed up current position calculation.
17231 * gst/base/gstbasesrc.c: (gst_base_src_query),
17232 (gst_base_src_default_newsegment):
17233 Correctly set stream position in newsegment.
17235 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17236 (update_degree), (gst_bin_sort_iterator_next),
17237 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17238 * gst/gstmessage.c: (gst_message_new_custom):
17239 Clean up debugging info
17241 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17242 (gst_queue_loop), (gst_queue_handle_src_query):
17245 2005-10-19 Wim Taymans <wim@fluendo.com>
17247 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17248 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17249 Fix query handling again.
17251 2005-10-19 Wim Taymans <wim@fluendo.com>
17253 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17254 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17255 * gst/base/gstbasesrc.c: (gst_base_src_query):
17256 * gst/elements/gstfilesink.c: (gst_file_sink_query):
17257 * gst/elements/gsttypefindelement.c:
17258 (gst_type_find_handle_src_query), (find_element_get_length),
17259 (gst_type_find_element_activate):
17262 * gst/gstquery.c: (gst_query_new_position),
17263 (gst_query_set_position), (gst_query_parse_position),
17264 (gst_query_new_duration), (gst_query_set_duration),
17265 (gst_query_parse_duration), (gst_query_set_segment),
17266 (gst_query_parse_segment):
17268 Bundling query position/duration is not a good idea since duration
17269 does not change much and we don't want to recalculate it for every
17270 position query, so they are separated again..
17271 Base value in segment query is not needed.
17273 * gst/gstqueue.c: (gst_queue_handle_src_query):
17274 * gst/gstutils.c: (gst_element_query_position),
17275 (gst_element_query_duration), (gst_pad_query_position),
17276 (gst_pad_query_duration):
17278 Updates for query API change.
17279 Added some docs here and there.
17281 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
17283 * check/gst/gstbin.c: (GST_START_TEST):
17284 * check/gst/gstghostpad.c: (GST_START_TEST):
17285 * check/pipelines/cleanup.c: (GST_START_TEST):
17286 wait on thread to die so we can check refcount correctly
17288 2005-10-18 Wim Taymans <wim@fluendo.com>
17290 * check/pipelines/stress.c: (GST_START_TEST):
17291 Make check a little more time consuming.
17293 2005-10-18 Wim Taymans <wim@fluendo.com>
17295 * check/Makefile.am:
17296 * check/pipelines/stress.c: (GST_START_TEST),
17297 (simple_launch_lines_suite), (main):
17298 Small state change torture test.
17300 * docs/design/part-states.txt:
17301 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17302 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17303 (gst_base_sink_change_state):
17304 Never take state lock from streaming thread, clean up ugly
17305 hacks. Unfortunatly core does not yet support nice ways to
17306 async commit state.
17308 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17310 Start state recalc if a STATE_DIRTY message is posted, but only
17311 on the toplevel bin.
17313 * gst/gstelement.c: (gst_element_sync_state_with_parent),
17314 (gst_element_get_state_func), (gst_element_abort_state),
17315 (gst_element_commit_state), (gst_element_lost_state),
17316 (gst_element_set_state_func), (gst_element_change_state):
17317 * gst/gstelement.h:
17318 State variables are now protected with the LOCK, the state
17319 lock is only used to serialize _set_state().
17321 2005-10-18 Wim Taymans <wim@fluendo.com>
17323 * check/gst/gstbin.c: (GST_START_TEST):
17324 * check/gst/gstmessage.c: (GST_START_TEST):
17325 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17326 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17328 * gst/gstelement.c: (gst_element_abort_state),
17329 (gst_element_commit_state), (gst_element_lost_state):
17330 * gst/gstmessage.c: (gst_message_new_state_changed),
17331 (gst_message_new_state_dirty), (gst_message_new_segment_start),
17332 (gst_message_new_segment_done), (gst_message_new_duration),
17333 (gst_message_parse_state_changed),
17334 (gst_message_parse_segment_start),
17335 (gst_message_parse_segment_done), (gst_message_parse_duration):
17336 * gst/gstmessage.h:
17337 * tools/gst-launch.c: (event_loop):
17338 Seriously, this is better than a previous commit as we only need
17339 to notify the fact that an element changed state in a streaming
17340 thread, marking the state of the parents dirty, hence the
17341 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17344 2005-10-18 Wim Taymans <wim@fluendo.com>
17346 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17347 (gst_bin_recalc_func):
17348 * gst/gstelement.c: (gst_element_set_clock),
17349 (gst_element_abort_state), (gst_element_lost_state):
17350 Cleanups, prepare for state change fixes.
17352 2005-10-18 Wim Taymans <wim@fluendo.com>
17355 * gst/gstelement.c: (gst_element_class_init),
17356 (gst_element_set_state), (gst_element_set_state_func):
17357 * gst/gstelement.h:
17358 Pending ABI changes.
17359 GThreadPool in GstBinClass to monitor async state changes.
17360 state_cookie in GstElement to detect concurrent gst/set state.
17361 set_state is now virtual too in case a very complicated element
17362 has to be constructed.
17364 2005-10-18 Wim Taymans <wim@fluendo.com>
17366 * check/gst/gstbin.c: (GST_START_TEST):
17367 * check/gst/gstmessage.c: (GST_START_TEST):
17368 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17369 * gst/gstbin.c: (bin_bus_handler):
17370 * gst/gstelement.c: (gst_element_commit_state),
17371 (gst_element_lost_state):
17372 * gst/gstmessage.c: (gst_message_new_state_changed),
17373 (gst_message_new_segment_start), (gst_message_new_segment_done),
17374 (gst_message_new_duration), (gst_message_parse_state_changed),
17375 (gst_message_parse_segment_start),
17376 (gst_message_parse_segment_done), (gst_message_parse_duration):
17377 * gst/gstmessage.h:
17378 * tools/gst-launch.c: (event_loop):
17379 Make messages future proof.
17380 state-change gets a flag if it was a message comming from the
17382 segment-start/stop can also be specified in other formats.
17383 A message to notify an app that a pipeline changed playback
17385 Also fix a GstMessage leak in -launch
17387 2005-10-18 Andy Wingo <wingo@pobox.com>
17389 * gst/gstelement.c (gst_element_dispose): More helpful message.
17391 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17393 reviewed by: <delete if not using a buddy>
17395 * common/gtk-doc.mak:
17397 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17399 * gst/gstregistry.c: (gst_registry_scan_path_level):
17400 unref a plug-in we get that was already initialized
17402 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17404 * docs/gst/gstreamer-sections.txt:
17405 * docs/libs/gstreamer-libs-sections.txt:
17406 * gst/gstelement.h:
17407 add new api entries
17408 hide internal macro
17410 2005-10-17 Andy Wingo <wingo@pobox.com>
17412 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17415 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17417 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17419 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17420 (gst_element_get_state_func): Better debug message.
17421 (gst_element_commit_state): s/INFO/DEBUG/.
17422 (gst_element_lost_state, gst_element_change_state):
17424 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17425 (gst_message_new_custom): s/INFO/LOG/.
17427 2005-10-17 Michael Smith <msmith@fluendo.com>
17429 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17430 Check if end time is valid using end time, not start time.
17432 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17434 * check/gst-libs/controller.c: (GST_START_TEST),
17435 (gst_controller_suite):
17436 * libs/gst/controller/gstcontroller.c:
17437 (gst_controlled_property_set_interpolation_mode):
17438 * libs/gst/controller/gstcontroller.h:
17439 * libs/gst/controller/gstinterpolation.c:
17440 * testsuite/controller/.cvsignore:
17441 * testsuite/controller/Makefile.am:
17442 * testsuite/controller/interpolator.c:
17443 merge controller testsuites
17445 remove mem-chunk from docs
17447 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17449 * gst/gstmemchunk.c:
17450 * gst/gstmemchunk.h:
17451 * gst/gsttrashstack.c:
17452 * gst/gsttrashstack.h:
17453 out. get out. you're fired. to the Attic !
17455 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17457 * gst/gstcaps.c: (gst_caps_intersect):
17458 fix signedness issues in a (hopefully) correct way
17459 * gst/gstelement.c: (gst_element_pads_activate):
17461 * gst/gstobject.c: (gst_object_set_parent):
17464 2005-10-17 Julien MOUTTE <julien@moutte.net>
17466 * gst/gstvalue.h: Fix prototypes.
17468 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17470 * docs/gst/gstreamer-sections.txt:
17471 * gst/gst.c: (gst_version_string):
17473 * gst/gstversion.h.in:
17474 * win32/common/libgstreamer.def:
17475 add gst_version_string ()
17477 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17481 * gst/gst.c: (init_post):
17482 * win32/common/config.h.in:
17484 * gst/gstcaps.c: (gst_caps_intersect):
17485 use gint64, the range could be bigger than a guint
17487 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17490 document potential problem in 2038
17492 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17494 * gst/gstcaps.c: (gst_caps_intersect):
17495 Fix guint j diving under 0
17497 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17500 * win32/common/config.h:
17501 * win32/common/config.h.in:
17502 check for process.h, declares getpid() on Windows
17504 include process.h if we have it
17505 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17506 * gst/gstmemchunk.h:
17507 fix signedness issues
17508 * win32/common/libgstreamer.def:
17511 2005-10-16 Julien MOUTTE <julien@moutte.net>
17513 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17514 fix. Because of unsigned ints, caps intersection was going nuts and
17515 trying to access structures with G_MAXUINT index. That fixes
17516 videotestsrc ! ffmpegcolorspace ! fakesink
17517 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17520 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17523 use the gettext macro
17524 * gst/elements/gstelements.c:
17526 * gst/indexers/gstindexers.c:
17527 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17528 * win32/common/config.h:
17530 * win32/common/config.h.in:
17531 add the template to generate config.h
17532 * win32/common/gstenumtypes.c:
17533 * win32/common/gstversion.h:
17536 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17538 * gst/gst.c: (gst_version):
17539 * gst/gstversion.h.in:
17542 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17545 Oops, add missing closing bracket.
17547 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17550 use common m4's for argument checking
17552 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17554 * docs/gst/gstreamer-sections.txt:
17556 Add GST_EVENT_TYPE_NAME() macro.
17558 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17561 * gst/gstpluginfeature.c:
17563 privatize more symbols
17565 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17568 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17569 everything that uses GStreamer API should have the includes
17571 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17573 * docs/gst/gstreamer-sections.txt:
17574 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17576 give each value a _get_type, removes the DATA exports
17578 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17582 remove _gst_registry_auto_load, not used anymore
17583 * gst/gstbin.c: (gst_bin_get_type):
17585 * gst/gstelement.c: (gst_element_get_type):
17586 * gst/gstelement.h:
17587 * gst/gstobject.c: (gst_object_get_type):
17589 * gst/gstpad.c: (gst_pad_get_type):
17591 make _get_type functions similar, fixes data export from library
17593 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17596 correctly make conditionals
17597 * gst/elements/Makefile.am:
17598 * gst/elements/gstelements.c:
17599 fix typo causing fdsrc not to build
17601 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17603 * testsuite/Makefile.am:
17604 * testsuite/bytestream/.cvsignore:
17605 * testsuite/bytestream/Makefile.am:
17606 * testsuite/bytestream/filepadsink.c:
17607 * testsuite/bytestream/gstbstest.c:
17608 * testsuite/bytestream/test1.c:
17609 * testsuite/bytestream/testfile1:
17610 * testsuite/caps/normalisation.c:
17611 * testsuite/caps/random.c: (main):
17612 * testsuite/cleanup/.cvsignore:
17613 * testsuite/cleanup/Makefile.am:
17614 * testsuite/cleanup/cleanup1.c:
17615 * testsuite/cleanup/cleanup2.c:
17616 * testsuite/cleanup/cleanup3.c:
17617 * testsuite/cleanup/cleanup4.c:
17618 * testsuite/cleanup/cleanup5.c:
17619 * testsuite/controller/interpolator.c:
17620 * testsuite/debug/printf_extension.c: (main):
17621 * testsuite/elements/tee.c:
17622 * testsuite/negotiation/.cvsignore:
17623 * testsuite/negotiation/Makefile.am:
17624 * testsuite/negotiation/pad_link.c:
17625 * testsuite/pad/Makefile.am:
17626 * testsuite/pad/chainnopull.c:
17627 * testsuite/pad/getnopush.c:
17628 * testsuite/pad/link.c:
17629 * testsuite/refcounting/sched.c: (create_pipeline):
17630 * testsuite/registry/Makefile.am:
17631 * testsuite/registry/gst-print-formats.c:
17632 * testsuite/schedulers/.cvsignore:
17633 * testsuite/schedulers/142183-2.c:
17634 * testsuite/schedulers/142183.c:
17635 * testsuite/schedulers/143777-2.c:
17636 * testsuite/schedulers/143777.c:
17637 * testsuite/schedulers/147713.c:
17638 * testsuite/schedulers/147819.c:
17639 * testsuite/schedulers/147894-2.c:
17640 * testsuite/schedulers/147894.c:
17641 * testsuite/schedulers/Makefile.am:
17642 * testsuite/schedulers/group_link.c:
17643 * testsuite/schedulers/queue_link.c:
17644 * testsuite/schedulers/relink.c:
17645 * testsuite/schedulers/unlink.c:
17646 * testsuite/schedulers/unref.c:
17647 * testsuite/schedulers/useless_iteration.c:
17648 * testsuite/states/bin.c:
17649 clean out/remove some stuff from the testsuite directories
17651 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17654 check for some headers
17655 * gst/elements/Makefile.am:
17656 * gst/elements/gstelements.c:
17657 don't compile fdsrc without sys/socket.h
17658 * gst/indexers/Makefile.am:
17659 * gst/indexers/gstindexers.c: (plugin_init):
17660 don't compile fileindex without mmap
17662 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17669 * check/Makefile.am:
17670 * docs/gst/Makefile.am:
17671 * examples/helloworld/Makefile.am:
17673 * gst/base/Makefile.am:
17674 * gst/check/Makefile.am:
17675 * gst/elements/Makefile.am:
17676 * gst/indexers/Makefile.am:
17677 * gst/parse/Makefile.am:
17678 * libs/gst/controller/Makefile.am:
17679 * libs/gst/dataprotocol/Makefile.am:
17680 * examples/helloworld/helloworld.c: (event_loop):
17681 compile fixes, though it's not being compiled currently
17683 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17685 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17686 Add some simple tests for the new taglist date API.
17688 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17690 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17691 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17692 Beautify 'last-message' output: print 'none' for buffer timestamps
17693 and durations if none is set; improve alignment with next messages.
17695 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17697 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17698 * gst/gstpluginfeature.h:
17699 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17700 * gst/gstregistry.h:
17701 * docs/gst/gstreamer-sections.txt:
17702 Add new API to check plugin feature version requirements.
17704 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17705 Some basic tests for the above.
17707 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17709 * gst/gststructure.c: (gst_structure_to_string):
17710 guard against NULL printf - happens when for example
17711 a message structure with GstClock gets serialized
17713 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17715 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17716 Fix presumable copy'n'pasto.
17718 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17720 * gst/elements/gstfakesrc.h:
17721 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17722 * gst/elements/gsttypefindelement.c:
17723 fix some signedness
17724 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17725 I wonder if this could actually write +2GB files before
17727 2005-10-13 Andy Wingo <wingo@pobox.com>
17729 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17730 Fix Timmeke Waymans bug.
17731 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17732 string of the proper length to gst_caps_from_string. There's a
17733 potential for, before this fix, that this could cause someone
17734 connecting over the network to cause a segfault if the payload is
17735 not NUL-terminated.
17737 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17739 * docs/design/draft-push-pull.txt:
17740 * docs/design/part-overview.txt:
17741 * docs/random/TODO-pre-0.9:
17742 * docs/random/old/ChangeLog.gstreamer:
17743 * gst/base/gstpushsrc.c:
17747 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17749 * gst/glib-compat.c: (gst_flags_get_first_value):
17750 * gst/glib-compat.h:
17751 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17752 (gst_value_compare_double), (gst_value_serialize_flags):
17753 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17756 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17759 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17761 * tools/gst-launch.c: (event_loop):
17762 print out clock nicely
17764 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17766 * docs/gst/gstreamer-sections.txt:
17767 * gst/gsttaglist.h:
17768 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17769 (gst_tag_list_get_date_index):
17770 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17771 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17773 2005-10-13 Julien MOUTTE <julien@moutte.net>
17775 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17776 (gst_collectpads_chain):
17777 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17780 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17782 * docs/gst/gstreamer-sections.txt:
17785 * tools/gst-inspect.c: (main):
17786 * tools/gst-launch.c: (main):
17787 * tools/gst-run.c: (main):
17788 * tools/gst-xmlinspect.c: (main):
17789 fix GOption context leaks
17792 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17796 * win32/common/config.h:
17798 * win32/vs6/grammar.dsp:
17799 * win32/vs6/libgstelements.dsp:
17800 * win32/vs6/libgstreamer.dsp:
17803 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17806 * gst/base/gstbasesrc.c: (gst_base_src_query):
17807 fix more guint64<->gdouble conversions
17809 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17812 add win32-update target
17813 * win32/common/gstconfig.h:
17814 * win32/common/gstenumtypes.c:
17815 * win32/common/gstenumtypes.h:
17816 * win32/common/gstversion.h:
17817 add files that visual studio can't generate
17819 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17822 add a win32-update target
17825 2005-10-12 Wim Taymans <wim@fluendo.com>
17827 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17828 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17829 * gst/gstelement.c: (gst_element_commit_state),
17830 (gst_element_set_state):
17831 Protect flags with proper lock.
17832 unref provided cached clock in dispose.
17834 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17837 * gst/gstminiobject.h:
17839 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17840 removed unused flags from miniobject
17843 2005-10-12 Wim Taymans <wim@fluendo.com>
17845 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17846 (gst_file_sink_event), (gst_file_sink_render):
17847 Flush before seeking.
17849 2005-10-12 Andy Wingo <wingo@pobox.com>
17851 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17852 always been the case.
17854 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17856 * check/gst/gstbin.c: (GST_START_TEST):
17857 * docs/gst/gstreamer-sections.txt:
17858 * gst/base/gstbasesink.c: (gst_base_sink_init):
17859 * gst/base/gstbasesrc.c: (gst_base_src_init),
17860 (gst_base_src_get_range), (gst_base_src_check_get_range),
17861 (gst_base_src_start), (gst_base_src_stop):
17862 * gst/base/gstbasesrc.h:
17863 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17864 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17865 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17869 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17871 * gst/gstelement.c: (gst_element_is_locked_state),
17872 (gst_element_set_locked_state), (gst_element_commit_state),
17873 (gst_element_set_state):
17874 * gst/gstelement.h:
17875 * gst/gstindex.c: (gst_index_init):
17877 * gst/gstminiobject.h:
17878 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17879 (gst_object_set_parent):
17881 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17882 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17884 * gst/gstpadtemplate.h:
17885 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17886 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17887 * gst/gstpipeline.h:
17888 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17889 (gst_file_index_commit):
17890 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17891 * testsuite/pad/link.c: (gst_test_src_init),
17892 (gst_test_filter_init), (gst_test_sink_init):
17893 * testsuite/states/locked.c: (main):
17894 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17895 moved bitshift from macro to enum definition
17897 2005-10-12 Wim Taymans <wim@fluendo.com>
17899 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17900 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17901 (gst_file_sink_render):
17902 Some more debugging info.
17904 2005-10-12 Wim Taymans <wim@fluendo.com>
17906 * docs/design/part-states.txt:
17907 * tools/gst-launch.c: (main):
17909 Revert non-intentional change.
17911 2005-10-12 Wim Taymans <wim@fluendo.com>
17913 * check/gst/gstbin.c: (GST_START_TEST):
17914 * check/gst/gstelement.c: (GST_START_TEST):
17915 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17916 * check/gst/gstghostpad.c: (GST_START_TEST):
17917 * check/gst/gstpipeline.c: (GST_START_TEST):
17918 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17919 * check/states/sinks.c: (GST_START_TEST):
17920 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17921 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17922 (gst_bin_remove_func), (gst_bin_get_state_func),
17923 (gst_bin_recalc_state), (gst_bin_change_state_func),
17925 * gst/gstelement.c: (gst_element_get_state_func),
17926 (gst_element_get_state), (gst_element_abort_state),
17927 (gst_element_commit_state), (gst_element_set_state),
17928 (gst_element_change_state), (gst_element_change_state_func):
17929 * gst/gstelement.h:
17930 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17931 (gst_pipeline_provide_clock_func):
17932 * gst/gstutils.c: (gst_element_link_pads_filtered):
17933 * tools/gst-launch.c: (main):
17934 * tools/gst-typefind.c: (main):
17935 Use GstClockTime in _get_state() instead of GTimeVal.
17936 Remove old code in gstutils.c
17938 2005-10-12 Andy Wingo <wingo@pobox.com>
17940 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17943 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17944 there is no task. Shouldn't affect any code, as nothing in our
17945 plugins checks this return value.
17946 (gst_pad_stop_task): Also take the stream lock if the pad has no
17947 task. Docs updated.
17949 2005-10-12 Wim Taymans <wim@fluendo.com>
17951 * gst/gstpad.c: (pre_activate), (post_activate),
17952 (gst_pad_activate_pull), (gst_pad_activate_push):
17953 Cleanup activation code. Reset old state if
17956 2005-10-12 Wim Taymans <wim@fluendo.com>
17958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17959 (gst_base_sink_change_state):
17960 No need to prerol after receiving EOS.
17962 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17963 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17964 * gst/elements/gstidentity.c: (gst_identity_event):
17965 Print events more verbosely.
17967 2005-10-12 Wim Taymans <wim@fluendo.com>
17969 * check/Makefile.am:
17970 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17971 * check/states/sinks2.c:
17972 Moved sinks2 testcode in sinks check.
17974 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17975 (gst_bin_remove_func), (gst_bin_recalc_state),
17976 (gst_bin_change_state_func), (bin_bus_handler):
17977 Fix potential race condition when _get_state() iterated over an
17978 ASYNC element right before it posted a state completion.
17981 Do proper cast here.
17983 * gst/gstevent.c: (gst_event_new_newsegment),
17984 (gst_event_parse_newsegment):
17985 A playback rate of 0.0 is not allowed.
17987 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17989 * win32/common/config.h:
17990 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17991 (_trewinddir), (_ttelldir), (_tseekdir):
17992 * win32/common/dirent.h:
17993 * win32/common/gtchar.h:
17994 * win32/common/libgstbase.def:
17995 * win32/common/libgstreamer.def:
17996 * win32/vs6/grammar.dsp:
17997 * win32/vs6/gst_inspect.dsp:
17998 * win32/vs6/gst_launch.dsp:
17999 * win32/vs6/gstreamer.dsw:
18000 * win32/vs6/libgstbase.dsp:
18001 * win32/vs6/libgstelements.dsp:
18002 * win32/vs6/libgstreamer.dsp:
18003 Visual Studio 6 project files, and a new common directory.
18006 2005-10-11 Wim Taymans <wim@fluendo.com>
18008 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18009 (gst_base_sink_do_sync), (gst_base_sink_query),
18010 (gst_base_sink_change_state):
18011 * gst/base/gstbasesink.h:
18012 Correctly parse newsegment info.
18014 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18016 * gst/gst.c: (init_post):
18017 split plugin paths correctly
18019 2005-10-11 Wim Taymans <wim@fluendo.com>
18021 * check/gst/gstevent.c: (GST_START_TEST):
18022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18023 (gst_base_sink_change_state):
18024 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18025 * gst/base/gstbasetransform.c: (gst_base_transform_event):
18026 * gst/elements/gstfilesink.c: (gst_file_sink_event):
18027 * gst/gstevent.c: (gst_event_new_newsegment),
18028 (gst_event_parse_newsegment):
18030 Added extra flag to newsegment for future API freeze.
18031 Updated check and base elements.
18033 2005-10-11 Julien MOUTTE <julien@moutte.net>
18035 * gst/base/gstcollectpads.c: (gst_collectpads_init),
18036 (gst_collectpads_add_pad), (gst_collectpads_pop),
18037 (gst_collectpads_event), (gst_collectpads_chain):
18038 * gst/base/gstcollectpads.h: Handle EOS correctly.
18040 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18042 * tools/gst-launch.c: (main):
18043 more null protecting
18045 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18047 * gst/gst-i18n-lib.h:
18048 check for ENABLE_NLS, not GETTEXT_PACKAGE
18049 * gst/gstregistry.c: (gst_registry_add_plugin),
18050 (gst_registry_scan_path_level),
18051 (_gst_registry_remove_cache_plugins):
18052 protect possibly NULL strings
18053 * gst/parse/types.h:
18054 config.h already included before
18055 * tools/gst-inspect.c: (main):
18056 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18057 check for ENABLE_NLS, not GETTEXT_PACKAGE
18058 * tools/gst-launch.c: (main):
18059 check for ENABLE_NLS, not GETTEXT_PACKAGE
18061 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18064 if we don't have glib, fail before testing 2.8
18065 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18066 fix a leak, should fix plugins-base testsuite
18068 2005-10-11 Andy Wingo <wingo@pobox.com>
18070 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18071 take the mode we're going to as an arg. Go head and set the mode
18072 and flushing flags now, so that if the activate function starts a
18073 thread all the flags will be in the right state.
18074 (post_activate): Renamed also. Just handle making sure streaming
18075 finishes for the deactivation case, and setting the deactivated
18077 (gst_pad_set_active): Complain loudly if deactivation fails.
18078 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18079 (gst_pad_activate_push): Adapt to pre/post_activate changes,
18080 remove the terrible hack.
18082 2005-10-11 Wim Taymans <wim@fluendo.com>
18084 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18085 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18086 (gst_bin_recalc_state), (gst_bin_change_state_func),
18087 (gst_bin_dispose), (bin_bus_handler):
18089 Prepare to make current EOS message queue more generic.
18092 * gst/gstevent.c: (gst_event_new_newsegment),
18093 (gst_event_parse_newsegment):
18095 Rename base to stream_time.
18097 * gst/gstmessage.h:
18100 2005-10-11 Wim Taymans <wim@fluendo.com>
18102 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18103 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18104 (gst_bin_change_state_func), (bin_bus_handler):
18106 Work on proper clock selection.
18108 2005-10-11 Edward Hervey <edward@fluendo.com>
18110 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
18111 * libs/gst/controller/gstcontroller.h:
18112 Added GList* version of _remove_properties() in order to be able to wrap
18115 2005-10-11 Wim Taymans <wim@fluendo.com>
18117 * docs/design/part-states.txt:
18120 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18121 (gst_bin_change_state_func), (bin_bus_handler):
18122 Doc updates. Don't distribute the same clock over and over again.
18128 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18129 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18130 (gst_pad_send_event):
18132 Make probe emission threadsafe again.
18133 Register quarks and move _get_name() from utils.
18136 * gst/gstpipeline.c: (gst_pipeline_class_init),
18137 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18138 Only redistribute the clock of it changed.
18140 * gst/gstsystemclock.h:
18145 Moved the _flow_get_name() to GstPad.
18147 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18149 * check/gst-libs/gdp.c: (GST_START_TEST):
18150 * check/gst/gstcaps.c: (GST_START_TEST):
18151 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18152 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18153 (gst_dp_packet_from_caps):
18154 fix more valgrind warnings before turning up the heat
18156 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
18158 * gst/parse/grammar.y:
18159 some cleanup before the hacking
18161 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18163 * gst/base/gstbasesrc.c: (gst_base_src_query):
18165 * gst/gstutils.c: (gst_guint64_to_gdouble),
18166 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18168 externalize, basesrc uses it
18169 obviously the implementation needs testing
18171 2005-10-10 Wim Taymans <wim@fluendo.com>
18173 * tests/sched/Makefile.am:
18174 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18175 (make_pipeline3), (make_pipeline4), (print_elem), (main):
18177 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18179 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18180 apparently converting from guint64 to double is not implemented
18183 2005-10-10 Wim Taymans <wim@fluendo.com>
18185 * check/Makefile.am:
18186 * check/generic/states.c: (GST_START_TEST):
18187 * check/gst/gstbin.c: (GST_START_TEST):
18188 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18189 * check/states/sinks.c: (GST_START_TEST):
18190 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18192 Check fixes, use API as stated in design docs, remove hacks.
18194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18195 (gst_base_sink_change_state):
18196 Catch stopping our task while we're shutting down.
18198 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18199 (gst_bin_remove_func), (gst_bin_get_state_func),
18200 (gst_bin_recalc_state), (gst_bin_change_state_func),
18203 * gst/gstelement.c: (gst_element_init),
18204 (gst_element_get_state_func), (gst_element_abort_state),
18205 (gst_element_commit_state), (gst_element_lost_state),
18206 (gst_element_set_state), (gst_element_change_state),
18207 (gst_element_change_state_func):
18208 * gst/gstelement.h:
18209 New state change algorithm (see #318116)
18211 * gst/gstpipeline.c: (gst_pipeline_class_init),
18212 (gst_pipeline_init), (gst_pipeline_set_property),
18213 (gst_pipeline_get_property), (do_pipeline_seek),
18214 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18215 * gst/gstpipeline.h:
18216 Remove crude state change hacks.
18219 Remove crude hacks.
18221 * tools/gst-launch.c: (main):
18222 Fixes for state change. Needs some more work to fully use the
18225 2005-10-10 Andy Wingo <wingo@pobox.com>
18227 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18229 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18230 this flag, but it's not even in GLib 2.6. Odd. Hack around the
18233 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18235 * gst/gstiterator.c: (gst_iterator_new):
18236 Fix my previous commit: GTypes passed to gst_iterator_new()
18237 can be fundamental types.
18239 2005-10-10 Wim Taymans <wim@fluendo.com>
18241 * gst/gstelement.c: (gst_element_iterate_pad_list),
18242 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18243 (gst_element_iterate_sink_pads):
18244 Use src/sink pads lists for the respective iterators instead
18247 2005-10-10 Andy Wingo <wingo@pobox.com>
18249 Merged in popt removal + GOption addition patch from Ronald, bug
18252 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18253 GstElement macros around, remove popt-related symbols, add goption
18256 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18258 * docs/gst/Makefile.am:
18259 * docs/libs/Makefile.am: No POPT_CFLAGS.
18261 * examples/manual/Makefile.am:
18262 * docs/manual/basics-init.xml: Doc updates with an example.
18264 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18265 (gst_init), (parse_one_option), (parse_goption_arg):
18266 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18267 bit of hand merging and debugging to get the GOption stuff working
18270 * tests/Makefile.am:
18271 * tools/Makefile.am:
18272 * tools/gst-inspect.c: (main):
18273 * tools/gst-launch.c: (main):
18274 * tools/gst-run.c: (main):
18275 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18277 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18279 * gst/gstiterator.c: (gst_iterator_new):
18280 Add assertions to make sure passed GType is likely to really
18281 be a GType (as the compiler won't catch it if the size and
18282 GType arguments get mixed up, see #318447).
18284 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
18286 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18288 * gst/gstbin.c: (gst_bin_iterate_sorted):
18289 Pass GType and size arguments to gst_iterator_new() in the right
18290 order (maybe we should make _new() take the GType as first argument
18291 just like _new_list()?) (#318447).
18294 2005-10-10 Wim Taymans <wim@fluendo.com>
18296 * gst/gstelement.c: (gst_element_finalize):
18297 And free the GStaticRecMutex too
18299 2005-10-10 Andy Wingo <wingo@pobox.com>
18301 * gst/gstelement.c (gst_element_init, gst_element_finalize):
18302 Allocate and free the mutex properly.
18304 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18306 (GstElement): The state_lock is now recursive. Rebuild your
18307 plugins, suckers. Old macros adapted.
18309 * docs/gst/gstreamer-sections.txt: Doc updates.
18312 * gst/gstutils.c (g_static_rec_cond_timed_wait)
18313 (g_static_rec_cond_wait): Ported from state changes patch, while
18314 we wait on bug #317802 to be solved in a well-distributed GLib.
18316 * gst/gstelement.c (gst_element_change_state_func): Renamed from
18317 gst_element_change_state, variable name changes.
18318 (gst_element_change_state): Split out of gst_element_set_state in
18319 preparation for the state change merge. Doesn't pay attention to
18320 the 'transition' argument.
18321 (gst_element_set_state): Updates, hopefully purely cosmetic.
18322 (gst_element_sync_state_with_parent): MT-safety. Ported from the
18323 state change patch.
18324 (gst_element_get_state_func): Renamed from get_state, cosmetic
18327 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18329 * gst/elements/gstelements.c:
18330 * win32/GStreamer.vcproj:
18332 * win32/dirent.c: (_tseekdir):
18333 * win32/gst-inspect.vcproj:
18334 * win32/gst-launch.vcproj:
18335 * win32/gstconfig.h:
18336 * win32/gstelements.vcproj:
18337 * win32/gstenumtypes.c: (gst_object_flags_get_type):
18338 * win32/gstreamer.def:
18339 * win32/msvc71.sln:
18340 updates for the win32 build (patch from Sebastien Moutte)
18342 2005-10-10 Andy Wingo <wingo@pobox.com>
18344 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18345 gst_bin_get_state, cleaned up (but no logic changes).
18346 (bin_element_is_sink): Comment updates.
18347 (sink_iterator_filter): Remove needless cast.
18348 (gst_bin_iterate_sinks): Doc update.
18349 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18350 cleaned up (but no logic changes).
18352 * check/states/sinks.c (test_src_sink): Cleanups from the state
18354 (test_livesrc_sink): Sync on the state.
18356 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18357 the state change patch.
18359 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18362 * check/gst/gstbin.c: Merge in some style fixes and additional
18363 checks from Wim's state change patch.
18365 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18367 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18368 (gst_type_find_helper):
18369 Check whether we have the requested data already in our list of
18370 cached buffers before pulling a new buffer; also make the buffer
18371 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18373 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18378 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18379 don't use long long, it's not portable. Replacing with
18380 gint64 seems to work; let's hope no skeletons fall out of the closet.
18382 2005-10-10 Andy Wingo <wingo@pobox.com>
18384 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18386 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18388 * docs/gst/gstreamer-sections.txt:
18393 * gst/gstmessage.c: (gst_message_parse_state_changed):
18396 more docs, fix compilation
18398 2005-10-09 Philippe Khalaf <burger@speedy.org>
18399 * gst/gstmessage.c:
18400 Fixed a few forgotten variables on previous commit
18402 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18404 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18405 Fix evil typefind crasher: getrange() might return a short
18406 buffer at the end of a file, but gst_type_find_peek() must
18407 either return the full data as requested or NULL, but
18408 never a short buffer.
18410 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18412 * gst/gstmessage.c: (gst_message_new_state_changed),
18413 (gst_message_parse_state_changed):
18414 * gst/gstmessage.h:
18415 don't use "new", it's a C++ keyword
18417 2005-10-08 Wim Taymans <wim@fluendo.com>
18419 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18420 * gst/gstelement.c: (gst_element_post_message):
18421 * gst/gstpipeline.c: (gst_pipeline_change_state):
18422 Small docs and debug updates.
18424 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18426 * docs/gst/gstreamer-sections.txt:
18427 * gst/gstelementfactory.c:
18429 * gst/gsttaglist.c:
18432 2005-10-08 Wim Taymans <wim@fluendo.com>
18434 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18435 (gst_bin_dispose), (bin_bus_handler):
18436 Fix typos, add comments.
18437 Clear EOS list when going to PAUSED from any direction and do it
18438 in a threadsafe way.
18439 Get base time in a threadsafe way too.
18440 Fix confusing debug in the change_state function.
18441 Various other small cleanups.
18443 * gst/gstelement.c: (gst_element_post_message):
18444 Fix very verbose bus posting code.
18446 * gst/gstpipeline.c: (gst_pipeline_class_init),
18447 (gst_pipeline_set_property), (gst_pipeline_get_property),
18448 (gst_pipeline_change_state):
18449 Small ARG_ -> PROP_ cleanup
18451 2005-10-08 Wim Taymans <wim@fluendo.com>
18453 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18454 Do a less CPU demanding EOS check because we can.
18456 2005-10-08 Wim Taymans <wim@fluendo.com>
18458 * libs/gst/dataprotocol/dataprotocol.c:
18459 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18460 (gst_dp_packet_from_event):
18461 * libs/gst/dataprotocol/dataprotocol.h:
18462 * libs/gst/dataprotocol/dp-private.h:
18463 It's about time we bump the version number.
18464 Since event types don't fit in the guint8 anymore describing
18465 the payload type, make payload type 16 bits wide.
18467 2005-10-08 Wim Taymans <wim@fluendo.com>
18469 * docs/design/part-TODO.txt:
18470 * docs/design/part-clocks.txt:
18471 * docs/design/part-events.txt:
18472 * docs/design/part-gstbin.txt:
18473 * docs/design/part-gstelement.txt:
18474 * docs/design/part-gstpipeline.txt:
18475 * docs/design/part-live-source.txt:
18476 * docs/design/part-messages.txt:
18477 * docs/design/part-overview.txt:
18478 * docs/design/part-states.txt:
18481 2005-10-08 Wim Taymans <wim@fluendo.com>
18485 Fix event quark registration.
18486 Add some space between events so we can insert them in the
18489 2005-10-08 Wim Taymans <wim@fluendo.com>
18491 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18492 (gst_base_sink_handle_buffer):
18493 Better log message.
18496 * gst/gstelement.h:
18499 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18500 (gst_queue_set_property), (gst_queue_get_property):
18502 Remove old unused properties.
18504 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18505 * docs/gst/gstreamer-sections.txt:
18506 * gst/gstmessage.c:
18507 * gst/gstmessage.h:
18508 * gst/gstminiobject.c:
18509 * gst/gstminiobject.h:
18513 lots of new docs and doc fixes
18515 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18517 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18519 * gst/gstregistry.c: (gst_registry_lookup_locked),
18520 (gst_registry_scan_path_level):
18521 * gst/gstregistryxml.c: (load_plugin):
18522 Only ever load one plugin for a given plugin basename.
18523 This ensures correct overriding of GST_PLUGIN_PATH over
18524 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18525 system installed plugins.
18527 2005-10-08 Wim Taymans <wim@fluendo.com>
18529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18530 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18531 Prepare for doing QOS.
18533 2005-10-08 Wim Taymans <wim@fluendo.com>
18535 * check/gst/gstbin.c: (GST_START_TEST):
18536 * check/pipelines/cleanup.c: (GST_START_TEST):
18537 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18538 Allow new clock message too.
18540 2005-10-08 Wim Taymans <wim@fluendo.com>
18542 * gst/gstmessage.c: (gst_message_new_error),
18543 (gst_message_new_warning), (gst_message_new_tag),
18544 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18545 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18546 (gst_message_new_segment_start), (gst_message_new_segment_done),
18547 (gst_message_parse_state_changed),
18548 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18549 (gst_message_parse_new_clock):
18550 * gst/gstmessage.h:
18551 Also carry the clock in question.
18553 2005-10-08 Wim Taymans <wim@fluendo.com>
18555 * gst/gstmessage.c: (gst_message_new_custom),
18556 (gst_message_new_eos), (gst_message_new_error),
18557 (gst_message_new_warning), (gst_message_new_tag),
18558 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18559 (gst_message_new_new_clock), (gst_message_new_segment_start),
18560 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18561 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18562 * gst/gstmessage.h:
18564 Added clock related messages.
18566 * gst/gstpipeline.c: (gst_pipeline_change_state):
18567 Post message when the clock changed.
18569 * tools/gst-launch.c: (event_loop):
18572 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18574 * tools/gst-inspect.c: (print_element_properties_info):
18575 Can't pass NULL strings to g_print() on windows.
18577 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18579 * docs/Makefile.am:
18580 * docs/gst/Makefile.am:
18581 * docs/gst/gstreamer-docs.sgml:
18582 * docs/gst/running.xml:
18583 * docs/version.entities.in:
18584 add a chapter on running GStreamer.
18585 document GST_DEBUG and GST_PLUGIN* env vars
18587 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18592 remove PLUGINS_BUILDDIR stuff
18593 * gst/gst.c: (init_post):
18594 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18596 remove, it was condescending and not needed
18598 2005-10-08 Wim Taymans <wim@fluendo.com>
18600 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18601 (gst_base_sink_handle_object), (gst_base_sink_event),
18602 (gst_base_sink_wait), (gst_base_sink_handle_event),
18603 (gst_base_sink_change_state):
18604 * gst/base/gstbasesink.h:
18605 Repost EOS message while going to PLAYING if still EOS.
18606 Make sure that when receiving a FLUSH_START we don't attempt
18607 to sync on the clock anymore.
18609 2005-10-08 Wim Taymans <wim@fluendo.com>
18611 * tools/gst-launch.c: (event_loop):
18612 Better message printout.
18614 2005-10-08 Wim Taymans <wim@fluendo.com>
18616 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18617 (gst_bin_child_proxy_get_children_count):
18618 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18619 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18620 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18621 (gst_child_proxy_set_valist):
18622 * gst/parse/grammar.y:
18623 Make ChildProxy threadsafe and fix mem leaks.
18625 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18627 * gst/gst.c: (init_post):
18628 debug the GST_PLUGIN_ env vars
18630 2005-10-08 Wim Taymans <wim@fluendo.com>
18632 * check/gst/gstbin.c: (GST_START_TEST):
18633 * check/gst/gstmessage.c: (GST_START_TEST):
18634 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18635 * gst/gstelement.c: (gst_element_commit_state),
18636 (gst_element_lost_state):
18637 * gst/gstmessage.c: (gst_message_new_state_changed),
18638 (gst_message_parse_state_changed):
18639 * gst/gstmessage.h:
18640 * tools/gst-launch.c: (event_loop):
18641 Added extra field to STATE_CHANGE message with the pending
18642 state, which will be different from the new state soon.
18644 2005-10-08 Wim Taymans <wim@fluendo.com>
18646 * gst/gstbus.c: (gst_bus_pop):
18648 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18649 Small cleanups and doc updates.
18651 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18653 * gst/gst.c: (init_pre):
18654 * gst/gstbin.c: (gst_bin_add_func):
18655 log distributing clocks and base time
18656 * gst/gstregistry.c: (gst_registry_add_plugin),
18657 (gst_registry_scan_path_level), (gst_registry_scan_path):
18658 clean up the debugging output a little
18659 * gst/gstutils.c: (gst_element_state_get_name):
18660 warn about a memleak (I've actually seen this be used, though
18661 it was probably a bug)
18663 2005-10-07 Wim Taymans <wim@fluendo.com>
18665 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18666 (gst_base_src_init), (gst_base_src_default_newsegment),
18667 (gst_base_src_newsegment), (gst_base_src_do_seek),
18668 (gst_base_src_loop), (gst_base_src_start):
18669 * gst/base/gstbasesrc.h:
18670 Make the newsegment event customizable by subclasses.
18672 2005-10-07 Wim Taymans <wim@fluendo.com>
18674 * gst/gstevent.c: (gst_event_new_buffersize),
18675 (gst_event_parse_buffersize):
18677 New event for future idea.
18679 2005-10-07 Andy Wingo <wingo@pobox.com>
18681 * gst/gstelement.c (gst_element_post_message): Doc update.
18683 * docs/gst/gstreamer-sections.txt: Update.
18685 * gst/gstmessage.c (gst_message_new_application): Made into a
18686 function like honest API calls.
18687 (gst_message_new_element): New message type.
18689 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18691 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18692 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18695 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18696 NO_PREROLL from gst_element_change_state to fall through.
18698 2005-10-07 Wim Taymans <wim@fluendo.com>
18700 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18701 (gst_ghost_pad_do_activate_push):
18702 Activating a ghostpad with no internal pad in push mode
18705 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18708 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18709 Fixes compilation on Windows.
18711 2005-10-07 Michael Smith <msmith@fluendo.com>
18713 * tools/gst-inspect.c:
18714 Print out feature and plugin count at the end when printing out
18717 2005-10-04 Michael Smith <msmith@fluendo.com>
18719 * gst/gsterror.c: (_gst_stream_errors_init):
18720 Add another error string used in a few existing plugins.
18723 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18724 * tools/gst-inspect.c: (print_element_info):
18725 When a feature disappears from a plugin (and the feature exists in
18726 the cached registry file), things went horribly wrong. This isn't a
18727 complete fix, we should actually be removing the 'missing' features
18728 from the features list when we load the actual plugin. That's not
18731 2005-10-04 Johan Dahlin <johan@gnome.org>
18733 * check/gst/gstiterator.c: (GST_START_TEST):
18734 * gst/gstbin.c: (gst_bin_iterate_elements),
18735 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18736 * gst/gstelement.c: (gst_element_iterate_pads):
18737 * gst/gstformat.c: (gst_format_iterate_definitions):
18738 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18739 (gst_iterator_new_list), (gst_iterator_filter):
18740 * gst/gstiterator.h:
18741 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18742 Add a GType to GstIterator, update callsites and tests.
18744 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18746 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18747 give events a chance to be handled by event probes when the pad
18750 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18752 * gst/gstevent.c: (gst_event_type_get_name),
18753 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18755 add string representations for event types
18757 2005-10-06 Wim Taymans <wim@fluendo.com>
18759 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18760 Don't use NULL pointers.
18762 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18764 * gst/gst_private.h:
18766 * gst/gstelement.c:
18768 * gst/gstpluginfeature.c:
18769 widen the debug category in output to fit the biggest one we have
18770 add a bus category and use it
18771 play with the colors
18772 fix up some categories
18774 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18776 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18777 add push activation of sink ghost pads.
18778 Andye, please verify
18780 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18782 * gst/gstutils.c: (gst_element_link_pads):
18783 fix a bug in the case where neither element has a pad
18784 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18785 add a test for that case
18787 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18789 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18790 emit have-data before checking for peers. This allows
18791 for probe handlers to connect elements. This helps autopluggers.
18792 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18794 add six checks, linked/unlinked with no/true/false probe
18796 2005-10-04 Wim Taymans <wim@fluendo.com>
18798 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18799 (gst_fake_sink_event), (gst_fake_sink_preroll),
18800 (gst_fake_sink_render), (gst_fake_sink_change_state):
18801 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18802 (gst_fake_src_get_property), (gst_fake_src_create),
18803 (gst_fake_src_stop):
18804 * gst/elements/gstidentity.c: (gst_identity_stop):
18805 Protect last_message with lock.
18807 2005-10-04 Edward Hervey <edward@fluendo.com>
18810 Added precision in the comments for GST_FORMAT_DEFAULT
18812 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18814 * tools/gst-launch.c: (main):
18815 Don't try to run erroneous pipelines.
18817 2005-10-04 Julien MOUTTE <julien@moutte.net>
18819 * gst/gstbus.c: We don't need this header.
18821 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18824 back to development
18826 === release 0.9.3 ===
18828 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18832 Releasing 0.9.3, "Unregistered"
18834 2005-10-03 Andy Wingo <wingo@pobox.com>
18836 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18837 whereby calling a pad's activatepush() function can start a thread
18838 that starts to push or pull before the pad gets the FLUSHING flag
18839 unset. Hack around it by holding the stream lock until the flag is
18840 set. Need to replace this with a proper solution. Together with
18841 the ghost pad fixes, this fixes mp3 playing/tagreading.
18843 * docs/design/part-gstghostpad.txt: Add a note about activation of
18844 proxy pads outside of ghost pads.
18846 * gst/gstghostpad.c: Implement the ghost pad activation design.
18848 2005-10-02 Andy Wingo <wingo@pobox.com>
18850 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18851 It is volatile, after all.
18853 * docs/design/part-gstghostpad.txt: Flesh out activation with
18856 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18859 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18862 Fix (unused) AM_CONDITIONAL tests.
18864 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18866 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18868 * gst/gstutils.c: (gst_pad_query_convert):
18869 Add assertion that makes sure src_val is >=0, just like
18870 gst_query_new_convert() has. (#315895)
18872 2005-09-30 Edward Hervey <edward@fluendo.com>
18874 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18875 Let's not iterate pads we're not interested in, it avoids getting
18876 sky-high refcounts on sinkpad.
18878 2005-09-30 Wim Taymans <wim@fluendo.com>
18880 * gst/gstelement.c: (gst_element_set_state),
18881 (gst_element_change_state):
18882 Small tweak, element in ASYNC remains ASYNC.
18884 2005-09-30 Wim Taymans <wim@fluendo.com>
18886 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18887 Only error is an error.
18889 * gst/gstbin.c: (gst_bin_change_state):
18892 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18893 Also call pad_block in pad alloc.
18895 * gst/gstutils.c: (gst_flow_get_name):
18898 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18900 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18901 (gst_base_src_get_range):
18902 Fix documentation typos. Add some more debug info.
18904 2005-09-29 David Schleef <ds@schleef.org>
18906 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18907 more end-user friendly.
18908 * tools/gst-inspect.c: (main): Check if command-line argument is
18909 a file and attempt to load that file as a plugin.
18911 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18913 * check/gst/gstbin.c:
18914 * check/states/sinks.c:
18915 fix tests for the new warning
18916 * check/gst/gstpipeline.c:
18917 add a test for pipeline and bus interaction
18918 * gst/gstelement.c:
18919 elements should be NULL if they get disposed; add a warning if not
18921 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18924 for 2.6 refcounting, make debug log more correct by printing
18925 the actual refcounts at the time of swap (Wim)
18927 2005-09-29 Andy Wingo <wingo@pobox.com>
18929 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18930 removes signal watches previously added via
18931 gst_bus_add_signal_watch.
18932 (gst_bus_add_signal_watch): Don't return the source id, just store
18933 it on the bus if there wasn't an id already.
18935 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18936 add_signal_watch and remove_signal_watch.
18938 2005-09-29 Edward Hervey <edward@fluendo.com>
18940 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18941 Better if we actually iterate the list :)
18943 2005-09-29 Wim Taymans <wim@fluendo.com>
18945 * check/gst/gstbin.c: (GST_START_TEST):
18946 Change for new bus API.
18948 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18949 (send_messages), (GST_START_TEST), (gstbus_suite):
18950 Change for new bus signal API.
18952 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18953 (gst_bus_source_prepare), (gst_bus_source_check),
18954 (gst_bus_create_watch), (gst_bus_add_watch_full),
18955 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18956 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18958 Remove support for multiple GSources operating on different
18959 message types as it is too complex and unneeded when using
18961 Added support for receiving signals from the bus.
18963 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18965 * docs/libs/tmpl/gstdataprotocol.sgml:
18966 * docs/manual/advanced-dataaccess.xml:
18967 * gst/elements/gstcapsfilter.c:
18969 rename filter-caps to caps property
18971 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18973 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18974 More robust fraction string parsing.
18976 * docs/pwg/appendix-porting.xml:
18977 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18979 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18981 * gst/gstcaps.c: (gst_caps_do_simplify):
18982 Thou shalt not free a structure and then continue using it
18983 in the next loop iteration.
18985 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18987 Add test case for caps simplification.
18989 2005-09-29 Wim Taymans <wim@fluendo.com>
18991 * check/gst/gstbin.c: (GST_START_TEST):
18994 2005-09-29 Wim Taymans <wim@fluendo.com>
18996 * check/gst/gstbin.c: (GST_START_TEST):
18999 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19000 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19001 (find_element), (gst_bin_sort_iterator_next),
19002 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19003 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19004 (gst_bin_change_state), (gst_bin_dispose):
19005 A bin does not have a bus, it gets the bus from the parent.
19007 * gst/gstelement.c: (gst_element_requires_clock),
19008 (gst_element_provides_clock), (gst_element_is_indexable),
19009 (gst_element_is_locked_state), (gst_element_change_state),
19010 (gst_element_set_bus_func):
19013 * gst/gstpipeline.c: (gst_pipeline_class_init),
19014 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19015 The pipeline provides a bus.
19017 2005-09-28 Johan Dahlin <johan@gnome.org>
19019 * gst/gstmessage.c (gst_message_parse_state_changed): Use
19020 gst_structure_get_enum instead of gst_structure_get_int
19022 * gst/gststructure.c (gst_structure_get_enum): Impl.
19024 * gst/gststructure.h (gst_structure_get_enum): Add
19026 * docs/gst/gstreamer-sections.txt: Ditto
19028 * gst/gstmessage.c (gst_message_new_state_changed): Use
19029 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19030 which does introspection.
19031 Reviewed by Christian Schaller
19033 2005-09-28 Stefan Kost <ensonic@users.sf.net>
19035 * gst/gstinfo.c: (gst_debug_log_default):
19036 don't do dummy g_strdup()s
19037 * libs/gst/controller/gstcontroller.c:
19038 (on_object_controlled_property_changed),
19039 (gst_controlled_property_new), (gst_controller_new_valist),
19040 (gst_controller_new_list),
19041 (gst_controller_remove_properties_valist), (gst_controller_set),
19042 (gst_controller_get), (gst_controller_sync_values),
19043 (gst_controller_get_value_array), (_gst_controller_class_init),
19044 (gst_controller_get_type):
19045 * libs/gst/controller/gstcontroller.h:
19046 * libs/gst/controller/gstinterpolation.c:
19047 (gst_controlled_property_find_timed_value_node):
19048 convert // to /**/ comments
19050 2005-09-28 Wim Taymans <wim@fluendo.com>
19052 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19053 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19054 (gst_bus_sync_signal_handler):
19056 Added async-message and sync-message signals to the bus.
19057 Added helper BusFunc to emit signals for all posted messages.
19059 * gst/gstmessage.c: (gst_message_type_get_name),
19060 (gst_message_type_to_quark), (gst_message_get_type):
19061 * gst/gstmessage.h:
19062 Register quarks for message names.
19064 2005-09-28 Stefan Kost <ensonic@users.sf.net>
19066 * docs/libs/gstreamer-libs-sections.txt:
19067 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19068 (gst_controller_new_list):
19069 * libs/gst/controller/gstcontroller.h:
19070 added another constructor for language bindings
19072 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
19074 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19078 * gst/gstinfo.c: (_gst_debug_init):
19079 slightly more readable color for refcount debugging
19081 2005-09-28 Wim Taymans <wim@fluendo.com>
19083 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19084 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19085 (find_element), (gst_bin_sort_iterator_next),
19086 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19087 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19088 (gst_bin_change_state), (gst_bin_dispose):
19089 Small doc fixes. get_clock -> provide_clock.
19091 * gst/gstelement.c: (gst_element_class_init),
19092 (gst_element_provides_clock), (gst_element_provide_clock),
19093 (gst_element_get_clock), (gst_element_commit_state),
19094 (gst_element_lost_state):
19095 * gst/gstelement.h:
19096 Make get/set_clock() symetric. Add provide_clock vmethod since
19097 that is actually what this function does.
19099 * gst/gstpipeline.c: (gst_pipeline_class_init),
19100 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19101 (gst_pipeline_get_clock):
19102 get_clock -> provide_clock.
19104 2005-09-28 Andy Wingo <wingo@pobox.com>
19106 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19107 lieu of real docs...
19109 * gst/elements/gstfdsrc.c: Cleaned up a bit.
19111 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
19113 * gst/elements/gstcapsfilter.c:
19114 * gst/elements/gstfakesink.c:
19115 * gst/elements/gstfakesrc.c:
19116 * gst/elements/gstfdsink.c:
19117 * gst/elements/gstfdsrc.c:
19118 * gst/elements/gstfilesink.c:
19119 * gst/elements/gstfilesrc.c:
19120 * gst/elements/gstidentity.c:
19121 * gst/elements/gsttee.c:
19122 * gst/elements/gsttypefindelement.c:
19123 Make element details static.
19125 2005-09-28 Wim Taymans <wim@fluendo.com>
19127 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19128 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19129 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19130 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19131 (gst_bin_change_state), (gst_bin_dispose):
19132 Some documentation updates.
19133 Clean up dispose handlers.
19135 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19136 * gst/gstpad.c: (gst_pad_dispose):
19137 Clean up dispose handler.
19139 * gst/gstpipeline.c: (gst_pipeline_change_state):
19140 Removed spurious UNLOCK.
19142 2005-09-27 Stefan Kost <ensonic@users.sf.net>
19144 * docs/gst/gstreamer-sections.txt:
19145 * gst/base/gstbasesrc.h:
19146 * gst/gstelement.h:
19150 * gst/gstpipeline.c:
19151 * gst/gstpipeline.h:
19154 added two new functions to the docs
19155 documents all undocumented GstXXXFlags
19156 completed some incomplete docs
19158 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
19160 * gst/gstbin.c: (gst_bin_dispose):
19161 * gst/gstelement.c: (gst_element_dispose):
19162 remove now useless and leaky resurrection code in dispose
19163 * gst/base/gstbasesrc.c: (gst_base_src_init):
19164 * gst/gstelementfactory.c: (gst_element_factory_create):
19165 * gst/gstobject.c: (gst_object_set_parent):
19168 2005-09-27 Wim Taymans <wim@fluendo.com>
19170 * docs/design/part-TODO.txt:
19173 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19174 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19175 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19176 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19177 (gst_bin_change_state):
19178 * gst/gstelement.h:
19179 Remove element variable, we keep element info in the iterator now.
19181 2005-09-27 Andy Wingo <wingo@pobox.com>
19183 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19186 2005-09-27 Wim Taymans <wim@fluendo.com>
19188 * check/gst/gstbin.c: (GST_START_TEST):
19189 Enable check that works now.
19191 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19192 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19193 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19194 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19195 (gst_bin_change_state):
19197 Redid the state change algorithm using a topological sort algo.
19198 Handles all cases correctly.
19199 Exposed iterator for state change order.
19201 * gst/gstelement.h:
19202 Temp storage for state changes. Need to get rid of this soon.
19204 2005-09-27 Wim Taymans <wim@fluendo.com>
19206 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19207 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19208 (link_fold_func), (gst_pad_proxy_setcaps):
19209 Leak fixes, the fold functions need to unref the passed object and
19210 _get_parent_*() returns ref to parent.
19212 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19214 * check/gst/gstbuffer.c: (test_make_writable):
19215 Plug leak in test case and fix 'make check-valgrind'
19217 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19219 * gst/gstbuffer.c: (gst_subbuffer_init):
19220 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19221 works correctly in all circumstances (we could have just copied
19222 the parent buffer's readonly flag, but conceptually it seems
19223 cleaner to mark all subbuffers as read-only). (based on patch
19224 by Alessandro Decina, #314710).
19226 * check/gst/gstbuffer.c: (create_read_only_buffer),
19227 (test_make_writable), (test_subbuffer_make_writable),
19229 Add some tests for gst_buffer_make_writable().
19231 2005-09-27 Wim Taymans <wim@fluendo.com>
19233 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19234 use gst_object_has_ancestor().
19236 * gst/gstobject.c: (gst_object_has_ancestor):
19238 gst_object_has_ancestor() copied from gstbin.c as it is a
19241 * tests/instantiate/create.c: (create_all_elements):
19242 * tests/lat.c: (handoff_src), (handoff_sink):
19243 * tests/sched/runxml.c: (main):
19244 * tests/seeking/seeking1.c: (main):
19245 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19247 Fix compilation of some tests.
19249 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19252 Remove comment. GST_TYPE_G_ERROR is here to stay,
19253 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19254 (#316961, #300610).
19256 2005-09-26 Wim Taymans <wim@fluendo.com>
19258 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19259 Added check that shows error in state change order.
19261 2005-09-26 Wim Taymans <wim@fluendo.com>
19263 * gst/gstbin.c: (gst_bin_change_state):
19264 Make state change function use 3 queues again, we were
19265 adding elements in the wrong order.
19267 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19270 * gst/gstpad.c: (gst_pad_dispose):
19271 Added some debug info first.
19273 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
19275 * docs/design/draft-push-pull.txt:
19276 * docs/design/part-events.txt:
19277 * docs/design/part-overview.txt:
19278 * docs/design/part-scheduling.txt:
19279 Replace all _pull_region() with _pull_range()
19281 2005-09-26 Andy Wingo <wingo@pobox.com>
19283 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19285 * check/gst-libs/controller.c: Update for controller api change.
19288 * tests/Makefile.am:
19289 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19290 over by GLib bug 118439.
19292 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19293 routines to a function.
19295 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19297 * libs/gst/controller/gsthelper.c:
19298 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19299 (gst_object_sync_values): Renamed from sink_values. Ugh.
19301 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19303 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19304 Renamed from controller_key, as it is exported.
19306 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19308 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
19313 * gst/gstpadtemplate.h:
19316 * gst/gstqueryutils.c:
19317 * gst/gstqueryutils.h:
19318 remove queryutils headers after moving the two used functions
19319 to gstquery. also fixes build problem for gstsiddec
19321 2005-09-26 Michael Smith <msmith@fluendo.com>
19323 * tools/gst-launch.1.in:
19324 Correct documentation in manpage of debug syntax
19326 2005-09-26 Wim Taymans <wim@fluendo.com>
19328 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19329 (gst_base_src_is_seekable), (gst_base_src_change_state):
19330 Some more debugging info.
19332 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19334 * docs/gst/gstreamer-sections.txt:
19335 * gst/base/gstbasetransform.h:
19339 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19341 * docs/gst/.cvsignore:
19342 * docs/gst/tmpl/.cvsignore:
19343 * docs/gst/tmpl/gstpipeline.sgml:
19344 * docs/gst/tmpl/gstplugin.sgml:
19345 * gst/gstpipeline.c:
19348 inlined the last two docs files
19349 removed the tmpl directory from cvs (no more conflicts here!)
19351 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19353 * docs/gst/gstreamer-sections.txt:
19354 * docs/gst/tmpl/.cvsignore:
19355 * docs/gst/tmpl/gstpad.sgml:
19356 * docs/gst/tmpl/gstpadtemplate.sgml:
19358 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19359 (gst_pad_finalize), (gst_pad_set_pad_template):
19361 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19362 (gst_pad_template_class_init), (gst_pad_template_init),
19363 (gst_pad_template_dispose), (name_is_valid),
19364 (gst_static_pad_template_get), (gst_pad_template_new),
19365 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19366 (gst_pad_template_pad_created):
19367 * gst/gstpadtemplate.h:
19368 inlined two more docs
19369 factored gstpadtemplate out of gstpad
19371 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19373 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19374 (test_children_state_change_order_semi_sink):
19375 Fix test case: we can't rely on a fixed state change order when
19376 going from READY => PAUSED because the sink might commit its
19377 new state first when the first buffer created by the source
19378 reaches the sink before the source has finished its change state.
19379 (Test case still fails at times, see #316856, comment 5 onwards)
19381 2005-09-24 Wim Taymans <wim@fluendo.com>
19383 * docs/design/part-events.txt:
19384 * docs/design/part-gstbus.txt:
19385 * docs/design/part-gstpipeline.txt:
19386 * docs/design/part-messages.txt:
19387 * docs/design/part-overview.txt:
19388 * docs/design/part-segments.txt:
19392 * gst/gstelement.c:
19395 * gst/gstiterator.c:
19396 Various documentation updates.
19398 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19401 Well, that's embarassing. Luckily we weren't using
19402 GST_CLOCK_DIFF anywhere.
19404 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19406 * common/gtk-doc.mak:
19407 don't fail on building XML, FC4 slave shows a bunch of doc
19408 missing bits that I don't get
19410 * gst/gstpipeline.c:
19411 * gst/gststructure.c:
19414 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19416 * docs/design/part-gstbin.txt:
19417 * docs/design/part-gstbus.txt:
19419 Add blurb about how the bus goes into flushing mode and
19420 drops all messages when its bin goes from READY into NULL
19423 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19425 * docs/gst/gstreamer-sections.txt:
19426 * gst/gststructure.c: (gst_structure_get_clock_time):
19427 * gst/gststructure.h:
19428 add a method to get a GstClockTime out of a structure
19430 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19432 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19433 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19434 Added test to check state change order in bins (can still be made
19435 to fail here under heavy disk load; bails out with 'Push on pad
19436 fakesink:sink0, but it was not activated in push mode').
19438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19439 Fix state change order when there is only a semi sink (#316856)
19441 * gst/gstbus.c: (gst_bus_class_init):
19442 Use _class_peek_parent(), not _class_ref(); fix docs to say
19443 'default main context' instead of 'mainloop' where that is
19446 * gst/gstelement.c: (gst_element_commit_state),
19447 (gst_element_set_state):
19448 Fix typos in debug messages
19450 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19453 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19454 * gst/gstpluginfeature.c:
19456 various doc updates
19457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19458 change an assert into an error until it gets fixed properly
19460 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19462 * docs/gst/gstreamer-sections.txt:
19463 * docs/gst/tmpl/.cvsignore:
19464 * docs/gst/tmpl/gstelement.sgml:
19465 * docs/gst/tmpl/gstinfo.sgml:
19466 * docs/gst/tmpl/gstobject.sgml:
19467 * gst/gstelement.c:
19468 * gst/gstelement.h:
19471 * gst/gstobject.c: (gst_object_class_init):
19473 inlined 3 more biiiig doc files and added some missing docs on the fly
19475 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19477 * check/gst/.cvsignore:
19478 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19479 * gst/gstregistryxml.c: (load_plugin),
19480 (gst_registry_xml_save_plugin):
19481 put back source in registry. add checks for find_plugin.
19482 * testsuite/states/bin.c: (assert_state), (empty_bin),
19483 (test_adding_one_element), (main):
19484 * testsuite/states/locked.c: (main):
19485 some compile/run fixes
19487 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19489 * check/gst/gstvalue.c: (GST_START_TEST):
19490 fix leaks in the test itself
19492 2005-09-22 Wim Taymans <wim@fluendo.com>
19494 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19495 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19496 (gst_base_sink_query):
19497 Prepare for more accurate position reporting and query
19500 * gst/gstelement.c: (gst_element_send_event),
19501 (gst_element_set_state):
19504 2005-09-22 Wim Taymans <wim@fluendo.com>
19506 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19507 (gst_query_parse_segment):
19509 More documentation.
19510 Add segment query for future use.
19512 2005-09-22 Wim Taymans <wim@fluendo.com>
19514 * gst/gstbin.c: (gst_bin_add_func):
19515 Some more debug info.
19517 * gst/gstelement.c: (gst_element_send_event):
19518 Simplify send_event
19520 * gst/gstelement.h:
19521 Don't know how flags got broken.
19526 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19528 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19529 Add simplistic test suite for GST_TYPE_DATE serialisation and
19532 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19534 * docs/gst/gstreamer-sections.txt:
19535 * gst/gststructure.c: (gst_structure_set_valist),
19536 (gst_structure_get_date):
19537 * gst/gststructure.h:
19538 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19539 (gst_date_copy), (gst_value_compare_date),
19540 (gst_value_serialize_date), (gst_value_deserialize_date),
19541 (gst_value_transform_date_string),
19542 (gst_value_transform_string_date), (_gst_value_initialize):
19544 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19545 bunch of utility functions along with a hack that checks that
19546 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19547 is required. Part of the grand scheme in #170777.
19549 2005-09-22 Andy Wingo <wingo@pobox.com>
19551 * gst/gstconfig.h.in: Psych out gtk-doc.
19553 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19555 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19557 * tools/gst-inspect.c (print_element_list): Plug some
19558 inconsequential leaks.
19560 * gst/gstregistry.c (gst_registry_get_default): Doc.
19562 * check/gst/gstplugin.c:
19563 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19564 * gst/gstelementfactory.c (gst_element_factory_create):
19565 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19568 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19569 (gst_plugin_feature_load): Doc, don't eat refs.
19571 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19572 (gst_plugin_list_free): Doc.
19573 (gst_plugin_load_file): Doc updates.
19575 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19576 accessors returning refcounted objects, return a ref.
19578 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19579 accessor for caps. IDEMPOTENCE. Oh yes.
19581 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19583 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19585 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19586 (_gst_debug_register_funcptr):
19587 Add mutex to serialise access to the hash table with
19588 the function pointer => function name string mapping;
19589 make that hash table static scope (#316809).
19591 * gst/registries/.cvsignore:
19592 Remove left-over file.
19594 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19596 * docs/pwg/appendix-porting.xml:
19597 And something about newsegment events and caps-on-buffers to
19598 the porting guide (feel free to improve).
19600 2005-09-21 Andy Wingo <wingo@pobox.com>
19602 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19603 data and event probes on the same pad.
19604 (test_buffer_probe_once): Test that removing probes from within
19605 the probe functions works.
19607 2005-09-21 Andy Wingo <wingo@pobox.com>
19609 * check/gst/gstutils.c: New file.
19610 (test_buffer_probe_n_times): A simple buffer probe test. More to
19613 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19614 have-data::buffer, not have-data.
19615 (gst_pad_add_event_probe): Likewise for have-data::event.
19616 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19617 peer' isn't quite right yet though.
19618 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19619 (gst_pad_remove_data_probe): Change to take the guint handler_id
19620 as their arg, not the function+data, which is more glib-like.
19622 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19623 the signal emission to indicate if the data is a buffer or an
19625 (gst_pad_get_type): Initialize buffer and event quarks.
19626 (gst_pad_class_init): have-data is now a detailed signal, yes it
19629 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19631 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19632 * gst/gstutils.c: (gst_util_set_value_from_string),
19633 (gst_util_set_object_arg):
19634 Don't put functional code in g_return_if_fail() or
19635 g_return_val_if_fail() statements, otherwise things will
19636 break when G_DISABLE_CHECKS is defined during compilation.
19638 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19640 * docs/gst/tmpl/.cvsignore:
19641 * docs/gst/tmpl/gstvalue.sgml:
19644 inlied another one and added some obvious docs
19646 2005-09-21 Wim Taymans <wim@fluendo.com>
19648 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19649 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19650 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19651 (gst_fdsrc_get_property), (gst_fdsrc_create):
19652 * gst/elements/gstfdsrc.h:
19653 Properly implement fdsrc. Removed signal and timeout,
19654 better implemented somewhere else.
19656 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19658 * docs/gst/tmpl/.cvsignore:
19659 * docs/gst/tmpl/gstimplementsinterface.sgml:
19660 * gst/gstinterface.c:
19663 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19665 * docs/gst/gstreamer-sections.txt:
19666 * docs/gst/tmpl/.cvsignore:
19667 * docs/gst/tmpl/gstenumtypes.sgml:
19668 remove obsolete doc file
19670 2005-09-21 David Schleef <ds@schleef.org>
19672 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19673 little beer, fix a little leak.
19675 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19677 * docs/gst/gstreamer-docs.sgml:
19678 * docs/gst/gstreamer-sections.txt:
19679 * docs/gst/tmpl/.cvsignore:
19683 * gst/gstelement.h:
19684 * gst/gstindex.c: (gst_index_class_init):
19686 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19687 (gst_index_factory_class_init), (gst_index_factory_init),
19688 (gst_index_factory_finalize), (gst_index_factory_new),
19689 (gst_index_factory_destroy), (gst_index_factory_find),
19690 (gst_index_factory_create), (gst_index_factory_make):
19691 * gst/gstindexfactory.h:
19692 * gst/gstpluginfeature.c:
19693 * gst/gstpluginfeature.h:
19694 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19695 more docs inlined, splitted gstindex.{c,h}
19697 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19699 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19702 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19704 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19705 Set sync to FALSE by default.
19707 2005-09-20 Wim Taymans <wim@fluendo.com>
19709 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19710 (gst_base_sink_init):
19711 Make sync property settable from subclass.
19713 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19714 (gst_fake_sink_change_state):
19715 Set sync to FALSE by default.
19717 2005-09-20 Wim Taymans <wim@fluendo.com>
19719 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19720 * tools/gst-launch.c: (main):
19721 The timeout handler should have lower priority than the source
19722 so we don't timeout before popping a message with 0 timeout.
19723 Dump error messages after failed state change.
19725 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19727 * tools/gst-inspect.c: (print_element_properties_info):
19730 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19732 * check/gst/gstevent.c:
19733 * gst/elements/gstfakesink.c:
19734 * gst/elements/gstfakesink.h:
19735 remove the sync property from fakesink.
19736 has the side effect of setting sync TRUE
19737 for fakesink, which is a change. Anyone who knows how
19738 to fix this nicely in a GObject-y way, feel free.
19740 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19742 * docs/gst/gstreamer-docs.sgml:
19743 remove probe refsection
19745 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19747 * check/Makefile.am:
19748 disable valgrinding the controller test again
19749 * docs/gst/gstreamer-sections.txt:
19750 update for api-changes
19752 2005-09-20 Wim Taymans <wim@fluendo.com>
19754 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19755 (gst_base_sink_set_property), (gst_base_sink_get_property),
19756 (gst_base_sink_do_sync):
19757 * gst/base/gstbasesink.h:
19758 Added sync property to basesink to disable clock sync.
19760 2005-09-20 Andy Wingo <wingo@pobox.com>
19762 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19763 eating the caller's refcount.
19765 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19766 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19769 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19770 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19771 of GLib 2.8 public, so we can know which refcount to check in
19774 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19775 (gst_object_init): Only set the gst refcount if we're going ahead
19776 with the refcount hack.
19778 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19780 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19781 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19782 more leaks plumbed, added more debug-logging
19786 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19788 * gst/gstmessage.c:
19789 remove include of gstmemchunk.h
19791 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19793 * gst/gstclock.c: (_gst_clock_id_free):
19794 Commit from the Political Party For More Atomic CVS Commits,
19795 so that people don't waste too much of their day fishing
19796 out obvious leaks out of massive commits.
19797 Oh, and fix a pretty damn obvious leak in the memchunk
19800 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19802 * check/Makefile.am:
19803 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19804 plug mem-leak, re-add to valgrindable tests
19806 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19809 unbreak the build for those who have chronic arthritis
19810 and typing "make check" is just too taxing on the hands
19812 2005-09-20 Andy Wingo <wingo@pobox.com>
19814 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19815 really want it out, you should fix plugins at the same time.
19817 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19820 * docs/gst/gstreamer-sections.txt:
19822 added missing symbols to api docs
19823 disable ref-count hack if we have glib >= 2.8
19825 2005-09-19 David Schleef <ds@schleef.org>
19827 * docs/gst/Makefile.am: Ignore a few more internal headers
19828 * docs/gst/gstreamer-docs.sgml: Remove old sections
19829 * docs/gst/gstreamer-sections.txt: Remove old sections
19830 * docs/gst/tmpl/gstobject.sgml: update
19831 * docs/gst/tmpl/gstplugin.sgml: update
19832 * docs/gst/tmpl/gstpluginfeature.sgml: update
19833 * docs/random/ds/0.9-suggested-changes: update.
19834 * gst/Makefile.am: remove memchunk and trashstack, since they're
19836 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19837 * gst/gst.h: don't include some headers
19838 * gst/gstchildproxy.c: add gstmarshal.h
19839 * gst/gstclock.c: Don't use memchunks
19840 * gst/gstminiobject.c: Add some docs
19841 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19842 * gst/gstobject.h: same
19843 * gst/gstplugin.c: include gstmacros.h
19844 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19845 * gst/gstquery.c: don't use memchunks
19846 * gst/gstregistry.c: rename gst_registry_deinit()
19847 * gst/gstregistry.h: same
19849 2005-09-19 David Schleef <ds@schleef.org>
19851 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19852 * docs/libs/gstreamer-libs-sections.txt:
19853 * docs/libs/tmpl/gstgetbits.sgml:
19854 * docs/libs/tmpl/gstputbits.sgml:
19856 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19858 * win32/gstenumtypes.c:
19859 * win32/gstenumtypes.h:
19862 2005-09-19 Wim Taymans <wim@fluendo.com>
19864 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19865 Automatically PAUSE and RESUME a pipeline when a flushing seek
19868 2005-09-19 Andy Wingo <wingo@pobox.com>
19870 * gst/gstregistry.h: Spacing fixen.
19872 2005-09-19 Wim Taymans <wim@fluendo.com>
19874 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19875 Handle state change failure more correctly.
19877 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19879 * check/Makefile.am:
19880 * check/pipelines/cleanup.c: (run_pipeline):
19881 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19883 enable cleanup again after fixing the leak
19885 some more info on docs
19887 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19889 * check/Makefile.am:
19890 re-enable tests now that leaks are plugged
19892 * check/gst/gstbin.c:
19893 * check/gst/gstpipeline.c:
19894 add some more tests while fixing leaks
19895 * common/check.mak:
19896 make sure binaries are uptodate when valgrinding/gdbing
19898 * gst/gstelementfactory.c:
19899 remove a ref too many, and add a FIXME for when we get
19900 round to disposing of classes
19902 fix the refcounting when loading a plugin from a file and
19903 the code pretends that the pointer is the same even though
19904 of course it can change
19905 * gst/gstpluginfeature.c:
19906 unref plugins marked cached (a bit confusing as a name)
19907 as the docs state should be done
19908 various doc additions to explain refcounting
19909 * gst/gstregistry.c:
19910 * gst/gstregistryxml.c:
19913 2005-09-19 Wim Taymans <wim@fluendo.com>
19915 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19916 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19917 (send_messages), (GST_START_TEST), (gstbus_suite):
19918 * check/gst/gstpipeline.c: (GST_START_TEST):
19919 * check/pipelines/cleanup.c: (run_pipeline):
19920 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19922 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19923 (gst_bus_source_check), (gst_bus_source_dispatch),
19924 (gst_bus_create_watch), (gst_bus_add_watch_full),
19925 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19927 * tools/gst-launch.c: (event_loop):
19928 * tools/gst-md5sum.c: (event_loop):
19929 GstBusHandler -> GstBusFunc, return value has the same meaning as
19930 any other GSource (FALSE == remove source).
19931 _add_watch() and _add_watch_full() now take a MessageType mask to
19932 only handle specific types of messages.
19933 _poll() returns the GstMessage instead of the message type to avoid
19935 _have_pending() takes a MessageType mask now too.
19936 Added testsuite for multiple bus watches.
19937 Fix testsuites and applications for new bus API.
19939 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19941 * check/Makefile.am:
19942 mark a bunch of the tests as to fix until we fix them
19944 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19946 * common/check.mak:
19947 use GST_PLUGIN settings for valgrind tests as well, so we're
19948 valgrinding the correct thing
19949 * gst/gst.c: (init_post):
19952 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19954 * gst/gst.c: (init_post), (gst_deinit):
19955 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19956 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19957 * gst/gstindex.c: (gst_index_factory_class_init),
19958 (gst_index_factory_finalize):
19959 * gst/gstobject.c: (gst_object_dispose):
19960 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19961 (gst_plugin_load_file), (gst_plugin_desc_free):
19962 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19963 (gst_plugin_feature_finalize):
19964 * gst/gstregistry.c: (gst_registry_class_init),
19965 (gst_registry_init), (gst_registry_finalize),
19966 (gst_registry_get_default), (gst_registry_deinit):
19967 * gst/gstregistry.h:
19968 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19969 various cleanups and memleak plugging. make valgrind is happy now.
19971 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19973 * common/check.mak:
19974 add a check-valgrind target
19976 2005-09-18 David Schleef <ds@schleef.org>
19978 * tools/gst-inspect.c: Revert the GOption code.
19980 2005-09-17 David Schleef <ds@schleef.org>
19982 * check/Makefile.am: Fix environment variables.
19983 * check/gst/gstplugin.c: Fix for API changes.
19984 * tools/gst-inspect.c: Fix for API changes.
19985 * tools/gst-xmlinspect.c: Fix for API changes.
19986 * gst/gstelementfactory.c:
19989 * gst/gstpluginfeature.c:
19990 * gst/gstpluginfeature.h:
19991 * gst/gstregistry.c:
19992 * gst/gstregistry.h:
19993 * gst/gstregistryxml.c:
19994 * gst/gsttypefind.c:
19995 * gst/gsttypefindfactory.c:
19996 * gst/indexers/gstfileindex.c:
19997 * gst/indexers/gstmemindex.c:
19998 * gst/schedulers/Makefile.am:
19999 Change registry to keep track of both plugins and features,
20000 removing the feature tracking from plugins themselves.
20002 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
20004 * check/Makefile.am:
20005 * tools/gst-register.1.in:
20006 remove gst-register
20008 2005-09-15 David Schleef <ds@schleef.org>
20010 * check/gst/gstplugin.c:
20011 * gst/gstelementfactory.c:
20013 * gst/gstpluginfeature.c:
20014 * gst/gstregistry.c:
20015 Getting tired of debugging. Disabled all the unreffing of
20016 plugins and features, which fixes the segfaults, but of
20017 course leaks like crazy. At least playbin works.
20019 2005-09-15 David Schleef <ds@schleef.org>
20021 * check/gst/gstplugin.c: (register_check_elements),
20022 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20024 * gst/elements/gsttypefindelement.c: Fix refcounting.
20025 * gst/gsttypefind.c:
20026 * gst/gsttypefindfactory.c:
20027 * gst/gsttypefindfactory.h:
20029 2005-09-15 David Schleef <ds@schleef.org>
20031 * gst/gstindex.c: get refcounting correct.
20032 * gst/gstregistry.c: Handle the case where a feature/plugin is
20035 2005-09-15 David Schleef <ds@schleef.org>
20037 * check/Makefile.am:
20038 * check/gst/gstplugin.c: Add test
20039 * gst/gstplugin.c: Fix problems noticed by testsuite
20041 * gst/gstregistry.c:
20042 * gst/gstregistry.h:
20044 2005-09-15 David Schleef <ds@schleef.org>
20046 * gst/gstplugin.c: Implement semi-decent recounting and locking
20047 in plugins and plugin features.
20049 * gst/gstpluginfeature.c:
20050 * gst/gstpluginfeature.h:
20051 * gst/gstregistry.c:
20053 2005-09-15 Michael Smith <msmith@fluendo.com>
20055 * gst/gstregistry.c: (gst_registry_get_feature_list):
20056 Implement this. Makes oggdemux work; decodebin still broken.
20058 2005-09-14 David Schleef <ds@schleef.org>
20060 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20062 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20063 * gst/check/Makefile.am:
20064 * libs/gst/controller/Makefile.am:
20065 * libs/gst/dataprotocol/Makefile.am:
20067 2005-09-14 David Schleef <ds@schleef.org>
20069 * configure.ac: Remove getbits library. Nothing uses it, and
20070 it should be in something like liboil if someone did want
20072 * libs/gst/Makefile.am:
20073 * libs/gst/getbits/Makefile.am:
20074 * libs/gst/getbits/gbtest.c:
20075 * libs/gst/getbits/getbits.c:
20076 * libs/gst/getbits/getbits.h:
20077 * libs/gst/getbits/gstgetbits_generic.c:
20078 * libs/gst/getbits/gstgetbits_i386.s:
20079 * libs/gst/getbits/gstgetbits_inl.h:
20081 2005-09-14 David Schleef <ds@schleef.org>
20083 * gst/Makefile.am: Dist glib-compat.h
20085 2005-09-14 David Schleef <ds@schleef.org>
20087 * configure.ac: Remove gst/registries, since it's no longer used.
20088 * gst/registries/Makefile.am:
20089 * gst/registries/gstlibxmlregistry.c:
20090 * gst/registries/gstlibxmlregistry.h:
20091 * gst/registries/gstxmlregistry.c:
20092 * gst/registries/gstxmlregistry.h:
20093 * gst/registries/registrytest.c:
20095 2005-09-14 David Schleef <ds@schleef.org>
20097 * gst/glib-compat.h:
20098 * gst/gstregistryxml.c:
20099 Convergence is near. Seriously.
20101 2005-09-14 David Schleef <ds@schleef.org>
20103 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20104 * gst/glib-compat.h:
20105 Attempt #4 to appease the buildbots.
20107 2005-09-14 David Schleef <ds@schleef.org>
20109 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20112 2005-09-14 David Schleef <ds@schleef.org>
20114 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20117 2005-09-14 David Schleef <ds@schleef.org>
20119 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20122 2005-09-14 David Schleef <ds@schleef.org>
20124 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20125 * gst/glib-compat.h: Add some functions that are in newer versions
20126 of glib than we care to require.
20127 * gst/gstregistryxml.c: Use them.
20129 2005-09-14 David Schleef <ds@schleef.org>
20131 * po/POTFILES.in: remove gst-register.c
20133 2005-09-14 David Schleef <ds@schleef.org>
20135 * docs/gst/gstreamer-docs.sgml:
20136 * docs/gst/gstreamer-sections.txt:
20137 * docs/gst/gstreamer.types:
20138 * docs/gst/tmpl/gstelement.sgml:
20139 * docs/gst/tmpl/gstplugin.sgml:
20140 * docs/gst/tmpl/gstpluginfeature.sgml:
20141 Documentation updates for registry changes.
20143 2005-09-14 David Schleef <ds@schleef.org>
20145 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20146 because we don't require glib-2.8.
20148 2005-09-14 David Schleef <ds@schleef.org>
20150 * gst/gstregistryxml.c: Added. Essentially moved out of the
20151 registries directory.
20153 2005-09-14 David Schleef <ds@schleef.org>
20155 * check/Makefile.am:
20156 * check/generic/states.c:
20160 * gst/gst_private.h:
20161 * gst/gstelementfactory.c:
20166 * gst/gstpluginfeature.c:
20167 * gst/gstpluginfeature.h:
20168 * gst/gstregistry.c:
20169 * gst/gstregistry.h:
20170 * gst/gstregistrypool.c: remove
20171 * gst/gstregistrypool.h: remove
20172 * gst/gsttypefind.c:
20173 * gst/gsttypefindfactory.c:
20175 * tools/Makefile.am:
20176 * tools/gst-compprep.c:
20177 * tools/gst-inspect.c:
20178 * tools/gst-register.c: remove
20179 * tools/gst-xmlinspect.c:
20180 Registry rewrite. Changes registry from being a file created
20181 by a tool into a simple cache file created automatically by
20182 libgstreamer. Removed gst-register (because it's no longer
20183 needed). Remove registry pools, because we only have one
20184 registry implementation (XML). Fix up other subsystems as
20187 2005-09-13 Michael Smith <msmith@fluendo.com>
20189 * gst/gstconfig.h.in:
20190 Don't Use windows linking attributes for MinGW. Fixes #316157
20192 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
20194 * gst/gstutils.c: (set_state_async_thread_func),
20195 (gst_element_set_state_async):
20196 Apparently people think it's better if this function doesn't
20197 try to set the state to whatever state was asked for on the first
20198 call to this function for any object. Seriously.
20200 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20202 * check/gst/gstpipeline.c: (GST_START_TEST):
20203 * docs/gst/gstreamer-sections.txt:
20204 * gst/gstutils.c: (set_state_async_thread_func),
20205 (gst_element_set_state_async):
20207 add a "gst_element_set_state_async" method that
20208 sets the state and starts a thread to make sure the state
20209 change completes as best as it can
20211 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20213 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20214 codify design+behaviour in testsuite after discussion
20216 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20218 * docs/gst/tmpl/gstelement.sgml:
20219 * docs/manual/appendix-quotes.xml:
20221 * gst/gstelement.c: (gst_element_set_state):
20224 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
20226 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20227 (gst_base_transform_prepare_output_buf),
20228 (gst_base_transform_handle_buffer):
20229 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20230 (gst_capsfilter_prepare_buf):
20231 Remove the requirement for sub-classes to call the parent
20232 implementation of prepare_output_buffer with a wrapper function.
20234 * gst/gsttaglist.h:
20235 * gst/gsttagsetter.h:
20236 Fix #define wrapper
20238 2005-09-11 Stefan Kost <ensonic@users.sf.net>
20240 * docs/gst/gstreamer-sections.txt:
20243 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20245 * docs/gst/gstreamer-sections.txt:
20246 * docs/gst/tmpl/gstelement.sgml:
20247 * docs/gst/tmpl/gstplugin.sgml:
20248 * gst/gstminiobject.c:
20250 docs now stop throwing warnings
20252 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20254 * docs/gst/gstreamer-sections.txt:
20255 * docs/gst/gstreamer.types:
20256 * docs/gst/tmpl/gstpad.sgml:
20257 * docs/gst/tmpl/gsttypes.sgml:
20258 * gst/base/gstadapter.h:
20259 * gst/base/gstbasesink.h:
20260 * gst/base/gstbasesrc.h:
20266 * gst/gstelement.h:
20268 * gst/gstmessage.h:
20270 * gst/gststructure.c:
20271 * gst/registries/gstlibxmlregistry.h:
20272 various documentation fixes
20274 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20276 * docs/gst/gstreamer-sections.txt:
20277 * docs/gst/tmpl/gstvalue.sgml:
20278 rearrange gstvalue section
20279 * gst/gstutils.c: (gst_element_state_get_name):
20281 * gst/gstvalue.c: (_gst_value_initialize):
20285 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
20287 * check/gst-libs/controller.c:
20288 Header include fix.
20289 * gst/base/gstbasetransform.c:
20290 (gst_base_transform_default_prepare_buf),
20291 (gst_base_transform_handle_buffer):
20292 * gst/base/gstbasetransform.h:
20293 Some more basetransform changes and fixes to enable sub-classes
20294 that modify buffer metadata only.
20295 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20296 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20297 (gst_capsfilter_prepare_buf):
20298 If the output pad has fixed allowed caps and input buffers
20299 don't have any, set the fixed caps on outgoing buffers.
20301 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
20302 * check/elements/identity.c: (GST_START_TEST):
20303 Make the error a little clearer when the test fails because
20304 identity made a copy of the buffer.
20305 * docs/gst/gstreamer-sections.txt:
20306 New symbols in gstbasetransform.h
20307 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20308 (gst_base_transform_init), (gst_base_transform_transform_size),
20309 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20310 (gst_base_transform_default_prepare_buf),
20311 (gst_base_transform_get_unit_size),
20312 (gst_base_transform_buffer_alloc),
20313 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20314 (gst_base_transform_change_state),
20315 (gst_base_transform_set_passthrough),
20316 (gst_base_transform_set_in_place),
20317 (gst_base_transform_is_in_place):
20318 * gst/base/gstbasetransform.h:
20319 Change BaseTransform to separate in_place operate from same_caps
20320 output. in_place implies that the element can perform the transform
20321 on incoming buffers in-place, even if the caps on the output are
20323 Sub-class elements can now implement special buffer allocation
20324 methods for outgoing buffers if they wish to.
20325 Big documentation addition.
20326 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20327 * gst/elements/gstelements.c:
20328 Changes for basetransform modifications.
20329 * gst/elements/Makefile.am:
20330 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20331 Compile fix. Extra debug output.
20333 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20335 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20337 add tests for valid pad naming
20338 * gst/check/gstcheck.c: (gst_check_log_message_func),
20339 (gst_check_log_critical_func):
20341 remove printing of code, it is fragile when the code contains
20342 % and the line number is enough info
20343 * gst/check/gstcheck.h:
20344 * gst/gstpad.c: (gst_pad_template_new):
20347 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20350 say what CHECK flags we use
20351 * docs/libs/gstreamer-libs.types:
20352 * libs/gst/controller/Makefile.am:
20353 * libs/gst/controller/gst-controller.c:
20354 * libs/gst/controller/gst-controller.h:
20355 * libs/gst/controller/gst-helper.c:
20356 * libs/gst/controller/gst-interpolation.c:
20357 * libs/gst/controller/gstcontroller.c:
20358 * libs/gst/controller/gsthelper.c:
20359 * libs/gst/controller/gstinterpolation.c:
20360 * tools/gst-inspect.c: (print_plugin_info):
20361 we don't use dashes in header names
20363 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20365 * check/Makefile.am:
20366 * check/gst/.cvsignore:
20367 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20368 (gst_pipeline_suite), (main):
20369 adding a test for pipelines and state changes
20370 * gst/gstutils.c: (get_state_func):
20372 * gstreamer.spec.in:
20375 2005-09-08 Michael Smith <msmith@fluendo.com>
20377 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20378 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20379 (gst_file_src_is_seekable), (gst_file_src_get_size),
20380 (gst_file_src_start):
20381 * gst/elements/gstfilesrc.h:
20382 Various fixes for unseekable, unmmapable, and non-normal files, so
20383 that fallback to read() rather than mmap() works.
20384 * gst/gstevent.c: (gst_event_new_newsegment):
20385 Allow newsegment events with segment_start == segment_end, as will
20386 correctly happen if you use filesrc on a zero-size file, for
20389 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20391 * gst/gstplugin.c: (gst_plugin_load_file):
20392 Call g_module_close when we don't load the module
20394 * gst/registries/gstlibxmlregistry.c:
20395 (gst_xml_registry_get_property):
20396 Port leak fix from 0.8
20398 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20400 * docs/gst/gstreamer-docs.sgml:
20401 * docs/gst/tmpl/.cvsignore:
20402 * docs/gst/tmpl/gsttrace.sgml:
20403 * docs/gst/tmpl/gsttrashstack.sgml:
20406 * gst/gstelement.h:
20408 * gst/gstmessage.c:
20409 * gst/gstmessage.h:
20412 * gst/gsttaginterface.c:
20413 * gst/gsttaginterface.h:
20414 * gst/gsttaglist.c:
20415 * gst/gsttaglist.h:
20416 * gst/gsttagsetter.c:
20417 * gst/gsttagsetter.h:
20420 * gst/gsttrashstack.c:
20421 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20422 inlined docs for gsttrace, gsttrashstack
20424 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20427 * gst/elements/gstbufferstore.h:
20428 * gst/elements/gsttypefindelement.c:
20429 * gst/elements/gsttypefindelement.h:
20431 * gst/gsttypefind.c:
20432 * gst/gsttypefind.h:
20433 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20434 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20435 (gst_type_find_factory_dispose),
20436 (gst_type_find_factory_unload_thyself),
20437 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20438 (gst_type_find_factory_get_caps),
20439 (gst_type_find_factory_get_extensions),
20440 (gst_type_find_factory_call_function):
20441 * gst/gsttypefindfactory.h:
20442 * gst/registries/gstlibxmlregistry.c:
20443 * gst/registries/gstxmlregistry.c:
20444 splitted gsttypefind into gsttypefind, gsttypefindfactory
20446 2005-09-07 Andy Wingo <wingo@pobox.com>
20448 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20449 condition whereby the pad's task function is entered before the
20450 pad_mode variable was set.
20452 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20454 * gst/gstpad.c: (gst_pad_alloc_buffer):
20455 Catch misbehaving pad_alloc functions that don't
20456 set up caps and do it for them.
20458 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20460 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20461 test for pipe!=NULL
20462 * docs/gst/tmpl/.cvsignore:
20463 * docs/gst/tmpl/gstmemchunk.sgml:
20464 * docs/gst/tmpl/gstparse.sgml:
20465 * docs/gst/tmpl/gsttaglist.sgml:
20466 * docs/gst/tmpl/gsttagsetter.sgml:
20467 * docs/gst/tmpl/gsttypefind.sgml:
20468 * docs/gst/tmpl/gsttypefindfactory.sgml:
20469 * gst/gstmemchunk.c:
20472 * gst/gsttaginterface.c:
20473 * gst/gsttypefind.c:
20474 * gst/gsttypefind.h:
20477 === release 0.9.2 ===
20479 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20484 releasing 0.9.2, "South"
20486 2005-09-05 Andy Wingo <wingo@pobox.com>
20488 * gst/registries/gstxmlregistry.h:
20489 * gst/registries/gstxmlregistry.c: Um... resurrect...
20491 * gst/registries/gstxmlregistry.h:
20492 * gst/registries/gstxmlregistry.c: and update to newer API.
20493 Incidentally they should be a bit faster now that they don't have
20496 2005-09-05 Andy Wingo <wingo@pobox.com>
20498 * gst/registries/gstxmlregistry.h:
20499 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20500 replaced by the libxml registry a while back
20502 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20504 * docs/gst/tmpl/gstplugin.sgml:
20505 * gst/elements/gstelements.c:
20507 * gst/gstplugin.c: (gst_plugin_register_func),
20508 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20509 (gst_plugin_get_source):
20511 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20512 (gst_xml_registry_save_plugin):
20513 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20514 (gst_xml_registry_save_plugin):
20515 * tools/gst-inspect.c: (print_plugin_info):
20516 add a "source" plugin description field, to represent the source
20517 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20518 will set it to PACKAGE, which is automake's idea of the name of
20519 the source project.
20521 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20526 * docs/Makefile.am:
20527 * docs/faq/Makefile.am:
20528 * docs/gst/tmpl/gstelement.sgml:
20529 * docs/gst/tmpl/gsttypes.sgml:
20530 * docs/htmlinstall.mak:
20531 * docs/manual/Makefile.am:
20532 * docs/pwg/Makefile.am:
20533 reorganize doc build a little
20534 split out docbook and gtk-doc stuff
20535 have two separate --enable's and enable them through autogen
20536 but disable by default in configure (to be similar to other
20538 * gstreamer.spec.in:
20539 clean up docs install
20557 translation updates
20559 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20561 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20564 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20565 (gst_fake_sink_change_state):
20566 Make state change function thread-safe.
20568 * gst/gstpad.c: (gst_pad_alloc_buffer):
20569 Set offset on generic buffer allocated by fallback.
20571 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20573 * docs/gst/gstreamer-sections.txt:
20574 * docs/gst/tmpl/gstelement.sgml:
20576 * libs/gst/controller/gst-controller.c:
20577 (gst_controlled_property_set_interpolation_mode),
20578 (gst_controlled_property_new),
20579 (gst_controller_find_controlled_property):
20580 run the wingo-magic script against the docs
20582 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20584 * docs/gst/gstreamer-docs.sgml:
20585 * docs/gst/gstreamer-sections.txt:
20586 * docs/gst/tmpl/.cvsignore:
20587 * docs/gst/tmpl/gstelementdetails.sgml:
20588 * docs/gst/tmpl/gstelementfactory.sgml:
20591 * gst/gstelementfactory.c:
20592 * gst/gstelementfactory.h:
20593 merged elementdetails docs into elementfactory docs
20596 2005-09-02 Andy Wingo <wingo@pobox.com>
20598 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20599 consider this enum an enum and not a flags.
20601 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20603 * docs/gst/gstreamer-docs.sgml:
20604 * docs/gst/tmpl/.cvsignore:
20605 * docs/gst/tmpl/gstghostpad.sgml:
20606 * docs/gst/tmpl/gstiterator.sgml:
20607 * docs/gst/tmpl/gstmacros.sgml:
20608 * docs/gst/tmpl/gstrealpad.sgml:
20609 * docs/gst/tmpl/gstregistry.sgml:
20610 * docs/gst/tmpl/gstregistrypool.sgml:
20611 * docs/gst/tmpl/gststructure.sgml:
20612 * docs/gst/tmpl/gstsystemclock.sgml:
20613 * docs/gst/tmpl/gsttrace.sgml:
20614 * gst/gstghostpad.c:
20616 * gst/gstmemchunk.c:
20617 * gst/gstmemchunk.h:
20619 * gst/gstregistry.c:
20620 * gst/gstregistrypool.c:
20621 * gst/gststructure.c:
20622 * gst/gstsystemclock.c:
20625 2005-09-02 Andy Wingo <wingo@pobox.com>
20627 * gst/gstelement.h (GstState): Renamed from GstElementState,
20628 changed to be a normal enum instead of flags.
20629 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20630 munged to be GST_STATE_CHANGE_*.
20631 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20632 work with the new state representation.
20633 (GstStateChange): New enumeration of possible state transitions.
20634 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20635 (GstElementClass::change_state): Pass the GstStateChange along as
20636 an argument. Helps language bindings, so they don't have to use
20637 tricky lock-needing macros like GST_STATE_CHANGE ().
20639 * scripts/update-states (file): New script. Run it on a file to
20640 update it for state naming and API changes. Updates files in
20643 * All files updated for the new API.
20645 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20647 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20648 * gst/gstutils.c: (gst_util_set_value_from_string),
20649 (gst_util_set_object_arg):
20650 fix a bunch of unchecked return values
20651 * tools/gst-complete.c: (main):
20652 * gstreamer.spec.in:
20655 2005-09-01 Wim Taymans <wim@fluendo.com>
20657 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20658 (gst_base_sink_event), (gst_base_sink_do_sync),
20659 (gst_base_sink_handle_event):
20660 * gst/base/gstbasesink.h:
20661 Handle newsegments more correctly.
20666 * gst/gstevent.c: (gst_event_new_newsegment):
20667 A newsegment cannot have a start_time of -1
20669 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20671 * win32/gstenumtypes.c:
20672 * win32/gstenumtypes.h:
20675 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20677 * libs/gst/controller/gst-controller.c:
20678 (gst_controlled_property_set_interpolation_mode),
20679 (gst_controlled_property_new):
20680 fixed boolean again
20682 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20684 * docs/faq/gst-uninstalled:
20689 * gst/gstutils.c: (gst_element_link_filtered):
20691 add gst_element_link_filtered
20693 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20695 * docs/gst/gstreamer-docs.sgml:
20696 * docs/gst/gstreamer-sections.txt:
20697 * docs/gst/tmpl/.cvsignore:
20698 * docs/gst/tmpl/gsterror.sgml:
20699 * docs/gst/tmpl/gstfilter.sgml:
20700 * docs/gst/tmpl/gsturihandler.sgml:
20701 * docs/gst/tmpl/gsturitype.sgml:
20702 * docs/gst/tmpl/gstutils.sgml:
20703 * docs/gst/tmpl/gstxml.sgml:
20708 * gst/gsturitype.c:
20711 inlined more docs, fixed double id-ref
20713 2005-08-31 Wim Taymans <wim@fluendo.com>
20715 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20716 (gst_base_transform_handle_buffer):
20717 Passthrough elements don't need the caps as they don't care.
20719 2005-08-31 Wim Taymans <wim@fluendo.com>
20721 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20722 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20723 Don't leak refcounts on buffers.
20725 2005-08-31 Wim Taymans <wim@fluendo.com>
20727 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20728 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20729 (gst_base_transform_chain), (gst_base_transform_change_state):
20730 * gst/base/gstbasetransform.h:
20731 Handle the case where we are not negotiated more gracefully.
20733 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20735 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20736 (gst_file_src_map_region):
20737 Set READONLY flag on mmap'ed buffers, otherwise
20738 gst_buffer_make_writable() won't work properly (#314708).
20740 2005-08-31 Wim Taymans <wim@fluendo.com>
20742 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20743 passthrough elements can even do inplace on non writable
20744 buffers (as they don't touch them).
20746 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20748 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20749 (gst_test_mono_source_set_property),
20750 (gst_test_mono_source_class_init), (GST_START_TEST),
20751 (gst_controller_suite):
20752 more tests (hehe I have the most)
20754 describe popping messages whenusing mulltiple sources
20755 * libs/gst/controller/gst-controller.c:
20756 (gst_controlled_property_set_interpolation_mode),
20757 (gst_controlled_property_new):
20758 * libs/gst/controller/gst-controller.h:
20759 * libs/gst/controller/gst-interpolation.c:
20760 implement boolean properties
20762 2005-08-31 Wim Taymans <wim@fluendo.com>
20764 * gst/gstminiobject.c: (gst_mini_object_ref):
20765 Cannot assert that the refcount has to be positive
20766 since a disposed object can be resurrected.
20768 2005-08-31 Wim Taymans <wim@fluendo.com>
20770 * gst/gstpad.c: (gst_pad_init):
20771 Revert change, need to first fix badly behaving
20774 2005-08-30 Wim Taymans <wim@fluendo.com>
20776 * check/elements/fakesrc.c: (setup_fakesrc):
20777 * check/elements/identity.c: (setup_identity):
20778 Activate pads before using them.
20780 2005-08-30 Wim Taymans <wim@fluendo.com>
20782 * gst/base/gstadapter.c: (gst_adapter_flush):
20783 Flushing out 0 bytes is ok for this function.
20785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20786 no newsegment gives a warning and sets the start/stop to
20789 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20790 (gst_base_transform_set_passthrough):
20793 * gst/gstminiobject.c: (gst_mini_object_ref):
20794 Check refcount here too.
20796 * gst/gstpad.c: (gst_pad_init):
20797 Pads are initially flushing and refusing data.
20799 * gst/gstutils.c: (gst_element_link_pads_filtered):
20800 When adding a capsfilter element make sure it has the
20801 same state as the parent bin.
20803 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20805 * docs/gst/tmpl/.cvsignore:
20806 * docs/gst/tmpl/gstformat.sgml:
20807 * docs/gst/tmpl/gstversion.sgml:
20811 * gst/gstversion.h.in:
20812 more docs and two more inlined
20814 2005-08-30 Wim Taymans <wim@fluendo.com>
20816 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20817 Don't sync to clock.
20819 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20821 * docs/gst/gstreamer-sections.txt:
20822 ultral33t func10ns deserve to appear in the docs actually
20823 * docs/gst/tmpl/.cvsignore:
20824 * docs/gst/tmpl/gstcompat.sgml:
20825 * docs/gst/tmpl/gstconfig.sgml:
20826 * gst/check/gstcheck.c:
20828 * gst/gstconfig.h.in:
20831 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20833 * docs/gst/tmpl/.cvsignore:
20834 * docs/gst/tmpl/gstquery.sgml:
20835 * docs/gst/tmpl/gstutils.sgml:
20838 inlined and extended docs
20840 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20842 * check/gst-libs/controller.c: (GST_START_TEST),
20843 (gst_controller_suite):
20845 * docs/gst/tmpl/gstutils.sgml:
20846 * docs/libs/gstreamer-libs-sections.txt:
20847 * docs/libs/tmpl/gstdataprotocol.sgml:
20849 * examples/controller/audio-example.c: (main):
20850 controller example works now
20853 * tools/gst-inspect.c: (print_element_properties_info):
20854 show param spec flags
20856 2005-08-29 Andy Wingo <wingo@pobox.com>
20858 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20860 2005-08-28 Andy Wingo <wingo@pobox.com>
20862 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20863 as having two arguments instead of just one. Allows superclasses
20864 to access information on subclasses -- see the terrible for() loop
20865 in gtype.c:g_type_create_instance for the reason why. All callers
20868 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20870 * docs/design/part-messages.txt:
20872 * docs/gst/tmpl/.cvsignore:
20873 * docs/gst/tmpl/gstcaps.sgml:
20874 * docs/gst/tmpl/gstclock.sgml:
20880 * gst/gstmessage.c:
20881 added descriptions for bus and message
20882 inline caps and clock docs
20884 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20886 * gst/gstmessage.c:
20887 * gst/gstmessage.h:
20890 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20892 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20895 2005-08-26 Andy Wingo <wingo@pobox.com>
20897 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20898 element_set_state's return val.
20899 (test_2_elements): Add test that's been disabled for months.
20901 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20902 can-activate-pull properties.
20904 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20905 can-activate-pull properties. Implement is_seekable so fakesrc can
20906 operate in pull mode.
20908 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20910 (gst_base_sink_activate, gst_base_sink_activate_pull)
20911 (gst_base_sink_activate_push): Make activation mode choosing work.
20913 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20914 is right. Make pull mode work. Post an eos before pausing in pull
20916 (gst_base_sink_change_state): Pay attention to the core's
20917 change_state() return val.
20919 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20920 has-getrange properties. Cleanups.
20922 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20923 has_getrange and replace with can_activate_pull and
20926 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20927 locking comments. Remove has_loop, has_chain and replace with
20928 can_activate_pull and can_activate_push.
20930 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20933 * examples/Makefile.am:
20934 * examples/metadata/Makefile.am:
20935 * examples/metadata/read-metadata.c: (message_loop),
20936 (have_pad_handler), (make_pipeline), (print_tag), (main):
20937 Add metadata reading example that loops over a list of filenames,
20938 dumping any tags found.
20940 * gst/gstbus.c: (gst_bus_dispose):
20941 * gst/gstelement.c: (gst_element_dispose):
20942 Release a few potentially-held references in dispose.
20944 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20946 * docs/gst/tmpl/gstminiobject.sgml:
20947 do *not* add tmpl/*.sgml files to CVS!
20949 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20951 * libs/gst/bytestream/.cvsignore:
20952 * libs/gst/bytestream/Makefile.am:
20953 * libs/gst/bytestream/adapter.c:
20954 * libs/gst/bytestream/adapter.h:
20955 * libs/gst/bytestream/bytestream.c:
20956 * libs/gst/bytestream/bytestream.h:
20957 * libs/gst/bytestream/filepad.c:
20958 * libs/gst/bytestream/filepad.h:
20959 removing obsolete files
20961 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20963 * docs/gst/gstreamer-docs.sgml:
20964 * docs/libs/gstreamer-libs-docs.sgml:
20965 disabed additional index entries again, as this makes docs-gen just
20966 slow and they aren't useful yet
20967 * docs/libs/gstreamer-libs-sections.txt:
20968 little -section.txt cleanup for libs
20970 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20973 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20974 fix up some debugging
20975 (gst_base_transform_get_unit_size),
20976 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20977 (gst_base_transform_handle_buffer):
20978 * gst/base/gstbasetransform.h:
20979 handle and store timed NEWSEGMENT events so that subclasses that
20980 calculate time by counting samples have a segment_start time they
20981 need to add to their timestamps - see audioresample
20983 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20986 removed ';' from the end of macro defs
20987 * docs/gst/gstreamer-docs.sgml:
20988 * docs/gst/gstreamer-sections.txt:
20989 * docs/gst/tmpl/.cvsignore:
20991 * gst/gstelement.c: (gst_element_class_init),
20992 (gst_element_set_state), (activate_pads),
20993 (gst_element_save_thyself):
20994 * gst/gstevent.c: (gst_event_new_newsegment):
20996 * gst/gstiterator.c:
20997 * gst/gstiterator.h:
21000 * gst/gstutils.c: (gst_pad_query_convert):
21002 fixed parameter name mismatches between source, header and docs
21003 added some more docs, resolved the last batch of unused elements in
21004 docs (now someone needs to doc them)
21006 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21008 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21009 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21010 don't walk through the plugins backwards. Where is all this
21011 reversed logic coming from ?
21013 2005-08-25 Wim Taymans <wim@fluendo.com>
21015 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21016 (gst_base_transform_transform_size),
21017 (gst_base_transform_configure_caps),
21018 (gst_base_transform_get_unit_size),
21019 (gst_base_transform_buffer_alloc),
21020 (gst_base_transform_change_state):
21021 * gst/base/gstbasetransform.h:
21022 Cache caps unit_size.
21023 Make sure we cannot negotiate up and downstream at the
21026 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21028 * gst/gst.c: (init_pre), (init_post):
21029 register the installed plugin path after the env var
21030 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21031 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21032 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21033 directories, so the tests can prefer uninstalled over installed
21035 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
21037 * gst/base/gstbasetransform.h:
21042 2005-08-25 Wim Taymans <wim@fluendo.com>
21044 * gst/gstbin.c: (bin_bus_handler):
21045 Be a bit more conservative about the posted message.
21047 * gst/gstbus.c: (gst_bus_post):
21048 Some cleanups, warn wrong return values.
21050 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
21052 * check/gst/gstbin.c: (GST_START_TEST):
21053 * gst/gstbin.c: (bin_bus_handler):
21054 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21055 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21056 (gst_message_new_warning), (gst_message_new_tag),
21057 (gst_message_new_state_changed), (gst_message_new_segment_start),
21058 (gst_message_new_segment_done), (gst_message_new_custom):
21059 * gst/gstmessage.h:
21060 * tools/gst-launch.c: (event_loop):
21061 * tools/gst-md5sum.c: (event_loop):
21062 Revert unpopular change for GST_MESSAGE_SRC to GObject.
21064 2005-08-25 Wim Taymans <wim@fluendo.com>
21066 * check/generic/states.c: (GST_START_TEST):
21067 Cleanup can be done at the end.
21069 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21070 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21071 (gst_task_get_state), (gst_task_start), (gst_task_pause):
21072 Oh boy.. Thanks for finding this, Thomas.
21074 2005-08-25 Stefan Kost <ensonic@users.sf.net>
21076 * docs/gst/gstreamer.types:
21077 added missing types
21079 2005-08-25 Stefan Kost <ensonic@users.sf.net>
21081 * docs/gst/gstreamer-docs.sgml:
21082 * docs/gst/gstreamer-sections.txt:
21083 * docs/gst/tmpl/.cvsignore:
21085 * gst/gstiterator.c:
21087 * gst/registries/gstxmlregistry.h:
21088 added missing classes and symbols (123 more to go)
21089 removed removed symbols from section file
21090 fixed many doc-comments
21092 2005-08-24 Wim Taymans <wim@fluendo.com>
21094 * check/generic/states.c: (GST_START_TEST):
21095 Make sure all tasks are stopped.
21097 * check/gst/gstbin.c: (GST_START_TEST):
21098 Unref after usage for proper valgrinding.
21100 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21101 Really wait for the task to stop before destroying the
21104 * gst/gstqueue.c: (gst_queue_sink_activate_push),
21105 (gst_queue_src_activate_push):
21106 Small cleanups. Don't stop the task when we did not start
21109 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21110 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21111 (gst_task_get_state), (gst_task_start), (gst_task_pause),
21114 Protect the stream lock with the object lock.
21115 Disallow setting the stream lock when running.
21116 Add cleanup_all to wait for the threadpool to finish.
21117 Remove code to autoallocate a mutex if none was provided.
21118 Add _join() to wait for a task to stop.
21119 Protect the thread pool with a global lock.
21121 2005-08-24 Wim Taymans <wim@fluendo.com>
21123 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21124 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21125 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21126 * gst/base/gstbasesink.h:
21127 Handle newsegment events correctly.
21128 Drop buffers out of the segment range.
21130 2005-08-22 Andy Wingo <wingo@pobox.com>
21132 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21133 macro, implements an interface and gstimplementsinterface for a
21136 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
21138 * check/Makefile.am:
21139 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21140 add a test that does a bunch of state changes on elements
21141 needs some fixing for valgrind
21142 * check/states/sinks.c: (gst_object_suite):
21145 add prototype for gst_caps_is_equal_fixed
21147 * gst/gstregistrypool.c:
21150 2005-08-24 Andy Wingo <wingo@pobox.com>
21152 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21153 convert a negative value. Doesn't make much sense. Mostly this is
21154 here to force callers to ensure -1 maps to -1.
21156 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
21158 * docs/pwg/advanced-types.xml:
21159 Well done to Michael for catching my deliberate introduction
21160 of this spelling mistake.
21161 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21162 * gst/gstelement.h:
21163 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21164 unlink pads before removing the element from the bin.
21166 2005-08-24 Andy Wingo <wingo@pobox.com>
21168 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21169 the same thing as GST_DEBUG=*:4.
21170 (parse_debug_level, parse_debug_category): New helper parsers.
21172 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
21174 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21175 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21176 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21177 (gst_base_transform_buffer_alloc),
21178 (gst_base_transform_handle_buffer):
21179 use gboolean return values and pointers to size so we can use the
21180 full GST_BUFFER_SIZE range (guint) for buffer sizes
21181 use GstPadDirection for transform_caps
21182 * gst/base/gstbasetransform.h:
21183 rename get_size to get_unit_size since that's what it is
21184 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21185 use GstPadDirection for transform_caps
21186 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21188 cleanup and debugging
21190 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21192 * gst/gstelement.c: (gst_element_class_init),
21193 (gst_element_set_state), (activate_pads),
21194 (gst_element_save_thyself):
21195 * tools/gst-compprep.c: (main):
21196 * tools/gst-inspect.c: (print_element_properties_info):
21197 * tools/gst-xmlinspect.c: (print_element_properties):
21198 Fixed long standing mem-leak
21200 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
21202 * check/gst/gstbin.c: (GST_START_TEST):
21203 * gst/gstbin.c: (bin_bus_handler):
21204 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21205 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21206 (gst_message_new_warning), (gst_message_new_tag),
21207 (gst_message_new_state_changed), (gst_message_new_segment_start),
21208 (gst_message_new_segment_done), (gst_message_new_custom):
21209 * gst/gstmessage.h:
21210 * tools/gst-launch.c: (event_loop):
21211 * tools/gst-md5sum.c: (event_loop):
21212 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21213 that applications can sensibly post custom messages with references
21214 to their own objects.
21216 2005-08-24 Andy Wingo <wingo@pobox.com>
21218 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21221 2005-08-24 Wim Taymans <wim@fluendo.com>
21223 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21224 (gst_base_transform_transform_caps),
21225 (gst_base_transform_transform_size),
21226 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21227 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21228 (gst_base_transform_handle_buffer):
21229 * gst/base/gstbasetransform.h:
21230 Many fixes and new features added by Thomas. Can now also do
21231 transforms with variable sizes and a custom fixate_caps function.
21233 2005-08-24 Wim Taymans <wim@fluendo.com>
21235 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21239 Cast to ClockTime before formatting to time.
21244 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21246 * check/gst-libs/controller.c: (GST_START_TEST),
21247 (gst_controller_suite):
21248 * docs/gst/tmpl/gstcaps.sgml:
21249 * docs/gst/tmpl/gstghostpad.sgml:
21250 * docs/gst/tmpl/gstquery.sgml:
21251 * docs/gst/tmpl/gstutils.sgml:
21252 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21253 (gst_object_sink_values), (gst_object_get_value_arrays),
21254 (gst_object_get_value_array):
21255 gracefully handle helper method calls to objects that are not beeing
21256 controlled, added test case for that
21258 2005-08-23 Wim Taymans <wim@fluendo.com>
21260 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21261 (gst_event_new_newsegment), (gst_event_parse_newsegment),
21262 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21263 (gst_event_parse_qos), (gst_event_new_seek),
21264 (gst_event_parse_seek):
21266 Some more debugging output and doc cleanups.
21268 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21269 Fix possible deadlock.
21271 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21273 * docs/gst/gstreamer-docs.sgml:
21274 * docs/gst/gstreamer-sections.txt:
21275 * docs/gst/gstreamer.types:
21276 * docs/gst/tmpl/.cvsignore:
21279 * gst/gstelement.c:
21281 added 100 symbols from gstreamer-unused.txt to the right sections
21282 fixed more broken comments
21283 added GstBus to docs
21285 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21287 * docs/gst/gstreamer-sections.txt:
21288 * docs/gst/tmpl/.cvsignore:
21289 * docs/gst/tmpl/gstbin.sgml:
21290 * docs/gst/tmpl/gstbuffer.sgml:
21291 * gst/base/gstbasesrc.c:
21292 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21295 * tools/gst-launch.1.in:
21296 inlined more doc comments, added missing comments and fixed comments
21299 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
21301 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21305 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21307 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21308 * gst/gststructure.h:
21309 add a fixate function for booleans; add a FIXME that these func
21310 names should probably be gst_structure_fixate_*
21312 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21314 * docs/gst/gstreamer-docs.sgml:
21315 * docs/gst/gstreamer-sections.txt:
21317 * gst/gstbin.c: (gst_bin_get_type),
21318 (gst_bin_child_proxy_get_child_by_index),
21319 (gst_bin_child_proxy_get_children_count),
21320 (gst_bin_child_proxy_init):
21321 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21322 (gst_child_proxy_get_child_by_index),
21323 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21324 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21325 (gst_child_proxy_get), (gst_child_proxy_set_property),
21326 (gst_child_proxy_set_valist), (gst_child_proxy_set),
21327 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21328 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21329 * gst/gstchildproxy.h:
21330 * gst/parse/grammar.y:
21331 * tools/gst-inspect.c: (print_interfaces),
21332 (print_element_properties_info), (print_element_info):
21333 ported gstchildproxy over from 0.8
21334 ported gst-inspect fixes and enhancements over from 0.8
21336 2005-08-22 Wim Taymans <wim@fluendo.com>
21338 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21339 (gst_base_transform_handle_buffer):
21340 Also call the transform function if we have ANY caps.
21342 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21345 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21347 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21348 Don't pretend to handle seek events if the source is not seekable
21350 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21353 Remove extra parameter to debug output
21355 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21356 (gst_base_src_do_seek), (gst_base_src_activate_push):
21357 Fix seek event handling.
21359 * gst/gstpipeline.c: (gst_pipeline_change_state):
21360 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21361 (gst_queue_src_activate_push):
21362 Don't start the src pad task on FLUSH_STOP if the pad
21366 2005-08-22 Wim Taymans <wim@fluendo.com>
21368 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21369 Added check for gst_static_caps_get() refcounting.
21371 2005-08-22 Wim Taymans <wim@fluendo.com>
21373 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21374 Make _static_caps_get() refcounting sane.
21376 * gst/gstelement.c: (gst_element_set_state):
21377 Add g_return_val_if_fail() to protect against segfaults.
21379 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21381 * docs/gst/tmpl/gstevent.sgml:
21384 inlined remaining docs, added missing doc comments
21386 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21388 * check/gst/gstbin.c: (GST_START_TEST):
21389 since we don't know when preroll is done, use refcount range
21391 * gst/check/gstcheck.h:
21392 add macro for checking refcount range
21394 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21396 * check/Makefile.am:
21397 clean up environment for when registry gets built versus
21398 when actual tests are run; valgrind seems to not report
21399 leaks if GST_PLUGIN_PATH is set to some specific values
21400 * check/gst/gstbin.c: (GST_START_TEST):
21401 add more refcounting checks; maybe this exposes a
21403 * common/check.mak:
21404 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21405 * gst/check/gstcheck.h:
21406 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21407 (gst_bin_change_state):
21408 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21409 add/fix debugging/whitespace
21411 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21413 * check/gst/gstevent.c: (event_probe), (test_event),
21415 Er, don't call gst_bin_watch_for_state_change you idiot.
21417 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21419 * check/Makefile.am:
21420 Use CHECK_CFLAGS and CHECK_LIBS
21421 * check/gst/gstevent.c: (event_probe), (test_event),
21424 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21425 (gst_base_src_start), (gst_base_src_stop),
21426 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21427 (gst_base_src_change_state):
21428 Sprinkle gst_base_src_stop liberally around error paths to fix
21429 problems reusing a source after failed state changes.
21430 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21431 (helper_find_suggest), (gst_type_find_helper):
21432 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21434 * docs/gst/tmpl/gstevent.sgml:
21435 Migrate part of the docs from the SGML file. Wait for ensonic to
21436 tell me how I did it wrong ;)
21437 * tools/gst-typefind.c: (main):
21438 Extra robustness to state changes between files.
21440 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21442 * check/Makefile.am:
21443 don't valgrind the controller test - it's leaking - Stefan, HELP
21444 * gst/check/gstcheck.c: (gst_check_message_error),
21445 (gst_check_chain_func), (gst_check_setup_element),
21446 (gst_check_teardown_element), (gst_check_setup_src_pad),
21447 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21448 (gst_check_teardown_sink_pad):
21449 * gst/check/gstcheck.h:
21450 add a bunch of methods to set up elements, and src and sink pads
21451 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21452 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21455 * gst/gstmessage.c:
21457 whitespace/doc fixes
21459 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21461 * gst/gstelement.h:
21462 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21463 be handled by the application and not always printed as well
21465 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21467 * check/Makefile.am:
21469 * gst/check/gstcheck.c: (gst_check_message_error):
21470 * gst/check/gstcheck.h:
21471 add a fail_unless_equals_int
21472 add fail_unless for error messages
21474 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21476 * check/Makefile.am:
21478 * common/Makefile.am:
21479 * common/check.mak:
21481 factor out some of the common stuff so we can use it
21483 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21485 * check/Makefile.am:
21486 * check/gst/gstiterator.c: (GST_START_TEST):
21487 * check/gst/gstsystemclock.c: (GST_START_TEST),
21488 (gst_systemclock_suite):
21489 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21491 valgrind more tests
21493 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21495 * check/elements/.cvsignore:
21496 * check/elements/gstfakesrc.c:
21497 rename to name of element
21498 * check/elements/identity.c: (chain_func), (event_func),
21499 (setup_identity), (cleanup_identity), (GST_START_TEST),
21500 (identity_suite), (main):
21501 add a test for identity
21502 * check/Makefile.am:
21503 * pkgconfig/Makefile.am:
21504 * pkgconfig/gstreamer-check.pc.in:
21505 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21509 move the check stuff to a library that gets installed
21510 * check/gst-libs/controller.c: (GST_START_TEST):
21511 * check/gst-libs/gdp.c:
21512 * check/gst/gst.c: (GST_START_TEST):
21513 * check/gst/gstbin.c:
21514 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21515 * check/gst/gstbus.c:
21516 * check/gst/gstcaps.c: (GST_START_TEST):
21517 * check/gst/gstelement.c:
21518 * check/gst/gstghostpad.c:
21519 * check/gst/gstiterator.c:
21520 * check/gst/gstmessage.c:
21521 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21522 * check/gst/gstobject.c:
21523 * check/gst/gstpad.c: (GST_START_TEST):
21524 * check/gst/gststructure.c: (GST_START_TEST):
21525 * check/gst/gstsystemclock.c: (GST_START_TEST),
21526 (gst_systemclock_suite):
21527 * check/gst/gsttag.c: (gst_tag_suite):
21528 * check/gst/gstvalue.c:
21529 * check/pipelines/cleanup.c:
21530 * check/pipelines/simple_launch_lines.c:
21531 * check/states/sinks.c:
21532 change include statement
21534 * docs/gst/gstreamer-sections.txt:
21535 * docs/gst/tmpl/gstpad.sgml:
21536 document more pad stuff
21537 * gst/gstminiobject.c: (gst_mini_object_ref),
21538 (gst_mini_object_unref):
21541 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21543 * docs/gst/tmpl/gst.sgml:
21545 eliminate another tmpl file, fix spelling in the long-description
21547 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21549 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21550 (test_event), (timediff), (gstevents_suite):
21551 Should fix build on 64-bit arch's
21553 2005-08-18 Andy Wingo <wingo@pobox.com>
21555 Make sure that when a pipeline goes to PLAYING, that data has
21556 actually hit the sink.
21558 * check/states/sinks.c (test_sink): A sink that doesn't get any
21559 data shouldn't return SUCCESS for going to either PLAYING or
21560 PAUSED. Test also the return values on the way back down.
21562 * gst/gstelement.c (gst_element_set_state): When changing the
21563 state of an element currently changing state asynchronously, go to
21564 lost-state after commiting the pending state. Makes future calls
21565 to get_state continue to return ASYNC.
21567 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21568 ASYNC when going to PLAYING if we still don't have preroll, as can
21569 happen with live sources.
21571 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21573 * docs/pwg/advanced-types.xml:
21574 Hack long paragraph into 2 chunks as a workaround for buggy
21575 jadetex version in sid and breezy that loops infinitely and
21578 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21580 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21581 (test_event), (timediff), (gstevents_suite):
21582 Provide more error margin in clock measurements to allow for
21583 g_get_current_time inaccuracies.
21585 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21587 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21588 (test_event), (timediff), (gstevents_suite):
21589 Fix error message output so I might be able to tell why the
21590 test works here but fails on the build farm.
21592 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21594 * check/Makefile.am:
21595 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21596 (test_event), (timediff), (gstevents_suite), (main):
21599 * docs/design/part-seeking.txt:
21600 Spelling correction
21602 * docs/gst/tmpl/gstevent.sgml:
21603 * docs/gst/tmpl/gstfakesrc.sgml:
21606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21607 Treat a buffer-without-newsegment the same as a receiving
21608 a newsegment not in time format, and disable syncing to the clock
21611 * gst/gstbus.c: (gst_bus_set_sync_handler):
21612 Assert if anyone tries to replace the existing sync_handler for bus,
21613 as only the owner should be setting it.
21616 Have a fixed set of custom event enums with events identified by
21617 their structure name (as in 0.8), rather than a free-for-all
21618 allowing collisions between enum values from different plugins.
21620 * gst/gstpad.c: (gst_pad_class_init):
21623 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21624 Handle out-of-band downstream events from the sending thread.
21626 2005-08-17 Andy Wingo <wingo@pobox.com>
21628 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21629 play-timeout==0 to mean no timeout at all. In that case, don't
21630 bother with a get_state or a warning, just return directly, even
21633 * gst/base/gstbasetransform.c: Debug changes.
21636 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21637 ensure bins post state change messages. A bit of a hack but I can't
21638 think of a way to avoid it.
21640 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21642 2005-08-16 Andy Wingo <wingo@pobox.com>
21644 * gst/base/gstadapter.h:
21645 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21646 peek() but you own the data. Not terribly efficient atm.
21648 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21650 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21651 (gst_element_found_tags):
21653 Add two utility functions for tag handling.
21655 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21657 * docs/manual/advanced-dataaccess.xml:
21658 * docs/manual/basics-helloworld.xml:
21659 Fix docs to use _bin_add() before _link(), which fixes the examples
21660 with recent core versions (reported by Madhan Raj M
21661 <raj_madan@rediffmail.com>, #313199).
21663 2005-08-16 Wim Taymans <wim@fluendo.com>
21665 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21666 Added subtract checks.
21668 * docs/design/part-events.txt:
21669 Some more docs about newsegment
21671 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21674 * gst/gstcaps.c: (gst_caps_to_string):
21675 Add comments, cleanups.
21677 * gst/gstelement.c: (gst_element_save_thyself):
21680 * gst/gstvalue.c: (gst_value_collect_int_range),
21681 (gst_string_unwrap), (gst_value_union_int_int_range),
21682 (gst_value_union_int_range_int_range),
21683 (gst_value_intersect_int_int_range),
21684 (gst_value_intersect_int_range_int_range),
21685 (gst_value_intersect_double_double_range),
21686 (gst_value_intersect_double_range_double_range),
21687 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21688 (gst_value_subtract_int_range_int),
21689 (gst_value_subtract_double_range_double),
21690 (gst_value_subtract_double_range_double_range),
21691 (gst_value_subtract_from_list), (gst_value_subtract_list),
21692 (gst_value_can_compare), (gst_value_compare_fraction):
21693 Cleanups, add comments, remove unneeded asserts.
21695 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21697 * tools/gst-launch.c: (event_loop):
21698 don't convert NULL structures to strings
21700 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21702 * docs/gst/gstreamer-sections.txt:
21703 made some defines private
21704 * docs/gst/tmpl/gstconfig.sgml:
21705 * docs/gst/tmpl/gstqueue.sgml:
21706 * docs/gst/tmpl/gsttaglist.sgml:
21707 * docs/gst/tmpl/gsttypes.sgml:
21708 * docs/gst/tmpl/gstutils.sgml:
21709 * docs/pwg/appendix-porting.xml:
21710 * gst/base/gstbasesink.h:
21711 * gst/base/gstbasesrc.c:
21712 * gst/base/gstbasesrc.h:
21713 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21714 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21715 * gst/gstelement.c: (gst_element_class_init):
21716 * gst/gstpad.c: (gst_pad_class_init):
21717 * gst/gstqueue.c: (gst_queue_class_init):
21718 * gst/gstxml.c: (gst_xml_class_init):
21719 documented all undocumented signal inline
21720 * libs/gst/controller/gst-controller.h:
21723 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21725 * docs/pwg/appendix-porting.xml:
21726 Document _set_link_function -> _set_setcaps_function.
21728 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21730 * check/Makefile.am:
21731 add a .check target for running the check
21732 * check/gst-libs/controller.c: (GST_START_TEST):
21734 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21735 complete checks for gstbuffer; would be nice if I could get the
21736 gcov stuff to work so I can see if I actually completed gstbuffer.c
21737 * check/gstcheck.h:
21738 add ASSERT_BUFFER_REFCOUNT
21740 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21742 * docs/gst/gstreamer-sections.txt:
21743 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21745 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21746 spew out a warning if a tag that is already registered
21747 is re-registered, unless it is re-registered with a
21748 different type (#308438).
21750 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21752 * docs/pwg/appendix-porting.xml:
21753 * docs/pwg/building-state.xml:
21754 Add some paragraphs about state changes in 0.9 to the PWG
21755 and the porting guide, in particular about the new meaning
21756 of GST_STATE_PAUSED and how to write state change functions
21757 with concurrent access by multiple threads in mind.
21759 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21761 * docs/gst/gstreamer-docs.sgml:
21762 * docs/libs/gstreamer-libs-docs.sgml:
21763 added deprecation and since indexes
21764 * libs/gst/controller/gst-controller.c:
21765 * libs/gst/controller/gst-helper.c:
21769 2005-08-11 Wim Taymans <wim@fluendo.com>
21771 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21772 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21773 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21774 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21775 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21776 (gst_ghost_pad_set_target):
21777 Actually implement (re)setting the target on a ghostpad
21778 as described in the docs.
21780 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21782 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21783 Check whether GST_DEBUG_NO_COLOR environment variable is
21784 set and disable coloured debug output if that is the case.
21786 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21788 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21789 (gst_type_find_helper):
21790 The memory returned by gst_type_find_peek() needs to
21791 stay valid until the end of a typefind function, and
21792 typefind functions may keep results from different
21793 offsets around, so we can't just unref the buffer from
21794 the previous _peek(), but have to save all buffers
21795 returned by _peek() until typefinding is done and only
21798 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21800 * docs/gst/gstreamer-sections.txt:
21802 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21804 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21806 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21807 Fix a pretty good memleak.
21809 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21811 * gst/gstiterator.h:
21812 Fix wrong include and 'make distcheck'.
21814 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21816 * gst/gstbin.c: (bin_bus_handler):
21817 Use gst_element_post_message() instead.
21819 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21821 * gst/base/gstadapter.h:
21822 * gst/base/gstbasesink.h:
21823 * gst/base/gstbasesrc.h:
21824 * gst/base/gstbasetransform.h:
21825 * gst/base/gstcollectpads.h:
21826 * gst/base/gstpushsrc.h:
21827 * gst/gstiterator.h:
21828 Add padding to our base elements' class and instance structs and
21829 to GstIterator (you will need to rebuild all plugins and apps!)
21831 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21833 * gst/gstbin.c: (bin_bus_handler):
21834 Make default message forwarding from child->bus to bin->bus
21835 threadsafe and make it not emit warnings if the parent has no bus.
21837 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21839 * gst/gstelement.c: (activate_pads):
21840 On paused->ready, set pad->caps to NULL, as is the documented
21841 behaviour in this state change. Fixes playback of series of
21842 media files when visualization is enabled in Totem.
21844 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21846 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21847 Allow NULL as filter-caps (which means "any").
21849 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21851 * docs/libs/gstreamer-libs-sections.txt:
21852 * libs/gst/controller/gst-controller.c:
21853 * libs/gst/controller/gst-controller.h:
21854 * libs/gst/controller/gst-helper.c:
21855 adding more entries to the docs and fix small doc-bugs
21857 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21859 * docs/gst/gstreamer-docs.sgml:
21860 * docs/gst/gstreamer-sections.txt:
21861 * docs/gst/gstreamer.types:
21862 * docs/gst/tmpl/gstbasesink.sgml:
21863 * docs/gst/tmpl/gstbasesrc.sgml:
21864 * docs/gst/tmpl/gstbasetransform.sgml:
21865 * docs/gst/tmpl/gstfakesrc.sgml:
21866 * gst/base/gstcollectpads.c:
21867 * gst/base/gstcollectpads.h:
21868 * libs/gst/controller/gst-controller.c:
21869 * libs/gst/controller/gst-controller.h:
21870 * libs/gst/controller/gst-helper.c:
21871 * libs/gst/controller/gst-interpolation.c:
21872 * libs/gst/controller/lib.c:
21873 added long/short desc for controller docs
21874 added collectpads base class docs
21875 added correct includes to base-class docs
21877 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21879 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21880 (gst_test_mono_source_set_property),
21881 (gst_test_mono_source_class_init), (GST_START_TEST),
21882 (gst_controller_suite):
21883 * docs/gst/gstreamer-docs.sgml:
21884 * docs/gst/gstreamer-sections.txt:
21885 * docs/gst/gstreamer.types:
21886 * docs/libs/gstreamer-libs-docs.sgml:
21887 * docs/libs/gstreamer-libs-sections.txt:
21888 * gst/base/gstadapter.c:
21889 * libs/gst/controller/gst-controller.c:
21890 (gst_controlled_property_new), (gst_controlled_property_free),
21891 (gst_controller_new_valist),
21892 (gst_controller_remove_properties_valist),
21893 (gst_controller_sink_values), (_gst_controller_finalize):
21894 * libs/gst/controller/gst-controller.h:
21895 * libs/gst/controller/gst-helper.c:
21896 (gst_object_control_properties), (gst_object_uncontrol_properties),
21897 (gst_object_get_controller), (gst_object_set_controller),
21898 (gst_object_sink_values), (gst_object_get_value_arrays),
21899 (gst_object_get_value_array):
21900 more tests (and fixes) for the controller
21901 more docs for the controller
21902 integrated companies docs for the adapter
21904 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21906 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21907 (GST_START_TEST), (fakesrc_suite):
21908 add tests for sizetype
21910 2005-08-04 Andy Wingo <wingo@pobox.com>
21912 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21913 fixes buffer_alloc proxying among other things.
21915 * gst/base/gstbasetransform.c:
21916 * gst/base/gstbasetransform.h:
21917 Revert patch to gstbasetransform from 7-28 removing
21920 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21921 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21922 Semantics changed, should return not the size of the output buffer
21923 but the byte size of a buffer with a given caps.
21925 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21927 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21928 out) are not the pad caps until setcaps finishes.
21929 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21930 not-in-place case as well. Deal with changing from in-place to
21931 not-in-place within calling pad_alloc_buffer. Still a bit
21932 concerned about the overhead here...
21934 2005-08-03 Andy Wingo <wingo@pobox.com>
21936 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21937 fixating is an error.
21939 2005-08-04 Edward Hervey <edward@fluendo.com>
21941 * gst/base/gstadapter.h:
21942 Added gst_adapter_get_type() to the header
21944 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21946 * check/Makefile.am:
21947 * check/gst-libs/controller.c:
21948 * libs/gst/controller/gst-controller.c:
21949 (gst_controller_new_valist):
21950 added check test suite for the controller
21951 * gst/base/gstpushsrc.c:
21954 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21956 * docs/gst/Makefile.am:
21957 * docs/gst/gstreamer-docs.sgml:
21958 * docs/gst/gstreamer-sections.txt:
21959 * docs/gst/gstreamer.types:
21960 * docs/gst/tmpl/gstfakesrc.sgml:
21962 * gst/base/gstbasesink.c:
21963 * gst/base/gstbasesink.h:
21964 * gst/base/gstbasesrc.c:
21965 * gst/base/gstbasesrc.h:
21966 * gst/base/gstbasetransform.c:
21967 * gst/base/gstpushsrc.c:
21968 * gst/base/gstpushsrc.h:
21969 add short/long description docs to base classes
21970 add pushsrc to the docs
21971 remove consolidated doc fragments
21973 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21976 * docs/libs/Makefile.am:
21977 * docs/libs/gstreamer-libs-docs.sgml:
21978 * docs/libs/gstreamer-libs-sections.txt:
21979 * docs/libs/gstreamer-libs.types:
21980 * examples/Makefile.am:
21981 * examples/controller/.cvsignore:
21982 * examples/controller/Makefile.am:
21983 * examples/controller/audio-example.c: (main):
21984 * libs/gst/Makefile.am:
21985 * libs/gst/controller/.cvsignore:
21986 * libs/gst/controller/Makefile.am:
21987 * libs/gst/controller/gst-controller.c:
21988 (on_object_controlled_property_changed), (gst_timed_value_compare),
21989 (gst_timed_value_find),
21990 (gst_controlled_property_set_interpolation_mode),
21991 (gst_controlled_property_new), (gst_controlled_property_free),
21992 (gst_controller_find_controlled_property),
21993 (gst_controller_new_valist), (gst_controller_new),
21994 (gst_controller_remove_properties_valist),
21995 (gst_controller_remove_properties), (gst_controller_set),
21996 (gst_controller_set_from_list), (gst_controller_unset),
21997 (gst_controller_get), (gst_controller_get_all),
21998 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21999 (gst_controller_get_value_array),
22000 (gst_controller_set_interpolation_mode),
22001 (_gst_controller_finalize), (_gst_controller_init),
22002 (_gst_controller_class_init), (gst_controller_get_type):
22003 * libs/gst/controller/gst-controller.h:
22004 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22005 (g_object_uncontrol_properties), (g_object_get_controller),
22006 (g_object_set_controller), (g_object_sink_values),
22007 (g_object_get_value_arrays), (g_object_get_value_array):
22008 * libs/gst/controller/gst-interpolation.c:
22009 (gst_controlled_property_find_timed_value_node),
22010 (interpolate_none_get), (interpolate_trigger_get),
22011 (interpolate_trigger_get_value_array):
22012 * libs/gst/controller/lib.c: (gst_controller_init):
22013 * pkgconfig/Makefile.am:
22014 * pkgconfig/gstreamer-control-uninstalled.pc.in:
22015 * pkgconfig/gstreamer-control.pc.in:
22016 * testsuite/Makefile.am:
22017 * testsuite/controller/.cvsignore:
22018 * testsuite/controller/Makefile.am:
22019 * testsuite/controller/interpolator.c: (main):
22020 added controller code
22021 removed dparam pc files
22023 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
22024 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22025 (gst_collectpads_stop):
22026 Broadcast the condition when shutting down, to make sure we wake all
22027 threads up. Shut down pads on finalize, for safety.
22029 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
22030 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22031 (gst_base_transform_handle_buffer),
22032 (gst_base_transform_change_state):
22033 Handle PAUSED->READY->PAUSED transition after negotiation
22035 * gst/gstmessage.c: (gst_message_init):
22036 Extra piece of debug for new messages.
22038 2005-08-01 Stefan Kost <ensonic@users.sf.net>
22041 * docs/gst/tmpl/gstbasesrc.sgml:
22042 * docs/gst/tmpl/gstelement.sgml:
22043 * docs/gst/tmpl/gstevent.sgml:
22044 * docs/gst/tmpl/gstfakesrc.sgml:
22045 * docs/gst/tmpl/gstformat.sgml:
22046 * docs/gst/tmpl/gstghostpad.sgml:
22047 * docs/gst/tmpl/gstpad.sgml:
22048 * docs/gst/tmpl/gstquery.sgml:
22049 * docs/gst/tmpl/gststructure.sgml:
22050 * docs/gst/tmpl/gsttaglist.sgml:
22051 * docs/gst/tmpl/gstvalue.sgml:
22052 * docs/libs/gstreamer-libs-docs.sgml:
22053 * docs/libs/gstreamer-libs-sections.txt:
22054 * docs/libs/gstreamer-libs.types:
22055 * libs/gst/Makefile.am:
22056 * libs/gst/control/.cvsignore:
22057 * libs/gst/control/Makefile.am:
22058 * libs/gst/control/control.c:
22059 * libs/gst/control/control.h:
22060 * libs/gst/control/dparam.c:
22061 * libs/gst/control/dparam.h:
22062 * libs/gst/control/dparam_smooth.c:
22063 * libs/gst/control/dparam_smooth.h:
22064 * libs/gst/control/dparamcommon.h:
22065 * libs/gst/control/dparammanager.c:
22066 * libs/gst/control/dparammanager.h:
22067 * libs/gst/control/dplinearinterp.c:
22068 * libs/gst/control/dplinearinterp.h:
22069 * libs/gst/control/unitconvert.c:
22070 * libs/gst/control/unitconvert.h:
22071 * testsuite/Makefile.am:
22072 * testsuite/dynparams/.cvsignore:
22073 * testsuite/dynparams/Makefile.am:
22074 * testsuite/dynparams/dparamstest.c:
22075 * tools/Makefile.am:
22076 * tools/gst-inspect.c: (print_element_info), (main):
22077 * tools/gst-xmlinspect.c: (print_element_info), (main):
22078 deactivate and remove dparams (libgstcontrol)
22080 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
22082 * gst/elements/gsttypefindelement.c:
22083 (gst_type_find_element_have_type), (gst_type_find_element_init),
22084 (stop_typefinding), (gst_type_find_element_handle_event),
22085 (gst_type_find_element_chain), (gst_type_find_element_getrange):
22086 * gst/elements/gsttypefindelement.h:
22087 Set caps on all outgoing buffers, not just the first one.
22089 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
22091 * gst/elements/gsttypefindelement.c:
22092 (gst_type_find_element_have_type),
22093 (gst_type_find_element_check_set_buffer_caps),
22094 (gst_type_find_element_init), (stop_typefinding),
22095 (gst_type_find_element_handle_event),
22096 (gst_type_find_element_chain), (gst_type_find_element_getrange):
22097 * gst/elements/gsttypefindelement.h:
22098 Set caps on first outgoing buffer when we've found the type.
22100 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
22102 * docs/gst/gstreamer-docs.sgml:
22103 * docs/gst/gstreamer-sections.txt:
22104 * docs/gst/tmpl/gstscheduler.sgml:
22105 * docs/gst/tmpl/gstschedulerfactory.sgml:
22106 Remove some old cruft from docs.
22108 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
22111 Fix inline docs for GstPadLinkReturn.
22113 * gst/gststructure.c: (gst_structure_has_name):
22114 * gst/gststructure.h:
22115 * docs/gst/gstreamer-sections.txt:
22116 New API: gst_structure_has_name().
22118 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
22121 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22122 and _LARGEFILE_SOURCE in config.h as required. Do not
22123 export those flags in our .pc files any longer (#142209).
22125 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22127 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22128 (gst_file_sink_do_seek), (gst_file_sink_event),
22129 (gst_file_sink_get_current_offset), (gst_file_sink_render):
22130 Redo seek/tell calls with large file support in mind; add some
22131 debugging messages; add log message that tells us when large
22132 file support is unavailable or not enabled for some reason.
22134 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22135 Add log message that tells us when large file support
22136 is unavailable or not enabled for some reason.
22138 2005-07-29 Wim Taymans <wim@fluendo.com>
22140 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22141 Added test for removing an element with ghostpad from a bin.
22142 Fixed test as current implementation does the right thing.
22144 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22145 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22146 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22147 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22148 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22149 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22150 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22151 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22152 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22153 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22154 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22155 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22156 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22157 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22158 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22159 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22160 * gst/gstghostpad.h:
22161 Clean up ghostpads, remove properties for internal stuff.
22164 Prepare for switching targets, not all use cases work yet.
22166 2005-07-29 Wim Taymans <wim@fluendo.com>
22168 * docs/design/part-gstghostpad.txt:
22171 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22172 (gst_bin_remove_func):
22173 Unlinking pads while holding the bin LOCK is not a good
22176 * gst/gstpad.c: (gst_pad_class_init),
22177 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22178 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22179 No prob setting template after creating the pad.
22181 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
22183 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22184 (gst_bus_peek), (gst_bus_source_dispatch),
22185 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22186 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22187 gst_bus_poll may be called from other threads. Handle
22188 this nicely by not making poll_data disappear off the
22189 stack once gst_bus_poll returns.
22190 gst_bus_peek now increments the refcount on the returned
22193 2005-07-29 Wim Taymans <wim@fluendo.com>
22195 * docs/design/part-gstghostpad.txt:
22196 Overview of current GhostPad datastructures and use
22197 cases for changing the target.
22199 2005-07-28 Wim Taymans <wim@fluendo.com>
22201 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22202 Added checks for hierarchy consistency whan adding linked
22205 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22206 Added check to test element scheduling without bin/pipeline.
22208 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22209 First add elements to bin, then link.
22211 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22212 (gst_bin_remove_func):
22213 Unlink pads from elements added/removed from bin to maintain
22214 hierarchy consistency.
22216 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22218 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22219 (gst_base_transform_handle_buffer):
22220 * gst/base/gstbasetransform.h:
22221 Remove broken delay_configure (fixes renegotiation of software
22222 scaling pipelines); remove some leftover printf()s.
22224 2005-07-28 Wim Taymans <wim@fluendo.com>
22226 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22227 Added some more tests for wrong hierarchy
22229 * docs/design/part-overview.txt:
22232 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22235 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22236 (gst_element_dispose):
22237 Some more cleanups.
22239 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22240 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22241 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22242 (gst_pad_set_caps), (gst_pad_send_event):
22243 Check for correct hierarchy when linking pads. Moving to
22244 strict requirement for ghostpads when linking elements in
22248 Clean ups. Added WRONG_HIERARCHY return value.
22250 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22252 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22253 Better debug if no transform is possible.
22255 2005-07-27 Wim Taymans <wim@fluendo.com>
22257 * docs/random/wtay/network-transp:
22258 Some old doc I had.
22260 2005-07-27 Wim Taymans <wim@fluendo.com>
22262 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22263 (gst_dp_event_from_packet):
22264 Fix serialization of seek events.
22266 2005-07-27 Wim Taymans <wim@fluendo.com>
22268 * check/gst-libs/gdp.c: (GST_START_TEST):
22269 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22270 Fix compilation and fix event serialization.
22272 2005-07-27 Wim Taymans <wim@fluendo.com>
22275 * docs/design/part-TODO.txt:
22276 * docs/design/part-events.txt:
22279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22280 (gst_base_sink_event), (gst_base_sink_do_sync),
22281 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22282 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22283 (gst_base_src_do_seek), (gst_base_src_event_handler),
22284 (gst_base_src_loop):
22285 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22286 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22287 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22288 (gst_base_transform_event), (gst_base_transform_handle_buffer),
22289 (gst_base_transform_set_passthrough),
22290 (gst_base_transform_is_passthrough):
22291 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22292 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22298 * gst/gstelement.c: (gst_element_seek):
22299 * gst/gstelement.h:
22300 Update gst_element_seek.
22302 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22303 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22304 (gst_event_new_flush_start), (gst_event_new_flush_stop),
22305 (gst_event_new_eos), (gst_event_new_newsegment),
22306 (gst_event_parse_newsegment), (gst_event_new_tag),
22307 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22308 (gst_event_parse_qos), (gst_event_new_seek),
22309 (gst_event_parse_seek), (gst_event_new_navigation):
22311 Make GstEvent use GstStructure. Add parsing code, make sure the
22312 API is sufficiently generic.
22313 Mark possible directions of events and serialization.
22315 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22316 (_gst_message_copy), (gst_message_new_segment_start),
22317 (gst_message_new_segment_done), (gst_message_new_custom),
22318 (gst_message_parse_segment_start),
22319 (gst_message_parse_segment_done):
22322 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22323 (gst_pad_set_caps), (gst_pad_send_event):
22324 Update for new events.
22325 Catch events sent in wrong directions.
22327 * gst/gstqueue.c: (gst_queue_link_src),
22328 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22329 (gst_queue_handle_src_query):
22334 Remove event code from this file.
22336 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22337 (gst_dp_event_from_packet):
22340 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22342 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22343 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22344 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22345 Make debugging actually useful.
22347 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22349 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22350 (gst_pad_fixate_caps):
22351 Implement default fixation once again, so that gst_pad_fixate()
22352 actually does anything at all. This probably needs to be some
22353 sort of a last resort, and use profile-based fixation first, but
22354 since that doesn't exist yet, this is the best we have. Fixes
22355 visualization in Totem.
22357 2005-07-22 Wim Taymans <wim@fluendo.com>
22359 * docs/design/part-events.txt:
22362 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22363 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22364 (gst_base_sink_activate_pull):
22365 Some more comments.
22367 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22368 (gst_fake_src_create):
22369 Fix handoff marshall.
22371 * gst/elements/gstidentity.c: (gst_identity_class_init),
22372 (gst_identity_transform_ip):
22373 We're a real inplace element.
22375 * gst/gstbus.c: (gst_bus_post):
22376 Added some comments.
22378 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22379 * tests/muxing/case1.c: (main):
22380 * tests/sched/dynamic-pipeline.c: (main):
22381 * tests/sched/interrupt1.c: (main):
22382 * tests/sched/interrupt2.c: (main):
22383 * tests/sched/interrupt3.c: (main):
22384 * tests/sched/runxml.c: (main):
22385 * tests/sched/sched-stress.c: (main):
22386 * tests/seeking/seeking1.c: (event_received), (main):
22387 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22389 * tests/threadstate/threadstate3.c: (main):
22390 * tests/threadstate/threadstate4.c: (main):
22391 * tests/threadstate/threadstate5.c: (main):
22394 2005-07-21 Wim Taymans <wim@fluendo.com>
22396 * docs/design/part-seeking.txt:
22397 Some small additions.
22399 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22400 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22401 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22402 * gst/base/gstbasesink.h:
22403 discont values are gint64, handle the math correctly.
22405 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22406 Make the basesrc report error if the source pad is not linked.
22408 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22409 (gst_queue_loop), (gst_queue_handle_src_query),
22410 (gst_queue_src_activate_push):
22411 Make queue collect data even if the srcpad is not linked.
22412 Start pushing out data as soon as it is linked.
22414 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22416 Added gst_flow_get_name() to ease error reporting.
22418 2005-07-20 Wim Taymans <wim@fluendo.com>
22420 * gst/gstmessage.c: (gst_message_new_segment_start),
22421 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22422 (gst_message_parse_segment_done):
22423 * gst/gstmessage.h:
22424 Added a bunch of messages for advanced seeking.
22426 * gst/parse/grammar.y:
22427 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22428 (gst_dpman_state_changed):
22429 Fix some new-pad -> pad-added signals
22431 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22433 * docs/manual/appendix-porting.xml:
22434 * docs/pwg/appendix-porting.xml:
22435 Document new-pad/state-change signal renames and the FixedList
22438 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22440 * docs/manual/advanced-autoplugging.xml:
22441 * docs/manual/basics-helloworld.xml:
22442 * docs/manual/basics-pads.xml:
22443 * docs/random/ds/0.9-suggested-changes:
22444 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22445 * gst/gstelement.h:
22449 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22450 (gst_structure_parse_array), (gst_structure_parse_value):
22451 * gst/gstvalue.c: (gst_type_is_fixed),
22452 (gst_value_list_prepend_value), (gst_value_list_append_value),
22453 (gst_value_list_get_size), (gst_value_list_get_value),
22454 (gst_value_transform_array_string), (gst_value_serialize_array),
22455 (gst_value_deserialize_array), (gst_value_intersect_array),
22456 (gst_value_is_fixed), (_gst_value_initialize):
22458 GstElement::new-pad -> pad-added, GstElement::state-change ->
22459 state-changed, GstValueFixedList -> GstValueArray, add format and
22460 flags as their own arguments in gst_element_seek() (should improve
22461 "bindeability"), remove function generators since they don't work
22462 under a whole bunch of compilers (they were deprecated already
22465 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22467 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22468 (_gst_debug_register_funcptr):
22470 Fix illegal cast on some platforms (#309253).
22472 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22474 * gst/gstmessage.c: (gst_message_new_custom):
22475 * gst/gstmessage.h:
22476 Add _new_custom, make _new_application a macro to _new_custom.
22478 2005-07-20 Wim Taymans <wim@fluendo.com>
22480 * gst/base/gstbasesrc.c: (gst_base_src_init),
22481 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22482 * gst/base/gstbasesrc.h:
22483 Add a gboolean to decide when to push out a discont.
22485 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22486 (gst_queue_loop), (gst_queue_handle_src_query),
22487 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22488 (gst_queue_set_property), (gst_queue_get_property):
22491 * tests/threadstate/threadstate1.c: (main):
22492 Make a thread test compile and run... very silly..
22495 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22497 * docs/manual/appendix-porting.xml:
22498 Mention removal of libgstgconf-0.9.la and existence of gconf
22501 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22503 * docs/pwg/advanced-clock.xml:
22504 * docs/pwg/appendix-porting.xml:
22505 * docs/pwg/intro-preface.xml:
22506 * docs/pwg/other-base.xml:
22507 * docs/pwg/other-manager.xml:
22508 * docs/pwg/other-nton.xml:
22509 * docs/pwg/other-ntoone.xml:
22510 * docs/pwg/other-oneton.xml:
22511 * docs/pwg/pwg.xml:
22512 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22513 demuxer), remove n-to-n (was never written), fix some code examples
22514 and links and update the porting section to include all this.
22516 2005-07-19 Wim Taymans <wim@fluendo.com>
22518 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22519 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22520 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22521 (gst_queue_src_activate_push), (gst_queue_change_state),
22522 (gst_queue_get_property):
22524 Propagate GstFlowReturn more intelligently upstream and output
22525 an ERROR/EOS when streaming stopped due to fatal error.
22527 2005-07-19 Wim Taymans <wim@fluendo.com>
22529 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22530 Don't block forever for the state change to complete, the
22531 pipeline already did with a sensible timeout.
22533 2005-07-19 Wim Taymans <wim@fluendo.com>
22535 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22536 Make sure we never call the create function is we
22539 2005-07-19 Andy Wingo <wingo@pobox.com>
22541 * gst/parse/parse.l: Attempt to solve bug #172815.
22543 2005-07-19 Wim Taymans <wim@fluendo.com>
22545 * docs/design/part-clocks.txt:
22546 * docs/design/part-events.txt:
22547 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22548 Small docs updates.
22549 Only update the seeking values when we are not
22552 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22554 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22555 Oops, ignore the result of gst_pad_push_event here.
22557 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22559 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22560 (gst_base_src_activate_push):
22561 Send discont event from the loop function, as pads
22562 aren't activated yet in the activate_push handler.
22564 * gst/gstbin.c: (bin_bus_handler):
22565 Don't leak element name.
22567 2005-07-18 Andy Wingo <wingo@pobox.com>
22569 * configure.ac: Use AS_LIBTOOL_TAGS.
22571 2005-07-18 Wim Taymans <wim@fluendo.com>
22573 * docs/gst/gstreamer.types:
22574 Remove deleted types.
22576 2005-07-18 Wim Taymans <wim@fluendo.com>
22578 * check/elements/gstfakesrc.c: (GST_START_TEST):
22581 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22582 (init_popt_callback):
22584 * gst/gst_private.h:
22585 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22586 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22589 * gst/gstconfig.h.in:
22590 * gst/gstelement.c: (gst_element_class_init),
22591 (gst_element_set_base_time), (gst_element_get_base_time),
22592 (iterator_fold_with_resync), (gst_element_change_state),
22593 (gst_element_dispose), (gst_element_get_bus):
22594 * gst/gstelement.h:
22595 * gst/gstelementfactory.h:
22596 * gst/gsterror.c: (_gst_core_errors_init):
22599 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22601 * gst/gstinfo.c: (_gst_debug_init):
22602 * gst/gstmessage.c: (_gst_message_copy):
22603 * gst/gstmessage.h:
22604 * gst/gstminiobject.h:
22607 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22608 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22611 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22612 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22613 (gst_pipeline_get_last_stream_time):
22614 * gst/gstpipeline.h:
22615 * gst/gstpluginfeature.h:
22617 * gst/gstscheduler.c:
22618 * gst/gstscheduler.h:
22619 * gst/gststructure.h:
22620 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22621 (gst_task_finalize), (gst_task_func), (gst_task_create),
22622 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22623 (gst_task_stop), (gst_task_pause):
22625 * gst/gsttypefind.h:
22627 * gst/registries/gstlibxmlregistry.c: (load_feature),
22628 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22629 * gst/registries/gstxmlregistry.c:
22630 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22631 * gst/schedulers/threadscheduler.c:
22632 * libs/gst/control/dparammanager.h:
22633 * tools/gst-inspect.c: (print_element_list),
22634 (print_plugin_features), (print_element_features):
22635 * tools/gst-xmlinspect.c: (print_element_list),
22636 (print_plugin_info), (main):
22637 Removed plugable schedulers.
22638 Removed Scheduler/Manager from elements.
22639 Removed gsttypes.h, rearranged includes.
22640 Removed dependency pad<->element, element<>pipeline, and
22641 various others, fix includes.
22642 implement gst_pad_get_parent() with gst_object_get_parent()
22643 Make GstTask sefcontained.
22644 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22646 Fix endless loop in iterator_fold_with_resync.
22649 2005-07-18 Wim Taymans <wim@fluendo.com>
22655 2005-07-18 Wim Taymans <wim@fluendo.com>
22658 No more cothreads.h
22660 2005-07-18 Wim Taymans <wim@fluendo.com>
22664 Let's remove these.
22666 2005-07-18 Wim Taymans <wim@fluendo.com>
22668 * docs/design/part-dynamic.txt:
22669 * docs/design/part-events.txt:
22670 * docs/design/part-seeking.txt:
22671 Some more docs in the works.
22673 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22674 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22675 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22676 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22677 (gst_base_transform_handle_buffer),
22678 (gst_base_transform_sink_activate_push),
22679 (gst_base_transform_src_activate_pull),
22680 (gst_base_transform_set_passthrough),
22681 (gst_base_transform_is_passthrough):
22684 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22687 * gst/gstevent.c: (gst_event_finalize):
22690 * gst/gstutils.c: (gst_element_unlink),
22691 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22692 (gst_pad_proxy_setcaps):
22694 Add _get_parent_element() to get a pads parent as an element.
22696 2005-07-18 Wim Taymans <wim@fluendo.com>
22698 * check/gst/gstbin.c: (GST_START_TEST):
22701 2005-07-18 Wim Taymans <wim@fluendo.com>
22703 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22704 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22705 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22706 (gst_base_sink_event), (gst_base_sink_do_sync),
22707 (gst_base_sink_chain), (gst_base_sink_loop),
22708 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22709 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22711 Fix logic for returning ASYNC when not prerolled.
22713 2005-07-18 Wim Taymans <wim@fluendo.com>
22715 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22716 Fix nasty refcount bug.
22718 2005-07-16 Philippe Khalaf <burger@speedy.org>
22720 * gst/elements/gstfdsrc.c:
22721 * gst/elements/gstfdsrc.h:
22722 * gst/elements/gstelements.c:
22723 * gst/elements/Makefile.am:
22724 Ported fdsrc to 0.9.
22726 2005-07-16 Wim Taymans <wim@fluendo.com>
22728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22729 (gst_base_sink_do_sync):
22732 2005-07-16 Wim Taymans <wim@fluendo.com>
22734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22735 (gst_base_sink_event), (gst_base_sink_get_times),
22736 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22737 * gst/base/gstbasesink.h:
22738 Store and use discont values when syncing buffers as described
22741 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22742 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22743 (gst_base_src_activate_push):
22744 Push discont event when starting.
22746 * gst/elements/gstidentity.c: (gst_identity_transform):
22749 * gst/gstbin.c: (gst_bin_change_state):
22750 Small cleanups in base_time distribution.
22752 * gst/gstelement.c: (gst_element_set_base_time),
22753 (gst_element_get_base_time), (gst_element_change_state):
22754 * gst/gstelement.h:
22755 Added methods for the base_time of the element.
22758 * gst/gstpipeline.c: (gst_pipeline_send_event),
22759 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22760 (gst_pipeline_get_last_stream_time):
22761 * gst/gstpipeline.h:
22763 Handle seeking as described in design doc, remove stream_time
22765 Cleanups clock and stream_time selection code. Added accessors
22766 for the stream_time.
22769 2005-07-16 Andy Wingo <wingo@pobox.com>
22771 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22774 2005-07-16 Wim Taymans <wim@fluendo.com>
22776 * check/gst/gstbin.c: (GST_START_TEST):
22777 Make elements silent as the deep_notify refs the
22778 parent, which might make the test fail.
22780 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22781 Don't hold the lock for too long.
22783 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22785 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22786 Don't unref the caps we passed to gst_caps_make_writable() after
22787 passing them. gst_caps_make_writable() will do that for us.
22789 2005-07-15 Andy Wingo <wingo@pobox.com>
22791 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22794 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22795 own marshalling function for the handoff signal. Properly type the
22796 buffer as a buffer. Fixes some warnings. Should do a more general
22798 (gst_identity_class_init): Plug into the right marshaller.
22800 2005-07-15 Wim Taymans <wim@fluendo.com>
22802 * docs/design/part-TODO.txt:
22803 * docs/design/part-clocks.txt:
22804 * docs/design/part-element-sink.txt:
22805 * docs/design/part-events.txt:
22806 * docs/design/part-gstpipeline.txt:
22807 Updated docs, mostly DISCONT related.
22809 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22811 * docs/pwg/building-pads.xml:
22812 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22814 2005-07-15 Andy Wingo <wingo@pobox.com>
22816 * tools/gst-typefind.c: Update, add copyright block.
22818 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22819 Normalize and truncate caps before fixation.
22822 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22823 discards all but the first structure from its argument.
22825 2005-07-15 Wim Taymans <wim@fluendo.com>
22827 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22828 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22829 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22830 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22831 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22832 (gst_base_transform_chain), (gst_base_transform_change_state),
22833 (gst_base_transform_set_passthrough),
22834 (gst_base_transform_is_passthrough):
22835 * gst/base/gstbasetransform.h:
22836 Make passthrough work using the bufferpools.
22837 Changed API a bit, subclasses have to write into a buffer
22838 provided by the base class.
22839 More debug info in nego functions.
22841 * gst/elements/gstidentity.c: (gst_identity_init),
22842 (gst_identity_transform):
22843 Port to new base class.
22845 2005-07-15 Wim Taymans <wim@fluendo.com>
22847 * gst/gstmessage.c: (gst_message_new_state_changed):
22848 * tools/gst-launch.c: (event_loop), (main):
22849 Totally dump messages in -launch with the -m option.
22850 Fix message name for State messages,
22852 2005-07-14 Wim Taymans <wim@fluendo.com>
22854 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22855 Post error messages on errors.
22857 2005-07-14 Wim Taymans <wim@fluendo.com>
22859 * gst/gstcaps.c: (gst_caps_do_simplify):
22863 Define error for stream stopped.
22865 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22866 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22867 Do proper return values.
22869 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22870 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22871 (gst_pad_get_range):
22872 Better return values.
22875 Reorganise return values, add macro to check for fatal errors.
22877 * gst/gstqueue.c: (gst_queue_chain):
22878 Return proper GstFlowReturn values,
22880 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22882 * docs/gst/gstreamer-sections.txt:
22883 * docs/gst/gstreamer.types:
22884 * docs/gst/tmpl/gst.sgml:
22885 * docs/gst/tmpl/gstbasesink.sgml:
22886 * docs/gst/tmpl/gstbasesrc.sgml:
22887 * docs/gst/tmpl/gstbasetransform.sgml:
22888 * docs/gst/tmpl/gstbin.sgml:
22889 * docs/gst/tmpl/gstbuffer.sgml:
22890 * docs/gst/tmpl/gstcaps.sgml:
22891 * docs/gst/tmpl/gstclock.sgml:
22892 * docs/gst/tmpl/gstcompat.sgml:
22893 * docs/gst/tmpl/gstconfig.sgml:
22894 * docs/gst/tmpl/gstelement.sgml:
22895 * docs/gst/tmpl/gstelementdetails.sgml:
22896 * docs/gst/tmpl/gstelementfactory.sgml:
22897 * docs/gst/tmpl/gstenumtypes.sgml:
22898 * docs/gst/tmpl/gsterror.sgml:
22899 * docs/gst/tmpl/gstevent.sgml:
22900 * docs/gst/tmpl/gstfakesink.sgml:
22901 * docs/gst/tmpl/gstfakesrc.sgml:
22902 * docs/gst/tmpl/gstfilesink.sgml:
22903 * docs/gst/tmpl/gstfilesrc.sgml:
22904 * docs/gst/tmpl/gstfilter.sgml:
22905 * docs/gst/tmpl/gstformat.sgml:
22906 * docs/gst/tmpl/gstghostpad.sgml:
22907 * docs/gst/tmpl/gstimplementsinterface.sgml:
22908 * docs/gst/tmpl/gstindex.sgml:
22909 * docs/gst/tmpl/gstindexfactory.sgml:
22910 * docs/gst/tmpl/gstinfo.sgml:
22911 * docs/gst/tmpl/gstiterator.sgml:
22912 * docs/gst/tmpl/gstmacros.sgml:
22913 * docs/gst/tmpl/gstmemchunk.sgml:
22914 * docs/gst/tmpl/gstminiobject.sgml:
22915 * docs/gst/tmpl/gstobject.sgml:
22916 * docs/gst/tmpl/gstpad.sgml:
22917 * docs/gst/tmpl/gstpadtemplate.sgml:
22918 * docs/gst/tmpl/gstparse.sgml:
22919 * docs/gst/tmpl/gstpipeline.sgml:
22920 * docs/gst/tmpl/gstplugin.sgml:
22921 * docs/gst/tmpl/gstpluginfeature.sgml:
22922 * docs/gst/tmpl/gstquery.sgml:
22923 * docs/gst/tmpl/gstqueue.sgml:
22924 * docs/gst/tmpl/gstregistry.sgml:
22925 * docs/gst/tmpl/gstregistrypool.sgml:
22926 * docs/gst/tmpl/gstscheduler.sgml:
22927 * docs/gst/tmpl/gstschedulerfactory.sgml:
22928 * docs/gst/tmpl/gststructure.sgml:
22929 * docs/gst/tmpl/gstsystemclock.sgml:
22930 * docs/gst/tmpl/gsttaglist.sgml:
22931 * docs/gst/tmpl/gsttagsetter.sgml:
22932 * docs/gst/tmpl/gsttrace.sgml:
22933 * docs/gst/tmpl/gsttrashstack.sgml:
22934 * docs/gst/tmpl/gsttypefind.sgml:
22935 * docs/gst/tmpl/gsttypefindfactory.sgml:
22936 * docs/gst/tmpl/gsttypes.sgml:
22937 * docs/gst/tmpl/gsturihandler.sgml:
22938 * docs/gst/tmpl/gsturitype.sgml:
22939 * docs/gst/tmpl/gstutils.sgml:
22940 * docs/gst/tmpl/gstvalue.sgml:
22941 * docs/gst/tmpl/gstversion.sgml:
22942 * docs/gst/tmpl/gstxml.sgml:
22943 * docs/libs/tmpl/gstcontrol.sgml:
22944 * docs/libs/tmpl/gstdataprotocol.sgml:
22945 * docs/libs/tmpl/gstdparam.sgml:
22946 * docs/libs/tmpl/gstdplinint.sgml:
22947 * docs/libs/tmpl/gstdpman.sgml:
22948 * docs/libs/tmpl/gstdpsmooth.sgml:
22949 * docs/libs/tmpl/gstgetbits.sgml:
22950 * docs/libs/tmpl/gstunitconvert.sgml:
22951 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22952 (gst_push_src_base_init), (gst_push_src_class_init),
22953 (gst_push_src_init), (gst_push_src_create):
22954 * gst/base/gstpushsrc.h:
22955 * gst/elements/gstelements.c:
22956 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22957 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22958 (gst_fake_sink_init), (gst_fake_sink_set_property),
22959 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22960 (gst_fake_sink_event), (gst_fake_sink_preroll),
22961 (gst_fake_sink_render), (gst_fake_sink_change_state):
22962 * gst/elements/gstfakesink.h:
22963 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22964 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22965 (gst_fake_src_base_init), (gst_fake_src_class_init),
22966 (gst_fake_src_init), (gst_fake_src_event_handler),
22967 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22968 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22969 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22970 (gst_fake_src_create_buffer), (gst_fake_src_create),
22971 (gst_fake_src_start), (gst_fake_src_stop):
22972 * gst/elements/gstfakesrc.h:
22973 * gst/elements/gstfilesink.c: (_do_init),
22974 (gst_file_sink_base_init), (gst_file_sink_class_init),
22975 (gst_file_sink_init), (gst_file_sink_dispose),
22976 (gst_file_sink_set_location), (gst_file_sink_set_property),
22977 (gst_file_sink_get_property), (gst_file_sink_open_file),
22978 (gst_file_sink_close_file), (gst_file_sink_query),
22979 (gst_file_sink_event), (gst_file_sink_render),
22980 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22981 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22982 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22983 * gst/elements/gstfilesink.h:
22984 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22985 (gst_file_src_class_init), (gst_file_src_init),
22986 (gst_file_src_finalize), (gst_file_src_set_location),
22987 (gst_file_src_set_property), (gst_file_src_get_property),
22988 (gst_file_src_map_region), (gst_file_src_map_small_region),
22989 (gst_file_src_create_mmap), (gst_file_src_create_read),
22990 (gst_file_src_create), (gst_file_src_is_seekable),
22991 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22992 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22993 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22994 (gst_file_src_uri_handler_init):
22995 * gst/elements/gstfilesrc.h:
22996 more autistic cleanliness in functions/names/defines
22998 2005-07-13 Andy Wingo <wingo@pobox.com>
23000 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23001 source couldn't negotiate.
23003 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23007 * gst/gstutils.c (gst_element_link_pads_filtered): New old
23008 function. I am channeling Hades. Put your boots on suckers!!!
23010 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
23012 * testsuite/caps/Makefile.am:
23013 * testsuite/caps/value_compare.c:
23014 * testsuite/caps/value_intersect.c:
23015 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23016 move two testsuite apps over to the check dir
23018 2005-07-12 Wim Taymans <wim@fluendo.com>
23020 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23021 Added more debug info in the negotiate process.
23023 * gst/gstmessage.h:
23024 Prepare for segment playback.
23026 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23032 * tools/gst-launch.c: (main):
23033 NULL pipeline on errors.
23035 2005-07-12 Andy Wingo <wingo@pobox.com>
23037 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23038 not it comes from a malloc region. Make sure our copy gets freed.
23040 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23042 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23043 * check/gst/gstmessage.c: (GST_START_TEST):
23044 * check/gst/gststructure.c: (GST_START_TEST),
23045 (gst_structure_suite), (main):
23047 * gst/gstelement.c: (gst_element_message_full):
23048 clean up GError and debug string now that they get copied
23049 * gst/gstmessage.c: (gst_message_new_error),
23050 (gst_message_new_warning), (gst_message_parse_error),
23051 (gst_message_parse_warning):
23052 use GST_TYPE_G_ERROR for structure_new, and take copies of
23053 arguments, so that we don't mess up refcounting
23055 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23057 * check/Makefile.am:
23058 add per-test valgrind targets
23059 * check/gst-libs/gdp.c: (GST_START_TEST),
23060 (gst_data_protocol_suite), (main):
23063 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
23065 * check/Makefile.am:
23066 instate more valgrindable tests
23067 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23068 (GST_START_TEST), (fakesrc_suite):
23069 * check/gst/gstpad.c: (GST_START_TEST):
23070 * check/gst/gststructure.c: (GST_START_TEST):
23072 * docs/gst/tmpl/gstminiobject.sgml:
23073 * gst/gstpad.c: (gst_pad_finalize):
23074 fix the static mutex leak
23076 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
23078 * check/Makefile.am:
23079 add two more tests for valgrinding
23080 * check/gst/gstvalue.c: (GST_START_TEST):
23081 test refcount of deserialized buffer, found a leak
23082 * docs/gst/gstreamer-docs.sgml:
23083 * docs/gst/gstreamer-sections.txt:
23084 * docs/gst/gstreamer.types:
23085 * docs/gst/tmpl/gstminiobject.sgml:
23086 add miniobject to docs
23087 * gst/gstminiobject.c:
23089 * gst/gstvalue.c: (gst_value_deserialize_buffer),
23090 (gst_string_unwrap):
23091 fix a hard-to-find invalid write for one of the tests
23092 fix a leak for deserialized buffers
23094 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23096 * docs/pwg/advanced-events.xml:
23097 * docs/pwg/advanced-request.xml:
23098 * docs/pwg/advanced-scheduling.xml:
23099 * docs/pwg/appendix-porting.xml:
23100 * docs/pwg/building-boiler.xml:
23101 * docs/pwg/intro-preface.xml:
23102 * docs/pwg/other-ntoone.xml:
23103 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23104 of example code and explanation for pad activation, loop() and
23105 getrange() functions and a bit more. Remove old comments pointing
23107 * examples/pwg/Makefile.am:
23108 Add loop/getrange examples.
23110 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
23113 check for valgrind binary + some fixes
23115 valgrind suppressions for the tests
23116 * check/Makefile.am:
23117 add a valgrind: target that valgrinds the unit tests
23118 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23119 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23120 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23121 * check/gst/gstghostpad.c:
23123 * check/gst/gstdata.c:
23125 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23126 (thread_unref), (gst_mini_object_suite), (main):
23128 * gst/gst.c: (gst_deinit):
23130 add a method to clean up.
23131 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23132 (gst_system_clock_obtain):
23133 allow for disposing the system clock.
23134 * tools/gst-launch.c: (main):
23137 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
23139 * docs/gst/tmpl/gstbasesrc.sgml:
23140 * docs/gst/tmpl/gstfakesrc.sgml:
23141 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23142 (gst_base_src_init), (gst_base_src_set_property),
23143 (gst_base_src_get_property), (gst_base_src_get_range),
23144 (gst_base_src_start):
23145 * gst/base/gstbasesrc.h:
23146 add num-buffers property
23147 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23148 (gst_fakesrc_init), (gst_fakesrc_set_property),
23149 (gst_fakesrc_get_property), (gst_fakesrc_create),
23150 (gst_fakesrc_start):
23151 remove num-buffers property
23153 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23155 * docs/gst/gstreamer-sections.txt:
23156 * docs/gst/tmpl/gstbasesink.sgml:
23157 * docs/gst/tmpl/gstbasesrc.sgml:
23158 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23159 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23160 (gst_base_sink_finalize), (gst_base_sink_set_clock),
23161 (gst_base_sink_set_property), (gst_base_sink_get_property),
23162 (gst_base_sink_handle_object), (gst_base_sink_event),
23163 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23164 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23165 (gst_base_sink_loop), (gst_base_sink_deactivate),
23166 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23167 (gst_base_sink_change_state):
23168 * gst/base/gstbasesink.h:
23169 * gst/base/gstbasesrc.h:
23170 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23171 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23172 (gst_filesink_init):
23173 more macro splitting
23175 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23177 * gst/gstelement.c: (gst_element_get_bus):
23179 * tools/gst-launch.c: (check_intr), (event_loop):
23182 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23184 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23187 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
23189 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23190 (gst_base_src_finalize):
23191 add finalize method and clean up properly
23192 * gst/gstpipeline.c: (gst_pipeline_dispose):
23195 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23197 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23199 add more things to check
23200 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23201 * gst/gstelement.c:
23204 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23206 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23207 (GST_START_TEST), (fakesrc_suite):
23208 * check/gst-libs/gdp.c: (GST_START_TEST):
23209 * check/gst/gst.c: (GST_START_TEST):
23210 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23211 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23212 * check/gst/gstbus.c: (GST_START_TEST):
23213 * check/gst/gstcaps.c: (GST_START_TEST):
23214 * check/gst/gstdata.c: (GST_START_TEST):
23215 * check/gst/gstelement.c: (GST_START_TEST):
23216 * check/gst/gstghostpad.c: (GST_START_TEST):
23217 * check/gst/gstiterator.c: (GST_START_TEST):
23218 * check/gst/gstmessage.c: (GST_START_TEST):
23219 * check/gst/gstobject.c: (GST_START_TEST):
23220 * check/gst/gstpad.c: (GST_START_TEST):
23221 * check/gst/gststructure.c: (GST_START_TEST):
23222 * check/gst/gstsystemclock.c: (GST_START_TEST),
23223 (gst_systemclock_suite):
23224 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23225 * check/gst/gstvalue.c: (GST_START_TEST):
23226 * check/pipelines/cleanup.c: (GST_START_TEST):
23227 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23228 * check/states/sinks.c: (GST_START_TEST):
23229 * check/gstcheck.c: (gst_check_init):
23230 * check/gstcheck.h:
23231 add debugging category
23232 use GST_START_TEST now, so we add a debug line
23234 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23236 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23237 add test for state change message on a bin
23238 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23240 * gst/gstbin.c: (gst_bin_init):
23241 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23242 * gst/gstelement.c: (gst_element_post_message),
23243 (gst_element_set_state):
23244 * gst/gstelementfactory.c: (gst_element_factory_create):
23245 * gst/gstmessage.c: (gst_message_new):
23246 * gst/gstscheduler.c:
23247 various debugging additions and cleanups
23249 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23251 * check/Makefile.am:
23252 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23254 adding tests for elements
23255 * gst/gstelement.c: (gst_element_dispose):
23257 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23259 * gst/registries/gstlibxmlregistry.c: (load_feature):
23260 plug more leaks. A simple gst_init() now is leakfree, yay.
23262 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23264 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23265 (gst_xml_registry_load):
23266 plug another memleak
23268 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23271 use GST_SET_ERROR_CFLAGS
23272 * docs/faq/cvs.xml:
23273 change to ERROR_CFLAGS
23275 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23278 make GST_ERROR_CFLAGS overridable and re-enable Werror
23279 * docs/faq/cvs.xml:
23280 add a note about error CFLAGS
23281 * docs/gst/tmpl/gstfakesrc.sgml:
23282 * gst/elements/gstfakesrc.c:
23283 comment out some unused code
23284 * gst/gst.c: (split_and_iterate):
23285 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23289 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23291 * common/Makefile.am:
23292 * common/gtk-doc.mak:
23293 * docs/gst/Makefile.am:
23294 factor out gtk-doc.mak
23296 2005-07-07 Wim Taymans <wim@fluendo.com>
23298 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23299 (gst_thread_scheduler_dispose):
23300 Unlock the STREAM_LOCK completely.
23302 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23304 * check/Makefile.am:
23305 * check/elements/.cvsignore:
23306 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23307 (START_TEST), (fakesrc_suite), (main):
23308 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23309 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23310 (gst_fakesrc_create), (gst_fakesrc_start):
23311 * gst/elements/gstfakesrc.h:
23312 adding a first element test
23314 2005-07-07 Andy Wingo <wingo@pobox.com>
23316 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23319 2005-07-07 Wim Taymans <wim@fluendo.com>
23325 2005-07-07 Wim Taymans <wim@fluendo.com>
23327 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23328 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23329 Allow subclasses to implement their own negotiation.
23331 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23333 * docs/design/part-gstbin.txt:
23334 * docs/design/part-gstpipeline.txt:
23335 Update design notes to reflect the movement of
23336 responsibility for bus handling from GstPipeline to
23339 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23342 Remove unnecessary queue2/3/4 examples.
23344 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23346 * examples/Makefile.am:
23347 * examples/helloworld/helloworld.c: (event_loop), (main):
23348 * examples/queue/queue.c: (event_loop), (main):
23349 * examples/queue2/queue2.c: (main):
23350 Update a couple of the examples to work again.
23352 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23353 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23354 Spelling corrections and extra debug.
23356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23357 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23358 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23360 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23361 (gst_pipeline_change_state):
23362 * gst/gstpipeline.h:
23363 Move the bus handler for children to the GstBin, and create a
23364 separate bus for receiving messages from children to the one the
23365 bus sends 'upwards' on.
23367 2005-07-06 Wim Taymans <wim@fluendo.com>
23370 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23371 (gst_base_sink_handle_object), (gst_base_sink_loop),
23372 (gst_base_sink_change_state):
23373 * gst/base/gstbasesink.h:
23374 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23375 (gst_base_src_init), (gst_base_src_setcaps),
23376 (gst_base_src_getcaps), (gst_base_src_loop),
23377 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23378 (gst_base_src_start), (gst_base_src_change_state):
23379 * gst/base/gstbasesrc.h:
23380 Make basesrc negotiate.
23381 Handle the case where preroll fails in basesink.
23384 2005-07-06 Wim Taymans <wim@fluendo.com>
23386 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23387 Implement the fixate function.
23388 Clean up acceptcaps.
23390 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23392 * docs/pwg/building-filterfactory.xml:
23393 * docs/pwg/pwg.xml:
23394 Remove never-written filter-factory chapter; I'll add the various
23395 base classes to part 4 ("other element types") later on.
23397 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23399 * docs/pwg/advanced-negotiation.xml:
23400 * docs/pwg/building-boiler.xml:
23401 * docs/pwg/building-pads.xml:
23402 * docs/pwg/pwg.xml:
23403 * examples/pwg/Makefile.am:
23404 Add a chapter on caps negotiation, simplify the original code
23405 samples a bit w.r.t. caps negotiation, add link to the advanced
23406 section. Add a bunch of examples showing different use cases of
23407 different types of caps negotiation. Upstream renegotiation isn't
23408 fully documented yet since nobody knows how that works.
23410 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23412 * check/gst/gstpad.c:
23413 * check/gstcheck.c:
23414 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23415 if pad has no parent, return NULL as list of internal links
23417 2005-07-05 Andy Wingo <wingo@pobox.com>
23419 * gst/elements/gstfilesrc.c:
23420 * gst/elements/gstfakesrc.c:
23421 * gst/base/gstpushsrc.c:
23422 * gst/base/gstbasesrc.h:
23423 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23425 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23428 better report generation target (lcov needs a patch)
23430 2005-07-05 Andy Wingo <wingo@pobox.com>
23432 * gst/elements, testsuite: Null if we got it...
23434 2005-07-05 Wim Taymans <wim@fluendo.com>
23437 * libs/gst/dataprotocol/Makefile.am:
23438 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23439 * libs/gst/dataprotocol/dataprotocol.h:
23440 * pkgconfig/Makefile.am:
23441 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23442 * pkgconfig/gstreamer-dataprotocol.pc.in:
23443 Ported dataprotol to 0.9.
23444 Added pkgconfig files.
23446 2005-07-05 Andy Wingo <wingo@pobox.com>
23448 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23449 Default to returning TRUE for the case when tranform_caps returns
23450 a fixed caps, like for identity or volume.
23452 * check/gst/gstbus.c (pound_bus_with_messages):
23453 * check/gst/gstmessage.c (START_TEST):
23454 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23455 message API change.
23457 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23458 logic weaks here: always run transform_caps, trying passthrough
23459 operation only if the original caps intersects with the transform.
23461 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23462 source and sink caps.
23464 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23465 Intersect the peer caps with the pad template before going into
23467 (gst_base_transform_transform_caps): More debugging.
23469 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23472 2005-07-04 Edward Hervey <edward@fluendo.com>
23476 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23479 2005-07-04 Andy Wingo <wingo@pobox.com>
23481 * check/gst/gstpad.c: Only set explicit caps on pads.
23483 2005-07-01 Andy Wingo <wingo@pobox.com>
23485 * tests/network-clock.scm: Commentary update.
23487 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23488 Didn't really make sense, not implementable with basetransform,
23490 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23491 attempt at implementing the sync property, needs an unlock method.
23493 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23494 New func, by default returns the same caps (the identity
23496 (gst_base_transform_getcaps): Uses transform_caps to return
23497 something sensible.
23498 (gst_base_transform_setcaps): Complicated logic to get caps on
23499 both pads, even if they are different, and to call set_caps once
23500 for every time both pads get their caps set.
23501 (gst_base_transform_handle_buffer): Give the ref to the transform
23502 function. Allows in-place modification of the buffer.
23504 * gst/base/gstbasetransform.h (transform_caps): New class method.
23505 Given caps on one side, what can I do on the other.
23506 (set_caps): Take two caps, one for each side of the element.
23509 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23510 caps in place. This is safe because we can check the mutability of
23511 the caps, and a good idea because fixate functions are just called
23512 as a matter of last resort. (Not actually implemented.)
23513 (gst_pad_set_caps): If the caps we're setting is actually the same
23514 as the existing pad caps, just update the pointer without calling
23515 setcaps. Assert that caps is either NULL or fixed, as per the
23518 * gst/gstghostpad.c: Update for fixate changes.
23520 2005-07-02 Andy Wingo <wingo@pobox.com>
23523 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23524 two refcounts makes it immutable, which is enough. Doc more.
23526 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23528 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23529 Put the mini_object into GValue as a mini_object,
23530 not a gpointer, since that's how we declared
23533 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23535 * examples/pwg/Makefile.am:
23536 Fix buildbot again.
23538 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23540 * docs/pwg/building-testapp.xml:
23542 * examples/pwg/Makefile.am:
23545 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23548 * examples/Makefile.am:
23549 * examples/pwg/Makefile.am:
23550 * examples/pwg/extract.pl:
23551 Enable building the PWG examples.
23552 * docs/pwg/advanced-interfaces.xml:
23553 Add URI interface stub.
23554 * docs/pwg/advanced-types.xml:
23555 * docs/pwg/other-autoplugger.xml:
23556 * docs/pwg/appendix-porting.xml:
23557 * docs/pwg/pwg.xml:
23558 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23559 * docs/pwg/building-boiler.xml:
23560 * docs/pwg/building-chainfn.xml:
23561 * docs/pwg/building-pads.xml:
23562 * docs/pwg/building-props.xml:
23563 * docs/pwg/building-state.xml:
23564 * docs/pwg/building-testapp.xml:
23565 Update the building-*.xml parts for 0.9 changes. All examples
23566 code blocks compile in examples/pwg/*.
23568 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23570 * docs/manual/advanced-autoplugging.xml:
23571 * docs/manual/appendix-checklist.xml:
23572 * docs/manual/appendix-integration.xml:
23573 * docs/manual/highlevel-components.xml:
23574 Fix playbin/decodebin examples, update docs a bit, mention bus
23575 instead of signals in various places, mention kmplayer and
23576 kaffeine since they have a working GStreamer backend in the KDE
23579 2005-06-30 Wim Taymans <wim@fluendo.com>
23582 * docs/design/draft-ghostpads.txt:
23583 * docs/design/draft-push-pull.txt:
23584 * docs/design/draft-query.txt:
23585 * docs/design/part-TODO.txt:
23586 * docs/design/part-query.txt:
23587 Added CHANGES-0.9 doc, updated status of other docs.
23592 2005-06-30 Wim Taymans <wim@fluendo.com>
23594 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23595 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23596 (gst_base_sink_change_state):
23597 * gst/base/gstbasesink.h:
23598 Some tweaks, only EOS and a buffer complete a preroll.
23600 2005-06-30 Andy Wingo <wingo@pobox.com>
23602 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23603 activate_push down to the internal pad as well.
23605 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23607 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23609 * gst/gsttaginterface.c:
23610 Some documentation fixes (#307394 and #307397).
23612 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23614 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23616 * gst/gstvalue.c: (gst_value_intersect_list):
23617 Fix memleak (#309125).
23619 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23621 * docs/manual/advanced-dataaccess.xml:
23622 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23623 * docs/manual/basics-pads.xml:
23624 Add reference for filtered caps to above chapter.
23626 2005-06-30 Wim Taymans <wim@fluendo.com>
23628 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23629 (gst_bin_change_state):
23631 Lame attempt at making the state change function a bit
23634 2005-06-30 Wim Taymans <wim@fluendo.com>
23636 * docs/design/part-clocks.txt:
23637 * docs/design/part-element-sink.txt:
23638 * docs/design/part-events.txt:
23639 * docs/design/part-preroll.txt:
23640 * docs/design/part-states.txt:
23641 Some more tweeks and additions to the docs.
23643 2005-06-30 Wim Taymans <wim@fluendo.com>
23645 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23646 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23647 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23648 (gst_pad_check_pull_range), (gst_pad_get_range),
23649 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23651 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23652 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23653 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23654 (gst_pad_remove_buffer_probe):
23655 Removed atomic operations, use existing LOCK.
23656 Move exception handling out of main code path.
23658 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23660 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23661 (silly_return_true_function), (gst_pad_class_init),
23662 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23663 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23664 (gst_pad_send_event):
23665 Fix accumulator, add default value by using _emitv() instead
23666 of _emit() for signal emission.
23668 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23670 * docs/manual/advanced-dataaccess.xml:
23671 * examples/manual/Makefile.am:
23673 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23676 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23678 * gst/elements/gstfilesink.c: (gst_filesink_render):
23679 Simplify code so that we don't have to handle short
23680 writes and return GST_FLOW_ERROR if an error occured.
23682 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23684 * docs/gst/gstreamer-docs.sgml:
23685 Remove probes more.
23687 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23689 * docs/gst/gstreamer-sections.txt:
23690 * docs/gst/tmpl/gstpad.sgml:
23691 * docs/gst/tmpl/gstprobe.sgml:
23693 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23694 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23695 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23696 (gst_pad_push_event), (gst_pad_send_event):
23698 * gst/gstutils.c: (gst_pad_add_data_probe),
23699 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23700 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23701 (gst_pad_remove_buffer_probe):
23703 Remove old probes, add new g-signal-based probes and some utility
23706 2005-06-29 Edward Hervey <edward@fluendo.com>
23708 * gst/gstelementfactory.c:
23711 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23712 the definition to the header file.
23714 2005-06-29 Andy Wingo <wingo@pobox.com>
23716 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23717 plugins from the source directory.
23719 2005-06-29 Wim Taymans <wim@fluendo.com>
23721 * docs/gst/tmpl/gstbuffer.sgml:
23722 * docs/gst/tmpl/gstclock.sgml:
23723 Some fixings for blantently wrong text.
23725 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23727 * check/Makefile.am:
23728 * gst/gst.c: (add_path_func), (init_pre):
23729 * gst/gstregistry.c: (gst_registry_add_path):
23730 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23731 only scan the GST_PLUGIN_PATH locations, and not add
23734 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23736 * docs/gst/gstreamer-sections.txt:
23737 * docs/gst/tmpl/gstbasesrc.sgml:
23738 * gst/gstelement.c:
23739 * gst/gstelement.h:
23744 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23746 * docs/manual/advanced-autoplugging.xml:
23747 Fix autoplugging example.
23749 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23751 * docs/manual/advanced-autoplugging.xml:
23752 * docs/manual/mime-world.fig:
23753 Try to get autoplugging working, fix type detection. Fix text
23754 in hello-world image.
23756 2005-06-29 Wim Taymans <wim@fluendo.com>
23758 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23759 (gst_base_sink_change_state):
23763 map SIGNAL and BROADCAST to the right function.
23766 Remove redundant braces.
23768 * gst/gstpad.c: (gst_pad_set_caps):
23769 Don't call setcaps function when reseting caps to NULL.
23771 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23772 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23773 (gst_system_clock_id_unschedule):
23774 Use BROADCAST as this is what we do.
23776 2005-06-29 Wim Taymans <wim@fluendo.com>
23778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23779 We are actually prerolling before commiting the state
23782 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23784 * docs/manual/advanced-clocks.xml:
23785 * docs/manual/advanced-interfaces.xml:
23786 * docs/manual/advanced-metadata.xml:
23787 * docs/manual/advanced-position.xml:
23788 * docs/manual/advanced-schedulers.xml:
23789 * docs/manual/advanced-threads.xml:
23790 * docs/manual/appendix-porting.xml:
23791 * docs/manual/basics-bins.xml:
23792 * docs/manual/basics-bus.xml:
23793 * docs/manual/basics-elements.xml:
23794 * docs/manual/basics-helloworld.xml:
23795 * docs/manual/basics-pads.xml:
23796 * docs/manual/highlevel-components.xml:
23797 * docs/manual/manual.xml:
23798 * docs/manual/thread.fig:
23799 Update (until threads/scheduling) Application Development Manual;
23800 remove GstThread, add GstBus, add simple porting checklist, add
23801 documentation for tag writing, clocks, make all examples until this
23802 part compile and run.
23803 * examples/manual/Makefile.am:
23804 Update from changes to Application Development Manual; add bus
23805 example, remove thread example.
23807 2005-06-28 Wim Taymans <wim@fluendo.com>
23809 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23810 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23811 (gst_bus_source_dispatch):
23812 Add debugging messages.
23813 Make internal methods static.
23814 Handle the case where the bus is flushed in the handler.
23816 * gst/gstelement.c: (gst_element_get_bus):
23817 Fix refcount in _get_bus();
23819 * gst/gstpipeline.c: (gst_pipeline_change_state),
23820 (gst_pipeline_get_clock_func):
23821 Clock refcounting fixes.
23822 Handle the case where preroll timed out more gracefully.
23824 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23825 Clean up the internal thread in dispose. This is needed
23826 for subclasses that actually get disposed.
23828 * gst/schedulers/threadscheduler.c:
23829 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23830 (gst_thread_scheduler_dispose):
23831 Free thread pool in dispose.
23833 2005-06-28 Andy Wingo <wingo@pobox.com>
23835 * tests/network-clock-utils.scm (debug, print-event): New utils.
23837 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23838 (*packet-loss*): Unified loss probability.
23839 (network-time): Report out-of-band events.
23841 * tests/plot-data: Add support for out-of-band events. Hack it
23842 into this script instead of passing it down the pipe; should fix
23845 2005-06-28 Wim Taymans <wim@fluendo.com>
23847 * docs/gst/gstreamer.types:
23848 * docs/gst/tmpl/gstbasesrc.sgml:
23849 * docs/gst/tmpl/gstpad.sgml:
23852 2005-06-28 Wim Taymans <wim@fluendo.com>
23854 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23855 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23856 (gst_proxy_pad_do_fixatecaps):
23857 Correctly proxy the check_pull_range function.
23859 2005-06-28 Andy Wingo <wingo@pobox.com>
23861 * tests/network-clock.scm: Removed need for slib.
23863 2005-06-28 Wim Taymans <wim@fluendo.com>
23865 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23866 (gst_basesink_preroll_queue_flush):
23867 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23868 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23869 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23870 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23871 (gst_proxy_pad_set_property):
23874 * gst/gstqueue.c: (gst_queue_init):
23875 The deprecated pad loop function is removed now.
23877 2005-06-28 Andy Wingo <wingo@pobox.com>
23879 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23880 New parameters, simulate network packet loss.
23882 * tests/network-clock-utils.scm: Initialize the RNG.
23884 2005-06-28 Wim Taymans <wim@fluendo.com>
23886 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23887 (gst_basesink_event), (gst_basesink_deactivate):
23888 Flushing the preroll queue always needs to unlock the waiters.
23890 2005-06-28 Edward Hervey <edward@fluendo.com>
23892 * gst/gstpipeline.c: (gst_pipeline_send_event):
23893 Wheen a seek was successful on a pipeline, set the stream_time to the
23894 seek offset in order to have a synchronized stream_time.
23896 2005-06-28 Wim Taymans <wim@fluendo.com>
23898 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23899 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23900 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23901 (gst_proxy_pad_do_fixatecaps):
23902 Call wrapper function instead of just calling the function
23903 pointers. This takes care of any locking and whatmore.
23905 2005-06-28 Wim Taymans <wim@fluendo.com>
23907 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23908 (gst_pad_pull_range):
23910 CONNECTED -> LINKED.
23912 2005-06-28 Andy Wingo <wingo@pobox.com>
23914 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23915 source-munging commit!!!
23917 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23918 (gst_object_sink): Take gpointer arguments, not GstObject --
23919 avoids casts. Like GLib.
23921 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23924 2005-06-27 Andy Wingo <wingo@pobox.com>
23926 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23929 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23930 returns a sorted copy of the trace list.
23931 (gst_alloc_trace_print_live): New API, only prints traces with
23932 live objects. Sort the list.
23933 (gst_alloc_trace_print_all): Sort the list.
23934 (gst_alloc_trace_print): Align columns.
23936 * gst/elements/gstttypefindelement.c:
23937 * gst/elements/gsttee.c:
23938 * gst/base/gstbasesrc.c:
23939 * gst/base/gstbasesink.c:
23940 * gst/base/gstbasetransform.c:
23941 * gst/gstqueue.c: Adapt for pad activation changes.
23943 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23945 (gst_pipeline_dispose): Drop ref on sched.
23947 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23948 (gst_pad_activate_default): Push mode by default.
23949 (pre_activate_switch, post_activate_switch): New stubs, things to
23950 do before and after switching activation modes on pads.
23951 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23952 the pad's activate function to choose which mode to activate.
23953 Shortcut on deactivation and call the right function directly.
23954 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23956 (gst_pad_activate_push): New API, same for push mode.
23957 (gst_pad_set_activate_function)
23958 (gst_pad_set_activatepull_function)
23959 (gst_pad_set_activatepush_function): Setters for new API.
23961 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23962 Trace all miniobjects.
23963 (gst_mini_object_make_writable): Unref the arg if we copy, like
23964 gst_caps_make_writable.
23966 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23968 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23969 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23970 Adapt for new pad API.
23972 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23974 * gst/gstelement.h:
23975 * gst/gstelement.c (gst_element_iterate_src_pads)
23976 (gst_element_iterate_sink_pads): New API functions.
23978 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23979 should fold into gstiterator.c in some form.
23980 (gst_element_pads_activate): Simplified via use of fold and
23981 delegation of decisions to gstpad->activate.
23983 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23986 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23987 class once in init, like gstmessage. Didn't run into this issue
23988 but it seems correct. Don't initialize a trace, gstminiobject does
23991 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23992 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23994 (assert_live_count): New util function, uses alloc traces to check
23997 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23998 To be modified when unlink drops the internal pad.
24000 2005-06-27 Wim Taymans <wim@fluendo.com>
24002 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24003 (gst_bin_change_state):
24004 Cleanup the get_state() function a little, make sure it
24005 iterates the same set of elements.
24006 Added stub iterate_state_order().
24008 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
24010 * docs/gst/gstreamer-docs.sgml:
24011 * docs/gst/gstreamer-sections.txt:
24012 * docs/gst/gstreamer.types:
24013 * docs/gst/tmpl/gstbasesink.sgml:
24014 * docs/gst/tmpl/gstbasesrc.sgml:
24015 * docs/gst/tmpl/gstbasetransform.sgml:
24016 * docs/gst/tmpl/gstelement.sgml:
24017 * docs/gst/tmpl/gstiterator.sgml:
24018 * gst/base/gstbasesrc.c:
24019 * gst/base/gstbasesrc.h:
24020 * gst/base/gstbasetransform.h:
24021 * gst/gstelement.c:
24022 * gst/gstiterator.h:
24023 adding basetransform and iterator docs
24025 2005-06-27 Andy Wingo <wingo@pobox.com>
24027 * docs/design/part-activation.txt: Notes on how activation should
24028 work -- not quite implemented yet.
24030 2005-06-25 Wim Taymans <wim@fluendo.com>
24032 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24033 At least get the chain function correct, needs more
24036 2005-06-25 Wim Taymans <wim@fluendo.com>
24038 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24039 (gst_basesink_handle_object), (gst_basesink_event),
24040 (gst_basesink_do_sync), (gst_basesink_handle_event),
24041 (gst_basesink_change_state):
24043 Right, two problems here: ghostpads don't take locks and
24044 glib _rec_mutex_lock_full() with depth==0 still locks.
24045 Catch illegal locking and g_warn them.
24047 2005-06-25 Wim Taymans <wim@fluendo.com>
24049 * check/states/sinks.c: (START_TEST), (gst_object_suite):
24050 Have to check for completion now...
24052 2005-06-25 Wim Taymans <wim@fluendo.com>
24054 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24055 (gst_basesink_handle_object), (gst_basesink_event),
24056 (gst_basesink_do_sync), (gst_basesink_handle_event),
24057 (gst_basesink_change_state):
24059 Unlock STREAM_LOCK whatever the recursion was.
24061 2005-06-25 Wim Taymans <wim@fluendo.com>
24063 * gst/base/gstbasesink.c: (gst_basesink_set_property),
24064 (gst_basesink_preroll_queue_empty),
24065 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24066 (gst_basesink_event), (gst_basesink_do_sync),
24067 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24068 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24069 (gst_basesink_change_state):
24070 Reworked the base sink, handle event and buffer serialisation
24071 correctly and removed possible deadlock.
24072 Handle EOS correctly.
24074 2005-06-25 Wim Taymans <wim@fluendo.com>
24076 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24077 (gst_pipeline_change_state):
24078 * tools/gst-launch.c: (check_intr), (event_loop), (main):
24079 Allow elements to post EOS in the state change function.
24080 Fix up -launch, make it exit the poll loop when the
24081 pipeline actually changed state.
24082 Fix up warning parsing in -launch.
24084 2005-06-25 Wim Taymans <wim@fluendo.com>
24086 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24087 (gst_tee_sink_activate):
24088 Core takes STREAM_LOCK for us now.
24090 2005-06-25 Wim Taymans <wim@fluendo.com>
24092 * gst/gstelement.c: (gst_element_get_state_func),
24093 (gst_element_set_state):
24094 * gst/gstelement.h:
24095 * gst/gstmessage.c: (gst_message_parse_error),
24096 (gst_message_parse_warning):
24097 Keep track of current target state while performing a state
24098 change so that subclasses can do something interesting.
24099 Fix parsing of warning/error messages when GError is NULL.
24101 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
24103 * docs/gst/Makefile.am:
24104 * docs/gst/gstreamer-docs.sgml:
24105 * docs/gst/gstreamer-sections.txt:
24106 * docs/gst/gstreamer.types:
24107 * docs/gst/tmpl/gstbasesink.sgml:
24108 * docs/gst/tmpl/gstbasesrc.sgml:
24109 * docs/gst/tmpl/gstbin.sgml:
24110 * docs/gst/tmpl/gstcompat.sgml:
24111 * docs/gst/tmpl/gstfakesink.sgml:
24112 * docs/gst/tmpl/gstfakesrc.sgml:
24113 * docs/gst/tmpl/gstfilesink.sgml:
24114 * docs/gst/tmpl/gstfilesrc.sgml:
24115 * docs/gst/tmpl/gstindex.sgml:
24116 * docs/manual/appendix-quotes.xml:
24117 * gst/base/gstbasesrc.h:
24118 * gst/elements/gstfakesrc.h:
24119 * gst/gstmessage.h:
24120 start pulling in base classes and elements in our docs
24122 2005-06-24 Stefan Kost <ensonic@users.sf.net>
24124 * docs/gst/Makefile.am:
24125 * docs/libs/Makefile.am:
24126 fixed make distcheck with gtk-doc 1.3
24128 2005-06-23 Wim Taymans <wim@fluendo.com>
24130 * gst/gstelement.c: (gst_element_get_state_func),
24131 (gst_element_set_state), (gst_element_change_state):
24132 When the state did not change, also report NO_PREROLL
24135 2005-06-23 Wim Taymans <wim@fluendo.com>
24137 * gst/gstpad.c: (gst_pad_event_default):
24138 * gst/gstqueue.c: (gst_queue_loop):
24139 No unsafe task pausing please.
24141 2005-06-23 Wim Taymans <wim@fluendo.com>
24143 * gst/schedulers/threadscheduler.c:
24144 (gst_thread_scheduler_task_start),
24145 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24146 Ref the task before pushing it on the threadpool. This
24147 makes sure that we have a ref when the threadfunction is
24150 2005-06-23 Andy Wingo <wingo@pobox.com>
24152 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24153 offset is greater than the file's size.
24155 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
24156 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24157 * gst/gstobject.c (gst_object_class_init): Make the class lock
24158 recursive. Wim won't let me drop deep_notify. Decodebin works
24159 again, whoopdy doo.
24161 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24162 internal pad, and hacks accordingly. Doesn't do it on the target
24163 pad because we change its caps. Probably catches all cases of
24165 (gst_ghost_pad_set_property): Connect to notify::caps as
24168 * tests/network-clock.scm (plot-simulation): Pipe data to the
24169 elite python skript.
24171 * tests/network-clock-utils.scm (define-parameter): New macro,
24172 defines a parameter that can be set via the command line.
24173 (set-parameter!, parse-parameter-arguments): Command line args
24176 * tests/plot-data: Simple matplotlib-based plotter, takes input on
24179 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
24181 * gst/elements/gsttypefindelement.c:
24182 (gst_type_find_element_handle_event):
24183 Don't restart typefinding on a discont.
24184 * gst/gstelement.c: (gst_element_set_state):
24185 Debug spelling fix.
24186 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24187 Allow changing mode of an active pad.
24188 Debug output fixes.
24189 * gst/registries/gstlibxmlregistry.c: (load_feature):
24190 Don't cast a static pad template to a normal pad template.
24192 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
24194 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24195 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24196 remove gst_strtoll completely, since it didn't actually do
24197 anything more than what g_ascii_strtoull already does.
24198 check for range errors when deserializing
24199 do a cast for the unsigned cases; but further fixing needs
24200 a decision on what the interpretation of "(int)" and
24201 deserialization should be for values that fall outside the
24202 type's boundaries (ie, refuse, or interpret as casting)
24204 2005-06-23 Wim Taymans <wim@fluendo.com>
24206 * check/Makefile.am:
24207 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24208 * docs/design/part-live-source.txt:
24209 * docs/design/part-states.txt:
24210 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24211 (gst_basesrc_set_live), (gst_basesrc_is_live),
24212 (gst_basesrc_get_range), (gst_basesrc_activate),
24213 (gst_basesrc_change_state):
24214 * gst/base/gstbasesrc.h:
24215 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24216 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24217 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24218 * gst/gstelement.c: (gst_element_get_state_func),
24219 (gst_element_set_state):
24220 * gst/gstelement.h:
24222 * tools/gst-launch.c: (event_loop), (main):
24223 Added support for live sources and other elements that
24225 Updated design docs, added live-source design doc.
24226 Implemented live source functionality in basesrc
24227 Fix error condition in _bin_get_state()
24228 Implement live source handling in -launch.
24229 Added check for live sources.
24230 Fixed case in GstBin where elements were changed state
24234 2005-06-23 Andy Wingo <wingo@pobox.com>
24236 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24237 borken refcounting.
24239 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24240 gst_caps_replace takes care of this for us.
24242 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24243 gst_pad_set_caps on the target, not just its setcaps() function.
24245 * tests/network-clock.scm:
24246 * tests/network-clock-utils.scm: A network clock simulator.
24247 Something of an algorithmic testbed before doing something in C.
24249 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24251 * check/Makefile.am:
24252 * check/gst/capslist.h:
24253 copy over from 0.8, and add two with bitmasks specified with
24255 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24256 add test to parse everything from capslist.h
24257 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24259 add test for structure deserialization
24260 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24261 add tests for deserialization of strings to int types
24262 * gst/gststructure.c: (gst_structure_nth_field_name):
24263 * gst/gststructure.h:
24264 add a way to get the name of a field referenced by index
24265 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24266 instead of checking if the resulting long long lies between
24267 min and max, we check if the long long would fit into
24268 a number of bytes for the final type.
24269 This fixes cases where a string represents 2^32 - 1, which
24270 when cast to int would be the (valid) -1, but is bigger than
24273 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24275 * gst/parse/grammar.y:
24276 add a log line for type deserialization
24278 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24280 * check/gst/gstvalue.c: (START_TEST):
24281 * gst/gstvalue.c: (gst_value_deserialize):
24282 return long long, not int, so gint64 deserialization actually
24283 works. Is there any flag that makes the compiler check this ?
24286 2005-06-22 Wim Taymans <wim@fluendo.com>
24289 Added convenience macros for setting buffers in GValue.
24291 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24293 * check/gst/.cvsignore:
24294 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24295 add a test deserializing int64, and comment part out because
24298 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24300 * check/Makefile.am:
24301 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24302 * testsuite/Makefile.am:
24303 * testsuite/caps/Makefile.am:
24304 * testsuite/caps/value_serialize.c:
24305 * testsuite/test_gst_init.c:
24306 move a value_serialize test over
24308 2005-06-20 Wim Taymans <wim@fluendo.com>
24313 * gst/gstvalue.c: (gst_value_compare_buffer),
24314 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24315 (gst_value_compare_flags), (gst_value_serialize_flags),
24316 (gst_value_deserialize_flags), (_gst_value_initialize):
24317 Fix serialisation of buffers, they are not boxed types anymore
24319 2005-06-20 Wim Taymans <wim@fluendo.com>
24321 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24322 Testcase to show error in buffer-on-caps serialisation.
24324 2005-06-20 Andy Wingo <wingo@pobox.com>
24326 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24327 will be adding to later.
24329 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24330 if its socks fill with rocks.
24331 (gst_system_clock_obtain): Set the name on object construction.
24332 Avoid double-checked locking.
24334 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
24336 * gst/gsturi.c: (gst_element_make_from_uri):
24337 Fix potential endless loop.
24339 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24341 * check/Makefile.am:
24343 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24345 move over from testsuite dir and clean up
24348 * testsuite/Makefile.am:
24349 * testsuite/tags/.cvsignore:
24350 * testsuite/tags/Makefile.am:
24351 * testsuite/tags/merge.c:
24352 remove testsuite/tags
24354 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24356 * docs/gst/gstreamer-sections.txt:
24357 * docs/gst/tmpl/gstenumtypes.sgml:
24358 * win32/gstenumtypes.c:
24359 clean up documentation build a little
24361 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24363 * check/gstcheck.h:
24364 add macros for checking refcounts on objects and caps
24365 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24366 add some more unit tests
24367 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24368 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24369 fix leaked refcounts (I hope :)) so unittest works
24373 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24375 * configure.ac: back to HEAD
24377 === release 0.9.1 ===
24379 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24385 2005-06-17 Andy Wingo <wingo@pobox.com>
24387 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24388 assert; it's always possible that the pad gets deactivated in
24389 between the checks in gstpad.c and the implementation. Rely on
24390 finish_preroll() to return a FLUSHING or similar instead of on the
24393 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24394 clock and post an EOS message if we come out of finish_preroll in
24397 2005-06-16 David Schleef <ds@schleef.org>
24399 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24400 (gst_capsfilter_set_property): Allow NULL as possible value
24401 for filter_caps property, indicating GST_CAPS_ANY.
24403 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24405 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24407 * gst/schedulers/Makefile.am:
24409 * gstreamer.spec.in:
24412 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24414 * gstreamer.spec.in:
24417 2005-06-08 Andy Wingo <wingo@pobox.com>
24419 * gst/gstutils.c: RPAD fixes all around.
24420 (gst_element_link_pads): Refcounting fixes.
24422 * tools/gst-inspect.c:
24423 * tools/gst-xmlinspect.c:
24425 * gst/base/gsttypefindhelper.c:
24426 * gst/base/gstbasesink.c:
24427 * gst/gstqueue.c: RPAD fixes.
24429 * gst/gstghostpad.h:
24430 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24431 pads. The tricky thing is they provide both source and sink
24432 interfaces, since they proxy the internal pad for the external
24433 pad, and vice versa. Implement with lower-level ProxyPad objects,
24434 with the interior proxy pad as a child of the exterior ghost pad.
24435 Should write a doc on this.
24437 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24438 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24441 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24442 pads are real pads. No ghost pads in this file. Not documenting
24443 the myriad s/RPAD/PAD/ and REALIZE fixes.
24444 (gst_pad_class_init): Add properties for "direction" and
24445 "template". Both are construct-only, so they can't change during
24446 the life of the pad. Fixes properly deriving from GstPad.
24447 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24448 derived objects, just set properties when creating the objects via
24450 (gst_pad_get_parent): Implement as a function, return NULL if the
24451 parent is not an element.
24452 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24453 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24455 * gst/gstobject.c (gst_object_class_init): Make name a construct
24456 property. Don't set it in the object init.
24458 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24459 with UNKNOWN direction.
24460 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24461 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24462 (gst_element_remove_pad): Remove ghost-pad special cases.
24463 (gst_element_pads_activate): Remove rpad cruft.
24465 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24466 catch the pad's-parent-not-an-element case.
24468 * gst/gst.h: Include gstghostpad.h.
24470 * gst/gst.c (init_post): No more real, ghost pads.
24472 * gst/Makefile.am: Add gstghostpad.[ch].
24474 * check/Makefile.am:
24475 * check/gst/gstbin.c:
24476 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24477 into a bin creates ghost pads, and that the refcounts are right.
24478 Partly moved from gstbin.c.
24480 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24482 * check/gst-libs/.cvsignore:
24483 * check/gst/.cvsignore:
24484 * check/pipelines/.cvsignore:
24486 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24487 (START_TEST), (cleanup_suite), (main):
24488 add some tests related to cleanup after running pipelines
24490 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24492 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24493 add a testsuite for GstBuffer
24495 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24497 * gst/gstminiobject.h:
24498 add defines for accessing the refcount
24500 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24502 * Makefile.am: added support for html unit test coverage reports
24504 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24506 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24507 Free existing caps if the capsfilter changes. Add a FIXME about
24508 setting those caps on the pads.
24510 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24511 Before adding a ghost pad to a parent bin, check that there isn't
24512 already one for the element on the bin. Prevents infinite recursion
24513 when using decodebin in parse pipelines. Andy says he'll rewrite the
24514 way this works anyway, so ignore the hack.
24516 2005-06-02 Andy Wingo <wingo@pobox.com>
24518 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24519 file size, pass it on to the type find helper.
24521 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24522 segment_start and segment_end properly according to the seek
24523 method. Segment_end is still a bit flaky because offset can be
24524 negative for CUR and END cases, but it takes -1 as an "unset"
24527 2005-06-02 Wim Taymans <wim@fluendo.com>
24529 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24530 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24531 (gst_basesink_activate):
24532 * gst/base/gstbasesink.h:
24533 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24534 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24535 (gst_pad_query), (gst_pad_start_task):
24537 * gst/gstqueue.c: (gst_queue_bufferalloc),
24538 (gst_queue_handle_sink_event), (gst_queue_chain):
24539 Bufferalloc: return GstFlowReturn to more accuratly report
24540 why allocation failed.
24542 2005-06-02 Wim Taymans <wim@fluendo.com>
24544 * gst/gstpipeline.c: (gst_pipeline_send_event):
24545 Take snapshot of state without blocking.
24547 2005-06-02 Wim Taymans <wim@fluendo.com>
24549 * docs/design/part-TODO.txt:
24550 * docs/design/part-caps.txt:
24551 * docs/design/part-clocks.txt:
24552 * docs/design/part-negotiation.txt:
24553 * docs/design/part-preroll.txt:
24556 2005-05-30 Wim Taymans <wim@fluendo.com>
24558 * gst/elements/gstidentity.c: (gst_identity_event),
24559 (gst_identity_transform), (gst_identity_get_property):
24560 Protect last_message property as it is accessed from
24563 2005-05-30 Wim Taymans <wim@fluendo.com>
24565 * gst/gstelement.c: (gst_element_init),
24566 (gst_element_pads_activate), (gst_element_change_state):
24567 Slicker pad activation code.
24569 2005-05-30 Wim Taymans <wim@fluendo.com>
24572 * gst/gstelement.h:
24573 * gst/gstelementfactory.h:
24575 Move elementfactory methods to separate .h file.
24577 2005-05-30 Wim Taymans <wim@fluendo.com>
24579 * docs/design/part-overview.txt:
24580 * gst/gstsystemclock.h:
24581 Small typo fixes, doc updates.
24583 2005-05-30 Wim Taymans <wim@fluendo.com>
24585 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24586 (init_popt_callback):
24587 Remove cpu-opt flag.
24589 2005-05-30 Wim Taymans <wim@fluendo.com>
24591 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24592 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24594 Avoid typechecking in places where not needed.
24595 Added accessor for malloc_data.
24597 2005-05-30 Wim Taymans <wim@fluendo.com>
24599 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24600 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24601 (gst_pad_configure_sink), (gst_pad_configure_src),
24602 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24603 (gst_pad_start_task):
24604 Propagate errors from _set_caps() in configure_src/sink
24605 functions instead of returning TRUE.
24606 FLUSH events can travel up and downstream
24609 2005-05-30 Wim Taymans <wim@fluendo.com>
24611 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24612 (gst_basesink_activate):
24613 Handle EOS in preroll.
24615 2005-05-30 Wim Taymans <wim@fluendo.com>
24617 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24618 (gst_queue_loop), (gst_queue_handle_src_event):
24619 Remove old pieces of code
24620 Flushing the queue in an upstream event is a very bad idea.
24622 2005-05-26 Andy Wingo <wingo@pobox.com>
24624 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24625 gst_value_set_mini_object so as to add a ref on the object (which
24626 will be removed when the value is unset).
24628 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24629 arg type in ::handoff.
24631 * gst/gstelement.c (gst_element_change_state): Also deactivate
24632 pads in READY->NULL, just in case the element didn't make it to
24633 PAUSED. Wingo tested, Wim approved.
24635 2005-05-26 Wim Taymans <wim@fluendo.com>
24637 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24638 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24639 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24640 A flushing pad cannot be used to alloc_buffer from.
24642 2005-05-26 Wim Taymans <wim@fluendo.com>
24644 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24645 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24646 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24647 (gst_bus_create_watch), (gst_bus_add_watch_full):
24649 Implement a real GSource and use g_main_context_wakeup() to
24650 signal new messages instead of the socketpair.
24652 2005-05-25 Wim Taymans <wim@fluendo.com>
24654 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24655 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24656 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24657 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24658 (gst_pad_send_event), (gst_pad_start_task):
24659 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24660 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24661 (gst_queue_sink_activate), (gst_queue_src_activate),
24662 (gst_queue_change_state):
24664 Fix state changes for non sinks. We now change sinks, then elements
24665 with unconnected srcpads, then the rest.
24666 More efficient queue unlocking in flush and state changes.
24667 Set the pad activate mode even if it does not have an activate
24670 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24672 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24673 Don't go in pull mode for non-seekable sources.
24674 * gst/elements/gsttypefindelement.h:
24675 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24676 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24677 (free_entry), (stop_typefinding),
24678 (gst_type_find_element_handle_event), (find_peek),
24679 (gst_type_find_element_chain), (do_pull_typefind),
24680 (gst_type_find_element_change_state):
24681 Allow typefinding (w/o seeking) in push-mode, simplified version
24682 of what was in 0.8.
24683 * gst/gstutils.c: (gst_buffer_join):
24685 gst_buffer_join() from 0.8.
24687 2005-05-25 Wim Taymans <wim@fluendo.com>
24689 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24690 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24691 (gst_pad_send_event), (gst_pad_start_task):
24692 Disable attempt at mode switching until it is figured out.
24694 2005-05-25 Wim Taymans <wim@fluendo.com>
24696 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24697 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24698 (gst_basesink_finish_preroll), (gst_basesink_chain),
24699 (gst_basesink_loop), (gst_basesink_activate),
24700 (gst_basesink_change_state):
24701 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24702 (gst_basesrc_get_range), (gst_basesrc_loop),
24703 (gst_basesrc_activate):
24704 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24705 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24706 (gst_real_pad_init), (gst_real_pad_set_property),
24707 (gst_real_pad_get_property), (gst_pad_set_active),
24708 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24709 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24710 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24711 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24712 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24713 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24714 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24715 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24716 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24717 (gst_pad_stop_task):
24719 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24720 (gst_queue_loop), (gst_queue_src_activate):
24721 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24722 (gst_task_get_state):
24724 * gst/schedulers/threadscheduler.c:
24725 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24726 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24728 Remove ACTIVE pad flag, use FLUSHING everywhere
24729 Added _pad_chain(), _pad_get_range() to call chain/getrange
24731 Add locks around IS_FLUSHING when reading.
24732 Take STREAM lock in chain(), get_range() functions so plugins
24733 don't need to take it anymore.
24737 2005-05-25 Wim Taymans <wim@fluendo.com>
24739 * tools/gst-launch.c: (event_loop):
24740 Unref message after using its contents instead of
24743 2005-05-24 Wim Taymans <wim@fluendo.com>
24745 * docs/design/draft-ghostpads.txt:
24746 * docs/design/draft-push-pull.txt:
24747 * docs/design/draft-query.txt:
24748 * docs/design/part-overview.txt:
24749 Docs updates, added general overview doc.
24751 2005-05-21 David Schleef <ds@schleef.org>
24753 * docs/gst/tmpl/old/GstBin.sgml:
24754 * docs/gst/tmpl/old/GstBuffer.sgml:
24755 * docs/gst/tmpl/old/GstCaps.sgml:
24756 * docs/gst/tmpl/old/GstClock.sgml:
24757 * docs/gst/tmpl/old/GstCompat.sgml:
24758 * docs/gst/tmpl/old/GstData.sgml:
24759 * docs/gst/tmpl/old/GstElement.sgml:
24760 * docs/gst/tmpl/old/GstEvent.sgml:
24761 * docs/gst/tmpl/old/GstIndex.sgml:
24762 * docs/gst/tmpl/old/GstStructure.sgml:
24763 * docs/gst/tmpl/old/GstTag.sgml:
24764 * docs/gst/tmpl/old/cothreads.sgml:
24765 * docs/gst/tmpl/old/cothreads_compat.sgml:
24766 * docs/gst/tmpl/old/gettext.sgml:
24767 * docs/gst/tmpl/old/gobject2gtk.sgml:
24768 * docs/gst/tmpl/old/grammar.tab.sgml:
24769 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24770 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24771 * docs/gst/tmpl/old/gst_private.sgml:
24772 * docs/gst/tmpl/old/gstaggregator.sgml:
24773 * docs/gst/tmpl/old/gstarch.sgml:
24774 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24775 * docs/gst/tmpl/old/gstbufferstore.sgml:
24776 * docs/gst/tmpl/old/gstdata_private.sgml:
24777 * docs/gst/tmpl/old/gstdisksink.sgml:
24778 * docs/gst/tmpl/old/gstdisksrc.sgml:
24779 * docs/gst/tmpl/old/gstelementfactory.sgml:
24780 * docs/gst/tmpl/old/gstextratypes.sgml:
24781 * docs/gst/tmpl/old/gstfakesink.sgml:
24782 * docs/gst/tmpl/old/gstfakesrc.sgml:
24783 * docs/gst/tmpl/old/gstfdsink.sgml:
24784 * docs/gst/tmpl/old/gstfdsrc.sgml:
24785 * docs/gst/tmpl/old/gstfilesink.sgml:
24786 * docs/gst/tmpl/old/gstfilesrc.sgml:
24787 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24788 * docs/gst/tmpl/old/gstidentity.sgml:
24789 * docs/gst/tmpl/old/gstindexfactory.sgml:
24790 * docs/gst/tmpl/old/gstmarshal.sgml:
24791 * docs/gst/tmpl/old/gstmd5sink.sgml:
24792 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24793 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24794 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24795 * docs/gst/tmpl/old/gstpipefilter.sgml:
24796 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24797 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24798 * docs/gst/tmpl/old/gstshaper.sgml:
24799 * docs/gst/tmpl/old/gstspider.sgml:
24800 * docs/gst/tmpl/old/gstspideridentity.sgml:
24801 * docs/gst/tmpl/old/gststatistics.sgml:
24802 * docs/gst/tmpl/old/gsttee.sgml:
24803 * docs/gst/tmpl/old/gsttimecache.sgml:
24804 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24805 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24806 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24807 * docs/gst/tmpl/old/types.sgml:
24808 I didn't intend to add these or check them in.
24810 2005-05-19 David Schleef <ds@schleef.org>
24812 * configure.ac: Use -no-common everywhere. In a sane world, it
24813 would be the default in libtool, because without it, you can't
24814 build DLLs on Windows.
24815 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24816 * docs/gst/gstreamer-sections.txt:
24817 * docs/gst/tmpl/gstcpu.sgml:
24818 * docs/gst/tmpl/gstdata.sgml:
24819 * docs/gst/tmpl/gstthread.sgml:
24821 2005-05-19 David Schleef <ds@schleef.org>
24823 * gst/gstminiobject.c: (gst_value_set_mini_object),
24824 (gst_value_take_mini_object), (gst_value_get_mini_object):
24825 * gst/gstminiobject.h: Add GValue set/get functions.
24827 2005-05-19 Wim Taymans <wim@fluendo.com>
24829 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24830 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24831 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24833 * gst/gstbus.c: (gst_bus_post):
24834 * gst/gstelement.c: (gst_element_get_random_pad):
24835 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24836 Make subbufer unref the parent in finalize.
24837 some more debugging info.
24840 2005-05-19 Wim Taymans <wim@fluendo.com>
24842 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24843 (gst_basesink_init), (gst_basesink_finalize),
24844 (gst_basesink_activate), (gst_basesink_change_state):
24845 Don't free preroll queue too early.
24847 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24851 Hi, I'm outdated. Please shoot me.
24853 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24855 * gst/gstpipeline.c: (gst_pipeline_send_event):
24856 Do not access variables after they have been deleted.
24858 2005-05-19 Wim Taymans <wim@fluendo.com>
24860 * tools/gst-inspect.c: (print_plugin_features):
24861 A plugin feature does unfortunatly not use the
24864 2005-05-18 Wim Taymans <wim@fluendo.com>
24866 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24867 Port _span() functions to new subbuffers.
24869 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24871 * gst/gstbin.c: (gst_bin_add_func):
24872 Fix clock settery in bins when adding kids after the clock has
24875 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24877 * gst/elements/gstidentity.c: (gst_identity_class_init):
24878 Workaround until signals support GstMiniObject.
24880 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24883 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24885 2005-05-18 Wim Taymans <wim@fluendo.com>
24887 * gst/base/Makefile.am:
24888 * gst/base/gstadapter.c: (gst_adapter_base_init),
24889 (gst_adapter_class_init), (gst_adapter_init),
24890 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24891 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24892 (gst_adapter_flush), (gst_adapter_available),
24893 (gst_adapter_available_fast):
24894 * gst/base/gstadapter.h:
24895 Ported and added adapter to the base classes.
24897 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24900 * gst/gstmessage.c:
24901 Make sure the class is reffed/unreffed once before threads can be
24902 used. Fixes #304551.
24904 2005-05-17 Wim Taymans <wim@fluendo.com>
24906 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24907 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24908 * gst/gstminiobject.c: (gst_mini_object_get_type),
24909 (gst_mini_object_free):
24910 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24911 (gst_pad_push), (gst_pad_push_event):
24912 * gst/gstqueue.c: (gst_queue_change_state):
24913 Don't queue buffers in basesink when we are flushing.
24914 Unref buffer when flushing in basesink.
24915 Flush queue when going to READY
24916 Unref buffer when _push() returns an error.
24917 Don't free MiniObject instance when refcount is incremented
24918 in _finalize() so that we can recover objects.
24920 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24922 * docs/manual/advanced-schedulers.xml:
24923 * docs/manual/appendix-checklist.xml:
24924 * docs/pwg/advanced-clock.xml:
24925 * docs/pwg/advanced-interfaces.xml:
24926 * docs/pwg/advanced-request.xml:
24927 * docs/pwg/advanced-types.xml:
24928 * docs/pwg/intro-preface.xml:
24929 * examples/plugins/example.c: (gst_example_get_type),
24930 (gst_example_class_init), (gst_example_chain),
24931 (gst_example_set_property), (gst_example_get_property),
24932 (gst_example_change_state), (plugin_init):
24933 * examples/plugins/example.h:
24936 2005-05-17 Wim Taymans <wim@fluendo.com>
24938 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24939 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24940 * gst/gstqueue.c: (gst_queue_change_state):
24941 Clear queue when going to READY.
24942 Remove IN_SETCAPS flag too.
24944 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24946 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24947 Remove implicit cast from gboolean to GstElementStateReturn;
24948 make sure we still return failure in paused => ready case if
24949 the parent class fails to change state and our own stop
24952 2005-05-17 Wim Taymans <wim@fluendo.com>
24954 * tools/gst-launch.c: (event_loop):
24955 Message was unreffed too soon.
24957 2005-05-16 Andy Wingo <wingo@pobox.com>
24959 * gst/gstbin.c (sink_iterator_filter): Err... um...
24961 * check/gst/gstbin.c (test_ghost_pads): New test for the
24962 ghosting-if-elements-not-in-same-bin behavior.
24964 2005-05-16 David Schleef <ds@schleef.org>
24966 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24967 accessing refcount directly.
24969 2005-05-15 David Schleef <ds@schleef.org>
24971 * check/Makefile.am: remove GstData checks
24972 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24973 * gst/Makefile.am: add miniobject, remove data
24974 * gst/gst.h: add miniobject, remove data
24975 * gst/gstdata.c: remove
24976 * gst/gstdata.h: remove
24977 * gst/gstdata_private.h: remove
24978 * gst/gsttypes.h: remove GstEvent and GstMessage
24979 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24980 * gst/gstmarshal.list: change BOXED -> OBJECT
24982 Implement GstMiniObject.
24983 * gst/gstminiobject.c:
24984 * gst/gstminiobject.h:
24986 Modify to be subclasses of GstMiniObject.
24987 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24988 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24989 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24990 (gst_subbuffer_get_type), (gst_subbuffer_init),
24991 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24994 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24995 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24996 (_gst_event_copy), (gst_event_new):
24998 * gst/gstmessage.c: (_gst_message_initialize),
24999 (gst_message_get_type), (gst_message_class_init),
25000 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25001 (gst_message_new), (gst_message_new_error),
25002 (gst_message_new_warning), (gst_message_new_tag),
25003 (gst_message_new_state_changed), (gst_message_new_application):
25004 * gst/gstmessage.h:
25005 * gst/gstprobe.c: (gst_probe_perform),
25006 (gst_probe_dispatcher_dispatch):
25008 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25009 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25010 (_gst_query_copy), (gst_query_new):
25012 Update elements for GstData -> GstMiniObject changes
25014 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25015 (gst_queue_chain), (gst_queue_loop):
25016 * gst/elements/gstbufferstore.c:
25017 (gst_buffer_store_add_buffer_func),
25018 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25019 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25020 (gst_fakesink_render):
25021 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25022 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25023 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25024 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25025 (gst_filesrc_create_read):
25026 * gst/elements/gstidentity.c: (gst_identity_class_init):
25027 * gst/elements/gsttypefindelement.c:
25028 (gst_type_find_element_src_event), (free_entry_buffers),
25029 (gst_type_find_element_handle_event):
25030 * libs/gst/dataprotocol/dataprotocol.c:
25031 (gst_dp_header_from_buffer):
25032 * libs/gst/dataprotocol/dataprotocol.h:
25033 * libs/gst/dataprotocol/dp-private.h:
25035 2005-05-15 David Schleef <ds@schleef.org>
25037 * gst/elements/gstelements.c: Don't include headers that were
25040 2005-05-15 David Schleef <ds@schleef.org>
25042 * gst/elements/Makefile.am: Remove some elements that don't
25043 need to be in the core (or even exist at all).
25044 * gst/elements/gstaggregator.c:
25045 * gst/elements/gstaggregator.h:
25046 * gst/elements/gstmd5sink.c:
25047 * gst/elements/gstmd5sink.h:
25048 * gst/elements/gstmultifilesrc.c:
25049 * gst/elements/gstmultifilesrc.h:
25050 * gst/elements/gstpipefilter.c:
25051 * gst/elements/gstpipefilter.h:
25052 * gst/elements/gstshaper.c:
25053 * gst/elements/gstshaper.h:
25054 * gst/elements/gststatistics.c:
25055 * gst/elements/gststatistics.h:
25056 * po/POTFILES.in: Remove above files.
25058 2005-05-14 Andy Wingo <wingo@pobox.com>
25060 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25061 so as to get the refs right.
25062 (sink_iterator_filter): New function, wraps bin_element_is_sink,
25063 unreffing objects that don't pass the filter.
25065 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25066 gst_element_set_bus.
25067 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25068 normal cases, this will destroy the bus.
25070 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25073 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25076 2005-05-13 Andy Wingo <wingo@pobox.com>
25078 * gst/gstutils.c (gst_element_link_pads): Instead of calling
25079 gst_pad_link, call pad_link_maybe_ghosting,
25080 (pad_link_maybe_ghosting): Links pads, making sure that the
25081 elements being linked are in the same bin.
25082 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25083 Helpers for pad_link_maybe_ghosting.
25085 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
25088 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25090 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
25092 * docs/design/part-element-source.txt:
25095 2005-05-12 Wim Taymans <wim@fluendo.com>
25097 * gst/base/gstbasesink.c: (gst_basesink_init),
25098 (gst_basesink_activate):
25099 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25100 (gst_basesrc_is_seekable):
25101 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25102 (bin_element_is_sink), (gst_bin_change_state):
25103 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25104 * gst/gstelement.h:
25105 Identify sinks by their flag to avoid overly complicated
25107 Do state changes even for elements not reachable from the
25109 BaseSink is a sink now :)
25110 Some more debugging info in the basesrc.
25113 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25115 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25116 Implement _query on a bin, similar to _send_event.
25118 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
25120 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25121 Discont event offset format should be GST_FORMAT_BYTES,
25122 not GST_FORMAT_TIME.
25124 2005-05-12 Wim Taymans <wim@fluendo.com>
25126 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25127 Same fix as Ronald's but without the signal.
25129 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25131 * gst/gstutils.c: (gst_element_query_position):
25132 No, an element is not a pad.
25134 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25136 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25137 (gst_bin_get_state):
25138 If a child is removed from a bin while we remove the child from
25139 the bin and while we're retrieving its state, signal this to the
25140 get_state function so we abort the wait (instead of waiting for
25141 a timeout) and can immediately re-iterate over all other elements.
25143 2005-05-12 Wim Taymans <wim@fluendo.com>
25145 * gst/base/Makefile.am:
25146 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25147 (gst_basesrc_start):
25148 * gst/base/gstbasesrc.h:
25149 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25150 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25151 (gst_pushsrc_init), (gst_pushsrc_create):
25152 * gst/base/gstpushsrc.h:
25153 Added is_seekable to BaseSrc
25154 Added simple PushSrc.
25156 2005-05-11 Wim Taymans <wim@fluendo.com>
25158 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25159 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25160 (gst_element_link_pads), (gst_element_query_position),
25161 (gst_element_query_convert), (intersect_caps_func),
25162 (gst_pad_query_position), (gst_pad_query_convert):
25163 Fix refcounting in utils function.
25164 No point in trying to activate a pad when it's added, it could
25165 be added from the state change function and then we deadlock, the
25166 element has to decide what to do.
25168 2005-05-10 Andy Wingo <wingo@pobox.com>
25170 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25171 *all* the arguments.
25173 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25174 stream lock if it's a FLUSH_DONE; normal flushes don't get the
25175 lock (according to the docs -- if this is wrong change the docs).
25177 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25178 flush messages in the NULL state.
25180 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25181 message immediately and return.
25182 (gst_bus_set_flushing): New function. If a bus is flushing, it
25183 flushes out any queued messages and immediately unrefs new
25184 messages. This is so when an element goes to NULL, all of the
25185 unhandled messages coming from it can be freed, and their
25186 references to the element dropped. In other words: message source
25187 ref considered harmful :P
25189 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25190 we're finished with it.
25192 * gst/gstmessage.c (gst_message_new_state_changed):
25194 2005-05-10 Wim Taymans <wim@fluendo.com>
25196 * gst/gstvalue.c: (gst_value_compare_flags),
25197 (gst_value_serialize_flags), (gst_value_deserialize_flags),
25198 (_gst_value_initialize):
25199 Added flags serialize/deserialize/compare code.
25201 2005-05-09 Andy Wingo <wingo@pobox.com>
25203 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25204 Intersect the peer's caps with our caps.
25206 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25208 * gst/base/gsttypefindhelper.c: (helper_find_peek):
25209 * gst/elements/gsttypefindelement.c: (find_peek):
25210 Handle negative offsets better. Fixes decodebin.
25212 2005-05-09 Wim Taymans <wim@fluendo.com>
25214 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25215 (gst_base_transform_event):
25216 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25217 Implement accept_caps.
25218 Fix silly lock/unlock mismatch in base class.
25220 2005-05-09 Wim Taymans <wim@fluendo.com>
25222 * docs/design/draft-push-pull.txt:
25223 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25224 * gst/elements/gstfilesink.c: (gst_filesink_init),
25225 (gst_filesink_query):
25226 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25227 (gst_type_find_handle_src_query), (find_element_get_length):
25228 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25229 * gst/gstelement.h:
25230 * gst/gstmessage.c:
25231 * gst/gstmessage.h:
25232 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25233 (gst_real_pad_get_caps_unlocked),
25234 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25235 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25236 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25237 (gst_real_pad_dispose), (gst_real_pad_finalize),
25238 (gst_pad_load_and_link), (gst_pad_save_thyself),
25239 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25240 (gst_pad_check_pull_range), (gst_pad_pull_range),
25241 (gst_pad_template_get_type), (gst_pad_template_class_init),
25242 (gst_pad_template_init), (gst_pad_template_dispose),
25243 (name_is_valid), (gst_static_pad_template_get),
25244 (gst_pad_template_new), (gst_static_pad_template_get_caps),
25245 (gst_pad_template_get_caps), (gst_pad_set_element_private),
25246 (gst_pad_get_element_private), (gst_pad_start_task),
25247 (gst_pad_pause_task), (gst_pad_stop_task),
25248 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25249 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25250 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25251 (gst_ghost_pad_new):
25253 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25254 (gst_query_new_position), (gst_query_set_position),
25255 (gst_query_parse_position), (gst_query_new_convert),
25256 (gst_query_set_convert), (gst_query_parse_convert):
25258 * gst/gstqueryutils.c:
25259 * gst/gstqueryutils.h:
25260 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25261 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25262 (gst_queue_handle_src_query):
25263 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25264 (gst_element_query_position), (gst_element_query_convert),
25265 (intersect_caps_func), (gst_pad_query_position),
25266 (gst_pad_query_convert):
25268 * tools/gst-inspect.c: (print_pad_info):
25269 * tools/gst-xmlinspect.c: (print_element_info):
25270 Remove old query functions. Ported old code.
25271 Added position/convert helper functions to gstutils.
25272 Reordered gstpad.c code, grouping relevant things.
25273 Remove gst_message_new(), always need to speficy a specific
25277 2005-05-09 Andy Wingo <wingo@pobox.com>
25279 * gst/gstiterator.h: Add some includes.
25281 * gst/gstqueryutils.h: Include more headers.
25284 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25285 some uses of gst_pad_query.
25287 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25288 NULL out parameters.
25289 (gst_query_new_position): New proc, allocates a new position
25292 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25293 gstqueryutils.c to the build.
25295 * gst/gststructure.c (gst_structure_set_valist): Implement with
25296 the generic G_VALUE_COLLECT.
25298 2005-05-08 Edward Hervey <bilboed@bilboed.com>
25300 * gst/Makefile.am: (gst_headers):
25301 Added gstqueryutils.h to the list of headers to install, that was
25302 a 'nachty' move wingo :)
25304 2005-05-06 Andy Wingo <wingo@pobox.com>
25307 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25308 GstData, init a memchunk.
25309 (standard_definitions): Add a few query types, deprecate a few.
25310 (gst_query_get_type): New proc.
25311 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25313 (gst_query_new_application, gst_query_get_structure): New public
25316 * docs/design/draft-query.txt: Removed LINKS from the query types,
25317 because all the rest can be dispatched to other pads -- seemed
25318 ugly to have a query that couldn't be dispatched. internal_links
25319 is fine as a pad method.
25321 * gst/gstpad.h: Add query2 as a pad method, add the new functions
25322 in gstpad.c, but maintain binary compatibility for the moment.
25323 Will fix before 0.9 is out.
25325 * gst/gstqueryutils.c:
25326 * gst/gstqueryutils.h: New files, implement 3 methods for each
25327 query type: parse_query, parse_response, and set. Probably need an
25330 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25332 * gst/elements/gstfilesink.c (gst_filesink_query2):
25333 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25334 query_types, and formats methods.
25336 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25337 (gst_pad_set_query2_function): New functions.
25338 (gst_real_pad_init): Set query2_default as the default query2
25339 function. Basically just dispatches to internally linked pads.
25343 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25344 without using the atomic operations. Only one thread can possibly
25345 be accessing the data at this point. Changed so as to avoid
25346 gst_atomic operations.
25348 2005-05-06 Wim Taymans <wim@fluendo.com>
25350 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25351 Also set caps if we use the fallback buffer alloc.
25353 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25355 * docs/gst/Makefile.am:
25356 * docs/gst/gstreamer-docs.sgml:
25357 * docs/gst/gstreamer-sections.txt:
25358 * docs/gst/tmpl/gstatomic.sgml:
25359 * docs/gst/tmpl/gstmemchunk.sgml:
25360 * testsuite/elements/struct_i386.h:
25361 * win32/GStreamer.vcproj:
25363 Purge GstAtomic stuff from docs and win32 makefiles as well
25365 2005-05-06 Wim Taymans <wim@fluendo.com>
25367 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25368 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25369 * gst/gstpad.c: (gst_pad_peer_get_caps):
25370 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25371 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25372 (gst_queue_src_activate), (gst_queue_change_state):
25374 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25375 (intersect_caps_func):
25376 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25377 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25378 Some fixes for the peer_get_caps() change.
25380 2005-05-06 Wim Taymans <wim@fluendo.com>
25382 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25383 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25384 (gst_basesink_activate):
25385 Actually do something with error codes returned from the push
25388 2005-05-06 Wim Taymans <wim@fluendo.com>
25390 * docs/design/part-element-sink.txt:
25391 * docs/design/part-element-source.txt:
25392 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25393 (gst_basesink_event), (gst_basesink_activate):
25394 * gst/base/gstbasesink.h:
25395 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25396 (gst_basesrc_activate):
25397 * gst/base/gstbasesrc.h:
25398 * gst/gstelement.c: (gst_element_pads_activate):
25399 Some more documentation.
25400 Fixed scheduling decision in _pads_activate().
25402 2005-05-05 Andy Wingo <wingo@pobox.com>
25404 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25407 2005-05-05 Wim Taymans <wim@fluendo.com>
25409 * gst/base/Makefile.am:
25410 * gst/base/gstbasesink.h:
25411 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25412 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25413 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25414 (gst_collectpads_class_init), (gst_collectpads_init),
25415 (gst_collectpads_finalize), (gst_collectpads_new),
25416 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25417 (find_pad), (gst_collectpads_remove_pad),
25418 (gst_collectpads_is_active), (gst_collectpads_collect),
25419 (gst_collectpads_collect_range), (gst_collectpads_start),
25420 (gst_collectpads_stop), (gst_collectpads_peek),
25421 (gst_collectpads_pop), (gst_collectpads_available),
25422 (gst_collectpads_read), (gst_collectpads_flush),
25423 (gst_collectpads_chain):
25424 * gst/base/gstcollectpads.h:
25425 * gst/elements/Makefile.am:
25426 * gst/elements/gstelements.c:
25427 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25428 (gst_fakesink_get_times), (gst_fakesink_event),
25429 (gst_fakesink_preroll), (gst_fakesink_render):
25430 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25431 (gst_filesink_init), (gst_filesink_set_location),
25432 (gst_filesink_open_file), (gst_filesink_close_file),
25433 (gst_filesink_pad_query), (gst_filesink_event),
25434 (gst_filesink_render), (gst_filesink_change_state):
25435 * gst/elements/gstfilesink.h:
25436 Added object to help in making collect pad based elements.
25438 Make event function in sink baseclass return gboolean.
25440 2005-05-05 Wim Taymans <wim@fluendo.com>
25442 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25443 (gst_bin_get_by_name):
25445 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25446 (gst_clock_finalize):
25447 * gst/gstdata.c: (gst_data_replace):
25449 * gst/gstelement.c: (gst_element_request_pad),
25450 (gst_element_pads_activate):
25451 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25452 (gst_object_unref):
25453 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25454 (gst_pad_set_checkgetrange_function),
25455 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25456 (gst_pad_check_pull_range), (gst_pad_pull_range),
25457 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25458 (gst_pad_pause_task), (gst_pad_stop_task):
25459 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25460 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25461 Fix name lookup in GstBin.
25462 Added _data_replace() function and _buffer_replace()
25463 Use finalize method to clean up clock.
25464 Fix refcounting on request pads.
25465 Fix pad schedule mode error.
25466 Some more object refcounting debug info,
25469 2005-05-04 Andy Wingo <wingo@pobox.com>
25471 * check/Makefile.am:
25472 * docs/gst/tmpl/gstatomic.sgml:
25473 * docs/gst/tmpl/gstplugin.sgml:
25474 * gst/base/gstbasesink.c: (gst_basesink_activate):
25475 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25476 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25477 (gst_basesrc_query), (gst_basesrc_set_property),
25478 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25479 (gst_basesrc_activate):
25480 * gst/base/gstbasesrc.h:
25481 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25482 (gst_base_transform_src_activate):
25483 * gst/elements/gstelements.c:
25484 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25485 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25486 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25487 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25488 (gst_type_find_element_checkgetrange),
25489 (gst_type_find_element_activate):
25490 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25491 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25492 (gst_caps_load_thyself):
25493 * gst/gstelement.c: (gst_element_pads_activate),
25494 (gst_element_save_thyself), (gst_element_restore_thyself):
25495 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25496 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25498 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25499 (gst_xml_parse_file), (gst_xml_parse_memory),
25500 (gst_xml_get_element), (gst_xml_make_element):
25501 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25502 (_file_index_id_save_xml), (gst_file_index_commit):
25503 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25504 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25506 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25507 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25508 * tools/gst-complete.c: (main):
25509 * tools/gst-compprep.c: (main):
25510 * tools/gst-inspect.c: (print_element_properties_info):
25511 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25512 * tools/gst-xmlinspect.c: (print_element_properties):
25515 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25517 * gst/gstplugin.c: (gst_plugin_check_module),
25518 (gst_plugin_check_file), (gst_plugin_load_file):
25519 apply patch from #172526 to make register work on MacOSX
25521 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25523 * docs/gst/tmpl/gstconfig.sgml:
25524 * gst/gstconfig.h.in:
25525 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25526 * testsuite/debug/printf_extension.c: (main):
25527 Do not use GST_PTR_FORMAT on pointers to types with
25528 sizeof < sizeof(gpointer). Fixes test on 64-bit
25529 * testsuite/elements/property.h:
25530 use correct printf format
25532 2005-05-02 Wim Taymans <wim@fluendo.com>
25534 * docs/design/draft-push-pull.txt:
25535 * docs/design/draft-query.txt:
25536 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25537 (gst_basesrc_start):
25538 Added draft for new query API.
25539 Added draft for better selecting scheduling methods.
25540 Make basesrc ignore length if the subclass does not support
25543 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25546 possible fixes for automake-1.5 - _LIBADD is reserved
25548 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25550 * docs/faq/Makefile.am:
25551 * docs/manual/Makefile.am:
25552 * docs/manuals.mak:
25553 * docs/pwg/Makefile.am:
25555 possible fixes for automake-1.5
25557 2005-04-28 Wim Taymans <wim@fluendo.com>
25559 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25560 (gst_basesink_pad_getcaps), (gst_basesink_init),
25561 (gst_basesink_do_sync):
25562 * gst/gstclock.c: (gst_clock_entry_new):
25563 * gst/gstevent.c: (gst_event_discont_get_value):
25564 * gst/gstpipeline.c: (pipeline_bus_handler),
25565 (gst_pipeline_change_state):
25566 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25567 Better debugging of clocking info.
25568 Allow NULL values when getting discont values.
25570 2005-04-27 Wim Taymans <wim@fluendo.com>
25572 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25573 * check/gst/gstpad.c: (gst_pad_suite):
25574 Increase timeout for checks.
25576 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25578 * check/Makefile.am:
25579 fix the broken rule for cleanup. Apparently this rule is
25580 only needed on FC2, so maybe this warrants further autotool
25583 2005-04-26 Wim Taymans <wim@fluendo.com>
25585 * gst/gsttrashstack.h:
25586 Ooohh. a nasty one! After having a failed pop() from the stack,
25587 it's possible that the stack is empty. In that case, don't
25588 follow the NULL pointer.
25590 2005-04-25 Wim Taymans <wim@fluendo.com>
25592 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25593 (gst_pad_set_checkgetrange_function),
25594 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25595 (gst_pad_check_pull_range), (gst_pad_pull_range),
25596 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25597 (gst_pad_pause_task), (gst_pad_stop_task):
25598 * gst/gstplugin.c: (gst_plugin_load):
25600 Remove gst_library_load as it does more harm than good with
25601 the new g_module flags.
25602 Revert bogus caps template check in pad linking, pad caps
25603 are important when linking not the template, which is more
25604 general than the current caps.
25606 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25608 * gst/autoplug/.cvsignore:
25609 * gst/autoplug/Makefile.am:
25610 * gst/autoplug/gstsearchfuncs.c:
25611 * gst/autoplug/gstsearchfuncs.h:
25612 * gst/autoplug/gstspider.c:
25613 * gst/autoplug/gstspider.h:
25614 * gst/autoplug/gstspideridentity.c:
25615 * gst/autoplug/gstspideridentity.h:
25616 * gst/autoplug/spidertest.c:
25619 2005-04-25 Wim Taymans <wim@fluendo.com>
25621 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25622 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25623 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25624 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25626 Added stubs for unimplemented functions.
25628 2005-04-24 David Schleef <ds@schleef.org>
25630 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25633 2005-04-24 David Schleef <ds@schleef.org>
25635 Convert everything from GstAtomicInt to g_atomic_int_*, and
25640 * gst/gstatomic_impl.h:
25648 * gst/gstdata_private.h:
25652 * gst/gstmessage.c:
25655 * gst/gststructure.c:
25656 * gst/gststructure.h:
25657 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25660 2005-04-24 David Schleef <ds@schleef.org>
25662 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25663 make the regressions tests work. Remove some code that is no
25665 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25666 Disable warning for pads without templates.
25668 2005-04-24 David Schleef <ds@schleef.org>
25670 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25671 functions that handle filtered links.
25672 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25674 * gst/gstutils.c: Fix/remove utility functions that handle
25677 * gst/gstvalue.c: Add serialization/deserialization of caps
25678 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25679 requires fixing so that the filter caps notation creates
25680 a capsfilter element and sets the filter_caps property. I
25681 think everyone probably wants to keep the shorthand notation.
25682 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25683 * docs/gst/tmpl/gstpad.sgml:
25685 * gst/elements/gstelements.c: Register capsfilter element.
25686 * gst/Makefile.am: fix spacing
25687 * docs/random/ds/0.9-suggested-changes: random
25689 2005-04-23 David Schleef <ds@schleef.org>
25691 * gst/elements/Makefile.am:
25692 * gst/elements/gstcapsfilter.c: New element that acts like an
25693 identity, but filters caps. Will eventually replace filtered
25694 caps in pad linking.
25695 * gst/gstutils.c: (gst_element_create_all_pads): New function
25696 to create all the ALWAYS pads that are registered with an
25697 element class. This functionality should eventually be
25698 merged in with GstElement initialization.
25700 * testsuite/trigger/README: part of trigger test code that should
25701 have been checked in a long time ago.
25703 2005-04-23 David Schleef <ds@schleef.org>
25705 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25706 needed with new versions of libtool (nobody will confirm this),
25707 and hard to carry around.
25708 * gst/autoplug/Makefile.am:
25709 * gst/base/Makefile.am:
25710 * gst/elements/Makefile.am:
25711 * gst/indexers/Makefile.am:
25712 * gst/schedulers/Makefile.am:
25713 * libs/gst/bytestream/Makefile.am:
25714 * libs/gst/control/Makefile.am:
25715 * libs/gst/dataprotocol/Makefile.am:
25716 * libs/gst/getbits/Makefile.am:
25718 2005-04-21 Wim Taymans <wim@fluendo.com>
25720 * docs/design/draft-push-pull.txt:
25721 * docs/design/part-MT-refcounting.txt:
25722 * docs/design/part-TODO.txt:
25723 * docs/design/part-caps.txt:
25724 * docs/design/part-events.txt:
25725 * docs/design/part-gstbus.txt:
25726 * docs/design/part-gstpipeline.txt:
25727 * docs/design/part-messages.txt:
25728 * docs/design/part-push-pull.txt:
25729 * docs/design/part-query.txt:
25732 2005-04-21 Wim Taymans <wim@fluendo.com>
25734 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25735 (gst_message_new), (gst_message_new_error),
25736 (gst_message_new_warning), (gst_message_new_tag),
25737 (gst_message_new_state_changed), (gst_message_new_application),
25738 (gst_message_get_structure):
25739 * gst/gstmessage.h:
25740 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25741 (gst_structure_copy_conditional):
25742 Use parent refcount in GstMessage to ensure GstStructure
25744 Cleaned up headers a bit.
25747 2005-04-20 Wim Taymans <wim@fluendo.com>
25749 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25750 (gst_basesink_pad_getcaps), (gst_basesink_init),
25751 (gst_basesink_chain_unlocked):
25752 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25753 (gst_type_find_helper):
25754 * gst/elements/gsttypefindelement.c:
25755 (gst_type_find_element_have_type), (gst_type_find_element_init),
25756 (stop_typefinding), (gst_type_find_element_handle_event),
25757 (find_suggest), (gst_type_find_element_chain),
25758 (gst_type_find_element_checkgetrange),
25759 (gst_type_find_element_getrange), (do_typefind),
25760 (gst_type_find_element_activate):
25761 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25762 (gst_buffer_default_free), (gst_buffer_default_copy),
25763 (gst_buffer_set_caps):
25764 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25765 (gst_caps_replace):
25766 * gst/gstmessage.c: (gst_message_new),
25767 (gst_message_new_state_changed):
25768 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25769 (gst_pad_set_checkgetrange_function),
25770 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25771 (gst_pad_set_caps), (gst_pad_check_pull_range),
25772 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25774 * gst/gsttypefind.c: (gst_type_find_register):
25775 Make gst_caps_replace() work like other _replace() functions.
25776 Use _caps_replace() where possible.
25777 Make sure _message_new() initialises its field.
25778 Add gst_static_pad_template_get_caps()
25781 2005-04-18 Andy Wingo <wingo@pobox.com>
25783 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25784 on the peer, not the pad. I think that was a typo. Pass an extra
25785 arg to see if random access is possible. Activate the pads as
25786 PULL_RANGE if possible.
25788 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25790 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25791 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25794 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25796 * docs/faq/using.xml:
25797 Add note on gstreamer-properties (#154996).
25799 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25801 * docs/random/bbb/optional-properties:
25802 Some analysis on optional properties.
25804 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25806 * docs/gst/tmpl/gstelementfactory.sgml:
25807 * gst/gstelement.h:
25808 * gst/gstelementfactory.c: (gst_element_factory_init),
25809 (gst_element_factory_cleanup), (gst_element_register),
25810 (__gst_element_factory_add_static_pad_template),
25811 (gst_element_factory_get_static_pad_templates),
25812 (gst_element_factory_can_src_caps),
25813 (gst_element_factory_can_sink_caps):
25814 * gst/registries/Makefile.am:
25815 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25816 (gst_xml_registry_class_init), (gst_xml_registry_init),
25817 (gst_xml_registry_new), (gst_xml_registry_set_property),
25818 (gst_xml_registry_get_property), (get_time), (make_dir),
25819 (gst_xml_registry_get_perms_func),
25820 (plugin_times_older_than_recurse), (plugin_times_older_than),
25821 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25822 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25823 (add_to_char_array), (read_string), (read_uint), (read_enum),
25824 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25825 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25826 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25827 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25828 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25829 (gst_xml_registry_rebuild):
25830 * gst/registries/gstlibxmlregistry.h:
25831 * tools/gst-compprep.c: (main):
25832 * tools/gst-inspect.c: (print_pad_templates_info):
25833 * tools/gst-xmlinspect.c: (print_element_info):
25834 Use libxml2 for registry parsing, use staticpadtemplates in
25835 elementfactories. Makes gst_init() +/- 10x faster.
25837 2005-04-12 Wim Taymans <wim@fluendo.com>
25839 * gst/base/Makefile.am:
25840 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25841 (gst_basesink_pad_getcaps), (gst_basesink_init),
25842 (gst_basesink_event), (gst_basesink_change_state):
25843 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25844 (gst_basesrc_init), (gst_basesrc_query),
25845 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25846 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25847 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25848 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25849 (gst_basesrc_stop), (gst_basesrc_activate),
25850 (gst_basesrc_change_state):
25851 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25852 (helper_find_suggest), (gst_type_find_helper):
25853 * gst/base/gsttypefindhelper.h:
25854 * gst/elements/Makefile.am:
25855 * gst/elements/gstelements.c:
25856 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25857 (gst_fakesink_get_times), (gst_fakesink_event),
25858 (gst_fakesink_preroll), (gst_fakesink_render):
25859 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25860 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25861 (gst_fakesrc_get_property), (gst_fakesrc_create),
25862 (gst_fakesrc_start), (gst_fakesrc_stop):
25863 * gst/elements/gstfakesrc.h:
25864 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25865 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25866 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25867 (gst_filesrc_create_read), (gst_filesrc_create),
25868 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25869 (gst_filesrc_start):
25870 * gst/elements/gsttypefindelement.c:
25871 (gst_type_find_element_have_type), (gst_type_find_element_init),
25872 (start_typefinding), (stop_typefinding), (push_buffer_store),
25873 (gst_type_find_element_handle_event),
25874 (gst_type_find_element_chain),
25875 (gst_type_find_element_checkgetrange),
25876 (gst_type_find_element_getrange), (do_typefind),
25877 (gst_type_find_element_activate),
25878 (gst_type_find_element_change_state):
25879 * gst/elements/gsttypefindelement.h:
25880 * gst/gstpipeline.c: (pipeline_bus_handler):
25881 Added typefind helper.
25882 Small preroll fix in the base sink.
25883 Disable typefind code in basesrc.
25884 Crude port of typefindelement.
25888 2005-04-11 Wim Taymans <wim@fluendo.com>
25890 * check/gst/gstbus.c: (gstbus_suite):
25891 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25892 * check/gstcheck.h:
25893 Fix up the timeout so that the test does not fail.
25895 2005-04-06 Wim Taymans <wim@fluendo.com>
25898 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25899 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25900 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25901 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25902 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25903 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25904 (gst_basesrc_stop), (gst_basesrc_activate),
25905 (gst_basesrc_change_state), (basesrc_find_peek),
25906 (basesrc_find_suggest), (gst_basesrc_type_find):
25907 * gst/base/gstbasesrc.h:
25908 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25909 (gst_filesrc_class_init), (gst_filesrc_init),
25910 (gst_filesrc_finalize), (gst_filesrc_set_location),
25911 (gst_filesrc_set_property), (gst_filesrc_get_property),
25912 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25913 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25914 (gst_filesrc_create_read), (gst_filesrc_create),
25915 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25916 * gst/elements/gstfilesrc.h:
25917 * gst/gstelement.c: (gst_element_get_state_func),
25918 (gst_element_lost_state), (gst_element_pads_activate):
25919 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25920 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25921 (gst_pad_pull_range):
25923 More work on the generic source base class, implement seeking,
25925 Make filesrc extend the base source class.
25926 Added gst_pad_set_checkgetrange_function to GstPad.
25928 2005-04-06 Andy Wingo <wingo@pobox.com>
25930 * pkgconfig/gstreamer-base.pc.in:
25931 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25933 * pkgconfig/Makefile.am:
25934 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25936 2005-04-04 Wim Taymans <wim@fluendo.com>
25938 * gst/base/Makefile.am:
25940 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25941 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25942 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25943 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25944 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25945 (gst_basesrc_base_init), (gst_basesrc_class_init),
25946 (gst_basesrc_init), (gst_basesrc_get_formats),
25947 (gst_basesrc_get_query_types), (gst_basesrc_query),
25948 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25949 (gst_basesrc_set_property), (gst_basesrc_get_property),
25950 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25951 (gst_basesrc_loop), (gst_basesrc_activate),
25952 (gst_basesrc_change_state):
25953 * gst/base/gstbasesrc.h:
25954 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25955 (gst_fakesrc_class_init), (gst_fakesrc_init),
25956 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25957 (gst_fakesrc_get_property), (gst_fakesrc_create):
25958 * gst/elements/gstfakesrc.h:
25959 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25960 (gst_filesrc_open_file), (gst_filesrc_loop),
25961 (gst_filesrc_activate), (filesrc_find_peek),
25962 (gst_filesrc_type_find):
25963 Made base source class, make fakesrc extend it.
25964 Add comments to basesink class.
25965 Some filesrc cleanup.
25967 2005-03-31 David Schleef <ds@schleef.org>
25969 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25970 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25971 expected to link against libgstreamer.
25972 * gst/base/Makefile.am: link against libgstreamer
25973 * gst/elements/Makefile.am: same
25975 2005-03-31 Andy Wingo <wingo@pobox.com>
25977 * tests/instantiate/Makefile.am:
25978 * tests/instantiate/caps.c: Add test to test speed of caps copy
25981 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25982 GMemChunk to be fair.
25984 * gst/gsttrashstack.h: Remove warning about using the fallback
25985 trash stack implementation, it's still faster than malloc.
25987 2005-03-30 Andy Wingo <wingo@pobox.com>
25989 * tests/complexity.c: Add a copyright.
25991 2005-03-31 Wim Taymans <wim@fluendo.com>
25993 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25994 (gst_base_transform_class_init), (gst_base_transform_init),
25995 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25996 (gst_base_transform_get_property),
25997 (gst_base_transform_sink_activate),
25998 (gst_base_transform_src_activate),
25999 (gst_base_transform_change_state):
26000 * gst/base/gstbasetransform.h:
26001 * gst/elements/gstidentity.c: (gst_identity_class_init),
26002 (gst_identity_event), (gst_identity_check_perfect),
26003 (gst_identity_transform), (gst_identity_start),
26004 (gst_identity_stop):
26005 Added start/stop methods to transform base class so subclasses
26006 don't need to deal with state changes even.
26008 2005-03-31 Wim Taymans <wim@fluendo.com>
26010 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26011 (gst_event_new_discontinuous), (gst_event_discont_get_value):
26013 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26014 (gst_pad_pull_range):
26015 Added rate to the discont event to prepare for variable speed
26016 and reverse playback.
26018 2005-03-29 David Schleef <ds@schleef.org>
26021 * testsuite/trigger/Makefile.am:
26022 * testsuite/trigger/trigger.c: A little example program to show
26023 how trigger-based elements can work.
26025 2005-03-29 Wim Taymans <wim@fluendo.com>
26027 * gst/base/Makefile.am:
26029 * gst/base/gstbasesink.c: (gst_basesink_get_type),
26030 (gst_basesink_base_init), (gst_basesink_class_init),
26031 (gst_basesink_pad_getcaps), (gst_basesink_init),
26032 (gst_basesink_activate), (gst_basesink_change_state):
26033 * gst/base/gstbasesink.h:
26034 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26035 (gst_base_transform_base_init), (gst_base_transform_finalize),
26036 (gst_base_transform_class_init), (gst_base_transform_init),
26037 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26038 (gst_base_transform_event), (gst_base_transform_getrange),
26039 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26040 (gst_base_transform_set_property),
26041 (gst_base_transform_get_property),
26042 (gst_base_transform_sink_activate),
26043 (gst_base_transform_src_activate),
26044 (gst_base_transform_change_state):
26045 * gst/base/gstbasetransform.h:
26046 * gst/elements/gstidentity.c: (gst_identity_finalize),
26047 (gst_identity_class_init), (gst_identity_init),
26048 (gst_identity_event), (gst_identity_check_perfect),
26049 (gst_identity_transform), (gst_identity_set_property),
26050 (gst_identity_get_property), (gst_identity_change_state):
26051 * gst/elements/gstidentity.h:
26052 * gst/gstelement.c: (gst_element_get_state_func),
26053 (gst_element_lost_state), (gst_element_pads_activate):
26054 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26055 (gst_pad_check_pull_range), (gst_pad_pull_range):
26057 Simplify pad activation.
26058 Added function to check if pull_range can be performed.
26059 Error out when pulling inactive or flushing pads.
26060 Removed const from refcounted types as it does not make sense.
26061 Simplify pad templates in basesink
26062 Added base class for simple 1-to-1 transforms.
26063 Make identity subclass the base transform.
26065 2005-03-29 Andy Wingo <wingo@pobox.com>
26067 * docs/libs/gstreamer-libs-overrides.txt:
26068 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26069 really don't understand what's going on, but like whatever. I want
26072 * docs/gst/Makefile.am:
26073 * docs/libs/Makefile.am: Dist the overrides files.
26075 * check/Makefile.am (clean-local): Remove .libs directories.
26077 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26078 elements to EXTRA_DIST, so po/ files are happy.
26080 * po/POTFILES.in: Er, remove it here.
26082 * po/POTFILES: Remove gstspider.c.
26084 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26086 * docs/libs/gstreamer-libs-docs.sgml:
26087 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26090 * tests/complexity.c (main): Set the length of the preroll queue
26091 on the sinks to prevent a lockup.
26093 * libs/gst/dataprotocol/Makefile.am:
26094 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26095 the same as the one in check/gst-libs/gdp.c.
26097 * po/, docs/gst/: Commit automatic changes to docs and po files.
26099 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26100 the versioned libgstbase.
26102 * check/Makefile.am: Depend on an unversioned gst-register, seems
26103 to make autoconf happier.
26105 * gst/base/Makefile.am: Make libgstbase a versioned lib.
26107 2005-03-28 Wim Taymans <wim@fluendo.com>
26110 * docs/design/part-gstelement.txt:
26111 * docs/design/part-negotiation.txt:
26112 * docs/design/part-preroll.txt:
26113 * docs/design/part-scheduling.txt:
26114 * docs/design/part-states.txt:
26116 * gst/base/Makefile.am:
26118 * gst/base/gstbasesink.c: (gst_basesink_get_template),
26119 (gst_basesink_base_init), (gst_basesink_class_init),
26120 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26121 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26122 (gst_basesink_set_pad_functions),
26123 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26124 (gst_basesink_set_property), (gst_basesink_get_property),
26125 (gst_base_sink_get_template), (gst_base_sink_get_caps),
26126 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26127 (gst_basesink_preroll_queue_push),
26128 (gst_basesink_preroll_queue_empty),
26129 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26130 (gst_basesink_event), (gst_basesink_get_times),
26131 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26132 (gst_basesink_chain_unlocked), (gst_basesink_chain),
26133 (gst_basesink_loop), (gst_basesink_activate),
26134 (gst_basesink_change_state):
26135 * gst/base/gstbasesink.h:
26136 * gst/elements/Makefile.am:
26137 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26138 (gst_fakesink_class_init), (gst_fakesink_init),
26139 (gst_fakesink_set_property), (gst_fakesink_get_property),
26140 (gst_fakesink_get_times), (gst_fakesink_event),
26141 (gst_fakesink_preroll), (gst_fakesink_render),
26142 (gst_fakesink_change_state):
26143 * gst/elements/gstfakesink.h:
26144 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26145 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26146 * gst/gstelement.c: (gst_element_add_pad),
26147 (gst_element_get_state_func), (gst_element_abort_state),
26148 (gst_element_commit_state), (gst_element_lost_state),
26149 (gst_element_set_state), (gst_element_pads_activate):
26150 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26151 * gst/gstpipeline.c: (gst_pipeline_send_event),
26152 (gst_pipeline_change_state):
26153 Added state change code.
26154 Added/updated docs.
26155 Added sink base class, make fakesink extend the base class.
26156 Small cleanups in GstPipeline.
26158 2005-03-26 David Schleef <ds@schleef.org>
26160 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
26161 is broken and should be implemented in a different library.
26162 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26163 * gst/gst.h: remove gstcpu.h
26164 * gst/gstcpu.c: remove
26165 * gst/gstcpu.h: remove
26166 * gst/Makefile.am.future: Remove this file. It's ancient.
26168 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26170 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26171 (gst_bin_send_event):
26172 Add default event/set_manager handlers. The set_manager handler
26173 takes care that the manager is distributed over kids that were
26174 already in the bin before the manager was set. The event handler
26175 is a utility virtual function that sends the event over all sinks,
26176 so that gst_element_send_event (bin, event); has the expected
26178 * gst/gstpad.c: (gst_pad_event_default):
26179 Re-install default event handling for discontinuities, so that
26180 seeking works without requiring hacks in applications or extra
26182 * gst/gstpipeline.c: (gst_pipeline_class_init),
26183 (gst_pipeline_send_event):
26184 Half hack, half utility: set a pipeline to PAUSED for seek events,
26185 since that is the only way we can guarantee a/v sync. Means that
26186 you can do gst_element_seek (pipeline, method, pos); on a pipeline
26187 and it "just works".
26189 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26191 * gst/gstpipeline.c: (gst_pipeline_use_clock):
26192 Lock/unlock mismatch.
26194 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
26196 * docs/faq/gst-uninstalled:
26197 add gst-plugins-base
26198 * docs/gst/Makefile.am:
26199 don't error out until docs are fixed
26200 * docs/gst/gstreamer.types:
26203 2005-03-22 Wim Taymans <wim@fluendo.com>
26205 * check/Makefile.am:
26206 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26207 * gst/gststructure.c: (gst_structure_set_valist),
26208 (gst_structure_copy_conditional):
26209 Activated more tests.
26210 Added message test.
26211 Added G_TYPE_POINTER to GstStructure.
26214 2005-03-22 Wim Taymans <wim@fluendo.com>
26216 * docs/design/part-TODO.txt:
26217 * docs/design/part-events.txt:
26218 * docs/design/part-gstbin.txt:
26219 * docs/design/part-gstbus.txt:
26220 * docs/design/part-gstpipeline.txt:
26221 * docs/design/part-messages.txt:
26223 * gst/gstmessage.c:
26226 2005-03-21 Wim Taymans <wim@fluendo.com>
26228 * gst/gstbus.c: (gst_bus_post):
26229 Fix copy-and-paste error.
26231 2005-03-21 Wim Taymans <wim@fluendo.com>
26233 * check/Makefile.am:
26235 * gst/elements/Makefile.am:
26236 * gst/elements/gstelements.c:
26237 * gst/elements/gstfakesink.c: (gst_fakesink_init),
26238 (gst_fakesink_event), (gst_fakesink_chain):
26239 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26240 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26241 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26242 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26243 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26244 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26245 (gst_fakesrc_loop), (gst_fakesrc_activate),
26246 (gst_fakesrc_change_state):
26247 * gst/elements/gstfakesrc.h:
26248 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26249 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26250 (gst_filesrc_open_file), (gst_filesrc_loop),
26251 (gst_filesrc_activate), (gst_filesrc_change_state),
26252 (filesrc_find_peek), (filesrc_find_suggest),
26253 (gst_filesrc_type_find):
26254 * gst/elements/gstidentity.c: (gst_identity_finalize),
26255 (gst_identity_class_init), (gst_identity_init),
26256 (gst_identity_proxy_getcaps), (identity_queue_push),
26257 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26258 (gst_identity_getrange), (gst_identity_chain),
26259 (gst_identity_sink_loop), (gst_identity_src_loop),
26260 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26261 (gst_identity_set_property), (gst_identity_get_property),
26262 (gst_identity_change_state):
26263 * gst/elements/gstidentity.h:
26264 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26265 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26266 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26267 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26268 (gst_tee_sink_activate):
26269 * gst/elements/gsttee.h:
26270 * gst/gst.c: (gst_register_core_elements), (init_post):
26272 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26273 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26274 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26275 (gst_bin_change_state):
26277 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26278 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26279 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26280 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26281 (gst_bus_set_sync_handler), (gst_bus_create_watch),
26282 (bus_watch_callback), (bus_watch_destroy),
26283 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26284 (poll_timeout), (gst_bus_poll):
26288 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26289 (gst_element_post_message), (gst_element_message_full),
26290 (gst_element_get_state_func), (gst_element_get_state),
26291 (gst_element_abort_state), (gst_element_commit_state),
26292 (gst_element_lost_state), (gst_element_set_state),
26293 (gst_element_pads_activate), (gst_element_change_state),
26294 (gst_element_dispose), (gst_element_set_manager_func),
26295 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26296 (gst_element_set_manager), (gst_element_get_manager),
26297 (gst_element_set_bus), (gst_element_get_bus),
26298 (gst_element_set_scheduler), (gst_element_get_scheduler):
26299 * gst/gstelement.h:
26300 * gst/gstevent.c: (gst_event_new_segment_seek),
26301 (gst_event_new_flush):
26303 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26304 (_gst_message_free), (gst_message_get_type), (gst_message_new),
26305 (gst_message_new_eos), (gst_message_new_error),
26306 (gst_message_new_warning), (gst_message_new_tag),
26307 (gst_message_new_state_changed), (gst_message_new_application),
26308 (gst_message_get_structure), (gst_message_parse_tag),
26309 (gst_message_parse_state_changed), (gst_message_parse_error),
26310 (gst_message_parse_warning):
26311 * gst/gstmessage.h:
26312 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26313 (gst_real_pad_set_property), (gst_pad_set_active),
26314 (gst_pad_is_active), (gst_pad_set_blocked_async),
26315 (gst_pad_set_blocked), (gst_pad_is_blocked),
26316 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26317 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26318 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26319 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26320 (gst_pad_link_filtered), (gst_pad_relink_filtered),
26321 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26322 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26323 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26324 (gst_pad_set_caps), (gst_pad_configure_sink),
26325 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26326 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26327 (gst_real_pad_dispose), (gst_real_pad_finalize),
26328 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26329 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26330 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26332 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26333 (pipeline_bus_handler), (gst_pipeline_change_state),
26334 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26335 * gst/gstpipeline.h:
26337 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26338 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26339 (gst_queue_link_src), (gst_queue_bufferalloc),
26340 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26341 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26342 (gst_queue_loop), (gst_queue_handle_src_event),
26343 (gst_queue_handle_src_query), (gst_queue_src_activate),
26344 (gst_queue_change_state):
26346 * gst/gstscheduler.c: (gst_scheduler_init),
26347 (gst_scheduler_dispose), (gst_scheduler_create_task),
26348 (gst_scheduler_factory_create):
26349 * gst/gstscheduler.h:
26350 * gst/gststructure.c: (gst_structure_get_type),
26351 (gst_structure_copy_conditional):
26352 * gst/gststructure.h:
26353 * gst/gsttaginterface.h:
26354 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26355 (gst_task_init), (gst_task_dispose), (gst_task_create),
26356 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26362 * gst/schedulers/Makefile.am:
26363 * gst/schedulers/cothreads_compat.h:
26364 * gst/schedulers/entryscheduler.c:
26365 * gst/schedulers/faircothreads.c:
26366 * gst/schedulers/faircothreads.h:
26367 * gst/schedulers/fairscheduler.c:
26368 * gst/schedulers/gstbasicscheduler.c:
26369 * gst/schedulers/gstoptimalscheduler.c:
26370 * gst/schedulers/gthread-cothreads.h:
26371 * gst/schedulers/threadscheduler.c:
26372 (gst_thread_scheduler_task_get_type),
26373 (gst_thread_scheduler_task_class_init),
26374 (gst_thread_scheduler_task_init),
26375 (gst_thread_scheduler_task_start),
26376 (gst_thread_scheduler_task_stop),
26377 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26378 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26379 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26380 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26382 * libs/gst/Makefile.am:
26383 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26384 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26385 (gst_file_pad_parent_set):
26386 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26387 (gst_dp_event_from_packet):
26388 * tests/complexity.c: (main):
26389 * tests/mass_elements.c: (main):
26390 * testsuite/states/locked.c: (message_received), (main):
26391 * testsuite/states/parent.c: (main):
26392 * tools/gst-inspect.c: (print_element_flag_info),
26393 (print_implementation_info), (print_pad_info):
26394 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26396 * tools/gst-md5sum.c: (event_loop), (main):
26397 * tools/gst-typefind.c: (main):
26398 * tools/gst-xmlinspect.c: (print_element_info):
26400 Added GstBus for mainloop integration.
26401 Added GstMessage for sending notifications on the bus.
26402 Added GstTask as an abstraction for pipeline entry points.
26404 Removed Schedulers.
26405 Simplified GstQueue for multithreaded core.
26406 Made _link threadsafe, removed old capsnego.
26407 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26408 Added pad blocking functions.
26409 Reworked scheduling functions in GstPad to prepare for
26410 scheduling updates soon.
26411 Moved events out of data stream.
26412 Simplified GstEvent types.
26413 Added return values to push/pull.
26414 Removed clocking from GstElement.
26415 Added prototypes for state change function for next merge.
26416 Removed iterate from bins and state change management.
26417 Fixed some elements, disabled others for now.
26418 Fixed -inspect and -launch.
26419 Added check for GstBus.
26421 2005-03-10 Wim Taymans <wim@fluendo.com>
26423 * docs/design/part-MT-refcounting.txt:
26424 * docs/design/part-clocks.txt:
26425 * docs/design/part-gstelement.txt:
26426 * docs/design/part-gstobject.txt:
26427 * docs/design/part-standards.txt:
26428 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26429 (gst_bin_remove_func), (gst_bin_remove):
26433 * testsuite/clock/clock1.c: (main):
26434 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26436 * testsuite/dlopen/loadgst.c: (do_test):
26437 * testsuite/refcounting/bin.c: (add_remove_test1),
26438 (add_remove_test2), (main):
26439 * testsuite/refcounting/element.c: (main):
26440 * testsuite/refcounting/element_pad.c: (main):
26441 * testsuite/refcounting/pad.c: (main):
26442 * tools/gst-launch.c: (sigint_handler_sighandler):
26443 * tools/gst-typefind.c: (main):
26445 Added doc about clock.
26446 removed gst_bin_iterate_recurse_up(), marked methods
26448 Fix more testsuites.
26450 2005-03-09 Wim Taymans <wim@fluendo.com>
26452 * gst/gstpad.c: (gst_pad_get_direction),
26453 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26454 (gst_pad_collect_valist):
26455 * testsuite/bins/interface.c: (main):
26456 * testsuite/caps/audioscale.c: (test_caps):
26457 * testsuite/caps/caps.c: (test1), (test2), (test3):
26458 * testsuite/caps/deserialize.c: (main):
26459 * testsuite/caps/enumcaps.c: (main):
26460 * testsuite/caps/filtercaps.c: (main):
26461 * testsuite/caps/intersect2.c: (main):
26462 * testsuite/caps/random.c: (main):
26463 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26464 * testsuite/caps/sets.c: (check_caps):
26465 * testsuite/caps/simplify.c: (check_caps), (main):
26466 * testsuite/caps/subtract.c: (check_caps):
26467 Fix _pad_get_direction wrt ghostpads.
26468 Fix caps testsuite.
26470 2005-03-09 Wim Taymans <wim@fluendo.com>
26472 * check/Makefile.am:
26473 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26474 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26475 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26476 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26477 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26478 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26479 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26480 (bin_element_is_sink), (gst_bin_iterate_sinks),
26481 (gst_bin_iterate_all_by_interface):
26483 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26484 (gst_element_change_state), (gst_element_dispose),
26485 (gst_element_finalize), (gst_element_set_loop_function):
26486 * gst/gstelement.h:
26487 * gst/gstiterator.c: (find_custom_fold_func):
26488 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26489 (gst_pad_collectv), (gst_pad_collect_valist),
26490 (gst_pad_template_new):
26491 * gst/gstpipeline.c: (gst_pipeline_class_init),
26492 (gst_pipeline_dispose), (gst_pipeline_set_property),
26493 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26494 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26495 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26497 * gst/schedulers/entryscheduler.c:
26498 * gst/schedulers/gstbasicscheduler.c:
26499 (gst_basic_scheduler_cothreaded_chain),
26500 (gst_basic_scheduler_chain_add_element):
26501 * testsuite/bins/interface.c: (main):
26503 Added GstSystemClock test.
26504 Implemented clock distribution code in GstBin.
26505 Implemented iterate sinks method for future use.
26506 Rearranged gstelement.h
26507 Fix GstIterator comparison bug.
26508 Moved some code to GstPipeline, mostly clocking related.
26510 2005-03-09 Wim Taymans <wim@fluendo.com>
26513 * gst/gst_private.h:
26514 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26515 (gst_bin_remove_func), (gst_bin_remove),
26516 (gst_bin_get_by_name_recurse_up):
26517 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26518 (gst_clock_id_compare_func), (gst_clock_id_wait),
26519 (gst_clock_id_wait_async), (gst_clock_init),
26520 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26521 * gst/gstelement.h:
26522 * gst/gstinfo.c: (_gst_debug_init):
26524 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26525 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26527 Bump version number, we're now 0.9.0
26528 Add future debugging category.
26529 Fix NULL _unref() in _get_by_name_recurse_up
26530 Rearrange gstpad.h.
26533 2005-03-08 Wim Taymans <wim@fluendo.com>
26535 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26536 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26537 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26538 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26539 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26540 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26541 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26542 * gst/elements/gstidentity.c: (gst_identity_class_init):
26543 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26544 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26545 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26546 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26547 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26549 * gst/gstelement.c: (gst_element_class_init),
26550 (gst_element_base_class_init), (gst_element_init),
26551 (gst_element_get_random_pad), (gst_element_wait_state_change),
26552 (gst_element_change_state), (gst_element_dispose),
26553 (gst_element_finalize), (gst_element_set_loop_function):
26554 * gst/gstelement.h:
26555 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26556 * gst/gstthread.c: (gst_thread_class_init),
26557 (gst_thread_release_children_locks), (gst_thread_change_state):
26558 * gst/schedulers/gstbasicscheduler.c:
26559 (gst_basic_scheduler_loopfunc_wrapper),
26560 (gst_basic_scheduler_chain_wrapper),
26561 (gst_basic_scheduler_src_wrapper),
26562 (gst_basic_scheduler_remove_element):
26563 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26564 Remove threadsafe properties. Fix elements because GObject
26565 complains when installing a property before declaring a
26566 set/get_property handler.
26567 Rearrange gstelement.h file, use STATE macros for state locks.
26568 Free mutexes in the finalize method instead of dispose.
26570 2005-03-08 Wim Taymans <wim@fluendo.com>
26572 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26573 * gst/gstthread.c: (gst_thread_release_children_locks):
26574 Added parentage check.
26575 Fix build og GstThread again.
26577 2005-03-08 Wim Taymans <wim@fluendo.com>
26579 * docs/design/part-MT-refcounting.txt:
26580 * docs/design/part-conventions.txt:
26581 * docs/design/part-gstobject.txt:
26582 * docs/design/part-relations.txt:
26583 * docs/design/part-standards.txt:
26584 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26585 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26586 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26587 (gst_bin_iterate_all_by_interface):
26590 * gst/gstelement.c: (gst_element_class_init),
26591 (gst_element_change_state), (gst_element_set_loop_function):
26592 * gst/gstelement.h:
26593 * gst/gstiterator.c:
26594 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26595 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26596 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26597 (gst_object_set_parent), (gst_object_unparent),
26598 (gst_object_check_uniqueness):
26600 Docs updates, clean up some headers.
26602 2005-03-07 Wim Taymans <wim@fluendo.com>
26604 * check/.cvsignore:
26605 * check/Makefile.am:
26606 * check/gst-libs/.cvsignore:
26607 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26608 * check/gst/.cvsignore:
26609 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26610 (START_TEST), (gstbus_suite), (main):
26611 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26612 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26613 (gst_data_suite), (main):
26614 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26615 (add_fold_func), (gstiterator_suite), (main):
26616 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26617 (thread_name_object), (thread_name_object_default),
26618 (gst_object_name_compare), (gst_object_suite), (main):
26619 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26620 (gst_pad_suite), (main):
26621 * check/gstcheck.c: (gst_check_log_message_func),
26622 (gst_check_log_critical_func), (gst_check_init):
26623 * check/gstcheck.h:
26624 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26625 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26628 2005-03-07 Wim Taymans <wim@fluendo.com>
26630 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26631 (gst_list_iterator_next), (gst_list_iterator_resync),
26632 (gst_list_iterator_free), (gst_iterator_new_list),
26633 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26634 (gst_iterator_free), (gst_iterator_push), (filter_next),
26635 (filter_resync), (filter_uninit), (filter_free),
26636 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26637 (gst_iterator_foreach), (find_custom_fold_func),
26638 (gst_iterator_find_custom):
26639 * gst/gstiterator.h:
26640 Added missing files.
26642 2005-03-07 Wim Taymans <wim@fluendo.com>
26646 * docs/design/part-MT-refcounting.txt:
26647 * docs/design/part-conventions.txt:
26648 * docs/design/part-gstobject.txt:
26649 * docs/design/part-relations.txt:
26650 * examples/mixer/mixer.c: (main):
26651 * examples/thread/thread.c: (eos), (main):
26653 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26654 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26655 (gst_spider_plug_from_srcpad):
26656 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26657 (gst_spider_identity_change_state),
26658 (gst_spider_identity_sink_loop_type_finding):
26659 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26660 * gst/elements/gstidentity.c: (gst_identity_init):
26661 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26662 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26663 * gst/elements/gsttypefindelement.c: (free_entry):
26666 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26667 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26668 (gst_bin_set_index), (gst_bin_set_element_sched),
26669 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26670 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26671 (gst_bin_iterate_elements), (iterate_child_recurse),
26672 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26673 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26674 (compare_interface), (gst_bin_get_by_interface),
26675 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26677 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26678 (gst_buffer_default_free), (gst_buffer_default_copy),
26679 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26680 (gst_buffer_create_sub):
26682 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26683 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26684 (gst_caps_unref), (gst_static_caps_get),
26685 (gst_caps_remove_and_get_structure), (gst_caps_append),
26686 (gst_caps_append_structure), (gst_caps_remove_structure),
26687 (gst_caps_copy_nth), (gst_caps_set_simple),
26688 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26689 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26690 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26691 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26692 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26693 (gst_caps_structure_figure_out_union),
26694 (gst_caps_switch_structures), (gst_caps_do_simplify),
26695 (gst_caps_replace), (gst_caps_from_string),
26696 (gst_caps_copy_conditional):
26698 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26699 (_gst_clock_id_free), (gst_clock_id_unref),
26700 (gst_clock_id_compare_func), (gst_clock_id_wait),
26701 (gst_clock_id_wait_async), (gst_clock_class_init),
26702 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26703 (gst_clock_get_time), (gst_clock_set_time_adjust),
26704 (gst_clock_set_property), (gst_clock_get_property):
26707 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26708 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26710 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26711 (gst_element_requires_clock), (gst_element_provides_clock),
26712 (gst_element_set_clock), (gst_element_clock_wait),
26713 (gst_element_wait), (gst_element_set_time_delay),
26714 (gst_element_is_indexable), (gst_element_add_pad),
26715 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26716 (pad_compare_name), (gst_element_get_static_pad),
26717 (gst_element_request_pad), (gst_element_get_request_pad),
26718 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26719 (gst_element_class_get_pad_template_list),
26720 (gst_element_class_get_pad_template), (gst_element_error_func),
26721 (gst_element_get_random_pad), (gst_element_get_event_masks),
26722 (gst_element_send_event), (gst_element_seek),
26723 (gst_element_get_query_types), (gst_element_query),
26724 (gst_element_get_formats), (gst_element_convert),
26725 (gst_element_is_locked_state), (gst_element_set_locked_state),
26726 (gst_element_sync_state_with_parent), (gst_element_change_state),
26727 (gst_element_finalize), (gst_element_yield),
26728 (gst_element_interrupt), (gst_element_set_scheduler),
26729 (gst_element_get_scheduler), (gst_element_set_loop_function):
26730 * gst/gstelement.h:
26732 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26733 (gst_format_get_by_nick), (gst_format_get_details),
26734 (gst_format_iterate_definitions):
26736 * gst/gstindex.c: (gst_index_gtype_resolver):
26739 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26740 (gst_mem_chunk_free):
26741 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26742 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26743 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26744 (gst_object_dispatch_properties_changed),
26745 (gst_object_set_name_default), (gst_object_set_name),
26746 (gst_object_get_name), (gst_object_set_name_prefix),
26747 (gst_object_get_name_prefix), (gst_object_set_parent),
26748 (gst_object_get_parent), (gst_object_unparent),
26749 (gst_object_check_uniqueness), (gst_object_save_thyself),
26750 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26751 (gst_object_set_property), (gst_object_get_property),
26752 (gst_object_get_path_string):
26754 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26755 (gst_real_pad_init), (gst_real_pad_get_property),
26756 (gst_pad_custom_new), (gst_pad_get_direction),
26757 (gst_pad_set_active), (gst_pad_is_active),
26758 (gst_pad_set_event_function), (gst_pad_is_linked),
26759 (gst_pad_link_free), (gst_pad_link_intersect),
26760 (gst_pad_link_fixate), (gst_pad_set_caps),
26761 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26762 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26763 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26764 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26765 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26766 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26767 (gst_pad_realize), (gst_pad_get_allowed_caps),
26768 (gst_real_pad_dispose), (gst_real_pad_finalize),
26769 (gst_pad_collectv), (gst_pad_collect_valist),
26770 (gst_pad_template_dispose), (gst_pad_template_new),
26771 (gst_pad_get_internal_links):
26773 * gst/gstpipeline.c: (gst_pipeline_dispose),
26774 (gst_pipeline_change_state):
26775 * gst/gstpipeline.h:
26777 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26778 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26779 * gst/gstpluginfeature.h:
26780 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26781 * gst/gstquery.c: (_gst_query_type_initialize),
26782 (gst_query_type_register), (gst_query_type_get_by_nick),
26783 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26785 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26786 * gst/gstscheduler.c: (gst_scheduler_add_element),
26787 (gst_scheduler_factory_create):
26788 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26789 (gst_structure_free), (gst_structure_set_name),
26790 (gst_structure_id_set_value), (gst_structure_set_value),
26791 (gst_structure_set_valist), (gst_structure_remove_field),
26792 (gst_structure_remove_fields),
26793 (gst_structure_remove_fields_valist),
26794 (gst_structure_remove_all_fields), (gst_structure_foreach),
26795 (gst_structure_map_in_place),
26796 (gst_caps_structure_fixate_field_nearest_int),
26797 (gst_caps_structure_fixate_field_nearest_double):
26798 * gst/gststructure.h:
26799 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26800 (gst_system_clock_init), (gst_system_clock_dispose),
26801 (gst_system_clock_async_thread),
26802 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26803 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26804 * gst/gstsystemclock.h:
26805 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26806 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26807 * gst/gsttaginterface.c:
26808 * gst/gstthread.c: (gst_thread_dispose),
26809 (gst_thread_release_children_locks), (gst_thread_change_state),
26810 (gst_thread_main_loop):
26811 * gst/gsttrashstack.h:
26812 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26814 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26815 (gst_element_request_pad), (gst_element_get_pad_from_template),
26816 (gst_element_request_compatible_pad),
26817 (gst_element_get_compatible_pad_filtered),
26818 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26819 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26820 (gst_element_link_many), (gst_element_link),
26821 (gst_element_link_pads), (gst_element_unlink_pads),
26822 (gst_element_unlink_many), (gst_element_unlink),
26823 (gst_pad_can_link_filtered), (gst_pad_can_link),
26824 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26825 (gst_object_default_error), (gst_bin_add_many),
26826 (gst_bin_remove_many), (gst_element_populate_std_props),
26827 (gst_element_class_install_std_props), (gst_buffer_merge),
26828 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26829 (link_fold_func), (gst_pad_proxy_setcaps):
26831 * gst/gstvalue.c: (gst_value_deserialize_string):
26832 * gst/parse/grammar.y:
26833 * gst/schedulers/gstbasicscheduler.c:
26834 (gst_basic_scheduler_cothreaded_chain),
26835 (gst_basic_scheduler_chain_recursive_add),
26836 (gst_basic_scheduler_pad_link):
26837 * gst/schedulers/gstoptimalscheduler.c:
26838 (get_group_schedule_function),
26839 (gst_opt_scheduler_state_transition),
26840 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26841 * libs/gst/bytestream/bytestream.c:
26842 * libs/gst/dataprotocol/dataprotocol.c:
26843 (gst_dp_header_from_buffer):
26846 * tests/threadstate/threadstate2.c: (eos):
26847 * tools/gst-compprep.c: (main):
26848 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26849 (print_pad_info), (print_children_info):
26850 * tools/gst-launch.c: (idle_func), (main):
26851 * tools/gst-md5sum.c: (idle_func), (main):
26852 * tools/gst-xmlinspect.c: (print_element_info):
26853 First THREADED backport attempt, focusing on adding locks and
26854 making sure the API is threadsafe. Needs more work. More docs
26857 2005-02-24 Andy Wingo <wingo@pobox.com>
26859 * tests/bench-complexity.scm:
26860 * tests/complexity.gnuplot: New files, good for running complexity
26863 * tests/Makefile.am:
26864 * tests/complexity.c: New test, sets up N elements, at each level
26865 teeing into M streams per element. Eeeenteresting.
26867 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26868 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26869 running bench-mass_elements.scm.
26871 * tests/bench-mass_elements.scm: New script, runs mass_elements
26872 for various numbers of identities, outputting the results to a
26873 file. Requires guile 1.6. Just for testing.
26875 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26877 * gst/schedulers/fairscheduler.c:
26878 compile with debug disabled
26880 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26883 hunting season on 0.9 is now OPEN