1 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
3 * docs/design/part-TODO.txt:
4 * docs/design/part-block.txt:
7 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
10 Revert patch which uses $(gst_headers) instead of $^ because it
13 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
15 * tests/check/gst/gstbin.c: (GST_START_TEST):
16 Fix leaks in the new unit test.
18 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
21 Don't use GST_INFO before the debug system is actually initialised
22 (shouldn't do any harm, but won't print anything either, so we can
23 just as well remove it).
26 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
27 compilers that don't support variadic macros (such as MSVC), should
28 check for debug_level <= __gst_debug_min as well, since that's the
29 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
30 inline helper functions. Should improve performance a bit, but also
31 makes sure uses of GST_INFO et.al are ignored if the debugging
32 system isn't initialised yet (instead of printing an assertion
35 2007-08-23 Stefan Kost <ensonic@users.sf.net>
37 patch by: David Nečas <yeti@physics.muni.cz>
40 Replace some non portable makefile constructs.
42 2007-08-21 Stefan Kost <ensonic@users.sf.net>
44 * common/gtk-doc-plugins.mak:
45 Grrrrr. Don't remove the types file on make clean.
47 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
49 * tools/gst-launch.1.in:
50 Add colorspace to example pipeline. Fixes #458274.
52 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
54 * docs/random/release:
55 The release manager should run 'make download-po' before making a
56 release to make sure translations are up-to-date.
62 Add some new translations.
64 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
66 * tools/gst-launch.c: (event_loop), (main):
67 Don´t try to do any state management when a live pipeline posts
69 Also make the buffering string translatable.
71 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
73 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
74 (bin_handle_async_start), (gst_bin_handle_message_func):
76 When adding elements, insert messages into the bus of the newly added
77 element and make sure the element is the source of the message. This
78 allows the parent bin to intercept the message and do the
79 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
80 messages to the app (which is not allowed).
83 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
84 Fix testsuite so that is does not work around messages that should not
85 have been posted in the first place.
87 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
89 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
90 (update_degree), (gst_bin_sort_iterator_next):
91 Fix annoying bug in the sorted iterator where a sink that is not really
92 a sink (when it has downstream links) screwed up the iterator.
94 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
95 Unit test to verify the fix.
97 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
100 Add some more docs for the messages.
102 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
103 (gst_base_sink_query):
104 Add some more debugging.
106 * tools/gst-launch.c: (event_loop):
107 When interrupting, don't try to set pipeline to PAUSED twice.
109 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
112 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
113 (bin_handle_async_start), (gst_bin_handle_message_func):
114 Move ASYNC_START message posting to where it belongs, similar to
116 Don't post ASYNC_START when we are in error.
117 Post ASYNC_START when we added an async element to a bin.
119 2007-08-14 Julien MOUTTE <julien@moutte.net>
121 * gst/gstindex.c: (gst_index_add_association): Fix index entry
122 generation from vargs. Fixes #466595.
124 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
126 * gst/gstbin.c: (gst_bin_element_set_state):
127 Always change the state of a NO_PREROLL element even if it has ASYNC
128 elements inside (in case of a bin).
130 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
131 Unit test for this case.
133 2007-08-13 Stefan Kost <ensonic@users.sf.net>
135 * libs/gst/check/gstbufferstraw.c:
136 * libs/gst/check/gstcheck.h:
137 * libs/gst/controller/gstcontroller.c:
138 * libs/gst/controller/gstcontrolsource.h:
139 * libs/gst/controller/gstlfocontrolsource.h:
140 * plugins/elements/gstcapsfilter.h:
141 * plugins/elements/gstfdsink.h:
142 * plugins/elements/gstfdsrc.h:
143 Add more missing docs.
145 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
147 * gst/gststructure.c:
148 Add Since tag to docs.
150 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
152 * docs/gst/gstreamer-sections.txt:
153 * gst/gststructure.c: (gst_structure_get_uint):
154 * gst/gststructure.h:
155 Add function to get uint from a structure.
156 API: gst_structure_get_uint()
158 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
160 * gst/gstcaps.c: (gst_caps_set_simple_valist),
161 (gst_caps_intersect):
162 Fix proper check for simple caps.
164 2007-08-10 Stefan Kost <ensonic@users.sf.net>
166 * docs/gst/Makefile.am:
167 * docs/libs/Makefile.am:
168 Remove cruft and do some cleanups.
170 * docs/gst/gstreamer-docs.sgml:
171 * docs/libs/gstreamer-libs-docs.sgml:
172 Prepare for comming gtkdoc features (rebase against online docs).
174 2007-08-10 Michael Smith <msmith@fluendo.com>
176 * docs/gst/gstreamer-sections.txt:
177 Add gst_registry_add_path to docs.
179 2007-08-10 Michael Smith <msmith@fluendo.com>
182 Add gst_registry_add_path, which was missing from this header.
184 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
186 * libs/gst/controller/gstlfocontrolsource.c:
189 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
191 * libs/gst/base/gstbasesink.c:
192 Don't send an async_start message during downwards state change if
193 target state is less than READY
195 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
197 translated by: Gabor Kelemen <kelemeng@gnome.hu>
201 Added Hungarian translation.
203 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
210 Updated translations.
212 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
214 * libs/gst/controller/Makefile.am:
215 Dist gstlfocontrolsourceprivate.h
217 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
219 * docs/libs/gstreamer-libs.types:
220 Don't register the enum type gst_lfo_waveform_get_type() in the
221 .types file - only GObject derived types belong.
223 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
225 Patch by: <arenevier at fdn dot fr>
228 Remove comma from last element in enum to avoid compile errors when
229 using -pendantic. Fixes #464366.
231 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
233 * docs/design/part-TODO.txt:
234 Add some more TODO items
236 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
239 * gst/gstcaps.c: (gst_caps_intersect):
240 Optimize trivial intersection case between identical caps pointers.
242 * gst/gstelement.c: (gst_element_continue_state),
243 (gst_element_set_state_func):
245 Fix spelling and grammar mistakes.
247 2007-08-05 Stefan Kost <ensonic@users.sf.net>
251 Update POTFILES. Fixes #461599.
253 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
256 Fix confusing typo in debug output.
258 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
260 reviewed by: Stefan Kost <ensonic@users.sf.net>
262 * libs/gst/controller/Makefile.am:
263 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
264 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
265 (gst_lfo_control_source_new),
266 (gst_lfo_control_source_set_waveform),
267 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
268 (gst_lfo_control_source_finalize),
269 (gst_lfo_control_source_dispose),
270 (gst_lfo_control_source_set_property),
271 (gst_lfo_control_source_get_property),
272 (gst_lfo_control_source_class_init):
273 * libs/gst/controller/gstlfocontrolsource.h:
274 * libs/gst/controller/gstlfocontrolsourceprivate.h:
275 API: Add GstLFOControlSource, a control source that gives values
276 for specific timestamps based on several periodic waveforms.
279 * tests/check/libs/controller.c: (GST_START_TEST),
280 (gst_controller_suite):
281 * docs/libs/gstreamer-libs-docs.sgml:
282 * docs/libs/gstreamer-libs-sections.txt:
283 * docs/libs/gstreamer-libs.types:
284 Add documentation and unit tests for GstLFOControlSource.
286 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
291 === release 0.10.14 ===
293 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
296 releasing 0.10.14, "Breathing Vacuum"
298 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
300 * gst/gstelement.c: (gst_element_class_set_details_simple):
302 Make strings passed to gst_element_class_set_details_simple()
303 constant, as they should be (#462752).
305 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
307 * gst/gstbin.c: (gst_bin_change_state_func),
308 (bin_handle_async_done), (gst_bin_handle_message_func):
309 Don't forget about the fact that some element went ASYNC even after a
310 resync. This makes us post the ASYNC_DONE message correctly.
313 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
315 * gst/gstregistry.c: (gst_registry_add_feature):
316 When replacing an existing feature in the registry, make sure to
317 continue holding a reference until we've replaced the name string
318 within our feature hash table. Make sure to use g_hash_table_replace
319 instead of g_hash_table_insert to ensure the new name string is used
320 as a key instead of the old one that we're about to free.
323 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
325 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
326 (gst_plugin_feature_set_name):
327 Revert patch from #459466 until after the release and we can work
328 out exactly what the problem is (if any).
330 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
332 * docs/gst/gstreamer-sections.txt:
335 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
337 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
339 * docs/libs/Makefile.am:
340 Include our build-prefix libs and includes before the generic ones to
341 avoid linking against the installed libs when we want the build-tree
344 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
346 Patch by: Steve Fink <sphink gmail com>
348 * docs/pwg/building-testapp.xml:
349 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
350 if people try to build or install the example from the plugin
351 template against a GStreamer from package using the configure
354 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
356 Patch by: Steve Fink <sphink gmail com>
358 * tools/gst-inspect.1.in:
359 Document --print-all and --print-plugin-auto-install-info command
360 line options in man page.
362 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
364 * docs/gst/gstreamer-sections.txt:
365 Add docs for new api function.
367 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
369 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
370 * gst/gstelementfactory.h:
371 API: gst_element_factory_has_interface()
372 Added method to check if an element factory implements a named
375 2007-07-25 Stefan Kost <ensonic@users.sf.net>
378 * docs/gst/gstreamer.types.in:
379 Another conditional doc check.
382 * gst/gstparamspecs.h:
383 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
388 2007-07-24 Stefan Kost <ensonic@users.sf.net>
390 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
391 (gst_registry_binary_load_feature),
392 (gst_registry_binary_load_plugin),
393 (gst_registry_binary_read_cache):
394 Print error just once and with additional info.
396 2007-07-24 Stefan Kost <ensonic@users.sf.net>
398 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
399 (helper_find_suggest), (helper_find_get_length),
400 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
401 (gst_type_find_helper_for_buffer):
402 Cleanup the typefindhelper code and add private doc comments.
404 2007-07-24 Edward Hervey <bilboed@bilboed.com>
406 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
407 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
408 Fix capsfilter for cases where the caps set on capsfilter will provide
409 additional information.
412 2007-07-24 Stefan Kost <ensonic@users.sf.net>
414 * gst/gsttypefindfactory.c:
415 Fix docs that recommened wrong function to use.
417 2007-07-23 Stefan Kost <ensonic@users.sf.net>
419 * tools/gst-inspect.c: (print_plugin_features):
420 Also give media-type for typefinders in element output.
422 2007-07-23 Stefan Kost <ensonic@users.sf.net>
424 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
425 (gst_registry_remove_features_for_plugin_unlocked),
426 (gst_registry_add_feature), (gst_registry_remove_feature),
427 (gst_registry_lookup_feature_locked):
429 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
432 2007-07-23 Stefan Kost <ensonic@users.sf.net>
434 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
435 (gst_plugin_feature_set_name):
436 Avoid double memory usage for pluginfeature names. Fixes #459466.
438 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
441 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
442 driving the pipeline may need to explicitly check for NOT_LINKED as
443 well, since IS_FATAL doesn't cover that.
445 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
447 * docs/pwg/advanced-types.xml:
448 Fix typo and duplicate entry in video formats list.
450 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
452 * libs/gst/controller/gstinterpolation.c:
453 Also round to the nearest int when using cubic interpolation.
455 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
457 * libs/gst/controller/gstinterpolation.c:
458 When linearly interpolating integer types, round to the nearest int
459 by adding 0.5. Don't do it for float/double types.
460 Fixes the failing controller test on my machine, which is somehow
461 rounding differently than on the buildbots.
463 2007-07-20 Stefan Kost <ensonic@users.sf.net>
465 * tools/gst-plot-timeline.py:
466 Better log parsing (categories can have -). Adjust text vs. lines, so
467 that they span the same y-range.
469 2007-07-20 Stefan Kost <ensonic@users.sf.net>
471 * docs/random/ensonic/audiobaseclasses.txt:
472 * docs/random/ensonic/dynlink.txt:
473 * docs/random/ensonic/profiling.txt:
476 * docs/random/moving-plugins:
477 Add note to use g_assert type macros.
479 2007-07-20 Stefan Kost <ensonic@users.sf.net>
482 * libs/gst/check/Makefile.am:
483 Add libm check as we use in for plugins.
485 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
487 * gst/gstbin.c: (gst_bin_continue_func):
488 Check that the state_cookie hasn't changed since the continue_func
489 was scheduled. Avoids problems where the state changes back to
490 something it shouldn't be because it was changed in the meantime.
492 2007-07-17 Stefan Kost <ensonic@users.sf.net>
494 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
495 (gst_registry_binary_save_string),
496 (gst_registry_binary_save_pad_template),
497 (gst_registry_binary_save_feature),
498 (gst_registry_binary_save_plugin),
499 (gst_registry_binary_load_feature),
500 (gst_registry_binary_load_plugin),
501 (gst_registry_binary_read_cache):
502 Fix memory leak. Be less verbose in the log.
504 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
506 * tests/check/elements/.cvsignore:
507 Add file to cvsignore as commanded.
509 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
511 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
512 (mq_dummypad_event), (run_output_order_test):
513 Use a GStaticMutex to protect all cases where libcheck
514 fail_if/fail_unless macros might be called from multiple threads
515 simultaneously to avoid errors like:
516 "check_pack.c:107: :-1081725400:Bad message type arg"
518 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
520 * tests/check/pipelines/stress.c: (GST_START_TEST):
521 Make sure we set the pipeline back to the NULL state before
522 dropping our final reference.
524 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
526 * tests/check/elements/tee.c: (GST_START_TEST):
527 Make the tee stress-test a little less stressful so it doesn't just
528 time out on slow-machines, and remove a small race when it's starting
529 up by adding a get_state() call.
531 2007-07-16 Stefan Kost <ensonic@users.sf.net>
534 Avoid reading registry twice on startup. Fixes #457322.
536 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
538 * pkgconfig/gstreamer-check-uninstalled.pc.in:
539 * pkgconfig/gstreamer-check.pc.in:
540 Substitute the CFLAGS for libcheck into our .pc file too so that
541 dependent modules will pick it up properly if libcheck is installed
542 into some other prefix.
544 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
547 Revert the pkg-config check for libcheck, since it pulls in the
548 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
549 a proper solution, either from the check project, or something else.
551 2007-07-12 Stefan Kost <ensonic@users.sf.net>
554 Use pkg-config to locate check.
556 2007-07-10 Stefan Kost <ensonic@users.sf.net>
563 Add deprecation guards.
565 * libs/gst/base/gstcollectpads.h:
566 Don't document object (this is implicitly private).
568 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
570 * gst/gststructure.c: (gst_structure_parse_value):
571 When deserialising foo=bar without a type cast, check if it's a
572 boolean before falling back to a string type, otherwise things like
573 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
574 because the filtercaps end up having a signed=(string)true field,
575 which causes problems later when intersection caps.
577 * tests/check/gst/gststructure.c: (GST_START_TEST):
578 Add a unit test for this.
580 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
582 Reviewed by: Stefan Kost <ensonic@users.sf.net>
584 * libs/gst/controller/Makefile.am:
585 * libs/gst/controller/gstcontroller.c:
586 (gst_controlled_property_add_interpolation_control_source),
587 (gst_controlled_property_new), (gst_controlled_property_free),
588 (gst_controller_find_controlled_property),
589 (gst_controller_new_valist), (gst_controller_new_list),
590 (gst_controller_new), (gst_controller_remove_properties_valist),
591 (gst_controller_remove_properties_list),
592 (gst_controller_remove_properties),
593 (gst_controller_set_property_disabled),
594 (gst_controller_set_disabled), (gst_controller_set_control_source),
595 (gst_controller_get_control_source), (gst_controller_get),
596 (gst_controller_sync_values), (gst_controller_get_value_array),
597 (_gst_controller_dispose), (gst_controller_get_type),
598 (gst_controlled_property_set_interpolation_mode),
599 (gst_controller_set), (gst_controller_set_from_list),
600 (gst_controller_unset), (gst_controller_unset_all),
601 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
602 * libs/gst/controller/gstcontroller.h:
603 * libs/gst/controller/gstcontrollerprivate.h:
604 * libs/gst/controller/gstcontrolsource.c:
605 (gst_control_source_class_init), (gst_control_source_init),
606 (gst_control_source_get_value),
607 (gst_control_source_get_value_array), (gst_control_source_bind):
608 * libs/gst/controller/gstcontrolsource.h:
609 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
610 (gst_object_get_control_source):
611 * libs/gst/controller/gstinterpolation.c:
612 (gst_interpolation_control_source_find_control_point_node),
613 (gst_interpolation_control_source_get_first_value),
614 (_interpolate_none_get), (interpolate_none_get),
615 (interpolate_none_get_boolean_value_array),
616 (interpolate_none_get_enum_value_array),
617 (interpolate_none_get_string_value_array),
618 (_interpolate_trigger_get), (interpolate_trigger_get),
619 (interpolate_trigger_get_boolean_value_array),
620 (interpolate_trigger_get_enum_value_array),
621 (interpolate_trigger_get_string_value_array):
622 * libs/gst/controller/gstinterpolationcontrolsource.c:
623 (gst_control_point_free), (gst_interpolation_control_source_reset),
624 (gst_interpolation_control_source_new),
625 (gst_interpolation_control_source_set_interpolation_mode),
626 (gst_interpolation_control_source_bind),
627 (gst_control_point_compare), (gst_control_point_find),
628 (gst_interpolation_control_source_set_internal),
629 (gst_interpolation_control_source_set),
630 (gst_interpolation_control_source_set_from_list),
631 (gst_interpolation_control_source_unset),
632 (gst_interpolation_control_source_unset_all),
633 (gst_interpolation_control_source_get_all),
634 (gst_interpolation_control_source_get_count),
635 (gst_interpolation_control_source_init),
636 (gst_interpolation_control_source_finalize),
637 (gst_interpolation_control_source_dispose),
638 (gst_interpolation_control_source_class_init):
639 * libs/gst/controller/gstinterpolationcontrolsource.h:
640 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
641 API: Refactor GstController into the core controller which can take
642 a GstControlSource for providing actual values for timestamps.
643 Implement a interpolation control source and use this for backward
644 compatibility, deprecate a bunch of functions that are now handled
645 by GstControlSource or GstInterpolationControlSource.
646 Make it possible to disable the controller completely or only for
647 specific properties. Fixes #450711.
648 * docs/libs/gstreamer-libs-docs.sgml:
649 * docs/libs/gstreamer-libs-sections.txt:
650 * docs/libs/gstreamer-libs.types:
651 Add new functions and classes to the docs.
652 * tests/check/libs/controller.c: (GST_START_TEST),
653 (gst_controller_suite):
654 * tests/examples/controller/audio-example.c: (main):
655 Port unit test and example to the new API and add some new
658 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
660 Patch by: Mark Nauwelaerts <manauw at skynet be>
662 * plugins/elements/gstmultiqueue.c:
663 (gst_multi_queue_get_internal_links), (apply_buffer),
664 (single_queue_overrun_cb), (gst_single_queue_new):
665 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
666 the pipeline layout can be tracked correctly. Fixes #453732.
668 2007-07-05 Stefan Kost <ensonic@users.sf.net>
670 * docs/gst/Makefile.am:
671 * docs/libs/Makefile.am:
672 * docs/plugins/Makefile.am:
673 Simplify --extra-dir as gtkdoc scans recursively.
675 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
677 * tools/gst-launch.c: (main):
678 When we got an error, there is no point in waiting for preroll when
681 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
683 * plugins/elements/gsttee.c: (gst_tee_base_init),
684 (gst_tee_request_new_pad), (gst_tee_release_pad),
685 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
686 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
688 Be a lot smarter when deciding what srcpad to use for proxying
689 the buffer_alloc. Also handle pad added/removed when doing so.
691 Keep track of what pads we already pushed on in case we have pads
692 added/removed while pushing. Fixes #374639
694 * tests/check/Makefile.am:
695 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
697 Added unit test for pad resync.
699 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
703 Updated translations.
705 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
707 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
711 Added new Finnish translation.
713 2007-06-28 Wim Taymans <wim@fluendo.com>
715 * plugins/elements/gstmultiqueue.c: (apply_buffer),
716 (single_queue_overrun_cb):
717 When figuring out when a queue is filled, use our internal time estimate
718 based on segments, just like check_full does.
720 2007-06-27 Stefan Kost <ensonic@users.sf.net>
722 * gst/gstminiobject.c: (gst_mini_object_get_type):
723 Remove 3 do-nothing methods.
725 2007-06-27 Wim Taymans <wim@fluendo.com>
727 Patch by: Tim Angus <tim at ngus dot net>
729 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
730 (gst_capsfilter_set_property):
731 Take a reference instead of a copy when setting "caps".
732 Fix documentation to clarify this behaviour. Fixes #449414.
734 2007-06-27 Stefan Kost <ensonic@users.sf.net>
736 * gst/gstindexfactory.c: (gst_index_factory_get_type):
737 * gst/gstplugin.c: (gst_plugin_init):
738 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
739 * gst/gstquery.c: (gst_query_get_type):
740 * gst/gstregistry.c: (gst_registry_init):
741 * gst/gsturi.c: (gst_uri_handler_base_init):
742 Remove empty instance_init() functions to save relocs and lessen the
743 noise. Remove some of the function prototypes that are doubled by
746 2007-06-27 Wim Taymans <wim@fluendo.com>
748 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
750 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
751 Add peer and direction in the XML serialisation of ghostpads.
754 2007-06-26 Stefan Kost <ensonic@users.sf.net>
757 Preserve useful information, thanks Tim.
759 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
761 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
762 (gst_single_queue_flush), (apply_segment), (apply_buffer),
763 (gst_single_queue_push_one), (gst_multi_queue_loop),
764 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
765 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
766 (compute_high_id), (gst_single_queue_new):
767 * plugins/elements/gstmultiqueue.h:
768 Take the multiqueue lock when updating the fill level so we don't get
771 After applying a buffer or event on the src pad segment, make sure to
772 call gst_data_queue_limits_changed() to get the data queue to unblock
773 and check the filled state again.
775 Rework the not-linked pad handling so the logic is that not-linked
776 pads can push as fast as they like, but only so they never get
777 ahead of any linked pads.
779 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
780 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
781 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
783 Add a test to check that not-linked pads always stay behind
788 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
790 * docs/random/release:
791 Some updates to the release procedure.
793 2007-06-26 Stefan Kost <ensonic@users.sf.net>
795 * gst/gstelementfactory.c: (__gst_element_details_clear):
796 Microoptimization that saves stunning 80 bytes.
798 2007-06-25 Stefan Kost <ensonic@users.sf.net>
800 * docs/plugins/gstreamer-plugins.args:
801 * docs/plugins/inspect/plugin-coreelements.xml:
802 * docs/plugins/inspect/plugin-coreindexers.xml:
803 Update docs with caps info.
805 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
808 Updated Italian translation.
810 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
814 Update Vietnamese translations.
816 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
818 * libs/gst/base/gstbasesink.c:
819 Remove unused signal enum.
821 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
823 * docs/gst/gstreamer-sections.txt:
825 * gst/gstutils.c: (gst_type_register_static_full):
826 Beef up and include the docs for gst_type_register_static_full and
827 gst_element_class_set_details_simple and add the API keyword
830 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
832 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
833 (update_time_level), (gst_single_queue_push_one),
834 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
835 (single_queue_overrun_cb), (single_queue_underrun_cb),
836 (single_queue_check_full):
837 Fix setting max-* properties after adding queues.
838 Use IS_FILLED for checking visible items.
839 Signal overrun if multiple queues overrun.
840 Add extra debug output.
841 Patch by: Wim Taymans <wim@fluendo.com>
843 2007-06-21 Stefan Kost <ensonic@users.sf.net>
845 * gst/gstelement.c: (gst_element_class_set_details_simple):
847 * gst/gstutils.c: (gst_type_register_static_full):
849 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
850 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
851 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
852 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
853 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
854 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
855 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
856 * plugins/elements/gstidentity.c: (gst_identity_base_init):
857 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
858 * plugins/elements/gstqueue.c: (gst_queue_base_init),
859 (apply_buffer), (gst_queue_chain):
860 * plugins/elements/gsttee.c: (gst_tee_base_init):
861 * plugins/elements/gsttypefindelement.c:
862 (gst_type_find_element_base_init),
863 (gst_type_find_element_class_init):
864 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
865 API: add gst_type_register_static_full
866 API: add gst_element_class_set_details_simple
868 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
870 * docs/pwg/advanced-types.xml:
871 Fix typo in iana.org URI.
873 2007-06-19 Andy Wingo <wingo@pobox.com>
875 * tests/check/pipelines/simple-launch-lines.c
876 (test_state_change_returns): Enable pull-mode tests now that
877 basesink has been fixed.
879 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
880 Changed from gst_base_sink_is_prerolled, reversing the sense of
881 the return value. Returns FALSE also if the sink is in pull mode,
882 in which case it needs no preroll.
883 (gst_base_sink_query, gst_base_sink_change_state): Update for
884 needs_preroll change.
885 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
886 chaining up, in which we return SUCCESS directly if we activated
887 in pull mode instead of ASYNC. Involves countering an async_start
888 message sent before chaining up; not sure if this is correct, in
889 an ideal world we only send async-start when activating in push
892 * tests/check/pipelines/simple-launch-lines.c
893 (test_state_change_returns): New test, partially disabled until
896 2007-06-19 Wim Taymans <wim@fluendo.com>
898 * plugins/elements/gstmultiqueue.c: (apply_buffer),
899 (gst_multi_queue_sink_event):
902 2007-06-19 Wim Taymans <wim@fluendo.com>
904 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
905 (gst_bin_change_state_func), (bin_push_state_continue),
906 (bin_handle_async_start), (bin_handle_async_done),
907 (gst_bin_handle_message_func):
908 Move the common code for posting state-change messages into
910 Broadcast the state signal after we posted the messages.
911 Mark the bin as busy when it's doing a state-change.
912 Make sure async-start/done messages don't interfere with the bin's
913 state when it's busy.
914 After the state change, let the bin check which elements completed the
915 state change while it was busy so that it can update its state.
917 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
919 * docs/random/release:
920 Add a note about updating the doap file to the release checklist
922 2007-06-18 Wim Taymans <wim@fluendo.com>
924 * plugins/elements/gstmultiqueue.c: (apply_buffer),
925 (gst_single_queue_push_one), (gst_multi_queue_chain),
926 (gst_multi_queue_sink_event):
927 Make sure we don't reference the buffer/event after we have given away
928 ownership in the queue.
930 2007-06-18 Wim Taymans <wim@fluendo.com>
932 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
933 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
934 Update queue state _after_ adding the item in the queue because else we
935 could end up being full without the element added yet.
937 2007-06-18 Wim Taymans <wim@fluendo.com>
939 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
940 (gst_bin_remove_func), (gst_bin_get_state_func),
941 (gst_bin_element_set_state), (gst_bin_continue_func),
942 (bin_push_state_continue), (bin_handle_async_start),
943 (bin_handle_async_done), (gst_bin_handle_message_func):
945 Immediatly commit the toplevel bin state when receiving an async-done
946 message. This enables us to avoid spawning a thread to commit the state
947 in some common cases and it also avoids some races.
948 Avoid spawning a state thread when adding/removing async elements to a
949 toplevel bin. Instead we immediatly update the bin state.
950 Get rid of iterating all the children when getting the state in the bin
951 because it is now always up-to-date.
952 Fix bug where locked elements would always return _SUCCESS even it they
953 returned NO_PREROLL before being locked.
954 Fix the order of the state_change, async-start/done messages that was
956 Mark the state_dirty field as deprecated, we don't need it anymore as we
957 are always up-to-date.
959 * gst/gstelement.c: (gst_element_get_state_func),
960 (gst_element_continue_state):
961 Small debug inprovements.
962 Return the previous element state return when nothing is pending instead
963 of blindly returning SUCCESS.
965 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
967 Add a whole bunch of new testcases.
969 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
975 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
978 Fix typo in the docs.
980 2007-06-15 Wim Taymans <wim@fluendo.com>
982 * docs/libs/gstreamer-libs-sections.txt:
983 Add docs for new methods.
985 2007-06-15 Wim Taymans <wim@fluendo.com>
987 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
988 (gst_multi_queue_item_new):
989 Don't use GSlice because we don't depend on >= 2.10 yet.
991 2007-06-15 Wim Taymans <wim@fluendo.com>
993 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
994 (update_time_level), (apply_segment), (apply_buffer),
995 (gst_single_queue_push_one), (gst_multi_queue_item_new),
996 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
997 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
998 (single_queue_underrun_cb), (single_queue_check_full):
1001 2007-06-15 Wim Taymans <wim@fluendo.com>
1003 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
1004 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
1005 (gst_data_queue_set_flushing), (gst_data_queue_push),
1006 (gst_data_queue_pop), (gst_data_queue_drop_head),
1007 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
1008 * libs/gst/base/gstdataqueue.h:
1010 Added methods to get the current levels and to inform the queue that the
1011 'full' limits changed.
1013 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1014 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
1015 (gst_single_queue_flush), (update_time_level), (apply_segment),
1016 (apply_buffer), (gst_single_queue_push_one),
1017 (gst_multi_queue_item_steal_object),
1018 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
1019 (gst_multi_queue_loop), (gst_multi_queue_chain),
1020 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1021 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
1022 (gst_multi_queue_src_query), (single_queue_overrun_cb),
1023 (single_queue_underrun_cb), (single_queue_check_full),
1024 (gst_single_queue_new):
1025 Keep track of time in the queue by measuring the difference between
1026 running_time on input and output. This gives more accurate results and
1027 can compensate for segments correctly.
1028 Make a queue by default only 5 buffers deep. We will now increase the
1029 buffer size depending on the filledness of the other queues.
1030 Factor out commong flush code.
1031 Make sure we don't add additional refcounts to buffers when we can avoid
1033 Propagate GstFlowReturn differently.
1034 Use GSlice for intermediate GstMultiQueueItems.
1036 Resize queues on over and underruns based on filled level of other
1038 When checking if the queue is filled, prefer to measure in time if we
1039 can and fall back to bytes when no time is known.
1041 * plugins/elements/gstqueue.c:
1044 2007-06-15 Wim Taymans <wim@fluendo.com>
1046 * libs/gst/base/gstbasetransform.c:
1047 (gst_base_transform_sink_event):
1048 Work around the brokenness of the event vmethod in basetransform. Prefer
1049 to return TRUE when the subclass returned FALSE (meaning don't forward
1052 * libs/gst/base/gstbasetransform.h:
1055 2007-06-15 Wim Taymans <wim@fluendo.com>
1057 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
1058 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1059 (gst_base_src_default_query), (gst_base_src_get_range),
1060 (gst_base_src_start):
1061 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
1064 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1066 * docs/pwg/advanced-types.xml:
1067 Added more formats to caps table.
1069 2007-06-15 Stefan Kost <ensonic@users.sf.net>
1071 * tools/gst-launch.c: (main):
1072 Remove crufy code. GOption does not need this workaround.
1074 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1076 * libs/gst/controller/gstcontroller.c:
1077 (gst_controlled_property_set_interpolation_mode):
1078 Fix wrong getter for enums in controller.
1080 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1082 * libs/gst/check/gstcheck.c: (gst_check_init):
1083 Intercept criticals and warnings in the Gst-Phonon log domain, so
1084 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
1087 2007-06-14 Edward Hervey <edward@fluendo.com>
1089 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
1090 Since this file doesn't include "gst.h" it will not go through the
1091 macros that disable GST_LOG if debugging was disabled.
1093 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1095 * libs/gst/check/Makefile.am:
1096 * libs/gst/check/gstcheck.h:
1097 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1098 * pkgconfig/gstreamer-check.pc.in:
1099 Ugly 'fix' for the controller unit test on the p5 bot: in
1100 fail_unless_equals_float() check whether the values are 'almost
1101 equal' by allowing a small absolute error, which should be good
1102 enough for our use cases (normal numbers and values close to 0).
1103 Proper fixage left to floating point arithmetic aficionados.
1105 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1107 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
1108 (gst_base_sink_render_object), (gst_base_sink_get_position):
1109 Add two breaks thats where missing.
1111 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1113 * docs/libs/gstreamer-libs-sections.txt:
1114 * libs/gst/check/gstcheck.h:
1115 API: add fail_unless_equals_float() and assert_equals_float().
1116 Add documentation for some of the macros.
1118 * tests/check/libs/controller.c: (GST_START_TEST):
1119 Use newly-added asserts.
1121 2007-06-14 Stefan Kost <ensonic@users.sf.net>
1123 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
1124 Show the caps change in the log to help spotting the case of not
1125 exactly matching caps.
1127 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
1129 * docs/pwg/building-boiler.xml:
1130 Fix typos, spotted by Thijs Vermeir (#447190).
1132 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1134 * docs/plugins/tmpl/.cvsignore:
1135 Ignore file to keep the buildbots happy
1137 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
1139 * docs/plugins/Makefile.am:
1140 * docs/plugins/gstreamer-plugins-docs.sgml:
1141 * docs/plugins/gstreamer-plugins-sections.txt:
1142 Pull fdsink into the docs too.
1144 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
1146 * libs/gst/controller/gstinterpolation.c:
1147 Actually use the new functions with min/max checks for the trigger and
1148 none interpolation modes for get() and get_value_array() instead of
1151 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
1153 * libs/gst/controller/gstcontroller.c:
1154 (gst_controlled_property_free):
1155 Unset the minimum and maximum GValues when freeing the corresponding
1156 GstControllerProperty struct.
1158 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
1160 * libs/gst/controller/gstcontroller.c:
1161 (gst_controlled_property_new):
1162 * libs/gst/controller/gstcontrollerprivate.h:
1163 * libs/gst/controller/gstinterpolation.c:
1164 (gst_controlled_property_find_control_point_node),
1165 (interpolate_none_get), (interpolate_none_get_enum_value_array),
1166 (interpolate_none_get_string_value_array),
1167 (interpolate_trigger_get),
1168 (interpolate_trigger_get_enum_value_array),
1169 (interpolate_trigger_get_string_value_array):
1170 Protect against values larger or smaller than the minimum or maximum
1171 allowed value for the property when using values that can be compared.
1173 Optimize trigger interpolator a bit by taking the last requested value
1174 into account instead of always looping through the complete list.
1176 Fix coding style a bit, everywhere else we use "return foo" instead
1179 * tests/check/libs/controller.c: (GST_START_TEST),
1180 (gst_controller_suite):
1181 Add unit test for the protection against too large or too small
1184 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
1186 * docs/random/slomo/controller.txt:
1187 Add some thoughts about the future of the controller.
1189 2007-06-08 Wim Taymans <wim@fluendo.com>
1191 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1192 Don't overflow in retimestamping code.
1194 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
1196 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
1197 Use gst_util_guint64_to_gdouble for conversions.
1198 * win32/common/libgstreamer.def:
1199 Add new exported functions.
1201 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
1204 Small docs addition.
1206 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1209 Remove that test line again.
1211 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1214 Test commit mail sending.
1216 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1219 Fix typo and test commit mail sending.
1221 2007-06-07 Stefan Kost <ensonic@users.sf.net>
1223 * tests/examples/controller/audio-example.c:
1224 Improve comment and test commit mail sending.
1226 2007-06-07 Wim Taymans <wim@fluendo.com>
1228 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
1229 (gst_bin_remove_func), (gst_bin_element_set_state),
1230 (bin_handle_async_start), (bin_handle_async_done),
1231 (gst_bin_handle_message_func):
1232 Add helper function to find messages.
1233 Generate the async-done messages together with the state change
1235 Small cleanups in handling toplevel bins.
1237 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1239 * libs/gst/base/gstdataqueue.c:
1240 * libs/gst/base/gstdataqueue.h:
1241 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1242 (gst_multi_queue_item_new), (gst_multi_queue_chain),
1243 (gst_multi_queue_sink_event):
1244 * tests/check/elements/multiqueue.c: (multiqueue_suite):
1245 Fix multiqueue leaking buffers and events when downstream or the
1246 queue are flushing. Make refcounting assumptions explicit and
1247 document them (shouldn't break existing code that uses it other than
1248 maybe leak miniobjects, but that already happens anyway). Add unit
1249 test for the most common flushing case. Fixes #423700.
1251 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1253 * libs/gst/controller/gstcontroller.c:
1254 Clarify docs: The get_all, get_value_array(s) functions
1255 don't modify the GObject properties.
1257 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1259 * libs/gst/controller/gstcontroller.c:
1260 (gst_controlled_property_set_interpolation_mode),
1261 (gst_controlled_property_prepend_default),
1262 (gst_controlled_property_new), (gst_controller_set_unlocked),
1263 (gst_controller_set), (gst_controller_set_from_list),
1264 (gst_controller_unset), (gst_controller_unset_all):
1265 * libs/gst/controller/gstcontrollerprivate.h:
1266 * libs/gst/controller/gstinterpolation.c:
1267 Factor out the 'set' logic into gst_controller_set_unlocked for the
1268 gst_controller_set and gst_controller_set_from_list functions.
1270 To make life of the interpolators easier always add a control point
1271 at timestamp zero with the default value.
1273 In the linear interpolator make things more obvious by better variable
1276 Implement cubic interpolation mode (by using a natural cubic spline)
1277 and map the quadratic interpolation mode to this too (as quadratic
1278 doesn't make much sense, see discussion on the list).
1280 * tests/check/libs/controller.c: (GST_START_TEST),
1281 (gst_controller_suite):
1282 Add unit test for the cubic interpolation mode and check everywhere
1283 if the interpolation mode could be set as expected.
1285 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1287 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1288 Don't use GLib-2.10 functions, we still depend on
1289 GLib-how-old-is-it-again-2.8.
1291 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1293 * docs/gst/gstreamer-sections.txt:
1297 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1298 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1299 (_gst_param_fraction_values_cmp),
1300 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1301 * gst/gstparamspecs.h:
1303 * tests/check/Makefile.am:
1304 * tests/check/gst/.cvsignore:
1305 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1306 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1307 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1308 (GST_START_TEST), (gst_param_spec_suite):
1309 API: add GstParamSpecFraction, so elements can have fraction
1310 properties without lots of painful string parsing (#444648).
1312 2007-06-05 Wim Taymans <wim@fluendo.com>
1314 * gst/gstobject.c: (gst_object_class_init):
1315 Fix signal signature.
1318 Add small clarification in the api docs.
1320 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1321 States are protected with object lock.
1323 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1326 I should probably be listed as an author by now.
1328 * docs/random/release:
1329 Update the release doc
1331 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1334 Make docs for gst_value_compare() mention return enums that
1337 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1342 === release 0.10.13 ===
1344 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1347 releasing 0.10.13, "With or without you"
1349 2007-05-25 Wim Taymans <wim@fluendo.com>
1351 * gst/gstbin.c: (bin_handle_async_done):
1352 Make sure that the child bin stops after completing the async state
1353 change so that the parent can continue the state change to PLAYING.
1356 2007-05-25 Wim Taymans <wim@fluendo.com>
1358 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1359 (unref_data), (gst_collect_pads_remove_pad),
1360 (gst_collect_pads_check_pads):
1361 Use additional refcounting to avoid crashes when dynamically adding and
1362 removing pads. Fixes #420206.
1364 2007-05-24 Wim Taymans <wim@fluendo.com>
1366 * tools/gst-launch.c: (event_loop):
1367 When buffering goes from a two digit to a single digit number, make sure
1368 to remove the old second digit by writing a blank over it.
1370 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1372 * libs/gst/base/gstdataqueue.c:
1373 Eliminate tabs and trailing comma in enum list; fix some typos.
1375 2007-05-24 Wim Taymans <wim@fluendo.com>
1377 * tests/check/gst/gstbin.c: (GST_START_TEST):
1378 Allow refcount of 3 and 4 because some state thread might still be busy
1381 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1383 * plugins/elements/Makefile.am:
1384 * plugins/elements/gstmultiqueue.h:
1385 * plugins/elements/gstqueue.h:
1386 These are not installed headers, no need for padding.
1388 2007-05-24 Wim Taymans <wim@fluendo.com>
1390 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1391 (gst_bin_continue_func):
1392 Enable latency for next release.
1393 Restore STATE_LOCK around recalc_state that was left out during the
1394 rewrite and could result in racy behaviour when _get_state and
1395 recalc_state are run concurrently. See #440463.
1397 2007-05-23 Wim Taymans <wim@fluendo.com>
1399 * tests/check/gst/gstsystemclock.c: (store_callback),
1401 Improve test_async_order to also work when both timers are already
1402 expired when we get scheduled to check it.
1404 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1406 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1407 (gst_bin_set_property), (gst_bin_get_property),
1408 (gst_bin_remove_func), (gst_bin_handle_message_func):
1410 'private' is a c++ keyword, let's not use that in header files,
1411 otherwise c++ compilers will throw a tantrum.
1413 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1415 * plugins/elements/gstelements.c:
1416 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1417 (gst_file_sink_get_current_offset):
1418 * plugins/indexers/gstindexers.c: (plugin_init):
1419 Use #ifdef for HAVE_XYZ for consistency.
1421 * tests/check/Makefile.am:
1422 * tests/check/elements/.cvsignore:
1423 * tests/check/elements/filesink.c: (setup_filesink),
1424 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1425 Add some unit tests for filesink.
1427 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1429 Patch by: Mark Nauwelaerts <manauw at skynet be>
1431 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1432 (gst_file_sink_query), (gst_file_sink_do_seek),
1433 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1434 * plugins/elements/gstfilesink.h:
1435 Fix position reporting; rename data_written member to current_pos to
1436 reflect its real meaning (fixes #412648).
1438 2007-05-22 Edward Hervey <edward@fluendo.com>
1440 * docs/gst/gstreamer-sections.txt:
1441 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1442 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1443 (gst_bin_remove_func), (gst_bin_handle_message_func):
1445 Add a property for bins that handle the state change of their childs.
1448 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1450 * libs/gst/controller/gstinterpolation.c:
1451 Use an array of the correct type when using _get_value_array with
1452 linear interpolation.
1454 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1456 * gst/gstelement.c (gst_element_requires_clock,
1457 gst_element_provides_clock, gst_element_request_pad,
1458 gst_element_class_set_details, gst_element_class_set_details_simple,
1459 gst_element_default_send_event, gst_element_abort_state,
1460 gst_element_continue_state, gst_element_set_state,
1461 gst_element_set_state_func, iterator_activate_fold_with_resync):
1462 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1463 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1464 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1465 gst_pad_get_range, gst_pad_pull_range):
1466 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1467 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1468 GstPadActivateModeFunction, GstPadChainFunction,
1469 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1470 GstPadFixateCapsFunction, GstPadTemplate):
1471 * gst/gstpipeline.c (gst_pipeline_change_state,
1472 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1473 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1474 gst_pipeline_get_delay):
1475 Whitespace and docs fixes.
1477 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1479 * libs/gst/controller/gstinterpolation.c:
1480 (interpolate_trigger_get_enum_value_array),
1481 (interpolate_trigger_get_string_value_array):
1482 Add support for retrieving value arrays when using the trigger
1485 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1487 * libs/gst/controller/gstcontroller.c:
1488 (gst_controller_get_value_array):
1489 * libs/gst/controller/gstcontroller.h:
1490 Clarify the docs of gst_controller_get_value_array(): The array where
1491 the values should be written to must be allocated as there seems to be
1492 no way to get the size of a random GType. This doesn't change any
1493 behaviour. Also fix some typos all over the place and remove an unused,
1494 commented function that is not necessary as g_object_set() could be
1496 * tests/check/libs/controller.c: (GST_START_TEST),
1497 (gst_controller_suite):
1498 Add unit test for gst_controller_get_value_array().
1500 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1502 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1504 Disable part of the gst_buffer_try_new_and_alloc test, because
1505 it can happily succeed on 64-bit systems where there's more address
1508 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1510 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1511 Add unit test for the improved caps checking from bug #421543.
1513 2007-05-21 Wim Taymans <wim@fluendo.com>
1515 * docs/design/part-synchronisation.txt:
1518 * gst/gstbin.c: (gst_bin_query):
1519 * plugins/elements/gstqueue.c: (apply_segment):
1525 2007-05-21 Wim Taymans <wim@fluendo.com>
1527 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1528 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1529 (gst_pad_configure_src):
1530 Added simple version of improved caps checking. It was previously
1531 assumed that a setcaps function would check the validity of the caps but
1532 people prefer us to check caps against the template automatically.
1535 2007-05-21 Wim Taymans <wim@fluendo.com>
1537 * libs/gst/base/gstbasetransform.h:
1538 Fix macro for locking/unlocking the transform lock.
1540 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1542 * docs/plugins/tmpl/.cvsignore:
1545 2007-05-18 Edward Hervey <edward@fluendo.com>
1547 * plugins/elements/gstqueue.c: (gst_queue_loop):
1548 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1549 for the subtle art of warning a potentially blocking thread that it
1550 should check the source pad return value, and relay the information
1553 2007-05-18 Edward Hervey <edward@fluendo.com>
1555 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1556 Release the queue lock !
1558 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1560 * docs/libs/gstreamer-libs-sections.txt:
1561 Add the two new controller functions to the appropiate places.
1563 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1565 reviewed by: Stefan Kost <ensonic@users.sf.net>
1567 * libs/gst/controller/gstcontroller.c:
1568 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1569 (_gst_controller_get_property), (_gst_controller_set_property),
1570 (_gst_controller_init), (_gst_controller_class_init):
1571 * libs/gst/controller/gstcontroller.h:
1572 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1573 (gst_object_get_control_rate), (gst_object_set_control_rate):
1574 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1575 Add API that provides sync suggestion timestamps for elements that
1576 call gst_object_sync_values() from which those elements can subdivide
1577 their processing loop to get the best results for the controlled
1578 properties. For now it just suggests last_sync + control_rate as
1579 new timestamp but this will be improved in the future.
1581 While doing that change the control-rate property to a GstClockTime
1582 from guint and change it's meaning from samples to nanoseconds as
1583 the GstController doesn't know anything about sampling rate. Strictly
1584 speaking this breaks ABI but as the control-rate property didn't do
1585 anything in the past and as such couldn't be used this should be no
1588 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1590 reviewed by: Stefan Kost <ensonic@users.sf.net>
1592 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1593 (gst_controller_unset_all):
1594 * libs/gst/controller/gstcontrollerprivate.h:
1595 * libs/gst/controller/gstinterpolation.c:
1596 (gst_controlled_property_find_control_point_node):
1597 Save last synced value from the list to continue searching from there
1598 in future syncs. This speeds everything up a bit.
1600 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1602 reviewed by: Stefan Kost <ensonic@users.sf.net>
1604 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1605 (gst_control_point_find), (gst_controlled_property_new),
1606 (gst_control_point_free), (gst_controlled_property_free),
1607 (gst_controller_set), (gst_controller_set_from_list),
1608 (gst_controller_unset), (gst_controller_unset_all),
1609 (gst_controller_sync_values):
1610 * libs/gst/controller/gstcontroller.h:
1611 * libs/gst/controller/gstcontrollerprivate.h:
1612 * libs/gst/controller/gstinterpolation.c:
1613 (gst_controlled_property_find_control_point_node),
1614 (interpolate_none_get), (interpolate_trigger_get):
1615 Add a new private GstControlPoint struct which "inherits" from
1616 GstTimedValue to allow different interpolators to store internal
1617 values next to each control point. From the outside everything is
1618 still a GstControlPoint so we don't loose binary compatibility.
1619 Also fixup all the GValue handling to not leak GValues or list nodes.
1620 * tests/check/libs/controller.c: (GST_START_TEST):
1621 Free the list nodes and GValues in the controller_misc test.
1623 2007-05-17 Edward Hervey <edward@fluendo.com>
1628 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1630 * gst/gstplugin.c: (gst_plugin_load_file):
1631 If we fail to load a plugin because of unresolved symbols or missing
1632 libraries and spew a warning to stderr, we may just as well mention
1633 which plugin it was that failed to load.
1635 2007-05-13 David Schleef <ds@schleef.org>
1637 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1638 handles the case when ENABLE_GTK_DOC is false, and installs
1639 the prebuilt documentation. So gtk-doc subdirs are
1640 unconditionally enabled. Fixes: #349099.
1642 2007-05-13 David Schleef <ds@schleef.org>
1644 * gst/gstutils.h: Reword some documentation.
1646 2007-05-12 David Schleef <ds@schleef.org>
1648 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1649 do anything with the passed "module" parameter, so remove it.
1650 Allows removal of additional vestigal code.
1652 2007-05-12 David Schleef <ds@schleef.org>
1655 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1656 Switch to using g_stat() because it's more portable.
1658 2007-05-12 David Schleef <ds@schleef.org>
1661 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1662 parsing for embedded systems.
1663 * gst/gstelementfactory.c:
1664 Allow gst_element_register() to be called with plugin==NULL.
1665 Did nobody notice that static elements were broken?
1667 2007-05-12 Wim Taymans <wim@fluendo.com>
1669 * tools/gst-launch.c: (event_loop):
1670 Give more interesting info when buffering starts and stops.
1671 Fix case where buffering starts but we fail to update the buffering flag
1672 because the target state is not PLAYING.
1674 2007-05-12 Wim Taymans <wim@fluendo.com>
1676 * plugins/elements/gstqueue.c: (gst_queue_init),
1677 (gst_queue_finalize), (update_time_level), (apply_segment),
1678 (apply_buffer), (gst_queue_locked_flush),
1679 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1680 (gst_queue_handle_sink_event), (gst_queue_chain),
1681 (gst_queue_push_one), (gst_queue_loop):
1682 * plugins/elements/gstqueue.h:
1683 Refactor an cleanup queue a bit.
1684 Do better time level calculations that also work when the srcpad is not
1686 Remove some unneeded debug lines.
1688 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1689 Added testcase for time level measurement.
1690 Try to make some stuff more racefree.
1692 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1694 * gst/gsturi.c: (gst_element_make_from_uri):
1695 Don't leak plugin feature.
1697 * tests/check/Makefile.am:
1698 * tests/check/gst/.cvsignore:
1699 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1700 Add brain-dead unit test.
1702 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1704 Patch by: Jeroen Wouters <woutersj at gmail com>
1706 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1707 Treat protocol strings in a case-insensitive way (#437563).
1709 2007-05-11 Michael Smith <msmith@fluendo.com>
1711 * gst/gstplugin.c: (gst_plugin_load_file):
1712 * gst/gstregistry.c: (gst_registry_scan_path_level):
1713 Don't print a g_warning for any failure to load a shared object.
1714 Instead, push this down into gstplugin.c, and warn _only_ if we
1715 failed to open the module (i.e. failure to link).
1716 Avoids warnings on normal, working, non-plugin .so files.
1718 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1720 * gst/gstplugin.c (gst_plugin_load_file):
1721 * gst/gstregistry.c (GST_CAT_DEFAULT,
1722 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1723 Print a g_warning if there was an error when loading a plugins during
1724 registry scan. The shuld help beginners starting with gst-plugin
1727 2007-05-10 Wim Taymans <wim@fluendo.com>
1729 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1730 (update_time_level), (gst_queue_locked_flush),
1731 (gst_queue_handle_sink_event), (gst_queue_chain),
1732 (gst_queue_push_one), (gst_queue_loop):
1733 * plugins/elements/gstqueue.h:
1734 Be smarter when calculating the current amount of data in the queue by
1735 measuring the difference between start and end timestamps (in running
1736 time) inside the queue. Fixes #432876.
1737 API: GstQueue::pushing to notify elements that we are pushing data again
1738 since the running signal is rather broken for this purpose.
1740 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1742 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1743 gst_queue_base_init, gst_queue_init):
1746 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1748 * win32/common/libgstreamer.def:
1749 Add new exported functions.
1750 * win32/vs6/grammar.dsp:
1751 Use grammar pre-generated files.
1753 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1755 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1758 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1760 * gst/gstutils.c: (gst_parse_bin_from_description):
1762 Maintain API and ABI when --disable-parse is used. Now that
1763 we have an appropriate error code, we can just return NULL and the
1764 appropriate error when gst_parse_launch() is used despite it having
1765 been disabled (#342564).
1767 * tests/check/Makefile.am:
1768 * tests/check/pipelines/.cvsignore:
1769 * tests/check/pipelines/parse-disabled.c:
1770 Make sure these functions exist and return NULL plus a GError when
1771 --disable-parse is used.
1773 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1775 * tests/benchmarks/complexity.c: (main):
1776 * tests/benchmarks/mass-elements.c: (main):
1777 Set a good example and don't leak messages.
1779 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1781 * docs/gst/Makefile.am:
1782 * docs/libs/Makefile.am:
1783 Correct fixxrefs options.
1785 * docs/plugins/Makefile.am:
1786 * docs/plugins/gstreamer-plugins-docs.sgml:
1787 * docs/plugins/gstreamer-plugins-sections.txt:
1788 * plugins/elements/Makefile.am:
1789 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1790 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1791 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1792 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1793 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1794 _GstCapsFilterClass, trans_class):
1795 * plugins/elements/gstelements.c (name, rank, type, _elements):
1796 * plugins/elements/gstidentity.c
1797 (gst_identity_check_imperfect_timestamp,
1798 gst_identity_check_imperfect_offset):
1799 Document capsfilter and add doc-blurb to identity.
1801 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1803 * libs/gst/controller/gstcontroller.c:
1804 (gst_controlled_property_set_interpolation_mode):
1805 * libs/gst/controller/gstinterpolation.c:
1806 Don't crash if someone tries to set an interpolation mode that
1807 is invalid or that isn't supported yet. Fixes #422295.
1809 * tests/check/libs/controller.c: (GST_START_TEST),
1810 (gst_controller_suite):
1811 Add a test case for the above.
1813 2007-05-03 Edward Hervey <edward@fluendo.com>
1815 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1816 Properly set the last_stop position on GstSegment. This will only happen
1817 if there is a buffer to push out.
1819 2007-05-03 Wim Taymans <wim@fluendo.com>
1821 * libs/gst/base/gstbasetransform.c:
1822 (gst_base_transform_buffer_alloc):
1823 always_in_place does not mean that the sink and source caps are the
1824 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1826 2007-05-03 Wim Taymans <wim@fluendo.com>
1828 * docs/libs/gstreamer-libs-sections.txt:
1829 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1830 (gst_base_src_default_query), (gst_base_src_get_range):
1831 * libs/gst/base/gstbasesrc.h:
1832 API: gst_base_src_query_latency(). Added method so that subclasses can
1833 easily get the latency values of the base source class.
1835 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1837 * tools/gst-inspect.c (print_implementation_info):
1840 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1842 * tools/Makefile.am:
1843 * tools/gst-launch.1.in:
1844 Don't create a customised man page based on the host architecture,
1845 describe the default registry path generically. That way the man
1846 page is the same for all architectures and packagers have one
1847 multilib issue less to deal with. Fixes #434926.
1849 2007-05-02 Wim Taymans <wim@fluendo.com>
1852 Fix documentation as spotted by rg on IRC.
1854 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1857 Improve docs for gst_element_{link,unlink}.
1859 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1861 * docs/design/part-events.txt:
1862 * docs/design/part-overview.txt:
1866 * libs/gst/base/gstbasesink.c:
1867 Typo fixes; minor docs addition.
1869 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1871 * docs/gst/gstreamer-sections.txt:
1872 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1873 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1875 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1876 or src that supports a given URI protocol exists.
1878 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1880 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1881 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1882 Set the location to NULL if "file://" is set as URI. Otherwise
1883 some random previous URI would still be set if "file://" is
1884 set on an already used filesink/filesrc.
1886 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1888 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1889 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1890 Special case the "file://" URI as as this is used by some
1891 applications to test with gst_element_make_from_uri if there's
1892 an element that supports the URI protocol.
1893 Also move the g_path_is_absolute() check for the location part
1894 of the URI to also check this for "file://localhost/bla" URIs.
1896 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1898 * docs/gst/gstreamer-sections.txt:
1899 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1901 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1903 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1905 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1907 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1908 (gst_registry_binary_load_pad_template),
1909 (gst_registry_binary_load_plugin),
1910 (gst_registry_binary_read_cache):
1911 * gst/gstregistrybinary.h:
1912 Implement no-mmap alternative for registry reading. Do code cleanups.
1913 Add more comments about avoiding strdups for all text data. Comments
1916 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1918 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1919 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1920 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1921 Comment structs and reformat to fix the build (that stuff should go
1922 into a priv. header).
1924 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1926 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1927 (gst_registry_binary_load_feature):
1928 * gst/gstregistrybinary.h:
1929 Refactor so that we can implement multiple features. Add support for
1930 TypeFindFactory features.
1932 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1934 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1937 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1939 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1941 * gst/gstbin.c: (gst_bin_element_set_state),
1942 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1943 (bin_handle_async_done), (gst_bin_handle_message_func):
1944 Fix build with --gst-disable-gst-debug
1946 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1948 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1949 Make sure streaming has finished before calling the ::stop() vfunc,
1950 since that vfunc might clear state which is being used in the
1951 streaming thread. This fixes a race that caused crashes in
1952 audioresample when shutting down a pipeline (#420106).
1954 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1956 * docs/gst/gstreamer-sections.txt:
1957 That was one byte missing.
1959 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1962 * docs/gst/gstreamer-sections.txt:
1964 * gst/gstconfig.h.in:
1965 * gst/gstobject.c: (gst_object_class_init),
1966 (gst_signal_object_class_init):
1968 2nd attempt to have a xml-less build as a joined effort of #413123
1971 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1973 * docs/design/draft-tagreading.txt:
1974 Added open issues/thoughts to draft.
1976 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1978 * gst/parse/grammar.tab.pre.c:
1979 * gst/parse/grammar.tab.pre.h:
1980 * gst/parse/lex._gst_parse_yy.pre.c:
1981 Update the prebuild parser sources.
1983 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1985 * gst/parse/Makefile.am:
1986 And now fix the building of the flex sources. Now everything should
1989 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1991 * gst/parse/Makefile.am:
1992 Now hopefully fix the build failures by setting proper rule
1993 dependencies and moving instead of copying.
1995 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1997 * tests/benchmarks/complexity.gnuplot:
1998 * tests/benchmarks/complexity.scm:
1999 * tests/benchmarks/mass-elements.gnuplot:
2000 * tests/benchmarks/mass-elements.scm:
2001 Total licensification.
2003 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2005 * gst/parse/Makefile.am:
2006 Fix the build by correcting the rule that gave wrong files to flex.
2008 2007-04-19 Stefan Kost <ensonic@users.sf.net>
2010 * tests/benchmarks/complexity.c:
2011 * tests/benchmarks/mass-elements.c:
2012 Change licence to LGPL as granted by Benjamin and Andy.
2014 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2016 * gst/parse/Makefile.am:
2017 Add correct grammar.tab.h dependency if compiling without new enough
2018 flex. Fixes #431150.
2020 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2022 * gst/parse/Makefile.am:
2023 Fix typo and use outdated sources if the flex/bison sources are newer
2024 than the pregenerated ones but flex is too old. Print a warning in
2025 that case. This should fix the build on the build bot.
2027 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
2029 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
2030 * gst/parse/Makefile.am:
2031 * gst/parse/grammar.y:
2032 * gst/parse/parse.l:
2033 Make the parser reentrant and recursively callable. This requires flex
2034 >= 2.5.31, for older versions pregenerated sources are used as we
2035 can't bump the build dependency. Finally fixes #349180.
2037 * gst/gstparse.c: (gst_parse_launch):
2038 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
2041 * docs/gst/Makefile.am:
2042 * docs/gst/Makefile.am:
2043 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
2044 (__gst_parse_strfree), (__gst_parse_link_new),
2045 (__gst_parse_link_free), (__gst_parse_chain_new),
2046 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
2047 (gst_parse_element_set), (gst_parse_free_link),
2048 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
2049 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
2050 (_gst_parse_launch):
2051 * gst/parse/grammar.tab.pre.h:
2052 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
2053 (yy_get_previous_state), (yy_try_NUL_trans), (input),
2054 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
2055 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
2056 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
2057 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
2058 (_gst_parse_yypop_buffer_state),
2059 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
2060 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
2061 (yy_fatal_error), (_gst_parse_yyget_extra),
2062 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
2063 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
2064 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
2065 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
2066 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
2067 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
2068 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
2069 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
2070 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
2071 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
2072 (_gst_parse_yyfree):
2073 If the installed flex version is too old use pre-generated parser
2074 sources. These pre-generated parser sources are always updated when
2075 the actual flex/bison sources change but require everybody who wants
2076 to change something in the parser to have flex >= 2.5.31 installed.
2078 2007-04-18 Stefan Kost <ensonic@users.sf.net>
2080 * common/m4/gst-gettext.m4:
2081 * gst/gst-i18n-lib.h:
2082 Make --disable-nls to work
2084 2007-04-17 Wim Taymans <wim@fluendo.com>
2086 * gst/gstconfig.h.in:
2087 Revert previous change that broke the build.
2089 2007-04-17 Stefan Kost <ensonic@users.sf.net>
2093 * gst/gstconfig.h.in:
2094 Drop libxml2 dependency when building with
2095 --enable-binary-registry --disable-loadsave
2097 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
2099 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
2100 (gst_registry_binary_read_cache):
2101 * gst/gstregistrybinary.h:
2102 Remove unnecessary <sys/mman.h> include which broke the win32 build
2103 with MingW; move includes from header file to .c file, even if the
2104 header file isn't installed; use g_strerror() where UTF-8 strings
2105 are expected, such as in GST_DEBUG messages.
2107 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2109 * docs/libs/gstreamer-libs-sections.txt:
2110 Remove bogus addition for API I didn't end up keeping.
2112 * libs/gst/base/gstbasesrc.h:
2113 Mention Since: 0.10.13 in the documentation.
2115 Add the API keyword to the previous ChangeLog entry.
2117 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2119 * docs/libs/gstreamer-libs-sections.txt:
2120 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2121 (gst_base_src_default_prepare_seek_segment),
2122 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
2123 * libs/gst/base/gstbasesrc.h:
2124 Allow basesrc derived classes to execute seeks in other formats
2125 by providing a prepare_seek_segment vmethod. Sub-classes can choose
2126 to prepare the GstSegment in any format that their perform_seek method
2127 will be able to understand. The default implementation provides the
2128 old behaviour of attempting to convert the seek offsets to the
2129 configured native format.
2131 API: basesrc::prepare_seek_segment vmethod.
2133 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2135 * gst/gstelement.c: (gst_element_get_state_func):
2136 Don't output the same debug statement twice.
2138 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
2139 (gst_adapter_peek), (gst_adapter_take_buffer):
2140 Optimise the case where we have buffers at the head of the queue that
2141 can be joined quickly (because they're contiguous sub-buffers) by
2142 merging them together rather than copying data out into new memory.
2144 * gst/parse/grammar.y:
2145 * tests/check/pipelines/parse-launch.c:
2146 Fix a leak in an error path for parse_launch, and add a check
2147 for it to the testsuite.
2149 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
2151 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2152 Don't deadlock when releasing a pad - gst_pad_set_active may try
2153 and take the multiqueue lock too.
2155 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
2157 * gst/gsterror.c: (_gst_core_errors_init):
2159 API: add GST_CORE_ERROR_DISABLED (#392804).
2161 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
2163 * docs/faq/gst-uninstalled:
2164 don't get empty paths on the PATH variables
2165 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
2166 Don't format for the uncommon terminal width of 84 characters.
2168 2007-04-06 Wim Taymans <wim@fluendo.com>
2170 * gst/gstpipeline.c: (reset_stream_time),
2171 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
2172 Only try to select a different pipeline clock when we went back to
2173 PAUSED and not when we merely got flushed.
2175 2007-04-05 Michael Smith <msmith@fluendo.com>
2177 * tools/gst-launch.1.in:
2178 fractions are better supported in gstreamer than ractions, so
2179 suggest using those.
2181 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
2183 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
2187 Added Danish translation.
2189 2007-04-05 Wim Taymans <wim@fluendo.com>
2191 * libs/gst/base/gstbasesink.c:
2192 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
2193 Fix leak caused when refusing newsegment after EOS.
2195 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2196 (gst_fake_sink_init), (gst_fake_sink_set_property),
2197 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
2198 (gst_fake_sink_render), (gst_fake_sink_change_state):
2199 * plugins/elements/gstfakesink.h:
2200 Add num-buffers property to make the element generate EOS after a
2201 configurable amount of buffers.
2202 API: fakesink::num-buffers property.
2204 * tests/check/elements/fakesink.c: (GST_START_TEST),
2206 Fix GstBus leak in test.
2207 Test for fakesink num-buffers.
2209 2007-04-05 Wim Taymans <wim@fluendo.com>
2211 * libs/gst/base/gstbasesink.c:
2212 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2213 (gst_base_sink_change_state):
2214 Don't accept anything after an EOS, return UNEXPECTED instead.
2216 * tests/check/elements/fakesink.c: (GST_START_TEST),
2218 Unit test for new EOS behaviour.
2220 2007-04-05 Wim Taymans <wim@fluendo.com>
2222 * gst/gstelement.c: (gst_element_get_request_pad):
2223 Make padtemplates also work when they don't contain %s or %d.
2225 2007-04-05 Wim Taymans <wim@fluendo.com>
2227 * docs/gst/gstreamer-sections.txt:
2228 * gst/gstclock.c: (gst_clock_adjust_unlocked),
2229 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
2231 Improve _adjust_unlocked() so that it overflows less.
2232 Add gst_clock_unadjust_unlocked to convert from external time to
2233 internal time based on calibration.
2234 Add some more debug.
2235 API: GstClock::gst_clock_unadjust_unlocked()
2237 2007-04-03 Wim Taymans <wim@fluendo.com>
2239 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2241 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
2242 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
2243 when releasing sink pad. Fixes #425400.
2245 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2247 * docs/random/ensonic/dynlink.txt:
2248 More work on proposal for new core api.
2250 * docs/libs/gstreamer-libs-sections.txt:
2251 * libs/gst/base/gstbasetransform.h:
2252 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2254 * libs/gst/controller/gstcontroller.c:
2255 (on_object_controlled_property_changed),
2256 (gst_controller_sync_values),
2257 (gst_controller_set_interpolation_mode):
2258 * libs/gst/controller/gstcontroller.h:
2259 Less verbose logging add docs for unimplemented parts and correctly
2260 return when using unavailable parts.
2262 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2264 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2265 Move all the debug to the CLOCK category, and associate it with
2268 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2270 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2271 Make take_buffer a bit quicker by removing redundant checks
2272 caused by calling gst_adapter_take.
2274 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2276 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2279 * tests/check/Makefile.am:
2280 * tests/check/elements/.cvsignore:
2281 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2282 (GST_START_TEST), (multiqueue_suite):
2283 Add some dead simple unit tests for the 'multiqueue' element
2284 (some bits don't work yet and are disabled for now).
2286 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2288 * gst/gstelement.c: (gst_element_get_request_pad),
2289 (gst_element_class_get_request_pad_template):
2290 Make gst_element_get_request_pad() create request pads only for
2291 request pad templates and not for, say, sometimes pad templates.
2293 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2295 * docs/design/draft-klass.txt:
2296 Add example that needs more thinking.
2298 * docs/design/draft-missing-plugins.txt:
2299 More thoughts about wrapper plugins.
2301 * docs/random/ensonic/embedded.txt:
2302 * docs/random/ensonic/profiling.txt:
2305 2007-03-25 Wim Taymans <wim@fluendo.com>
2307 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2308 (gst_base_src_loop):
2309 Only push the segment events in the PLAYING state for live sources.
2311 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2313 * gst/gstpipeline.c: (gst_pipeline_change_state):
2314 Modify the clock distribution path in PAUSED->PLAYING so that we
2315 never attempt to choose a new clock unless we're actually leaving
2316 the PAUSED state for the first time. This prevents choosing a
2317 different clock when the state_change gets called for a 2nd time due
2318 to some element doing an async state change.
2320 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2322 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2323 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2324 (gst_pad_chain_unchecked), (gst_pad_push):
2325 Revert last commit. This needs some more thoughts.
2327 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2329 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2330 (gst_pad_chain_unchecked), (gst_pad_push):
2331 Check in set_caps if the caps are compatible with the pad and remove
2332 two functions that are redundant now. Fixes #421543.
2334 2007-03-22 Wim Taymans <wim@fluendo.com>
2336 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2337 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2338 Unref some more to make valgrind happy.
2340 2007-03-22 Wim Taymans <wim@fluendo.com>
2342 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2343 (gst_system_clock_id_wait_jitter),
2344 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2345 Fix anoying regression that survived a few releases. When adding an
2346 async entry while blocking on a sync entry, the sync entry will unblock
2347 but still be busy, so it should continue to wait instead of returning
2349 Add some comments here and there.
2351 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2352 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2353 Add testcase for this.
2355 2007-03-22 Wim Taymans <wim@fluendo.com>
2357 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2358 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2359 WRONG_STATE and can silently pause the task. All other cases should
2362 2007-03-22 Wim Taymans <wim@fluendo.com>
2364 Patch by: Ville Syrjala <syrjala at sci dot fi>
2366 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2367 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2370 2007-03-21 Michael Smith <msmith@fluendo.com>
2372 * docs/pwg/advanced-types.xml:
2373 Fix some errors in the typefinding docs pointed out on irc.
2375 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2377 * libs/gst/base/gstbasesrc.c:
2378 Clarify FIXME comment in the face of having added unlock_stop()
2380 2007-03-21 Wim Taymans <wim@fluendo.com>
2382 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2383 Prepare for release where we warn against possible app breakage in the
2384 case of live pipelines along with an env var to enable/disable live
2385 preroll mode (GST_COMPAT=[no-]live-preroll).
2387 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2389 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2390 So we should use correct constants for checking for None offset.
2392 2007-03-20 Wim Taymans <wim@fluendo.com>
2394 * docs/design/part-block.txt:
2395 Mention the fact that the newly switched element should be set to at
2398 2007-03-20 Wim Taymans <wim@fluendo.com>
2401 Fix compilation with registry disabled as spotted by Saur.
2403 2007-03-20 Wim Taymans <wim@fluendo.com>
2405 Patch by: Olivier Crete <tester at tester dot ca>
2407 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2408 Look at the pending state too when syncing the element state to the
2409 parent. Fixes #420133.
2411 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2413 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2414 (gst_base_sink_change_state):
2415 * libs/gst/base/gstbasesink.h:
2416 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2417 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2418 (gst_base_src_deactivate):
2419 * libs/gst/base/gstbasesrc.h:
2420 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2421 for sub-classes to correctly clear any state they set trying to
2422 unlock, such as clearing out unlock commands from a command fd.
2423 API: basesrc::unlock_stop
2424 API: basesink::unlock_stop
2426 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2427 (gst_fd_sink_render), (gst_fd_sink_unlock),
2428 (gst_fd_sink_unlock_stop):
2429 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2430 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2431 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2433 Implement unlock_stop in fdsrc and fdsink.
2434 Implement seeking in fdsrc when a seekable fd is passed, as in
2435 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2437 2007-03-19 Wim Taymans <wim@fluendo.com>
2439 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2441 * gst/gstelement.c: (gst_element_class_init):
2442 Fix pad-added and pad-removed signal signatures so that the pad type is
2443 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2445 2007-03-19 Wim Taymans <wim@fluendo.com>
2447 * docs/gst/gstreamer-sections.txt:
2448 Add new element field and method.
2450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2451 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2452 (gst_bin_recalc_state), (gst_bin_get_state_func),
2453 (gst_bin_element_set_state), (gst_bin_change_state_func),
2454 (gst_bin_continue_func), (bin_bus_handler),
2455 (bin_push_state_continue), (bin_handle_async_start),
2456 (bin_handle_async_done), (gst_bin_handle_message_func):
2457 Make async state changes a bit smarter by using new ASYNC_START and
2458 ASYNC_DONE messages. This reduces the number of times we run the state
2459 recalculation thread.
2460 Don't change state of element with a pending ASYNC_START message.
2461 Deprecate STATE_DIRTY messages.
2463 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2464 (gst_element_get_state_func), (gst_element_continue_state),
2465 (gst_element_lost_state), (gst_element_set_state_func),
2466 (gst_element_change_state):
2468 Keep the state that was last set by the app in a new element field.
2469 Don't allow state changes when handling an element event.
2470 Post ASYNC_START and ASYNC_DONE messages.
2471 Change lost_state so that we go to PAUSED and wait for the parent to set
2472 us to PLAYING again (so latency calculation can be performed)
2473 Export gst_element_change_state() method so that subclasses can use it.
2474 API: gst_element_change_state()
2475 API: GST_STATE_TARGET
2477 * gst/gstpipeline.c: (gst_pipeline_class_init),
2478 (reset_stream_time), (gst_pipeline_change_state),
2479 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2480 Using the new ASYNC_START message we can reset the base_time when
2481 needed. This can then be used to implement base_time redistribution in
2482 flushing seeks so that we can remove the explicit seek handling.
2483 Perform latency query and configuration when going to PLAYING.
2485 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2486 (gst_base_sink_query), (gst_base_sink_change_state):
2487 Post new ASYNC_START/ASYNC_DONE messages.
2489 * tests/check/generic/sinks.c: (GST_START_TEST):
2490 Fix test because the bin will not set the async element to PLAYING right
2493 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2494 Make the message check a little stronger.
2495 Handle ASYNC messages.
2497 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2498 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2499 Expect ASYNC_DONE messages.
2501 2007-03-19 Wim Taymans <wim@fluendo.com>
2503 * docs/gst/gstreamer-sections.txt:
2504 * gst/gstmessage.c: (gst_message_new_async_start),
2505 (gst_message_new_async_done), (gst_message_parse_info),
2506 (gst_message_parse_async_start):
2508 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2511 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2513 * tools/gst-inspect.c:
2514 (print_plugin_automatic_install_info_codecs):
2515 Now that we don't check for the 'Codec' keyword any longer in the
2516 klass, we shouldn't spew a warning if the klass isn't a decoder or
2517 encoder (since it might be a Source/Network, for example).
2519 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2521 * tools/gst-inspect.c:
2522 (print_plugin_automatic_install_info_codecs):
2523 Don't require decoder/demuxer/depayloader elements or
2524 encoder/muxer/paylader elements to have 'Codec' as part of their
2525 factory class string when introspecting a plugin's capabilities.
2526 draft-klass.txt mentions that it might be removed in future, and
2527 flump3dec doesn't have it as part of its class string, so chances
2528 are others might also not have it.
2530 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2552 Update translations from translation project
2554 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2556 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2557 (gst_child_proxy_set_property):
2558 Invert precondition check to be alike the ones in the mimiced gobject
2561 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2563 * docs/design/draft-tagreading.txt:
2564 * docs/random/ensonic/audiobaseclasses.txt:
2565 Do some Architect work.
2567 * gst/gstobject.c: (gst_object_set_name):
2571 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2573 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2575 * gst/gstsystemclock.c: (gst_system_clock_init),
2576 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2577 Defer starting the async system clock thread until the first async
2578 wait is scheduled. Fixes #414986.
2580 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2582 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2583 (gst_single_queue_free):
2584 Fix small leak (free GstSingleQueue structure too, not only contents).
2586 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2588 * gst/gstbin.c:(gst_bin_add):
2589 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2590 * win32/common/libgstbase.def:
2591 * win32/common/libgstreamer.def:
2592 Add new exported functions.
2594 2007-03-09 Wim Taymans <wim@fluendo.com>
2596 * docs/plugins/gstreamer-plugins-sections.txt:
2599 2007-03-09 Wim Taymans <wim@fluendo.com>
2601 * docs/gst/gstreamer-sections.txt:
2602 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2604 Add metadata copy functions. Fixes #393099.
2605 API: gst_buffer_copy_metadata()
2607 * gst/gstutils.c: (gst_buffer_stamp):
2608 * libs/gst/base/gstbasetransform.c:
2609 (gst_base_transform_prepare_output_buffer):
2610 Use new metadata copy functions.
2612 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2614 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2615 (gst_identity_init), (gst_identity_check_perfect),
2616 (gst_identity_check_imperfect_timestamp),
2617 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2618 (gst_identity_set_property), (gst_identity_get_property):
2619 * plugins/elements/gstidentity.h:
2620 Separate out check-imperfect-timestamp and check-imperfect-offset.
2621 Put back check-perfect as it was to keep compatibility.
2623 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2625 * gst/gstelement.c: (gst_element_dispose):
2626 There's no need to warn if VOID_PENDING is not NONE here, as
2627 long as the state is NULL it's ok, and that's checked immediately
2630 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2632 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2633 Fix check for perfect stream to ignore buffers with -1
2634 offsets/offset ends when checking data contiguity.
2636 2007-03-08 Wim Taymans <wim@fluendo.com>
2638 * tools/gst-launch.c: (event_loop):
2639 Print INFO messages.
2641 2007-03-08 Wim Taymans <wim@fluendo.com>
2643 * libs/gst/base/gstbasetransform.c:
2644 (gst_base_transform_sink_eventfunc),
2645 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2646 (gst_base_transform_activate):
2647 * libs/gst/base/gstbasetransform.h:
2648 Add support for dropping buffers with custom GstFlowReturn.
2649 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2650 buffers or dropped buffers.
2652 * docs/libs/gstreamer-libs-sections.txt:
2653 docs for new custom return code.
2655 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2656 Use drop support in base class to implement drop-probability.
2658 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2660 * gst/gst.c: (load_plugin_func):
2661 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2662 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2663 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2664 Remove newlines at end of debug log strings.
2666 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2668 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2669 Only post bus message at max, once per buffer received.
2671 2007-03-07 Wim Taymans <wim@fluendo.com>
2673 * docs/design/Makefile.am:
2674 * docs/design/part-synchronisation.txt:
2675 Add doc about synchronisation
2677 * docs/design/draft-latency.txt:
2678 * docs/design/part-TODO.txt:
2679 * docs/design/part-clocks.txt:
2680 * docs/design/part-events.txt:
2681 * docs/design/part-gstbus.txt:
2682 * docs/design/part-gstpipeline.txt:
2683 * docs/design/part-live-source.txt:
2684 * docs/design/part-messages.txt:
2685 * docs/design/part-overview.txt:
2686 * docs/design/part-streams.txt:
2687 * docs/design/part-trickmodes.txt:
2688 Documentation updates.
2690 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2693 Update the doap file.
2695 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2697 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2698 Rename non-perfect to imperfect for Mike and for the sanctity of the
2700 Also make sure bus message gets emitted for data-incontiguities.
2702 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2704 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2705 (gst_identity_start):
2706 * plugins/elements/gstidentity.h:
2707 Emit bus message if check-perfect is true and we encounter a
2708 non-perfect stream between 2 consecutive buffers.
2711 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2716 === release 0.10.12 ===
2718 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2721 releasing 0.10.12, "Inevitable Demise"
2723 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2726 Version 0.10.11.2 (0.10.12 pre-release)
2727 Bump libtool versioning.
2729 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2731 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2732 Log flow-names and not numbers.
2734 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2737 Convert to new AG_GST style.
2739 2007-02-28 Wim Taymans <wim@fluendo.com>
2741 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2742 Don't unref query twice.
2744 2007-02-28 Wim Taymans <wim@fluendo.com>
2746 * gst/gstvalue.c: (gst_value_transform_object_string),
2747 (_gst_value_initialize):
2748 Implement GstObject -> string transform so we print object names
2749 when serializing GValues containing GstObjects.
2751 2007-02-28 Wim Taymans <wim@fluendo.com>
2753 * docs/gst/gstreamer-sections.txt:
2754 Add new stuff to docs.
2756 2007-02-28 Wim Taymans <wim@fluendo.com>
2758 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2759 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2760 (gst_base_sink_change_state):
2761 Improve latency query code.
2762 Don't leak latency events.
2764 * tests/check/gst/gstbin.c: (GST_START_TEST):
2767 2007-02-28 Wim Taymans <wim@fluendo.com>
2769 * gst/gstelement.c: (gst_element_message_full),
2770 (gst_element_get_state_func):
2772 Improve docs a little. Added Since: for new macro.
2774 * gst/gstobject.c: (gst_object_sink):
2775 * gst/gstpipeline.c: (gst_pipeline_change_state),
2776 (gst_pipeline_set_new_stream_time):
2777 * gst/gstpipeline.h:
2778 Improve debugging and docs.
2780 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2783 2007-02-28 Wim Taymans <wim@fluendo.com>
2785 * gst/gstelement.c: (gst_element_message_full),
2786 (gst_element_set_locked_state), (gst_element_get_state_func),
2787 (gst_element_change_state):
2788 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2789 Documentation updates.
2790 Small code cleanups.
2792 * gst/gstmessage.c: (gst_message_new_info),
2793 (gst_message_parse_info):
2795 API: gst_message_new_info()
2796 API: gst_message_parse_info()
2797 Add INFO message create and parse code.
2799 2007-02-28 Wim Taymans <wim@fluendo.com>
2801 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2802 (bin_query_latency_done):
2803 Also report the live parameter of a latency query.
2805 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2807 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2808 Copy the current generic/states example from -base and adapt so
2809 we can use the exact same code everywhere.
2810 Check a STATES_IGNORE_ELEMENTS env var which can be used
2811 to ignore certain element factories for this test, which is
2812 what is being done in -base
2813 * tests/check/Makefile.am:
2814 Mention this environment variable.
2816 2007-02-27 Wim Taymans <wim@fluendo.com>
2818 * docs/gst/gstreamer-sections.txt:
2819 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2820 (gst_bus_timed_pop), (gst_bus_pop):
2822 API: gst_bus_timed_pop()
2823 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2824 message to arrive on the bus.
2826 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2828 Two unit tests for new _timed_pop() function.
2830 2007-02-23 Wim Taymans <wim@fluendo.com>
2832 * gst/gstpipeline.c: (gst_pipeline_change_state),
2833 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2834 Don't ref a NULL clock in _provide_clock_func().
2835 Don't allow an INVALID delay.
2836 Don't try to calculate base_time with an invalid start_time.
2837 Also distribute and notify a NULL clock when it was selected.
2839 * tools/gst-launch.c: (event_loop):
2840 Don't crash when a NULL clock was selected in the pipeline.
2842 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2844 * docs/design/Makefile.am:
2845 * docs/design/draft-missing-plugins.txt:
2846 * docs/random/draft-missing-plugins.txt:
2847 Some small updates: update plugin system identifier prefix
2848 ('gstreamer.net' to 'gstreamer'), mention our new install
2849 API in libgstbaseutils rather than libgimme-codec, add
2850 reference to the online docs.
2852 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2854 * win32/common/config.h:
2855 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2856 use moap cl ci to only check in what is mentioned in the ChangeLog.
2858 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2860 * docs/gst/gstreamer-sections.txt:
2862 Fix up documentation to link to the correct GstGError section.
2863 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2865 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2867 * tools/gst-launch.c: (event_loop):
2868 Make sure that we actually show the important message part of a
2870 No need to check if the gerror is not NULL to free; first of all
2871 g_free accepts NULL; and second the default error handler would
2872 segfault if gerror was NULL.
2874 2007-02-21 Wim Taymans <wim@fluendo.com>
2876 * docs/gst/gstreamer-sections.txt:
2877 Removed docs as well.
2879 2007-02-21 Wim Taymans <wim@fluendo.com>
2881 * gst/gstmessage.c: (gst_message_parse_duration):
2883 Remove new messages for release.
2885 2007-02-20 Wim Taymans <wim@fluendo.com>
2887 * docs/design/part-gstghostpad.txt:
2888 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2889 (gst_ghost_pad_new_full):
2890 Make the ghostpad a parent of the internal pad again for better backward
2891 compatibility. Don't write code that relies on this however.
2893 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2894 (gst_pad_link_check_hierarchy):
2895 Require that parents should be GstElements in the hierarchy check.
2897 2007-02-20 Wim Taymans <wim@fluendo.com>
2899 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2900 (gst_bin_change_state_func), (bin_query_min_max_init),
2901 (bin_query_latency_fold), (bin_query_latency_done),
2904 Implement latency query.
2906 2007-02-20 Wim Taymans <wim@fluendo.com>
2908 * docs/design/part-gstghostpad.txt:
2909 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2910 (gst_ghost_pad_internal_do_activate_push),
2911 (gst_ghost_pad_internal_do_activate_pull),
2912 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2913 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2914 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2915 Do not set the internal pad as a parent anymore so we can avoid
2916 hierarchy linking errors when the ghostpad has no parent yet. This also
2917 fixes failed activation because of unlinked internal pads, which in
2918 turn fixes the impossible case where you have to activate a pad before
2919 you can add it to a running element.
2922 * gst/gstpad.c: (pre_activate), (post_activate),
2923 (gst_pad_set_active), (gst_pad_activate_pull),
2924 (gst_pad_activate_push), (gst_pad_check_pull_range):
2925 Add some more debug info.
2926 Mark activation mode in pre_activate so that we don't try to activate in
2927 endless loops. Fixes #385084.
2929 2007-02-19 Wim Taymans <wim@fluendo.com>
2931 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2932 (gst_base_transform_check_get_range):
2933 Implement a checkgetrange function instead of relying on the default
2934 core behaviour that assumes we can operate in pull mode if we have a
2935 getrange function. First step at fixing #385084.
2937 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2939 * gst/gstchildproxy.h:
2940 * libs/gst/base/gstbasesink.h:
2941 * libs/gst/base/gstbasesrc.h:
2942 * libs/gst/base/gstbasetransform.h:
2943 More docs coverage and some ChangeLog surgery (add missing names)
2945 2007-02-15 Wim Taymans <wim@fluendo.com>
2947 * docs/design/part-TODO.txt:
2948 * docs/design/part-activation.txt:
2949 * docs/design/part-block.txt:
2950 * docs/design/part-buffering.txt:
2951 * docs/design/part-clocks.txt:
2952 * docs/design/part-element-source.txt:
2953 * docs/design/part-events.txt:
2954 * docs/design/part-gstbin.txt:
2955 * docs/design/part-gstbus.txt:
2956 * docs/design/part-gstpipeline.txt:
2957 * docs/design/part-live-source.txt:
2958 * docs/design/part-messages.txt:
2959 * docs/design/part-overview.txt:
2960 * docs/design/part-qos.txt:
2961 * docs/design/part-query.txt:
2962 * docs/design/part-states.txt:
2963 * docs/design/part-trickmodes.txt:
2964 Some doc updates. Start renaming from stream_time to running_time where
2965 it was used wrongly.
2967 2007-02-15 Wim Taymans <wim@fluendo.com>
2969 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2970 Answer LATENCY query.
2972 2007-02-15 Wim Taymans <wim@fluendo.com>
2974 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2978 2007-02-15 Wim Taymans <wim@fluendo.com>
2980 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2981 (gst_pad_dispatcher):
2982 Improve debugging of default pad dispatcher and query functions.
2984 2007-02-15 Wim Taymans <wim@fluendo.com>
2986 * docs/gst/gstreamer-sections.txt:
2987 Remove old unused method.
2989 2007-02-13 Wim Taymans <wim@fluendo.com>
2991 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2994 2007-02-13 Wim Taymans <wim@fluendo.com>
2996 * docs/design/part-seeking.txt:
2999 * gst/gstsegment.c: (gst_segment_set_seek):
3000 Revert old bogus change that should make seeking work again.
3002 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3004 * docs/random/ensonic/dynlink.txt:
3005 * docs/random/ensonic/interfaces.txt:
3006 * docs/random/ensonic/receipies.txt:
3007 Possible dynamic reconnection api, plus some type fixes the other two
3010 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
3012 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3013 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3014 Also check for an absolute path following file:// in the filesrc
3015 element. Remove redundant check and call g_path_is_absolute() on the
3018 2007-02-13 Stefan Kost <ensonic@users.sf.net>
3020 * docs/design/draft-klass.txt:
3021 Add existing category analysis.
3024 Fix doc example, framerate is a fraction.
3026 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3029 * docs/gst/Makefile.am:
3030 * docs/gst/gstreamer-sections.txt:
3031 * docs/libs/Makefile.am:
3032 Erm, forgot a bunch of --extra-dir.
3034 2007-02-12 Stefan Kost <ensonic@users.sf.net>
3037 * docs/gst/Makefile.am:
3038 * docs/libs/Makefile.am:
3039 * docs/plugins/Makefile.am:
3040 Add crossreferences to glib/gobject docs.
3042 2007-02-12 Wim Taymans <wim@fluendo.com>
3044 * docs/design/draft-latency.txt:
3047 * docs/libs/gstreamer-libs-sections.txt:
3048 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3049 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
3050 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
3051 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
3052 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
3053 (gst_base_sink_get_position), (gst_base_sink_query),
3054 (gst_base_sink_change_state):
3055 * libs/gst/base/gstbasesink.h:
3056 API: gst_base_sink_query_latency() to let subclasses query the upstream
3058 API: gst_base_sink_get_latency() to let subclasses query the configured
3059 latency in the sink.
3060 Implement query and set latency.
3062 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
3063 don't continue preroll when we are flushing. Fixes #405284.
3065 * tests/check/pipelines/stress.c: (change_state_timeout),
3066 (quit_timeout), (GST_START_TEST), (stress_suite):
3069 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
3071 Patch by: René Stadler <mail at renestadler de>
3073 * docs/gst/gstreamer-sections.txt:
3074 * gst/gsttaglist.c: (_gst_tag_initialize):
3076 API: add GST_TAG_REFERENCE_LEVEL (#403597).
3078 2007-02-11 Stefan Kost <ensonic@users.sf.net>
3080 * docs/libs/Makefile.am:
3081 Fix path to core docs.
3083 * gst/gstbin.c: (gst_bin_get_by_interface),
3084 (gst_bin_iterate_all_by_interface):
3085 Refix docs by also renaming 'interface' to 'iface' in implementation.
3087 * docs/gst/gstreamer-sections.txt:
3089 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
3090 * gst/gstchildproxy.h:
3091 * gst/gstelementfactory.c:
3092 * gst/gstpadtemplate.h:
3093 * libs/gst/controller/gstcontroller.c:
3094 (gst_controlled_property_new):
3097 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
3099 * gst/gstbin.h:(gst_bin_get_by_interface),
3100 (gst_bin_iterate_all_by_interface):
3101 Replace interface parameter name by iface as interface is
3102 a reserved keyword in Visual Studio for C++ projects so it removes
3103 a build error for application developpers using VS.
3104 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
3105 Fix a bug on Windows in uri format check. Now the prefix checked
3106 is file:// and next we check if the path after file:// is absolute.
3107 * win32/common/libgstbase.def:
3108 * win32/common/libgstdataprotocol.def:
3109 * win32/common/libgstgstreamer.def:
3110 Add new exported functions.
3112 2007-02-09 Andy Wingo <wingo@pobox.com>
3114 * tests/check/pipelines/simple-launch-lines.c
3115 (simple_launch_lines_suite, test_tee): Disable tee test until I
3116 have time to fix it :-(
3118 * tests/check/Makefile.am (noinst_HEADERS):
3119 * tests/check/libs/libsabi.c:
3120 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
3121 * tests/check/gst/gstabi.c:
3122 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
3124 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
3125 tests for push and pull tee behavior.
3127 * plugins/elements/gsttee.h:
3128 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
3129 mark as deprecated as well as unimplemented. It was a crack idea.
3130 Add support for tee operating in pull mode, off by default.
3132 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
3133 normal-case logs down to LOG, raise errors to WARNING.
3134 (gst_registry_xml_read_cache): Don't log before calling a function
3137 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
3138 exit (registry finalize).
3139 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
3140 DEBUG log when we emit signals that people don't even have the
3141 chance to connect to.
3142 (gst_registry_scan_path_level): Less logging in the normal case.
3144 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3146 Patch by: Michal Benes <michal dot benes at itonis dot tv>
3148 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3149 Correctly generate EOS for non-seekable files. We don't have a total
3150 length for them and would get an unexpected end of file if we only
3151 special-cased for regular files. (Fixes: #404569)
3153 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3155 * tests/check/elements/filesrc.c: (GST_START_TEST),
3157 Add unit test for the GstURIHandler interface in filesrc. This also
3158 tests the newly added file://localhost/foo/bar support.
3160 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
3162 * gst/gstelementfactory.h:
3163 The klass string is not a hierarchy. Add reference to the design doc
3164 for more information and common types.
3166 2007-02-02 Wim Taymans <wim@fluendo.com>
3168 * gst/gstquery.c: (gst_query_new_latency):
3169 Remove old structure field.
3171 2007-02-02 Stefan Kost <ensonic@users.sf.net>
3173 * tools/gst-launch.1.in:
3174 Give example for network streaming (#351998)
3176 2007-02-02 Wim Taymans <wim@fluendo.com>
3178 * docs/gst/gstreamer-sections.txt:
3179 Add docs for new methods.
3181 * gst/gstevent.c: (gst_event_new_latency),
3182 (gst_event_parse_latency):
3184 Add new LATENCY event to configure latency in a pipeline.
3185 API: gst_event_new_latency
3186 API: gst_event_parse_latency
3188 * gst/gstmessage.c: (gst_message_new_buffering),
3189 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
3190 (gst_message_new_latency), (gst_message_parse_buffering),
3191 (gst_message_parse_lost_preroll):
3193 Added messages used in draft-latency.
3194 API: gst_message_new_lost_preroll
3195 API: gst_message_parse_lost_preroll
3196 API: gst_message_new_prerolled
3197 API: gst_message_new_latency
3199 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3200 (gst_query_parse_latency):
3202 Implemented new latency query as in design doc.
3203 API: gst_query_new_latency
3204 API: gst_query_set_latency
3205 API: gst_query_parse_latency
3207 2007-02-02 Wim Taymans <wim@fluendo.com>
3209 * docs/design/draft-latency.txt:
3210 Slight redesign to allow for dynamic latency adjustments.
3212 * docs/design/part-negotiation.txt:
3215 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3217 reviewed by: Wim Taymans <wim@fluendo.com>
3219 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3220 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3221 Allow file://localhost/foo/bar URLs and correctly fail for every other
3222 hostname that one sets. This was gnomevfssrc is linked for those if
3223 installed as it can handle it (#403172)
3225 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3227 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3229 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3230 (unref_data), (gst_collect_pads_add_pad_full):
3231 * libs/gst/base/gstcollectpads.h:
3232 Don't put the previously added destroy notify in the GstCollectData
3233 struct as all it's padding is already used and we don't want to break
3234 ABI. Instead put in the pad's GObject data for now. This should be
3235 cleaned up for 0.11 (#402393).
3237 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
3239 reviewed by: Wim Taymans <wim@fluendo.com>
3241 * docs/libs/gstreamer-libs-sections.txt:
3242 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3243 (unref_data), (gst_collect_pads_add_pad),
3244 (gst_collect_pads_add_pad_full):
3245 * libs/gst/base/gstcollectpads.h:
3246 API: Add function to specify a destroy notification for custom
3247 GstCollectData when adding new pads in GstCollectPads (#402393).
3249 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3252 Update Swedish translation (#378255).
3254 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3256 * docs/design/draft-klass.txt:
3257 Fix the previous change, this is a list of categories and not a hierarchy.
3259 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3261 * docs/design/draft-klass.txt:
3262 Add info about how to get a list of used classes.
3264 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3266 * plugins/elements/gsttypefindelement.c:
3267 (gst_type_find_element_chain_do_typefinding),
3268 (gst_type_find_element_change_state):
3269 Don't leak found caps in chain function (no idea why that never
3270 showed up as a leak anywhere).
3272 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3275 Fix and expand GstPluginDesc API docs.
3277 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3280 * gst/gstelementfactory.c:
3281 * gst/gstpadtemplate.h:
3284 * libs/gst/controller/gstcontroller.c:
3285 (gst_controlled_property_new):
3286 * tests/examples/controller/audio-example.c:
3289 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3292 comment about refining the xml deps
3295 comments about moving away from jade for docs
3298 recommit the ifdefs to use the binary registry
3300 * gst/gstbin.c: (gst_bin_change_state_func):
3301 this break is obsolete
3303 * gst/gstelementfactory.h:
3304 better GST_ELEMENT_DETAILS docs, add comment about translation
3309 * gst/gstobject.c: (gst_signal_object_get_type):
3310 add G_UNLIKELY as usual
3312 * gst/gstpad.c: (gst_pad_event_default):
3313 add fall trhu comment
3315 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3316 (gst_registry_binary_initialize_magic),
3317 (gst_registry_binary_save_string),
3318 (gst_registry_binary_save_pad_template),
3319 (gst_registry_binary_save_feature),
3320 (gst_registry_binary_save_plugin),
3321 (gst_registry_binary_write_cache),
3322 (gst_registry_binary_check_magic),
3323 (gst_registry_binary_load_pad_template),
3324 (gst_registry_binary_load_feature),
3325 (gst_registry_binary_load_plugin),
3326 (gst_registry_binary_read_cache):
3327 comment typo and formatting
3329 * gst/gstutils.c: (gst_element_state_get_name),
3330 (gst_element_state_change_return_get_name):
3331 remove obsolete breaks
3333 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3334 add FIXME 0.11 and remove cpp comment
3336 2007-01-29 Edward Hervey <edward@fluendo.com>
3338 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3339 Fix print statement in an even more portable way.
3341 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3343 * docs/gst/gstreamer-sections.txt:
3345 API: add GST_ROUND_DOWN_* macros (#401781).
3347 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3349 * docs/gst/gstreamer.types.in:
3350 * gst/gstregistry.c: (gst_registry_class_init):
3351 Document registry signals and make gtk-doc pick them up (#401381).
3353 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3355 * docs/pwg/building-testapp.xml:
3356 Add some audioconverts and audioresample to the pipeline, and some
3357 more comments and error handling.
3359 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3361 * docs/manual/manual.xml:
3365 2007-01-26 Wim Taymans <wim@fluendo.com>
3367 * gst/gstcaps.c: (gst_static_caps_get):
3368 Init caps flags too.
3370 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3372 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3374 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3375 If not using mmap'ed files try to seek to the end instead of the
3376 start to determine whether we can seek at all. This fixes the case
3377 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3378 seeks for everything afterwards fail. Fixes #400656
3380 2007-01-25 Wim Taymans <wim@fluendo.com>
3382 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3383 Add some refcount debugging.
3384 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3385 in multiple streaming threads.
3387 2007-01-25 Wim Taymans <wim@fluendo.com>
3389 Patch by: David Schleef <ds at schleef dot org>
3391 * docs/libs/gstreamer-libs-sections.txt:
3392 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3393 * libs/gst/base/gstadapter.h:
3394 API: gst_adapter_copy() that can reduce the amount of memcpy when
3395 getting data from the adapter. Fixes #388201.
3397 2007-01-25 Edward Hervey <edward@fluendo.com>
3399 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3400 In print statements, "%x" is for guint. Fixes build on macosx.
3402 2007-01-24 Edward Hervey <edward@fluendo.com>
3404 * plugins/elements/gstmultiqueue.c:
3405 (gst_multi_queue_loop):
3407 (single_queue_overrun_cb), (single_queue_underrun_cb),
3408 (single_queue_check_full), (gst_single_queue_new):
3409 Implement single queue growth system.
3410 This uses the extra-size properties, and will grow single queues by
3411 that much if one goes full whereas there are others empty. This is
3412 called extra-mode in the code.
3413 When a single queue's levels go back below the initial max-size
3414 limits, it is no longer in extra-mode. This is to ensure we don't
3415 consume too much memory.
3418 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3420 * gst/gst.c: (gst_init_get_option_group):
3421 Make warning about late g_thread_init() calls a bit more explicit,
3422 so that it's more obvious to application developers what they need
3423 to do if a user files a bug against their application.
3425 2007-01-22 Edward Hervey <edward@fluendo.com>
3427 * plugins/elements/gstmultiqueue.c:
3428 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3429 Remove previous hack of unsetting the flushing flag for the source pad
3430 instead of activating it. Instead, fix the source pad activate function
3431 so that it no longer depends on having a parent set or not.
3433 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3435 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3437 * docs/manual/basics-bus.xml:
3438 Fix example code, gst_element_unref() doesn't exist any longer.
3440 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3442 Patch by: Mark Nauwelaerts <manauw at skynet be>
3445 Fix two docs typoes (#399094).
3447 2007-01-19 Edward Hervey <edward@fluendo.com>
3449 * docs/faq/gst-uninstalled:
3450 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3451 depending on libgstbaseutils can work in uninstalled environment.
3453 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3456 * gst/gsttagsetter.c:
3457 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3458 statement for new tag.
3460 2007-01-17 Edward Hervey <edward@fluendo.com>
3462 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3463 When dynamically creating single queues, activate sinkpad before adding
3465 We should be doing the same thing for the source pad, but we can't
3466 since it would call a method which needs the parent to be set in order
3467 to work propertly. Instead of activating the source pad, we just unset
3468 the flushing flag, which is the minimal requirement for adding a pad
3469 to an element in a state greater than READY.
3471 2007-01-17 Edward Hervey <edward@fluendo.com>
3473 * docs/faq/gst-uninstalled:
3474 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3477 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3479 * tests/check/gst/gstabi.c:
3480 * tests/check/gst/struct_hppa.h:
3481 * tests/check/libs/libsabi.c:
3482 * tests/check/libs/struct_hppa.h:
3483 Add ABI structs for HPPA (see #393796).
3485 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3487 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3488 Actually write ABI structs to the file specified in the GST_ABI
3489 environment variable, as the message we print claims we would.
3491 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3493 * tests/check/gst/gsttask.c:
3496 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3498 * gst/gsttaglist.c: (_gst_tag_initialize):
3499 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3500 previous two entries.
3502 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3504 * docs/gst/gstreamer-sections.txt:
3505 * gst/gsttaglist.c: (_gst_tag_initialize):
3507 Add tag support for beat-per-minute.
3509 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3511 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3512 (gst_registry_binary_initialize_magic),
3513 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3514 (gst_registry_binary_save_pad_template),
3515 (gst_registry_binary_save_feature),
3516 (gst_registry_binary_save_plugin),
3517 (gst_registry_binary_write_cache),
3518 (gst_registry_binary_check_magic),
3519 (gst_registry_binary_load_pad_template),
3520 (gst_registry_binary_load_feature),
3521 (gst_registry_binary_load_plugin),
3522 (gst_registry_binary_read_cache):
3523 * gst/gstregistrybinary.h:
3524 Use glib types, cleanup comments, impement interfaces and uri-types.
3526 2007-01-13 Andy Wingo <wingo@pobox.com>
3528 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3529 getrange() to return buffers with other caps, while we fix
3530 demuxers and typefind, or otherwise change part-negotiation.txt.
3532 2007-01-12 Andy Wingo <wingo@pobox.com>
3534 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3535 Factor start/stop into this private function instead of partially
3536 in activate functions and partially in the change_state function.
3537 Fixes setup before the element has changed from READY->PAUSED, as
3538 is the case in pull-mode pipelines.
3539 (gst_base_transform_sink_activate_push)
3540 (gst_base_transform_src_activate_pull): Refactor to use
3541 gst_base_transform_activate().
3542 (gst_base_transform_change_state): Removed, not needed any more.
3544 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3545 Truncate before fixating.
3547 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3548 Don't set_caps() if the result of fixating is ANY, as it's not
3549 supported, and not necessary in the case of a link with no
3550 template caps on either side. Fixes tests/check/libs/basesrc in
3551 some pull-mode tests.
3553 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3554 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3555 (gst_base_transform_src_activate_pull):
3556 Track the activation mode.
3557 (gst_base_transform_setcaps): In pull mode, when activating the
3558 src pad, after activating the sink pad, activate the sink pad's
3559 peer, as discussed in part-negotiation.txt.
3561 * libs/gst/base/gstbasesrc.h:
3562 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3563 vmethod, as in basesink.
3565 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3567 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3568 mode, first proxy the setcaps to the peer pad.
3569 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3571 (gst_base_sink_default_activate_pull): Rename from
3572 gst_base_sink_activate_pull.
3573 (gst_base_sink_negotiate_pull): New function, performs negotiation
3574 in pull mode before calling ::activate_pull().
3575 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3576 vmethod instead of the default implementation. I have no idea how
3577 this worked before. Negotiate before calling activate_pull.
3579 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3580 sink pads in pull mode. In addition to being correct, fixes
3581 filesrc ! decodebin ! identity ! fakesink.
3582 (gst_pad_get_range, gst_pad_pull_range): Don't call
3583 gst_pad_set_caps() if the caps changes; instead error out with
3584 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3586 2007-01-12 Andy Wingo <wingo@pobox.com>
3588 * docs/design/part-negotiation.txt: Update with more policy.
3590 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3592 * libs/gst/check/gstbufferstraw.h:
3593 * libs/gst/check/gstcheck.h:
3594 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3597 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3599 * tests/check/Makefile.am:
3600 * tests/check/gst/.cvsignore:
3601 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3602 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3603 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3604 (GST_START_TEST), (gst_tag_setter_suite):
3605 Add minimal unit test for beforementioned GstTagSetter bug.
3607 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3609 Patch by: René Stadler <mail at renestadler dot de>
3611 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3612 gst_tag_list_merge() returns a new list, so it's not the best idea
3613 to ingore its return value. Effectively meant that tags could only
3614 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3615 Also add function guard to require a non-NULL taglist as input (has
3616 always been so due to gst_tag_list_copy(), just making it explicit).
3618 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3620 * docs/random/draft-missing-plugins.txt:
3621 Some additions: mention new API that is supposed to be used at the
3622 various stages; short blob about new gst-inspect introspection
3623 option; mention potential future problem with plugins that have
3624 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3626 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3628 * tools/gst-inspect.c:
3629 (print_plugin_automatic_install_info_codecs),
3630 (print_plugin_automatic_install_info_protocols),
3631 (print_plugin_automatic_install_info), (main):
3632 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3633 introspect plugin files and get machine-parsable output that corresponds
3634 to the last bit of the missing-plugin installer string (small gotcha:
3635 doesn't take into account ranks).
3637 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3640 * docs/gst/gstreamer-sections.txt:
3642 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3643 (gst_registry_lookup_locked):
3644 * gst/gstregistry.h:
3645 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3646 (gst_registry_binary_initialize_magic),
3647 (gst_registry_binary_save_string),
3648 (gst_registry_binary_save_pad_template),
3649 (gst_registry_binary_save_feature),
3650 (gst_registry_binary_save_plugin),
3651 (gst_registry_binary_write_cache),
3652 (gst_registry_binary_check_magic),
3653 (gst_registry_binary_load_pad_template),
3654 (gst_registry_binary_load_feature),
3655 (gst_registry_binary_load_plugin),
3656 (gst_registry_binary_read_cache):
3657 * gst/gstregistrybinary.h:
3658 * gst/gstregistryxml.c: (load_feature),
3659 (gst_registry_xml_read_cache):
3660 commit binary registry (disabled by default, see #359653)
3662 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3664 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3665 Fix 'make check' too.
3667 2007-01-10 Andy Wingo <wingo@pobox.com>
3669 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3672 * docs/design/part-negotiation.txt: Update with, um, one way that
3673 pull-mode negotiation might work?
3676 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3677 that the pad must be a src pad; makes sense to call it the other
3678 way in pull mode, and the logic is symmetric anyway.
3680 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3682 * plugins/elements/gstfilesink.c:
3683 Include <stdio.h> for fseeko().
3685 2007-01-10 Wim Taymans <wim@fluendo.com>
3689 Reserve LATENCY event.
3691 2007-01-09 Wim Taymans <wim@fluendo.com>
3693 * docs/design/draft-latency.txt:
3696 2007-01-09 Wim Taymans <wim@fluendo.com>
3698 * docs/design/draft-latency.txt:
3702 * gst/gststructure.c:
3706 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3708 * tests/check/.cvsignore:
3709 Ignore test-registry.xml as well.
3711 2007-01-09 Wim Taymans <wim@fluendo.com>
3713 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3714 unref data at the end when we are done with the pad.
3716 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3718 * docs/gst/gstreamer-sections.txt:
3719 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3720 (init_post), (gst_deinit), (gst_update_registry):
3722 API: add gst_update_registry() (#391296).
3724 * tests/check/Makefile.am:
3725 * tests/check/gst/gstregistry.c:
3726 * tests/check/gst/.cvsignore:
3727 Simple unit test for the above.
3729 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3731 * gst/gstregistry.c: (gst_registry_scan_path_level):
3732 Plugin extension on HP-UX is .sl, add that to the list of approved
3733 plugin extensions (see #393796).
3735 * tests/check/gst/gstpad.c: (GST_START_TEST):
3736 ulong => gulong. Fixes compilation with HP-UX compiler.
3738 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3739 Fix compilation if valgrind headers are not available.
3741 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3743 * win32/common/libgstreamer.def:
3744 Add new exported function.
3745 * win32/vs6/libgstbase.dsp:
3746 Add gstdataqueue.c to the build.
3747 * win32/vs6/libgstcoreelements.dsp:
3748 Add gstmultiqueue.c to the build.
3750 2007-01-06 Andy Wingo <wingo@pobox.com>
3752 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3753 activate_pull(), providing for a way to specialize the process of
3754 spawning a thread to pull on the sink pad. There is a default
3757 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3758 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3759 (gst_base_sink_init): Renamed pad activation functions (inserting
3760 "_pad" in their names). Refactor to use the new activate_pull
3761 vmethod, as appropriate.
3762 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3763 default activate_pull function to start a task pulling from the
3764 sink pad, as before.
3766 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3767 on the pads if necessary, as in push()/chain(). Update docs.
3768 Shouldn't affect existing pull() usage as it is currently only
3769 being used on buffers without caps.
3771 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3773 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3775 Call g_thread_init() first thing in gst_init() / gst_check_init().
3776 When initialisation is done via gst_init_get_option_group() and
3777 GOption parsing, issue a warning if the GLib thread system has not
3778 been initialised yet by the time gst_init_get_option_group() is
3779 called, as it's quite likely other GLib functions such as
3780 g_option_context_new() have been called already then, and
3781 g_thread_init() must be called before any other GLib function. The
3782 application in question must be fixed in that case, since memory
3783 corruption might happen otherwise.
3784 We issue the warning because even if the GLib folks decide to work
3785 around the problem on their end in future, this is still an issue
3786 with all GLib versions >= 2.10.0, so we should warn until we depend
3787 on a GLib version we know to be safe.
3788 Update documentation as well.
3791 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3793 * tools/gst-inspect.c: (main):
3794 * tools/gst-launch.c: (main):
3795 * tools/gst-typefind.c: (main):
3796 * tools/gst-xmlinspect.c: (main):
3797 Call g_thread_init() really really early, before any other GLib
3798 function (see #342564 and recent discussion on gtk-devel-list).
3800 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3802 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3804 * gst/gst_private.h:
3805 * gst/gstconfig.h.in:
3807 On win32, all the __declspec stuff for symbol exporting is
3808 apparently only needed with MSVC, but doesn't work with MingW.
3809 Fixes compilation with MingW and #391909.
3811 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3813 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3814 Change some GST_ERROR_OBJECT that aren't really errors to
3815 GST_WARNING_OBJECT in order to reduce terminal spam.
3817 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3819 * tests/check/Makefile.am:
3820 disable test again, as there seem to be still race problems
3822 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3824 * tests/check/Makefile.am:
3825 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3826 (GST_START_TEST), (queue_suite):
3827 enable queue test again, add tests for the leaky behaviour
3829 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3832 * tests/examples/Makefile.am:
3833 Compile adapter test/example only if the required headers are
3834 available (fixes #391915).
3836 2007-01-01 David Schleef <ds@schleef.org>
3839 Restore the previous signal handler for SIGSEGV instead of
3840 setting to default, since we may have stolen it away from
3841 someone. (i.e., Mono)
3843 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3845 * docs/random/draft-missing-plugins.txt:
3846 Some small additions and clarifications.
3848 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3850 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3851 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3852 since that can lead to random memory corruptions and crashes
3853 (may or may not be related to #383244, #386711, and #386711).
3855 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3857 * tests/check/.cvsignore:
3858 * tests/check/Makefile.am:
3859 sync .cvsignome and CLEANFILES
3861 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3863 * tests/check/Makefile.am:
3866 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3868 * docs/design/part-states.txt:
3869 two tiny additional comments
3871 * gst/gststructure.c:
3874 * tests/check/Makefile.am:
3875 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3877 disable test for now, unless it gets fixed
3879 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3881 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3883 fix race in underrun test
3885 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3887 * tests/check/elements/.cvsignore:
3890 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3892 try to narrow test failure
3894 2006-12-21 David Schleef <ds@schleef.org>
3896 * plugins/elements/gstfakesrc.c:
3897 Use g_random_int_range(), since it produces better random
3898 numbers in a range than almost-correct floating point code.
3900 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3902 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3903 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3904 (gst_check_teardown_sink_pad):
3905 do not automatically (de)activate pads
3907 * tests/check/Makefile.am:
3908 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3909 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3910 add new, yet simple tests for queue
3912 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3913 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3914 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3916 * tests/check/elements/identity.c: (cleanup_identity):
3917 consistent pad (de)activation
3919 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3921 Patch by: Sebastian Dröge <slomo ubuntu com>
3923 * libs/gst/base/gstcollectpads.c:
3924 Fix two doc typos (#387866).
3926 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3928 * docs/manual/advanced-dparams.xml:
3929 Fix typo (g_object_control_properties() doesn't exist).
3931 2006-12-19 Edward Hervey <edward@fluendo.com>
3933 * gst/gstsegment.c: (gst_segment_set_seek):
3934 Fine tune the cases where the segment start/stop values are really
3936 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3937 Add tests for the return values of gst_segment_set_seek().
3939 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3944 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3946 Fix incorrect documentation and flesh it out a bit more.
3947 Set default values for the max properties on the GParamSpec as well,
3948 so it shows up correctly in gst-inspect.
3950 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3952 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3953 Correct docs of queue, add more detail and crosslink it more.
3955 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3957 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3958 Print additional debug info when the stream isn't perfectly
3959 timestamped; don't try to use invalid durations.
3961 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3963 * docs/design/Makefile.am:
3964 Dist new design docs.
3966 2006-12-16 Wim Taymans <wim@fluendo.com>
3968 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3970 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3971 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3972 (gst_collect_pads_stop), (gst_collect_pads_event),
3973 (gst_collect_pads_chain):
3974 * libs/gst/base/gstcollectpads.h:
3975 Add refcounting to the collectpads data so we can track when it's safe
3976 to free the data. Fixes #383382.
3978 2006-12-15 Wim Taymans <wim@fluendo.com>
3980 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3981 (gst_collect_pads_remove_pad):
3982 Automatically activate/deactivate pads when they are added to a
3983 started/stoped collectpads.
3985 2006-12-15 Wim Taymans <wim@fluendo.com>
3987 * gst/gstelement.c: (gst_element_add_pad):
3988 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3989 * gst/gstpad.c: (gst_pad_init):
3990 Set pads to FLUSHING when they are created. Check, warn and fix when a
3991 demuxer adds an inactive pad to itself when running. Fixes #339326.
3993 2006-12-15 Wim Taymans <wim@fluendo.com>
3995 * gst/gstelement.c: (gst_element_class_init),
3996 (gst_element_default_send_event), (gst_element_send_event),
3997 (gst_element_default_query), (gst_element_query):
3998 Expose default element send_event and query handling as vmethods that
3999 subclasses can chain up to.
4001 2006-12-15 Wim Taymans <wim@fluendo.com>
4003 * gst/gstelement.c: (gst_element_set_state_func):
4004 Small documentation fixes.
4006 2006-12-15 Wim Taymans <wim@fluendo.com>
4008 * docs/design/draft-latency.txt:
4009 Checked in draft for handling latency in pipelines.
4011 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
4015 * gstreamer.spec.in:
4018 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
4020 * gst/gst.c: (init_pre), (init_post):
4021 init_pre() and init_post() might be called via our GOptionGroup or
4022 from gst_init(), and we should skip both of them if we've already
4023 been initialised, otherwise we will init some things twice or add
4024 two default log functions.
4026 2006-12-13 Edward Hervey <edward@fluendo.com>
4028 * docs/manual/basics-bus.xml:
4029 No, gst_main_loop does not exist. Its g_main_loop.
4030 Discovered by somebody who abused the copy-paste technique of coding :)
4032 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
4034 * gst/gstghostpad.c:
4035 Log ghostpad debug stuff to the GST_PADS category as well rather
4036 than just to the default category.
4038 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
4041 * gst/gst.c: (init_pre):
4042 Add some basic system details such as OS and architecture
4043 to the debug output if possible, courtesy of uname().
4045 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
4047 * docs/gst/running.xml:
4048 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
4049 environment variables.
4051 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4053 * tests/check/gst/gstbin.c: (GST_START_TEST):
4054 It is acceptable to have a refcount of 2 or 3 at this point in the
4055 test, because the pipeline might be just posting its state_change
4056 message. The next line then waits for that message to appear using
4057 bus_poll, so that should be fine too.
4059 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
4061 * gst/gst.c: (ensure_current_registry_forking):
4062 Ignore EINTR when reading from the child registry pipe.
4063 Explicitly ignore the return value from close, since it makes no
4066 * gst/gstminiobject.c: (gst_mini_object_ref),
4067 (gst_mini_object_unref):
4068 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
4070 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
4071 When removing cached plugins, remove their features too, so they're
4072 not visible after they've disappeared.
4074 * gst/gstutils.c: (prepare_link_maybe_ghosting):
4075 In the unlikely case that we are linking pads with no parents, don't
4076 crash trying to get the non-existent parent bin.
4078 * gst/parse/grammar.y:
4079 Output debug in the PIPELINE category
4081 2005-03-08 Wim Taymans <wim@fluendo.com>
4083 Patch by: René Stadler <mail at renestadler dot de>
4085 * gst/gstclock.c: (gst_clock_new_periodic_id):
4086 Reject invalid clock times for interval of periodic ids.
4089 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4091 * gst/gstelementfactory.c: (gst_element_factory_create):
4092 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4093 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4094 * tools/gst-inspect.c: (print_element_info):
4095 Fix refcounting of gst_plugin_feature_load to match the docs.
4098 2006-12-07 Wim Taymans <wim@fluendo.com>
4100 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4101 (gst_base_sink_get_position):
4102 Improve debugging of events.
4104 2006-12-07 Wim Taymans <wim@fluendo.com>
4106 Patch by: René Stadler <mail at renestadler dot de>
4108 * gst/gstclock.c: (gst_clock_id_wait):
4109 Make period ids add the interval to the origial requested time instead
4110 of the possibly updated time which can be wrong when there are multiple
4111 waiters for the same id. Fixes #382592.
4113 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
4114 (gst_system_clock_id_wait_jitter_unlocked),
4115 (gst_system_clock_id_wait_jitter):
4116 Fix restart in the async notify thread when an async entry is added to
4117 the front of the list. Fixes #381492.
4119 * tests/check/gst/gstsystemclock.c: (store_callback),
4120 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
4121 Added test for multiple async waits.
4122 Added test for async wait order.
4124 2006-12-07 Wim Taymans <wim@fluendo.com>
4126 * gst/gstbin.c: (gst_bin_query):
4127 Add some more docs about the POSITION query.
4129 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
4132 Bump version nano - back to CVS.
4134 === release 0.10.11 ===
4136 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
4139 releasing 0.10.11, "Love never runs on time"
4141 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
4143 * win32/common/libgstbase.def:
4144 * win32/common/libgstreamer.def:
4145 * win32/vs8/libgstbase.vcproj:
4146 * win32/vs8/libgstcoreelements.vcproj:
4147 * win32/vs8/libgstreamer.vcproj:
4148 Fix compilation on win32 under VS8
4149 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4150 Partially fixes #381175
4152 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
4154 * gst/gstvalue.c: (gst_value_compare_fraction):
4155 If someone is foolish enough to compare 2 fractions with denominator =
4156 0, return UNORDERED rather than aborting.
4158 2006-11-28 Edward Hervey <edward@fluendo.com>
4160 * libs/gst/base/Makefile.am:
4161 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
4162 (gst_data_queue_base_init), (gst_data_queue_class_init),
4163 (gst_data_queue_init), (gst_data_queue_new),
4164 (gst_data_queue_cleanup), (gst_data_queue_finalize),
4165 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
4166 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
4167 (gst_data_queue_is_empty), (gst_data_queue_is_full),
4168 (gst_data_queue_set_flushing), (gst_data_queue_push),
4169 (gst_data_queue_pop), (gst_data_queue_drop_head),
4170 (gst_data_queue_set_property), (gst_data_queue_get_property):
4171 * libs/gst/base/gstdataqueue.h:
4172 New GstDataQueue object for threadsafe queueing. Most useful for
4173 elements that need some queueing functionnality.
4174 * docs/libs/gstreamer-libs-docs.sgml:
4175 * docs/libs/gstreamer-libs-sections.txt:
4176 Insert documentation for GstDataQueue
4177 * plugins/elements/Makefile.am:
4178 * plugins/elements/gstelements.c:
4179 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4180 (gst_multi_queue_class_init), (gst_multi_queue_init),
4181 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4182 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
4183 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
4184 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4185 (gst_multi_queue_loop), (gst_multi_queue_chain),
4186 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4187 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
4188 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
4189 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
4190 (wake_up_next_non_linked), (compute_next_non_linked),
4191 (single_queue_overrun_cb), (single_queue_underrun_cb),
4192 (single_queue_check_full), (gst_single_queue_new):
4193 * plugins/elements/gstmultiqueue.h:
4194 New multiqueue element, using GstDataQueue. Used for queuing multiple
4196 Closes #344639 and #347785
4198 2006-11-22 Stefan Kost <ensonic@users.sf.net>
4200 * docs/pwg/advanced-types.xml:
4201 add more missing type details
4203 * tools/gst-run.c: (main):
4204 remove unused variable
4206 2006-11-21 Stefan Kost <ensonic@users.sf.net>
4208 * docs/libs/Makefile.am:
4209 * docs/libs/gstreamer-libs.types:
4210 add types of base classes to enable gobject specific stuff in the docs
4212 * docs/random/ensonic/embedded.txt:
4213 more ideas about isolating platform specific things
4215 2006-11-20 Wim Taymans <wim@fluendo.com>
4217 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
4219 * libs/gst/check/gstcheck.h:
4220 Fix compilation and running against 0.9.4. Fixes #377332.
4222 2006-11-20 Wim Taymans <wim@fluendo.com>
4224 * gst/gstsegment.c: (gst_segment_set_seek),
4225 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4226 (gst_segment_to_running_time):
4227 Fix boundary checking in to_running_time() and to_stream_time().
4230 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4231 stream and running time can now be calculated for the complete
4234 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
4236 * gst/gstpad.c: (gst_pad_push_event):
4237 Can't access event structure after giving away ownership of
4240 2006-11-15 Stefan Kost <ensonic@users.sf.net>
4242 * docs/random/ensonic/embedded.txt:
4243 * docs/random/ensonic/profiling.txt:
4244 * docs/random/ensonic/receipies.txt:
4247 2006-11-13 Wim Taymans <wim@fluendo.com>
4249 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4252 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4254 2006-11-13 Wim Taymans <wim@fluendo.com>
4256 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4258 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4259 Store new length in segment duration so we don't keep on calling the
4260 potentially expensize get_size() call. Fixes #370865.
4262 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4264 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4266 * win32/common/libgstreamer.def:
4267 Add two missing symbols (#366492).
4269 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4271 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4272 (gst_adapter_take_buffer):
4273 Fix format string to use all its arguments.
4274 Remove useless >= check on a guint
4276 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4278 * tests/examples/adapter/.cvsignore:
4279 Ignore build file as commanded by the build-bot
4281 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4283 * tests/examples/adapter/Makefile.am:
4284 * tests/examples/adapter/adapter_test.c: (run_test_take),
4285 (run_test_take_buffer), (run_tests), (main):
4287 Add new files from the previous commit
4289 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4293 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4294 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4295 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4296 * libs/gst/base/gstadapter.h:
4297 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4298 (GST_START_TEST), (gst_adapter_suite):
4299 * tests/examples/Makefile.am:
4300 Do some optimisation work in GstAdapter to avoid copies in more cases.
4301 It could still do slightly better by merging buffers when
4302 gst_buffer_is_span_fast is true, but is already faster.
4304 Also, avoid traversing a single-linked list to append each incoming
4305 buffer inside the adapter.
4307 Add simple test app that times the adapter behaviour in different
4308 situations, and extend the unit test to check that bytes enter and
4309 exit the adapter in their original order.
4311 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4313 * docs/random/draft-missing-plugins.txt:
4314 Update: use element message instead of adding a new message
4315 type to the core; don't provide GStreamer API to initiate the
4316 plugin download, just provide API to compose the strings needed
4317 and let an external libgimmestuff handle the rest.
4319 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4321 * tools/gst-inspect.c: (print_element_properties_info):
4322 Print a string instead of 'unknown type' for GValueArray properties
4324 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4326 * docs/random/draft-missing-plugins.txt:
4329 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4331 * tests/examples/typefind/typefind.c: (type_found), (main):
4332 Make typefind element example work again (#371894); add a
4335 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4337 * docs/random/draft-missing-plugins.txt:
4338 Commit initial draft about how to deal with missing plugins,
4339 needs work (API too).
4341 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4343 * docs/pwg/advanced-types.xml:
4344 documents the new caps elements (see #363118)
4346 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4348 * gst/gstplugin.c: (gst_plugin_load_file):
4349 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4350 (gst_file_src_map_region), (gst_file_src_start):
4351 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4352 (gst_file_index_commit):
4353 Use g_strerror() instead of strerror() - we want UTF-8.
4355 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4357 Patch by: Peter Kjellerstedt <pkj at axis com>
4359 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4360 Another printf fix (#371493).
4362 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4364 * tests/check/gst/gsttag.c:
4365 relicence (okay with author=company)
4367 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4369 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4370 (gst_pad_push_event):
4371 Enhance debug and improve docs
4376 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4378 * docs/random/ensonic/distributed.txt:
4379 * docs/random/ensonic/profiling.txt:
4382 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4384 * docs/gst/gstreamer-sections.txt:
4385 add new API and fix the build
4387 * gst/gstbin.c: (gst_bin_recalc_state):
4388 * gst/gstelement.c: (gst_element_message_full),
4389 (gst_element_get_state_func), (gst_element_set_state_func):
4390 use new API and improve logging
4392 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4394 API: add function to get StateChangereturn names to improve logs
4396 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4398 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4399 I'm considering shooting the next person to put strerror stuff
4400 in the translateable part of the message.
4402 2006-11-03 Wim Taymans <wim@fluendo.com>
4404 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4405 Get the type and printf conversion specifiers right.
4407 2006-11-03 Wim Taymans <wim@fluendo.com>
4409 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4411 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4412 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4413 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4414 Some small cleanups. Improve debugging.
4416 Signal all waiting threads with a broadcast instead of just one.
4419 2006-11-03 Wim Taymans <wim@fluendo.com>
4421 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4422 (gst_fd_src_create):
4424 Only update fd when it's different from the old.
4426 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4428 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4429 Printf fixes for PPC/OSX, take two (#369366).
4431 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4433 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4435 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4436 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4437 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4438 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4439 don't cast to long long for portability reasons, but use
4440 GLib's types instead.
4442 2006-10-30 Michael Smith <msmith@fluendo.com>
4444 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4445 Get the arguments to lseek() the right way around.
4448 2006-10-30 Wim Taymans <wim@fluendo.com>
4450 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4453 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4455 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4457 Patch by: Kjartan Maraas <kmaraas at gnome org>
4459 * docs/design/part-MT-refcounting.txt:
4460 * docs/random/wtay/capsnego2-docs:
4463 Typo fixes (#366212).
4465 2006-10-28 Wim Taymans <wim@fluendo.com>
4467 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4470 * win32/common/libgstbase.def:
4471 * win32/common/libgstreamer.def:
4472 * win32/vs8/libgstbase.vcproj:
4473 * win32/vs8/libgstcontroller.vcproj:
4474 Add needed entries in .def files.
4476 Rearrange def files in vs8 solutions. Fixes #366286.
4478 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4480 * win32/common/gstconfig.h:
4481 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4482 hand-made win32 gstconfig.h. Fixes #366321.
4484 2006-10-27 Wim Taymans <wim@fluendo.com>
4486 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4487 (gst_ghost_pad_new_full):
4488 Make acceptcaps return TRUE when we don't have a target, just like
4491 2006-10-27 Wim Taymans <wim@fluendo.com>
4493 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4494 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4496 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4498 * gst/gststructure.c: (gst_structure_id_set_value):
4499 If someone tries to set a non-UTF8 string field on a structure,
4500 don't just print a warning, but also ignore the request and do
4501 not change/add that field to the structure.
4503 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4506 2006-10-25 David Schleef <ds@schleef.org>
4509 g_hash_table_insert() needs a cast to a non-const pointer duh.
4511 2006-10-25 David Schleef <ds@schleef.org>
4515 Change name parameter of _gst_debug_register_funcptr to const
4516 to reflect the constness of its use in the function as well
4517 as to quiet a gcc warning.
4519 2006-10-25 Edward Hervey <edward@fluendo.com>
4521 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4522 Don't push the buffer if it's empty.
4525 2006-10-24 Wim Taymans <wim@fluendo.com>
4530 * libs/gst/base/gstbasetransform.c:
4531 (gst_base_transform_sink_eventfunc):
4532 Debug segment values *after* updating them as this is more
4535 2006-10-23 Wim Taymans <wim@fluendo.com>
4537 * docs/design/part-events.txt:
4540 * docs/design/part-block.txt:
4541 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4542 (gst_pad_push_event):
4543 Revert BLOCKING patch, it tries to be smart without really having a
4544 clear idea what or how. So, now we discard all FLUSHING events again on
4545 a blocking pad. Should fix gnonlin again.
4547 2006-10-23 Wim Taymans <wim@fluendo.com>
4549 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4551 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4552 (gst_base_src_start), (gst_base_src_activate_push):
4553 Make sure size is always initialized. Fixes #364388.
4555 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4557 * docs/random/ensonic/distributed.txt:
4558 add some ideas about doing distributed processing
4560 * docs/random/ensonic/profiling.txt:
4561 get_rusage look promising
4563 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4565 * docs/manual/basics-helloworld.xml:
4566 Add a cast in example to fix compile warning
4568 2006-10-18 Wim Taymans <wim@fluendo.com>
4570 * gst/gstsegment.c: (gst_segment_set_last_stop),
4571 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4572 Relax arg checking again, -1 is allowed.
4574 2006-10-18 Wim Taymans <wim@fluendo.com>
4576 * gst/gstsegment.c: (gst_segment_set_last_stop),
4577 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4578 _set_last_stop() must be with a value != -1
4579 A _TYPE_SET to -1 means seek to 0.
4580 Calc last_stop correctly for negative rates.
4581 Make sure we work with positive durations when updating a segment.
4583 2006-10-18 Wim Taymans <wim@fluendo.com>
4585 * docs/design/part-live-source.txt:
4589 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4592 Add an explicit cast to GstBuffer** to keep old code that added an
4593 explicit cast to GstMiniObject** for gst_mini_object_replace()
4594 compiling without warning.
4596 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4598 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4599 check for validity of dates
4601 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4603 * docs/gst/gstreamer-sections.txt:
4604 Forgot this one, makes gtk-doc shut up.
4606 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4608 Patch by: Peter Kjellerstedt <pkj at axis com>
4611 Don't define xmlNodePtr to gpointer if the core was built with
4612 --disable-loadsave and --disable-registry, this will break
4613 applications that want to use libxml2 but are buildling against a
4614 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4615 instead so we don't have to mess with the libxml2 namespace
4618 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4621 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4622 type-punned pointer warnings.
4624 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4627 Add casts to the correct return type to state <=> state transition
4630 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4632 * docs/design/part-live-source.txt:
4633 describe howto handle latency
4635 * docs/random/ensonic/profiling.txt:
4638 * tools/gst-plot-timeline.py:
4639 fix log parsing for solaris, remove unused function
4641 2006-10-16 Wim Taymans <wim@fluendo.com>
4643 * docs/design/part-trickmodes.txt:
4645 Update some docs regarding reverse playback.
4647 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4649 Patch by: Marcus Granado <mrc dot gran at gmail com>
4651 * win32/vs8/grammar.vcproj:
4652 Error out with a warning if glib-genmarshal.exe is not in path,
4653 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4655 2006-10-13 Wim Taymans <wim@fluendo.com>
4657 * gst/gstsegment.c: (gst_segment_set_seek):
4658 When seeking to stop -1, set last_stop (current position) to the
4659 duration of the segment.
4661 2006-10-13 Wim Taymans <wim@fluendo.com>
4664 Clarify _NO_PREROLL a bit more.
4669 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4670 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4671 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4672 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4673 due to wrong locking order. Fixes #361769.
4674 Remove some redundant/misplaced checks in pad_block.
4676 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4677 For negative rates, count backwards from the duration.
4679 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4681 * gst/gsterror.c: (_gst_library_errors_init):
4682 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4683 up with something better).
4685 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4687 * win32/vs6/libgstreamer.dsp:
4688 * win32/vs7/libgstreamer.vcproj:
4689 * win32/vs8/libgstreamer.vcproj:
4690 Don't reference glib-compat.c which is currently not used and not
4691 disted; add gstquark.c which was recently added. Fixes #361730.
4693 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4695 * win32/common/libgstbase.def:
4696 * win32/common/libgstcontroller.def:
4697 * win32/common/libgstreamer.def:
4698 Add gst_caps_merge() and a bunch of other recently-added functions.
4701 2006-10-11 Wim Taymans <wim@fluendo.com>
4703 * docs/plugins/gstreamer-plugins.args:
4704 * docs/plugins/inspect/plugin-coreelements.xml:
4705 * docs/plugins/inspect/plugin-coreindexers.xml:
4706 Update element args.
4708 * gst/gstsystemclock.c:
4709 Small comment update.
4711 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4712 (gst_tee_request_new_pad), (gst_tee_release_pad),
4713 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4714 (gst_tee_sink_activate_pull):
4715 * plugins/elements/gsttee.h:
4717 Add default property defines.
4718 Implement release pad function.
4719 Give properties better blubs etc.
4720 Activate pads before adding them to a running tee.
4721 Do simple buffer_alloc on the first requested pad.
4722 Post error when activation fails.
4724 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4726 * gst/gst.c: (ensure_current_registry_forking):
4727 Check return value of write() to make compiler happy.
4729 2006-10-11 Wim Taymans <wim@fluendo.com>
4731 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4733 * plugins/elements/gstqueue.c: (gst_queue_chain):
4734 Recheck queue filledness after signalling the overrun when we're about
4735 to leak downstream because we released the lock when emitting the signal
4736 and the queue could be empty again. Fixes #352345.
4738 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4740 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4741 Fix refcounting here too, just like we did for _new_valist() a few
4742 days ago (#357180) (thanks to René Stadler). Also remove all those
4743 'Since: 0.9' from the gtk-doc blobs.
4745 * tests/check/libs/controller.c: (controller_refcount_new_list),
4746 (gst_controller_suite):
4747 Unit test for the above.
4749 2006-10-10 Wim Taymans <wim@fluendo.com>
4751 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4753 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4754 (gst_pad_save_thyself):
4756 Write pad direction in XML output. Fixes #345496.
4758 2006-10-10 Wim Taymans <wim@fluendo.com>
4760 Patch by: René Stadler <mail at renestadler dot de>
4762 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4763 (gst_controller_new_list), (_gst_controller_dispose),
4764 (_gst_controller_finalize), (_gst_controller_class_init):
4765 Take ref to controlled object so that it cannot disappear.
4768 2006-10-10 Wim Taymans <wim@fluendo.com>
4770 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4771 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4772 (gst_check_teardown_sink_pad):
4773 Activate/deactivate pads in setup/teardown respectively.
4775 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4777 Patch by: Josep Torre Valles <josep@fluendo.com>
4780 Cast values when making gstenumtypes.h. This pacifies Forte
4781 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4784 2006-10-09 Wim Taymans <wim@fluendo.com>
4786 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4787 Rename some more @cur to @start to fix docs.
4789 * gst/gstsegment.c: (gst_segment_set_seek):
4791 time and start must always stay in sync as defined in design doc.
4793 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4794 Rename param to fix docs.
4796 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4797 Check that start and time are in sync.
4799 * tests/check/pipelines/parse-launch.c:
4800 (gst_parse_test_element_change_state):
4801 Activate pad before adding to the element.
4803 2006-10-09 Wim Taymans <wim@fluendo.com>
4805 * docs/design/part-qos.txt:
4810 Update seek event docs regarding negative rates.
4811 Rename @cur to @start.
4813 * gst/gstsegment.c: (gst_segment_set_seek):
4815 Update set_seek docs regarding negative rates.
4816 Correctly update last_stop to @stop when dealing with negative
4818 Rename @cur to @start.
4820 * tests/check/gst/gstpad.c: (GST_START_TEST):
4821 Activate pads before trying to use them.
4823 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4824 (gst_segment_suite):
4825 Add simple check for segments and negative rates.
4827 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4829 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4831 * docs/gst/gstreamer-sections.txt:
4832 API: add gst_tag_list_is_empty() (#360467).
4834 * tests/check/gst/gsttag.c: (GST_START_TEST):
4837 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4840 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4841 a value that doesn't fit on enumeration.
4843 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4845 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4846 Remove local debugging system and use Gstreamer's instead.
4848 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4850 Patch by: Josep Torre Valles <josep@fluendo.com>
4852 * common/m4/gst-error.m4:
4853 Disable warning of statement not reached on Forte.
4855 Fix warning on Forte (value doesn't fit on enumeration).
4856 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4857 Fix warning on Forte (value doesn't fit on enumeration).
4858 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4859 DEBUG macro says it takes minimum of 2 args and so Forte
4860 complains about the use with just 1 arg.
4861 * plugins/elements/gstfdsink.c:
4862 * plugins/elements/gstfdsrc.c:
4863 * plugins/elements/gstfilesink.c:
4864 * plugins/elements/gstfilesrc.c:
4865 Use correct return type for the uri handler implementations.
4867 All these fix warnings in Forte. Fixes bug #360860.
4869 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4872 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4873 format string, so don't use G_GNUC_PRINTF for those versions.
4875 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4877 * gst/gsttaglist.c: (gst_is_tag_list):
4879 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4881 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4882 Small test for the above.
4884 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4887 Less tabs, more spaces.
4889 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4892 Those two function declarations do actually belong there, revert
4893 commit from yesterday that turned them intro macros.
4895 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4897 Patch by: Josep Torre Valles <josep@fluendo.com>
4899 * gst/gst.c: (gst_init_get_option_group):
4900 Fix empty declaration and type mismatch.
4901 * gst/gstbin.c: (gst_bin_change_state_func):
4903 * gst/gstelement.c: (gst_element_continue_state),
4904 (gst_element_set_state_func), (gst_element_change_state),
4905 (gst_element_change_state_func):
4906 Fix type mismatches.
4907 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4908 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4909 Cast as appropriate.
4910 * gst/gstobject.c: (gst_class_signal_connect):
4911 Cast as appropriate. The function pointer parameter really
4912 has the wrong type but would break API if we change it.
4914 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4915 order of including string.h.
4916 * gst/gstutils.c: (gst_element_state_get_name):
4917 Remove unreachable line.
4918 * gst/gstxml.c: (gst_xml_parse_doc):
4920 All these caught by Forte.
4922 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4924 Patch by: Josep Torre Valles <josep@fluendo.com>
4926 * common/m4/gst-error.m4:
4928 We need to disable warnings on Forte for empty declarations
4929 due to gst-indent adding ;s to lines that just use macros
4930 where the macro actually doesn't need a ; at end to end
4933 2006-10-06 Wim Taymans <wim@fluendo.com>
4935 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4936 (gst_file_sink_close_file), (gst_file_sink_event),
4937 (gst_file_sink_render):
4938 Add some FIXME for the NEWSEGMENT handling.
4940 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4942 * gst/parse/grammar.y:
4943 Remove static function gst_parse_element_lock as all it does
4944 is return. Looks like cruft from 0.8.
4946 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4948 Patch by: Josep Torre Valles <josep@fluendo.com>
4950 * common/m4/gst-error.m4:
4952 * libs/gst/net/Makefile.am:
4953 Fix a compilation issue with Forte on Solaris. inet_aton is in
4956 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4958 * gst/gstpad.c: (pre_activate):
4959 * gst/gstregistry.c: (gst_registry_scan_path_level):
4960 * gst/gstregistryxml.c: (load_plugin):
4961 * libs/gst/controller/gstcontroller.c:
4962 (gst_controlled_property_set_interpolation_mode):
4963 * libs/gst/dataprotocol/dataprotocol.c:
4964 (gst_dp_packet_from_event_1_0):
4965 * libs/gst/net/gstnetclientclock.c:
4966 (gst_net_client_clock_observe_times):
4967 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4970 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4973 * docs/gst/gstreamer-sections.txt:
4974 * gst/gstconfig.h.in:
4977 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4978 whether we can use G_GNUC_PRINTF in other header files and at
4979 least check the printf format/arguments of debug messages and
4980 GST_ELEMENT_ERROR messages when the printf extension is not
4982 Replace more tabs with spaces in gstinfo.h and remove two spurious
4983 function declarations in GST_DISABLE_DEBUG part with macros.
4985 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4987 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4988 More docs for the sync-message signal (mention that it is not
4989 emitted by default); log message structures of messages posted on
4992 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4994 * gst/gst.c: (ensure_current_registry_forking):
4995 Use a pipe pair to receive status results from the forked child, and
4996 ignore the result from waitpid. Fixes #355499
4998 2006-10-02 Wim Taymans <wim@fluendo.com>
5000 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5001 (gst_ghost_pad_suite):
5004 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5007 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
5009 2006-10-02 Edward Hervey <edward@fluendo.com>
5011 * docs/design/part-block.txt:
5012 Further explain the use of flushing on blocked pads.
5013 * docs/gst/gstreamer-sections.txt:
5014 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5015 (gst_pad_push_event):
5017 Added new GstPadFlag : GST_PAD_BLOCKING.
5018 Adds the notion of pads really blocking, which enables to properly
5019 handle FLUSH_START/FLUSH_STOP events on blocked pads.
5021 API: gst_pad_is_blocking()
5022 API: GST_PAD_IS_BLOCKING() macro
5023 API: GST_PAD_BLOCKING GstPadFlag
5025 2006-10-02 Wim Taymans <wim@fluendo.com>
5027 Patch by: mrcgran <mrc.gran at gmail dot com>
5029 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
5030 Filter the proxied caps against the padtemplate if we have one.
5032 * gst/gstquery.c: (gst_query_new_segment):
5033 Add include for gstinfo.h so that compilation with
5034 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
5036 2006-10-02 Wim Taymans <wim@fluendo.com>
5038 Patch by: Alessandro Decina <alessandro at nnva org>
5040 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
5041 (gst_file_sink_set_location), (gst_file_sink_open_file),
5042 (gst_file_sink_close_file), (gst_file_sink_event),
5043 (gst_file_sink_render):
5044 Set file to NULL when closing filesink so that we can set a new filename
5045 in READY. Fixes #358613.
5047 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
5049 Patch by: Alessandro Decina <alessandro at nnva org>
5051 * gst/gstevent.c: (_gst_event_copy):
5052 Fix gst_mini_object_make_writable() and gst_event_copy() for events
5053 with event structures by setting the parent refcount address of the
5054 copied structure to the address of the refcount member of the newly
5055 copied event rather than the address of the refcount member of the
5056 original event. Fixes #358737.
5058 * tests/check/gst/gstevent.c: (GST_START_TEST):
5059 Unit test for the above.
5061 2006-09-29 Stefan Kost <ensonic@users.sf.net>
5063 * docs/design/Makefile.am:
5064 Dist some more files.
5066 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5068 * tests/check/libs/controller.c: (GST_START_TEST),
5069 (gst_controller_suite):
5070 Add test for the previous fix; add some more tests
5071 for correct refcounting behaviour; fix a few leaks
5072 in test cases; call gst_controller_init() at start
5075 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
5077 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5078 (gst_controller_set_from_list):
5079 Don't g_return_val_if_fail() on timed values with invalid timestamps
5080 inside a critical section without unlocking the mutex. Spotted by
5081 René Stadler. (#357617)
5082 Also, fix up refcounting properly: when returning an existing
5083 controller, we should increase the reference only once and not
5084 once per property and when trying to control a property again
5085 we should also increase the refcount.
5087 2006-09-29 Wim Taymans <wim@fluendo.com>
5089 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5090 * libs/gst/net/gstnettimeprovider.c:
5091 (gst_net_time_provider_thread):
5092 Stop reading commands when EOF as well.
5094 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
5095 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
5096 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5097 Unify description of the dump property.
5099 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5101 * tests/examples/manual/.cvsignore:
5102 OK, so it's actually cvsignore that needs changing. Stop laughing.
5104 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5106 * tests/examples/manual/Makefile.am:
5107 Gah, declare vars *before* using them
5109 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5111 * gst/gst.c: (init_pre), (scan_and_update_registry),
5112 (ensure_current_registry_nonforking),
5113 (ensure_current_registry_forking), (ensure_current_registry),
5114 (init_post), (gst_debug_help), (gst_deinit):
5115 * gst/gst_private.h:
5116 * gst/gstregistry.c: (gst_registry_finalize),
5117 (gst_registry_remove_features_for_plugin_unlocked),
5118 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5119 (gst_registry_scan_path),
5120 (_priv_gst_registry_remove_cache_plugins),
5121 (_priv_gst_registry_cleanup):
5122 * gst/gstregistry.h:
5123 Re-commit the registry changes, along with an extra fix:
5124 When a cached plugin is encountered at a different file path,
5125 update the stored path in the registry cache so that the parent
5126 process knows where it actually is now when it re-reads the registry
5127 cache. Fixes the thing that broke distcheck with the previous commit.
5129 * tests/check/Makefile.am:
5130 Clean up files named 'core' too when running make clean.
5132 * tests/examples/manual/Makefile.am:
5133 Set up a registry path for running these tests, and clean it properly
5136 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
5139 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
5140 want gmodule-no-export-2.0.pc instead so that we don't drag in
5141 --export-dynamic on every project that links to GStreamer.
5143 Also, make our export regex only match the start of symbols, rather
5144 than any symbol that contains '_gst' somewhere.
5146 * libs/gst/check/Makefile.am:
5147 The libgstcheck we build does however need export-dynamic, as it
5148 produces some symbols that don't match our _gst... style regex.
5151 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5153 * gst/gst.c: (init_pre), (scan_and_update_registry),
5154 (ensure_current_registry_nonforking),
5155 (ensure_current_registry_forking), (ensure_current_registry),
5156 (init_post), (gst_debug_help), (gst_deinit):
5157 * gst/gst_private.h:
5158 * gst/gstregistry.c: (gst_registry_finalize),
5159 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5160 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
5161 (_gst_registry_cleanup):
5162 * gst/gstregistry.h:
5163 Revert previous change until I figure out why it breaks distcheck.
5165 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
5167 * gst/gst.c: (init_pre), (scan_and_update_registry),
5168 (ensure_current_registry_nonforking),
5169 (ensure_current_registry_forking), (ensure_current_registry),
5170 (init_post), (gst_debug_help), (gst_deinit):
5172 Make init_pre and init_post take the full complement of GOptionFunc
5173 args so they can return useful GErrors. Make the registry updating
5176 Call _priv_gst_registry_remove_cache_plugins after scanning files to
5177 ensure that the registry we're about to write out doesn't contain
5178 stale information about old-deleted plugin files.
5180 Make _priv_gst_registry_remove_cache_plugins return a boolean so
5181 that deletion of plugin files is considered a registry change.
5183 * gst/gst_private.h:
5184 * gst/gstregistry.c: (gst_registry_finalize),
5185 (gst_registry_remove_features_for_plugin_unlocked),
5186 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
5187 (gst_registry_scan_path),
5188 (_priv_gst_registry_remove_cache_plugins),
5189 (_priv_gst_registry_cleanup):
5190 * gst/gstregistry.h:
5191 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
5192 by adding _priv prefix, so that they won't appear in the global
5193 symbol table. They still do atm though because of #318031. Move the
5194 prototypes to gst_private.h
5196 When removing a plugin, remove all features for that plugin too.
5199 2006-09-27 Wim Taymans <wim@fluendo.com>
5201 * docs/random/moving-plugins:
5202 Make it clear that the "compiled-in descriptions" really mean
5203 the element details.
5205 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5206 (gst_base_sink_wait_preroll):
5209 * docs/libs/gstreamer-libs-sections.txt:
5210 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5211 (gst_base_src_get_range), (gst_base_src_activate_push):
5212 * libs/gst/base/gstbasesrc.h:
5213 Added function to block while waiting for PLAYING, this function
5214 is used by live sources that block on the clock.
5215 API: gst_base_src_wait_playing()
5217 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5219 Patch by: Peter Kjellerstedt <pkj at axis com>
5222 gst-element-check.m4 is generated and should therefore be
5223 copied from the build dir rather than the source dir (#357593).
5224 'make distcheck' hasn't noticed this because we were disting
5225 the file as well, so stop doing that.
5227 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
5229 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5230 Add some tests for gst_caps_intersect().
5232 * tools/gst-launch.c: (event_loop):
5233 Print all buffering percentages we get, even the 100% one.
5235 2006-09-26 Wim Taymans <wim@fluendo.com>
5237 * tools/gst-inspect.c: (print_element_properties_info),
5238 (print_signal_info):
5239 Fix printing of flags to match the look of enums.
5241 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5243 * gst/gstelementfactory.c:
5244 Fix typo in docs blurb.
5246 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5248 * gst/gsturi.c: (search_by_entry):
5249 Don't assert/crash here if a uri handler doesn't return any
5250 supported protocols. The list of protocols could be generated
5251 dynamically at runtime or at plugin registration, and an error
5252 in the underlying library shouldn't be fatal (#353301).
5254 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5257 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5258 (spotted by Peter Kjellerstedt).
5260 2006-09-23 Wim Taymans <wim@fluendo.com>
5262 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5264 * libs/gst/base/gstbasesrc.c:
5265 (gst_base_src_default_check_get_range), (gst_base_src_start),
5266 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5267 (gst_base_src_change_state):
5268 Match _start/_stop calls in the activate functions. Remove redundant
5269 _stop call from the state change function. Fixes #356910.
5270 Turn failure DEBUG into ERROR.
5272 2006-09-22 Wim Taymans <wim@fluendo.com>
5274 * docs/design/part-buffering.txt:
5275 * gst/gstmessage.c: (gst_message_new_buffering),
5276 (gst_message_parse_buffering):
5277 Update docs about buffering.
5279 * docs/design/part-trickmodes.txt:
5282 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5284 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5285 (gst_controller_new_list):
5286 Ref instances when returning them again (fixes #357180)
5288 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5290 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5291 Don't forget to release proxy lock when there's an error.
5293 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5296 Add extra initialisers for Caps things, to fix some plugin warnings
5299 2006-09-18 Wim Taymans <wim@fluendo.com>
5301 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5302 Also set template on the internal pad so that a getcaps from the
5303 target pad returns the template caps.
5305 2006-09-18 Wim Taymans <wim@fluendo.com>
5307 * gst/gstelement.c: (gst_element_post_message),
5308 (gst_element_dispose):
5309 Use _DEBUG_OBJECT some more.
5311 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5314 * tools/gst-launch.c: (main):
5315 If the toplevel element is not a GstPipeline, it must be put in a
5316 pipeline so that a bus and clock is selected.
5318 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5320 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5321 JITTER, RATE, and LATENCY query should be handled by the
5322 default case and not by the CONVERT query code.
5324 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5326 * gst/gstformat.c: (gst_format_register):
5327 Fix locking order (must take lock before using n_values).
5329 * gst/gstvalue.c: (gst_value_serialize_enum),
5330 (gst_value_deserialize_enum_iter_cmp),
5331 (gst_value_deserialize_enum):
5332 Fix serialisation/deserialisation of custom registered GstFormats.
5334 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5335 Unit test for custom format serialisation/deserialisation.
5337 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5339 * docs/pwg/building-boiler.xml:
5340 * plugins/elements/gstcapsfilter.c:
5341 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5344 2006-09-16 Edward Hervey <edward@fluendo.com>
5346 * libs/gst/base/gstbasetransform.c:
5347 (gst_base_transform_buffer_alloc):
5348 Check if requested caps are the same as the sinks caps IF
5349 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5351 This fixes the renegotiation issues stated in #352827.
5353 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5356 * docs/manual/advanced-autoplugging.xml:
5357 * tests/examples/Makefile.am:
5358 * tests/examples/manual/.cvsignore:
5359 * tests/examples/manual/Makefile.am:
5360 * tests/examples/manual/extract.pl:
5361 Extract the manual examples again like we used to do.
5364 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5366 * win32/common/config.h:
5369 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5372 Documents how to receive errors.
5374 2006-09-15 Wim Taymans <wim@fluendo.com>
5376 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5377 (event_loop), (main):
5378 Added some comments here and there.
5379 Post an application message when an interrupt is caught instead of doing
5380 an uncontrolled state change.
5381 Clean up the event loop.
5382 Handle buffering messages, pause/resume the pipeline.
5383 Make shutdown because of an interrupt more reliable.
5385 2006-09-15 Wim Taymans <wim@fluendo.com>
5387 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5388 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5389 (gst_base_sink_preroll_object):
5390 Make sure that our internal state is correct when we commit our state
5391 asynchronously. This solves a race where a state change to PLAYING
5392 could cause the sink to remain blocked in preroll in some situations.
5394 2006-09-15 Wim Taymans <wim@fluendo.com>
5396 * tools/gst-inspect.c: (print_element_properties_info),
5397 (print_signal_info):
5398 List flags as hex so it's easier to deal with.
5400 2006-09-15 Wim Taymans <wim@fluendo.com>
5402 * docs/libs/gstreamer-libs-sections.txt:
5403 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5404 (gst_base_sink_do_sync):
5405 * libs/gst/base/gstbasesink.h:
5406 Expose logic to wait for preroll so that subclasses such as audiosink
5407 can also use this method.
5408 API: gst_base_sink_wait_preroll()
5410 2006-09-15 Wim Taymans <wim@fluendo.com>
5412 * gst/gstobject.c: (gst_object_set_parent):
5413 * gst/gstpipeline.c: (do_pipeline_seek):
5414 Small cleanups in docs and code.
5416 * gst/gstsegment.c: (gst_segment_clip):
5417 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5418 if stop == start and start is in the segment, no clipping should be
5419 done. Also add a test for this.
5421 2006-09-15 Wim Taymans <wim@fluendo.com>
5423 * docs/design/part-buffering.txt:
5424 * docs/gst/gstreamer-sections.txt:
5425 * gst/gstmessage.c: (gst_message_new_buffering),
5426 (gst_message_parse_buffering):
5428 Added methods to create and parse BUFFERING messages.
5429 Added preliminary docs about buffering.
5430 API: gst_message_new_buffering
5431 API: gst_message_parse_buffering
5433 2006-09-06 Wim Taymans <wim@fluendo.com>
5436 Update documentation.
5438 * gst/gstelement.c: (gst_element_class_init),
5439 (gst_element_release_request_pad), (gst_element_set_clock),
5440 (gst_element_get_index), (gst_element_add_pad),
5441 (gst_element_remove_pad), (gst_element_get_random_pad),
5442 (gst_element_send_event), (gst_element_get_query_types),
5443 (gst_element_query), (gst_element_post_message),
5444 (gst_element_message_full), (gst_element_continue_state),
5445 (gst_element_lost_state), (gst_element_save_thyself),
5446 (gst_element_restore_thyself):
5447 Documentation updates.
5448 Rename last bit of the new-pad -> pad-added signal rename.
5449 Fix the case where an element query would only work if the source
5451 Avoid some useless type checking in message handling.
5456 Documentation updates.
5458 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5460 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5461 add an INFO line for when we actually update the fd
5463 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5468 === release 0.10.10 ===
5470 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5473 releasing 0.10.10, "Pais"
5475 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5477 * docs/manual/advanced-position.xml:
5478 Fix typo in sample code.
5480 2006-09-05 Wim Taymans <wim@fluendo.com>
5482 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5483 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5484 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5485 * libs/gst/net/gstnetclientclock.h:
5486 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5487 * libs/gst/net/gstnettimepacket.h:
5488 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5489 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5490 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5491 * libs/gst/net/gstnettimeprovider.h:
5492 Make stuff compile on windows. Fixes #345295.
5494 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5496 * gst/gst.c: (ensure_current_registry_forking):
5497 Print better details when child was terminated by signal.
5499 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5501 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5502 Print a warning rather than g_assert() if a plugin feature
5503 is a URI handler but returns no protocols (#353976).
5505 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5507 * docs/random/moving-plugins:
5510 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5512 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5513 Fix locking order, handle NULL function values properly.
5518 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5519 Initialise variable before using it and fix debug statement to
5520 print the address of the function rather than the address of the
5521 variable on the stack holding the address of the function.
5523 2006-09-01 Wim Taymans <wim@fluendo.com>
5525 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5526 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5527 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5528 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5529 (gst_ghost_pad_parent_unset),
5530 (gst_ghost_pad_internal_do_activate_push),
5531 (gst_ghost_pad_internal_do_activate_pull),
5532 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5533 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5534 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5535 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5536 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5537 (gst_ghost_pad_new_no_target_from_template),
5538 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5540 Avoid needless typechecking in macros.
5541 Since the internal pad is always present and never changes, there is
5542 no need to locking or ref when retrieving it.
5543 Improve debugging a bit.
5544 Handle link errors when setting the target. Fixes #341029.
5546 2006-09-01 Wim Taymans <wim@fluendo.com>
5548 * docs/libs/gstreamer-libs-sections.txt:
5549 * docs/plugins/gstreamer-plugins-sections.txt:
5552 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5553 (gst_collect_pads_event):
5554 * libs/gst/base/gstcollectpads.h:
5555 Documentation updates.
5556 Free queued buffer when removing a pad.
5558 2006-08-31 Michael Smith <msmith@fluendo.com>
5560 * gst/gstutils.c: (gst_element_link_pads),
5561 (gst_element_link_pads_filtered):
5562 Ensure that we set a capsfilter to NULL if we failed to link it
5563 when doing filtered linking, to avoid criticals.
5565 No need to check for unreffing srcpad, which is explicly NULLed
5566 above (a trivial code cleanup).
5568 2006-08-31 Wim Taymans <wim@fluendo.com>
5570 * docs/design/part-gstghostpad.txt:
5571 Update ascii art in documentation.
5573 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5574 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5575 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5576 (gst_ghost_pad_internal_do_activate_push),
5577 (gst_ghost_pad_internal_do_activate_pull),
5578 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5579 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5580 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5581 (gst_ghost_pad_set_target):
5582 Small cleanups and leak fixes.
5583 Remove some checks now that the internal pad is never NULL.
5584 Fix the case where linking pads without a target would create nasty
5585 criticals. Fixes #341029.
5586 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5587 value of _set_target().
5589 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5590 (gst_ghost_pad_suite):
5591 Some more tests for creating and linking untargeted ghostpads.
5593 2006-08-31 Edward Hervey <edward@fluendo.com>
5595 * docs/gst/gstreamer-sections.txt:
5596 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5597 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5598 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5599 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5600 (gst_ghost_pad_new_from_template),
5601 (gst_ghost_pad_new_no_target_from_template):
5602 * gst/gstghostpad.h:
5603 Refactored *_new() functions.
5604 Templates are now used as a g_object_new() parameter.
5605 Use template in _do_getcaps() if we don't have a target.
5606 Small documentation cleanups.
5607 Added two new constructors:
5608 gst_ghost_pad_new_from_template()
5609 gst_ghost_pad_new_no_target_from_template()
5610 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5611 (gst_ghost_pad_suite):
5612 Added tests for new ghostpad instanciation functions.
5614 API additions: gst_ghost_pad_new_from_template,
5615 gst_ghost_pad_new_no_target_from_template
5617 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5619 * docs/random/ensonic/profiling.txt:
5620 Ideas about qos profiling.
5622 2006-08-29 Wim Taymans <wim@fluendo.com>
5624 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5628 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5631 Improve and detypofy docs.
5633 * tests/check/Makefile.am:
5634 * tests/check/gst/.cvsignore:
5635 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5636 Add a basic test suite for GstXML.
5638 2006-08-29 Wim Taymans <wim@fluendo.com>
5640 * gst/gstelement.c: (activate_pads), (clear_caps),
5641 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5642 Clear the pad caps when the element shut down all of the pads and
5643 is not streaming data that could modify the caps.
5646 2006-08-28 Michael Smith <msmith@fluendo.com>
5648 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5649 Revert previous change; I misunderstood single-segment mode.
5651 2006-08-28 Michael Smith <msmith@fluendo.com>
5653 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5654 Unset DISCONT on buffers when using single-segment mode.
5656 2006-08-28 Wim Taymans <wim@fluendo.com>
5658 * gst/gstcaps.c: (gst_caps_merge_structure):
5660 Fix docs and indentation again.
5662 * tests/check/gst/gstquery.c: (GST_START_TEST):
5663 Fix leak in tests and add some more tests.
5665 2006-08-28 Edward Hervey <edward@fluendo.com>
5667 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5668 Inform GstSegment of the last stop position in order for the current
5669 segment to have a proper duration if it doesn't have a specific stop
5670 position from which a duration could be calculated.
5671 This bug was noticeable when a non-flushing, non-update new segment was
5672 followed by another segment (all buffers from the new segment were being
5675 2006-08-28 Wim Taymans <wim@fluendo.com>
5677 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5678 Small comment update.
5680 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5681 (gst_identity_transform_ip):
5682 Drop-probability is broken, mention this in the code with a
5683 FIXME and also in the property description.
5684 Make silent also be silent about the drop messages.
5686 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5688 * docs/manual/appendix-win32.xml:
5689 Remove mention of popt, we don't depend on that any
5690 longer (#353136). Add some comments pointing out that
5691 this section is slightly outdated.
5693 2006-08-28 Wim Taymans <wim@fluendo.com>
5695 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5697 * gst/gstquery.c: (gst_query_new_segment):
5698 * tests/check/gst/gstquery.c: (GST_START_TEST):
5699 Initialize variables when creating a new segment query.
5702 2006-08-28 Wim Taymans <wim@fluendo.com>
5704 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5706 * gst/gstelement.c: (gst_element_get_bus):
5707 * tests/check/gst/gstelement.c: (GST_START_TEST):
5708 Check for NULL before _reffing the bus. Fixes #353122.
5710 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5712 * docs/manual/basics-bus.xml:
5713 Docs update: fix wrong callback return value explanation; add
5714 some lines about the implicit relationship between main loop
5715 and main context; remove duplicate main loop variable declaration.
5717 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5719 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5720 Don't leak caps in unit test; add a few more simple
5723 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5725 * docs/gst/gstreamer-sections.txt:
5726 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5727 (gst_caps_structure_is_subset), (gst_caps_merge),
5728 (gst_caps_merge_structure):
5730 * libs/gst/base/gstbasetransform.c:
5731 (gst_base_transform_transform_caps):
5732 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5733 implement caps merging (fixes #352580)
5735 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5737 * tools/Makefile.am:
5738 * tools/gst-plot-timeline.py:
5739 add debug-log plotting developer tool (#340674)
5741 2006-08-23 Wim Taymans <wim@fluendo.com>
5743 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5744 (gst_pad_stop_task):
5745 Improve debugging for task functions.
5747 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5748 (gst_task_start), (gst_task_pause), (gst_task_join):
5749 Make sure that the task function started and finished after a
5751 Don't try to push the task function on the threadpool multiple
5753 Improve the g_warning message with some useful suggestions
5754 about how to fix the problem.
5756 2006-08-23 Wim Taymans <wim@fluendo.com>
5758 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5759 Handle RESYNC correctly in _proxy_getcaps.
5761 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5763 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5764 (gst_xml_parse_memory), (gst_xml_get_element):
5765 Chain up to parent class in dispose function and also
5766 unref the elements in the toplevel_elements GList.
5767 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5768 Always return a reference in gst_xml_get_element() rather
5769 than only sometimes.
5771 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5772 Don't leak GstXml object.
5774 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5776 * docs/gst/gstreamer-sections.txt:
5777 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5780 * libs/gst/base/gstbasetransform.c:
5781 (gst_base_transform_transform_caps):
5782 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5785 2006-08-21 Edward Hervey <edward@fluendo.com>
5787 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5788 Implement GObject::dispose virtual method in GstXML so we can free the
5791 2006-08-21 Wim Taymans <wim@fluendo.com>
5793 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5794 (gst_buffer_create_sub):
5795 Copy duration/offset_end/caps when creating a subbuffer of the
5797 Make the subbuffer read-only when we make the metadata writable for
5800 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5801 Added check for metadata copy when creating subbuffers.
5803 2006-08-21 Edward Hervey <edward@fluendo.com>
5805 * libs/gst/base/gstbasetransform.c:
5806 (gst_base_transform_buffer_alloc):
5807 Only call downstream buffer_alloc if transform element is passthrough
5808 or always_in_place. Closes #350449.
5810 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5813 ChangeLog surgery to add comments to previous changes
5815 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5820 * gst/gstpad.c: (gst_pad_set_active):
5821 Be more verbose in the log
5823 * libs/gst/base/gstbasetransform.c:
5824 (gst_base_transform_transform_caps):
5825 Simplify caps to get rid of duplicates, fixes #345444
5827 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5831 Use these optimizations only internally.
5833 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5835 * gst/gstvalue.c: (gst_value_compare_list),
5836 (gst_value_compare_fraction_range),
5837 (gst_value_intersect_fraction_fraction_range),
5838 (gst_value_intersect_fraction_range_fraction_range),
5839 (gst_value_subtract_fraction_fraction_range),
5840 (gst_value_subtract_fraction_range_fraction_range),
5841 (gst_value_get_compare_func), (gst_value_compare),
5842 (gst_value_compare_with_func):
5844 Saves the expensive lookup of the compare function in many cases
5847 2006-08-18 Edward Hervey <edward@fluendo.com>
5849 * tests/check/gst/gstinfo.c: (gst_info_suite):
5850 Disable test that require gstdebug if it wasn't built in core.
5852 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5854 * docs/random/ensonic/logging.txt:
5857 * gst/gstinfo.c: (gst_debug_log_default):
5858 reorder fields, save some columns, add optional color codes for log
5861 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5863 * docs/random/ensonic/logging.txt:
5864 add ideas about making the logs a bit more useful
5866 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5868 * docs/pwg/advanced-events.xml:
5869 * docs/pwg/titlepage.xml:
5870 Update for 0.10 API (#340627). Add myself
5873 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5875 * docs/libs/gstreamer-libs-docs.sgml:
5876 * docs/libs/gstreamer-libs-sections.txt:
5877 * libs/gst/check/gstbufferstraw.c:
5878 Make gstcheck stuff show up in docs (still needs to
5879 be documented properly though).
5881 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5883 * docs/gst/gstreamer-sections.txt:
5885 * gst/gst.c: (init_post):
5886 * gst/gst_private.h:
5887 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5889 * gst/gstquery.c: (gst_query_new_position),
5890 (gst_query_set_position), (gst_query_parse_position),
5891 (gst_query_new_duration), (gst_query_set_duration),
5892 (gst_query_parse_duration), (gst_query_new_convert),
5893 (gst_query_set_convert), (gst_query_parse_convert),
5894 (gst_query_new_segment), (gst_query_set_segment),
5895 (gst_query_parse_segment), (gst_query_new_seeking),
5896 (gst_query_set_seeking), (gst_query_parse_seeking):
5897 Add internal helpers for pre-registering quarks from static strings
5898 and using the quark values directly instead of looking them up when
5899 creating and parsing queries. Can be used for event construction too.
5902 2006-08-16 Wim Taymans <wim@fluendo.com>
5907 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5909 * gst/gstutils.c: (gst_util_set_value_from_string):
5910 Fix memleak (#351502).
5912 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5913 Add unit test for most of gst_util_set_value_from_string()
5914 (not that one would want to encourage use of this function).
5916 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5918 * libs/gst/check/gstcheck.h:
5919 Use const gchar * variables in fail_unless_equals_string
5920 macro to avoid compiler warnings (and don't use tabs for
5923 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5925 * tools/gst-launch.c: (print_tag):
5926 More space on the left for the tag names, to cater
5927 for the 'extended comment' tag (not touching the
5928 string for the first line since it's translated).
5930 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5932 * libs/gst/check/gstcheck.h:
5933 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5934 print something when they fail.
5936 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5938 * docs/gst/gstreamer-sections.txt:
5939 * gst/gsttaglist.c: (_gst_tag_initialize):
5941 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5942 Also change merge function for GST_TAG_COMMENT to
5945 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5947 * gst/gstinfo.c: (gst_debug_print_object):
5948 Make GST_PTR_FORMAT print messages as well.
5950 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5951 (GST_START_TEST), (gst_info_suite):
5954 2006-08-14 Edward Hervey <edward@fluendo.com>
5956 * gst/gstelementfactory.c: (gst_element_register):
5957 If the GstElementClass doesn't have a GstElementDetails with all fields
5958 filled up correctly (longname, description AND author), then error out
5959 nicely instead of crashing.
5961 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5963 * gst/gststructure.c:
5964 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5967 Expand on the difference between arrays and lists as we use them.
5969 2006-08-14 Wim Taymans <wim@fluendo.com>
5971 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5972 If the parent state change function failed, don't assume we can safely
5973 stop the source, this will be done when the pads are deactivated.
5975 2006-08-14 Wim Taymans <wim@fluendo.com>
5978 * gst/gsttask.c: (gst_task_join):
5981 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5982 (gst_pad_stop_task):
5983 When pad (de)activation failed for some reason, restore the old
5984 activation mode and set the pad to flushing instead of assuming the
5986 If the _task_join() failed, reinstall the task on the pad so that it can
5987 be stopped later and return an error.
5989 2006-08-11 Andy Wingo <wingo@pobox.com>
5992 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5993 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5994 is only for users of API that don't want to see deprecated
5995 functions in the headers; people that want to compile out
5996 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5997 CFLAGS. Fixes the build of multifdsink, or will soon..
5999 2006-08-11 Wim Taymans <wim@fluendo.com>
6001 * docs/gst/gstreamer-sections.txt:
6002 Add GstClockClass vmethod docs.
6005 Mark #endif with comment for associated #if
6007 * gst/gstclock.c: (gst_clock_id_wait):
6009 Add vmethod wait_jitter to avoid an unneeded _get_time() for
6010 most clock implementations.
6012 Flesh out docs about resolution methods.
6013 API: GstClockClass::wait_jitter
6015 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6016 (gst_system_clock_async_thread),
6017 (gst_system_clock_id_wait_jitter_unlocked),
6018 (gst_system_clock_id_wait_jitter):
6019 Use base class wait_jitter variant for improved performance
6020 due to less clock polling.
6022 2006-08-11 Edward Hervey <edward@fluendo.com>
6024 * gst/gst.c: (gst_init_check), (init_post):
6025 Set gst as being initialized before scanning/updating the registry,
6026 since there might be my python plugin loader that calls gst_init() and
6027 we don't want to loop back in.
6030 2006-08-11 Wim Taymans <wim@fluendo.com>
6032 * docs/design/part-qos.txt:
6033 Bring docs in line with the code. Mostly the sign of the jitter was
6034 wrong in the docs. Fixes #349943.
6037 Fix the docs for the jitter.
6039 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
6040 (gst_event_parse_tag), (gst_event_new_buffer_size),
6041 (gst_event_parse_buffer_size), (gst_event_parse_qos),
6042 (gst_event_new_seek), (gst_event_parse_seek),
6043 (gst_event_new_navigation):
6044 Make sure the GstStructure has no parent when creating custom
6046 Add some more argument checking so that we avoid 0.0 rates.
6047 Flesh out the docs for the QoS event some more.
6049 2006-08-11 Wim Taymans <wim@fluendo.com>
6051 * docs/gst/gstreamer-sections.txt:
6052 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6053 (ensure_current_registry_forking), (ensure_current_registry),
6054 (parse_one_option), (parse_goption_arg), (gst_deinit),
6055 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
6058 Added API and command line option to disable registry forking in
6059 addition to the environment variable.
6060 Constify some static arrays.
6061 Added some more debug.
6063 API: gst_registry_fork_is_enabled()
6064 API: gst_registry_fork_set_enabled()
6065 API: --gst-disable-registry-fork command line option
6068 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
6070 * gst/gst.c: (gst_init):
6071 Fix typo in error message.
6073 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6075 * libs/gst/controller/gstcontroller.h:
6076 fix ABI size-correction
6078 * tests/check/libs/gdp.c: (gst_dp_suite):
6079 make tests that use deprecated API conditional
6081 2006-08-10 Stefan Kost <ensonic@users.sf.net>
6083 * docs/libs/gstreamer-libs-sections.txt:
6084 * libs/gst/controller/gstcontroller.c:
6085 (_gst_controller_get_property), (_gst_controller_set_property),
6086 (_gst_controller_init), (_gst_controller_class_init):
6087 * libs/gst/controller/gstcontroller.h:
6088 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
6089 (gst_object_set_control_rate):
6090 API: add gst_object_{s,g}et_control_rate(), add private data section,
6093 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
6094 * libs/gst/dataprotocol/dataprotocol.h:
6095 add deprecation guards to make gtk-doc happy and allow disabling cruft
6097 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
6099 * tests/check/Makefile.am:
6100 * tests/check/gst/.cvsignore:
6101 Let's enable the new unit test as well.
6103 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
6106 * docs/gst/gstreamer-sections.txt:
6107 * gst/gstconfig.h.in:
6108 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
6109 (_gst_info_printf_extension_ptr),
6110 (_gst_info_printf_extension_segment):
6111 API: add GST_SEGMENT_FORMAT, which is a printf extension we
6112 register that lets us easily dump GstSegments into debug
6115 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
6116 (info_segment_format_printf_extension), (gst_info_suite):
6117 Add simple unit test that logs a bunch of different segments (not
6118 valgrinded at the moment because of leaks in
6119 gst_debug_add_log_function).
6121 2006-08-09 Edward Hervey <edward@fluendo.com>
6123 * libs/gst/base/gstbasetransform.c:
6124 (gst_base_transform_buffer_alloc):
6125 Even if we can't figure out the proper format to request downstream,
6126 call buffer_alloc() downstream with the input parameters without setting
6127 the caps on the srcpad. This will force negotiation in the chain
6131 2006-08-08 Edward Hervey <edward@fluendo.com>
6133 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6134 Unlinking from a pad without a target is now a perfectly valid case
6135 which should NOT raise an assertion.
6136 This case would happen if a linked ghostpad its target set to NULL after
6137 it was previously linked.
6139 2006-08-08 Edward Hervey <edward@fluendo.com>
6141 * tests/check/libs/gdp.c:
6142 Also comment out the test (see below).
6144 2006-08-08 Edward Hervey <edward@fluendo.com>
6146 * tests/check/libs/gdp.c: (gst_dp_suite):
6147 Use the architecture information from config.h and not gcc macros
6148 in order to properly disable a test that fails on PPC64.
6150 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
6152 * gst/gstelement.c: (gst_element_remove_pad):
6153 Don't crash printing the warning if the pad has no parent.
6155 2006-08-02 Wim Taymans <wim@fluendo.com>
6157 * libs/gst/dataprotocol/dataprotocol.c:
6158 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
6159 (gst_dp_crc), (gst_dp_header_payload_length),
6160 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
6161 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
6162 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
6163 (gst_dp_event_from_packet), (gst_dp_validate_header),
6164 (gst_dp_validate_payload):
6165 Make debug category static
6166 Constify the crc table.
6167 Do some more arg checking in public functions.
6168 Fix some docs and do some small cleanups.
6170 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
6171 Add some more checks to see if GDP deals with bogus input.
6173 2006-07-31 Wim Taymans <wim@fluendo.com>
6175 * gst/gstvalue.c: (gst_value_compare_list):
6176 Fix GstValueList comparison code. Fixes #347293.
6178 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6179 Check to test GstValueList comparison.
6181 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6183 * gst/gstelementfactory.c: (gst_element_factory_create):
6184 Remove unnecessary ref/unref pair
6186 * gst/parse/grammar.y:
6187 Make sure to free the parse buffer on all code paths.
6188 Move a g_free up to the error handler where it's easier to see.
6190 * tests/check/gst/gstevent.c: (test_event):
6191 Extending timeout for downstream travelling events to 10 seconds to
6192 hopefully avoid intermittent failure on the buildbots.
6194 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
6195 Don't manually set the state of the src element - it will happen as a
6196 natural consequence of the pipeline changing state, and that way it
6197 will do it in the right order too.
6199 2006-07-31 Wim Taymans <wim@fluendo.com>
6201 * libs/gst/base/gstbasetransform.c:
6202 (gst_base_transform_buffer_alloc):
6203 Use OBJECT_LOCK and refcounting to get the pad caps in the
6204 buffer_alloc function because the caps could change while we are
6205 busy with them. Fixes #349105
6207 2006-07-31 Wim Taymans <wim@fluendo.com>
6209 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
6210 Protect _PAD_CAPS with OBJECT_LOCK.
6212 2006-07-31 Wim Taymans <wim@fluendo.com>
6214 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6215 (gst_pad_get_property), (gst_pad_activate_pull),
6216 (gst_pad_activate_push), (gst_pad_set_blocked_async),
6217 (gst_pad_set_activate_function),
6218 (gst_pad_set_activatepull_function),
6219 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
6220 (gst_pad_set_getrange_function),
6221 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
6222 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
6223 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
6224 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
6225 (gst_pad_set_acceptcaps_function),
6226 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6227 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
6228 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
6229 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
6230 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
6231 (gst_pad_configure_sink), (gst_pad_configure_src),
6232 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
6233 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
6234 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
6235 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
6236 (gst_pad_send_event):
6237 Use _DEBUG_OBJECT when it makes sense.
6238 Protect GST_PAD_CAPS with the OBJECT_LOCK.
6239 Small cleanups and code reflows.
6240 Avoid caps refcounting in _accept_caps.
6241 Refactor alloc_buffer so that the code performed on the peer is in a
6242 separate function. Also if the pad does not implement a buffer alloc
6243 function, we should still check if the pad is flushing before falling
6244 back to the default allocator.
6246 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6248 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6249 Make all uses of identity and fakesink have silent=true to avoid
6250 serialising every passing data structure, which is breaking tests
6251 on FC4 for some unknown reason.
6253 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6255 * gst/parse/Makefile.am:
6256 * gst/parse/grammar.y:
6257 * gst/parse/parse.l:
6258 Reverted previous patch as it required to bump the flex dependency to
6259 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6261 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6263 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6265 * gst/parse/Makefile.am:
6266 * gst/parse/grammar.y:
6267 * gst/parse/parse.l:
6268 push & pop the state of the lexer for reentrant use case
6271 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6273 * libs/gst/base/gstbasesrc.h:
6274 Note in the docs that the ::newsegment vfunc is not actually used by
6277 2006-07-28 Wim Taymans <wim@fluendo.com>
6279 * libs/gst/base/gstcollectpads.c:
6280 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6281 (gst_collect_pads_clear), (gst_collect_pads_flush),
6282 (gst_collect_pads_event), (gst_collect_pads_chain):
6283 When flushing a pad, also clear the queued buffer so that we don't
6284 accidentally use it when we shouldn't.
6285 Fix leaks by inreffing incomming buffer.
6286 Flush out queued buffers in case of errors.
6289 2006-07-28 Wim Taymans <wim@fluendo.com>
6291 * docs/random/phonon-gst:
6292 Random notes about a Phonon backend.
6294 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6296 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6298 * tests/check/libs/gdp.c: (gst_dp_suite):
6299 Take a whack at fixing the ppc compile using a different define to
6300 disable the broken test.
6302 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6303 Remove excess g_print()
6305 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6307 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6308 Oops, meant to uncomment this line too to dampen the noise a bit.
6310 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6312 * gst/parse/grammar.y:
6313 * gst/parse/parse.l:
6314 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6315 (GST_START_TEST), (parse_suite):
6316 Fix some of the leaks exposed by extending the parse-launch testsuite,
6317 and move the 3 I can't figure out into a separate test that won't run
6318 the pipelines unless the appropriate line is uncommented.
6320 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6322 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6323 Requesting 0 bytes before the end of the file should result in
6324 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6327 2006-07-27 Wim Taymans <wim@fluendo.com>
6329 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6330 Fix useless assert, a uint is always positive.
6332 * gst/gststructure.c: (gst_structure_nth_field_name),
6333 (gst_structure_foreach), (gst_structure_map_in_place):
6334 Check input arguments for public functions to avoid obvious crashes.
6336 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6337 * plugins/elements/gstfakesink.h:
6338 Do less useless typechecking.
6340 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6342 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6343 Do not use mmap() by default since there are a number of error
6344 conditions that we would like to handle in a non-fatal way that
6345 will result in a SIGBUS if we use mmap(). Examples: external
6346 devices (USB harddrive, portable music player) being unplugged
6347 while in use; file on mounted CD/DVD that can't be read because
6348 the medium is partly damaged. Fixes #348455 and #348475.
6350 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6353 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6356 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6358 * gst/gstregistry.c:
6359 Move big documentation comment into class section header, so that it
6360 appears in the API docs.
6362 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6364 * docs/gst/gstreamer-sections.txt:
6365 Oops. Commit the docs additions too for new API.
6366 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6368 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6370 * gst/gststructure.c: (gst_structure_id_set),
6371 (gst_structure_id_set_valist):
6372 * gst/gststructure.h:
6373 Add API for setting values into structures without performing
6374 a quark lookup, if the appropriate quark is already known.
6376 API: gst_structure_id_set
6377 API: gst_structure_id_set_valist
6379 * gst/parse/grammar.y:
6380 * gst/parse/parse.l:
6381 Remove some dead code shown by the coverage information.
6382 Don't throw a critical g_warning when encountering a syntax error,
6383 just warn and let the normal error path handle it.
6385 * plugins/elements/gstelements.c:
6386 Bump the rank of filesink up to PRIMARY so that it is preferred over
6387 gnomevfssink for file:// sink uri's
6389 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6390 (GST_START_TEST), (run_delayed_test),
6391 (gst_parse_test_element_base_init),
6392 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6393 (gst_parse_test_element_change_state),
6394 (gst_register_parse_element), (parse_suite):
6395 Beef up the tests for parse syntax to check that more error cases
6396 fail as they are supposed to. Increases the test coverage a bit.
6398 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6400 * docs/manual/basics-elements.xml:
6401 Fix gst_element_link() example.
6404 Mention in API docs that one should usually gst_bin_add()
6405 elements to a bin or pipeline before doing the linking.
6407 2006-07-26 Wim Taymans <wim@fluendo.com>
6409 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6410 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6411 Avoid function call for known types by keeping the buffer and
6412 subbuffer GType global.
6414 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6415 Random silly optimisations in read() path.
6417 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6419 * tools/gst-launch.c: (main):
6420 If the top-level of the parse is a normal bin, it doesn't do the
6421 right logic to run as a top-level element, so place it inside a
6424 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6426 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6427 Remove superfluous g_object_notify() calls, GObject does
6428 that for us automatically.
6430 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6433 on Win32, use dllspec to export the debug category symbols
6435 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6437 * gst/gsttaglist.c: (_gst_tag_initialize):
6438 Allow more than one GST_TAG_IMAGE per taglist.
6440 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6442 * gst/gstminiobject.c:
6444 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6445 (gst_fd_src_create):
6446 log recurring events at LOG level
6447 add more debug for when the fd gets set
6449 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6451 * gst/gstparse.c: (gst_parse_launch):
6452 Also remove reentrance checks if flex is MT safe (#348179)
6453 Fix my empty ChangeLog entry below
6455 2006-07-21 Andy Wingo <wingo@pobox.com>
6457 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6459 * libs/gst/check/Makefile.am
6460 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6461 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6462 * libs/gst/check/gstbufferstraw.h:
6463 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6464 functions, thus proving I am still a GStreamer haxor. OK I wrote
6465 them a long time ago, but anyways.
6467 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6470 * gst/gstparse.c: (gst_parse_launch):
6471 Check for flex version and omit mutex if we have a MT save flex
6474 2006-07-21 Wim Taymans <wim@fluendo.com>
6476 * gst/gstparse.c: (gst_parse_launch):
6477 Protect recursive calls to _parse with a recursive mutex
6480 2006-07-21 Wim Taymans <wim@fluendo.com>
6482 * tests/check/gst/gstpad.c: (GST_START_TEST):
6485 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6487 * gst/gstparse.c: (gst_parse_launch):
6488 Do not hang on recursive usage of gst_parse_launch()
6490 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6493 Add some more docs, comments and FIXME 0.11s here and there
6494 and also fix some typos.
6496 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6499 Convert tabs to spaces for better readability.
6501 2006-07-20 Edward Hervey <edward@fluendo.com>
6503 * tests/check/libs/gdp.c: (gst_dp_suite):
6504 the test_buffer test fails at line 140 on ppc64 at the following
6506 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6507 GST_BUFFER_FLAG_IN_CAPS),
6508 "GST_BUFFER_IN_CAPS flag should have been copied !");
6509 See bug #348114 for more details.
6511 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6513 * docs/pwg/advanced-scheduling.xml:
6515 Fix typos (#348000).
6517 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6519 * docs/pwg/intro-basics.xml:
6520 Fix wrong links (#347927).
6522 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6524 * gst/gstregistry.h:
6525 * gst/gstregistryxml.c: (load_feature),
6526 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6527 * win32/common/config.h:
6528 make --disable-index work (#342564)
6530 2006-07-18 Wim Taymans <wim@fluendo.com>
6532 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6536 The attached patch adds two missing defines to gsttrace.h when tracing
6537 is disabled. It also corrects one existing define.
6540 2006-07-17 Wim Taymans <wim@fluendo.com>
6542 * docs/gst/gstreamer-sections.txt:
6543 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6545 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6546 Add two functions to check and change the SIGSEGV behaviour
6547 when loading plugins.
6548 Don't mess with the SIGSEGV handler when we were told not to.
6550 API: gst_segtrap_is_enabled
6551 API: gst_segtrap_set_enabled
6553 2006-07-14 Wim Taymans <wim@fluendo.com>
6555 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6556 * tests/check/elements/filesrc.c: (GST_START_TEST):
6557 Revert fix for regression in #347408 after release.
6559 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6561 Patch by: Antoine Tremblay <hexa00 at gmail com>
6563 * gst/gstutils.c: (gst_element_unlink):
6564 Free iterator when done (#347311).
6566 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6567 And add a test case for this.
6569 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6572 Bump nano back to CVS
6574 === release 0.10.9 ===
6576 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6579 releasing 0.10.9, "On the road again"
6581 2006-07-13 Wim Taymans <wim@fluendo.com>
6583 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6584 * tests/check/elements/filesrc.c: (GST_START_TEST):
6585 Revert pull-0 fix for release. Disable check. Fixes #347408.
6587 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6589 * libs/gst/dataprotocol/dataprotocol.c:
6590 (gst_dp_event_from_packet_1_0):
6591 Fixes #347337: failure to deserialize event packets with
6592 empty payload (only event type)
6594 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6597 do not install a .c file in the header directory
6599 2006-07-13 Edward Hervey <edward@fluendo.com>
6601 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6602 GhostPad no longer implicitely use the padtemplates of the targets.
6605 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6607 * gst/gstvalue.c: (gst_value_compare_list),
6608 (gst_value_compare_array), (_gst_value_initialize):
6609 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6610 Make GstValueArray comparison be order dependent as designed.
6611 Add checks for value lists and value array comparisons.
6614 2006-07-11 Edward Hervey <edward@fluendo.com>
6616 * gst/gstbin.c: (activate_pads),
6617 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6618 (gst_bin_change_state_func):
6619 (de)activate src pads before calling state_change on the childs.
6620 This is to avoid the case where a src ghostpad is blocked (holding the
6621 stream lock), which would block the deactivation of the ghostpad's
6623 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6624 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6625 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6626 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6627 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6628 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6629 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6630 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6631 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6632 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6633 (gst_ghost_pad_class_init),
6634 (gst_ghost_pad_internal_do_activate_push),
6635 (gst_ghost_pad_internal_do_activate_pull),
6636 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6637 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6638 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6639 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6640 GhostPads now create their internal GstProxyPad at creation (and not
6641 when they're linked, as it was being done previously).
6642 The internal and target pads are linked straight away.
6643 The data will also travel through the other pad in order to make
6644 pad blocking and probes non-hackish (the probe/block now really happens
6645 on the GhostPad and not on the target).
6646 * gst/gstpad.c: (gst_pad_set_blocked_async),
6647 (gst_pad_link_prepare), (gst_pad_push_event):
6648 Remove previous ghostpad cruft.
6649 * gst/gstutils.c: (gst_pad_add_data_probe),
6650 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6651 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6652 (gst_pad_remove_buffer_probe):
6653 Remove previous ghost pad cruft.
6654 Added more detailed debug statements.
6655 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6656 Fix the testsuite for refcounting changes.
6657 The comments about who has references were correct, but the refcount
6658 being checked wasn't the same (!?!).
6662 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6664 * docs/gst/gstreamer-sections.txt:
6665 * gst/gstconfig.h.in:
6666 More docs for configuration options, add docs to gtk-doc.
6668 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6671 * gst/gstconfig.h.in:
6672 * win32/common/config.h:
6673 Fix build when disabling tracing (fixes #344016). Also start to document
6674 the defines that disable the sub-systems.
6676 2006-07-10 Edward Hervey <edward@fluendo.com>
6678 * gst/gst.c: (ensure_current_registry_forking):
6679 let's make valgrind happy...
6681 2006-07-09 Wim Taymans <wim@fluendo.com>
6683 * gst/gstelement.c: (activate_pads),
6684 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6685 Better pad activation code: Reset the collect value too on resync.
6688 2006-07-09 Wim Taymans <wim@fluendo.com>
6690 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6691 (gst_pad_activate_push):
6692 Use some more macros where it makes sense.
6693 Allow pad mode switching instead of asserting. When a pad
6694 is activated in one mode and we activate it in another,
6695 deactivate it first before activating it in a different mode.
6698 2006-07-08 Andy Wingo <wingo@pobox.com>
6700 * tools/gst-launch.c (main): Handle err == NULL.
6702 * gst/gst.c (init_post, ensure_current_registry)
6703 (ensure_current_registry_forking)
6704 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6705 factoring out the registry scanning into separate functions. Don't
6706 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6707 Better environment var name/interface suggestions accepted.
6709 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6711 * gst/gstobject.c: (gst_object_set_name_default),
6712 (gst_object_set_name):
6713 Random micro-optimisation: don't use a hash table
6714 with strings as keys and the usual strdup/strcmp
6715 involved, but rather just use the GQuark of the
6716 type name as key, since it needs to be looked up
6717 anyway to get the type name string.
6719 * tests/check/gst/gstobject.c: (GST_START_TEST):
6722 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6724 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6725 (gst_bin_iterate_all_by_interface):
6726 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6727 GTypes are gulongs and thus the top 4 bytes might be cut
6728 off on some platforms when doing GPOINTER_TO_INT, leading
6729 to invalid GTypes and bad things happening (see RH bug #179654).
6730 Also add a check to make sure the type passed in is really
6733 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6738 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6742 * gst-element-check.m4:
6743 * gst-element-check.m4.in:
6744 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6745 instead of the unversioned gst-inspect (#324176, #168659).
6747 2006-07-06 Wim Taymans <wim@fluendo.com>
6750 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6753 2006-07-06 Wim Taymans <wim@fluendo.com>
6755 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6756 (gst_base_src_wait), (gst_base_src_update_length),
6757 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6758 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6759 (gst_base_src_loop), (gst_base_src_start),
6760 (gst_base_src_activate_pull):
6762 blocksize == 0 now means the default blocksize when working in push
6764 Remove some pointless asserts in _wait function.
6765 Fix offset/length calculations and EOS handling. We can now pull 0
6766 bytes as well, which is allowed.
6767 use _check_get_range() to decide if we can operate in _pull based
6769 Fix refcounting leak when check_get_range function was not
6771 API GstBaseSrc::blocksize range can be 0 too now (default)
6773 * tests/check/elements/filesrc.c: (GST_START_TEST),
6775 Added check to test _get_range() behaviour.
6777 2006-07-06 Wim Taymans <wim@fluendo.com>
6779 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6780 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6781 (gst_pad_pull_range):
6783 Lots of comments and docs added to the pad functions.
6784 Flesh out the expected behaviour of the get_range() functions.
6786 2006-07-06 Wim Taymans <wim@fluendo.com>
6791 * gst/gstiterator.h:
6795 Remove comma at end of enumerator list.
6797 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6799 * win32/common/libgstbase.def:
6800 * win32/common/libgstdataprotocol.def:
6801 * win32/common/libsgtreamer.def:
6802 Add new exported functions.
6804 2006-07-05 Wim Taymans <wim@fluendo.com>
6806 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6807 Add some more docs here and there.
6809 2006-07-05 Wim Taymans <wim@fluendo.com>
6811 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6812 (gst_base_sink_loop), (gst_base_sink_get_position):
6813 When operating in pull mode update the offset so that we
6816 2006-07-05 Wim Taymans <wim@fluendo.com>
6818 * gst/gstregistryxml.c: (read_string):
6819 Avoid strdup. (will happen in libxml, but hey!)
6824 2006-07-05 Wim Taymans <wim@fluendo.com>
6826 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6827 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6829 No point in checking if the size of the subbuffer > 0, the
6830 code handles it correclty as demonstrated by unit test.
6831 Also add a unit test for the zero sized _new_and_alloc and
6832 _copy. Fixes #346663.
6834 2006-07-05 Wim Taymans <wim@fluendo.com>
6836 * libs/gst/base/gstbasetransform.c:
6837 (gst_base_transform_prepare_output_buffer),
6838 (gst_base_transform_buffer_alloc),
6839 (gst_base_transform_handle_buffer):
6840 Make sure the buffer we pass to transform_ip has a refcount of
6841 1 and thus is writable. Fixes #343196
6843 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6845 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6846 (gst_file_src_init), (gst_file_src_set_property),
6847 (gst_file_src_get_property), (gst_file_src_map_region):
6848 * plugins/elements/gstfilesrc.h:
6849 Add "sequential" property, off by default, to use madvise and hint
6850 to the kernel that sequential access is desired.
6851 Touch all retrieved pages by default to ensure they are pulled
6852 into memory. (Closes #345720)
6854 2006-07-03 Wim Taymans <wim@fluendo.com>
6856 * docs/design/part-block.txt:
6857 * docs/design/part-dynamic.txt:
6860 2006-07-03 Wim Taymans <wim@fluendo.com>
6862 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6863 (gst_caps_unref), (gst_static_caps_get),
6864 (gst_caps_append_structure):
6865 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6866 Use GSlice when the glib we build against is >= 2.10
6868 2006-07-03 Wim Taymans <wim@fluendo.com>
6870 * gst/gstelement.c: (gst_element_pads_activate):
6871 Small cleanup in pad activation code.
6873 2006-07-03 Wim Taymans <wim@fluendo.com>
6875 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6877 * gst/gst-i18n-app.h:
6878 * gst/gst-i18n-lib.h:
6879 * tools/gst-inspect.c: (print_signal_info):
6880 The attached patch will make the inclusion of gettext.h unconditional in
6881 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6882 libintl.h in tools/gst-inspect.c.
6883 This allows use of --disable-nls again and fixes #344642.
6885 2006-07-03 Edward Hervey <edward@fluendo.com>
6887 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6888 Implement pad blocking on events according to part-block.txt.
6889 More comments on behaviour.
6890 * tests/check/gst/gstevent.c: (test_event):
6891 Send event to peer pad of blocked pad (else it will block).
6893 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6895 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6896 (gst_check_run_suite):
6897 if we get the wrong message, give us the types as string
6898 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6900 * tests/check/elements/filesrc.c: (GST_START_TEST):
6901 add a test for trying to open a non-existing file
6903 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6905 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6906 add a test for adding self
6908 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6910 * libs/gst/check/gstcheck.h:
6911 add some assert_ as alias for fail_unless_*
6912 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6913 increase test coverage
6915 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6918 include lcov.mak for lcov coverage generation
6919 * tools/Makefile.am:
6922 2006-07-02 Edward Hervey <edward@fluendo.com>
6924 * tests/check/elements/.cvsignore:
6927 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6930 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6931 * tests/check/Makefile.am:
6934 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6936 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6937 remove gst_caps_simplify; it was not declared and not used
6938 and deprecated in 0.8
6940 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6942 * docs/faq/gst-uninstalled:
6943 don't put empty paths on PYTHONPATH
6944 * docs/gst/gstreamer-sections.txt:
6945 remove some symbols that are not there
6947 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6949 * gst/gstcaps.c: (gst_caps_compare_structures):
6951 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6952 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6955 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6957 * libs/gst/dataprotocol/Makefile.am:
6958 build dataprotocol test by linking to the lib, instead of
6959 compiling the source, so we get coverage
6960 * tests/check/Makefile.am:
6961 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6962 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6963 add a test for filesrc
6965 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6967 * tests/check/gst/gststructure.c: (GST_START_TEST),
6968 (gst_structure_suite):
6969 Push coverage from 59.04% to 70.00%
6971 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6973 * tests/check/Makefile.am:
6974 gst-inspect every element; this makes sure that we also get
6975 coverage on element's get/set functions
6977 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6980 set CFLAGS and friends to -O0 if gcov is being used
6983 * libs/gst/base/Makefile.am:
6984 * libs/gst/check/Makefile.am:
6985 * libs/gst/controller/Makefile.am:
6986 * libs/gst/dataprotocol/Makefile.am:
6987 * libs/gst/net/Makefile.am:
6988 * plugins/elements/Makefile.am:
6989 * plugins/indexers/Makefile.am:
6990 add makefile rules to generate gcov data and clean up
6991 * tests/check/Makefile.am:
6992 add a coverage target that generates an html overview
6995 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6997 * tests/check/elements/fakesink.c:
6998 * tests/check/elements/fakesrc.c:
6999 * tests/check/elements/fdsrc.c:
7000 * tests/check/elements/identity.c:
7001 * tests/check/generic/sinks.c: (gst_sinks_suite):
7002 * tests/check/generic/states.c:
7003 * tests/check/gst/gst.c:
7004 * tests/check/gst/gstabi.c:
7005 * tests/check/gst/gstbin.c:
7006 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
7007 * tests/check/gst/gstbus.c: (gst_bus_suite):
7008 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7009 * tests/check/gst/gstelement.c:
7010 * tests/check/gst/gstevent.c: (gst_event_suite):
7011 * tests/check/gst/gstghostpad.c:
7012 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
7013 * tests/check/gst/gstmessage.c: (gst_message_suite):
7014 * tests/check/gst/gstminiobject.c:
7015 * tests/check/gst/gstobject.c:
7016 * tests/check/gst/gstpad.c:
7017 * tests/check/gst/gstpipeline.c:
7018 * tests/check/gst/gstplugin.c:
7019 * tests/check/gst/gstquery.c: (gst_query_suite):
7020 * tests/check/gst/gstsegment.c: (gst_segment_suite):
7021 * tests/check/gst/gststructure.c:
7022 * tests/check/gst/gstsystemclock.c:
7023 * tests/check/gst/gsttag.c:
7024 * tests/check/gst/gsttask.c: (gst_task_suite):
7025 * tests/check/gst/gstutils.c:
7026 * tests/check/gst/gstvalue.c:
7027 * tests/check/libs/adapter.c:
7028 * tests/check/libs/basesrc.c:
7029 * tests/check/libs/collectpads.c:
7030 * tests/check/libs/controller.c:
7031 * tests/check/libs/gdp.c: (gst_dp_suite):
7032 * tests/check/libs/gstnetclientclock.c:
7033 * tests/check/libs/gstnettimeprovider.c:
7034 * tests/check/libs/libsabi.c: (libsabi_suite):
7035 * tests/check/libs/typefindhelper.c:
7036 * tests/check/pipelines/cleanup.c:
7037 * tests/check/pipelines/parse-launch.c:
7038 * tests/check/pipelines/simple-launch-lines.c:
7039 * tests/check/pipelines/stress.c: (stress_suite):
7042 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7044 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
7045 * libs/gst/check/gstcheck.h:
7046 create a macro and function so that the simple unit test
7047 case can be just one macro to create main()
7049 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
7051 * gst/gstbin.c: (gst_bin_restore_thyself):
7052 * gst/gstxml.c: (gst_xml_make_element):
7053 Fix deserialisation from XML. Set parent manually
7054 instead of using gst_bin_add(), since gst_bin_add()
7055 will unlink all pads of the element being added.
7058 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
7060 Patch by: Peter Kjellerstedt <pkj at axis com>
7062 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
7063 Fix missing g_strdup() and double free when using the
7064 --gst-plugin-load command line option (#346097).
7066 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7069 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
7071 * libs/gst/net/gstnetclientclock.c:
7072 * libs/gst/net/gstnettimeprovider.c:
7073 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
7075 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
7077 * docs/manual/advanced-dataaccess.xml:
7078 Fix buffer probe example compilation in
7081 2006-06-22 Edward Hervey <edward@fluendo.com>
7083 * gst/gstelement.c: (gst_element_pads_activate):
7084 We need to deactivate src pads first and then sink pads.
7085 The reason is the src pads might be blocking while holding the streaming
7086 lock, so we need to deactivate them first so that deactivating the sink
7087 pads doesn't block (since it will require the streaming lock).
7089 2006-06-22 Wim Taymans <wim@fluendo.com>
7091 * libs/gst/base/gstbasetransform.c:
7092 (gst_base_transform_buffer_alloc):
7093 Forgot to remove two unneeded unrefs.
7094 Simplify a check _is_equal allready checks the obvious case.
7096 2006-06-22 Wim Taymans <wim@fluendo.com>
7098 * docs/design/part-block.txt:
7099 Some docs about what pad_block should do.
7101 2006-06-22 Wim Taymans <wim@fluendo.com>
7103 * gst/gstcaps.c: (gst_caps_replace):
7104 Fix crasher when passed NULL. Doc clarification.
7105 Optimize for the trivial case.
7107 * gst/gstpipeline.c: (gst_pipeline_change_state):
7110 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7111 Small documentation cleanup.
7113 * libs/gst/base/gstbasetransform.c:
7114 (gst_base_transform_buffer_alloc):
7115 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
7116 is what we need and it avoids a whole lot of redundant
7117 refcount operations.
7119 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
7121 Patch by: Philip Jägenstedt <philip at lysator liu se>
7123 * docs/manual/advanced-dataaccess.xml:
7124 Fix 'Embedding static elements' section to use
7125 GST_PLUGIN_DEFINE_STATIC (#345607).
7127 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7129 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
7130 Attempt to 'fix' spuriously failing test case: it seems like the
7131 timeout of half a second is simply too small when the system is under
7132 load otherwise, and the timeout doesn't really seem to serve any
7133 particular purpose here. Give the pipeline a few seconds to preroll
7134 first, and then give it another half a second to go from PAUSED to
7135 PLAYING and marshal the message into the main thread.
7137 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7139 * tools/gst-feedback-m.m:
7140 Don't only use unversioned tools, try versioned tools as well
7143 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
7145 * gst/gstbus.c: (gst_bus_class_init):
7146 Fix some typos, make docs more explicit.
7148 2006-06-20 Wim Taymans <wim@fluendo.com>
7150 * tests/check/gst/gstghostpad.c: (block_callback),
7151 (GST_START_TEST), (gst_ghost_pad_suite):
7152 Added some more ghostpad tests, mainly blocking
7155 2006-06-16 Wim Taymans <wim@fluendo.com>
7157 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7158 (gst_file_sink_close_file), (gst_file_sink_do_seek),
7159 (gst_file_sink_event), (gst_file_sink_render):
7160 * plugins/elements/gstfilesink.h:
7161 Check if we can seek in the file instead of assuming
7162 we always can. Post an error when we are asked to seek in a
7163 non-seekable file (like a fifo). Fixes #343312.
7166 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7168 * tools/gst-launch.1.in:
7169 Un-garble (fourcc) bit in filtered caps section.
7171 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
7173 * docs/manual/advanced-autoplugging.xml:
7174 * docs/manual/basics-helloworld.xml:
7175 * docs/manual/highlevel-components.xml:
7176 Don't leak bus reference in sample code.
7178 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
7181 Add default for new --enable-plugin-docs switch.
7184 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
7188 Use new ENABLE_PLUGIN_DOCS conditional.
7190 2006-06-14 Wim Taymans <wim@fluendo.com>
7192 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
7193 Make it clear with a FIXME and a real define what the #if 0
7194 previously disabled.
7196 2006-06-14 Wim Taymans <wim@fluendo.com>
7198 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
7199 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7200 * libs/gst/base/gstbasetransform.c:
7201 (gst_base_transform_sink_eventfunc):
7202 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
7203 Don't randomly and silently reset a segment when the format
7204 changes as this is a bug somewhere upstream. Fixes #330379.
7206 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
7208 Patch by: Wouter Paesen <wouter at kangaroot net>
7210 * libs/gst/controller/gstcontroller.c:
7211 (gst_controlled_property_new):
7212 Fix controlling of float properties (#344849).
7214 * tests/check/libs/controller.c:
7215 (gst_test_mono_source_get_property),
7216 (gst_test_mono_source_set_property),
7217 (gst_test_mono_source_class_init), (GST_START_TEST):
7218 While we're at it, add some float stuff to unit test.
7220 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7223 * docs/images/gdp-header.svg:
7225 * docs/libs/Makefile.am:
7226 * docs/libs/gdp-header.png:
7227 * libs/gst/dataprotocol/dataprotocol.c:
7228 add it to the API docs
7229 * docs/manual/intro-motivation.xml:
7232 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7234 * gst/gst.c: (scan_and_update_registry), (init_post):
7235 If the fork()'ed child process can't write the updated registry cache
7236 file to disk for some reason, make it exit with a failure exit code,
7237 so that the parent can then re-scan the plugins itself and update the
7238 registry structures in memory and work with that (rather than failing
7239 when creating elements because seemingly no plugins are available).
7240 Refactor registry scanning code into separate function for this and
7241 also separate fork() and non-fork() code paths. Fixes #344748.
7243 2006-06-13 Wim Taymans <wim@fluendo.com>
7245 * docs/manual/advanced-dataaccess.xml:
7246 Fix wrong PluginDesc. Fixes #344755.
7248 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7250 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7251 Fix silly bug that prevented us from creating
7252 ~/.gstreamer-0.10 and writing the registry in one
7253 go (the first call to g_mkstemp() would overwrite the
7254 placeholder in the template string, so the second call
7255 to g_mkstemp() after creating the missing directory
7256 would then error out with 'invalid argument').
7258 2006-06-13 Edward Hervey <edward@fluendo.com>
7260 * gst/gst.c: (init_post):
7263 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7265 * gst/glib-compat-private.h:
7266 * gst/glib-compat.c:
7267 * gst/glib-compat.h:
7268 * gst/gstvalue.c: (gst_value_serialize_flags):
7269 remove GLib 2.6 compatibility code
7271 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7273 * gst/parse/Makefile.am:
7274 Fix build with 'make -j N' even more (#340016).
7276 2006-06-12 Wim Taymans <wim@fluendo.com>
7278 * docs/gst/gstreamer-sections.txt:
7281 2006-06-12 Wim Taymans <wim@fluendo.com>
7283 * gst/gstsegment.c: (gst_segment_set_duration),
7284 (gst_segment_set_last_stop), (gst_segment_set_seek),
7285 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7286 (gst_segment_to_running_time), (gst_segment_clip):
7287 Use G_UNLIKELY to help the compiler a bit.
7289 2006-06-12 Wim Taymans <wim@fluendo.com>
7291 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7293 * gst/gstevent.c: (gst_event_get_type):
7295 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7297 constify quark registration strings. Fixes #344115
7298 Avoid unneeded type checking is _pad_push() by internally
7299 calling gst_pad_chain_unchecked().
7301 2006-06-12 Wim Taymans <wim@fluendo.com>
7303 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7304 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7305 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7306 (gst_buffer_is_span_fast), (gst_buffer_span):
7307 Init _type for consistency.
7308 Use _FLAGS macro to avoid type check.
7309 Avoid unneeded type checks in subbufer code.
7311 2006-06-12 Wim Taymans <wim@fluendo.com>
7313 * gst/gst.c: (gst_debug_help):
7314 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7315 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7316 (gst_plugin_feature_list_free):
7317 * gst/gstregistry.c: (gst_registry_add_plugin),
7318 (gst_registry_add_feature), (gst_registry_plugin_filter),
7319 (gst_registry_feature_filter), (gst_registry_find_plugin),
7320 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7321 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7322 * gst/gstregistryxml.c: (load_feature),
7323 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7324 * gst/gstminiobject.c: (gst_mini_object_unref),
7325 (gst_mini_object_replace), (gst_value_mini_object_free),
7326 (gst_value_mini_object_copy):
7327 Use _CAST macros to avoid unneeded type checking.
7328 Added some more G_UNLIKELY.
7330 2006-06-12 Wim Taymans <wim@fluendo.com>
7333 Avoid unneeded type checking.
7334 API: GST_BUFFER_IS_DISCONT
7336 * gst/gstminiobject.h:
7337 Avoid type check in flag accessor.
7339 * gst/gstelementfactory.h:
7341 * gst/gstpluginfeature.h:
7343 API: GST_ELEMENT_FACTORY_CAST
7344 API: GST_PLUGIN_CAST
7345 API: GST_PLUGIN_FEATURE_CAST
7347 2006-06-12 Wim Taymans <wim@fluendo.com>
7349 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7351 Add G_UNLIKELY in type registration.
7352 Avoid type check in _ref/_unref since that is also
7355 2006-06-12 Wim Taymans <wim@fluendo.com>
7357 * gst/gsterror.c: (gst_g_error_get_type):
7358 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7359 (gst_static_pad_template_get_type):
7360 * gst/gsttaglist.c: (gst_tag_list_get_type):
7361 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7362 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7363 * gst/gsturi.c: (gst_uri_handler_get_type):
7364 * gst/gstvalue.c: (gst_date_get_type):
7365 * gst/gstxml.c: (gst_xml_get_type):
7366 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7367 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7368 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7369 Add G_UNLIKELY in type registration.
7371 2006-06-12 Wim Taymans <wim@fluendo.com>
7373 * tools/gst-inspect.c: (print_signal_info):
7374 Properly print enum values.
7376 2006-06-12 Wim Taymans <wim@fluendo.com>
7378 * gst/gstinfo.c: (gst_debug_set_active),
7379 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7381 Add some G_[UN]LIKELY.
7382 Maintain __gst_debug_min to avoid formatting the arguments of
7383 debug messages that will be dropped anyway to avoid a lot of
7384 overhead from the debugging system.
7386 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7390 add missing files containing translatable strings, tell intltool about
7393 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7395 * tests/check/libs/.cvsignore:
7396 add test-binary to ignore list
7398 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7400 * docs/libs/gstreamer-libs-docs.sgml:
7401 reorder (put dp into a chapter) and indent
7403 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7408 === release 0.10.8 ===
7410 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7413 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7415 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7417 * gst/gst.c: (init_post):
7418 move pid declaration to declaration block
7420 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7422 * gst/gst.c: (init_post):
7423 use _exit() instead of exit() in our forked child; this ensures
7424 that none of the registered exit handlers from whatever is using
7425 GStreamer get executed. This fixes gnome-mixer-applet failing
7426 to load, because ORBit would shut down.
7427 Spotted by: Edward Hervey <edward@fluendo.com>
7428 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7431 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7436 === release 0.10.7 ===
7438 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7441 releasing 0.10.7, "Soepeke, ik zie ou"
7443 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7466 * win32/common/config.h:
7469 2006-06-07 Wim Taymans <wim@fluendo.com>
7471 * gst/gstindex.c: (gst_index_gtype_resolver):
7472 * tools/gst-xmlinspect.c: (print_plugin_info):
7473 Fix leak spotted by coverity checker. Fixes #343827
7474 Fix another other leak found by paolo borelli.
7476 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7478 * libs/gst/dataprotocol/dataprotocol.c:
7479 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7480 (gst_dp_version_get_type), (gst_dp_init),
7481 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7482 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7483 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7484 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7485 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7486 (gst_dp_packetizer_free):
7487 * libs/gst/dataprotocol/dataprotocol.h:
7488 API: add a GstDPPacketizer object, and create/free functions
7489 API: add GstDPVersion enum
7490 Add 1.0 event function that uses the string serialization
7491 Serialize more useful buffer flags
7494 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7496 * tests/check/Makefile.am:
7497 * tests/check/gst/gstabi.c:
7498 * tests/check/gst/struct_ppc64.h:
7499 * tests/check/libs/libsabi.c:
7500 * tests/check/libs/struct_ppc64.h:
7501 add ppc64 structure sizes
7503 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7505 * tests/check/Makefile.am:
7506 * tests/check/gst/gstabi.c:
7507 * tests/check/gst/struct_x86_64.h:
7508 * tests/check/libs/libsabi.c:
7509 * tests/check/libs/struct_x86_64.h:
7510 generate and add structure size lists for x86_64
7512 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7514 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7515 * libs/gst/check/gstcheck.h:
7516 factor out the method from tests that checks size of structures,
7517 and add code to generate the header containing these sizes
7518 * tests/check/gst/gstabi.c: (GST_START_TEST):
7519 * tests/check/gst/struct_i386.h:
7520 * tests/check/libs/libsabi.c: (GST_START_TEST):
7521 * tests/check/libs/struct_i386.h:
7524 2006-06-06 Michael Smith <msmith@fluendo.com>
7527 Don't use c++-style comments, fixes #343929
7529 2006-06-05 Edward Hervey <edward@fluendo.com>
7532 plugin_paths is not used if we build without registry support.
7534 * gst/gstsegment.c: (gst_segment_copy):
7535 _copy() was always returning NULL...
7537 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7539 * libs/gst/dataprotocol/dataprotocol.c:
7540 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7541 (gst_dp_packet_from_event):
7544 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7546 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7547 make sure we unset caps
7549 2006-06-02 Michael Smith <msmith@fluendo.com>
7551 * libs/gst/check/gstcheck.c: (gst_check_init),
7552 (gst_check_chain_func):
7553 * libs/gst/check/gstcheck.h:
7554 Add a cond/mutex to the check support lib, signal this whenever we
7555 add to the buffers list. This will allow tests to not busy-wait on
7558 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7560 * libs/gst/dataprotocol/dataprotocol.c:
7561 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7562 (gst_dp_packet_from_event):
7563 factor out some common header init code
7565 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7567 * docs/libs/gstreamer-libs-sections.txt:
7568 * docs/libs/tmpl/gstdataprotocol.sgml:
7569 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7570 * libs/gst/dataprotocol/dataprotocol.h:
7571 API: make gst_dp_crc() public
7573 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7575 * plugins/indexers/gstindexers.c: (plugin_init):
7576 conditionally register fileindexer (fixes #343598)
7578 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7580 * gst/gsttagsetter.h:
7581 Can't cast ifaces to a class
7583 * libs/gst/net/gstnetclientclock.h:
7584 * libs/gst/net/gstnettimeprovider.h:
7585 * plugins/elements/gstfakesink.h:
7586 * plugins/elements/gstfakesrc.h:
7587 * plugins/elements/gstfdsink.h:
7588 * plugins/elements/gstfdsrc.h:
7589 * plugins/elements/gstfilesink.h:
7590 * plugins/elements/gstfilesrc.h:
7591 * plugins/elements/gstidentity.h:
7592 * plugins/elements/gstqueue.h:
7593 * plugins/elements/gsttee.h:
7594 * plugins/indexers/gstfileindex.c:
7595 * plugins/indexers/gstmemindex.c:
7596 * tests/old/examples/plugins/example.h:
7597 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7599 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7601 * libs/gst/dataprotocol/dataprotocol.c:
7602 (gst_dp_header_from_buffer):
7603 make sure we zero the whole ABI-compatible area
7605 2006-06-01 Wim Taymans <wim@fluendo.com>
7607 Patch by: Alessandro Decina <alessandro at nnva dot org>
7609 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7610 Make sure the EOS flag is cleared from pads after a flush
7611 or stop. Fixes #343538.
7613 * tests/check/libs/collectpads.c: (GST_START_TEST),
7614 (gst_collect_pads_suite):
7615 Added test for collectpads reusage after EOS.
7617 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7620 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7621 * win32/common/libgstbase.def:
7622 export gst_collect_pads_set_flushing
7623 * win32/common/libgstreamer.def:
7624 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7625 gst_value_fraction_multiply
7626 * win32/vs6/gst_inspect.dsp:
7627 add a link to intl.lib
7629 2006-05-30 Wim Taymans <wim@fluendo.com>
7631 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7632 (gst_collect_pads_chain):
7633 Handle the case where a pad is removed from the collection
7634 that could cause the other pads to become collectable.
7636 2006-05-30 Wim Taymans <wim@fluendo.com>
7639 Clarify the use of _release_request_pad() and
7640 _get_request_pad() a bit better.
7642 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7643 (gst_adapter_take_buffer):
7644 Fix some doc and comment typos.
7646 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7648 * docs/gst/gstreamer-sections.txt:
7649 * docs/libs/gstreamer-libs-sections.txt:
7650 add declared symbols
7652 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7654 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7655 Add debug that can be enabled using a #define at the top of the file,
7656 for dumping stats about how late/early we were when waking up from
7657 waiting on the clock.
7659 2006-05-30 Wim Taymans <wim@fluendo.com>
7661 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7662 When rebuilding the pad list, don't leak the previous list.
7664 2006-05-30 Wim Taymans <wim@fluendo.com>
7666 Patch by: Lutz Mueller <lutz at topfrose dot de>
7668 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7669 (gst_base_src_get_query_types), (gst_base_src_update_length):
7670 Publish supported query types.
7671 Update last_stop field in get_range mode so the position
7672 query works. Fixes #342321.
7674 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7676 * docs/gst/gstreamer-sections.txt:
7677 * gst/gsttaglist.c: (_gst_tag_initialize):
7679 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7681 2006-05-30 Wim Taymans <wim@fluendo.com>
7683 Patch by: Alessandro Decina <alessandro at nnva dot org>
7685 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7686 Unlock mutex when removing an unknown pad.
7689 * tests/check/Makefile.am:
7690 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7691 (push_event), (setup), (teardown), (GST_START_TEST),
7692 (gst_collect_pads_suite), (main):
7693 Added collecpads check, disabled for now as check crashes for
7696 2006-05-29 Wim Taymans <wim@fluendo.com>
7698 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7699 Don't leak pads lists.
7701 2006-05-29 Wim Taymans <wim@fluendo.com>
7703 * docs/libs/gstreamer-libs-sections.txt:
7704 * libs/gst/base/gstcollectpads.c:
7705 (gst_collect_pads_set_flushing_unlocked),
7706 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7707 (gst_collect_pads_stop):
7708 * libs/gst/base/gstcollectpads.h:
7709 API: gst_collect_pads_set_flushing()
7710 Added api to set the pads to flushing, useful for seeking
7711 code in elements using collectpads.
7712 Clear segment when receiving a flush.
7714 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7716 * gst/gst.c: (add_path_func), (init_post):
7717 Don't scan registry paths passed via --gst-plugin-path immediately
7718 (will crash, because absolutely nothing is set up and no types are
7719 registered etc.); do this later in init_post(). Fixes #343057.
7721 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7723 * gst/gst.c: (init_post):
7724 if we have fork, fork while reading/rebuilding the registry
7725 so the parent doesn't take the hit of having all plugins loaded
7726 in memory. Fixes #342777.
7728 Check if we have fork()
7729 * win32/common/config.h.in:
7732 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7734 * plugins/elements/gstelements.c:
7735 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7736 (gst_file_src_init), (gst_file_src_set_property),
7737 (gst_file_src_get_property), (gst_file_src_start):
7738 * plugins/elements/gstfilesrc.h:
7739 API: GstFileSrc::use-mmap
7741 Add a use-mmap property to enable easier testing of all code paths.
7742 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7743 in the absence of gnomevfssrc. (Closes #340501)
7745 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7747 * tools/gst-inspect.c:
7748 Add missing include, removes warning of ngettext not being defined on
7751 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7753 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7754 Handle NULL input and output pointers silently as a failed conversion,
7755 rather than g_warnings.
7757 2006-05-25 Wim Taymans <wim@fluendo.com>
7759 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7760 Initialize variable before using. Fixes #342820.
7762 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7764 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7765 Fix off-by-one bug that would only allow peeks of N-1 bytes
7766 from the start even if the buffer to typefind on contains
7767 in fact N bytes of data (makes vorbis typefinding from a
7768 vorbis identification header buffer work).
7770 * tests/check/Makefile.am:
7771 * tests/check/libs/.cvsignore:
7772 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7773 (gst_typefindhelper_suite), (main), (foobar_typefind),
7775 Add very basic unit test for gst_type_find_helper_for_buffer()
7776 that checks for the problem fixed above.
7778 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7780 * tools/gst-inspect.c: (print_interfaces),
7781 (print_element_properties_info), (print_element_list), (main):
7782 add more translatable strings
7784 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7786 Patch by: Julien Moutte <julien at moutte net>
7788 * docs/gst/gstreamer-sections.txt:
7789 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7791 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7792 (gst_fake_sink_preroll):
7793 * plugins/elements/gstfakesink.h:
7794 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7796 2006-05-23 Wim Taymans <wim@fluendo.com>
7798 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7800 Added _CUSTOM error and success GstFlowReturn that can be
7801 used be elements internally.
7802 Added macro to check for SUCCESS flowreturns.
7803 API: GST_FLOW_CUSTOM_SUCCESS
7804 API: GST_FLOW_CUSTOM_ERROR
7805 API: GST_FLOW_IS_SUCCESS
7807 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7808 Added check for GstFlowReturn sanity.
7810 2006-05-23 Wim Taymans <wim@fluendo.com>
7812 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7814 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7815 (gst_collect_pads_event):
7816 clear/reset segment info in FLUSH_STOP.
7819 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7821 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7822 (gst_collect_pads_check_collected):
7823 Flush queued buffer on _stop(), fixes playing again (#342454)
7825 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7827 * tests/check/gst/gststructure.c: (GST_START_TEST),
7828 (gst_structure_suite):
7829 add a test for a complete structure
7831 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7833 * docs/faq/developing.xml:
7835 * docs/faq/troubleshooting.xml:
7836 * docs/faq/using.xml:
7837 Some minor FAQ updates that won't change the fact that
7838 our FAQ is badly structured, full of information hardly
7839 anyone new to GStreamer needs to know and lacking lots
7840 of information people constantly ask for.
7842 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7844 * gst/gstpad.c: (gst_pad_set_caps):
7845 Short-circuit gst_pad_set_caps if setting the existing
7846 caps pointer again, and avoid printing debug and
7847 reffing/unreffing the caps.
7849 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7850 There's actually no need to set the caps before pushing -
7851 the acceptcaps method will handle it anyway.
7853 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7855 * docs/gst/gstreamer-sections.txt:
7856 * win32/common/libgstreamer.def:
7857 * gst/gstutils.c: (gst_element_seek_simple):
7859 API: add gst_element_seek_simple() (#342238).
7861 2006-05-18 Edward Hervey <edward@fluendo.com>
7863 * gst/gsttypefind.c: (gst_type_find_get_type):
7864 * gst/gsttypefind.h:
7865 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7866 registered for GstTypeFind pointers. This allows wrapping the structure
7867 in bindings (i.e. gst-python).
7869 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7871 * gst/gsttagsetter.c:
7872 Docs additions and fixes (see #339918).
7874 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7876 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7877 The caps intersection algorithm can produce multiple copies of the
7878 caps. Until that is fixed, we need to simplify the result to be
7879 sure whether the allowed caps are fixed or not.
7881 * plugins/elements/gstqueue.c: (gst_queue_init),
7882 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7883 (gst_queue_push_one):
7884 Proxied buffer alloc should not set the caps on the source pad.
7885 When pushing buffers, we always accept the caps change that triggers.
7886 This prevents negotiation errors caused by caps changing mid-stream
7887 and then being refused on our source pad (because upstream is now
7888 refusing those caps).
7890 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7892 * tests/examples/helloworld/helloworld.c: (main):
7893 Must plug audioconvert and audioresample between decoder
7896 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7898 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7899 (load_feature), (load_plugin):
7900 Allow empty strings for some of the plugin fields so we don't
7901 drop valid plugin entries that were written out correctly
7904 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7906 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7907 Use g_remove and g_rename instead of remove and rename that don't
7908 handle utf8 characters. rename was failing for users who had specific
7909 characters in their name then the registry was built at each
7911 * win32/vs6/gst_inspect.dsp:
7912 * win32/vs6/gst_launch.dsp:
7913 * win32/vs6/libgstbase.dsp:
7914 * win32/vs6/libgstcoreelements.dsp:
7915 * win32/vs6/libgstreamer.dsp:
7916 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7917 build of libgstreamer and clean unused libraries in projects link
7920 2006-05-17 Edward Hervey <edward@fluendo.com>
7922 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7923 The queue is not responsible for pushing an EOS when receiving a fatal
7924 flow error. It's up to the real element driving the pipeline to do that.
7926 2006-05-16 Edward Hervey <edward@fluendo.com>
7928 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7929 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7930 buffer returned a fatal error. It should just send an EOS and stop
7932 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7933 when pushing buffers on the queue and will be able to handle the event.
7935 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7937 * docs/manual/basics-bins.xml:
7938 * docs/manual/basics-init.xml:
7939 Fix typos and minor errors in sample code (#341856).
7941 2006-05-16 Wim Taymans <wim@fluendo.com>
7943 * docs/design/part-qos.txt:
7944 Fix indexes in formulas to make more sense.
7946 2006-05-15 Wim Taymans <wim@fluendo.com>
7948 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7949 Don't report POSITION based on clock time if sync is
7952 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7955 Add cast to make compiler happy - refcount variable was a gint
7956 in GstObject but is a guint in GObject and g_atomic_int_get()
7959 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7961 * gst/parse/Makefile.am:
7962 chain commands using &&, which also makes parallel make work
7964 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7966 * docs/gst/gstreamer-sections.txt:
7972 === release 0.10.6 ===
7974 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7977 releasing 0.10.6, "Take the cannoli"
7979 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7981 * tools/gst-launch.c: (print_tag):
7982 Fix use of uninitialized variable in the hypothetical
7983 case that some broken plugin creates a GST_TAG_IMAGE
7984 tag containing a NULL buffer (#341667).
7986 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7988 * tools/gst-launch.c: (print_tag):
7989 Print something more intelligible for image tags when
7990 using the -t switch (#341556).
7992 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7997 define GST_MAJORMINOR so we have it available in win32/common/config.h
7998 Possibly remove it from our Makefile.am files later
7999 * win32/common/config.h:
8000 * win32/common/config.h.in:
8001 added GST_MAJORMINOR
8002 * win32/common/gstenumtypes.c: (register_gst_resource_error):
8003 * win32/common/gstversion.h:
8006 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
8009 Update win32 files listing.
8010 * win32/common/gstversion.h:
8011 Add GST_MAJORMINOR definition.
8012 * win32/common/libgstreamer.def:
8013 Add new exported functions.
8015 2006-05-12 Michael Smith <msmith@fluendo.com>
8017 * gst/gstplugin.c: (gst_plugin_load_file):
8018 If an so file has no plugin entry point, unload the module.
8020 2006-05-11 Wim Taymans <wim@fluendo.com>
8022 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
8023 (gst_queue_set_property):
8024 Don't forget to signal the _chain or _loop function
8025 when the queue size or thresholds change since that might
8026 cause them to make progres again.
8028 2006-05-11 Stefan Kost <ensonic@users.sf.net>
8030 * gst/gstclock.c: (gst_clock_class_init):
8031 * gst/gstindex.c: (gst_index_class_init):
8032 * gst/gstobject.c: (gst_object_class_init):
8033 * gst/gstpad.c: (gst_pad_class_init):
8034 * gst/gstpipeline.c: (gst_pipeline_class_init):
8035 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8036 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
8037 * libs/gst/base/gstbasetransform.c:
8038 (gst_base_transform_class_init):
8039 * libs/gst/net/gstnetclientclock.c:
8040 (gst_net_client_clock_class_init):
8041 * libs/gst/net/gstnettimeprovider.c:
8042 (gst_net_time_provider_class_init):
8043 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
8044 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8045 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8046 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
8047 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8048 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8049 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8050 * plugins/elements/gstidentity.c: (gst_identity_class_init):
8051 * plugins/elements/gsttee.c: (gst_tee_class_init):
8052 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8053 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8054 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
8056 2006-05-11 Wim Taymans <wim@fluendo.com>
8058 * gst/gstbuffer.c: (_gst_buffer_initialize):
8059 Register subbufer along with the buffer type so that
8060 it does not accidentally gets registered from N
8061 different streaming threads in a non threadsafe way.
8063 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8068 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
8069 gst_event_ref() and gst_message_ref() functions again
8070 (ugly hack, please do fix if there's a better way besides
8071 overrides.txt, which doesn't seem to work).
8073 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8075 * libs/gst/check/gstcheck.h:
8076 add an assert for setting state to avoid lots of repetitive code
8079 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8081 * gst/gstvalue.c: (gst_value_serialize_flags):
8082 fix a leak if no flags are set
8083 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8086 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
8088 * docs/manual/basics-pads.xml:
8089 Expand a bit on caps and filtered links and update
8090 examples that were still using the no longer existing
8091 gst_pad_link_filtered() (#338206).
8093 2006-05-10 Wim Taymans <wim@fluendo.com>
8095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8096 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8097 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8098 (gst_collect_pads_stop):
8099 * libs/gst/base/gstcollectpads.h:
8100 No need to call _stop in _finalize.
8101 Iterate the main pad list in _finalize.
8102 Added some more debug.
8103 Free lists and data in the right order.
8104 Also free data whem doing _remove_pad when stopped for
8105 backward compatibility protect ::started with PAD_LOCK as
8108 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8110 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
8111 (gst_structure_parse_value):
8113 rename a method so that it actually says what it does better
8115 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
8117 * gst/gstevent.c: (_gst_event_initialize):
8118 * gst/gstformat.c: (_gst_format_initialize):
8119 make sure some essential types used by events are registered
8120 as part of gst_init()
8121 * gst/gstvalue.c: (gst_value_serialize_flags):
8122 if no flags are set, serialize them to a value that represents NONE
8123 so that deserializing them works
8124 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8125 add tests for serialization and deserialization of flags
8127 2006-05-10 Wim Taymans <wim@fluendo.com>
8129 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
8130 (gst_collect_pads_collect_range), (gst_collect_pads_available),
8131 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
8132 (gst_collect_pads_event), (gst_collect_pads_chain):
8135 Catch and return errors from the collect function
8136 Refuse data on eos pads.
8138 2006-05-10 Edward Hervey <edward@fluendo.com>
8140 * gst/gstinterface.h:
8141 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
8142 GInterface type checking.
8143 They were previously using non-defined macros.
8145 2006-05-09 Wim Taymans <wim@fluendo.com>
8147 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
8148 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
8149 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
8150 (gst_collect_pads_start), (gst_collect_pads_stop),
8151 (gst_collect_pads_peek), (gst_collect_pads_pop),
8152 (gst_collect_pads_available), (gst_collect_pads_read),
8153 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
8154 (gst_collect_pads_is_collected), (gst_collect_pads_event),
8155 (gst_collect_pads_chain):
8156 * libs/gst/base/gstcollectpads.h:
8157 Clean up the mess that is collectpads, add comments and
8158 FIXMEs where needed.
8159 Maintain a separate pad list so we can add pads while
8160 collecting the other ones. For this we need a new separate
8162 Fix memory leak in finalize.
8163 Refactor some weird code to set/unset pad flushing flags, mark
8165 Don't crash in _available, _read, _flush when we're EOS.
8167 * tests/check/libs/.cvsignore:
8168 Ignore adapter check binary.
8170 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8172 * gst/gstindex.c: (gst_index_resolver_get_type):
8173 * plugins/elements/gstfakesink.c:
8174 (gst_fake_sink_state_error_get_type):
8175 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8176 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
8177 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8178 Const-ify GEnumValue arrays.
8180 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8182 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8183 Add test case for flags + gst_buffer_make_metadata_writable().
8185 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8187 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
8188 gst_buffer_make_metadata_writable() should maintain the
8189 buffer flags (those that make sense at least) (see #340859).
8191 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8193 * tools/gst-inspect.c:
8194 * tools/gst-launch.c:
8195 * tools/gst-typefind.c:
8196 * tools/gst-xmlinspect.c:
8198 Fix up includes: need to include stdlib.h in tools.h for exit().
8200 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
8202 * gst/gsttaglist.c: (_gst_tag_initialize):
8204 API: add GST_TAG_IMAGE tag (#340721).
8206 2006-05-08 Wim Taymans <wim@fluendo.com>
8209 Added some docs for the segment query.
8211 2006-05-08 Wim Taymans <wim@fluendo.com>
8213 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8214 (gst_base_src_loop), (gst_base_src_change_state):
8215 Always push non-flushing serialized events in the streaming
8218 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
8220 * gst/gsterror.c: (_gst_stream_errors_init):
8221 Add a missing error string.
8223 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
8225 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
8226 Add applied_rate to the debug
8228 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8229 Copy applied_rate into the outgoing NEWSEGMENT event
8231 2006-05-08 Wim Taymans <wim@fluendo.com>
8233 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
8235 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8236 (gst_base_sink_change_state):
8237 call ::unlock before taking the PREROLL_LOCK so we can safely
8238 handle elements that lock in ::render.
8241 2006-05-08 Edward Hervey <edward@fluendo.com>
8243 * autogen.sh: (CONFIGURE_DEF_OPT):
8244 Darwin's libtoolize is in fact called glibtoolize.
8245 Adding glibtoolize to the list of accepted names for libtoolize.
8247 2006-05-08 Wim Taymans <wim@fluendo.com>
8249 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8250 Unify error handling, don't post an error message
8251 when a push() returns EOS but perform our normal EOS
8252 handling code. Fixes #340772.
8254 2006-05-08 Wim Taymans <wim@fluendo.com>
8256 * docs/design/part-overview.txt:
8257 Make upsteam/downstream concepts more clear.
8258 Give an example of serialized/non-serialized events.
8260 * docs/design/part-events.txt:
8261 * docs/design/part-streams.txt:
8262 Mention applied_rate.
8264 * docs/design/part-trickmodes.txt:
8265 Mention applied rate, flesh out some more use cases.
8267 * gst/gstevent.c: (gst_event_new_new_segment),
8268 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8269 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8270 (gst_event_parse_tag), (gst_event_new_buffer_size),
8271 (gst_event_parse_buffer_size), (gst_event_new_qos),
8272 (gst_event_parse_qos), (gst_event_parse_seek),
8273 (gst_event_new_navigation):
8275 Add applied_rate field to NEWSEGMENT event.
8276 API: gst_event_new_new_segment_full()
8277 API: gst_event_parse_new_segment_full()
8279 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8280 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8281 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8283 Add applied_rate to GstSegment structure.
8284 Make calculation of stream_time and running_time more correct
8285 wrt rate/applied_rate.
8287 API: GstSegment::applied_rate field
8288 API: gst_segment_set_newsegment_full();
8290 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8291 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8292 * libs/gst/base/gstbasetransform.c:
8293 (gst_base_transform_sink_eventfunc),
8294 (gst_base_transform_handle_buffer):
8295 Parse and use applied_rate in the GstSegment field.
8297 * tests/check/gst/gstevent.c: (GST_START_TEST):
8298 Add check for applied_rate field.
8300 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8301 (gstsegments_suite):
8302 Add more checks for various GstSegment operations.
8304 2006-05-08 Wim Taymans <wim@fluendo.com>
8306 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8307 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8308 (gst_base_sink_get_position), (gst_base_sink_change_state):
8309 Store the sync time of the buffer end position separatly in a
8310 new variable eos_rtime so we can properly sync the EOS event.
8312 Fix the docs for gst_base_sink_set_qos_enabled().
8313 Don't set segment start to invalid value when we receive a
8314 non TIME newsegment.
8315 get closer to handling position reporting for negative rates
8318 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8321 Docs about how to print caps for debug purposes.
8323 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8324 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8326 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8329 use full enum names and preprend a '%' in docs strings to make recent
8330 gtk-doc turn that into a link
8332 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8334 * docs/manual/basics-bins.xml:
8335 * docs/manual/basics-bus.xml:
8336 * docs/manual/basics-pads.xml:
8337 Some typo fixes, some additions, some clarifications.
8339 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8341 * tools/gst-inspect.c: (main):
8342 * tools/gst-launch.c: (main):
8343 * tools/gst-run.c: (main):
8344 * tools/gst-typefind.c: (main):
8345 * tools/gst-xmlinspect.c: (main):
8346 Use the string passed to g_option_context_new() for
8347 what it's intended for - the program name is already
8350 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8352 * tools/Makefile.am:
8353 * tools/gst-inspect.c: (main):
8354 * tools/gst-launch.c: (main):
8355 * tools/gst-xmlinspect.c: (main):
8357 Add back --version command line option (#340460).
8359 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8360 Add --version option and use GOption for argument parsing; refactor a
8361 bit; accept directories as arguments and recurse into them; lastly,
8362 print a decent error message when things go wrong.
8364 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8366 * docs/manual/basics-bins.xml:
8367 Don't mention GstThread (#340611)
8368 * docs/manual/basics-elements.xml:
8369 Update link to GObject tutorial (#340607)
8371 2006-05-05 Wim Taymans <wim@fluendo.com>
8374 * gst/gstminiobject.c:
8375 Add note about refcounting and miniobject/buffer writeability
8376 to docs. Fixes #340604
8378 * gst/gstelementfactory.h:
8379 Added some explanation about @klass.
8381 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8383 * docs/manual/intro-motivation.xml:
8384 * docs/manual/manual.xml:
8385 Avoid CORBA & Bonobo references (#340598)
8387 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8389 * docs/manual/basics-bus.xml:
8390 * docs/manual/basics-pads.xml:
8391 Fix up some inaccuracies and omissions (#340609)
8393 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8395 * gst/gstghostpad.c:
8396 Small typo in docs (#340625)
8398 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8400 * gst/parse/Makefile.am:
8401 Make 'make -j' proof (see #340698).
8403 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8406 Require GLib-2.8 here as well.
8408 2006-05-05 Wim Taymans <wim@fluendo.com>
8410 * gst/glib-compat.c:
8411 * gst/gst.c: (init_pre):
8412 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8413 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8414 (gst_object_dispatch_properties_changed):
8416 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8417 * gst/gststructure.c: (gst_structure_set_valist):
8418 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8419 Remove pre glib2.8 compatibility, fixes #340508
8421 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8424 Mention type of tags in doc blurbs.
8426 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8428 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8429 (gst_pad_configure_src), (gst_pad_push):
8430 Restore acceptcaps checking behaviour now that good plugins have
8433 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8435 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8446 * gst/parse/Makefile.am:
8447 * libs/gst/base/gstadapter.c:
8448 * libs/gst/base/gstbasesrc.c:
8449 * libs/gst/base/gstpushsrc.c:
8450 * libs/gst/base/gsttypefindhelper.c:
8451 * plugins/elements/gstfakesrc.c:
8452 * plugins/elements/gstidentity.c:
8453 Make sure gstprivate.h and/or config.h are
8454 always included first, otherwise some of our
8455 defines (like _FILE_OFFSET_BITS) might be
8456 redefined in the system headers. Fixes build
8457 on opensolaris (#340016).
8459 2006-05-04 Wim Taymans <wim@fluendo.com>
8461 * docs/libs/gstreamer-libs-sections.txt:
8462 API: addition: gst_adapter_take_buffer()
8464 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8465 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8466 (gst_adapter_available_fast):
8467 * libs/gst/base/gstadapter.h:
8468 Prepare for optimizing the hell out of this hugely inefficient
8470 Added gst_adapter_take_buffer() so we can at least start thinking
8471 about subbuffering and merging.
8472 Added some comments.
8474 * tests/check/Makefile.am:
8475 * tests/check/libs/adapter.c: (GST_START_TEST),
8476 (gst_adapter_suite), (main):
8477 Added GstAdapter check.
8479 2006-05-04 Wim Taymans <wim@fluendo.com>
8481 * docs/design/part-overview.txt:
8482 Fix some typos, add blurb about buffer flags.
8484 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8486 * docs/libs/gstreamer-libs-sections.txt:
8487 make sure GstBaseTransformClass shows up in the docs
8488 * libs/gst/base/gstbasetransform.c:
8489 * libs/gst/base/gstbasetransform.h:
8490 move docs so gtk-doc picks it up now
8492 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8494 * docs/libs/gstreamer-libs-sections.txt:
8495 add missing symbols to docs
8497 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8500 back out the newsegment handling change, see #340060 for ongoing
8503 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8505 * tools/gst-run.c: (get_candidates), (main):
8506 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8507 work); fix typo in error message. Fixes #340079.
8509 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8511 * common/Makefile.am:
8513 * docs/faq/Makefile.am:
8514 * docs/gst/Makefile.am:
8515 * docs/libs/Makefile.am:
8516 * docs/manual/Makefile.am:
8517 * docs/plugins/Makefile.am:
8518 * docs/pwg/Makefile.am:
8519 * docs/slides/Makefile.am:
8521 * common/upload.mak:
8522 move upload.mak to common
8524 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8526 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8527 add more asserts on refcounts
8528 do more cleanup at end of tests
8529 fix test leaks showing in FC5
8531 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8533 * plugins/elements/gsttypefindelement.c:
8534 (gst_type_find_element_handle_event):
8535 reverted wrong change and reflowed code to avoid others falling into
8538 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8540 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8541 fix changelog entry about last collectpads change,
8542 add notes about proper fix
8544 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8547 * gst/gstregistry.c: (gst_registry_scan_path_level),
8548 (gst_registry_scan_path):
8549 * gst/gstregistry.h:
8550 only write out registry if it has changed, fixes #338339
8552 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8555 * gst/gstpipeline.c:
8556 * plugins/elements/gstcapsfilter.c:
8557 * plugins/elements/gstfakesink.c:
8558 * plugins/elements/gstfakesrc.c:
8559 * plugins/elements/gstfdsink.c:
8560 * plugins/elements/gstfdsrc.c:
8561 * plugins/elements/gstfilesink.c:
8562 * plugins/elements/gstfilesrc.c:
8563 * plugins/elements/gstidentity.c:
8564 * plugins/elements/gstqueue.c:
8565 * plugins/elements/gsttee.c:
8566 * plugins/elements/gsttypefindelement.c:
8567 (gst_type_find_element_handle_event):
8568 make GstElementDetails const
8570 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8572 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8573 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8574 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8575 more detailed debug and formatting cleanup,
8576 forward newsegments to src-pad (so that e.g. adder not eats them)
8578 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8580 * gst/gstutils.c: (gst_element_link_pads):
8583 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8585 * libs/gst/controller/gstcontroller.c:
8586 (gst_controller_sync_values):
8588 * tests/check/libs/controller.c: (GST_START_TEST),
8589 (gst_controller_suite):
8590 a new test for live value handling
8592 2006-04-28 Wim Taymans <wim@fluendo.com>
8594 * gst/gstutils.c: (push_and_ref):
8595 Added some more docs.
8596 Fix refcount issue whith gst_element_found_tags() helper
8597 function. Fixes #338335
8599 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8600 Added testsuite for gst_element_found_tags().
8602 2006-04-28 Michael Smith <msmith@fluendo.com>
8604 * gst/gstvalue.c: (gst_value_serialize_flags):
8605 Avoid NULL dereference when trying to serialize flags containing
8608 2006-04-28 Michael Smith <msmith@fluendo.com>
8610 * plugins/elements/gsttypefindelement.c:
8611 (gst_type_find_element_handle_event):
8612 If we get EOS before any data is accumulated, don't use
8613 uninitialised local variables.
8615 2006-04-28 Michael Smith <msmith@fluendo.com>
8617 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8618 (gst_dp_event_from_packet):
8619 Fixes in reading/writing events over GDP (not currently used?) -
8620 dereferencing NULL events for unknown/invalid event types, memory
8621 leak, and change g_warning to GST_WARNING.
8623 2006-04-28 Wim Taymans <wim@fluendo.com>
8625 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8626 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8627 (gst_base_sink_get_position), (gst_base_sink_change_state):
8628 When frame dropping is enabled, we should not ignore frames
8630 Update some documentation.
8632 2006-04-28 Wim Taymans <wim@fluendo.com>
8634 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8635 (gst_base_src_send_event), (gst_base_src_change_state):
8636 Documentation updates.
8638 2006-04-28 Wim Taymans <wim@fluendo.com>
8640 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8641 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8642 handle EAGAIN, EINTR and short writes correctly. Also clean
8643 up some error cases, avoid a deadlock on bad file descriptors and
8644 use GST_DEBUG_OBJECT.
8647 2006-04-28 Wim Taymans <wim@fluendo.com>
8649 * gst/gstvalue.c: (gst_value_serialize_buffer),
8650 (gst_value_deserialize_buffer):
8651 Don't try to serialize a GValue with a NULL buffer.
8654 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8655 Added check for serialisation of NULL buffers.
8657 2006-04-28 Wim Taymans <wim@fluendo.com>
8659 * gst/gstminiobject.c: (gst_value_take_mini_object):
8660 Taking a NULL miniobject is valid, fix the case where
8661 we try to unref the NULL miniobject.
8663 2006-04-28 Wim Taymans <wim@fluendo.com>
8665 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8667 * gst/gstbin.c: (gst_bin_handle_message_func):
8669 Don't leak bin refcount when a state recalc is
8670 in progress and we delay another one #339808.
8672 2006-04-28 Wim Taymans <wim@fluendo.com>
8674 * docs/design/part-TODO.txt:
8675 Mention QoS as an ongoing work item.
8677 * docs/design/part-buffering.txt:
8678 New doc about buffering that needs to be fleshed out
8681 * docs/design/part-qos.txt:
8682 More QoS policy for decoders/demuxers/transforms
8684 * docs/design/part-trickmodes.txt:
8687 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8692 === release 0.10.5 ===
8694 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8697 releasing 0.10.5, "Fogo"
8699 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8701 patch by: Wim Taymans
8703 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8704 (gst_pad_configure_src), (gst_pad_push):
8705 * gst/gstpipeline.c: (gst_pipeline_init):
8706 Fix internal data flow errors. Fixes #338711.
8708 2006-04-12 Wim Taymans <wim@fluendo.com>
8710 * tests/check/gst/gstelement.c: (GST_START_TEST):
8711 Don't leak the factory.
8713 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8716 * win32/common/config.h:
8719 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8721 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8722 (gst_controller_unset_all):
8723 Free allocated GstTimedValues when freeing list nodes.
8724 Should fix leaks 'make check-valgrind' complains about.
8726 * win32/common/libgstcontroller.def:
8727 Add gst_controller_unset_all.
8729 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8731 * docs/libs/gstreamer-libs-sections.txt:
8732 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8733 (gst_controller_unset_all):
8734 * libs/gst/controller/gstcontroller.h:
8735 API: Added new method gst_controller_unset_all()
8736 fixed gst_controller_unset()
8737 * tests/check/libs/controller.c: (GST_START_TEST),
8738 (gst_controller_suite):
8739 Added two testcases for new and fixed method
8741 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8743 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8744 MSG_DONTWAIT is not defined on Cygwin, so work
8745 around that (fixes #317048).
8747 2006-04-11 Wim Taymans <wim@fluendo.com>
8749 * gst/gstelementfactory.c: (gst_element_register),
8750 (gst_element_factory_create), (gst_element_factory_make):
8753 Updated docs (Fixes #131079)
8755 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8758 * tests/check/gst/gstelement.c: (GST_START_TEST),
8759 (gst_element_suite):
8760 Added testcase for elementfactory class field.
8762 2006-04-10 Wim Taymans <wim@fluendo.com>
8765 Added some more docs.
8767 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8768 (gst_base_sink_reset_qos):
8769 Calculate more accurate rate values.
8771 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8773 * gst/gst_private.h:
8774 add a new #ifdef to use __declspec(dllimport) only for
8775 other modules and not for gstreamer core
8776 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8777 use gst_guint64_to_gdouble for conversion
8778 * win32/common/libgstreamer.def:
8779 add new exported functions
8780 * win32/vs6/gst_inspect.dsp:
8781 * win32/vs6/gst_launch.dsp:
8782 * win32/vs6/libgstbase.dsp:
8783 * win32/vs6/libgstcontroller.dsp:
8784 * win32/vs6/libgstcoreelements.dsp:
8785 * win32/vs6/libgstdataprotocol.dsp:
8786 * win32/vs6/libgstnet.dsp:
8787 update project files
8789 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8791 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8792 * gst/gstclock.c: (gst_clock_class_init):
8793 * gst/gstelement.c: (gst_element_class_init):
8794 * gst/gstindex.c: (gst_index_class_init):
8795 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8796 * gst/gstobject.c: (gst_object_class_init),
8797 (gst_signal_object_class_init):
8798 * gst/gstpad.c: (gst_pad_class_init):
8799 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8800 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8801 * gst/gstregistry.c: (gst_registry_class_init):
8802 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8803 * gst/gsttask.c: (gst_task_class_init):
8804 * gst/gstxml.c: (gst_xml_class_init):
8805 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8806 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8807 (gst_base_src_loop):
8808 * libs/gst/controller/gstcontroller.c:/
8809 (_gst_controller_class_init):
8810 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8811 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8812 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8813 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8814 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8815 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8817 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8819 * gst/gstpad.c: (gst_pad_link):
8820 Must set peer pads before calling the link function, otherwise
8821 a task started from a link function might get a flow-not-linked
8822 result when trying to push because the other thread where the
8823 linking happens hasn't had a chance to set the peers yet. This
8824 might happen for example when a queue gets linked to a downstream
8825 element, as queue starts a streaming task when its source pad
8826 gets linked. Happens in real life when playing back flac/musepack
8827 files in playbin (#332390).
8829 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8833 * libs/gst/base/gstadapter.h:
8834 * libs/gst/base/gstbasesink.h:
8835 * libs/gst/base/gstbasesrc.h:
8836 * libs/gst/base/gstbasetransform.h:
8837 * libs/gst/base/gstcollectpads.h:
8838 * libs/gst/base/gstpushsrc.h:
8839 Fix broken GObject macros
8841 2006-04-07 Wim Taymans <wim@fluendo.com>
8843 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8844 Initialize start and stop times, thanks valgrind.
8846 2006-04-07 Wim Taymans <wim@fluendo.com>
8848 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8849 Be a bit nicer to badly behaving upstream elements that expect
8850 us to deal with non TIME segments and timestamps (such as fakesrc
8853 2006-04-07 Wim Taymans <wim@fluendo.com>
8856 Small documentation clarification about the signal watch.
8858 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8859 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8860 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8861 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8862 (gst_base_sink_get_position_last),
8863 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8864 Convert and store timestamps in stream time and running time, the
8865 raw timestamps are not useful, also document this better.
8866 Use different window sizes for good and bad QoS observations so
8867 we react to badness a little quicker.
8868 Keep track of the amount of rendered and dropped buffers.
8869 Send QoS timestamps in running time.
8871 * libs/gst/base/gstbasetransform.c:
8872 (gst_base_transform_sink_eventfunc),
8873 (gst_base_transform_handle_buffer):
8874 Compare QoS timestamps against running time.
8876 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8881 2006-04-06 Michael Smith <msmith@fluendo.com>
8883 * gst/gstpad.c: (gst_pad_set_property):
8884 Use g_value_get_object() instead of g_value_dup_gst_object(),
8885 to avoid double-reffing the pad template (which we then sink,
8886 so this worked previously if (and only if) the pad template
8889 * gst/gstpadtemplate.c: (gst_pad_template_init),
8890 (gst_pad_template_pad_created):
8891 Never return floating references to pad templates, create
8892 them as initially-sunken.
8894 Document an extra function (and make this stop sinking our
8895 pad template, since that is now guaranteed to do nothing,
8896 since we created it sunken).
8898 * gst/gstghostpad.c:
8901 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8903 * gst/gstinfo.c: (__gst_in_valgrind):
8906 * plugins/elements/gsttypefindelement.c:
8907 (gst_type_find_element_chain):
8908 Don't leak buffer caps.
8910 2006-04-06 Michael Smith <msmith@fluendo.com>
8912 * gst/parse/grammar.y:
8913 Fix a leak in parse-launch for any source-or-sink named element
8916 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8917 Unref the pipeline if it exists after we've failed parsing.
8919 2006-04-05 Michael Smith <msmith@fluendo.com>
8921 * gst/gstpipeline.c: (gst_pipeline_init):
8922 When we create a pipeline bus, initially create it in flushing mode.
8923 Fixes leaks in at least one test, and makes a new pipeline work the
8924 same as one that has gone to READY and then back to NULL.
8929 2006-04-05 Michael Smith <msmith@fluendo.com>
8931 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8932 Unref a pad we reffed.
8933 * tests/check/gst/gstutils.c: (GST_START_TEST):
8936 2006-04-05 Michael Smith <msmith@fluendo.com>
8938 * gst/gstquery.c: (gst_query_set_formats),
8939 (gst_query_set_formatsv):
8940 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8942 2006-04-05 Michael Smith <msmith@fluendo.com>
8944 * tests/check/generic/sinks.c: (GST_START_TEST):
8945 Fix a variety of memleaks in sinks check, which are only sometimes
8946 shown by running the tests under valgrind (weird?).
8948 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8950 * docs/version.entities.in:
8951 Fix the substituted entity name after thomas' changes on the
8954 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8956 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8959 2006-04-05 Andy Wingo <wingo@pobox.com>
8961 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8963 * libs/gst/base/gstbasetransform.c
8964 (gst_base_transform_sink_eventfunc): When resetting our segment on
8965 FLUSH_STOP, also update the flag saying we haven't seen a
8968 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8970 Patch by: Paolo Borelli <pborelli at katamail dot com>
8972 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8973 (gst_plugin_check_license):
8974 minor clean-ups: G_DEFINE_TYPE already takes care of the
8975 parent_class stuff, no need to do it twice. Mark array of
8976 license strings as constant. (#337103)
8978 2006-04-04 Michael Smith <msmith@fluendo.com>
8980 * tools/gst-inspect.c: (print_element_list):
8981 Free the right plugin list; fixes a memory leak.
8983 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8985 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8987 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8988 Don't error out on empty buffers (#336945).
8990 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8992 * docs/libs/gstreamer-libs-sections.txt:
8994 * libs/gst/base/gstbasesink.c:
8995 * libs/gst/base/gstbasesink.h:
8996 * libs/gst/base/gstbasesrc.c:
8997 * libs/gst/base/gstbasesrc.h:
8998 Documentation updates. Make BaseSink and BaseSrc docs contain the
8999 class structure so that people can actually see the prototypes for
9000 virtual functions they're supposed to be overriding.
9002 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
9004 * plugins/elements/gsttypefindelement.c:
9005 (gst_type_find_element_chain):
9006 More debug info; when skipping typefinding, send cached
9007 events in all cases.
9009 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
9012 use new AS_VERSION and AS_NANO macros
9013 * gst/gst-i18n-lib.h:
9016 * gst/gstversion.h.in:
9017 * win32/common/config.h:
9018 * win32/common/config.h.in:
9021 2006-03-31 Michael Smith <msmith@fluendo.com>
9023 * plugins/elements/gsttypefindelement.c:
9024 (gst_type_find_element_chain):
9025 Do not typefind content if the buffers already have caps.
9026 Neccesary for icydemux (#333657), and the right thing to do anyway.
9028 2006-03-30 Wim Taymans <wim@fluendo.com>
9030 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9031 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
9032 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
9033 (gst_base_sink_record_qos_observation),
9034 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9035 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9036 (gst_base_sink_change_state):
9037 More QoS measurements as described in the design doc.
9038 Get rid of ringbuffer with observations, running average is
9039 more simple and equally good.
9040 Calculates valid proportion now.
9041 Added beginning of flood measurement.
9043 2006-03-29 Wim Taymans <wim@fluendo.com>
9045 * docs/design/part-qos.txt:
9047 Small documentation updates and additions.
9049 2006-03-29 Wim Taymans <wim@fluendo.com>
9051 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9052 (gst_base_src_send_event), (gst_base_src_loop),
9053 (gst_base_src_change_state):
9054 Perform the EOS logic when we reach the segment stop position.
9055 Fix compilation on gcc4.1
9057 2006-03-29 Wim Taymans <wim@fluendo.com>
9059 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9061 * plugins/elements/gstqueue.c: (gst_queue_init),
9062 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9063 (gst_queue_set_property):
9064 * plugins/elements/gstqueue.h:
9065 In queue, when EOS is received, if minimum threshold > max_size -
9066 current_level, there is chance that queue blocks forever in conditional
9067 item del wait. This is because the queue is not emptied completely due
9068 to minimum threshold. Here is another approach. Instead of setting
9069 cur_levels to max in EOS, just zero all minimum threshold levels. This
9070 should make sure that queue gives out all data. When going to READY
9071 (stop) state, just reset the original minimum threshold levels.
9074 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
9076 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
9077 (gst_type_find_element_handle_event),
9078 (gst_type_find_element_send_cached_events),
9079 (gst_type_find_element_change_state):
9080 * plugins/elements/gsttypefindelement.h:
9081 When typefinding is done in push mode, we should cache
9082 events we receive during typefinding instead of just
9083 dropping them (e.g. newsegment, custom events from
9084 dvdreadsrc etc.) and then send them out once we've
9085 determined the type of the stream (and decodebin
9086 has had a chance to plug in a decoder/demuxer).
9088 2006-03-27 Wim Taymans <wim@fluendo.com>
9090 * docs/design/part-qos.txt:
9093 2006-03-27 Wim Taymans <wim@fluendo.com>
9095 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
9097 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
9098 (gst_base_src_send_event), (gst_base_src_change_state):
9099 Handle element seek correctly when we are streaming.
9102 2006-03-24 Michael Smith <msmith@fluendo.com>
9104 * docs/faq/gst-uninstalled:
9105 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
9106 allow you to correctly run intalled applications built against old
9107 core, using plugins that require updated core (e.g. running
9108 installed totem against a full uninstalled gstreamer stack)
9110 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9112 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
9115 2006-03-24 Wim Taymans <wim@fluendo.com>
9117 * docs/gst/gstreamer-sections.txt:
9118 Rearrange the order of the methods so that related methods
9119 are grouped together in sections.
9121 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9124 Little clarification in the docs
9126 2006-03-24 Stefan Kost <ensonic@users.sf.net>
9130 * plugins/elements/gstidentity.c:
9131 * plugins/elements/gstqueue.c:
9132 * plugins/elements/gsttee.c:
9133 * plugins/elements/gsttypefindelement.c:
9134 GST_ELEMENT_DETAILS formatting
9136 2006-03-24 Wim Taymans <wim@fluendo.com>
9138 * libs/gst/base/gstbasesink.h:
9139 Only add fields, not insert or we break ABI.
9141 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9143 * win32/common/libgstbase.def:
9144 * win32/common/libgstreamer.def:
9145 Update, add recently added functions.
9147 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9149 * docs/gst/gstreamer-sections.txt:
9150 * gst/gstutils.c: (gst_pad_query_peer_position),
9151 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
9153 API: add some new utility functions:
9154 - gst_pad_query_peer_position()
9155 - gst_pad_query_peer_duration()
9156 - gst_pad_query_peer_convert()
9158 2006-03-23 Wim Taymans <wim@fluendo.com>
9160 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9161 (gst_base_sink_init), (gst_base_sink_finalize),
9162 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
9163 (gst_base_sink_set_property), (gst_base_sink_get_property),
9164 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
9165 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9166 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
9167 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9168 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
9169 (gst_base_sink_preroll_object), (gst_base_sink_event),
9170 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
9171 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
9172 (gst_base_sink_query), (gst_base_sink_change_state):
9173 Decouple max-lateness and the fact that QoS messages are generated
9174 with a new property (qos).
9175 added API: GstBaseSink::async_play()
9176 Add vmethod so subclasses can be notified of ASYNC playing
9178 Collect timestamp start and stop to report better current
9179 position in EOS/PLAYING/PAUSED/READY/NULL.
9180 Refactor QoS/frame dropping and other measurements.
9181 API: GstBaseSrc::qos
9184 * libs/gst/base/gstbasesink.h:
9185 Added Private struct.
9186 API: gst_base_sink_set_qos_enabled()
9187 API: gst_base_sink_is_qos_enabled()
9189 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
9191 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9192 If compiling against GLib-2.8 or newer, try to read the
9193 registry file using GMappedFile first before falling back
9194 to fopen() + fread() (#332151).
9196 2006-03-22 Wim Taymans <wim@fluendo.com>
9198 * gst/gstinfo.c: (gst_debug_set_active),
9199 (gst_debug_category_set_threshold):
9200 Disable debugging unless explicitly activated.
9203 2006-03-22 Wim Taymans <wim@fluendo.com>
9205 * gst/gstelement.c: (gst_element_set_locked_state),
9206 (gst_element_dispose):
9207 Cleanup the error case.
9209 * gst/gstobject.c: (gst_object_dispose):
9210 print a critical when some object was disposed with
9211 a parent, also revive the object since it might
9214 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
9216 * tools/gst-launch.1.in:
9219 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * tests/check/Makefile.am:
9223 disable some tests when we don't have a registry
9224 * tests/check/gst/gstutils.c: (gst_utils_suite):
9225 don't build the part that needs parsing
9227 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
9230 * tests/examples/Makefile.am:
9231 fix --disable-parse build
9233 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9235 * tools/gst-feedback.1.in:
9236 Fix typo: s/feeback/feedback/ (#133494).
9238 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9240 * tools/Makefile.am:
9241 * tools/gst-launch.1.in:
9242 Add FILES section and correct entry about GST_REGISTRY_PATH
9243 environment variable (#133495; #133494).
9245 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9247 * tools/Makefile.am:
9248 * tools/gst-md5sum.1.in:
9249 * tools/gst-md5sum.c:
9250 Remove gst-md5sum and man page (the md5sink element
9251 required was removed ages ago)
9253 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9255 * gst/gststructure.c: (gst_structure_id_set_value):
9256 Make sure that string fields in structures/taglists
9257 contain valid UTF-8 - we don't want to pass rubbish to
9258 applications because of a buggy plugin (cp. #334167).
9260 2006-03-21 Edward Hervey <edward@fluendo.com>
9262 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9263 (gst_bin_handle_message_func):
9264 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9265 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9266 (gst_element_set_bus_func):
9267 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9268 * gst/gstminiobject.c: (gst_value_set_mini_object),
9269 (gst_value_take_mini_object):
9270 * gst/gstpad.c: (gst_pad_set_pad_template):
9271 * gst/gstpipeline.c: (gst_pipeline_dispose),
9272 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9273 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9274 (gst_collect_pads_chain):
9275 * libs/gst/net/gstnettimeprovider.c:
9276 (gst_net_time_provider_set_property):
9277 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9278 It's in fact all issues with gst_*object_replace().
9280 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9282 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9284 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9285 * pkgconfig/gstreamer-check.pc.in:
9286 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9288 2006-03-21 Edward Hervey <edward@fluendo.com>
9293 gst_[buffer|event|message]_ref() macros are replaced by a static
9294 inline functions because gcc-4.1 will about if the return value
9296 * tests/check/gst/gstevent.c: (event_probe):
9297 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9299 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9302 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9303 the type' case. (Closes: #335195 for now). In the future, when we
9304 depend on GLib 2.10, we could also intern the type name using
9305 g_intern_static_string()
9307 2006-03-20 Wim Taymans <wim@fluendo.com>
9309 * gst/gstbin.c: (gst_bin_handle_message_func),
9310 (bin_query_max_init), (bin_query_position_fold),
9311 (bin_query_position_done), (gst_bin_query):
9312 Position query should also take max of all streams.
9314 2006-03-20 Wim Taymans <wim@fluendo.com>
9316 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9317 (gst_fake_src_finalize):
9318 Fix leaks in fakesrc.
9320 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9321 Fix leaks in the testcase.
9323 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9325 * gst/gst_private.h:
9326 add win32 specific import decoration(__declspec(dllimport))
9327 for all extern GstDebugCategory * variables
9328 * win32/common/libgstbase.def:
9329 * win32/common/libgstcontroller.def:
9330 * win32/common/libgstreamer.def:
9331 Add some exports, remove empty lines
9332 * win32/common/libgstdataprotocol.def:
9333 * win32/common/libgstdataprotocol.dsp:
9334 * win32/common/libgstnet.def:
9335 * win32/common/libgstnet.dsp:
9336 new project files and exportation files added
9338 2006-03-19 Wim Taymans <wim@fluendo.com>
9340 * tests/check/libs/basesrc.c: (eos_event_counter):
9341 Use proper return value for probe.
9343 2006-03-17 Wim Taymans <wim@fluendo.com>
9345 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9347 Don't leak buffers, caps and pads on negotiation errors.
9349 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9352 * docs/faq/dependencies.xml:
9353 * docs/faq/developing.xml:
9355 * docs/faq/general.xml:
9356 * docs/faq/getting.xml:
9357 * docs/faq/legal.xml:
9358 * docs/faq/troubleshooting.xml:
9359 * docs/faq/using.xml:
9360 Faq review and update.
9362 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9364 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9366 Don't pound the cpu to pieces by checking get_caps when accept_caps
9367 is called with the same caps as the pad already has.
9368 Use GST_DEBUG_OBJECT when outputting caps change information.
9370 2006-03-15 Wim Taymans <wim@fluendo.com>
9372 * gst/gstclock.c: (gst_clock_class_init):
9375 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9380 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9381 (gst_pad_accept_caps), (gst_pad_configure_sink),
9382 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9383 Make the default acceptcaps behaviour be to check the requested
9384 caps against the gst_pad_get_caps output.
9386 Ensure that gst_pad_accept_caps is used to check caps when a pad
9387 doesn't have a setcaps function, so that pads automatically refuse
9388 caps that they don't allow in their pad template. (Fixes #332986)
9390 When a buffer with attached caps is pushed, ensure that the source
9391 pad receives those caps even if the element didn't call
9392 gst_pad_set_caps first.
9394 2006-03-15 Wim Taymans <wim@fluendo.com>
9396 * libs/gst/base/gstadapter.c:
9399 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9401 * win32/common/libgstbase.def:
9402 * win32/common/libgstcontroller.def:
9403 * win32/common/libgstreamer.def:
9404 Add a whole bunch of missing functions (#334434).
9406 2006-03-14 Wim Taymans <wim@fluendo.com>
9408 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9409 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9410 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9411 Better debug info when we receive a segment event.
9412 Reorganize a bit so we can pass the get_times() results around.
9413 Use the segment format when calculating the running time.
9414 Don't do QoS is sync is disabled or we have no clock or the
9415 element does not want us to sync to the clock.
9416 Don't drop buffers if QoS is disabled for now.
9418 2006-03-14 Wim Taymans <wim@fluendo.com>
9420 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9421 Marked the stats property as unimplemented so people don't get
9423 Add debug message when regression goes wrong.
9424 Added some more docs.
9426 2006-03-14 Wim Taymans <wim@fluendo.com>
9428 * gst/gstsegment.c: (gst_segment_to_stream_time):
9429 Return correct return type in case of errors.
9431 2006-03-14 Wim Taymans <wim@fluendo.com>
9433 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9434 Don't segfault on invalid formats.
9436 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9438 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9439 Can't use gst_segment_to_running_time() when the segment
9440 is not in GST_TIME_FORMAT (like with filesink, for example).
9441 Stops flac encoding pipelines from spewing critical warnings
9444 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9446 * gst/gstpipeline.c: (gst_pipeline_class_init):
9447 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9449 * plugins/elements/gsttypefindelement.c:
9450 (gst_type_find_element_handle_event):
9451 Don't try to typefind empty streams.
9453 2006-03-14 Wim Taymans <wim@fluendo.com>
9455 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9456 (gst_base_sink_do_qos):
9457 Separate QoS calculation.
9458 Only drop buffers when lateness is bigger than the
9459 duration of the buffer.
9461 2006-03-13 Wim Taymans <wim@fluendo.com>
9463 * gst/gstpipeline.c: (gst_pipeline_set_property),
9464 (gst_pipeline_get_property), (do_pipeline_seek),
9465 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9466 (gst_pipeline_get_delay):
9467 Don't deadlock when reading properties.
9469 2006-03-13 Wim Taymans <wim@fluendo.com>
9471 * libs/gst/base/gstbasetransform.c:
9472 (gst_base_transform_class_init), (gst_base_transform_init),
9473 (gst_base_transform_sink_event),
9474 (gst_base_transform_sink_eventfunc),
9475 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9476 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9477 (gst_base_transform_set_property),
9478 (gst_base_transform_get_property),
9479 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9480 (gst_base_transform_set_qos_enabled),
9481 (gst_base_transform_is_qos_enabled):
9482 * libs/gst/base/gstbasetransform.h:
9483 Make basetransform virtual method for src events too.
9484 Handle QOS in basetransform.
9485 API: gst_base_transform_update_qos()
9486 API: gst_base_transform_set_qos_enabled()
9487 API: gst_base_transform_is_qos_enabled()
9489 2006-03-13 Wim Taymans <wim@fluendo.com>
9491 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9492 (gst_base_sink_do_sync):
9494 Use QOS debug category.
9496 2006-03-13 Wim Taymans <wim@fluendo.com>
9498 * plugins/elements/gstqueue.c:
9499 Very small doc update.
9501 2006-03-13 Wim Taymans <wim@fluendo.com>
9503 * gst/gst_private.h:
9504 * gst/gstinfo.c: (_gst_debug_init):
9505 Added QOS debug category
9507 2006-03-13 Wim Taymans <wim@fluendo.com>
9509 * docs/gst/gstreamer-sections.txt:
9510 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9512 * gst/gstbus.c: (gst_bus_class_init):
9515 * gst/gstelement.c: (gst_element_set_locked_state):
9517 Documentation updates.
9519 * gst/gstpipeline.c: (gst_pipeline_get_type),
9520 (gst_pipeline_class_init), (gst_pipeline_init),
9521 (gst_pipeline_dispose), (gst_pipeline_set_property),
9522 (gst_pipeline_get_property), (do_pipeline_seek),
9523 (gst_pipeline_send_event), (gst_pipeline_change_state),
9524 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9525 (gst_pipeline_get_delay):
9526 * gst/gstpipeline.h:
9527 Added methods for setting the delay.
9528 API: gst_pipeline_set_delay()
9529 API: gst_pipeline_get_delay()
9530 Add pipeline debug category
9533 Don't reset stream time when seek failed.
9535 2006-03-13 Wim Taymans <wim@fluendo.com>
9537 * docs/design/draft-klass.txt:
9538 * docs/design/part-clocks.txt:
9539 * docs/design/part-events.txt:
9540 * docs/design/part-gstbin.txt:
9541 * docs/design/part-gstpipeline.txt:
9542 * docs/design/part-messages.txt:
9543 * docs/design/part-negotiation.txt:
9544 * docs/design/part-overview.txt:
9545 * docs/design/part-preroll.txt:
9546 * docs/design/part-seeking.txt:
9547 * docs/design/part-states.txt:
9548 * docs/design/part-streams.txt:
9549 Documentation updates.
9551 2006-03-12 Julien MOUTTE <julien@moutte.net>
9553 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9554 us to leak strings...
9556 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9558 * libs/gst/net/gstnettimeprovider.c:
9560 * win32/common/config.h:
9563 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9565 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9568 Don't check for libgnomeui (leftover from old examples
9569 that aren't built or disted any longer) (#334303).
9571 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9573 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9574 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9575 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9576 there's no space left on the device.
9578 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9581 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9582 to cast the input to GstClockTime before comparing with
9583 another GstClockTime value.
9585 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9590 === release 0.10.4 ===
9592 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9595 releasing 0.10.4, "Light"
9597 2006-03-10 Michael Smith <msmith@fluendo.com>
9599 * libs/gst/dataprotocol/dataprotocol.c:
9600 Fix docs for dataprocotol to not get the return types completely
9601 wrong for a few functions.
9603 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9605 * docs/gst/gstreamer-sections.txt:
9606 * gst/gstpipeline.c: (gst_pipeline_class_init),
9607 (gst_pipeline_init), (gst_pipeline_set_property),
9608 (gst_pipeline_get_property), (gst_pipeline_change_state),
9609 (gst_pipeline_set_auto_flush_bus),
9610 (gst_pipeline_get_auto_flush_bus):
9611 * gst/gstpipeline.h:
9612 Add new API: gst_pipeline_set_auto_flush_bus() and
9613 gst_pipeline_get_auto_flush_bus() to disable automatic
9614 flushing of the pipeline's GstBus when going from READY
9615 to NULL state (#332045).
9617 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9619 * docs/gst/gstreamer-sections.txt:
9620 * gst/gsturi.c: (gst_uri_has_protocol):
9622 Add new API: gst_uri_has_protocol() (#333779).
9624 2006-03-09 Wim Taymans <wim@fluendo.com>
9626 * gst/gstclock.c: (gst_clock_entry_new),
9627 (gst_clock_id_compare_func), (gst_clock_id_wait),
9628 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9629 (gst_clock_init), (gst_clock_get_internal_time),
9630 (gst_clock_set_master), (do_linear_regression),
9631 (gst_clock_add_observation), (gst_clock_set_property):
9635 Fix a possible segfault when the window-size is made smaller.
9636 Calculate jitter before performing the clock wait. Ideally
9637 the clock implementation should calculate jitter but we need
9638 API breakage for that.
9640 * gst/gstsystemclock.c: (gst_system_clock_init):
9643 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9644 Remove leftover else
9646 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9647 (gst_systemclock_suite):
9648 Added check to test GST_CLOCK_DIFF.
9650 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9652 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9653 (gst_type_find_helper_get_range):
9654 If we are provided with the size, we should implement
9655 GstTypeFind::get_length, so that typefind functions who
9656 want to can actually peek at the middle of a file.
9658 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9660 * docs/manual/advanced-dataaccess.xml:
9661 Add some very very basic error checking.
9663 * docs/pwg/appendix-checklist.xml:
9664 Some updates to the list of things to check when writing an element.
9666 2006-03-08 Wim Taymans <wim@fluendo.com>
9668 * docs/design/part-element-transform.txt:
9669 Added some docs about the design of tranform elements.
9671 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9672 (gst_base_src_loop), (gst_base_src_change_state):
9673 Mark buffers with the DISCONT flag.
9675 2006-03-08 Michael Smith <msmith@fluendo.com>
9677 * gst/gstregistry.h:
9678 * gst/gstregistryxml.c: (gst_registry_save),
9679 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9680 (gst_registry_xml_save_pad_template),
9681 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9682 (gst_registry_xml_write_cache):
9683 Rewrite registry-saving to avoid race conditions and check for
9686 2006-03-08 Wim Taymans <wim@fluendo.com>
9688 * libs/gst/base/gstbasetransform.c:
9689 (gst_base_transform_transform_caps),
9690 (gst_base_transform_transform_size),
9691 (gst_base_transform_prepare_output_buffer),
9692 (gst_base_transform_get_unit_size),
9693 (gst_base_transform_buffer_alloc),
9694 (gst_base_transform_handle_buffer),
9695 (gst_base_transform_change_state):
9696 Cleanups, separate normal flow from errors, add sensible
9698 Don't try to renegotiate when allocating an output buffer.
9699 Also copy DISCONT buffer flag when copying a buffer.
9700 Reset the transform after we finish streaming, not during.
9702 2006-03-08 Wim Taymans <wim@fluendo.com>
9704 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9705 Use last buffer timestamp in qos message.
9707 2006-03-07 Wim Taymans <wim@fluendo.com>
9709 Patch by: Christophe Fergeau
9711 * docs/pwg/advanced-tagging.xml:
9712 * docs/pwg/building-pads.xml:
9715 2006-03-07 Wim Taymans <wim@fluendo.com>
9717 * docs/libs/gstreamer-libs-sections.txt:
9718 Added basesink new methods.
9722 Docs updates. Flesh out the QoS docs.
9724 * libs/gst/base/gstadapter.c:
9725 Small doc clarification about ownership and flushing.
9727 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9728 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9729 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9730 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9731 * libs/gst/base/gstbasesink.h:
9733 Added new methods to allow subclass to control max-lateness
9735 Generate very basic QoS events based on last sync observation.
9736 Updated docs, fix typo, added some QoS blurb.
9738 * libs/gst/base/gstbasesrc.c:
9739 Remove obsolete _get_state() calls from docs.
9741 2006-03-07 Wim Taymans <wim@fluendo.com>
9743 * docs/libs/gstreamer-libs-sections.txt:
9744 * libs/gst/base/gstbasetransform.h:
9745 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9746 Fix docs for GstBaseSrc.
9748 2006-03-07 Wim Taymans <wim@fluendo.com>
9750 * docs/gst/gstreamer-sections.txt:
9753 * libs/gst/base/gstbasetransform.h:
9754 Small documentation fixes.
9756 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9759 Document thread-unsafety of gst_value_register_foo_func()
9760 when used at the same time as gst_value_foo() (#322628).
9762 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9764 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9765 (gst_push_src_check_get_range):
9766 Push sources don't support pull mode by default.
9768 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9770 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9771 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9772 (gst_base_src_default_check_get_range):
9773 * libs/gst/base/gstbasesrc.h:
9774 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9775 provide default implementation, and rename
9776 gst_base_src_check_get_range() to
9777 gst_base_src_pad_check_get_range() for clarity.
9779 2006-03-06 Wim Taymans <wim@fluendo.com>
9781 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9782 Make property overridable.
9784 2006-03-06 Wim Taymans <wim@fluendo.com>
9786 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9787 (gst_base_sink_init), (gst_base_sink_set_property),
9788 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9789 * libs/gst/base/gstbasesink.h:
9790 API addition: Make max-lateness a property.
9792 2006-03-06 Wim Taymans <wim@fluendo.com>
9794 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9795 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9796 Don't ever draw a frame that is >10ms late.
9798 2006-03-06 Michael Smith <msmith@fluendo.com>
9800 * gst/gstmessage.c: (_gst_message_copy):
9801 When copying a message, set the parent_refcount of the enclosed
9802 structure to point at the copy, not the original message.
9804 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9806 Patch by: Christophe Fergeau
9809 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9810 usable in c++ code (#333417)
9812 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9815 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9817 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9819 * libs/gst/base/gstbasetransform.c:
9820 (gst_base_transform_transform_caps):
9821 Make sure caps are writable before passing them to
9824 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9827 Fix some minor docs errors.
9829 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9831 Patch by: Ross Burton <ross at burtonini dot com>
9833 * gst/gsterror.c: (_gst_resource_errors_init):
9835 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9837 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9840 Add a check and output a g_warning when GStreamer is built
9841 against GLib 2.6 but running against 2.8 or higher, and vice
9842 versa. (Closes: #323542)
9844 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9846 * gst/parse/parse.l:
9847 Commit patch for parse_launch syntax from #331255. Removes
9848 support for quoted strings and mimetypes when writing filtered
9849 caps. See the bug report for more details - I'm pretty sure this
9850 obscure feature is not in use by _anyone_ anywhere.
9852 With this simple change, the size of the gstreamer.so here
9853 drops from 2193KB to 1565KB.
9855 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9857 * plugins/elements/gsttypefindelement.h:
9858 * plugins/elements/gsttypefindelement.c:
9859 (gst_type_find_element_src_event), (start_typefinding),
9860 (stop_typefinding), (gst_type_find_element_handle_event),
9861 (gst_type_find_element_chain),
9862 (gst_type_find_element_chain_do_typefinding):
9863 Use gst_type_find_helper_for_buffer() for chain-based
9866 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9868 * plugins/elements/gsttypefindelement.c:
9869 (gst_type_find_element_class_init),
9870 (gst_type_find_element_set_property),
9871 (gst_type_find_element_get_property):
9872 Deprecate "maximum" property (not only was it only taken into
9873 account for typefinding in push-mode anyway, it also was never
9874 actually possible to set it in the first place because the
9875 property was registered with the numeric property ID for the
9876 "minimum" property). Register "maximum" property correctly,
9877 for the sake of future copy'n'pasters. Remove some cruft
9878 from property get/set functions.
9880 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9882 * plugins/elements/gsttypefindelement.c:
9883 (gst_type_find_element_activate):
9884 Use gst_type_find_helper_get_range() here, so we
9885 can honour the "minimum" property and also emit
9886 the signal with the correct probability of the found caps.
9888 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9890 * docs/libs/gstreamer-libs-sections.txt:
9891 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9892 (helper_find_suggest), (gst_type_find_helper_get_range),
9893 (gst_type_find_helper):
9894 * libs/gst/base/gsttypefindhelper.h:
9895 New API: gst_type_find_helper_get_range() (#333042).
9897 2006-03-02 Michael Smith <msmith@fluendo.com>
9899 * gst/gstregistryxml.c: (load_feature):
9900 Asserting on a failure to read part of the registry is Not Cool.
9901 Just log a warning and return NULL (which is already handled)
9903 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9905 * win32/common/libgstbase.def:
9906 added export of gst_type_find_helper_for_buffer
9907 * win32/common/libgstbase.def:
9908 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9909 gst_ghost_pad_get_target
9911 2006-02-28 Wim Taymans <wim@fluendo.com>
9913 * docs/design/draft-klass.txt:
9915 Added Connector to mark elements that are only used to
9916 allow pipeline connections.
9917 Moved Debug to extra feature since most of them are
9918 functionally something else.
9920 2006-02-28 Wim Taymans <wim@fluendo.com>
9922 * docs/design/draft-klass.txt:
9923 Some updates and clarifications.
9925 2006-02-28 Wim Taymans <wim@fluendo.com>
9927 * docs/design/draft-klass.txt:
9928 Proposal for klass field values.
9930 * docs/design/part-streams.txt:
9931 Start of a doc describing stream anatomy.
9933 2006-02-28 Wim Taymans <wim@fluendo.com>
9935 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9936 Help the compiler a bit with type registration.
9937 Use existing forward cod path instead of duplicating it when
9940 * gst/gstbus.c: (gst_bus_get_type):
9941 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9942 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9943 * gst/gstclock.c: (gst_clock_get_type):
9944 * gst/gstelement.c: (gst_element_get_type),
9945 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9946 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9947 * gst/gstminiobject.c: (gst_mini_object_get_type):
9948 * gst/gstpad.c: (gst_pad_get_type):
9949 * gst/gstsegment.c: (gst_segment_get_type):
9950 * gst/gststructure.c: (gst_structure_get_type):
9951 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9952 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9954 Help compiler with type registration.
9956 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9959 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9961 * plugins/elements/gsttypefindelement.c:
9962 (gst_type_find_element_handle_event):
9963 When we get an EOS event and have not found a type yet
9964 (most likely because we had not yet accumulated
9965 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9966 type given the data we have so far. Fixes typefinding
9967 for very short streams again, most notably quicktime
9968 redirections as used on Apple's trailer site (#331701).
9970 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9972 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9973 (gst_type_find_helper):
9974 Try typefinding factories with the highest rank first.
9976 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9978 * docs/libs/gstreamer-libs-docs.sgml:
9979 * docs/libs/gstreamer-libs-sections.txt:
9980 * libs/gst/base/gsttypefindhelper.c:
9981 Add section for typefind helper and add documentation
9982 for the old and the new function.
9984 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9986 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9987 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9988 (gst_type_find_helper_for_buffer):
9989 * libs/gst/base/gsttypefindhelper.h:
9990 New API: gst_type_find_helper_for_buffer() (#332723).
9992 2006-02-27 Michael Smith <msmith@fluendo.com>
9994 Patch by: Loïc Minier
9998 * docs/slides/Makefile.am:
9999 prevent CVS directories getting disted.
10001 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
10003 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
10004 Use the REFCOUNTING category for caps refcounting.
10006 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10008 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
10009 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
10011 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
10013 * plugins/elements/gsttypefindelement.c:
10014 (gst_type_find_element_activate):
10015 Use gst_pad_check_pull_range() before _activate_pull()
10016 to avoid unnecessary open/close (see #331690).
10018 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10021 Docs enhancement: make it crystal clear what the
10022 gst_pad_add_*_probe() callbacks should look like.
10024 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
10026 * libs/gst/base/gstbasesrc.c:
10027 Document how applications can stop recording from
10028 live sources (see #330996).
10030 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10032 * tests/check/Makefile.am:
10033 * tests/check/libs/basesrc.c: (eos_event_counter),
10034 (basesrc_eos_events_pull), (basesrc_eos_events_push),
10035 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
10036 (gst_basesrc_suite), (main):
10037 ... and add some tests for the base source EOS stuff.
10039 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10041 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
10042 Test case originally showed the problem fixed below,
10043 but was then amended. Add checks back at the place
10044 where they used to be.
10046 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10048 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10049 (gst_base_src_init), (gst_base_src_loop),
10050 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10051 (gst_base_src_change_state):
10052 * libs/gst/base/gstbasesrc.h:
10053 Don't unconditionally send EOS when going from PAUSED to
10054 READY state, esp. make sure we don't send two EOS events
10055 in some cases (e.g. one when reaching EOS and one when
10056 going from PAUSED to READY). Also, we don't want to send
10057 EOS events when operating in pull mode. However, we do
10058 want to send an EOS event when shutting down a live
10059 source explicitly, for example (fixes #330996).
10061 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
10063 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10064 Update src->read_position after a seek when not using mmap.
10065 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
10067 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
10073 Make things work with --disable-parse as they do with
10074 --disable-load-save - the symbols involved disappear, but the
10075 header is still installed and GST_DISABLE_PARSE is included via
10078 2006-02-20 Julien MOUTTE <julien@moutte.net>
10080 * libs/gst/base/gstbasetransform.c:
10081 (gst_base_transform_change_state): Fix a stupid bug. I was
10082 sure I compiled that.
10084 2006-02-20 Julien MOUTTE <julien@moutte.net>
10086 * gst/gstpad.c: (gst_pad_set_blocked_async):
10087 * gst/gstutils.c: (gst_pad_add_data_probe),
10088 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10089 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10090 (gst_pad_remove_buffer_probe): Make those function act on the
10091 ghostpad target when it's a ghostpad. (Closes #331727)
10093 2006-02-20 Julien MOUTTE <julien@moutte.net>
10095 * libs/gst/base/gstbasetransform.c:
10096 (gst_base_transform_change_state): Make basetransform reusable.
10099 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
10101 * docs/random/release:
10102 Move the current documentation of how to do a release to the top
10105 * gst/gstbin.c: (gst_bin_class_init),
10106 (gst_bin_handle_message_func):
10107 Allow multiple state-recalculation threads. (Closes #328873)
10109 2006-02-19 Julien MOUTTE <julien@moutte.net>
10111 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
10112 * gst/gstpad.c: (gst_pad_set_event_function),
10113 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10114 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
10115 2 strings. You can't use the STR_NULL macro on that.
10117 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
10119 * gst/gstpad.c: (gst_pad_set_event_function),
10120 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10121 (gst_pad_set_getcaps_function)
10122 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
10123 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
10124 So now, we can use --gst-debug-level=5 on Windows
10125 * win32/common/libgstcontroller.def:
10126 Added export of gst_controller_init
10127 * win32/vs6/libgstcontroller.dsp:
10128 Fixed Release post build configuration
10130 2006-02-17 Wim Taymans <wim@fluendo.com>
10132 * tests/check/gst/gstquery.c: (GST_START_TEST):
10133 Added another check.
10135 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
10137 * plugins/elements/gsttypefindelement.c: (find_peek):
10138 We can do peeks at non-zero offsets, as long as they
10139 fall within the buffer we have.
10141 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
10143 * tests/check/Makefile.am:
10144 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
10145 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
10146 (parse_suite), (main):
10147 Add testsuite for parse launch syntax
10149 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
10151 * plugins/elements/gsttypefindelement.c:
10152 (gst_type_find_element_chain):
10153 When typefinding is unsuccessful in the chain function, don't
10154 error out immediately. Only error out with NO_CAPS_FOUND if
10155 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
10156 otherwise simply wait for more data so we can try typefinding
10157 again with more data later. Also, don't attempt to typefind
10158 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
10159 this should improve typefinding from network sources where the
10160 size of the first buffer can be somewhat random.
10162 2006-02-14 Wim Taymans <wim@fluendo.com>
10164 * docs/gst/gstreamer-sections.txt:
10165 * gst/gstpadtemplate.c:
10166 * gst/gstpadtemplate.h:
10167 Fix padtemplate docs, fixes #328805.
10169 2006-02-14 Wim Taymans <wim@fluendo.com>
10171 * tools/gst-launch.c: (main):
10172 NO_PREROLL is not an ERROR so don't send confusing messages
10175 2006-02-14 Wim Taymans <wim@fluendo.com>
10177 Patch by: Torsten Schoenfeld
10179 * gst/gstregistry.c: (gst_registry_get_default),
10180 (_gst_registry_cleanup):
10181 Protect default registry with lock and ref/sink it.
10184 2006-02-14 Wim Taymans <wim@fluendo.com>
10187 * gst/gstquery.c: (gst_query_list_add_format),
10188 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10189 (gst_query_parse_formats_nth):
10190 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10193 2006-02-14 Wim Taymans <wim@fluendo.com>
10195 * docs/gst/gstreamer-sections.txt:
10196 Reworked query docs.
10198 * gst/gstquery.c: (gst_query_new_formats),
10199 (gst_query_list_add_format), (gst_query_set_formats),
10200 (gst_query_set_formatsv), (gst_query_parse_formats_length),
10201 (gst_query_parse_formats_nth):
10203 Flesh out formats query, added some new methods.
10204 Fix part of #324398.
10206 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
10207 Added query creation tests.
10209 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
10211 * gst/gstpad.c: (fixate_value):
10212 Add a default fixation for fraction lists.
10214 2006-02-13 Wim Taymans <wim@fluendo.com>
10216 * gst/gsttask.c: (gst_task_init), (gst_task_func),
10217 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
10220 Detect and warn for obvious deadlocks. fixes #320340
10221 Fix error case where lock was not released.
10223 * tests/check/Makefile.am:
10224 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
10225 (task_func), (gst_element_suite), (main):
10228 2006-02-13 Wim Taymans <wim@fluendo.com>
10230 * docs/gst/gstreamer-sections.txt:
10232 Add new functions to docs.
10234 2006-02-13 Wim Taymans <wim@fluendo.com>
10236 * docs/design/part-TODO.txt:
10237 Updated TODO list, basesrc supports seeking to non-bytes
10240 * docs/design/part-element-sink.txt:
10243 * gst/gstbin.c: (bin_replace_message),
10244 (gst_bin_handle_message_func):
10245 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10246 * gst/gstevent.c: (gst_event_finalize):
10247 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10248 (gst_pad_send_event):
10249 Use shiny new _TYPE_NAME macros.
10251 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10252 Move debug statement up.
10254 * gst/gstelement.c: (gst_element_set_locked_state):
10255 Add some debugging.
10257 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10259 * docs/gst/gstreamer-sections.txt:
10260 * gst/gstmessage.h:
10262 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10263 macros (#330906). Also, document the already existing
10264 GST_QUERY_TYPE macro.
10266 2006-02-13 Wim Taymans <wim@fluendo.com>
10268 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10269 (event_probe), (GST_START_TEST):
10270 Only events up to the pipeline EOS are counted, there are
10271 some more when going to NULL currently which we don't care
10274 2006-02-13 Wim Taymans <wim@fluendo.com>
10276 * gst/gstpad.c: (gst_pad_send_event):
10277 Correctly check flushing and emit probes. fixes #330125
10279 2006-02-10 Andy Wingo <wingo@pobox.com>
10281 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10283 (gst_bus_init): Cache the location of the private data in the
10284 instance structure.
10285 (gst_bus_enable_sync_message_emission)
10286 (gst_bus_disable_sync_message_emission): Implement new public
10288 (gst_bus_post): Emit the sync-message signal if the user asked for
10291 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10292 location of the bus-private structure.
10293 (gst_bus_enable_sync_message_emission)
10294 (gst_bus_disable_sync_message_emission): API addition
10296 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10298 Patch by: Vincent Torri
10300 * docs/pwg/building-boiler.xml:
10301 PWG patch from #326800
10303 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10306 * docs/Makefile.am:
10307 * docs/design/Makefile.am:
10310 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10315 === release 0.10.3 ===
10317 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10320 releasing 0.10.3, "Like a virgin"
10322 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10325 2nd prerelease of 0.10.3
10326 Bump libtool versioning.
10328 2006-02-07 Andy Wingo <wingo@pobox.com>
10330 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10331 update last_stop if we're in TIME format and the timestamp is
10334 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10335 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10336 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10337 If we get a new newsegment with a different format, adapt
10340 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10341 of 0. Not a problem, really.
10343 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10346 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10351 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10354 project files updated to the default vs7 configuration
10355 * win32/common/libgstbase.def:
10356 * win32/common/libgstreamer.def:
10358 removed empty lines,
10359 sorted all exported symbols alphabetically
10360 * win32/common/dirent.c:
10361 * win32/common/dirent.h:
10362 * win32/common/gchar.h:
10363 use windows line end.
10365 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10367 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10368 Send EOS event when stopping.
10370 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10373 Tell folks what to do if the plugin-foobar.xml file
10374 hasn't been generated for a newly-added plugin.
10376 2006-02-05 Julien MOUTTE <julien@moutte.net>
10378 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10379 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10380 (gst_collect_pads_start), (gst_collect_pads_stop),
10381 (gst_collect_pads_event): Collectpads now holds a reference
10382 to the GstPad that was added. Indeed we don't want to look
10383 at pads that might just go away with no warning...
10385 2006-02-05 Julien MOUTTE <julien@moutte.net>
10387 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10388 (gst_collect_pads_start), (gst_collect_pads_stop),
10389 (gst_collect_pads_event), (gst_collect_pads_chain):
10390 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10391 Mark Nauwelaerts's patch on bug #328491.
10393 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10395 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10397 Add some simple tests for gst_parse_bin_from_description() and
10398 gst_bin_find_unconnected_pad() (#329069).
10400 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10402 * tools/gst-launch.c: (event_loop), (main):
10403 Catch errors during preroll (#320084).
10405 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10407 * plugins/elements/gsttypefindelement.c:
10408 (gst_type_find_element_activate):
10409 Post TYPE_NOT_FOUND error message when typefinding
10410 is unsuccessful in the activate function as well.
10412 2006-02-02 Wim Taymans <wim@fluendo.com>
10414 * docs/design/part-element-sink.txt:
10417 2006-02-02 Wim Taymans <wim@fluendo.com>
10419 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10420 (gst_base_sink_render_object),
10421 (gst_base_sink_queue_object_unlocked):
10422 Only keep track of prerollable items when we are
10424 Before rendering after preroll, always check if we
10426 Added some more debugging.
10428 2006-02-02 Wim Taymans <wim@fluendo.com>
10430 * gst/gstelement.c: (gst_element_continue_state),
10431 (gst_element_set_state_func), (gst_element_change_state):
10432 Fixed #326576, been running this for quite some time with
10433 no regressions at all.
10435 2006-02-02 Wim Taymans <wim@fluendo.com>
10438 Added more suppressions
10440 2006-02-02 Wim Taymans <wim@fluendo.com>
10442 * docs/design/part-element-sink.txt:
10445 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10446 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10447 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10448 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10449 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10450 (gst_base_sink_preroll_object),
10451 (gst_base_sink_queue_object_unlocked),
10452 (gst_base_sink_queue_object), (gst_base_sink_event),
10453 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10454 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10455 (gst_base_sink_get_position), (gst_base_sink_change_state):
10456 * libs/gst/base/gstbasesink.h:
10457 Totally refactored matching the design doc.
10458 Use two segments, one to clip incomming buffers and another to
10460 Handle queueing correctly, bypass the queue when playing.
10461 Make EOS cancelable.
10462 Handle errors correctly when operating in pull based mode.
10464 * tests/check/elements/fakesink.c: (GST_START_TEST),
10466 Added new check for sinks.
10468 2006-02-02 Wim Taymans <wim@fluendo.com>
10470 * gst/gstsegment.c: (gst_segment_clip):
10471 No reason to refuse to clip when start == -1
10473 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10476 * docs/manual/intro-basics.xml:
10477 * docs/manual/intro-preface.xml:
10478 * docs/manual/manual.xml:
10479 * docs/pwg/advanced-dparams.xml:
10480 * docs/pwg/intro-basics.xml:
10481 * docs/pwg/intro-preface.xml:
10482 * docs/pwg/pwg.xml:
10483 describe dparams (controller) for plugins
10484 unify docs a little more
10486 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10488 * docs/gst/gstreamer-sections.txt:
10489 * gst/gstutils.c: (element_find_unconnected_pad),
10490 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10492 Add new API: gst_parse_bin_from_description() and
10493 gst_bin_find_unconnected_pad() (#329069).
10495 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10497 * docs/manual/README:
10498 uncover a nasty detail of the docs build
10500 2006-01-31 Wim Taymans <wim@fluendo.com>
10502 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10503 Don't cache duration messages if we're not going to use or
10506 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10508 * docs/manual/advanced-dparams.xml:
10509 * docs/pwg/advanced-dparams.xml:
10513 * libs/gst/controller/lib.c: (gst_controller_init):
10516 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10518 * gst/gstelement.c: (gst_element_message_full):
10519 also show file/line/func if no additional debug was given
10521 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10523 * win32/vs7/grammar.vcproj:
10524 activate copy of autogenerated files for Release mode
10526 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10528 * win32/common/libgstreamer.def:
10529 export gst_value_compare
10531 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10533 * plugins/elements/Makefile.am:
10534 * plugins/elements/gstelements.c:
10535 * plugins/elements/gstfdsink.c: (_do_init),
10536 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10537 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10538 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10539 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10540 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10541 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10542 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10543 * plugins/elements/gstfdsink.h:
10544 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10546 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10548 * docs/manual/advanced-dparams.xml:
10549 describe controller
10550 * docs/manual/advanced-position.xml:
10551 * docs/manual/basics-init.xml:
10552 * docs/manual/manual.xml:
10553 * docs/manual/titlepage.xml:
10554 * docs/pwg/pwg.xml:
10555 * docs/pwg/titlepage.xml:
10556 cleanup xml (more to come)
10557 * libs/gst/controller/gstcontroller.c:
10560 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10562 * win32/vs6/grammar.dsp:
10563 add autogen of gstmarshal.c,h for Release mode
10565 2006-01-30 Wim Taymans <wim@fluendo.com>
10567 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10568 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10569 (gst_base_sink_handle_object), (gst_base_sink_event),
10570 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10571 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10572 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10573 (gst_base_sink_deactivate), (gst_base_sink_activate),
10574 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10575 (gst_base_sink_query), (gst_base_sink_change_state):
10576 Basesink cleanups, remove some old code.
10577 Handle the case where a subclass can preroll in the render
10578 method (mostly audiosinks).
10579 Handle more events.
10580 Remove some locks around variables that are now protected
10581 with the PREROLL_LOCK (clock_id, flushing, ..).
10582 Optimize position query some more, do correct locking.
10583 Remove old code to push queue in state change, this is not
10584 needed anymore since preroll blocks on all prerollable items
10586 Almost implemented as described in design doc.
10588 2006-01-30 Wim Taymans <wim@fluendo.com>
10590 * tests/check/gst/gstbin.c: (GST_START_TEST):
10591 Wait for refcount to settle down before checking.
10593 2006-01-30 Wim Taymans <wim@fluendo.com>
10595 * docs/design/part-element-sink.txt:
10596 Pseudo code overview of desired sink behaviour regarding
10599 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10600 * win32/vs6/grammar.dsp:
10601 fix some bugs in Release mode for autogenerated files
10603 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10604 * win32/common/libgstbase.def:
10605 * win32/common/libgstreamer.def:
10606 export some new symbols: gst_base_src_set_format,
10607 gst_iterator_next, gst_structure_set_valist
10609 2006-01-29 Julien MOUTTE <julien@moutte.net>
10611 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10612 Set pad functions unconditionally. Fixes #329105.
10614 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10616 add vs8 project files created by Sergey Scobich
10618 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10620 * gst/gstutils.c: (gst_element_unlink_pads):
10621 Don't leak pad references.
10623 * tests/check/elements/fakesink.c: (GST_START_TEST):
10624 * tests/check/generic/sinks.c: (GST_START_TEST):
10625 * tests/check/generic/states.c: (GST_START_TEST):
10626 * tests/check/gst/gstbin.c: (GST_START_TEST):
10627 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10628 * tests/check/gst/gstelement.c: (GST_START_TEST):
10629 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10630 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10631 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10632 Fix a bunch of leaks. Make generic/sinks.c
10633 use a bit less cpu by slowing the buffer rate
10634 between fakesrc and fakesink.
10636 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10638 * gst/gstelement.c: (gst_element_send_event):
10641 * gst/gstiterator.c:
10642 * gst/gstiterator.h:
10643 * gst/gstpad.c: (gst_pad_send_event):
10644 * gst/gststructure.c:
10648 * libs/gst/base/gstadapter.c:
10649 doc fixes, to link to function, just write gst_cool_function(), don't
10652 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10654 * plugins/elements/gsttee.c: (gst_tee_do_push),
10655 (gst_tee_handle_buffer):
10656 Always prefer an actual return value from a src
10657 pad in place of NOT_LINKED. This means we return
10658 WRONG_STATE when all src pads are WRONG_STATE
10659 instead of NOT_LINKED.
10661 Lock when replacing the last message to prevent
10662 racing with the get_property method.
10666 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10668 * tests/check/Makefile.am:
10669 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10671 Add a very simple check that should have caught the memleak I fixed
10672 last night (if not for the slice allocator hiding it)
10674 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10676 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10677 (gst_bin_remove_func), (gst_bin_handle_message_func),
10678 (bin_query_duration_fold), (bin_query_generic_fold):
10679 Clean up references to the clock provider when disposed or when
10680 handling a clock-lost message from it.
10682 Unref sinks when performing a query via gst_iterator_fold, as the
10683 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10685 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10686 (gst_clock_set_master):
10687 Drop our reference to the master clock, if any, when we are disposed.
10689 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10690 Chain up in dispose.
10692 2006-01-26 Wim Taymans <wim@fluendo.com>
10694 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10695 Add some debugging.
10697 2006-01-26 Julien MOUTTE <julien@moutte.net>
10699 * plugins/elements/gsttee.c: (gst_tee_do_push),
10700 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10701 handles pad being NOT_LINKED or in WRONG_STATE.
10703 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10708 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10711 remove obsolete entry
10713 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10715 * docs/gst/gstreamer-sections.txt:
10716 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10717 (gst_bin_iterate_sources), (gst_bin_send_event):
10719 * gst/gstelement.c: (gst_element_send_event):
10721 * gst/gstpad.c: (gst_pad_send_event):
10722 added code for downstream events, reviewed docs in gstevent.c
10724 2006-01-25 Julien MOUTTE <julien@moutte.net>
10726 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10727 We only query position using the clock in the playing state.
10728 Query peer in the other cases.
10729 * win32/common/config.h: Updates.
10731 2006-01-24 Wim Taymans <wim@fluendo.com>
10733 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10734 A clock entry that is scheduled for the exact time of the
10735 clock is still in time.
10737 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10738 (gst_base_sink_do_sync):
10739 Add some more debug info.
10741 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10744 Add new vs7 project files and solution.
10746 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10749 all files removed as they were out-dated.
10751 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10753 * docs/random/release:
10755 * gst/gstbin.c: (gst_bin_init):
10756 * gst/gstbus.c: (gst_bus_new):
10758 * gst/gstpipeline.c: (gst_pipeline_init):
10759 use gst_bus_new(), improve logging, fix docs
10760 * win32/common/config.h:
10761 update for cvs build
10763 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10766 up required version of automake to 1.7
10768 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10770 * win32/common/libgstreamer.def:
10771 export gst_buffer_is_metadata_writable
10773 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10775 * docs/gst/gstreamer-sections.txt:
10777 Add gst_event_replace() (#327001)
10779 2006-01-20 Wim Taymans <wim@fluendo.com>
10781 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10782 Make it actually compile too..
10784 2006-01-20 Wim Taymans <wim@fluendo.com>
10787 Clarify behaviour of _is_equal() when passing NULL parameters.
10789 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10790 (gst_pad_set_caps):
10791 Cleanups. Don't unref NULL caps.
10792 When setting the same caps, protect caps of the pad with
10794 Use full functionality of _is_equal() when comparing caps.
10796 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10798 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10799 Don't loop infinitely if there are no buffers to present. Partially
10800 fixes #327197, but collectpads is just broken for reusing elements
10801 to do multiple encodes atm.
10803 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10805 * tools/gst-inspect.c: (print_element_features):
10806 * tools/gst-xmlinspect.c: (main):
10807 URL_HANDLER is not a plugin feature we can search for in
10810 2006-01-19 Edward Hervey <edward@fluendo.com>
10812 * gst/gstelement.c: (gst_element_pads_activate):
10813 When activating, do src pads first, then sink pads.
10814 When de-activating, do sink pads first, then src pads.
10816 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10818 * docs/gst/gstreamer-sections.txt:
10819 Add gst_index_add_associationv to the docs
10821 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10826 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10827 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10828 Do some refactoring. Doesn't actually change functionality,
10829 but makes landing the DRAIN event easier later.
10831 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10833 * docs/pwg/advanced-scheduling.xml:
10834 Update from 0.9.x to 0.10 API and make example a bit
10837 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10839 * docs/gst/gstreamer-sections.txt:
10840 Add gst_buffer_(is|make)_metadata_writable methods.
10842 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10844 * docs/design/part-sparsestreams.txt:
10845 Update sparse streams doc, hopefully for greater clarity
10847 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10849 * docs/design/part-events.txt:
10850 Remove mention of FILLER events.
10853 * docs/design/part-sparsestreams.txt:
10854 Write some things about using NEWSEGMENT to keep sparse streams
10857 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10859 * gst/gstbin.c: (gst_bin_dispose):
10860 Guard gst_object_unref call against a NULL object (dispose
10861 can theoretically be called multiple times).
10863 2006-01-18 Wim Taymans <wim@fluendo.com>
10865 * gst/gstbin.c: (gst_bin_element_set_state):
10866 * gst/gstclock.c: (gst_clock_id_wait):
10867 Added some more debug info.
10869 * libs/gst/base/gstadapter.c:
10872 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10873 (gst_base_sink_do_sync), (gst_base_sink_chain):
10874 Added some comments.
10876 2006-01-18 Wim Taymans <wim@fluendo.com>
10878 * tests/check/Makefile.am:
10879 * tests/check/elements/fakesink.c: (chain_async_buffer),
10880 (chain_async), (chain_async_return), (GST_START_TEST),
10881 (fakesink_suite), (main):
10882 Added fakesink test that checks prerolling and clipping
10885 * tests/check/gst/gstutils.c: (GST_START_TEST):
10886 Make check run faster so that buildbots don't timeout.
10888 2006-01-18 Wim Taymans <wim@fluendo.com>
10890 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10891 (gst_base_sink_do_sync):
10893 When the sink finishes blocking on the preroll buffer, it can
10894 immediatly render it instead of rendering when the next buffer
10897 2006-01-18 Wim Taymans <wim@fluendo.com>
10899 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10900 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10901 (gst_base_sink_chain):
10903 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10904 Don't store _last_stop if the buffer is dropped.
10906 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10908 * plugins/elements/gsttypefindelement.c:
10909 (gst_type_find_element_class_init):
10910 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10911 object method handler that sets the caps on the pad and we want
10912 that to happen before we emit the signal (fixes e.g. feeding a
10913 plain text file to decodebin).
10915 2006-01-18 Christian Schaller <Christian@fluendo.com>
10917 * gst/gstplugin.c: Add MPL and Proprietary as license options
10919 2006-01-18 Andy Wingo <wingo@pobox.com>
10921 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10922 symbol was exported before, it appears this was just an oversight.
10924 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10926 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10927 prototype to gint. OK since this prototype was not in the header.
10929 2006-01-17 Andy Wingo <wingo@pobox.com>
10931 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10932 registry while we remove plugins.
10934 * tools/gst-inspect.c (print_element_info): Don't unref the
10935 factory arg, that should be the responsibility of whatever code
10936 received the ref. Fixes a double-free when called from
10937 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10938 (main): Unref the factory if we have one.
10939 (print_element_list): No change -- relies on the
10940 plugin_feature_list_free to free the list of features.
10942 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10944 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10945 (gst_buffer_make_metadata_writable):
10947 * libs/gst/base/gstbasetransform.c:
10948 (gst_base_transform_prepare_output_buf):
10949 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10950 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10951 Replace gst_buffer_(make|is)_metadata_writable patch now
10952 that the release is out.
10954 2006-01-17 Andy Wingo <wingo@pobox.com>
10956 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10957 in the present tense without reference to versions.
10959 * gst/gstregistry.c (gst_registry_add_plugin)
10960 (gst_registry_remove_plugin, gst_registry_remove_feature)
10961 (gst_registry_find_feature, gst_registry_get_feature_list)
10962 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10963 (gst_registry_lookup, gst_registry_scan_path)
10964 (_gst_registry_remove_cache_plugins)
10965 (gst_registry_get_feature_list_by_plugin): Add argument
10968 === release 0.10.2 ===
10970 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10973 releasing 0.10.2, "If man is five"
10975 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10979 * libs/gst/base/gstbasetransform.c:
10980 (gst_base_transform_prepare_output_buf):
10981 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10982 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10983 Back out patch until after the release.
10985 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10987 * gst/gstminiobject.c:
10988 Spelling fix in docs.
10989 * ChangeLog - remove conflict indicator
10991 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10993 Reviewed By: Andy Wingo
10995 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10996 (gst_buffer_make_metadata_writable):
10998 Add gst_buffer_(is|make)_metadata_writable as analogues of
10999 gst_buffer_(is|make)_writable.
11001 * libs/gst/base/gstbasetransform.c:
11002 (gst_base_transform_prepare_output_buf):
11003 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11004 Use name gst_buffer_(is|make)_metadata_writable functions.
11006 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
11007 Test gst_buffer_(is|make)_metadata_writable
11011 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
11013 * docs/manual/Makefile.am:
11014 don't do parallel make
11017 * win32/common/config.h.in:
11018 add generations for HOST_CPU and GST_MAJORMINOR
11019 * win32/common/config.h:
11020 commit generated result
11022 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
11024 * docs/manual/appendix-integration.xml:
11025 Update GNOME integration section to use gst_init_get_option_group()
11026 instead of the old popt stuff (#322911). Also, GNOME applications
11027 should now use gconf*sink and gconf*src instead of the old gconf
11030 2006-01-13 Stefan Kost <ensonic@users.sf.net>
11033 * docs/gst/gstreamer-docs.sgml:
11034 * docs/gst/gstreamer-sections.txt:
11035 * docs/libs/gstreamer-libs-sections.txt:
11036 add new API entries to the docs
11037 * libs/gst/controller/Makefile.am:
11038 * libs/gst/controller/gstcontroller.c:
11039 * libs/gst/controller/gstcontroller.h:
11040 * libs/gst/controller/gstcontrollerprivate.h:
11041 * libs/gst/controller/gsthelper.c:
11042 * libs/gst/controller/gstinterpolation.c:
11043 move private structs to private header
11045 gstreamer-0.7 -> gstreamer-0.10
11046 * tests/check/libs/struct_i386.h:
11047 remove private structs
11049 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11051 * plugins/indexers/Makefile.am:
11052 Fixes as part of #317048
11054 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
11056 * plugins/indexers/Makefile.am:
11057 fix #316086 - compilation when mmap is missing
11059 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
11061 * libs/gst/base/gstbasesink.c:
11062 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
11063 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
11064 * win32/common/config.h:
11065 added some defines GST_MAJORMINOR and HOST_CPU
11066 * win32/common/libgstbase.def:
11067 * win32/common/libgstreamer.def:
11068 added some exported functions.
11070 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11072 * libs/gst/controller/gstcontroller.c:
11073 (gst_controlled_property_set_interpolation_mode),
11074 (gst_controlled_property_new):
11075 * libs/gst/controller/gstcontroller.h:
11076 * libs/gst/controller/gstinterpolation.c:
11077 (interpolate_none_get_string_value_array):
11078 make G_TYPE_STRING controlable
11080 2006-01-12 Stefan Kost <ensonic@users.sf.net>
11083 * tools/gst-feedback.1.in:
11084 * tools/gst-inspect.1.in:
11085 * tools/gst-launch.1.in:
11086 * tools/gst-md5sum.1.in:
11087 * tools/gst-typefind.1.in:
11088 * tools/gst-xmlinspect.1.in:
11089 * tools/gst-xmllaunch.1.in:
11090 cleanup man-pages, remove reference to gst-register, document env-vars
11092 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
11094 * gst/gstbuffer.c: (gst_buffer_span):
11095 gst_buffer_span should copy the timestamp of the first buffer
11096 if they were both originally overlapping subbuffers of the
11097 same parent, using the same logic as the 'slow copy' case.
11099 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
11101 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
11102 Need to awaken ALL the pads when we pop a buffer, otherwise
11103 collectpads only works when there is 2 input streams.
11105 2006-01-11 Stefan Kost <ensonic@users.sf.net>
11107 * docs/random/ensonic/media-device-daemon.txt:
11110 fix doc example, add clarification
11111 * tools/gst-launch.1.in:
11112 add initial info about GST_PLUGIN_PATH, needs more work
11114 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
11116 * docs/manual/basics-bins.xml:
11117 * docs/manual/basics-elements.xml:
11118 * docs/manual/intro-basics.xml:
11119 Some more minor docs additions and updates.
11121 2006-01-11 Wim Taymans <wim@fluendo.com>
11123 * docs/manual/basics-bins.xml:
11124 * docs/manual/basics-elements.xml:
11125 Some small fixes as pointed out by Ser-ver on IRC.
11127 2006-01-10 Edward Hervey <edward@fluendo.com>
11129 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11130 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
11131 the single-segment mode.
11133 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
11135 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11137 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
11138 (gst_base_src_perform_seek), (gst_base_src_send_event),
11139 (gst_base_src_set_property), (gst_base_src_get_property),
11140 (gst_base_src_loop), (gst_base_src_start),
11141 (gst_base_src_activate_push):
11142 * libs/gst/base/gstbasesrc.h:
11143 Name (private) union; makes Sun's Forte compiler happy (#324900).
11145 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
11148 gst-register is gone.
11150 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
11152 * gst/gstvalue.c: (_gst_value_initialize):
11153 make the G_TYPE_DATE instantiation work if debug is disabled
11155 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
11157 * gst/gstmessage.c: (gst_message_parse_tag),
11158 (gst_message_parse_error), (gst_message_parse_warning):
11159 Don't crash when return location for error/warning debug
11160 string is NULL; add fact that return locations can be
11161 NULL to docs where appropriate.
11163 2006-01-05 Wim Taymans <wim@fluendo.com>
11165 * gst/gstplugin.c: (gst_plugin_load_file):
11166 Replace strdup by g_strdup.
11168 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11170 * docs/pwg/advanced-types.xml:
11173 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
11175 submitted by: Abel Cheung
11179 Added Chinese (traditional) translation
11181 2006-01-04 Wim Taymans <wim@fluendo.com>
11183 * docs/manual/basics-pads.xml:
11184 * docs/plugins/Makefile.am:
11185 * docs/plugins/gstreamer-plugins-docs.sgml:
11186 * docs/plugins/gstreamer-plugins-sections.txt:
11187 * docs/pwg/advanced-clock.xml:
11188 * docs/pwg/advanced-scheduling.xml:
11189 * docs/pwg/advanced-types.xml:
11190 * plugins/elements/gstfdsink.c:
11191 * plugins/elements/gstfdsrc.c:
11192 * plugins/elements/gstfdsrc.h:
11193 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11194 * plugins/elements/gstidentity.h:
11195 * plugins/elements/gstqueue.h:
11196 * plugins/elements/gsttee.c:
11197 * plugins/elements/gsttee.h:
11198 * plugins/elements/gsttypefindelement.c:
11199 (gst_type_find_element_class_init):
11200 * plugins/elements/gsttypefindelement.h:
11201 Small updates to various docs.
11202 Added core plugins to docs.
11204 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11207 add a suppression for liboil's uninitialized variable
11209 2006-01-02 James Livingston <jrl at ids dot org dot au>
11211 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11214 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
11215 macro, so that gcc doesn't complain if the -Wmissing-prototypes
11216 compiler switch is being used (#325429).
11218 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
11220 * gst/gstbin.c: (gst_bin_query):
11221 Disable duration query caching in bins until it gets
11222 fixed (see #324807).
11224 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11226 * tools/gst-inspect.c: (print_element_properties_info):
11227 Handle properties of POINTER and BOXED type.
11229 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
11231 * gst/gst.c: (init_post):
11232 Init tags stuff and some other things before loading
11233 any static plugins (there may be other static plugins
11234 than just the GStreamer ones, and they may want to
11235 register their own tags or formats or whatever, and
11236 preferably without segfaulting).
11238 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
11239 Print at least a warning in the debug logs if we drop a
11240 query just because we don't know how to adjust the value
11241 in the particular format.
11243 2005-12-24 David Schleef <ds@schleef.org>
11245 * tools/gstreamer-completion:
11246 Replacement for gst-complete written in sh and sed. Only
11247 completes names of features, but that's 90% of what I want
11248 it for. Properties are not available in registry.xml. (Maybe
11251 === release 0.10.1 ===
11253 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11256 releasing 0.10.1, "Nollaig chridheil"
11258 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11260 * docs/faq/cvs.xml:
11261 Add missing quote, should be make ERROR_CFLAGS="".
11263 2005-12-20 Wim Taymans <wim@fluendo.com>
11265 * docs/design/part-trickmodes.txt:
11266 More documentation on trickmodes.
11268 2005-12-20 Edward Hervey <edward@fluendo.com>
11270 * gst/gstcaps.c: (gst_static_caps_get_type):
11272 API addition: GST_TYPE_STATIC_CAPS
11273 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11274 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11275 * gst/gstpadtemplate.h:
11276 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11277 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11280 2005-12-18 Wim Taymans <wim@fluendo.com>
11282 * libs/gst/base/gstadapter.c:
11283 * libs/gst/base/gstadapter.h:
11284 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11285 (gst_base_sink_get_position):
11286 * libs/gst/base/gstbasesink.h:
11287 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11288 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11289 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11290 (gst_base_src_send_event), (gst_base_src_update_length),
11291 (gst_base_src_get_range), (gst_base_src_loop),
11292 (gst_base_src_start):
11293 * libs/gst/base/gstbasesrc.h:
11294 * libs/gst/base/gstbasetransform.h:
11295 * libs/gst/base/gstcollectpads.h:
11296 * libs/gst/base/gstpushsrc.c:
11297 * libs/gst/base/gstpushsrc.h:
11298 * libs/gst/dataprotocol/dataprotocol.c:
11299 * libs/gst/dataprotocol/dataprotocol.h:
11300 * libs/gst/net/gstnetclientclock.h:
11301 * libs/gst/net/gstnettimeprovider.h:
11302 Documentation updates.
11304 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11306 * docs/manual/basics-helloworld.xml:
11307 Remove superfluous closing bracket in helloworld example.
11309 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11311 * tools/gst-launch.1.in:
11312 Update gst-launch man page; add a section with useful
11313 environment variables. Fixes #323882.
11315 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11318 * gst/gst_private.h:
11319 change some char* into char[]
11321 2005-12-16 Wim Taymans <wim@fluendo.com>
11323 * gst/gstregistryxml.c: (load_feature):
11325 Don't use g_object_unref on GstObjects so that we avoid
11326 leaks on unsafe glibs.
11328 2005-12-16 Wim Taymans <wim@fluendo.com>
11330 * gst/gstbin.c: (gst_bin_recalc_state):
11333 2005-12-16 Wim Taymans <wim@fluendo.com>
11335 * common/check.mak:
11336 Added make forever target for check.
11338 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11340 * gst/gst.c: (init_post):
11341 make the registry cache file HOST_CPU-dependent
11343 2005-12-16 Andy Wingo <wingo@pobox.com>
11345 * plugins/elements/gstbufferstore.c
11346 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11349 * tests/check/gst/gstobject.c
11350 (test_fake_object_name_threaded_unique): Pay attention to
11351 g_list_sort return value.
11353 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11355 * tools/gst-feedback-m.m:
11356 Update for 0.9/0.10 (fixes #323870).
11358 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11360 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11361 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11363 * tests/check/gst/gstminiobject.c: (my_foo_init),
11364 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11365 (test_value_collection), (gst_mini_object_suite):
11366 Add test to ensure refcounts end up as expected when passing
11367 GstMiniObjects through g_object_get() and g_object_set().
11369 2005-12-14 Julien MOUTTE <julien@moutte.net>
11371 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11372 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11373 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11374 of collectpads. This version removes a lot of races without
11375 touching API/ABI. Yay !
11377 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11379 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11380 Don't allow activation of a srcpad in pull_range if it has no
11382 Change some debug statements to be a little clearer
11384 * plugins/elements/gsttypefindelement.c:
11385 (gst_type_find_handle_src_query):
11386 Check that we have a peer before executing queries thereupon.
11388 * tests/examples/metadata/read-metadata.c: (message_loop):
11389 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11390 immediately return us any available message with 0 timeout.
11392 2005-12-12 Michael Smith <msmith@fluendo.com>
11394 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11395 Don't unref factories after calling them.
11396 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11397 * plugins/elements/gsttypefindelement.c:
11398 (gst_type_find_element_chain):
11399 Free lists of factories after using them. Fixing typefinding memory
11402 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11404 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11405 (gst_plugin_feature_load):
11406 more meaningful debug output
11408 * tests/Makefile.am:
11409 * tests/old/examples/Makefile.am:
11410 make make distcheck happy again
11412 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11414 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11415 Catch the special case where we are operating chain-based,
11416 but the downstream peer pad has no chain function. Emit a
11417 custom error message in this case instead of letting the
11418 core generate one implying that this is some sort of core
11419 bug. It's not, it just means that whatever got plugged
11420 into the pipeline downstream when we announced the type
11421 can only operate pull-based, while our source can only
11422 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11423 Error string has not been marked for translation yet, as
11424 it probably needs some more work first.
11426 (gst_type_find_element_get_best_possibility):
11427 Add helper function to find the best of all available
11428 found possibilities that qualify given the min. threshold.
11430 (gst_type_find_element_handle_event):
11431 Fix the case where we get an EOS while still in TYPEFIND
11432 mode (we want to chose the best of all possible types,
11433 not just the first type that happens to be in our unsorted
11434 list of possible types).
11436 (gst_type_find_element_chain):
11437 Make sure we return GST_FLOW_ERROR when we errored out
11438 in stop_typefinding(); also, don't just find the best of
11439 all found type entries and then use the last examined
11440 type entry, but actually use the best entry.
11442 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11444 * tests/examples/typefind/typefind.c: (type_found):
11445 * tests/examples/xml/runxml.c: (xml_loaded):
11446 More gcc4 fixes and a mem leak fix.
11448 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11450 * tests/examples/xml/createxml.c: (object_saved):
11453 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11455 * tests/Makefile.am:
11456 enable the examples even more
11458 2005-12-12 Andy Wingo <wingo@pobox.com>
11460 * libs/gst/net/gstnettimeprovider.c
11461 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11462 (gst_net_time_provider_set_property)
11463 (gst_net_time_provider_get_property):
11464 API addition: Export "active" as a GObject property.
11465 (gst_net_time_provider_thread): Only respond to time queries if
11466 the time provider is active.
11468 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11469 NetTimeProvider, preserving binary compat.
11471 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11473 * tests/examples/controller/audio-example.c: (main):
11474 * tests/examples/launch/Makefile.am:
11475 convert comments again
11477 2005-12-12 Wim Taymans <wim@fluendo.com>
11479 * libs/gst/base/gstpushsrc.c:
11482 2005-12-12 Wim Taymans <wim@fluendo.com>
11484 * docs/libs/gstreamer-libs-sections.txt:
11485 Added new symbol to docs.
11487 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11488 (gst_base_src_init), (gst_base_src_set_format),
11489 (gst_base_src_default_query), (gst_base_src_query),
11490 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11491 (gst_base_src_perform_seek), (gst_base_src_send_event),
11492 (gst_base_src_default_event), (gst_base_src_event_handler),
11493 (gst_base_src_set_property), (gst_base_src_get_property),
11494 (gst_base_src_wait), (gst_base_src_do_sync),
11495 (gst_base_src_update_length), (gst_base_src_get_range),
11496 (gst_base_src_check_get_range), (gst_base_src_loop),
11497 (gst_base_src_default_negotiate), (gst_base_src_start),
11498 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11499 (gst_base_src_change_state):
11500 * libs/gst/base/gstbasesrc.h:
11501 Implement seeking to other formats than _BYTES.
11502 Implement more seeking methods correctly.
11504 Added query vmethod.
11505 Added do_seek vmethod to make life easier for subclasses
11507 API addition: gst_base_src_set_format()
11509 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11511 * tests/examples/Makefile.am:
11514 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11517 * docs/random/ensonic/media-device-daemon.txt:
11518 * tests/examples/controller/.cvsignore:
11519 * tests/examples/controller/Makefile.am:
11520 * tests/examples/controller/audio-example.c: (main):
11521 * tests/examples/helloworld/.cvsignore:
11522 * tests/examples/helloworld/Makefile.am:
11523 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11524 * tests/examples/launch/.cvsignore:
11525 * tests/examples/launch/Makefile.am:
11526 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11527 * tests/examples/metadata/.cvsignore:
11528 * tests/examples/metadata/Makefile.am:
11529 * tests/examples/metadata/read-metadata.c: (message_loop),
11530 (make_pipeline), (print_tag), (main):
11531 * tests/examples/queue/.cvsignore:
11532 * tests/examples/queue/Makefile.am:
11533 * tests/examples/queue/queue.c: (event_loop), (main):
11534 * tests/examples/typefind/.cvsignore:
11535 * tests/examples/typefind/Makefile.am:
11536 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11538 * tests/examples/xml/.cvsignore:
11539 * tests/examples/xml/Makefile.am:
11540 * tests/examples/xml/createxml.c: (object_saved), (main):
11541 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11542 * tests/old/examples/Makefile.am:
11543 * tests/old/examples/TODO:
11544 * tests/old/examples/controller/.cvsignore:
11545 * tests/old/examples/controller/Makefile.am:
11546 * tests/old/examples/controller/audio-example.c:
11547 * tests/old/examples/helloworld/.cvsignore:
11548 * tests/old/examples/helloworld/Makefile.am:
11549 * tests/old/examples/helloworld/helloworld.c:
11550 * tests/old/examples/launch/.cvsignore:
11551 * tests/old/examples/launch/Makefile.am:
11552 * tests/old/examples/launch/mp3parselaunch.c:
11553 * tests/old/examples/launch/mp3play:
11554 * tests/old/examples/manual/Makefile.am:
11555 * tests/old/examples/metadata/Makefile.am:
11556 * tests/old/examples/metadata/read-metadata.c:
11557 * tests/old/examples/queue/.cvsignore:
11558 * tests/old/examples/queue/Makefile.am:
11559 * tests/old/examples/queue/queue.c:
11560 * tests/old/examples/typefind/.cvsignore:
11561 * tests/old/examples/typefind/Makefile.am:
11562 * tests/old/examples/typefind/typefind.c:
11563 * tests/old/examples/xml/.cvsignore:
11564 * tests/old/examples/xml/Makefile.am:
11565 * tests/old/examples/xml/createxml.c:
11566 * tests/old/examples/xml/runxml.c:
11567 applied some simple fixing to some examples
11568 re-enabled the working examples
11570 2005-12-12 Wim Taymans <wim@fluendo.com>
11572 * gst/gstsegment.c: (gst_segment_init),
11573 (gst_segment_set_last_stop), (gst_segment_set_seek),
11574 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11575 (gst_segment_to_running_time):
11576 Added more documentation.
11577 Make sure the last_pos value is updated properly.
11578 Make sure to_stream_time and to_running_time don't
11579 operate on wrong values.
11581 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11584 2005-12-12 Michael Smith <msmith@fluendo.com>
11586 * plugins/elements/gsttypefindelement.c: (free_entry),
11587 (gst_type_find_element_chain):
11588 Now that we're not leaking factories, make sure we keep references
11589 to them while we need them.
11591 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11593 * tests/check/gst/struct_i386.h:
11594 ifdef out the XML structs
11596 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11598 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11599 floor is not needed, F is always positive; this obviates the
11600 need for adding -lm when building without libxml
11602 2005-12-12 Wim Taymans <wim@fluendo.com>
11604 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11605 Take current playback rate into account when reporting
11608 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11610 * docs/manual/mime-world.fig:
11611 Let's try this again, this time with a file that is
11612 actually in XFig format.
11614 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11616 * docs/manual/mime-world.fig:
11617 Add audioconvert element to diagram so that it
11618 matches the text and the code (fixes #319526).
11620 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11622 * docs/pwg/building-chainfn.xml:
11623 * docs/pwg/building-pads.xml:
11624 * docs/pwg/building-state.xml:
11625 * docs/pwg/other-source.xml:
11626 Update state change stuff for 0.10 (fixes #322969).
11628 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11630 * docs/manual/advanced-dataaccess.xml:
11631 * docs/manual/appendix-checklist.xml:
11632 * docs/manual/appendix-programs.xml:
11633 * docs/manual/basics-pads.xml:
11634 * docs/manual/highlevel-components.xml:
11635 * docs/manual/manual.xml:
11636 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11637 add converters in front of pipelines; remove curly
11638 brackets for threads stuff, they no longer exist; use
11639 GST_TYPE_FRACTION for framerates; update some pieces of
11640 code to 0.10, but there's plenty more to do.
11642 * docs/manual/appendix-porting.xml:
11643 Expand on asynchroneous state changes; s/0.9/0.10/;
11644 mention disappearance of gst_init_get_popt_table()
11647 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11649 * docs/faq/using.xml:
11650 Spider no longer exists, and neither does gst-launch-ext.
11651 Update examples to use decodebin and playbin and put
11652 converters in front of sinks (fixes #323726).
11654 2005-12-09 Michael Smith <msmith@fluendo.com>
11656 * plugins/elements/gsttypefindelement.c: (find_peek),
11657 (gst_type_find_element_chain):
11658 Fix leaking element factories in typefinding.
11659 Fix problem where we forgot about a probable type on non-seekable
11660 files, and thus later mis-typefound it.
11662 2005-12-09 Michael Smith <msmith@fluendo.com>
11664 * common/m4/gst-makecontext.m4:
11665 * common/m4/gst-mcsc.m4:
11667 * win32/common/config.h:
11668 * win32/common/config.h.in:
11669 Remove makecontext stuff; not used in 0.10 and causes problems on
11670 HPUX according to bug #322441
11672 2005-12-07 Wim Taymans <wim@fluendo.com>
11674 * tests/check/Makefile.am:
11675 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11677 * tests/check/libs/struct_i386.h:
11678 Added ABI check for libs
11680 2005-12-07 Wim Taymans <wim@fluendo.com>
11682 * tests/check/Makefile.am:
11683 And add the struct_i386.h to dist.
11685 2005-12-07 Wim Taymans <wim@fluendo.com>
11687 * tests/check/Makefile.am:
11688 * tests/check/gst/.cvsignore:
11689 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11691 * tests/check/gst/struct_i386.h:
11692 Added check for ABI compatibility.
11694 2005-12-07 Wim Taymans <wim@fluendo.com>
11696 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11697 (gst_fake_src_get_times), (gst_fake_src_create):
11698 Fix broken sync option, fixes #323259
11700 2005-12-07 Wim Taymans <wim@fluendo.com>
11705 * gst/gstcaps.c: (gst_caps_is_equal):
11706 Don't assert on NULL <--> X. Fixes #323260
11708 * gst/gstminiobject.c: (gst_mini_object_replace):
11709 If we're doing atomic operations, we might just as well use
11710 the proper way to get an atomic pointer.
11712 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11713 Clean up debugging.
11715 2005-12-07 Michael Smith <msmith@fluendo.com>
11717 * gst/parse/grammar.y:
11718 Remove handling of { } for threads.
11720 2005-12-06 David Schleef <ds@schleef.org>
11722 * libs/gst/base/gstbasetransform.c: speling fix.
11724 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11726 * docs/libs/tmpl/gstdataprotocol.sgml:
11727 * docs/random/omega/testing/gstobject.c:
11730 * gst/gstelement.c:
11731 * gst/gstelementfactory.c:
11734 * gst/gstghostpad.c:
11736 * gst/gstpadtemplate.c:
11737 * gst/gstregistryxml.c:
11738 * gst/gsttaglist.c:
11739 * gst/gsttagsetter.c:
11740 * gst/gsttypefind.c:
11742 * libs/gst/base/gstbasesrc.c:
11743 * libs/gst/net/gstnetclientclock.c:
11744 * libs/gst/net/gstnettimeprovider.c:
11745 * plugins/elements/gstfakesrc.c:
11746 * plugins/elements/gstfdsrc.c:
11747 * plugins/elements/gstfilesrc.c:
11748 * plugins/elements/gstidentity.c:
11749 * plugins/elements/gstqueue.c:
11750 * plugins/elements/gsttypefindelement.c:
11751 * plugins/indexers/gstfileindex.c:
11752 * plugins/indexers/gstmemindex.c:
11753 * tests/check/gst/gsttag.c:
11754 * tests/old/examples/cutter/cutter.c:
11755 * tests/old/examples/mixer/mixer.c:
11756 * tests/old/examples/xml/runxml.c: (main):
11757 * tests/old/testsuite/caps/normalisation.c:
11758 * tests/old/testsuite/debug/global.c:
11759 * tests/old/testsuite/parse/parse1.c:
11760 * tools/gst-xmlinspect.c:
11761 * win32/common/dirent.c:
11764 === release 0.10.0 ===
11766 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11769 releasing 0.10.0, "Maroilles"
11771 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11773 submitted by: Funda Wang <fundawang@linux.net.cn>
11777 added Chinese (Traditional) translation
11779 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11781 * docs/gst/gstreamer-sections.txt:
11782 * docs/libs/tmpl/gstdataprotocol.sgml:
11783 * docs/random/thomasvs/TODO:
11788 2005-12-05 Andy Wingo <wingo@pobox.com>
11790 patch by: Wim Taymans <wim@fluendo.com>
11792 * libs/gst/base/gstbasetransform.c
11793 (gst_base_transform_prepare_output_buf)
11794 (gst_base_transform_buffer_alloc):
11795 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11796 alloc_buffer_and_set_caps.
11798 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11799 set_caps on the source pad.
11800 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11801 alloc_buffer used to do. Fixes #322874.
11803 * docs/gst/gstreamer-sections.txt:
11804 * docs/design/part-negotiation.txt:
11805 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11808 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11810 patch by: Sebastien Moutte
11813 * win32/common/config.h.in:
11814 * win32/vs6/libgstcontroller.dsp:
11817 2005-12-05 Wim Taymans <wim@fluendo.com>
11819 * gst/gstcaps.c: (gst_caps_is_equal):
11820 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11821 (gst_fake_src_create):
11822 Back out previous code changes, leave doc updates, file bugs
11825 2005-12-05 Wim Taymans <wim@fluendo.com>
11827 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11828 (gst_fake_src_get_times), (gst_fake_src_create):
11829 * plugins/elements/gstfakesrc.h:
11830 Fix broken sync code.
11832 2005-12-05 Wim Taymans <wim@fluendo.com>
11834 * gst/gstcaps.c: (gst_caps_is_equal):
11835 Comparing NULL against !NULL yields different caps, not a
11838 2005-12-05 Wim Taymans <wim@fluendo.com>
11840 * gst/gstpipeline.c:
11841 Fix small typo in docs.
11843 2005-12-05 Andy Wingo <wingo@pobox.com>
11845 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11847 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11848 registries/plugins with a MAJORMINOR one.
11849 (plugin_desc): Rename library from gstcoreleements to
11850 staticelements. Fixes #323222.
11852 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11854 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11855 Change debug category to 'collectpads' from 'collect_pads'
11858 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11860 patch by: Sebastien Moutte
11862 * libs/gst/controller/gstinterpolation.c:
11863 use convert function for uint64/double
11864 * win32/vs6/libgstcontroller.dsp:
11867 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11869 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11870 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11872 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11873 add tests that seem to show that the guint64/gdouble conversions
11876 2005-12-02 Wim Taymans <wim@fluendo.com>
11878 * gst/gstregistry.c: (gst_registry_add_path):
11879 * gst/gstregistry.h:
11880 * gst/gstregistryxml.c:
11883 2005-12-02 Wim Taymans <wim@fluendo.com>
11885 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11886 (gst_util_uint64_scale_int):
11889 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11890 Add debug log line.
11892 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11895 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11898 * win32/common/config.h:
11899 * win32/vs6/gstreamer.dsw:
11900 * win32/vs6/libgstcoreelements.dsp:
11901 * win32/vs6/libgstelements.dsp:
11902 renamed core elements plugin
11904 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11906 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11908 do piece-wise major/minor comparison so 0.9 < 0.10
11909 also allow .exe extensions for tools
11911 2005-12-02 Michael Smith <msmith@fluendo.com>
11914 Escape a % to make gtkdoc happier; bug 322958.
11916 === release 0.9.7 ===
11918 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11921 releasing 0.9.7, "My Dog Has No Nose"
11923 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11925 * common/gst-xmlinspect.py:
11927 * docs/libs/tmpl/gstdataprotocol.sgml:
11928 * docs/random/release:
11947 * win32/common/config.h:
11948 * win32/common/config.h.in:
11949 * win32/vs6/gst_inspect.dsp:
11950 * win32/vs6/gst_launch.dsp:
11951 * win32/vs6/libgstbase.dsp:
11952 * win32/vs6/libgstelements.dsp:
11953 * win32/vs6/libgstreamer.dsp:
11954 * win32/vs7/GStreamer.vcproj:
11955 * win32/vs7/gst-inspect.vcproj:
11956 * win32/vs7/gst-launch.vcproj:
11957 * win32/vs7/libgstbase.vcproj:
11958 bump GST_MAJORMINOR to 0.10
11959 reset libtool version
11961 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11965 Added Bulgarian translation by (Alexander Shopov)
11967 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11969 * tests/check/gst/gstplugin.c:
11972 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11974 * common/gst-xmlinspect.py:
11975 * common/gtk-doc-plugins.mak:
11977 * docs/Makefile.am:
11978 * docs/gst/Makefile.am:
11979 * docs/gst/gstreamer-docs.sgml:
11980 * docs/gst/gstreamer-sections.txt:
11981 * docs/gst/gstreamer.types:
11982 * docs/gst/gstreamer.types.in:
11983 * docs/plugins/Makefile.am:
11984 * docs/plugins/gstreamer-plugins-docs.sgml:
11985 * docs/plugins/gstreamer-plugins-sections.txt:
11986 * docs/plugins/gstreamer-plugins.types:
11987 * docs/plugins/inspect.stamp:
11988 * docs/plugins/inspect/plugin-coreelements.xml:
11989 * docs/plugins/inspect/plugin-coreindexers.xml:
11990 * docs/plugins/scanobj-build.stamp:
11991 * gstreamer.spec.in:
11992 * plugins/elements/Makefile.am:
11993 * plugins/elements/gstelements.c:
11994 * plugins/elements/gstfakesink.c:
11995 * plugins/elements/gstfakesrc.c:
11996 * plugins/elements/gstfilesink.c:
11997 * plugins/elements/gstfilesrc.c:
11998 * plugins/elements/gstqueue.c:
11999 * plugins/indexers/Makefile.am:
12000 * plugins/indexers/gstindexers.c:
12001 document core plugins in a separate document just like all the
12003 rename these plugins to something starting with core
12005 2005-12-01 Andy Wingo <wingo@pobox.com>
12007 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
12008 padding here before, but it missed the commit.
12010 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12012 * libs/gst/controller/gstinterpolation.c:
12013 whitespace prices have crashed, we should feel free to use some now
12014 use gst_guint64_to_gdouble
12016 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12018 * libs/gst/controller/gstcontroller.c:
12019 * libs/gst/controller/gsthelper.c:
12020 * libs/gst/controller/gstinterpolation.c:
12021 * libs/gst/controller/lib.c:
12022 wrap config.h include
12024 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12026 * docs/gst/gstreamer-sections.txt:
12029 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
12031 * plugins/elements/gstelements.c:
12032 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
12033 (gst_fd_sink__class_init), (gst_fd_sink__init),
12034 (gst_fd_sink__chain), (gst_fd_sink__set_property),
12035 (gst_fd_sink__get_property):
12036 * plugins/elements/gstfdsink.h:
12037 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
12038 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
12039 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
12040 (gst_fd_src_unlock), (gst_fd_src_set_property),
12041 (gst_fd_src_get_property), (gst_fd_src_create),
12042 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
12043 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
12044 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
12045 (gst_fd_src_uri_handler_init):
12046 * plugins/elements/gstfdsrc.h:
12047 * plugins/elements/gstqueue.c: (gst_queue_get_type):
12050 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12052 * docs/gst/Makefile.am:
12053 * docs/gst/gstreamer.types.in:
12057 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12063 * gst/gstregistry.h:
12064 * tests/benchmarks/complexity.c:
12065 * tests/benchmarks/mass-elements.c:
12066 * tests/check/Makefile.am:
12067 * tools/Makefile.am:
12068 * tools/gst-inspect.c:
12069 * tools/gst-xmlinspect.c:
12070 various fixes to make
12071 --disable-nls --disable-registry --disable-loadsave
12072 --disable-parse --disable-gst-debug
12073 work and get the core .so down to 360444 bytes after stripping
12075 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12080 * docs/random/thomasvs/TODO:
12081 * tests/Makefile.am:
12085 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12087 * win32/GStreamer.vcproj:
12090 * win32/Makefile.inspect:
12091 * win32/Makefile.launch:
12092 * win32/Makefile.register:
12093 * win32/README.txt:
12094 * win32/gst-inspect.vcproj:
12095 * win32/gst-launch.vcproj:
12096 * win32/gst-register.vcproj:
12097 * win32/gstelements.vcproj:
12098 * win32/gstgetbits.def:
12099 * win32/gstgetbits.vcproj:
12100 * win32/gstreamer-dbg.def:
12101 * win32/gstreamer.def:
12102 * win32/libgstbase.def:
12103 * win32/libgstbase.vcproj:
12104 * win32/link_oldruntime.c:
12108 * win32/msvc71.sln:
12109 move even more stuff, win32/ is nice and clean now
12111 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12113 * libs/gst/control/.cvsignore:
12118 * win32/gstbytestream.def:
12119 * win32/gstbytestream.vcproj:
12120 * win32/gstconfig.h:
12121 * win32/gstenumtypes.c:
12122 * win32/gstenumtypes.h:
12123 * win32/gstoptimalscheduler.vcproj:
12124 * win32/gstversion.h:
12126 * win32/testsuite/bins.vcproj:
12127 * win32/testsuite/bytestream.vcproj:
12128 * win32/testsuite/caps.vcproj:
12129 * win32/testsuite/cleanup.vcproj:
12130 * win32/testsuite/clock.vcproj:
12131 * win32/testsuite/debug.vcproj:
12132 * win32/testsuite/dlopen.vcproj:
12133 * win32/testsuite/dynparams.vcproj:
12134 * win32/testsuite/elements.vcproj:
12135 * win32/testsuite/ghostpads.vcproj:
12136 * win32/testsuite/indexers.vcproj:
12137 * win32/testsuite/negotiation.vcproj:
12138 * win32/testsuite/parse.vcproj:
12139 * win32/testsuite/plugin.vcproj:
12140 * win32/testsuite/refcounting.vcproj:
12141 * win32/testsuite/schedulers.vcproj:
12142 * win32/testsuite/states.vcproj:
12143 * win32/testsuite/tags.vcproj:
12144 * win32/testsuite/threads.vcproj:
12145 remove old win32 stuff that isn't maintained and should be
12148 2005-11-30 Andy Wingo <wingo@pobox.com>
12150 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
12151 loading the gst.interfaces python module bork.
12153 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
12154 available since GLib 2.2. Fixes #318031.
12156 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12159 * check/.cvsignore:
12160 * check/Makefile.am:
12161 * check/elements/.cvsignore:
12162 * check/elements/fakesrc.c:
12163 * check/elements/fdsrc.c:
12164 * check/elements/identity.c:
12165 * check/generic/.cvsignore:
12166 * check/generic/states.c:
12167 * check/gst-libs/.cvsignore:
12168 * check/gst-libs/controller.c:
12169 * check/gst-libs/gdp.c:
12170 * check/gst/.cvsignore:
12171 * check/gst/capslist.h:
12173 * check/gst/gstbin.c:
12174 * check/gst/gstbuffer.c:
12175 * check/gst/gstbus.c:
12176 * check/gst/gstcaps.c:
12177 * check/gst/gstelement.c:
12178 * check/gst/gstevent.c:
12179 * check/gst/gstghostpad.c:
12180 * check/gst/gstiterator.c:
12181 * check/gst/gstmessage.c:
12182 * check/gst/gstminiobject.c:
12183 * check/gst/gstobject.c:
12184 * check/gst/gstpad.c:
12185 * check/gst/gstpipeline.c:
12186 * check/gst/gstplugin.c:
12187 * check/gst/gstsegment.c:
12188 * check/gst/gststructure.c:
12189 * check/gst/gstsystemclock.c:
12190 * check/gst/gsttag.c:
12191 * check/gst/gstutils.c:
12192 * check/gst/gstvalue.c:
12193 * check/net/.cvsignore:
12194 * check/net/gstnetclientclock.c:
12195 * check/net/gstnettimeprovider.c:
12196 * check/pipelines/.cvsignore:
12197 * check/pipelines/cleanup.c:
12198 * check/pipelines/simple_launch_lines.c:
12199 * check/pipelines/stress.c:
12200 * check/states/.cvsignore:
12201 * check/states/sinks.c:
12203 * examples/Makefile.am:
12204 * examples/appreader/.cvsignore:
12205 * examples/appreader/Makefile.am:
12206 * examples/appreader/appreader.c:
12207 * examples/controller/.cvsignore:
12208 * examples/controller/Makefile.am:
12209 * examples/controller/audio-example.c:
12210 * examples/cutter/.cvsignore:
12211 * examples/cutter/Makefile.am:
12212 * examples/cutter/cutter.c:
12213 * examples/cutter/cutter.h:
12214 * examples/events/Makefile.am:
12215 * examples/events/seek.c:
12216 * examples/helloworld/.cvsignore:
12217 * examples/helloworld/Makefile.am:
12218 * examples/helloworld/helloworld.c:
12219 * examples/helloworld2/.cvsignore:
12220 * examples/helloworld2/Makefile.am:
12221 * examples/helloworld2/helloworld2.c:
12222 * examples/launch/.cvsignore:
12223 * examples/launch/Makefile.am:
12224 * examples/launch/mp3parselaunch.c:
12225 * examples/launch/mp3play:
12226 * examples/manual/.cvsignore:
12227 * examples/manual/Makefile.am:
12228 * examples/manual/extract.pl:
12229 * examples/metadata/Makefile.am:
12230 * examples/metadata/read-metadata.c:
12231 * examples/mixer/.cvsignore:
12232 * examples/mixer/Makefile.am:
12233 * examples/mixer/mixer.c:
12234 * examples/mixer/mixer.h:
12235 * examples/pingpong/.cvsignore:
12236 * examples/pingpong/Makefile.am:
12237 * examples/pingpong/pingpong.c:
12238 * examples/plugins/.cvsignore:
12239 * examples/plugins/Makefile.am:
12240 * examples/plugins/example.c:
12241 * examples/plugins/example.h:
12242 * examples/pwg/.cvsignore:
12243 * examples/pwg/Makefile.am:
12244 * examples/pwg/extract.pl:
12245 * examples/queue/.cvsignore:
12246 * examples/queue/Makefile.am:
12247 * examples/queue/queue.c:
12248 * examples/queue2/.cvsignore:
12249 * examples/queue2/Makefile.am:
12250 * examples/queue2/queue2.c:
12251 * examples/queue3/.cvsignore:
12252 * examples/queue3/Makefile.am:
12253 * examples/queue3/queue3.c:
12254 * examples/queue4/.cvsignore:
12255 * examples/queue4/Makefile.am:
12256 * examples/queue4/queue4.c:
12257 * examples/retag/.cvsignore:
12258 * examples/retag/Makefile.am:
12259 * examples/retag/retag.c:
12260 * examples/retag/transcode.c:
12261 * examples/thread/.cvsignore:
12262 * examples/thread/Makefile.am:
12263 * examples/thread/thread.c:
12264 * examples/typefind/.cvsignore:
12265 * examples/typefind/Makefile.am:
12266 * examples/typefind/typefind.c:
12267 * examples/xml/.cvsignore:
12268 * examples/xml/Makefile.am:
12269 * examples/xml/createxml.c:
12270 * examples/xml/runxml.c:
12271 * tests/Makefile.am:
12272 * tests/check/Makefile.am:
12273 * testsuite/.cvsignore:
12274 * testsuite/Makefile.am:
12276 * testsuite/caps/.cvsignore:
12277 * testsuite/caps/Makefile.am:
12278 * testsuite/caps/app_fixate.c:
12279 * testsuite/caps/audioscale.c:
12280 * testsuite/caps/caps.c:
12281 * testsuite/caps/caps.h:
12282 * testsuite/caps/caps_strings:
12283 * testsuite/caps/compatibility.c:
12284 * testsuite/caps/deserialize.c:
12285 * testsuite/caps/enumcaps.c:
12286 * testsuite/caps/eratosthenes.c:
12287 * testsuite/caps/filtercaps.c:
12288 * testsuite/caps/fixed.c:
12289 * testsuite/caps/fraction-convert.c:
12290 * testsuite/caps/fraction-multiply-and-zero.c:
12291 * testsuite/caps/intersect2.c:
12292 * testsuite/caps/intersection.c:
12293 * testsuite/caps/normalisation.c:
12294 * testsuite/caps/random.c:
12295 * testsuite/caps/renegotiate.c:
12296 * testsuite/caps/sets.c:
12297 * testsuite/caps/simplify.c:
12298 * testsuite/caps/string-conversions.c:
12299 * testsuite/caps/structure.c:
12300 * testsuite/caps/subtract.c:
12301 * testsuite/caps/union.c:
12302 * testsuite/debug/.cvsignore:
12303 * testsuite/debug/Makefile.am:
12304 * testsuite/debug/category.c:
12305 * testsuite/debug/commandline.c:
12306 * testsuite/debug/global.c:
12307 * testsuite/debug/output.c:
12308 * testsuite/debug/printf_extension.c:
12309 * testsuite/dlopen/.cvsignore:
12310 * testsuite/dlopen/Makefile.am:
12311 * testsuite/dlopen/dlopen_gst.c:
12312 * testsuite/dlopen/loadgst.c:
12313 * testsuite/elements/.cvsignore:
12314 * testsuite/elements/Makefile.am:
12315 * testsuite/elements/gst-inspect-check.in:
12316 * testsuite/elements/struct_i386.h:
12317 * testsuite/elements/struct_size.c:
12318 * testsuite/indexers/.cvsignore:
12319 * testsuite/indexers/Makefile.am:
12320 * testsuite/indexers/cache1.c:
12321 * testsuite/indexers/indexdump.c:
12322 * testsuite/parse/.cvsignore:
12323 * testsuite/parse/Makefile.am:
12324 * testsuite/parse/parse1.c:
12325 * testsuite/parse/parse2.c:
12326 * testsuite/plugin/.cvsignore:
12327 * testsuite/plugin/Makefile.am:
12328 * testsuite/plugin/README:
12329 * testsuite/plugin/dynamic.c:
12330 * testsuite/plugin/linked.c:
12331 * testsuite/plugin/loading.c:
12332 * testsuite/plugin/registry.c:
12333 * testsuite/plugin/static.c:
12334 * testsuite/plugin/static2.c:
12335 * testsuite/plugin/testplugin.c:
12336 * testsuite/plugin/testplugin2.c:
12337 * testsuite/plugin/testplugin2_s.c:
12338 * testsuite/plugin/testplugin_s.c:
12339 * testsuite/refcounting/.cvsignore:
12340 * testsuite/refcounting/Makefile.am:
12341 * testsuite/refcounting/bin.c:
12342 * testsuite/refcounting/element.c:
12343 * testsuite/refcounting/element_pad.c:
12344 * testsuite/refcounting/mainloop.c:
12345 * testsuite/refcounting/mem.c:
12346 * testsuite/refcounting/mem.h:
12347 * testsuite/refcounting/object.c:
12348 * testsuite/refcounting/pad.c:
12349 * testsuite/refcounting/sched.c:
12350 * testsuite/refcounting/thread.c:
12351 * testsuite/states/.cvsignore:
12352 * testsuite/states/Makefile.am:
12353 * testsuite/states/bin.c:
12354 * testsuite/states/locked.c:
12355 * testsuite/states/parent.c:
12356 * testsuite/threads/.cvsignore:
12357 * testsuite/threads/159566.c:
12358 * testsuite/threads/159852.c:
12359 * testsuite/threads/Makefile.am:
12360 * testsuite/threads/queue.c:
12361 * testsuite/threads/signals.c:
12362 * testsuite/threads/staticrec.c:
12363 * testsuite/threads/thread.c:
12364 * testsuite/threads/threadb.c:
12365 * testsuite/threads/threadc.c:
12366 * testsuite/threads/threadd.c:
12367 * testsuite/threads/threade.c:
12368 * testsuite/threads/threadf.c:
12369 * testsuite/threads/threadg.c:
12370 * testsuite/threads/threadh.c:
12371 * testsuite/threads/threadi.c:
12372 move all of these under tests
12374 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12377 * tests/Makefile.am:
12380 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12382 * docs/gst/gstreamer-sections.txt:
12383 * tests/sched/.cvsignore:
12384 * tests/sched/Makefile.am:
12385 * tests/sched/cases/(fs-fs).xml:
12386 * tests/sched/cases/(fs-i-fs).xml:
12387 * tests/sched/cases/(fs-i-i-fs).xml:
12388 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12389 * tests/sched/dynamic-pipeline.c:
12390 * tests/sched/interrupt1.c:
12391 * tests/sched/interrupt2.c:
12392 * tests/sched/interrupt3.c:
12393 * tests/sched/runtestcases:
12394 * tests/sched/runxml.c:
12395 * tests/sched/sched-stress.c:
12396 * tests/sched/sort.c:
12397 * tests/sched/testcases:
12398 * tests/sched/testcases1.tc:
12399 * tests/seeking/.cvsignore:
12400 * tests/seeking/Makefile.am:
12401 * tests/seeking/seeking1.c:
12402 * tests/threadstate/.cvsignore:
12403 * tests/threadstate/Makefile.am:
12404 * tests/threadstate/test1.c:
12405 * tests/threadstate/test2.c:
12406 * tests/threadstate/threadstate1.c:
12407 * tests/threadstate/threadstate2.c:
12408 * tests/threadstate/threadstate3.c:
12409 * tests/threadstate/threadstate4.c:
12410 * tests/threadstate/threadstate5.c:
12411 remove obsolete tests
12413 * tests/bench-complexity.scm:
12414 * tests/bench-mass_elements.scm:
12415 * tests/complexity.c:
12416 * tests/complexity.gnuplot:
12417 * tests/instantiate/.cvsignore:
12418 * tests/instantiate/Makefile.am:
12419 * tests/instantiate/caps.c:
12420 * tests/mass_elements.c:
12421 * tests/network-clock-utils.scm:
12422 * tests/network-clock.scm:
12424 First pass at cleaning up tests/ dir before moving the rest
12425 Combined with CVS surgery
12427 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12430 queue has moved, update
12432 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12434 * docs/gst/gstreamer-sections.txt:
12435 remove double entries from the docs
12436 * gst/gst_private.h:
12437 * gst/gstinfo.c: (_gst_debug_init):
12438 remove the THREAD debug category
12442 * docs/gst/gstreamer.types:
12443 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12444 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12445 completely move queue and fix up debugging categories
12447 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12449 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12450 make initialization portable, using LL is not
12452 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12454 * win32/common/gstconfig.h:
12457 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12459 * win32/common/libgstreamer.def:
12460 rename symbols; sort base section
12462 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12464 * gst/gstclock.c: (do_linear_regression):
12465 remove crack non-portable handrolled DEBUG macro
12467 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12469 * docs/random/release:
12471 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12472 (gst_object_flags_get_type), (register_gst_bin_flags),
12473 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12474 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12475 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12476 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12477 (gst_caps_flags_get_type), (register_gst_clock_return),
12478 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12479 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12480 (gst_clock_flags_get_type), (register_gst_state),
12481 (gst_state_get_type), (register_gst_state_change_return),
12482 (gst_state_change_return_get_type), (register_gst_state_change),
12483 (gst_state_change_get_type), (register_gst_element_flags),
12484 (gst_element_flags_get_type), (register_gst_core_error),
12485 (gst_core_error_get_type), (register_gst_library_error),
12486 (gst_library_error_get_type), (register_gst_resource_error),
12487 (gst_resource_error_get_type), (register_gst_stream_error),
12488 (gst_stream_error_get_type), (register_gst_event_type_flags),
12489 (gst_event_type_flags_get_type), (register_gst_event_type),
12490 (gst_event_type_get_type), (register_gst_seek_type),
12491 (gst_seek_type_get_type), (register_gst_seek_flags),
12492 (gst_seek_flags_get_type), (register_gst_format),
12493 (gst_format_get_type), (register_gst_index_certainty),
12494 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12495 (gst_index_entry_type_get_type),
12496 (register_gst_index_lookup_method),
12497 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12498 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12499 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12500 (gst_index_flags_get_type), (register_gst_debug_level),
12501 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12502 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12503 (gst_iterator_result_get_type), (register_gst_iterator_item),
12504 (gst_iterator_item_get_type), (register_gst_message_type),
12505 (gst_message_type_get_type), (register_gst_mini_object_flags),
12506 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12507 (gst_pad_link_return_get_type), (register_gst_flow_return),
12508 (gst_flow_return_get_type), (register_gst_activate_mode),
12509 (gst_activate_mode_get_type), (register_gst_pad_direction),
12510 (gst_pad_direction_get_type), (register_gst_pad_flags),
12511 (gst_pad_flags_get_type), (register_gst_pad_presence),
12512 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12513 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12514 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12515 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12516 (gst_plugin_flags_get_type), (register_gst_rank),
12517 (gst_rank_get_type), (register_gst_query_type),
12518 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12519 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12520 (gst_tag_flag_get_type), (register_gst_task_state),
12521 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12522 (gst_alloc_trace_flags_get_type),
12523 (register_gst_type_find_probability),
12524 (gst_type_find_probability_get_type), (register_gst_uri_type),
12525 (gst_uri_type_get_type), (register_gst_parse_error),
12526 (gst_parse_error_get_type):
12527 * win32/common/gstenumtypes.h:
12528 * win32/common/gstversion.h:
12529 update visual studio generated files
12531 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12533 * win32/vs6/libgstbase.dsp:
12534 * win32/vs6/libgstelements.dsp:
12535 update project files for new locations
12537 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12542 reinstate and update
12547 * docs/random/LICENSE:
12550 2005-11-30 Edward Hervey <edward@fluendo.com>
12552 * gst/gsttypefind.c: (gst_type_find_register):
12553 * gst/gsttypefind.h:
12554 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12555 (gst_type_find_factory_dispose):
12556 * gst/gsttypefindfactory.h:
12557 Fix memory leak in GstTypeFindFactory.
12559 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12562 * plugins/elements/Makefile.am:
12563 * plugins/elements/gstelements.c:
12564 * plugins/elements/gstqueue.c:
12565 move queue from core to the elements plugin
12567 2005-11-29 Andy Wingo <wingo@pobox.com>
12569 * libs/gst/base/gstbasetransform.h:
12570 * libs/gst/base/gstbasesrc.h:
12571 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12573 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12574 of pointers by which to pad very extensible base classes (like the
12575 ones in libs/gst/base).
12577 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12579 * docs/gst/gstreamer-docs.sgml:
12580 * docs/gst/gstreamer-sections.txt:
12581 * docs/libs/gstreamer-libs-docs.sgml:
12582 * docs/libs/gstreamer-libs-sections.txt:
12583 moving documentation from core to lib
12585 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12587 * check/Makefile.am:
12589 * docs/gst/Makefile.am:
12591 * gst/base/.cvsignore:
12592 * gst/base/Makefile.am:
12594 * gst/base/gstadapter.c:
12595 * gst/base/gstadapter.h:
12596 * gst/base/gstbasesink.c:
12597 * gst/base/gstbasesink.h:
12598 * gst/base/gstbasesrc.c:
12599 * gst/base/gstbasesrc.h:
12600 * gst/base/gstbasetransform.c:
12601 * gst/base/gstbasetransform.h:
12602 * gst/base/gstcollectpads.c:
12603 * gst/base/gstcollectpads.h:
12604 * gst/base/gstpushsrc.c:
12605 * gst/base/gstpushsrc.h:
12606 * gst/base/gsttypefindhelper.c:
12607 * gst/base/gsttypefindhelper.h:
12608 * gst/check/Makefile.am:
12609 * gst/check/gstcheck.c:
12610 * gst/check/gstcheck.h:
12611 * gst/net/Makefile.am:
12612 * gst/net/gstnet.h:
12613 * gst/net/gstnetclientclock.c:
12614 * gst/net/gstnetclientclock.h:
12615 * gst/net/gstnettimepacket.c:
12616 * gst/net/gstnettimepacket.h:
12617 * gst/net/gstnettimeprovider.c:
12618 * gst/net/gstnettimeprovider.h:
12619 * libs/gst/Makefile.am:
12620 * libs/gst/base/Makefile.am:
12621 * libs/gst/base/gstbasetransform.c:
12622 * libs/gst/check/Makefile.am:
12623 * plugins/elements/Makefile.am:
12625 CVS surgery + support to move base, check, and net out of gst
12628 2005-11-29 Andy Wingo <wingo@pobox.com>
12630 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12632 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12635 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12637 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12639 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12641 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12642 padding; reduces object size by about 30%. We don't expect
12643 anything else to go into gstobject.
12645 * gst/gstminiobject.h (struct _GstMiniObject)
12646 (struct _GstMiniObjectClass): Only one pointer of padding; the
12647 payload is only a pointer and two ints anyway. For the class there
12648 are only two methods as well.
12650 * gst/gstelement.h (struct _GstElementClass): Removed
12651 the state_changed signal callback, it is not used.
12653 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12655 * docs/gst/gstreamer.types:
12656 fix includes, though they are a little dinky
12658 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12660 * check/Makefile.am:
12661 look in the right place for elements, a lot more chance of
12664 remove indexers and elements subdirs
12665 * plugins/Makefile.am:
12666 make indexers conditional
12668 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12672 * plugins/elements/Makefile.am:
12673 * plugins/elements/gstcapsfilter.c:
12674 * plugins/elements/gstfilesink.c:
12675 * plugins/elements/gstfilesrc.c:
12676 * plugins/elements/gstidentity.c:
12677 * plugins/indexers/Makefile.am:
12678 do CVS surgery and related build fixery to move elements
12679 and indexers in a new gstreamer/plugins directory, out of the
12682 2005-11-29 Andy Wingo <wingo@pobox.com>
12684 * check/Makefile.am:
12685 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12686 * pkgconfig/gstreamer-net.pc.in:
12687 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12690 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12692 * tools/Makefile.am:
12693 * tools/gst-complete.1.in:
12694 * tools/gst-complete.c:
12695 * tools/gst-compprep.1.in:
12696 * tools/gst-compprep.c:
12697 removing -compprep and -complete
12699 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12701 * gst/gstevent.c: (gst_event_new_new_segment),
12702 (gst_event_parse_new_segment):
12704 fix #320529 - clean up new_segment API and structure.
12705 Let's hope everyone was using the methods, and not the structure.
12707 2005-11-29 Edward Hervey <edward@fluendo.com>
12709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12710 (gst_base_sink_event), (gst_base_sink_do_sync),
12711 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12712 Properly handle non GST_FORMAT_TIME segment
12713 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12714 Properly handle non GST_FORMAT_TIME segment
12715 * gst/gstsegment.c:
12716 This function is valid if the accumulator is 0 and the format
12717 is different from the requested format.
12719 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12721 * docs/gst/gstreamer-sections.txt:
12722 Add gst_query_new_seeking and gst_query_parse_seeking to the
12725 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12727 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12728 Treat a pad alloc with new caps the same as if we were not
12729 negotiated, in order to allow a changing upstream output
12730 to produce a new format of data.
12732 2005-11-29 Edward Hervey <edward@fluendo.com>
12734 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12735 (gst_base_transform_event), (gst_base_transform_eventfunc):
12736 The event virtual method is now properly implemented, with a default
12738 Sub classes should call the parent_class event method. They should
12739 return FALSE if they had a problem handling the given event, or don't
12740 want GstBaseTransform to send that even downstream
12741 * gst/elements/gstidentity.c: (gst_identity_class_init),
12742 (gst_identity_init), (gst_identity_event),
12743 (gst_identity_transform_ip), (gst_identity_set_property),
12744 (gst_identity_get_property):
12745 * gst/elements/gstidentity.h:
12746 Added the single-segment boolean property.
12747 If set to TRUE, it will output a single segment of data, starting from
12748 0, will eat up all incoming newsegment, and modify the timestamp of the
12749 buffers accordingly
12751 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12753 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12754 Don't ref NULL target pad (#322751). Improve docs.
12756 2005-11-29 Michael Smith <msmith@fluendo.com>
12758 * gst/gstregistryxml.c: (load_plugin):
12759 Don't crash if we failed to load a feature from a plugin.
12761 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12763 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12765 use more check API and less GLib API
12767 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12770 don't run checks if we don't have check
12771 * common/check.mak:
12772 remove the registry when running make torture
12773 * docs/gst/gstreamer-sections.txt:
12774 remove second multiply
12775 * gst/gstqueue.c: (gst_queue_loop):
12776 fix a compile warning when disabling debug
12778 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12781 Hey! Let's print the pad name if the pointer != NULL instead
12782 of when it == NULL :-)
12784 2005-11-28 Wim Taymans <wim@fluendo.com>
12786 * check/gst/gstutils.c: (GST_START_TEST):
12787 Updated check, add some scaling accuracy checking code.
12789 * gst/gstutils.c: (gst_util_div128_64),
12790 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12791 (gst_util_uint64_scale_int):
12792 Fix 6 times faster division code. Optimize for common
12793 1/1 and less common X/1 cases.
12795 2005-11-28 Wim Taymans <wim@fluendo.com>
12797 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12800 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12801 (do_linear_regression), (gst_clock_add_observation):
12803 Release lock when the clock cannot be slaved.
12804 Catch the case where the regression returned an invalid denominator.
12806 * gst/gstutils.c: (gst_util_div128_64_iterate),
12807 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12808 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12809 Add protentially more performant non-iterative 128/64 divide function
12810 that unfortunatly does not work yet.
12811 Shortcut the trivial 0/X = 0 case.
12812 Remove the warnings on overflow.
12814 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12816 * gst/gstplugin.c: (gst_plugin_register_func):
12817 everything causing a plugin not to load should be at least a WARNING
12819 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12821 * docs/random/ensonic/dparams.txt:
12822 some TODOs for the next dev cycle
12823 * libs/gst/controller/gstcontroller.c:
12824 (gst_controlled_property_set_interpolation_mode),
12825 (gst_controlled_property_new):
12826 * libs/gst/controller/gstcontroller.h:
12827 use base type to assign acccessor functions
12829 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12831 * check/Makefile.am:
12832 Oops, that should have been top_srcdir
12834 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12836 * check/Makefile.am:
12837 * check/elements/fdsrc.c: (GST_START_TEST):
12838 Use a cmdline define to specify the location of a file to use for
12839 testing, to avoid breaking distcheck.
12841 2005-11-28 Andy Wingo <wingo@pobox.com>
12843 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12845 2005-11-28 Edward Hervey <edward@fluendo.com>
12847 * tools/gst-launch.c: (main):
12848 Clarify the output strings, makes it easier to translate.
12851 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12854 don't try and build net if we don't even have <sys/socket.h>
12856 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12858 * check/Makefile.am:
12859 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12860 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12861 Add tests for fdsrc seekability
12863 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12864 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12865 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12866 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12867 * gst/elements/gstfdsrc.h:
12868 fdsrc should not be a 'live' source.
12869 Implement seeking on seekable fd's.
12871 * gst/gstquery.c: (gst_query_new_seeking),
12872 (gst_query_parse_seeking):
12874 Implement SEEKING query functions:
12875 *_new_seeking and *_parse_seeking
12877 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12879 * gst/gstelement.c: (gst_element_dispose):
12882 * gst/gstiterator.c:
12883 * gst/gststructure.c:
12886 * libs/gst/controller/gstcontroller.c:
12887 (gst_controlled_property_set_interpolation_mode):
12888 * libs/gst/controller/gstcontroller.h:
12889 * libs/gst/controller/gstinterpolation.c:
12890 (interpolate_none_get_enum_value_array):
12891 support controlling enums
12893 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12896 Improve documentation for gst_value_union().
12899 Change return value for union, intersect and subtract functions
12900 from gint to gboolean.
12902 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12904 * gst/gstvalue.c: (gst_value_serialize_any_list),
12905 (gst_value_transform_any_list_string),
12906 (gst_value_deserialize_list), (gst_value_deserialize_array),
12907 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12908 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12909 (gst_value_set_fraction_range_full),
12910 (gst_value_deserialize_fraction_range),
12911 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12912 (gst_value_deserialize_boolean),
12913 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12914 (gst_value_serialize_float), (gst_value_deserialize_float),
12915 (gst_string_wrap), (gst_value_deserialize_string),
12916 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12917 (gst_value_union_int_range_int_range),
12918 (gst_value_intersect_int_range_int_range),
12919 (gst_value_intersect_double_range_double_range),
12920 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12921 (gst_value_subtract_int_range_int_range),
12922 (gst_value_subtract_double_double_range),
12923 (gst_value_subtract_double_range_double_range),
12924 (gst_value_deserialize_fraction):
12926 Use gint, gdouble and gchar in our API instead of int, double and
12927 char (and make usage in gstvalue.c more consistent).
12929 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12931 * check/Makefile.am:
12932 * libs/gst/controller/Makefile.am:
12933 * libs/gst/dataprotocol/Makefile.am:
12934 fix up Makefile.am and remove GST_ENABLE_NEW
12936 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12940 * gst/base/Makefile.am:
12941 * gst/check/Makefile.am:
12942 * gst/elements/Makefile.am:
12943 * gst/net/Makefile.am:
12944 update LDFLAGS use some more
12946 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12948 * common/m4/gst-doc.m4:
12951 2005-11-26 Edward Hervey <edward@fluendo.com>
12953 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12954 This shouldn't issue a g_warning since it returns NULL if it
12955 couldn't find the plugin, and all functions using this behave
12956 properly on a NULL return. Switching to a GST_WARNING.
12958 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12960 * gst/gstbin.c: (gst_bin_handle_message_func):
12961 Don't leak clock messages.
12963 2005-11-25 Wim Taymans <wim@fluendo.com>
12965 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12966 (gst_util_uint64_scale_int):
12967 Optimisations, remove unneeded vars.
12969 2005-11-25 Wim Taymans <wim@fluendo.com>
12971 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12972 Added more checks for the high precision uint64 cases.
12974 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12975 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12976 Implement high precision (guint64 * guint64) / guint64.
12978 2005-11-24 Wim Taymans <wim@fluendo.com>
12980 * gst/base/gstbasesrc.c: (gst_base_src_query):
12981 Fix wrong percentage query.
12983 * gst/gstutils.c: (gst_util_uint64_scale),
12984 (gst_util_uint64_scale_int):
12985 Add some more common cases that can be handled
12986 efficiently to _scale.
12988 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12990 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12991 (gst_mini_object_suite):
12992 don't use check calls from threads; check probably isn't
12993 threadsafe and using a lock to make it threadsafe would
12994 defeat the purpose of this check
12995 * gst/check/gstcheck.c:
12996 * gst/check/gstcheck.h:
12997 use GST_DEBUG some more
12999 2005-11-24 Wim Taymans <wim@fluendo.com>
13001 * gst/gstutils.c: (gst_util_uint64_scale),
13002 (gst_util_uint64_scale_int):
13003 Chain trivial case to _scale_int.
13005 2005-11-24 Wim Taymans <wim@fluendo.com>
13007 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13008 Added test for scaling.
13013 * gst/gstutils.c: (gst_util_uint64_scale_int):
13014 Implemented high precision scaling code.
13016 2005-11-24 Stefan Kost <ensonic@users.sf.net>
13019 do not crash on pad==NULL
13021 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
13023 Patch by: Stefan Kost
13025 * common/gtk-doc.mak:
13026 * docs/gst/Makefile.am:
13027 * docs/libs/Makefile.am:
13028 Fix distcheck issues for the libraries docs build
13031 2005-11-24 Michael Smith <msmith@fluendo.com>
13033 * docs/manual/basics-helloworld.xml:
13034 Fix bug #315027: memory leak in example code in docs.
13036 2005-11-24 Michael Smith <msmith@fluendo.com>
13038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13039 Unlock the PREROLL_LOCK in a failure case.
13041 2005-11-24 Wim Taymans <wim@fluendo.com>
13043 * docs/gst/gstreamer-sections.txt:
13044 * gst/base/gstadapter.h:
13045 * gst/base/gstbasesink.h:
13046 * gst/base/gstbasesrc.h:
13047 * gst/base/gstbasetransform.h:
13048 * gst/base/gstpushsrc.h:
13049 * gst/elements/gstfakesink.h:
13050 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
13051 * gst/elements/gstfakesrc.h:
13052 * gst/elements/gstfilesink.h:
13053 * gst/elements/gstfilesrc.h:
13056 * gst/gstbuffer.c: (_gst_buffer_copy):
13059 * gst/gstchildproxy.c:
13061 * gst/gstelement.c:
13062 * gst/gstelementfactory.c:
13063 * gst/gstelementfactory.h:
13065 * gst/gstghostpad.h:
13067 * gst/gstinterface.h:
13068 * gst/gstminiobject.c:
13069 * gst/gstminiobject.h:
13072 * gst/gstpadtemplate.h:
13073 * gst/gstpipeline.h:
13074 * gst/gstpluginfeature.h:
13077 * gst/gsttaglist.c:
13078 * gst/gsttaglist.h:
13079 * gst/gsttagsetter.c:
13080 * gst/gsttagsetter.h:
13083 * gst/gsttypefind.h:
13086 * gst/net/gstnetclientclock.c:
13087 * gst/net/gstnetclientclock.h:
13088 * gst/net/gstnettimepacket.c:
13089 * gst/net/gstnettimeprovider.c:
13090 * gst/net/gstnettimeprovider.h:
13093 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13095 * configure.ac: back to HEAD
13097 === release 0.9.6 ===
13099 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13102 releasing 0.9.6, "Always On Time"
13104 2005-11-23 Wim Taymans <wim@fluendo.com>
13106 * docs/gst/gstreamer-sections.txt:
13107 * gst/glib-compat.c:
13108 * gst/gsttagsetter.c:
13110 * gst/net/gstnetclientclock.c:
13111 * gst/net/gstnettimepacket.h:
13114 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
13116 * docs/faq/using.xml:
13117 * docs/libs/tmpl/gstcontrol.sgml:
13118 * docs/manual/advanced-dparams.xml:
13119 * docs/manual/appendix-checklist.xml:
13120 * docs/manual/basics-elements.xml:
13121 * docs/pwg/other-source.xml:
13122 * docs/random/moving-plugins:
13124 * tools/gst-launch.1.in:
13125 remove mentions of sinesrc
13127 2005-11-23 Michael Smith <msmith@fluendo.com>
13129 * docs/gst/gstreamer-sections.txt:
13130 Update for new API and API changes.
13132 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
13134 Documentation typo fix.
13135 * gst/net/gstnettimepacket.c:
13136 Documentation fixes for arguments.
13138 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
13140 * gst/gststructure.c: (gst_structure_get_fraction),
13141 (gst_structure_parse_value),
13142 (gst_structure_fixate_field_nearest_fraction):
13143 * gst/gststructure.h:
13144 * gst/gstutils.c: (gst_util_uint64_scale_int):
13146 * scripts/update-funcnames:
13148 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
13149 Make gst_structure_fixate_field_nearest_fraction take a numerator
13150 and denominator argument instead of a GValue
13151 add gst_structure_get_fraction helper function.
13153 2005-11-23 Wim Taymans <wim@fluendo.com>
13155 * docs/design/part-TODO.txt:
13158 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
13159 * gst/net/gstnetclientclock.h:
13160 Use parent fields for timeout and window_size.
13162 2005-11-23 Andy Wingo <wingo@pobox.com>
13164 * check/net/gstnetclientclock.c (test_functioning): Adjust to
13165 rate_num/rate_denom change.
13167 * gst/net/gstnetclientclock.c
13168 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
13169 OBJECT_LOCK. Don't call add_observation with the lock.
13171 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
13173 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
13175 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
13176 deal with rate as a fraction whose numerator and denominator are
13177 GstClockTime values.
13178 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
13179 master; the other fields are protected by the SLAVE_LOCK.
13180 (do_linear_regression): Note that this must be called with the
13182 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
13183 OBJECT_LOCK. Call set_calibration instead of touching the
13184 variables directly.
13185 (gst_clock_set_property, gst_clock_get_property): Protect
13186 master/slave parameters with the SLAVE_LOCK.
13188 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
13189 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
13190 note that all of the instance variables that add_observation and
13191 the set_master functions use are protected by that lock and not
13193 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
13195 * gst/gstclock.c (gst_clock_add_observation): No longer requires
13196 the caller to take the object lock.
13198 2005-11-23 Wim Taymans <wim@fluendo.com>
13200 * gst/gsterror.c: (_gst_core_errors_init):
13202 Add error for clock stuff.
13204 * gst/gstpipeline.c: (gst_pipeline_change_state),
13205 (gst_pipeline_set_clock):
13206 Post clock error when clock cannot be used in a pipeline.
13208 2005-11-23 Stefan Kost <ensonic@users.sf.net>
13210 * docs/gst/gstreamer-sections.txt:
13211 make two symbols from gstinfo private for the docs
13212 * gst/base/gstcollectpads.h:
13214 fix doc typos, update docs
13216 2005-11-22 Wim Taymans <wim@fluendo.com>
13218 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13219 (gst_base_sink_wait), (gst_base_sink_do_sync),
13220 (gst_base_sink_handle_event):
13221 * gst/base/gstbasesink.h:
13222 No need to store the clock, the parent element class already
13225 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
13226 Updates for clock_set returning a gboolean
13228 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
13229 (gst_clock_id_wait_async), (gst_clock_class_init),
13230 (gst_clock_init), (gst_clock_finalize),
13231 (gst_clock_get_internal_time), (gst_clock_get_time),
13232 (gst_clock_slave_callback), (gst_clock_set_master),
13233 (gst_clock_get_master), (do_linear_regression),
13234 (gst_clock_add_observation), (gst_clock_set_property),
13235 (gst_clock_get_property):
13237 Implement master/slave. When setting a clock as a slave, a
13238 periodic timeout is scheduled to sample master and slave times.
13239 Then the slave clock is recalibrated to match offset and rate
13240 of the master clock.
13241 Update logging a bit.
13242 Add flag so that a clock can state that is cannot be slaved to
13245 * gst/gstelement.c: (gst_element_set_clock):
13246 * gst/gstelement.h:
13247 The set clock returns a gboolean for when an element cannot
13248 deal with the selected clock in the pipeline.
13250 * gst/gstpipeline.c: (gst_pipeline_change_state),
13251 (gst_pipeline_set_clock):
13252 * gst/gstpipeline.h:
13253 Handle the case where the selected clock cannot be set on
13256 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13257 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13258 (gst_net_client_clock_set_property),
13259 (gst_net_client_clock_get_property),
13260 (gst_net_client_clock_observe_times):
13261 * gst/net/gstnetclientclock.h:
13262 Use regression code in GstClock parent, remove duplicated
13265 2005-11-22 Michael Smith <msmith@fluendo.com>
13267 * gst/gstutils.c: (gst_util_clock_time_scale):
13269 * docs/gst/gstreamer-sections.txt:
13270 Rename method to have extra underscore.
13272 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13274 * gst/elements/Makefile.am:
13275 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13276 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13277 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13278 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13279 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13280 * gst/elements/gstfakesrc.h:
13281 * gst/gstqueue.c: (queue_leaky_get_type):
13282 correctly fix GEnumValues so that nick is the short lowercase
13284 * tools/gst-inspect.c: (print_element_properties_info):
13285 also show the nick, since it's useful to use from parse_launch
13289 2005-11-22 Michael Smith <msmith@fluendo.com>
13291 * gst/gstutils.c: (gst_util_clocktime_scale):
13293 * docs/gst/gstreamer-sections.txt:
13294 Add util method for scaling a clocktime by a fraction. Useful
13295 implementation is left as an exercise for the reader.
13297 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13299 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13300 If needed, allocate storage in the destination value during
13303 2005-11-22 Edward Hervey <edward@fluendo.com>
13305 * docs/gst/gstreamer-sections.txt:
13308 * gst/gsturitype.c:
13309 * gst/gsturitype.h:
13310 * gst/gstutils.c: (gst_util_set_object_arg):
13311 * tools/gst-compprep.c: (main):
13312 * tools/gst-inspect.c: (print_element_properties_info):
13313 Removed GstURI, closes bug #321061
13315 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13317 * check/gst/gststructure.c: (GST_START_TEST):
13318 * gst/gststructure.c: (gst_structure_parse_value):
13319 Oops, broke automatic string type parsing.
13320 Add a test to catch it in future.
13322 2005-11-22 Andy Wingo <wingo@pobox.com>
13324 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13325 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13326 Actually rename the function implementations. Grr.
13328 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13330 * check/gst/capslist.h:
13332 * check/gst/gststructure.c: (GST_START_TEST),
13333 (gst_structure_suite):
13334 Test automatic value type detection in gst_structure_from_string.
13335 * gst/gststructure.c: (gst_structure_parse_value):
13336 Add fraction as a type we try and guess automatically in
13337 caps/structure strings.
13339 2005-11-22 Andy Wingo <wingo@pobox.com>
13341 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13343 * gst/gsttagsetter.h:
13344 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13345 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13346 (gst_tag_setter_add_tag_valist)
13347 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13348 _add_values, _add_valist, and _add_valist_values. Since this is an
13349 interface the function suffixes should be more explicit so
13350 language binding don't end up with element.add_valist ->
13351 gst_tag_setter_add_valist, for example. Fixes #322069.
13353 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13355 * check/gst/gstcaps.c: (GST_START_TEST):
13356 Extend caps string tests to check that a caps to string
13357 conversion is reversible and produces the same caps.
13359 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13360 Output "fraction" as the generic type fraction range, so caps
13361 serialisation and deserialisation works.
13362 * check/gst/capslist.h:
13363 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13364 Support 'MIN' and 'MAX' for deserialising fractions.
13366 2005-11-22 Andy Wingo <wingo@pobox.com>
13368 * gst/gstevent.h (gst_event_new_new_segment)
13369 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13370 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13371 Renamed from *_newsegment, *_buffersize, *_notarget.
13373 * scripts/update-funcnames: New script, performs the changes
13376 2005-11-22 Wim Taymans <wim@fluendo.com>
13378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13379 Make sure the GstFlowReturn is returned.
13381 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13382 (gst_bus_add_signal_watch):
13384 add gst_bus_add_signal_watch_full.
13386 * gst/gstplugin.c: (gst_plugin_load_file):
13387 Small style cleanup.
13389 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13391 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13392 Block the fakesrc srcpad when we send an event, to avoid
13393 contention on the stream_lock causing random test failures.
13395 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13397 * check/gst/gstvalue.c: (GST_START_TEST):
13398 * gst/gstvalue.c: (gst_value_fraction_subtract):
13401 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13404 include "gstchildproxy.h"
13405 * gst/gstchildproxy.h:
13406 * libs/gst/controller/gstcontroller.h:
13407 use G_GNUC_NULL_TERMINATED
13409 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13411 * check/gst/capslist.h:
13412 * check/gst/gstcaps.c: (GST_START_TEST):
13413 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13414 * gst/gststructure.c: (gst_structure_parse_range),
13415 (gst_structure_fixate_field_nearest_fraction):
13416 * gst/gststructure.h:
13417 * gst/gstvalue.c: (gst_value_init_fraction_range),
13418 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13419 (gst_value_collect_fraction_range),
13420 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13421 (gst_value_set_fraction_range_full),
13422 (gst_value_get_fraction_range_min),
13423 (gst_value_get_fraction_range_max),
13424 (gst_value_serialize_fraction_range),
13425 (gst_value_transform_fraction_range_string),
13426 (gst_value_compare_fraction_range),
13427 (gst_value_deserialize_fraction_range),
13428 (gst_value_intersect_fraction_fraction_range),
13429 (gst_value_intersect_fraction_range_fraction_range),
13430 (gst_value_subtract_fraction_fraction_range),
13431 (gst_value_subtract_fraction_range_fraction),
13432 (gst_value_subtract_fraction_range_fraction_range),
13433 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13434 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13435 (gst_value_transform_string_fraction), (_gst_value_initialize):
13437 Implement fraction ranges and extend GstFraction to support
13438 arithmetic subtraction, as well as deserialization from integer
13439 strings such as "100"
13440 Add a testsuite as for int and double range set operations
13442 2005-11-21 Andy Wingo <wingo@pobox.com>
13444 * gst/gsttaglist.h:
13446 * gst/gststructure.h: Add glib-compat.h.
13448 2005-11-21 Wim Taymans <wim@fluendo.com>
13450 * gst/gstbin.c: (gst_bin_change_state_func):
13453 2005-11-21 Wim Taymans <wim@fluendo.com>
13455 * gst/gstsegment.h:
13456 And add a nice define too.
13458 2005-11-21 Wim Taymans <wim@fluendo.com>
13460 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13461 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13462 (gst_segment_set_duration), (gst_segment_set_last_stop),
13463 (gst_segment_set_seek), (gst_segment_set_newsegment),
13464 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13465 (gst_segment_clip):
13466 * gst/gstsegment.h:
13467 Make binding friendly.
13469 2005-11-21 Andy Wingo <wingo@pobox.com>
13471 * gst/gsttagsetter.h:
13472 * gst/gsttaglist.h:
13473 * gst/gststructure.h:
13475 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13478 * gst/gsterror.c (_gst_core_errors_init):
13479 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13482 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13483 (noinst_HEADERS): noinst the -private.
13485 2005-11-21 Michael Smith <msmith@fluendo.com>
13488 * gst/gstregistry.h:
13489 Remove unimplemented declarations for which we can see no sensible
13492 2005-11-21 Andy Wingo <wingo@pobox.com>
13494 * gst/gst.h: Include glib-compat.h.
13496 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13498 * gst/glib-compat.c: Include the public and the private header.
13500 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13504 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13506 * check/gst/gstevent.c (create_custom_events): Check that
13507 FLUSH_STOP is serialized.
13509 * check/elements/identity.c (event_func):
13510 * check/elements/fakesrc.c (event_func): No stream lock, the core
13513 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13514 stream lock taking, yay.
13516 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13517 ensure that core takes the stream lock.
13519 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13522 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13523 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13524 it already. For the flush start we do take it though so we get the
13525 right preroll state change messages.
13527 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13528 the stream lock here, the core does it for us.
13530 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13531 GST_STREAM_GET_LOCK.
13532 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13533 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13534 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13535 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13536 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13537 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13539 * gst/gstpad.c: Update for stream lock name change.
13541 * gst/base/gstbasesink.c: Update for preroll lock name change.
13543 2005-11-21 Wim Taymans <wim@fluendo.com>
13545 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13546 (gst_clock_get_master):
13548 * gst/gstsystemclock.c: (gst_system_clock_init):
13549 Convert Clock flags to object flags.
13550 Added methods to manage master/slave clocks.
13552 2005-11-21 Wim Taymans <wim@fluendo.com>
13554 * check/gst/gstsegment.c: (GST_START_TEST):
13555 * docs/design/part-TODO.txt:
13556 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13557 (gst_base_sink_event), (gst_base_sink_do_sync),
13558 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13559 (gst_base_sink_query), (gst_base_sink_change_state):
13560 * gst/base/gstbasesink.h:
13561 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13562 (gst_base_src_default_newsegment),
13563 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13564 (gst_base_src_get_range), (gst_base_src_loop),
13565 (gst_base_src_change_state):
13566 * gst/base/gstbasesrc.h:
13567 * gst/base/gstbasetransform.c:
13568 (gst_base_transform_prepare_output_buf),
13569 (gst_base_transform_event), (gst_base_transform_change_state):
13570 * gst/base/gstbasetransform.h:
13571 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13572 (gst_collect_pads_event):
13573 * gst/base/gstcollectpads.h:
13574 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13575 (gst_fake_src_create):
13576 * gst/elements/gstfakesrc.h:
13577 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13578 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13579 (gst_segment_set_last_stop), (gst_segment_set_seek),
13580 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13581 (gst_segment_to_running_time), (gst_segment_clip):
13582 * gst/gstsegment.h:
13583 More segment updates, replace code in plugins with segment
13586 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13588 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13589 Don't ignore sscanf results
13591 2005-11-21 Andy Wingo <wingo@pobox.com>
13593 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13596 * *.c: Ran scripts/update-macros. Oh yes.
13598 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13599 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13602 * scripts/update-macros: New script. Run it on your files to
13603 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13606 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13608 * docs/gst/Makefile.am:
13609 * docs/gst/gstreamer-docs.sgml:
13610 * docs/gst/gstreamer-sections.txt:
13611 * docs/gst/gstreamer.types:
13613 more docs fixes, add new api to the docs
13615 2005-11-21 Andy Wingo <wingo@pobox.com>
13617 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13618 state_broadcast call.
13620 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13622 2005-11-21 Julien MOUTTE <julien@moutte.net>
13624 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13625 function calls for arrays.
13627 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13629 * docs/random/ensonic/media-device-daemon.txt:
13630 wild idea, can this be done?
13631 * docs/gst/gstreamer-sections.txt:
13636 * gst/gstpluginfeature.c:
13640 doc fixes and additions
13642 2005-11-21 Andy Wingo <wingo@pobox.com>
13644 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13645 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13646 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13647 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13648 private to the basesrc implementation.
13650 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13651 behalf of event function if necessary. It should no longer be
13652 necessary to take the stream lock in pad's event functions. Fixes
13655 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13656 * docs/gst/gstreamer-sections.txt:
13657 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13658 (gst_structure_fixate_field_nearest_double),
13659 (gst_structure_fixate_field_boolean):
13660 * gst/gststructure.h:
13661 * win32/common/libgstreamer.def:
13662 * win32/gstreamer.def:
13664 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13667 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13669 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13670 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13671 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13672 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13673 (gst_fdsrc_uri_handler_init):
13674 * gst/elements/gstfdsrc.h:
13675 Port fd:// URI handler from 0.8 to fdsrc
13677 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13679 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13680 (gst_value_serialize_fourcc):
13682 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13683 consistent with our other format defines (#320324).
13685 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13687 * gst/gstvalue.c: (gst_value_is_fixed):
13688 Revert previous commit. Value lists are by definition
13689 not fixed, as they are a list of possible values.
13691 2005-11-21 Andy Wingo <wingo@pobox.com>
13693 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13694 during the stable series if we need it. Fixes #319178.
13696 * gst/gstevent.c (gst_event_new_filler): Removed.
13698 * check/gst/gstevent.c: Update comment about filler events.
13700 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13702 * gst/gstvalue.c: (gst_value_is_fixed):
13703 Should handle both value arrays and value lists.
13705 2005-11-21 Andy Wingo <wingo@pobox.com>
13707 patch by: Alessandro Dessina <alessandro nnva org>
13709 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13710 functions to access arrays. Fixes #321962.
13712 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13714 * docs/gst/gstreamer.types:
13715 gst_collectpads_get_type => gst_collect_pads_get_type.
13717 * gst/base/gstbasetransform.c:
13718 Remove unused SIGNAL_HANDOFF enum.
13720 2005-11-21 Andy Wingo <wingo@pobox.com>
13722 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13723 the event type (upstream, downstream, serialized). Renamed
13724 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13725 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13726 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13728 * gst/gstevent.c: Update for new CUSTOM event names.
13730 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13733 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13736 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13738 * docs/gst/gstreamer-sections.txt:
13739 * win32/common/libgstbase.def:
13740 * win32/libgstbase.def:
13741 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13742 (gst_collect_pads_class_init), (gst_collect_pads_init),
13743 (gst_collect_pads_finalize), (gst_collect_pads_new),
13744 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13745 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13746 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13747 (gst_collect_pads_start), (gst_collect_pads_stop),
13748 (gst_collect_pads_peek), (gst_collect_pads_pop),
13749 (gst_collect_pads_available), (gst_collect_pads_read),
13750 (gst_collect_pads_flush), (gst_collect_pads_event),
13751 (gst_collect_pads_chain):
13752 * gst/base/gstcollectpads.h:
13753 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13754 unimplemented functions as unimplemented. Add padding to
13755 GstCollectData. (#320766, #320423)
13757 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13759 * gst/gstmessage.c:
13760 Improve docs for DURATION message (usage of duration parameter)
13763 2005-11-20 Wim Taymans <wim@fluendo.com>
13765 * check/Makefile.am:
13766 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13770 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13771 (gst_segment_set_seek), (gst_segment_set_newsegment),
13772 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13773 (gst_segment_clip):
13774 * gst/gstsegment.h:
13775 Added segment helper structure and methods. Not fully implemented
13777 Added segment check.
13779 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13781 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13782 Add a deserialisation test for fractions
13783 * examples/metadata/read-metadata.c: (message_loop),
13784 (make_pipeline), (main):
13785 Fix up metadata reading sample.
13786 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13788 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13789 Don't try and fixate empty caps
13790 * gst/gst_private.h:
13791 Wrap in G_BEGIN_DECLS/G_END_DECLS
13792 * gst/gstvalue.c: (gst_value_collect_fraction),
13793 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13794 (gst_value_transform_string_fraction),
13795 (gst_value_compare_fraction):
13796 Add some extra guards to ensure that we don't end up
13797 with an invalid denominator of 0 in a gstfraction and
13798 that fractions always get reduced.
13800 2005-11-20 Wim Taymans <wim@fluendo.com>
13802 * docs/gst/gstreamer-sections.txt:
13804 * gst/gstelement.c:
13813 2005-11-20 Wim Taymans <wim@fluendo.com>
13815 * docs/design/part-TODO.txt:
13817 Make a proper enum of the flag.
13819 2005-11-19 Wim Taymans <wim@fluendo.com>
13821 * docs/design/part-TODO.txt:
13822 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13823 (gst_format_to_quark), (gst_format_register):
13825 * gst/gstquery.c: (_gst_query_initialize),
13826 (gst_query_type_get_name), (gst_query_type_to_quark),
13827 (gst_query_type_register):
13829 Add type to quark and type to string conversions.
13831 2005-11-19 Andy Wingo <wingo@pobox.com>
13833 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13836 2005-11-19 Wim Taymans <wim@fluendo.com>
13838 * docs/design/part-TODO.txt:
13839 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13840 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13841 (gst_bin_handle_message_func):
13843 Make message handling overridable.
13845 2005-11-19 Andy Wingo <wingo@pobox.com>
13847 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13850 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13852 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13853 is a GstClockTime. Fixes #321710.
13855 * gst/gstclock.h (GstClock): Remove offset property. Add
13856 internal_calibration and external_calibration. Fix padding. Pad
13857 also by GstClockTime so we don't run into problems.
13859 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13860 (gst_clock_get_rate_offset): Remove.
13861 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13864 * gst/gstutils.c (g_static_rec_cond_wait)
13865 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13867 * gst/gstbin.c: Remove terrible continue_state prototype.
13869 * gst/gstelement.h (gst_element_continue_state): Make public.
13871 * gst/gstelement.h:
13872 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13873 by continue_state. Fixes #319389.
13875 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13876 Really fixes #168438. However I don't see anywhere where the
13877 filter function is called... stupid GStreamer...
13879 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13880 don't have a dispose function, so it won't get called when the
13881 object is unreffed, but oh well!
13883 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13884 allows a destroy function to be set so user_data can be freed.
13886 (gst_index_set_filter): Call gst_index_set_filter_full.
13888 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13890 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13891 string should produce an error, given the lack of a way to
13892 represent NULL strings. Fixes #165650.
13895 * gst/gstvalue.c (gst_value_array_append_value)
13896 (gst_value_array_prepend_value, gst_value_array_get_size)
13897 (gst_value_array_get_value): New API, copied from
13898 gst_value_list_*, only operates on arrays.
13899 (gst_value_list_append_value, gst_value_list_prepend_value)
13900 (gst_value_list_concat, gst_value_list_get_size)
13901 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13903 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13904 init_list, because it works on both.
13905 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13906 (gst_value_copy_list_or_array): Renamed from copy_list.
13907 (gst_value_free_list_or_array): Renamed from free_list.
13908 (gst_value_collect_list_or_array): Renamed from collect_list.
13909 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13910 (gst_value_list_or_array_peek_pointer): Renamed from
13912 (_gst_value_array_value_table, _gst_value_list_value_table):
13913 Update value table functions.
13914 (gst_value_compare_list_or_array): Renamed from compare_list.
13916 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13919 * gst/gsttaglist.c:
13920 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13921 GstTagList*. Fixes #143472.
13923 * gst/gststructure.h: Clarify what the foreach/map functions can
13924 or can't do to their arguments.
13926 2005-11-18 Wim Taymans <wim@fluendo.com>
13928 * gst/gstclock.c: (gst_clock_set_calibration),
13929 (gst_clock_get_calibration):
13931 Calibration can be set with internal time equal to current
13934 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13940 2005-11-18 Andy Wingo <wingo@pobox.com>
13943 * pkgconfig/gstreamer-net.pc.in:
13944 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13945 * pkgconfig/Makefile.am: Add net pkgconfig files.
13947 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13950 * gst/gstghostpad.c:
13956 2005-11-18 Andy Wingo <wingo@pobox.com>
13958 * gst/net/gstnetclientclock.c: Turn off debugging.
13960 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13961 times connverge somewhat. Can't make a real test.
13963 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13964 integer arithmetic. Return the minimum of the domain, which can be
13965 set as "internal" for gst_clock_set_calibration.
13966 (gst_net_client_clock_observe_times): Call _set_calibration.
13967 (gst_net_client_clock_new): Call _set_calibration instead of
13970 * check/net/gstnetclientclock.c (test_functioning): Use the right
13974 * gst/gstclock.c (gst_clock_get_calibration)
13975 (gst_clock_set_calibration): New functions, obsolete the ones I
13976 added yesterday. Doh. Precision issues mean we have to extrapolate
13977 from a point in the more recent past than 1970.
13978 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13980 (gst_clock_adjust_unlocked): Use the right calibration data.
13982 2005-11-18 Edward Hervey <edward@fluendo.com>
13984 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13985 Also reset the ->current_* values in READY->PAUSED
13987 2005-11-18 Andy Wingo <wingo@pobox.com>
13989 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13990 Whoops, check the right fd. Also add some debugging.
13991 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13992 (do_linear_regression): Add a crapload of debugging. Subtract off
13993 the minimum values from the input series to discard unneeded bits.
13994 Use only int arithmetic. There is still double arithmetic when
13995 calculating the intercept that needs fixing. Return boolean to
13996 indicate success; FALSE would mean the domain or range is too
13997 great. Still needs fixes.
13999 2005-11-18 Wim Taymans <wim@fluendo.com>
14001 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14002 For the current position in stream time, we need to subtract
14005 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
14006 Release lock before calling the callback function of async
14009 2005-11-18 Andy Wingo <wingo@pobox.com>
14011 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
14012 Port goes all the way to MAXUINT16.
14014 * gst/net/gstnettimeprovider.c: Make the port range the same as
14015 for the kernel: 0 assigns, otherwise ports are less than
14018 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
14021 * check/net/gstnetclientclock.c (test_functioning): Add the start
14024 2005-11-18 Wim Taymans <wim@fluendo.com>
14026 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
14027 (gst_bin_remove_func), (bin_bus_handler):
14029 Removing a clock provider from a bin, triggers a clock lost message
14030 so that a new clock will be selected.
14031 Adding a clock to a bin triggers a clock provider message.
14032 Make sure we reselect a clock when we received a clock lost message.
14033 Keep a reference to the element that provided the clock.
14035 2005-11-18 Andy Wingo <wingo@pobox.com>
14037 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
14038 the clock initially so it produces values around the base time.
14039 (gst_net_client_clock_class_init): Typo fix.
14040 (gst_net_client_clock_thread): Add note on when the socket gets
14043 2005-11-17 Wim Taymans <wim@fluendo.com>
14045 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
14046 Free remote and local time arrays.
14048 2005-11-17 Wim Taymans <wim@fluendo.com>
14050 * gst/net/gstnetclientclock.c: (do_linear_regression),
14051 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
14052 Fix compilation, uninitialized vars and a forgotten continue.
14054 2005-11-17 Andy Wingo <wingo@pobox.com>
14056 * check/Makefile.am (check_PROGRAMS):
14057 * check/net/gstnetclientclock.c: Add a most minimal test for the
14058 net client clock. More to come later.
14060 * gst/net/gstnet.h:
14061 * gst/net/Makefile.am: Add netclientclock.
14063 * gst/net/gstnetclientclock.h:
14064 * gst/net/gstnetclientclock.c: New files, implement an untested
14065 GstClock that takes its time from a network time provider.
14066 Implements the algorithm in network-clock.scm.
14068 * tests/network-clock.scm (*window-size*): Rename from
14070 * tests/network-clock.scm (network-time):
14071 * tests/network-clock-utils.scm (q-push): Update callers.
14073 2005-11-17 Wim Taymans <wim@fluendo.com>
14075 * gst/gstbin.c: (gst_bin_provide_clock_func),
14076 (gst_bin_sort_iterator_new):
14077 And unref the child too..
14079 2005-11-17 Wim Taymans <wim@fluendo.com>
14081 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14082 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
14083 Refactor the sort iterator so it can be used while holding the
14085 Make clock selection select a clock closest to the source.
14087 2005-11-17 Michael Smith <msmith@fluendo.com>
14089 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
14090 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
14092 Anonymous structs are a gcc (and some other compilers) extension, so
14093 don't use them. Since this is only for ABI-compatibility, and our
14094 API/ABI freeze is over in a few days, this whole thing will only
14095 last a few days, so don't bother trying to think up a meaningful
14096 name for the struct.
14098 2005-11-17 Andy Wingo <wingo@pobox.com>
14100 * gst/gstclock.h (GstClock): Add rate and offset properties,
14101 preserving ABI stability. Add rate/offset accessors. Will file bug
14102 for the freeze break.
14104 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
14105 and offset, trying to keep precision and avoiding
14106 underflow/overflow.
14107 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
14108 functions. Make gst_clock_set_time_adjust obsolete.
14109 (gst_clock_set_time_adjust): Note that this function is obsolete.
14110 Will file bug soon.
14112 * gst/base/gstbasetransform.h: Make the ABI-stability hack
14113 greppable by using GST_PADDING-1+1.
14115 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
14117 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14119 * gst/gstmessage.c: (gst_message_parse_clock_lost):
14120 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
14122 * gst/gstpadtemplate.h:
14123 * gst/gstpluginfeature.h:
14124 Don't use c++ style comments in headers (#321638).
14126 2005-11-16 Andy Wingo <wingo@pobox.com>
14128 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
14131 * check/net/gstnettimeprovider.c: Check to see that the time
14132 provider actually provides times. Works, yo!
14134 2005-11-16 Wim Taymans <wim@fluendo.com>
14136 * check/Makefile.am:
14139 * check/elements/fakesrc.c: (GST_START_TEST):
14140 Set element to NULL before disposing it.
14142 2005-11-16 Andy Wingo <wingo@pobox.com>
14144 * gst/net/Makefile.am:
14145 * gst/net/gstnet.h:
14146 * gst/net/gstnettimeprovider.c:
14147 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
14148 provider, include it from gstnet.h, and add it to the build.
14150 * gst/net/gstnettimepacket.h:
14151 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
14152 sending and receiving.
14154 2005-11-16 Wim Taymans <wim@fluendo.com>
14156 * check/Makefile.am:
14157 Enable valgrind check.
14159 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
14160 (gst_fake_src_alloc_buffer):
14163 2005-11-16 Wim Taymans <wim@fluendo.com>
14165 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
14166 Call parent finalize too.
14168 2005-11-16 Wim Taymans <wim@fluendo.com>
14170 * check/Makefile.am:
14171 Enable valgrind check that should work fine now.
14173 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14174 * gst/gstqueue.c: (gst_queue_init):
14175 Fix memleaks in pad allocation.
14177 2005-11-16 Andy Wingo <wingo@pobox.com>
14179 * gst/net/Makefile.am:
14180 * gst/net/gstnet.h: New part of core to hold network elements and
14181 objects. Put in core because it exposes API that applications want
14182 to use. The library is named libgstnet-tempname right now because
14183 of the existing libgstnet in gst-plugins-base. Solution is
14184 probably to rename the one in plugins-base; will file a bug for
14187 * gst/net/gstnettimeprovider.c:
14188 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
14189 get_time call over the network.
14192 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
14194 * check/Makefile.am:
14195 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
14196 get additions shortly.
14198 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14200 * gst/gstpad.c: (gst_pad_new_from_static_template):
14202 add gst_pad_new_from_static_template functions
14203 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
14204 (gst_check_setup_sink_pad):
14205 * gst/elements/gsttee.c: (gst_tee_init):
14208 2005-11-16 Wim Taymans <wim@fluendo.com>
14210 * gst/gstpad.c: (gst_pad_pause_task):
14211 Removed warning, it's not really an error either.
14213 2005-11-16 Wim Taymans <wim@fluendo.com>
14215 * gst/base/gstbasetransform.c:
14216 (gst_base_transform_prepare_output_buf),
14217 (gst_base_transform_event):
14218 Check if the caps are NULL, this can happen if the element
14219 is shutting down and the pad caps are set to NULL.
14221 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14223 * gst/elements/gsttee.c: (gst_tee_init):
14224 fix pad template leak in tee
14226 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14228 * gst/glib-compat.c: (g_value_dup_gst_object):
14229 * gst/glib-compat.h:
14230 * gst/gstpad.c: (gst_pad_set_property):
14231 use gst_object_ref when setting the pad template; this will
14232 trigger the pad template leaks on GLib 2.6 and the slaves
14234 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14236 * gst/glib-compat.c: (gst_flags_get_first_value):
14237 * gst/glib-compat.h:
14238 * gst/gstregistryxml.c:
14239 remove functions copied from GLib 2.6
14241 2005-11-16 Michael Smith <msmith@fluendo.com>
14244 Don't link against VALGRIND_LIBS. That was always the wrong thing to
14245 do, but only breaks with newer valgrind versions. We're not a
14246 valgrind tool, we have no link-time dependencies on libcoregrind.
14248 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14250 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14252 * gst/gstmessage.h:
14255 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14257 * gst/base/gstbasesrc.c: (gst_base_src_init):
14258 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14259 * gst/gstqueue.c: (gst_queue_init):
14260 * gst/gstregistryxml.c: (load_feature):
14261 Revert all these unrefs, they don't even pass make check !
14263 2005-11-15 Johan Dahlin <johan@gnome.org>
14265 * gst/base/gstbasesrc.c: (gst_base_src_init):
14266 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14267 * gst/gstqueue.c: (gst_queue_init):
14268 Free pad templates, fixes a couple of leaks.
14270 2005-11-15 Daniel Fischer <dan at f3c dot com>
14272 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14274 * gst/gstpad.c: (gst_pad_get_property):
14275 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14276 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14279 2005-11-15 Wim Taymans <wim@fluendo.com>
14284 2005-11-15 Andy Wingo <wingo@pobox.com>
14286 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14288 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14289 using GST_CLOCK_TIME_NONE to disable base time management.
14290 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14291 time if it was NONE before.
14292 (gst_pipeline_change_state): Only munge the base time if
14293 stream_time != GST_CLOCK_TIME_NONE.
14295 * check/gst/gstpipeline.c (test_base_time): Punt around the
14296 problem of the probe not being called, because that's not the
14297 issue I'm looking at. Add a check that setting stream_time to NONE
14298 disables base time management.
14300 2005-11-15 Wim Taymans <wim@fluendo.com>
14302 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14303 segment_stop == -1 at startup.
14305 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14306 (gst_base_transform_change_state):
14307 Init segment values at start.
14309 2005-11-15 Wim Taymans <wim@fluendo.com>
14311 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14312 0 segment values are 0 in any format.
14314 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14315 * gst/base/gstbasetransform.h:
14316 Parse newsegment correctly in basetransform
14318 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14319 Sync to clock using updated segment values.
14321 2005-11-15 Andy Wingo <wingo@pobox.com>
14323 * check/gst/gstpipeline.c (test_base_time): Add check that the
14324 base time and stream time are reset correctly.
14326 2005-11-15 Wim Taymans <wim@fluendo.com>
14328 * docs/design/part-TODO.txt:
14329 Some more TODO items.
14331 2005-11-15 Andy Wingo <wingo@pobox.com>
14333 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14334 error if the user selected "no clock" as the clocking method.
14336 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14337 timestamps with live capture.
14339 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14340 is 0 but we are a live source, timestamp the buffers using the
14343 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14345 * docs/gst/gstreamer-sections.txt:
14347 * gst/gstghostpad.c:
14352 2005-11-14 Wim Taymans <wim@fluendo.com>
14355 add suppressions from Wim's Debian machine
14357 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14360 add suppressions from Andy's AMD64 Ubuntu machine
14362 2005-11-14 Andy Wingo <wingo@pobox.com>
14364 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14365 STATE_LOCK not necessary. Fixes #311489.
14367 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14370 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14371 this function is not implemented.
14373 2005-11-14 Julien MOUTTE <julien@moutte.net>
14375 * gst/base/gstbasetransform.c:
14376 (gst_base_transform_prepare_output_buf):
14377 Ref the source pad caps while we need them.
14380 2005-11-11 Wim Taymans <wim@fluendo.com>
14382 * docs/gst/gstreamer-sections.txt:
14383 Added some docs for GstCollectData.
14385 * gst/base/gstadapter.c:
14386 Some small code example fix.
14388 * gst/base/gstcollectpads.c:
14389 * gst/base/gstcollectpads.h:
14390 Document some more.
14392 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14394 * configure.ac: back to HEAD
14396 === release 0.9.5 ===
14398 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14401 releasing 0.9.5, "Bike Lunch Day"
14403 2005-11-11 Wim Taymans <wim@fluendo.com>
14405 * gst/gstbuffer.c: (_gst_buffer_copy):
14408 * gst/gstcaps.c: (gst_caps_is_equal):
14410 Make _is_equal fast in the trivial cases.
14412 * gst/gstminiobject.c:
14413 * gst/gstminiobject.h:
14414 More docs. Spifify .h file.
14419 2005-11-11 Wim Taymans <wim@fluendo.com>
14421 * gst/base/gstbasetransform.c:
14422 (gst_base_transform_prepare_output_buf),
14423 (gst_base_transform_handle_buffer):
14425 If we're processing a buffer and need to allocate an output
14426 buffer, we cannot accept a format change. If we did get a
14427 format change, we have to alloc a buffer ourselves of the
14430 2005-11-11 Wim Taymans <wim@fluendo.com>
14432 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14433 While checking the flag for reentrancy in the gstcaps function
14434 is nice to detect recursive invocations, it also makes it
14435 impossible to call getcaps from multiple threads, which must be
14436 possible. So, checking for recursive calls has to go.
14438 2005-11-11 Michael Smith <msmith@fluendo.com>
14440 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14441 Don't sync on buffers that fall partially outside our current
14442 segment. Prevents an assertion failure/abort playing some files.
14444 2005-11-10 Andy Wingo <wingo@pobox.com>
14446 * check/gst/gstbin.c (test_message_state_changed_children): Style
14449 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14450 gst_bus_poll with the signal watch. Ensures that poll and a signal
14451 watch see the same messages.
14453 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14454 a poll and a watch at the same time get the same messages.
14456 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14458 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14459 * gst/gstcaps.c: (gst_caps_intersect):
14460 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14461 and it's not needed.
14463 2005-11-10 Wim Taymans <wim@fluendo.com>
14465 * docs/design/part-TODO.txt:
14468 2005-11-10 Wim Taymans <wim@fluendo.com>
14470 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14471 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14472 (gst_base_src_do_sync), (gst_base_src_get_range):
14473 Implement clock sync in base class.
14475 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14477 patch by: Tim-Philipp Müller <tim at centricular dot net>
14479 * gst/gststructure.c: (gst_structure_parse_field),
14480 (gst_structure_from_string):
14481 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14482 so that gst_parse_launch() can deal with spaces in filtered link
14483 caps (fixes #164479)
14484 * check/gst/capslist.h:
14485 * check/gst/gststructure.c: (GST_START_TEST):
14486 add unit tests for this change
14488 2005-11-10 Wim Taymans <wim@fluendo.com>
14490 * docs/gst/gstreamer-sections.txt:
14491 * gst/gstelement.c:
14492 * gst/gstelement.h:
14493 Fix docs, move some STATE macros to private.
14495 2005-11-10 Wim Taymans <wim@fluendo.com>
14497 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14498 Added check for bug #317341
14502 Some more spiffifying.
14504 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14505 Call peer linkfunction if we are a source pad. Totally fixes
14509 Update docs, source pads should call the peer linkfunction
14510 so they can atomically perform the pad link.
14512 2005-11-09 Wim Taymans <wim@fluendo.com>
14516 Uber-spiffy-spiffify some more.
14518 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14520 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14521 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14522 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14523 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14524 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14525 * gst/gstpad.c: (gst_pad_init):
14526 Use GST_DEBUG_FUNCPTR() more extensively.
14528 2005-11-09 Wim Taymans <wim@fluendo.com>
14530 * gst/gstobject.c: (gst_object_class_init):
14532 Documentation fixes.
14534 2005-11-09 Edward Hervey <edward@fluendo.com>
14536 * gst/gsttypefindfactory.c:
14539 2005-11-09 Edward Hervey <edward@fluendo.com>
14541 * gst/base/gsttypefindhelper.c:
14542 * gst/gsttypefind.c:
14543 * gst/gsttypefind.h:
14546 2005-11-09 Wim Taymans <wim@fluendo.com>
14548 * gst/gstiterator.c:
14555 2005-11-09 Wim Taymans <wim@fluendo.com>
14561 2005-11-09 Wim Taymans <wim@fluendo.com>
14563 * docs/gst/gstreamer-sections.txt:
14564 Moved the message async delivery private lock and cond
14565 to the private section.
14567 * gst/gstmessage.c:
14568 * gst/gstmessage.h:
14571 2005-11-09 Edward Hervey <edward@fluendo.com>
14573 * docs/gst/gstreamer-sections.txt:
14576 Document GstURIHandler
14578 2005-11-09 Wim Taymans <wim@fluendo.com>
14580 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14581 (gst_iterator_find_custom):
14582 * gst/gstiterator.h:
14585 2005-11-09 Wim Taymans <wim@fluendo.com>
14588 Document another field.
14590 * gst/gststructure.c:
14591 * gst/gststructure.h:
14594 2005-11-09 Wim Taymans <wim@fluendo.com>
14597 Documented structs.
14599 2005-11-09 Wim Taymans <wim@fluendo.com>
14601 * docs/gst/gstreamer-sections.txt:
14602 Added some new macros.
14609 2005-11-09 Wim Taymans <wim@fluendo.com>
14611 * docs/design/part-TODO.txt:
14612 Some more items for the TODO
14618 2005-11-09 Andy Wingo <wingo@pobox.com>
14620 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14621 to work on something else now tho...
14623 * gst/base/gstadapter.c: More adapter docs.
14625 * gst/elements/gstfilesink.c (gst_file_sink_start)
14626 (gst_file_sink_stop): New functions, replace the state change
14628 (gst_file_sink_class_init): Hook up the start and stop functions.
14629 (gst_file_sink_base_init): Don't set the state change handler any
14630 more. It was a bit ugly too, being set from here...
14631 (gst_file_sink_get_property, gst_file_sink_set_property):
14633 (gst_file_sink_set_location): More robust check that doesn't call
14634 GST_STATE. Ugggggg.
14636 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14638 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14639 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14641 2005-11-08 Wim Taymans <wim@fluendo.com>
14643 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14644 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14645 (gst_base_sink_chain), (gst_base_sink_change_state):
14646 * gst/base/gstbasesink.h:
14647 * gst/base/gstbasesrc.h:
14648 * gst/gstelement.h:
14650 Avoid excessive typechecking in macros.
14652 * gst/gstminiobject.c: (gst_mini_object_get_type),
14653 (gst_mini_object_init), (gst_mini_object_new),
14654 (gst_mini_object_free):
14655 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14656 (gst_object_finalize):
14657 Remove cruft code, optimize alloc_trace.
14659 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14661 * docs/faq/gst-uninstalled:
14662 fix up PS1 for systems that try to reset it
14664 2005-11-07 Wim Taymans <wim@fluendo.com>
14666 * gst/base/gstbasesrc.c: (gst_base_src_init),
14667 (gst_base_src_get_range):
14668 Set the segment_end to -1 initially. Fixed typefind.
14670 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14672 * gst/base/gstadapter.c:
14673 Debug category should be 'adapter', not 'GstAdapter'.
14675 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14676 (gst_collectpads_class_init), (gst_collectpads_init),
14677 (gst_collectpads_peek), (gst_collectpads_pop),
14678 (gst_collectpads_event), (gst_collectpads_chain):
14679 Add debug category and some debugging output. Use boilerplate
14680 macros. Remove some extraneous words from docs.
14682 2005-11-05 Andy Wingo <wingo@pobox.com>
14684 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14687 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14689 * docs/gst/gstreamer-sections.txt:
14692 * gst/gstminiobject.h:
14697 2005-11-04 Wim Taymans <wim@fluendo.com>
14699 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14700 Small update to stop at the configured segment_end
14703 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14705 * gst/gstregistry.c:
14706 * gst/gstregistry.h:
14709 2005-11-04 Edward Hervey <edward@fluendo.com>
14711 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14712 Check if we are doing a segment seek and have arrived at the
14713 end of that segment.
14715 2005-11-04 Wim Taymans <wim@fluendo.com>
14717 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14718 Don't leak a mutex unlock in case of an error.
14723 2005-11-04 Wim Taymans <wim@fluendo.com>
14725 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14727 Get the context to wake up only once.
14729 2005-11-03 Wim Taymans <wim@fluendo.com>
14731 * check/states/sinks.c: (GST_START_TEST):
14732 Uncomment fixed check.
14734 * docs/design/part-TODO.txt:
14737 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14738 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14739 (gst_base_sink_get_position):
14740 If we are going to PLAYING, post the right pending state
14741 when we post the intermediate paused message.
14743 * gst/gstelement.c: (gst_element_continue_state),
14744 (gst_element_set_state_func), (gst_element_change_state):
14745 Don't post state changes that were between the same state
14746 and were not ASYNC.
14748 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14750 * docs/gst/gstreamer-sections.txt:
14753 * gst/gstminiobject.h:
14756 more docs and doc style fixes
14758 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14760 * docs/gst/gstreamer-sections.txt:
14761 * gst/gstelement.c:
14762 * gst/gstminiobject.c:
14765 2005-11-03 Andy Wingo <wingo@pobox.com>
14767 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14768 state-changed messages actually have the right order and the right
14771 2005-11-03 Wim Taymans <wim@fluendo.com>
14773 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14774 Added some more checks. Specifically the case where NO_PREROLL
14775 elements are in the pipeline.
14777 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14778 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14779 (gst_base_sink_get_position):
14780 Post READY->PAUSED state change messages too.
14781 Fix bug where VOID was posted as pending state...
14783 * gst/gstbin.c: (gst_bin_recalc_state):
14784 use _element_continue_state() to continue the state change.
14786 * gst/gstelement.c: (gst_element_continue_state),
14787 (gst_element_commit_state), (gst_element_set_state_func),
14788 (gst_element_change_state), (gst_element_change_state_func):
14789 Lots of state change cleanups, assign the STATE_RETURN in
14790 a new continue_state() function that also propagates the
14791 last return value from a state change to the app.
14792 Update some debug statements with proper category.
14794 2005-11-03 Wim Taymans <wim@fluendo.com>
14796 * docs/design/part-events.txt:
14797 * docs/design/part-gstpipeline.txt:
14798 * docs/design/part-messages.txt:
14799 * docs/design/part-overview.txt:
14800 * docs/design/part-seeking.txt:
14801 * docs/design/part-states.txt:
14802 * docs/design/part-trickmodes.txt:
14803 * docs/manual/advanced-position.xml:
14804 Small docs updates.
14807 People think !! is ugly, this looks better.
14809 * gst/gstpad.c: (gst_pad_set_blocked_async):
14810 Remove !! since it's fixed elsewhere now.
14812 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14814 * gst/gstminiobject.h:
14816 Add !! to _FLAG_IS_SET macros to make the result boolean.
14818 2005-11-03 Edward Hervey <edward@fluendo.com>
14820 * gst/gstpad.c: (gst_pad_set_blocked_async):
14821 comparing a flag and a gboolean rarely returns coherent results...
14822 Added two characters (!!) to make that work correctly.
14824 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14826 * gst/gstbus.c: (gst_bus_class_init):
14829 * gst/gstqueue.c: (gst_queue_loop):
14830 Don't assume a miniobject that isn't a buffer is an
14831 event (it could be that there is a refcounting
14832 problem somewhere and the pointer is stale and
14833 refers to an already destroyed miniobject).
14835 2005-11-03 Julien MOUTTE <julien@moutte.net>
14837 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14839 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14841 * docs/manual/advanced-position.xml:
14842 Update seek example and explanations to current 0.9 API.
14844 * gst/elements/gsttypefindelement.c:
14845 (gst_type_find_element_activate):
14846 Remove FIXME comment now that the found caps
14849 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14851 * gst/gstregistryxml.c: (load_feature):
14852 Add another GST_STR_NULL instance
14854 2005-11-02 Edward Hervey <edward@fluendo.com>
14856 * gst/gstpad.c: (handle_pad_block):
14857 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14859 2005-11-02 Wim Taymans <wim@fluendo.com>
14864 * gst/gstelement.c: (gst_element_commit_state):
14865 Remove unused value.
14867 * gst/gstiterator.c:
14868 Mention that the returned element is reffed in the docs.
14870 2005-11-02 Wim Taymans <wim@fluendo.com>
14872 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14873 (gst_pad_push), (gst_pad_push_event):
14874 Unlock blocked pads when they are flushed.
14876 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14879 * docs/gst/gstreamer-sections.txt:
14882 * gst/gstregistry.c: (gst_registry_scan_path_level):
14883 fix for a nasty little missed situation where an installed plug-in
14884 which was in the cache did not get overridden by an uninstalled one
14885 which was earlier in the plugin path because the newly created plugin
14886 for the uninstalled one (not in the registry) didn't get its
14887 ->registered set to TRUE
14889 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14891 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14892 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14893 (gst_collectpads_is_active), (gst_collectpads_collect),
14894 (gst_collectpads_collect_range), (gst_collectpads_start),
14895 (gst_collectpads_stop), (gst_collectpads_peek),
14896 (gst_collectpads_pop), (gst_collectpads_available),
14897 (gst_collectpads_read), (gst_collectpads_flush):
14898 Guard public API with assertions.
14901 Fix docs for gst_pad_set_link_function().
14903 2005-11-02 Johan Dahlin <johan@gnome.org>
14905 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14906 Unref found_caps after we used it.
14908 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14910 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14911 Don't try to ref NULL.
14913 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14915 * win32/common/config.h.in:
14916 provide a GST_FUNCTION that just gives a string for now
14918 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14920 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14921 (gst_object_flags_get_type), (register_gst_bin_flags),
14922 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14923 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14924 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14925 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14926 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14927 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14928 (gst_clock_flags_get_type), (register_gst_state),
14929 (gst_state_get_type), (register_gst_state_change_return),
14930 (gst_state_change_return_get_type), (register_gst_state_change),
14931 (gst_state_change_get_type), (register_gst_element_flags),
14932 (gst_element_flags_get_type), (register_gst_core_error),
14933 (gst_core_error_get_type), (register_gst_library_error),
14934 (gst_library_error_get_type), (register_gst_resource_error),
14935 (gst_resource_error_get_type), (register_gst_stream_error),
14936 (gst_stream_error_get_type), (register_gst_event_type),
14937 (gst_event_type_get_type), (register_gst_seek_type),
14938 (gst_seek_type_get_type), (register_gst_seek_flags),
14939 (gst_seek_flags_get_type), (register_gst_format),
14940 (gst_format_get_type), (register_gst_index_certainty),
14941 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14942 (gst_index_entry_type_get_type),
14943 (register_gst_index_lookup_method),
14944 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14945 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14946 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14947 (gst_index_flags_get_type), (register_gst_debug_level),
14948 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14949 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14950 (gst_iterator_result_get_type), (register_gst_iterator_item),
14951 (gst_iterator_item_get_type), (register_gst_message_type),
14952 (gst_message_type_get_type), (register_gst_mini_object_flags),
14953 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14954 (gst_pad_link_return_get_type), (register_gst_flow_return),
14955 (gst_flow_return_get_type), (register_gst_activate_mode),
14956 (gst_activate_mode_get_type), (register_gst_pad_direction),
14957 (gst_pad_direction_get_type), (register_gst_pad_flags),
14958 (gst_pad_flags_get_type), (register_gst_pad_presence),
14959 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14960 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14961 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14962 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14963 (gst_plugin_flags_get_type), (register_gst_rank),
14964 (gst_rank_get_type), (register_gst_query_type),
14965 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14966 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14967 (gst_tag_flag_get_type), (register_gst_task_state),
14968 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14969 (gst_alloc_trace_flags_get_type),
14970 (register_gst_type_find_probability),
14971 (gst_type_find_probability_get_type), (register_gst_uri_type),
14972 (gst_uri_type_get_type), (register_gst_parse_error),
14973 (gst_parse_error_get_type):
14974 * win32/common/gstversion.h:
14975 update win32 copies
14977 2005-11-01 Luca Ognibene <luogni@tin.it>
14980 fix docs. popt is dead, long live GOption.
14982 2005-10-31 Wim Taymans <wim@fluendo.com>
14987 2005-10-31 Andy Wingo <wingo@pobox.com>
14991 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14993 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14994 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14995 the possibility of deadlocks here if code calling notify() or
14996 set() has a lock that can be taken in another notify handler (ABBA
14997 with class lock and e.g. python GIL state lock).
14999 2005-10-28 Julien MOUTTE <julien@moutte.net>
15001 * gst/gstbus.c: Doc updates.
15003 2005-10-28 Wim Taymans <wim@fluendo.com>
15005 * docs/design/part-TODO.txt:
15006 * gst/gstiterator.c:
15007 * gst/gstsystemclock.c:
15008 * gst/gstsystemclock.h:
15011 2005-10-28 Edward Hervey <edward@fluendo.com>
15013 * docs/gst/gstreamer-docs.sgml:
15014 * docs/gst/gstreamer-sections.txt:
15015 the GstURIType documentation page is private, it only defines GstURIType
15016 which should be defined in the GstURIHandler page
15018 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
15020 * gst/gstbin.c: (gst_bin_class_init):
15023 Documentation updates.
15025 2005-10-28 Wim Taymans <wim@fluendo.com>
15027 * docs/gst/gstreamer-sections.txt:
15030 Documented the clocks.
15032 2005-10-28 Stefan Kost <ensonic@users.sf.net>
15034 * docs/gst/gstreamer-sections.txt:
15035 move some macros to private sections
15036 * gst/gstminiobject.c:
15037 * gst/gstminiobject.h:
15038 add descriptions provided by ds and some more
15040 mark macro as to be removed
15042 2005-10-28 Wim Taymans <wim@fluendo.com>
15044 * docs/design/part-TODO.txt:
15045 Add an item to TODO.
15047 * gst/gstiterator.c: (gst_iterator_fold),
15048 (gst_iterator_find_custom):
15049 * gst/gstiterator.h:
15052 2005-10-28 Wim Taymans <wim@fluendo.com>
15054 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15055 (gst_base_transform_init):
15058 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
15059 An EOS event marks the queue as completely filled.
15061 2005-10-27 Wim Taymans <wim@fluendo.com>
15063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15064 (gst_base_sink_do_sync), (gst_base_sink_get_position):
15065 Some more debugging.
15067 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
15068 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
15069 (gst_base_transform_event), (gst_base_transform_getrange),
15070 (gst_base_transform_chain):
15071 * gst/base/gstbasetransform.h:
15073 Protect transform and concurrent buffer alloc with a new lock.
15074 Try not to break ABI/API.
15076 2005-10-27 Wim Taymans <wim@fluendo.com>
15078 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15079 (gst_base_src_init), (gst_base_src_query),
15080 (gst_base_src_default_newsegment),
15081 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15082 (gst_base_src_send_event), (gst_base_src_event_handler),
15083 (gst_base_src_pad_get_range), (gst_base_src_loop),
15084 (gst_base_src_unlock), (gst_base_src_default_negotiate),
15085 (gst_base_src_start), (gst_base_src_deactivate),
15086 (gst_base_src_activate_push), (gst_base_src_change_state):
15087 Move some stuff around and cleanup things.
15089 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
15091 * gst/base/gstbasesrc.c: (gst_base_src_query):
15092 Add missing break statements.
15094 2005-10-27 Wim Taymans <wim@fluendo.com>
15096 * check/gst/gstbin.c: (GST_START_TEST):
15097 An extra refcount is taken in basesrc.
15099 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15100 (gst_base_src_get_range), (gst_base_src_pad_get_range),
15101 (gst_base_src_loop):
15102 Small cleanups, check for flushing after being unlocked from the
15103 LIVE_LOCK. take refcounts correctly (not yet everywhere).
15104 Don't send out EOS when going to READY.
15106 2005-10-27 Wim Taymans <wim@fluendo.com>
15108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15109 (gst_base_sink_get_position):
15112 * gst/gstbin.c: (message_check), (bin_replace_message),
15113 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15114 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15115 (bin_query_duration_init), (bin_query_duration_fold),
15116 (bin_query_duration_done), (bin_query_generic_fold),
15118 * tools/gst-launch.c: (main):
15121 2005-10-26 Stefan Kost <ensonic@users.sf.net>
15123 * examples/controller/audio-example.c: (main):
15124 * examples/queue/queue.c: (event_loop):
15125 * gst/base/gstbasetransform.h:
15126 * gst/gstelement.c: (gst_element_send_event):
15128 * gst/gstpad.c: (gst_pad_send_event):
15131 changing log priority in error situations
15133 2005-10-25 Wim Taymans <wim@fluendo.com>
15135 * gst/gstbin.c: (message_check), (bin_replace_message),
15136 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15137 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15138 (bin_query_duration_init), (bin_query_duration_fold),
15139 (bin_query_duration_done), (bin_query_generic_fold),
15141 Some doc and debug updates.
15142 Cache previously requested query DURATION for speed. invalidate
15143 cached duration if element posts a DURATION message.
15145 2005-10-25 Wim Taymans <wim@fluendo.com>
15147 * docs/design/part-TODO.txt:
15150 * gst/gstbin.c: (message_check), (bin_replace_message),
15151 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15152 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
15153 (bin_query_duration_init), (bin_query_duration_fold),
15154 (bin_query_duration_done), (bin_query_generic_fold),
15156 Handle SEGMENT_START/DONE messages correctly.
15157 More evolved query algorithm that handles duration queries
15160 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
15161 (gst_element_get_state_func), (gst_element_abort_state),
15162 (gst_element_commit_state), (gst_element_lost_state):
15163 Some more debugging.
15165 * gst/gstmessage.h:
15168 2005-10-25 Wim Taymans <wim@fluendo.com>
15170 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15171 Don't use invalid stream_time.
15173 * gst/gstevent.c: (gst_event_new_newsegment):
15174 stream_time in newsegment cannot be undefined.
15176 2005-10-24 Wim Taymans <wim@fluendo.com>
15181 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15183 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
15185 2005-10-24 Stefan Kost <ensonic@users.sf.net>
15187 * docs/libs/tmpl/gstdparam.sgml:
15188 * docs/libs/tmpl/gstdplinint.sgml:
15189 * docs/libs/tmpl/gstdpman.sgml:
15190 * docs/libs/tmpl/gstdpsmooth.sgml:
15191 * docs/libs/tmpl/gstunitconvert.sgml:
15194 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
15199 === release 0.9.4 ===
15201 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15204 releasing 0.9.4, "Tyrannosaurus Rex"
15206 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
15208 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15209 (gst_file_sink_get_current_offset):
15210 Use fseeko() and ftello() if available. When falling back on
15211 lseek() to get the current offset, fflush() first to make sure
15212 everything is up-to-date and we get the right offset.
15214 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
15216 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15217 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15218 * gst/gsterror.c: (_gst_stream_errors_init):
15220 * gst/gstqueue.c: (gst_queue_loop):
15222 remove prematurely added error category and clean up the instances
15224 2005-10-21 Wim Taymans <wim@fluendo.com>
15226 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15227 (gst_base_sink_get_position), (gst_base_sink_query),
15228 (gst_base_sink_change_state):
15229 Simply set the right flag when going to playing, that's all
15230 we need to do instead of calling a function inside the object
15231 lock (that could take the lock as well and deadlock)
15233 2005-10-21 Wim Taymans <wim@fluendo.com>
15235 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
15236 (gst_base_src_loop):
15237 Don't warn, the peer element knows what to do best when
15238 the seek failed, it might try something else.
15240 2005-10-21 Wim Taymans <wim@fluendo.com>
15242 * gst/base/gstbasesrc.c: (gst_base_src_init),
15243 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15246 2005-10-21 Wim Taymans <wim@fluendo.com>
15248 * docs/design/part-segments.txt:
15251 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15252 Correctly set caps, even on the subbufer.
15254 2005-10-21 Wim Taymans <wim@fluendo.com>
15256 * docs/gst/gstreamer-docs.sgml:
15257 * docs/gst/gstreamer-sections.txt:
15258 * gst/gstelement.h:
15261 * gst/gstmessage.h:
15264 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15268 And 2% more doc coverage.
15270 2005-10-21 Andy Wingo <wingo@pobox.com>
15272 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15273 position reporting.
15275 2005-10-20 Wim Taymans <wim@fluendo.com>
15277 * gst/gsterror.c: (gst_error_get_message):
15280 * gst/gststructure.c:
15285 2005-10-20 Wim Taymans <wim@fluendo.com>
15290 Another 1% more coverage.
15292 2005-10-20 Wim Taymans <wim@fluendo.com>
15294 * docs/gst/gstreamer-sections.txt:
15295 * gst/gstelement.c: (gst_element_get_state_func),
15296 (gst_element_abort_state), (gst_element_commit_state),
15297 (gst_element_lost_state):
15299 * gst/gstquery.c: (gst_query_set_position),
15300 (gst_query_parse_position), (gst_query_set_duration),
15301 (gst_query_parse_duration), (gst_query_new_convert):
15303 Yay! 1% more docs coverage.
15305 2005-10-20 Wim Taymans <wim@fluendo.com>
15308 * gst/gstquery.c: (gst_query_set_position),
15309 (gst_query_parse_position), (gst_query_set_duration),
15310 (gst_query_parse_duration), (gst_query_new_convert):
15312 * gst/gstutils.c: (gst_element_query_convert):
15314 Docs and consistency fixes.
15316 2005-10-20 Wim Taymans <wim@fluendo.com>
15322 2005-10-20 Wim Taymans <wim@fluendo.com>
15324 * gst/gstbin.c: (message_check), (bin_replace_message),
15325 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15326 (update_degree), (gst_bin_sort_iterator_next),
15327 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15328 Reworked the message handling a bit, cache the messages instead of
15329 only the senders. alows us to do more in the future.
15331 2005-10-20 Wim Taymans <wim@fluendo.com>
15333 * docs/design/part-TODO.txt:
15336 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15337 (gst_base_sink_query):
15338 Don't use clock time to report position when in EOS.
15340 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15342 * tools/gst-inspect.c: (print_interfaces),
15343 (print_element_properties_info), (print_element_info):
15344 Fix interface output with gst-inspect -a; don't print
15345 newlines after double/float properties.
15347 2005-10-20 Wim Taymans <wim@fluendo.com>
15349 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15350 (gst_base_sink_query):
15351 Speed up current position calculation.
15353 * gst/base/gstbasesrc.c: (gst_base_src_query),
15354 (gst_base_src_default_newsegment):
15355 Correctly set stream position in newsegment.
15357 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15358 (update_degree), (gst_bin_sort_iterator_next),
15359 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15360 * gst/gstmessage.c: (gst_message_new_custom):
15361 Clean up debugging info
15363 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15364 (gst_queue_loop), (gst_queue_handle_src_query):
15367 2005-10-19 Wim Taymans <wim@fluendo.com>
15369 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15370 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15371 Fix query handling again.
15373 2005-10-19 Wim Taymans <wim@fluendo.com>
15375 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15376 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15377 * gst/base/gstbasesrc.c: (gst_base_src_query):
15378 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15379 * gst/elements/gsttypefindelement.c:
15380 (gst_type_find_handle_src_query), (find_element_get_length),
15381 (gst_type_find_element_activate):
15384 * gst/gstquery.c: (gst_query_new_position),
15385 (gst_query_set_position), (gst_query_parse_position),
15386 (gst_query_new_duration), (gst_query_set_duration),
15387 (gst_query_parse_duration), (gst_query_set_segment),
15388 (gst_query_parse_segment):
15390 Bundling query position/duration is not a good idea since duration
15391 does not change much and we don't want to recalculate it for every
15392 position query, so they are separated again..
15393 Base value in segment query is not needed.
15395 * gst/gstqueue.c: (gst_queue_handle_src_query):
15396 * gst/gstutils.c: (gst_element_query_position),
15397 (gst_element_query_duration), (gst_pad_query_position),
15398 (gst_pad_query_duration):
15400 Updates for query API change.
15401 Added some docs here and there.
15403 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15405 * check/gst/gstbin.c: (GST_START_TEST):
15406 * check/gst/gstghostpad.c: (GST_START_TEST):
15407 * check/pipelines/cleanup.c: (GST_START_TEST):
15408 wait on thread to die so we can check refcount correctly
15410 2005-10-18 Wim Taymans <wim@fluendo.com>
15412 * check/pipelines/stress.c: (GST_START_TEST):
15413 Make check a little more time consuming.
15415 2005-10-18 Wim Taymans <wim@fluendo.com>
15417 * check/Makefile.am:
15418 * check/pipelines/stress.c: (GST_START_TEST),
15419 (simple_launch_lines_suite), (main):
15420 Small state change torture test.
15422 * docs/design/part-states.txt:
15423 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15424 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15425 (gst_base_sink_change_state):
15426 Never take state lock from streaming thread, clean up ugly
15427 hacks. Unfortunatly core does not yet support nice ways to
15428 async commit state.
15430 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15432 Start state recalc if a STATE_DIRTY message is posted, but only
15433 on the toplevel bin.
15435 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15436 (gst_element_get_state_func), (gst_element_abort_state),
15437 (gst_element_commit_state), (gst_element_lost_state),
15438 (gst_element_set_state_func), (gst_element_change_state):
15439 * gst/gstelement.h:
15440 State variables are now protected with the LOCK, the state
15441 lock is only used to serialize _set_state().
15443 2005-10-18 Wim Taymans <wim@fluendo.com>
15445 * check/gst/gstbin.c: (GST_START_TEST):
15446 * check/gst/gstmessage.c: (GST_START_TEST):
15447 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15448 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15450 * gst/gstelement.c: (gst_element_abort_state),
15451 (gst_element_commit_state), (gst_element_lost_state):
15452 * gst/gstmessage.c: (gst_message_new_state_changed),
15453 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15454 (gst_message_new_segment_done), (gst_message_new_duration),
15455 (gst_message_parse_state_changed),
15456 (gst_message_parse_segment_start),
15457 (gst_message_parse_segment_done), (gst_message_parse_duration):
15458 * gst/gstmessage.h:
15459 * tools/gst-launch.c: (event_loop):
15460 Seriously, this is better than a previous commit as we only need
15461 to notify the fact that an element changed state in a streaming
15462 thread, marking the state of the parents dirty, hence the
15463 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15466 2005-10-18 Wim Taymans <wim@fluendo.com>
15468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15469 (gst_bin_recalc_func):
15470 * gst/gstelement.c: (gst_element_set_clock),
15471 (gst_element_abort_state), (gst_element_lost_state):
15472 Cleanups, prepare for state change fixes.
15474 2005-10-18 Wim Taymans <wim@fluendo.com>
15477 * gst/gstelement.c: (gst_element_class_init),
15478 (gst_element_set_state), (gst_element_set_state_func):
15479 * gst/gstelement.h:
15480 Pending ABI changes.
15481 GThreadPool in GstBinClass to monitor async state changes.
15482 state_cookie in GstElement to detect concurrent gst/set state.
15483 set_state is now virtual too in case a very complicated element
15484 has to be constructed.
15486 2005-10-18 Wim Taymans <wim@fluendo.com>
15488 * check/gst/gstbin.c: (GST_START_TEST):
15489 * check/gst/gstmessage.c: (GST_START_TEST):
15490 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15491 * gst/gstbin.c: (bin_bus_handler):
15492 * gst/gstelement.c: (gst_element_commit_state),
15493 (gst_element_lost_state):
15494 * gst/gstmessage.c: (gst_message_new_state_changed),
15495 (gst_message_new_segment_start), (gst_message_new_segment_done),
15496 (gst_message_new_duration), (gst_message_parse_state_changed),
15497 (gst_message_parse_segment_start),
15498 (gst_message_parse_segment_done), (gst_message_parse_duration):
15499 * gst/gstmessage.h:
15500 * tools/gst-launch.c: (event_loop):
15501 Make messages future proof.
15502 state-change gets a flag if it was a message comming from the
15504 segment-start/stop can also be specified in other formats.
15505 A message to notify an app that a pipeline changed playback
15507 Also fix a GstMessage leak in -launch
15509 2005-10-18 Andy Wingo <wingo@pobox.com>
15511 * gst/gstelement.c (gst_element_dispose): More helpful message.
15513 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15515 reviewed by: <delete if not using a buddy>
15517 * common/gtk-doc.mak:
15519 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15521 * gst/gstregistry.c: (gst_registry_scan_path_level):
15522 unref a plug-in we get that was already initialized
15524 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15526 * docs/gst/gstreamer-sections.txt:
15527 * docs/libs/gstreamer-libs-sections.txt:
15528 * gst/gstelement.h:
15529 add new api entries
15530 hide internal macro
15532 2005-10-17 Andy Wingo <wingo@pobox.com>
15534 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15537 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15539 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15541 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15542 (gst_element_get_state_func): Better debug message.
15543 (gst_element_commit_state): s/INFO/DEBUG/.
15544 (gst_element_lost_state, gst_element_change_state):
15546 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15547 (gst_message_new_custom): s/INFO/LOG/.
15549 2005-10-17 Michael Smith <msmith@fluendo.com>
15551 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15552 Check if end time is valid using end time, not start time.
15554 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15556 * check/gst-libs/controller.c: (GST_START_TEST),
15557 (gst_controller_suite):
15558 * libs/gst/controller/gstcontroller.c:
15559 (gst_controlled_property_set_interpolation_mode):
15560 * libs/gst/controller/gstcontroller.h:
15561 * libs/gst/controller/gstinterpolation.c:
15562 * testsuite/controller/.cvsignore:
15563 * testsuite/controller/Makefile.am:
15564 * testsuite/controller/interpolator.c:
15565 merge controller testsuites
15567 remove mem-chunk from docs
15569 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15571 * gst/gstmemchunk.c:
15572 * gst/gstmemchunk.h:
15573 * gst/gsttrashstack.c:
15574 * gst/gsttrashstack.h:
15575 out. get out. you're fired. to the Attic !
15577 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15579 * gst/gstcaps.c: (gst_caps_intersect):
15580 fix signedness issues in a (hopefully) correct way
15581 * gst/gstelement.c: (gst_element_pads_activate):
15583 * gst/gstobject.c: (gst_object_set_parent):
15586 2005-10-17 Julien MOUTTE <julien@moutte.net>
15588 * gst/gstvalue.h: Fix prototypes.
15590 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15592 * docs/gst/gstreamer-sections.txt:
15593 * gst/gst.c: (gst_version_string):
15595 * gst/gstversion.h.in:
15596 * win32/common/libgstreamer.def:
15597 add gst_version_string ()
15599 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15603 * gst/gst.c: (init_post):
15604 * win32/common/config.h.in:
15606 * gst/gstcaps.c: (gst_caps_intersect):
15607 use gint64, the range could be bigger than a guint
15609 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15612 document potential problem in 2038
15614 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15616 * gst/gstcaps.c: (gst_caps_intersect):
15617 Fix guint j diving under 0
15619 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15622 * win32/common/config.h:
15623 * win32/common/config.h.in:
15624 check for process.h, declares getpid() on Windows
15626 include process.h if we have it
15627 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15628 * gst/gstmemchunk.h:
15629 fix signedness issues
15630 * win32/common/libgstreamer.def:
15633 2005-10-16 Julien MOUTTE <julien@moutte.net>
15635 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15636 fix. Because of unsigned ints, caps intersection was going nuts and
15637 trying to access structures with G_MAXUINT index. That fixes
15638 videotestsrc ! ffmpegcolorspace ! fakesink
15639 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15642 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15645 use the gettext macro
15646 * gst/elements/gstelements.c:
15648 * gst/indexers/gstindexers.c:
15649 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15650 * win32/common/config.h:
15652 * win32/common/config.h.in:
15653 add the template to generate config.h
15654 * win32/common/gstenumtypes.c:
15655 * win32/common/gstversion.h:
15658 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15660 * gst/gst.c: (gst_version):
15661 * gst/gstversion.h.in:
15664 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15667 Oops, add missing closing bracket.
15669 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15672 use common m4's for argument checking
15674 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15676 * docs/gst/gstreamer-sections.txt:
15678 Add GST_EVENT_TYPE_NAME() macro.
15680 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15683 * gst/gstpluginfeature.c:
15685 privatize more symbols
15687 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15690 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15691 everything that uses GStreamer API should have the includes
15693 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15695 * docs/gst/gstreamer-sections.txt:
15696 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15698 give each value a _get_type, removes the DATA exports
15700 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15704 remove _gst_registry_auto_load, not used anymore
15705 * gst/gstbin.c: (gst_bin_get_type):
15707 * gst/gstelement.c: (gst_element_get_type):
15708 * gst/gstelement.h:
15709 * gst/gstobject.c: (gst_object_get_type):
15711 * gst/gstpad.c: (gst_pad_get_type):
15713 make _get_type functions similar, fixes data export from library
15715 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15718 correctly make conditionals
15719 * gst/elements/Makefile.am:
15720 * gst/elements/gstelements.c:
15721 fix typo causing fdsrc not to build
15723 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15725 * testsuite/Makefile.am:
15726 * testsuite/bytestream/.cvsignore:
15727 * testsuite/bytestream/Makefile.am:
15728 * testsuite/bytestream/filepadsink.c:
15729 * testsuite/bytestream/gstbstest.c:
15730 * testsuite/bytestream/test1.c:
15731 * testsuite/bytestream/testfile1:
15732 * testsuite/caps/normalisation.c:
15733 * testsuite/caps/random.c: (main):
15734 * testsuite/cleanup/.cvsignore:
15735 * testsuite/cleanup/Makefile.am:
15736 * testsuite/cleanup/cleanup1.c:
15737 * testsuite/cleanup/cleanup2.c:
15738 * testsuite/cleanup/cleanup3.c:
15739 * testsuite/cleanup/cleanup4.c:
15740 * testsuite/cleanup/cleanup5.c:
15741 * testsuite/controller/interpolator.c:
15742 * testsuite/debug/printf_extension.c: (main):
15743 * testsuite/elements/tee.c:
15744 * testsuite/negotiation/.cvsignore:
15745 * testsuite/negotiation/Makefile.am:
15746 * testsuite/negotiation/pad_link.c:
15747 * testsuite/pad/Makefile.am:
15748 * testsuite/pad/chainnopull.c:
15749 * testsuite/pad/getnopush.c:
15750 * testsuite/pad/link.c:
15751 * testsuite/refcounting/sched.c: (create_pipeline):
15752 * testsuite/registry/Makefile.am:
15753 * testsuite/registry/gst-print-formats.c:
15754 * testsuite/schedulers/.cvsignore:
15755 * testsuite/schedulers/142183-2.c:
15756 * testsuite/schedulers/142183.c:
15757 * testsuite/schedulers/143777-2.c:
15758 * testsuite/schedulers/143777.c:
15759 * testsuite/schedulers/147713.c:
15760 * testsuite/schedulers/147819.c:
15761 * testsuite/schedulers/147894-2.c:
15762 * testsuite/schedulers/147894.c:
15763 * testsuite/schedulers/Makefile.am:
15764 * testsuite/schedulers/group_link.c:
15765 * testsuite/schedulers/queue_link.c:
15766 * testsuite/schedulers/relink.c:
15767 * testsuite/schedulers/unlink.c:
15768 * testsuite/schedulers/unref.c:
15769 * testsuite/schedulers/useless_iteration.c:
15770 * testsuite/states/bin.c:
15771 clean out/remove some stuff from the testsuite directories
15773 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15776 check for some headers
15777 * gst/elements/Makefile.am:
15778 * gst/elements/gstelements.c:
15779 don't compile fdsrc without sys/socket.h
15780 * gst/indexers/Makefile.am:
15781 * gst/indexers/gstindexers.c: (plugin_init):
15782 don't compile fileindex without mmap
15784 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15791 * check/Makefile.am:
15792 * docs/gst/Makefile.am:
15793 * examples/helloworld/Makefile.am:
15795 * gst/base/Makefile.am:
15796 * gst/check/Makefile.am:
15797 * gst/elements/Makefile.am:
15798 * gst/indexers/Makefile.am:
15799 * gst/parse/Makefile.am:
15800 * libs/gst/controller/Makefile.am:
15801 * libs/gst/dataprotocol/Makefile.am:
15802 * examples/helloworld/helloworld.c: (event_loop):
15803 compile fixes, though it's not being compiled currently
15805 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15807 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15808 Add some simple tests for the new taglist date API.
15810 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15812 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15813 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15814 Beautify 'last-message' output: print 'none' for buffer timestamps
15815 and durations if none is set; improve alignment with next messages.
15817 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15819 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15820 * gst/gstpluginfeature.h:
15821 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15822 * gst/gstregistry.h:
15823 * docs/gst/gstreamer-sections.txt:
15824 Add new API to check plugin feature version requirements.
15826 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15827 Some basic tests for the above.
15829 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15831 * gst/gststructure.c: (gst_structure_to_string):
15832 guard against NULL printf - happens when for example
15833 a message structure with GstClock gets serialized
15835 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15837 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15838 Fix presumable copy'n'pasto.
15840 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15842 * gst/elements/gstfakesrc.h:
15843 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15844 * gst/elements/gsttypefindelement.c:
15845 fix some signedness
15846 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15847 I wonder if this could actually write +2GB files before
15849 2005-10-13 Andy Wingo <wingo@pobox.com>
15851 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15852 Fix Timmeke Waymans bug.
15853 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15854 string of the proper length to gst_caps_from_string. There's a
15855 potential for, before this fix, that this could cause someone
15856 connecting over the network to cause a segfault if the payload is
15857 not NUL-terminated.
15859 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15861 * docs/design/draft-push-pull.txt:
15862 * docs/design/part-overview.txt:
15863 * docs/random/TODO-pre-0.9:
15864 * docs/random/old/ChangeLog.gstreamer:
15865 * gst/base/gstpushsrc.c:
15869 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15871 * gst/glib-compat.c: (gst_flags_get_first_value):
15872 * gst/glib-compat.h:
15873 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15874 (gst_value_compare_double), (gst_value_serialize_flags):
15875 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15878 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15881 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15883 * tools/gst-launch.c: (event_loop):
15884 print out clock nicely
15886 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15888 * docs/gst/gstreamer-sections.txt:
15889 * gst/gsttaglist.h:
15890 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15891 (gst_tag_list_get_date_index):
15892 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15893 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15895 2005-10-13 Julien MOUTTE <julien@moutte.net>
15897 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15898 (gst_collectpads_chain):
15899 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15902 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15904 * docs/gst/gstreamer-sections.txt:
15907 * tools/gst-inspect.c: (main):
15908 * tools/gst-launch.c: (main):
15909 * tools/gst-run.c: (main):
15910 * tools/gst-xmlinspect.c: (main):
15911 fix GOption context leaks
15914 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15918 * win32/common/config.h:
15920 * win32/vs6/grammar.dsp:
15921 * win32/vs6/libgstelements.dsp:
15922 * win32/vs6/libgstreamer.dsp:
15925 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15928 * gst/base/gstbasesrc.c: (gst_base_src_query):
15929 fix more guint64<->gdouble conversions
15931 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15934 add win32-update target
15935 * win32/common/gstconfig.h:
15936 * win32/common/gstenumtypes.c:
15937 * win32/common/gstenumtypes.h:
15938 * win32/common/gstversion.h:
15939 add files that visual studio can't generate
15941 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15944 add a win32-update target
15947 2005-10-12 Wim Taymans <wim@fluendo.com>
15949 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15950 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15951 * gst/gstelement.c: (gst_element_commit_state),
15952 (gst_element_set_state):
15953 Protect flags with proper lock.
15954 unref provided cached clock in dispose.
15956 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15959 * gst/gstminiobject.h:
15961 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15962 removed unused flags from miniobject
15965 2005-10-12 Wim Taymans <wim@fluendo.com>
15967 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15968 (gst_file_sink_event), (gst_file_sink_render):
15969 Flush before seeking.
15971 2005-10-12 Andy Wingo <wingo@pobox.com>
15973 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15974 always been the case.
15976 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15978 * check/gst/gstbin.c: (GST_START_TEST):
15979 * docs/gst/gstreamer-sections.txt:
15980 * gst/base/gstbasesink.c: (gst_base_sink_init):
15981 * gst/base/gstbasesrc.c: (gst_base_src_init),
15982 (gst_base_src_get_range), (gst_base_src_check_get_range),
15983 (gst_base_src_start), (gst_base_src_stop):
15984 * gst/base/gstbasesrc.h:
15985 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15986 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15987 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15991 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15993 * gst/gstelement.c: (gst_element_is_locked_state),
15994 (gst_element_set_locked_state), (gst_element_commit_state),
15995 (gst_element_set_state):
15996 * gst/gstelement.h:
15997 * gst/gstindex.c: (gst_index_init):
15999 * gst/gstminiobject.h:
16000 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
16001 (gst_object_set_parent):
16003 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
16004 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
16006 * gst/gstpadtemplate.h:
16007 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
16008 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16009 * gst/gstpipeline.h:
16010 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16011 (gst_file_index_commit):
16012 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
16013 * testsuite/pad/link.c: (gst_test_src_init),
16014 (gst_test_filter_init), (gst_test_sink_init):
16015 * testsuite/states/locked.c: (main):
16016 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
16017 moved bitshift from macro to enum definition
16019 2005-10-12 Wim Taymans <wim@fluendo.com>
16021 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
16022 * gst/elements/gstfilesink.c: (gst_file_sink_event),
16023 (gst_file_sink_render):
16024 Some more debugging info.
16026 2005-10-12 Wim Taymans <wim@fluendo.com>
16028 * docs/design/part-states.txt:
16029 * tools/gst-launch.c: (main):
16031 Revert non-intentional change.
16033 2005-10-12 Wim Taymans <wim@fluendo.com>
16035 * check/gst/gstbin.c: (GST_START_TEST):
16036 * check/gst/gstelement.c: (GST_START_TEST):
16037 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
16038 * check/gst/gstghostpad.c: (GST_START_TEST):
16039 * check/gst/gstpipeline.c: (GST_START_TEST):
16040 * check/pipelines/simple_launch_lines.c: (run_pipeline):
16041 * check/states/sinks.c: (GST_START_TEST):
16042 * gst/elements/gsttypefindelement.c: (stop_typefinding):
16043 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16044 (gst_bin_remove_func), (gst_bin_get_state_func),
16045 (gst_bin_recalc_state), (gst_bin_change_state_func),
16047 * gst/gstelement.c: (gst_element_get_state_func),
16048 (gst_element_get_state), (gst_element_abort_state),
16049 (gst_element_commit_state), (gst_element_set_state),
16050 (gst_element_change_state), (gst_element_change_state_func):
16051 * gst/gstelement.h:
16052 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
16053 (gst_pipeline_provide_clock_func):
16054 * gst/gstutils.c: (gst_element_link_pads_filtered):
16055 * tools/gst-launch.c: (main):
16056 * tools/gst-typefind.c: (main):
16057 Use GstClockTime in _get_state() instead of GTimeVal.
16058 Remove old code in gstutils.c
16060 2005-10-12 Andy Wingo <wingo@pobox.com>
16062 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
16065 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
16066 there is no task. Shouldn't affect any code, as nothing in our
16067 plugins checks this return value.
16068 (gst_pad_stop_task): Also take the stream lock if the pad has no
16069 task. Docs updated.
16071 2005-10-12 Wim Taymans <wim@fluendo.com>
16073 * gst/gstpad.c: (pre_activate), (post_activate),
16074 (gst_pad_activate_pull), (gst_pad_activate_push):
16075 Cleanup activation code. Reset old state if
16078 2005-10-12 Wim Taymans <wim@fluendo.com>
16080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16081 (gst_base_sink_change_state):
16082 No need to prerol after receiving EOS.
16084 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
16085 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
16086 * gst/elements/gstidentity.c: (gst_identity_event):
16087 Print events more verbosely.
16089 2005-10-12 Wim Taymans <wim@fluendo.com>
16091 * check/Makefile.am:
16092 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16093 * check/states/sinks2.c:
16094 Moved sinks2 testcode in sinks check.
16096 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16097 (gst_bin_remove_func), (gst_bin_recalc_state),
16098 (gst_bin_change_state_func), (bin_bus_handler):
16099 Fix potential race condition when _get_state() iterated over an
16100 ASYNC element right before it posted a state completion.
16103 Do proper cast here.
16105 * gst/gstevent.c: (gst_event_new_newsegment),
16106 (gst_event_parse_newsegment):
16107 A playback rate of 0.0 is not allowed.
16109 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16111 * win32/common/config.h:
16112 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
16113 (_trewinddir), (_ttelldir), (_tseekdir):
16114 * win32/common/dirent.h:
16115 * win32/common/gtchar.h:
16116 * win32/common/libgstbase.def:
16117 * win32/common/libgstreamer.def:
16118 * win32/vs6/grammar.dsp:
16119 * win32/vs6/gst_inspect.dsp:
16120 * win32/vs6/gst_launch.dsp:
16121 * win32/vs6/gstreamer.dsw:
16122 * win32/vs6/libgstbase.dsp:
16123 * win32/vs6/libgstelements.dsp:
16124 * win32/vs6/libgstreamer.dsp:
16125 Visual Studio 6 project files, and a new common directory.
16128 2005-10-11 Wim Taymans <wim@fluendo.com>
16130 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16131 (gst_base_sink_do_sync), (gst_base_sink_query),
16132 (gst_base_sink_change_state):
16133 * gst/base/gstbasesink.h:
16134 Correctly parse newsegment info.
16136 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16138 * gst/gst.c: (init_post):
16139 split plugin paths correctly
16141 2005-10-11 Wim Taymans <wim@fluendo.com>
16143 * check/gst/gstevent.c: (GST_START_TEST):
16144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16145 (gst_base_sink_change_state):
16146 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
16147 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16148 * gst/elements/gstfilesink.c: (gst_file_sink_event):
16149 * gst/gstevent.c: (gst_event_new_newsegment),
16150 (gst_event_parse_newsegment):
16152 Added extra flag to newsegment for future API freeze.
16153 Updated check and base elements.
16155 2005-10-11 Julien MOUTTE <julien@moutte.net>
16157 * gst/base/gstcollectpads.c: (gst_collectpads_init),
16158 (gst_collectpads_add_pad), (gst_collectpads_pop),
16159 (gst_collectpads_event), (gst_collectpads_chain):
16160 * gst/base/gstcollectpads.h: Handle EOS correctly.
16162 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16164 * tools/gst-launch.c: (main):
16165 more null protecting
16167 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16169 * gst/gst-i18n-lib.h:
16170 check for ENABLE_NLS, not GETTEXT_PACKAGE
16171 * gst/gstregistry.c: (gst_registry_add_plugin),
16172 (gst_registry_scan_path_level),
16173 (_gst_registry_remove_cache_plugins):
16174 protect possibly NULL strings
16175 * gst/parse/types.h:
16176 config.h already included before
16177 * tools/gst-inspect.c: (main):
16178 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
16179 check for ENABLE_NLS, not GETTEXT_PACKAGE
16180 * tools/gst-launch.c: (main):
16181 check for ENABLE_NLS, not GETTEXT_PACKAGE
16183 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16186 if we don't have glib, fail before testing 2.8
16187 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
16188 fix a leak, should fix plugins-base testsuite
16190 2005-10-11 Andy Wingo <wingo@pobox.com>
16192 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
16193 take the mode we're going to as an arg. Go head and set the mode
16194 and flushing flags now, so that if the activate function starts a
16195 thread all the flags will be in the right state.
16196 (post_activate): Renamed also. Just handle making sure streaming
16197 finishes for the deactivation case, and setting the deactivated
16199 (gst_pad_set_active): Complain loudly if deactivation fails.
16200 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
16201 (gst_pad_activate_push): Adapt to pre/post_activate changes,
16202 remove the terrible hack.
16204 2005-10-11 Wim Taymans <wim@fluendo.com>
16206 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16207 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
16208 (gst_bin_recalc_state), (gst_bin_change_state_func),
16209 (gst_bin_dispose), (bin_bus_handler):
16211 Prepare to make current EOS message queue more generic.
16214 * gst/gstevent.c: (gst_event_new_newsegment),
16215 (gst_event_parse_newsegment):
16217 Rename base to stream_time.
16219 * gst/gstmessage.h:
16222 2005-10-11 Wim Taymans <wim@fluendo.com>
16224 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
16225 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
16226 (gst_bin_change_state_func), (bin_bus_handler):
16228 Work on proper clock selection.
16230 2005-10-11 Edward Hervey <edward@fluendo.com>
16232 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
16233 * libs/gst/controller/gstcontroller.h:
16234 Added GList* version of _remove_properties() in order to be able to wrap
16237 2005-10-11 Wim Taymans <wim@fluendo.com>
16239 * docs/design/part-states.txt:
16242 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
16243 (gst_bin_change_state_func), (bin_bus_handler):
16244 Doc updates. Don't distribute the same clock over and over again.
16250 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16251 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16252 (gst_pad_send_event):
16254 Make probe emission threadsafe again.
16255 Register quarks and move _get_name() from utils.
16258 * gst/gstpipeline.c: (gst_pipeline_class_init),
16259 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16260 Only redistribute the clock of it changed.
16262 * gst/gstsystemclock.h:
16267 Moved the _flow_get_name() to GstPad.
16269 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16271 * check/gst-libs/gdp.c: (GST_START_TEST):
16272 * check/gst/gstcaps.c: (GST_START_TEST):
16273 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16274 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16275 (gst_dp_packet_from_caps):
16276 fix more valgrind warnings before turning up the heat
16278 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16280 * gst/parse/grammar.y:
16281 some cleanup before the hacking
16283 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16285 * gst/base/gstbasesrc.c: (gst_base_src_query):
16287 * gst/gstutils.c: (gst_guint64_to_gdouble),
16288 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16290 externalize, basesrc uses it
16291 obviously the implementation needs testing
16293 2005-10-10 Wim Taymans <wim@fluendo.com>
16295 * tests/sched/Makefile.am:
16296 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16297 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16299 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16301 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16302 apparently converting from guint64 to double is not implemented
16305 2005-10-10 Wim Taymans <wim@fluendo.com>
16307 * check/Makefile.am:
16308 * check/generic/states.c: (GST_START_TEST):
16309 * check/gst/gstbin.c: (GST_START_TEST):
16310 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16311 * check/states/sinks.c: (GST_START_TEST):
16312 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16314 Check fixes, use API as stated in design docs, remove hacks.
16316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16317 (gst_base_sink_change_state):
16318 Catch stopping our task while we're shutting down.
16320 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16321 (gst_bin_remove_func), (gst_bin_get_state_func),
16322 (gst_bin_recalc_state), (gst_bin_change_state_func),
16325 * gst/gstelement.c: (gst_element_init),
16326 (gst_element_get_state_func), (gst_element_abort_state),
16327 (gst_element_commit_state), (gst_element_lost_state),
16328 (gst_element_set_state), (gst_element_change_state),
16329 (gst_element_change_state_func):
16330 * gst/gstelement.h:
16331 New state change algorithm (see #318116)
16333 * gst/gstpipeline.c: (gst_pipeline_class_init),
16334 (gst_pipeline_init), (gst_pipeline_set_property),
16335 (gst_pipeline_get_property), (do_pipeline_seek),
16336 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16337 * gst/gstpipeline.h:
16338 Remove crude state change hacks.
16341 Remove crude hacks.
16343 * tools/gst-launch.c: (main):
16344 Fixes for state change. Needs some more work to fully use the
16347 2005-10-10 Andy Wingo <wingo@pobox.com>
16349 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16351 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16352 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16355 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16357 * gst/gstiterator.c: (gst_iterator_new):
16358 Fix my previous commit: GTypes passed to gst_iterator_new()
16359 can be fundamental types.
16361 2005-10-10 Wim Taymans <wim@fluendo.com>
16363 * gst/gstelement.c: (gst_element_iterate_pad_list),
16364 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16365 (gst_element_iterate_sink_pads):
16366 Use src/sink pads lists for the respective iterators instead
16369 2005-10-10 Andy Wingo <wingo@pobox.com>
16371 Merged in popt removal + GOption addition patch from Ronald, bug
16374 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16375 GstElement macros around, remove popt-related symbols, add goption
16378 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16380 * docs/gst/Makefile.am:
16381 * docs/libs/Makefile.am: No POPT_CFLAGS.
16383 * examples/manual/Makefile.am:
16384 * docs/manual/basics-init.xml: Doc updates with an example.
16386 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16387 (gst_init), (parse_one_option), (parse_goption_arg):
16388 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16389 bit of hand merging and debugging to get the GOption stuff working
16392 * tests/Makefile.am:
16393 * tools/Makefile.am:
16394 * tools/gst-inspect.c: (main):
16395 * tools/gst-launch.c: (main):
16396 * tools/gst-run.c: (main):
16397 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16399 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16401 * gst/gstiterator.c: (gst_iterator_new):
16402 Add assertions to make sure passed GType is likely to really
16403 be a GType (as the compiler won't catch it if the size and
16404 GType arguments get mixed up, see #318447).
16406 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16408 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16410 * gst/gstbin.c: (gst_bin_iterate_sorted):
16411 Pass GType and size arguments to gst_iterator_new() in the right
16412 order (maybe we should make _new() take the GType as first argument
16413 just like _new_list()?) (#318447).
16416 2005-10-10 Wim Taymans <wim@fluendo.com>
16418 * gst/gstelement.c: (gst_element_finalize):
16419 And free the GStaticRecMutex too
16421 2005-10-10 Andy Wingo <wingo@pobox.com>
16423 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16424 Allocate and free the mutex properly.
16426 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16428 (GstElement): The state_lock is now recursive. Rebuild your
16429 plugins, suckers. Old macros adapted.
16431 * docs/gst/gstreamer-sections.txt: Doc updates.
16434 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16435 (g_static_rec_cond_wait): Ported from state changes patch, while
16436 we wait on bug #317802 to be solved in a well-distributed GLib.
16438 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16439 gst_element_change_state, variable name changes.
16440 (gst_element_change_state): Split out of gst_element_set_state in
16441 preparation for the state change merge. Doesn't pay attention to
16442 the 'transition' argument.
16443 (gst_element_set_state): Updates, hopefully purely cosmetic.
16444 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16445 state change patch.
16446 (gst_element_get_state_func): Renamed from get_state, cosmetic
16449 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16451 * gst/elements/gstelements.c:
16452 * win32/GStreamer.vcproj:
16454 * win32/dirent.c: (_tseekdir):
16455 * win32/gst-inspect.vcproj:
16456 * win32/gst-launch.vcproj:
16457 * win32/gstconfig.h:
16458 * win32/gstelements.vcproj:
16459 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16460 * win32/gstreamer.def:
16461 * win32/msvc71.sln:
16462 updates for the win32 build (patch from Sebastien Moutte)
16464 2005-10-10 Andy Wingo <wingo@pobox.com>
16466 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16467 gst_bin_get_state, cleaned up (but no logic changes).
16468 (bin_element_is_sink): Comment updates.
16469 (sink_iterator_filter): Remove needless cast.
16470 (gst_bin_iterate_sinks): Doc update.
16471 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16472 cleaned up (but no logic changes).
16474 * check/states/sinks.c (test_src_sink): Cleanups from the state
16476 (test_livesrc_sink): Sync on the state.
16478 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16479 the state change patch.
16481 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16484 * check/gst/gstbin.c: Merge in some style fixes and additional
16485 checks from Wim's state change patch.
16487 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16489 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16490 (gst_type_find_helper):
16491 Check whether we have the requested data already in our list of
16492 cached buffers before pulling a new buffer; also make the buffer
16493 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16495 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16500 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16501 don't use long long, it's not portable. Replacing with
16502 gint64 seems to work; let's hope no skeletons fall out of the closet.
16504 2005-10-10 Andy Wingo <wingo@pobox.com>
16506 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16508 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16510 * docs/gst/gstreamer-sections.txt:
16515 * gst/gstmessage.c: (gst_message_parse_state_changed):
16518 more docs, fix compilation
16520 2005-10-09 Philippe Khalaf <burger@speedy.org>
16521 * gst/gstmessage.c:
16522 Fixed a few forgotten variables on previous commit
16524 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16526 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16527 Fix evil typefind crasher: getrange() might return a short
16528 buffer at the end of a file, but gst_type_find_peek() must
16529 either return the full data as requested or NULL, but
16530 never a short buffer.
16532 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16534 * gst/gstmessage.c: (gst_message_new_state_changed),
16535 (gst_message_parse_state_changed):
16536 * gst/gstmessage.h:
16537 don't use "new", it's a C++ keyword
16539 2005-10-08 Wim Taymans <wim@fluendo.com>
16541 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16542 * gst/gstelement.c: (gst_element_post_message):
16543 * gst/gstpipeline.c: (gst_pipeline_change_state):
16544 Small docs and debug updates.
16546 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16548 * docs/gst/gstreamer-sections.txt:
16549 * gst/gstelementfactory.c:
16551 * gst/gsttaglist.c:
16554 2005-10-08 Wim Taymans <wim@fluendo.com>
16556 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16557 (gst_bin_dispose), (bin_bus_handler):
16558 Fix typos, add comments.
16559 Clear EOS list when going to PAUSED from any direction and do it
16560 in a threadsafe way.
16561 Get base time in a threadsafe way too.
16562 Fix confusing debug in the change_state function.
16563 Various other small cleanups.
16565 * gst/gstelement.c: (gst_element_post_message):
16566 Fix very verbose bus posting code.
16568 * gst/gstpipeline.c: (gst_pipeline_class_init),
16569 (gst_pipeline_set_property), (gst_pipeline_get_property),
16570 (gst_pipeline_change_state):
16571 Small ARG_ -> PROP_ cleanup
16573 2005-10-08 Wim Taymans <wim@fluendo.com>
16575 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16576 Do a less CPU demanding EOS check because we can.
16578 2005-10-08 Wim Taymans <wim@fluendo.com>
16580 * libs/gst/dataprotocol/dataprotocol.c:
16581 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16582 (gst_dp_packet_from_event):
16583 * libs/gst/dataprotocol/dataprotocol.h:
16584 * libs/gst/dataprotocol/dp-private.h:
16585 It's about time we bump the version number.
16586 Since event types don't fit in the guint8 anymore describing
16587 the payload type, make payload type 16 bits wide.
16589 2005-10-08 Wim Taymans <wim@fluendo.com>
16591 * docs/design/part-TODO.txt:
16592 * docs/design/part-clocks.txt:
16593 * docs/design/part-events.txt:
16594 * docs/design/part-gstbin.txt:
16595 * docs/design/part-gstelement.txt:
16596 * docs/design/part-gstpipeline.txt:
16597 * docs/design/part-live-source.txt:
16598 * docs/design/part-messages.txt:
16599 * docs/design/part-overview.txt:
16600 * docs/design/part-states.txt:
16603 2005-10-08 Wim Taymans <wim@fluendo.com>
16607 Fix event quark registration.
16608 Add some space between events so we can insert them in the
16611 2005-10-08 Wim Taymans <wim@fluendo.com>
16613 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16614 (gst_base_sink_handle_buffer):
16615 Better log message.
16618 * gst/gstelement.h:
16621 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16622 (gst_queue_set_property), (gst_queue_get_property):
16624 Remove old unused properties.
16626 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16627 * docs/gst/gstreamer-sections.txt:
16628 * gst/gstmessage.c:
16629 * gst/gstmessage.h:
16630 * gst/gstminiobject.c:
16631 * gst/gstminiobject.h:
16635 lots of new docs and doc fixes
16637 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16639 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16641 * gst/gstregistry.c: (gst_registry_lookup_locked),
16642 (gst_registry_scan_path_level):
16643 * gst/gstregistryxml.c: (load_plugin):
16644 Only ever load one plugin for a given plugin basename.
16645 This ensures correct overriding of GST_PLUGIN_PATH over
16646 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16647 system installed plugins.
16649 2005-10-08 Wim Taymans <wim@fluendo.com>
16651 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16652 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16653 Prepare for doing QOS.
16655 2005-10-08 Wim Taymans <wim@fluendo.com>
16657 * check/gst/gstbin.c: (GST_START_TEST):
16658 * check/pipelines/cleanup.c: (GST_START_TEST):
16659 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16660 Allow new clock message too.
16662 2005-10-08 Wim Taymans <wim@fluendo.com>
16664 * gst/gstmessage.c: (gst_message_new_error),
16665 (gst_message_new_warning), (gst_message_new_tag),
16666 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16667 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16668 (gst_message_new_segment_start), (gst_message_new_segment_done),
16669 (gst_message_parse_state_changed),
16670 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16671 (gst_message_parse_new_clock):
16672 * gst/gstmessage.h:
16673 Also carry the clock in question.
16675 2005-10-08 Wim Taymans <wim@fluendo.com>
16677 * gst/gstmessage.c: (gst_message_new_custom),
16678 (gst_message_new_eos), (gst_message_new_error),
16679 (gst_message_new_warning), (gst_message_new_tag),
16680 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16681 (gst_message_new_new_clock), (gst_message_new_segment_start),
16682 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16683 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16684 * gst/gstmessage.h:
16686 Added clock related messages.
16688 * gst/gstpipeline.c: (gst_pipeline_change_state):
16689 Post message when the clock changed.
16691 * tools/gst-launch.c: (event_loop):
16694 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16696 * tools/gst-inspect.c: (print_element_properties_info):
16697 Can't pass NULL strings to g_print() on windows.
16699 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16701 * docs/Makefile.am:
16702 * docs/gst/Makefile.am:
16703 * docs/gst/gstreamer-docs.sgml:
16704 * docs/gst/running.xml:
16705 * docs/version.entities.in:
16706 add a chapter on running GStreamer.
16707 document GST_DEBUG and GST_PLUGIN* env vars
16709 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16714 remove PLUGINS_BUILDDIR stuff
16715 * gst/gst.c: (init_post):
16716 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16718 remove, it was condescending and not needed
16720 2005-10-08 Wim Taymans <wim@fluendo.com>
16722 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16723 (gst_base_sink_handle_object), (gst_base_sink_event),
16724 (gst_base_sink_wait), (gst_base_sink_handle_event),
16725 (gst_base_sink_change_state):
16726 * gst/base/gstbasesink.h:
16727 Repost EOS message while going to PLAYING if still EOS.
16728 Make sure that when receiving a FLUSH_START we don't attempt
16729 to sync on the clock anymore.
16731 2005-10-08 Wim Taymans <wim@fluendo.com>
16733 * tools/gst-launch.c: (event_loop):
16734 Better message printout.
16736 2005-10-08 Wim Taymans <wim@fluendo.com>
16738 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16739 (gst_bin_child_proxy_get_children_count):
16740 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16741 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16742 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16743 (gst_child_proxy_set_valist):
16744 * gst/parse/grammar.y:
16745 Make ChildProxy threadsafe and fix mem leaks.
16747 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16749 * gst/gst.c: (init_post):
16750 debug the GST_PLUGIN_ env vars
16752 2005-10-08 Wim Taymans <wim@fluendo.com>
16754 * check/gst/gstbin.c: (GST_START_TEST):
16755 * check/gst/gstmessage.c: (GST_START_TEST):
16756 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16757 * gst/gstelement.c: (gst_element_commit_state),
16758 (gst_element_lost_state):
16759 * gst/gstmessage.c: (gst_message_new_state_changed),
16760 (gst_message_parse_state_changed):
16761 * gst/gstmessage.h:
16762 * tools/gst-launch.c: (event_loop):
16763 Added extra field to STATE_CHANGE message with the pending
16764 state, which will be different from the new state soon.
16766 2005-10-08 Wim Taymans <wim@fluendo.com>
16768 * gst/gstbus.c: (gst_bus_pop):
16770 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16771 Small cleanups and doc updates.
16773 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16775 * gst/gst.c: (init_pre):
16776 * gst/gstbin.c: (gst_bin_add_func):
16777 log distributing clocks and base time
16778 * gst/gstregistry.c: (gst_registry_add_plugin),
16779 (gst_registry_scan_path_level), (gst_registry_scan_path):
16780 clean up the debugging output a little
16781 * gst/gstutils.c: (gst_element_state_get_name):
16782 warn about a memleak (I've actually seen this be used, though
16783 it was probably a bug)
16785 2005-10-07 Wim Taymans <wim@fluendo.com>
16787 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16788 (gst_base_src_init), (gst_base_src_default_newsegment),
16789 (gst_base_src_newsegment), (gst_base_src_do_seek),
16790 (gst_base_src_loop), (gst_base_src_start):
16791 * gst/base/gstbasesrc.h:
16792 Make the newsegment event customizable by subclasses.
16794 2005-10-07 Wim Taymans <wim@fluendo.com>
16796 * gst/gstevent.c: (gst_event_new_buffersize),
16797 (gst_event_parse_buffersize):
16799 New event for future idea.
16801 2005-10-07 Andy Wingo <wingo@pobox.com>
16803 * gst/gstelement.c (gst_element_post_message): Doc update.
16805 * docs/gst/gstreamer-sections.txt: Update.
16807 * gst/gstmessage.c (gst_message_new_application): Made into a
16808 function like honest API calls.
16809 (gst_message_new_element): New message type.
16811 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16813 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16814 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16817 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16818 NO_PREROLL from gst_element_change_state to fall through.
16820 2005-10-07 Wim Taymans <wim@fluendo.com>
16822 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16823 (gst_ghost_pad_do_activate_push):
16824 Activating a ghostpad with no internal pad in push mode
16827 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16830 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16831 Fixes compilation on Windows.
16833 2005-10-07 Michael Smith <msmith@fluendo.com>
16835 * tools/gst-inspect.c:
16836 Print out feature and plugin count at the end when printing out
16839 2005-10-04 Michael Smith <msmith@fluendo.com>
16841 * gst/gsterror.c: (_gst_stream_errors_init):
16842 Add another error string used in a few existing plugins.
16845 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16846 * tools/gst-inspect.c: (print_element_info):
16847 When a feature disappears from a plugin (and the feature exists in
16848 the cached registry file), things went horribly wrong. This isn't a
16849 complete fix, we should actually be removing the 'missing' features
16850 from the features list when we load the actual plugin. That's not
16853 2005-10-04 Johan Dahlin <johan@gnome.org>
16855 * check/gst/gstiterator.c: (GST_START_TEST):
16856 * gst/gstbin.c: (gst_bin_iterate_elements),
16857 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16858 * gst/gstelement.c: (gst_element_iterate_pads):
16859 * gst/gstformat.c: (gst_format_iterate_definitions):
16860 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16861 (gst_iterator_new_list), (gst_iterator_filter):
16862 * gst/gstiterator.h:
16863 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16864 Add a GType to GstIterator, update callsites and tests.
16866 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16868 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16869 give events a chance to be handled by event probes when the pad
16872 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16874 * gst/gstevent.c: (gst_event_type_get_name),
16875 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16877 add string representations for event types
16879 2005-10-06 Wim Taymans <wim@fluendo.com>
16881 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16882 Don't use NULL pointers.
16884 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16886 * gst/gst_private.h:
16888 * gst/gstelement.c:
16890 * gst/gstpluginfeature.c:
16891 widen the debug category in output to fit the biggest one we have
16892 add a bus category and use it
16893 play with the colors
16894 fix up some categories
16896 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16898 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16899 add push activation of sink ghost pads.
16900 Andye, please verify
16902 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16904 * gst/gstutils.c: (gst_element_link_pads):
16905 fix a bug in the case where neither element has a pad
16906 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16907 add a test for that case
16909 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16911 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16912 emit have-data before checking for peers. This allows
16913 for probe handlers to connect elements. This helps autopluggers.
16914 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16916 add six checks, linked/unlinked with no/true/false probe
16918 2005-10-04 Wim Taymans <wim@fluendo.com>
16920 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16921 (gst_fake_sink_event), (gst_fake_sink_preroll),
16922 (gst_fake_sink_render), (gst_fake_sink_change_state):
16923 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16924 (gst_fake_src_get_property), (gst_fake_src_create),
16925 (gst_fake_src_stop):
16926 * gst/elements/gstidentity.c: (gst_identity_stop):
16927 Protect last_message with lock.
16929 2005-10-04 Edward Hervey <edward@fluendo.com>
16932 Added precision in the comments for GST_FORMAT_DEFAULT
16934 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16936 * tools/gst-launch.c: (main):
16937 Don't try to run erroneous pipelines.
16939 2005-10-04 Julien MOUTTE <julien@moutte.net>
16941 * gst/gstbus.c: We don't need this header.
16943 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16946 back to development
16948 === release 0.9.3 ===
16950 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16954 Releasing 0.9.3, "Unregistered"
16956 2005-10-03 Andy Wingo <wingo@pobox.com>
16958 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16959 whereby calling a pad's activatepush() function can start a thread
16960 that starts to push or pull before the pad gets the FLUSHING flag
16961 unset. Hack around it by holding the stream lock until the flag is
16962 set. Need to replace this with a proper solution. Together with
16963 the ghost pad fixes, this fixes mp3 playing/tagreading.
16965 * docs/design/part-gstghostpad.txt: Add a note about activation of
16966 proxy pads outside of ghost pads.
16968 * gst/gstghostpad.c: Implement the ghost pad activation design.
16970 2005-10-02 Andy Wingo <wingo@pobox.com>
16972 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16973 It is volatile, after all.
16975 * docs/design/part-gstghostpad.txt: Flesh out activation with
16978 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16981 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16984 Fix (unused) AM_CONDITIONAL tests.
16986 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16988 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16990 * gst/gstutils.c: (gst_pad_query_convert):
16991 Add assertion that makes sure src_val is >=0, just like
16992 gst_query_new_convert() has. (#315895)
16994 2005-09-30 Edward Hervey <edward@fluendo.com>
16996 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16997 Let's not iterate pads we're not interested in, it avoids getting
16998 sky-high refcounts on sinkpad.
17000 2005-09-30 Wim Taymans <wim@fluendo.com>
17002 * gst/gstelement.c: (gst_element_set_state),
17003 (gst_element_change_state):
17004 Small tweak, element in ASYNC remains ASYNC.
17006 2005-09-30 Wim Taymans <wim@fluendo.com>
17008 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
17009 Only error is an error.
17011 * gst/gstbin.c: (gst_bin_change_state):
17014 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
17015 Also call pad_block in pad alloc.
17017 * gst/gstutils.c: (gst_flow_get_name):
17020 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17022 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17023 (gst_base_src_get_range):
17024 Fix documentation typos. Add some more debug info.
17026 2005-09-29 David Schleef <ds@schleef.org>
17028 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
17029 more end-user friendly.
17030 * tools/gst-inspect.c: (main): Check if command-line argument is
17031 a file and attempt to load that file as a plugin.
17033 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17035 * check/gst/gstbin.c:
17036 * check/states/sinks.c:
17037 fix tests for the new warning
17038 * check/gst/gstpipeline.c:
17039 add a test for pipeline and bus interaction
17040 * gst/gstelement.c:
17041 elements should be NULL if they get disposed; add a warning if not
17043 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17046 for 2.6 refcounting, make debug log more correct by printing
17047 the actual refcounts at the time of swap (Wim)
17049 2005-09-29 Andy Wingo <wingo@pobox.com>
17051 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
17052 removes signal watches previously added via
17053 gst_bus_add_signal_watch.
17054 (gst_bus_add_signal_watch): Don't return the source id, just store
17055 it on the bus if there wasn't an id already.
17057 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
17058 add_signal_watch and remove_signal_watch.
17060 2005-09-29 Edward Hervey <edward@fluendo.com>
17062 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
17063 Better if we actually iterate the list :)
17065 2005-09-29 Wim Taymans <wim@fluendo.com>
17067 * check/gst/gstbin.c: (GST_START_TEST):
17068 Change for new bus API.
17070 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17071 (send_messages), (GST_START_TEST), (gstbus_suite):
17072 Change for new bus signal API.
17074 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
17075 (gst_bus_source_prepare), (gst_bus_source_check),
17076 (gst_bus_create_watch), (gst_bus_add_watch_full),
17077 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
17078 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
17080 Remove support for multiple GSources operating on different
17081 message types as it is too complex and unneeded when using
17083 Added support for receiving signals from the bus.
17085 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
17087 * docs/libs/tmpl/gstdataprotocol.sgml:
17088 * docs/manual/advanced-dataaccess.xml:
17089 * gst/elements/gstcapsfilter.c:
17091 rename filter-caps to caps property
17093 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17095 * gst/gstvalue.c: (gst_value_deserialize_fraction):
17096 More robust fraction string parsing.
17098 * docs/pwg/appendix-porting.xml:
17099 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
17101 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
17103 * gst/gstcaps.c: (gst_caps_do_simplify):
17104 Thou shalt not free a structure and then continue using it
17105 in the next loop iteration.
17107 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
17109 Add test case for caps simplification.
17111 2005-09-29 Wim Taymans <wim@fluendo.com>
17113 * check/gst/gstbin.c: (GST_START_TEST):
17116 2005-09-29 Wim Taymans <wim@fluendo.com>
17118 * check/gst/gstbin.c: (GST_START_TEST):
17121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
17122 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17123 (find_element), (gst_bin_sort_iterator_next),
17124 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17125 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17126 (gst_bin_change_state), (gst_bin_dispose):
17127 A bin does not have a bus, it gets the bus from the parent.
17129 * gst/gstelement.c: (gst_element_requires_clock),
17130 (gst_element_provides_clock), (gst_element_is_indexable),
17131 (gst_element_is_locked_state), (gst_element_change_state),
17132 (gst_element_set_bus_func):
17135 * gst/gstpipeline.c: (gst_pipeline_class_init),
17136 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
17137 The pipeline provides a bus.
17139 2005-09-28 Johan Dahlin <johan@gnome.org>
17141 * gst/gstmessage.c (gst_message_parse_state_changed): Use
17142 gst_structure_get_enum instead of gst_structure_get_int
17144 * gst/gststructure.c (gst_structure_get_enum): Impl.
17146 * gst/gststructure.h (gst_structure_get_enum): Add
17148 * docs/gst/gstreamer-sections.txt: Ditto
17150 * gst/gstmessage.c (gst_message_new_state_changed): Use
17151 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
17152 which does introspection.
17153 Reviewed by Christian Schaller
17155 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17157 * gst/gstinfo.c: (gst_debug_log_default):
17158 don't do dummy g_strdup()s
17159 * libs/gst/controller/gstcontroller.c:
17160 (on_object_controlled_property_changed),
17161 (gst_controlled_property_new), (gst_controller_new_valist),
17162 (gst_controller_new_list),
17163 (gst_controller_remove_properties_valist), (gst_controller_set),
17164 (gst_controller_get), (gst_controller_sync_values),
17165 (gst_controller_get_value_array), (_gst_controller_class_init),
17166 (gst_controller_get_type):
17167 * libs/gst/controller/gstcontroller.h:
17168 * libs/gst/controller/gstinterpolation.c:
17169 (gst_controlled_property_find_timed_value_node):
17170 convert // to /**/ comments
17172 2005-09-28 Wim Taymans <wim@fluendo.com>
17174 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
17175 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
17176 (gst_bus_sync_signal_handler):
17178 Added async-message and sync-message signals to the bus.
17179 Added helper BusFunc to emit signals for all posted messages.
17181 * gst/gstmessage.c: (gst_message_type_get_name),
17182 (gst_message_type_to_quark), (gst_message_get_type):
17183 * gst/gstmessage.h:
17184 Register quarks for message names.
17186 2005-09-28 Stefan Kost <ensonic@users.sf.net>
17188 * docs/libs/gstreamer-libs-sections.txt:
17189 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
17190 (gst_controller_new_list):
17191 * libs/gst/controller/gstcontroller.h:
17192 added another constructor for language bindings
17194 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
17196 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17200 * gst/gstinfo.c: (_gst_debug_init):
17201 slightly more readable color for refcount debugging
17203 2005-09-28 Wim Taymans <wim@fluendo.com>
17205 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17206 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
17207 (find_element), (gst_bin_sort_iterator_next),
17208 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17209 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17210 (gst_bin_change_state), (gst_bin_dispose):
17211 Small doc fixes. get_clock -> provide_clock.
17213 * gst/gstelement.c: (gst_element_class_init),
17214 (gst_element_provides_clock), (gst_element_provide_clock),
17215 (gst_element_get_clock), (gst_element_commit_state),
17216 (gst_element_lost_state):
17217 * gst/gstelement.h:
17218 Make get/set_clock() symetric. Add provide_clock vmethod since
17219 that is actually what this function does.
17221 * gst/gstpipeline.c: (gst_pipeline_class_init),
17222 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
17223 (gst_pipeline_get_clock):
17224 get_clock -> provide_clock.
17226 2005-09-28 Andy Wingo <wingo@pobox.com>
17228 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
17229 lieu of real docs...
17231 * gst/elements/gstfdsrc.c: Cleaned up a bit.
17233 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
17235 * gst/elements/gstcapsfilter.c:
17236 * gst/elements/gstfakesink.c:
17237 * gst/elements/gstfakesrc.c:
17238 * gst/elements/gstfdsink.c:
17239 * gst/elements/gstfdsrc.c:
17240 * gst/elements/gstfilesink.c:
17241 * gst/elements/gstfilesrc.c:
17242 * gst/elements/gstidentity.c:
17243 * gst/elements/gsttee.c:
17244 * gst/elements/gsttypefindelement.c:
17245 Make element details static.
17247 2005-09-28 Wim Taymans <wim@fluendo.com>
17249 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17250 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17251 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17252 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17253 (gst_bin_change_state), (gst_bin_dispose):
17254 Some documentation updates.
17255 Clean up dispose handlers.
17257 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17258 * gst/gstpad.c: (gst_pad_dispose):
17259 Clean up dispose handler.
17261 * gst/gstpipeline.c: (gst_pipeline_change_state):
17262 Removed spurious UNLOCK.
17264 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17266 * docs/gst/gstreamer-sections.txt:
17267 * gst/base/gstbasesrc.h:
17268 * gst/gstelement.h:
17272 * gst/gstpipeline.c:
17273 * gst/gstpipeline.h:
17276 added two new functions to the docs
17277 documents all undocumented GstXXXFlags
17278 completed some incomplete docs
17280 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * gst/gstbin.c: (gst_bin_dispose):
17283 * gst/gstelement.c: (gst_element_dispose):
17284 remove now useless and leaky resurrection code in dispose
17285 * gst/base/gstbasesrc.c: (gst_base_src_init):
17286 * gst/gstelementfactory.c: (gst_element_factory_create):
17287 * gst/gstobject.c: (gst_object_set_parent):
17290 2005-09-27 Wim Taymans <wim@fluendo.com>
17292 * docs/design/part-TODO.txt:
17295 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17296 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17297 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17298 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17299 (gst_bin_change_state):
17300 * gst/gstelement.h:
17301 Remove element variable, we keep element info in the iterator now.
17303 2005-09-27 Andy Wingo <wingo@pobox.com>
17305 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17308 2005-09-27 Wim Taymans <wim@fluendo.com>
17310 * check/gst/gstbin.c: (GST_START_TEST):
17311 Enable check that works now.
17313 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17314 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17315 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17316 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17317 (gst_bin_change_state):
17319 Redid the state change algorithm using a topological sort algo.
17320 Handles all cases correctly.
17321 Exposed iterator for state change order.
17323 * gst/gstelement.h:
17324 Temp storage for state changes. Need to get rid of this soon.
17326 2005-09-27 Wim Taymans <wim@fluendo.com>
17328 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17329 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17330 (link_fold_func), (gst_pad_proxy_setcaps):
17331 Leak fixes, the fold functions need to unref the passed object and
17332 _get_parent_*() returns ref to parent.
17334 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17336 * check/gst/gstbuffer.c: (test_make_writable):
17337 Plug leak in test case and fix 'make check-valgrind'
17339 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17341 * gst/gstbuffer.c: (gst_subbuffer_init):
17342 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17343 works correctly in all circumstances (we could have just copied
17344 the parent buffer's readonly flag, but conceptually it seems
17345 cleaner to mark all subbuffers as read-only). (based on patch
17346 by Alessandro Decina, #314710).
17348 * check/gst/gstbuffer.c: (create_read_only_buffer),
17349 (test_make_writable), (test_subbuffer_make_writable),
17351 Add some tests for gst_buffer_make_writable().
17353 2005-09-27 Wim Taymans <wim@fluendo.com>
17355 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17356 use gst_object_has_ancestor().
17358 * gst/gstobject.c: (gst_object_has_ancestor):
17360 gst_object_has_ancestor() copied from gstbin.c as it is a
17363 * tests/instantiate/create.c: (create_all_elements):
17364 * tests/lat.c: (handoff_src), (handoff_sink):
17365 * tests/sched/runxml.c: (main):
17366 * tests/seeking/seeking1.c: (main):
17367 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17369 Fix compilation of some tests.
17371 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17374 Remove comment. GST_TYPE_G_ERROR is here to stay,
17375 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17376 (#316961, #300610).
17378 2005-09-26 Wim Taymans <wim@fluendo.com>
17380 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17381 Added check that shows error in state change order.
17383 2005-09-26 Wim Taymans <wim@fluendo.com>
17385 * gst/gstbin.c: (gst_bin_change_state):
17386 Make state change function use 3 queues again, we were
17387 adding elements in the wrong order.
17389 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17392 * gst/gstpad.c: (gst_pad_dispose):
17393 Added some debug info first.
17395 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17397 * docs/design/draft-push-pull.txt:
17398 * docs/design/part-events.txt:
17399 * docs/design/part-overview.txt:
17400 * docs/design/part-scheduling.txt:
17401 Replace all _pull_region() with _pull_range()
17403 2005-09-26 Andy Wingo <wingo@pobox.com>
17405 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17407 * check/gst-libs/controller.c: Update for controller api change.
17410 * tests/Makefile.am:
17411 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17412 over by GLib bug 118439.
17414 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17415 routines to a function.
17417 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17419 * libs/gst/controller/gsthelper.c:
17420 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17421 (gst_object_sync_values): Renamed from sink_values. Ugh.
17423 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17425 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17426 Renamed from controller_key, as it is exported.
17428 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17430 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17435 * gst/gstpadtemplate.h:
17438 * gst/gstqueryutils.c:
17439 * gst/gstqueryutils.h:
17440 remove queryutils headers after moving the two used functions
17441 to gstquery. also fixes build problem for gstsiddec
17443 2005-09-26 Michael Smith <msmith@fluendo.com>
17445 * tools/gst-launch.1.in:
17446 Correct documentation in manpage of debug syntax
17448 2005-09-26 Wim Taymans <wim@fluendo.com>
17450 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17451 (gst_base_src_is_seekable), (gst_base_src_change_state):
17452 Some more debugging info.
17454 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17456 * docs/gst/gstreamer-sections.txt:
17457 * gst/base/gstbasetransform.h:
17461 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17463 * docs/gst/.cvsignore:
17464 * docs/gst/tmpl/.cvsignore:
17465 * docs/gst/tmpl/gstpipeline.sgml:
17466 * docs/gst/tmpl/gstplugin.sgml:
17467 * gst/gstpipeline.c:
17470 inlined the last two docs files
17471 removed the tmpl directory from cvs (no more conflicts here!)
17473 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17475 * docs/gst/gstreamer-sections.txt:
17476 * docs/gst/tmpl/.cvsignore:
17477 * docs/gst/tmpl/gstpad.sgml:
17478 * docs/gst/tmpl/gstpadtemplate.sgml:
17480 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17481 (gst_pad_finalize), (gst_pad_set_pad_template):
17483 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17484 (gst_pad_template_class_init), (gst_pad_template_init),
17485 (gst_pad_template_dispose), (name_is_valid),
17486 (gst_static_pad_template_get), (gst_pad_template_new),
17487 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17488 (gst_pad_template_pad_created):
17489 * gst/gstpadtemplate.h:
17490 inlined two more docs
17491 factored gstpadtemplate out of gstpad
17493 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17495 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17496 (test_children_state_change_order_semi_sink):
17497 Fix test case: we can't rely on a fixed state change order when
17498 going from READY => PAUSED because the sink might commit its
17499 new state first when the first buffer created by the source
17500 reaches the sink before the source has finished its change state.
17501 (Test case still fails at times, see #316856, comment 5 onwards)
17503 2005-09-24 Wim Taymans <wim@fluendo.com>
17505 * docs/design/part-events.txt:
17506 * docs/design/part-gstbus.txt:
17507 * docs/design/part-gstpipeline.txt:
17508 * docs/design/part-messages.txt:
17509 * docs/design/part-overview.txt:
17510 * docs/design/part-segments.txt:
17514 * gst/gstelement.c:
17517 * gst/gstiterator.c:
17518 Various documentation updates.
17520 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17523 Well, that's embarassing. Luckily we weren't using
17524 GST_CLOCK_DIFF anywhere.
17526 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17528 * common/gtk-doc.mak:
17529 don't fail on building XML, FC4 slave shows a bunch of doc
17530 missing bits that I don't get
17532 * gst/gstpipeline.c:
17533 * gst/gststructure.c:
17536 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17538 * docs/design/part-gstbin.txt:
17539 * docs/design/part-gstbus.txt:
17541 Add blurb about how the bus goes into flushing mode and
17542 drops all messages when its bin goes from READY into NULL
17545 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17547 * docs/gst/gstreamer-sections.txt:
17548 * gst/gststructure.c: (gst_structure_get_clock_time):
17549 * gst/gststructure.h:
17550 add a method to get a GstClockTime out of a structure
17552 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17554 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17555 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17556 Added test to check state change order in bins (can still be made
17557 to fail here under heavy disk load; bails out with 'Push on pad
17558 fakesink:sink0, but it was not activated in push mode').
17560 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17561 Fix state change order when there is only a semi sink (#316856)
17563 * gst/gstbus.c: (gst_bus_class_init):
17564 Use _class_peek_parent(), not _class_ref(); fix docs to say
17565 'default main context' instead of 'mainloop' where that is
17568 * gst/gstelement.c: (gst_element_commit_state),
17569 (gst_element_set_state):
17570 Fix typos in debug messages
17572 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17575 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17576 * gst/gstpluginfeature.c:
17578 various doc updates
17579 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17580 change an assert into an error until it gets fixed properly
17582 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17584 * docs/gst/gstreamer-sections.txt:
17585 * docs/gst/tmpl/.cvsignore:
17586 * docs/gst/tmpl/gstelement.sgml:
17587 * docs/gst/tmpl/gstinfo.sgml:
17588 * docs/gst/tmpl/gstobject.sgml:
17589 * gst/gstelement.c:
17590 * gst/gstelement.h:
17593 * gst/gstobject.c: (gst_object_class_init):
17595 inlined 3 more biiiig doc files and added some missing docs on the fly
17597 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17599 * check/gst/.cvsignore:
17600 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17601 * gst/gstregistryxml.c: (load_plugin),
17602 (gst_registry_xml_save_plugin):
17603 put back source in registry. add checks for find_plugin.
17604 * testsuite/states/bin.c: (assert_state), (empty_bin),
17605 (test_adding_one_element), (main):
17606 * testsuite/states/locked.c: (main):
17607 some compile/run fixes
17609 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17611 * check/gst/gstvalue.c: (GST_START_TEST):
17612 fix leaks in the test itself
17614 2005-09-22 Wim Taymans <wim@fluendo.com>
17616 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17617 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17618 (gst_base_sink_query):
17619 Prepare for more accurate position reporting and query
17622 * gst/gstelement.c: (gst_element_send_event),
17623 (gst_element_set_state):
17626 2005-09-22 Wim Taymans <wim@fluendo.com>
17628 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17629 (gst_query_parse_segment):
17631 More documentation.
17632 Add segment query for future use.
17634 2005-09-22 Wim Taymans <wim@fluendo.com>
17636 * gst/gstbin.c: (gst_bin_add_func):
17637 Some more debug info.
17639 * gst/gstelement.c: (gst_element_send_event):
17640 Simplify send_event
17642 * gst/gstelement.h:
17643 Don't know how flags got broken.
17648 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17650 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17651 Add simplistic test suite for GST_TYPE_DATE serialisation and
17654 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17656 * docs/gst/gstreamer-sections.txt:
17657 * gst/gststructure.c: (gst_structure_set_valist),
17658 (gst_structure_get_date):
17659 * gst/gststructure.h:
17660 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17661 (gst_date_copy), (gst_value_compare_date),
17662 (gst_value_serialize_date), (gst_value_deserialize_date),
17663 (gst_value_transform_date_string),
17664 (gst_value_transform_string_date), (_gst_value_initialize):
17666 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17667 bunch of utility functions along with a hack that checks that
17668 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17669 is required. Part of the grand scheme in #170777.
17671 2005-09-22 Andy Wingo <wingo@pobox.com>
17673 * gst/gstconfig.h.in: Psych out gtk-doc.
17675 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17677 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17679 * tools/gst-inspect.c (print_element_list): Plug some
17680 inconsequential leaks.
17682 * gst/gstregistry.c (gst_registry_get_default): Doc.
17684 * check/gst/gstplugin.c:
17685 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17686 * gst/gstelementfactory.c (gst_element_factory_create):
17687 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17690 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17691 (gst_plugin_feature_load): Doc, don't eat refs.
17693 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17694 (gst_plugin_list_free): Doc.
17695 (gst_plugin_load_file): Doc updates.
17697 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17698 accessors returning refcounted objects, return a ref.
17700 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17701 accessor for caps. IDEMPOTENCE. Oh yes.
17703 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17705 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17707 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17708 (_gst_debug_register_funcptr):
17709 Add mutex to serialise access to the hash table with
17710 the function pointer => function name string mapping;
17711 make that hash table static scope (#316809).
17713 * gst/registries/.cvsignore:
17714 Remove left-over file.
17716 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17718 * docs/pwg/appendix-porting.xml:
17719 And something about newsegment events and caps-on-buffers to
17720 the porting guide (feel free to improve).
17722 2005-09-21 Andy Wingo <wingo@pobox.com>
17724 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17725 data and event probes on the same pad.
17726 (test_buffer_probe_once): Test that removing probes from within
17727 the probe functions works.
17729 2005-09-21 Andy Wingo <wingo@pobox.com>
17731 * check/gst/gstutils.c: New file.
17732 (test_buffer_probe_n_times): A simple buffer probe test. More to
17735 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17736 have-data::buffer, not have-data.
17737 (gst_pad_add_event_probe): Likewise for have-data::event.
17738 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17739 peer' isn't quite right yet though.
17740 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17741 (gst_pad_remove_data_probe): Change to take the guint handler_id
17742 as their arg, not the function+data, which is more glib-like.
17744 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17745 the signal emission to indicate if the data is a buffer or an
17747 (gst_pad_get_type): Initialize buffer and event quarks.
17748 (gst_pad_class_init): have-data is now a detailed signal, yes it
17751 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17753 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17754 * gst/gstutils.c: (gst_util_set_value_from_string),
17755 (gst_util_set_object_arg):
17756 Don't put functional code in g_return_if_fail() or
17757 g_return_val_if_fail() statements, otherwise things will
17758 break when G_DISABLE_CHECKS is defined during compilation.
17760 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17762 * docs/gst/tmpl/.cvsignore:
17763 * docs/gst/tmpl/gstvalue.sgml:
17766 inlied another one and added some obvious docs
17768 2005-09-21 Wim Taymans <wim@fluendo.com>
17770 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17771 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17772 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17773 (gst_fdsrc_get_property), (gst_fdsrc_create):
17774 * gst/elements/gstfdsrc.h:
17775 Properly implement fdsrc. Removed signal and timeout,
17776 better implemented somewhere else.
17778 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17780 * docs/gst/tmpl/.cvsignore:
17781 * docs/gst/tmpl/gstimplementsinterface.sgml:
17782 * gst/gstinterface.c:
17785 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17787 * docs/gst/gstreamer-sections.txt:
17788 * docs/gst/tmpl/.cvsignore:
17789 * docs/gst/tmpl/gstenumtypes.sgml:
17790 remove obsolete doc file
17792 2005-09-21 David Schleef <ds@schleef.org>
17794 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17795 little beer, fix a little leak.
17797 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17799 * docs/gst/gstreamer-docs.sgml:
17800 * docs/gst/gstreamer-sections.txt:
17801 * docs/gst/tmpl/.cvsignore:
17805 * gst/gstelement.h:
17806 * gst/gstindex.c: (gst_index_class_init):
17808 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17809 (gst_index_factory_class_init), (gst_index_factory_init),
17810 (gst_index_factory_finalize), (gst_index_factory_new),
17811 (gst_index_factory_destroy), (gst_index_factory_find),
17812 (gst_index_factory_create), (gst_index_factory_make):
17813 * gst/gstindexfactory.h:
17814 * gst/gstpluginfeature.c:
17815 * gst/gstpluginfeature.h:
17816 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17817 more docs inlined, splitted gstindex.{c,h}
17819 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17821 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17824 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17826 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17827 Set sync to FALSE by default.
17829 2005-09-20 Wim Taymans <wim@fluendo.com>
17831 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17832 (gst_base_sink_init):
17833 Make sync property settable from subclass.
17835 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17836 (gst_fake_sink_change_state):
17837 Set sync to FALSE by default.
17839 2005-09-20 Wim Taymans <wim@fluendo.com>
17841 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17842 * tools/gst-launch.c: (main):
17843 The timeout handler should have lower priority than the source
17844 so we don't timeout before popping a message with 0 timeout.
17845 Dump error messages after failed state change.
17847 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17849 * tools/gst-inspect.c: (print_element_properties_info):
17852 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17854 * check/gst/gstevent.c:
17855 * gst/elements/gstfakesink.c:
17856 * gst/elements/gstfakesink.h:
17857 remove the sync property from fakesink.
17858 has the side effect of setting sync TRUE
17859 for fakesink, which is a change. Anyone who knows how
17860 to fix this nicely in a GObject-y way, feel free.
17862 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17864 * docs/gst/gstreamer-docs.sgml:
17865 remove probe refsection
17867 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17869 * check/Makefile.am:
17870 disable valgrinding the controller test again
17871 * docs/gst/gstreamer-sections.txt:
17872 update for api-changes
17874 2005-09-20 Wim Taymans <wim@fluendo.com>
17876 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17877 (gst_base_sink_set_property), (gst_base_sink_get_property),
17878 (gst_base_sink_do_sync):
17879 * gst/base/gstbasesink.h:
17880 Added sync property to basesink to disable clock sync.
17882 2005-09-20 Andy Wingo <wingo@pobox.com>
17884 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17885 eating the caller's refcount.
17887 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17888 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17891 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17892 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17893 of GLib 2.8 public, so we can know which refcount to check in
17896 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17897 (gst_object_init): Only set the gst refcount if we're going ahead
17898 with the refcount hack.
17900 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17902 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17903 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17904 more leaks plumbed, added more debug-logging
17908 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17910 * gst/gstmessage.c:
17911 remove include of gstmemchunk.h
17913 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17915 * gst/gstclock.c: (_gst_clock_id_free):
17916 Commit from the Political Party For More Atomic CVS Commits,
17917 so that people don't waste too much of their day fishing
17918 out obvious leaks out of massive commits.
17919 Oh, and fix a pretty damn obvious leak in the memchunk
17922 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17924 * check/Makefile.am:
17925 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17926 plug mem-leak, re-add to valgrindable tests
17928 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17931 unbreak the build for those who have chronic arthritis
17932 and typing "make check" is just too taxing on the hands
17934 2005-09-20 Andy Wingo <wingo@pobox.com>
17936 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17937 really want it out, you should fix plugins at the same time.
17939 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17942 * docs/gst/gstreamer-sections.txt:
17944 added missing symbols to api docs
17945 disable ref-count hack if we have glib >= 2.8
17947 2005-09-19 David Schleef <ds@schleef.org>
17949 * docs/gst/Makefile.am: Ignore a few more internal headers
17950 * docs/gst/gstreamer-docs.sgml: Remove old sections
17951 * docs/gst/gstreamer-sections.txt: Remove old sections
17952 * docs/gst/tmpl/gstobject.sgml: update
17953 * docs/gst/tmpl/gstplugin.sgml: update
17954 * docs/gst/tmpl/gstpluginfeature.sgml: update
17955 * docs/random/ds/0.9-suggested-changes: update.
17956 * gst/Makefile.am: remove memchunk and trashstack, since they're
17958 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17959 * gst/gst.h: don't include some headers
17960 * gst/gstchildproxy.c: add gstmarshal.h
17961 * gst/gstclock.c: Don't use memchunks
17962 * gst/gstminiobject.c: Add some docs
17963 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17964 * gst/gstobject.h: same
17965 * gst/gstplugin.c: include gstmacros.h
17966 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17967 * gst/gstquery.c: don't use memchunks
17968 * gst/gstregistry.c: rename gst_registry_deinit()
17969 * gst/gstregistry.h: same
17971 2005-09-19 David Schleef <ds@schleef.org>
17973 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17974 * docs/libs/gstreamer-libs-sections.txt:
17975 * docs/libs/tmpl/gstgetbits.sgml:
17976 * docs/libs/tmpl/gstputbits.sgml:
17978 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17980 * win32/gstenumtypes.c:
17981 * win32/gstenumtypes.h:
17984 2005-09-19 Wim Taymans <wim@fluendo.com>
17986 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17987 Automatically PAUSE and RESUME a pipeline when a flushing seek
17990 2005-09-19 Andy Wingo <wingo@pobox.com>
17992 * gst/gstregistry.h: Spacing fixen.
17994 2005-09-19 Wim Taymans <wim@fluendo.com>
17996 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17997 Handle state change failure more correctly.
17999 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18001 * check/Makefile.am:
18002 * check/pipelines/cleanup.c: (run_pipeline):
18003 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18005 enable cleanup again after fixing the leak
18007 some more info on docs
18009 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18011 * check/Makefile.am:
18012 re-enable tests now that leaks are plugged
18014 * check/gst/gstbin.c:
18015 * check/gst/gstpipeline.c:
18016 add some more tests while fixing leaks
18017 * common/check.mak:
18018 make sure binaries are uptodate when valgrinding/gdbing
18020 * gst/gstelementfactory.c:
18021 remove a ref too many, and add a FIXME for when we get
18022 round to disposing of classes
18024 fix the refcounting when loading a plugin from a file and
18025 the code pretends that the pointer is the same even though
18026 of course it can change
18027 * gst/gstpluginfeature.c:
18028 unref plugins marked cached (a bit confusing as a name)
18029 as the docs state should be done
18030 various doc additions to explain refcounting
18031 * gst/gstregistry.c:
18032 * gst/gstregistryxml.c:
18035 2005-09-19 Wim Taymans <wim@fluendo.com>
18037 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
18038 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18039 (send_messages), (GST_START_TEST), (gstbus_suite):
18040 * check/gst/gstpipeline.c: (GST_START_TEST):
18041 * check/pipelines/cleanup.c: (run_pipeline):
18042 * check/pipelines/simple_launch_lines.c: (run_pipeline),
18044 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
18045 (gst_bus_source_check), (gst_bus_source_dispatch),
18046 (gst_bus_create_watch), (gst_bus_add_watch_full),
18047 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
18049 * tools/gst-launch.c: (event_loop):
18050 * tools/gst-md5sum.c: (event_loop):
18051 GstBusHandler -> GstBusFunc, return value has the same meaning as
18052 any other GSource (FALSE == remove source).
18053 _add_watch() and _add_watch_full() now take a MessageType mask to
18054 only handle specific types of messages.
18055 _poll() returns the GstMessage instead of the message type to avoid
18057 _have_pending() takes a MessageType mask now too.
18058 Added testsuite for multiple bus watches.
18059 Fix testsuites and applications for new bus API.
18061 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
18063 * check/Makefile.am:
18064 mark a bunch of the tests as to fix until we fix them
18066 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18068 * common/check.mak:
18069 use GST_PLUGIN settings for valgrind tests as well, so we're
18070 valgrinding the correct thing
18071 * gst/gst.c: (init_post):
18074 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18076 * gst/gst.c: (init_post), (gst_deinit):
18077 * gst/gstelementfactory.c: (gst_element_factory_class_init),
18078 (gst_element_factory_finalize), (gst_element_factory_cleanup):
18079 * gst/gstindex.c: (gst_index_factory_class_init),
18080 (gst_index_factory_finalize):
18081 * gst/gstobject.c: (gst_object_dispose):
18082 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
18083 (gst_plugin_load_file), (gst_plugin_desc_free):
18084 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
18085 (gst_plugin_feature_finalize):
18086 * gst/gstregistry.c: (gst_registry_class_init),
18087 (gst_registry_init), (gst_registry_finalize),
18088 (gst_registry_get_default), (gst_registry_deinit):
18089 * gst/gstregistry.h:
18090 * gst/gstregistryxml.c: (load_feature), (load_plugin):
18091 various cleanups and memleak plugging. make valgrind is happy now.
18093 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
18095 * common/check.mak:
18096 add a check-valgrind target
18098 2005-09-18 David Schleef <ds@schleef.org>
18100 * tools/gst-inspect.c: Revert the GOption code.
18102 2005-09-17 David Schleef <ds@schleef.org>
18104 * check/Makefile.am: Fix environment variables.
18105 * check/gst/gstplugin.c: Fix for API changes.
18106 * tools/gst-inspect.c: Fix for API changes.
18107 * tools/gst-xmlinspect.c: Fix for API changes.
18108 * gst/gstelementfactory.c:
18111 * gst/gstpluginfeature.c:
18112 * gst/gstpluginfeature.h:
18113 * gst/gstregistry.c:
18114 * gst/gstregistry.h:
18115 * gst/gstregistryxml.c:
18116 * gst/gsttypefind.c:
18117 * gst/gsttypefindfactory.c:
18118 * gst/indexers/gstfileindex.c:
18119 * gst/indexers/gstmemindex.c:
18120 * gst/schedulers/Makefile.am:
18121 Change registry to keep track of both plugins and features,
18122 removing the feature tracking from plugins themselves.
18124 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
18126 * check/Makefile.am:
18127 * tools/gst-register.1.in:
18128 remove gst-register
18130 2005-09-15 David Schleef <ds@schleef.org>
18132 * check/gst/gstplugin.c:
18133 * gst/gstelementfactory.c:
18135 * gst/gstpluginfeature.c:
18136 * gst/gstregistry.c:
18137 Getting tired of debugging. Disabled all the unreffing of
18138 plugins and features, which fixes the segfaults, but of
18139 course leaks like crazy. At least playbin works.
18141 2005-09-15 David Schleef <ds@schleef.org>
18143 * check/gst/gstplugin.c: (register_check_elements),
18144 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
18146 * gst/elements/gsttypefindelement.c: Fix refcounting.
18147 * gst/gsttypefind.c:
18148 * gst/gsttypefindfactory.c:
18149 * gst/gsttypefindfactory.h:
18151 2005-09-15 David Schleef <ds@schleef.org>
18153 * gst/gstindex.c: get refcounting correct.
18154 * gst/gstregistry.c: Handle the case where a feature/plugin is
18157 2005-09-15 David Schleef <ds@schleef.org>
18159 * check/Makefile.am:
18160 * check/gst/gstplugin.c: Add test
18161 * gst/gstplugin.c: Fix problems noticed by testsuite
18163 * gst/gstregistry.c:
18164 * gst/gstregistry.h:
18166 2005-09-15 David Schleef <ds@schleef.org>
18168 * gst/gstplugin.c: Implement semi-decent recounting and locking
18169 in plugins and plugin features.
18171 * gst/gstpluginfeature.c:
18172 * gst/gstpluginfeature.h:
18173 * gst/gstregistry.c:
18175 2005-09-15 Michael Smith <msmith@fluendo.com>
18177 * gst/gstregistry.c: (gst_registry_get_feature_list):
18178 Implement this. Makes oggdemux work; decodebin still broken.
18180 2005-09-14 David Schleef <ds@schleef.org>
18182 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
18184 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
18185 * gst/check/Makefile.am:
18186 * libs/gst/controller/Makefile.am:
18187 * libs/gst/dataprotocol/Makefile.am:
18189 2005-09-14 David Schleef <ds@schleef.org>
18191 * configure.ac: Remove getbits library. Nothing uses it, and
18192 it should be in something like liboil if someone did want
18194 * libs/gst/Makefile.am:
18195 * libs/gst/getbits/Makefile.am:
18196 * libs/gst/getbits/gbtest.c:
18197 * libs/gst/getbits/getbits.c:
18198 * libs/gst/getbits/getbits.h:
18199 * libs/gst/getbits/gstgetbits_generic.c:
18200 * libs/gst/getbits/gstgetbits_i386.s:
18201 * libs/gst/getbits/gstgetbits_inl.h:
18203 2005-09-14 David Schleef <ds@schleef.org>
18205 * gst/Makefile.am: Dist glib-compat.h
18207 2005-09-14 David Schleef <ds@schleef.org>
18209 * configure.ac: Remove gst/registries, since it's no longer used.
18210 * gst/registries/Makefile.am:
18211 * gst/registries/gstlibxmlregistry.c:
18212 * gst/registries/gstlibxmlregistry.h:
18213 * gst/registries/gstxmlregistry.c:
18214 * gst/registries/gstxmlregistry.h:
18215 * gst/registries/registrytest.c:
18217 2005-09-14 David Schleef <ds@schleef.org>
18219 * gst/glib-compat.h:
18220 * gst/gstregistryxml.c:
18221 Convergence is near. Seriously.
18223 2005-09-14 David Schleef <ds@schleef.org>
18225 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18226 * gst/glib-compat.h:
18227 Attempt #4 to appease the buildbots.
18229 2005-09-14 David Schleef <ds@schleef.org>
18231 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18234 2005-09-14 David Schleef <ds@schleef.org>
18236 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18239 2005-09-14 David Schleef <ds@schleef.org>
18241 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
18244 2005-09-14 David Schleef <ds@schleef.org>
18246 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18247 * gst/glib-compat.h: Add some functions that are in newer versions
18248 of glib than we care to require.
18249 * gst/gstregistryxml.c: Use them.
18251 2005-09-14 David Schleef <ds@schleef.org>
18253 * po/POTFILES.in: remove gst-register.c
18255 2005-09-14 David Schleef <ds@schleef.org>
18257 * docs/gst/gstreamer-docs.sgml:
18258 * docs/gst/gstreamer-sections.txt:
18259 * docs/gst/gstreamer.types:
18260 * docs/gst/tmpl/gstelement.sgml:
18261 * docs/gst/tmpl/gstplugin.sgml:
18262 * docs/gst/tmpl/gstpluginfeature.sgml:
18263 Documentation updates for registry changes.
18265 2005-09-14 David Schleef <ds@schleef.org>
18267 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18268 because we don't require glib-2.8.
18270 2005-09-14 David Schleef <ds@schleef.org>
18272 * gst/gstregistryxml.c: Added. Essentially moved out of the
18273 registries directory.
18275 2005-09-14 David Schleef <ds@schleef.org>
18277 * check/Makefile.am:
18278 * check/generic/states.c:
18282 * gst/gst_private.h:
18283 * gst/gstelementfactory.c:
18288 * gst/gstpluginfeature.c:
18289 * gst/gstpluginfeature.h:
18290 * gst/gstregistry.c:
18291 * gst/gstregistry.h:
18292 * gst/gstregistrypool.c: remove
18293 * gst/gstregistrypool.h: remove
18294 * gst/gsttypefind.c:
18295 * gst/gsttypefindfactory.c:
18297 * tools/Makefile.am:
18298 * tools/gst-compprep.c:
18299 * tools/gst-inspect.c:
18300 * tools/gst-register.c: remove
18301 * tools/gst-xmlinspect.c:
18302 Registry rewrite. Changes registry from being a file created
18303 by a tool into a simple cache file created automatically by
18304 libgstreamer. Removed gst-register (because it's no longer
18305 needed). Remove registry pools, because we only have one
18306 registry implementation (XML). Fix up other subsystems as
18309 2005-09-13 Michael Smith <msmith@fluendo.com>
18311 * gst/gstconfig.h.in:
18312 Don't Use windows linking attributes for MinGW. Fixes #316157
18314 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * gst/gstutils.c: (set_state_async_thread_func),
18317 (gst_element_set_state_async):
18318 Apparently people think it's better if this function doesn't
18319 try to set the state to whatever state was asked for on the first
18320 call to this function for any object. Seriously.
18322 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18324 * check/gst/gstpipeline.c: (GST_START_TEST):
18325 * docs/gst/gstreamer-sections.txt:
18326 * gst/gstutils.c: (set_state_async_thread_func),
18327 (gst_element_set_state_async):
18329 add a "gst_element_set_state_async" method that
18330 sets the state and starts a thread to make sure the state
18331 change completes as best as it can
18333 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18335 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18336 codify design+behaviour in testsuite after discussion
18338 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18340 * docs/gst/tmpl/gstelement.sgml:
18341 * docs/manual/appendix-quotes.xml:
18343 * gst/gstelement.c: (gst_element_set_state):
18346 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18348 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18349 (gst_base_transform_prepare_output_buf),
18350 (gst_base_transform_handle_buffer):
18351 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18352 (gst_capsfilter_prepare_buf):
18353 Remove the requirement for sub-classes to call the parent
18354 implementation of prepare_output_buffer with a wrapper function.
18356 * gst/gsttaglist.h:
18357 * gst/gsttagsetter.h:
18358 Fix #define wrapper
18360 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18362 * docs/gst/gstreamer-sections.txt:
18365 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18367 * docs/gst/gstreamer-sections.txt:
18368 * docs/gst/tmpl/gstelement.sgml:
18369 * docs/gst/tmpl/gstplugin.sgml:
18370 * gst/gstminiobject.c:
18372 docs now stop throwing warnings
18374 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18376 * docs/gst/gstreamer-sections.txt:
18377 * docs/gst/gstreamer.types:
18378 * docs/gst/tmpl/gstpad.sgml:
18379 * docs/gst/tmpl/gsttypes.sgml:
18380 * gst/base/gstadapter.h:
18381 * gst/base/gstbasesink.h:
18382 * gst/base/gstbasesrc.h:
18388 * gst/gstelement.h:
18390 * gst/gstmessage.h:
18392 * gst/gststructure.c:
18393 * gst/registries/gstlibxmlregistry.h:
18394 various documentation fixes
18396 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18398 * docs/gst/gstreamer-sections.txt:
18399 * docs/gst/tmpl/gstvalue.sgml:
18400 rearrange gstvalue section
18401 * gst/gstutils.c: (gst_element_state_get_name):
18403 * gst/gstvalue.c: (_gst_value_initialize):
18407 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18409 * check/gst-libs/controller.c:
18410 Header include fix.
18411 * gst/base/gstbasetransform.c:
18412 (gst_base_transform_default_prepare_buf),
18413 (gst_base_transform_handle_buffer):
18414 * gst/base/gstbasetransform.h:
18415 Some more basetransform changes and fixes to enable sub-classes
18416 that modify buffer metadata only.
18417 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18418 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18419 (gst_capsfilter_prepare_buf):
18420 If the output pad has fixed allowed caps and input buffers
18421 don't have any, set the fixed caps on outgoing buffers.
18423 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18424 * check/elements/identity.c: (GST_START_TEST):
18425 Make the error a little clearer when the test fails because
18426 identity made a copy of the buffer.
18427 * docs/gst/gstreamer-sections.txt:
18428 New symbols in gstbasetransform.h
18429 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18430 (gst_base_transform_init), (gst_base_transform_transform_size),
18431 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18432 (gst_base_transform_default_prepare_buf),
18433 (gst_base_transform_get_unit_size),
18434 (gst_base_transform_buffer_alloc),
18435 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18436 (gst_base_transform_change_state),
18437 (gst_base_transform_set_passthrough),
18438 (gst_base_transform_set_in_place),
18439 (gst_base_transform_is_in_place):
18440 * gst/base/gstbasetransform.h:
18441 Change BaseTransform to separate in_place operate from same_caps
18442 output. in_place implies that the element can perform the transform
18443 on incoming buffers in-place, even if the caps on the output are
18445 Sub-class elements can now implement special buffer allocation
18446 methods for outgoing buffers if they wish to.
18447 Big documentation addition.
18448 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18449 * gst/elements/gstelements.c:
18450 Changes for basetransform modifications.
18451 * gst/elements/Makefile.am:
18452 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18453 Compile fix. Extra debug output.
18455 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18457 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18459 add tests for valid pad naming
18460 * gst/check/gstcheck.c: (gst_check_log_message_func),
18461 (gst_check_log_critical_func):
18463 remove printing of code, it is fragile when the code contains
18464 % and the line number is enough info
18465 * gst/check/gstcheck.h:
18466 * gst/gstpad.c: (gst_pad_template_new):
18469 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18472 say what CHECK flags we use
18473 * docs/libs/gstreamer-libs.types:
18474 * libs/gst/controller/Makefile.am:
18475 * libs/gst/controller/gst-controller.c:
18476 * libs/gst/controller/gst-controller.h:
18477 * libs/gst/controller/gst-helper.c:
18478 * libs/gst/controller/gst-interpolation.c:
18479 * libs/gst/controller/gstcontroller.c:
18480 * libs/gst/controller/gsthelper.c:
18481 * libs/gst/controller/gstinterpolation.c:
18482 * tools/gst-inspect.c: (print_plugin_info):
18483 we don't use dashes in header names
18485 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18487 * check/Makefile.am:
18488 * check/gst/.cvsignore:
18489 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18490 (gst_pipeline_suite), (main):
18491 adding a test for pipelines and state changes
18492 * gst/gstutils.c: (get_state_func):
18494 * gstreamer.spec.in:
18497 2005-09-08 Michael Smith <msmith@fluendo.com>
18499 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18500 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18501 (gst_file_src_is_seekable), (gst_file_src_get_size),
18502 (gst_file_src_start):
18503 * gst/elements/gstfilesrc.h:
18504 Various fixes for unseekable, unmmapable, and non-normal files, so
18505 that fallback to read() rather than mmap() works.
18506 * gst/gstevent.c: (gst_event_new_newsegment):
18507 Allow newsegment events with segment_start == segment_end, as will
18508 correctly happen if you use filesrc on a zero-size file, for
18511 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18513 * gst/gstplugin.c: (gst_plugin_load_file):
18514 Call g_module_close when we don't load the module
18516 * gst/registries/gstlibxmlregistry.c:
18517 (gst_xml_registry_get_property):
18518 Port leak fix from 0.8
18520 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18522 * docs/gst/gstreamer-docs.sgml:
18523 * docs/gst/tmpl/.cvsignore:
18524 * docs/gst/tmpl/gsttrace.sgml:
18525 * docs/gst/tmpl/gsttrashstack.sgml:
18528 * gst/gstelement.h:
18530 * gst/gstmessage.c:
18531 * gst/gstmessage.h:
18534 * gst/gsttaginterface.c:
18535 * gst/gsttaginterface.h:
18536 * gst/gsttaglist.c:
18537 * gst/gsttaglist.h:
18538 * gst/gsttagsetter.c:
18539 * gst/gsttagsetter.h:
18542 * gst/gsttrashstack.c:
18543 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18544 inlined docs for gsttrace, gsttrashstack
18546 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18549 * gst/elements/gstbufferstore.h:
18550 * gst/elements/gsttypefindelement.c:
18551 * gst/elements/gsttypefindelement.h:
18553 * gst/gsttypefind.c:
18554 * gst/gsttypefind.h:
18555 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18556 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18557 (gst_type_find_factory_dispose),
18558 (gst_type_find_factory_unload_thyself),
18559 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18560 (gst_type_find_factory_get_caps),
18561 (gst_type_find_factory_get_extensions),
18562 (gst_type_find_factory_call_function):
18563 * gst/gsttypefindfactory.h:
18564 * gst/registries/gstlibxmlregistry.c:
18565 * gst/registries/gstxmlregistry.c:
18566 splitted gsttypefind into gsttypefind, gsttypefindfactory
18568 2005-09-07 Andy Wingo <wingo@pobox.com>
18570 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18571 condition whereby the pad's task function is entered before the
18572 pad_mode variable was set.
18574 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18576 * gst/gstpad.c: (gst_pad_alloc_buffer):
18577 Catch misbehaving pad_alloc functions that don't
18578 set up caps and do it for them.
18580 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18582 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18583 test for pipe!=NULL
18584 * docs/gst/tmpl/.cvsignore:
18585 * docs/gst/tmpl/gstmemchunk.sgml:
18586 * docs/gst/tmpl/gstparse.sgml:
18587 * docs/gst/tmpl/gsttaglist.sgml:
18588 * docs/gst/tmpl/gsttagsetter.sgml:
18589 * docs/gst/tmpl/gsttypefind.sgml:
18590 * docs/gst/tmpl/gsttypefindfactory.sgml:
18591 * gst/gstmemchunk.c:
18594 * gst/gsttaginterface.c:
18595 * gst/gsttypefind.c:
18596 * gst/gsttypefind.h:
18599 === release 0.9.2 ===
18601 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18606 releasing 0.9.2, "South"
18608 2005-09-05 Andy Wingo <wingo@pobox.com>
18610 * gst/registries/gstxmlregistry.h:
18611 * gst/registries/gstxmlregistry.c: Um... resurrect...
18613 * gst/registries/gstxmlregistry.h:
18614 * gst/registries/gstxmlregistry.c: and update to newer API.
18615 Incidentally they should be a bit faster now that they don't have
18618 2005-09-05 Andy Wingo <wingo@pobox.com>
18620 * gst/registries/gstxmlregistry.h:
18621 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18622 replaced by the libxml registry a while back
18624 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18626 * docs/gst/tmpl/gstplugin.sgml:
18627 * gst/elements/gstelements.c:
18629 * gst/gstplugin.c: (gst_plugin_register_func),
18630 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18631 (gst_plugin_get_source):
18633 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18634 (gst_xml_registry_save_plugin):
18635 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18636 (gst_xml_registry_save_plugin):
18637 * tools/gst-inspect.c: (print_plugin_info):
18638 add a "source" plugin description field, to represent the source
18639 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18640 will set it to PACKAGE, which is automake's idea of the name of
18641 the source project.
18643 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18648 * docs/Makefile.am:
18649 * docs/faq/Makefile.am:
18650 * docs/gst/tmpl/gstelement.sgml:
18651 * docs/gst/tmpl/gsttypes.sgml:
18652 * docs/htmlinstall.mak:
18653 * docs/manual/Makefile.am:
18654 * docs/pwg/Makefile.am:
18655 reorganize doc build a little
18656 split out docbook and gtk-doc stuff
18657 have two separate --enable's and enable them through autogen
18658 but disable by default in configure (to be similar to other
18660 * gstreamer.spec.in:
18661 clean up docs install
18679 translation updates
18681 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18683 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18686 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18687 (gst_fake_sink_change_state):
18688 Make state change function thread-safe.
18690 * gst/gstpad.c: (gst_pad_alloc_buffer):
18691 Set offset on generic buffer allocated by fallback.
18693 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18695 * docs/gst/gstreamer-sections.txt:
18696 * docs/gst/tmpl/gstelement.sgml:
18698 * libs/gst/controller/gst-controller.c:
18699 (gst_controlled_property_set_interpolation_mode),
18700 (gst_controlled_property_new),
18701 (gst_controller_find_controlled_property):
18702 run the wingo-magic script against the docs
18704 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18706 * docs/gst/gstreamer-docs.sgml:
18707 * docs/gst/gstreamer-sections.txt:
18708 * docs/gst/tmpl/.cvsignore:
18709 * docs/gst/tmpl/gstelementdetails.sgml:
18710 * docs/gst/tmpl/gstelementfactory.sgml:
18713 * gst/gstelementfactory.c:
18714 * gst/gstelementfactory.h:
18715 merged elementdetails docs into elementfactory docs
18718 2005-09-02 Andy Wingo <wingo@pobox.com>
18720 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18721 consider this enum an enum and not a flags.
18723 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18725 * docs/gst/gstreamer-docs.sgml:
18726 * docs/gst/tmpl/.cvsignore:
18727 * docs/gst/tmpl/gstghostpad.sgml:
18728 * docs/gst/tmpl/gstiterator.sgml:
18729 * docs/gst/tmpl/gstmacros.sgml:
18730 * docs/gst/tmpl/gstrealpad.sgml:
18731 * docs/gst/tmpl/gstregistry.sgml:
18732 * docs/gst/tmpl/gstregistrypool.sgml:
18733 * docs/gst/tmpl/gststructure.sgml:
18734 * docs/gst/tmpl/gstsystemclock.sgml:
18735 * docs/gst/tmpl/gsttrace.sgml:
18736 * gst/gstghostpad.c:
18738 * gst/gstmemchunk.c:
18739 * gst/gstmemchunk.h:
18741 * gst/gstregistry.c:
18742 * gst/gstregistrypool.c:
18743 * gst/gststructure.c:
18744 * gst/gstsystemclock.c:
18747 2005-09-02 Andy Wingo <wingo@pobox.com>
18749 * gst/gstelement.h (GstState): Renamed from GstElementState,
18750 changed to be a normal enum instead of flags.
18751 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18752 munged to be GST_STATE_CHANGE_*.
18753 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18754 work with the new state representation.
18755 (GstStateChange): New enumeration of possible state transitions.
18756 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18757 (GstElementClass::change_state): Pass the GstStateChange along as
18758 an argument. Helps language bindings, so they don't have to use
18759 tricky lock-needing macros like GST_STATE_CHANGE ().
18761 * scripts/update-states (file): New script. Run it on a file to
18762 update it for state naming and API changes. Updates files in
18765 * All files updated for the new API.
18767 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18769 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18770 * gst/gstutils.c: (gst_util_set_value_from_string),
18771 (gst_util_set_object_arg):
18772 fix a bunch of unchecked return values
18773 * tools/gst-complete.c: (main):
18774 * gstreamer.spec.in:
18777 2005-09-01 Wim Taymans <wim@fluendo.com>
18779 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18780 (gst_base_sink_event), (gst_base_sink_do_sync),
18781 (gst_base_sink_handle_event):
18782 * gst/base/gstbasesink.h:
18783 Handle newsegments more correctly.
18788 * gst/gstevent.c: (gst_event_new_newsegment):
18789 A newsegment cannot have a start_time of -1
18791 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18793 * win32/gstenumtypes.c:
18794 * win32/gstenumtypes.h:
18797 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18799 * libs/gst/controller/gst-controller.c:
18800 (gst_controlled_property_set_interpolation_mode),
18801 (gst_controlled_property_new):
18802 fixed boolean again
18804 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18806 * docs/faq/gst-uninstalled:
18811 * gst/gstutils.c: (gst_element_link_filtered):
18813 add gst_element_link_filtered
18815 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18817 * docs/gst/gstreamer-docs.sgml:
18818 * docs/gst/gstreamer-sections.txt:
18819 * docs/gst/tmpl/.cvsignore:
18820 * docs/gst/tmpl/gsterror.sgml:
18821 * docs/gst/tmpl/gstfilter.sgml:
18822 * docs/gst/tmpl/gsturihandler.sgml:
18823 * docs/gst/tmpl/gsturitype.sgml:
18824 * docs/gst/tmpl/gstutils.sgml:
18825 * docs/gst/tmpl/gstxml.sgml:
18830 * gst/gsturitype.c:
18833 inlined more docs, fixed double id-ref
18835 2005-08-31 Wim Taymans <wim@fluendo.com>
18837 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18838 (gst_base_transform_handle_buffer):
18839 Passthrough elements don't need the caps as they don't care.
18841 2005-08-31 Wim Taymans <wim@fluendo.com>
18843 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18844 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18845 Don't leak refcounts on buffers.
18847 2005-08-31 Wim Taymans <wim@fluendo.com>
18849 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18850 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18851 (gst_base_transform_chain), (gst_base_transform_change_state):
18852 * gst/base/gstbasetransform.h:
18853 Handle the case where we are not negotiated more gracefully.
18855 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18857 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18858 (gst_file_src_map_region):
18859 Set READONLY flag on mmap'ed buffers, otherwise
18860 gst_buffer_make_writable() won't work properly (#314708).
18862 2005-08-31 Wim Taymans <wim@fluendo.com>
18864 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18865 passthrough elements can even do inplace on non writable
18866 buffers (as they don't touch them).
18868 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18870 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18871 (gst_test_mono_source_set_property),
18872 (gst_test_mono_source_class_init), (GST_START_TEST),
18873 (gst_controller_suite):
18874 more tests (hehe I have the most)
18876 describe popping messages whenusing mulltiple sources
18877 * libs/gst/controller/gst-controller.c:
18878 (gst_controlled_property_set_interpolation_mode),
18879 (gst_controlled_property_new):
18880 * libs/gst/controller/gst-controller.h:
18881 * libs/gst/controller/gst-interpolation.c:
18882 implement boolean properties
18884 2005-08-31 Wim Taymans <wim@fluendo.com>
18886 * gst/gstminiobject.c: (gst_mini_object_ref):
18887 Cannot assert that the refcount has to be positive
18888 since a disposed object can be resurrected.
18890 2005-08-31 Wim Taymans <wim@fluendo.com>
18892 * gst/gstpad.c: (gst_pad_init):
18893 Revert change, need to first fix badly behaving
18896 2005-08-30 Wim Taymans <wim@fluendo.com>
18898 * check/elements/fakesrc.c: (setup_fakesrc):
18899 * check/elements/identity.c: (setup_identity):
18900 Activate pads before using them.
18902 2005-08-30 Wim Taymans <wim@fluendo.com>
18904 * gst/base/gstadapter.c: (gst_adapter_flush):
18905 Flushing out 0 bytes is ok for this function.
18907 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18908 no newsegment gives a warning and sets the start/stop to
18911 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18912 (gst_base_transform_set_passthrough):
18915 * gst/gstminiobject.c: (gst_mini_object_ref):
18916 Check refcount here too.
18918 * gst/gstpad.c: (gst_pad_init):
18919 Pads are initially flushing and refusing data.
18921 * gst/gstutils.c: (gst_element_link_pads_filtered):
18922 When adding a capsfilter element make sure it has the
18923 same state as the parent bin.
18925 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18927 * docs/gst/tmpl/.cvsignore:
18928 * docs/gst/tmpl/gstformat.sgml:
18929 * docs/gst/tmpl/gstversion.sgml:
18933 * gst/gstversion.h.in:
18934 more docs and two more inlined
18936 2005-08-30 Wim Taymans <wim@fluendo.com>
18938 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18939 Don't sync to clock.
18941 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18943 * docs/gst/gstreamer-sections.txt:
18944 ultral33t func10ns deserve to appear in the docs actually
18945 * docs/gst/tmpl/.cvsignore:
18946 * docs/gst/tmpl/gstcompat.sgml:
18947 * docs/gst/tmpl/gstconfig.sgml:
18948 * gst/check/gstcheck.c:
18950 * gst/gstconfig.h.in:
18953 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18955 * docs/gst/tmpl/.cvsignore:
18956 * docs/gst/tmpl/gstquery.sgml:
18957 * docs/gst/tmpl/gstutils.sgml:
18960 inlined and extended docs
18962 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18964 * check/gst-libs/controller.c: (GST_START_TEST),
18965 (gst_controller_suite):
18967 * docs/gst/tmpl/gstutils.sgml:
18968 * docs/libs/gstreamer-libs-sections.txt:
18969 * docs/libs/tmpl/gstdataprotocol.sgml:
18971 * examples/controller/audio-example.c: (main):
18972 controller example works now
18975 * tools/gst-inspect.c: (print_element_properties_info):
18976 show param spec flags
18978 2005-08-29 Andy Wingo <wingo@pobox.com>
18980 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18982 2005-08-28 Andy Wingo <wingo@pobox.com>
18984 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18985 as having two arguments instead of just one. Allows superclasses
18986 to access information on subclasses -- see the terrible for() loop
18987 in gtype.c:g_type_create_instance for the reason why. All callers
18990 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18992 * docs/design/part-messages.txt:
18994 * docs/gst/tmpl/.cvsignore:
18995 * docs/gst/tmpl/gstcaps.sgml:
18996 * docs/gst/tmpl/gstclock.sgml:
19002 * gst/gstmessage.c:
19003 added descriptions for bus and message
19004 inline caps and clock docs
19006 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19008 * gst/gstmessage.c:
19009 * gst/gstmessage.h:
19012 2005-08-27 Stefan Kost <ensonic@users.sf.net>
19014 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19017 2005-08-26 Andy Wingo <wingo@pobox.com>
19019 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
19020 element_set_state's return val.
19021 (test_2_elements): Add test that's been disabled for months.
19023 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
19024 can-activate-pull properties.
19026 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
19027 can-activate-pull properties. Implement is_seekable so fakesrc can
19028 operate in pull mode.
19030 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
19032 (gst_base_sink_activate, gst_base_sink_activate_pull)
19033 (gst_base_sink_activate_push): Make activation mode choosing work.
19035 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
19036 is right. Make pull mode work. Post an eos before pausing in pull
19038 (gst_base_sink_change_state): Pay attention to the core's
19039 change_state() return val.
19041 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
19042 has-getrange properties. Cleanups.
19044 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
19045 has_getrange and replace with can_activate_pull and
19048 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
19049 locking comments. Remove has_loop, has_chain and replace with
19050 can_activate_pull and can_activate_push.
19052 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
19055 * examples/Makefile.am:
19056 * examples/metadata/Makefile.am:
19057 * examples/metadata/read-metadata.c: (message_loop),
19058 (have_pad_handler), (make_pipeline), (print_tag), (main):
19059 Add metadata reading example that loops over a list of filenames,
19060 dumping any tags found.
19062 * gst/gstbus.c: (gst_bus_dispose):
19063 * gst/gstelement.c: (gst_element_dispose):
19064 Release a few potentially-held references in dispose.
19066 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19068 * docs/gst/tmpl/gstminiobject.sgml:
19069 do *not* add tmpl/*.sgml files to CVS!
19071 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19073 * libs/gst/bytestream/.cvsignore:
19074 * libs/gst/bytestream/Makefile.am:
19075 * libs/gst/bytestream/adapter.c:
19076 * libs/gst/bytestream/adapter.h:
19077 * libs/gst/bytestream/bytestream.c:
19078 * libs/gst/bytestream/bytestream.h:
19079 * libs/gst/bytestream/filepad.c:
19080 * libs/gst/bytestream/filepad.h:
19081 removing obsolete files
19083 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19085 * docs/gst/gstreamer-docs.sgml:
19086 * docs/libs/gstreamer-libs-docs.sgml:
19087 disabed additional index entries again, as this makes docs-gen just
19088 slow and they aren't useful yet
19089 * docs/libs/gstreamer-libs-sections.txt:
19090 little -section.txt cleanup for libs
19092 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
19094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19095 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
19096 fix up some debugging
19097 (gst_base_transform_get_unit_size),
19098 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
19099 (gst_base_transform_handle_buffer):
19100 * gst/base/gstbasetransform.h:
19101 handle and store timed NEWSEGMENT events so that subclasses that
19102 calculate time by counting samples have a segment_start time they
19103 need to add to their timestamps - see audioresample
19105 2005-08-26 Stefan Kost <ensonic@users.sf.net>
19108 removed ';' from the end of macro defs
19109 * docs/gst/gstreamer-docs.sgml:
19110 * docs/gst/gstreamer-sections.txt:
19111 * docs/gst/tmpl/.cvsignore:
19113 * gst/gstelement.c: (gst_element_class_init),
19114 (gst_element_set_state), (activate_pads),
19115 (gst_element_save_thyself):
19116 * gst/gstevent.c: (gst_event_new_newsegment):
19118 * gst/gstiterator.c:
19119 * gst/gstiterator.h:
19122 * gst/gstutils.c: (gst_pad_query_convert):
19124 fixed parameter name mismatches between source, header and docs
19125 added some more docs, resolved the last batch of unused elements in
19126 docs (now someone needs to doc them)
19128 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19130 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
19131 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
19132 don't walk through the plugins backwards. Where is all this
19133 reversed logic coming from ?
19135 2005-08-25 Wim Taymans <wim@fluendo.com>
19137 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19138 (gst_base_transform_transform_size),
19139 (gst_base_transform_configure_caps),
19140 (gst_base_transform_get_unit_size),
19141 (gst_base_transform_buffer_alloc),
19142 (gst_base_transform_change_state):
19143 * gst/base/gstbasetransform.h:
19144 Cache caps unit_size.
19145 Make sure we cannot negotiate up and downstream at the
19148 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19150 * gst/gst.c: (init_pre), (init_post):
19151 register the installed plugin path after the env var
19152 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
19153 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
19154 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
19155 directories, so the tests can prefer uninstalled over installed
19157 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
19159 * gst/base/gstbasetransform.h:
19164 2005-08-25 Wim Taymans <wim@fluendo.com>
19166 * gst/gstbin.c: (bin_bus_handler):
19167 Be a bit more conservative about the posted message.
19169 * gst/gstbus.c: (gst_bus_post):
19170 Some cleanups, warn wrong return values.
19172 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
19174 * check/gst/gstbin.c: (GST_START_TEST):
19175 * gst/gstbin.c: (bin_bus_handler):
19176 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19177 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19178 (gst_message_new_warning), (gst_message_new_tag),
19179 (gst_message_new_state_changed), (gst_message_new_segment_start),
19180 (gst_message_new_segment_done), (gst_message_new_custom):
19181 * gst/gstmessage.h:
19182 * tools/gst-launch.c: (event_loop):
19183 * tools/gst-md5sum.c: (event_loop):
19184 Revert unpopular change for GST_MESSAGE_SRC to GObject.
19186 2005-08-25 Wim Taymans <wim@fluendo.com>
19188 * check/generic/states.c: (GST_START_TEST):
19189 Cleanup can be done at the end.
19191 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
19192 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19193 (gst_task_get_state), (gst_task_start), (gst_task_pause):
19194 Oh boy.. Thanks for finding this, Thomas.
19196 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19198 * docs/gst/gstreamer.types:
19199 added missing types
19201 2005-08-25 Stefan Kost <ensonic@users.sf.net>
19203 * docs/gst/gstreamer-docs.sgml:
19204 * docs/gst/gstreamer-sections.txt:
19205 * docs/gst/tmpl/.cvsignore:
19207 * gst/gstiterator.c:
19209 * gst/registries/gstxmlregistry.h:
19210 added missing classes and symbols (123 more to go)
19211 removed removed symbols from section file
19212 fixed many doc-comments
19214 2005-08-24 Wim Taymans <wim@fluendo.com>
19216 * check/generic/states.c: (GST_START_TEST):
19217 Make sure all tasks are stopped.
19219 * check/gst/gstbin.c: (GST_START_TEST):
19220 Unref after usage for proper valgrinding.
19222 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
19223 Really wait for the task to stop before destroying the
19226 * gst/gstqueue.c: (gst_queue_sink_activate_push),
19227 (gst_queue_src_activate_push):
19228 Small cleanups. Don't stop the task when we did not start
19231 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
19232 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
19233 (gst_task_get_state), (gst_task_start), (gst_task_pause),
19236 Protect the stream lock with the object lock.
19237 Disallow setting the stream lock when running.
19238 Add cleanup_all to wait for the threadpool to finish.
19239 Remove code to autoallocate a mutex if none was provided.
19240 Add _join() to wait for a task to stop.
19241 Protect the thread pool with a global lock.
19243 2005-08-24 Wim Taymans <wim@fluendo.com>
19245 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19246 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19247 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19248 * gst/base/gstbasesink.h:
19249 Handle newsegment events correctly.
19250 Drop buffers out of the segment range.
19252 2005-08-22 Andy Wingo <wingo@pobox.com>
19254 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19255 macro, implements an interface and gstimplementsinterface for a
19258 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19260 * check/Makefile.am:
19261 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19262 add a test that does a bunch of state changes on elements
19263 needs some fixing for valgrind
19264 * check/states/sinks.c: (gst_object_suite):
19267 add prototype for gst_caps_is_equal_fixed
19269 * gst/gstregistrypool.c:
19272 2005-08-24 Andy Wingo <wingo@pobox.com>
19274 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19275 convert a negative value. Doesn't make much sense. Mostly this is
19276 here to force callers to ensure -1 maps to -1.
19278 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19280 * docs/pwg/advanced-types.xml:
19281 Well done to Michael for catching my deliberate introduction
19282 of this spelling mistake.
19283 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19284 * gst/gstelement.h:
19285 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19286 unlink pads before removing the element from the bin.
19288 2005-08-24 Andy Wingo <wingo@pobox.com>
19290 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19291 the same thing as GST_DEBUG=*:4.
19292 (parse_debug_level, parse_debug_category): New helper parsers.
19294 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19296 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19297 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19298 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19299 (gst_base_transform_buffer_alloc),
19300 (gst_base_transform_handle_buffer):
19301 use gboolean return values and pointers to size so we can use the
19302 full GST_BUFFER_SIZE range (guint) for buffer sizes
19303 use GstPadDirection for transform_caps
19304 * gst/base/gstbasetransform.h:
19305 rename get_size to get_unit_size since that's what it is
19306 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19307 use GstPadDirection for transform_caps
19308 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19310 cleanup and debugging
19312 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19314 * gst/gstelement.c: (gst_element_class_init),
19315 (gst_element_set_state), (activate_pads),
19316 (gst_element_save_thyself):
19317 * tools/gst-compprep.c: (main):
19318 * tools/gst-inspect.c: (print_element_properties_info):
19319 * tools/gst-xmlinspect.c: (print_element_properties):
19320 Fixed long standing mem-leak
19322 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19324 * check/gst/gstbin.c: (GST_START_TEST):
19325 * gst/gstbin.c: (bin_bus_handler):
19326 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19327 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19328 (gst_message_new_warning), (gst_message_new_tag),
19329 (gst_message_new_state_changed), (gst_message_new_segment_start),
19330 (gst_message_new_segment_done), (gst_message_new_custom):
19331 * gst/gstmessage.h:
19332 * tools/gst-launch.c: (event_loop):
19333 * tools/gst-md5sum.c: (event_loop):
19334 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19335 that applications can sensibly post custom messages with references
19336 to their own objects.
19338 2005-08-24 Andy Wingo <wingo@pobox.com>
19340 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19343 2005-08-24 Wim Taymans <wim@fluendo.com>
19345 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19346 (gst_base_transform_transform_caps),
19347 (gst_base_transform_transform_size),
19348 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19349 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19350 (gst_base_transform_handle_buffer):
19351 * gst/base/gstbasetransform.h:
19352 Many fixes and new features added by Thomas. Can now also do
19353 transforms with variable sizes and a custom fixate_caps function.
19355 2005-08-24 Wim Taymans <wim@fluendo.com>
19357 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19361 Cast to ClockTime before formatting to time.
19366 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19368 * check/gst-libs/controller.c: (GST_START_TEST),
19369 (gst_controller_suite):
19370 * docs/gst/tmpl/gstcaps.sgml:
19371 * docs/gst/tmpl/gstghostpad.sgml:
19372 * docs/gst/tmpl/gstquery.sgml:
19373 * docs/gst/tmpl/gstutils.sgml:
19374 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19375 (gst_object_sink_values), (gst_object_get_value_arrays),
19376 (gst_object_get_value_array):
19377 gracefully handle helper method calls to objects that are not beeing
19378 controlled, added test case for that
19380 2005-08-23 Wim Taymans <wim@fluendo.com>
19382 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19383 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19384 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19385 (gst_event_parse_qos), (gst_event_new_seek),
19386 (gst_event_parse_seek):
19388 Some more debugging output and doc cleanups.
19390 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19391 Fix possible deadlock.
19393 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19395 * docs/gst/gstreamer-docs.sgml:
19396 * docs/gst/gstreamer-sections.txt:
19397 * docs/gst/gstreamer.types:
19398 * docs/gst/tmpl/.cvsignore:
19401 * gst/gstelement.c:
19403 added 100 symbols from gstreamer-unused.txt to the right sections
19404 fixed more broken comments
19405 added GstBus to docs
19407 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19409 * docs/gst/gstreamer-sections.txt:
19410 * docs/gst/tmpl/.cvsignore:
19411 * docs/gst/tmpl/gstbin.sgml:
19412 * docs/gst/tmpl/gstbuffer.sgml:
19413 * gst/base/gstbasesrc.c:
19414 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19417 * tools/gst-launch.1.in:
19418 inlined more doc comments, added missing comments and fixed comments
19421 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19423 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19427 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19429 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19430 * gst/gststructure.h:
19431 add a fixate function for booleans; add a FIXME that these func
19432 names should probably be gst_structure_fixate_*
19434 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19436 * docs/gst/gstreamer-docs.sgml:
19437 * docs/gst/gstreamer-sections.txt:
19439 * gst/gstbin.c: (gst_bin_get_type),
19440 (gst_bin_child_proxy_get_child_by_index),
19441 (gst_bin_child_proxy_get_children_count),
19442 (gst_bin_child_proxy_init):
19443 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19444 (gst_child_proxy_get_child_by_index),
19445 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19446 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19447 (gst_child_proxy_get), (gst_child_proxy_set_property),
19448 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19449 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19450 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19451 * gst/gstchildproxy.h:
19452 * gst/parse/grammar.y:
19453 * tools/gst-inspect.c: (print_interfaces),
19454 (print_element_properties_info), (print_element_info):
19455 ported gstchildproxy over from 0.8
19456 ported gst-inspect fixes and enhancements over from 0.8
19458 2005-08-22 Wim Taymans <wim@fluendo.com>
19460 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19461 (gst_base_transform_handle_buffer):
19462 Also call the transform function if we have ANY caps.
19464 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19467 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19469 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19470 Don't pretend to handle seek events if the source is not seekable
19472 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19475 Remove extra parameter to debug output
19477 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19478 (gst_base_src_do_seek), (gst_base_src_activate_push):
19479 Fix seek event handling.
19481 * gst/gstpipeline.c: (gst_pipeline_change_state):
19482 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19483 (gst_queue_src_activate_push):
19484 Don't start the src pad task on FLUSH_STOP if the pad
19488 2005-08-22 Wim Taymans <wim@fluendo.com>
19490 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19491 Added check for gst_static_caps_get() refcounting.
19493 2005-08-22 Wim Taymans <wim@fluendo.com>
19495 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19496 Make _static_caps_get() refcounting sane.
19498 * gst/gstelement.c: (gst_element_set_state):
19499 Add g_return_val_if_fail() to protect against segfaults.
19501 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19503 * docs/gst/tmpl/gstevent.sgml:
19506 inlined remaining docs, added missing doc comments
19508 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19510 * check/gst/gstbin.c: (GST_START_TEST):
19511 since we don't know when preroll is done, use refcount range
19513 * gst/check/gstcheck.h:
19514 add macro for checking refcount range
19516 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19518 * check/Makefile.am:
19519 clean up environment for when registry gets built versus
19520 when actual tests are run; valgrind seems to not report
19521 leaks if GST_PLUGIN_PATH is set to some specific values
19522 * check/gst/gstbin.c: (GST_START_TEST):
19523 add more refcounting checks; maybe this exposes a
19525 * common/check.mak:
19526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19527 * gst/check/gstcheck.h:
19528 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19529 (gst_bin_change_state):
19530 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19531 add/fix debugging/whitespace
19533 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19535 * check/gst/gstevent.c: (event_probe), (test_event),
19537 Er, don't call gst_bin_watch_for_state_change you idiot.
19539 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19541 * check/Makefile.am:
19542 Use CHECK_CFLAGS and CHECK_LIBS
19543 * check/gst/gstevent.c: (event_probe), (test_event),
19546 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19547 (gst_base_src_start), (gst_base_src_stop),
19548 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19549 (gst_base_src_change_state):
19550 Sprinkle gst_base_src_stop liberally around error paths to fix
19551 problems reusing a source after failed state changes.
19552 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19553 (helper_find_suggest), (gst_type_find_helper):
19554 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19556 * docs/gst/tmpl/gstevent.sgml:
19557 Migrate part of the docs from the SGML file. Wait for ensonic to
19558 tell me how I did it wrong ;)
19559 * tools/gst-typefind.c: (main):
19560 Extra robustness to state changes between files.
19562 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19564 * check/Makefile.am:
19565 don't valgrind the controller test - it's leaking - Stefan, HELP
19566 * gst/check/gstcheck.c: (gst_check_message_error),
19567 (gst_check_chain_func), (gst_check_setup_element),
19568 (gst_check_teardown_element), (gst_check_setup_src_pad),
19569 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19570 (gst_check_teardown_sink_pad):
19571 * gst/check/gstcheck.h:
19572 add a bunch of methods to set up elements, and src and sink pads
19573 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19574 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19577 * gst/gstmessage.c:
19579 whitespace/doc fixes
19581 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19583 * gst/gstelement.h:
19584 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19585 be handled by the application and not always printed as well
19587 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19589 * check/Makefile.am:
19591 * gst/check/gstcheck.c: (gst_check_message_error):
19592 * gst/check/gstcheck.h:
19593 add a fail_unless_equals_int
19594 add fail_unless for error messages
19596 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19598 * check/Makefile.am:
19600 * common/Makefile.am:
19601 * common/check.mak:
19603 factor out some of the common stuff so we can use it
19605 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19607 * check/Makefile.am:
19608 * check/gst/gstiterator.c: (GST_START_TEST):
19609 * check/gst/gstsystemclock.c: (GST_START_TEST),
19610 (gst_systemclock_suite):
19611 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19613 valgrind more tests
19615 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19617 * check/elements/.cvsignore:
19618 * check/elements/gstfakesrc.c:
19619 rename to name of element
19620 * check/elements/identity.c: (chain_func), (event_func),
19621 (setup_identity), (cleanup_identity), (GST_START_TEST),
19622 (identity_suite), (main):
19623 add a test for identity
19624 * check/Makefile.am:
19625 * pkgconfig/Makefile.am:
19626 * pkgconfig/gstreamer-check.pc.in:
19627 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19631 move the check stuff to a library that gets installed
19632 * check/gst-libs/controller.c: (GST_START_TEST):
19633 * check/gst-libs/gdp.c:
19634 * check/gst/gst.c: (GST_START_TEST):
19635 * check/gst/gstbin.c:
19636 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19637 * check/gst/gstbus.c:
19638 * check/gst/gstcaps.c: (GST_START_TEST):
19639 * check/gst/gstelement.c:
19640 * check/gst/gstghostpad.c:
19641 * check/gst/gstiterator.c:
19642 * check/gst/gstmessage.c:
19643 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19644 * check/gst/gstobject.c:
19645 * check/gst/gstpad.c: (GST_START_TEST):
19646 * check/gst/gststructure.c: (GST_START_TEST):
19647 * check/gst/gstsystemclock.c: (GST_START_TEST),
19648 (gst_systemclock_suite):
19649 * check/gst/gsttag.c: (gst_tag_suite):
19650 * check/gst/gstvalue.c:
19651 * check/pipelines/cleanup.c:
19652 * check/pipelines/simple_launch_lines.c:
19653 * check/states/sinks.c:
19654 change include statement
19656 * docs/gst/gstreamer-sections.txt:
19657 * docs/gst/tmpl/gstpad.sgml:
19658 document more pad stuff
19659 * gst/gstminiobject.c: (gst_mini_object_ref),
19660 (gst_mini_object_unref):
19663 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19665 * docs/gst/tmpl/gst.sgml:
19667 eliminate another tmpl file, fix spelling in the long-description
19669 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19671 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19672 (test_event), (timediff), (gstevents_suite):
19673 Should fix build on 64-bit arch's
19675 2005-08-18 Andy Wingo <wingo@pobox.com>
19677 Make sure that when a pipeline goes to PLAYING, that data has
19678 actually hit the sink.
19680 * check/states/sinks.c (test_sink): A sink that doesn't get any
19681 data shouldn't return SUCCESS for going to either PLAYING or
19682 PAUSED. Test also the return values on the way back down.
19684 * gst/gstelement.c (gst_element_set_state): When changing the
19685 state of an element currently changing state asynchronously, go to
19686 lost-state after commiting the pending state. Makes future calls
19687 to get_state continue to return ASYNC.
19689 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19690 ASYNC when going to PLAYING if we still don't have preroll, as can
19691 happen with live sources.
19693 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19695 * docs/pwg/advanced-types.xml:
19696 Hack long paragraph into 2 chunks as a workaround for buggy
19697 jadetex version in sid and breezy that loops infinitely and
19700 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19702 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19703 (test_event), (timediff), (gstevents_suite):
19704 Provide more error margin in clock measurements to allow for
19705 g_get_current_time inaccuracies.
19707 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19709 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19710 (test_event), (timediff), (gstevents_suite):
19711 Fix error message output so I might be able to tell why the
19712 test works here but fails on the build farm.
19714 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19716 * check/Makefile.am:
19717 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19718 (test_event), (timediff), (gstevents_suite), (main):
19721 * docs/design/part-seeking.txt:
19722 Spelling correction
19724 * docs/gst/tmpl/gstevent.sgml:
19725 * docs/gst/tmpl/gstfakesrc.sgml:
19728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19729 Treat a buffer-without-newsegment the same as a receiving
19730 a newsegment not in time format, and disable syncing to the clock
19733 * gst/gstbus.c: (gst_bus_set_sync_handler):
19734 Assert if anyone tries to replace the existing sync_handler for bus,
19735 as only the owner should be setting it.
19738 Have a fixed set of custom event enums with events identified by
19739 their structure name (as in 0.8), rather than a free-for-all
19740 allowing collisions between enum values from different plugins.
19742 * gst/gstpad.c: (gst_pad_class_init):
19745 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19746 Handle out-of-band downstream events from the sending thread.
19748 2005-08-17 Andy Wingo <wingo@pobox.com>
19750 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19751 play-timeout==0 to mean no timeout at all. In that case, don't
19752 bother with a get_state or a warning, just return directly, even
19755 * gst/base/gstbasetransform.c: Debug changes.
19758 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19759 ensure bins post state change messages. A bit of a hack but I can't
19760 think of a way to avoid it.
19762 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19764 2005-08-16 Andy Wingo <wingo@pobox.com>
19766 * gst/base/gstadapter.h:
19767 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19768 peek() but you own the data. Not terribly efficient atm.
19770 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19772 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19773 (gst_element_found_tags):
19775 Add two utility functions for tag handling.
19777 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19779 * docs/manual/advanced-dataaccess.xml:
19780 * docs/manual/basics-helloworld.xml:
19781 Fix docs to use _bin_add() before _link(), which fixes the examples
19782 with recent core versions (reported by Madhan Raj M
19783 <raj_madan@rediffmail.com>, #313199).
19785 2005-08-16 Wim Taymans <wim@fluendo.com>
19787 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19788 Added subtract checks.
19790 * docs/design/part-events.txt:
19791 Some more docs about newsegment
19793 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19796 * gst/gstcaps.c: (gst_caps_to_string):
19797 Add comments, cleanups.
19799 * gst/gstelement.c: (gst_element_save_thyself):
19802 * gst/gstvalue.c: (gst_value_collect_int_range),
19803 (gst_string_unwrap), (gst_value_union_int_int_range),
19804 (gst_value_union_int_range_int_range),
19805 (gst_value_intersect_int_int_range),
19806 (gst_value_intersect_int_range_int_range),
19807 (gst_value_intersect_double_double_range),
19808 (gst_value_intersect_double_range_double_range),
19809 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19810 (gst_value_subtract_int_range_int),
19811 (gst_value_subtract_double_range_double),
19812 (gst_value_subtract_double_range_double_range),
19813 (gst_value_subtract_from_list), (gst_value_subtract_list),
19814 (gst_value_can_compare), (gst_value_compare_fraction):
19815 Cleanups, add comments, remove unneeded asserts.
19817 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19819 * tools/gst-launch.c: (event_loop):
19820 don't convert NULL structures to strings
19822 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19824 * docs/gst/gstreamer-sections.txt:
19825 made some defines private
19826 * docs/gst/tmpl/gstconfig.sgml:
19827 * docs/gst/tmpl/gstqueue.sgml:
19828 * docs/gst/tmpl/gsttaglist.sgml:
19829 * docs/gst/tmpl/gsttypes.sgml:
19830 * docs/gst/tmpl/gstutils.sgml:
19831 * docs/pwg/appendix-porting.xml:
19832 * gst/base/gstbasesink.h:
19833 * gst/base/gstbasesrc.c:
19834 * gst/base/gstbasesrc.h:
19835 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19836 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19837 * gst/gstelement.c: (gst_element_class_init):
19838 * gst/gstpad.c: (gst_pad_class_init):
19839 * gst/gstqueue.c: (gst_queue_class_init):
19840 * gst/gstxml.c: (gst_xml_class_init):
19841 documented all undocumented signal inline
19842 * libs/gst/controller/gst-controller.h:
19845 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19847 * docs/pwg/appendix-porting.xml:
19848 Document _set_link_function -> _set_setcaps_function.
19850 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19852 * check/Makefile.am:
19853 add a .check target for running the check
19854 * check/gst-libs/controller.c: (GST_START_TEST):
19856 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19857 complete checks for gstbuffer; would be nice if I could get the
19858 gcov stuff to work so I can see if I actually completed gstbuffer.c
19859 * check/gstcheck.h:
19860 add ASSERT_BUFFER_REFCOUNT
19862 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19864 * docs/gst/gstreamer-sections.txt:
19865 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19867 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19868 spew out a warning if a tag that is already registered
19869 is re-registered, unless it is re-registered with a
19870 different type (#308438).
19872 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19874 * docs/pwg/appendix-porting.xml:
19875 * docs/pwg/building-state.xml:
19876 Add some paragraphs about state changes in 0.9 to the PWG
19877 and the porting guide, in particular about the new meaning
19878 of GST_STATE_PAUSED and how to write state change functions
19879 with concurrent access by multiple threads in mind.
19881 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19883 * docs/gst/gstreamer-docs.sgml:
19884 * docs/libs/gstreamer-libs-docs.sgml:
19885 added deprecation and since indexes
19886 * libs/gst/controller/gst-controller.c:
19887 * libs/gst/controller/gst-helper.c:
19891 2005-08-11 Wim Taymans <wim@fluendo.com>
19893 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19894 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19895 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19896 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19897 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19898 (gst_ghost_pad_set_target):
19899 Actually implement (re)setting the target on a ghostpad
19900 as described in the docs.
19902 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19904 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19905 Check whether GST_DEBUG_NO_COLOR environment variable is
19906 set and disable coloured debug output if that is the case.
19908 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19910 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19911 (gst_type_find_helper):
19912 The memory returned by gst_type_find_peek() needs to
19913 stay valid until the end of a typefind function, and
19914 typefind functions may keep results from different
19915 offsets around, so we can't just unref the buffer from
19916 the previous _peek(), but have to save all buffers
19917 returned by _peek() until typefinding is done and only
19920 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19922 * docs/gst/gstreamer-sections.txt:
19924 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19926 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19928 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19929 Fix a pretty good memleak.
19931 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19933 * gst/gstiterator.h:
19934 Fix wrong include and 'make distcheck'.
19936 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19938 * gst/gstbin.c: (bin_bus_handler):
19939 Use gst_element_post_message() instead.
19941 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19943 * gst/base/gstadapter.h:
19944 * gst/base/gstbasesink.h:
19945 * gst/base/gstbasesrc.h:
19946 * gst/base/gstbasetransform.h:
19947 * gst/base/gstcollectpads.h:
19948 * gst/base/gstpushsrc.h:
19949 * gst/gstiterator.h:
19950 Add padding to our base elements' class and instance structs and
19951 to GstIterator (you will need to rebuild all plugins and apps!)
19953 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19955 * gst/gstbin.c: (bin_bus_handler):
19956 Make default message forwarding from child->bus to bin->bus
19957 threadsafe and make it not emit warnings if the parent has no bus.
19959 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19961 * gst/gstelement.c: (activate_pads):
19962 On paused->ready, set pad->caps to NULL, as is the documented
19963 behaviour in this state change. Fixes playback of series of
19964 media files when visualization is enabled in Totem.
19966 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19968 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19969 Allow NULL as filter-caps (which means "any").
19971 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19973 * docs/libs/gstreamer-libs-sections.txt:
19974 * libs/gst/controller/gst-controller.c:
19975 * libs/gst/controller/gst-controller.h:
19976 * libs/gst/controller/gst-helper.c:
19977 adding more entries to the docs and fix small doc-bugs
19979 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19981 * docs/gst/gstreamer-docs.sgml:
19982 * docs/gst/gstreamer-sections.txt:
19983 * docs/gst/gstreamer.types:
19984 * docs/gst/tmpl/gstbasesink.sgml:
19985 * docs/gst/tmpl/gstbasesrc.sgml:
19986 * docs/gst/tmpl/gstbasetransform.sgml:
19987 * docs/gst/tmpl/gstfakesrc.sgml:
19988 * gst/base/gstcollectpads.c:
19989 * gst/base/gstcollectpads.h:
19990 * libs/gst/controller/gst-controller.c:
19991 * libs/gst/controller/gst-controller.h:
19992 * libs/gst/controller/gst-helper.c:
19993 * libs/gst/controller/gst-interpolation.c:
19994 * libs/gst/controller/lib.c:
19995 added long/short desc for controller docs
19996 added collectpads base class docs
19997 added correct includes to base-class docs
19999 2005-08-05 Stefan Kost <ensonic@users.sf.net>
20001 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20002 (gst_test_mono_source_set_property),
20003 (gst_test_mono_source_class_init), (GST_START_TEST),
20004 (gst_controller_suite):
20005 * docs/gst/gstreamer-docs.sgml:
20006 * docs/gst/gstreamer-sections.txt:
20007 * docs/gst/gstreamer.types:
20008 * docs/libs/gstreamer-libs-docs.sgml:
20009 * docs/libs/gstreamer-libs-sections.txt:
20010 * gst/base/gstadapter.c:
20011 * libs/gst/controller/gst-controller.c:
20012 (gst_controlled_property_new), (gst_controlled_property_free),
20013 (gst_controller_new_valist),
20014 (gst_controller_remove_properties_valist),
20015 (gst_controller_sink_values), (_gst_controller_finalize):
20016 * libs/gst/controller/gst-controller.h:
20017 * libs/gst/controller/gst-helper.c:
20018 (gst_object_control_properties), (gst_object_uncontrol_properties),
20019 (gst_object_get_controller), (gst_object_set_controller),
20020 (gst_object_sink_values), (gst_object_get_value_arrays),
20021 (gst_object_get_value_array):
20022 more tests (and fixes) for the controller
20023 more docs for the controller
20024 integrated companies docs for the adapter
20026 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
20028 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
20029 (GST_START_TEST), (fakesrc_suite):
20030 add tests for sizetype
20032 2005-08-04 Andy Wingo <wingo@pobox.com>
20034 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
20035 fixes buffer_alloc proxying among other things.
20037 * gst/base/gstbasetransform.c:
20038 * gst/base/gstbasetransform.h:
20039 Revert patch to gstbasetransform from 7-28 removing
20042 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
20043 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
20044 Semantics changed, should return not the size of the output buffer
20045 but the byte size of a buffer with a given caps.
20047 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
20049 (gst_base_transform_configure_caps): Don't set out_size here: (in,
20050 out) are not the pad caps until setcaps finishes.
20051 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
20052 not-in-place case as well. Deal with changing from in-place to
20053 not-in-place within calling pad_alloc_buffer. Still a bit
20054 concerned about the overhead here...
20056 2005-08-03 Andy Wingo <wingo@pobox.com>
20058 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
20059 fixating is an error.
20061 2005-08-04 Edward Hervey <edward@fluendo.com>
20063 * gst/base/gstadapter.h:
20064 Added gst_adapter_get_type() to the header
20066 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20068 * check/Makefile.am:
20069 * check/gst-libs/controller.c:
20070 * libs/gst/controller/gst-controller.c:
20071 (gst_controller_new_valist):
20072 added check test suite for the controller
20073 * gst/base/gstpushsrc.c:
20076 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20078 * docs/gst/Makefile.am:
20079 * docs/gst/gstreamer-docs.sgml:
20080 * docs/gst/gstreamer-sections.txt:
20081 * docs/gst/gstreamer.types:
20082 * docs/gst/tmpl/gstfakesrc.sgml:
20084 * gst/base/gstbasesink.c:
20085 * gst/base/gstbasesink.h:
20086 * gst/base/gstbasesrc.c:
20087 * gst/base/gstbasesrc.h:
20088 * gst/base/gstbasetransform.c:
20089 * gst/base/gstpushsrc.c:
20090 * gst/base/gstpushsrc.h:
20091 add short/long description docs to base classes
20092 add pushsrc to the docs
20093 remove consolidated doc fragments
20095 2005-08-03 Stefan Kost <ensonic@users.sf.net>
20098 * docs/libs/Makefile.am:
20099 * docs/libs/gstreamer-libs-docs.sgml:
20100 * docs/libs/gstreamer-libs-sections.txt:
20101 * docs/libs/gstreamer-libs.types:
20102 * examples/Makefile.am:
20103 * examples/controller/.cvsignore:
20104 * examples/controller/Makefile.am:
20105 * examples/controller/audio-example.c: (main):
20106 * libs/gst/Makefile.am:
20107 * libs/gst/controller/.cvsignore:
20108 * libs/gst/controller/Makefile.am:
20109 * libs/gst/controller/gst-controller.c:
20110 (on_object_controlled_property_changed), (gst_timed_value_compare),
20111 (gst_timed_value_find),
20112 (gst_controlled_property_set_interpolation_mode),
20113 (gst_controlled_property_new), (gst_controlled_property_free),
20114 (gst_controller_find_controlled_property),
20115 (gst_controller_new_valist), (gst_controller_new),
20116 (gst_controller_remove_properties_valist),
20117 (gst_controller_remove_properties), (gst_controller_set),
20118 (gst_controller_set_from_list), (gst_controller_unset),
20119 (gst_controller_get), (gst_controller_get_all),
20120 (gst_controller_sink_values), (gst_controller_get_value_arrays),
20121 (gst_controller_get_value_array),
20122 (gst_controller_set_interpolation_mode),
20123 (_gst_controller_finalize), (_gst_controller_init),
20124 (_gst_controller_class_init), (gst_controller_get_type):
20125 * libs/gst/controller/gst-controller.h:
20126 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
20127 (g_object_uncontrol_properties), (g_object_get_controller),
20128 (g_object_set_controller), (g_object_sink_values),
20129 (g_object_get_value_arrays), (g_object_get_value_array):
20130 * libs/gst/controller/gst-interpolation.c:
20131 (gst_controlled_property_find_timed_value_node),
20132 (interpolate_none_get), (interpolate_trigger_get),
20133 (interpolate_trigger_get_value_array):
20134 * libs/gst/controller/lib.c: (gst_controller_init):
20135 * pkgconfig/Makefile.am:
20136 * pkgconfig/gstreamer-control-uninstalled.pc.in:
20137 * pkgconfig/gstreamer-control.pc.in:
20138 * testsuite/Makefile.am:
20139 * testsuite/controller/.cvsignore:
20140 * testsuite/controller/Makefile.am:
20141 * testsuite/controller/interpolator.c: (main):
20142 added controller code
20143 removed dparam pc files
20145 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20146 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
20147 (gst_collectpads_stop):
20148 Broadcast the condition when shutting down, to make sure we wake all
20149 threads up. Shut down pads on finalize, for safety.
20151 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
20152 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20153 (gst_base_transform_handle_buffer),
20154 (gst_base_transform_change_state):
20155 Handle PAUSED->READY->PAUSED transition after negotiation
20157 * gst/gstmessage.c: (gst_message_init):
20158 Extra piece of debug for new messages.
20160 2005-08-01 Stefan Kost <ensonic@users.sf.net>
20163 * docs/gst/tmpl/gstbasesrc.sgml:
20164 * docs/gst/tmpl/gstelement.sgml:
20165 * docs/gst/tmpl/gstevent.sgml:
20166 * docs/gst/tmpl/gstfakesrc.sgml:
20167 * docs/gst/tmpl/gstformat.sgml:
20168 * docs/gst/tmpl/gstghostpad.sgml:
20169 * docs/gst/tmpl/gstpad.sgml:
20170 * docs/gst/tmpl/gstquery.sgml:
20171 * docs/gst/tmpl/gststructure.sgml:
20172 * docs/gst/tmpl/gsttaglist.sgml:
20173 * docs/gst/tmpl/gstvalue.sgml:
20174 * docs/libs/gstreamer-libs-docs.sgml:
20175 * docs/libs/gstreamer-libs-sections.txt:
20176 * docs/libs/gstreamer-libs.types:
20177 * libs/gst/Makefile.am:
20178 * libs/gst/control/.cvsignore:
20179 * libs/gst/control/Makefile.am:
20180 * libs/gst/control/control.c:
20181 * libs/gst/control/control.h:
20182 * libs/gst/control/dparam.c:
20183 * libs/gst/control/dparam.h:
20184 * libs/gst/control/dparam_smooth.c:
20185 * libs/gst/control/dparam_smooth.h:
20186 * libs/gst/control/dparamcommon.h:
20187 * libs/gst/control/dparammanager.c:
20188 * libs/gst/control/dparammanager.h:
20189 * libs/gst/control/dplinearinterp.c:
20190 * libs/gst/control/dplinearinterp.h:
20191 * libs/gst/control/unitconvert.c:
20192 * libs/gst/control/unitconvert.h:
20193 * testsuite/Makefile.am:
20194 * testsuite/dynparams/.cvsignore:
20195 * testsuite/dynparams/Makefile.am:
20196 * testsuite/dynparams/dparamstest.c:
20197 * tools/Makefile.am:
20198 * tools/gst-inspect.c: (print_element_info), (main):
20199 * tools/gst-xmlinspect.c: (print_element_info), (main):
20200 deactivate and remove dparams (libgstcontrol)
20202 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20204 * gst/elements/gsttypefindelement.c:
20205 (gst_type_find_element_have_type), (gst_type_find_element_init),
20206 (stop_typefinding), (gst_type_find_element_handle_event),
20207 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20208 * gst/elements/gsttypefindelement.h:
20209 Set caps on all outgoing buffers, not just the first one.
20211 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20213 * gst/elements/gsttypefindelement.c:
20214 (gst_type_find_element_have_type),
20215 (gst_type_find_element_check_set_buffer_caps),
20216 (gst_type_find_element_init), (stop_typefinding),
20217 (gst_type_find_element_handle_event),
20218 (gst_type_find_element_chain), (gst_type_find_element_getrange):
20219 * gst/elements/gsttypefindelement.h:
20220 Set caps on first outgoing buffer when we've found the type.
20222 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
20224 * docs/gst/gstreamer-docs.sgml:
20225 * docs/gst/gstreamer-sections.txt:
20226 * docs/gst/tmpl/gstscheduler.sgml:
20227 * docs/gst/tmpl/gstschedulerfactory.sgml:
20228 Remove some old cruft from docs.
20230 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
20233 Fix inline docs for GstPadLinkReturn.
20235 * gst/gststructure.c: (gst_structure_has_name):
20236 * gst/gststructure.h:
20237 * docs/gst/gstreamer-sections.txt:
20238 New API: gst_structure_has_name().
20240 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
20243 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
20244 and _LARGEFILE_SOURCE in config.h as required. Do not
20245 export those flags in our .pc files any longer (#142209).
20247 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20249 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20250 (gst_file_sink_do_seek), (gst_file_sink_event),
20251 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20252 Redo seek/tell calls with large file support in mind; add some
20253 debugging messages; add log message that tells us when large
20254 file support is unavailable or not enabled for some reason.
20256 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20257 Add log message that tells us when large file support
20258 is unavailable or not enabled for some reason.
20260 2005-07-29 Wim Taymans <wim@fluendo.com>
20262 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20263 Added test for removing an element with ghostpad from a bin.
20264 Fixed test as current implementation does the right thing.
20266 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20267 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20268 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20269 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20270 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20271 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20272 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20273 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20274 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20275 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20276 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20277 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20278 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20279 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20280 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20281 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20282 * gst/gstghostpad.h:
20283 Clean up ghostpads, remove properties for internal stuff.
20286 Prepare for switching targets, not all use cases work yet.
20288 2005-07-29 Wim Taymans <wim@fluendo.com>
20290 * docs/design/part-gstghostpad.txt:
20293 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20294 (gst_bin_remove_func):
20295 Unlinking pads while holding the bin LOCK is not a good
20298 * gst/gstpad.c: (gst_pad_class_init),
20299 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20300 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20301 No prob setting template after creating the pad.
20303 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20305 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20306 (gst_bus_peek), (gst_bus_source_dispatch),
20307 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20308 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20309 gst_bus_poll may be called from other threads. Handle
20310 this nicely by not making poll_data disappear off the
20311 stack once gst_bus_poll returns.
20312 gst_bus_peek now increments the refcount on the returned
20315 2005-07-29 Wim Taymans <wim@fluendo.com>
20317 * docs/design/part-gstghostpad.txt:
20318 Overview of current GhostPad datastructures and use
20319 cases for changing the target.
20321 2005-07-28 Wim Taymans <wim@fluendo.com>
20323 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20324 Added checks for hierarchy consistency whan adding linked
20327 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20328 Added check to test element scheduling without bin/pipeline.
20330 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20331 First add elements to bin, then link.
20333 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20334 (gst_bin_remove_func):
20335 Unlink pads from elements added/removed from bin to maintain
20336 hierarchy consistency.
20338 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20340 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20341 (gst_base_transform_handle_buffer):
20342 * gst/base/gstbasetransform.h:
20343 Remove broken delay_configure (fixes renegotiation of software
20344 scaling pipelines); remove some leftover printf()s.
20346 2005-07-28 Wim Taymans <wim@fluendo.com>
20348 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20349 Added some more tests for wrong hierarchy
20351 * docs/design/part-overview.txt:
20354 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20357 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20358 (gst_element_dispose):
20359 Some more cleanups.
20361 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20362 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20363 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20364 (gst_pad_set_caps), (gst_pad_send_event):
20365 Check for correct hierarchy when linking pads. Moving to
20366 strict requirement for ghostpads when linking elements in
20370 Clean ups. Added WRONG_HIERARCHY return value.
20372 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20374 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20375 Better debug if no transform is possible.
20377 2005-07-27 Wim Taymans <wim@fluendo.com>
20379 * docs/random/wtay/network-transp:
20380 Some old doc I had.
20382 2005-07-27 Wim Taymans <wim@fluendo.com>
20384 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20385 (gst_dp_event_from_packet):
20386 Fix serialization of seek events.
20388 2005-07-27 Wim Taymans <wim@fluendo.com>
20390 * check/gst-libs/gdp.c: (GST_START_TEST):
20391 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20392 Fix compilation and fix event serialization.
20394 2005-07-27 Wim Taymans <wim@fluendo.com>
20397 * docs/design/part-TODO.txt:
20398 * docs/design/part-events.txt:
20401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20402 (gst_base_sink_event), (gst_base_sink_do_sync),
20403 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20404 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20405 (gst_base_src_do_seek), (gst_base_src_event_handler),
20406 (gst_base_src_loop):
20407 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20408 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20409 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20410 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20411 (gst_base_transform_set_passthrough),
20412 (gst_base_transform_is_passthrough):
20413 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20414 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20420 * gst/gstelement.c: (gst_element_seek):
20421 * gst/gstelement.h:
20422 Update gst_element_seek.
20424 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20425 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20426 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20427 (gst_event_new_eos), (gst_event_new_newsegment),
20428 (gst_event_parse_newsegment), (gst_event_new_tag),
20429 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20430 (gst_event_parse_qos), (gst_event_new_seek),
20431 (gst_event_parse_seek), (gst_event_new_navigation):
20433 Make GstEvent use GstStructure. Add parsing code, make sure the
20434 API is sufficiently generic.
20435 Mark possible directions of events and serialization.
20437 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20438 (_gst_message_copy), (gst_message_new_segment_start),
20439 (gst_message_new_segment_done), (gst_message_new_custom),
20440 (gst_message_parse_segment_start),
20441 (gst_message_parse_segment_done):
20444 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20445 (gst_pad_set_caps), (gst_pad_send_event):
20446 Update for new events.
20447 Catch events sent in wrong directions.
20449 * gst/gstqueue.c: (gst_queue_link_src),
20450 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20451 (gst_queue_handle_src_query):
20456 Remove event code from this file.
20458 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20459 (gst_dp_event_from_packet):
20462 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20464 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20465 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20466 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20467 Make debugging actually useful.
20469 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20471 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20472 (gst_pad_fixate_caps):
20473 Implement default fixation once again, so that gst_pad_fixate()
20474 actually does anything at all. This probably needs to be some
20475 sort of a last resort, and use profile-based fixation first, but
20476 since that doesn't exist yet, this is the best we have. Fixes
20477 visualization in Totem.
20479 2005-07-22 Wim Taymans <wim@fluendo.com>
20481 * docs/design/part-events.txt:
20484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20485 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20486 (gst_base_sink_activate_pull):
20487 Some more comments.
20489 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20490 (gst_fake_src_create):
20491 Fix handoff marshall.
20493 * gst/elements/gstidentity.c: (gst_identity_class_init),
20494 (gst_identity_transform_ip):
20495 We're a real inplace element.
20497 * gst/gstbus.c: (gst_bus_post):
20498 Added some comments.
20500 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20501 * tests/muxing/case1.c: (main):
20502 * tests/sched/dynamic-pipeline.c: (main):
20503 * tests/sched/interrupt1.c: (main):
20504 * tests/sched/interrupt2.c: (main):
20505 * tests/sched/interrupt3.c: (main):
20506 * tests/sched/runxml.c: (main):
20507 * tests/sched/sched-stress.c: (main):
20508 * tests/seeking/seeking1.c: (event_received), (main):
20509 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20511 * tests/threadstate/threadstate3.c: (main):
20512 * tests/threadstate/threadstate4.c: (main):
20513 * tests/threadstate/threadstate5.c: (main):
20516 2005-07-21 Wim Taymans <wim@fluendo.com>
20518 * docs/design/part-seeking.txt:
20519 Some small additions.
20521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20522 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20523 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20524 * gst/base/gstbasesink.h:
20525 discont values are gint64, handle the math correctly.
20527 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20528 Make the basesrc report error if the source pad is not linked.
20530 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20531 (gst_queue_loop), (gst_queue_handle_src_query),
20532 (gst_queue_src_activate_push):
20533 Make queue collect data even if the srcpad is not linked.
20534 Start pushing out data as soon as it is linked.
20536 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20538 Added gst_flow_get_name() to ease error reporting.
20540 2005-07-20 Wim Taymans <wim@fluendo.com>
20542 * gst/gstmessage.c: (gst_message_new_segment_start),
20543 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20544 (gst_message_parse_segment_done):
20545 * gst/gstmessage.h:
20546 Added a bunch of messages for advanced seeking.
20548 * gst/parse/grammar.y:
20549 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20550 (gst_dpman_state_changed):
20551 Fix some new-pad -> pad-added signals
20553 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20555 * docs/manual/appendix-porting.xml:
20556 * docs/pwg/appendix-porting.xml:
20557 Document new-pad/state-change signal renames and the FixedList
20560 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20562 * docs/manual/advanced-autoplugging.xml:
20563 * docs/manual/basics-helloworld.xml:
20564 * docs/manual/basics-pads.xml:
20565 * docs/random/ds/0.9-suggested-changes:
20566 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20567 * gst/gstelement.h:
20571 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20572 (gst_structure_parse_array), (gst_structure_parse_value):
20573 * gst/gstvalue.c: (gst_type_is_fixed),
20574 (gst_value_list_prepend_value), (gst_value_list_append_value),
20575 (gst_value_list_get_size), (gst_value_list_get_value),
20576 (gst_value_transform_array_string), (gst_value_serialize_array),
20577 (gst_value_deserialize_array), (gst_value_intersect_array),
20578 (gst_value_is_fixed), (_gst_value_initialize):
20580 GstElement::new-pad -> pad-added, GstElement::state-change ->
20581 state-changed, GstValueFixedList -> GstValueArray, add format and
20582 flags as their own arguments in gst_element_seek() (should improve
20583 "bindeability"), remove function generators since they don't work
20584 under a whole bunch of compilers (they were deprecated already
20587 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20589 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20590 (_gst_debug_register_funcptr):
20592 Fix illegal cast on some platforms (#309253).
20594 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20596 * gst/gstmessage.c: (gst_message_new_custom):
20597 * gst/gstmessage.h:
20598 Add _new_custom, make _new_application a macro to _new_custom.
20600 2005-07-20 Wim Taymans <wim@fluendo.com>
20602 * gst/base/gstbasesrc.c: (gst_base_src_init),
20603 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20604 * gst/base/gstbasesrc.h:
20605 Add a gboolean to decide when to push out a discont.
20607 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20608 (gst_queue_loop), (gst_queue_handle_src_query),
20609 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20610 (gst_queue_set_property), (gst_queue_get_property):
20613 * tests/threadstate/threadstate1.c: (main):
20614 Make a thread test compile and run... very silly..
20617 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20619 * docs/manual/appendix-porting.xml:
20620 Mention removal of libgstgconf-0.9.la and existence of gconf
20623 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20625 * docs/pwg/advanced-clock.xml:
20626 * docs/pwg/appendix-porting.xml:
20627 * docs/pwg/intro-preface.xml:
20628 * docs/pwg/other-base.xml:
20629 * docs/pwg/other-manager.xml:
20630 * docs/pwg/other-nton.xml:
20631 * docs/pwg/other-ntoone.xml:
20632 * docs/pwg/other-oneton.xml:
20633 * docs/pwg/pwg.xml:
20634 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20635 demuxer), remove n-to-n (was never written), fix some code examples
20636 and links and update the porting section to include all this.
20638 2005-07-19 Wim Taymans <wim@fluendo.com>
20640 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20641 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20642 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20643 (gst_queue_src_activate_push), (gst_queue_change_state),
20644 (gst_queue_get_property):
20646 Propagate GstFlowReturn more intelligently upstream and output
20647 an ERROR/EOS when streaming stopped due to fatal error.
20649 2005-07-19 Wim Taymans <wim@fluendo.com>
20651 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20652 Don't block forever for the state change to complete, the
20653 pipeline already did with a sensible timeout.
20655 2005-07-19 Wim Taymans <wim@fluendo.com>
20657 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20658 Make sure we never call the create function is we
20661 2005-07-19 Andy Wingo <wingo@pobox.com>
20663 * gst/parse/parse.l: Attempt to solve bug #172815.
20665 2005-07-19 Wim Taymans <wim@fluendo.com>
20667 * docs/design/part-clocks.txt:
20668 * docs/design/part-events.txt:
20669 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20670 Small docs updates.
20671 Only update the seeking values when we are not
20674 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20676 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20677 Oops, ignore the result of gst_pad_push_event here.
20679 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20681 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20682 (gst_base_src_activate_push):
20683 Send discont event from the loop function, as pads
20684 aren't activated yet in the activate_push handler.
20686 * gst/gstbin.c: (bin_bus_handler):
20687 Don't leak element name.
20689 2005-07-18 Andy Wingo <wingo@pobox.com>
20691 * configure.ac: Use AS_LIBTOOL_TAGS.
20693 2005-07-18 Wim Taymans <wim@fluendo.com>
20695 * docs/gst/gstreamer.types:
20696 Remove deleted types.
20698 2005-07-18 Wim Taymans <wim@fluendo.com>
20700 * check/elements/gstfakesrc.c: (GST_START_TEST):
20703 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20704 (init_popt_callback):
20706 * gst/gst_private.h:
20707 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20708 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20711 * gst/gstconfig.h.in:
20712 * gst/gstelement.c: (gst_element_class_init),
20713 (gst_element_set_base_time), (gst_element_get_base_time),
20714 (iterator_fold_with_resync), (gst_element_change_state),
20715 (gst_element_dispose), (gst_element_get_bus):
20716 * gst/gstelement.h:
20717 * gst/gstelementfactory.h:
20718 * gst/gsterror.c: (_gst_core_errors_init):
20721 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20723 * gst/gstinfo.c: (_gst_debug_init):
20724 * gst/gstmessage.c: (_gst_message_copy):
20725 * gst/gstmessage.h:
20726 * gst/gstminiobject.h:
20729 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20730 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20733 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20734 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20735 (gst_pipeline_get_last_stream_time):
20736 * gst/gstpipeline.h:
20737 * gst/gstpluginfeature.h:
20739 * gst/gstscheduler.c:
20740 * gst/gstscheduler.h:
20741 * gst/gststructure.h:
20742 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20743 (gst_task_finalize), (gst_task_func), (gst_task_create),
20744 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20745 (gst_task_stop), (gst_task_pause):
20747 * gst/gsttypefind.h:
20749 * gst/registries/gstlibxmlregistry.c: (load_feature),
20750 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20751 * gst/registries/gstxmlregistry.c:
20752 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20753 * gst/schedulers/threadscheduler.c:
20754 * libs/gst/control/dparammanager.h:
20755 * tools/gst-inspect.c: (print_element_list),
20756 (print_plugin_features), (print_element_features):
20757 * tools/gst-xmlinspect.c: (print_element_list),
20758 (print_plugin_info), (main):
20759 Removed plugable schedulers.
20760 Removed Scheduler/Manager from elements.
20761 Removed gsttypes.h, rearranged includes.
20762 Removed dependency pad<->element, element<>pipeline, and
20763 various others, fix includes.
20764 implement gst_pad_get_parent() with gst_object_get_parent()
20765 Make GstTask sefcontained.
20766 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20768 Fix endless loop in iterator_fold_with_resync.
20771 2005-07-18 Wim Taymans <wim@fluendo.com>
20777 2005-07-18 Wim Taymans <wim@fluendo.com>
20780 No more cothreads.h
20782 2005-07-18 Wim Taymans <wim@fluendo.com>
20786 Let's remove these.
20788 2005-07-18 Wim Taymans <wim@fluendo.com>
20790 * docs/design/part-dynamic.txt:
20791 * docs/design/part-events.txt:
20792 * docs/design/part-seeking.txt:
20793 Some more docs in the works.
20795 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20796 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20797 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20798 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20799 (gst_base_transform_handle_buffer),
20800 (gst_base_transform_sink_activate_push),
20801 (gst_base_transform_src_activate_pull),
20802 (gst_base_transform_set_passthrough),
20803 (gst_base_transform_is_passthrough):
20806 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20809 * gst/gstevent.c: (gst_event_finalize):
20812 * gst/gstutils.c: (gst_element_unlink),
20813 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20814 (gst_pad_proxy_setcaps):
20816 Add _get_parent_element() to get a pads parent as an element.
20818 2005-07-18 Wim Taymans <wim@fluendo.com>
20820 * check/gst/gstbin.c: (GST_START_TEST):
20823 2005-07-18 Wim Taymans <wim@fluendo.com>
20825 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20826 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20827 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20828 (gst_base_sink_event), (gst_base_sink_do_sync),
20829 (gst_base_sink_chain), (gst_base_sink_loop),
20830 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20831 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20833 Fix logic for returning ASYNC when not prerolled.
20835 2005-07-18 Wim Taymans <wim@fluendo.com>
20837 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20838 Fix nasty refcount bug.
20840 2005-07-16 Philippe Khalaf <burger@speedy.org>
20842 * gst/elements/gstfdsrc.c:
20843 * gst/elements/gstfdsrc.h:
20844 * gst/elements/gstelements.c:
20845 * gst/elements/Makefile.am:
20846 Ported fdsrc to 0.9.
20848 2005-07-16 Wim Taymans <wim@fluendo.com>
20850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20851 (gst_base_sink_do_sync):
20854 2005-07-16 Wim Taymans <wim@fluendo.com>
20856 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20857 (gst_base_sink_event), (gst_base_sink_get_times),
20858 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20859 * gst/base/gstbasesink.h:
20860 Store and use discont values when syncing buffers as described
20863 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20864 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20865 (gst_base_src_activate_push):
20866 Push discont event when starting.
20868 * gst/elements/gstidentity.c: (gst_identity_transform):
20871 * gst/gstbin.c: (gst_bin_change_state):
20872 Small cleanups in base_time distribution.
20874 * gst/gstelement.c: (gst_element_set_base_time),
20875 (gst_element_get_base_time), (gst_element_change_state):
20876 * gst/gstelement.h:
20877 Added methods for the base_time of the element.
20880 * gst/gstpipeline.c: (gst_pipeline_send_event),
20881 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20882 (gst_pipeline_get_last_stream_time):
20883 * gst/gstpipeline.h:
20885 Handle seeking as described in design doc, remove stream_time
20887 Cleanups clock and stream_time selection code. Added accessors
20888 for the stream_time.
20891 2005-07-16 Andy Wingo <wingo@pobox.com>
20893 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20896 2005-07-16 Wim Taymans <wim@fluendo.com>
20898 * check/gst/gstbin.c: (GST_START_TEST):
20899 Make elements silent as the deep_notify refs the
20900 parent, which might make the test fail.
20902 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20903 Don't hold the lock for too long.
20905 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20907 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20908 Don't unref the caps we passed to gst_caps_make_writable() after
20909 passing them. gst_caps_make_writable() will do that for us.
20911 2005-07-15 Andy Wingo <wingo@pobox.com>
20913 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20916 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20917 own marshalling function for the handoff signal. Properly type the
20918 buffer as a buffer. Fixes some warnings. Should do a more general
20920 (gst_identity_class_init): Plug into the right marshaller.
20922 2005-07-15 Wim Taymans <wim@fluendo.com>
20924 * docs/design/part-TODO.txt:
20925 * docs/design/part-clocks.txt:
20926 * docs/design/part-element-sink.txt:
20927 * docs/design/part-events.txt:
20928 * docs/design/part-gstpipeline.txt:
20929 Updated docs, mostly DISCONT related.
20931 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20933 * docs/pwg/building-pads.xml:
20934 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20936 2005-07-15 Andy Wingo <wingo@pobox.com>
20938 * tools/gst-typefind.c: Update, add copyright block.
20940 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20941 Normalize and truncate caps before fixation.
20944 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20945 discards all but the first structure from its argument.
20947 2005-07-15 Wim Taymans <wim@fluendo.com>
20949 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20950 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20951 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20952 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20953 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20954 (gst_base_transform_chain), (gst_base_transform_change_state),
20955 (gst_base_transform_set_passthrough),
20956 (gst_base_transform_is_passthrough):
20957 * gst/base/gstbasetransform.h:
20958 Make passthrough work using the bufferpools.
20959 Changed API a bit, subclasses have to write into a buffer
20960 provided by the base class.
20961 More debug info in nego functions.
20963 * gst/elements/gstidentity.c: (gst_identity_init),
20964 (gst_identity_transform):
20965 Port to new base class.
20967 2005-07-15 Wim Taymans <wim@fluendo.com>
20969 * gst/gstmessage.c: (gst_message_new_state_changed):
20970 * tools/gst-launch.c: (event_loop), (main):
20971 Totally dump messages in -launch with the -m option.
20972 Fix message name for State messages,
20974 2005-07-14 Wim Taymans <wim@fluendo.com>
20976 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20977 Post error messages on errors.
20979 2005-07-14 Wim Taymans <wim@fluendo.com>
20981 * gst/gstcaps.c: (gst_caps_do_simplify):
20985 Define error for stream stopped.
20987 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20988 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20989 Do proper return values.
20991 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20992 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20993 (gst_pad_get_range):
20994 Better return values.
20997 Reorganise return values, add macro to check for fatal errors.
20999 * gst/gstqueue.c: (gst_queue_chain):
21000 Return proper GstFlowReturn values,
21002 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
21004 * docs/gst/gstreamer-sections.txt:
21005 * docs/gst/gstreamer.types:
21006 * docs/gst/tmpl/gst.sgml:
21007 * docs/gst/tmpl/gstbasesink.sgml:
21008 * docs/gst/tmpl/gstbasesrc.sgml:
21009 * docs/gst/tmpl/gstbasetransform.sgml:
21010 * docs/gst/tmpl/gstbin.sgml:
21011 * docs/gst/tmpl/gstbuffer.sgml:
21012 * docs/gst/tmpl/gstcaps.sgml:
21013 * docs/gst/tmpl/gstclock.sgml:
21014 * docs/gst/tmpl/gstcompat.sgml:
21015 * docs/gst/tmpl/gstconfig.sgml:
21016 * docs/gst/tmpl/gstelement.sgml:
21017 * docs/gst/tmpl/gstelementdetails.sgml:
21018 * docs/gst/tmpl/gstelementfactory.sgml:
21019 * docs/gst/tmpl/gstenumtypes.sgml:
21020 * docs/gst/tmpl/gsterror.sgml:
21021 * docs/gst/tmpl/gstevent.sgml:
21022 * docs/gst/tmpl/gstfakesink.sgml:
21023 * docs/gst/tmpl/gstfakesrc.sgml:
21024 * docs/gst/tmpl/gstfilesink.sgml:
21025 * docs/gst/tmpl/gstfilesrc.sgml:
21026 * docs/gst/tmpl/gstfilter.sgml:
21027 * docs/gst/tmpl/gstformat.sgml:
21028 * docs/gst/tmpl/gstghostpad.sgml:
21029 * docs/gst/tmpl/gstimplementsinterface.sgml:
21030 * docs/gst/tmpl/gstindex.sgml:
21031 * docs/gst/tmpl/gstindexfactory.sgml:
21032 * docs/gst/tmpl/gstinfo.sgml:
21033 * docs/gst/tmpl/gstiterator.sgml:
21034 * docs/gst/tmpl/gstmacros.sgml:
21035 * docs/gst/tmpl/gstmemchunk.sgml:
21036 * docs/gst/tmpl/gstminiobject.sgml:
21037 * docs/gst/tmpl/gstobject.sgml:
21038 * docs/gst/tmpl/gstpad.sgml:
21039 * docs/gst/tmpl/gstpadtemplate.sgml:
21040 * docs/gst/tmpl/gstparse.sgml:
21041 * docs/gst/tmpl/gstpipeline.sgml:
21042 * docs/gst/tmpl/gstplugin.sgml:
21043 * docs/gst/tmpl/gstpluginfeature.sgml:
21044 * docs/gst/tmpl/gstquery.sgml:
21045 * docs/gst/tmpl/gstqueue.sgml:
21046 * docs/gst/tmpl/gstregistry.sgml:
21047 * docs/gst/tmpl/gstregistrypool.sgml:
21048 * docs/gst/tmpl/gstscheduler.sgml:
21049 * docs/gst/tmpl/gstschedulerfactory.sgml:
21050 * docs/gst/tmpl/gststructure.sgml:
21051 * docs/gst/tmpl/gstsystemclock.sgml:
21052 * docs/gst/tmpl/gsttaglist.sgml:
21053 * docs/gst/tmpl/gsttagsetter.sgml:
21054 * docs/gst/tmpl/gsttrace.sgml:
21055 * docs/gst/tmpl/gsttrashstack.sgml:
21056 * docs/gst/tmpl/gsttypefind.sgml:
21057 * docs/gst/tmpl/gsttypefindfactory.sgml:
21058 * docs/gst/tmpl/gsttypes.sgml:
21059 * docs/gst/tmpl/gsturihandler.sgml:
21060 * docs/gst/tmpl/gsturitype.sgml:
21061 * docs/gst/tmpl/gstutils.sgml:
21062 * docs/gst/tmpl/gstvalue.sgml:
21063 * docs/gst/tmpl/gstversion.sgml:
21064 * docs/gst/tmpl/gstxml.sgml:
21065 * docs/libs/tmpl/gstcontrol.sgml:
21066 * docs/libs/tmpl/gstdataprotocol.sgml:
21067 * docs/libs/tmpl/gstdparam.sgml:
21068 * docs/libs/tmpl/gstdplinint.sgml:
21069 * docs/libs/tmpl/gstdpman.sgml:
21070 * docs/libs/tmpl/gstdpsmooth.sgml:
21071 * docs/libs/tmpl/gstgetbits.sgml:
21072 * docs/libs/tmpl/gstunitconvert.sgml:
21073 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
21074 (gst_push_src_base_init), (gst_push_src_class_init),
21075 (gst_push_src_init), (gst_push_src_create):
21076 * gst/base/gstpushsrc.h:
21077 * gst/elements/gstelements.c:
21078 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
21079 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
21080 (gst_fake_sink_init), (gst_fake_sink_set_property),
21081 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
21082 (gst_fake_sink_event), (gst_fake_sink_preroll),
21083 (gst_fake_sink_render), (gst_fake_sink_change_state):
21084 * gst/elements/gstfakesink.h:
21085 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
21086 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
21087 (gst_fake_src_base_init), (gst_fake_src_class_init),
21088 (gst_fake_src_init), (gst_fake_src_event_handler),
21089 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
21090 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
21091 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
21092 (gst_fake_src_create_buffer), (gst_fake_src_create),
21093 (gst_fake_src_start), (gst_fake_src_stop):
21094 * gst/elements/gstfakesrc.h:
21095 * gst/elements/gstfilesink.c: (_do_init),
21096 (gst_file_sink_base_init), (gst_file_sink_class_init),
21097 (gst_file_sink_init), (gst_file_sink_dispose),
21098 (gst_file_sink_set_location), (gst_file_sink_set_property),
21099 (gst_file_sink_get_property), (gst_file_sink_open_file),
21100 (gst_file_sink_close_file), (gst_file_sink_query),
21101 (gst_file_sink_event), (gst_file_sink_render),
21102 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
21103 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
21104 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
21105 * gst/elements/gstfilesink.h:
21106 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
21107 (gst_file_src_class_init), (gst_file_src_init),
21108 (gst_file_src_finalize), (gst_file_src_set_location),
21109 (gst_file_src_set_property), (gst_file_src_get_property),
21110 (gst_file_src_map_region), (gst_file_src_map_small_region),
21111 (gst_file_src_create_mmap), (gst_file_src_create_read),
21112 (gst_file_src_create), (gst_file_src_is_seekable),
21113 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
21114 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
21115 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
21116 (gst_file_src_uri_handler_init):
21117 * gst/elements/gstfilesrc.h:
21118 more autistic cleanliness in functions/names/defines
21120 2005-07-13 Andy Wingo <wingo@pobox.com>
21122 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
21123 source couldn't negotiate.
21125 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
21129 * gst/gstutils.c (gst_element_link_pads_filtered): New old
21130 function. I am channeling Hades. Put your boots on suckers!!!
21132 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
21134 * testsuite/caps/Makefile.am:
21135 * testsuite/caps/value_compare.c:
21136 * testsuite/caps/value_intersect.c:
21137 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21138 move two testsuite apps over to the check dir
21140 2005-07-12 Wim Taymans <wim@fluendo.com>
21142 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21143 Added more debug info in the negotiate process.
21145 * gst/gstmessage.h:
21146 Prepare for segment playback.
21148 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
21154 * tools/gst-launch.c: (main):
21155 NULL pipeline on errors.
21157 2005-07-12 Andy Wingo <wingo@pobox.com>
21159 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
21160 not it comes from a malloc region. Make sure our copy gets freed.
21162 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21164 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21165 * check/gst/gstmessage.c: (GST_START_TEST):
21166 * check/gst/gststructure.c: (GST_START_TEST),
21167 (gst_structure_suite), (main):
21169 * gst/gstelement.c: (gst_element_message_full):
21170 clean up GError and debug string now that they get copied
21171 * gst/gstmessage.c: (gst_message_new_error),
21172 (gst_message_new_warning), (gst_message_parse_error),
21173 (gst_message_parse_warning):
21174 use GST_TYPE_G_ERROR for structure_new, and take copies of
21175 arguments, so that we don't mess up refcounting
21177 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21179 * check/Makefile.am:
21180 add per-test valgrind targets
21181 * check/gst-libs/gdp.c: (GST_START_TEST),
21182 (gst_data_protocol_suite), (main):
21185 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
21187 * check/Makefile.am:
21188 instate more valgrindable tests
21189 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21190 (GST_START_TEST), (fakesrc_suite):
21191 * check/gst/gstpad.c: (GST_START_TEST):
21192 * check/gst/gststructure.c: (GST_START_TEST):
21194 * docs/gst/tmpl/gstminiobject.sgml:
21195 * gst/gstpad.c: (gst_pad_finalize):
21196 fix the static mutex leak
21198 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21200 * check/Makefile.am:
21201 add two more tests for valgrinding
21202 * check/gst/gstvalue.c: (GST_START_TEST):
21203 test refcount of deserialized buffer, found a leak
21204 * docs/gst/gstreamer-docs.sgml:
21205 * docs/gst/gstreamer-sections.txt:
21206 * docs/gst/gstreamer.types:
21207 * docs/gst/tmpl/gstminiobject.sgml:
21208 add miniobject to docs
21209 * gst/gstminiobject.c:
21211 * gst/gstvalue.c: (gst_value_deserialize_buffer),
21212 (gst_string_unwrap):
21213 fix a hard-to-find invalid write for one of the tests
21214 fix a leak for deserialized buffers
21216 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21218 * docs/pwg/advanced-events.xml:
21219 * docs/pwg/advanced-request.xml:
21220 * docs/pwg/advanced-scheduling.xml:
21221 * docs/pwg/appendix-porting.xml:
21222 * docs/pwg/building-boiler.xml:
21223 * docs/pwg/intro-preface.xml:
21224 * docs/pwg/other-ntoone.xml:
21225 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
21226 of example code and explanation for pad activation, loop() and
21227 getrange() functions and a bit more. Remove old comments pointing
21229 * examples/pwg/Makefile.am:
21230 Add loop/getrange examples.
21232 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21235 check for valgrind binary + some fixes
21237 valgrind suppressions for the tests
21238 * check/Makefile.am:
21239 add a valgrind: target that valgrinds the unit tests
21240 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
21241 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21242 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21243 * check/gst/gstghostpad.c:
21245 * check/gst/gstdata.c:
21247 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21248 (thread_unref), (gst_mini_object_suite), (main):
21250 * gst/gst.c: (gst_deinit):
21252 add a method to clean up.
21253 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21254 (gst_system_clock_obtain):
21255 allow for disposing the system clock.
21256 * tools/gst-launch.c: (main):
21259 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21261 * docs/gst/tmpl/gstbasesrc.sgml:
21262 * docs/gst/tmpl/gstfakesrc.sgml:
21263 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21264 (gst_base_src_init), (gst_base_src_set_property),
21265 (gst_base_src_get_property), (gst_base_src_get_range),
21266 (gst_base_src_start):
21267 * gst/base/gstbasesrc.h:
21268 add num-buffers property
21269 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21270 (gst_fakesrc_init), (gst_fakesrc_set_property),
21271 (gst_fakesrc_get_property), (gst_fakesrc_create),
21272 (gst_fakesrc_start):
21273 remove num-buffers property
21275 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21277 * docs/gst/gstreamer-sections.txt:
21278 * docs/gst/tmpl/gstbasesink.sgml:
21279 * docs/gst/tmpl/gstbasesrc.sgml:
21280 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21281 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21282 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21283 (gst_base_sink_set_property), (gst_base_sink_get_property),
21284 (gst_base_sink_handle_object), (gst_base_sink_event),
21285 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21286 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21287 (gst_base_sink_loop), (gst_base_sink_deactivate),
21288 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21289 (gst_base_sink_change_state):
21290 * gst/base/gstbasesink.h:
21291 * gst/base/gstbasesrc.h:
21292 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21293 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21294 (gst_filesink_init):
21295 more macro splitting
21297 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21299 * gst/gstelement.c: (gst_element_get_bus):
21301 * tools/gst-launch.c: (check_intr), (event_loop):
21304 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21306 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21309 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21311 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21312 (gst_base_src_finalize):
21313 add finalize method and clean up properly
21314 * gst/gstpipeline.c: (gst_pipeline_dispose):
21317 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21319 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21321 add more things to check
21322 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21323 * gst/gstelement.c:
21326 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21328 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21329 (GST_START_TEST), (fakesrc_suite):
21330 * check/gst-libs/gdp.c: (GST_START_TEST):
21331 * check/gst/gst.c: (GST_START_TEST):
21332 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21333 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21334 * check/gst/gstbus.c: (GST_START_TEST):
21335 * check/gst/gstcaps.c: (GST_START_TEST):
21336 * check/gst/gstdata.c: (GST_START_TEST):
21337 * check/gst/gstelement.c: (GST_START_TEST):
21338 * check/gst/gstghostpad.c: (GST_START_TEST):
21339 * check/gst/gstiterator.c: (GST_START_TEST):
21340 * check/gst/gstmessage.c: (GST_START_TEST):
21341 * check/gst/gstobject.c: (GST_START_TEST):
21342 * check/gst/gstpad.c: (GST_START_TEST):
21343 * check/gst/gststructure.c: (GST_START_TEST):
21344 * check/gst/gstsystemclock.c: (GST_START_TEST),
21345 (gst_systemclock_suite):
21346 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21347 * check/gst/gstvalue.c: (GST_START_TEST):
21348 * check/pipelines/cleanup.c: (GST_START_TEST):
21349 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21350 * check/states/sinks.c: (GST_START_TEST):
21351 * check/gstcheck.c: (gst_check_init):
21352 * check/gstcheck.h:
21353 add debugging category
21354 use GST_START_TEST now, so we add a debug line
21356 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21358 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21359 add test for state change message on a bin
21360 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21362 * gst/gstbin.c: (gst_bin_init):
21363 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21364 * gst/gstelement.c: (gst_element_post_message),
21365 (gst_element_set_state):
21366 * gst/gstelementfactory.c: (gst_element_factory_create):
21367 * gst/gstmessage.c: (gst_message_new):
21368 * gst/gstscheduler.c:
21369 various debugging additions and cleanups
21371 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21373 * check/Makefile.am:
21374 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21376 adding tests for elements
21377 * gst/gstelement.c: (gst_element_dispose):
21379 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21381 * gst/registries/gstlibxmlregistry.c: (load_feature):
21382 plug more leaks. A simple gst_init() now is leakfree, yay.
21384 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21386 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21387 (gst_xml_registry_load):
21388 plug another memleak
21390 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21393 use GST_SET_ERROR_CFLAGS
21394 * docs/faq/cvs.xml:
21395 change to ERROR_CFLAGS
21397 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21400 make GST_ERROR_CFLAGS overridable and re-enable Werror
21401 * docs/faq/cvs.xml:
21402 add a note about error CFLAGS
21403 * docs/gst/tmpl/gstfakesrc.sgml:
21404 * gst/elements/gstfakesrc.c:
21405 comment out some unused code
21406 * gst/gst.c: (split_and_iterate):
21407 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21411 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21413 * common/Makefile.am:
21414 * common/gtk-doc.mak:
21415 * docs/gst/Makefile.am:
21416 factor out gtk-doc.mak
21418 2005-07-07 Wim Taymans <wim@fluendo.com>
21420 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21421 (gst_thread_scheduler_dispose):
21422 Unlock the STREAM_LOCK completely.
21424 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21426 * check/Makefile.am:
21427 * check/elements/.cvsignore:
21428 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21429 (START_TEST), (fakesrc_suite), (main):
21430 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21431 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21432 (gst_fakesrc_create), (gst_fakesrc_start):
21433 * gst/elements/gstfakesrc.h:
21434 adding a first element test
21436 2005-07-07 Andy Wingo <wingo@pobox.com>
21438 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21441 2005-07-07 Wim Taymans <wim@fluendo.com>
21447 2005-07-07 Wim Taymans <wim@fluendo.com>
21449 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21450 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21451 Allow subclasses to implement their own negotiation.
21453 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21455 * docs/design/part-gstbin.txt:
21456 * docs/design/part-gstpipeline.txt:
21457 Update design notes to reflect the movement of
21458 responsibility for bus handling from GstPipeline to
21461 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21464 Remove unnecessary queue2/3/4 examples.
21466 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21468 * examples/Makefile.am:
21469 * examples/helloworld/helloworld.c: (event_loop), (main):
21470 * examples/queue/queue.c: (event_loop), (main):
21471 * examples/queue2/queue2.c: (main):
21472 Update a couple of the examples to work again.
21474 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21475 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21476 Spelling corrections and extra debug.
21478 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21479 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21480 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21482 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21483 (gst_pipeline_change_state):
21484 * gst/gstpipeline.h:
21485 Move the bus handler for children to the GstBin, and create a
21486 separate bus for receiving messages from children to the one the
21487 bus sends 'upwards' on.
21489 2005-07-06 Wim Taymans <wim@fluendo.com>
21492 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21493 (gst_base_sink_handle_object), (gst_base_sink_loop),
21494 (gst_base_sink_change_state):
21495 * gst/base/gstbasesink.h:
21496 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21497 (gst_base_src_init), (gst_base_src_setcaps),
21498 (gst_base_src_getcaps), (gst_base_src_loop),
21499 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21500 (gst_base_src_start), (gst_base_src_change_state):
21501 * gst/base/gstbasesrc.h:
21502 Make basesrc negotiate.
21503 Handle the case where preroll fails in basesink.
21506 2005-07-06 Wim Taymans <wim@fluendo.com>
21508 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21509 Implement the fixate function.
21510 Clean up acceptcaps.
21512 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21514 * docs/pwg/building-filterfactory.xml:
21515 * docs/pwg/pwg.xml:
21516 Remove never-written filter-factory chapter; I'll add the various
21517 base classes to part 4 ("other element types") later on.
21519 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21521 * docs/pwg/advanced-negotiation.xml:
21522 * docs/pwg/building-boiler.xml:
21523 * docs/pwg/building-pads.xml:
21524 * docs/pwg/pwg.xml:
21525 * examples/pwg/Makefile.am:
21526 Add a chapter on caps negotiation, simplify the original code
21527 samples a bit w.r.t. caps negotiation, add link to the advanced
21528 section. Add a bunch of examples showing different use cases of
21529 different types of caps negotiation. Upstream renegotiation isn't
21530 fully documented yet since nobody knows how that works.
21532 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21534 * check/gst/gstpad.c:
21535 * check/gstcheck.c:
21536 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21537 if pad has no parent, return NULL as list of internal links
21539 2005-07-05 Andy Wingo <wingo@pobox.com>
21541 * gst/elements/gstfilesrc.c:
21542 * gst/elements/gstfakesrc.c:
21543 * gst/base/gstpushsrc.c:
21544 * gst/base/gstbasesrc.h:
21545 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21547 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21550 better report generation target (lcov needs a patch)
21552 2005-07-05 Andy Wingo <wingo@pobox.com>
21554 * gst/elements, testsuite: Null if we got it...
21556 2005-07-05 Wim Taymans <wim@fluendo.com>
21559 * libs/gst/dataprotocol/Makefile.am:
21560 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21561 * libs/gst/dataprotocol/dataprotocol.h:
21562 * pkgconfig/Makefile.am:
21563 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21564 * pkgconfig/gstreamer-dataprotocol.pc.in:
21565 Ported dataprotol to 0.9.
21566 Added pkgconfig files.
21568 2005-07-05 Andy Wingo <wingo@pobox.com>
21570 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21571 Default to returning TRUE for the case when tranform_caps returns
21572 a fixed caps, like for identity or volume.
21574 * check/gst/gstbus.c (pound_bus_with_messages):
21575 * check/gst/gstmessage.c (START_TEST):
21576 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21577 message API change.
21579 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21580 logic weaks here: always run transform_caps, trying passthrough
21581 operation only if the original caps intersects with the transform.
21583 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21584 source and sink caps.
21586 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21587 Intersect the peer caps with the pad template before going into
21589 (gst_base_transform_transform_caps): More debugging.
21591 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21594 2005-07-04 Edward Hervey <edward@fluendo.com>
21598 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21601 2005-07-04 Andy Wingo <wingo@pobox.com>
21603 * check/gst/gstpad.c: Only set explicit caps on pads.
21605 2005-07-01 Andy Wingo <wingo@pobox.com>
21607 * tests/network-clock.scm: Commentary update.
21609 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21610 Didn't really make sense, not implementable with basetransform,
21612 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21613 attempt at implementing the sync property, needs an unlock method.
21615 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21616 New func, by default returns the same caps (the identity
21618 (gst_base_transform_getcaps): Uses transform_caps to return
21619 something sensible.
21620 (gst_base_transform_setcaps): Complicated logic to get caps on
21621 both pads, even if they are different, and to call set_caps once
21622 for every time both pads get their caps set.
21623 (gst_base_transform_handle_buffer): Give the ref to the transform
21624 function. Allows in-place modification of the buffer.
21626 * gst/base/gstbasetransform.h (transform_caps): New class method.
21627 Given caps on one side, what can I do on the other.
21628 (set_caps): Take two caps, one for each side of the element.
21631 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21632 caps in place. This is safe because we can check the mutability of
21633 the caps, and a good idea because fixate functions are just called
21634 as a matter of last resort. (Not actually implemented.)
21635 (gst_pad_set_caps): If the caps we're setting is actually the same
21636 as the existing pad caps, just update the pointer without calling
21637 setcaps. Assert that caps is either NULL or fixed, as per the
21640 * gst/gstghostpad.c: Update for fixate changes.
21642 2005-07-02 Andy Wingo <wingo@pobox.com>
21645 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21646 two refcounts makes it immutable, which is enough. Doc more.
21648 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21650 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21651 Put the mini_object into GValue as a mini_object,
21652 not a gpointer, since that's how we declared
21655 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21657 * examples/pwg/Makefile.am:
21658 Fix buildbot again.
21660 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21662 * docs/pwg/building-testapp.xml:
21664 * examples/pwg/Makefile.am:
21667 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21670 * examples/Makefile.am:
21671 * examples/pwg/Makefile.am:
21672 * examples/pwg/extract.pl:
21673 Enable building the PWG examples.
21674 * docs/pwg/advanced-interfaces.xml:
21675 Add URI interface stub.
21676 * docs/pwg/advanced-types.xml:
21677 * docs/pwg/other-autoplugger.xml:
21678 * docs/pwg/appendix-porting.xml:
21679 * docs/pwg/pwg.xml:
21680 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21681 * docs/pwg/building-boiler.xml:
21682 * docs/pwg/building-chainfn.xml:
21683 * docs/pwg/building-pads.xml:
21684 * docs/pwg/building-props.xml:
21685 * docs/pwg/building-state.xml:
21686 * docs/pwg/building-testapp.xml:
21687 Update the building-*.xml parts for 0.9 changes. All examples
21688 code blocks compile in examples/pwg/*.
21690 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21692 * docs/manual/advanced-autoplugging.xml:
21693 * docs/manual/appendix-checklist.xml:
21694 * docs/manual/appendix-integration.xml:
21695 * docs/manual/highlevel-components.xml:
21696 Fix playbin/decodebin examples, update docs a bit, mention bus
21697 instead of signals in various places, mention kmplayer and
21698 kaffeine since they have a working GStreamer backend in the KDE
21701 2005-06-30 Wim Taymans <wim@fluendo.com>
21704 * docs/design/draft-ghostpads.txt:
21705 * docs/design/draft-push-pull.txt:
21706 * docs/design/draft-query.txt:
21707 * docs/design/part-TODO.txt:
21708 * docs/design/part-query.txt:
21709 Added CHANGES-0.9 doc, updated status of other docs.
21714 2005-06-30 Wim Taymans <wim@fluendo.com>
21716 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21717 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21718 (gst_base_sink_change_state):
21719 * gst/base/gstbasesink.h:
21720 Some tweaks, only EOS and a buffer complete a preroll.
21722 2005-06-30 Andy Wingo <wingo@pobox.com>
21724 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21725 activate_push down to the internal pad as well.
21727 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21729 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21731 * gst/gsttaginterface.c:
21732 Some documentation fixes (#307394 and #307397).
21734 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21736 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21738 * gst/gstvalue.c: (gst_value_intersect_list):
21739 Fix memleak (#309125).
21741 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21743 * docs/manual/advanced-dataaccess.xml:
21744 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21745 * docs/manual/basics-pads.xml:
21746 Add reference for filtered caps to above chapter.
21748 2005-06-30 Wim Taymans <wim@fluendo.com>
21750 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21751 (gst_bin_change_state):
21753 Lame attempt at making the state change function a bit
21756 2005-06-30 Wim Taymans <wim@fluendo.com>
21758 * docs/design/part-clocks.txt:
21759 * docs/design/part-element-sink.txt:
21760 * docs/design/part-events.txt:
21761 * docs/design/part-preroll.txt:
21762 * docs/design/part-states.txt:
21763 Some more tweeks and additions to the docs.
21765 2005-06-30 Wim Taymans <wim@fluendo.com>
21767 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21768 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21769 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21770 (gst_pad_check_pull_range), (gst_pad_get_range),
21771 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21773 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21774 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21775 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21776 (gst_pad_remove_buffer_probe):
21777 Removed atomic operations, use existing LOCK.
21778 Move exception handling out of main code path.
21780 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21782 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21783 (silly_return_true_function), (gst_pad_class_init),
21784 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21785 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21786 (gst_pad_send_event):
21787 Fix accumulator, add default value by using _emitv() instead
21788 of _emit() for signal emission.
21790 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21792 * docs/manual/advanced-dataaccess.xml:
21793 * examples/manual/Makefile.am:
21795 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21798 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21800 * gst/elements/gstfilesink.c: (gst_filesink_render):
21801 Simplify code so that we don't have to handle short
21802 writes and return GST_FLOW_ERROR if an error occured.
21804 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21806 * docs/gst/gstreamer-docs.sgml:
21807 Remove probes more.
21809 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21811 * docs/gst/gstreamer-sections.txt:
21812 * docs/gst/tmpl/gstpad.sgml:
21813 * docs/gst/tmpl/gstprobe.sgml:
21815 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21816 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21817 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21818 (gst_pad_push_event), (gst_pad_send_event):
21820 * gst/gstutils.c: (gst_pad_add_data_probe),
21821 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21822 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21823 (gst_pad_remove_buffer_probe):
21825 Remove old probes, add new g-signal-based probes and some utility
21828 2005-06-29 Edward Hervey <edward@fluendo.com>
21830 * gst/gstelementfactory.c:
21833 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21834 the definition to the header file.
21836 2005-06-29 Andy Wingo <wingo@pobox.com>
21838 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21839 plugins from the source directory.
21841 2005-06-29 Wim Taymans <wim@fluendo.com>
21843 * docs/gst/tmpl/gstbuffer.sgml:
21844 * docs/gst/tmpl/gstclock.sgml:
21845 Some fixings for blantently wrong text.
21847 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21849 * check/Makefile.am:
21850 * gst/gst.c: (add_path_func), (init_pre):
21851 * gst/gstregistry.c: (gst_registry_add_path):
21852 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21853 only scan the GST_PLUGIN_PATH locations, and not add
21856 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21858 * docs/gst/gstreamer-sections.txt:
21859 * docs/gst/tmpl/gstbasesrc.sgml:
21860 * gst/gstelement.c:
21861 * gst/gstelement.h:
21866 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21868 * docs/manual/advanced-autoplugging.xml:
21869 Fix autoplugging example.
21871 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21873 * docs/manual/advanced-autoplugging.xml:
21874 * docs/manual/mime-world.fig:
21875 Try to get autoplugging working, fix type detection. Fix text
21876 in hello-world image.
21878 2005-06-29 Wim Taymans <wim@fluendo.com>
21880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21881 (gst_base_sink_change_state):
21885 map SIGNAL and BROADCAST to the right function.
21888 Remove redundant braces.
21890 * gst/gstpad.c: (gst_pad_set_caps):
21891 Don't call setcaps function when reseting caps to NULL.
21893 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21894 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21895 (gst_system_clock_id_unschedule):
21896 Use BROADCAST as this is what we do.
21898 2005-06-29 Wim Taymans <wim@fluendo.com>
21900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21901 We are actually prerolling before commiting the state
21904 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21906 * docs/manual/advanced-clocks.xml:
21907 * docs/manual/advanced-interfaces.xml:
21908 * docs/manual/advanced-metadata.xml:
21909 * docs/manual/advanced-position.xml:
21910 * docs/manual/advanced-schedulers.xml:
21911 * docs/manual/advanced-threads.xml:
21912 * docs/manual/appendix-porting.xml:
21913 * docs/manual/basics-bins.xml:
21914 * docs/manual/basics-bus.xml:
21915 * docs/manual/basics-elements.xml:
21916 * docs/manual/basics-helloworld.xml:
21917 * docs/manual/basics-pads.xml:
21918 * docs/manual/highlevel-components.xml:
21919 * docs/manual/manual.xml:
21920 * docs/manual/thread.fig:
21921 Update (until threads/scheduling) Application Development Manual;
21922 remove GstThread, add GstBus, add simple porting checklist, add
21923 documentation for tag writing, clocks, make all examples until this
21924 part compile and run.
21925 * examples/manual/Makefile.am:
21926 Update from changes to Application Development Manual; add bus
21927 example, remove thread example.
21929 2005-06-28 Wim Taymans <wim@fluendo.com>
21931 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21932 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21933 (gst_bus_source_dispatch):
21934 Add debugging messages.
21935 Make internal methods static.
21936 Handle the case where the bus is flushed in the handler.
21938 * gst/gstelement.c: (gst_element_get_bus):
21939 Fix refcount in _get_bus();
21941 * gst/gstpipeline.c: (gst_pipeline_change_state),
21942 (gst_pipeline_get_clock_func):
21943 Clock refcounting fixes.
21944 Handle the case where preroll timed out more gracefully.
21946 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21947 Clean up the internal thread in dispose. This is needed
21948 for subclasses that actually get disposed.
21950 * gst/schedulers/threadscheduler.c:
21951 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21952 (gst_thread_scheduler_dispose):
21953 Free thread pool in dispose.
21955 2005-06-28 Andy Wingo <wingo@pobox.com>
21957 * tests/network-clock-utils.scm (debug, print-event): New utils.
21959 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21960 (*packet-loss*): Unified loss probability.
21961 (network-time): Report out-of-band events.
21963 * tests/plot-data: Add support for out-of-band events. Hack it
21964 into this script instead of passing it down the pipe; should fix
21967 2005-06-28 Wim Taymans <wim@fluendo.com>
21969 * docs/gst/gstreamer.types:
21970 * docs/gst/tmpl/gstbasesrc.sgml:
21971 * docs/gst/tmpl/gstpad.sgml:
21974 2005-06-28 Wim Taymans <wim@fluendo.com>
21976 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21977 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21978 (gst_proxy_pad_do_fixatecaps):
21979 Correctly proxy the check_pull_range function.
21981 2005-06-28 Andy Wingo <wingo@pobox.com>
21983 * tests/network-clock.scm: Removed need for slib.
21985 2005-06-28 Wim Taymans <wim@fluendo.com>
21987 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21988 (gst_basesink_preroll_queue_flush):
21989 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21990 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21991 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21992 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21993 (gst_proxy_pad_set_property):
21996 * gst/gstqueue.c: (gst_queue_init):
21997 The deprecated pad loop function is removed now.
21999 2005-06-28 Andy Wingo <wingo@pobox.com>
22001 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
22002 New parameters, simulate network packet loss.
22004 * tests/network-clock-utils.scm: Initialize the RNG.
22006 2005-06-28 Wim Taymans <wim@fluendo.com>
22008 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
22009 (gst_basesink_event), (gst_basesink_deactivate):
22010 Flushing the preroll queue always needs to unlock the waiters.
22012 2005-06-28 Edward Hervey <edward@fluendo.com>
22014 * gst/gstpipeline.c: (gst_pipeline_send_event):
22015 Wheen a seek was successful on a pipeline, set the stream_time to the
22016 seek offset in order to have a synchronized stream_time.
22018 2005-06-28 Wim Taymans <wim@fluendo.com>
22020 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22021 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
22022 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
22023 (gst_proxy_pad_do_fixatecaps):
22024 Call wrapper function instead of just calling the function
22025 pointers. This takes care of any locking and whatmore.
22027 2005-06-28 Wim Taymans <wim@fluendo.com>
22029 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
22030 (gst_pad_pull_range):
22032 CONNECTED -> LINKED.
22034 2005-06-28 Andy Wingo <wingo@pobox.com>
22036 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
22037 source-munging commit!!!
22039 * gst/gstobject.c (gst_object_unref, gst_object_ref)
22040 (gst_object_sink): Take gpointer arguments, not GstObject --
22041 avoids casts. Like GLib.
22043 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
22046 2005-06-27 Andy Wingo <wingo@pobox.com>
22048 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
22051 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
22052 returns a sorted copy of the trace list.
22053 (gst_alloc_trace_print_live): New API, only prints traces with
22054 live objects. Sort the list.
22055 (gst_alloc_trace_print_all): Sort the list.
22056 (gst_alloc_trace_print): Align columns.
22058 * gst/elements/gstttypefindelement.c:
22059 * gst/elements/gsttee.c:
22060 * gst/base/gstbasesrc.c:
22061 * gst/base/gstbasesink.c:
22062 * gst/base/gstbasetransform.c:
22063 * gst/gstqueue.c: Adapt for pad activation changes.
22065 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
22067 (gst_pipeline_dispose): Drop ref on sched.
22069 * gst/gstpad.c (gst_pad_init): Set the default activate func.
22070 (gst_pad_activate_default): Push mode by default.
22071 (pre_activate_switch, post_activate_switch): New stubs, things to
22072 do before and after switching activation modes on pads.
22073 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
22074 the pad's activate function to choose which mode to activate.
22075 Shortcut on deactivation and call the right function directly.
22076 (gst_pad_activate_pull): New API, (de)activates a pad in pull
22078 (gst_pad_activate_push): New API, same for push mode.
22079 (gst_pad_set_activate_function)
22080 (gst_pad_set_activatepull_function)
22081 (gst_pad_set_activatepush_function): Setters for new API.
22083 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
22084 Trace all miniobjects.
22085 (gst_mini_object_make_writable): Unref the arg if we copy, like
22086 gst_caps_make_writable.
22088 * gst/gstmessage.c (_gst_message_initialize): No trace init.
22090 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
22091 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
22092 Adapt for new pad API.
22094 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
22096 * gst/gstelement.h:
22097 * gst/gstelement.c (gst_element_iterate_src_pads)
22098 (gst_element_iterate_sink_pads): New API functions.
22100 * gst/gstelement.c (iterator_fold_with_resync): New utility,
22101 should fold into gstiterator.c in some form.
22102 (gst_element_pads_activate): Simplified via use of fold and
22103 delegation of decisions to gstpad->activate.
22105 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
22108 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
22109 class once in init, like gstmessage. Didn't run into this issue
22110 but it seems correct. Don't initialize a trace, gstminiobject does
22113 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
22114 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
22116 (assert_live_count): New util function, uses alloc traces to check
22119 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
22120 To be modified when unlink drops the internal pad.
22122 2005-06-27 Wim Taymans <wim@fluendo.com>
22124 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
22125 (gst_bin_change_state):
22126 Cleanup the get_state() function a little, make sure it
22127 iterates the same set of elements.
22128 Added stub iterate_state_order().
22130 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
22132 * docs/gst/gstreamer-docs.sgml:
22133 * docs/gst/gstreamer-sections.txt:
22134 * docs/gst/gstreamer.types:
22135 * docs/gst/tmpl/gstbasesink.sgml:
22136 * docs/gst/tmpl/gstbasesrc.sgml:
22137 * docs/gst/tmpl/gstbasetransform.sgml:
22138 * docs/gst/tmpl/gstelement.sgml:
22139 * docs/gst/tmpl/gstiterator.sgml:
22140 * gst/base/gstbasesrc.c:
22141 * gst/base/gstbasesrc.h:
22142 * gst/base/gstbasetransform.h:
22143 * gst/gstelement.c:
22144 * gst/gstiterator.h:
22145 adding basetransform and iterator docs
22147 2005-06-27 Andy Wingo <wingo@pobox.com>
22149 * docs/design/part-activation.txt: Notes on how activation should
22150 work -- not quite implemented yet.
22152 2005-06-25 Wim Taymans <wim@fluendo.com>
22154 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
22155 At least get the chain function correct, needs more
22158 2005-06-25 Wim Taymans <wim@fluendo.com>
22160 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22161 (gst_basesink_handle_object), (gst_basesink_event),
22162 (gst_basesink_do_sync), (gst_basesink_handle_event),
22163 (gst_basesink_change_state):
22165 Right, two problems here: ghostpads don't take locks and
22166 glib _rec_mutex_lock_full() with depth==0 still locks.
22167 Catch illegal locking and g_warn them.
22169 2005-06-25 Wim Taymans <wim@fluendo.com>
22171 * check/states/sinks.c: (START_TEST), (gst_object_suite):
22172 Have to check for completion now...
22174 2005-06-25 Wim Taymans <wim@fluendo.com>
22176 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
22177 (gst_basesink_handle_object), (gst_basesink_event),
22178 (gst_basesink_do_sync), (gst_basesink_handle_event),
22179 (gst_basesink_change_state):
22181 Unlock STREAM_LOCK whatever the recursion was.
22183 2005-06-25 Wim Taymans <wim@fluendo.com>
22185 * gst/base/gstbasesink.c: (gst_basesink_set_property),
22186 (gst_basesink_preroll_queue_empty),
22187 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
22188 (gst_basesink_event), (gst_basesink_do_sync),
22189 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
22190 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
22191 (gst_basesink_change_state):
22192 Reworked the base sink, handle event and buffer serialisation
22193 correctly and removed possible deadlock.
22194 Handle EOS correctly.
22196 2005-06-25 Wim Taymans <wim@fluendo.com>
22198 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
22199 (gst_pipeline_change_state):
22200 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22201 Allow elements to post EOS in the state change function.
22202 Fix up -launch, make it exit the poll loop when the
22203 pipeline actually changed state.
22204 Fix up warning parsing in -launch.
22206 2005-06-25 Wim Taymans <wim@fluendo.com>
22208 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
22209 (gst_tee_sink_activate):
22210 Core takes STREAM_LOCK for us now.
22212 2005-06-25 Wim Taymans <wim@fluendo.com>
22214 * gst/gstelement.c: (gst_element_get_state_func),
22215 (gst_element_set_state):
22216 * gst/gstelement.h:
22217 * gst/gstmessage.c: (gst_message_parse_error),
22218 (gst_message_parse_warning):
22219 Keep track of current target state while performing a state
22220 change so that subclasses can do something interesting.
22221 Fix parsing of warning/error messages when GError is NULL.
22223 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
22225 * docs/gst/Makefile.am:
22226 * docs/gst/gstreamer-docs.sgml:
22227 * docs/gst/gstreamer-sections.txt:
22228 * docs/gst/gstreamer.types:
22229 * docs/gst/tmpl/gstbasesink.sgml:
22230 * docs/gst/tmpl/gstbasesrc.sgml:
22231 * docs/gst/tmpl/gstbin.sgml:
22232 * docs/gst/tmpl/gstcompat.sgml:
22233 * docs/gst/tmpl/gstfakesink.sgml:
22234 * docs/gst/tmpl/gstfakesrc.sgml:
22235 * docs/gst/tmpl/gstfilesink.sgml:
22236 * docs/gst/tmpl/gstfilesrc.sgml:
22237 * docs/gst/tmpl/gstindex.sgml:
22238 * docs/manual/appendix-quotes.xml:
22239 * gst/base/gstbasesrc.h:
22240 * gst/elements/gstfakesrc.h:
22241 * gst/gstmessage.h:
22242 start pulling in base classes and elements in our docs
22244 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22246 * docs/gst/Makefile.am:
22247 * docs/libs/Makefile.am:
22248 fixed make distcheck with gtk-doc 1.3
22250 2005-06-23 Wim Taymans <wim@fluendo.com>
22252 * gst/gstelement.c: (gst_element_get_state_func),
22253 (gst_element_set_state), (gst_element_change_state):
22254 When the state did not change, also report NO_PREROLL
22257 2005-06-23 Wim Taymans <wim@fluendo.com>
22259 * gst/gstpad.c: (gst_pad_event_default):
22260 * gst/gstqueue.c: (gst_queue_loop):
22261 No unsafe task pausing please.
22263 2005-06-23 Wim Taymans <wim@fluendo.com>
22265 * gst/schedulers/threadscheduler.c:
22266 (gst_thread_scheduler_task_start),
22267 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22268 Ref the task before pushing it on the threadpool. This
22269 makes sure that we have a ref when the threadfunction is
22272 2005-06-23 Andy Wingo <wingo@pobox.com>
22274 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22275 offset is greater than the file's size.
22277 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22278 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22279 * gst/gstobject.c (gst_object_class_init): Make the class lock
22280 recursive. Wim won't let me drop deep_notify. Decodebin works
22281 again, whoopdy doo.
22283 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22284 internal pad, and hacks accordingly. Doesn't do it on the target
22285 pad because we change its caps. Probably catches all cases of
22287 (gst_ghost_pad_set_property): Connect to notify::caps as
22290 * tests/network-clock.scm (plot-simulation): Pipe data to the
22291 elite python skript.
22293 * tests/network-clock-utils.scm (define-parameter): New macro,
22294 defines a parameter that can be set via the command line.
22295 (set-parameter!, parse-parameter-arguments): Command line args
22298 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22301 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22303 * gst/elements/gsttypefindelement.c:
22304 (gst_type_find_element_handle_event):
22305 Don't restart typefinding on a discont.
22306 * gst/gstelement.c: (gst_element_set_state):
22307 Debug spelling fix.
22308 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22309 Allow changing mode of an active pad.
22310 Debug output fixes.
22311 * gst/registries/gstlibxmlregistry.c: (load_feature):
22312 Don't cast a static pad template to a normal pad template.
22314 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22316 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22317 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22318 remove gst_strtoll completely, since it didn't actually do
22319 anything more than what g_ascii_strtoull already does.
22320 check for range errors when deserializing
22321 do a cast for the unsigned cases; but further fixing needs
22322 a decision on what the interpretation of "(int)" and
22323 deserialization should be for values that fall outside the
22324 type's boundaries (ie, refuse, or interpret as casting)
22326 2005-06-23 Wim Taymans <wim@fluendo.com>
22328 * check/Makefile.am:
22329 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22330 * docs/design/part-live-source.txt:
22331 * docs/design/part-states.txt:
22332 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22333 (gst_basesrc_set_live), (gst_basesrc_is_live),
22334 (gst_basesrc_get_range), (gst_basesrc_activate),
22335 (gst_basesrc_change_state):
22336 * gst/base/gstbasesrc.h:
22337 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22338 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22339 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22340 * gst/gstelement.c: (gst_element_get_state_func),
22341 (gst_element_set_state):
22342 * gst/gstelement.h:
22344 * tools/gst-launch.c: (event_loop), (main):
22345 Added support for live sources and other elements that
22347 Updated design docs, added live-source design doc.
22348 Implemented live source functionality in basesrc
22349 Fix error condition in _bin_get_state()
22350 Implement live source handling in -launch.
22351 Added check for live sources.
22352 Fixed case in GstBin where elements were changed state
22356 2005-06-23 Andy Wingo <wingo@pobox.com>
22358 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22359 borken refcounting.
22361 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22362 gst_caps_replace takes care of this for us.
22364 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22365 gst_pad_set_caps on the target, not just its setcaps() function.
22367 * tests/network-clock.scm:
22368 * tests/network-clock-utils.scm: A network clock simulator.
22369 Something of an algorithmic testbed before doing something in C.
22371 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22373 * check/Makefile.am:
22374 * check/gst/capslist.h:
22375 copy over from 0.8, and add two with bitmasks specified with
22377 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22378 add test to parse everything from capslist.h
22379 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22381 add test for structure deserialization
22382 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22383 add tests for deserialization of strings to int types
22384 * gst/gststructure.c: (gst_structure_nth_field_name):
22385 * gst/gststructure.h:
22386 add a way to get the name of a field referenced by index
22387 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22388 instead of checking if the resulting long long lies between
22389 min and max, we check if the long long would fit into
22390 a number of bytes for the final type.
22391 This fixes cases where a string represents 2^32 - 1, which
22392 when cast to int would be the (valid) -1, but is bigger than
22395 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22397 * gst/parse/grammar.y:
22398 add a log line for type deserialization
22400 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22402 * check/gst/gstvalue.c: (START_TEST):
22403 * gst/gstvalue.c: (gst_value_deserialize):
22404 return long long, not int, so gint64 deserialization actually
22405 works. Is there any flag that makes the compiler check this ?
22408 2005-06-22 Wim Taymans <wim@fluendo.com>
22411 Added convenience macros for setting buffers in GValue.
22413 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22415 * check/gst/.cvsignore:
22416 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22417 add a test deserializing int64, and comment part out because
22420 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22422 * check/Makefile.am:
22423 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22424 * testsuite/Makefile.am:
22425 * testsuite/caps/Makefile.am:
22426 * testsuite/caps/value_serialize.c:
22427 * testsuite/test_gst_init.c:
22428 move a value_serialize test over
22430 2005-06-20 Wim Taymans <wim@fluendo.com>
22435 * gst/gstvalue.c: (gst_value_compare_buffer),
22436 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22437 (gst_value_compare_flags), (gst_value_serialize_flags),
22438 (gst_value_deserialize_flags), (_gst_value_initialize):
22439 Fix serialisation of buffers, they are not boxed types anymore
22441 2005-06-20 Wim Taymans <wim@fluendo.com>
22443 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22444 Testcase to show error in buffer-on-caps serialisation.
22446 2005-06-20 Andy Wingo <wingo@pobox.com>
22448 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22449 will be adding to later.
22451 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22452 if its socks fill with rocks.
22453 (gst_system_clock_obtain): Set the name on object construction.
22454 Avoid double-checked locking.
22456 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22458 * gst/gsturi.c: (gst_element_make_from_uri):
22459 Fix potential endless loop.
22461 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22463 * check/Makefile.am:
22465 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22467 move over from testsuite dir and clean up
22470 * testsuite/Makefile.am:
22471 * testsuite/tags/.cvsignore:
22472 * testsuite/tags/Makefile.am:
22473 * testsuite/tags/merge.c:
22474 remove testsuite/tags
22476 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22478 * docs/gst/gstreamer-sections.txt:
22479 * docs/gst/tmpl/gstenumtypes.sgml:
22480 * win32/gstenumtypes.c:
22481 clean up documentation build a little
22483 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22485 * check/gstcheck.h:
22486 add macros for checking refcounts on objects and caps
22487 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22488 add some more unit tests
22489 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22490 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22491 fix leaked refcounts (I hope :)) so unittest works
22495 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22497 * configure.ac: back to HEAD
22499 === release 0.9.1 ===
22501 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22507 2005-06-17 Andy Wingo <wingo@pobox.com>
22509 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22510 assert; it's always possible that the pad gets deactivated in
22511 between the checks in gstpad.c and the implementation. Rely on
22512 finish_preroll() to return a FLUSHING or similar instead of on the
22515 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22516 clock and post an EOS message if we come out of finish_preroll in
22519 2005-06-16 David Schleef <ds@schleef.org>
22521 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22522 (gst_capsfilter_set_property): Allow NULL as possible value
22523 for filter_caps property, indicating GST_CAPS_ANY.
22525 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22527 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22529 * gst/schedulers/Makefile.am:
22531 * gstreamer.spec.in:
22534 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22536 * gstreamer.spec.in:
22539 2005-06-08 Andy Wingo <wingo@pobox.com>
22541 * gst/gstutils.c: RPAD fixes all around.
22542 (gst_element_link_pads): Refcounting fixes.
22544 * tools/gst-inspect.c:
22545 * tools/gst-xmlinspect.c:
22547 * gst/base/gsttypefindhelper.c:
22548 * gst/base/gstbasesink.c:
22549 * gst/gstqueue.c: RPAD fixes.
22551 * gst/gstghostpad.h:
22552 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22553 pads. The tricky thing is they provide both source and sink
22554 interfaces, since they proxy the internal pad for the external
22555 pad, and vice versa. Implement with lower-level ProxyPad objects,
22556 with the interior proxy pad as a child of the exterior ghost pad.
22557 Should write a doc on this.
22559 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22560 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22563 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22564 pads are real pads. No ghost pads in this file. Not documenting
22565 the myriad s/RPAD/PAD/ and REALIZE fixes.
22566 (gst_pad_class_init): Add properties for "direction" and
22567 "template". Both are construct-only, so they can't change during
22568 the life of the pad. Fixes properly deriving from GstPad.
22569 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22570 derived objects, just set properties when creating the objects via
22572 (gst_pad_get_parent): Implement as a function, return NULL if the
22573 parent is not an element.
22574 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22575 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22577 * gst/gstobject.c (gst_object_class_init): Make name a construct
22578 property. Don't set it in the object init.
22580 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22581 with UNKNOWN direction.
22582 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22583 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22584 (gst_element_remove_pad): Remove ghost-pad special cases.
22585 (gst_element_pads_activate): Remove rpad cruft.
22587 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22588 catch the pad's-parent-not-an-element case.
22590 * gst/gst.h: Include gstghostpad.h.
22592 * gst/gst.c (init_post): No more real, ghost pads.
22594 * gst/Makefile.am: Add gstghostpad.[ch].
22596 * check/Makefile.am:
22597 * check/gst/gstbin.c:
22598 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22599 into a bin creates ghost pads, and that the refcounts are right.
22600 Partly moved from gstbin.c.
22602 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22604 * check/gst-libs/.cvsignore:
22605 * check/gst/.cvsignore:
22606 * check/pipelines/.cvsignore:
22608 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22609 (START_TEST), (cleanup_suite), (main):
22610 add some tests related to cleanup after running pipelines
22612 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22614 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22615 add a testsuite for GstBuffer
22617 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22619 * gst/gstminiobject.h:
22620 add defines for accessing the refcount
22622 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22624 * Makefile.am: added support for html unit test coverage reports
22626 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22628 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22629 Free existing caps if the capsfilter changes. Add a FIXME about
22630 setting those caps on the pads.
22632 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22633 Before adding a ghost pad to a parent bin, check that there isn't
22634 already one for the element on the bin. Prevents infinite recursion
22635 when using decodebin in parse pipelines. Andy says he'll rewrite the
22636 way this works anyway, so ignore the hack.
22638 2005-06-02 Andy Wingo <wingo@pobox.com>
22640 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22641 file size, pass it on to the type find helper.
22643 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22644 segment_start and segment_end properly according to the seek
22645 method. Segment_end is still a bit flaky because offset can be
22646 negative for CUR and END cases, but it takes -1 as an "unset"
22649 2005-06-02 Wim Taymans <wim@fluendo.com>
22651 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22652 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22653 (gst_basesink_activate):
22654 * gst/base/gstbasesink.h:
22655 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22656 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22657 (gst_pad_query), (gst_pad_start_task):
22659 * gst/gstqueue.c: (gst_queue_bufferalloc),
22660 (gst_queue_handle_sink_event), (gst_queue_chain):
22661 Bufferalloc: return GstFlowReturn to more accuratly report
22662 why allocation failed.
22664 2005-06-02 Wim Taymans <wim@fluendo.com>
22666 * gst/gstpipeline.c: (gst_pipeline_send_event):
22667 Take snapshot of state without blocking.
22669 2005-06-02 Wim Taymans <wim@fluendo.com>
22671 * docs/design/part-TODO.txt:
22672 * docs/design/part-caps.txt:
22673 * docs/design/part-clocks.txt:
22674 * docs/design/part-negotiation.txt:
22675 * docs/design/part-preroll.txt:
22678 2005-05-30 Wim Taymans <wim@fluendo.com>
22680 * gst/elements/gstidentity.c: (gst_identity_event),
22681 (gst_identity_transform), (gst_identity_get_property):
22682 Protect last_message property as it is accessed from
22685 2005-05-30 Wim Taymans <wim@fluendo.com>
22687 * gst/gstelement.c: (gst_element_init),
22688 (gst_element_pads_activate), (gst_element_change_state):
22689 Slicker pad activation code.
22691 2005-05-30 Wim Taymans <wim@fluendo.com>
22694 * gst/gstelement.h:
22695 * gst/gstelementfactory.h:
22697 Move elementfactory methods to separate .h file.
22699 2005-05-30 Wim Taymans <wim@fluendo.com>
22701 * docs/design/part-overview.txt:
22702 * gst/gstsystemclock.h:
22703 Small typo fixes, doc updates.
22705 2005-05-30 Wim Taymans <wim@fluendo.com>
22707 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22708 (init_popt_callback):
22709 Remove cpu-opt flag.
22711 2005-05-30 Wim Taymans <wim@fluendo.com>
22713 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22714 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22716 Avoid typechecking in places where not needed.
22717 Added accessor for malloc_data.
22719 2005-05-30 Wim Taymans <wim@fluendo.com>
22721 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22722 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22723 (gst_pad_configure_sink), (gst_pad_configure_src),
22724 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22725 (gst_pad_start_task):
22726 Propagate errors from _set_caps() in configure_src/sink
22727 functions instead of returning TRUE.
22728 FLUSH events can travel up and downstream
22731 2005-05-30 Wim Taymans <wim@fluendo.com>
22733 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22734 (gst_basesink_activate):
22735 Handle EOS in preroll.
22737 2005-05-30 Wim Taymans <wim@fluendo.com>
22739 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22740 (gst_queue_loop), (gst_queue_handle_src_event):
22741 Remove old pieces of code
22742 Flushing the queue in an upstream event is a very bad idea.
22744 2005-05-26 Andy Wingo <wingo@pobox.com>
22746 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22747 gst_value_set_mini_object so as to add a ref on the object (which
22748 will be removed when the value is unset).
22750 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22751 arg type in ::handoff.
22753 * gst/gstelement.c (gst_element_change_state): Also deactivate
22754 pads in READY->NULL, just in case the element didn't make it to
22755 PAUSED. Wingo tested, Wim approved.
22757 2005-05-26 Wim Taymans <wim@fluendo.com>
22759 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22760 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22761 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22762 A flushing pad cannot be used to alloc_buffer from.
22764 2005-05-26 Wim Taymans <wim@fluendo.com>
22766 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22767 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22768 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22769 (gst_bus_create_watch), (gst_bus_add_watch_full):
22771 Implement a real GSource and use g_main_context_wakeup() to
22772 signal new messages instead of the socketpair.
22774 2005-05-25 Wim Taymans <wim@fluendo.com>
22776 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22777 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22778 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22779 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22780 (gst_pad_send_event), (gst_pad_start_task):
22781 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22782 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22783 (gst_queue_sink_activate), (gst_queue_src_activate),
22784 (gst_queue_change_state):
22786 Fix state changes for non sinks. We now change sinks, then elements
22787 with unconnected srcpads, then the rest.
22788 More efficient queue unlocking in flush and state changes.
22789 Set the pad activate mode even if it does not have an activate
22792 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22794 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22795 Don't go in pull mode for non-seekable sources.
22796 * gst/elements/gsttypefindelement.h:
22797 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22798 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22799 (free_entry), (stop_typefinding),
22800 (gst_type_find_element_handle_event), (find_peek),
22801 (gst_type_find_element_chain), (do_pull_typefind),
22802 (gst_type_find_element_change_state):
22803 Allow typefinding (w/o seeking) in push-mode, simplified version
22804 of what was in 0.8.
22805 * gst/gstutils.c: (gst_buffer_join):
22807 gst_buffer_join() from 0.8.
22809 2005-05-25 Wim Taymans <wim@fluendo.com>
22811 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22812 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22813 (gst_pad_send_event), (gst_pad_start_task):
22814 Disable attempt at mode switching until it is figured out.
22816 2005-05-25 Wim Taymans <wim@fluendo.com>
22818 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22819 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22820 (gst_basesink_finish_preroll), (gst_basesink_chain),
22821 (gst_basesink_loop), (gst_basesink_activate),
22822 (gst_basesink_change_state):
22823 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22824 (gst_basesrc_get_range), (gst_basesrc_loop),
22825 (gst_basesrc_activate):
22826 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22827 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22828 (gst_real_pad_init), (gst_real_pad_set_property),
22829 (gst_real_pad_get_property), (gst_pad_set_active),
22830 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22831 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22832 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22833 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22834 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22835 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22836 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22837 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22838 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22839 (gst_pad_stop_task):
22841 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22842 (gst_queue_loop), (gst_queue_src_activate):
22843 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22844 (gst_task_get_state):
22846 * gst/schedulers/threadscheduler.c:
22847 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22848 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22850 Remove ACTIVE pad flag, use FLUSHING everywhere
22851 Added _pad_chain(), _pad_get_range() to call chain/getrange
22853 Add locks around IS_FLUSHING when reading.
22854 Take STREAM lock in chain(), get_range() functions so plugins
22855 don't need to take it anymore.
22859 2005-05-25 Wim Taymans <wim@fluendo.com>
22861 * tools/gst-launch.c: (event_loop):
22862 Unref message after using its contents instead of
22865 2005-05-24 Wim Taymans <wim@fluendo.com>
22867 * docs/design/draft-ghostpads.txt:
22868 * docs/design/draft-push-pull.txt:
22869 * docs/design/draft-query.txt:
22870 * docs/design/part-overview.txt:
22871 Docs updates, added general overview doc.
22873 2005-05-21 David Schleef <ds@schleef.org>
22875 * docs/gst/tmpl/old/GstBin.sgml:
22876 * docs/gst/tmpl/old/GstBuffer.sgml:
22877 * docs/gst/tmpl/old/GstCaps.sgml:
22878 * docs/gst/tmpl/old/GstClock.sgml:
22879 * docs/gst/tmpl/old/GstCompat.sgml:
22880 * docs/gst/tmpl/old/GstData.sgml:
22881 * docs/gst/tmpl/old/GstElement.sgml:
22882 * docs/gst/tmpl/old/GstEvent.sgml:
22883 * docs/gst/tmpl/old/GstIndex.sgml:
22884 * docs/gst/tmpl/old/GstStructure.sgml:
22885 * docs/gst/tmpl/old/GstTag.sgml:
22886 * docs/gst/tmpl/old/cothreads.sgml:
22887 * docs/gst/tmpl/old/cothreads_compat.sgml:
22888 * docs/gst/tmpl/old/gettext.sgml:
22889 * docs/gst/tmpl/old/gobject2gtk.sgml:
22890 * docs/gst/tmpl/old/grammar.tab.sgml:
22891 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22892 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22893 * docs/gst/tmpl/old/gst_private.sgml:
22894 * docs/gst/tmpl/old/gstaggregator.sgml:
22895 * docs/gst/tmpl/old/gstarch.sgml:
22896 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22897 * docs/gst/tmpl/old/gstbufferstore.sgml:
22898 * docs/gst/tmpl/old/gstdata_private.sgml:
22899 * docs/gst/tmpl/old/gstdisksink.sgml:
22900 * docs/gst/tmpl/old/gstdisksrc.sgml:
22901 * docs/gst/tmpl/old/gstelementfactory.sgml:
22902 * docs/gst/tmpl/old/gstextratypes.sgml:
22903 * docs/gst/tmpl/old/gstfakesink.sgml:
22904 * docs/gst/tmpl/old/gstfakesrc.sgml:
22905 * docs/gst/tmpl/old/gstfdsink.sgml:
22906 * docs/gst/tmpl/old/gstfdsrc.sgml:
22907 * docs/gst/tmpl/old/gstfilesink.sgml:
22908 * docs/gst/tmpl/old/gstfilesrc.sgml:
22909 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22910 * docs/gst/tmpl/old/gstidentity.sgml:
22911 * docs/gst/tmpl/old/gstindexfactory.sgml:
22912 * docs/gst/tmpl/old/gstmarshal.sgml:
22913 * docs/gst/tmpl/old/gstmd5sink.sgml:
22914 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22915 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22916 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22917 * docs/gst/tmpl/old/gstpipefilter.sgml:
22918 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22919 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22920 * docs/gst/tmpl/old/gstshaper.sgml:
22921 * docs/gst/tmpl/old/gstspider.sgml:
22922 * docs/gst/tmpl/old/gstspideridentity.sgml:
22923 * docs/gst/tmpl/old/gststatistics.sgml:
22924 * docs/gst/tmpl/old/gsttee.sgml:
22925 * docs/gst/tmpl/old/gsttimecache.sgml:
22926 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22927 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22928 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22929 * docs/gst/tmpl/old/types.sgml:
22930 I didn't intend to add these or check them in.
22932 2005-05-19 David Schleef <ds@schleef.org>
22934 * configure.ac: Use -no-common everywhere. In a sane world, it
22935 would be the default in libtool, because without it, you can't
22936 build DLLs on Windows.
22937 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22938 * docs/gst/gstreamer-sections.txt:
22939 * docs/gst/tmpl/gstcpu.sgml:
22940 * docs/gst/tmpl/gstdata.sgml:
22941 * docs/gst/tmpl/gstthread.sgml:
22943 2005-05-19 David Schleef <ds@schleef.org>
22945 * gst/gstminiobject.c: (gst_value_set_mini_object),
22946 (gst_value_take_mini_object), (gst_value_get_mini_object):
22947 * gst/gstminiobject.h: Add GValue set/get functions.
22949 2005-05-19 Wim Taymans <wim@fluendo.com>
22951 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22952 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22953 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22955 * gst/gstbus.c: (gst_bus_post):
22956 * gst/gstelement.c: (gst_element_get_random_pad):
22957 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22958 Make subbufer unref the parent in finalize.
22959 some more debugging info.
22962 2005-05-19 Wim Taymans <wim@fluendo.com>
22964 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22965 (gst_basesink_init), (gst_basesink_finalize),
22966 (gst_basesink_activate), (gst_basesink_change_state):
22967 Don't free preroll queue too early.
22969 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22973 Hi, I'm outdated. Please shoot me.
22975 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22977 * gst/gstpipeline.c: (gst_pipeline_send_event):
22978 Do not access variables after they have been deleted.
22980 2005-05-19 Wim Taymans <wim@fluendo.com>
22982 * tools/gst-inspect.c: (print_plugin_features):
22983 A plugin feature does unfortunatly not use the
22986 2005-05-18 Wim Taymans <wim@fluendo.com>
22988 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22989 Port _span() functions to new subbuffers.
22991 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22993 * gst/gstbin.c: (gst_bin_add_func):
22994 Fix clock settery in bins when adding kids after the clock has
22997 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22999 * gst/elements/gstidentity.c: (gst_identity_class_init):
23000 Workaround until signals support GstMiniObject.
23002 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
23005 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
23007 2005-05-18 Wim Taymans <wim@fluendo.com>
23009 * gst/base/Makefile.am:
23010 * gst/base/gstadapter.c: (gst_adapter_base_init),
23011 (gst_adapter_class_init), (gst_adapter_init),
23012 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
23013 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
23014 (gst_adapter_flush), (gst_adapter_available),
23015 (gst_adapter_available_fast):
23016 * gst/base/gstadapter.h:
23017 Ported and added adapter to the base classes.
23019 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23022 * gst/gstmessage.c:
23023 Make sure the class is reffed/unreffed once before threads can be
23024 used. Fixes #304551.
23026 2005-05-17 Wim Taymans <wim@fluendo.com>
23028 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
23029 (gst_basesink_chain_unlocked), (gst_basesink_activate):
23030 * gst/gstminiobject.c: (gst_mini_object_get_type),
23031 (gst_mini_object_free):
23032 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
23033 (gst_pad_push), (gst_pad_push_event):
23034 * gst/gstqueue.c: (gst_queue_change_state):
23035 Don't queue buffers in basesink when we are flushing.
23036 Unref buffer when flushing in basesink.
23037 Flush queue when going to READY
23038 Unref buffer when _push() returns an error.
23039 Don't free MiniObject instance when refcount is incremented
23040 in _finalize() so that we can recover objects.
23042 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
23044 * docs/manual/advanced-schedulers.xml:
23045 * docs/manual/appendix-checklist.xml:
23046 * docs/pwg/advanced-clock.xml:
23047 * docs/pwg/advanced-interfaces.xml:
23048 * docs/pwg/advanced-request.xml:
23049 * docs/pwg/advanced-types.xml:
23050 * docs/pwg/intro-preface.xml:
23051 * examples/plugins/example.c: (gst_example_get_type),
23052 (gst_example_class_init), (gst_example_chain),
23053 (gst_example_set_property), (gst_example_get_property),
23054 (gst_example_change_state), (plugin_init):
23055 * examples/plugins/example.h:
23058 2005-05-17 Wim Taymans <wim@fluendo.com>
23060 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
23061 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
23062 * gst/gstqueue.c: (gst_queue_change_state):
23063 Clear queue when going to READY.
23064 Remove IN_SETCAPS flag too.
23066 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
23068 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
23069 Remove implicit cast from gboolean to GstElementStateReturn;
23070 make sure we still return failure in paused => ready case if
23071 the parent class fails to change state and our own stop
23074 2005-05-17 Wim Taymans <wim@fluendo.com>
23076 * tools/gst-launch.c: (event_loop):
23077 Message was unreffed too soon.
23079 2005-05-16 Andy Wingo <wingo@pobox.com>
23081 * gst/gstbin.c (sink_iterator_filter): Err... um...
23083 * check/gst/gstbin.c (test_ghost_pads): New test for the
23084 ghosting-if-elements-not-in-same-bin behavior.
23086 2005-05-16 David Schleef <ds@schleef.org>
23088 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
23089 accessing refcount directly.
23091 2005-05-15 David Schleef <ds@schleef.org>
23093 * check/Makefile.am: remove GstData checks
23094 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
23095 * gst/Makefile.am: add miniobject, remove data
23096 * gst/gst.h: add miniobject, remove data
23097 * gst/gstdata.c: remove
23098 * gst/gstdata.h: remove
23099 * gst/gstdata_private.h: remove
23100 * gst/gsttypes.h: remove GstEvent and GstMessage
23101 * gst/gstelement.c: (gst_element_post_message): fix for API changes
23102 * gst/gstmarshal.list: change BOXED -> OBJECT
23104 Implement GstMiniObject.
23105 * gst/gstminiobject.c:
23106 * gst/gstminiobject.h:
23108 Modify to be subclasses of GstMiniObject.
23109 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
23110 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
23111 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
23112 (gst_subbuffer_get_type), (gst_subbuffer_init),
23113 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
23116 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
23117 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
23118 (_gst_event_copy), (gst_event_new):
23120 * gst/gstmessage.c: (_gst_message_initialize),
23121 (gst_message_get_type), (gst_message_class_init),
23122 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
23123 (gst_message_new), (gst_message_new_error),
23124 (gst_message_new_warning), (gst_message_new_tag),
23125 (gst_message_new_state_changed), (gst_message_new_application):
23126 * gst/gstmessage.h:
23127 * gst/gstprobe.c: (gst_probe_perform),
23128 (gst_probe_dispatcher_dispatch):
23130 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
23131 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
23132 (_gst_query_copy), (gst_query_new):
23134 Update elements for GstData -> GstMiniObject changes
23136 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
23137 (gst_queue_chain), (gst_queue_loop):
23138 * gst/elements/gstbufferstore.c:
23139 (gst_buffer_store_add_buffer_func),
23140 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
23141 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23142 (gst_fakesink_render):
23143 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
23144 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
23145 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
23146 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
23147 (gst_filesrc_create_read):
23148 * gst/elements/gstidentity.c: (gst_identity_class_init):
23149 * gst/elements/gsttypefindelement.c:
23150 (gst_type_find_element_src_event), (free_entry_buffers),
23151 (gst_type_find_element_handle_event):
23152 * libs/gst/dataprotocol/dataprotocol.c:
23153 (gst_dp_header_from_buffer):
23154 * libs/gst/dataprotocol/dataprotocol.h:
23155 * libs/gst/dataprotocol/dp-private.h:
23157 2005-05-15 David Schleef <ds@schleef.org>
23159 * gst/elements/gstelements.c: Don't include headers that were
23162 2005-05-15 David Schleef <ds@schleef.org>
23164 * gst/elements/Makefile.am: Remove some elements that don't
23165 need to be in the core (or even exist at all).
23166 * gst/elements/gstaggregator.c:
23167 * gst/elements/gstaggregator.h:
23168 * gst/elements/gstmd5sink.c:
23169 * gst/elements/gstmd5sink.h:
23170 * gst/elements/gstmultifilesrc.c:
23171 * gst/elements/gstmultifilesrc.h:
23172 * gst/elements/gstpipefilter.c:
23173 * gst/elements/gstpipefilter.h:
23174 * gst/elements/gstshaper.c:
23175 * gst/elements/gstshaper.h:
23176 * gst/elements/gststatistics.c:
23177 * gst/elements/gststatistics.h:
23178 * po/POTFILES.in: Remove above files.
23180 2005-05-14 Andy Wingo <wingo@pobox.com>
23182 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
23183 so as to get the refs right.
23184 (sink_iterator_filter): New function, wraps bin_element_is_sink,
23185 unreffing objects that don't pass the filter.
23187 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
23188 gst_element_set_bus.
23189 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
23190 normal cases, this will destroy the bus.
23192 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
23195 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
23198 2005-05-13 Andy Wingo <wingo@pobox.com>
23200 * gst/gstutils.c (gst_element_link_pads): Instead of calling
23201 gst_pad_link, call pad_link_maybe_ghosting,
23202 (pad_link_maybe_ghosting): Links pads, making sure that the
23203 elements being linked are in the same bin.
23204 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
23205 Helpers for pad_link_maybe_ghosting.
23207 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23210 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
23212 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
23214 * docs/design/part-element-source.txt:
23217 2005-05-12 Wim Taymans <wim@fluendo.com>
23219 * gst/base/gstbasesink.c: (gst_basesink_init),
23220 (gst_basesink_activate):
23221 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
23222 (gst_basesrc_is_seekable):
23223 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23224 (bin_element_is_sink), (gst_bin_change_state):
23225 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23226 * gst/gstelement.h:
23227 Identify sinks by their flag to avoid overly complicated
23229 Do state changes even for elements not reachable from the
23231 BaseSink is a sink now :)
23232 Some more debugging info in the basesrc.
23235 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23237 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
23238 Implement _query on a bin, similar to _send_event.
23240 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
23242 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
23243 Discont event offset format should be GST_FORMAT_BYTES,
23244 not GST_FORMAT_TIME.
23246 2005-05-12 Wim Taymans <wim@fluendo.com>
23248 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23249 Same fix as Ronald's but without the signal.
23251 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23253 * gst/gstutils.c: (gst_element_query_position):
23254 No, an element is not a pad.
23256 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23258 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23259 (gst_bin_get_state):
23260 If a child is removed from a bin while we remove the child from
23261 the bin and while we're retrieving its state, signal this to the
23262 get_state function so we abort the wait (instead of waiting for
23263 a timeout) and can immediately re-iterate over all other elements.
23265 2005-05-12 Wim Taymans <wim@fluendo.com>
23267 * gst/base/Makefile.am:
23268 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23269 (gst_basesrc_start):
23270 * gst/base/gstbasesrc.h:
23271 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23272 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23273 (gst_pushsrc_init), (gst_pushsrc_create):
23274 * gst/base/gstpushsrc.h:
23275 Added is_seekable to BaseSrc
23276 Added simple PushSrc.
23278 2005-05-11 Wim Taymans <wim@fluendo.com>
23280 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23281 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23282 (gst_element_link_pads), (gst_element_query_position),
23283 (gst_element_query_convert), (intersect_caps_func),
23284 (gst_pad_query_position), (gst_pad_query_convert):
23285 Fix refcounting in utils function.
23286 No point in trying to activate a pad when it's added, it could
23287 be added from the state change function and then we deadlock, the
23288 element has to decide what to do.
23290 2005-05-10 Andy Wingo <wingo@pobox.com>
23292 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23293 *all* the arguments.
23295 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23296 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23297 lock (according to the docs -- if this is wrong change the docs).
23299 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23300 flush messages in the NULL state.
23302 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23303 message immediately and return.
23304 (gst_bus_set_flushing): New function. If a bus is flushing, it
23305 flushes out any queued messages and immediately unrefs new
23306 messages. This is so when an element goes to NULL, all of the
23307 unhandled messages coming from it can be freed, and their
23308 references to the element dropped. In other words: message source
23309 ref considered harmful :P
23311 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23312 we're finished with it.
23314 * gst/gstmessage.c (gst_message_new_state_changed):
23316 2005-05-10 Wim Taymans <wim@fluendo.com>
23318 * gst/gstvalue.c: (gst_value_compare_flags),
23319 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23320 (_gst_value_initialize):
23321 Added flags serialize/deserialize/compare code.
23323 2005-05-09 Andy Wingo <wingo@pobox.com>
23325 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23326 Intersect the peer's caps with our caps.
23328 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23330 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23331 * gst/elements/gsttypefindelement.c: (find_peek):
23332 Handle negative offsets better. Fixes decodebin.
23334 2005-05-09 Wim Taymans <wim@fluendo.com>
23336 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23337 (gst_base_transform_event):
23338 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23339 Implement accept_caps.
23340 Fix silly lock/unlock mismatch in base class.
23342 2005-05-09 Wim Taymans <wim@fluendo.com>
23344 * docs/design/draft-push-pull.txt:
23345 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23346 * gst/elements/gstfilesink.c: (gst_filesink_init),
23347 (gst_filesink_query):
23348 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23349 (gst_type_find_handle_src_query), (find_element_get_length):
23350 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23351 * gst/gstelement.h:
23352 * gst/gstmessage.c:
23353 * gst/gstmessage.h:
23354 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23355 (gst_real_pad_get_caps_unlocked),
23356 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23357 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23358 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23359 (gst_real_pad_dispose), (gst_real_pad_finalize),
23360 (gst_pad_load_and_link), (gst_pad_save_thyself),
23361 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23362 (gst_pad_check_pull_range), (gst_pad_pull_range),
23363 (gst_pad_template_get_type), (gst_pad_template_class_init),
23364 (gst_pad_template_init), (gst_pad_template_dispose),
23365 (name_is_valid), (gst_static_pad_template_get),
23366 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23367 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23368 (gst_pad_get_element_private), (gst_pad_start_task),
23369 (gst_pad_pause_task), (gst_pad_stop_task),
23370 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23371 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23372 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23373 (gst_ghost_pad_new):
23375 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23376 (gst_query_new_position), (gst_query_set_position),
23377 (gst_query_parse_position), (gst_query_new_convert),
23378 (gst_query_set_convert), (gst_query_parse_convert):
23380 * gst/gstqueryutils.c:
23381 * gst/gstqueryutils.h:
23382 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23383 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23384 (gst_queue_handle_src_query):
23385 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23386 (gst_element_query_position), (gst_element_query_convert),
23387 (intersect_caps_func), (gst_pad_query_position),
23388 (gst_pad_query_convert):
23390 * tools/gst-inspect.c: (print_pad_info):
23391 * tools/gst-xmlinspect.c: (print_element_info):
23392 Remove old query functions. Ported old code.
23393 Added position/convert helper functions to gstutils.
23394 Reordered gstpad.c code, grouping relevant things.
23395 Remove gst_message_new(), always need to speficy a specific
23399 2005-05-09 Andy Wingo <wingo@pobox.com>
23401 * gst/gstiterator.h: Add some includes.
23403 * gst/gstqueryutils.h: Include more headers.
23406 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23407 some uses of gst_pad_query.
23409 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23410 NULL out parameters.
23411 (gst_query_new_position): New proc, allocates a new position
23414 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23415 gstqueryutils.c to the build.
23417 * gst/gststructure.c (gst_structure_set_valist): Implement with
23418 the generic G_VALUE_COLLECT.
23420 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23422 * gst/Makefile.am: (gst_headers):
23423 Added gstqueryutils.h to the list of headers to install, that was
23424 a 'nachty' move wingo :)
23426 2005-05-06 Andy Wingo <wingo@pobox.com>
23429 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23430 GstData, init a memchunk.
23431 (standard_definitions): Add a few query types, deprecate a few.
23432 (gst_query_get_type): New proc.
23433 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23435 (gst_query_new_application, gst_query_get_structure): New public
23438 * docs/design/draft-query.txt: Removed LINKS from the query types,
23439 because all the rest can be dispatched to other pads -- seemed
23440 ugly to have a query that couldn't be dispatched. internal_links
23441 is fine as a pad method.
23443 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23444 in gstpad.c, but maintain binary compatibility for the moment.
23445 Will fix before 0.9 is out.
23447 * gst/gstqueryutils.c:
23448 * gst/gstqueryutils.h: New files, implement 3 methods for each
23449 query type: parse_query, parse_response, and set. Probably need an
23452 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23454 * gst/elements/gstfilesink.c (gst_filesink_query2):
23455 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23456 query_types, and formats methods.
23458 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23459 (gst_pad_set_query2_function): New functions.
23460 (gst_real_pad_init): Set query2_default as the default query2
23461 function. Basically just dispatches to internally linked pads.
23465 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23466 without using the atomic operations. Only one thread can possibly
23467 be accessing the data at this point. Changed so as to avoid
23468 gst_atomic operations.
23470 2005-05-06 Wim Taymans <wim@fluendo.com>
23472 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23473 Also set caps if we use the fallback buffer alloc.
23475 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23477 * docs/gst/Makefile.am:
23478 * docs/gst/gstreamer-docs.sgml:
23479 * docs/gst/gstreamer-sections.txt:
23480 * docs/gst/tmpl/gstatomic.sgml:
23481 * docs/gst/tmpl/gstmemchunk.sgml:
23482 * testsuite/elements/struct_i386.h:
23483 * win32/GStreamer.vcproj:
23485 Purge GstAtomic stuff from docs and win32 makefiles as well
23487 2005-05-06 Wim Taymans <wim@fluendo.com>
23489 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23490 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23491 * gst/gstpad.c: (gst_pad_peer_get_caps):
23492 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23493 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23494 (gst_queue_src_activate), (gst_queue_change_state):
23496 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23497 (intersect_caps_func):
23498 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23499 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23500 Some fixes for the peer_get_caps() change.
23502 2005-05-06 Wim Taymans <wim@fluendo.com>
23504 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23505 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23506 (gst_basesink_activate):
23507 Actually do something with error codes returned from the push
23510 2005-05-06 Wim Taymans <wim@fluendo.com>
23512 * docs/design/part-element-sink.txt:
23513 * docs/design/part-element-source.txt:
23514 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23515 (gst_basesink_event), (gst_basesink_activate):
23516 * gst/base/gstbasesink.h:
23517 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23518 (gst_basesrc_activate):
23519 * gst/base/gstbasesrc.h:
23520 * gst/gstelement.c: (gst_element_pads_activate):
23521 Some more documentation.
23522 Fixed scheduling decision in _pads_activate().
23524 2005-05-05 Andy Wingo <wingo@pobox.com>
23526 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23529 2005-05-05 Wim Taymans <wim@fluendo.com>
23531 * gst/base/Makefile.am:
23532 * gst/base/gstbasesink.h:
23533 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23534 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23535 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23536 (gst_collectpads_class_init), (gst_collectpads_init),
23537 (gst_collectpads_finalize), (gst_collectpads_new),
23538 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23539 (find_pad), (gst_collectpads_remove_pad),
23540 (gst_collectpads_is_active), (gst_collectpads_collect),
23541 (gst_collectpads_collect_range), (gst_collectpads_start),
23542 (gst_collectpads_stop), (gst_collectpads_peek),
23543 (gst_collectpads_pop), (gst_collectpads_available),
23544 (gst_collectpads_read), (gst_collectpads_flush),
23545 (gst_collectpads_chain):
23546 * gst/base/gstcollectpads.h:
23547 * gst/elements/Makefile.am:
23548 * gst/elements/gstelements.c:
23549 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23550 (gst_fakesink_get_times), (gst_fakesink_event),
23551 (gst_fakesink_preroll), (gst_fakesink_render):
23552 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23553 (gst_filesink_init), (gst_filesink_set_location),
23554 (gst_filesink_open_file), (gst_filesink_close_file),
23555 (gst_filesink_pad_query), (gst_filesink_event),
23556 (gst_filesink_render), (gst_filesink_change_state):
23557 * gst/elements/gstfilesink.h:
23558 Added object to help in making collect pad based elements.
23560 Make event function in sink baseclass return gboolean.
23562 2005-05-05 Wim Taymans <wim@fluendo.com>
23564 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23565 (gst_bin_get_by_name):
23567 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23568 (gst_clock_finalize):
23569 * gst/gstdata.c: (gst_data_replace):
23571 * gst/gstelement.c: (gst_element_request_pad),
23572 (gst_element_pads_activate):
23573 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23574 (gst_object_unref):
23575 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23576 (gst_pad_set_checkgetrange_function),
23577 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23578 (gst_pad_check_pull_range), (gst_pad_pull_range),
23579 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23580 (gst_pad_pause_task), (gst_pad_stop_task):
23581 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23582 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23583 Fix name lookup in GstBin.
23584 Added _data_replace() function and _buffer_replace()
23585 Use finalize method to clean up clock.
23586 Fix refcounting on request pads.
23587 Fix pad schedule mode error.
23588 Some more object refcounting debug info,
23591 2005-05-04 Andy Wingo <wingo@pobox.com>
23593 * check/Makefile.am:
23594 * docs/gst/tmpl/gstatomic.sgml:
23595 * docs/gst/tmpl/gstplugin.sgml:
23596 * gst/base/gstbasesink.c: (gst_basesink_activate):
23597 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23598 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23599 (gst_basesrc_query), (gst_basesrc_set_property),
23600 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23601 (gst_basesrc_activate):
23602 * gst/base/gstbasesrc.h:
23603 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23604 (gst_base_transform_src_activate):
23605 * gst/elements/gstelements.c:
23606 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23607 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23608 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23609 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23610 (gst_type_find_element_checkgetrange),
23611 (gst_type_find_element_activate):
23612 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23613 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23614 (gst_caps_load_thyself):
23615 * gst/gstelement.c: (gst_element_pads_activate),
23616 (gst_element_save_thyself), (gst_element_restore_thyself):
23617 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23618 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23620 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23621 (gst_xml_parse_file), (gst_xml_parse_memory),
23622 (gst_xml_get_element), (gst_xml_make_element):
23623 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23624 (_file_index_id_save_xml), (gst_file_index_commit):
23625 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23626 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23628 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23629 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23630 * tools/gst-complete.c: (main):
23631 * tools/gst-compprep.c: (main):
23632 * tools/gst-inspect.c: (print_element_properties_info):
23633 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23634 * tools/gst-xmlinspect.c: (print_element_properties):
23637 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23639 * gst/gstplugin.c: (gst_plugin_check_module),
23640 (gst_plugin_check_file), (gst_plugin_load_file):
23641 apply patch from #172526 to make register work on MacOSX
23643 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23645 * docs/gst/tmpl/gstconfig.sgml:
23646 * gst/gstconfig.h.in:
23647 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23648 * testsuite/debug/printf_extension.c: (main):
23649 Do not use GST_PTR_FORMAT on pointers to types with
23650 sizeof < sizeof(gpointer). Fixes test on 64-bit
23651 * testsuite/elements/property.h:
23652 use correct printf format
23654 2005-05-02 Wim Taymans <wim@fluendo.com>
23656 * docs/design/draft-push-pull.txt:
23657 * docs/design/draft-query.txt:
23658 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23659 (gst_basesrc_start):
23660 Added draft for new query API.
23661 Added draft for better selecting scheduling methods.
23662 Make basesrc ignore length if the subclass does not support
23665 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23668 possible fixes for automake-1.5 - _LIBADD is reserved
23670 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23672 * docs/faq/Makefile.am:
23673 * docs/manual/Makefile.am:
23674 * docs/manuals.mak:
23675 * docs/pwg/Makefile.am:
23677 possible fixes for automake-1.5
23679 2005-04-28 Wim Taymans <wim@fluendo.com>
23681 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23682 (gst_basesink_pad_getcaps), (gst_basesink_init),
23683 (gst_basesink_do_sync):
23684 * gst/gstclock.c: (gst_clock_entry_new):
23685 * gst/gstevent.c: (gst_event_discont_get_value):
23686 * gst/gstpipeline.c: (pipeline_bus_handler),
23687 (gst_pipeline_change_state):
23688 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23689 Better debugging of clocking info.
23690 Allow NULL values when getting discont values.
23692 2005-04-27 Wim Taymans <wim@fluendo.com>
23694 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23695 * check/gst/gstpad.c: (gst_pad_suite):
23696 Increase timeout for checks.
23698 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23700 * check/Makefile.am:
23701 fix the broken rule for cleanup. Apparently this rule is
23702 only needed on FC2, so maybe this warrants further autotool
23705 2005-04-26 Wim Taymans <wim@fluendo.com>
23707 * gst/gsttrashstack.h:
23708 Ooohh. a nasty one! After having a failed pop() from the stack,
23709 it's possible that the stack is empty. In that case, don't
23710 follow the NULL pointer.
23712 2005-04-25 Wim Taymans <wim@fluendo.com>
23714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23715 (gst_pad_set_checkgetrange_function),
23716 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23717 (gst_pad_check_pull_range), (gst_pad_pull_range),
23718 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23719 (gst_pad_pause_task), (gst_pad_stop_task):
23720 * gst/gstplugin.c: (gst_plugin_load):
23722 Remove gst_library_load as it does more harm than good with
23723 the new g_module flags.
23724 Revert bogus caps template check in pad linking, pad caps
23725 are important when linking not the template, which is more
23726 general than the current caps.
23728 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23730 * gst/autoplug/.cvsignore:
23731 * gst/autoplug/Makefile.am:
23732 * gst/autoplug/gstsearchfuncs.c:
23733 * gst/autoplug/gstsearchfuncs.h:
23734 * gst/autoplug/gstspider.c:
23735 * gst/autoplug/gstspider.h:
23736 * gst/autoplug/gstspideridentity.c:
23737 * gst/autoplug/gstspideridentity.h:
23738 * gst/autoplug/spidertest.c:
23741 2005-04-25 Wim Taymans <wim@fluendo.com>
23743 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23744 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23745 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23746 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23748 Added stubs for unimplemented functions.
23750 2005-04-24 David Schleef <ds@schleef.org>
23752 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23755 2005-04-24 David Schleef <ds@schleef.org>
23757 Convert everything from GstAtomicInt to g_atomic_int_*, and
23762 * gst/gstatomic_impl.h:
23770 * gst/gstdata_private.h:
23774 * gst/gstmessage.c:
23777 * gst/gststructure.c:
23778 * gst/gststructure.h:
23779 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23782 2005-04-24 David Schleef <ds@schleef.org>
23784 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23785 make the regressions tests work. Remove some code that is no
23787 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23788 Disable warning for pads without templates.
23790 2005-04-24 David Schleef <ds@schleef.org>
23792 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23793 functions that handle filtered links.
23794 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23796 * gst/gstutils.c: Fix/remove utility functions that handle
23799 * gst/gstvalue.c: Add serialization/deserialization of caps
23800 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23801 requires fixing so that the filter caps notation creates
23802 a capsfilter element and sets the filter_caps property. I
23803 think everyone probably wants to keep the shorthand notation.
23804 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23805 * docs/gst/tmpl/gstpad.sgml:
23807 * gst/elements/gstelements.c: Register capsfilter element.
23808 * gst/Makefile.am: fix spacing
23809 * docs/random/ds/0.9-suggested-changes: random
23811 2005-04-23 David Schleef <ds@schleef.org>
23813 * gst/elements/Makefile.am:
23814 * gst/elements/gstcapsfilter.c: New element that acts like an
23815 identity, but filters caps. Will eventually replace filtered
23816 caps in pad linking.
23817 * gst/gstutils.c: (gst_element_create_all_pads): New function
23818 to create all the ALWAYS pads that are registered with an
23819 element class. This functionality should eventually be
23820 merged in with GstElement initialization.
23822 * testsuite/trigger/README: part of trigger test code that should
23823 have been checked in a long time ago.
23825 2005-04-23 David Schleef <ds@schleef.org>
23827 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23828 needed with new versions of libtool (nobody will confirm this),
23829 and hard to carry around.
23830 * gst/autoplug/Makefile.am:
23831 * gst/base/Makefile.am:
23832 * gst/elements/Makefile.am:
23833 * gst/indexers/Makefile.am:
23834 * gst/schedulers/Makefile.am:
23835 * libs/gst/bytestream/Makefile.am:
23836 * libs/gst/control/Makefile.am:
23837 * libs/gst/dataprotocol/Makefile.am:
23838 * libs/gst/getbits/Makefile.am:
23840 2005-04-21 Wim Taymans <wim@fluendo.com>
23842 * docs/design/draft-push-pull.txt:
23843 * docs/design/part-MT-refcounting.txt:
23844 * docs/design/part-TODO.txt:
23845 * docs/design/part-caps.txt:
23846 * docs/design/part-events.txt:
23847 * docs/design/part-gstbus.txt:
23848 * docs/design/part-gstpipeline.txt:
23849 * docs/design/part-messages.txt:
23850 * docs/design/part-push-pull.txt:
23851 * docs/design/part-query.txt:
23854 2005-04-21 Wim Taymans <wim@fluendo.com>
23856 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23857 (gst_message_new), (gst_message_new_error),
23858 (gst_message_new_warning), (gst_message_new_tag),
23859 (gst_message_new_state_changed), (gst_message_new_application),
23860 (gst_message_get_structure):
23861 * gst/gstmessage.h:
23862 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23863 (gst_structure_copy_conditional):
23864 Use parent refcount in GstMessage to ensure GstStructure
23866 Cleaned up headers a bit.
23869 2005-04-20 Wim Taymans <wim@fluendo.com>
23871 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23872 (gst_basesink_pad_getcaps), (gst_basesink_init),
23873 (gst_basesink_chain_unlocked):
23874 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23875 (gst_type_find_helper):
23876 * gst/elements/gsttypefindelement.c:
23877 (gst_type_find_element_have_type), (gst_type_find_element_init),
23878 (stop_typefinding), (gst_type_find_element_handle_event),
23879 (find_suggest), (gst_type_find_element_chain),
23880 (gst_type_find_element_checkgetrange),
23881 (gst_type_find_element_getrange), (do_typefind),
23882 (gst_type_find_element_activate):
23883 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23884 (gst_buffer_default_free), (gst_buffer_default_copy),
23885 (gst_buffer_set_caps):
23886 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23887 (gst_caps_replace):
23888 * gst/gstmessage.c: (gst_message_new),
23889 (gst_message_new_state_changed):
23890 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23891 (gst_pad_set_checkgetrange_function),
23892 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23893 (gst_pad_set_caps), (gst_pad_check_pull_range),
23894 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23896 * gst/gsttypefind.c: (gst_type_find_register):
23897 Make gst_caps_replace() work like other _replace() functions.
23898 Use _caps_replace() where possible.
23899 Make sure _message_new() initialises its field.
23900 Add gst_static_pad_template_get_caps()
23903 2005-04-18 Andy Wingo <wingo@pobox.com>
23905 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23906 on the peer, not the pad. I think that was a typo. Pass an extra
23907 arg to see if random access is possible. Activate the pads as
23908 PULL_RANGE if possible.
23910 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23912 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23913 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23916 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23918 * docs/faq/using.xml:
23919 Add note on gstreamer-properties (#154996).
23921 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23923 * docs/random/bbb/optional-properties:
23924 Some analysis on optional properties.
23926 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23928 * docs/gst/tmpl/gstelementfactory.sgml:
23929 * gst/gstelement.h:
23930 * gst/gstelementfactory.c: (gst_element_factory_init),
23931 (gst_element_factory_cleanup), (gst_element_register),
23932 (__gst_element_factory_add_static_pad_template),
23933 (gst_element_factory_get_static_pad_templates),
23934 (gst_element_factory_can_src_caps),
23935 (gst_element_factory_can_sink_caps):
23936 * gst/registries/Makefile.am:
23937 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23938 (gst_xml_registry_class_init), (gst_xml_registry_init),
23939 (gst_xml_registry_new), (gst_xml_registry_set_property),
23940 (gst_xml_registry_get_property), (get_time), (make_dir),
23941 (gst_xml_registry_get_perms_func),
23942 (plugin_times_older_than_recurse), (plugin_times_older_than),
23943 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23944 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23945 (add_to_char_array), (read_string), (read_uint), (read_enum),
23946 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23947 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23948 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23949 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23950 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23951 (gst_xml_registry_rebuild):
23952 * gst/registries/gstlibxmlregistry.h:
23953 * tools/gst-compprep.c: (main):
23954 * tools/gst-inspect.c: (print_pad_templates_info):
23955 * tools/gst-xmlinspect.c: (print_element_info):
23956 Use libxml2 for registry parsing, use staticpadtemplates in
23957 elementfactories. Makes gst_init() +/- 10x faster.
23959 2005-04-12 Wim Taymans <wim@fluendo.com>
23961 * gst/base/Makefile.am:
23962 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23963 (gst_basesink_pad_getcaps), (gst_basesink_init),
23964 (gst_basesink_event), (gst_basesink_change_state):
23965 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23966 (gst_basesrc_init), (gst_basesrc_query),
23967 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23968 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23969 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23970 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23971 (gst_basesrc_stop), (gst_basesrc_activate),
23972 (gst_basesrc_change_state):
23973 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23974 (helper_find_suggest), (gst_type_find_helper):
23975 * gst/base/gsttypefindhelper.h:
23976 * gst/elements/Makefile.am:
23977 * gst/elements/gstelements.c:
23978 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23979 (gst_fakesink_get_times), (gst_fakesink_event),
23980 (gst_fakesink_preroll), (gst_fakesink_render):
23981 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23982 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23983 (gst_fakesrc_get_property), (gst_fakesrc_create),
23984 (gst_fakesrc_start), (gst_fakesrc_stop):
23985 * gst/elements/gstfakesrc.h:
23986 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23987 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23988 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23989 (gst_filesrc_create_read), (gst_filesrc_create),
23990 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23991 (gst_filesrc_start):
23992 * gst/elements/gsttypefindelement.c:
23993 (gst_type_find_element_have_type), (gst_type_find_element_init),
23994 (start_typefinding), (stop_typefinding), (push_buffer_store),
23995 (gst_type_find_element_handle_event),
23996 (gst_type_find_element_chain),
23997 (gst_type_find_element_checkgetrange),
23998 (gst_type_find_element_getrange), (do_typefind),
23999 (gst_type_find_element_activate),
24000 (gst_type_find_element_change_state):
24001 * gst/elements/gsttypefindelement.h:
24002 * gst/gstpipeline.c: (pipeline_bus_handler):
24003 Added typefind helper.
24004 Small preroll fix in the base sink.
24005 Disable typefind code in basesrc.
24006 Crude port of typefindelement.
24010 2005-04-11 Wim Taymans <wim@fluendo.com>
24012 * check/gst/gstbus.c: (gstbus_suite):
24013 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
24014 * check/gstcheck.h:
24015 Fix up the timeout so that the test does not fail.
24017 2005-04-06 Wim Taymans <wim@fluendo.com>
24020 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24021 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
24022 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
24023 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
24024 (gst_basesrc_check_get_range), (gst_basesrc_loop),
24025 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
24026 (gst_basesrc_stop), (gst_basesrc_activate),
24027 (gst_basesrc_change_state), (basesrc_find_peek),
24028 (basesrc_find_suggest), (gst_basesrc_type_find):
24029 * gst/base/gstbasesrc.h:
24030 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
24031 (gst_filesrc_class_init), (gst_filesrc_init),
24032 (gst_filesrc_finalize), (gst_filesrc_set_location),
24033 (gst_filesrc_set_property), (gst_filesrc_get_property),
24034 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
24035 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
24036 (gst_filesrc_create_read), (gst_filesrc_create),
24037 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
24038 * gst/elements/gstfilesrc.h:
24039 * gst/gstelement.c: (gst_element_get_state_func),
24040 (gst_element_lost_state), (gst_element_pads_activate):
24041 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24042 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24043 (gst_pad_pull_range):
24045 More work on the generic source base class, implement seeking,
24047 Make filesrc extend the base source class.
24048 Added gst_pad_set_checkgetrange_function to GstPad.
24050 2005-04-06 Andy Wingo <wingo@pobox.com>
24052 * pkgconfig/gstreamer-base.pc.in:
24053 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
24055 * pkgconfig/Makefile.am:
24056 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
24058 2005-04-04 Wim Taymans <wim@fluendo.com>
24060 * gst/base/Makefile.am:
24062 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24063 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24064 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24065 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
24066 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
24067 (gst_basesrc_base_init), (gst_basesrc_class_init),
24068 (gst_basesrc_init), (gst_basesrc_get_formats),
24069 (gst_basesrc_get_query_types), (gst_basesrc_query),
24070 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
24071 (gst_basesrc_set_property), (gst_basesrc_get_property),
24072 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
24073 (gst_basesrc_loop), (gst_basesrc_activate),
24074 (gst_basesrc_change_state):
24075 * gst/base/gstbasesrc.h:
24076 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
24077 (gst_fakesrc_class_init), (gst_fakesrc_init),
24078 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
24079 (gst_fakesrc_get_property), (gst_fakesrc_create):
24080 * gst/elements/gstfakesrc.h:
24081 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
24082 (gst_filesrc_open_file), (gst_filesrc_loop),
24083 (gst_filesrc_activate), (filesrc_find_peek),
24084 (gst_filesrc_type_find):
24085 Made base source class, make fakesrc extend it.
24086 Add comments to basesink class.
24087 Some filesrc cleanup.
24089 2005-03-31 David Schleef <ds@schleef.org>
24091 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
24092 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
24093 expected to link against libgstreamer.
24094 * gst/base/Makefile.am: link against libgstreamer
24095 * gst/elements/Makefile.am: same
24097 2005-03-31 Andy Wingo <wingo@pobox.com>
24099 * tests/instantiate/Makefile.am:
24100 * tests/instantiate/caps.c: Add test to test speed of caps copy
24103 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
24104 GMemChunk to be fair.
24106 * gst/gsttrashstack.h: Remove warning about using the fallback
24107 trash stack implementation, it's still faster than malloc.
24109 2005-03-30 Andy Wingo <wingo@pobox.com>
24111 * tests/complexity.c: Add a copyright.
24113 2005-03-31 Wim Taymans <wim@fluendo.com>
24115 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
24116 (gst_base_transform_class_init), (gst_base_transform_init),
24117 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24118 (gst_base_transform_get_property),
24119 (gst_base_transform_sink_activate),
24120 (gst_base_transform_src_activate),
24121 (gst_base_transform_change_state):
24122 * gst/base/gstbasetransform.h:
24123 * gst/elements/gstidentity.c: (gst_identity_class_init),
24124 (gst_identity_event), (gst_identity_check_perfect),
24125 (gst_identity_transform), (gst_identity_start),
24126 (gst_identity_stop):
24127 Added start/stop methods to transform base class so subclasses
24128 don't need to deal with state changes even.
24130 2005-03-31 Wim Taymans <wim@fluendo.com>
24132 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
24133 (gst_event_new_discontinuous), (gst_event_discont_get_value):
24135 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24136 (gst_pad_pull_range):
24137 Added rate to the discont event to prepare for variable speed
24138 and reverse playback.
24140 2005-03-29 David Schleef <ds@schleef.org>
24143 * testsuite/trigger/Makefile.am:
24144 * testsuite/trigger/trigger.c: A little example program to show
24145 how trigger-based elements can work.
24147 2005-03-29 Wim Taymans <wim@fluendo.com>
24149 * gst/base/Makefile.am:
24151 * gst/base/gstbasesink.c: (gst_basesink_get_type),
24152 (gst_basesink_base_init), (gst_basesink_class_init),
24153 (gst_basesink_pad_getcaps), (gst_basesink_init),
24154 (gst_basesink_activate), (gst_basesink_change_state):
24155 * gst/base/gstbasesink.h:
24156 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
24157 (gst_base_transform_base_init), (gst_base_transform_finalize),
24158 (gst_base_transform_class_init), (gst_base_transform_init),
24159 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
24160 (gst_base_transform_event), (gst_base_transform_getrange),
24161 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
24162 (gst_base_transform_set_property),
24163 (gst_base_transform_get_property),
24164 (gst_base_transform_sink_activate),
24165 (gst_base_transform_src_activate),
24166 (gst_base_transform_change_state):
24167 * gst/base/gstbasetransform.h:
24168 * gst/elements/gstidentity.c: (gst_identity_finalize),
24169 (gst_identity_class_init), (gst_identity_init),
24170 (gst_identity_event), (gst_identity_check_perfect),
24171 (gst_identity_transform), (gst_identity_set_property),
24172 (gst_identity_get_property), (gst_identity_change_state):
24173 * gst/elements/gstidentity.h:
24174 * gst/gstelement.c: (gst_element_get_state_func),
24175 (gst_element_lost_state), (gst_element_pads_activate):
24176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24177 (gst_pad_check_pull_range), (gst_pad_pull_range):
24179 Simplify pad activation.
24180 Added function to check if pull_range can be performed.
24181 Error out when pulling inactive or flushing pads.
24182 Removed const from refcounted types as it does not make sense.
24183 Simplify pad templates in basesink
24184 Added base class for simple 1-to-1 transforms.
24185 Make identity subclass the base transform.
24187 2005-03-29 Andy Wingo <wingo@pobox.com>
24189 * docs/libs/gstreamer-libs-overrides.txt:
24190 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
24191 really don't understand what's going on, but like whatever. I want
24194 * docs/gst/Makefile.am:
24195 * docs/libs/Makefile.am: Dist the overrides files.
24197 * check/Makefile.am (clean-local): Remove .libs directories.
24199 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
24200 elements to EXTRA_DIST, so po/ files are happy.
24202 * po/POTFILES.in: Er, remove it here.
24204 * po/POTFILES: Remove gstspider.c.
24206 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
24208 * docs/libs/gstreamer-libs-docs.sgml:
24209 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
24212 * tests/complexity.c (main): Set the length of the preroll queue
24213 on the sinks to prevent a lockup.
24215 * libs/gst/dataprotocol/Makefile.am:
24216 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
24217 the same as the one in check/gst-libs/gdp.c.
24219 * po/, docs/gst/: Commit automatic changes to docs and po files.
24221 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
24222 the versioned libgstbase.
24224 * check/Makefile.am: Depend on an unversioned gst-register, seems
24225 to make autoconf happier.
24227 * gst/base/Makefile.am: Make libgstbase a versioned lib.
24229 2005-03-28 Wim Taymans <wim@fluendo.com>
24232 * docs/design/part-gstelement.txt:
24233 * docs/design/part-negotiation.txt:
24234 * docs/design/part-preroll.txt:
24235 * docs/design/part-scheduling.txt:
24236 * docs/design/part-states.txt:
24238 * gst/base/Makefile.am:
24240 * gst/base/gstbasesink.c: (gst_basesink_get_template),
24241 (gst_basesink_base_init), (gst_basesink_class_init),
24242 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
24243 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
24244 (gst_basesink_set_pad_functions),
24245 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24246 (gst_basesink_set_property), (gst_basesink_get_property),
24247 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24248 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24249 (gst_basesink_preroll_queue_push),
24250 (gst_basesink_preroll_queue_empty),
24251 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24252 (gst_basesink_event), (gst_basesink_get_times),
24253 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24254 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24255 (gst_basesink_loop), (gst_basesink_activate),
24256 (gst_basesink_change_state):
24257 * gst/base/gstbasesink.h:
24258 * gst/elements/Makefile.am:
24259 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24260 (gst_fakesink_class_init), (gst_fakesink_init),
24261 (gst_fakesink_set_property), (gst_fakesink_get_property),
24262 (gst_fakesink_get_times), (gst_fakesink_event),
24263 (gst_fakesink_preroll), (gst_fakesink_render),
24264 (gst_fakesink_change_state):
24265 * gst/elements/gstfakesink.h:
24266 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24267 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24268 * gst/gstelement.c: (gst_element_add_pad),
24269 (gst_element_get_state_func), (gst_element_abort_state),
24270 (gst_element_commit_state), (gst_element_lost_state),
24271 (gst_element_set_state), (gst_element_pads_activate):
24272 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24273 * gst/gstpipeline.c: (gst_pipeline_send_event),
24274 (gst_pipeline_change_state):
24275 Added state change code.
24276 Added/updated docs.
24277 Added sink base class, make fakesink extend the base class.
24278 Small cleanups in GstPipeline.
24280 2005-03-26 David Schleef <ds@schleef.org>
24282 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24283 is broken and should be implemented in a different library.
24284 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24285 * gst/gst.h: remove gstcpu.h
24286 * gst/gstcpu.c: remove
24287 * gst/gstcpu.h: remove
24288 * gst/Makefile.am.future: Remove this file. It's ancient.
24290 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24292 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24293 (gst_bin_send_event):
24294 Add default event/set_manager handlers. The set_manager handler
24295 takes care that the manager is distributed over kids that were
24296 already in the bin before the manager was set. The event handler
24297 is a utility virtual function that sends the event over all sinks,
24298 so that gst_element_send_event (bin, event); has the expected
24300 * gst/gstpad.c: (gst_pad_event_default):
24301 Re-install default event handling for discontinuities, so that
24302 seeking works without requiring hacks in applications or extra
24304 * gst/gstpipeline.c: (gst_pipeline_class_init),
24305 (gst_pipeline_send_event):
24306 Half hack, half utility: set a pipeline to PAUSED for seek events,
24307 since that is the only way we can guarantee a/v sync. Means that
24308 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24309 and it "just works".
24311 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24313 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24314 Lock/unlock mismatch.
24316 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24318 * docs/faq/gst-uninstalled:
24319 add gst-plugins-base
24320 * docs/gst/Makefile.am:
24321 don't error out until docs are fixed
24322 * docs/gst/gstreamer.types:
24325 2005-03-22 Wim Taymans <wim@fluendo.com>
24327 * check/Makefile.am:
24328 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24329 * gst/gststructure.c: (gst_structure_set_valist),
24330 (gst_structure_copy_conditional):
24331 Activated more tests.
24332 Added message test.
24333 Added G_TYPE_POINTER to GstStructure.
24336 2005-03-22 Wim Taymans <wim@fluendo.com>
24338 * docs/design/part-TODO.txt:
24339 * docs/design/part-events.txt:
24340 * docs/design/part-gstbin.txt:
24341 * docs/design/part-gstbus.txt:
24342 * docs/design/part-gstpipeline.txt:
24343 * docs/design/part-messages.txt:
24345 * gst/gstmessage.c:
24348 2005-03-21 Wim Taymans <wim@fluendo.com>
24350 * gst/gstbus.c: (gst_bus_post):
24351 Fix copy-and-paste error.
24353 2005-03-21 Wim Taymans <wim@fluendo.com>
24355 * check/Makefile.am:
24357 * gst/elements/Makefile.am:
24358 * gst/elements/gstelements.c:
24359 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24360 (gst_fakesink_event), (gst_fakesink_chain):
24361 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24362 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24363 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24364 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24365 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24366 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24367 (gst_fakesrc_loop), (gst_fakesrc_activate),
24368 (gst_fakesrc_change_state):
24369 * gst/elements/gstfakesrc.h:
24370 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24371 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24372 (gst_filesrc_open_file), (gst_filesrc_loop),
24373 (gst_filesrc_activate), (gst_filesrc_change_state),
24374 (filesrc_find_peek), (filesrc_find_suggest),
24375 (gst_filesrc_type_find):
24376 * gst/elements/gstidentity.c: (gst_identity_finalize),
24377 (gst_identity_class_init), (gst_identity_init),
24378 (gst_identity_proxy_getcaps), (identity_queue_push),
24379 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24380 (gst_identity_getrange), (gst_identity_chain),
24381 (gst_identity_sink_loop), (gst_identity_src_loop),
24382 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24383 (gst_identity_set_property), (gst_identity_get_property),
24384 (gst_identity_change_state):
24385 * gst/elements/gstidentity.h:
24386 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24387 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24388 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24389 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24390 (gst_tee_sink_activate):
24391 * gst/elements/gsttee.h:
24392 * gst/gst.c: (gst_register_core_elements), (init_post):
24394 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24395 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24396 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24397 (gst_bin_change_state):
24399 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24400 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24401 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24402 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24403 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24404 (bus_watch_callback), (bus_watch_destroy),
24405 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24406 (poll_timeout), (gst_bus_poll):
24410 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24411 (gst_element_post_message), (gst_element_message_full),
24412 (gst_element_get_state_func), (gst_element_get_state),
24413 (gst_element_abort_state), (gst_element_commit_state),
24414 (gst_element_lost_state), (gst_element_set_state),
24415 (gst_element_pads_activate), (gst_element_change_state),
24416 (gst_element_dispose), (gst_element_set_manager_func),
24417 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24418 (gst_element_set_manager), (gst_element_get_manager),
24419 (gst_element_set_bus), (gst_element_get_bus),
24420 (gst_element_set_scheduler), (gst_element_get_scheduler):
24421 * gst/gstelement.h:
24422 * gst/gstevent.c: (gst_event_new_segment_seek),
24423 (gst_event_new_flush):
24425 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24426 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24427 (gst_message_new_eos), (gst_message_new_error),
24428 (gst_message_new_warning), (gst_message_new_tag),
24429 (gst_message_new_state_changed), (gst_message_new_application),
24430 (gst_message_get_structure), (gst_message_parse_tag),
24431 (gst_message_parse_state_changed), (gst_message_parse_error),
24432 (gst_message_parse_warning):
24433 * gst/gstmessage.h:
24434 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24435 (gst_real_pad_set_property), (gst_pad_set_active),
24436 (gst_pad_is_active), (gst_pad_set_blocked_async),
24437 (gst_pad_set_blocked), (gst_pad_is_blocked),
24438 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24439 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24440 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24441 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24442 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24443 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24444 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24445 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24446 (gst_pad_set_caps), (gst_pad_configure_sink),
24447 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24448 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24449 (gst_real_pad_dispose), (gst_real_pad_finalize),
24450 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24451 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24452 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24454 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24455 (pipeline_bus_handler), (gst_pipeline_change_state),
24456 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24457 * gst/gstpipeline.h:
24459 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24460 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24461 (gst_queue_link_src), (gst_queue_bufferalloc),
24462 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24463 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24464 (gst_queue_loop), (gst_queue_handle_src_event),
24465 (gst_queue_handle_src_query), (gst_queue_src_activate),
24466 (gst_queue_change_state):
24468 * gst/gstscheduler.c: (gst_scheduler_init),
24469 (gst_scheduler_dispose), (gst_scheduler_create_task),
24470 (gst_scheduler_factory_create):
24471 * gst/gstscheduler.h:
24472 * gst/gststructure.c: (gst_structure_get_type),
24473 (gst_structure_copy_conditional):
24474 * gst/gststructure.h:
24475 * gst/gsttaginterface.h:
24476 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24477 (gst_task_init), (gst_task_dispose), (gst_task_create),
24478 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24484 * gst/schedulers/Makefile.am:
24485 * gst/schedulers/cothreads_compat.h:
24486 * gst/schedulers/entryscheduler.c:
24487 * gst/schedulers/faircothreads.c:
24488 * gst/schedulers/faircothreads.h:
24489 * gst/schedulers/fairscheduler.c:
24490 * gst/schedulers/gstbasicscheduler.c:
24491 * gst/schedulers/gstoptimalscheduler.c:
24492 * gst/schedulers/gthread-cothreads.h:
24493 * gst/schedulers/threadscheduler.c:
24494 (gst_thread_scheduler_task_get_type),
24495 (gst_thread_scheduler_task_class_init),
24496 (gst_thread_scheduler_task_init),
24497 (gst_thread_scheduler_task_start),
24498 (gst_thread_scheduler_task_stop),
24499 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24500 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24501 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24502 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24504 * libs/gst/Makefile.am:
24505 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24506 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24507 (gst_file_pad_parent_set):
24508 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24509 (gst_dp_event_from_packet):
24510 * tests/complexity.c: (main):
24511 * tests/mass_elements.c: (main):
24512 * testsuite/states/locked.c: (message_received), (main):
24513 * testsuite/states/parent.c: (main):
24514 * tools/gst-inspect.c: (print_element_flag_info),
24515 (print_implementation_info), (print_pad_info):
24516 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24518 * tools/gst-md5sum.c: (event_loop), (main):
24519 * tools/gst-typefind.c: (main):
24520 * tools/gst-xmlinspect.c: (print_element_info):
24522 Added GstBus for mainloop integration.
24523 Added GstMessage for sending notifications on the bus.
24524 Added GstTask as an abstraction for pipeline entry points.
24526 Removed Schedulers.
24527 Simplified GstQueue for multithreaded core.
24528 Made _link threadsafe, removed old capsnego.
24529 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24530 Added pad blocking functions.
24531 Reworked scheduling functions in GstPad to prepare for
24532 scheduling updates soon.
24533 Moved events out of data stream.
24534 Simplified GstEvent types.
24535 Added return values to push/pull.
24536 Removed clocking from GstElement.
24537 Added prototypes for state change function for next merge.
24538 Removed iterate from bins and state change management.
24539 Fixed some elements, disabled others for now.
24540 Fixed -inspect and -launch.
24541 Added check for GstBus.
24543 2005-03-10 Wim Taymans <wim@fluendo.com>
24545 * docs/design/part-MT-refcounting.txt:
24546 * docs/design/part-clocks.txt:
24547 * docs/design/part-gstelement.txt:
24548 * docs/design/part-gstobject.txt:
24549 * docs/design/part-standards.txt:
24550 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24551 (gst_bin_remove_func), (gst_bin_remove):
24555 * testsuite/clock/clock1.c: (main):
24556 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24558 * testsuite/dlopen/loadgst.c: (do_test):
24559 * testsuite/refcounting/bin.c: (add_remove_test1),
24560 (add_remove_test2), (main):
24561 * testsuite/refcounting/element.c: (main):
24562 * testsuite/refcounting/element_pad.c: (main):
24563 * testsuite/refcounting/pad.c: (main):
24564 * tools/gst-launch.c: (sigint_handler_sighandler):
24565 * tools/gst-typefind.c: (main):
24567 Added doc about clock.
24568 removed gst_bin_iterate_recurse_up(), marked methods
24570 Fix more testsuites.
24572 2005-03-09 Wim Taymans <wim@fluendo.com>
24574 * gst/gstpad.c: (gst_pad_get_direction),
24575 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24576 (gst_pad_collect_valist):
24577 * testsuite/bins/interface.c: (main):
24578 * testsuite/caps/audioscale.c: (test_caps):
24579 * testsuite/caps/caps.c: (test1), (test2), (test3):
24580 * testsuite/caps/deserialize.c: (main):
24581 * testsuite/caps/enumcaps.c: (main):
24582 * testsuite/caps/filtercaps.c: (main):
24583 * testsuite/caps/intersect2.c: (main):
24584 * testsuite/caps/random.c: (main):
24585 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24586 * testsuite/caps/sets.c: (check_caps):
24587 * testsuite/caps/simplify.c: (check_caps), (main):
24588 * testsuite/caps/subtract.c: (check_caps):
24589 Fix _pad_get_direction wrt ghostpads.
24590 Fix caps testsuite.
24592 2005-03-09 Wim Taymans <wim@fluendo.com>
24594 * check/Makefile.am:
24595 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24596 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24597 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24598 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24599 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24600 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24601 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24602 (bin_element_is_sink), (gst_bin_iterate_sinks),
24603 (gst_bin_iterate_all_by_interface):
24605 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24606 (gst_element_change_state), (gst_element_dispose),
24607 (gst_element_finalize), (gst_element_set_loop_function):
24608 * gst/gstelement.h:
24609 * gst/gstiterator.c: (find_custom_fold_func):
24610 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24611 (gst_pad_collectv), (gst_pad_collect_valist),
24612 (gst_pad_template_new):
24613 * gst/gstpipeline.c: (gst_pipeline_class_init),
24614 (gst_pipeline_dispose), (gst_pipeline_set_property),
24615 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24616 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24617 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24619 * gst/schedulers/entryscheduler.c:
24620 * gst/schedulers/gstbasicscheduler.c:
24621 (gst_basic_scheduler_cothreaded_chain),
24622 (gst_basic_scheduler_chain_add_element):
24623 * testsuite/bins/interface.c: (main):
24625 Added GstSystemClock test.
24626 Implemented clock distribution code in GstBin.
24627 Implemented iterate sinks method for future use.
24628 Rearranged gstelement.h
24629 Fix GstIterator comparison bug.
24630 Moved some code to GstPipeline, mostly clocking related.
24632 2005-03-09 Wim Taymans <wim@fluendo.com>
24635 * gst/gst_private.h:
24636 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24637 (gst_bin_remove_func), (gst_bin_remove),
24638 (gst_bin_get_by_name_recurse_up):
24639 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24640 (gst_clock_id_compare_func), (gst_clock_id_wait),
24641 (gst_clock_id_wait_async), (gst_clock_init),
24642 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24643 * gst/gstelement.h:
24644 * gst/gstinfo.c: (_gst_debug_init):
24646 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24647 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24649 Bump version number, we're now 0.9.0
24650 Add future debugging category.
24651 Fix NULL _unref() in _get_by_name_recurse_up
24652 Rearrange gstpad.h.
24655 2005-03-08 Wim Taymans <wim@fluendo.com>
24657 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24658 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24659 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24660 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24661 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24662 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24663 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24664 * gst/elements/gstidentity.c: (gst_identity_class_init):
24665 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24666 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24667 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24668 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24669 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24671 * gst/gstelement.c: (gst_element_class_init),
24672 (gst_element_base_class_init), (gst_element_init),
24673 (gst_element_get_random_pad), (gst_element_wait_state_change),
24674 (gst_element_change_state), (gst_element_dispose),
24675 (gst_element_finalize), (gst_element_set_loop_function):
24676 * gst/gstelement.h:
24677 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24678 * gst/gstthread.c: (gst_thread_class_init),
24679 (gst_thread_release_children_locks), (gst_thread_change_state):
24680 * gst/schedulers/gstbasicscheduler.c:
24681 (gst_basic_scheduler_loopfunc_wrapper),
24682 (gst_basic_scheduler_chain_wrapper),
24683 (gst_basic_scheduler_src_wrapper),
24684 (gst_basic_scheduler_remove_element):
24685 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24686 Remove threadsafe properties. Fix elements because GObject
24687 complains when installing a property before declaring a
24688 set/get_property handler.
24689 Rearrange gstelement.h file, use STATE macros for state locks.
24690 Free mutexes in the finalize method instead of dispose.
24692 2005-03-08 Wim Taymans <wim@fluendo.com>
24694 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24695 * gst/gstthread.c: (gst_thread_release_children_locks):
24696 Added parentage check.
24697 Fix build og GstThread again.
24699 2005-03-08 Wim Taymans <wim@fluendo.com>
24701 * docs/design/part-MT-refcounting.txt:
24702 * docs/design/part-conventions.txt:
24703 * docs/design/part-gstobject.txt:
24704 * docs/design/part-relations.txt:
24705 * docs/design/part-standards.txt:
24706 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24707 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24708 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24709 (gst_bin_iterate_all_by_interface):
24712 * gst/gstelement.c: (gst_element_class_init),
24713 (gst_element_change_state), (gst_element_set_loop_function):
24714 * gst/gstelement.h:
24715 * gst/gstiterator.c:
24716 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24717 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24718 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24719 (gst_object_set_parent), (gst_object_unparent),
24720 (gst_object_check_uniqueness):
24722 Docs updates, clean up some headers.
24724 2005-03-07 Wim Taymans <wim@fluendo.com>
24726 * check/.cvsignore:
24727 * check/Makefile.am:
24728 * check/gst-libs/.cvsignore:
24729 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24730 * check/gst/.cvsignore:
24731 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24732 (START_TEST), (gstbus_suite), (main):
24733 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24734 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24735 (gst_data_suite), (main):
24736 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24737 (add_fold_func), (gstiterator_suite), (main):
24738 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24739 (thread_name_object), (thread_name_object_default),
24740 (gst_object_name_compare), (gst_object_suite), (main):
24741 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24742 (gst_pad_suite), (main):
24743 * check/gstcheck.c: (gst_check_log_message_func),
24744 (gst_check_log_critical_func), (gst_check_init):
24745 * check/gstcheck.h:
24746 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24747 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24750 2005-03-07 Wim Taymans <wim@fluendo.com>
24752 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24753 (gst_list_iterator_next), (gst_list_iterator_resync),
24754 (gst_list_iterator_free), (gst_iterator_new_list),
24755 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24756 (gst_iterator_free), (gst_iterator_push), (filter_next),
24757 (filter_resync), (filter_uninit), (filter_free),
24758 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24759 (gst_iterator_foreach), (find_custom_fold_func),
24760 (gst_iterator_find_custom):
24761 * gst/gstiterator.h:
24762 Added missing files.
24764 2005-03-07 Wim Taymans <wim@fluendo.com>
24768 * docs/design/part-MT-refcounting.txt:
24769 * docs/design/part-conventions.txt:
24770 * docs/design/part-gstobject.txt:
24771 * docs/design/part-relations.txt:
24772 * examples/mixer/mixer.c: (main):
24773 * examples/thread/thread.c: (eos), (main):
24775 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24776 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24777 (gst_spider_plug_from_srcpad):
24778 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24779 (gst_spider_identity_change_state),
24780 (gst_spider_identity_sink_loop_type_finding):
24781 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24782 * gst/elements/gstidentity.c: (gst_identity_init):
24783 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24784 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24785 * gst/elements/gsttypefindelement.c: (free_entry):
24788 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24789 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24790 (gst_bin_set_index), (gst_bin_set_element_sched),
24791 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24792 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24793 (gst_bin_iterate_elements), (iterate_child_recurse),
24794 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24795 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24796 (compare_interface), (gst_bin_get_by_interface),
24797 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24799 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24800 (gst_buffer_default_free), (gst_buffer_default_copy),
24801 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24802 (gst_buffer_create_sub):
24804 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24805 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24806 (gst_caps_unref), (gst_static_caps_get),
24807 (gst_caps_remove_and_get_structure), (gst_caps_append),
24808 (gst_caps_append_structure), (gst_caps_remove_structure),
24809 (gst_caps_copy_nth), (gst_caps_set_simple),
24810 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24811 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24812 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24813 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24814 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24815 (gst_caps_structure_figure_out_union),
24816 (gst_caps_switch_structures), (gst_caps_do_simplify),
24817 (gst_caps_replace), (gst_caps_from_string),
24818 (gst_caps_copy_conditional):
24820 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24821 (_gst_clock_id_free), (gst_clock_id_unref),
24822 (gst_clock_id_compare_func), (gst_clock_id_wait),
24823 (gst_clock_id_wait_async), (gst_clock_class_init),
24824 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24825 (gst_clock_get_time), (gst_clock_set_time_adjust),
24826 (gst_clock_set_property), (gst_clock_get_property):
24829 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24830 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24832 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24833 (gst_element_requires_clock), (gst_element_provides_clock),
24834 (gst_element_set_clock), (gst_element_clock_wait),
24835 (gst_element_wait), (gst_element_set_time_delay),
24836 (gst_element_is_indexable), (gst_element_add_pad),
24837 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24838 (pad_compare_name), (gst_element_get_static_pad),
24839 (gst_element_request_pad), (gst_element_get_request_pad),
24840 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24841 (gst_element_class_get_pad_template_list),
24842 (gst_element_class_get_pad_template), (gst_element_error_func),
24843 (gst_element_get_random_pad), (gst_element_get_event_masks),
24844 (gst_element_send_event), (gst_element_seek),
24845 (gst_element_get_query_types), (gst_element_query),
24846 (gst_element_get_formats), (gst_element_convert),
24847 (gst_element_is_locked_state), (gst_element_set_locked_state),
24848 (gst_element_sync_state_with_parent), (gst_element_change_state),
24849 (gst_element_finalize), (gst_element_yield),
24850 (gst_element_interrupt), (gst_element_set_scheduler),
24851 (gst_element_get_scheduler), (gst_element_set_loop_function):
24852 * gst/gstelement.h:
24854 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24855 (gst_format_get_by_nick), (gst_format_get_details),
24856 (gst_format_iterate_definitions):
24858 * gst/gstindex.c: (gst_index_gtype_resolver):
24861 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24862 (gst_mem_chunk_free):
24863 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24864 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24865 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24866 (gst_object_dispatch_properties_changed),
24867 (gst_object_set_name_default), (gst_object_set_name),
24868 (gst_object_get_name), (gst_object_set_name_prefix),
24869 (gst_object_get_name_prefix), (gst_object_set_parent),
24870 (gst_object_get_parent), (gst_object_unparent),
24871 (gst_object_check_uniqueness), (gst_object_save_thyself),
24872 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24873 (gst_object_set_property), (gst_object_get_property),
24874 (gst_object_get_path_string):
24876 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24877 (gst_real_pad_init), (gst_real_pad_get_property),
24878 (gst_pad_custom_new), (gst_pad_get_direction),
24879 (gst_pad_set_active), (gst_pad_is_active),
24880 (gst_pad_set_event_function), (gst_pad_is_linked),
24881 (gst_pad_link_free), (gst_pad_link_intersect),
24882 (gst_pad_link_fixate), (gst_pad_set_caps),
24883 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24884 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24885 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24886 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24887 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24888 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24889 (gst_pad_realize), (gst_pad_get_allowed_caps),
24890 (gst_real_pad_dispose), (gst_real_pad_finalize),
24891 (gst_pad_collectv), (gst_pad_collect_valist),
24892 (gst_pad_template_dispose), (gst_pad_template_new),
24893 (gst_pad_get_internal_links):
24895 * gst/gstpipeline.c: (gst_pipeline_dispose),
24896 (gst_pipeline_change_state):
24897 * gst/gstpipeline.h:
24899 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24900 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24901 * gst/gstpluginfeature.h:
24902 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24903 * gst/gstquery.c: (_gst_query_type_initialize),
24904 (gst_query_type_register), (gst_query_type_get_by_nick),
24905 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24907 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24908 * gst/gstscheduler.c: (gst_scheduler_add_element),
24909 (gst_scheduler_factory_create):
24910 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24911 (gst_structure_free), (gst_structure_set_name),
24912 (gst_structure_id_set_value), (gst_structure_set_value),
24913 (gst_structure_set_valist), (gst_structure_remove_field),
24914 (gst_structure_remove_fields),
24915 (gst_structure_remove_fields_valist),
24916 (gst_structure_remove_all_fields), (gst_structure_foreach),
24917 (gst_structure_map_in_place),
24918 (gst_caps_structure_fixate_field_nearest_int),
24919 (gst_caps_structure_fixate_field_nearest_double):
24920 * gst/gststructure.h:
24921 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24922 (gst_system_clock_init), (gst_system_clock_dispose),
24923 (gst_system_clock_async_thread),
24924 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24925 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24926 * gst/gstsystemclock.h:
24927 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24928 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24929 * gst/gsttaginterface.c:
24930 * gst/gstthread.c: (gst_thread_dispose),
24931 (gst_thread_release_children_locks), (gst_thread_change_state),
24932 (gst_thread_main_loop):
24933 * gst/gsttrashstack.h:
24934 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24936 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24937 (gst_element_request_pad), (gst_element_get_pad_from_template),
24938 (gst_element_request_compatible_pad),
24939 (gst_element_get_compatible_pad_filtered),
24940 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24941 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24942 (gst_element_link_many), (gst_element_link),
24943 (gst_element_link_pads), (gst_element_unlink_pads),
24944 (gst_element_unlink_many), (gst_element_unlink),
24945 (gst_pad_can_link_filtered), (gst_pad_can_link),
24946 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24947 (gst_object_default_error), (gst_bin_add_many),
24948 (gst_bin_remove_many), (gst_element_populate_std_props),
24949 (gst_element_class_install_std_props), (gst_buffer_merge),
24950 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24951 (link_fold_func), (gst_pad_proxy_setcaps):
24953 * gst/gstvalue.c: (gst_value_deserialize_string):
24954 * gst/parse/grammar.y:
24955 * gst/schedulers/gstbasicscheduler.c:
24956 (gst_basic_scheduler_cothreaded_chain),
24957 (gst_basic_scheduler_chain_recursive_add),
24958 (gst_basic_scheduler_pad_link):
24959 * gst/schedulers/gstoptimalscheduler.c:
24960 (get_group_schedule_function),
24961 (gst_opt_scheduler_state_transition),
24962 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24963 * libs/gst/bytestream/bytestream.c:
24964 * libs/gst/dataprotocol/dataprotocol.c:
24965 (gst_dp_header_from_buffer):
24968 * tests/threadstate/threadstate2.c: (eos):
24969 * tools/gst-compprep.c: (main):
24970 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24971 (print_pad_info), (print_children_info):
24972 * tools/gst-launch.c: (idle_func), (main):
24973 * tools/gst-md5sum.c: (idle_func), (main):
24974 * tools/gst-xmlinspect.c: (print_element_info):
24975 First THREADED backport attempt, focusing on adding locks and
24976 making sure the API is threadsafe. Needs more work. More docs
24979 2005-02-24 Andy Wingo <wingo@pobox.com>
24981 * tests/bench-complexity.scm:
24982 * tests/complexity.gnuplot: New files, good for running complexity
24985 * tests/Makefile.am:
24986 * tests/complexity.c: New test, sets up N elements, at each level
24987 teeing into M streams per element. Eeeenteresting.
24989 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24990 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24991 running bench-mass_elements.scm.
24993 * tests/bench-mass_elements.scm: New script, runs mass_elements
24994 for various numbers of identities, outputting the results to a
24995 file. Requires guile 1.6. Just for testing.
24997 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24999 * gst/schedulers/fairscheduler.c:
25000 compile with debug disabled
25002 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
25005 hunting season on 0.9 is now OPEN