1 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5 Update POTFILES. Fixes #461599.
7 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
10 Fix confusing typo in debug output.
12 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
14 reviewed by: Stefan Kost <ensonic@users.sf.net>
16 * libs/gst/controller/Makefile.am:
17 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
18 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
19 (gst_lfo_control_source_new),
20 (gst_lfo_control_source_set_waveform),
21 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
22 (gst_lfo_control_source_finalize),
23 (gst_lfo_control_source_dispose),
24 (gst_lfo_control_source_set_property),
25 (gst_lfo_control_source_get_property),
26 (gst_lfo_control_source_class_init):
27 * libs/gst/controller/gstlfocontrolsource.h:
28 * libs/gst/controller/gstlfocontrolsourceprivate.h:
29 API: Add GstLFOControlSource, a control source that gives values
30 for specific timestamps based on several periodic waveforms.
33 * tests/check/libs/controller.c: (GST_START_TEST),
34 (gst_controller_suite):
35 * docs/libs/gstreamer-libs-docs.sgml:
36 * docs/libs/gstreamer-libs-sections.txt:
37 * docs/libs/gstreamer-libs.types:
38 Add documentation and unit tests for GstLFOControlSource.
40 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
45 === release 0.10.14 ===
47 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
50 releasing 0.10.14, "Breathing Vacuum"
52 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
54 * gst/gstelement.c: (gst_element_class_set_details_simple):
56 Make strings passed to gst_element_class_set_details_simple()
57 constant, as they should be (#462752).
59 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
61 * gst/gstbin.c: (gst_bin_change_state_func),
62 (bin_handle_async_done), (gst_bin_handle_message_func):
63 Don't forget about the fact that some element went ASYNC even after a
64 resync. This makes us post the ASYNC_DONE message correctly.
67 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
69 * gst/gstregistry.c: (gst_registry_add_feature):
70 When replacing an existing feature in the registry, make sure to
71 continue holding a reference until we've replaced the name string
72 within our feature hash table. Make sure to use g_hash_table_replace
73 instead of g_hash_table_insert to ensure the new name string is used
74 as a key instead of the old one that we're about to free.
77 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
79 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
80 (gst_plugin_feature_set_name):
81 Revert patch from #459466 until after the release and we can work
82 out exactly what the problem is (if any).
84 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
86 * docs/gst/gstreamer-sections.txt:
89 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
91 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
93 * docs/libs/Makefile.am:
94 Include our build-prefix libs and includes before the generic ones to
95 avoid linking against the installed libs when we want the build-tree
98 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
100 Patch by: Steve Fink <sphink gmail com>
102 * docs/pwg/building-testapp.xml:
103 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
104 if people try to build or install the example from the plugin
105 template against a GStreamer from package using the configure
108 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
110 Patch by: Steve Fink <sphink gmail com>
112 * tools/gst-inspect.1.in:
113 Document --print-all and --print-plugin-auto-install-info command
114 line options in man page.
116 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
118 * docs/gst/gstreamer-sections.txt:
119 Add docs for new api function.
121 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
123 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
124 * gst/gstelementfactory.h:
125 API: gst_element_factory_has_interface()
126 Added method to check if an element factory implements a named
129 2007-07-25 Stefan Kost <ensonic@users.sf.net>
132 * docs/gst/gstreamer.types.in:
133 Another conditional doc check.
136 * gst/gstparamspecs.h:
137 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
142 2007-07-24 Stefan Kost <ensonic@users.sf.net>
144 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
145 (gst_registry_binary_load_feature),
146 (gst_registry_binary_load_plugin),
147 (gst_registry_binary_read_cache):
148 Print error just once and with additional info.
150 2007-07-24 Stefan Kost <ensonic@users.sf.net>
152 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
153 (helper_find_suggest), (helper_find_get_length),
154 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
155 (gst_type_find_helper_for_buffer):
156 Cleanup the typefindhelper code and add private doc comments.
158 2007-07-24 Edward Hervey <bilboed@bilboed.com>
160 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
161 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
162 Fix capsfilter for cases where the caps set on capsfilter will provide
163 additional information.
166 2007-07-24 Stefan Kost <ensonic@users.sf.net>
168 * gst/gsttypefindfactory.c:
169 Fix docs that recommened wrong function to use.
171 2007-07-23 Stefan Kost <ensonic@users.sf.net>
173 * tools/gst-inspect.c: (print_plugin_features):
174 Also give media-type for typefinders in element output.
176 2007-07-23 Stefan Kost <ensonic@users.sf.net>
178 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
179 (gst_registry_remove_features_for_plugin_unlocked),
180 (gst_registry_add_feature), (gst_registry_remove_feature),
181 (gst_registry_lookup_feature_locked):
183 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
186 2007-07-23 Stefan Kost <ensonic@users.sf.net>
188 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
189 (gst_plugin_feature_set_name):
190 Avoid double memory usage for pluginfeature names. Fixes #459466.
192 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
195 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
196 driving the pipeline may need to explicitly check for NOT_LINKED as
197 well, since IS_FATAL doesn't cover that.
199 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
201 * docs/pwg/advanced-types.xml:
202 Fix typo and duplicate entry in video formats list.
204 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
206 * libs/gst/controller/gstinterpolation.c:
207 Also round to the nearest int when using cubic interpolation.
209 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
211 * libs/gst/controller/gstinterpolation.c:
212 When linearly interpolating integer types, round to the nearest int
213 by adding 0.5. Don't do it for float/double types.
214 Fixes the failing controller test on my machine, which is somehow
215 rounding differently than on the buildbots.
217 2007-07-20 Stefan Kost <ensonic@users.sf.net>
219 * tools/gst-plot-timeline.py:
220 Better log parsing (categories can have -). Adjust text vs. lines, so
221 that they span the same y-range.
223 2007-07-20 Stefan Kost <ensonic@users.sf.net>
225 * docs/random/ensonic/audiobaseclasses.txt:
226 * docs/random/ensonic/dynlink.txt:
227 * docs/random/ensonic/profiling.txt:
230 * docs/random/moving-plugins:
231 Add note to use g_assert type macros.
233 2007-07-20 Stefan Kost <ensonic@users.sf.net>
236 * libs/gst/check/Makefile.am:
237 Add libm check as we use in for plugins.
239 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
241 * gst/gstbin.c: (gst_bin_continue_func):
242 Check that the state_cookie hasn't changed since the continue_func
243 was scheduled. Avoids problems where the state changes back to
244 something it shouldn't be because it was changed in the meantime.
246 2007-07-17 Stefan Kost <ensonic@users.sf.net>
248 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
249 (gst_registry_binary_save_string),
250 (gst_registry_binary_save_pad_template),
251 (gst_registry_binary_save_feature),
252 (gst_registry_binary_save_plugin),
253 (gst_registry_binary_load_feature),
254 (gst_registry_binary_load_plugin),
255 (gst_registry_binary_read_cache):
256 Fix memory leak. Be less verbose in the log.
258 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
260 * tests/check/elements/.cvsignore:
261 Add file to cvsignore as commanded.
263 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
265 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
266 (mq_dummypad_event), (run_output_order_test):
267 Use a GStaticMutex to protect all cases where libcheck
268 fail_if/fail_unless macros might be called from multiple threads
269 simultaneously to avoid errors like:
270 "check_pack.c:107: :-1081725400:Bad message type arg"
272 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
274 * tests/check/pipelines/stress.c: (GST_START_TEST):
275 Make sure we set the pipeline back to the NULL state before
276 dropping our final reference.
278 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
280 * tests/check/elements/tee.c: (GST_START_TEST):
281 Make the tee stress-test a little less stressful so it doesn't just
282 time out on slow-machines, and remove a small race when it's starting
283 up by adding a get_state() call.
285 2007-07-16 Stefan Kost <ensonic@users.sf.net>
288 Avoid reading registry twice on startup. Fixes #457322.
290 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
292 * pkgconfig/gstreamer-check-uninstalled.pc.in:
293 * pkgconfig/gstreamer-check.pc.in:
294 Substitute the CFLAGS for libcheck into our .pc file too so that
295 dependent modules will pick it up properly if libcheck is installed
296 into some other prefix.
298 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
301 Revert the pkg-config check for libcheck, since it pulls in the
302 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
303 a proper solution, either from the check project, or something else.
305 2007-07-12 Stefan Kost <ensonic@users.sf.net>
308 Use pkg-config to locate check.
310 2007-07-10 Stefan Kost <ensonic@users.sf.net>
317 Add deprecation guards.
319 * libs/gst/base/gstcollectpads.h:
320 Don't document object (this is implicitly private).
322 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
324 * gst/gststructure.c: (gst_structure_parse_value):
325 When deserialising foo=bar without a type cast, check if it's a
326 boolean before falling back to a string type, otherwise things like
327 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
328 because the filtercaps end up having a signed=(string)true field,
329 which causes problems later when intersection caps.
331 * tests/check/gst/gststructure.c: (GST_START_TEST):
332 Add a unit test for this.
334 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
336 Reviewed by: Stefan Kost <ensonic@users.sf.net>
338 * libs/gst/controller/Makefile.am:
339 * libs/gst/controller/gstcontroller.c:
340 (gst_controlled_property_add_interpolation_control_source),
341 (gst_controlled_property_new), (gst_controlled_property_free),
342 (gst_controller_find_controlled_property),
343 (gst_controller_new_valist), (gst_controller_new_list),
344 (gst_controller_new), (gst_controller_remove_properties_valist),
345 (gst_controller_remove_properties_list),
346 (gst_controller_remove_properties),
347 (gst_controller_set_property_disabled),
348 (gst_controller_set_disabled), (gst_controller_set_control_source),
349 (gst_controller_get_control_source), (gst_controller_get),
350 (gst_controller_sync_values), (gst_controller_get_value_array),
351 (_gst_controller_dispose), (gst_controller_get_type),
352 (gst_controlled_property_set_interpolation_mode),
353 (gst_controller_set), (gst_controller_set_from_list),
354 (gst_controller_unset), (gst_controller_unset_all),
355 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
356 * libs/gst/controller/gstcontroller.h:
357 * libs/gst/controller/gstcontrollerprivate.h:
358 * libs/gst/controller/gstcontrolsource.c:
359 (gst_control_source_class_init), (gst_control_source_init),
360 (gst_control_source_get_value),
361 (gst_control_source_get_value_array), (gst_control_source_bind):
362 * libs/gst/controller/gstcontrolsource.h:
363 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
364 (gst_object_get_control_source):
365 * libs/gst/controller/gstinterpolation.c:
366 (gst_interpolation_control_source_find_control_point_node),
367 (gst_interpolation_control_source_get_first_value),
368 (_interpolate_none_get), (interpolate_none_get),
369 (interpolate_none_get_boolean_value_array),
370 (interpolate_none_get_enum_value_array),
371 (interpolate_none_get_string_value_array),
372 (_interpolate_trigger_get), (interpolate_trigger_get),
373 (interpolate_trigger_get_boolean_value_array),
374 (interpolate_trigger_get_enum_value_array),
375 (interpolate_trigger_get_string_value_array):
376 * libs/gst/controller/gstinterpolationcontrolsource.c:
377 (gst_control_point_free), (gst_interpolation_control_source_reset),
378 (gst_interpolation_control_source_new),
379 (gst_interpolation_control_source_set_interpolation_mode),
380 (gst_interpolation_control_source_bind),
381 (gst_control_point_compare), (gst_control_point_find),
382 (gst_interpolation_control_source_set_internal),
383 (gst_interpolation_control_source_set),
384 (gst_interpolation_control_source_set_from_list),
385 (gst_interpolation_control_source_unset),
386 (gst_interpolation_control_source_unset_all),
387 (gst_interpolation_control_source_get_all),
388 (gst_interpolation_control_source_get_count),
389 (gst_interpolation_control_source_init),
390 (gst_interpolation_control_source_finalize),
391 (gst_interpolation_control_source_dispose),
392 (gst_interpolation_control_source_class_init):
393 * libs/gst/controller/gstinterpolationcontrolsource.h:
394 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
395 API: Refactor GstController into the core controller which can take
396 a GstControlSource for providing actual values for timestamps.
397 Implement a interpolation control source and use this for backward
398 compatibility, deprecate a bunch of functions that are now handled
399 by GstControlSource or GstInterpolationControlSource.
400 Make it possible to disable the controller completely or only for
401 specific properties. Fixes #450711.
402 * docs/libs/gstreamer-libs-docs.sgml:
403 * docs/libs/gstreamer-libs-sections.txt:
404 * docs/libs/gstreamer-libs.types:
405 Add new functions and classes to the docs.
406 * tests/check/libs/controller.c: (GST_START_TEST),
407 (gst_controller_suite):
408 * tests/examples/controller/audio-example.c: (main):
409 Port unit test and example to the new API and add some new
412 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
414 Patch by: Mark Nauwelaerts <manauw at skynet be>
416 * plugins/elements/gstmultiqueue.c:
417 (gst_multi_queue_get_internal_links), (apply_buffer),
418 (single_queue_overrun_cb), (gst_single_queue_new):
419 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
420 the pipeline layout can be tracked correctly. Fixes #453732.
422 2007-07-05 Stefan Kost <ensonic@users.sf.net>
424 * docs/gst/Makefile.am:
425 * docs/libs/Makefile.am:
426 * docs/plugins/Makefile.am:
427 Simplify --extra-dir as gtkdoc scans recursively.
429 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
431 * tools/gst-launch.c: (main):
432 When we got an error, there is no point in waiting for preroll when
435 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
437 * plugins/elements/gsttee.c: (gst_tee_base_init),
438 (gst_tee_request_new_pad), (gst_tee_release_pad),
439 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
440 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
442 Be a lot smarter when deciding what srcpad to use for proxying
443 the buffer_alloc. Also handle pad added/removed when doing so.
445 Keep track of what pads we already pushed on in case we have pads
446 added/removed while pushing. Fixes #374639
448 * tests/check/Makefile.am:
449 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
451 Added unit test for pad resync.
453 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
457 Updated translations.
459 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
461 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
465 Added new Finnish translation.
467 2007-06-28 Wim Taymans <wim@fluendo.com>
469 * plugins/elements/gstmultiqueue.c: (apply_buffer),
470 (single_queue_overrun_cb):
471 When figuring out when a queue is filled, use our internal time estimate
472 based on segments, just like check_full does.
474 2007-06-27 Stefan Kost <ensonic@users.sf.net>
476 * gst/gstminiobject.c: (gst_mini_object_get_type):
477 Remove 3 do-nothing methods.
479 2007-06-27 Wim Taymans <wim@fluendo.com>
481 Patch by: Tim Angus <tim at ngus dot net>
483 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
484 (gst_capsfilter_set_property):
485 Take a reference instead of a copy when setting "caps".
486 Fix documentation to clarify this behaviour. Fixes #449414.
488 2007-06-27 Stefan Kost <ensonic@users.sf.net>
490 * gst/gstindexfactory.c: (gst_index_factory_get_type):
491 * gst/gstplugin.c: (gst_plugin_init):
492 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
493 * gst/gstquery.c: (gst_query_get_type):
494 * gst/gstregistry.c: (gst_registry_init):
495 * gst/gsturi.c: (gst_uri_handler_base_init):
496 Remove empty instance_init() functions to save relocs and lessen the
497 noise. Remove some of the function prototypes that are doubled by
500 2007-06-27 Wim Taymans <wim@fluendo.com>
502 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
504 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
505 Add peer and direction in the XML serialisation of ghostpads.
508 2007-06-26 Stefan Kost <ensonic@users.sf.net>
511 Preserve useful information, thanks Tim.
513 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
515 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
516 (gst_single_queue_flush), (apply_segment), (apply_buffer),
517 (gst_single_queue_push_one), (gst_multi_queue_loop),
518 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
519 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
520 (compute_high_id), (gst_single_queue_new):
521 * plugins/elements/gstmultiqueue.h:
522 Take the multiqueue lock when updating the fill level so we don't get
525 After applying a buffer or event on the src pad segment, make sure to
526 call gst_data_queue_limits_changed() to get the data queue to unblock
527 and check the filled state again.
529 Rework the not-linked pad handling so the logic is that not-linked
530 pads can push as fast as they like, but only so they never get
531 ahead of any linked pads.
533 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
534 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
535 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
537 Add a test to check that not-linked pads always stay behind
542 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
544 * docs/random/release:
545 Some updates to the release procedure.
547 2007-06-26 Stefan Kost <ensonic@users.sf.net>
549 * gst/gstelementfactory.c: (__gst_element_details_clear):
550 Microoptimization that saves stunning 80 bytes.
552 2007-06-25 Stefan Kost <ensonic@users.sf.net>
554 * docs/plugins/gstreamer-plugins.args:
555 * docs/plugins/inspect/plugin-coreelements.xml:
556 * docs/plugins/inspect/plugin-coreindexers.xml:
557 Update docs with caps info.
559 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
562 Updated Italian translation.
564 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
568 Update Vietnamese translations.
570 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
572 * libs/gst/base/gstbasesink.c:
573 Remove unused signal enum.
575 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
577 * docs/gst/gstreamer-sections.txt:
579 * gst/gstutils.c: (gst_type_register_static_full):
580 Beef up and include the docs for gst_type_register_static_full and
581 gst_element_class_set_details_simple and add the API keyword
584 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
586 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
587 (update_time_level), (gst_single_queue_push_one),
588 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
589 (single_queue_overrun_cb), (single_queue_underrun_cb),
590 (single_queue_check_full):
591 Fix setting max-* properties after adding queues.
592 Use IS_FILLED for checking visible items.
593 Signal overrun if multiple queues overrun.
594 Add extra debug output.
595 Patch by: Wim Taymans <wim@fluendo.com>
597 2007-06-21 Stefan Kost <ensonic@users.sf.net>
599 * gst/gstelement.c: (gst_element_class_set_details_simple):
601 * gst/gstutils.c: (gst_type_register_static_full):
603 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
604 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
605 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
606 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
607 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
608 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
609 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
610 * plugins/elements/gstidentity.c: (gst_identity_base_init):
611 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
612 * plugins/elements/gstqueue.c: (gst_queue_base_init),
613 (apply_buffer), (gst_queue_chain):
614 * plugins/elements/gsttee.c: (gst_tee_base_init):
615 * plugins/elements/gsttypefindelement.c:
616 (gst_type_find_element_base_init),
617 (gst_type_find_element_class_init):
618 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
619 API: add gst_type_register_static_full
620 API: add gst_element_class_set_details_simple
622 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
624 * docs/pwg/advanced-types.xml:
625 Fix typo in iana.org URI.
627 2007-06-19 Andy Wingo <wingo@pobox.com>
629 * tests/check/pipelines/simple-launch-lines.c
630 (test_state_change_returns): Enable pull-mode tests now that
631 basesink has been fixed.
633 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
634 Changed from gst_base_sink_is_prerolled, reversing the sense of
635 the return value. Returns FALSE also if the sink is in pull mode,
636 in which case it needs no preroll.
637 (gst_base_sink_query, gst_base_sink_change_state): Update for
638 needs_preroll change.
639 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
640 chaining up, in which we return SUCCESS directly if we activated
641 in pull mode instead of ASYNC. Involves countering an async_start
642 message sent before chaining up; not sure if this is correct, in
643 an ideal world we only send async-start when activating in push
646 * tests/check/pipelines/simple-launch-lines.c
647 (test_state_change_returns): New test, partially disabled until
650 2007-06-19 Wim Taymans <wim@fluendo.com>
652 * plugins/elements/gstmultiqueue.c: (apply_buffer),
653 (gst_multi_queue_sink_event):
656 2007-06-19 Wim Taymans <wim@fluendo.com>
658 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
659 (gst_bin_change_state_func), (bin_push_state_continue),
660 (bin_handle_async_start), (bin_handle_async_done),
661 (gst_bin_handle_message_func):
662 Move the common code for posting state-change messages into
664 Broadcast the state signal after we posted the messages.
665 Mark the bin as busy when it's doing a state-change.
666 Make sure async-start/done messages don't interfere with the bin's
667 state when it's busy.
668 After the state change, let the bin check which elements completed the
669 state change while it was busy so that it can update its state.
671 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
673 * docs/random/release:
674 Add a note about updating the doap file to the release checklist
676 2007-06-18 Wim Taymans <wim@fluendo.com>
678 * plugins/elements/gstmultiqueue.c: (apply_buffer),
679 (gst_single_queue_push_one), (gst_multi_queue_chain),
680 (gst_multi_queue_sink_event):
681 Make sure we don't reference the buffer/event after we have given away
682 ownership in the queue.
684 2007-06-18 Wim Taymans <wim@fluendo.com>
686 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
687 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
688 Update queue state _after_ adding the item in the queue because else we
689 could end up being full without the element added yet.
691 2007-06-18 Wim Taymans <wim@fluendo.com>
693 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
694 (gst_bin_remove_func), (gst_bin_get_state_func),
695 (gst_bin_element_set_state), (gst_bin_continue_func),
696 (bin_push_state_continue), (bin_handle_async_start),
697 (bin_handle_async_done), (gst_bin_handle_message_func):
699 Immediatly commit the toplevel bin state when receiving an async-done
700 message. This enables us to avoid spawning a thread to commit the state
701 in some common cases and it also avoids some races.
702 Avoid spawning a state thread when adding/removing async elements to a
703 toplevel bin. Instead we immediatly update the bin state.
704 Get rid of iterating all the children when getting the state in the bin
705 because it is now always up-to-date.
706 Fix bug where locked elements would always return _SUCCESS even it they
707 returned NO_PREROLL before being locked.
708 Fix the order of the state_change, async-start/done messages that was
710 Mark the state_dirty field as deprecated, we don't need it anymore as we
711 are always up-to-date.
713 * gst/gstelement.c: (gst_element_get_state_func),
714 (gst_element_continue_state):
715 Small debug inprovements.
716 Return the previous element state return when nothing is pending instead
717 of blindly returning SUCCESS.
719 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
721 Add a whole bunch of new testcases.
723 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
729 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
732 Fix typo in the docs.
734 2007-06-15 Wim Taymans <wim@fluendo.com>
736 * docs/libs/gstreamer-libs-sections.txt:
737 Add docs for new methods.
739 2007-06-15 Wim Taymans <wim@fluendo.com>
741 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
742 (gst_multi_queue_item_new):
743 Don't use GSlice because we don't depend on >= 2.10 yet.
745 2007-06-15 Wim Taymans <wim@fluendo.com>
747 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
748 (update_time_level), (apply_segment), (apply_buffer),
749 (gst_single_queue_push_one), (gst_multi_queue_item_new),
750 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
751 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
752 (single_queue_underrun_cb), (single_queue_check_full):
755 2007-06-15 Wim Taymans <wim@fluendo.com>
757 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
758 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
759 (gst_data_queue_set_flushing), (gst_data_queue_push),
760 (gst_data_queue_pop), (gst_data_queue_drop_head),
761 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
762 * libs/gst/base/gstdataqueue.h:
764 Added methods to get the current levels and to inform the queue that the
765 'full' limits changed.
767 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
768 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
769 (gst_single_queue_flush), (update_time_level), (apply_segment),
770 (apply_buffer), (gst_single_queue_push_one),
771 (gst_multi_queue_item_steal_object),
772 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
773 (gst_multi_queue_loop), (gst_multi_queue_chain),
774 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
775 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
776 (gst_multi_queue_src_query), (single_queue_overrun_cb),
777 (single_queue_underrun_cb), (single_queue_check_full),
778 (gst_single_queue_new):
779 Keep track of time in the queue by measuring the difference between
780 running_time on input and output. This gives more accurate results and
781 can compensate for segments correctly.
782 Make a queue by default only 5 buffers deep. We will now increase the
783 buffer size depending on the filledness of the other queues.
784 Factor out commong flush code.
785 Make sure we don't add additional refcounts to buffers when we can avoid
787 Propagate GstFlowReturn differently.
788 Use GSlice for intermediate GstMultiQueueItems.
790 Resize queues on over and underruns based on filled level of other
792 When checking if the queue is filled, prefer to measure in time if we
793 can and fall back to bytes when no time is known.
795 * plugins/elements/gstqueue.c:
798 2007-06-15 Wim Taymans <wim@fluendo.com>
800 * libs/gst/base/gstbasetransform.c:
801 (gst_base_transform_sink_event):
802 Work around the brokenness of the event vmethod in basetransform. Prefer
803 to return TRUE when the subclass returned FALSE (meaning don't forward
806 * libs/gst/base/gstbasetransform.h:
809 2007-06-15 Wim Taymans <wim@fluendo.com>
811 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
812 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
813 (gst_base_src_default_query), (gst_base_src_get_range),
814 (gst_base_src_start):
815 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
818 2007-06-15 Stefan Kost <ensonic@users.sf.net>
820 * docs/pwg/advanced-types.xml:
821 Added more formats to caps table.
823 2007-06-15 Stefan Kost <ensonic@users.sf.net>
825 * tools/gst-launch.c: (main):
826 Remove crufy code. GOption does not need this workaround.
828 2007-06-14 Stefan Kost <ensonic@users.sf.net>
830 * libs/gst/controller/gstcontroller.c:
831 (gst_controlled_property_set_interpolation_mode):
832 Fix wrong getter for enums in controller.
834 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
836 * libs/gst/check/gstcheck.c: (gst_check_init):
837 Intercept criticals and warnings in the Gst-Phonon log domain, so
838 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
841 2007-06-14 Edward Hervey <edward@fluendo.com>
843 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
844 Since this file doesn't include "gst.h" it will not go through the
845 macros that disable GST_LOG if debugging was disabled.
847 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
849 * libs/gst/check/Makefile.am:
850 * libs/gst/check/gstcheck.h:
851 * pkgconfig/gstreamer-check-uninstalled.pc.in:
852 * pkgconfig/gstreamer-check.pc.in:
853 Ugly 'fix' for the controller unit test on the p5 bot: in
854 fail_unless_equals_float() check whether the values are 'almost
855 equal' by allowing a small absolute error, which should be good
856 enough for our use cases (normal numbers and values close to 0).
857 Proper fixage left to floating point arithmetic aficionados.
859 2007-06-14 Stefan Kost <ensonic@users.sf.net>
861 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
862 (gst_base_sink_render_object), (gst_base_sink_get_position):
863 Add two breaks thats where missing.
865 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
867 * docs/libs/gstreamer-libs-sections.txt:
868 * libs/gst/check/gstcheck.h:
869 API: add fail_unless_equals_float() and assert_equals_float().
870 Add documentation for some of the macros.
872 * tests/check/libs/controller.c: (GST_START_TEST):
873 Use newly-added asserts.
875 2007-06-14 Stefan Kost <ensonic@users.sf.net>
877 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
878 Show the caps change in the log to help spotting the case of not
879 exactly matching caps.
881 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
883 * docs/pwg/building-boiler.xml:
884 Fix typos, spotted by Thijs Vermeir (#447190).
886 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
888 * docs/plugins/tmpl/.cvsignore:
889 Ignore file to keep the buildbots happy
891 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
893 * docs/plugins/Makefile.am:
894 * docs/plugins/gstreamer-plugins-docs.sgml:
895 * docs/plugins/gstreamer-plugins-sections.txt:
896 Pull fdsink into the docs too.
898 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
900 * libs/gst/controller/gstinterpolation.c:
901 Actually use the new functions with min/max checks for the trigger and
902 none interpolation modes for get() and get_value_array() instead of
905 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
907 * libs/gst/controller/gstcontroller.c:
908 (gst_controlled_property_free):
909 Unset the minimum and maximum GValues when freeing the corresponding
910 GstControllerProperty struct.
912 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
914 * libs/gst/controller/gstcontroller.c:
915 (gst_controlled_property_new):
916 * libs/gst/controller/gstcontrollerprivate.h:
917 * libs/gst/controller/gstinterpolation.c:
918 (gst_controlled_property_find_control_point_node),
919 (interpolate_none_get), (interpolate_none_get_enum_value_array),
920 (interpolate_none_get_string_value_array),
921 (interpolate_trigger_get),
922 (interpolate_trigger_get_enum_value_array),
923 (interpolate_trigger_get_string_value_array):
924 Protect against values larger or smaller than the minimum or maximum
925 allowed value for the property when using values that can be compared.
927 Optimize trigger interpolator a bit by taking the last requested value
928 into account instead of always looping through the complete list.
930 Fix coding style a bit, everywhere else we use "return foo" instead
933 * tests/check/libs/controller.c: (GST_START_TEST),
934 (gst_controller_suite):
935 Add unit test for the protection against too large or too small
938 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
940 * docs/random/slomo/controller.txt:
941 Add some thoughts about the future of the controller.
943 2007-06-08 Wim Taymans <wim@fluendo.com>
945 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
946 Don't overflow in retimestamping code.
948 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
950 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
951 Use gst_util_guint64_to_gdouble for conversions.
952 * win32/common/libgstreamer.def:
953 Add new exported functions.
955 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
960 2007-06-07 Stefan Kost <ensonic@users.sf.net>
963 Remove that test line again.
965 2007-06-07 Stefan Kost <ensonic@users.sf.net>
968 Test commit mail sending.
970 2007-06-07 Stefan Kost <ensonic@users.sf.net>
973 Fix typo and test commit mail sending.
975 2007-06-07 Stefan Kost <ensonic@users.sf.net>
977 * tests/examples/controller/audio-example.c:
978 Improve comment and test commit mail sending.
980 2007-06-07 Wim Taymans <wim@fluendo.com>
982 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
983 (gst_bin_remove_func), (gst_bin_element_set_state),
984 (bin_handle_async_start), (bin_handle_async_done),
985 (gst_bin_handle_message_func):
986 Add helper function to find messages.
987 Generate the async-done messages together with the state change
989 Small cleanups in handling toplevel bins.
991 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
993 * libs/gst/base/gstdataqueue.c:
994 * libs/gst/base/gstdataqueue.h:
995 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
996 (gst_multi_queue_item_new), (gst_multi_queue_chain),
997 (gst_multi_queue_sink_event):
998 * tests/check/elements/multiqueue.c: (multiqueue_suite):
999 Fix multiqueue leaking buffers and events when downstream or the
1000 queue are flushing. Make refcounting assumptions explicit and
1001 document them (shouldn't break existing code that uses it other than
1002 maybe leak miniobjects, but that already happens anyway). Add unit
1003 test for the most common flushing case. Fixes #423700.
1005 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1007 * libs/gst/controller/gstcontroller.c:
1008 Clarify docs: The get_all, get_value_array(s) functions
1009 don't modify the GObject properties.
1011 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
1013 * libs/gst/controller/gstcontroller.c:
1014 (gst_controlled_property_set_interpolation_mode),
1015 (gst_controlled_property_prepend_default),
1016 (gst_controlled_property_new), (gst_controller_set_unlocked),
1017 (gst_controller_set), (gst_controller_set_from_list),
1018 (gst_controller_unset), (gst_controller_unset_all):
1019 * libs/gst/controller/gstcontrollerprivate.h:
1020 * libs/gst/controller/gstinterpolation.c:
1021 Factor out the 'set' logic into gst_controller_set_unlocked for the
1022 gst_controller_set and gst_controller_set_from_list functions.
1024 To make life of the interpolators easier always add a control point
1025 at timestamp zero with the default value.
1027 In the linear interpolator make things more obvious by better variable
1030 Implement cubic interpolation mode (by using a natural cubic spline)
1031 and map the quadratic interpolation mode to this too (as quadratic
1032 doesn't make much sense, see discussion on the list).
1034 * tests/check/libs/controller.c: (GST_START_TEST),
1035 (gst_controller_suite):
1036 Add unit test for the cubic interpolation mode and check everywhere
1037 if the interpolation mode could be set as expected.
1039 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1041 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
1042 Don't use GLib-2.10 functions, we still depend on
1043 GLib-how-old-is-it-again-2.8.
1045 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
1047 * docs/gst/gstreamer-sections.txt:
1051 * gst/gstparamspecs.c: (_gst_param_fraction_init),
1052 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
1053 (_gst_param_fraction_values_cmp),
1054 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
1055 * gst/gstparamspecs.h:
1057 * tests/check/Makefile.am:
1058 * tests/check/gst/.cvsignore:
1059 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
1060 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
1061 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
1062 (GST_START_TEST), (gst_param_spec_suite):
1063 API: add GstParamSpecFraction, so elements can have fraction
1064 properties without lots of painful string parsing (#444648).
1066 2007-06-05 Wim Taymans <wim@fluendo.com>
1068 * gst/gstobject.c: (gst_object_class_init):
1069 Fix signal signature.
1072 Add small clarification in the api docs.
1074 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
1075 States are protected with object lock.
1077 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1080 I should probably be listed as an author by now.
1082 * docs/random/release:
1083 Update the release doc
1085 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
1088 Make docs for gst_value_compare() mention return enums that
1091 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1096 === release 0.10.13 ===
1098 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
1101 releasing 0.10.13, "With or without you"
1103 2007-05-25 Wim Taymans <wim@fluendo.com>
1105 * gst/gstbin.c: (bin_handle_async_done):
1106 Make sure that the child bin stops after completing the async state
1107 change so that the parent can continue the state change to PLAYING.
1110 2007-05-25 Wim Taymans <wim@fluendo.com>
1112 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1113 (unref_data), (gst_collect_pads_remove_pad),
1114 (gst_collect_pads_check_pads):
1115 Use additional refcounting to avoid crashes when dynamically adding and
1116 removing pads. Fixes #420206.
1118 2007-05-24 Wim Taymans <wim@fluendo.com>
1120 * tools/gst-launch.c: (event_loop):
1121 When buffering goes from a two digit to a single digit number, make sure
1122 to remove the old second digit by writing a blank over it.
1124 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1126 * libs/gst/base/gstdataqueue.c:
1127 Eliminate tabs and trailing comma in enum list; fix some typos.
1129 2007-05-24 Wim Taymans <wim@fluendo.com>
1131 * tests/check/gst/gstbin.c: (GST_START_TEST):
1132 Allow refcount of 3 and 4 because some state thread might still be busy
1135 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
1137 * plugins/elements/Makefile.am:
1138 * plugins/elements/gstmultiqueue.h:
1139 * plugins/elements/gstqueue.h:
1140 These are not installed headers, no need for padding.
1142 2007-05-24 Wim Taymans <wim@fluendo.com>
1144 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1145 (gst_bin_continue_func):
1146 Enable latency for next release.
1147 Restore STATE_LOCK around recalc_state that was left out during the
1148 rewrite and could result in racy behaviour when _get_state and
1149 recalc_state are run concurrently. See #440463.
1151 2007-05-23 Wim Taymans <wim@fluendo.com>
1153 * tests/check/gst/gstsystemclock.c: (store_callback),
1155 Improve test_async_order to also work when both timers are already
1156 expired when we get scheduled to check it.
1158 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1160 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
1161 (gst_bin_set_property), (gst_bin_get_property),
1162 (gst_bin_remove_func), (gst_bin_handle_message_func):
1164 'private' is a c++ keyword, let's not use that in header files,
1165 otherwise c++ compilers will throw a tantrum.
1167 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1169 * plugins/elements/gstelements.c:
1170 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
1171 (gst_file_sink_get_current_offset):
1172 * plugins/indexers/gstindexers.c: (plugin_init):
1173 Use #ifdef for HAVE_XYZ for consistency.
1175 * tests/check/Makefile.am:
1176 * tests/check/elements/.cvsignore:
1177 * tests/check/elements/filesink.c: (setup_filesink),
1178 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
1179 Add some unit tests for filesink.
1181 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
1183 Patch by: Mark Nauwelaerts <manauw at skynet be>
1185 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1186 (gst_file_sink_query), (gst_file_sink_do_seek),
1187 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1188 * plugins/elements/gstfilesink.h:
1189 Fix position reporting; rename data_written member to current_pos to
1190 reflect its real meaning (fixes #412648).
1192 2007-05-22 Edward Hervey <edward@fluendo.com>
1194 * docs/gst/gstreamer-sections.txt:
1195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1196 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
1197 (gst_bin_remove_func), (gst_bin_handle_message_func):
1199 Add a property for bins that handle the state change of their childs.
1202 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1204 * libs/gst/controller/gstinterpolation.c:
1205 Use an array of the correct type when using _get_value_array with
1206 linear interpolation.
1208 2007-05-22 Stefan Kost <ensonic@users.sf.net>
1210 * gst/gstelement.c (gst_element_requires_clock,
1211 gst_element_provides_clock, gst_element_request_pad,
1212 gst_element_class_set_details, gst_element_class_set_details_simple,
1213 gst_element_default_send_event, gst_element_abort_state,
1214 gst_element_continue_state, gst_element_set_state,
1215 gst_element_set_state_func, iterator_activate_fold_with_resync):
1216 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
1217 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
1218 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
1219 gst_pad_get_range, gst_pad_pull_range):
1220 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
1221 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
1222 GstPadActivateModeFunction, GstPadChainFunction,
1223 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
1224 GstPadFixateCapsFunction, GstPadTemplate):
1225 * gst/gstpipeline.c (gst_pipeline_change_state,
1226 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
1227 gst_pipeline_set_clock, gst_pipeline_auto_clock,
1228 gst_pipeline_get_delay):
1229 Whitespace and docs fixes.
1231 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1233 * libs/gst/controller/gstinterpolation.c:
1234 (interpolate_trigger_get_enum_value_array),
1235 (interpolate_trigger_get_string_value_array):
1236 Add support for retrieving value arrays when using the trigger
1239 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1241 * libs/gst/controller/gstcontroller.c:
1242 (gst_controller_get_value_array):
1243 * libs/gst/controller/gstcontroller.h:
1244 Clarify the docs of gst_controller_get_value_array(): The array where
1245 the values should be written to must be allocated as there seems to be
1246 no way to get the size of a random GType. This doesn't change any
1247 behaviour. Also fix some typos all over the place and remove an unused,
1248 commented function that is not necessary as g_object_set() could be
1250 * tests/check/libs/controller.c: (GST_START_TEST),
1251 (gst_controller_suite):
1252 Add unit test for gst_controller_get_value_array().
1254 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
1256 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1258 Disable part of the gst_buffer_try_new_and_alloc test, because
1259 it can happily succeed on 64-bit systems where there's more address
1262 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1264 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1265 Add unit test for the improved caps checking from bug #421543.
1267 2007-05-21 Wim Taymans <wim@fluendo.com>
1269 * docs/design/part-synchronisation.txt:
1272 * gst/gstbin.c: (gst_bin_query):
1273 * plugins/elements/gstqueue.c: (apply_segment):
1279 2007-05-21 Wim Taymans <wim@fluendo.com>
1281 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
1282 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
1283 (gst_pad_configure_src):
1284 Added simple version of improved caps checking. It was previously
1285 assumed that a setcaps function would check the validity of the caps but
1286 people prefer us to check caps against the template automatically.
1289 2007-05-21 Wim Taymans <wim@fluendo.com>
1291 * libs/gst/base/gstbasetransform.h:
1292 Fix macro for locking/unlocking the transform lock.
1294 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
1296 * docs/plugins/tmpl/.cvsignore:
1299 2007-05-18 Edward Hervey <edward@fluendo.com>
1301 * plugins/elements/gstqueue.c: (gst_queue_loop):
1302 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
1303 for the subtle art of warning a potentially blocking thread that it
1304 should check the source pad return value, and relay the information
1307 2007-05-18 Edward Hervey <edward@fluendo.com>
1309 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1310 Release the queue lock !
1312 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1314 * docs/libs/gstreamer-libs-sections.txt:
1315 Add the two new controller functions to the appropiate places.
1317 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1319 reviewed by: Stefan Kost <ensonic@users.sf.net>
1321 * libs/gst/controller/gstcontroller.c:
1322 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
1323 (_gst_controller_get_property), (_gst_controller_set_property),
1324 (_gst_controller_init), (_gst_controller_class_init):
1325 * libs/gst/controller/gstcontroller.h:
1326 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
1327 (gst_object_get_control_rate), (gst_object_set_control_rate):
1328 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
1329 Add API that provides sync suggestion timestamps for elements that
1330 call gst_object_sync_values() from which those elements can subdivide
1331 their processing loop to get the best results for the controlled
1332 properties. For now it just suggests last_sync + control_rate as
1333 new timestamp but this will be improved in the future.
1335 While doing that change the control-rate property to a GstClockTime
1336 from guint and change it's meaning from samples to nanoseconds as
1337 the GstController doesn't know anything about sampling rate. Strictly
1338 speaking this breaks ABI but as the control-rate property didn't do
1339 anything in the past and as such couldn't be used this should be no
1342 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1344 reviewed by: Stefan Kost <ensonic@users.sf.net>
1346 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1347 (gst_controller_unset_all):
1348 * libs/gst/controller/gstcontrollerprivate.h:
1349 * libs/gst/controller/gstinterpolation.c:
1350 (gst_controlled_property_find_control_point_node):
1351 Save last synced value from the list to continue searching from there
1352 in future syncs. This speeds everything up a bit.
1354 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1356 reviewed by: Stefan Kost <ensonic@users.sf.net>
1358 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
1359 (gst_control_point_find), (gst_controlled_property_new),
1360 (gst_control_point_free), (gst_controlled_property_free),
1361 (gst_controller_set), (gst_controller_set_from_list),
1362 (gst_controller_unset), (gst_controller_unset_all),
1363 (gst_controller_sync_values):
1364 * libs/gst/controller/gstcontroller.h:
1365 * libs/gst/controller/gstcontrollerprivate.h:
1366 * libs/gst/controller/gstinterpolation.c:
1367 (gst_controlled_property_find_control_point_node),
1368 (interpolate_none_get), (interpolate_trigger_get):
1369 Add a new private GstControlPoint struct which "inherits" from
1370 GstTimedValue to allow different interpolators to store internal
1371 values next to each control point. From the outside everything is
1372 still a GstControlPoint so we don't loose binary compatibility.
1373 Also fixup all the GValue handling to not leak GValues or list nodes.
1374 * tests/check/libs/controller.c: (GST_START_TEST):
1375 Free the list nodes and GValues in the controller_misc test.
1377 2007-05-17 Edward Hervey <edward@fluendo.com>
1382 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
1384 * gst/gstplugin.c: (gst_plugin_load_file):
1385 If we fail to load a plugin because of unresolved symbols or missing
1386 libraries and spew a warning to stderr, we may just as well mention
1387 which plugin it was that failed to load.
1389 2007-05-13 David Schleef <ds@schleef.org>
1391 * docs/Makefile.am: the gtk-doc makefile snippet correctly
1392 handles the case when ENABLE_GTK_DOC is false, and installs
1393 the prebuilt documentation. So gtk-doc subdirs are
1394 unconditionally enabled. Fixes: #349099.
1396 2007-05-13 David Schleef <ds@schleef.org>
1398 * gst/gstutils.h: Reword some documentation.
1400 2007-05-12 David Schleef <ds@schleef.org>
1402 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
1403 do anything with the passed "module" parameter, so remove it.
1404 Allows removal of additional vestigal code.
1406 2007-05-12 David Schleef <ds@schleef.org>
1409 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
1410 Switch to using g_stat() because it's more portable.
1412 2007-05-12 David Schleef <ds@schleef.org>
1415 Add GST_DISABLE_OPTION_PARSING, in order to disable option
1416 parsing for embedded systems.
1417 * gst/gstelementfactory.c:
1418 Allow gst_element_register() to be called with plugin==NULL.
1419 Did nobody notice that static elements were broken?
1421 2007-05-12 Wim Taymans <wim@fluendo.com>
1423 * tools/gst-launch.c: (event_loop):
1424 Give more interesting info when buffering starts and stops.
1425 Fix case where buffering starts but we fail to update the buffering flag
1426 because the target state is not PLAYING.
1428 2007-05-12 Wim Taymans <wim@fluendo.com>
1430 * plugins/elements/gstqueue.c: (gst_queue_init),
1431 (gst_queue_finalize), (update_time_level), (apply_segment),
1432 (apply_buffer), (gst_queue_locked_flush),
1433 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
1434 (gst_queue_handle_sink_event), (gst_queue_chain),
1435 (gst_queue_push_one), (gst_queue_loop):
1436 * plugins/elements/gstqueue.h:
1437 Refactor an cleanup queue a bit.
1438 Do better time level calculations that also work when the srcpad is not
1440 Remove some unneeded debug lines.
1442 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
1443 Added testcase for time level measurement.
1444 Try to make some stuff more racefree.
1446 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1448 * gst/gsturi.c: (gst_element_make_from_uri):
1449 Don't leak plugin feature.
1451 * tests/check/Makefile.am:
1452 * tests/check/gst/.cvsignore:
1453 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
1454 Add brain-dead unit test.
1456 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
1458 Patch by: Jeroen Wouters <woutersj at gmail com>
1460 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
1461 Treat protocol strings in a case-insensitive way (#437563).
1463 2007-05-11 Michael Smith <msmith@fluendo.com>
1465 * gst/gstplugin.c: (gst_plugin_load_file):
1466 * gst/gstregistry.c: (gst_registry_scan_path_level):
1467 Don't print a g_warning for any failure to load a shared object.
1468 Instead, push this down into gstplugin.c, and warn _only_ if we
1469 failed to open the module (i.e. failure to link).
1470 Avoids warnings on normal, working, non-plugin .so files.
1472 2007-05-11 Stefan Kost <ensonic@users.sf.net>
1474 * gst/gstplugin.c (gst_plugin_load_file):
1475 * gst/gstregistry.c (GST_CAT_DEFAULT,
1476 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
1477 Print a g_warning if there was an error when loading a plugins during
1478 registry scan. The shuld help beginners starting with gst-plugin
1481 2007-05-10 Wim Taymans <wim@fluendo.com>
1483 * plugins/elements/gstqueue.c: (gst_queue_class_init),
1484 (update_time_level), (gst_queue_locked_flush),
1485 (gst_queue_handle_sink_event), (gst_queue_chain),
1486 (gst_queue_push_one), (gst_queue_loop):
1487 * plugins/elements/gstqueue.h:
1488 Be smarter when calculating the current amount of data in the queue by
1489 measuring the difference between start and end timestamps (in running
1490 time) inside the queue. Fixes #432876.
1491 API: GstQueue::pushing to notify elements that we are pushing data again
1492 since the running signal is rather broken for this purpose.
1494 2007-05-10 Stefan Kost <ensonic@users.sf.net>
1496 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
1497 gst_queue_base_init, gst_queue_init):
1500 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
1502 * win32/common/libgstreamer.def:
1503 Add new exported functions.
1504 * win32/vs6/grammar.dsp:
1505 Use grammar pre-generated files.
1507 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1509 Based on patch by: Peter Kjellerstedt <pkj at axis com>
1512 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
1514 * gst/gstutils.c: (gst_parse_bin_from_description):
1516 Maintain API and ABI when --disable-parse is used. Now that
1517 we have an appropriate error code, we can just return NULL and the
1518 appropriate error when gst_parse_launch() is used despite it having
1519 been disabled (#342564).
1521 * tests/check/Makefile.am:
1522 * tests/check/pipelines/.cvsignore:
1523 * tests/check/pipelines/parse-disabled.c:
1524 Make sure these functions exist and return NULL plus a GError when
1525 --disable-parse is used.
1527 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
1529 * tests/benchmarks/complexity.c: (main):
1530 * tests/benchmarks/mass-elements.c: (main):
1531 Set a good example and don't leak messages.
1533 2007-05-06 Stefan Kost <ensonic@users.sf.net>
1535 * docs/gst/Makefile.am:
1536 * docs/libs/Makefile.am:
1537 Correct fixxrefs options.
1539 * docs/plugins/Makefile.am:
1540 * docs/plugins/gstreamer-plugins-docs.sgml:
1541 * docs/plugins/gstreamer-plugins-sections.txt:
1542 * plugins/elements/Makefile.am:
1543 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
1544 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
1545 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
1546 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
1547 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
1548 _GstCapsFilterClass, trans_class):
1549 * plugins/elements/gstelements.c (name, rank, type, _elements):
1550 * plugins/elements/gstidentity.c
1551 (gst_identity_check_imperfect_timestamp,
1552 gst_identity_check_imperfect_offset):
1553 Document capsfilter and add doc-blurb to identity.
1555 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
1557 * libs/gst/controller/gstcontroller.c:
1558 (gst_controlled_property_set_interpolation_mode):
1559 * libs/gst/controller/gstinterpolation.c:
1560 Don't crash if someone tries to set an interpolation mode that
1561 is invalid or that isn't supported yet. Fixes #422295.
1563 * tests/check/libs/controller.c: (GST_START_TEST),
1564 (gst_controller_suite):
1565 Add a test case for the above.
1567 2007-05-03 Edward Hervey <edward@fluendo.com>
1569 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
1570 Properly set the last_stop position on GstSegment. This will only happen
1571 if there is a buffer to push out.
1573 2007-05-03 Wim Taymans <wim@fluendo.com>
1575 * libs/gst/base/gstbasetransform.c:
1576 (gst_base_transform_buffer_alloc):
1577 always_in_place does not mean that the sink and source caps are the
1578 same! Make sure we don't blindly proxy the buffer_alloc in this case.
1580 2007-05-03 Wim Taymans <wim@fluendo.com>
1582 * docs/libs/gstreamer-libs-sections.txt:
1583 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1584 (gst_base_src_default_query), (gst_base_src_get_range):
1585 * libs/gst/base/gstbasesrc.h:
1586 API: gst_base_src_query_latency(). Added method so that subclasses can
1587 easily get the latency values of the base source class.
1589 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
1591 * tools/gst-inspect.c (print_implementation_info):
1594 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
1596 * tools/Makefile.am:
1597 * tools/gst-launch.1.in:
1598 Don't create a customised man page based on the host architecture,
1599 describe the default registry path generically. That way the man
1600 page is the same for all architectures and packagers have one
1601 multilib issue less to deal with. Fixes #434926.
1603 2007-05-02 Wim Taymans <wim@fluendo.com>
1606 Fix documentation as spotted by rg on IRC.
1608 2007-04-29 Stefan Kost <ensonic@users.sf.net>
1611 Improve docs for gst_element_{link,unlink}.
1613 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
1615 * docs/design/part-events.txt:
1616 * docs/design/part-overview.txt:
1620 * libs/gst/base/gstbasesink.c:
1621 Typo fixes; minor docs addition.
1623 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1625 * docs/gst/gstreamer-sections.txt:
1626 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
1627 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
1629 API: Add gst_uri_protocol_is_supported(), which checks if a sink
1630 or src that supports a given URI protocol exists.
1632 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1634 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1635 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1636 Set the location to NULL if "file://" is set as URI. Otherwise
1637 some random previous URI would still be set if "file://" is
1638 set on an already used filesink/filesrc.
1640 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
1642 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
1643 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
1644 Special case the "file://" URI as as this is used by some
1645 applications to test with gst_element_make_from_uri if there's
1646 an element that supports the URI protocol.
1647 Also move the g_path_is_absolute() check for the location part
1648 of the URI to also check this for "file://localhost/bla" URIs.
1650 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
1652 * docs/gst/gstreamer-sections.txt:
1653 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
1655 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1657 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
1659 2007-04-26 Stefan Kost <ensonic@users.sf.net>
1661 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1662 (gst_registry_binary_load_pad_template),
1663 (gst_registry_binary_load_plugin),
1664 (gst_registry_binary_read_cache):
1665 * gst/gstregistrybinary.h:
1666 Implement no-mmap alternative for registry reading. Do code cleanups.
1667 Add more comments about avoiding strdups for all text data. Comments
1670 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1672 * gst/gstregistrybinary.h (GstBinaryPluginElement,
1673 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
1674 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
1675 Comment structs and reformat to fix the build (that stuff should go
1676 into a priv. header).
1678 2007-04-25 Stefan Kost <ensonic@users.sf.net>
1680 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1681 (gst_registry_binary_load_feature):
1682 * gst/gstregistrybinary.h:
1683 Refactor so that we can implement multiple features. Add support for
1684 TypeFindFactory features.
1686 2007-04-24 Stefan Kost <ensonic@users.sf.net>
1688 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
1691 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
1693 2007-04-23 Stefan Kost <ensonic@users.sf.net>
1695 * gst/gstbin.c: (gst_bin_element_set_state),
1696 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
1697 (bin_handle_async_done), (gst_bin_handle_message_func):
1698 Fix build with --gst-disable-gst-debug
1700 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
1702 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
1703 Make sure streaming has finished before calling the ::stop() vfunc,
1704 since that vfunc might clear state which is being used in the
1705 streaming thread. This fixes a race that caused crashes in
1706 audioresample when shutting down a pipeline (#420106).
1708 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1710 * docs/gst/gstreamer-sections.txt:
1711 That was one byte missing.
1713 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1716 * docs/gst/gstreamer-sections.txt:
1718 * gst/gstconfig.h.in:
1719 * gst/gstobject.c: (gst_object_class_init),
1720 (gst_signal_object_class_init):
1722 2nd attempt to have a xml-less build as a joined effort of #413123
1725 2007-04-20 Stefan Kost <ensonic@users.sf.net>
1727 * docs/design/draft-tagreading.txt:
1728 Added open issues/thoughts to draft.
1730 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1732 * gst/parse/grammar.tab.pre.c:
1733 * gst/parse/grammar.tab.pre.h:
1734 * gst/parse/lex._gst_parse_yy.pre.c:
1735 Update the prebuild parser sources.
1737 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1739 * gst/parse/Makefile.am:
1740 And now fix the building of the flex sources. Now everything should
1743 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1745 * gst/parse/Makefile.am:
1746 Now hopefully fix the build failures by setting proper rule
1747 dependencies and moving instead of copying.
1749 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1751 * tests/benchmarks/complexity.gnuplot:
1752 * tests/benchmarks/complexity.scm:
1753 * tests/benchmarks/mass-elements.gnuplot:
1754 * tests/benchmarks/mass-elements.scm:
1755 Total licensification.
1757 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1759 * gst/parse/Makefile.am:
1760 Fix the build by correcting the rule that gave wrong files to flex.
1762 2007-04-19 Stefan Kost <ensonic@users.sf.net>
1764 * tests/benchmarks/complexity.c:
1765 * tests/benchmarks/mass-elements.c:
1766 Change licence to LGPL as granted by Benjamin and Andy.
1768 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1770 * gst/parse/Makefile.am:
1771 Add correct grammar.tab.h dependency if compiling without new enough
1772 flex. Fixes #431150.
1774 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1776 * gst/parse/Makefile.am:
1777 Fix typo and use outdated sources if the flex/bison sources are newer
1778 than the pregenerated ones but flex is too old. Print a warning in
1779 that case. This should fix the build on the build bot.
1781 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
1783 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
1784 * gst/parse/Makefile.am:
1785 * gst/parse/grammar.y:
1786 * gst/parse/parse.l:
1787 Make the parser reentrant and recursively callable. This requires flex
1788 >= 2.5.31, for older versions pregenerated sources are used as we
1789 can't bump the build dependency. Finally fixes #349180.
1791 * gst/gstparse.c: (gst_parse_launch):
1792 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
1795 * docs/gst/Makefile.am:
1796 * docs/gst/Makefile.am:
1797 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
1798 (__gst_parse_strfree), (__gst_parse_link_new),
1799 (__gst_parse_link_free), (__gst_parse_chain_new),
1800 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
1801 (gst_parse_element_set), (gst_parse_free_link),
1802 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
1803 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
1804 (_gst_parse_launch):
1805 * gst/parse/grammar.tab.pre.h:
1806 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
1807 (yy_get_previous_state), (yy_try_NUL_trans), (input),
1808 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
1809 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
1810 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
1811 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
1812 (_gst_parse_yypop_buffer_state),
1813 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
1814 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
1815 (yy_fatal_error), (_gst_parse_yyget_extra),
1816 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
1817 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
1818 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
1819 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
1820 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
1821 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
1822 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
1823 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
1824 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
1825 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
1826 (_gst_parse_yyfree):
1827 If the installed flex version is too old use pre-generated parser
1828 sources. These pre-generated parser sources are always updated when
1829 the actual flex/bison sources change but require everybody who wants
1830 to change something in the parser to have flex >= 2.5.31 installed.
1832 2007-04-18 Stefan Kost <ensonic@users.sf.net>
1834 * common/m4/gst-gettext.m4:
1835 * gst/gst-i18n-lib.h:
1836 Make --disable-nls to work
1838 2007-04-17 Wim Taymans <wim@fluendo.com>
1840 * gst/gstconfig.h.in:
1841 Revert previous change that broke the build.
1843 2007-04-17 Stefan Kost <ensonic@users.sf.net>
1847 * gst/gstconfig.h.in:
1848 Drop libxml2 dependency when building with
1849 --enable-binary-registry --disable-loadsave
1851 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
1853 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
1854 (gst_registry_binary_read_cache):
1855 * gst/gstregistrybinary.h:
1856 Remove unnecessary <sys/mman.h> include which broke the win32 build
1857 with MingW; move includes from header file to .c file, even if the
1858 header file isn't installed; use g_strerror() where UTF-8 strings
1859 are expected, such as in GST_DEBUG messages.
1861 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1863 * docs/libs/gstreamer-libs-sections.txt:
1864 Remove bogus addition for API I didn't end up keeping.
1866 * libs/gst/base/gstbasesrc.h:
1867 Mention Since: 0.10.13 in the documentation.
1869 Add the API keyword to the previous ChangeLog entry.
1871 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1873 * docs/libs/gstreamer-libs-sections.txt:
1874 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1875 (gst_base_src_default_prepare_seek_segment),
1876 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
1877 * libs/gst/base/gstbasesrc.h:
1878 Allow basesrc derived classes to execute seeks in other formats
1879 by providing a prepare_seek_segment vmethod. Sub-classes can choose
1880 to prepare the GstSegment in any format that their perform_seek method
1881 will be able to understand. The default implementation provides the
1882 old behaviour of attempting to convert the seek offsets to the
1883 configured native format.
1885 API: basesrc::prepare_seek_segment vmethod.
1887 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1889 * gst/gstelement.c: (gst_element_get_state_func):
1890 Don't output the same debug statement twice.
1892 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
1893 (gst_adapter_peek), (gst_adapter_take_buffer):
1894 Optimise the case where we have buffers at the head of the queue that
1895 can be joined quickly (because they're contiguous sub-buffers) by
1896 merging them together rather than copying data out into new memory.
1898 * gst/parse/grammar.y:
1899 * tests/check/pipelines/parse-launch.c:
1900 Fix a leak in an error path for parse_launch, and add a check
1901 for it to the testsuite.
1903 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
1905 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1906 Don't deadlock when releasing a pad - gst_pad_set_active may try
1907 and take the multiqueue lock too.
1909 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
1911 * gst/gsterror.c: (_gst_core_errors_init):
1913 API: add GST_CORE_ERROR_DISABLED (#392804).
1915 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1917 * docs/faq/gst-uninstalled:
1918 don't get empty paths on the PATH variables
1919 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
1920 Don't format for the uncommon terminal width of 84 characters.
1922 2007-04-06 Wim Taymans <wim@fluendo.com>
1924 * gst/gstpipeline.c: (reset_stream_time),
1925 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
1926 Only try to select a different pipeline clock when we went back to
1927 PAUSED and not when we merely got flushed.
1929 2007-04-05 Michael Smith <msmith@fluendo.com>
1931 * tools/gst-launch.1.in:
1932 fractions are better supported in gstreamer than ractions, so
1933 suggest using those.
1935 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
1937 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
1941 Added Danish translation.
1943 2007-04-05 Wim Taymans <wim@fluendo.com>
1945 * libs/gst/base/gstbasesink.c:
1946 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
1947 Fix leak caused when refusing newsegment after EOS.
1949 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1950 (gst_fake_sink_init), (gst_fake_sink_set_property),
1951 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
1952 (gst_fake_sink_render), (gst_fake_sink_change_state):
1953 * plugins/elements/gstfakesink.h:
1954 Add num-buffers property to make the element generate EOS after a
1955 configurable amount of buffers.
1956 API: fakesink::num-buffers property.
1958 * tests/check/elements/fakesink.c: (GST_START_TEST),
1960 Fix GstBus leak in test.
1961 Test for fakesink num-buffers.
1963 2007-04-05 Wim Taymans <wim@fluendo.com>
1965 * libs/gst/base/gstbasesink.c:
1966 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1967 (gst_base_sink_change_state):
1968 Don't accept anything after an EOS, return UNEXPECTED instead.
1970 * tests/check/elements/fakesink.c: (GST_START_TEST),
1972 Unit test for new EOS behaviour.
1974 2007-04-05 Wim Taymans <wim@fluendo.com>
1976 * gst/gstelement.c: (gst_element_get_request_pad):
1977 Make padtemplates also work when they don't contain %s or %d.
1979 2007-04-05 Wim Taymans <wim@fluendo.com>
1981 * docs/gst/gstreamer-sections.txt:
1982 * gst/gstclock.c: (gst_clock_adjust_unlocked),
1983 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
1985 Improve _adjust_unlocked() so that it overflows less.
1986 Add gst_clock_unadjust_unlocked to convert from external time to
1987 internal time based on calibration.
1988 Add some more debug.
1989 API: GstClock::gst_clock_unadjust_unlocked()
1991 2007-04-03 Wim Taymans <wim@fluendo.com>
1993 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1995 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
1996 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
1997 when releasing sink pad. Fixes #425400.
1999 2007-04-02 Stefan Kost <ensonic@users.sf.net>
2001 * docs/random/ensonic/dynlink.txt:
2002 More work on proposal for new core api.
2004 * docs/libs/gstreamer-libs-sections.txt:
2005 * libs/gst/base/gstbasetransform.h:
2006 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
2008 * libs/gst/controller/gstcontroller.c:
2009 (on_object_controlled_property_changed),
2010 (gst_controller_sync_values),
2011 (gst_controller_set_interpolation_mode):
2012 * libs/gst/controller/gstcontroller.h:
2013 Less verbose logging add docs for unimplemented parts and correctly
2014 return when using unavailable parts.
2016 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2018 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
2019 Move all the debug to the CLOCK category, and associate it with
2022 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
2024 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
2025 Make take_buffer a bit quicker by removing redundant checks
2026 caused by calling gst_adapter_take.
2028 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2030 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
2033 * tests/check/Makefile.am:
2034 * tests/check/elements/.cvsignore:
2035 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2036 (GST_START_TEST), (multiqueue_suite):
2037 Add some dead simple unit tests for the 'multiqueue' element
2038 (some bits don't work yet and are disabled for now).
2040 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
2042 * gst/gstelement.c: (gst_element_get_request_pad),
2043 (gst_element_class_get_request_pad_template):
2044 Make gst_element_get_request_pad() create request pads only for
2045 request pad templates and not for, say, sometimes pad templates.
2047 2007-03-28 Stefan Kost <ensonic@users.sf.net>
2049 * docs/design/draft-klass.txt:
2050 Add example that needs more thinking.
2052 * docs/design/draft-missing-plugins.txt:
2053 More thoughts about wrapper plugins.
2055 * docs/random/ensonic/embedded.txt:
2056 * docs/random/ensonic/profiling.txt:
2059 2007-03-25 Wim Taymans <wim@fluendo.com>
2061 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2062 (gst_base_src_loop):
2063 Only push the segment events in the PLAYING state for live sources.
2065 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
2067 * gst/gstpipeline.c: (gst_pipeline_change_state):
2068 Modify the clock distribution path in PAUSED->PLAYING so that we
2069 never attempt to choose a new clock unless we're actually leaving
2070 the PAUSED state for the first time. This prevents choosing a
2071 different clock when the state_change gets called for a 2nd time due
2072 to some element doing an async state change.
2074 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2076 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
2077 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
2078 (gst_pad_chain_unchecked), (gst_pad_push):
2079 Revert last commit. This needs some more thoughts.
2081 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2083 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
2084 (gst_pad_chain_unchecked), (gst_pad_push):
2085 Check in set_caps if the caps are compatible with the pad and remove
2086 two functions that are redundant now. Fixes #421543.
2088 2007-03-22 Wim Taymans <wim@fluendo.com>
2090 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2091 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
2092 Unref some more to make valgrind happy.
2094 2007-03-22 Wim Taymans <wim@fluendo.com>
2096 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
2097 (gst_system_clock_id_wait_jitter),
2098 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
2099 Fix anoying regression that survived a few releases. When adding an
2100 async entry while blocking on a sync entry, the sync entry will unblock
2101 but still be busy, so it should continue to wait instead of returning
2103 Add some comments here and there.
2105 * tests/check/gst/gstsystemclock.c: (mixed_thread),
2106 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
2107 Add testcase for this.
2109 2007-03-22 Wim Taymans <wim@fluendo.com>
2111 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
2112 Handle errors from the clock sync better, only UNSCHEDULED indicates a
2113 WRONG_STATE and can silently pause the task. All other cases should
2116 2007-03-22 Wim Taymans <wim@fluendo.com>
2118 Patch by: Ville Syrjala <syrjala at sci dot fi>
2120 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
2121 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
2124 2007-03-21 Michael Smith <msmith@fluendo.com>
2126 * docs/pwg/advanced-types.xml:
2127 Fix some errors in the typefinding docs pointed out on irc.
2129 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
2131 * libs/gst/base/gstbasesrc.c:
2132 Clarify FIXME comment in the face of having added unlock_stop()
2134 2007-03-21 Wim Taymans <wim@fluendo.com>
2136 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
2137 Prepare for release where we warn against possible app breakage in the
2138 case of live pipelines along with an env var to enable/disable live
2139 preroll mode (GST_COMPAT=[no-]live-preroll).
2141 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2143 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
2144 So we should use correct constants for checking for None offset.
2146 2007-03-20 Wim Taymans <wim@fluendo.com>
2148 * docs/design/part-block.txt:
2149 Mention the fact that the newly switched element should be set to at
2152 2007-03-20 Wim Taymans <wim@fluendo.com>
2155 Fix compilation with registry disabled as spotted by Saur.
2157 2007-03-20 Wim Taymans <wim@fluendo.com>
2159 Patch by: Olivier Crete <tester at tester dot ca>
2161 * gst/gstelement.c: (gst_element_sync_state_with_parent):
2162 Look at the pending state too when syncing the element state to the
2163 parent. Fixes #420133.
2165 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
2167 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2168 (gst_base_sink_change_state):
2169 * libs/gst/base/gstbasesink.h:
2170 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2171 (gst_base_src_default_event), (gst_base_src_unlock_stop),
2172 (gst_base_src_deactivate):
2173 * libs/gst/base/gstbasesrc.h:
2174 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
2175 for sub-classes to correctly clear any state they set trying to
2176 unlock, such as clearing out unlock commands from a command fd.
2177 API: basesrc::unlock_stop
2178 API: basesink::unlock_stop
2180 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
2181 (gst_fd_sink_render), (gst_fd_sink_unlock),
2182 (gst_fd_sink_unlock_stop):
2183 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2184 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
2185 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
2187 Implement unlock_stop in fdsrc and fdsink.
2188 Implement seeking in fdsrc when a seekable fd is passed, as in
2189 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
2191 2007-03-19 Wim Taymans <wim@fluendo.com>
2193 Patch by: Evan Nemerson <evan at coeus dash group dot com>
2195 * gst/gstelement.c: (gst_element_class_init):
2196 Fix pad-added and pad-removed signal signatures so that the pad type is
2197 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
2199 2007-03-19 Wim Taymans <wim@fluendo.com>
2201 * docs/gst/gstreamer-sections.txt:
2202 Add new element field and method.
2204 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2205 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
2206 (gst_bin_recalc_state), (gst_bin_get_state_func),
2207 (gst_bin_element_set_state), (gst_bin_change_state_func),
2208 (gst_bin_continue_func), (bin_bus_handler),
2209 (bin_push_state_continue), (bin_handle_async_start),
2210 (bin_handle_async_done), (gst_bin_handle_message_func):
2211 Make async state changes a bit smarter by using new ASYNC_START and
2212 ASYNC_DONE messages. This reduces the number of times we run the state
2213 recalculation thread.
2214 Don't change state of element with a pending ASYNC_START message.
2215 Deprecate STATE_DIRTY messages.
2217 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
2218 (gst_element_get_state_func), (gst_element_continue_state),
2219 (gst_element_lost_state), (gst_element_set_state_func),
2220 (gst_element_change_state):
2222 Keep the state that was last set by the app in a new element field.
2223 Don't allow state changes when handling an element event.
2224 Post ASYNC_START and ASYNC_DONE messages.
2225 Change lost_state so that we go to PAUSED and wait for the parent to set
2226 us to PLAYING again (so latency calculation can be performed)
2227 Export gst_element_change_state() method so that subclasses can use it.
2228 API: gst_element_change_state()
2229 API: GST_STATE_TARGET
2231 * gst/gstpipeline.c: (gst_pipeline_class_init),
2232 (reset_stream_time), (gst_pipeline_change_state),
2233 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
2234 Using the new ASYNC_START message we can reset the base_time when
2235 needed. This can then be used to implement base_time redistribution in
2236 flushing seeks so that we can remove the explicit seek handling.
2237 Perform latency query and configuration when going to PLAYING.
2239 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2240 (gst_base_sink_query), (gst_base_sink_change_state):
2241 Post new ASYNC_START/ASYNC_DONE messages.
2243 * tests/check/generic/sinks.c: (GST_START_TEST):
2244 Fix test because the bin will not set the async element to PLAYING right
2247 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
2248 Make the message check a little stronger.
2249 Handle ASYNC messages.
2251 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
2252 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
2253 Expect ASYNC_DONE messages.
2255 2007-03-19 Wim Taymans <wim@fluendo.com>
2257 * docs/gst/gstreamer-sections.txt:
2258 * gst/gstmessage.c: (gst_message_new_async_start),
2259 (gst_message_new_async_done), (gst_message_parse_info),
2260 (gst_message_parse_async_start):
2262 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
2265 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
2267 * tools/gst-inspect.c:
2268 (print_plugin_automatic_install_info_codecs):
2269 Now that we don't check for the 'Codec' keyword any longer in the
2270 klass, we shouldn't spew a warning if the klass isn't a decoder or
2271 encoder (since it might be a Source/Network, for example).
2273 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
2275 * tools/gst-inspect.c:
2276 (print_plugin_automatic_install_info_codecs):
2277 Don't require decoder/demuxer/depayloader elements or
2278 encoder/muxer/paylader elements to have 'Codec' as part of their
2279 factory class string when introspecting a plugin's capabilities.
2280 draft-klass.txt mentions that it might be removed in future, and
2281 flump3dec doesn't have it as part of its class string, so chances
2282 are others might also not have it.
2284 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
2306 Update translations from translation project
2308 2007-03-14 Stefan Kost <ensonic@users.sf.net>
2310 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
2311 (gst_child_proxy_set_property):
2312 Invert precondition check to be alike the ones in the mimiced gobject
2315 2007-03-13 Stefan Kost <ensonic@users.sf.net>
2317 * docs/design/draft-tagreading.txt:
2318 * docs/random/ensonic/audiobaseclasses.txt:
2319 Do some Architect work.
2321 * gst/gstobject.c: (gst_object_set_name):
2325 Add docs that point from gst_pad_get_range to gst_pad_pull_range
2327 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
2329 * gst/gstsystemclock.c: (gst_system_clock_init),
2330 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
2331 Defer starting the async system clock thread until the first async
2332 wait is scheduled. Fixes #414986.
2334 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
2336 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
2337 (gst_single_queue_free):
2338 Fix small leak (free GstSingleQueue structure too, not only contents).
2340 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
2342 * gst/gstbin.c:(gst_bin_add):
2343 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
2344 * win32/common/libgstbase.def:
2345 * win32/common/libgstreamer.def:
2346 Add new exported functions.
2348 2007-03-09 Wim Taymans <wim@fluendo.com>
2350 * docs/plugins/gstreamer-plugins-sections.txt:
2353 2007-03-09 Wim Taymans <wim@fluendo.com>
2355 * docs/gst/gstreamer-sections.txt:
2356 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
2358 Add metadata copy functions. Fixes #393099.
2359 API: gst_buffer_copy_metadata()
2361 * gst/gstutils.c: (gst_buffer_stamp):
2362 * libs/gst/base/gstbasetransform.c:
2363 (gst_base_transform_prepare_output_buffer):
2364 Use new metadata copy functions.
2366 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
2368 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2369 (gst_identity_init), (gst_identity_check_perfect),
2370 (gst_identity_check_imperfect_timestamp),
2371 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
2372 (gst_identity_set_property), (gst_identity_get_property):
2373 * plugins/elements/gstidentity.h:
2374 Separate out check-imperfect-timestamp and check-imperfect-offset.
2375 Put back check-perfect as it was to keep compatibility.
2377 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
2379 * gst/gstelement.c: (gst_element_dispose):
2380 There's no need to warn if VOID_PENDING is not NONE here, as
2381 long as the state is NULL it's ok, and that's checked immediately
2384 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2386 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2387 Fix check for perfect stream to ignore buffers with -1
2388 offsets/offset ends when checking data contiguity.
2390 2007-03-08 Wim Taymans <wim@fluendo.com>
2392 * tools/gst-launch.c: (event_loop):
2393 Print INFO messages.
2395 2007-03-08 Wim Taymans <wim@fluendo.com>
2397 * libs/gst/base/gstbasetransform.c:
2398 (gst_base_transform_sink_eventfunc),
2399 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2400 (gst_base_transform_activate):
2401 * libs/gst/base/gstbasetransform.h:
2402 Add support for dropping buffers with custom GstFlowReturn.
2403 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
2404 buffers or dropped buffers.
2406 * docs/libs/gstreamer-libs-sections.txt:
2407 docs for new custom return code.
2409 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2410 Use drop support in base class to implement drop-probability.
2412 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
2414 * gst/gst.c: (load_plugin_func):
2415 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
2416 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2417 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
2418 Remove newlines at end of debug log strings.
2420 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2422 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2423 Only post bus message at max, once per buffer received.
2425 2007-03-07 Wim Taymans <wim@fluendo.com>
2427 * docs/design/Makefile.am:
2428 * docs/design/part-synchronisation.txt:
2429 Add doc about synchronisation
2431 * docs/design/draft-latency.txt:
2432 * docs/design/part-TODO.txt:
2433 * docs/design/part-clocks.txt:
2434 * docs/design/part-events.txt:
2435 * docs/design/part-gstbus.txt:
2436 * docs/design/part-gstpipeline.txt:
2437 * docs/design/part-live-source.txt:
2438 * docs/design/part-messages.txt:
2439 * docs/design/part-overview.txt:
2440 * docs/design/part-streams.txt:
2441 * docs/design/part-trickmodes.txt:
2442 Documentation updates.
2444 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2447 Update the doap file.
2449 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2451 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
2452 Rename non-perfect to imperfect for Mike and for the sanctity of the
2454 Also make sure bus message gets emitted for data-incontiguities.
2456 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2458 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
2459 (gst_identity_start):
2460 * plugins/elements/gstidentity.h:
2461 Emit bus message if check-perfect is true and we encounter a
2462 non-perfect stream between 2 consecutive buffers.
2465 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2470 === release 0.10.12 ===
2472 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
2475 releasing 0.10.12, "Inevitable Demise"
2477 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
2480 Version 0.10.11.2 (0.10.12 pre-release)
2481 Bump libtool versioning.
2483 2007-03-01 Stefan Kost <ensonic@users.sf.net>
2485 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2486 Log flow-names and not numbers.
2488 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2491 Convert to new AG_GST style.
2493 2007-02-28 Wim Taymans <wim@fluendo.com>
2495 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
2496 Don't unref query twice.
2498 2007-02-28 Wim Taymans <wim@fluendo.com>
2500 * gst/gstvalue.c: (gst_value_transform_object_string),
2501 (_gst_value_initialize):
2502 Implement GstObject -> string transform so we print object names
2503 when serializing GValues containing GstObjects.
2505 2007-02-28 Wim Taymans <wim@fluendo.com>
2507 * docs/gst/gstreamer-sections.txt:
2508 Add new stuff to docs.
2510 2007-02-28 Wim Taymans <wim@fluendo.com>
2512 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2513 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
2514 (gst_base_sink_change_state):
2515 Improve latency query code.
2516 Don't leak latency events.
2518 * tests/check/gst/gstbin.c: (GST_START_TEST):
2521 2007-02-28 Wim Taymans <wim@fluendo.com>
2523 * gst/gstelement.c: (gst_element_message_full),
2524 (gst_element_get_state_func):
2526 Improve docs a little. Added Since: for new macro.
2528 * gst/gstobject.c: (gst_object_sink):
2529 * gst/gstpipeline.c: (gst_pipeline_change_state),
2530 (gst_pipeline_set_new_stream_time):
2531 * gst/gstpipeline.h:
2532 Improve debugging and docs.
2534 * gst/gstutils.c: (gst_element_state_change_return_get_name):
2537 2007-02-28 Wim Taymans <wim@fluendo.com>
2539 * gst/gstelement.c: (gst_element_message_full),
2540 (gst_element_set_locked_state), (gst_element_get_state_func),
2541 (gst_element_change_state):
2542 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
2543 Documentation updates.
2544 Small code cleanups.
2546 * gst/gstmessage.c: (gst_message_new_info),
2547 (gst_message_parse_info):
2549 API: gst_message_new_info()
2550 API: gst_message_parse_info()
2551 Add INFO message create and parse code.
2553 2007-02-28 Wim Taymans <wim@fluendo.com>
2555 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
2556 (bin_query_latency_done):
2557 Also report the live parameter of a latency query.
2559 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
2561 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
2562 Copy the current generic/states example from -base and adapt so
2563 we can use the exact same code everywhere.
2564 Check a STATES_IGNORE_ELEMENTS env var which can be used
2565 to ignore certain element factories for this test, which is
2566 what is being done in -base
2567 * tests/check/Makefile.am:
2568 Mention this environment variable.
2570 2007-02-27 Wim Taymans <wim@fluendo.com>
2572 * docs/gst/gstreamer-sections.txt:
2573 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
2574 (gst_bus_timed_pop), (gst_bus_pop):
2576 API: gst_bus_timed_pop()
2577 Implement gst_bus_timed_pop() to do a blocking timed wait for a
2578 message to arrive on the bus.
2580 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
2582 Two unit tests for new _timed_pop() function.
2584 2007-02-23 Wim Taymans <wim@fluendo.com>
2586 * gst/gstpipeline.c: (gst_pipeline_change_state),
2587 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
2588 Don't ref a NULL clock in _provide_clock_func().
2589 Don't allow an INVALID delay.
2590 Don't try to calculate base_time with an invalid start_time.
2591 Also distribute and notify a NULL clock when it was selected.
2593 * tools/gst-launch.c: (event_loop):
2594 Don't crash when a NULL clock was selected in the pipeline.
2596 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
2598 * docs/design/Makefile.am:
2599 * docs/design/draft-missing-plugins.txt:
2600 * docs/random/draft-missing-plugins.txt:
2601 Some small updates: update plugin system identifier prefix
2602 ('gstreamer.net' to 'gstreamer'), mention our new install
2603 API in libgstbaseutils rather than libgimme-codec, add
2604 reference to the online docs.
2606 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2608 * win32/common/config.h:
2609 Pretty sure Bill never made a powerpc version. Powerpc hackers,
2610 use moap cl ci to only check in what is mentioned in the ChangeLog.
2612 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2614 * docs/gst/gstreamer-sections.txt:
2616 Fix up documentation to link to the correct GstGError section.
2617 Add GST_ELEMENT_INFO macro since someone else added a Info message.
2619 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
2621 * tools/gst-launch.c: (event_loop):
2622 Make sure that we actually show the important message part of a
2624 No need to check if the gerror is not NULL to free; first of all
2625 g_free accepts NULL; and second the default error handler would
2626 segfault if gerror was NULL.
2628 2007-02-21 Wim Taymans <wim@fluendo.com>
2630 * docs/gst/gstreamer-sections.txt:
2631 Removed docs as well.
2633 2007-02-21 Wim Taymans <wim@fluendo.com>
2635 * gst/gstmessage.c: (gst_message_parse_duration):
2637 Remove new messages for release.
2639 2007-02-20 Wim Taymans <wim@fluendo.com>
2641 * docs/design/part-gstghostpad.txt:
2642 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
2643 (gst_ghost_pad_new_full):
2644 Make the ghostpad a parent of the internal pad again for better backward
2645 compatibility. Don't write code that relies on this however.
2647 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
2648 (gst_pad_link_check_hierarchy):
2649 Require that parents should be GstElements in the hierarchy check.
2651 2007-02-20 Wim Taymans <wim@fluendo.com>
2653 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
2654 (gst_bin_change_state_func), (bin_query_min_max_init),
2655 (bin_query_latency_fold), (bin_query_latency_done),
2658 Implement latency query.
2660 2007-02-20 Wim Taymans <wim@fluendo.com>
2662 * docs/design/part-gstghostpad.txt:
2663 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
2664 (gst_ghost_pad_internal_do_activate_push),
2665 (gst_ghost_pad_internal_do_activate_pull),
2666 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2667 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
2668 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
2669 Do not set the internal pad as a parent anymore so we can avoid
2670 hierarchy linking errors when the ghostpad has no parent yet. This also
2671 fixes failed activation because of unlinked internal pads, which in
2672 turn fixes the impossible case where you have to activate a pad before
2673 you can add it to a running element.
2676 * gst/gstpad.c: (pre_activate), (post_activate),
2677 (gst_pad_set_active), (gst_pad_activate_pull),
2678 (gst_pad_activate_push), (gst_pad_check_pull_range):
2679 Add some more debug info.
2680 Mark activation mode in pre_activate so that we don't try to activate in
2681 endless loops. Fixes #385084.
2683 2007-02-19 Wim Taymans <wim@fluendo.com>
2685 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2686 (gst_base_transform_check_get_range):
2687 Implement a checkgetrange function instead of relying on the default
2688 core behaviour that assumes we can operate in pull mode if we have a
2689 getrange function. First step at fixing #385084.
2691 2007-02-15 Stefan Kost <ensonic@users.sf.net>
2693 * gst/gstchildproxy.h:
2694 * libs/gst/base/gstbasesink.h:
2695 * libs/gst/base/gstbasesrc.h:
2696 * libs/gst/base/gstbasetransform.h:
2697 More docs coverage and some ChangeLog surgery (add missing names)
2699 2007-02-15 Wim Taymans <wim@fluendo.com>
2701 * docs/design/part-TODO.txt:
2702 * docs/design/part-activation.txt:
2703 * docs/design/part-block.txt:
2704 * docs/design/part-buffering.txt:
2705 * docs/design/part-clocks.txt:
2706 * docs/design/part-element-source.txt:
2707 * docs/design/part-events.txt:
2708 * docs/design/part-gstbin.txt:
2709 * docs/design/part-gstbus.txt:
2710 * docs/design/part-gstpipeline.txt:
2711 * docs/design/part-live-source.txt:
2712 * docs/design/part-messages.txt:
2713 * docs/design/part-overview.txt:
2714 * docs/design/part-qos.txt:
2715 * docs/design/part-query.txt:
2716 * docs/design/part-states.txt:
2717 * docs/design/part-trickmodes.txt:
2718 Some doc updates. Start renaming from stream_time to running_time where
2719 it was used wrongly.
2721 2007-02-15 Wim Taymans <wim@fluendo.com>
2723 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2724 Answer LATENCY query.
2726 2007-02-15 Wim Taymans <wim@fluendo.com>
2728 * tests/check/gst/gstevent.c: (event_probe), (test_event),
2732 2007-02-15 Wim Taymans <wim@fluendo.com>
2734 * gst/gstpad.c: (gst_pad_get_internal_links_default),
2735 (gst_pad_dispatcher):
2736 Improve debugging of default pad dispatcher and query functions.
2738 2007-02-15 Wim Taymans <wim@fluendo.com>
2740 * docs/gst/gstreamer-sections.txt:
2741 Remove old unused method.
2743 2007-02-13 Wim Taymans <wim@fluendo.com>
2745 * tests/check/gst/gstsegment.c: (GST_START_TEST):
2748 2007-02-13 Wim Taymans <wim@fluendo.com>
2750 * docs/design/part-seeking.txt:
2753 * gst/gstsegment.c: (gst_segment_set_seek):
2754 Revert old bogus change that should make seeking work again.
2756 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2758 * docs/random/ensonic/dynlink.txt:
2759 * docs/random/ensonic/interfaces.txt:
2760 * docs/random/ensonic/receipies.txt:
2761 Possible dynamic reconnection api, plus some type fixes the other two
2764 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
2766 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2767 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2768 Also check for an absolute path following file:// in the filesrc
2769 element. Remove redundant check and call g_path_is_absolute() on the
2772 2007-02-13 Stefan Kost <ensonic@users.sf.net>
2774 * docs/design/draft-klass.txt:
2775 Add existing category analysis.
2778 Fix doc example, framerate is a fraction.
2780 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2783 * docs/gst/Makefile.am:
2784 * docs/gst/gstreamer-sections.txt:
2785 * docs/libs/Makefile.am:
2786 Erm, forgot a bunch of --extra-dir.
2788 2007-02-12 Stefan Kost <ensonic@users.sf.net>
2791 * docs/gst/Makefile.am:
2792 * docs/libs/Makefile.am:
2793 * docs/plugins/Makefile.am:
2794 Add crossreferences to glib/gobject docs.
2796 2007-02-12 Wim Taymans <wim@fluendo.com>
2798 * docs/design/draft-latency.txt:
2801 * docs/libs/gstreamer-libs-sections.txt:
2802 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2803 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
2804 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
2805 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
2806 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
2807 (gst_base_sink_get_position), (gst_base_sink_query),
2808 (gst_base_sink_change_state):
2809 * libs/gst/base/gstbasesink.h:
2810 API: gst_base_sink_query_latency() to let subclasses query the upstream
2812 API: gst_base_sink_get_latency() to let subclasses query the configured
2813 latency in the sink.
2814 Implement query and set latency.
2816 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
2817 don't continue preroll when we are flushing. Fixes #405284.
2819 * tests/check/pipelines/stress.c: (change_state_timeout),
2820 (quit_timeout), (GST_START_TEST), (stress_suite):
2823 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
2825 Patch by: René Stadler <mail at renestadler de>
2827 * docs/gst/gstreamer-sections.txt:
2828 * gst/gsttaglist.c: (_gst_tag_initialize):
2830 API: add GST_TAG_REFERENCE_LEVEL (#403597).
2832 2007-02-11 Stefan Kost <ensonic@users.sf.net>
2834 * docs/libs/Makefile.am:
2835 Fix path to core docs.
2837 * gst/gstbin.c: (gst_bin_get_by_interface),
2838 (gst_bin_iterate_all_by_interface):
2839 Refix docs by also renaming 'interface' to 'iface' in implementation.
2841 * docs/gst/gstreamer-sections.txt:
2843 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2844 * gst/gstchildproxy.h:
2845 * gst/gstelementfactory.c:
2846 * gst/gstpadtemplate.h:
2847 * libs/gst/controller/gstcontroller.c:
2848 (gst_controlled_property_new):
2851 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
2853 * gst/gstbin.h:(gst_bin_get_by_interface),
2854 (gst_bin_iterate_all_by_interface):
2855 Replace interface parameter name by iface as interface is
2856 a reserved keyword in Visual Studio for C++ projects so it removes
2857 a build error for application developpers using VS.
2858 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
2859 Fix a bug on Windows in uri format check. Now the prefix checked
2860 is file:// and next we check if the path after file:// is absolute.
2861 * win32/common/libgstbase.def:
2862 * win32/common/libgstdataprotocol.def:
2863 * win32/common/libgstgstreamer.def:
2864 Add new exported functions.
2866 2007-02-09 Andy Wingo <wingo@pobox.com>
2868 * tests/check/pipelines/simple-launch-lines.c
2869 (simple_launch_lines_suite, test_tee): Disable tee test until I
2870 have time to fix it :-(
2872 * tests/check/Makefile.am (noinst_HEADERS):
2873 * tests/check/libs/libsabi.c:
2874 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
2875 * tests/check/gst/gstabi.c:
2876 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
2878 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
2879 tests for push and pull tee behavior.
2881 * plugins/elements/gsttee.h:
2882 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
2883 mark as deprecated as well as unimplemented. It was a crack idea.
2884 Add support for tee operating in pull mode, off by default.
2886 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
2887 normal-case logs down to LOG, raise errors to WARNING.
2888 (gst_registry_xml_read_cache): Don't log before calling a function
2891 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
2892 exit (registry finalize).
2893 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
2894 DEBUG log when we emit signals that people don't even have the
2895 chance to connect to.
2896 (gst_registry_scan_path_level): Less logging in the normal case.
2898 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2900 Patch by: Michal Benes <michal dot benes at itonis dot tv>
2902 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2903 Correctly generate EOS for non-seekable files. We don't have a total
2904 length for them and would get an unexpected end of file if we only
2905 special-cased for regular files. (Fixes: #404569)
2907 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2909 * tests/check/elements/filesrc.c: (GST_START_TEST),
2911 Add unit test for the GstURIHandler interface in filesrc. This also
2912 tests the newly added file://localhost/foo/bar support.
2914 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
2916 * gst/gstelementfactory.h:
2917 The klass string is not a hierarchy. Add reference to the design doc
2918 for more information and common types.
2920 2007-02-02 Wim Taymans <wim@fluendo.com>
2922 * gst/gstquery.c: (gst_query_new_latency):
2923 Remove old structure field.
2925 2007-02-02 Stefan Kost <ensonic@users.sf.net>
2927 * tools/gst-launch.1.in:
2928 Give example for network streaming (#351998)
2930 2007-02-02 Wim Taymans <wim@fluendo.com>
2932 * docs/gst/gstreamer-sections.txt:
2933 Add docs for new methods.
2935 * gst/gstevent.c: (gst_event_new_latency),
2936 (gst_event_parse_latency):
2938 Add new LATENCY event to configure latency in a pipeline.
2939 API: gst_event_new_latency
2940 API: gst_event_parse_latency
2942 * gst/gstmessage.c: (gst_message_new_buffering),
2943 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
2944 (gst_message_new_latency), (gst_message_parse_buffering),
2945 (gst_message_parse_lost_preroll):
2947 Added messages used in draft-latency.
2948 API: gst_message_new_lost_preroll
2949 API: gst_message_parse_lost_preroll
2950 API: gst_message_new_prerolled
2951 API: gst_message_new_latency
2953 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2954 (gst_query_parse_latency):
2956 Implemented new latency query as in design doc.
2957 API: gst_query_new_latency
2958 API: gst_query_set_latency
2959 API: gst_query_parse_latency
2961 2007-02-02 Wim Taymans <wim@fluendo.com>
2963 * docs/design/draft-latency.txt:
2964 Slight redesign to allow for dynamic latency adjustments.
2966 * docs/design/part-negotiation.txt:
2969 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2971 reviewed by: Wim Taymans <wim@fluendo.com>
2973 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
2974 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
2975 Allow file://localhost/foo/bar URLs and correctly fail for every other
2976 hostname that one sets. This was gnomevfssrc is linked for those if
2977 installed as it can handle it (#403172)
2979 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2981 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2983 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2984 (unref_data), (gst_collect_pads_add_pad_full):
2985 * libs/gst/base/gstcollectpads.h:
2986 Don't put the previously added destroy notify in the GstCollectData
2987 struct as all it's padding is already used and we don't want to break
2988 ABI. Instead put in the pad's GObject data for now. This should be
2989 cleaned up for 0.11 (#402393).
2991 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
2993 reviewed by: Wim Taymans <wim@fluendo.com>
2995 * docs/libs/gstreamer-libs-sections.txt:
2996 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2997 (unref_data), (gst_collect_pads_add_pad),
2998 (gst_collect_pads_add_pad_full):
2999 * libs/gst/base/gstcollectpads.h:
3000 API: Add function to specify a destroy notification for custom
3001 GstCollectData when adding new pads in GstCollectPads (#402393).
3003 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
3006 Update Swedish translation (#378255).
3008 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3010 * docs/design/draft-klass.txt:
3011 Fix the previous change, this is a list of categories and not a hierarchy.
3013 2007-01-31 Stefan Kost <ensonic@users.sf.net>
3015 * docs/design/draft-klass.txt:
3016 Add info about how to get a list of used classes.
3018 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
3020 * plugins/elements/gsttypefindelement.c:
3021 (gst_type_find_element_chain_do_typefinding),
3022 (gst_type_find_element_change_state):
3023 Don't leak found caps in chain function (no idea why that never
3024 showed up as a leak anywhere).
3026 2007-01-30 Stefan Kost <ensonic@users.sf.net>
3029 Fix and expand GstPluginDesc API docs.
3031 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3034 * gst/gstelementfactory.c:
3035 * gst/gstpadtemplate.h:
3038 * libs/gst/controller/gstcontroller.c:
3039 (gst_controlled_property_new):
3040 * tests/examples/controller/audio-example.c:
3043 2007-01-29 Stefan Kost <ensonic@users.sf.net>
3046 comment about refining the xml deps
3049 comments about moving away from jade for docs
3052 recommit the ifdefs to use the binary registry
3054 * gst/gstbin.c: (gst_bin_change_state_func):
3055 this break is obsolete
3057 * gst/gstelementfactory.h:
3058 better GST_ELEMENT_DETAILS docs, add comment about translation
3063 * gst/gstobject.c: (gst_signal_object_get_type):
3064 add G_UNLIKELY as usual
3066 * gst/gstpad.c: (gst_pad_event_default):
3067 add fall trhu comment
3069 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3070 (gst_registry_binary_initialize_magic),
3071 (gst_registry_binary_save_string),
3072 (gst_registry_binary_save_pad_template),
3073 (gst_registry_binary_save_feature),
3074 (gst_registry_binary_save_plugin),
3075 (gst_registry_binary_write_cache),
3076 (gst_registry_binary_check_magic),
3077 (gst_registry_binary_load_pad_template),
3078 (gst_registry_binary_load_feature),
3079 (gst_registry_binary_load_plugin),
3080 (gst_registry_binary_read_cache):
3081 comment typo and formatting
3083 * gst/gstutils.c: (gst_element_state_get_name),
3084 (gst_element_state_change_return_get_name):
3085 remove obsolete breaks
3087 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3088 add FIXME 0.11 and remove cpp comment
3090 2007-01-29 Edward Hervey <edward@fluendo.com>
3092 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3093 Fix print statement in an even more portable way.
3095 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
3097 * docs/gst/gstreamer-sections.txt:
3099 API: add GST_ROUND_DOWN_* macros (#401781).
3101 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
3103 * docs/gst/gstreamer.types.in:
3104 * gst/gstregistry.c: (gst_registry_class_init):
3105 Document registry signals and make gtk-doc pick them up (#401381).
3107 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3109 * docs/pwg/building-testapp.xml:
3110 Add some audioconverts and audioresample to the pipeline, and some
3111 more comments and error handling.
3113 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
3115 * docs/manual/manual.xml:
3119 2007-01-26 Wim Taymans <wim@fluendo.com>
3121 * gst/gstcaps.c: (gst_static_caps_get):
3122 Init caps flags too.
3124 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
3126 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
3128 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
3129 If not using mmap'ed files try to seek to the end instead of the
3130 start to determine whether we can seek at all. This fixes the case
3131 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
3132 seeks for everything afterwards fail. Fixes #400656
3134 2007-01-25 Wim Taymans <wim@fluendo.com>
3136 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
3137 Add some refcount debugging.
3138 Make gst_static_caps_get threadsafe, which is needed when autoplugging
3139 in multiple streaming threads.
3141 2007-01-25 Wim Taymans <wim@fluendo.com>
3143 Patch by: David Schleef <ds at schleef dot org>
3145 * docs/libs/gstreamer-libs-sections.txt:
3146 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
3147 * libs/gst/base/gstadapter.h:
3148 API: gst_adapter_copy() that can reduce the amount of memcpy when
3149 getting data from the adapter. Fixes #388201.
3151 2007-01-25 Edward Hervey <edward@fluendo.com>
3153 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3154 In print statements, "%x" is for guint. Fixes build on macosx.
3156 2007-01-24 Edward Hervey <edward@fluendo.com>
3158 * plugins/elements/gstmultiqueue.c:
3159 (gst_multi_queue_loop):
3161 (single_queue_overrun_cb), (single_queue_underrun_cb),
3162 (single_queue_check_full), (gst_single_queue_new):
3163 Implement single queue growth system.
3164 This uses the extra-size properties, and will grow single queues by
3165 that much if one goes full whereas there are others empty. This is
3166 called extra-mode in the code.
3167 When a single queue's levels go back below the initial max-size
3168 limits, it is no longer in extra-mode. This is to ensure we don't
3169 consume too much memory.
3172 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
3174 * gst/gst.c: (gst_init_get_option_group):
3175 Make warning about late g_thread_init() calls a bit more explicit,
3176 so that it's more obvious to application developers what they need
3177 to do if a user files a bug against their application.
3179 2007-01-22 Edward Hervey <edward@fluendo.com>
3181 * plugins/elements/gstmultiqueue.c:
3182 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
3183 Remove previous hack of unsetting the flushing flag for the source pad
3184 instead of activating it. Instead, fix the source pad activate function
3185 so that it no longer depends on having a parent set or not.
3187 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
3189 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
3191 * docs/manual/basics-bus.xml:
3192 Fix example code, gst_element_unref() doesn't exist any longer.
3194 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
3196 Patch by: Mark Nauwelaerts <manauw at skynet be>
3199 Fix two docs typoes (#399094).
3201 2007-01-19 Edward Hervey <edward@fluendo.com>
3203 * docs/faq/gst-uninstalled:
3204 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
3205 depending on libgstbaseutils can work in uninstalled environment.
3207 2007-01-18 Stefan Kost <ensonic@users.sf.net>
3210 * gst/gsttagsetter.c:
3211 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
3212 statement for new tag.
3214 2007-01-17 Edward Hervey <edward@fluendo.com>
3216 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
3217 When dynamically creating single queues, activate sinkpad before adding
3219 We should be doing the same thing for the source pad, but we can't
3220 since it would call a method which needs the parent to be set in order
3221 to work propertly. Instead of activating the source pad, we just unset
3222 the flushing flag, which is the minimal requirement for adding a pad
3223 to an element in a state greater than READY.
3225 2007-01-17 Edward Hervey <edward@fluendo.com>
3227 * docs/faq/gst-uninstalled:
3228 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
3231 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
3233 * tests/check/gst/gstabi.c:
3234 * tests/check/gst/struct_hppa.h:
3235 * tests/check/libs/libsabi.c:
3236 * tests/check/libs/struct_hppa.h:
3237 Add ABI structs for HPPA (see #393796).
3239 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
3241 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
3242 Actually write ABI structs to the file specified in the GST_ABI
3243 environment variable, as the message we print claims we would.
3245 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3247 * tests/check/gst/gsttask.c:
3250 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3252 * gst/gsttaglist.c: (_gst_tag_initialize):
3253 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
3254 previous two entries.
3256 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3258 * docs/gst/gstreamer-sections.txt:
3259 * gst/gsttaglist.c: (_gst_tag_initialize):
3261 Add tag support for beat-per-minute.
3263 2007-01-15 Stefan Kost <ensonic@users.sf.net>
3265 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3266 (gst_registry_binary_initialize_magic),
3267 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
3268 (gst_registry_binary_save_pad_template),
3269 (gst_registry_binary_save_feature),
3270 (gst_registry_binary_save_plugin),
3271 (gst_registry_binary_write_cache),
3272 (gst_registry_binary_check_magic),
3273 (gst_registry_binary_load_pad_template),
3274 (gst_registry_binary_load_feature),
3275 (gst_registry_binary_load_plugin),
3276 (gst_registry_binary_read_cache):
3277 * gst/gstregistrybinary.h:
3278 Use glib types, cleanup comments, impement interfaces and uri-types.
3280 2007-01-13 Andy Wingo <wingo@pobox.com>
3282 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
3283 getrange() to return buffers with other caps, while we fix
3284 demuxers and typefind, or otherwise change part-negotiation.txt.
3286 2007-01-12 Andy Wingo <wingo@pobox.com>
3288 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
3289 Factor start/stop into this private function instead of partially
3290 in activate functions and partially in the change_state function.
3291 Fixes setup before the element has changed from READY->PAUSED, as
3292 is the case in pull-mode pipelines.
3293 (gst_base_transform_sink_activate_push)
3294 (gst_base_transform_src_activate_pull): Refactor to use
3295 gst_base_transform_activate().
3296 (gst_base_transform_change_state): Removed, not needed any more.
3298 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3299 Truncate before fixating.
3301 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
3302 Don't set_caps() if the result of fixating is ANY, as it's not
3303 supported, and not necessary in the case of a link with no
3304 template caps on either side. Fixes tests/check/libs/basesrc in
3305 some pull-mode tests.
3307 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
3308 (gst_base_transform_init, gst_base_transform_sink_activate_push)
3309 (gst_base_transform_src_activate_pull):
3310 Track the activation mode.
3311 (gst_base_transform_setcaps): In pull mode, when activating the
3312 src pad, after activating the sink pad, activate the sink pad's
3313 peer, as discussed in part-negotiation.txt.
3315 * libs/gst/base/gstbasesrc.h:
3316 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
3317 vmethod, as in basesink.
3319 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
3321 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
3322 mode, first proxy the setcaps to the peer pad.
3323 (gst_base_sink_pad_fixate): Add a fixate function that calls the
3325 (gst_base_sink_default_activate_pull): Rename from
3326 gst_base_sink_activate_pull.
3327 (gst_base_sink_negotiate_pull): New function, performs negotiation
3328 in pull mode before calling ::activate_pull().
3329 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
3330 vmethod instead of the default implementation. I have no idea how
3331 this worked before. Negotiate before calling activate_pull.
3333 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
3334 sink pads in pull mode. In addition to being correct, fixes
3335 filesrc ! decodebin ! identity ! fakesink.
3336 (gst_pad_get_range, gst_pad_pull_range): Don't call
3337 gst_pad_set_caps() if the caps changes; instead error out with
3338 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
3340 2007-01-12 Andy Wingo <wingo@pobox.com>
3342 * docs/design/part-negotiation.txt: Update with more policy.
3344 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3346 * libs/gst/check/gstbufferstraw.h:
3347 * libs/gst/check/gstcheck.h:
3348 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
3351 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3353 * tests/check/Makefile.am:
3354 * tests/check/gst/.cvsignore:
3355 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
3356 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
3357 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
3358 (GST_START_TEST), (gst_tag_setter_suite):
3359 Add minimal unit test for beforementioned GstTagSetter bug.
3361 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
3363 Patch by: René Stadler <mail at renestadler dot de>
3365 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3366 gst_tag_list_merge() returns a new list, so it's not the best idea
3367 to ingore its return value. Effectively meant that tags could only
3368 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
3369 Also add function guard to require a non-NULL taglist as input (has
3370 always been so due to gst_tag_list_copy(), just making it explicit).
3372 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3374 * docs/random/draft-missing-plugins.txt:
3375 Some additions: mention new API that is supposed to be used at the
3376 various stages; short blob about new gst-inspect introspection
3377 option; mention potential future problem with plugins that have
3378 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
3380 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3382 * tools/gst-inspect.c:
3383 (print_plugin_automatic_install_info_codecs),
3384 (print_plugin_automatic_install_info_protocols),
3385 (print_plugin_automatic_install_info), (main):
3386 Add --print-plugin-auto-install-info option to gst-inspect, so we can
3387 introspect plugin files and get machine-parsable output that corresponds
3388 to the last bit of the missing-plugin installer string (small gotcha:
3389 doesn't take into account ranks).
3391 2007-01-11 Stefan Kost <ensonic@users.sf.net>
3394 * docs/gst/gstreamer-sections.txt:
3396 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
3397 (gst_registry_lookup_locked):
3398 * gst/gstregistry.h:
3399 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3400 (gst_registry_binary_initialize_magic),
3401 (gst_registry_binary_save_string),
3402 (gst_registry_binary_save_pad_template),
3403 (gst_registry_binary_save_feature),
3404 (gst_registry_binary_save_plugin),
3405 (gst_registry_binary_write_cache),
3406 (gst_registry_binary_check_magic),
3407 (gst_registry_binary_load_pad_template),
3408 (gst_registry_binary_load_feature),
3409 (gst_registry_binary_load_plugin),
3410 (gst_registry_binary_read_cache):
3411 * gst/gstregistrybinary.h:
3412 * gst/gstregistryxml.c: (load_feature),
3413 (gst_registry_xml_read_cache):
3414 commit binary registry (disabled by default, see #359653)
3416 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
3418 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
3419 Fix 'make check' too.
3421 2007-01-10 Andy Wingo <wingo@pobox.com>
3423 * docs/design/part-negotiation.txt: Fix a typo, add a couple
3426 * docs/design/part-negotiation.txt: Update with, um, one way that
3427 pull-mode negotiation might work?
3430 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
3431 that the pad must be a src pad; makes sense to call it the other
3432 way in pull mode, and the logic is symmetric anyway.
3434 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
3436 * plugins/elements/gstfilesink.c:
3437 Include <stdio.h> for fseeko().
3439 2007-01-10 Wim Taymans <wim@fluendo.com>
3443 Reserve LATENCY event.
3445 2007-01-09 Wim Taymans <wim@fluendo.com>
3447 * docs/design/draft-latency.txt:
3450 2007-01-09 Wim Taymans <wim@fluendo.com>
3452 * docs/design/draft-latency.txt:
3456 * gst/gststructure.c:
3460 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
3462 * tests/check/.cvsignore:
3463 Ignore test-registry.xml as well.
3465 2007-01-09 Wim Taymans <wim@fluendo.com>
3467 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3468 unref data at the end when we are done with the pad.
3470 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3472 * docs/gst/gstreamer-sections.txt:
3473 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
3474 (init_post), (gst_deinit), (gst_update_registry):
3476 API: add gst_update_registry() (#391296).
3478 * tests/check/Makefile.am:
3479 * tests/check/gst/gstregistry.c:
3480 * tests/check/gst/.cvsignore:
3481 Simple unit test for the above.
3483 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
3485 * gst/gstregistry.c: (gst_registry_scan_path_level):
3486 Plugin extension on HP-UX is .sl, add that to the list of approved
3487 plugin extensions (see #393796).
3489 * tests/check/gst/gstpad.c: (GST_START_TEST):
3490 ulong => gulong. Fixes compilation with HP-UX compiler.
3492 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3493 Fix compilation if valgrind headers are not available.
3495 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
3497 * win32/common/libgstreamer.def:
3498 Add new exported function.
3499 * win32/vs6/libgstbase.dsp:
3500 Add gstdataqueue.c to the build.
3501 * win32/vs6/libgstcoreelements.dsp:
3502 Add gstmultiqueue.c to the build.
3504 2007-01-06 Andy Wingo <wingo@pobox.com>
3506 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
3507 activate_pull(), providing for a way to specialize the process of
3508 spawning a thread to pull on the sink pad. There is a default
3511 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
3512 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
3513 (gst_base_sink_init): Renamed pad activation functions (inserting
3514 "_pad" in their names). Refactor to use the new activate_pull
3515 vmethod, as appropriate.
3516 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
3517 default activate_pull function to start a task pulling from the
3518 sink pad, as before.
3520 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
3521 on the pads if necessary, as in push()/chain(). Update docs.
3522 Shouldn't affect existing pull() usage as it is currently only
3523 being used on buffers without caps.
3525 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3527 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
3529 Call g_thread_init() first thing in gst_init() / gst_check_init().
3530 When initialisation is done via gst_init_get_option_group() and
3531 GOption parsing, issue a warning if the GLib thread system has not
3532 been initialised yet by the time gst_init_get_option_group() is
3533 called, as it's quite likely other GLib functions such as
3534 g_option_context_new() have been called already then, and
3535 g_thread_init() must be called before any other GLib function. The
3536 application in question must be fixed in that case, since memory
3537 corruption might happen otherwise.
3538 We issue the warning because even if the GLib folks decide to work
3539 around the problem on their end in future, this is still an issue
3540 with all GLib versions >= 2.10.0, so we should warn until we depend
3541 on a GLib version we know to be safe.
3542 Update documentation as well.
3545 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3547 * tools/gst-inspect.c: (main):
3548 * tools/gst-launch.c: (main):
3549 * tools/gst-typefind.c: (main):
3550 * tools/gst-xmlinspect.c: (main):
3551 Call g_thread_init() really really early, before any other GLib
3552 function (see #342564 and recent discussion on gtk-devel-list).
3554 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3556 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
3558 * gst/gst_private.h:
3559 * gst/gstconfig.h.in:
3561 On win32, all the __declspec stuff for symbol exporting is
3562 apparently only needed with MSVC, but doesn't work with MingW.
3563 Fixes compilation with MingW and #391909.
3565 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
3567 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
3568 Change some GST_ERROR_OBJECT that aren't really errors to
3569 GST_WARNING_OBJECT in order to reduce terminal spam.
3571 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3573 * tests/check/Makefile.am:
3574 disable test again, as there seem to be still race problems
3576 2007-01-04 Stefan Kost <ensonic@users.sf.net>
3578 * tests/check/Makefile.am:
3579 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3580 (GST_START_TEST), (queue_suite):
3581 enable queue test again, add tests for the leaky behaviour
3583 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
3586 * tests/examples/Makefile.am:
3587 Compile adapter test/example only if the required headers are
3588 available (fixes #391915).
3590 2007-01-01 David Schleef <ds@schleef.org>
3593 Restore the previous signal handler for SIGSEGV instead of
3594 setting to default, since we may have stolen it away from
3595 someone. (i.e., Mono)
3597 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3599 * docs/random/draft-missing-plugins.txt:
3600 Some small additions and clarifications.
3602 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
3604 * gst/gstregistryxml.c: (gst_registry_save_escaped):
3605 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
3606 since that can lead to random memory corruptions and crashes
3607 (may or may not be related to #383244, #386711, and #386711).
3609 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3611 * tests/check/.cvsignore:
3612 * tests/check/Makefile.am:
3613 sync .cvsignome and CLEANFILES
3615 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3617 * tests/check/Makefile.am:
3620 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3622 * docs/design/part-states.txt:
3623 two tiny additional comments
3625 * gst/gststructure.c:
3628 * tests/check/Makefile.am:
3629 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3631 disable test for now, unless it gets fixed
3633 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3635 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3637 fix race in underrun test
3639 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3641 * tests/check/elements/.cvsignore:
3644 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3646 try to narrow test failure
3648 2006-12-21 David Schleef <ds@schleef.org>
3650 * plugins/elements/gstfakesrc.c:
3651 Use g_random_int_range(), since it produces better random
3652 numbers in a range than almost-correct floating point code.
3654 2006-12-21 Stefan Kost <ensonic@users.sf.net>
3656 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3657 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3658 (gst_check_teardown_sink_pad):
3659 do not automatically (de)activate pads
3661 * tests/check/Makefile.am:
3662 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
3663 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
3664 add new, yet simple tests for queue
3666 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
3667 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
3668 * tests/check/elements/filesrc.c: (cleanup_filesrc),
3670 * tests/check/elements/identity.c: (cleanup_identity):
3671 consistent pad (de)activation
3673 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
3675 Patch by: Sebastian Dröge <slomo ubuntu com>
3677 * libs/gst/base/gstcollectpads.c:
3678 Fix two doc typos (#387866).
3680 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3682 * docs/manual/advanced-dparams.xml:
3683 Fix typo (g_object_control_properties() doesn't exist).
3685 2006-12-19 Edward Hervey <edward@fluendo.com>
3687 * gst/gstsegment.c: (gst_segment_set_seek):
3688 Fine tune the cases where the segment start/stop values are really
3690 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3691 Add tests for the return values of gst_segment_set_seek().
3693 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
3698 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3700 Fix incorrect documentation and flesh it out a bit more.
3701 Set default values for the max properties on the GParamSpec as well,
3702 so it shows up correctly in gst-inspect.
3704 2006-12-18 Stefan Kost <ensonic@users.sf.net>
3706 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3707 Correct docs of queue, add more detail and crosslink it more.
3709 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3711 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3712 Print additional debug info when the stream isn't perfectly
3713 timestamped; don't try to use invalid durations.
3715 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
3717 * docs/design/Makefile.am:
3718 Dist new design docs.
3720 2006-12-16 Wim Taymans <wim@fluendo.com>
3722 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3724 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
3725 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3726 (gst_collect_pads_stop), (gst_collect_pads_event),
3727 (gst_collect_pads_chain):
3728 * libs/gst/base/gstcollectpads.h:
3729 Add refcounting to the collectpads data so we can track when it's safe
3730 to free the data. Fixes #383382.
3732 2006-12-15 Wim Taymans <wim@fluendo.com>
3734 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3735 (gst_collect_pads_remove_pad):
3736 Automatically activate/deactivate pads when they are added to a
3737 started/stoped collectpads.
3739 2006-12-15 Wim Taymans <wim@fluendo.com>
3741 * gst/gstelement.c: (gst_element_add_pad):
3742 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
3743 * gst/gstpad.c: (gst_pad_init):
3744 Set pads to FLUSHING when they are created. Check, warn and fix when a
3745 demuxer adds an inactive pad to itself when running. Fixes #339326.
3747 2006-12-15 Wim Taymans <wim@fluendo.com>
3749 * gst/gstelement.c: (gst_element_class_init),
3750 (gst_element_default_send_event), (gst_element_send_event),
3751 (gst_element_default_query), (gst_element_query):
3752 Expose default element send_event and query handling as vmethods that
3753 subclasses can chain up to.
3755 2006-12-15 Wim Taymans <wim@fluendo.com>
3757 * gst/gstelement.c: (gst_element_set_state_func):
3758 Small documentation fixes.
3760 2006-12-15 Wim Taymans <wim@fluendo.com>
3762 * docs/design/draft-latency.txt:
3763 Checked in draft for handling latency in pipelines.
3765 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
3769 * gstreamer.spec.in:
3772 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
3774 * gst/gst.c: (init_pre), (init_post):
3775 init_pre() and init_post() might be called via our GOptionGroup or
3776 from gst_init(), and we should skip both of them if we've already
3777 been initialised, otherwise we will init some things twice or add
3778 two default log functions.
3780 2006-12-13 Edward Hervey <edward@fluendo.com>
3782 * docs/manual/basics-bus.xml:
3783 No, gst_main_loop does not exist. Its g_main_loop.
3784 Discovered by somebody who abused the copy-paste technique of coding :)
3786 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
3788 * gst/gstghostpad.c:
3789 Log ghostpad debug stuff to the GST_PADS category as well rather
3790 than just to the default category.
3792 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
3795 * gst/gst.c: (init_pre):
3796 Add some basic system details such as OS and architecture
3797 to the debug output if possible, courtesy of uname().
3799 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
3801 * docs/gst/running.xml:
3802 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
3803 environment variables.
3805 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3807 * tests/check/gst/gstbin.c: (GST_START_TEST):
3808 It is acceptable to have a refcount of 2 or 3 at this point in the
3809 test, because the pipeline might be just posting its state_change
3810 message. The next line then waits for that message to appear using
3811 bus_poll, so that should be fine too.
3813 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
3815 * gst/gst.c: (ensure_current_registry_forking):
3816 Ignore EINTR when reading from the child registry pipe.
3817 Explicitly ignore the return value from close, since it makes no
3820 * gst/gstminiobject.c: (gst_mini_object_ref),
3821 (gst_mini_object_unref):
3822 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
3824 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
3825 When removing cached plugins, remove their features too, so they're
3826 not visible after they've disappeared.
3828 * gst/gstutils.c: (prepare_link_maybe_ghosting):
3829 In the unlikely case that we are linking pads with no parents, don't
3830 crash trying to get the non-existent parent bin.
3832 * gst/parse/grammar.y:
3833 Output debug in the PIPELINE category
3835 2005-03-08 Wim Taymans <wim@fluendo.com>
3837 Patch by: René Stadler <mail at renestadler dot de>
3839 * gst/gstclock.c: (gst_clock_new_periodic_id):
3840 Reject invalid clock times for interval of periodic ids.
3843 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3845 * gst/gstelementfactory.c: (gst_element_factory_create):
3846 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3847 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
3848 * tools/gst-inspect.c: (print_element_info):
3849 Fix refcounting of gst_plugin_feature_load to match the docs.
3852 2006-12-07 Wim Taymans <wim@fluendo.com>
3854 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3855 (gst_base_sink_get_position):
3856 Improve debugging of events.
3858 2006-12-07 Wim Taymans <wim@fluendo.com>
3860 Patch by: René Stadler <mail at renestadler dot de>
3862 * gst/gstclock.c: (gst_clock_id_wait):
3863 Make period ids add the interval to the origial requested time instead
3864 of the possibly updated time which can be wrong when there are multiple
3865 waiters for the same id. Fixes #382592.
3867 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
3868 (gst_system_clock_id_wait_jitter_unlocked),
3869 (gst_system_clock_id_wait_jitter):
3870 Fix restart in the async notify thread when an async entry is added to
3871 the front of the list. Fixes #381492.
3873 * tests/check/gst/gstsystemclock.c: (store_callback),
3874 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
3875 Added test for multiple async waits.
3876 Added test for async wait order.
3878 2006-12-07 Wim Taymans <wim@fluendo.com>
3880 * gst/gstbin.c: (gst_bin_query):
3881 Add some more docs about the POSITION query.
3883 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
3886 Bump version nano - back to CVS.
3888 === release 0.10.11 ===
3890 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
3893 releasing 0.10.11, "Love never runs on time"
3895 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
3897 * win32/common/libgstbase.def:
3898 * win32/common/libgstreamer.def:
3899 * win32/vs8/libgstbase.vcproj:
3900 * win32/vs8/libgstcoreelements.vcproj:
3901 * win32/vs8/libgstreamer.vcproj:
3902 Fix compilation on win32 under VS8
3903 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
3904 Partially fixes #381175
3906 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
3908 * gst/gstvalue.c: (gst_value_compare_fraction):
3909 If someone is foolish enough to compare 2 fractions with denominator =
3910 0, return UNORDERED rather than aborting.
3912 2006-11-28 Edward Hervey <edward@fluendo.com>
3914 * libs/gst/base/Makefile.am:
3915 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
3916 (gst_data_queue_base_init), (gst_data_queue_class_init),
3917 (gst_data_queue_init), (gst_data_queue_new),
3918 (gst_data_queue_cleanup), (gst_data_queue_finalize),
3919 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
3920 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
3921 (gst_data_queue_is_empty), (gst_data_queue_is_full),
3922 (gst_data_queue_set_flushing), (gst_data_queue_push),
3923 (gst_data_queue_pop), (gst_data_queue_drop_head),
3924 (gst_data_queue_set_property), (gst_data_queue_get_property):
3925 * libs/gst/base/gstdataqueue.h:
3926 New GstDataQueue object for threadsafe queueing. Most useful for
3927 elements that need some queueing functionnality.
3928 * docs/libs/gstreamer-libs-docs.sgml:
3929 * docs/libs/gstreamer-libs-sections.txt:
3930 Insert documentation for GstDataQueue
3931 * plugins/elements/Makefile.am:
3932 * plugins/elements/gstelements.c:
3933 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3934 (gst_multi_queue_class_init), (gst_multi_queue_init),
3935 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3936 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
3937 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
3938 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3939 (gst_multi_queue_loop), (gst_multi_queue_chain),
3940 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3941 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
3942 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
3943 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
3944 (wake_up_next_non_linked), (compute_next_non_linked),
3945 (single_queue_overrun_cb), (single_queue_underrun_cb),
3946 (single_queue_check_full), (gst_single_queue_new):
3947 * plugins/elements/gstmultiqueue.h:
3948 New multiqueue element, using GstDataQueue. Used for queuing multiple
3950 Closes #344639 and #347785
3952 2006-11-22 Stefan Kost <ensonic@users.sf.net>
3954 * docs/pwg/advanced-types.xml:
3955 add more missing type details
3957 * tools/gst-run.c: (main):
3958 remove unused variable
3960 2006-11-21 Stefan Kost <ensonic@users.sf.net>
3962 * docs/libs/Makefile.am:
3963 * docs/libs/gstreamer-libs.types:
3964 add types of base classes to enable gobject specific stuff in the docs
3966 * docs/random/ensonic/embedded.txt:
3967 more ideas about isolating platform specific things
3969 2006-11-20 Wim Taymans <wim@fluendo.com>
3971 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
3973 * libs/gst/check/gstcheck.h:
3974 Fix compilation and running against 0.9.4. Fixes #377332.
3976 2006-11-20 Wim Taymans <wim@fluendo.com>
3978 * gst/gstsegment.c: (gst_segment_set_seek),
3979 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3980 (gst_segment_to_running_time):
3981 Fix boundary checking in to_running_time() and to_stream_time().
3984 * tests/check/gst/gstsegment.c: (GST_START_TEST):
3985 stream and running time can now be calculated for the complete
3988 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
3990 * gst/gstpad.c: (gst_pad_push_event):
3991 Can't access event structure after giving away ownership of
3994 2006-11-15 Stefan Kost <ensonic@users.sf.net>
3996 * docs/random/ensonic/embedded.txt:
3997 * docs/random/ensonic/profiling.txt:
3998 * docs/random/ensonic/receipies.txt:
4001 2006-11-13 Wim Taymans <wim@fluendo.com>
4003 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4006 Fix documentation for gst_pad_dispatcher. Fixes #374475.
4008 2006-11-13 Wim Taymans <wim@fluendo.com>
4010 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
4012 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
4013 Store new length in segment duration so we don't keep on calling the
4014 potentially expensize get_size() call. Fixes #370865.
4016 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
4018 Patch by: Sergey Scobich <sergey.scobich at gmail com>
4020 * win32/common/libgstreamer.def:
4021 Add two missing symbols (#366492).
4023 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
4025 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
4026 (gst_adapter_take_buffer):
4027 Fix format string to use all its arguments.
4028 Remove useless >= check on a guint
4030 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4032 * tests/examples/adapter/.cvsignore:
4033 Ignore build file as commanded by the build-bot
4035 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4037 * tests/examples/adapter/Makefile.am:
4038 * tests/examples/adapter/adapter_test.c: (run_test_take),
4039 (run_test_take_buffer), (run_tests), (main):
4041 Add new files from the previous commit
4043 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
4047 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
4048 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
4049 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
4050 * libs/gst/base/gstadapter.h:
4051 * tests/check/libs/adapter.c: (create_and_fill_adapter),
4052 (GST_START_TEST), (gst_adapter_suite):
4053 * tests/examples/Makefile.am:
4054 Do some optimisation work in GstAdapter to avoid copies in more cases.
4055 It could still do slightly better by merging buffers when
4056 gst_buffer_is_span_fast is true, but is already faster.
4058 Also, avoid traversing a single-linked list to append each incoming
4059 buffer inside the adapter.
4061 Add simple test app that times the adapter behaviour in different
4062 situations, and extend the unit test to check that bytes enter and
4063 exit the adapter in their original order.
4065 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
4067 * docs/random/draft-missing-plugins.txt:
4068 Update: use element message instead of adding a new message
4069 type to the core; don't provide GStreamer API to initiate the
4070 plugin download, just provide API to compose the strings needed
4071 and let an external libgimmestuff handle the rest.
4073 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
4075 * tools/gst-inspect.c: (print_element_properties_info):
4076 Print a string instead of 'unknown type' for GValueArray properties
4078 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
4080 * docs/random/draft-missing-plugins.txt:
4083 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4085 * tests/examples/typefind/typefind.c: (type_found), (main):
4086 Make typefind element example work again (#371894); add a
4089 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
4091 * docs/random/draft-missing-plugins.txt:
4092 Commit initial draft about how to deal with missing plugins,
4093 needs work (API too).
4095 2006-11-07 Stefan Kost <ensonic@users.sf.net>
4097 * docs/pwg/advanced-types.xml:
4098 documents the new caps elements (see #363118)
4100 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4102 * gst/gstplugin.c: (gst_plugin_load_file):
4103 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
4104 (gst_file_src_map_region), (gst_file_src_start):
4105 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
4106 (gst_file_index_commit):
4107 Use g_strerror() instead of strerror() - we want UTF-8.
4109 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
4111 Patch by: Peter Kjellerstedt <pkj at axis com>
4113 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4114 Another printf fix (#371493).
4116 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4118 * tests/check/gst/gsttag.c:
4119 relicence (okay with author=company)
4121 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4123 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4124 (gst_pad_push_event):
4125 Enhance debug and improve docs
4130 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4132 * docs/random/ensonic/distributed.txt:
4133 * docs/random/ensonic/profiling.txt:
4136 2006-11-06 Stefan Kost <ensonic@users.sf.net>
4138 * docs/gst/gstreamer-sections.txt:
4139 add new API and fix the build
4141 * gst/gstbin.c: (gst_bin_recalc_state):
4142 * gst/gstelement.c: (gst_element_message_full),
4143 (gst_element_get_state_func), (gst_element_set_state_func):
4144 use new API and improve logging
4146 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4148 API: add function to get StateChangereturn names to improve logs
4150 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
4152 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4153 I'm considering shooting the next person to put strerror stuff
4154 in the translateable part of the message.
4156 2006-11-03 Wim Taymans <wim@fluendo.com>
4158 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4159 Get the type and printf conversion specifiers right.
4161 2006-11-03 Wim Taymans <wim@fluendo.com>
4163 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4165 * gst/gstpad.c: (gst_pad_init), (pre_activate),
4166 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
4167 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
4168 Some small cleanups. Improve debugging.
4170 Signal all waiting threads with a broadcast instead of just one.
4173 2006-11-03 Wim Taymans <wim@fluendo.com>
4175 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4176 (gst_fd_src_create):
4178 Only update fd when it's different from the old.
4180 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4182 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
4183 Printf fixes for PPC/OSX, take two (#369366).
4185 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
4187 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
4189 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4190 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
4191 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4192 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
4193 don't cast to long long for portability reasons, but use
4194 GLib's types instead.
4196 2006-10-30 Michael Smith <msmith@fluendo.com>
4198 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4199 Get the arguments to lseek() the right way around.
4202 2006-10-30 Wim Taymans <wim@fluendo.com>
4204 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
4207 _declspec should be __declspec (two underscores, not one). Fixes 366572.
4209 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4211 Patch by: Kjartan Maraas <kmaraas at gnome org>
4213 * docs/design/part-MT-refcounting.txt:
4214 * docs/random/wtay/capsnego2-docs:
4217 Typo fixes (#366212).
4219 2006-10-28 Wim Taymans <wim@fluendo.com>
4221 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4224 * win32/common/libgstbase.def:
4225 * win32/common/libgstreamer.def:
4226 * win32/vs8/libgstbase.vcproj:
4227 * win32/vs8/libgstcontroller.vcproj:
4228 Add needed entries in .def files.
4230 Rearrange def files in vs8 solutions. Fixes #366286.
4232 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
4234 * win32/common/gstconfig.h:
4235 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
4236 hand-made win32 gstconfig.h. Fixes #366321.
4238 2006-10-27 Wim Taymans <wim@fluendo.com>
4240 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
4241 (gst_ghost_pad_new_full):
4242 Make acceptcaps return TRUE when we don't have a target, just like
4245 2006-10-27 Wim Taymans <wim@fluendo.com>
4247 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4248 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
4250 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
4252 * gst/gststructure.c: (gst_structure_id_set_value):
4253 If someone tries to set a non-UTF8 string field on a structure,
4254 don't just print a warning, but also ignore the request and do
4255 not change/add that field to the structure.
4257 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4260 2006-10-25 David Schleef <ds@schleef.org>
4263 g_hash_table_insert() needs a cast to a non-const pointer duh.
4265 2006-10-25 David Schleef <ds@schleef.org>
4269 Change name parameter of _gst_debug_register_funcptr to const
4270 to reflect the constness of its use in the function as well
4271 as to quiet a gcc warning.
4273 2006-10-25 Edward Hervey <edward@fluendo.com>
4275 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4276 Don't push the buffer if it's empty.
4279 2006-10-24 Wim Taymans <wim@fluendo.com>
4284 * libs/gst/base/gstbasetransform.c:
4285 (gst_base_transform_sink_eventfunc):
4286 Debug segment values *after* updating them as this is more
4289 2006-10-23 Wim Taymans <wim@fluendo.com>
4291 * docs/design/part-events.txt:
4294 * docs/design/part-block.txt:
4295 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4296 (gst_pad_push_event):
4297 Revert BLOCKING patch, it tries to be smart without really having a
4298 clear idea what or how. So, now we discard all FLUSHING events again on
4299 a blocking pad. Should fix gnonlin again.
4301 2006-10-23 Wim Taymans <wim@fluendo.com>
4303 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
4305 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4306 (gst_base_src_start), (gst_base_src_activate_push):
4307 Make sure size is always initialized. Fixes #364388.
4309 2006-10-20 Stefan Kost <ensonic@users.sf.net>
4311 * docs/random/ensonic/distributed.txt:
4312 add some ideas about doing distributed processing
4314 * docs/random/ensonic/profiling.txt:
4315 get_rusage look promising
4317 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4319 * docs/manual/basics-helloworld.xml:
4320 Add a cast in example to fix compile warning
4322 2006-10-18 Wim Taymans <wim@fluendo.com>
4324 * gst/gstsegment.c: (gst_segment_set_last_stop),
4325 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4326 Relax arg checking again, -1 is allowed.
4328 2006-10-18 Wim Taymans <wim@fluendo.com>
4330 * gst/gstsegment.c: (gst_segment_set_last_stop),
4331 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
4332 _set_last_stop() must be with a value != -1
4333 A _TYPE_SET to -1 means seek to 0.
4334 Calc last_stop correctly for negative rates.
4335 Make sure we work with positive durations when updating a segment.
4337 2006-10-18 Wim Taymans <wim@fluendo.com>
4339 * docs/design/part-live-source.txt:
4343 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
4346 Add an explicit cast to GstBuffer** to keep old code that added an
4347 explicit cast to GstMiniObject** for gst_mini_object_replace()
4348 compiling without warning.
4350 2006-10-18 Stefan Kost <ensonic@users.sf.net>
4352 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
4353 check for validity of dates
4355 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4357 * docs/gst/gstreamer-sections.txt:
4358 Forgot this one, makes gtk-doc shut up.
4360 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4362 Patch by: Peter Kjellerstedt <pkj at axis com>
4365 Don't define xmlNodePtr to gpointer if the core was built with
4366 --disable-loadsave and --disable-registry, this will break
4367 applications that want to use libxml2 but are buildling against a
4368 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
4369 instead so we don't have to mess with the libxml2 namespace
4372 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
4375 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
4376 type-punned pointer warnings.
4378 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4381 Add casts to the correct return type to state <=> state transition
4384 2006-10-16 Stefan Kost <ensonic@users.sf.net>
4386 * docs/design/part-live-source.txt:
4387 describe howto handle latency
4389 * docs/random/ensonic/profiling.txt:
4392 * tools/gst-plot-timeline.py:
4393 fix log parsing for solaris, remove unused function
4395 2006-10-16 Wim Taymans <wim@fluendo.com>
4397 * docs/design/part-trickmodes.txt:
4399 Update some docs regarding reverse playback.
4401 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
4403 Patch by: Marcus Granado <mrc dot gran at gmail com>
4405 * win32/vs8/grammar.vcproj:
4406 Error out with a warning if glib-genmarshal.exe is not in path,
4407 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
4409 2006-10-13 Wim Taymans <wim@fluendo.com>
4411 * gst/gstsegment.c: (gst_segment_set_seek):
4412 When seeking to stop -1, set last_stop (current position) to the
4413 duration of the segment.
4415 2006-10-13 Wim Taymans <wim@fluendo.com>
4418 Clarify _NO_PREROLL a bit more.
4423 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
4424 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
4425 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
4426 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
4427 due to wrong locking order. Fixes #361769.
4428 Remove some redundant/misplaced checks in pad_block.
4430 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4431 For negative rates, count backwards from the duration.
4433 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
4435 * gst/gsterror.c: (_gst_library_errors_init):
4436 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
4437 up with something better).
4439 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4441 * win32/vs6/libgstreamer.dsp:
4442 * win32/vs7/libgstreamer.vcproj:
4443 * win32/vs8/libgstreamer.vcproj:
4444 Don't reference glib-compat.c which is currently not used and not
4445 disted; add gstquark.c which was recently added. Fixes #361730.
4447 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
4449 * win32/common/libgstbase.def:
4450 * win32/common/libgstcontroller.def:
4451 * win32/common/libgstreamer.def:
4452 Add gst_caps_merge() and a bunch of other recently-added functions.
4455 2006-10-11 Wim Taymans <wim@fluendo.com>
4457 * docs/plugins/gstreamer-plugins.args:
4458 * docs/plugins/inspect/plugin-coreelements.xml:
4459 * docs/plugins/inspect/plugin-coreindexers.xml:
4460 Update element args.
4462 * gst/gstsystemclock.c:
4463 Small comment update.
4465 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4466 (gst_tee_request_new_pad), (gst_tee_release_pad),
4467 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
4468 (gst_tee_sink_activate_pull):
4469 * plugins/elements/gsttee.h:
4471 Add default property defines.
4472 Implement release pad function.
4473 Give properties better blubs etc.
4474 Activate pads before adding them to a running tee.
4475 Do simple buffer_alloc on the first requested pad.
4476 Post error when activation fails.
4478 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4480 * gst/gst.c: (ensure_current_registry_forking):
4481 Check return value of write() to make compiler happy.
4483 2006-10-11 Wim Taymans <wim@fluendo.com>
4485 Patch by: Sjoerd Simons <sjoerd at luon dot net>
4487 * plugins/elements/gstqueue.c: (gst_queue_chain):
4488 Recheck queue filledness after signalling the overrun when we're about
4489 to leak downstream because we released the lock when emitting the signal
4490 and the queue could be empty again. Fixes #352345.
4492 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
4494 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4495 Fix refcounting here too, just like we did for _new_valist() a few
4496 days ago (#357180) (thanks to René Stadler). Also remove all those
4497 'Since: 0.9' from the gtk-doc blobs.
4499 * tests/check/libs/controller.c: (controller_refcount_new_list),
4500 (gst_controller_suite):
4501 Unit test for the above.
4503 2006-10-10 Wim Taymans <wim@fluendo.com>
4505 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
4507 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4508 (gst_pad_save_thyself):
4510 Write pad direction in XML output. Fixes #345496.
4512 2006-10-10 Wim Taymans <wim@fluendo.com>
4514 Patch by: René Stadler <mail at renestadler dot de>
4516 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4517 (gst_controller_new_list), (_gst_controller_dispose),
4518 (_gst_controller_finalize), (_gst_controller_class_init):
4519 Take ref to controlled object so that it cannot disappear.
4522 2006-10-10 Wim Taymans <wim@fluendo.com>
4524 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4525 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4526 (gst_check_teardown_sink_pad):
4527 Activate/deactivate pads in setup/teardown respectively.
4529 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4531 Patch by: Josep Torre Valles <josep@fluendo.com>
4534 Cast values when making gstenumtypes.h. This pacifies Forte
4535 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
4538 2006-10-09 Wim Taymans <wim@fluendo.com>
4540 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
4541 Rename some more @cur to @start to fix docs.
4543 * gst/gstsegment.c: (gst_segment_set_seek):
4545 time and start must always stay in sync as defined in design doc.
4547 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4548 Rename param to fix docs.
4550 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4551 Check that start and time are in sync.
4553 * tests/check/pipelines/parse-launch.c:
4554 (gst_parse_test_element_change_state):
4555 Activate pad before adding to the element.
4557 2006-10-09 Wim Taymans <wim@fluendo.com>
4559 * docs/design/part-qos.txt:
4564 Update seek event docs regarding negative rates.
4565 Rename @cur to @start.
4567 * gst/gstsegment.c: (gst_segment_set_seek):
4569 Update set_seek docs regarding negative rates.
4570 Correctly update last_stop to @stop when dealing with negative
4572 Rename @cur to @start.
4574 * tests/check/gst/gstpad.c: (GST_START_TEST):
4575 Activate pads before trying to use them.
4577 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4578 (gst_segment_suite):
4579 Add simple check for segments and negative rates.
4581 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
4583 * gst/gsttaglist.c: (gst_tag_list_is_empty):
4585 * docs/gst/gstreamer-sections.txt:
4586 API: add gst_tag_list_is_empty() (#360467).
4588 * tests/check/gst/gsttag.c: (GST_START_TEST):
4591 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4594 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
4595 a value that doesn't fit on enumeration.
4597 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4599 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4600 Remove local debugging system and use Gstreamer's instead.
4602 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4604 Patch by: Josep Torre Valles <josep@fluendo.com>
4606 * common/m4/gst-error.m4:
4607 Disable warning of statement not reached on Forte.
4609 Fix warning on Forte (value doesn't fit on enumeration).
4610 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
4611 Fix warning on Forte (value doesn't fit on enumeration).
4612 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4613 DEBUG macro says it takes minimum of 2 args and so Forte
4614 complains about the use with just 1 arg.
4615 * plugins/elements/gstfdsink.c:
4616 * plugins/elements/gstfdsrc.c:
4617 * plugins/elements/gstfilesink.c:
4618 * plugins/elements/gstfilesrc.c:
4619 Use correct return type for the uri handler implementations.
4621 All these fix warnings in Forte. Fixes bug #360860.
4623 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
4626 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
4627 format string, so don't use G_GNUC_PRINTF for those versions.
4629 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4631 * gst/gsttaglist.c: (gst_is_tag_list):
4633 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
4635 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4636 Small test for the above.
4638 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
4641 Less tabs, more spaces.
4643 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
4646 Those two function declarations do actually belong there, revert
4647 commit from yesterday that turned them intro macros.
4649 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4651 Patch by: Josep Torre Valles <josep@fluendo.com>
4653 * gst/gst.c: (gst_init_get_option_group):
4654 Fix empty declaration and type mismatch.
4655 * gst/gstbin.c: (gst_bin_change_state_func):
4657 * gst/gstelement.c: (gst_element_continue_state),
4658 (gst_element_set_state_func), (gst_element_change_state),
4659 (gst_element_change_state_func):
4660 Fix type mismatches.
4661 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
4662 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
4663 Cast as appropriate.
4664 * gst/gstobject.c: (gst_class_signal_connect):
4665 Cast as appropriate. The function pointer parameter really
4666 has the wrong type but would break API if we change it.
4668 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
4669 order of including string.h.
4670 * gst/gstutils.c: (gst_element_state_get_name):
4671 Remove unreachable line.
4672 * gst/gstxml.c: (gst_xml_parse_doc):
4674 All these caught by Forte.
4676 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4678 Patch by: Josep Torre Valles <josep@fluendo.com>
4680 * common/m4/gst-error.m4:
4682 We need to disable warnings on Forte for empty declarations
4683 due to gst-indent adding ;s to lines that just use macros
4684 where the macro actually doesn't need a ; at end to end
4687 2006-10-06 Wim Taymans <wim@fluendo.com>
4689 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4690 (gst_file_sink_close_file), (gst_file_sink_event),
4691 (gst_file_sink_render):
4692 Add some FIXME for the NEWSEGMENT handling.
4694 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4696 * gst/parse/grammar.y:
4697 Remove static function gst_parse_element_lock as all it does
4698 is return. Looks like cruft from 0.8.
4700 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4702 Patch by: Josep Torre Valles <josep@fluendo.com>
4704 * common/m4/gst-error.m4:
4706 * libs/gst/net/Makefile.am:
4707 Fix a compilation issue with Forte on Solaris. inet_aton is in
4710 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4712 * gst/gstpad.c: (pre_activate):
4713 * gst/gstregistry.c: (gst_registry_scan_path_level):
4714 * gst/gstregistryxml.c: (load_plugin):
4715 * libs/gst/controller/gstcontroller.c:
4716 (gst_controlled_property_set_interpolation_mode):
4717 * libs/gst/dataprotocol/dataprotocol.c:
4718 (gst_dp_packet_from_event_1_0):
4719 * libs/gst/net/gstnetclientclock.c:
4720 (gst_net_client_clock_observe_times):
4721 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4724 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
4727 * docs/gst/gstreamer-sections.txt:
4728 * gst/gstconfig.h.in:
4731 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
4732 whether we can use G_GNUC_PRINTF in other header files and at
4733 least check the printf format/arguments of debug messages and
4734 GST_ELEMENT_ERROR messages when the printf extension is not
4736 Replace more tabs with spaces in gstinfo.h and remove two spurious
4737 function declarations in GST_DISABLE_DEBUG part with macros.
4739 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
4741 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
4742 More docs for the sync-message signal (mention that it is not
4743 emitted by default); log message structures of messages posted on
4746 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
4748 * gst/gst.c: (ensure_current_registry_forking):
4749 Use a pipe pair to receive status results from the forked child, and
4750 ignore the result from waitpid. Fixes #355499
4752 2006-10-02 Wim Taymans <wim@fluendo.com>
4754 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
4755 (gst_ghost_pad_suite):
4758 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4761 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
4763 2006-10-02 Edward Hervey <edward@fluendo.com>
4765 * docs/design/part-block.txt:
4766 Further explain the use of flushing on blocked pads.
4767 * docs/gst/gstreamer-sections.txt:
4768 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
4769 (gst_pad_push_event):
4771 Added new GstPadFlag : GST_PAD_BLOCKING.
4772 Adds the notion of pads really blocking, which enables to properly
4773 handle FLUSH_START/FLUSH_STOP events on blocked pads.
4775 API: gst_pad_is_blocking()
4776 API: GST_PAD_IS_BLOCKING() macro
4777 API: GST_PAD_BLOCKING GstPadFlag
4779 2006-10-02 Wim Taymans <wim@fluendo.com>
4781 Patch by: mrcgran <mrc.gran at gmail dot com>
4783 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
4784 Filter the proxied caps against the padtemplate if we have one.
4786 * gst/gstquery.c: (gst_query_new_segment):
4787 Add include for gstinfo.h so that compilation with
4788 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
4790 2006-10-02 Wim Taymans <wim@fluendo.com>
4792 Patch by: Alessandro Decina <alessandro at nnva org>
4794 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
4795 (gst_file_sink_set_location), (gst_file_sink_open_file),
4796 (gst_file_sink_close_file), (gst_file_sink_event),
4797 (gst_file_sink_render):
4798 Set file to NULL when closing filesink so that we can set a new filename
4799 in READY. Fixes #358613.
4801 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4803 Patch by: Alessandro Decina <alessandro at nnva org>
4805 * gst/gstevent.c: (_gst_event_copy):
4806 Fix gst_mini_object_make_writable() and gst_event_copy() for events
4807 with event structures by setting the parent refcount address of the
4808 copied structure to the address of the refcount member of the newly
4809 copied event rather than the address of the refcount member of the
4810 original event. Fixes #358737.
4812 * tests/check/gst/gstevent.c: (GST_START_TEST):
4813 Unit test for the above.
4815 2006-09-29 Stefan Kost <ensonic@users.sf.net>
4817 * docs/design/Makefile.am:
4818 Dist some more files.
4820 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4822 * tests/check/libs/controller.c: (GST_START_TEST),
4823 (gst_controller_suite):
4824 Add test for the previous fix; add some more tests
4825 for correct refcounting behaviour; fix a few leaks
4826 in test cases; call gst_controller_init() at start
4829 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
4831 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4832 (gst_controller_set_from_list):
4833 Don't g_return_val_if_fail() on timed values with invalid timestamps
4834 inside a critical section without unlocking the mutex. Spotted by
4835 René Stadler. (#357617)
4836 Also, fix up refcounting properly: when returning an existing
4837 controller, we should increase the reference only once and not
4838 once per property and when trying to control a property again
4839 we should also increase the refcount.
4841 2006-09-29 Wim Taymans <wim@fluendo.com>
4843 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
4844 * libs/gst/net/gstnettimeprovider.c:
4845 (gst_net_time_provider_thread):
4846 Stop reading commands when EOF as well.
4848 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4849 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4850 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4851 Unify description of the dump property.
4853 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4855 * tests/examples/manual/.cvsignore:
4856 OK, so it's actually cvsignore that needs changing. Stop laughing.
4858 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4860 * tests/examples/manual/Makefile.am:
4861 Gah, declare vars *before* using them
4863 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4865 * gst/gst.c: (init_pre), (scan_and_update_registry),
4866 (ensure_current_registry_nonforking),
4867 (ensure_current_registry_forking), (ensure_current_registry),
4868 (init_post), (gst_debug_help), (gst_deinit):
4869 * gst/gst_private.h:
4870 * gst/gstregistry.c: (gst_registry_finalize),
4871 (gst_registry_remove_features_for_plugin_unlocked),
4872 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4873 (gst_registry_scan_path),
4874 (_priv_gst_registry_remove_cache_plugins),
4875 (_priv_gst_registry_cleanup):
4876 * gst/gstregistry.h:
4877 Re-commit the registry changes, along with an extra fix:
4878 When a cached plugin is encountered at a different file path,
4879 update the stored path in the registry cache so that the parent
4880 process knows where it actually is now when it re-reads the registry
4881 cache. Fixes the thing that broke distcheck with the previous commit.
4883 * tests/check/Makefile.am:
4884 Clean up files named 'core' too when running make clean.
4886 * tests/examples/manual/Makefile.am:
4887 Set up a registry path for running these tests, and clean it properly
4890 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
4893 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
4894 want gmodule-no-export-2.0.pc instead so that we don't drag in
4895 --export-dynamic on every project that links to GStreamer.
4897 Also, make our export regex only match the start of symbols, rather
4898 than any symbol that contains '_gst' somewhere.
4900 * libs/gst/check/Makefile.am:
4901 The libgstcheck we build does however need export-dynamic, as it
4902 produces some symbols that don't match our _gst... style regex.
4905 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4907 * gst/gst.c: (init_pre), (scan_and_update_registry),
4908 (ensure_current_registry_nonforking),
4909 (ensure_current_registry_forking), (ensure_current_registry),
4910 (init_post), (gst_debug_help), (gst_deinit):
4911 * gst/gst_private.h:
4912 * gst/gstregistry.c: (gst_registry_finalize),
4913 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4914 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
4915 (_gst_registry_cleanup):
4916 * gst/gstregistry.h:
4917 Revert previous change until I figure out why it breaks distcheck.
4919 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
4921 * gst/gst.c: (init_pre), (scan_and_update_registry),
4922 (ensure_current_registry_nonforking),
4923 (ensure_current_registry_forking), (ensure_current_registry),
4924 (init_post), (gst_debug_help), (gst_deinit):
4926 Make init_pre and init_post take the full complement of GOptionFunc
4927 args so they can return useful GErrors. Make the registry updating
4930 Call _priv_gst_registry_remove_cache_plugins after scanning files to
4931 ensure that the registry we're about to write out doesn't contain
4932 stale information about old-deleted plugin files.
4934 Make _priv_gst_registry_remove_cache_plugins return a boolean so
4935 that deletion of plugin files is considered a registry change.
4937 * gst/gst_private.h:
4938 * gst/gstregistry.c: (gst_registry_finalize),
4939 (gst_registry_remove_features_for_plugin_unlocked),
4940 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
4941 (gst_registry_scan_path),
4942 (_priv_gst_registry_remove_cache_plugins),
4943 (_priv_gst_registry_cleanup):
4944 * gst/gstregistry.h:
4945 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
4946 by adding _priv prefix, so that they won't appear in the global
4947 symbol table. They still do atm though because of #318031. Move the
4948 prototypes to gst_private.h
4950 When removing a plugin, remove all features for that plugin too.
4953 2006-09-27 Wim Taymans <wim@fluendo.com>
4955 * docs/random/moving-plugins:
4956 Make it clear that the "compiled-in descriptions" really mean
4957 the element details.
4959 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4960 (gst_base_sink_wait_preroll):
4963 * docs/libs/gstreamer-libs-sections.txt:
4964 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4965 (gst_base_src_get_range), (gst_base_src_activate_push):
4966 * libs/gst/base/gstbasesrc.h:
4967 Added function to block while waiting for PLAYING, this function
4968 is used by live sources that block on the clock.
4969 API: gst_base_src_wait_playing()
4971 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4973 Patch by: Peter Kjellerstedt <pkj at axis com>
4976 gst-element-check.m4 is generated and should therefore be
4977 copied from the build dir rather than the source dir (#357593).
4978 'make distcheck' hasn't noticed this because we were disting
4979 the file as well, so stop doing that.
4981 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
4983 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4984 Add some tests for gst_caps_intersect().
4986 * tools/gst-launch.c: (event_loop):
4987 Print all buffering percentages we get, even the 100% one.
4989 2006-09-26 Wim Taymans <wim@fluendo.com>
4991 * tools/gst-inspect.c: (print_element_properties_info),
4992 (print_signal_info):
4993 Fix printing of flags to match the look of enums.
4995 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
4997 * gst/gstelementfactory.c:
4998 Fix typo in docs blurb.
5000 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5002 * gst/gsturi.c: (search_by_entry):
5003 Don't assert/crash here if a uri handler doesn't return any
5004 supported protocols. The list of protocols could be generated
5005 dynamically at runtime or at plugin registration, and an error
5006 in the underlying library shouldn't be fatal (#353301).
5008 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
5011 Fix warning if HAVE_PRINTF_EXTENSION is undefined
5012 (spotted by Peter Kjellerstedt).
5014 2006-09-23 Wim Taymans <wim@fluendo.com>
5016 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
5018 * libs/gst/base/gstbasesrc.c:
5019 (gst_base_src_default_check_get_range), (gst_base_src_start),
5020 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5021 (gst_base_src_change_state):
5022 Match _start/_stop calls in the activate functions. Remove redundant
5023 _stop call from the state change function. Fixes #356910.
5024 Turn failure DEBUG into ERROR.
5026 2006-09-22 Wim Taymans <wim@fluendo.com>
5028 * docs/design/part-buffering.txt:
5029 * gst/gstmessage.c: (gst_message_new_buffering),
5030 (gst_message_parse_buffering):
5031 Update docs about buffering.
5033 * docs/design/part-trickmodes.txt:
5036 2006-09-22 Stefan Kost <ensonic@users.sf.net>
5038 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5039 (gst_controller_new_list):
5040 Ref instances when returning them again (fixes #357180)
5042 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
5044 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
5045 Don't forget to release proxy lock when there's an error.
5047 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
5050 Add extra initialisers for Caps things, to fix some plugin warnings
5053 2006-09-18 Wim Taymans <wim@fluendo.com>
5055 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5056 Also set template on the internal pad so that a getcaps from the
5057 target pad returns the template caps.
5059 2006-09-18 Wim Taymans <wim@fluendo.com>
5061 * gst/gstelement.c: (gst_element_post_message),
5062 (gst_element_dispose):
5063 Use _DEBUG_OBJECT some more.
5065 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5068 * tools/gst-launch.c: (main):
5069 If the toplevel element is not a GstPipeline, it must be put in a
5070 pipeline so that a bus and clock is selected.
5072 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5074 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5075 JITTER, RATE, and LATENCY query should be handled by the
5076 default case and not by the CONVERT query code.
5078 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
5080 * gst/gstformat.c: (gst_format_register):
5081 Fix locking order (must take lock before using n_values).
5083 * gst/gstvalue.c: (gst_value_serialize_enum),
5084 (gst_value_deserialize_enum_iter_cmp),
5085 (gst_value_deserialize_enum):
5086 Fix serialisation/deserialisation of custom registered GstFormats.
5088 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5089 Unit test for custom format serialisation/deserialisation.
5091 2006-09-17 Stefan Kost <ensonic@users.sf.net>
5093 * docs/pwg/building-boiler.xml:
5094 * plugins/elements/gstcapsfilter.c:
5095 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
5098 2006-09-16 Edward Hervey <edward@fluendo.com>
5100 * libs/gst/base/gstbasetransform.c:
5101 (gst_base_transform_buffer_alloc):
5102 Check if requested caps are the same as the sinks caps IF
5103 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
5105 This fixes the renegotiation issues stated in #352827.
5107 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5110 * docs/manual/advanced-autoplugging.xml:
5111 * tests/examples/Makefile.am:
5112 * tests/examples/manual/.cvsignore:
5113 * tests/examples/manual/Makefile.am:
5114 * tests/examples/manual/extract.pl:
5115 Extract the manual examples again like we used to do.
5118 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
5120 * win32/common/config.h:
5123 2006-09-16 Stefan Kost <ensonic@users.sf.net>
5126 Documents how to receive errors.
5128 2006-09-15 Wim Taymans <wim@fluendo.com>
5130 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
5131 (event_loop), (main):
5132 Added some comments here and there.
5133 Post an application message when an interrupt is caught instead of doing
5134 an uncontrolled state change.
5135 Clean up the event loop.
5136 Handle buffering messages, pause/resume the pipeline.
5137 Make shutdown because of an interrupt more reliable.
5139 2006-09-15 Wim Taymans <wim@fluendo.com>
5141 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5142 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
5143 (gst_base_sink_preroll_object):
5144 Make sure that our internal state is correct when we commit our state
5145 asynchronously. This solves a race where a state change to PLAYING
5146 could cause the sink to remain blocked in preroll in some situations.
5148 2006-09-15 Wim Taymans <wim@fluendo.com>
5150 * tools/gst-inspect.c: (print_element_properties_info),
5151 (print_signal_info):
5152 List flags as hex so it's easier to deal with.
5154 2006-09-15 Wim Taymans <wim@fluendo.com>
5156 * docs/libs/gstreamer-libs-sections.txt:
5157 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5158 (gst_base_sink_do_sync):
5159 * libs/gst/base/gstbasesink.h:
5160 Expose logic to wait for preroll so that subclasses such as audiosink
5161 can also use this method.
5162 API: gst_base_sink_wait_preroll()
5164 2006-09-15 Wim Taymans <wim@fluendo.com>
5166 * gst/gstobject.c: (gst_object_set_parent):
5167 * gst/gstpipeline.c: (do_pipeline_seek):
5168 Small cleanups in docs and code.
5170 * gst/gstsegment.c: (gst_segment_clip):
5171 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5172 if stop == start and start is in the segment, no clipping should be
5173 done. Also add a test for this.
5175 2006-09-15 Wim Taymans <wim@fluendo.com>
5177 * docs/design/part-buffering.txt:
5178 * docs/gst/gstreamer-sections.txt:
5179 * gst/gstmessage.c: (gst_message_new_buffering),
5180 (gst_message_parse_buffering):
5182 Added methods to create and parse BUFFERING messages.
5183 Added preliminary docs about buffering.
5184 API: gst_message_new_buffering
5185 API: gst_message_parse_buffering
5187 2006-09-06 Wim Taymans <wim@fluendo.com>
5190 Update documentation.
5192 * gst/gstelement.c: (gst_element_class_init),
5193 (gst_element_release_request_pad), (gst_element_set_clock),
5194 (gst_element_get_index), (gst_element_add_pad),
5195 (gst_element_remove_pad), (gst_element_get_random_pad),
5196 (gst_element_send_event), (gst_element_get_query_types),
5197 (gst_element_query), (gst_element_post_message),
5198 (gst_element_message_full), (gst_element_continue_state),
5199 (gst_element_lost_state), (gst_element_save_thyself),
5200 (gst_element_restore_thyself):
5201 Documentation updates.
5202 Rename last bit of the new-pad -> pad-added signal rename.
5203 Fix the case where an element query would only work if the source
5205 Avoid some useless type checking in message handling.
5210 Documentation updates.
5212 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5214 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5215 add an INFO line for when we actually update the fd
5217 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5222 === release 0.10.10 ===
5224 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
5227 releasing 0.10.10, "Pais"
5229 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
5231 * docs/manual/advanced-position.xml:
5232 Fix typo in sample code.
5234 2006-09-05 Wim Taymans <wim@fluendo.com>
5236 * libs/gst/net/gstnetclientclock.c: (inet_aton),
5237 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
5238 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
5239 * libs/gst/net/gstnetclientclock.h:
5240 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5241 * libs/gst/net/gstnettimepacket.h:
5242 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
5243 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
5244 (gst_net_time_provider_thread), (gst_net_time_provider_new):
5245 * libs/gst/net/gstnettimeprovider.h:
5246 Make stuff compile on windows. Fixes #345295.
5248 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5250 * gst/gst.c: (ensure_current_registry_forking):
5251 Print better details when child was terminated by signal.
5253 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
5255 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
5256 Print a warning rather than g_assert() if a plugin feature
5257 is a URI handler but returns no protocols (#353976).
5259 2006-09-02 Stefan Kost <ensonic@users.sf.net>
5261 * docs/random/moving-plugins:
5264 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
5266 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
5267 Fix locking order, handle NULL function values properly.
5272 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
5273 Initialise variable before using it and fix debug statement to
5274 print the address of the function rather than the address of the
5275 variable on the stack holding the address of the function.
5277 2006-09-01 Wim Taymans <wim@fluendo.com>
5279 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
5280 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
5281 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5282 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
5283 (gst_ghost_pad_parent_unset),
5284 (gst_ghost_pad_internal_do_activate_push),
5285 (gst_ghost_pad_internal_do_activate_pull),
5286 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5287 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5288 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5289 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
5290 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
5291 (gst_ghost_pad_new_no_target_from_template),
5292 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5294 Avoid needless typechecking in macros.
5295 Since the internal pad is always present and never changes, there is
5296 no need to locking or ref when retrieving it.
5297 Improve debugging a bit.
5298 Handle link errors when setting the target. Fixes #341029.
5300 2006-09-01 Wim Taymans <wim@fluendo.com>
5302 * docs/libs/gstreamer-libs-sections.txt:
5303 * docs/plugins/gstreamer-plugins-sections.txt:
5306 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
5307 (gst_collect_pads_event):
5308 * libs/gst/base/gstcollectpads.h:
5309 Documentation updates.
5310 Free queued buffer when removing a pad.
5312 2006-08-31 Michael Smith <msmith@fluendo.com>
5314 * gst/gstutils.c: (gst_element_link_pads),
5315 (gst_element_link_pads_filtered):
5316 Ensure that we set a capsfilter to NULL if we failed to link it
5317 when doing filtered linking, to avoid criticals.
5319 No need to check for unreffing srcpad, which is explicly NULLed
5320 above (a trivial code cleanup).
5322 2006-08-31 Wim Taymans <wim@fluendo.com>
5324 * docs/design/part-gstghostpad.txt:
5325 Update ascii art in documentation.
5327 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
5328 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
5329 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
5330 (gst_ghost_pad_internal_do_activate_push),
5331 (gst_ghost_pad_internal_do_activate_pull),
5332 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5333 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5334 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
5335 (gst_ghost_pad_set_target):
5336 Small cleanups and leak fixes.
5337 Remove some checks now that the internal pad is never NULL.
5338 Fix the case where linking pads without a target would create nasty
5339 criticals. Fixes #341029.
5340 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
5341 value of _set_target().
5343 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5344 (gst_ghost_pad_suite):
5345 Some more tests for creating and linking untargeted ghostpads.
5347 2006-08-31 Edward Hervey <edward@fluendo.com>
5349 * docs/gst/gstreamer-sections.txt:
5350 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
5351 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
5352 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
5353 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
5354 (gst_ghost_pad_new_from_template),
5355 (gst_ghost_pad_new_no_target_from_template):
5356 * gst/gstghostpad.h:
5357 Refactored *_new() functions.
5358 Templates are now used as a g_object_new() parameter.
5359 Use template in _do_getcaps() if we don't have a target.
5360 Small documentation cleanups.
5361 Added two new constructors:
5362 gst_ghost_pad_new_from_template()
5363 gst_ghost_pad_new_no_target_from_template()
5364 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
5365 (gst_ghost_pad_suite):
5366 Added tests for new ghostpad instanciation functions.
5368 API additions: gst_ghost_pad_new_from_template,
5369 gst_ghost_pad_new_no_target_from_template
5371 2006-08-30 Stefan Kost <ensonic@users.sf.net>
5373 * docs/random/ensonic/profiling.txt:
5374 Ideas about qos profiling.
5376 2006-08-29 Wim Taymans <wim@fluendo.com>
5378 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
5382 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
5385 Improve and detypofy docs.
5387 * tests/check/Makefile.am:
5388 * tests/check/gst/.cvsignore:
5389 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
5390 Add a basic test suite for GstXML.
5392 2006-08-29 Wim Taymans <wim@fluendo.com>
5394 * gst/gstelement.c: (activate_pads), (clear_caps),
5395 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
5396 Clear the pad caps when the element shut down all of the pads and
5397 is not streaming data that could modify the caps.
5400 2006-08-28 Michael Smith <msmith@fluendo.com>
5402 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5403 Revert previous change; I misunderstood single-segment mode.
5405 2006-08-28 Michael Smith <msmith@fluendo.com>
5407 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5408 Unset DISCONT on buffers when using single-segment mode.
5410 2006-08-28 Wim Taymans <wim@fluendo.com>
5412 * gst/gstcaps.c: (gst_caps_merge_structure):
5414 Fix docs and indentation again.
5416 * tests/check/gst/gstquery.c: (GST_START_TEST):
5417 Fix leak in tests and add some more tests.
5419 2006-08-28 Edward Hervey <edward@fluendo.com>
5421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5422 Inform GstSegment of the last stop position in order for the current
5423 segment to have a proper duration if it doesn't have a specific stop
5424 position from which a duration could be calculated.
5425 This bug was noticeable when a non-flushing, non-update new segment was
5426 followed by another segment (all buffers from the new segment were being
5429 2006-08-28 Wim Taymans <wim@fluendo.com>
5431 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
5432 Small comment update.
5434 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5435 (gst_identity_transform_ip):
5436 Drop-probability is broken, mention this in the code with a
5437 FIXME and also in the property description.
5438 Make silent also be silent about the drop messages.
5440 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
5442 * docs/manual/appendix-win32.xml:
5443 Remove mention of popt, we don't depend on that any
5444 longer (#353136). Add some comments pointing out that
5445 this section is slightly outdated.
5447 2006-08-28 Wim Taymans <wim@fluendo.com>
5449 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5451 * gst/gstquery.c: (gst_query_new_segment):
5452 * tests/check/gst/gstquery.c: (GST_START_TEST):
5453 Initialize variables when creating a new segment query.
5456 2006-08-28 Wim Taymans <wim@fluendo.com>
5458 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
5460 * gst/gstelement.c: (gst_element_get_bus):
5461 * tests/check/gst/gstelement.c: (GST_START_TEST):
5462 Check for NULL before _reffing the bus. Fixes #353122.
5464 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
5466 * docs/manual/basics-bus.xml:
5467 Docs update: fix wrong callback return value explanation; add
5468 some lines about the implicit relationship between main loop
5469 and main context; remove duplicate main loop variable declaration.
5471 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
5473 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5474 Don't leak caps in unit test; add a few more simple
5477 2006-08-24 Stefan Kost <ensonic@users.sf.net>
5479 * docs/gst/gstreamer-sections.txt:
5480 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
5481 (gst_caps_structure_is_subset), (gst_caps_merge),
5482 (gst_caps_merge_structure):
5484 * libs/gst/base/gstbasetransform.c:
5485 (gst_base_transform_transform_caps):
5486 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5487 implement caps merging (fixes #352580)
5489 2006-08-23 Stefan Kost <ensonic@users.sf.net>
5491 * tools/Makefile.am:
5492 * tools/gst-plot-timeline.py:
5493 add debug-log plotting developer tool (#340674)
5495 2006-08-23 Wim Taymans <wim@fluendo.com>
5497 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
5498 (gst_pad_stop_task):
5499 Improve debugging for task functions.
5501 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
5502 (gst_task_start), (gst_task_pause), (gst_task_join):
5503 Make sure that the task function started and finished after a
5505 Don't try to push the task function on the threadpool multiple
5507 Improve the g_warning message with some useful suggestions
5508 about how to fix the problem.
5510 2006-08-23 Wim Taymans <wim@fluendo.com>
5512 * gst/gstutils.c: (gst_pad_proxy_getcaps):
5513 Handle RESYNC correctly in _proxy_getcaps.
5515 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
5517 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
5518 (gst_xml_parse_memory), (gst_xml_get_element):
5519 Chain up to parent class in dispose function and also
5520 unref the elements in the toplevel_elements GList.
5521 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
5522 Always return a reference in gst_xml_get_element() rather
5523 than only sometimes.
5525 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5526 Don't leak GstXml object.
5528 2006-08-21 Stefan Kost <ensonic@users.sf.net>
5530 * docs/gst/gstreamer-sections.txt:
5531 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
5534 * libs/gst/base/gstbasetransform.c:
5535 (gst_base_transform_transform_caps):
5536 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
5539 2006-08-21 Edward Hervey <edward@fluendo.com>
5541 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
5542 Implement GObject::dispose virtual method in GstXML so we can free the
5545 2006-08-21 Wim Taymans <wim@fluendo.com>
5547 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
5548 (gst_buffer_create_sub):
5549 Copy duration/offset_end/caps when creating a subbuffer of the
5551 Make the subbuffer read-only when we make the metadata writable for
5554 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5555 Added check for metadata copy when creating subbuffers.
5557 2006-08-21 Edward Hervey <edward@fluendo.com>
5559 * libs/gst/base/gstbasetransform.c:
5560 (gst_base_transform_buffer_alloc):
5561 Only call downstream buffer_alloc if transform element is passthrough
5562 or always_in_place. Closes #350449.
5564 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5567 ChangeLog surgery to add comments to previous changes
5569 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5574 * gst/gstpad.c: (gst_pad_set_active):
5575 Be more verbose in the log
5577 * libs/gst/base/gstbasetransform.c:
5578 (gst_base_transform_transform_caps):
5579 Simplify caps to get rid of duplicates, fixes #345444
5581 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5585 Use these optimizations only internally.
5587 2006-08-20 Stefan Kost <ensonic@users.sf.net>
5589 * gst/gstvalue.c: (gst_value_compare_list),
5590 (gst_value_compare_fraction_range),
5591 (gst_value_intersect_fraction_fraction_range),
5592 (gst_value_intersect_fraction_range_fraction_range),
5593 (gst_value_subtract_fraction_fraction_range),
5594 (gst_value_subtract_fraction_range_fraction_range),
5595 (gst_value_get_compare_func), (gst_value_compare),
5596 (gst_value_compare_with_func):
5598 Saves the expensive lookup of the compare function in many cases
5601 2006-08-18 Edward Hervey <edward@fluendo.com>
5603 * tests/check/gst/gstinfo.c: (gst_info_suite):
5604 Disable test that require gstdebug if it wasn't built in core.
5606 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5608 * docs/random/ensonic/logging.txt:
5611 * gst/gstinfo.c: (gst_debug_log_default):
5612 reorder fields, save some columns, add optional color codes for log
5615 2006-08-18 Stefan Kost <ensonic@users.sf.net>
5617 * docs/random/ensonic/logging.txt:
5618 add ideas about making the logs a bit more useful
5620 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5622 * docs/pwg/advanced-events.xml:
5623 * docs/pwg/titlepage.xml:
5624 Update for 0.10 API (#340627). Add myself
5627 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
5629 * docs/libs/gstreamer-libs-docs.sgml:
5630 * docs/libs/gstreamer-libs-sections.txt:
5631 * libs/gst/check/gstbufferstraw.c:
5632 Make gstcheck stuff show up in docs (still needs to
5633 be documented properly though).
5635 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
5637 * docs/gst/gstreamer-sections.txt:
5639 * gst/gst.c: (init_post):
5640 * gst/gst_private.h:
5641 * gst/gstquark.c: (_priv_gst_quarks_initialize):
5643 * gst/gstquery.c: (gst_query_new_position),
5644 (gst_query_set_position), (gst_query_parse_position),
5645 (gst_query_new_duration), (gst_query_set_duration),
5646 (gst_query_parse_duration), (gst_query_new_convert),
5647 (gst_query_set_convert), (gst_query_parse_convert),
5648 (gst_query_new_segment), (gst_query_set_segment),
5649 (gst_query_parse_segment), (gst_query_new_seeking),
5650 (gst_query_set_seeking), (gst_query_parse_seeking):
5651 Add internal helpers for pre-registering quarks from static strings
5652 and using the quark values directly instead of looking them up when
5653 creating and parsing queries. Can be used for event construction too.
5656 2006-08-16 Wim Taymans <wim@fluendo.com>
5661 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5663 * gst/gstutils.c: (gst_util_set_value_from_string):
5664 Fix memleak (#351502).
5666 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5667 Add unit test for most of gst_util_set_value_from_string()
5668 (not that one would want to encourage use of this function).
5670 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5672 * libs/gst/check/gstcheck.h:
5673 Use const gchar * variables in fail_unless_equals_string
5674 macro to avoid compiler warnings (and don't use tabs for
5677 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5679 * tools/gst-launch.c: (print_tag):
5680 More space on the left for the tag names, to cater
5681 for the 'extended comment' tag (not touching the
5682 string for the first line since it's translated).
5684 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
5686 * libs/gst/check/gstcheck.h:
5687 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
5688 print something when they fail.
5690 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5692 * docs/gst/gstreamer-sections.txt:
5693 * gst/gsttaglist.c: (_gst_tag_initialize):
5695 API: add GST_TAG_EXTENDED_COMMENT (#350935).
5696 Also change merge function for GST_TAG_COMMENT to
5699 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5701 * gst/gstinfo.c: (gst_debug_print_object):
5702 Make GST_PTR_FORMAT print messages as well.
5704 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
5705 (GST_START_TEST), (gst_info_suite):
5708 2006-08-14 Edward Hervey <edward@fluendo.com>
5710 * gst/gstelementfactory.c: (gst_element_register):
5711 If the GstElementClass doesn't have a GstElementDetails with all fields
5712 filled up correctly (longname, description AND author), then error out
5713 nicely instead of crashing.
5715 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
5717 * gst/gststructure.c:
5718 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
5721 Expand on the difference between arrays and lists as we use them.
5723 2006-08-14 Wim Taymans <wim@fluendo.com>
5725 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5726 If the parent state change function failed, don't assume we can safely
5727 stop the source, this will be done when the pads are deactivated.
5729 2006-08-14 Wim Taymans <wim@fluendo.com>
5732 * gst/gsttask.c: (gst_task_join):
5735 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5736 (gst_pad_stop_task):
5737 When pad (de)activation failed for some reason, restore the old
5738 activation mode and set the pad to flushing instead of assuming the
5740 If the _task_join() failed, reinstall the task on the pad so that it can
5741 be stopped later and return an error.
5743 2006-08-11 Andy Wingo <wingo@pobox.com>
5746 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5747 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
5748 is only for users of API that don't want to see deprecated
5749 functions in the headers; people that want to compile out
5750 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
5751 CFLAGS. Fixes the build of multifdsink, or will soon..
5753 2006-08-11 Wim Taymans <wim@fluendo.com>
5755 * docs/gst/gstreamer-sections.txt:
5756 Add GstClockClass vmethod docs.
5759 Mark #endif with comment for associated #if
5761 * gst/gstclock.c: (gst_clock_id_wait):
5763 Add vmethod wait_jitter to avoid an unneeded _get_time() for
5764 most clock implementations.
5766 Flesh out docs about resolution methods.
5767 API: GstClockClass::wait_jitter
5769 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5770 (gst_system_clock_async_thread),
5771 (gst_system_clock_id_wait_jitter_unlocked),
5772 (gst_system_clock_id_wait_jitter):
5773 Use base class wait_jitter variant for improved performance
5774 due to less clock polling.
5776 2006-08-11 Edward Hervey <edward@fluendo.com>
5778 * gst/gst.c: (gst_init_check), (init_post):
5779 Set gst as being initialized before scanning/updating the registry,
5780 since there might be my python plugin loader that calls gst_init() and
5781 we don't want to loop back in.
5784 2006-08-11 Wim Taymans <wim@fluendo.com>
5786 * docs/design/part-qos.txt:
5787 Bring docs in line with the code. Mostly the sign of the jitter was
5788 wrong in the docs. Fixes #349943.
5791 Fix the docs for the jitter.
5793 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
5794 (gst_event_parse_tag), (gst_event_new_buffer_size),
5795 (gst_event_parse_buffer_size), (gst_event_parse_qos),
5796 (gst_event_new_seek), (gst_event_parse_seek),
5797 (gst_event_new_navigation):
5798 Make sure the GstStructure has no parent when creating custom
5800 Add some more argument checking so that we avoid 0.0 rates.
5801 Flesh out the docs for the QoS event some more.
5803 2006-08-11 Wim Taymans <wim@fluendo.com>
5805 * docs/gst/gstreamer-sections.txt:
5806 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5807 (ensure_current_registry_forking), (ensure_current_registry),
5808 (parse_one_option), (parse_goption_arg), (gst_deinit),
5809 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
5812 Added API and command line option to disable registry forking in
5813 addition to the environment variable.
5814 Constify some static arrays.
5815 Added some more debug.
5817 API: gst_registry_fork_is_enabled()
5818 API: gst_registry_fork_set_enabled()
5819 API: --gst-disable-registry-fork command line option
5822 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
5824 * gst/gst.c: (gst_init):
5825 Fix typo in error message.
5827 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5829 * libs/gst/controller/gstcontroller.h:
5830 fix ABI size-correction
5832 * tests/check/libs/gdp.c: (gst_dp_suite):
5833 make tests that use deprecated API conditional
5835 2006-08-10 Stefan Kost <ensonic@users.sf.net>
5837 * docs/libs/gstreamer-libs-sections.txt:
5838 * libs/gst/controller/gstcontroller.c:
5839 (_gst_controller_get_property), (_gst_controller_set_property),
5840 (_gst_controller_init), (_gst_controller_class_init):
5841 * libs/gst/controller/gstcontroller.h:
5842 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
5843 (gst_object_set_control_rate):
5844 API: add gst_object_{s,g}et_control_rate(), add private data section,
5847 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
5848 * libs/gst/dataprotocol/dataprotocol.h:
5849 add deprecation guards to make gtk-doc happy and allow disabling cruft
5851 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
5853 * tests/check/Makefile.am:
5854 * tests/check/gst/.cvsignore:
5855 Let's enable the new unit test as well.
5857 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
5860 * docs/gst/gstreamer-sections.txt:
5861 * gst/gstconfig.h.in:
5862 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
5863 (_gst_info_printf_extension_ptr),
5864 (_gst_info_printf_extension_segment):
5865 API: add GST_SEGMENT_FORMAT, which is a printf extension we
5866 register that lets us easily dump GstSegments into debug
5869 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
5870 (info_segment_format_printf_extension), (gst_info_suite):
5871 Add simple unit test that logs a bunch of different segments (not
5872 valgrinded at the moment because of leaks in
5873 gst_debug_add_log_function).
5875 2006-08-09 Edward Hervey <edward@fluendo.com>
5877 * libs/gst/base/gstbasetransform.c:
5878 (gst_base_transform_buffer_alloc):
5879 Even if we can't figure out the proper format to request downstream,
5880 call buffer_alloc() downstream with the input parameters without setting
5881 the caps on the srcpad. This will force negotiation in the chain
5885 2006-08-08 Edward Hervey <edward@fluendo.com>
5887 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5888 Unlinking from a pad without a target is now a perfectly valid case
5889 which should NOT raise an assertion.
5890 This case would happen if a linked ghostpad its target set to NULL after
5891 it was previously linked.
5893 2006-08-08 Edward Hervey <edward@fluendo.com>
5895 * tests/check/libs/gdp.c:
5896 Also comment out the test (see below).
5898 2006-08-08 Edward Hervey <edward@fluendo.com>
5900 * tests/check/libs/gdp.c: (gst_dp_suite):
5901 Use the architecture information from config.h and not gcc macros
5902 in order to properly disable a test that fails on PPC64.
5904 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
5906 * gst/gstelement.c: (gst_element_remove_pad):
5907 Don't crash printing the warning if the pad has no parent.
5909 2006-08-02 Wim Taymans <wim@fluendo.com>
5911 * libs/gst/dataprotocol/dataprotocol.c:
5912 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
5913 (gst_dp_crc), (gst_dp_header_payload_length),
5914 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
5915 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
5916 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
5917 (gst_dp_event_from_packet), (gst_dp_validate_header),
5918 (gst_dp_validate_payload):
5919 Make debug category static
5920 Constify the crc table.
5921 Do some more arg checking in public functions.
5922 Fix some docs and do some small cleanups.
5924 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
5925 Add some more checks to see if GDP deals with bogus input.
5927 2006-07-31 Wim Taymans <wim@fluendo.com>
5929 * gst/gstvalue.c: (gst_value_compare_list):
5930 Fix GstValueList comparison code. Fixes #347293.
5932 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5933 Check to test GstValueList comparison.
5935 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5937 * gst/gstelementfactory.c: (gst_element_factory_create):
5938 Remove unnecessary ref/unref pair
5940 * gst/parse/grammar.y:
5941 Make sure to free the parse buffer on all code paths.
5942 Move a g_free up to the error handler where it's easier to see.
5944 * tests/check/gst/gstevent.c: (test_event):
5945 Extending timeout for downstream travelling events to 10 seconds to
5946 hopefully avoid intermittent failure on the buildbots.
5948 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
5949 Don't manually set the state of the src element - it will happen as a
5950 natural consequence of the pipeline changing state, and that way it
5951 will do it in the right order too.
5953 2006-07-31 Wim Taymans <wim@fluendo.com>
5955 * libs/gst/base/gstbasetransform.c:
5956 (gst_base_transform_buffer_alloc):
5957 Use OBJECT_LOCK and refcounting to get the pad caps in the
5958 buffer_alloc function because the caps could change while we are
5959 busy with them. Fixes #349105
5961 2006-07-31 Wim Taymans <wim@fluendo.com>
5963 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
5964 Protect _PAD_CAPS with OBJECT_LOCK.
5966 2006-07-31 Wim Taymans <wim@fluendo.com>
5968 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5969 (gst_pad_get_property), (gst_pad_activate_pull),
5970 (gst_pad_activate_push), (gst_pad_set_blocked_async),
5971 (gst_pad_set_activate_function),
5972 (gst_pad_set_activatepull_function),
5973 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
5974 (gst_pad_set_getrange_function),
5975 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
5976 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5977 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
5978 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
5979 (gst_pad_set_acceptcaps_function),
5980 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
5981 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
5982 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
5983 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
5984 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
5985 (gst_pad_configure_sink), (gst_pad_configure_src),
5986 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
5987 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
5988 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
5989 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
5990 (gst_pad_send_event):
5991 Use _DEBUG_OBJECT when it makes sense.
5992 Protect GST_PAD_CAPS with the OBJECT_LOCK.
5993 Small cleanups and code reflows.
5994 Avoid caps refcounting in _accept_caps.
5995 Refactor alloc_buffer so that the code performed on the peer is in a
5996 separate function. Also if the pad does not implement a buffer alloc
5997 function, we should still check if the pad is flushing before falling
5998 back to the default allocator.
6000 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6002 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6003 Make all uses of identity and fakesink have silent=true to avoid
6004 serialising every passing data structure, which is breaking tests
6005 on FC4 for some unknown reason.
6007 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6009 * gst/parse/Makefile.am:
6010 * gst/parse/grammar.y:
6011 * gst/parse/parse.l:
6012 Reverted previous patch as it required to bump the flex dependency to
6013 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
6015 2006-07-30 Stefan Kost <ensonic@users.sf.net>
6017 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
6019 * gst/parse/Makefile.am:
6020 * gst/parse/grammar.y:
6021 * gst/parse/parse.l:
6022 push & pop the state of the lexer for reentrant use case
6025 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
6027 * libs/gst/base/gstbasesrc.h:
6028 Note in the docs that the ::newsegment vfunc is not actually used by
6031 2006-07-28 Wim Taymans <wim@fluendo.com>
6033 * libs/gst/base/gstcollectpads.c:
6034 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
6035 (gst_collect_pads_clear), (gst_collect_pads_flush),
6036 (gst_collect_pads_event), (gst_collect_pads_chain):
6037 When flushing a pad, also clear the queued buffer so that we don't
6038 accidentally use it when we shouldn't.
6039 Fix leaks by inreffing incomming buffer.
6040 Flush out queued buffers in case of errors.
6043 2006-07-28 Wim Taymans <wim@fluendo.com>
6045 * docs/random/phonon-gst:
6046 Random notes about a Phonon backend.
6048 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6050 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6052 * tests/check/libs/gdp.c: (gst_dp_suite):
6053 Take a whack at fixing the ppc compile using a different define to
6054 disable the broken test.
6056 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6057 Remove excess g_print()
6059 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6061 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
6062 Oops, meant to uncomment this line too to dampen the noise a bit.
6064 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6066 * gst/parse/grammar.y:
6067 * gst/parse/parse.l:
6068 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6069 (GST_START_TEST), (parse_suite):
6070 Fix some of the leaks exposed by extending the parse-launch testsuite,
6071 and move the 3 I can't figure out into a separate test that won't run
6072 the pipelines unless the appropriate line is uncommented.
6074 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6076 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6077 Requesting 0 bytes before the end of the file should result in
6078 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6081 2006-07-27 Wim Taymans <wim@fluendo.com>
6083 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
6084 Fix useless assert, a uint is always positive.
6086 * gst/gststructure.c: (gst_structure_nth_field_name),
6087 (gst_structure_foreach), (gst_structure_map_in_place):
6088 Check input arguments for public functions to avoid obvious crashes.
6090 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
6091 * plugins/elements/gstfakesink.h:
6092 Do less useless typechecking.
6094 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
6096 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
6097 Do not use mmap() by default since there are a number of error
6098 conditions that we would like to handle in a non-fatal way that
6099 will result in a SIGBUS if we use mmap(). Examples: external
6100 devices (USB harddrive, portable music player) being unplugged
6101 while in use; file on mounted CD/DVD that can't be read because
6102 the medium is partly damaged. Fixes #348455 and #348475.
6104 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
6107 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
6110 2006-07-26 Stefan Kost <ensonic@users.sf.net>
6112 * gst/gstregistry.c:
6113 Move big documentation comment into class section header, so that it
6114 appears in the API docs.
6116 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6118 * docs/gst/gstreamer-sections.txt:
6119 Oops. Commit the docs additions too for new API.
6120 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
6122 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6124 * gst/gststructure.c: (gst_structure_id_set),
6125 (gst_structure_id_set_valist):
6126 * gst/gststructure.h:
6127 Add API for setting values into structures without performing
6128 a quark lookup, if the appropriate quark is already known.
6130 API: gst_structure_id_set
6131 API: gst_structure_id_set_valist
6133 * gst/parse/grammar.y:
6134 * gst/parse/parse.l:
6135 Remove some dead code shown by the coverage information.
6136 Don't throw a critical g_warning when encountering a syntax error,
6137 just warn and let the normal error path handle it.
6139 * plugins/elements/gstelements.c:
6140 Bump the rank of filesink up to PRIMARY so that it is preferred over
6141 gnomevfssink for file:// sink uri's
6143 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
6144 (GST_START_TEST), (run_delayed_test),
6145 (gst_parse_test_element_base_init),
6146 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
6147 (gst_parse_test_element_change_state),
6148 (gst_register_parse_element), (parse_suite):
6149 Beef up the tests for parse syntax to check that more error cases
6150 fail as they are supposed to. Increases the test coverage a bit.
6152 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
6154 * docs/manual/basics-elements.xml:
6155 Fix gst_element_link() example.
6158 Mention in API docs that one should usually gst_bin_add()
6159 elements to a bin or pipeline before doing the linking.
6161 2006-07-26 Wim Taymans <wim@fluendo.com>
6163 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
6164 (gst_subbuffer_get_type), (gst_buffer_create_sub):
6165 Avoid function call for known types by keeping the buffer and
6166 subbuffer GType global.
6168 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6169 Random silly optimisations in read() path.
6171 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6173 * tools/gst-launch.c: (main):
6174 If the top-level of the parse is a normal bin, it doesn't do the
6175 right logic to run as a top-level element, so place it inside a
6178 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
6180 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
6181 Remove superfluous g_object_notify() calls, GObject does
6182 that for us automatically.
6184 2006-07-25 Stefan Kost <ensonic@users.sf.net>
6187 on Win32, use dllspec to export the debug category symbols
6189 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
6191 * gst/gsttaglist.c: (_gst_tag_initialize):
6192 Allow more than one GST_TAG_IMAGE per taglist.
6194 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
6196 * gst/gstminiobject.c:
6198 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
6199 (gst_fd_src_create):
6200 log recurring events at LOG level
6201 add more debug for when the fd gets set
6203 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6205 * gst/gstparse.c: (gst_parse_launch):
6206 Also remove reentrance checks if flex is MT safe (#348179)
6207 Fix my empty ChangeLog entry below
6209 2006-07-21 Andy Wingo <wingo@pobox.com>
6211 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
6213 * libs/gst/check/Makefile.am
6214 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
6215 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
6216 * libs/gst/check/gstbufferstraw.h:
6217 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
6218 functions, thus proving I am still a GStreamer haxor. OK I wrote
6219 them a long time ago, but anyways.
6221 2006-07-21 Stefan Kost <ensonic@users.sf.net>
6224 * gst/gstparse.c: (gst_parse_launch):
6225 Check for flex version and omit mutex if we have a MT save flex
6228 2006-07-21 Wim Taymans <wim@fluendo.com>
6230 * gst/gstparse.c: (gst_parse_launch):
6231 Protect recursive calls to _parse with a recursive mutex
6234 2006-07-21 Wim Taymans <wim@fluendo.com>
6236 * tests/check/gst/gstpad.c: (GST_START_TEST):
6239 2006-07-20 Stefan Kost <ensonic@users.sf.net>
6241 * gst/gstparse.c: (gst_parse_launch):
6242 Do not hang on recursive usage of gst_parse_launch()
6244 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6247 Add some more docs, comments and FIXME 0.11s here and there
6248 and also fix some typos.
6250 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
6253 Convert tabs to spaces for better readability.
6255 2006-07-20 Edward Hervey <edward@fluendo.com>
6257 * tests/check/libs/gdp.c: (gst_dp_suite):
6258 the test_buffer test fails at line 140 on ppc64 at the following
6260 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
6261 GST_BUFFER_FLAG_IN_CAPS),
6262 "GST_BUFFER_IN_CAPS flag should have been copied !");
6263 See bug #348114 for more details.
6265 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
6267 * docs/pwg/advanced-scheduling.xml:
6269 Fix typos (#348000).
6271 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
6273 * docs/pwg/intro-basics.xml:
6274 Fix wrong links (#347927).
6276 2006-07-18 Stefan Kost <ensonic@users.sf.net>
6278 * gst/gstregistry.h:
6279 * gst/gstregistryxml.c: (load_feature),
6280 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
6281 * win32/common/config.h:
6282 make --disable-index work (#342564)
6284 2006-07-18 Wim Taymans <wim@fluendo.com>
6286 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6290 The attached patch adds two missing defines to gsttrace.h when tracing
6291 is disabled. It also corrects one existing define.
6294 2006-07-17 Wim Taymans <wim@fluendo.com>
6296 * docs/gst/gstreamer-sections.txt:
6297 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
6299 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
6300 Add two functions to check and change the SIGSEGV behaviour
6301 when loading plugins.
6302 Don't mess with the SIGSEGV handler when we were told not to.
6304 API: gst_segtrap_is_enabled
6305 API: gst_segtrap_set_enabled
6307 2006-07-14 Wim Taymans <wim@fluendo.com>
6309 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6310 * tests/check/elements/filesrc.c: (GST_START_TEST):
6311 Revert fix for regression in #347408 after release.
6313 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
6315 Patch by: Antoine Tremblay <hexa00 at gmail com>
6317 * gst/gstutils.c: (gst_element_unlink):
6318 Free iterator when done (#347311).
6320 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6321 And add a test case for this.
6323 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
6326 Bump nano back to CVS
6328 === release 0.10.9 ===
6330 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6333 releasing 0.10.9, "On the road again"
6335 2006-07-13 Wim Taymans <wim@fluendo.com>
6337 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6338 * tests/check/elements/filesrc.c: (GST_START_TEST):
6339 Revert pull-0 fix for release. Disable check. Fixes #347408.
6341 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6343 * libs/gst/dataprotocol/dataprotocol.c:
6344 (gst_dp_event_from_packet_1_0):
6345 Fixes #347337: failure to deserialize event packets with
6346 empty payload (only event type)
6348 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6351 do not install a .c file in the header directory
6353 2006-07-13 Edward Hervey <edward@fluendo.com>
6355 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
6356 GhostPad no longer implicitely use the padtemplates of the targets.
6359 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
6361 * gst/gstvalue.c: (gst_value_compare_list),
6362 (gst_value_compare_array), (_gst_value_initialize):
6363 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6364 Make GstValueArray comparison be order dependent as designed.
6365 Add checks for value lists and value array comparisons.
6368 2006-07-11 Edward Hervey <edward@fluendo.com>
6370 * gst/gstbin.c: (activate_pads),
6371 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
6372 (gst_bin_change_state_func):
6373 (de)activate src pads before calling state_change on the childs.
6374 This is to avoid the case where a src ghostpad is blocked (holding the
6375 stream lock), which would block the deactivation of the ghostpad's
6377 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
6378 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
6379 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
6380 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6381 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6382 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6383 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6384 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
6385 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
6386 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6387 (gst_ghost_pad_class_init),
6388 (gst_ghost_pad_internal_do_activate_push),
6389 (gst_ghost_pad_internal_do_activate_pull),
6390 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6391 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6392 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
6393 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
6394 GhostPads now create their internal GstProxyPad at creation (and not
6395 when they're linked, as it was being done previously).
6396 The internal and target pads are linked straight away.
6397 The data will also travel through the other pad in order to make
6398 pad blocking and probes non-hackish (the probe/block now really happens
6399 on the GhostPad and not on the target).
6400 * gst/gstpad.c: (gst_pad_set_blocked_async),
6401 (gst_pad_link_prepare), (gst_pad_push_event):
6402 Remove previous ghostpad cruft.
6403 * gst/gstutils.c: (gst_pad_add_data_probe),
6404 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6405 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6406 (gst_pad_remove_buffer_probe):
6407 Remove previous ghost pad cruft.
6408 Added more detailed debug statements.
6409 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6410 Fix the testsuite for refcounting changes.
6411 The comments about who has references were correct, but the refcount
6412 being checked wasn't the same (!?!).
6416 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6418 * docs/gst/gstreamer-sections.txt:
6419 * gst/gstconfig.h.in:
6420 More docs for configuration options, add docs to gtk-doc.
6422 2006-07-10 Stefan Kost <ensonic@users.sf.net>
6425 * gst/gstconfig.h.in:
6426 * win32/common/config.h:
6427 Fix build when disabling tracing (fixes #344016). Also start to document
6428 the defines that disable the sub-systems.
6430 2006-07-10 Edward Hervey <edward@fluendo.com>
6432 * gst/gst.c: (ensure_current_registry_forking):
6433 let's make valgrind happy...
6435 2006-07-09 Wim Taymans <wim@fluendo.com>
6437 * gst/gstelement.c: (activate_pads),
6438 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6439 Better pad activation code: Reset the collect value too on resync.
6442 2006-07-09 Wim Taymans <wim@fluendo.com>
6444 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
6445 (gst_pad_activate_push):
6446 Use some more macros where it makes sense.
6447 Allow pad mode switching instead of asserting. When a pad
6448 is activated in one mode and we activate it in another,
6449 deactivate it first before activating it in a different mode.
6452 2006-07-08 Andy Wingo <wingo@pobox.com>
6454 * tools/gst-launch.c (main): Handle err == NULL.
6456 * gst/gst.c (init_post, ensure_current_registry)
6457 (ensure_current_registry_forking)
6458 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
6459 factoring out the registry scanning into separate functions. Don't
6460 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
6461 Better environment var name/interface suggestions accepted.
6463 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6465 * gst/gstobject.c: (gst_object_set_name_default),
6466 (gst_object_set_name):
6467 Random micro-optimisation: don't use a hash table
6468 with strings as keys and the usual strdup/strcmp
6469 involved, but rather just use the GQuark of the
6470 type name as key, since it needs to be looked up
6471 anyway to get the type name string.
6473 * tests/check/gst/gstobject.c: (GST_START_TEST):
6476 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6478 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
6479 (gst_bin_iterate_all_by_interface):
6480 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
6481 GTypes are gulongs and thus the top 4 bytes might be cut
6482 off on some platforms when doing GPOINTER_TO_INT, leading
6483 to invalid GTypes and bad things happening (see RH bug #179654).
6484 Also add a check to make sure the type passed in is really
6487 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6492 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
6496 * gst-element-check.m4:
6497 * gst-element-check.m4.in:
6498 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
6499 instead of the unversioned gst-inspect (#324176, #168659).
6501 2006-07-06 Wim Taymans <wim@fluendo.com>
6504 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
6507 2006-07-06 Wim Taymans <wim@fluendo.com>
6509 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6510 (gst_base_src_wait), (gst_base_src_update_length),
6511 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
6512 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
6513 (gst_base_src_loop), (gst_base_src_start),
6514 (gst_base_src_activate_pull):
6516 blocksize == 0 now means the default blocksize when working in push
6518 Remove some pointless asserts in _wait function.
6519 Fix offset/length calculations and EOS handling. We can now pull 0
6520 bytes as well, which is allowed.
6521 use _check_get_range() to decide if we can operate in _pull based
6523 Fix refcounting leak when check_get_range function was not
6525 API GstBaseSrc::blocksize range can be 0 too now (default)
6527 * tests/check/elements/filesrc.c: (GST_START_TEST),
6529 Added check to test _get_range() behaviour.
6531 2006-07-06 Wim Taymans <wim@fluendo.com>
6533 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
6534 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
6535 (gst_pad_pull_range):
6537 Lots of comments and docs added to the pad functions.
6538 Flesh out the expected behaviour of the get_range() functions.
6540 2006-07-06 Wim Taymans <wim@fluendo.com>
6545 * gst/gstiterator.h:
6549 Remove comma at end of enumerator list.
6551 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
6553 * win32/common/libgstbase.def:
6554 * win32/common/libgstdataprotocol.def:
6555 * win32/common/libsgtreamer.def:
6556 Add new exported functions.
6558 2006-07-05 Wim Taymans <wim@fluendo.com>
6560 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
6561 Add some more docs here and there.
6563 2006-07-05 Wim Taymans <wim@fluendo.com>
6565 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
6566 (gst_base_sink_loop), (gst_base_sink_get_position):
6567 When operating in pull mode update the offset so that we
6570 2006-07-05 Wim Taymans <wim@fluendo.com>
6572 * gst/gstregistryxml.c: (read_string):
6573 Avoid strdup. (will happen in libxml, but hey!)
6578 2006-07-05 Wim Taymans <wim@fluendo.com>
6580 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
6581 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6583 No point in checking if the size of the subbuffer > 0, the
6584 code handles it correclty as demonstrated by unit test.
6585 Also add a unit test for the zero sized _new_and_alloc and
6586 _copy. Fixes #346663.
6588 2006-07-05 Wim Taymans <wim@fluendo.com>
6590 * libs/gst/base/gstbasetransform.c:
6591 (gst_base_transform_prepare_output_buffer),
6592 (gst_base_transform_buffer_alloc),
6593 (gst_base_transform_handle_buffer):
6594 Make sure the buffer we pass to transform_ip has a refcount of
6595 1 and thus is writable. Fixes #343196
6597 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
6599 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6600 (gst_file_src_init), (gst_file_src_set_property),
6601 (gst_file_src_get_property), (gst_file_src_map_region):
6602 * plugins/elements/gstfilesrc.h:
6603 Add "sequential" property, off by default, to use madvise and hint
6604 to the kernel that sequential access is desired.
6605 Touch all retrieved pages by default to ensure they are pulled
6606 into memory. (Closes #345720)
6608 2006-07-03 Wim Taymans <wim@fluendo.com>
6610 * docs/design/part-block.txt:
6611 * docs/design/part-dynamic.txt:
6614 2006-07-03 Wim Taymans <wim@fluendo.com>
6616 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
6617 (gst_caps_unref), (gst_static_caps_get),
6618 (gst_caps_append_structure):
6619 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
6620 Use GSlice when the glib we build against is >= 2.10
6622 2006-07-03 Wim Taymans <wim@fluendo.com>
6624 * gst/gstelement.c: (gst_element_pads_activate):
6625 Small cleanup in pad activation code.
6627 2006-07-03 Wim Taymans <wim@fluendo.com>
6629 Patch by: Peter Kjellerstedt <pkj at axis dot com>
6631 * gst/gst-i18n-app.h:
6632 * gst/gst-i18n-lib.h:
6633 * tools/gst-inspect.c: (print_signal_info):
6634 The attached patch will make the inclusion of gettext.h unconditional in
6635 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
6636 libintl.h in tools/gst-inspect.c.
6637 This allows use of --disable-nls again and fixes #344642.
6639 2006-07-03 Edward Hervey <edward@fluendo.com>
6641 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
6642 Implement pad blocking on events according to part-block.txt.
6643 More comments on behaviour.
6644 * tests/check/gst/gstevent.c: (test_event):
6645 Send event to peer pad of blocked pad (else it will block).
6647 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6649 * libs/gst/check/gstcheck.c: (gst_check_message_error),
6650 (gst_check_run_suite):
6651 if we get the wrong message, give us the types as string
6652 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6654 * tests/check/elements/filesrc.c: (GST_START_TEST):
6655 add a test for trying to open a non-existing file
6657 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6659 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6660 add a test for adding self
6662 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
6664 * libs/gst/check/gstcheck.h:
6665 add some assert_ as alias for fail_unless_*
6666 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
6667 increase test coverage
6669 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6672 include lcov.mak for lcov coverage generation
6673 * tools/Makefile.am:
6676 2006-07-02 Edward Hervey <edward@fluendo.com>
6678 * tests/check/elements/.cvsignore:
6681 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6684 don't set CFLAGS and friends for gcov, done from GST_GCOV now
6685 * tests/check/Makefile.am:
6688 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6690 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
6691 remove gst_caps_simplify; it was not declared and not used
6692 and deprecated in 0.8
6694 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6696 * docs/faq/gst-uninstalled:
6697 don't put empty paths on PYTHONPATH
6698 * docs/gst/gstreamer-sections.txt:
6699 remove some symbols that are not there
6701 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6703 * gst/gstcaps.c: (gst_caps_compare_structures):
6705 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6706 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6709 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6711 * libs/gst/dataprotocol/Makefile.am:
6712 build dataprotocol test by linking to the lib, instead of
6713 compiling the source, so we get coverage
6714 * tests/check/Makefile.am:
6715 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
6716 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
6717 add a test for filesrc
6719 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6721 * tests/check/gst/gststructure.c: (GST_START_TEST),
6722 (gst_structure_suite):
6723 Push coverage from 59.04% to 70.00%
6725 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6727 * tests/check/Makefile.am:
6728 gst-inspect every element; this makes sure that we also get
6729 coverage on element's get/set functions
6731 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
6734 set CFLAGS and friends to -O0 if gcov is being used
6737 * libs/gst/base/Makefile.am:
6738 * libs/gst/check/Makefile.am:
6739 * libs/gst/controller/Makefile.am:
6740 * libs/gst/dataprotocol/Makefile.am:
6741 * libs/gst/net/Makefile.am:
6742 * plugins/elements/Makefile.am:
6743 * plugins/indexers/Makefile.am:
6744 add makefile rules to generate gcov data and clean up
6745 * tests/check/Makefile.am:
6746 add a coverage target that generates an html overview
6749 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6751 * tests/check/elements/fakesink.c:
6752 * tests/check/elements/fakesrc.c:
6753 * tests/check/elements/fdsrc.c:
6754 * tests/check/elements/identity.c:
6755 * tests/check/generic/sinks.c: (gst_sinks_suite):
6756 * tests/check/generic/states.c:
6757 * tests/check/gst/gst.c:
6758 * tests/check/gst/gstabi.c:
6759 * tests/check/gst/gstbin.c:
6760 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
6761 * tests/check/gst/gstbus.c: (gst_bus_suite):
6762 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6763 * tests/check/gst/gstelement.c:
6764 * tests/check/gst/gstevent.c: (gst_event_suite):
6765 * tests/check/gst/gstghostpad.c:
6766 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
6767 * tests/check/gst/gstmessage.c: (gst_message_suite):
6768 * tests/check/gst/gstminiobject.c:
6769 * tests/check/gst/gstobject.c:
6770 * tests/check/gst/gstpad.c:
6771 * tests/check/gst/gstpipeline.c:
6772 * tests/check/gst/gstplugin.c:
6773 * tests/check/gst/gstquery.c: (gst_query_suite):
6774 * tests/check/gst/gstsegment.c: (gst_segment_suite):
6775 * tests/check/gst/gststructure.c:
6776 * tests/check/gst/gstsystemclock.c:
6777 * tests/check/gst/gsttag.c:
6778 * tests/check/gst/gsttask.c: (gst_task_suite):
6779 * tests/check/gst/gstutils.c:
6780 * tests/check/gst/gstvalue.c:
6781 * tests/check/libs/adapter.c:
6782 * tests/check/libs/basesrc.c:
6783 * tests/check/libs/collectpads.c:
6784 * tests/check/libs/controller.c:
6785 * tests/check/libs/gdp.c: (gst_dp_suite):
6786 * tests/check/libs/gstnetclientclock.c:
6787 * tests/check/libs/gstnettimeprovider.c:
6788 * tests/check/libs/libsabi.c: (libsabi_suite):
6789 * tests/check/libs/typefindhelper.c:
6790 * tests/check/pipelines/cleanup.c:
6791 * tests/check/pipelines/parse-launch.c:
6792 * tests/check/pipelines/simple-launch-lines.c:
6793 * tests/check/pipelines/stress.c: (stress_suite):
6796 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6798 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
6799 * libs/gst/check/gstcheck.h:
6800 create a macro and function so that the simple unit test
6801 case can be just one macro to create main()
6803 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
6805 * gst/gstbin.c: (gst_bin_restore_thyself):
6806 * gst/gstxml.c: (gst_xml_make_element):
6807 Fix deserialisation from XML. Set parent manually
6808 instead of using gst_bin_add(), since gst_bin_add()
6809 will unlink all pads of the element being added.
6812 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
6814 Patch by: Peter Kjellerstedt <pkj at axis com>
6816 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
6817 Fix missing g_strdup() and double free when using the
6818 --gst-plugin-load command line option (#346097).
6820 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6823 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
6825 * libs/gst/net/gstnetclientclock.c:
6826 * libs/gst/net/gstnettimeprovider.c:
6827 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
6829 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
6831 * docs/manual/advanced-dataaccess.xml:
6832 Fix buffer probe example compilation in
6835 2006-06-22 Edward Hervey <edward@fluendo.com>
6837 * gst/gstelement.c: (gst_element_pads_activate):
6838 We need to deactivate src pads first and then sink pads.
6839 The reason is the src pads might be blocking while holding the streaming
6840 lock, so we need to deactivate them first so that deactivating the sink
6841 pads doesn't block (since it will require the streaming lock).
6843 2006-06-22 Wim Taymans <wim@fluendo.com>
6845 * libs/gst/base/gstbasetransform.c:
6846 (gst_base_transform_buffer_alloc):
6847 Forgot to remove two unneeded unrefs.
6848 Simplify a check _is_equal allready checks the obvious case.
6850 2006-06-22 Wim Taymans <wim@fluendo.com>
6852 * docs/design/part-block.txt:
6853 Some docs about what pad_block should do.
6855 2006-06-22 Wim Taymans <wim@fluendo.com>
6857 * gst/gstcaps.c: (gst_caps_replace):
6858 Fix crasher when passed NULL. Doc clarification.
6859 Optimize for the trivial case.
6861 * gst/gstpipeline.c: (gst_pipeline_change_state):
6864 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6865 Small documentation cleanup.
6867 * libs/gst/base/gstbasetransform.c:
6868 (gst_base_transform_buffer_alloc):
6869 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
6870 is what we need and it avoids a whole lot of redundant
6871 refcount operations.
6873 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
6875 Patch by: Philip Jägenstedt <philip at lysator liu se>
6877 * docs/manual/advanced-dataaccess.xml:
6878 Fix 'Embedding static elements' section to use
6879 GST_PLUGIN_DEFINE_STATIC (#345607).
6881 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6883 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
6884 Attempt to 'fix' spuriously failing test case: it seems like the
6885 timeout of half a second is simply too small when the system is under
6886 load otherwise, and the timeout doesn't really seem to serve any
6887 particular purpose here. Give the pipeline a few seconds to preroll
6888 first, and then give it another half a second to go from PAUSED to
6889 PLAYING and marshal the message into the main thread.
6891 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6893 * tools/gst-feedback-m.m:
6894 Don't only use unversioned tools, try versioned tools as well
6897 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
6899 * gst/gstbus.c: (gst_bus_class_init):
6900 Fix some typos, make docs more explicit.
6902 2006-06-20 Wim Taymans <wim@fluendo.com>
6904 * tests/check/gst/gstghostpad.c: (block_callback),
6905 (GST_START_TEST), (gst_ghost_pad_suite):
6906 Added some more ghostpad tests, mainly blocking
6909 2006-06-16 Wim Taymans <wim@fluendo.com>
6911 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6912 (gst_file_sink_close_file), (gst_file_sink_do_seek),
6913 (gst_file_sink_event), (gst_file_sink_render):
6914 * plugins/elements/gstfilesink.h:
6915 Check if we can seek in the file instead of assuming
6916 we always can. Post an error when we are asked to seek in a
6917 non-seekable file (like a fifo). Fixes #343312.
6920 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6922 * tools/gst-launch.1.in:
6923 Un-garble (fourcc) bit in filtered caps section.
6925 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
6927 * docs/manual/advanced-autoplugging.xml:
6928 * docs/manual/basics-helloworld.xml:
6929 * docs/manual/highlevel-components.xml:
6930 Don't leak bus reference in sample code.
6932 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
6935 Add default for new --enable-plugin-docs switch.
6938 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
6942 Use new ENABLE_PLUGIN_DOCS conditional.
6944 2006-06-14 Wim Taymans <wim@fluendo.com>
6946 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
6947 Make it clear with a FIXME and a real define what the #if 0
6948 previously disabled.
6950 2006-06-14 Wim Taymans <wim@fluendo.com>
6952 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
6953 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
6954 * libs/gst/base/gstbasetransform.c:
6955 (gst_base_transform_sink_eventfunc):
6956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
6957 Don't randomly and silently reset a segment when the format
6958 changes as this is a bug somewhere upstream. Fixes #330379.
6960 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
6962 Patch by: Wouter Paesen <wouter at kangaroot net>
6964 * libs/gst/controller/gstcontroller.c:
6965 (gst_controlled_property_new):
6966 Fix controlling of float properties (#344849).
6968 * tests/check/libs/controller.c:
6969 (gst_test_mono_source_get_property),
6970 (gst_test_mono_source_set_property),
6971 (gst_test_mono_source_class_init), (GST_START_TEST):
6972 While we're at it, add some float stuff to unit test.
6974 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
6977 * docs/images/gdp-header.svg:
6979 * docs/libs/Makefile.am:
6980 * docs/libs/gdp-header.png:
6981 * libs/gst/dataprotocol/dataprotocol.c:
6982 add it to the API docs
6983 * docs/manual/intro-motivation.xml:
6986 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
6988 * gst/gst.c: (scan_and_update_registry), (init_post):
6989 If the fork()'ed child process can't write the updated registry cache
6990 file to disk for some reason, make it exit with a failure exit code,
6991 so that the parent can then re-scan the plugins itself and update the
6992 registry structures in memory and work with that (rather than failing
6993 when creating elements because seemingly no plugins are available).
6994 Refactor registry scanning code into separate function for this and
6995 also separate fork() and non-fork() code paths. Fixes #344748.
6997 2006-06-13 Wim Taymans <wim@fluendo.com>
6999 * docs/manual/advanced-dataaccess.xml:
7000 Fix wrong PluginDesc. Fixes #344755.
7002 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
7004 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7005 Fix silly bug that prevented us from creating
7006 ~/.gstreamer-0.10 and writing the registry in one
7007 go (the first call to g_mkstemp() would overwrite the
7008 placeholder in the template string, so the second call
7009 to g_mkstemp() after creating the missing directory
7010 would then error out with 'invalid argument').
7012 2006-06-13 Edward Hervey <edward@fluendo.com>
7014 * gst/gst.c: (init_post):
7017 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
7019 * gst/glib-compat-private.h:
7020 * gst/glib-compat.c:
7021 * gst/glib-compat.h:
7022 * gst/gstvalue.c: (gst_value_serialize_flags):
7023 remove GLib 2.6 compatibility code
7025 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
7027 * gst/parse/Makefile.am:
7028 Fix build with 'make -j N' even more (#340016).
7030 2006-06-12 Wim Taymans <wim@fluendo.com>
7032 * docs/gst/gstreamer-sections.txt:
7035 2006-06-12 Wim Taymans <wim@fluendo.com>
7037 * gst/gstsegment.c: (gst_segment_set_duration),
7038 (gst_segment_set_last_stop), (gst_segment_set_seek),
7039 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7040 (gst_segment_to_running_time), (gst_segment_clip):
7041 Use G_UNLIKELY to help the compiler a bit.
7043 2006-06-12 Wim Taymans <wim@fluendo.com>
7045 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
7047 * gst/gstevent.c: (gst_event_get_type):
7049 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7051 constify quark registration strings. Fixes #344115
7052 Avoid unneeded type checking is _pad_push() by internally
7053 calling gst_pad_chain_unchecked().
7055 2006-06-12 Wim Taymans <wim@fluendo.com>
7057 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
7058 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
7059 (gst_subbuffer_finalize), (gst_buffer_create_sub),
7060 (gst_buffer_is_span_fast), (gst_buffer_span):
7061 Init _type for consistency.
7062 Use _FLAGS macro to avoid type check.
7063 Avoid unneeded type checks in subbufer code.
7065 2006-06-12 Wim Taymans <wim@fluendo.com>
7067 * gst/gst.c: (gst_debug_help):
7068 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
7069 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7070 (gst_plugin_feature_list_free):
7071 * gst/gstregistry.c: (gst_registry_add_plugin),
7072 (gst_registry_add_feature), (gst_registry_plugin_filter),
7073 (gst_registry_feature_filter), (gst_registry_find_plugin),
7074 (gst_registry_find_feature), (gst_registry_get_plugin_list),
7075 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
7076 * gst/gstregistryxml.c: (load_feature),
7077 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
7078 * gst/gstminiobject.c: (gst_mini_object_unref),
7079 (gst_mini_object_replace), (gst_value_mini_object_free),
7080 (gst_value_mini_object_copy):
7081 Use _CAST macros to avoid unneeded type checking.
7082 Added some more G_UNLIKELY.
7084 2006-06-12 Wim Taymans <wim@fluendo.com>
7087 Avoid unneeded type checking.
7088 API: GST_BUFFER_IS_DISCONT
7090 * gst/gstminiobject.h:
7091 Avoid type check in flag accessor.
7093 * gst/gstelementfactory.h:
7095 * gst/gstpluginfeature.h:
7097 API: GST_ELEMENT_FACTORY_CAST
7098 API: GST_PLUGIN_CAST
7099 API: GST_PLUGIN_FEATURE_CAST
7101 2006-06-12 Wim Taymans <wim@fluendo.com>
7103 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
7105 Add G_UNLIKELY in type registration.
7106 Avoid type check in _ref/_unref since that is also
7109 2006-06-12 Wim Taymans <wim@fluendo.com>
7111 * gst/gsterror.c: (gst_g_error_get_type):
7112 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
7113 (gst_static_pad_template_get_type):
7114 * gst/gsttaglist.c: (gst_tag_list_get_type):
7115 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
7116 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
7117 * gst/gsturi.c: (gst_uri_handler_get_type):
7118 * gst/gstvalue.c: (gst_date_get_type):
7119 * gst/gstxml.c: (gst_xml_get_type):
7120 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
7121 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
7122 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
7123 Add G_UNLIKELY in type registration.
7125 2006-06-12 Wim Taymans <wim@fluendo.com>
7127 * tools/gst-inspect.c: (print_signal_info):
7128 Properly print enum values.
7130 2006-06-12 Wim Taymans <wim@fluendo.com>
7132 * gst/gstinfo.c: (gst_debug_set_active),
7133 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
7135 Add some G_[UN]LIKELY.
7136 Maintain __gst_debug_min to avoid formatting the arguments of
7137 debug messages that will be dropped anyway to avoid a lot of
7138 overhead from the debugging system.
7140 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7144 add missing files containing translatable strings, tell intltool about
7147 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7149 * tests/check/libs/.cvsignore:
7150 add test-binary to ignore list
7152 2006-06-11 Stefan Kost <ensonic@users.sf.net>
7154 * docs/libs/gstreamer-libs-docs.sgml:
7155 reorder (put dp into a chapter) and indent
7157 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7162 === release 0.10.8 ===
7164 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7167 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
7169 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7171 * gst/gst.c: (init_post):
7172 move pid declaration to declaration block
7174 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
7176 * gst/gst.c: (init_post):
7177 use _exit() instead of exit() in our forked child; this ensures
7178 that none of the registered exit handlers from whatever is using
7179 GStreamer get executed. This fixes gnome-mixer-applet failing
7180 to load, because ORBit would shut down.
7181 Spotted by: Edward Hervey <edward@fluendo.com>
7182 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
7185 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7190 === release 0.10.7 ===
7192 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7195 releasing 0.10.7, "Soepeke, ik zie ou"
7197 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
7220 * win32/common/config.h:
7223 2006-06-07 Wim Taymans <wim@fluendo.com>
7225 * gst/gstindex.c: (gst_index_gtype_resolver):
7226 * tools/gst-xmlinspect.c: (print_plugin_info):
7227 Fix leak spotted by coverity checker. Fixes #343827
7228 Fix another other leak found by paolo borelli.
7230 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7232 * libs/gst/dataprotocol/dataprotocol.c:
7233 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7234 (gst_dp_version_get_type), (gst_dp_init),
7235 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
7236 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
7237 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
7238 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
7239 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
7240 (gst_dp_packetizer_free):
7241 * libs/gst/dataprotocol/dataprotocol.h:
7242 API: add a GstDPPacketizer object, and create/free functions
7243 API: add GstDPVersion enum
7244 Add 1.0 event function that uses the string serialization
7245 Serialize more useful buffer flags
7248 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7250 * tests/check/Makefile.am:
7251 * tests/check/gst/gstabi.c:
7252 * tests/check/gst/struct_ppc64.h:
7253 * tests/check/libs/libsabi.c:
7254 * tests/check/libs/struct_ppc64.h:
7255 add ppc64 structure sizes
7257 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7259 * tests/check/Makefile.am:
7260 * tests/check/gst/gstabi.c:
7261 * tests/check/gst/struct_x86_64.h:
7262 * tests/check/libs/libsabi.c:
7263 * tests/check/libs/struct_x86_64.h:
7264 generate and add structure size lists for x86_64
7266 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
7268 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7269 * libs/gst/check/gstcheck.h:
7270 factor out the method from tests that checks size of structures,
7271 and add code to generate the header containing these sizes
7272 * tests/check/gst/gstabi.c: (GST_START_TEST):
7273 * tests/check/gst/struct_i386.h:
7274 * tests/check/libs/libsabi.c: (GST_START_TEST):
7275 * tests/check/libs/struct_i386.h:
7278 2006-06-06 Michael Smith <msmith@fluendo.com>
7281 Don't use c++-style comments, fixes #343929
7283 2006-06-05 Edward Hervey <edward@fluendo.com>
7286 plugin_paths is not used if we build without registry support.
7288 * gst/gstsegment.c: (gst_segment_copy):
7289 _copy() was always returning NULL...
7291 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7293 * libs/gst/dataprotocol/dataprotocol.c:
7294 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7295 (gst_dp_packet_from_event):
7298 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7300 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
7301 make sure we unset caps
7303 2006-06-02 Michael Smith <msmith@fluendo.com>
7305 * libs/gst/check/gstcheck.c: (gst_check_init),
7306 (gst_check_chain_func):
7307 * libs/gst/check/gstcheck.h:
7308 Add a cond/mutex to the check support lib, signal this whenever we
7309 add to the buffers list. This will allow tests to not busy-wait on
7312 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7314 * libs/gst/dataprotocol/dataprotocol.c:
7315 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
7316 (gst_dp_packet_from_event):
7317 factor out some common header init code
7319 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
7321 * docs/libs/gstreamer-libs-sections.txt:
7322 * docs/libs/tmpl/gstdataprotocol.sgml:
7323 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
7324 * libs/gst/dataprotocol/dataprotocol.h:
7325 API: make gst_dp_crc() public
7327 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7329 * plugins/indexers/gstindexers.c: (plugin_init):
7330 conditionally register fileindexer (fixes #343598)
7332 2006-06-01 Stefan Kost <ensonic@users.sf.net>
7334 * gst/gsttagsetter.h:
7335 Can't cast ifaces to a class
7337 * libs/gst/net/gstnetclientclock.h:
7338 * libs/gst/net/gstnettimeprovider.h:
7339 * plugins/elements/gstfakesink.h:
7340 * plugins/elements/gstfakesrc.h:
7341 * plugins/elements/gstfdsink.h:
7342 * plugins/elements/gstfdsrc.h:
7343 * plugins/elements/gstfilesink.h:
7344 * plugins/elements/gstfilesrc.h:
7345 * plugins/elements/gstidentity.h:
7346 * plugins/elements/gstqueue.h:
7347 * plugins/elements/gsttee.h:
7348 * plugins/indexers/gstfileindex.c:
7349 * plugins/indexers/gstmemindex.c:
7350 * tests/old/examples/plugins/example.h:
7351 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
7353 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
7355 * libs/gst/dataprotocol/dataprotocol.c:
7356 (gst_dp_header_from_buffer):
7357 make sure we zero the whole ABI-compatible area
7359 2006-06-01 Wim Taymans <wim@fluendo.com>
7361 Patch by: Alessandro Decina <alessandro at nnva dot org>
7363 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
7364 Make sure the EOS flag is cleared from pads after a flush
7365 or stop. Fixes #343538.
7367 * tests/check/libs/collectpads.c: (GST_START_TEST),
7368 (gst_collect_pads_suite):
7369 Added test for collectpads reusage after EOS.
7371 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
7374 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
7375 * win32/common/libgstbase.def:
7376 export gst_collect_pads_set_flushing
7377 * win32/common/libgstreamer.def:
7378 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
7379 gst_value_fraction_multiply
7380 * win32/vs6/gst_inspect.dsp:
7381 add a link to intl.lib
7383 2006-05-30 Wim Taymans <wim@fluendo.com>
7385 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7386 (gst_collect_pads_chain):
7387 Handle the case where a pad is removed from the collection
7388 that could cause the other pads to become collectable.
7390 2006-05-30 Wim Taymans <wim@fluendo.com>
7393 Clarify the use of _release_request_pad() and
7394 _get_request_pad() a bit better.
7396 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
7397 (gst_adapter_take_buffer):
7398 Fix some doc and comment typos.
7400 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7402 * docs/gst/gstreamer-sections.txt:
7403 * docs/libs/gstreamer-libs-sections.txt:
7404 add declared symbols
7406 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
7408 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7409 Add debug that can be enabled using a #define at the top of the file,
7410 for dumping stats about how late/early we were when waking up from
7411 waiting on the clock.
7413 2006-05-30 Wim Taymans <wim@fluendo.com>
7415 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
7416 When rebuilding the pad list, don't leak the previous list.
7418 2006-05-30 Wim Taymans <wim@fluendo.com>
7420 Patch by: Lutz Mueller <lutz at topfrose dot de>
7422 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7423 (gst_base_src_get_query_types), (gst_base_src_update_length):
7424 Publish supported query types.
7425 Update last_stop field in get_range mode so the position
7426 query works. Fixes #342321.
7428 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
7430 * docs/gst/gstreamer-sections.txt:
7431 * gst/gsttaglist.c: (_gst_tag_initialize):
7433 API: add GST_TAG_PREVIEW_IMAGE (#343341).
7435 2006-05-30 Wim Taymans <wim@fluendo.com>
7437 Patch by: Alessandro Decina <alessandro at nnva dot org>
7439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7440 Unlock mutex when removing an unknown pad.
7443 * tests/check/Makefile.am:
7444 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
7445 (push_event), (setup), (teardown), (GST_START_TEST),
7446 (gst_collect_pads_suite), (main):
7447 Added collecpads check, disabled for now as check crashes for
7450 2006-05-29 Wim Taymans <wim@fluendo.com>
7452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
7453 Don't leak pads lists.
7455 2006-05-29 Wim Taymans <wim@fluendo.com>
7457 * docs/libs/gstreamer-libs-sections.txt:
7458 * libs/gst/base/gstcollectpads.c:
7459 (gst_collect_pads_set_flushing_unlocked),
7460 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7461 (gst_collect_pads_stop):
7462 * libs/gst/base/gstcollectpads.h:
7463 API: gst_collect_pads_set_flushing()
7464 Added api to set the pads to flushing, useful for seeking
7465 code in elements using collectpads.
7466 Clear segment when receiving a flush.
7468 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
7470 * gst/gst.c: (add_path_func), (init_post):
7471 Don't scan registry paths passed via --gst-plugin-path immediately
7472 (will crash, because absolutely nothing is set up and no types are
7473 registered etc.); do this later in init_post(). Fixes #343057.
7475 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
7477 * gst/gst.c: (init_post):
7478 if we have fork, fork while reading/rebuilding the registry
7479 so the parent doesn't take the hit of having all plugins loaded
7480 in memory. Fixes #342777.
7482 Check if we have fork()
7483 * win32/common/config.h.in:
7486 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7488 * plugins/elements/gstelements.c:
7489 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7490 (gst_file_src_init), (gst_file_src_set_property),
7491 (gst_file_src_get_property), (gst_file_src_start):
7492 * plugins/elements/gstfilesrc.h:
7493 API: GstFileSrc::use-mmap
7495 Add a use-mmap property to enable easier testing of all code paths.
7496 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
7497 in the absence of gnomevfssrc. (Closes #340501)
7499 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7501 * tools/gst-inspect.c:
7502 Add missing include, removes warning of ngettext not being defined on
7505 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
7507 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7508 Handle NULL input and output pointers silently as a failed conversion,
7509 rather than g_warnings.
7511 2006-05-25 Wim Taymans <wim@fluendo.com>
7513 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
7514 Initialize variable before using. Fixes #342820.
7516 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
7518 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
7519 Fix off-by-one bug that would only allow peeks of N-1 bytes
7520 from the start even if the buffer to typefind on contains
7521 in fact N bytes of data (makes vorbis typefinding from a
7522 vorbis identification header buffer work).
7524 * tests/check/Makefile.am:
7525 * tests/check/libs/.cvsignore:
7526 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
7527 (gst_typefindhelper_suite), (main), (foobar_typefind),
7529 Add very basic unit test for gst_type_find_helper_for_buffer()
7530 that checks for the problem fixed above.
7532 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
7534 * tools/gst-inspect.c: (print_interfaces),
7535 (print_element_properties_info), (print_element_list), (main):
7536 add more translatable strings
7538 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
7540 Patch by: Julien Moutte <julien at moutte net>
7542 * docs/gst/gstreamer-sections.txt:
7543 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
7545 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7546 (gst_fake_sink_preroll):
7547 * plugins/elements/gstfakesink.h:
7548 API: Add new GstFakeSink::preroll-handoff signal (#337100).
7550 2006-05-23 Wim Taymans <wim@fluendo.com>
7552 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
7554 Added _CUSTOM error and success GstFlowReturn that can be
7555 used be elements internally.
7556 Added macro to check for SUCCESS flowreturns.
7557 API: GST_FLOW_CUSTOM_SUCCESS
7558 API: GST_FLOW_CUSTOM_ERROR
7559 API: GST_FLOW_IS_SUCCESS
7561 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7562 Added check for GstFlowReturn sanity.
7564 2006-05-23 Wim Taymans <wim@fluendo.com>
7566 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7568 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7569 (gst_collect_pads_event):
7570 clear/reset segment info in FLUSH_STOP.
7573 2006-05-22 Stefan Kost <ensonic@users.sf.net>
7575 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
7576 (gst_collect_pads_check_collected):
7577 Flush queued buffer on _stop(), fixes playing again (#342454)
7579 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
7581 * tests/check/gst/gststructure.c: (GST_START_TEST),
7582 (gst_structure_suite):
7583 add a test for a complete structure
7585 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7587 * docs/faq/developing.xml:
7589 * docs/faq/troubleshooting.xml:
7590 * docs/faq/using.xml:
7591 Some minor FAQ updates that won't change the fact that
7592 our FAQ is badly structured, full of information hardly
7593 anyone new to GStreamer needs to know and lacking lots
7594 of information people constantly ask for.
7596 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
7598 * gst/gstpad.c: (gst_pad_set_caps):
7599 Short-circuit gst_pad_set_caps if setting the existing
7600 caps pointer again, and avoid printing debug and
7601 reffing/unreffing the caps.
7603 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7604 There's actually no need to set the caps before pushing -
7605 the acceptcaps method will handle it anyway.
7607 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
7609 * docs/gst/gstreamer-sections.txt:
7610 * win32/common/libgstreamer.def:
7611 * gst/gstutils.c: (gst_element_seek_simple):
7613 API: add gst_element_seek_simple() (#342238).
7615 2006-05-18 Edward Hervey <edward@fluendo.com>
7617 * gst/gsttypefind.c: (gst_type_find_get_type):
7618 * gst/gsttypefind.h:
7619 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
7620 registered for GstTypeFind pointers. This allows wrapping the structure
7621 in bindings (i.e. gst-python).
7623 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7625 * gst/gsttagsetter.c:
7626 Docs additions and fixes (see #339918).
7628 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
7631 The caps intersection algorithm can produce multiple copies of the
7632 caps. Until that is fixed, we need to simplify the result to be
7633 sure whether the allowed caps are fixed or not.
7635 * plugins/elements/gstqueue.c: (gst_queue_init),
7636 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
7637 (gst_queue_push_one):
7638 Proxied buffer alloc should not set the caps on the source pad.
7639 When pushing buffers, we always accept the caps change that triggers.
7640 This prevents negotiation errors caused by caps changing mid-stream
7641 and then being refused on our source pad (because upstream is now
7642 refusing those caps).
7644 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
7646 * tests/examples/helloworld/helloworld.c: (main):
7647 Must plug audioconvert and audioresample between decoder
7650 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
7652 * gst/gstregistryxml.c: (read_string), (load_pad_template),
7653 (load_feature), (load_plugin):
7654 Allow empty strings for some of the plugin fields so we don't
7655 drop valid plugin entries that were written out correctly
7658 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
7660 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
7661 Use g_remove and g_rename instead of remove and rename that don't
7662 handle utf8 characters. rename was failing for users who had specific
7663 characters in their name then the registry was built at each
7665 * win32/vs6/gst_inspect.dsp:
7666 * win32/vs6/gst_launch.dsp:
7667 * win32/vs6/libgstbase.dsp:
7668 * win32/vs6/libgstcoreelements.dsp:
7669 * win32/vs6/libgstreamer.dsp:
7670 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
7671 build of libgstreamer and clean unused libraries in projects link
7674 2006-05-17 Edward Hervey <edward@fluendo.com>
7676 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7677 The queue is not responsible for pushing an EOS when receiving a fatal
7678 flow error. It's up to the real element driving the pipeline to do that.
7680 2006-05-16 Edward Hervey <edward@fluendo.com>
7682 * plugins/elements/gstqueue.c: (gst_queue_push_one):
7683 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
7684 buffer returned a fatal error. It should just send an EOS and stop
7686 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
7687 when pushing buffers on the queue and will be able to handle the event.
7689 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
7691 * docs/manual/basics-bins.xml:
7692 * docs/manual/basics-init.xml:
7693 Fix typos and minor errors in sample code (#341856).
7695 2006-05-16 Wim Taymans <wim@fluendo.com>
7697 * docs/design/part-qos.txt:
7698 Fix indexes in formulas to make more sense.
7700 2006-05-15 Wim Taymans <wim@fluendo.com>
7702 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7703 Don't report POSITION based on clock time if sync is
7706 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
7709 Add cast to make compiler happy - refcount variable was a gint
7710 in GstObject but is a guint in GObject and g_atomic_int_get()
7713 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
7715 * gst/parse/Makefile.am:
7716 chain commands using &&, which also makes parallel make work
7718 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
7720 * docs/gst/gstreamer-sections.txt:
7726 === release 0.10.6 ===
7728 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
7731 releasing 0.10.6, "Take the cannoli"
7733 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
7735 * tools/gst-launch.c: (print_tag):
7736 Fix use of uninitialized variable in the hypothetical
7737 case that some broken plugin creates a GST_TAG_IMAGE
7738 tag containing a NULL buffer (#341667).
7740 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
7742 * tools/gst-launch.c: (print_tag):
7743 Print something more intelligible for image tags when
7744 using the -t switch (#341556).
7746 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
7751 define GST_MAJORMINOR so we have it available in win32/common/config.h
7752 Possibly remove it from our Makefile.am files later
7753 * win32/common/config.h:
7754 * win32/common/config.h.in:
7755 added GST_MAJORMINOR
7756 * win32/common/gstenumtypes.c: (register_gst_resource_error):
7757 * win32/common/gstversion.h:
7760 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
7763 Update win32 files listing.
7764 * win32/common/gstversion.h:
7765 Add GST_MAJORMINOR definition.
7766 * win32/common/libgstreamer.def:
7767 Add new exported functions.
7769 2006-05-12 Michael Smith <msmith@fluendo.com>
7771 * gst/gstplugin.c: (gst_plugin_load_file):
7772 If an so file has no plugin entry point, unload the module.
7774 2006-05-11 Wim Taymans <wim@fluendo.com>
7776 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
7777 (gst_queue_set_property):
7778 Don't forget to signal the _chain or _loop function
7779 when the queue size or thresholds change since that might
7780 cause them to make progres again.
7782 2006-05-11 Stefan Kost <ensonic@users.sf.net>
7784 * gst/gstclock.c: (gst_clock_class_init):
7785 * gst/gstindex.c: (gst_index_class_init):
7786 * gst/gstobject.c: (gst_object_class_init):
7787 * gst/gstpad.c: (gst_pad_class_init):
7788 * gst/gstpipeline.c: (gst_pipeline_class_init):
7789 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
7790 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
7791 * libs/gst/base/gstbasetransform.c:
7792 (gst_base_transform_class_init):
7793 * libs/gst/net/gstnetclientclock.c:
7794 (gst_net_client_clock_class_init):
7795 * libs/gst/net/gstnettimeprovider.c:
7796 (gst_net_time_provider_class_init):
7797 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
7798 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7799 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7800 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
7801 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
7802 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7803 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7804 * plugins/elements/gstidentity.c: (gst_identity_class_init):
7805 * plugins/elements/gsttee.c: (gst_tee_class_init):
7806 * tests/old/examples/plugins/example.c: (gst_example_class_init):
7807 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
7808 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
7810 2006-05-11 Wim Taymans <wim@fluendo.com>
7812 * gst/gstbuffer.c: (_gst_buffer_initialize):
7813 Register subbufer along with the buffer type so that
7814 it does not accidentally gets registered from N
7815 different streaming threads in a non threadsafe way.
7817 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7822 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
7823 gst_event_ref() and gst_message_ref() functions again
7824 (ugly hack, please do fix if there's a better way besides
7825 overrides.txt, which doesn't seem to work).
7827 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7829 * libs/gst/check/gstcheck.h:
7830 add an assert for setting state to avoid lots of repetitive code
7833 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7835 * gst/gstvalue.c: (gst_value_serialize_flags):
7836 fix a leak if no flags are set
7837 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7840 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
7842 * docs/manual/basics-pads.xml:
7843 Expand a bit on caps and filtered links and update
7844 examples that were still using the no longer existing
7845 gst_pad_link_filtered() (#338206).
7847 2006-05-10 Wim Taymans <wim@fluendo.com>
7849 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7850 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7851 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
7852 (gst_collect_pads_stop):
7853 * libs/gst/base/gstcollectpads.h:
7854 No need to call _stop in _finalize.
7855 Iterate the main pad list in _finalize.
7856 Added some more debug.
7857 Free lists and data in the right order.
7858 Also free data whem doing _remove_pad when stopped for
7859 backward compatibility protect ::started with PAD_LOCK as
7862 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7864 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
7865 (gst_structure_parse_value):
7867 rename a method so that it actually says what it does better
7869 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
7871 * gst/gstevent.c: (_gst_event_initialize):
7872 * gst/gstformat.c: (_gst_format_initialize):
7873 make sure some essential types used by events are registered
7874 as part of gst_init()
7875 * gst/gstvalue.c: (gst_value_serialize_flags):
7876 if no flags are set, serialize them to a value that represents NONE
7877 so that deserializing them works
7878 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7879 add tests for serialization and deserialization of flags
7881 2006-05-10 Wim Taymans <wim@fluendo.com>
7883 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
7884 (gst_collect_pads_collect_range), (gst_collect_pads_available),
7885 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
7886 (gst_collect_pads_event), (gst_collect_pads_chain):
7889 Catch and return errors from the collect function
7890 Refuse data on eos pads.
7892 2006-05-10 Edward Hervey <edward@fluendo.com>
7894 * gst/gstinterface.h:
7895 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
7896 GInterface type checking.
7897 They were previously using non-defined macros.
7899 2006-05-09 Wim Taymans <wim@fluendo.com>
7901 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
7902 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
7903 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
7904 (gst_collect_pads_start), (gst_collect_pads_stop),
7905 (gst_collect_pads_peek), (gst_collect_pads_pop),
7906 (gst_collect_pads_available), (gst_collect_pads_read),
7907 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
7908 (gst_collect_pads_is_collected), (gst_collect_pads_event),
7909 (gst_collect_pads_chain):
7910 * libs/gst/base/gstcollectpads.h:
7911 Clean up the mess that is collectpads, add comments and
7912 FIXMEs where needed.
7913 Maintain a separate pad list so we can add pads while
7914 collecting the other ones. For this we need a new separate
7916 Fix memory leak in finalize.
7917 Refactor some weird code to set/unset pad flushing flags, mark
7919 Don't crash in _available, _read, _flush when we're EOS.
7921 * tests/check/libs/.cvsignore:
7922 Ignore adapter check binary.
7924 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7926 * gst/gstindex.c: (gst_index_resolver_get_type):
7927 * plugins/elements/gstfakesink.c:
7928 (gst_fake_sink_state_error_get_type):
7929 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7930 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
7931 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7932 Const-ify GEnumValue arrays.
7934 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7936 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7937 Add test case for flags + gst_buffer_make_metadata_writable().
7939 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7941 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
7942 gst_buffer_make_metadata_writable() should maintain the
7943 buffer flags (those that make sense at least) (see #340859).
7945 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7947 * tools/gst-inspect.c:
7948 * tools/gst-launch.c:
7949 * tools/gst-typefind.c:
7950 * tools/gst-xmlinspect.c:
7952 Fix up includes: need to include stdlib.h in tools.h for exit().
7954 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
7956 * gst/gsttaglist.c: (_gst_tag_initialize):
7958 API: add GST_TAG_IMAGE tag (#340721).
7960 2006-05-08 Wim Taymans <wim@fluendo.com>
7963 Added some docs for the segment query.
7965 2006-05-08 Wim Taymans <wim@fluendo.com>
7967 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7968 (gst_base_src_loop), (gst_base_src_change_state):
7969 Always push non-flushing serialized events in the streaming
7972 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
7974 * gst/gsterror.c: (_gst_stream_errors_init):
7975 Add a missing error string.
7977 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
7979 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
7980 Add applied_rate to the debug
7982 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7983 Copy applied_rate into the outgoing NEWSEGMENT event
7985 2006-05-08 Wim Taymans <wim@fluendo.com>
7987 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
7989 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7990 (gst_base_sink_change_state):
7991 call ::unlock before taking the PREROLL_LOCK so we can safely
7992 handle elements that lock in ::render.
7995 2006-05-08 Edward Hervey <edward@fluendo.com>
7997 * autogen.sh: (CONFIGURE_DEF_OPT):
7998 Darwin's libtoolize is in fact called glibtoolize.
7999 Adding glibtoolize to the list of accepted names for libtoolize.
8001 2006-05-08 Wim Taymans <wim@fluendo.com>
8003 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8004 Unify error handling, don't post an error message
8005 when a push() returns EOS but perform our normal EOS
8006 handling code. Fixes #340772.
8008 2006-05-08 Wim Taymans <wim@fluendo.com>
8010 * docs/design/part-overview.txt:
8011 Make upsteam/downstream concepts more clear.
8012 Give an example of serialized/non-serialized events.
8014 * docs/design/part-events.txt:
8015 * docs/design/part-streams.txt:
8016 Mention applied_rate.
8018 * docs/design/part-trickmodes.txt:
8019 Mention applied rate, flesh out some more use cases.
8021 * gst/gstevent.c: (gst_event_new_new_segment),
8022 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
8023 (gst_event_parse_new_segment_full), (gst_event_new_tag),
8024 (gst_event_parse_tag), (gst_event_new_buffer_size),
8025 (gst_event_parse_buffer_size), (gst_event_new_qos),
8026 (gst_event_parse_qos), (gst_event_parse_seek),
8027 (gst_event_new_navigation):
8029 Add applied_rate field to NEWSEGMENT event.
8030 API: gst_event_new_new_segment_full()
8031 API: gst_event_parse_new_segment_full()
8033 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
8034 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
8035 (gst_segment_to_stream_time), (gst_segment_to_running_time):
8037 Add applied_rate to GstSegment structure.
8038 Make calculation of stream_time and running_time more correct
8039 wrt rate/applied_rate.
8041 API: GstSegment::applied_rate field
8042 API: gst_segment_set_newsegment_full();
8044 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8045 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
8046 * libs/gst/base/gstbasetransform.c:
8047 (gst_base_transform_sink_eventfunc),
8048 (gst_base_transform_handle_buffer):
8049 Parse and use applied_rate in the GstSegment field.
8051 * tests/check/gst/gstevent.c: (GST_START_TEST):
8052 Add check for applied_rate field.
8054 * tests/check/gst/gstsegment.c: (GST_START_TEST),
8055 (gstsegments_suite):
8056 Add more checks for various GstSegment operations.
8058 2006-05-08 Wim Taymans <wim@fluendo.com>
8060 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8061 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
8062 (gst_base_sink_get_position), (gst_base_sink_change_state):
8063 Store the sync time of the buffer end position separatly in a
8064 new variable eos_rtime so we can properly sync the EOS event.
8066 Fix the docs for gst_base_sink_set_qos_enabled().
8067 Don't set segment start to invalid value when we receive a
8068 non TIME newsegment.
8069 get closer to handling position reporting for negative rates
8072 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8075 Docs about how to print caps for debug purposes.
8077 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
8078 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
8080 2006-05-07 Stefan Kost <ensonic@users.sf.net>
8083 use full enum names and preprend a '%' in docs strings to make recent
8084 gtk-doc turn that into a link
8086 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8088 * docs/manual/basics-bins.xml:
8089 * docs/manual/basics-bus.xml:
8090 * docs/manual/basics-pads.xml:
8091 Some typo fixes, some additions, some clarifications.
8093 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8095 * tools/gst-inspect.c: (main):
8096 * tools/gst-launch.c: (main):
8097 * tools/gst-run.c: (main):
8098 * tools/gst-typefind.c: (main):
8099 * tools/gst-xmlinspect.c: (main):
8100 Use the string passed to g_option_context_new() for
8101 what it's intended for - the program name is already
8104 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8106 * tools/Makefile.am:
8107 * tools/gst-inspect.c: (main):
8108 * tools/gst-launch.c: (main):
8109 * tools/gst-xmlinspect.c: (main):
8111 Add back --version command line option (#340460).
8113 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
8114 Add --version option and use GOption for argument parsing; refactor a
8115 bit; accept directories as arguments and recurse into them; lastly,
8116 print a decent error message when things go wrong.
8118 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8120 * docs/manual/basics-bins.xml:
8121 Don't mention GstThread (#340611)
8122 * docs/manual/basics-elements.xml:
8123 Update link to GObject tutorial (#340607)
8125 2006-05-05 Wim Taymans <wim@fluendo.com>
8128 * gst/gstminiobject.c:
8129 Add note about refcounting and miniobject/buffer writeability
8130 to docs. Fixes #340604
8132 * gst/gstelementfactory.h:
8133 Added some explanation about @klass.
8135 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8137 * docs/manual/intro-motivation.xml:
8138 * docs/manual/manual.xml:
8139 Avoid CORBA & Bonobo references (#340598)
8141 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8143 * docs/manual/basics-bus.xml:
8144 * docs/manual/basics-pads.xml:
8145 Fix up some inaccuracies and omissions (#340609)
8147 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
8149 * gst/gstghostpad.c:
8150 Small typo in docs (#340625)
8152 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8154 * gst/parse/Makefile.am:
8155 Make 'make -j' proof (see #340698).
8157 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
8160 Require GLib-2.8 here as well.
8162 2006-05-05 Wim Taymans <wim@fluendo.com>
8164 * gst/glib-compat.c:
8165 * gst/gst.c: (init_pre):
8166 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8167 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
8168 (gst_object_dispatch_properties_changed):
8170 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8171 * gst/gststructure.c: (gst_structure_set_valist):
8172 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8173 Remove pre glib2.8 compatibility, fixes #340508
8175 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8178 Mention type of tags in doc blurbs.
8180 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
8182 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8183 (gst_pad_configure_src), (gst_pad_push):
8184 Restore acceptcaps checking behaviour now that good plugins have
8187 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
8189 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
8200 * gst/parse/Makefile.am:
8201 * libs/gst/base/gstadapter.c:
8202 * libs/gst/base/gstbasesrc.c:
8203 * libs/gst/base/gstpushsrc.c:
8204 * libs/gst/base/gsttypefindhelper.c:
8205 * plugins/elements/gstfakesrc.c:
8206 * plugins/elements/gstidentity.c:
8207 Make sure gstprivate.h and/or config.h are
8208 always included first, otherwise some of our
8209 defines (like _FILE_OFFSET_BITS) might be
8210 redefined in the system headers. Fixes build
8211 on opensolaris (#340016).
8213 2006-05-04 Wim Taymans <wim@fluendo.com>
8215 * docs/libs/gstreamer-libs-sections.txt:
8216 API: addition: gst_adapter_take_buffer()
8218 * libs/gst/base/gstadapter.c: (gst_adapter_push),
8219 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
8220 (gst_adapter_available_fast):
8221 * libs/gst/base/gstadapter.h:
8222 Prepare for optimizing the hell out of this hugely inefficient
8224 Added gst_adapter_take_buffer() so we can at least start thinking
8225 about subbuffering and merging.
8226 Added some comments.
8228 * tests/check/Makefile.am:
8229 * tests/check/libs/adapter.c: (GST_START_TEST),
8230 (gst_adapter_suite), (main):
8231 Added GstAdapter check.
8233 2006-05-04 Wim Taymans <wim@fluendo.com>
8235 * docs/design/part-overview.txt:
8236 Fix some typos, add blurb about buffer flags.
8238 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8240 * docs/libs/gstreamer-libs-sections.txt:
8241 make sure GstBaseTransformClass shows up in the docs
8242 * libs/gst/base/gstbasetransform.c:
8243 * libs/gst/base/gstbasetransform.h:
8244 move docs so gtk-doc picks it up now
8246 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8248 * docs/libs/gstreamer-libs-sections.txt:
8249 add missing symbols to docs
8251 2006-05-02 Stefan Kost <ensonic@users.sf.net>
8253 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8254 back out the newsegment handling change, see #340060 for ongoing
8257 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
8259 * tools/gst-run.c: (get_candidates), (main):
8260 Fix wrong g_file_test() usage (see glib docs for why it doesn't
8261 work); fix typo in error message. Fixes #340079.
8263 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8265 * common/Makefile.am:
8267 * docs/faq/Makefile.am:
8268 * docs/gst/Makefile.am:
8269 * docs/libs/Makefile.am:
8270 * docs/manual/Makefile.am:
8271 * docs/plugins/Makefile.am:
8272 * docs/pwg/Makefile.am:
8273 * docs/slides/Makefile.am:
8275 * common/upload.mak:
8276 move upload.mak to common
8278 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
8280 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8281 add more asserts on refcounts
8282 do more cleanup at end of tests
8283 fix test leaks showing in FC5
8285 2006-04-29 Stefan Kost <ensonic@users.sf.net>
8287 * plugins/elements/gsttypefindelement.c:
8288 (gst_type_find_element_handle_event):
8289 reverted wrong change and reflowed code to avoid others falling into
8292 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8294 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8295 fix changelog entry about last collectpads change,
8296 add notes about proper fix
8298 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8301 * gst/gstregistry.c: (gst_registry_scan_path_level),
8302 (gst_registry_scan_path):
8303 * gst/gstregistry.h:
8304 only write out registry if it has changed, fixes #338339
8306 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8309 * gst/gstpipeline.c:
8310 * plugins/elements/gstcapsfilter.c:
8311 * plugins/elements/gstfakesink.c:
8312 * plugins/elements/gstfakesrc.c:
8313 * plugins/elements/gstfdsink.c:
8314 * plugins/elements/gstfdsrc.c:
8315 * plugins/elements/gstfilesink.c:
8316 * plugins/elements/gstfilesrc.c:
8317 * plugins/elements/gstidentity.c:
8318 * plugins/elements/gstqueue.c:
8319 * plugins/elements/gsttee.c:
8320 * plugins/elements/gsttypefindelement.c:
8321 (gst_type_find_element_handle_event):
8322 make GstElementDetails const
8324 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8326 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
8327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8328 (gst_collect_pads_is_collected), (gst_collect_pads_event):
8329 more detailed debug and formatting cleanup,
8330 forward newsegments to src-pad (so that e.g. adder not eats them)
8332 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8334 * gst/gstutils.c: (gst_element_link_pads):
8337 2006-04-28 Stefan Kost <ensonic@users.sf.net>
8339 * libs/gst/controller/gstcontroller.c:
8340 (gst_controller_sync_values):
8342 * tests/check/libs/controller.c: (GST_START_TEST),
8343 (gst_controller_suite):
8344 a new test for live value handling
8346 2006-04-28 Wim Taymans <wim@fluendo.com>
8348 * gst/gstutils.c: (push_and_ref):
8349 Added some more docs.
8350 Fix refcount issue whith gst_element_found_tags() helper
8351 function. Fixes #338335
8353 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8354 Added testsuite for gst_element_found_tags().
8356 2006-04-28 Michael Smith <msmith@fluendo.com>
8358 * gst/gstvalue.c: (gst_value_serialize_flags):
8359 Avoid NULL dereference when trying to serialize flags containing
8362 2006-04-28 Michael Smith <msmith@fluendo.com>
8364 * plugins/elements/gsttypefindelement.c:
8365 (gst_type_find_element_handle_event):
8366 If we get EOS before any data is accumulated, don't use
8367 uninitialised local variables.
8369 2006-04-28 Michael Smith <msmith@fluendo.com>
8371 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8372 (gst_dp_event_from_packet):
8373 Fixes in reading/writing events over GDP (not currently used?) -
8374 dereferencing NULL events for unknown/invalid event types, memory
8375 leak, and change g_warning to GST_WARNING.
8377 2006-04-28 Wim Taymans <wim@fluendo.com>
8379 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
8380 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8381 (gst_base_sink_get_position), (gst_base_sink_change_state):
8382 When frame dropping is enabled, we should not ignore frames
8384 Update some documentation.
8386 2006-04-28 Wim Taymans <wim@fluendo.com>
8388 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8389 (gst_base_src_send_event), (gst_base_src_change_state):
8390 Documentation updates.
8392 2006-04-28 Wim Taymans <wim@fluendo.com>
8394 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
8395 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
8396 handle EAGAIN, EINTR and short writes correctly. Also clean
8397 up some error cases, avoid a deadlock on bad file descriptors and
8398 use GST_DEBUG_OBJECT.
8401 2006-04-28 Wim Taymans <wim@fluendo.com>
8403 * gst/gstvalue.c: (gst_value_serialize_buffer),
8404 (gst_value_deserialize_buffer):
8405 Don't try to serialize a GValue with a NULL buffer.
8408 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8409 Added check for serialisation of NULL buffers.
8411 2006-04-28 Wim Taymans <wim@fluendo.com>
8413 * gst/gstminiobject.c: (gst_value_take_mini_object):
8414 Taking a NULL miniobject is valid, fix the case where
8415 we try to unref the NULL miniobject.
8417 2006-04-28 Wim Taymans <wim@fluendo.com>
8419 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8421 * gst/gstbin.c: (gst_bin_handle_message_func):
8423 Don't leak bin refcount when a state recalc is
8424 in progress and we delay another one #339808.
8426 2006-04-28 Wim Taymans <wim@fluendo.com>
8428 * docs/design/part-TODO.txt:
8429 Mention QoS as an ongoing work item.
8431 * docs/design/part-buffering.txt:
8432 New doc about buffering that needs to be fleshed out
8435 * docs/design/part-qos.txt:
8436 More QoS policy for decoders/demuxers/transforms
8438 * docs/design/part-trickmodes.txt:
8441 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8446 === release 0.10.5 ===
8448 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
8451 releasing 0.10.5, "Fogo"
8453 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
8455 patch by: Wim Taymans
8457 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
8458 (gst_pad_configure_src), (gst_pad_push):
8459 * gst/gstpipeline.c: (gst_pipeline_init):
8460 Fix internal data flow errors. Fixes #338711.
8462 2006-04-12 Wim Taymans <wim@fluendo.com>
8464 * tests/check/gst/gstelement.c: (GST_START_TEST):
8465 Don't leak the factory.
8467 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8470 * win32/common/config.h:
8473 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
8475 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8476 (gst_controller_unset_all):
8477 Free allocated GstTimedValues when freeing list nodes.
8478 Should fix leaks 'make check-valgrind' complains about.
8480 * win32/common/libgstcontroller.def:
8481 Add gst_controller_unset_all.
8483 2006-04-11 Stefan Kost <ensonic@users.sf.net>
8485 * docs/libs/gstreamer-libs-sections.txt:
8486 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8487 (gst_controller_unset_all):
8488 * libs/gst/controller/gstcontroller.h:
8489 API: Added new method gst_controller_unset_all()
8490 fixed gst_controller_unset()
8491 * tests/check/libs/controller.c: (GST_START_TEST),
8492 (gst_controller_suite):
8493 Added two testcases for new and fixed method
8495 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
8497 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8498 MSG_DONTWAIT is not defined on Cygwin, so work
8499 around that (fixes #317048).
8501 2006-04-11 Wim Taymans <wim@fluendo.com>
8503 * gst/gstelementfactory.c: (gst_element_register),
8504 (gst_element_factory_create), (gst_element_factory_make):
8507 Updated docs (Fixes #131079)
8509 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8512 * tests/check/gst/gstelement.c: (GST_START_TEST),
8513 (gst_element_suite):
8514 Added testcase for elementfactory class field.
8516 2006-04-10 Wim Taymans <wim@fluendo.com>
8519 Added some more docs.
8521 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
8522 (gst_base_sink_reset_qos):
8523 Calculate more accurate rate values.
8525 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
8527 * gst/gst_private.h:
8528 add a new #ifdef to use __declspec(dllimport) only for
8529 other modules and not for gstreamer core
8530 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
8531 use gst_guint64_to_gdouble for conversion
8532 * win32/common/libgstreamer.def:
8533 add new exported functions
8534 * win32/vs6/gst_inspect.dsp:
8535 * win32/vs6/gst_launch.dsp:
8536 * win32/vs6/libgstbase.dsp:
8537 * win32/vs6/libgstcontroller.dsp:
8538 * win32/vs6/libgstcoreelements.dsp:
8539 * win32/vs6/libgstdataprotocol.dsp:
8540 * win32/vs6/libgstnet.dsp:
8541 update project files
8543 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8545 * gst/gstbuffer.c: (gst_subbuffer_class_init):
8546 * gst/gstclock.c: (gst_clock_class_init):
8547 * gst/gstelement.c: (gst_element_class_init):
8548 * gst/gstindex.c: (gst_index_class_init):
8549 * gst/gstindexfactory.c: (gst_index_factory_class_init):
8550 * gst/gstobject.c: (gst_object_class_init),
8551 (gst_signal_object_class_init):
8552 * gst/gstpad.c: (gst_pad_class_init):
8553 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
8554 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
8555 * gst/gstregistry.c: (gst_registry_class_init):
8556 * gst/gstsystemclock.c: (gst_system_clock_class_init):
8557 * gst/gsttask.c: (gst_task_class_init):
8558 * gst/gstxml.c: (gst_xml_class_init):
8559 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
8560 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8561 (gst_base_src_loop):
8562 * libs/gst/controller/gstcontroller.c:/
8563 (_gst_controller_class_init):
8564 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
8565 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
8566 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
8567 * tests/old/examples/plugins/example.c: (gst_example_class_init):
8568 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
8569 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
8571 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
8573 * gst/gstpad.c: (gst_pad_link):
8574 Must set peer pads before calling the link function, otherwise
8575 a task started from a link function might get a flow-not-linked
8576 result when trying to push because the other thread where the
8577 linking happens hasn't had a chance to set the peers yet. This
8578 might happen for example when a queue gets linked to a downstream
8579 element, as queue starts a streaming task when its source pad
8580 gets linked. Happens in real life when playing back flac/musepack
8581 files in playbin (#332390).
8583 2006-04-08 Stefan Kost <ensonic@users.sf.net>
8587 * libs/gst/base/gstadapter.h:
8588 * libs/gst/base/gstbasesink.h:
8589 * libs/gst/base/gstbasesrc.h:
8590 * libs/gst/base/gstbasetransform.h:
8591 * libs/gst/base/gstcollectpads.h:
8592 * libs/gst/base/gstpushsrc.h:
8593 Fix broken GObject macros
8595 2006-04-07 Wim Taymans <wim@fluendo.com>
8597 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8598 Initialize start and stop times, thanks valgrind.
8600 2006-04-07 Wim Taymans <wim@fluendo.com>
8602 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8603 Be a bit nicer to badly behaving upstream elements that expect
8604 us to deal with non TIME segments and timestamps (such as fakesrc
8607 2006-04-07 Wim Taymans <wim@fluendo.com>
8610 Small documentation clarification about the signal watch.
8612 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
8613 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8614 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8615 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
8616 (gst_base_sink_get_position_last),
8617 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
8618 Convert and store timestamps in stream time and running time, the
8619 raw timestamps are not useful, also document this better.
8620 Use different window sizes for good and bad QoS observations so
8621 we react to badness a little quicker.
8622 Keep track of the amount of rendered and dropped buffers.
8623 Send QoS timestamps in running time.
8625 * libs/gst/base/gstbasetransform.c:
8626 (gst_base_transform_sink_eventfunc),
8627 (gst_base_transform_handle_buffer):
8628 Compare QoS timestamps against running time.
8630 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8635 2006-04-06 Michael Smith <msmith@fluendo.com>
8637 * gst/gstpad.c: (gst_pad_set_property):
8638 Use g_value_get_object() instead of g_value_dup_gst_object(),
8639 to avoid double-reffing the pad template (which we then sink,
8640 so this worked previously if (and only if) the pad template
8643 * gst/gstpadtemplate.c: (gst_pad_template_init),
8644 (gst_pad_template_pad_created):
8645 Never return floating references to pad templates, create
8646 them as initially-sunken.
8648 Document an extra function (and make this stop sinking our
8649 pad template, since that is now guaranteed to do nothing,
8650 since we created it sunken).
8652 * gst/gstghostpad.c:
8655 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
8657 * gst/gstinfo.c: (__gst_in_valgrind):
8660 * plugins/elements/gsttypefindelement.c:
8661 (gst_type_find_element_chain):
8662 Don't leak buffer caps.
8664 2006-04-06 Michael Smith <msmith@fluendo.com>
8666 * gst/parse/grammar.y:
8667 Fix a leak in parse-launch for any source-or-sink named element
8670 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8671 Unref the pipeline if it exists after we've failed parsing.
8673 2006-04-05 Michael Smith <msmith@fluendo.com>
8675 * gst/gstpipeline.c: (gst_pipeline_init):
8676 When we create a pipeline bus, initially create it in flushing mode.
8677 Fixes leaks in at least one test, and makes a new pipeline work the
8678 same as one that has gone to READY and then back to NULL.
8683 2006-04-05 Michael Smith <msmith@fluendo.com>
8685 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8686 Unref a pad we reffed.
8687 * tests/check/gst/gstutils.c: (GST_START_TEST):
8690 2006-04-05 Michael Smith <msmith@fluendo.com>
8692 * gst/gstquery.c: (gst_query_set_formats),
8693 (gst_query_set_formatsv):
8694 Fix leaking GValues in queries, as shown by valgrind/testsuite.
8696 2006-04-05 Michael Smith <msmith@fluendo.com>
8698 * tests/check/generic/sinks.c: (GST_START_TEST):
8699 Fix a variety of memleaks in sinks check, which are only sometimes
8700 shown by running the tests under valgrind (weird?).
8702 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
8704 * docs/version.entities.in:
8705 Fix the substituted entity name after thomas' changes on the
8708 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8710 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
8713 2006-04-05 Andy Wingo <wingo@pobox.com>
8715 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
8717 * libs/gst/base/gstbasetransform.c
8718 (gst_base_transform_sink_eventfunc): When resetting our segment on
8719 FLUSH_STOP, also update the flag saying we haven't seen a
8722 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8724 Patch by: Paolo Borelli <pborelli at katamail dot com>
8726 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
8727 (gst_plugin_check_license):
8728 minor clean-ups: G_DEFINE_TYPE already takes care of the
8729 parent_class stuff, no need to do it twice. Mark array of
8730 license strings as constant. (#337103)
8732 2006-04-04 Michael Smith <msmith@fluendo.com>
8734 * tools/gst-inspect.c: (print_element_list):
8735 Free the right plugin list; fixes a memory leak.
8737 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8739 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8741 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
8742 Don't error out on empty buffers (#336945).
8744 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
8746 * docs/libs/gstreamer-libs-sections.txt:
8748 * libs/gst/base/gstbasesink.c:
8749 * libs/gst/base/gstbasesink.h:
8750 * libs/gst/base/gstbasesrc.c:
8751 * libs/gst/base/gstbasesrc.h:
8752 Documentation updates. Make BaseSink and BaseSrc docs contain the
8753 class structure so that people can actually see the prototypes for
8754 virtual functions they're supposed to be overriding.
8756 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
8758 * plugins/elements/gsttypefindelement.c:
8759 (gst_type_find_element_chain):
8760 More debug info; when skipping typefinding, send cached
8761 events in all cases.
8763 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
8766 use new AS_VERSION and AS_NANO macros
8767 * gst/gst-i18n-lib.h:
8770 * gst/gstversion.h.in:
8771 * win32/common/config.h:
8772 * win32/common/config.h.in:
8775 2006-03-31 Michael Smith <msmith@fluendo.com>
8777 * plugins/elements/gsttypefindelement.c:
8778 (gst_type_find_element_chain):
8779 Do not typefind content if the buffers already have caps.
8780 Neccesary for icydemux (#333657), and the right thing to do anyway.
8782 2006-03-30 Wim Taymans <wim@fluendo.com>
8784 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
8785 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
8786 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
8787 (gst_base_sink_record_qos_observation),
8788 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8789 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8790 (gst_base_sink_change_state):
8791 More QoS measurements as described in the design doc.
8792 Get rid of ringbuffer with observations, running average is
8793 more simple and equally good.
8794 Calculates valid proportion now.
8795 Added beginning of flood measurement.
8797 2006-03-29 Wim Taymans <wim@fluendo.com>
8799 * docs/design/part-qos.txt:
8801 Small documentation updates and additions.
8803 2006-03-29 Wim Taymans <wim@fluendo.com>
8805 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8806 (gst_base_src_send_event), (gst_base_src_loop),
8807 (gst_base_src_change_state):
8808 Perform the EOS logic when we reach the segment stop position.
8809 Fix compilation on gcc4.1
8811 2006-03-29 Wim Taymans <wim@fluendo.com>
8813 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8815 * plugins/elements/gstqueue.c: (gst_queue_init),
8816 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8817 (gst_queue_set_property):
8818 * plugins/elements/gstqueue.h:
8819 In queue, when EOS is received, if minimum threshold > max_size -
8820 current_level, there is chance that queue blocks forever in conditional
8821 item del wait. This is because the queue is not emptied completely due
8822 to minimum threshold. Here is another approach. Instead of setting
8823 cur_levels to max in EOS, just zero all minimum threshold levels. This
8824 should make sure that queue gives out all data. When going to READY
8825 (stop) state, just reset the original minimum threshold levels.
8828 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
8830 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
8831 (gst_type_find_element_handle_event),
8832 (gst_type_find_element_send_cached_events),
8833 (gst_type_find_element_change_state):
8834 * plugins/elements/gsttypefindelement.h:
8835 When typefinding is done in push mode, we should cache
8836 events we receive during typefinding instead of just
8837 dropping them (e.g. newsegment, custom events from
8838 dvdreadsrc etc.) and then send them out once we've
8839 determined the type of the stream (and decodebin
8840 has had a chance to plug in a decoder/demuxer).
8842 2006-03-27 Wim Taymans <wim@fluendo.com>
8844 * docs/design/part-qos.txt:
8847 2006-03-27 Wim Taymans <wim@fluendo.com>
8849 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
8851 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
8852 (gst_base_src_send_event), (gst_base_src_change_state):
8853 Handle element seek correctly when we are streaming.
8856 2006-03-24 Michael Smith <msmith@fluendo.com>
8858 * docs/faq/gst-uninstalled:
8859 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
8860 allow you to correctly run intalled applications built against old
8861 core, using plugins that require updated core (e.g. running
8862 installed totem against a full uninstalled gstreamer stack)
8864 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8866 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
8869 2006-03-24 Wim Taymans <wim@fluendo.com>
8871 * docs/gst/gstreamer-sections.txt:
8872 Rearrange the order of the methods so that related methods
8873 are grouped together in sections.
8875 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8878 Little clarification in the docs
8880 2006-03-24 Stefan Kost <ensonic@users.sf.net>
8884 * plugins/elements/gstidentity.c:
8885 * plugins/elements/gstqueue.c:
8886 * plugins/elements/gsttee.c:
8887 * plugins/elements/gsttypefindelement.c:
8888 GST_ELEMENT_DETAILS formatting
8890 2006-03-24 Wim Taymans <wim@fluendo.com>
8892 * libs/gst/base/gstbasesink.h:
8893 Only add fields, not insert or we break ABI.
8895 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8897 * win32/common/libgstbase.def:
8898 * win32/common/libgstreamer.def:
8899 Update, add recently added functions.
8901 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8903 * docs/gst/gstreamer-sections.txt:
8904 * gst/gstutils.c: (gst_pad_query_peer_position),
8905 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
8907 API: add some new utility functions:
8908 - gst_pad_query_peer_position()
8909 - gst_pad_query_peer_duration()
8910 - gst_pad_query_peer_convert()
8912 2006-03-23 Wim Taymans <wim@fluendo.com>
8914 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8915 (gst_base_sink_init), (gst_base_sink_finalize),
8916 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
8917 (gst_base_sink_set_property), (gst_base_sink_get_property),
8918 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
8919 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
8920 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
8921 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
8922 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
8923 (gst_base_sink_preroll_object), (gst_base_sink_event),
8924 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
8925 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
8926 (gst_base_sink_query), (gst_base_sink_change_state):
8927 Decouple max-lateness and the fact that QoS messages are generated
8928 with a new property (qos).
8929 added API: GstBaseSink::async_play()
8930 Add vmethod so subclasses can be notified of ASYNC playing
8932 Collect timestamp start and stop to report better current
8933 position in EOS/PLAYING/PAUSED/READY/NULL.
8934 Refactor QoS/frame dropping and other measurements.
8935 API: GstBaseSrc::qos
8938 * libs/gst/base/gstbasesink.h:
8939 Added Private struct.
8940 API: gst_base_sink_set_qos_enabled()
8941 API: gst_base_sink_is_qos_enabled()
8943 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
8945 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
8946 If compiling against GLib-2.8 or newer, try to read the
8947 registry file using GMappedFile first before falling back
8948 to fopen() + fread() (#332151).
8950 2006-03-22 Wim Taymans <wim@fluendo.com>
8952 * gst/gstinfo.c: (gst_debug_set_active),
8953 (gst_debug_category_set_threshold):
8954 Disable debugging unless explicitly activated.
8957 2006-03-22 Wim Taymans <wim@fluendo.com>
8959 * gst/gstelement.c: (gst_element_set_locked_state),
8960 (gst_element_dispose):
8961 Cleanup the error case.
8963 * gst/gstobject.c: (gst_object_dispose):
8964 print a critical when some object was disposed with
8965 a parent, also revive the object since it might
8968 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
8970 * tools/gst-launch.1.in:
8973 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8976 * tests/check/Makefile.am:
8977 disable some tests when we don't have a registry
8978 * tests/check/gst/gstutils.c: (gst_utils_suite):
8979 don't build the part that needs parsing
8981 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
8984 * tests/examples/Makefile.am:
8985 fix --disable-parse build
8987 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8989 * tools/gst-feedback.1.in:
8990 Fix typo: s/feeback/feedback/ (#133494).
8992 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
8994 * tools/Makefile.am:
8995 * tools/gst-launch.1.in:
8996 Add FILES section and correct entry about GST_REGISTRY_PATH
8997 environment variable (#133495; #133494).
8999 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9001 * tools/Makefile.am:
9002 * tools/gst-md5sum.1.in:
9003 * tools/gst-md5sum.c:
9004 Remove gst-md5sum and man page (the md5sink element
9005 required was removed ages ago)
9007 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9009 * gst/gststructure.c: (gst_structure_id_set_value):
9010 Make sure that string fields in structures/taglists
9011 contain valid UTF-8 - we don't want to pass rubbish to
9012 applications because of a buggy plugin (cp. #334167).
9014 2006-03-21 Edward Hervey <edward@fluendo.com>
9016 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9017 (gst_bin_handle_message_func):
9018 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
9019 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
9020 (gst_element_set_bus_func):
9021 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
9022 * gst/gstminiobject.c: (gst_value_set_mini_object),
9023 (gst_value_take_mini_object):
9024 * gst/gstpad.c: (gst_pad_set_pad_template):
9025 * gst/gstpipeline.c: (gst_pipeline_dispose),
9026 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9027 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
9028 (gst_collect_pads_chain):
9029 * libs/gst/net/gstnettimeprovider.c:
9030 (gst_net_time_provider_set_property):
9031 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
9032 It's in fact all issues with gst_*object_replace().
9034 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
9036 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
9038 * pkgconfig/gstreamer-check-uninstalled.pc.in:
9039 * pkgconfig/gstreamer-check.pc.in:
9040 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
9042 2006-03-21 Edward Hervey <edward@fluendo.com>
9047 gst_[buffer|event|message]_ref() macros are replaced by a static
9048 inline functions because gcc-4.1 will about if the return value
9050 * tests/check/gst/gstevent.c: (event_probe):
9051 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
9053 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
9056 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
9057 the type' case. (Closes: #335195 for now). In the future, when we
9058 depend on GLib 2.10, we could also intern the type name using
9059 g_intern_static_string()
9061 2006-03-20 Wim Taymans <wim@fluendo.com>
9063 * gst/gstbin.c: (gst_bin_handle_message_func),
9064 (bin_query_max_init), (bin_query_position_fold),
9065 (bin_query_position_done), (gst_bin_query):
9066 Position query should also take max of all streams.
9068 2006-03-20 Wim Taymans <wim@fluendo.com>
9070 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
9071 (gst_fake_src_finalize):
9072 Fix leaks in fakesrc.
9074 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9075 Fix leaks in the testcase.
9077 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
9079 * gst/gst_private.h:
9080 add win32 specific import decoration(__declspec(dllimport))
9081 for all extern GstDebugCategory * variables
9082 * win32/common/libgstbase.def:
9083 * win32/common/libgstcontroller.def:
9084 * win32/common/libgstreamer.def:
9085 Add some exports, remove empty lines
9086 * win32/common/libgstdataprotocol.def:
9087 * win32/common/libgstdataprotocol.dsp:
9088 * win32/common/libgstnet.def:
9089 * win32/common/libgstnet.dsp:
9090 new project files and exportation files added
9092 2006-03-19 Wim Taymans <wim@fluendo.com>
9094 * tests/check/libs/basesrc.c: (eos_event_counter):
9095 Use proper return value for probe.
9097 2006-03-17 Wim Taymans <wim@fluendo.com>
9099 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9101 Don't leak buffers, caps and pads on negotiation errors.
9103 2006-03-16 Stefan Kost <ensonic@users.sf.net>
9106 * docs/faq/dependencies.xml:
9107 * docs/faq/developing.xml:
9109 * docs/faq/general.xml:
9110 * docs/faq/getting.xml:
9111 * docs/faq/legal.xml:
9112 * docs/faq/troubleshooting.xml:
9113 * docs/faq/using.xml:
9114 Faq review and update.
9116 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
9118 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
9120 Don't pound the cpu to pieces by checking get_caps when accept_caps
9121 is called with the same caps as the pad already has.
9122 Use GST_DEBUG_OBJECT when outputting caps change information.
9124 2006-03-15 Wim Taymans <wim@fluendo.com>
9126 * gst/gstclock.c: (gst_clock_class_init):
9129 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
9134 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
9135 (gst_pad_accept_caps), (gst_pad_configure_sink),
9136 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
9137 Make the default acceptcaps behaviour be to check the requested
9138 caps against the gst_pad_get_caps output.
9140 Ensure that gst_pad_accept_caps is used to check caps when a pad
9141 doesn't have a setcaps function, so that pads automatically refuse
9142 caps that they don't allow in their pad template. (Fixes #332986)
9144 When a buffer with attached caps is pushed, ensure that the source
9145 pad receives those caps even if the element didn't call
9146 gst_pad_set_caps first.
9148 2006-03-15 Wim Taymans <wim@fluendo.com>
9150 * libs/gst/base/gstadapter.c:
9153 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
9155 * win32/common/libgstbase.def:
9156 * win32/common/libgstcontroller.def:
9157 * win32/common/libgstreamer.def:
9158 Add a whole bunch of missing functions (#334434).
9160 2006-03-14 Wim Taymans <wim@fluendo.com>
9162 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9163 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
9164 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
9165 Better debug info when we receive a segment event.
9166 Reorganize a bit so we can pass the get_times() results around.
9167 Use the segment format when calculating the running time.
9168 Don't do QoS is sync is disabled or we have no clock or the
9169 element does not want us to sync to the clock.
9170 Don't drop buffers if QoS is disabled for now.
9172 2006-03-14 Wim Taymans <wim@fluendo.com>
9174 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
9175 Marked the stats property as unimplemented so people don't get
9177 Add debug message when regression goes wrong.
9178 Added some more docs.
9180 2006-03-14 Wim Taymans <wim@fluendo.com>
9182 * gst/gstsegment.c: (gst_segment_to_stream_time):
9183 Return correct return type in case of errors.
9185 2006-03-14 Wim Taymans <wim@fluendo.com>
9187 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
9188 Don't segfault on invalid formats.
9190 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9192 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9193 Can't use gst_segment_to_running_time() when the segment
9194 is not in GST_TIME_FORMAT (like with filesink, for example).
9195 Stops flac encoding pipelines from spewing critical warnings
9198 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
9200 * gst/gstpipeline.c: (gst_pipeline_class_init):
9201 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
9203 * plugins/elements/gsttypefindelement.c:
9204 (gst_type_find_element_handle_event):
9205 Don't try to typefind empty streams.
9207 2006-03-14 Wim Taymans <wim@fluendo.com>
9209 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
9210 (gst_base_sink_do_qos):
9211 Separate QoS calculation.
9212 Only drop buffers when lateness is bigger than the
9213 duration of the buffer.
9215 2006-03-13 Wim Taymans <wim@fluendo.com>
9217 * gst/gstpipeline.c: (gst_pipeline_set_property),
9218 (gst_pipeline_get_property), (do_pipeline_seek),
9219 (gst_pipeline_change_state), (gst_pipeline_set_delay),
9220 (gst_pipeline_get_delay):
9221 Don't deadlock when reading properties.
9223 2006-03-13 Wim Taymans <wim@fluendo.com>
9225 * libs/gst/base/gstbasetransform.c:
9226 (gst_base_transform_class_init), (gst_base_transform_init),
9227 (gst_base_transform_sink_event),
9228 (gst_base_transform_sink_eventfunc),
9229 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
9230 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9231 (gst_base_transform_set_property),
9232 (gst_base_transform_get_property),
9233 (gst_base_transform_change_state), (gst_base_transform_update_qos),
9234 (gst_base_transform_set_qos_enabled),
9235 (gst_base_transform_is_qos_enabled):
9236 * libs/gst/base/gstbasetransform.h:
9237 Make basetransform virtual method for src events too.
9238 Handle QOS in basetransform.
9239 API: gst_base_transform_update_qos()
9240 API: gst_base_transform_set_qos_enabled()
9241 API: gst_base_transform_is_qos_enabled()
9243 2006-03-13 Wim Taymans <wim@fluendo.com>
9245 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
9246 (gst_base_sink_do_sync):
9248 Use QOS debug category.
9250 2006-03-13 Wim Taymans <wim@fluendo.com>
9252 * plugins/elements/gstqueue.c:
9253 Very small doc update.
9255 2006-03-13 Wim Taymans <wim@fluendo.com>
9257 * gst/gst_private.h:
9258 * gst/gstinfo.c: (_gst_debug_init):
9259 Added QOS debug category
9261 2006-03-13 Wim Taymans <wim@fluendo.com>
9263 * docs/gst/gstreamer-sections.txt:
9264 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
9266 * gst/gstbus.c: (gst_bus_class_init):
9269 * gst/gstelement.c: (gst_element_set_locked_state):
9271 Documentation updates.
9273 * gst/gstpipeline.c: (gst_pipeline_get_type),
9274 (gst_pipeline_class_init), (gst_pipeline_init),
9275 (gst_pipeline_dispose), (gst_pipeline_set_property),
9276 (gst_pipeline_get_property), (do_pipeline_seek),
9277 (gst_pipeline_send_event), (gst_pipeline_change_state),
9278 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
9279 (gst_pipeline_get_delay):
9280 * gst/gstpipeline.h:
9281 Added methods for setting the delay.
9282 API: gst_pipeline_set_delay()
9283 API: gst_pipeline_get_delay()
9284 Add pipeline debug category
9287 Don't reset stream time when seek failed.
9289 2006-03-13 Wim Taymans <wim@fluendo.com>
9291 * docs/design/draft-klass.txt:
9292 * docs/design/part-clocks.txt:
9293 * docs/design/part-events.txt:
9294 * docs/design/part-gstbin.txt:
9295 * docs/design/part-gstpipeline.txt:
9296 * docs/design/part-messages.txt:
9297 * docs/design/part-negotiation.txt:
9298 * docs/design/part-overview.txt:
9299 * docs/design/part-preroll.txt:
9300 * docs/design/part-seeking.txt:
9301 * docs/design/part-states.txt:
9302 * docs/design/part-streams.txt:
9303 Documentation updates.
9305 2006-03-12 Julien MOUTTE <julien@moutte.net>
9307 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
9308 us to leak strings...
9310 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
9312 * libs/gst/net/gstnettimeprovider.c:
9314 * win32/common/config.h:
9317 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
9319 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
9322 Don't check for libgnomeui (leftover from old examples
9323 that aren't built or disted any longer) (#334303).
9325 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
9327 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
9328 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
9329 Emit RESOURCE_NO_SPACE_LEFT error here as well when
9330 there's no space left on the device.
9332 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
9335 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
9336 to cast the input to GstClockTime before comparing with
9337 another GstClockTime value.
9339 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9344 === release 0.10.4 ===
9346 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
9349 releasing 0.10.4, "Light"
9351 2006-03-10 Michael Smith <msmith@fluendo.com>
9353 * libs/gst/dataprotocol/dataprotocol.c:
9354 Fix docs for dataprocotol to not get the return types completely
9355 wrong for a few functions.
9357 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9359 * docs/gst/gstreamer-sections.txt:
9360 * gst/gstpipeline.c: (gst_pipeline_class_init),
9361 (gst_pipeline_init), (gst_pipeline_set_property),
9362 (gst_pipeline_get_property), (gst_pipeline_change_state),
9363 (gst_pipeline_set_auto_flush_bus),
9364 (gst_pipeline_get_auto_flush_bus):
9365 * gst/gstpipeline.h:
9366 Add new API: gst_pipeline_set_auto_flush_bus() and
9367 gst_pipeline_get_auto_flush_bus() to disable automatic
9368 flushing of the pipeline's GstBus when going from READY
9369 to NULL state (#332045).
9371 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9373 * docs/gst/gstreamer-sections.txt:
9374 * gst/gsturi.c: (gst_uri_has_protocol):
9376 Add new API: gst_uri_has_protocol() (#333779).
9378 2006-03-09 Wim Taymans <wim@fluendo.com>
9380 * gst/gstclock.c: (gst_clock_entry_new),
9381 (gst_clock_id_compare_func), (gst_clock_id_wait),
9382 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
9383 (gst_clock_init), (gst_clock_get_internal_time),
9384 (gst_clock_set_master), (do_linear_regression),
9385 (gst_clock_add_observation), (gst_clock_set_property):
9389 Fix a possible segfault when the window-size is made smaller.
9390 Calculate jitter before performing the clock wait. Ideally
9391 the clock implementation should calculate jitter but we need
9392 API breakage for that.
9394 * gst/gstsystemclock.c: (gst_system_clock_init):
9397 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9398 Remove leftover else
9400 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9401 (gst_systemclock_suite):
9402 Added check to test GST_CLOCK_DIFF.
9404 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
9406 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
9407 (gst_type_find_helper_get_range):
9408 If we are provided with the size, we should implement
9409 GstTypeFind::get_length, so that typefind functions who
9410 want to can actually peek at the middle of a file.
9412 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
9414 * docs/manual/advanced-dataaccess.xml:
9415 Add some very very basic error checking.
9417 * docs/pwg/appendix-checklist.xml:
9418 Some updates to the list of things to check when writing an element.
9420 2006-03-08 Wim Taymans <wim@fluendo.com>
9422 * docs/design/part-element-transform.txt:
9423 Added some docs about the design of tranform elements.
9425 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9426 (gst_base_src_loop), (gst_base_src_change_state):
9427 Mark buffers with the DISCONT flag.
9429 2006-03-08 Michael Smith <msmith@fluendo.com>
9431 * gst/gstregistry.h:
9432 * gst/gstregistryxml.c: (gst_registry_save),
9433 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
9434 (gst_registry_xml_save_pad_template),
9435 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
9436 (gst_registry_xml_write_cache):
9437 Rewrite registry-saving to avoid race conditions and check for
9440 2006-03-08 Wim Taymans <wim@fluendo.com>
9442 * libs/gst/base/gstbasetransform.c:
9443 (gst_base_transform_transform_caps),
9444 (gst_base_transform_transform_size),
9445 (gst_base_transform_prepare_output_buffer),
9446 (gst_base_transform_get_unit_size),
9447 (gst_base_transform_buffer_alloc),
9448 (gst_base_transform_handle_buffer),
9449 (gst_base_transform_change_state):
9450 Cleanups, separate normal flow from errors, add sensible
9452 Don't try to renegotiate when allocating an output buffer.
9453 Also copy DISCONT buffer flag when copying a buffer.
9454 Reset the transform after we finish streaming, not during.
9456 2006-03-08 Wim Taymans <wim@fluendo.com>
9458 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9459 Use last buffer timestamp in qos message.
9461 2006-03-07 Wim Taymans <wim@fluendo.com>
9463 Patch by: Christophe Fergeau
9465 * docs/pwg/advanced-tagging.xml:
9466 * docs/pwg/building-pads.xml:
9469 2006-03-07 Wim Taymans <wim@fluendo.com>
9471 * docs/libs/gstreamer-libs-sections.txt:
9472 Added basesink new methods.
9476 Docs updates. Flesh out the QoS docs.
9478 * libs/gst/base/gstadapter.c:
9479 Small doc clarification about ownership and flushing.
9481 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
9482 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
9483 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
9484 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9485 * libs/gst/base/gstbasesink.h:
9487 Added new methods to allow subclass to control max-lateness
9489 Generate very basic QoS events based on last sync observation.
9490 Updated docs, fix typo, added some QoS blurb.
9492 * libs/gst/base/gstbasesrc.c:
9493 Remove obsolete _get_state() calls from docs.
9495 2006-03-07 Wim Taymans <wim@fluendo.com>
9497 * docs/libs/gstreamer-libs-sections.txt:
9498 * libs/gst/base/gstbasetransform.h:
9499 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
9500 Fix docs for GstBaseSrc.
9502 2006-03-07 Wim Taymans <wim@fluendo.com>
9504 * docs/gst/gstreamer-sections.txt:
9507 * libs/gst/base/gstbasetransform.h:
9508 Small documentation fixes.
9510 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9513 Document thread-unsafety of gst_value_register_foo_func()
9514 when used at the same time as gst_value_foo() (#322628).
9516 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
9518 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
9519 (gst_push_src_check_get_range):
9520 Push sources don't support pull mode by default.
9522 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9524 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9525 (gst_base_src_init), (gst_base_src_pad_check_get_range),
9526 (gst_base_src_default_check_get_range):
9527 * libs/gst/base/gstbasesrc.h:
9528 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
9529 provide default implementation, and rename
9530 gst_base_src_check_get_range() to
9531 gst_base_src_pad_check_get_range() for clarity.
9533 2006-03-06 Wim Taymans <wim@fluendo.com>
9535 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9536 Make property overridable.
9538 2006-03-06 Wim Taymans <wim@fluendo.com>
9540 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9541 (gst_base_sink_init), (gst_base_sink_set_property),
9542 (gst_base_sink_get_property), (gst_base_sink_do_sync):
9543 * libs/gst/base/gstbasesink.h:
9544 API addition: Make max-lateness a property.
9546 2006-03-06 Wim Taymans <wim@fluendo.com>
9548 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
9549 (gst_base_sink_do_sync), (gst_base_sink_render_object):
9550 Don't ever draw a frame that is >10ms late.
9552 2006-03-06 Michael Smith <msmith@fluendo.com>
9554 * gst/gstmessage.c: (_gst_message_copy):
9555 When copying a message, set the parent_refcount of the enclosed
9556 structure to point at the copy, not the original message.
9558 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
9560 Patch by: Christophe Fergeau
9563 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
9564 usable in c++ code (#333417)
9566 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
9569 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
9571 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
9573 * libs/gst/base/gstbasetransform.c:
9574 (gst_base_transform_transform_caps):
9575 Make sure caps are writable before passing them to
9578 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9581 Fix some minor docs errors.
9583 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
9585 Patch by: Ross Burton <ross at burtonini dot com>
9587 * gst/gsterror.c: (_gst_resource_errors_init):
9589 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
9591 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9594 Add a check and output a g_warning when GStreamer is built
9595 against GLib 2.6 but running against 2.8 or higher, and vice
9596 versa. (Closes: #323542)
9598 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
9600 * gst/parse/parse.l:
9601 Commit patch for parse_launch syntax from #331255. Removes
9602 support for quoted strings and mimetypes when writing filtered
9603 caps. See the bug report for more details - I'm pretty sure this
9604 obscure feature is not in use by _anyone_ anywhere.
9606 With this simple change, the size of the gstreamer.so here
9607 drops from 2193KB to 1565KB.
9609 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9611 * plugins/elements/gsttypefindelement.h:
9612 * plugins/elements/gsttypefindelement.c:
9613 (gst_type_find_element_src_event), (start_typefinding),
9614 (stop_typefinding), (gst_type_find_element_handle_event),
9615 (gst_type_find_element_chain),
9616 (gst_type_find_element_chain_do_typefinding):
9617 Use gst_type_find_helper_for_buffer() for chain-based
9620 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9622 * plugins/elements/gsttypefindelement.c:
9623 (gst_type_find_element_class_init),
9624 (gst_type_find_element_set_property),
9625 (gst_type_find_element_get_property):
9626 Deprecate "maximum" property (not only was it only taken into
9627 account for typefinding in push-mode anyway, it also was never
9628 actually possible to set it in the first place because the
9629 property was registered with the numeric property ID for the
9630 "minimum" property). Register "maximum" property correctly,
9631 for the sake of future copy'n'pasters. Remove some cruft
9632 from property get/set functions.
9634 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
9636 * plugins/elements/gsttypefindelement.c:
9637 (gst_type_find_element_activate):
9638 Use gst_type_find_helper_get_range() here, so we
9639 can honour the "minimum" property and also emit
9640 the signal with the correct probability of the found caps.
9642 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
9644 * docs/libs/gstreamer-libs-sections.txt:
9645 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
9646 (helper_find_suggest), (gst_type_find_helper_get_range),
9647 (gst_type_find_helper):
9648 * libs/gst/base/gsttypefindhelper.h:
9649 New API: gst_type_find_helper_get_range() (#333042).
9651 2006-03-02 Michael Smith <msmith@fluendo.com>
9653 * gst/gstregistryxml.c: (load_feature):
9654 Asserting on a failure to read part of the registry is Not Cool.
9655 Just log a warning and return NULL (which is already handled)
9657 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
9659 * win32/common/libgstbase.def:
9660 added export of gst_type_find_helper_for_buffer
9661 * win32/common/libgstbase.def:
9662 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
9663 gst_ghost_pad_get_target
9665 2006-02-28 Wim Taymans <wim@fluendo.com>
9667 * docs/design/draft-klass.txt:
9669 Added Connector to mark elements that are only used to
9670 allow pipeline connections.
9671 Moved Debug to extra feature since most of them are
9672 functionally something else.
9674 2006-02-28 Wim Taymans <wim@fluendo.com>
9676 * docs/design/draft-klass.txt:
9677 Some updates and clarifications.
9679 2006-02-28 Wim Taymans <wim@fluendo.com>
9681 * docs/design/draft-klass.txt:
9682 Proposal for klass field values.
9684 * docs/design/part-streams.txt:
9685 Start of a doc describing stream anatomy.
9687 2006-02-28 Wim Taymans <wim@fluendo.com>
9689 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
9690 Help the compiler a bit with type registration.
9691 Use existing forward cod path instead of duplicating it when
9694 * gst/gstbus.c: (gst_bus_get_type):
9695 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
9696 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
9697 * gst/gstclock.c: (gst_clock_get_type):
9698 * gst/gstelement.c: (gst_element_get_type),
9699 * gst/gstelementfactory.c: (gst_element_factory_get_type):
9700 * gst/gstindexfactory.c: (gst_index_factory_get_type):
9701 * gst/gstminiobject.c: (gst_mini_object_get_type):
9702 * gst/gstpad.c: (gst_pad_get_type):
9703 * gst/gstsegment.c: (gst_segment_get_type):
9704 * gst/gststructure.c: (gst_structure_get_type):
9705 * gst/gstsystemclock.c: (gst_system_clock_get_type):
9706 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
9708 Help compiler with type registration.
9710 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
9713 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9715 * plugins/elements/gsttypefindelement.c:
9716 (gst_type_find_element_handle_event):
9717 When we get an EOS event and have not found a type yet
9718 (most likely because we had not yet accumulated
9719 TYPE_FIND_MIN_SIZE of data yet), try to determine the
9720 type given the data we have so far. Fixes typefinding
9721 for very short streams again, most notably quicktime
9722 redirections as used on Apple's trailer site (#331701).
9724 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9726 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
9727 (gst_type_find_helper):
9728 Try typefinding factories with the highest rank first.
9730 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9732 * docs/libs/gstreamer-libs-docs.sgml:
9733 * docs/libs/gstreamer-libs-sections.txt:
9734 * libs/gst/base/gsttypefindhelper.c:
9735 Add section for typefind helper and add documentation
9736 for the old and the new function.
9738 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9740 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
9741 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
9742 (gst_type_find_helper_for_buffer):
9743 * libs/gst/base/gsttypefindhelper.h:
9744 New API: gst_type_find_helper_for_buffer() (#332723).
9746 2006-02-27 Michael Smith <msmith@fluendo.com>
9748 Patch by: Loïc Minier
9752 * docs/slides/Makefile.am:
9753 prevent CVS directories getting disted.
9755 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
9757 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
9758 Use the REFCOUNTING category for caps refcounting.
9760 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9762 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
9763 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
9765 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
9767 * plugins/elements/gsttypefindelement.c:
9768 (gst_type_find_element_activate):
9769 Use gst_pad_check_pull_range() before _activate_pull()
9770 to avoid unnecessary open/close (see #331690).
9772 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9775 Docs enhancement: make it crystal clear what the
9776 gst_pad_add_*_probe() callbacks should look like.
9778 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
9780 * libs/gst/base/gstbasesrc.c:
9781 Document how applications can stop recording from
9782 live sources (see #330996).
9784 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9786 * tests/check/Makefile.am:
9787 * tests/check/libs/basesrc.c: (eos_event_counter),
9788 (basesrc_eos_events_pull), (basesrc_eos_events_push),
9789 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
9790 (gst_basesrc_suite), (main):
9791 ... and add some tests for the base source EOS stuff.
9793 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9795 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
9796 Test case originally showed the problem fixed below,
9797 but was then amended. Add checks back at the place
9798 where they used to be.
9800 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9802 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9803 (gst_base_src_init), (gst_base_src_loop),
9804 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9805 (gst_base_src_change_state):
9806 * libs/gst/base/gstbasesrc.h:
9807 Don't unconditionally send EOS when going from PAUSED to
9808 READY state, esp. make sure we don't send two EOS events
9809 in some cases (e.g. one when reaching EOS and one when
9810 going from PAUSED to READY). Also, we don't want to send
9811 EOS events when operating in pull mode. However, we do
9812 want to send an EOS event when shutting down a live
9813 source explicitly, for example (fixes #330996).
9815 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
9817 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9818 Update src->read_position after a seek when not using mmap.
9819 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
9821 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
9827 Make things work with --disable-parse as they do with
9828 --disable-load-save - the symbols involved disappear, but the
9829 header is still installed and GST_DISABLE_PARSE is included via
9832 2006-02-20 Julien MOUTTE <julien@moutte.net>
9834 * libs/gst/base/gstbasetransform.c:
9835 (gst_base_transform_change_state): Fix a stupid bug. I was
9836 sure I compiled that.
9838 2006-02-20 Julien MOUTTE <julien@moutte.net>
9840 * gst/gstpad.c: (gst_pad_set_blocked_async):
9841 * gst/gstutils.c: (gst_pad_add_data_probe),
9842 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9843 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9844 (gst_pad_remove_buffer_probe): Make those function act on the
9845 ghostpad target when it's a ghostpad. (Closes #331727)
9847 2006-02-20 Julien MOUTTE <julien@moutte.net>
9849 * libs/gst/base/gstbasetransform.c:
9850 (gst_base_transform_change_state): Make basetransform reusable.
9853 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
9855 * docs/random/release:
9856 Move the current documentation of how to do a release to the top
9859 * gst/gstbin.c: (gst_bin_class_init),
9860 (gst_bin_handle_message_func):
9861 Allow multiple state-recalculation threads. (Closes #328873)
9863 2006-02-19 Julien MOUTTE <julien@moutte.net>
9865 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
9866 * gst/gstpad.c: (gst_pad_set_event_function),
9867 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9868 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
9869 2 strings. You can't use the STR_NULL macro on that.
9871 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
9873 * gst/gstpad.c: (gst_pad_set_event_function),
9874 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9875 (gst_pad_set_getcaps_function)
9876 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
9877 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
9878 So now, we can use --gst-debug-level=5 on Windows
9879 * win32/common/libgstcontroller.def:
9880 Added export of gst_controller_init
9881 * win32/vs6/libgstcontroller.dsp:
9882 Fixed Release post build configuration
9884 2006-02-17 Wim Taymans <wim@fluendo.com>
9886 * tests/check/gst/gstquery.c: (GST_START_TEST):
9887 Added another check.
9889 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
9891 * plugins/elements/gsttypefindelement.c: (find_peek):
9892 We can do peeks at non-zero offsets, as long as they
9893 fall within the buffer we have.
9895 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
9897 * tests/check/Makefile.am:
9898 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
9899 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
9900 (parse_suite), (main):
9901 Add testsuite for parse launch syntax
9903 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
9905 * plugins/elements/gsttypefindelement.c:
9906 (gst_type_find_element_chain):
9907 When typefinding is unsuccessful in the chain function, don't
9908 error out immediately. Only error out with NO_CAPS_FOUND if
9909 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
9910 otherwise simply wait for more data so we can try typefinding
9911 again with more data later. Also, don't attempt to typefind
9912 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
9913 this should improve typefinding from network sources where the
9914 size of the first buffer can be somewhat random.
9916 2006-02-14 Wim Taymans <wim@fluendo.com>
9918 * docs/gst/gstreamer-sections.txt:
9919 * gst/gstpadtemplate.c:
9920 * gst/gstpadtemplate.h:
9921 Fix padtemplate docs, fixes #328805.
9923 2006-02-14 Wim Taymans <wim@fluendo.com>
9925 * tools/gst-launch.c: (main):
9926 NO_PREROLL is not an ERROR so don't send confusing messages
9929 2006-02-14 Wim Taymans <wim@fluendo.com>
9931 Patch by: Torsten Schoenfeld
9933 * gst/gstregistry.c: (gst_registry_get_default),
9934 (_gst_registry_cleanup):
9935 Protect default registry with lock and ref/sink it.
9938 2006-02-14 Wim Taymans <wim@fluendo.com>
9941 * gst/gstquery.c: (gst_query_list_add_format),
9942 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9943 (gst_query_parse_formats_nth):
9944 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9947 2006-02-14 Wim Taymans <wim@fluendo.com>
9949 * docs/gst/gstreamer-sections.txt:
9950 Reworked query docs.
9952 * gst/gstquery.c: (gst_query_new_formats),
9953 (gst_query_list_add_format), (gst_query_set_formats),
9954 (gst_query_set_formatsv), (gst_query_parse_formats_length),
9955 (gst_query_parse_formats_nth):
9957 Flesh out formats query, added some new methods.
9958 Fix part of #324398.
9960 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
9961 Added query creation tests.
9963 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
9965 * gst/gstpad.c: (fixate_value):
9966 Add a default fixation for fraction lists.
9968 2006-02-13 Wim Taymans <wim@fluendo.com>
9970 * gst/gsttask.c: (gst_task_init), (gst_task_func),
9971 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
9974 Detect and warn for obvious deadlocks. fixes #320340
9975 Fix error case where lock was not released.
9977 * tests/check/Makefile.am:
9978 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
9979 (task_func), (gst_element_suite), (main):
9982 2006-02-13 Wim Taymans <wim@fluendo.com>
9984 * docs/gst/gstreamer-sections.txt:
9986 Add new functions to docs.
9988 2006-02-13 Wim Taymans <wim@fluendo.com>
9990 * docs/design/part-TODO.txt:
9991 Updated TODO list, basesrc supports seeking to non-bytes
9994 * docs/design/part-element-sink.txt:
9997 * gst/gstbin.c: (bin_replace_message),
9998 (gst_bin_handle_message_func):
9999 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
10000 * gst/gstevent.c: (gst_event_finalize):
10001 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10002 (gst_pad_send_event):
10003 Use shiny new _TYPE_NAME macros.
10005 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10006 Move debug statement up.
10008 * gst/gstelement.c: (gst_element_set_locked_state):
10009 Add some debugging.
10011 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
10013 * docs/gst/gstreamer-sections.txt:
10014 * gst/gstmessage.h:
10016 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
10017 macros (#330906). Also, document the already existing
10018 GST_QUERY_TYPE macro.
10020 2006-02-13 Wim Taymans <wim@fluendo.com>
10022 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
10023 (event_probe), (GST_START_TEST):
10024 Only events up to the pipeline EOS are counted, there are
10025 some more when going to NULL currently which we don't care
10028 2006-02-13 Wim Taymans <wim@fluendo.com>
10030 * gst/gstpad.c: (gst_pad_send_event):
10031 Correctly check flushing and emit probes. fixes #330125
10033 2006-02-10 Andy Wingo <wingo@pobox.com>
10035 * gst/gstbus.c (gst_bus_class_init): Declare our private data
10037 (gst_bus_init): Cache the location of the private data in the
10038 instance structure.
10039 (gst_bus_enable_sync_message_emission)
10040 (gst_bus_disable_sync_message_emission): Implement new public
10042 (gst_bus_post): Emit the sync-message signal if the user asked for
10045 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
10046 location of the bus-private structure.
10047 (gst_bus_enable_sync_message_emission)
10048 (gst_bus_disable_sync_message_emission): API addition
10050 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
10052 Patch by: Vincent Torri
10054 * docs/pwg/building-boiler.xml:
10055 PWG patch from #326800
10057 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
10060 * docs/Makefile.am:
10061 * docs/design/Makefile.am:
10064 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10069 === release 0.10.3 ===
10071 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10074 releasing 0.10.3, "Like a virgin"
10076 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
10079 2nd prerelease of 0.10.3
10080 Bump libtool versioning.
10082 2006-02-07 Andy Wingo <wingo@pobox.com>
10084 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
10085 update last_stop if we're in TIME format and the timestamp is
10088 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
10089 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
10090 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
10091 If we get a new newsegment with a different format, adapt
10094 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
10095 of 0. Not a problem, really.
10097 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
10100 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
10105 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
10108 project files updated to the default vs7 configuration
10109 * win32/common/libgstbase.def:
10110 * win32/common/libgstreamer.def:
10112 removed empty lines,
10113 sorted all exported symbols alphabetically
10114 * win32/common/dirent.c:
10115 * win32/common/dirent.h:
10116 * win32/common/gchar.h:
10117 use windows line end.
10119 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10121 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10122 Send EOS event when stopping.
10124 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
10127 Tell folks what to do if the plugin-foobar.xml file
10128 hasn't been generated for a newly-added plugin.
10130 2006-02-05 Julien MOUTTE <julien@moutte.net>
10132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10133 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10134 (gst_collect_pads_start), (gst_collect_pads_stop),
10135 (gst_collect_pads_event): Collectpads now holds a reference
10136 to the GstPad that was added. Indeed we don't want to look
10137 at pads that might just go away with no warning...
10139 2006-02-05 Julien MOUTTE <julien@moutte.net>
10141 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10142 (gst_collect_pads_start), (gst_collect_pads_stop),
10143 (gst_collect_pads_event), (gst_collect_pads_chain):
10144 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
10145 Mark Nauwelaerts's patch on bug #328491.
10147 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10149 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
10151 Add some simple tests for gst_parse_bin_from_description() and
10152 gst_bin_find_unconnected_pad() (#329069).
10154 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
10156 * tools/gst-launch.c: (event_loop), (main):
10157 Catch errors during preroll (#320084).
10159 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
10161 * plugins/elements/gsttypefindelement.c:
10162 (gst_type_find_element_activate):
10163 Post TYPE_NOT_FOUND error message when typefinding
10164 is unsuccessful in the activate function as well.
10166 2006-02-02 Wim Taymans <wim@fluendo.com>
10168 * docs/design/part-element-sink.txt:
10171 2006-02-02 Wim Taymans <wim@fluendo.com>
10173 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10174 (gst_base_sink_render_object),
10175 (gst_base_sink_queue_object_unlocked):
10176 Only keep track of prerollable items when we are
10178 Before rendering after preroll, always check if we
10180 Added some more debugging.
10182 2006-02-02 Wim Taymans <wim@fluendo.com>
10184 * gst/gstelement.c: (gst_element_continue_state),
10185 (gst_element_set_state_func), (gst_element_change_state):
10186 Fixed #326576, been running this for quite some time with
10187 no regressions at all.
10189 2006-02-02 Wim Taymans <wim@fluendo.com>
10192 Added more suppressions
10194 2006-02-02 Wim Taymans <wim@fluendo.com>
10196 * docs/design/part-element-sink.txt:
10199 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10200 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
10201 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
10202 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10203 (gst_base_sink_do_sync), (gst_base_sink_render_object),
10204 (gst_base_sink_preroll_object),
10205 (gst_base_sink_queue_object_unlocked),
10206 (gst_base_sink_queue_object), (gst_base_sink_event),
10207 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
10208 (gst_base_sink_loop), (gst_base_sink_activate_pull),
10209 (gst_base_sink_get_position), (gst_base_sink_change_state):
10210 * libs/gst/base/gstbasesink.h:
10211 Totally refactored matching the design doc.
10212 Use two segments, one to clip incomming buffers and another to
10214 Handle queueing correctly, bypass the queue when playing.
10215 Make EOS cancelable.
10216 Handle errors correctly when operating in pull based mode.
10218 * tests/check/elements/fakesink.c: (GST_START_TEST),
10220 Added new check for sinks.
10222 2006-02-02 Wim Taymans <wim@fluendo.com>
10224 * gst/gstsegment.c: (gst_segment_clip):
10225 No reason to refuse to clip when start == -1
10227 2006-02-02 Stefan Kost <ensonic@users.sf.net>
10230 * docs/manual/intro-basics.xml:
10231 * docs/manual/intro-preface.xml:
10232 * docs/manual/manual.xml:
10233 * docs/pwg/advanced-dparams.xml:
10234 * docs/pwg/intro-basics.xml:
10235 * docs/pwg/intro-preface.xml:
10236 * docs/pwg/pwg.xml:
10237 describe dparams (controller) for plugins
10238 unify docs a little more
10240 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
10242 * docs/gst/gstreamer-sections.txt:
10243 * gst/gstutils.c: (element_find_unconnected_pad),
10244 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
10246 Add new API: gst_parse_bin_from_description() and
10247 gst_bin_find_unconnected_pad() (#329069).
10249 2006-02-01 Stefan Kost <ensonic@users.sf.net>
10251 * docs/manual/README:
10252 uncover a nasty detail of the docs build
10254 2006-01-31 Wim Taymans <wim@fluendo.com>
10256 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
10257 Don't cache duration messages if we're not going to use or
10260 2006-01-31 Stefan Kost <ensonic@users.sf.net>
10262 * docs/manual/advanced-dparams.xml:
10263 * docs/pwg/advanced-dparams.xml:
10267 * libs/gst/controller/lib.c: (gst_controller_init):
10270 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
10272 * gst/gstelement.c: (gst_element_message_full):
10273 also show file/line/func if no additional debug was given
10275 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
10277 * win32/vs7/grammar.vcproj:
10278 activate copy of autogenerated files for Release mode
10280 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10282 * win32/common/libgstreamer.def:
10283 export gst_value_compare
10285 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
10287 * plugins/elements/Makefile.am:
10288 * plugins/elements/gstelements.c:
10289 * plugins/elements/gstfdsink.c: (_do_init),
10290 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
10291 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
10292 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
10293 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
10294 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
10295 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
10296 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
10297 * plugins/elements/gstfdsink.h:
10298 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
10300 2006-01-30 Stefan Kost <ensonic@users.sf.net>
10302 * docs/manual/advanced-dparams.xml:
10303 describe controller
10304 * docs/manual/advanced-position.xml:
10305 * docs/manual/basics-init.xml:
10306 * docs/manual/manual.xml:
10307 * docs/manual/titlepage.xml:
10308 * docs/pwg/pwg.xml:
10309 * docs/pwg/titlepage.xml:
10310 cleanup xml (more to come)
10311 * libs/gst/controller/gstcontroller.c:
10314 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
10316 * win32/vs6/grammar.dsp:
10317 add autogen of gstmarshal.c,h for Release mode
10319 2006-01-30 Wim Taymans <wim@fluendo.com>
10321 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10322 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
10323 (gst_base_sink_handle_object), (gst_base_sink_event),
10324 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
10325 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10326 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
10327 (gst_base_sink_deactivate), (gst_base_sink_activate),
10328 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
10329 (gst_base_sink_query), (gst_base_sink_change_state):
10330 Basesink cleanups, remove some old code.
10331 Handle the case where a subclass can preroll in the render
10332 method (mostly audiosinks).
10333 Handle more events.
10334 Remove some locks around variables that are now protected
10335 with the PREROLL_LOCK (clock_id, flushing, ..).
10336 Optimize position query some more, do correct locking.
10337 Remove old code to push queue in state change, this is not
10338 needed anymore since preroll blocks on all prerollable items
10340 Almost implemented as described in design doc.
10342 2006-01-30 Wim Taymans <wim@fluendo.com>
10344 * tests/check/gst/gstbin.c: (GST_START_TEST):
10345 Wait for refcount to settle down before checking.
10347 2006-01-30 Wim Taymans <wim@fluendo.com>
10349 * docs/design/part-element-sink.txt:
10350 Pseudo code overview of desired sink behaviour regarding
10353 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10354 * win32/vs6/grammar.dsp:
10355 fix some bugs in Release mode for autogenerated files
10357 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10358 * win32/common/libgstbase.def:
10359 * win32/common/libgstreamer.def:
10360 export some new symbols: gst_base_src_set_format,
10361 gst_iterator_next, gst_structure_set_valist
10363 2006-01-29 Julien MOUTTE <julien@moutte.net>
10365 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10366 Set pad functions unconditionally. Fixes #329105.
10368 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
10370 add vs8 project files created by Sergey Scobich
10372 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
10374 * gst/gstutils.c: (gst_element_unlink_pads):
10375 Don't leak pad references.
10377 * tests/check/elements/fakesink.c: (GST_START_TEST):
10378 * tests/check/generic/sinks.c: (GST_START_TEST):
10379 * tests/check/generic/states.c: (GST_START_TEST):
10380 * tests/check/gst/gstbin.c: (GST_START_TEST):
10381 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10382 * tests/check/gst/gstelement.c: (GST_START_TEST):
10383 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10384 * tests/check/gst/gstiterator.c: (GST_START_TEST):
10385 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10386 Fix a bunch of leaks. Make generic/sinks.c
10387 use a bit less cpu by slowing the buffer rate
10388 between fakesrc and fakesink.
10390 2006-01-27 Stefan Kost <ensonic@users.sf.net>
10392 * gst/gstelement.c: (gst_element_send_event):
10395 * gst/gstiterator.c:
10396 * gst/gstiterator.h:
10397 * gst/gstpad.c: (gst_pad_send_event):
10398 * gst/gststructure.c:
10402 * libs/gst/base/gstadapter.c:
10403 doc fixes, to link to function, just write gst_cool_function(), don't
10406 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10408 * plugins/elements/gsttee.c: (gst_tee_do_push),
10409 (gst_tee_handle_buffer):
10410 Always prefer an actual return value from a src
10411 pad in place of NOT_LINKED. This means we return
10412 WRONG_STATE when all src pads are WRONG_STATE
10413 instead of NOT_LINKED.
10415 Lock when replacing the last message to prevent
10416 racing with the get_property method.
10420 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10422 * tests/check/Makefile.am:
10423 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
10425 Add a very simple check that should have caught the memleak I fixed
10426 last night (if not for the slice allocator hiding it)
10428 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
10430 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10431 (gst_bin_remove_func), (gst_bin_handle_message_func),
10432 (bin_query_duration_fold), (bin_query_generic_fold):
10433 Clean up references to the clock provider when disposed or when
10434 handling a clock-lost message from it.
10436 Unref sinks when performing a query via gst_iterator_fold, as the
10437 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
10439 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
10440 (gst_clock_set_master):
10441 Drop our reference to the master clock, if any, when we are disposed.
10443 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
10444 Chain up in dispose.
10446 2006-01-26 Wim Taymans <wim@fluendo.com>
10448 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
10449 Add some debugging.
10451 2006-01-26 Julien MOUTTE <julien@moutte.net>
10453 * plugins/elements/gsttee.c: (gst_tee_do_push),
10454 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
10455 handles pad being NOT_LINKED or in WRONG_STATE.
10457 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10462 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10465 remove obsolete entry
10467 2006-01-26 Stefan Kost <ensonic@users.sf.net>
10469 * docs/gst/gstreamer-sections.txt:
10470 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
10471 (gst_bin_iterate_sources), (gst_bin_send_event):
10473 * gst/gstelement.c: (gst_element_send_event):
10475 * gst/gstpad.c: (gst_pad_send_event):
10476 added code for downstream events, reviewed docs in gstevent.c
10478 2006-01-25 Julien MOUTTE <julien@moutte.net>
10480 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10481 We only query position using the clock in the playing state.
10482 Query peer in the other cases.
10483 * win32/common/config.h: Updates.
10485 2006-01-24 Wim Taymans <wim@fluendo.com>
10487 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10488 A clock entry that is scheduled for the exact time of the
10489 clock is still in time.
10491 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10492 (gst_base_sink_do_sync):
10493 Add some more debug info.
10495 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10498 Add new vs7 project files and solution.
10500 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
10503 all files removed as they were out-dated.
10505 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10507 * docs/random/release:
10509 * gst/gstbin.c: (gst_bin_init):
10510 * gst/gstbus.c: (gst_bus_new):
10512 * gst/gstpipeline.c: (gst_pipeline_init):
10513 use gst_bus_new(), improve logging, fix docs
10514 * win32/common/config.h:
10515 update for cvs build
10517 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
10520 up required version of automake to 1.7
10522 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
10524 * win32/common/libgstreamer.def:
10525 export gst_buffer_is_metadata_writable
10527 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
10529 * docs/gst/gstreamer-sections.txt:
10531 Add gst_event_replace() (#327001)
10533 2006-01-20 Wim Taymans <wim@fluendo.com>
10535 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10536 Make it actually compile too..
10538 2006-01-20 Wim Taymans <wim@fluendo.com>
10541 Clarify behaviour of _is_equal() when passing NULL parameters.
10543 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10544 (gst_pad_set_caps):
10545 Cleanups. Don't unref NULL caps.
10546 When setting the same caps, protect caps of the pad with
10548 Use full functionality of _is_equal() when comparing caps.
10550 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10552 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10553 Don't loop infinitely if there are no buffers to present. Partially
10554 fixes #327197, but collectpads is just broken for reusing elements
10555 to do multiple encodes atm.
10557 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
10559 * tools/gst-inspect.c: (print_element_features):
10560 * tools/gst-xmlinspect.c: (main):
10561 URL_HANDLER is not a plugin feature we can search for in
10564 2006-01-19 Edward Hervey <edward@fluendo.com>
10566 * gst/gstelement.c: (gst_element_pads_activate):
10567 When activating, do src pads first, then sink pads.
10568 When de-activating, do sink pads first, then src pads.
10570 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10572 * docs/gst/gstreamer-sections.txt:
10573 Add gst_index_add_associationv to the docs
10575 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10580 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
10581 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
10582 Do some refactoring. Doesn't actually change functionality,
10583 but makes landing the DRAIN event easier later.
10585 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
10587 * docs/pwg/advanced-scheduling.xml:
10588 Update from 0.9.x to 0.10 API and make example a bit
10591 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10593 * docs/gst/gstreamer-sections.txt:
10594 Add gst_buffer_(is|make)_metadata_writable methods.
10596 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
10598 * docs/design/part-sparsestreams.txt:
10599 Update sparse streams doc, hopefully for greater clarity
10601 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
10603 * docs/design/part-events.txt:
10604 Remove mention of FILLER events.
10607 * docs/design/part-sparsestreams.txt:
10608 Write some things about using NEWSEGMENT to keep sparse streams
10611 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10613 * gst/gstbin.c: (gst_bin_dispose):
10614 Guard gst_object_unref call against a NULL object (dispose
10615 can theoretically be called multiple times).
10617 2006-01-18 Wim Taymans <wim@fluendo.com>
10619 * gst/gstbin.c: (gst_bin_element_set_state):
10620 * gst/gstclock.c: (gst_clock_id_wait):
10621 Added some more debug info.
10623 * libs/gst/base/gstadapter.c:
10626 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10627 (gst_base_sink_do_sync), (gst_base_sink_chain):
10628 Added some comments.
10630 2006-01-18 Wim Taymans <wim@fluendo.com>
10632 * tests/check/Makefile.am:
10633 * tests/check/elements/fakesink.c: (chain_async_buffer),
10634 (chain_async), (chain_async_return), (GST_START_TEST),
10635 (fakesink_suite), (main):
10636 Added fakesink test that checks prerolling and clipping
10639 * tests/check/gst/gstutils.c: (GST_START_TEST):
10640 Make check run faster so that buildbots don't timeout.
10642 2006-01-18 Wim Taymans <wim@fluendo.com>
10644 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10645 (gst_base_sink_do_sync):
10647 When the sink finishes blocking on the preroll buffer, it can
10648 immediatly render it instead of rendering when the next buffer
10651 2006-01-18 Wim Taymans <wim@fluendo.com>
10653 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
10654 (gst_base_sink_get_property), (gst_base_sink_do_sync),
10655 (gst_base_sink_chain):
10657 GST_ELEMENT_CLOCK and sync are protected with LOCK.
10658 Don't store _last_stop if the buffer is dropped.
10660 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
10662 * plugins/elements/gsttypefindelement.c:
10663 (gst_type_find_element_class_init):
10664 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
10665 object method handler that sets the caps on the pad and we want
10666 that to happen before we emit the signal (fixes e.g. feeding a
10667 plain text file to decodebin).
10669 2006-01-18 Christian Schaller <Christian@fluendo.com>
10671 * gst/gstplugin.c: Add MPL and Proprietary as license options
10673 2006-01-18 Andy Wingo <wingo@pobox.com>
10675 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
10676 symbol was exported before, it appears this was just an oversight.
10678 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
10680 * gst/gstindex.c (gst_index_add_associationv): Changed int in
10681 prototype to gint. OK since this prototype was not in the header.
10683 2006-01-17 Andy Wingo <wingo@pobox.com>
10685 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
10686 registry while we remove plugins.
10688 * tools/gst-inspect.c (print_element_info): Don't unref the
10689 factory arg, that should be the responsibility of whatever code
10690 received the ref. Fixes a double-free when called from
10691 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
10692 (main): Unref the factory if we have one.
10693 (print_element_list): No change -- relies on the
10694 plugin_feature_list_free to free the list of features.
10696 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
10698 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10699 (gst_buffer_make_metadata_writable):
10701 * libs/gst/base/gstbasetransform.c:
10702 (gst_base_transform_prepare_output_buf):
10703 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10704 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10705 Replace gst_buffer_(make|is)_metadata_writable patch now
10706 that the release is out.
10708 2006-01-17 Andy Wingo <wingo@pobox.com>
10710 * gst/gstregistry.c: Reflow design comment. Update so as to speak
10711 in the present tense without reference to versions.
10713 * gst/gstregistry.c (gst_registry_add_plugin)
10714 (gst_registry_remove_plugin, gst_registry_remove_feature)
10715 (gst_registry_find_feature, gst_registry_get_feature_list)
10716 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
10717 (gst_registry_lookup, gst_registry_scan_path)
10718 (_gst_registry_remove_cache_plugins)
10719 (gst_registry_get_feature_list_by_plugin): Add argument
10722 === release 0.10.2 ===
10724 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
10727 releasing 0.10.2, "If man is five"
10729 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10733 * libs/gst/base/gstbasetransform.c:
10734 (gst_base_transform_prepare_output_buf):
10735 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10736 * tests/check/gst/gstbuffer.c: (gst_test_suite):
10737 Back out patch until after the release.
10739 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10741 * gst/gstminiobject.c:
10742 Spelling fix in docs.
10743 * ChangeLog - remove conflict indicator
10745 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
10747 Reviewed By: Andy Wingo
10749 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
10750 (gst_buffer_make_metadata_writable):
10752 Add gst_buffer_(is|make)_metadata_writable as analogues of
10753 gst_buffer_(is|make)_writable.
10755 * libs/gst/base/gstbasetransform.c:
10756 (gst_base_transform_prepare_output_buf):
10757 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10758 Use name gst_buffer_(is|make)_metadata_writable functions.
10760 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10761 Test gst_buffer_(is|make)_metadata_writable
10765 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
10767 * docs/manual/Makefile.am:
10768 don't do parallel make
10771 * win32/common/config.h.in:
10772 add generations for HOST_CPU and GST_MAJORMINOR
10773 * win32/common/config.h:
10774 commit generated result
10776 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
10778 * docs/manual/appendix-integration.xml:
10779 Update GNOME integration section to use gst_init_get_option_group()
10780 instead of the old popt stuff (#322911). Also, GNOME applications
10781 should now use gconf*sink and gconf*src instead of the old gconf
10784 2006-01-13 Stefan Kost <ensonic@users.sf.net>
10787 * docs/gst/gstreamer-docs.sgml:
10788 * docs/gst/gstreamer-sections.txt:
10789 * docs/libs/gstreamer-libs-sections.txt:
10790 add new API entries to the docs
10791 * libs/gst/controller/Makefile.am:
10792 * libs/gst/controller/gstcontroller.c:
10793 * libs/gst/controller/gstcontroller.h:
10794 * libs/gst/controller/gstcontrollerprivate.h:
10795 * libs/gst/controller/gsthelper.c:
10796 * libs/gst/controller/gstinterpolation.c:
10797 move private structs to private header
10799 gstreamer-0.7 -> gstreamer-0.10
10800 * tests/check/libs/struct_i386.h:
10801 remove private structs
10803 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10805 * plugins/indexers/Makefile.am:
10806 Fixes as part of #317048
10808 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
10810 * plugins/indexers/Makefile.am:
10811 fix #316086 - compilation when mmap is missing
10813 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
10815 * libs/gst/base/gstbasesink.c:
10816 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
10817 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
10818 * win32/common/config.h:
10819 added some defines GST_MAJORMINOR and HOST_CPU
10820 * win32/common/libgstbase.def:
10821 * win32/common/libgstreamer.def:
10822 added some exported functions.
10824 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10826 * libs/gst/controller/gstcontroller.c:
10827 (gst_controlled_property_set_interpolation_mode),
10828 (gst_controlled_property_new):
10829 * libs/gst/controller/gstcontroller.h:
10830 * libs/gst/controller/gstinterpolation.c:
10831 (interpolate_none_get_string_value_array):
10832 make G_TYPE_STRING controlable
10834 2006-01-12 Stefan Kost <ensonic@users.sf.net>
10837 * tools/gst-feedback.1.in:
10838 * tools/gst-inspect.1.in:
10839 * tools/gst-launch.1.in:
10840 * tools/gst-md5sum.1.in:
10841 * tools/gst-typefind.1.in:
10842 * tools/gst-xmlinspect.1.in:
10843 * tools/gst-xmllaunch.1.in:
10844 cleanup man-pages, remove reference to gst-register, document env-vars
10846 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
10848 * gst/gstbuffer.c: (gst_buffer_span):
10849 gst_buffer_span should copy the timestamp of the first buffer
10850 if they were both originally overlapping subbuffers of the
10851 same parent, using the same logic as the 'slow copy' case.
10853 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
10855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
10856 Need to awaken ALL the pads when we pop a buffer, otherwise
10857 collectpads only works when there is 2 input streams.
10859 2006-01-11 Stefan Kost <ensonic@users.sf.net>
10861 * docs/random/ensonic/media-device-daemon.txt:
10864 fix doc example, add clarification
10865 * tools/gst-launch.1.in:
10866 add initial info about GST_PLUGIN_PATH, needs more work
10868 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
10870 * docs/manual/basics-bins.xml:
10871 * docs/manual/basics-elements.xml:
10872 * docs/manual/intro-basics.xml:
10873 Some more minor docs additions and updates.
10875 2006-01-11 Wim Taymans <wim@fluendo.com>
10877 * docs/manual/basics-bins.xml:
10878 * docs/manual/basics-elements.xml:
10879 Some small fixes as pointed out by Ser-ver on IRC.
10881 2006-01-10 Edward Hervey <edward@fluendo.com>
10883 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10884 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
10885 the single-segment mode.
10887 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
10889 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10891 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
10892 (gst_base_src_perform_seek), (gst_base_src_send_event),
10893 (gst_base_src_set_property), (gst_base_src_get_property),
10894 (gst_base_src_loop), (gst_base_src_start),
10895 (gst_base_src_activate_push):
10896 * libs/gst/base/gstbasesrc.h:
10897 Name (private) union; makes Sun's Forte compiler happy (#324900).
10899 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
10902 gst-register is gone.
10904 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
10906 * gst/gstvalue.c: (_gst_value_initialize):
10907 make the G_TYPE_DATE instantiation work if debug is disabled
10909 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
10911 * gst/gstmessage.c: (gst_message_parse_tag),
10912 (gst_message_parse_error), (gst_message_parse_warning):
10913 Don't crash when return location for error/warning debug
10914 string is NULL; add fact that return locations can be
10915 NULL to docs where appropriate.
10917 2006-01-05 Wim Taymans <wim@fluendo.com>
10919 * gst/gstplugin.c: (gst_plugin_load_file):
10920 Replace strdup by g_strdup.
10922 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10924 * docs/pwg/advanced-types.xml:
10927 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
10929 submitted by: Abel Cheung
10933 Added Chinese (traditional) translation
10935 2006-01-04 Wim Taymans <wim@fluendo.com>
10937 * docs/manual/basics-pads.xml:
10938 * docs/plugins/Makefile.am:
10939 * docs/plugins/gstreamer-plugins-docs.sgml:
10940 * docs/plugins/gstreamer-plugins-sections.txt:
10941 * docs/pwg/advanced-clock.xml:
10942 * docs/pwg/advanced-scheduling.xml:
10943 * docs/pwg/advanced-types.xml:
10944 * plugins/elements/gstfdsink.c:
10945 * plugins/elements/gstfdsrc.c:
10946 * plugins/elements/gstfdsrc.h:
10947 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10948 * plugins/elements/gstidentity.h:
10949 * plugins/elements/gstqueue.h:
10950 * plugins/elements/gsttee.c:
10951 * plugins/elements/gsttee.h:
10952 * plugins/elements/gsttypefindelement.c:
10953 (gst_type_find_element_class_init):
10954 * plugins/elements/gsttypefindelement.h:
10955 Small updates to various docs.
10956 Added core plugins to docs.
10958 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10961 add a suppression for liboil's uninitialized variable
10963 2006-01-02 James Livingston <jrl at ids dot org dot au>
10965 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10968 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
10969 macro, so that gcc doesn't complain if the -Wmissing-prototypes
10970 compiler switch is being used (#325429).
10972 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
10974 * gst/gstbin.c: (gst_bin_query):
10975 Disable duration query caching in bins until it gets
10976 fixed (see #324807).
10978 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10980 * tools/gst-inspect.c: (print_element_properties_info):
10981 Handle properties of POINTER and BOXED type.
10983 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
10985 * gst/gst.c: (init_post):
10986 Init tags stuff and some other things before loading
10987 any static plugins (there may be other static plugins
10988 than just the GStreamer ones, and they may want to
10989 register their own tags or formats or whatever, and
10990 preferably without segfaulting).
10992 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
10993 Print at least a warning in the debug logs if we drop a
10994 query just because we don't know how to adjust the value
10995 in the particular format.
10997 2005-12-24 David Schleef <ds@schleef.org>
10999 * tools/gstreamer-completion:
11000 Replacement for gst-complete written in sh and sed. Only
11001 completes names of features, but that's 90% of what I want
11002 it for. Properties are not available in registry.xml. (Maybe
11005 === release 0.10.1 ===
11007 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
11010 releasing 0.10.1, "Nollaig chridheil"
11012 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
11014 * docs/faq/cvs.xml:
11015 Add missing quote, should be make ERROR_CFLAGS="".
11017 2005-12-20 Wim Taymans <wim@fluendo.com>
11019 * docs/design/part-trickmodes.txt:
11020 More documentation on trickmodes.
11022 2005-12-20 Edward Hervey <edward@fluendo.com>
11024 * gst/gstcaps.c: (gst_static_caps_get_type):
11026 API addition: GST_TYPE_STATIC_CAPS
11027 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
11028 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
11029 * gst/gstpadtemplate.h:
11030 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
11031 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
11034 2005-12-18 Wim Taymans <wim@fluendo.com>
11036 * libs/gst/base/gstadapter.c:
11037 * libs/gst/base/gstadapter.h:
11038 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11039 (gst_base_sink_get_position):
11040 * libs/gst/base/gstbasesink.h:
11041 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11042 (gst_base_src_default_query), (gst_base_src_default_do_seek),
11043 (gst_base_src_do_seek), (gst_base_src_perform_seek),
11044 (gst_base_src_send_event), (gst_base_src_update_length),
11045 (gst_base_src_get_range), (gst_base_src_loop),
11046 (gst_base_src_start):
11047 * libs/gst/base/gstbasesrc.h:
11048 * libs/gst/base/gstbasetransform.h:
11049 * libs/gst/base/gstcollectpads.h:
11050 * libs/gst/base/gstpushsrc.c:
11051 * libs/gst/base/gstpushsrc.h:
11052 * libs/gst/dataprotocol/dataprotocol.c:
11053 * libs/gst/dataprotocol/dataprotocol.h:
11054 * libs/gst/net/gstnetclientclock.h:
11055 * libs/gst/net/gstnettimeprovider.h:
11056 Documentation updates.
11058 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
11060 * docs/manual/basics-helloworld.xml:
11061 Remove superfluous closing bracket in helloworld example.
11063 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
11065 * tools/gst-launch.1.in:
11066 Update gst-launch man page; add a section with useful
11067 environment variables. Fixes #323882.
11069 2005-12-16 Stefan Kost <ensonic@users.sf.net>
11072 * gst/gst_private.h:
11073 change some char* into char[]
11075 2005-12-16 Wim Taymans <wim@fluendo.com>
11077 * gst/gstregistryxml.c: (load_feature):
11079 Don't use g_object_unref on GstObjects so that we avoid
11080 leaks on unsafe glibs.
11082 2005-12-16 Wim Taymans <wim@fluendo.com>
11084 * gst/gstbin.c: (gst_bin_recalc_state):
11087 2005-12-16 Wim Taymans <wim@fluendo.com>
11089 * common/check.mak:
11090 Added make forever target for check.
11092 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
11094 * gst/gst.c: (init_post):
11095 make the registry cache file HOST_CPU-dependent
11097 2005-12-16 Andy Wingo <wingo@pobox.com>
11099 * plugins/elements/gstbufferstore.c
11100 (gst_buffer_store_cleared_func): Pay attention to g_list_append
11103 * tests/check/gst/gstobject.c
11104 (test_fake_object_name_threaded_unique): Pay attention to
11105 g_list_sort return value.
11107 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
11109 * tools/gst-feedback-m.m:
11110 Update for 0.9/0.10 (fixes #323870).
11112 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
11114 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
11115 Fix lcopy for mini objects, the mini object needs to be ref'ed.
11117 * tests/check/gst/gstminiobject.c: (my_foo_init),
11118 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
11119 (test_value_collection), (gst_mini_object_suite):
11120 Add test to ensure refcounts end up as expected when passing
11121 GstMiniObjects through g_object_get() and g_object_set().
11123 2005-12-14 Julien MOUTTE <julien@moutte.net>
11125 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11126 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
11127 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
11128 of collectpads. This version removes a lot of races without
11129 touching API/ABI. Yay !
11131 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
11133 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
11134 Don't allow activation of a srcpad in pull_range if it has no
11136 Change some debug statements to be a little clearer
11138 * plugins/elements/gsttypefindelement.c:
11139 (gst_type_find_handle_src_query):
11140 Check that we have a peer before executing queries thereupon.
11142 * tests/examples/metadata/read-metadata.c: (message_loop):
11143 Use gst_bus_pop instead of gst_bus_poll when we just want it to
11144 immediately return us any available message with 0 timeout.
11146 2005-12-12 Michael Smith <msmith@fluendo.com>
11148 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11149 Don't unref factories after calling them.
11150 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
11151 * plugins/elements/gsttypefindelement.c:
11152 (gst_type_find_element_chain):
11153 Free lists of factories after using them. Fixing typefinding memory
11156 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11158 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11159 (gst_plugin_feature_load):
11160 more meaningful debug output
11162 * tests/Makefile.am:
11163 * tests/old/examples/Makefile.am:
11164 make make distcheck happy again
11166 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11168 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11169 Catch the special case where we are operating chain-based,
11170 but the downstream peer pad has no chain function. Emit a
11171 custom error message in this case instead of letting the
11172 core generate one implying that this is some sort of core
11173 bug. It's not, it just means that whatever got plugged
11174 into the pipeline downstream when we announced the type
11175 can only operate pull-based, while our source can only
11176 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
11177 Error string has not been marked for translation yet, as
11178 it probably needs some more work first.
11180 (gst_type_find_element_get_best_possibility):
11181 Add helper function to find the best of all available
11182 found possibilities that qualify given the min. threshold.
11184 (gst_type_find_element_handle_event):
11185 Fix the case where we get an EOS while still in TYPEFIND
11186 mode (we want to chose the best of all possible types,
11187 not just the first type that happens to be in our unsorted
11188 list of possible types).
11190 (gst_type_find_element_chain):
11191 Make sure we return GST_FLOW_ERROR when we errored out
11192 in stop_typefinding(); also, don't just find the best of
11193 all found type entries and then use the last examined
11194 type entry, but actually use the best entry.
11196 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
11198 * tests/examples/typefind/typefind.c: (type_found):
11199 * tests/examples/xml/runxml.c: (xml_loaded):
11200 More gcc4 fixes and a mem leak fix.
11202 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11204 * tests/examples/xml/createxml.c: (object_saved):
11207 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11209 * tests/Makefile.am:
11210 enable the examples even more
11212 2005-12-12 Andy Wingo <wingo@pobox.com>
11214 * libs/gst/net/gstnettimeprovider.c
11215 (gst_net_time_provider_class_init, gst_net_time_provider_init)
11216 (gst_net_time_provider_set_property)
11217 (gst_net_time_provider_get_property):
11218 API addition: Export "active" as a GObject property.
11219 (gst_net_time_provider_thread): Only respond to time queries if
11220 the time provider is active.
11222 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
11223 NetTimeProvider, preserving binary compat.
11225 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11227 * tests/examples/controller/audio-example.c: (main):
11228 * tests/examples/launch/Makefile.am:
11229 convert comments again
11231 2005-12-12 Wim Taymans <wim@fluendo.com>
11233 * libs/gst/base/gstpushsrc.c:
11236 2005-12-12 Wim Taymans <wim@fluendo.com>
11238 * docs/libs/gstreamer-libs-sections.txt:
11239 Added new symbol to docs.
11241 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11242 (gst_base_src_init), (gst_base_src_set_format),
11243 (gst_base_src_default_query), (gst_base_src_query),
11244 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
11245 (gst_base_src_perform_seek), (gst_base_src_send_event),
11246 (gst_base_src_default_event), (gst_base_src_event_handler),
11247 (gst_base_src_set_property), (gst_base_src_get_property),
11248 (gst_base_src_wait), (gst_base_src_do_sync),
11249 (gst_base_src_update_length), (gst_base_src_get_range),
11250 (gst_base_src_check_get_range), (gst_base_src_loop),
11251 (gst_base_src_default_negotiate), (gst_base_src_start),
11252 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11253 (gst_base_src_change_state):
11254 * libs/gst/base/gstbasesrc.h:
11255 Implement seeking to other formats than _BYTES.
11256 Implement more seeking methods correctly.
11258 Added query vmethod.
11259 Added do_seek vmethod to make life easier for subclasses
11261 API addition: gst_base_src_set_format()
11263 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11265 * tests/examples/Makefile.am:
11268 2005-12-12 Stefan Kost <ensonic@users.sf.net>
11271 * docs/random/ensonic/media-device-daemon.txt:
11272 * tests/examples/controller/.cvsignore:
11273 * tests/examples/controller/Makefile.am:
11274 * tests/examples/controller/audio-example.c: (main):
11275 * tests/examples/helloworld/.cvsignore:
11276 * tests/examples/helloworld/Makefile.am:
11277 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
11278 * tests/examples/launch/.cvsignore:
11279 * tests/examples/launch/Makefile.am:
11280 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
11281 * tests/examples/metadata/.cvsignore:
11282 * tests/examples/metadata/Makefile.am:
11283 * tests/examples/metadata/read-metadata.c: (message_loop),
11284 (make_pipeline), (print_tag), (main):
11285 * tests/examples/queue/.cvsignore:
11286 * tests/examples/queue/Makefile.am:
11287 * tests/examples/queue/queue.c: (event_loop), (main):
11288 * tests/examples/typefind/.cvsignore:
11289 * tests/examples/typefind/Makefile.am:
11290 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
11292 * tests/examples/xml/.cvsignore:
11293 * tests/examples/xml/Makefile.am:
11294 * tests/examples/xml/createxml.c: (object_saved), (main):
11295 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
11296 * tests/old/examples/Makefile.am:
11297 * tests/old/examples/TODO:
11298 * tests/old/examples/controller/.cvsignore:
11299 * tests/old/examples/controller/Makefile.am:
11300 * tests/old/examples/controller/audio-example.c:
11301 * tests/old/examples/helloworld/.cvsignore:
11302 * tests/old/examples/helloworld/Makefile.am:
11303 * tests/old/examples/helloworld/helloworld.c:
11304 * tests/old/examples/launch/.cvsignore:
11305 * tests/old/examples/launch/Makefile.am:
11306 * tests/old/examples/launch/mp3parselaunch.c:
11307 * tests/old/examples/launch/mp3play:
11308 * tests/old/examples/manual/Makefile.am:
11309 * tests/old/examples/metadata/Makefile.am:
11310 * tests/old/examples/metadata/read-metadata.c:
11311 * tests/old/examples/queue/.cvsignore:
11312 * tests/old/examples/queue/Makefile.am:
11313 * tests/old/examples/queue/queue.c:
11314 * tests/old/examples/typefind/.cvsignore:
11315 * tests/old/examples/typefind/Makefile.am:
11316 * tests/old/examples/typefind/typefind.c:
11317 * tests/old/examples/xml/.cvsignore:
11318 * tests/old/examples/xml/Makefile.am:
11319 * tests/old/examples/xml/createxml.c:
11320 * tests/old/examples/xml/runxml.c:
11321 applied some simple fixing to some examples
11322 re-enabled the working examples
11324 2005-12-12 Wim Taymans <wim@fluendo.com>
11326 * gst/gstsegment.c: (gst_segment_init),
11327 (gst_segment_set_last_stop), (gst_segment_set_seek),
11328 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
11329 (gst_segment_to_running_time):
11330 Added more documentation.
11331 Make sure the last_pos value is updated properly.
11332 Make sure to_stream_time and to_running_time don't
11333 operate on wrong values.
11335 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11338 2005-12-12 Michael Smith <msmith@fluendo.com>
11340 * plugins/elements/gsttypefindelement.c: (free_entry),
11341 (gst_type_find_element_chain):
11342 Now that we're not leaking factories, make sure we keep references
11343 to them while we need them.
11345 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11347 * tests/check/gst/struct_i386.h:
11348 ifdef out the XML structs
11350 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
11352 * gst/gstvalue.c: (gst_value_transform_double_fraction):
11353 floor is not needed, F is always positive; this obviates the
11354 need for adding -lm when building without libxml
11356 2005-12-12 Wim Taymans <wim@fluendo.com>
11358 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11359 Take current playback rate into account when reporting
11362 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11364 * docs/manual/mime-world.fig:
11365 Let's try this again, this time with a file that is
11366 actually in XFig format.
11368 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11370 * docs/manual/mime-world.fig:
11371 Add audioconvert element to diagram so that it
11372 matches the text and the code (fixes #319526).
11374 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11376 * docs/pwg/building-chainfn.xml:
11377 * docs/pwg/building-pads.xml:
11378 * docs/pwg/building-state.xml:
11379 * docs/pwg/other-source.xml:
11380 Update state change stuff for 0.10 (fixes #322969).
11382 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11384 * docs/manual/advanced-dataaccess.xml:
11385 * docs/manual/appendix-checklist.xml:
11386 * docs/manual/appendix-programs.xml:
11387 * docs/manual/basics-pads.xml:
11388 * docs/manual/highlevel-components.xml:
11389 * docs/manual/manual.xml:
11390 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
11391 add converters in front of pipelines; remove curly
11392 brackets for threads stuff, they no longer exist; use
11393 GST_TYPE_FRACTION for framerates; update some pieces of
11394 code to 0.10, but there's plenty more to do.
11396 * docs/manual/appendix-porting.xml:
11397 Expand on asynchroneous state changes; s/0.9/0.10/;
11398 mention disappearance of gst_init_get_popt_table()
11401 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
11403 * docs/faq/using.xml:
11404 Spider no longer exists, and neither does gst-launch-ext.
11405 Update examples to use decodebin and playbin and put
11406 converters in front of sinks (fixes #323726).
11408 2005-12-09 Michael Smith <msmith@fluendo.com>
11410 * plugins/elements/gsttypefindelement.c: (find_peek),
11411 (gst_type_find_element_chain):
11412 Fix leaking element factories in typefinding.
11413 Fix problem where we forgot about a probable type on non-seekable
11414 files, and thus later mis-typefound it.
11416 2005-12-09 Michael Smith <msmith@fluendo.com>
11418 * common/m4/gst-makecontext.m4:
11419 * common/m4/gst-mcsc.m4:
11421 * win32/common/config.h:
11422 * win32/common/config.h.in:
11423 Remove makecontext stuff; not used in 0.10 and causes problems on
11424 HPUX according to bug #322441
11426 2005-12-07 Wim Taymans <wim@fluendo.com>
11428 * tests/check/Makefile.am:
11429 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
11431 * tests/check/libs/struct_i386.h:
11432 Added ABI check for libs
11434 2005-12-07 Wim Taymans <wim@fluendo.com>
11436 * tests/check/Makefile.am:
11437 And add the struct_i386.h to dist.
11439 2005-12-07 Wim Taymans <wim@fluendo.com>
11441 * tests/check/Makefile.am:
11442 * tests/check/gst/.cvsignore:
11443 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
11445 * tests/check/gst/struct_i386.h:
11446 Added check for ABI compatibility.
11448 2005-12-07 Wim Taymans <wim@fluendo.com>
11450 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11451 (gst_fake_src_get_times), (gst_fake_src_create):
11452 Fix broken sync option, fixes #323259
11454 2005-12-07 Wim Taymans <wim@fluendo.com>
11459 * gst/gstcaps.c: (gst_caps_is_equal):
11460 Don't assert on NULL <--> X. Fixes #323260
11462 * gst/gstminiobject.c: (gst_mini_object_replace):
11463 If we're doing atomic operations, we might just as well use
11464 the proper way to get an atomic pointer.
11466 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11467 Clean up debugging.
11469 2005-12-07 Michael Smith <msmith@fluendo.com>
11471 * gst/parse/grammar.y:
11472 Remove handling of { } for threads.
11474 2005-12-06 David Schleef <ds@schleef.org>
11476 * libs/gst/base/gstbasetransform.c: speling fix.
11478 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
11480 * docs/libs/tmpl/gstdataprotocol.sgml:
11481 * docs/random/omega/testing/gstobject.c:
11484 * gst/gstelement.c:
11485 * gst/gstelementfactory.c:
11488 * gst/gstghostpad.c:
11490 * gst/gstpadtemplate.c:
11491 * gst/gstregistryxml.c:
11492 * gst/gsttaglist.c:
11493 * gst/gsttagsetter.c:
11494 * gst/gsttypefind.c:
11496 * libs/gst/base/gstbasesrc.c:
11497 * libs/gst/net/gstnetclientclock.c:
11498 * libs/gst/net/gstnettimeprovider.c:
11499 * plugins/elements/gstfakesrc.c:
11500 * plugins/elements/gstfdsrc.c:
11501 * plugins/elements/gstfilesrc.c:
11502 * plugins/elements/gstidentity.c:
11503 * plugins/elements/gstqueue.c:
11504 * plugins/elements/gsttypefindelement.c:
11505 * plugins/indexers/gstfileindex.c:
11506 * plugins/indexers/gstmemindex.c:
11507 * tests/check/gst/gsttag.c:
11508 * tests/old/examples/cutter/cutter.c:
11509 * tests/old/examples/mixer/mixer.c:
11510 * tests/old/examples/xml/runxml.c: (main):
11511 * tests/old/testsuite/caps/normalisation.c:
11512 * tests/old/testsuite/debug/global.c:
11513 * tests/old/testsuite/parse/parse1.c:
11514 * tools/gst-xmlinspect.c:
11515 * win32/common/dirent.c:
11518 === release 0.10.0 ===
11520 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11523 releasing 0.10.0, "Maroilles"
11525 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11527 submitted by: Funda Wang <fundawang@linux.net.cn>
11531 added Chinese (Traditional) translation
11533 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11535 * docs/gst/gstreamer-sections.txt:
11536 * docs/libs/tmpl/gstdataprotocol.sgml:
11537 * docs/random/thomasvs/TODO:
11542 2005-12-05 Andy Wingo <wingo@pobox.com>
11544 patch by: Wim Taymans <wim@fluendo.com>
11546 * libs/gst/base/gstbasetransform.c
11547 (gst_base_transform_prepare_output_buf)
11548 (gst_base_transform_buffer_alloc):
11549 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
11550 alloc_buffer_and_set_caps.
11552 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
11553 set_caps on the source pad.
11554 (gst_pad_alloc_buffer_and_set_caps): New function, does what
11555 alloc_buffer used to do. Fixes #322874.
11557 * docs/gst/gstreamer-sections.txt:
11558 * docs/design/part-negotiation.txt:
11559 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
11562 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
11564 patch by: Sebastien Moutte
11567 * win32/common/config.h.in:
11568 * win32/vs6/libgstcontroller.dsp:
11571 2005-12-05 Wim Taymans <wim@fluendo.com>
11573 * gst/gstcaps.c: (gst_caps_is_equal):
11574 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11575 (gst_fake_src_create):
11576 Back out previous code changes, leave doc updates, file bugs
11579 2005-12-05 Wim Taymans <wim@fluendo.com>
11581 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11582 (gst_fake_src_get_times), (gst_fake_src_create):
11583 * plugins/elements/gstfakesrc.h:
11584 Fix broken sync code.
11586 2005-12-05 Wim Taymans <wim@fluendo.com>
11588 * gst/gstcaps.c: (gst_caps_is_equal):
11589 Comparing NULL against !NULL yields different caps, not a
11592 2005-12-05 Wim Taymans <wim@fluendo.com>
11594 * gst/gstpipeline.c:
11595 Fix small typo in docs.
11597 2005-12-05 Andy Wingo <wingo@pobox.com>
11599 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
11601 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11602 registries/plugins with a MAJORMINOR one.
11603 (plugin_desc): Rename library from gstcoreleements to
11604 staticelements. Fixes #323222.
11606 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
11608 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
11609 Change debug category to 'collectpads' from 'collect_pads'
11612 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11614 patch by: Sebastien Moutte
11616 * libs/gst/controller/gstinterpolation.c:
11617 use convert function for uint64/double
11618 * win32/vs6/libgstcontroller.dsp:
11621 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
11623 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
11624 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
11626 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11627 add tests that seem to show that the guint64/gdouble conversions
11630 2005-12-02 Wim Taymans <wim@fluendo.com>
11632 * gst/gstregistry.c: (gst_registry_add_path):
11633 * gst/gstregistry.h:
11634 * gst/gstregistryxml.c:
11637 2005-12-02 Wim Taymans <wim@fluendo.com>
11639 * gst/gstutils.c: (gst_util_uint64_scale_int64),
11640 (gst_util_uint64_scale_int):
11643 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11644 Add debug log line.
11646 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
11649 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11652 * win32/common/config.h:
11653 * win32/vs6/gstreamer.dsw:
11654 * win32/vs6/libgstcoreelements.dsp:
11655 * win32/vs6/libgstelements.dsp:
11656 renamed core elements plugin
11658 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
11660 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
11662 do piece-wise major/minor comparison so 0.9 < 0.10
11663 also allow .exe extensions for tools
11665 2005-12-02 Michael Smith <msmith@fluendo.com>
11668 Escape a % to make gtkdoc happier; bug 322958.
11670 === release 0.9.7 ===
11672 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11675 releasing 0.9.7, "My Dog Has No Nose"
11677 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11679 * common/gst-xmlinspect.py:
11681 * docs/libs/tmpl/gstdataprotocol.sgml:
11682 * docs/random/release:
11701 * win32/common/config.h:
11702 * win32/common/config.h.in:
11703 * win32/vs6/gst_inspect.dsp:
11704 * win32/vs6/gst_launch.dsp:
11705 * win32/vs6/libgstbase.dsp:
11706 * win32/vs6/libgstelements.dsp:
11707 * win32/vs6/libgstreamer.dsp:
11708 * win32/vs7/GStreamer.vcproj:
11709 * win32/vs7/gst-inspect.vcproj:
11710 * win32/vs7/gst-launch.vcproj:
11711 * win32/vs7/libgstbase.vcproj:
11712 bump GST_MAJORMINOR to 0.10
11713 reset libtool version
11715 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11719 Added Bulgarian translation by (Alexander Shopov)
11721 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11723 * tests/check/gst/gstplugin.c:
11726 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11728 * common/gst-xmlinspect.py:
11729 * common/gtk-doc-plugins.mak:
11731 * docs/Makefile.am:
11732 * docs/gst/Makefile.am:
11733 * docs/gst/gstreamer-docs.sgml:
11734 * docs/gst/gstreamer-sections.txt:
11735 * docs/gst/gstreamer.types:
11736 * docs/gst/gstreamer.types.in:
11737 * docs/plugins/Makefile.am:
11738 * docs/plugins/gstreamer-plugins-docs.sgml:
11739 * docs/plugins/gstreamer-plugins-sections.txt:
11740 * docs/plugins/gstreamer-plugins.types:
11741 * docs/plugins/inspect.stamp:
11742 * docs/plugins/inspect/plugin-coreelements.xml:
11743 * docs/plugins/inspect/plugin-coreindexers.xml:
11744 * docs/plugins/scanobj-build.stamp:
11745 * gstreamer.spec.in:
11746 * plugins/elements/Makefile.am:
11747 * plugins/elements/gstelements.c:
11748 * plugins/elements/gstfakesink.c:
11749 * plugins/elements/gstfakesrc.c:
11750 * plugins/elements/gstfilesink.c:
11751 * plugins/elements/gstfilesrc.c:
11752 * plugins/elements/gstqueue.c:
11753 * plugins/indexers/Makefile.am:
11754 * plugins/indexers/gstindexers.c:
11755 document core plugins in a separate document just like all the
11757 rename these plugins to something starting with core
11759 2005-12-01 Andy Wingo <wingo@pobox.com>
11761 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
11762 padding here before, but it missed the commit.
11764 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11766 * libs/gst/controller/gstinterpolation.c:
11767 whitespace prices have crashed, we should feel free to use some now
11768 use gst_guint64_to_gdouble
11770 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * libs/gst/controller/gstcontroller.c:
11773 * libs/gst/controller/gsthelper.c:
11774 * libs/gst/controller/gstinterpolation.c:
11775 * libs/gst/controller/lib.c:
11776 wrap config.h include
11778 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11780 * docs/gst/gstreamer-sections.txt:
11783 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
11785 * plugins/elements/gstelements.c:
11786 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
11787 (gst_fd_sink__class_init), (gst_fd_sink__init),
11788 (gst_fd_sink__chain), (gst_fd_sink__set_property),
11789 (gst_fd_sink__get_property):
11790 * plugins/elements/gstfdsink.h:
11791 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
11792 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
11793 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
11794 (gst_fd_src_unlock), (gst_fd_src_set_property),
11795 (gst_fd_src_get_property), (gst_fd_src_create),
11796 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
11797 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
11798 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
11799 (gst_fd_src_uri_handler_init):
11800 * plugins/elements/gstfdsrc.h:
11801 * plugins/elements/gstqueue.c: (gst_queue_get_type):
11804 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11806 * docs/gst/Makefile.am:
11807 * docs/gst/gstreamer.types.in:
11811 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11817 * gst/gstregistry.h:
11818 * tests/benchmarks/complexity.c:
11819 * tests/benchmarks/mass-elements.c:
11820 * tests/check/Makefile.am:
11821 * tools/Makefile.am:
11822 * tools/gst-inspect.c:
11823 * tools/gst-xmlinspect.c:
11824 various fixes to make
11825 --disable-nls --disable-registry --disable-loadsave
11826 --disable-parse --disable-gst-debug
11827 work and get the core .so down to 360444 bytes after stripping
11829 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11834 * docs/random/thomasvs/TODO:
11835 * tests/Makefile.am:
11839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11841 * win32/GStreamer.vcproj:
11844 * win32/Makefile.inspect:
11845 * win32/Makefile.launch:
11846 * win32/Makefile.register:
11847 * win32/README.txt:
11848 * win32/gst-inspect.vcproj:
11849 * win32/gst-launch.vcproj:
11850 * win32/gst-register.vcproj:
11851 * win32/gstelements.vcproj:
11852 * win32/gstgetbits.def:
11853 * win32/gstgetbits.vcproj:
11854 * win32/gstreamer-dbg.def:
11855 * win32/gstreamer.def:
11856 * win32/libgstbase.def:
11857 * win32/libgstbase.vcproj:
11858 * win32/link_oldruntime.c:
11862 * win32/msvc71.sln:
11863 move even more stuff, win32/ is nice and clean now
11865 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11867 * libs/gst/control/.cvsignore:
11872 * win32/gstbytestream.def:
11873 * win32/gstbytestream.vcproj:
11874 * win32/gstconfig.h:
11875 * win32/gstenumtypes.c:
11876 * win32/gstenumtypes.h:
11877 * win32/gstoptimalscheduler.vcproj:
11878 * win32/gstversion.h:
11880 * win32/testsuite/bins.vcproj:
11881 * win32/testsuite/bytestream.vcproj:
11882 * win32/testsuite/caps.vcproj:
11883 * win32/testsuite/cleanup.vcproj:
11884 * win32/testsuite/clock.vcproj:
11885 * win32/testsuite/debug.vcproj:
11886 * win32/testsuite/dlopen.vcproj:
11887 * win32/testsuite/dynparams.vcproj:
11888 * win32/testsuite/elements.vcproj:
11889 * win32/testsuite/ghostpads.vcproj:
11890 * win32/testsuite/indexers.vcproj:
11891 * win32/testsuite/negotiation.vcproj:
11892 * win32/testsuite/parse.vcproj:
11893 * win32/testsuite/plugin.vcproj:
11894 * win32/testsuite/refcounting.vcproj:
11895 * win32/testsuite/schedulers.vcproj:
11896 * win32/testsuite/states.vcproj:
11897 * win32/testsuite/tags.vcproj:
11898 * win32/testsuite/threads.vcproj:
11899 remove old win32 stuff that isn't maintained and should be
11902 2005-11-30 Andy Wingo <wingo@pobox.com>
11904 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
11905 loading the gst.interfaces python module bork.
11907 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
11908 available since GLib 2.2. Fixes #318031.
11910 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
11913 * check/.cvsignore:
11914 * check/Makefile.am:
11915 * check/elements/.cvsignore:
11916 * check/elements/fakesrc.c:
11917 * check/elements/fdsrc.c:
11918 * check/elements/identity.c:
11919 * check/generic/.cvsignore:
11920 * check/generic/states.c:
11921 * check/gst-libs/.cvsignore:
11922 * check/gst-libs/controller.c:
11923 * check/gst-libs/gdp.c:
11924 * check/gst/.cvsignore:
11925 * check/gst/capslist.h:
11927 * check/gst/gstbin.c:
11928 * check/gst/gstbuffer.c:
11929 * check/gst/gstbus.c:
11930 * check/gst/gstcaps.c:
11931 * check/gst/gstelement.c:
11932 * check/gst/gstevent.c:
11933 * check/gst/gstghostpad.c:
11934 * check/gst/gstiterator.c:
11935 * check/gst/gstmessage.c:
11936 * check/gst/gstminiobject.c:
11937 * check/gst/gstobject.c:
11938 * check/gst/gstpad.c:
11939 * check/gst/gstpipeline.c:
11940 * check/gst/gstplugin.c:
11941 * check/gst/gstsegment.c:
11942 * check/gst/gststructure.c:
11943 * check/gst/gstsystemclock.c:
11944 * check/gst/gsttag.c:
11945 * check/gst/gstutils.c:
11946 * check/gst/gstvalue.c:
11947 * check/net/.cvsignore:
11948 * check/net/gstnetclientclock.c:
11949 * check/net/gstnettimeprovider.c:
11950 * check/pipelines/.cvsignore:
11951 * check/pipelines/cleanup.c:
11952 * check/pipelines/simple_launch_lines.c:
11953 * check/pipelines/stress.c:
11954 * check/states/.cvsignore:
11955 * check/states/sinks.c:
11957 * examples/Makefile.am:
11958 * examples/appreader/.cvsignore:
11959 * examples/appreader/Makefile.am:
11960 * examples/appreader/appreader.c:
11961 * examples/controller/.cvsignore:
11962 * examples/controller/Makefile.am:
11963 * examples/controller/audio-example.c:
11964 * examples/cutter/.cvsignore:
11965 * examples/cutter/Makefile.am:
11966 * examples/cutter/cutter.c:
11967 * examples/cutter/cutter.h:
11968 * examples/events/Makefile.am:
11969 * examples/events/seek.c:
11970 * examples/helloworld/.cvsignore:
11971 * examples/helloworld/Makefile.am:
11972 * examples/helloworld/helloworld.c:
11973 * examples/helloworld2/.cvsignore:
11974 * examples/helloworld2/Makefile.am:
11975 * examples/helloworld2/helloworld2.c:
11976 * examples/launch/.cvsignore:
11977 * examples/launch/Makefile.am:
11978 * examples/launch/mp3parselaunch.c:
11979 * examples/launch/mp3play:
11980 * examples/manual/.cvsignore:
11981 * examples/manual/Makefile.am:
11982 * examples/manual/extract.pl:
11983 * examples/metadata/Makefile.am:
11984 * examples/metadata/read-metadata.c:
11985 * examples/mixer/.cvsignore:
11986 * examples/mixer/Makefile.am:
11987 * examples/mixer/mixer.c:
11988 * examples/mixer/mixer.h:
11989 * examples/pingpong/.cvsignore:
11990 * examples/pingpong/Makefile.am:
11991 * examples/pingpong/pingpong.c:
11992 * examples/plugins/.cvsignore:
11993 * examples/plugins/Makefile.am:
11994 * examples/plugins/example.c:
11995 * examples/plugins/example.h:
11996 * examples/pwg/.cvsignore:
11997 * examples/pwg/Makefile.am:
11998 * examples/pwg/extract.pl:
11999 * examples/queue/.cvsignore:
12000 * examples/queue/Makefile.am:
12001 * examples/queue/queue.c:
12002 * examples/queue2/.cvsignore:
12003 * examples/queue2/Makefile.am:
12004 * examples/queue2/queue2.c:
12005 * examples/queue3/.cvsignore:
12006 * examples/queue3/Makefile.am:
12007 * examples/queue3/queue3.c:
12008 * examples/queue4/.cvsignore:
12009 * examples/queue4/Makefile.am:
12010 * examples/queue4/queue4.c:
12011 * examples/retag/.cvsignore:
12012 * examples/retag/Makefile.am:
12013 * examples/retag/retag.c:
12014 * examples/retag/transcode.c:
12015 * examples/thread/.cvsignore:
12016 * examples/thread/Makefile.am:
12017 * examples/thread/thread.c:
12018 * examples/typefind/.cvsignore:
12019 * examples/typefind/Makefile.am:
12020 * examples/typefind/typefind.c:
12021 * examples/xml/.cvsignore:
12022 * examples/xml/Makefile.am:
12023 * examples/xml/createxml.c:
12024 * examples/xml/runxml.c:
12025 * tests/Makefile.am:
12026 * tests/check/Makefile.am:
12027 * testsuite/.cvsignore:
12028 * testsuite/Makefile.am:
12030 * testsuite/caps/.cvsignore:
12031 * testsuite/caps/Makefile.am:
12032 * testsuite/caps/app_fixate.c:
12033 * testsuite/caps/audioscale.c:
12034 * testsuite/caps/caps.c:
12035 * testsuite/caps/caps.h:
12036 * testsuite/caps/caps_strings:
12037 * testsuite/caps/compatibility.c:
12038 * testsuite/caps/deserialize.c:
12039 * testsuite/caps/enumcaps.c:
12040 * testsuite/caps/eratosthenes.c:
12041 * testsuite/caps/filtercaps.c:
12042 * testsuite/caps/fixed.c:
12043 * testsuite/caps/fraction-convert.c:
12044 * testsuite/caps/fraction-multiply-and-zero.c:
12045 * testsuite/caps/intersect2.c:
12046 * testsuite/caps/intersection.c:
12047 * testsuite/caps/normalisation.c:
12048 * testsuite/caps/random.c:
12049 * testsuite/caps/renegotiate.c:
12050 * testsuite/caps/sets.c:
12051 * testsuite/caps/simplify.c:
12052 * testsuite/caps/string-conversions.c:
12053 * testsuite/caps/structure.c:
12054 * testsuite/caps/subtract.c:
12055 * testsuite/caps/union.c:
12056 * testsuite/debug/.cvsignore:
12057 * testsuite/debug/Makefile.am:
12058 * testsuite/debug/category.c:
12059 * testsuite/debug/commandline.c:
12060 * testsuite/debug/global.c:
12061 * testsuite/debug/output.c:
12062 * testsuite/debug/printf_extension.c:
12063 * testsuite/dlopen/.cvsignore:
12064 * testsuite/dlopen/Makefile.am:
12065 * testsuite/dlopen/dlopen_gst.c:
12066 * testsuite/dlopen/loadgst.c:
12067 * testsuite/elements/.cvsignore:
12068 * testsuite/elements/Makefile.am:
12069 * testsuite/elements/gst-inspect-check.in:
12070 * testsuite/elements/struct_i386.h:
12071 * testsuite/elements/struct_size.c:
12072 * testsuite/indexers/.cvsignore:
12073 * testsuite/indexers/Makefile.am:
12074 * testsuite/indexers/cache1.c:
12075 * testsuite/indexers/indexdump.c:
12076 * testsuite/parse/.cvsignore:
12077 * testsuite/parse/Makefile.am:
12078 * testsuite/parse/parse1.c:
12079 * testsuite/parse/parse2.c:
12080 * testsuite/plugin/.cvsignore:
12081 * testsuite/plugin/Makefile.am:
12082 * testsuite/plugin/README:
12083 * testsuite/plugin/dynamic.c:
12084 * testsuite/plugin/linked.c:
12085 * testsuite/plugin/loading.c:
12086 * testsuite/plugin/registry.c:
12087 * testsuite/plugin/static.c:
12088 * testsuite/plugin/static2.c:
12089 * testsuite/plugin/testplugin.c:
12090 * testsuite/plugin/testplugin2.c:
12091 * testsuite/plugin/testplugin2_s.c:
12092 * testsuite/plugin/testplugin_s.c:
12093 * testsuite/refcounting/.cvsignore:
12094 * testsuite/refcounting/Makefile.am:
12095 * testsuite/refcounting/bin.c:
12096 * testsuite/refcounting/element.c:
12097 * testsuite/refcounting/element_pad.c:
12098 * testsuite/refcounting/mainloop.c:
12099 * testsuite/refcounting/mem.c:
12100 * testsuite/refcounting/mem.h:
12101 * testsuite/refcounting/object.c:
12102 * testsuite/refcounting/pad.c:
12103 * testsuite/refcounting/sched.c:
12104 * testsuite/refcounting/thread.c:
12105 * testsuite/states/.cvsignore:
12106 * testsuite/states/Makefile.am:
12107 * testsuite/states/bin.c:
12108 * testsuite/states/locked.c:
12109 * testsuite/states/parent.c:
12110 * testsuite/threads/.cvsignore:
12111 * testsuite/threads/159566.c:
12112 * testsuite/threads/159852.c:
12113 * testsuite/threads/Makefile.am:
12114 * testsuite/threads/queue.c:
12115 * testsuite/threads/signals.c:
12116 * testsuite/threads/staticrec.c:
12117 * testsuite/threads/thread.c:
12118 * testsuite/threads/threadb.c:
12119 * testsuite/threads/threadc.c:
12120 * testsuite/threads/threadd.c:
12121 * testsuite/threads/threade.c:
12122 * testsuite/threads/threadf.c:
12123 * testsuite/threads/threadg.c:
12124 * testsuite/threads/threadh.c:
12125 * testsuite/threads/threadi.c:
12126 move all of these under tests
12128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12131 * tests/Makefile.am:
12134 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12136 * docs/gst/gstreamer-sections.txt:
12137 * tests/sched/.cvsignore:
12138 * tests/sched/Makefile.am:
12139 * tests/sched/cases/(fs-fs).xml:
12140 * tests/sched/cases/(fs-i-fs).xml:
12141 * tests/sched/cases/(fs-i-i-fs).xml:
12142 * tests/sched/cases/(fs-i-q[i-fs]).xml:
12143 * tests/sched/dynamic-pipeline.c:
12144 * tests/sched/interrupt1.c:
12145 * tests/sched/interrupt2.c:
12146 * tests/sched/interrupt3.c:
12147 * tests/sched/runtestcases:
12148 * tests/sched/runxml.c:
12149 * tests/sched/sched-stress.c:
12150 * tests/sched/sort.c:
12151 * tests/sched/testcases:
12152 * tests/sched/testcases1.tc:
12153 * tests/seeking/.cvsignore:
12154 * tests/seeking/Makefile.am:
12155 * tests/seeking/seeking1.c:
12156 * tests/threadstate/.cvsignore:
12157 * tests/threadstate/Makefile.am:
12158 * tests/threadstate/test1.c:
12159 * tests/threadstate/test2.c:
12160 * tests/threadstate/threadstate1.c:
12161 * tests/threadstate/threadstate2.c:
12162 * tests/threadstate/threadstate3.c:
12163 * tests/threadstate/threadstate4.c:
12164 * tests/threadstate/threadstate5.c:
12165 remove obsolete tests
12167 * tests/bench-complexity.scm:
12168 * tests/bench-mass_elements.scm:
12169 * tests/complexity.c:
12170 * tests/complexity.gnuplot:
12171 * tests/instantiate/.cvsignore:
12172 * tests/instantiate/Makefile.am:
12173 * tests/instantiate/caps.c:
12174 * tests/mass_elements.c:
12175 * tests/network-clock-utils.scm:
12176 * tests/network-clock.scm:
12178 First pass at cleaning up tests/ dir before moving the rest
12179 Combined with CVS surgery
12181 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12184 queue has moved, update
12186 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12188 * docs/gst/gstreamer-sections.txt:
12189 remove double entries from the docs
12190 * gst/gst_private.h:
12191 * gst/gstinfo.c: (_gst_debug_init):
12192 remove the THREAD debug category
12196 * docs/gst/gstreamer.types:
12197 * plugins/elements/gstqueue.c: (gst_queue_get_type),
12198 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
12199 completely move queue and fix up debugging categories
12201 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12203 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12204 make initialization portable, using LL is not
12206 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12208 * win32/common/gstconfig.h:
12211 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12213 * win32/common/libgstreamer.def:
12214 rename symbols; sort base section
12216 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12218 * gst/gstclock.c: (do_linear_regression):
12219 remove crack non-portable handrolled DEBUG macro
12221 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12223 * docs/random/release:
12225 * win32/common/gstenumtypes.c: (register_gst_object_flags),
12226 (gst_object_flags_get_type), (register_gst_bin_flags),
12227 (gst_bin_flags_get_type), (register_gst_buffer_flag),
12228 (gst_buffer_flag_get_type), (register_gst_bus_flags),
12229 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
12230 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
12231 (gst_caps_flags_get_type), (register_gst_clock_return),
12232 (gst_clock_return_get_type), (register_gst_clock_entry_type),
12233 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
12234 (gst_clock_flags_get_type), (register_gst_state),
12235 (gst_state_get_type), (register_gst_state_change_return),
12236 (gst_state_change_return_get_type), (register_gst_state_change),
12237 (gst_state_change_get_type), (register_gst_element_flags),
12238 (gst_element_flags_get_type), (register_gst_core_error),
12239 (gst_core_error_get_type), (register_gst_library_error),
12240 (gst_library_error_get_type), (register_gst_resource_error),
12241 (gst_resource_error_get_type), (register_gst_stream_error),
12242 (gst_stream_error_get_type), (register_gst_event_type_flags),
12243 (gst_event_type_flags_get_type), (register_gst_event_type),
12244 (gst_event_type_get_type), (register_gst_seek_type),
12245 (gst_seek_type_get_type), (register_gst_seek_flags),
12246 (gst_seek_flags_get_type), (register_gst_format),
12247 (gst_format_get_type), (register_gst_index_certainty),
12248 (gst_index_certainty_get_type), (register_gst_index_entry_type),
12249 (gst_index_entry_type_get_type),
12250 (register_gst_index_lookup_method),
12251 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
12252 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
12253 (gst_index_resolver_method_get_type), (register_gst_index_flags),
12254 (gst_index_flags_get_type), (register_gst_debug_level),
12255 (gst_debug_level_get_type), (register_gst_debug_color_flags),
12256 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
12257 (gst_iterator_result_get_type), (register_gst_iterator_item),
12258 (gst_iterator_item_get_type), (register_gst_message_type),
12259 (gst_message_type_get_type), (register_gst_mini_object_flags),
12260 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
12261 (gst_pad_link_return_get_type), (register_gst_flow_return),
12262 (gst_flow_return_get_type), (register_gst_activate_mode),
12263 (gst_activate_mode_get_type), (register_gst_pad_direction),
12264 (gst_pad_direction_get_type), (register_gst_pad_flags),
12265 (gst_pad_flags_get_type), (register_gst_pad_presence),
12266 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
12267 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
12268 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
12269 (gst_plugin_error_get_type), (register_gst_plugin_flags),
12270 (gst_plugin_flags_get_type), (register_gst_rank),
12271 (gst_rank_get_type), (register_gst_query_type),
12272 (gst_query_type_get_type), (register_gst_tag_merge_mode),
12273 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
12274 (gst_tag_flag_get_type), (register_gst_task_state),
12275 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
12276 (gst_alloc_trace_flags_get_type),
12277 (register_gst_type_find_probability),
12278 (gst_type_find_probability_get_type), (register_gst_uri_type),
12279 (gst_uri_type_get_type), (register_gst_parse_error),
12280 (gst_parse_error_get_type):
12281 * win32/common/gstenumtypes.h:
12282 * win32/common/gstversion.h:
12283 update visual studio generated files
12285 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12287 * win32/vs6/libgstbase.dsp:
12288 * win32/vs6/libgstelements.dsp:
12289 update project files for new locations
12291 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
12296 reinstate and update
12301 * docs/random/LICENSE:
12304 2005-11-30 Edward Hervey <edward@fluendo.com>
12306 * gst/gsttypefind.c: (gst_type_find_register):
12307 * gst/gsttypefind.h:
12308 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
12309 (gst_type_find_factory_dispose):
12310 * gst/gsttypefindfactory.h:
12311 Fix memory leak in GstTypeFindFactory.
12313 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12316 * plugins/elements/Makefile.am:
12317 * plugins/elements/gstelements.c:
12318 * plugins/elements/gstqueue.c:
12319 move queue from core to the elements plugin
12321 2005-11-29 Andy Wingo <wingo@pobox.com>
12323 * libs/gst/base/gstbasetransform.h:
12324 * libs/gst/base/gstbasesrc.h:
12325 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
12327 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
12328 of pointers by which to pad very extensible base classes (like the
12329 ones in libs/gst/base).
12331 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12333 * docs/gst/gstreamer-docs.sgml:
12334 * docs/gst/gstreamer-sections.txt:
12335 * docs/libs/gstreamer-libs-docs.sgml:
12336 * docs/libs/gstreamer-libs-sections.txt:
12337 moving documentation from core to lib
12339 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12341 * check/Makefile.am:
12343 * docs/gst/Makefile.am:
12345 * gst/base/.cvsignore:
12346 * gst/base/Makefile.am:
12348 * gst/base/gstadapter.c:
12349 * gst/base/gstadapter.h:
12350 * gst/base/gstbasesink.c:
12351 * gst/base/gstbasesink.h:
12352 * gst/base/gstbasesrc.c:
12353 * gst/base/gstbasesrc.h:
12354 * gst/base/gstbasetransform.c:
12355 * gst/base/gstbasetransform.h:
12356 * gst/base/gstcollectpads.c:
12357 * gst/base/gstcollectpads.h:
12358 * gst/base/gstpushsrc.c:
12359 * gst/base/gstpushsrc.h:
12360 * gst/base/gsttypefindhelper.c:
12361 * gst/base/gsttypefindhelper.h:
12362 * gst/check/Makefile.am:
12363 * gst/check/gstcheck.c:
12364 * gst/check/gstcheck.h:
12365 * gst/net/Makefile.am:
12366 * gst/net/gstnet.h:
12367 * gst/net/gstnetclientclock.c:
12368 * gst/net/gstnetclientclock.h:
12369 * gst/net/gstnettimepacket.c:
12370 * gst/net/gstnettimepacket.h:
12371 * gst/net/gstnettimeprovider.c:
12372 * gst/net/gstnettimeprovider.h:
12373 * libs/gst/Makefile.am:
12374 * libs/gst/base/Makefile.am:
12375 * libs/gst/base/gstbasetransform.c:
12376 * libs/gst/check/Makefile.am:
12377 * plugins/elements/Makefile.am:
12379 CVS surgery + support to move base, check, and net out of gst
12382 2005-11-29 Andy Wingo <wingo@pobox.com>
12384 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
12386 * gst/gststructure.h (struct _GstStructure): Only one pointer of
12389 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
12391 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
12393 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
12395 * gst/gstobject.h: (struct _GstObject): Only one pointer of
12396 padding; reduces object size by about 30%. We don't expect
12397 anything else to go into gstobject.
12399 * gst/gstminiobject.h (struct _GstMiniObject)
12400 (struct _GstMiniObjectClass): Only one pointer of padding; the
12401 payload is only a pointer and two ints anyway. For the class there
12402 are only two methods as well.
12404 * gst/gstelement.h (struct _GstElementClass): Removed
12405 the state_changed signal callback, it is not used.
12407 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12409 * docs/gst/gstreamer.types:
12410 fix includes, though they are a little dinky
12412 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12414 * check/Makefile.am:
12415 look in the right place for elements, a lot more chance of
12418 remove indexers and elements subdirs
12419 * plugins/Makefile.am:
12420 make indexers conditional
12422 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12426 * plugins/elements/Makefile.am:
12427 * plugins/elements/gstcapsfilter.c:
12428 * plugins/elements/gstfilesink.c:
12429 * plugins/elements/gstfilesrc.c:
12430 * plugins/elements/gstidentity.c:
12431 * plugins/indexers/Makefile.am:
12432 do CVS surgery and related build fixery to move elements
12433 and indexers in a new gstreamer/plugins directory, out of the
12436 2005-11-29 Andy Wingo <wingo@pobox.com>
12438 * check/Makefile.am:
12439 * pkgconfig/gstreamer-net-uninstalled.pc.in:
12440 * pkgconfig/gstreamer-net.pc.in:
12441 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
12444 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12446 * tools/Makefile.am:
12447 * tools/gst-complete.1.in:
12448 * tools/gst-complete.c:
12449 * tools/gst-compprep.1.in:
12450 * tools/gst-compprep.c:
12451 removing -compprep and -complete
12453 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
12455 * gst/gstevent.c: (gst_event_new_new_segment),
12456 (gst_event_parse_new_segment):
12458 fix #320529 - clean up new_segment API and structure.
12459 Let's hope everyone was using the methods, and not the structure.
12461 2005-11-29 Edward Hervey <edward@fluendo.com>
12463 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12464 (gst_base_sink_event), (gst_base_sink_do_sync),
12465 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
12466 Properly handle non GST_FORMAT_TIME segment
12467 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
12468 Properly handle non GST_FORMAT_TIME segment
12469 * gst/gstsegment.c:
12470 This function is valid if the accumulator is 0 and the format
12471 is different from the requested format.
12473 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12475 * docs/gst/gstreamer-sections.txt:
12476 Add gst_query_new_seeking and gst_query_parse_seeking to the
12479 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
12481 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12482 Treat a pad alloc with new caps the same as if we were not
12483 negotiated, in order to allow a changing upstream output
12484 to produce a new format of data.
12486 2005-11-29 Edward Hervey <edward@fluendo.com>
12488 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12489 (gst_base_transform_event), (gst_base_transform_eventfunc):
12490 The event virtual method is now properly implemented, with a default
12492 Sub classes should call the parent_class event method. They should
12493 return FALSE if they had a problem handling the given event, or don't
12494 want GstBaseTransform to send that even downstream
12495 * gst/elements/gstidentity.c: (gst_identity_class_init),
12496 (gst_identity_init), (gst_identity_event),
12497 (gst_identity_transform_ip), (gst_identity_set_property),
12498 (gst_identity_get_property):
12499 * gst/elements/gstidentity.h:
12500 Added the single-segment boolean property.
12501 If set to TRUE, it will output a single segment of data, starting from
12502 0, will eat up all incoming newsegment, and modify the timestamp of the
12503 buffers accordingly
12505 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
12507 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
12508 Don't ref NULL target pad (#322751). Improve docs.
12510 2005-11-29 Michael Smith <msmith@fluendo.com>
12512 * gst/gstregistryxml.c: (load_plugin):
12513 Don't crash if we failed to load a feature from a plugin.
12515 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12517 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12519 use more check API and less GLib API
12521 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12524 don't run checks if we don't have check
12525 * common/check.mak:
12526 remove the registry when running make torture
12527 * docs/gst/gstreamer-sections.txt:
12528 remove second multiply
12529 * gst/gstqueue.c: (gst_queue_loop):
12530 fix a compile warning when disabling debug
12532 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12535 Hey! Let's print the pad name if the pointer != NULL instead
12536 of when it == NULL :-)
12538 2005-11-28 Wim Taymans <wim@fluendo.com>
12540 * check/gst/gstutils.c: (GST_START_TEST):
12541 Updated check, add some scaling accuracy checking code.
12543 * gst/gstutils.c: (gst_util_div128_64),
12544 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
12545 (gst_util_uint64_scale_int):
12546 Fix 6 times faster division code. Optimize for common
12547 1/1 and less common X/1 cases.
12549 2005-11-28 Wim Taymans <wim@fluendo.com>
12551 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12554 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
12555 (do_linear_regression), (gst_clock_add_observation):
12557 Release lock when the clock cannot be slaved.
12558 Catch the case where the regression returned an invalid denominator.
12560 * gst/gstutils.c: (gst_util_div128_64_iterate),
12561 (gst_util_div128_64), (gst_util_uint64_scale_int64),
12562 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12563 Add protentially more performant non-iterative 128/64 divide function
12564 that unfortunatly does not work yet.
12565 Shortcut the trivial 0/X = 0 case.
12566 Remove the warnings on overflow.
12568 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12570 * gst/gstplugin.c: (gst_plugin_register_func):
12571 everything causing a plugin not to load should be at least a WARNING
12573 2005-11-28 Stefan Kost <ensonic@users.sf.net>
12575 * docs/random/ensonic/dparams.txt:
12576 some TODOs for the next dev cycle
12577 * libs/gst/controller/gstcontroller.c:
12578 (gst_controlled_property_set_interpolation_mode),
12579 (gst_controlled_property_new):
12580 * libs/gst/controller/gstcontroller.h:
12581 use base type to assign acccessor functions
12583 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12585 * check/Makefile.am:
12586 Oops, that should have been top_srcdir
12588 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
12590 * check/Makefile.am:
12591 * check/elements/fdsrc.c: (GST_START_TEST):
12592 Use a cmdline define to specify the location of a file to use for
12593 testing, to avoid breaking distcheck.
12595 2005-11-28 Andy Wingo <wingo@pobox.com>
12597 * gst/gstpad.c (fixate_value): Use array functions for arrays.
12599 2005-11-28 Edward Hervey <edward@fluendo.com>
12601 * tools/gst-launch.c: (main):
12602 Clarify the output strings, makes it easier to translate.
12605 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
12608 don't try and build net if we don't even have <sys/socket.h>
12610 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
12612 * check/Makefile.am:
12613 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
12614 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
12615 Add tests for fdsrc seekability
12617 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12618 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
12619 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
12620 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
12621 * gst/elements/gstfdsrc.h:
12622 fdsrc should not be a 'live' source.
12623 Implement seeking on seekable fd's.
12625 * gst/gstquery.c: (gst_query_new_seeking),
12626 (gst_query_parse_seeking):
12628 Implement SEEKING query functions:
12629 *_new_seeking and *_parse_seeking
12631 2005-11-27 Stefan Kost <ensonic@users.sf.net>
12633 * gst/gstelement.c: (gst_element_dispose):
12636 * gst/gstiterator.c:
12637 * gst/gststructure.c:
12640 * libs/gst/controller/gstcontroller.c:
12641 (gst_controlled_property_set_interpolation_mode):
12642 * libs/gst/controller/gstcontroller.h:
12643 * libs/gst/controller/gstinterpolation.c:
12644 (interpolate_none_get_enum_value_array):
12645 support controlling enums
12647 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12650 Improve documentation for gst_value_union().
12653 Change return value for union, intersect and subtract functions
12654 from gint to gboolean.
12656 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
12658 * gst/gstvalue.c: (gst_value_serialize_any_list),
12659 (gst_value_transform_any_list_string),
12660 (gst_value_deserialize_list), (gst_value_deserialize_array),
12661 (gst_value_set_int_range), (gst_value_deserialize_int_range),
12662 (gst_value_set_double_range), (gst_value_deserialize_double_range),
12663 (gst_value_set_fraction_range_full),
12664 (gst_value_deserialize_fraction_range),
12665 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
12666 (gst_value_deserialize_boolean),
12667 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
12668 (gst_value_serialize_float), (gst_value_deserialize_float),
12669 (gst_string_wrap), (gst_value_deserialize_string),
12670 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
12671 (gst_value_union_int_range_int_range),
12672 (gst_value_intersect_int_range_int_range),
12673 (gst_value_intersect_double_range_double_range),
12674 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
12675 (gst_value_subtract_int_range_int_range),
12676 (gst_value_subtract_double_double_range),
12677 (gst_value_subtract_double_range_double_range),
12678 (gst_value_deserialize_fraction):
12680 Use gint, gdouble and gchar in our API instead of int, double and
12681 char (and make usage in gstvalue.c more consistent).
12683 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12685 * check/Makefile.am:
12686 * libs/gst/controller/Makefile.am:
12687 * libs/gst/dataprotocol/Makefile.am:
12688 fix up Makefile.am and remove GST_ENABLE_NEW
12690 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12694 * gst/base/Makefile.am:
12695 * gst/check/Makefile.am:
12696 * gst/elements/Makefile.am:
12697 * gst/net/Makefile.am:
12698 update LDFLAGS use some more
12700 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
12702 * common/m4/gst-doc.m4:
12705 2005-11-26 Edward Hervey <edward@fluendo.com>
12707 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12708 This shouldn't issue a g_warning since it returns NULL if it
12709 couldn't find the plugin, and all functions using this behave
12710 properly on a NULL return. Switching to a GST_WARNING.
12712 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
12714 * gst/gstbin.c: (gst_bin_handle_message_func):
12715 Don't leak clock messages.
12717 2005-11-25 Wim Taymans <wim@fluendo.com>
12719 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12720 (gst_util_uint64_scale_int):
12721 Optimisations, remove unneeded vars.
12723 2005-11-25 Wim Taymans <wim@fluendo.com>
12725 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12726 Added more checks for the high precision uint64 cases.
12728 * gst/gstutils.c: (gst_util_uint64_scale_int64),
12729 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
12730 Implement high precision (guint64 * guint64) / guint64.
12732 2005-11-24 Wim Taymans <wim@fluendo.com>
12734 * gst/base/gstbasesrc.c: (gst_base_src_query):
12735 Fix wrong percentage query.
12737 * gst/gstutils.c: (gst_util_uint64_scale),
12738 (gst_util_uint64_scale_int):
12739 Add some more common cases that can be handled
12740 efficiently to _scale.
12742 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12744 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
12745 (gst_mini_object_suite):
12746 don't use check calls from threads; check probably isn't
12747 threadsafe and using a lock to make it threadsafe would
12748 defeat the purpose of this check
12749 * gst/check/gstcheck.c:
12750 * gst/check/gstcheck.h:
12751 use GST_DEBUG some more
12753 2005-11-24 Wim Taymans <wim@fluendo.com>
12755 * gst/gstutils.c: (gst_util_uint64_scale),
12756 (gst_util_uint64_scale_int):
12757 Chain trivial case to _scale_int.
12759 2005-11-24 Wim Taymans <wim@fluendo.com>
12761 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12762 Added test for scaling.
12767 * gst/gstutils.c: (gst_util_uint64_scale_int):
12768 Implemented high precision scaling code.
12770 2005-11-24 Stefan Kost <ensonic@users.sf.net>
12773 do not crash on pad==NULL
12775 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
12777 Patch by: Stefan Kost
12779 * common/gtk-doc.mak:
12780 * docs/gst/Makefile.am:
12781 * docs/libs/Makefile.am:
12782 Fix distcheck issues for the libraries docs build
12785 2005-11-24 Michael Smith <msmith@fluendo.com>
12787 * docs/manual/basics-helloworld.xml:
12788 Fix bug #315027: memory leak in example code in docs.
12790 2005-11-24 Michael Smith <msmith@fluendo.com>
12792 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12793 Unlock the PREROLL_LOCK in a failure case.
12795 2005-11-24 Wim Taymans <wim@fluendo.com>
12797 * docs/gst/gstreamer-sections.txt:
12798 * gst/base/gstadapter.h:
12799 * gst/base/gstbasesink.h:
12800 * gst/base/gstbasesrc.h:
12801 * gst/base/gstbasetransform.h:
12802 * gst/base/gstpushsrc.h:
12803 * gst/elements/gstfakesink.h:
12804 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
12805 * gst/elements/gstfakesrc.h:
12806 * gst/elements/gstfilesink.h:
12807 * gst/elements/gstfilesrc.h:
12810 * gst/gstbuffer.c: (_gst_buffer_copy):
12813 * gst/gstchildproxy.c:
12815 * gst/gstelement.c:
12816 * gst/gstelementfactory.c:
12817 * gst/gstelementfactory.h:
12819 * gst/gstghostpad.h:
12821 * gst/gstinterface.h:
12822 * gst/gstminiobject.c:
12823 * gst/gstminiobject.h:
12826 * gst/gstpadtemplate.h:
12827 * gst/gstpipeline.h:
12828 * gst/gstpluginfeature.h:
12831 * gst/gsttaglist.c:
12832 * gst/gsttaglist.h:
12833 * gst/gsttagsetter.c:
12834 * gst/gsttagsetter.h:
12837 * gst/gsttypefind.h:
12840 * gst/net/gstnetclientclock.c:
12841 * gst/net/gstnetclientclock.h:
12842 * gst/net/gstnettimepacket.c:
12843 * gst/net/gstnettimeprovider.c:
12844 * gst/net/gstnettimeprovider.h:
12847 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12849 * configure.ac: back to HEAD
12851 === release 0.9.6 ===
12853 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12856 releasing 0.9.6, "Always On Time"
12858 2005-11-23 Wim Taymans <wim@fluendo.com>
12860 * docs/gst/gstreamer-sections.txt:
12861 * gst/glib-compat.c:
12862 * gst/gsttagsetter.c:
12864 * gst/net/gstnetclientclock.c:
12865 * gst/net/gstnettimepacket.h:
12868 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
12870 * docs/faq/using.xml:
12871 * docs/libs/tmpl/gstcontrol.sgml:
12872 * docs/manual/advanced-dparams.xml:
12873 * docs/manual/appendix-checklist.xml:
12874 * docs/manual/basics-elements.xml:
12875 * docs/pwg/other-source.xml:
12876 * docs/random/moving-plugins:
12878 * tools/gst-launch.1.in:
12879 remove mentions of sinesrc
12881 2005-11-23 Michael Smith <msmith@fluendo.com>
12883 * docs/gst/gstreamer-sections.txt:
12884 Update for new API and API changes.
12886 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
12888 Documentation typo fix.
12889 * gst/net/gstnettimepacket.c:
12890 Documentation fixes for arguments.
12892 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
12894 * gst/gststructure.c: (gst_structure_get_fraction),
12895 (gst_structure_parse_value),
12896 (gst_structure_fixate_field_nearest_fraction):
12897 * gst/gststructure.h:
12898 * gst/gstutils.c: (gst_util_uint64_scale_int):
12900 * scripts/update-funcnames:
12902 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
12903 Make gst_structure_fixate_field_nearest_fraction take a numerator
12904 and denominator argument instead of a GValue
12905 add gst_structure_get_fraction helper function.
12907 2005-11-23 Wim Taymans <wim@fluendo.com>
12909 * docs/design/part-TODO.txt:
12912 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12913 * gst/net/gstnetclientclock.h:
12914 Use parent fields for timeout and window_size.
12916 2005-11-23 Andy Wingo <wingo@pobox.com>
12918 * check/net/gstnetclientclock.c (test_functioning): Adjust to
12919 rate_num/rate_denom change.
12921 * gst/net/gstnetclientclock.c
12922 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
12923 OBJECT_LOCK. Don't call add_observation with the lock.
12925 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
12927 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
12929 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
12930 deal with rate as a fraction whose numerator and denominator are
12931 GstClockTime values.
12932 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
12933 master; the other fields are protected by the SLAVE_LOCK.
12934 (do_linear_regression): Note that this must be called with the
12936 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
12937 OBJECT_LOCK. Call set_calibration instead of touching the
12938 variables directly.
12939 (gst_clock_set_property, gst_clock_get_property): Protect
12940 master/slave parameters with the SLAVE_LOCK.
12942 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
12943 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
12944 note that all of the instance variables that add_observation and
12945 the set_master functions use are protected by that lock and not
12947 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
12949 * gst/gstclock.c (gst_clock_add_observation): No longer requires
12950 the caller to take the object lock.
12952 2005-11-23 Wim Taymans <wim@fluendo.com>
12954 * gst/gsterror.c: (_gst_core_errors_init):
12956 Add error for clock stuff.
12958 * gst/gstpipeline.c: (gst_pipeline_change_state),
12959 (gst_pipeline_set_clock):
12960 Post clock error when clock cannot be used in a pipeline.
12962 2005-11-23 Stefan Kost <ensonic@users.sf.net>
12964 * docs/gst/gstreamer-sections.txt:
12965 make two symbols from gstinfo private for the docs
12966 * gst/base/gstcollectpads.h:
12968 fix doc typos, update docs
12970 2005-11-22 Wim Taymans <wim@fluendo.com>
12972 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12973 (gst_base_sink_wait), (gst_base_sink_do_sync),
12974 (gst_base_sink_handle_event):
12975 * gst/base/gstbasesink.h:
12976 No need to store the clock, the parent element class already
12979 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
12980 Updates for clock_set returning a gboolean
12982 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
12983 (gst_clock_id_wait_async), (gst_clock_class_init),
12984 (gst_clock_init), (gst_clock_finalize),
12985 (gst_clock_get_internal_time), (gst_clock_get_time),
12986 (gst_clock_slave_callback), (gst_clock_set_master),
12987 (gst_clock_get_master), (do_linear_regression),
12988 (gst_clock_add_observation), (gst_clock_set_property),
12989 (gst_clock_get_property):
12991 Implement master/slave. When setting a clock as a slave, a
12992 periodic timeout is scheduled to sample master and slave times.
12993 Then the slave clock is recalibrated to match offset and rate
12994 of the master clock.
12995 Update logging a bit.
12996 Add flag so that a clock can state that is cannot be slaved to
12999 * gst/gstelement.c: (gst_element_set_clock):
13000 * gst/gstelement.h:
13001 The set clock returns a gboolean for when an element cannot
13002 deal with the selected clock in the pipeline.
13004 * gst/gstpipeline.c: (gst_pipeline_change_state),
13005 (gst_pipeline_set_clock):
13006 * gst/gstpipeline.h:
13007 Handle the case where the selected clock cannot be set on
13010 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
13011 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
13012 (gst_net_client_clock_set_property),
13013 (gst_net_client_clock_get_property),
13014 (gst_net_client_clock_observe_times):
13015 * gst/net/gstnetclientclock.h:
13016 Use regression code in GstClock parent, remove duplicated
13019 2005-11-22 Michael Smith <msmith@fluendo.com>
13021 * gst/gstutils.c: (gst_util_clock_time_scale):
13023 * docs/gst/gstreamer-sections.txt:
13024 Rename method to have extra underscore.
13026 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
13028 * gst/elements/Makefile.am:
13029 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
13030 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13031 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13032 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
13033 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
13034 * gst/elements/gstfakesrc.h:
13035 * gst/gstqueue.c: (queue_leaky_get_type):
13036 correctly fix GEnumValues so that nick is the short lowercase
13038 * tools/gst-inspect.c: (print_element_properties_info):
13039 also show the nick, since it's useful to use from parse_launch
13043 2005-11-22 Michael Smith <msmith@fluendo.com>
13045 * gst/gstutils.c: (gst_util_clocktime_scale):
13047 * docs/gst/gstreamer-sections.txt:
13048 Add util method for scaling a clocktime by a fraction. Useful
13049 implementation is left as an exercise for the reader.
13051 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13053 * gst/gstvalue.c: (gst_value_collect_fraction_range):
13054 If needed, allocate storage in the destination value during
13057 2005-11-22 Edward Hervey <edward@fluendo.com>
13059 * docs/gst/gstreamer-sections.txt:
13062 * gst/gsturitype.c:
13063 * gst/gsturitype.h:
13064 * gst/gstutils.c: (gst_util_set_object_arg):
13065 * tools/gst-compprep.c: (main):
13066 * tools/gst-inspect.c: (print_element_properties_info):
13067 Removed GstURI, closes bug #321061
13069 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13071 * check/gst/gststructure.c: (GST_START_TEST):
13072 * gst/gststructure.c: (gst_structure_parse_value):
13073 Oops, broke automatic string type parsing.
13074 Add a test to catch it in future.
13076 2005-11-22 Andy Wingo <wingo@pobox.com>
13078 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
13079 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
13080 Actually rename the function implementations. Grr.
13082 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13084 * check/gst/capslist.h:
13086 * check/gst/gststructure.c: (GST_START_TEST),
13087 (gst_structure_suite):
13088 Test automatic value type detection in gst_structure_from_string.
13089 * gst/gststructure.c: (gst_structure_parse_value):
13090 Add fraction as a type we try and guess automatically in
13091 caps/structure strings.
13093 2005-11-22 Andy Wingo <wingo@pobox.com>
13095 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
13097 * gst/gsttagsetter.h:
13098 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
13099 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
13100 (gst_tag_setter_add_tag_valist)
13101 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
13102 _add_values, _add_valist, and _add_valist_values. Since this is an
13103 interface the function suffixes should be more explicit so
13104 language binding don't end up with element.add_valist ->
13105 gst_tag_setter_add_valist, for example. Fixes #322069.
13107 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13109 * check/gst/gstcaps.c: (GST_START_TEST):
13110 Extend caps string tests to check that a caps to string
13111 conversion is reversible and produces the same caps.
13113 * gst/gststructure.c: (gst_structure_value_get_generic_type):
13114 Output "fraction" as the generic type fraction range, so caps
13115 serialisation and deserialisation works.
13116 * check/gst/capslist.h:
13117 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13118 Support 'MIN' and 'MAX' for deserialising fractions.
13120 2005-11-22 Andy Wingo <wingo@pobox.com>
13122 * gst/gstevent.h (gst_event_new_new_segment)
13123 (gst_event_parse_new_segment, gst_event_new_buffer_size)
13124 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
13125 Renamed from *_newsegment, *_buffersize, *_notarget.
13127 * scripts/update-funcnames: New script, performs the changes
13130 2005-11-22 Wim Taymans <wim@fluendo.com>
13132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13133 Make sure the GstFlowReturn is returned.
13135 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
13136 (gst_bus_add_signal_watch):
13138 add gst_bus_add_signal_watch_full.
13140 * gst/gstplugin.c: (gst_plugin_load_file):
13141 Small style cleanup.
13143 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13145 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
13146 Block the fakesrc srcpad when we send an event, to avoid
13147 contention on the stream_lock causing random test failures.
13149 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13151 * check/gst/gstvalue.c: (GST_START_TEST):
13152 * gst/gstvalue.c: (gst_value_fraction_subtract):
13155 2005-11-22 Stefan Kost <ensonic@users.sf.net>
13158 include "gstchildproxy.h"
13159 * gst/gstchildproxy.h:
13160 * libs/gst/controller/gstcontroller.h:
13161 use G_GNUC_NULL_TERMINATED
13163 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
13165 * check/gst/capslist.h:
13166 * check/gst/gstcaps.c: (GST_START_TEST):
13167 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13168 * gst/gststructure.c: (gst_structure_parse_range),
13169 (gst_structure_fixate_field_nearest_fraction):
13170 * gst/gststructure.h:
13171 * gst/gstvalue.c: (gst_value_init_fraction_range),
13172 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
13173 (gst_value_collect_fraction_range),
13174 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
13175 (gst_value_set_fraction_range_full),
13176 (gst_value_get_fraction_range_min),
13177 (gst_value_get_fraction_range_max),
13178 (gst_value_serialize_fraction_range),
13179 (gst_value_transform_fraction_range_string),
13180 (gst_value_compare_fraction_range),
13181 (gst_value_deserialize_fraction_range),
13182 (gst_value_intersect_fraction_fraction_range),
13183 (gst_value_intersect_fraction_range_fraction_range),
13184 (gst_value_subtract_fraction_fraction_range),
13185 (gst_value_subtract_fraction_range_fraction),
13186 (gst_value_subtract_fraction_range_fraction_range),
13187 (gst_value_collect_fraction), (gst_value_fraction_multiply),
13188 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
13189 (gst_value_transform_string_fraction), (_gst_value_initialize):
13191 Implement fraction ranges and extend GstFraction to support
13192 arithmetic subtraction, as well as deserialization from integer
13193 strings such as "100"
13194 Add a testsuite as for int and double range set operations
13196 2005-11-21 Andy Wingo <wingo@pobox.com>
13198 * gst/gsttaglist.h:
13200 * gst/gststructure.h: Add glib-compat.h.
13202 2005-11-21 Wim Taymans <wim@fluendo.com>
13204 * gst/gstbin.c: (gst_bin_change_state_func):
13207 2005-11-21 Wim Taymans <wim@fluendo.com>
13209 * gst/gstsegment.h:
13210 And add a nice define too.
13212 2005-11-21 Wim Taymans <wim@fluendo.com>
13214 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
13215 (gst_segment_new), (gst_segment_free), (gst_segment_init),
13216 (gst_segment_set_duration), (gst_segment_set_last_stop),
13217 (gst_segment_set_seek), (gst_segment_set_newsegment),
13218 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13219 (gst_segment_clip):
13220 * gst/gstsegment.h:
13221 Make binding friendly.
13223 2005-11-21 Andy Wingo <wingo@pobox.com>
13225 * gst/gsttagsetter.h:
13226 * gst/gsttaglist.h:
13227 * gst/gststructure.h:
13229 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
13232 * gst/gsterror.c (_gst_core_errors_init):
13233 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
13236 * gst/Makefile.am (gst_headers): Add glib-compat.h.
13237 (noinst_HEADERS): noinst the -private.
13239 2005-11-21 Michael Smith <msmith@fluendo.com>
13242 * gst/gstregistry.h:
13243 Remove unimplemented declarations for which we can see no sensible
13246 2005-11-21 Andy Wingo <wingo@pobox.com>
13248 * gst/gst.h: Include glib-compat.h.
13250 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
13252 * gst/glib-compat.c: Include the public and the private header.
13254 * gst/glib-compat-private.h: Copied here from glib-compat.h.
13258 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
13260 * check/gst/gstevent.c (create_custom_events): Check that
13261 FLUSH_STOP is serialized.
13263 * check/elements/identity.c (event_func):
13264 * check/elements/fakesrc.c (event_func): No stream lock, the core
13267 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
13268 stream lock taking, yay.
13270 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
13271 ensure that core takes the stream lock.
13273 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
13276 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
13277 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
13278 it already. For the flush start we do take it though so we get the
13279 right preroll state change messages.
13281 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
13282 the stream lock here, the core does it for us.
13284 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
13285 GST_STREAM_GET_LOCK.
13286 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
13287 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
13288 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
13289 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
13290 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
13291 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
13293 * gst/gstpad.c: Update for stream lock name change.
13295 * gst/base/gstbasesink.c: Update for preroll lock name change.
13297 2005-11-21 Wim Taymans <wim@fluendo.com>
13299 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
13300 (gst_clock_get_master):
13302 * gst/gstsystemclock.c: (gst_system_clock_init):
13303 Convert Clock flags to object flags.
13304 Added methods to manage master/slave clocks.
13306 2005-11-21 Wim Taymans <wim@fluendo.com>
13308 * check/gst/gstsegment.c: (GST_START_TEST):
13309 * docs/design/part-TODO.txt:
13310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13311 (gst_base_sink_event), (gst_base_sink_do_sync),
13312 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13313 (gst_base_sink_query), (gst_base_sink_change_state):
13314 * gst/base/gstbasesink.h:
13315 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
13316 (gst_base_src_default_newsegment),
13317 (gst_base_src_configure_segment), (gst_base_src_do_seek),
13318 (gst_base_src_get_range), (gst_base_src_loop),
13319 (gst_base_src_change_state):
13320 * gst/base/gstbasesrc.h:
13321 * gst/base/gstbasetransform.c:
13322 (gst_base_transform_prepare_output_buf),
13323 (gst_base_transform_event), (gst_base_transform_change_state):
13324 * gst/base/gstbasetransform.h:
13325 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13326 (gst_collect_pads_event):
13327 * gst/base/gstcollectpads.h:
13328 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
13329 (gst_fake_src_create):
13330 * gst/elements/gstfakesrc.h:
13331 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13332 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13333 (gst_segment_set_last_stop), (gst_segment_set_seek),
13334 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13335 (gst_segment_to_running_time), (gst_segment_clip):
13336 * gst/gstsegment.h:
13337 More segment updates, replace code in plugins with segment
13340 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13342 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
13343 Don't ignore sscanf results
13345 2005-11-21 Andy Wingo <wingo@pobox.com>
13347 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
13350 * *.c: Ran scripts/update-macros. Oh yes.
13352 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
13353 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
13356 * scripts/update-macros: New script. Run it on your files to
13357 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
13360 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13362 * docs/gst/Makefile.am:
13363 * docs/gst/gstreamer-docs.sgml:
13364 * docs/gst/gstreamer-sections.txt:
13365 * docs/gst/gstreamer.types:
13367 more docs fixes, add new api to the docs
13369 2005-11-21 Andy Wingo <wingo@pobox.com>
13371 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
13372 state_broadcast call.
13374 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
13376 2005-11-21 Julien MOUTTE <julien@moutte.net>
13378 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
13379 function calls for arrays.
13381 2005-11-21 Stefan Kost <ensonic@users.sf.net>
13383 * docs/random/ensonic/media-device-daemon.txt:
13384 wild idea, can this be done?
13385 * docs/gst/gstreamer-sections.txt:
13390 * gst/gstpluginfeature.c:
13394 doc fixes and additions
13396 2005-11-21 Andy Wingo <wingo@pobox.com>
13398 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
13399 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
13400 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
13401 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
13402 private to the basesrc implementation.
13404 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
13405 behalf of event function if necessary. It should no longer be
13406 necessary to take the stream lock in pad's event functions. Fixes
13409 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13410 * docs/gst/gstreamer-sections.txt:
13411 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
13412 (gst_structure_fixate_field_nearest_double),
13413 (gst_structure_fixate_field_boolean):
13414 * gst/gststructure.h:
13415 * win32/common/libgstreamer.def:
13416 * win32/gstreamer.def:
13418 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
13421 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
13423 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
13424 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
13425 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
13426 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
13427 (gst_fdsrc_uri_handler_init):
13428 * gst/elements/gstfdsrc.h:
13429 Port fd:// URI handler from 0.8 to fdsrc
13431 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13433 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
13434 (gst_value_serialize_fourcc):
13436 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
13437 consistent with our other format defines (#320324).
13439 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13441 * gst/gstvalue.c: (gst_value_is_fixed):
13442 Revert previous commit. Value lists are by definition
13443 not fixed, as they are a list of possible values.
13445 2005-11-21 Andy Wingo <wingo@pobox.com>
13447 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
13448 during the stable series if we need it. Fixes #319178.
13450 * gst/gstevent.c (gst_event_new_filler): Removed.
13452 * check/gst/gstevent.c: Update comment about filler events.
13454 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13456 * gst/gstvalue.c: (gst_value_is_fixed):
13457 Should handle both value arrays and value lists.
13459 2005-11-21 Andy Wingo <wingo@pobox.com>
13461 patch by: Alessandro Dessina <alessandro nnva org>
13463 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
13464 functions to access arrays. Fixes #321962.
13466 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13468 * docs/gst/gstreamer.types:
13469 gst_collectpads_get_type => gst_collect_pads_get_type.
13471 * gst/base/gstbasetransform.c:
13472 Remove unused SIGNAL_HANDOFF enum.
13474 2005-11-21 Andy Wingo <wingo@pobox.com>
13476 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
13477 the event type (upstream, downstream, serialized). Renamed
13478 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
13479 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
13480 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
13482 * gst/gstevent.c: Update for new CUSTOM event names.
13484 * check/gst/gstevent.c: Update check for new CUSTOM event names.
13487 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
13490 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13492 * docs/gst/gstreamer-sections.txt:
13493 * win32/common/libgstbase.def:
13494 * win32/libgstbase.def:
13495 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13496 (gst_collect_pads_class_init), (gst_collect_pads_init),
13497 (gst_collect_pads_finalize), (gst_collect_pads_new),
13498 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
13499 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
13500 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
13501 (gst_collect_pads_start), (gst_collect_pads_stop),
13502 (gst_collect_pads_peek), (gst_collect_pads_pop),
13503 (gst_collect_pads_available), (gst_collect_pads_read),
13504 (gst_collect_pads_flush), (gst_collect_pads_event),
13505 (gst_collect_pads_chain):
13506 * gst/base/gstcollectpads.h:
13507 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
13508 unimplemented functions as unimplemented. Add padding to
13509 GstCollectData. (#320766, #320423)
13511 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
13513 * gst/gstmessage.c:
13514 Improve docs for DURATION message (usage of duration parameter)
13517 2005-11-20 Wim Taymans <wim@fluendo.com>
13519 * check/Makefile.am:
13520 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
13524 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
13525 (gst_segment_set_seek), (gst_segment_set_newsegment),
13526 (gst_segment_to_stream_time), (gst_segment_to_running_time),
13527 (gst_segment_clip):
13528 * gst/gstsegment.h:
13529 Added segment helper structure and methods. Not fully implemented
13531 Added segment check.
13533 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
13535 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13536 Add a deserialisation test for fractions
13537 * examples/metadata/read-metadata.c: (message_loop),
13538 (make_pipeline), (main):
13539 Fix up metadata reading sample.
13540 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13542 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13543 Don't try and fixate empty caps
13544 * gst/gst_private.h:
13545 Wrap in G_BEGIN_DECLS/G_END_DECLS
13546 * gst/gstvalue.c: (gst_value_collect_fraction),
13547 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
13548 (gst_value_transform_string_fraction),
13549 (gst_value_compare_fraction):
13550 Add some extra guards to ensure that we don't end up
13551 with an invalid denominator of 0 in a gstfraction and
13552 that fractions always get reduced.
13554 2005-11-20 Wim Taymans <wim@fluendo.com>
13556 * docs/gst/gstreamer-sections.txt:
13558 * gst/gstelement.c:
13567 2005-11-20 Wim Taymans <wim@fluendo.com>
13569 * docs/design/part-TODO.txt:
13571 Make a proper enum of the flag.
13573 2005-11-19 Wim Taymans <wim@fluendo.com>
13575 * docs/design/part-TODO.txt:
13576 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
13577 (gst_format_to_quark), (gst_format_register):
13579 * gst/gstquery.c: (_gst_query_initialize),
13580 (gst_query_type_get_name), (gst_query_type_to_quark),
13581 (gst_query_type_register):
13583 Add type to quark and type to string conversions.
13585 2005-11-19 Andy Wingo <wingo@pobox.com>
13587 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
13590 2005-11-19 Wim Taymans <wim@fluendo.com>
13592 * docs/design/part-TODO.txt:
13593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
13594 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
13595 (gst_bin_handle_message_func):
13597 Make message handling overridable.
13599 2005-11-19 Andy Wingo <wingo@pobox.com>
13601 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
13604 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
13606 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
13607 is a GstClockTime. Fixes #321710.
13609 * gst/gstclock.h (GstClock): Remove offset property. Add
13610 internal_calibration and external_calibration. Fix padding. Pad
13611 also by GstClockTime so we don't run into problems.
13613 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
13614 (gst_clock_get_rate_offset): Remove.
13615 (gst_clock_set_time_adjust): Remove. Fixes #321712.
13618 * gst/gstutils.c (g_static_rec_cond_wait)
13619 (g_static_rec_cond_timed_wait): Removed, no longer needed.
13621 * gst/gstbin.c: Remove terrible continue_state prototype.
13623 * gst/gstelement.h (gst_element_continue_state): Make public.
13625 * gst/gstelement.h:
13626 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
13627 by continue_state. Fixes #319389.
13629 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
13630 Really fixes #168438. However I don't see anywhere where the
13631 filter function is called... stupid GStreamer...
13633 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
13634 don't have a dispose function, so it won't get called when the
13635 object is unreffed, but oh well!
13637 * gst/gstindex.c (gst_index_set_filter_full): New API function,
13638 allows a destroy function to be set so user_data can be freed.
13640 (gst_index_set_filter): Call gst_index_set_filter_full.
13642 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
13644 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
13645 string should produce an error, given the lack of a way to
13646 represent NULL strings. Fixes #165650.
13649 * gst/gstvalue.c (gst_value_array_append_value)
13650 (gst_value_array_prepend_value, gst_value_array_get_size)
13651 (gst_value_array_get_value): New API, copied from
13652 gst_value_list_*, only operates on arrays.
13653 (gst_value_list_append_value, gst_value_list_prepend_value)
13654 (gst_value_list_concat, gst_value_list_get_size)
13655 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
13657 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
13658 init_list, because it works on both.
13659 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
13660 (gst_value_copy_list_or_array): Renamed from copy_list.
13661 (gst_value_free_list_or_array): Renamed from free_list.
13662 (gst_value_collect_list_or_array): Renamed from collect_list.
13663 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
13664 (gst_value_list_or_array_peek_pointer): Renamed from
13666 (_gst_value_array_value_table, _gst_value_list_value_table):
13667 Update value table functions.
13668 (gst_value_compare_list_or_array): Renamed from compare_list.
13670 * gsttaglist.h: Whoops, foreach function returns void. Also fix
13673 * gst/gsttaglist.c:
13674 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
13675 GstTagList*. Fixes #143472.
13677 * gst/gststructure.h: Clarify what the foreach/map functions can
13678 or can't do to their arguments.
13680 2005-11-18 Wim Taymans <wim@fluendo.com>
13682 * gst/gstclock.c: (gst_clock_set_calibration),
13683 (gst_clock_get_calibration):
13685 Calibration can be set with internal time equal to current
13688 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
13694 2005-11-18 Andy Wingo <wingo@pobox.com>
13697 * pkgconfig/gstreamer-net.pc.in:
13698 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13699 * pkgconfig/Makefile.am: Add net pkgconfig files.
13701 2005-11-18 Stefan Kost <ensonic@users.sf.net>
13704 * gst/gstghostpad.c:
13710 2005-11-18 Andy Wingo <wingo@pobox.com>
13712 * gst/net/gstnetclientclock.c: Turn off debugging.
13714 * check/net/gstnetclientclock.c (test_functioning): Assert that the
13715 times connverge somewhat. Can't make a real test.
13717 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
13718 integer arithmetic. Return the minimum of the domain, which can be
13719 set as "internal" for gst_clock_set_calibration.
13720 (gst_net_client_clock_observe_times): Call _set_calibration.
13721 (gst_net_client_clock_new): Call _set_calibration instead of
13724 * check/net/gstnetclientclock.c (test_functioning): Use the right
13728 * gst/gstclock.c (gst_clock_get_calibration)
13729 (gst_clock_set_calibration): New functions, obsolete the ones I
13730 added yesterday. Doh. Precision issues mean we have to extrapolate
13731 from a point in the more recent past than 1970.
13732 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
13734 (gst_clock_adjust_unlocked): Use the right calibration data.
13736 2005-11-18 Edward Hervey <edward@fluendo.com>
13738 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
13739 Also reset the ->current_* values in READY->PAUSED
13741 2005-11-18 Andy Wingo <wingo@pobox.com>
13743 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
13744 Whoops, check the right fd. Also add some debugging.
13745 (gst_net_client_clock_observe_times): Adjust for int64 offset.
13746 (do_linear_regression): Add a crapload of debugging. Subtract off
13747 the minimum values from the input series to discard unneeded bits.
13748 Use only int arithmetic. There is still double arithmetic when
13749 calculating the intercept that needs fixing. Return boolean to
13750 indicate success; FALSE would mean the domain or range is too
13751 great. Still needs fixes.
13753 2005-11-18 Wim Taymans <wim@fluendo.com>
13755 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
13756 For the current position in stream time, we need to subtract
13759 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
13760 Release lock before calling the callback function of async
13763 2005-11-18 Andy Wingo <wingo@pobox.com>
13765 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
13766 Port goes all the way to MAXUINT16.
13768 * gst/net/gstnettimeprovider.c: Make the port range the same as
13769 for the kernel: 0 assigns, otherwise ports are less than
13772 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
13775 * check/net/gstnetclientclock.c (test_functioning): Add the start
13778 2005-11-18 Wim Taymans <wim@fluendo.com>
13780 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
13781 (gst_bin_remove_func), (bin_bus_handler):
13783 Removing a clock provider from a bin, triggers a clock lost message
13784 so that a new clock will be selected.
13785 Adding a clock to a bin triggers a clock provider message.
13786 Make sure we reselect a clock when we received a clock lost message.
13787 Keep a reference to the element that provided the clock.
13789 2005-11-18 Andy Wingo <wingo@pobox.com>
13791 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
13792 the clock initially so it produces values around the base time.
13793 (gst_net_client_clock_class_init): Typo fix.
13794 (gst_net_client_clock_thread): Add note on when the socket gets
13797 2005-11-17 Wim Taymans <wim@fluendo.com>
13799 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
13800 Free remote and local time arrays.
13802 2005-11-17 Wim Taymans <wim@fluendo.com>
13804 * gst/net/gstnetclientclock.c: (do_linear_regression),
13805 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
13806 Fix compilation, uninitialized vars and a forgotten continue.
13808 2005-11-17 Andy Wingo <wingo@pobox.com>
13810 * check/Makefile.am (check_PROGRAMS):
13811 * check/net/gstnetclientclock.c: Add a most minimal test for the
13812 net client clock. More to come later.
13814 * gst/net/gstnet.h:
13815 * gst/net/Makefile.am: Add netclientclock.
13817 * gst/net/gstnetclientclock.h:
13818 * gst/net/gstnetclientclock.c: New files, implement an untested
13819 GstClock that takes its time from a network time provider.
13820 Implements the algorithm in network-clock.scm.
13822 * tests/network-clock.scm (*window-size*): Rename from
13824 * tests/network-clock.scm (network-time):
13825 * tests/network-clock-utils.scm (q-push): Update callers.
13827 2005-11-17 Wim Taymans <wim@fluendo.com>
13829 * gst/gstbin.c: (gst_bin_provide_clock_func),
13830 (gst_bin_sort_iterator_new):
13831 And unref the child too..
13833 2005-11-17 Wim Taymans <wim@fluendo.com>
13835 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13836 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
13837 Refactor the sort iterator so it can be used while holding the
13839 Make clock selection select a clock closest to the source.
13841 2005-11-17 Michael Smith <msmith@fluendo.com>
13843 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
13844 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
13846 Anonymous structs are a gcc (and some other compilers) extension, so
13847 don't use them. Since this is only for ABI-compatibility, and our
13848 API/ABI freeze is over in a few days, this whole thing will only
13849 last a few days, so don't bother trying to think up a meaningful
13850 name for the struct.
13852 2005-11-17 Andy Wingo <wingo@pobox.com>
13854 * gst/gstclock.h (GstClock): Add rate and offset properties,
13855 preserving ABI stability. Add rate/offset accessors. Will file bug
13856 for the freeze break.
13858 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
13859 and offset, trying to keep precision and avoiding
13860 underflow/overflow.
13861 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
13862 functions. Make gst_clock_set_time_adjust obsolete.
13863 (gst_clock_set_time_adjust): Note that this function is obsolete.
13864 Will file bug soon.
13866 * gst/base/gstbasetransform.h: Make the ABI-stability hack
13867 greppable by using GST_PADDING-1+1.
13869 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
13871 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13873 * gst/gstmessage.c: (gst_message_parse_clock_lost):
13874 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
13876 * gst/gstpadtemplate.h:
13877 * gst/gstpluginfeature.h:
13878 Don't use c++ style comments in headers (#321638).
13880 2005-11-16 Andy Wingo <wingo@pobox.com>
13882 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
13885 * check/net/gstnettimeprovider.c: Check to see that the time
13886 provider actually provides times. Works, yo!
13888 2005-11-16 Wim Taymans <wim@fluendo.com>
13890 * check/Makefile.am:
13893 * check/elements/fakesrc.c: (GST_START_TEST):
13894 Set element to NULL before disposing it.
13896 2005-11-16 Andy Wingo <wingo@pobox.com>
13898 * gst/net/Makefile.am:
13899 * gst/net/gstnet.h:
13900 * gst/net/gstnettimeprovider.c:
13901 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
13902 provider, include it from gstnet.h, and add it to the build.
13904 * gst/net/gstnettimepacket.h:
13905 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
13906 sending and receiving.
13908 2005-11-16 Wim Taymans <wim@fluendo.com>
13910 * check/Makefile.am:
13911 Enable valgrind check.
13913 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
13914 (gst_fake_src_alloc_buffer):
13917 2005-11-16 Wim Taymans <wim@fluendo.com>
13919 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
13920 Call parent finalize too.
13922 2005-11-16 Wim Taymans <wim@fluendo.com>
13924 * check/Makefile.am:
13925 Enable valgrind check that should work fine now.
13927 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
13928 * gst/gstqueue.c: (gst_queue_init):
13929 Fix memleaks in pad allocation.
13931 2005-11-16 Andy Wingo <wingo@pobox.com>
13933 * gst/net/Makefile.am:
13934 * gst/net/gstnet.h: New part of core to hold network elements and
13935 objects. Put in core because it exposes API that applications want
13936 to use. The library is named libgstnet-tempname right now because
13937 of the existing libgstnet in gst-plugins-base. Solution is
13938 probably to rename the one in plugins-base; will file a bug for
13941 * gst/net/gstnettimeprovider.c:
13942 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13943 get_time call over the network.
13946 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
13948 * check/Makefile.am:
13949 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
13950 get additions shortly.
13952 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13954 * gst/gstpad.c: (gst_pad_new_from_static_template):
13956 add gst_pad_new_from_static_template functions
13957 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
13958 (gst_check_setup_sink_pad):
13959 * gst/elements/gsttee.c: (gst_tee_init):
13962 2005-11-16 Wim Taymans <wim@fluendo.com>
13964 * gst/gstpad.c: (gst_pad_pause_task):
13965 Removed warning, it's not really an error either.
13967 2005-11-16 Wim Taymans <wim@fluendo.com>
13969 * gst/base/gstbasetransform.c:
13970 (gst_base_transform_prepare_output_buf),
13971 (gst_base_transform_event):
13972 Check if the caps are NULL, this can happen if the element
13973 is shutting down and the pad caps are set to NULL.
13975 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13977 * gst/elements/gsttee.c: (gst_tee_init):
13978 fix pad template leak in tee
13980 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13982 * gst/glib-compat.c: (g_value_dup_gst_object):
13983 * gst/glib-compat.h:
13984 * gst/gstpad.c: (gst_pad_set_property):
13985 use gst_object_ref when setting the pad template; this will
13986 trigger the pad template leaks on GLib 2.6 and the slaves
13988 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
13990 * gst/glib-compat.c: (gst_flags_get_first_value):
13991 * gst/glib-compat.h:
13992 * gst/gstregistryxml.c:
13993 remove functions copied from GLib 2.6
13995 2005-11-16 Michael Smith <msmith@fluendo.com>
13998 Don't link against VALGRIND_LIBS. That was always the wrong thing to
13999 do, but only breaks with newer valgrind versions. We're not a
14000 valgrind tool, we have no link-time dependencies on libcoregrind.
14002 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14004 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14006 * gst/gstmessage.h:
14009 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
14011 * gst/base/gstbasesrc.c: (gst_base_src_init):
14012 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14013 * gst/gstqueue.c: (gst_queue_init):
14014 * gst/gstregistryxml.c: (load_feature):
14015 Revert all these unrefs, they don't even pass make check !
14017 2005-11-15 Johan Dahlin <johan@gnome.org>
14019 * gst/base/gstbasesrc.c: (gst_base_src_init):
14020 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14021 * gst/gstqueue.c: (gst_queue_init):
14022 Free pad templates, fixes a couple of leaks.
14024 2005-11-15 Daniel Fischer <dan at f3c dot com>
14026 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
14028 * gst/gstpad.c: (gst_pad_get_property):
14029 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
14030 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
14033 2005-11-15 Wim Taymans <wim@fluendo.com>
14038 2005-11-15 Andy Wingo <wingo@pobox.com>
14040 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
14042 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
14043 using GST_CLOCK_TIME_NONE to disable base time management.
14044 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
14045 time if it was NONE before.
14046 (gst_pipeline_change_state): Only munge the base time if
14047 stream_time != GST_CLOCK_TIME_NONE.
14049 * check/gst/gstpipeline.c (test_base_time): Punt around the
14050 problem of the probe not being called, because that's not the
14051 issue I'm looking at. Add a check that setting stream_time to NONE
14052 disables base time management.
14054 2005-11-15 Wim Taymans <wim@fluendo.com>
14056 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
14057 segment_stop == -1 at startup.
14059 * gst/base/gstbasetransform.c: (gst_base_transform_event),
14060 (gst_base_transform_change_state):
14061 Init segment values at start.
14063 2005-11-15 Wim Taymans <wim@fluendo.com>
14065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14066 0 segment values are 0 in any format.
14068 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14069 * gst/base/gstbasetransform.h:
14070 Parse newsegment correctly in basetransform
14072 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14073 Sync to clock using updated segment values.
14075 2005-11-15 Andy Wingo <wingo@pobox.com>
14077 * check/gst/gstpipeline.c (test_base_time): Add check that the
14078 base time and stream time are reset correctly.
14080 2005-11-15 Wim Taymans <wim@fluendo.com>
14082 * docs/design/part-TODO.txt:
14083 Some more TODO items.
14085 2005-11-15 Andy Wingo <wingo@pobox.com>
14087 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
14088 error if the user selected "no clock" as the clocking method.
14090 * check/gst/gstpipeline.c (test_base_time): New test for buffer
14091 timestamps with live capture.
14093 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
14094 is 0 but we are a live source, timestamp the buffers using the
14097 2005-11-14 Stefan Kost <ensonic@users.sf.net>
14099 * docs/gst/gstreamer-sections.txt:
14101 * gst/gstghostpad.c:
14106 2005-11-14 Wim Taymans <wim@fluendo.com>
14109 add suppressions from Wim's Debian machine
14111 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
14114 add suppressions from Andy's AMD64 Ubuntu machine
14116 2005-11-14 Andy Wingo <wingo@pobox.com>
14118 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
14119 STATE_LOCK not necessary. Fixes #311489.
14121 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
14124 * gst/gstindex.c (gst_index_add_object): Note in the docs that
14125 this function is not implemented.
14127 2005-11-14 Julien MOUTTE <julien@moutte.net>
14129 * gst/base/gstbasetransform.c:
14130 (gst_base_transform_prepare_output_buf):
14131 Ref the source pad caps while we need them.
14134 2005-11-11 Wim Taymans <wim@fluendo.com>
14136 * docs/gst/gstreamer-sections.txt:
14137 Added some docs for GstCollectData.
14139 * gst/base/gstadapter.c:
14140 Some small code example fix.
14142 * gst/base/gstcollectpads.c:
14143 * gst/base/gstcollectpads.h:
14144 Document some more.
14146 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14148 * configure.ac: back to HEAD
14150 === release 0.9.5 ===
14152 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
14155 releasing 0.9.5, "Bike Lunch Day"
14157 2005-11-11 Wim Taymans <wim@fluendo.com>
14159 * gst/gstbuffer.c: (_gst_buffer_copy):
14162 * gst/gstcaps.c: (gst_caps_is_equal):
14164 Make _is_equal fast in the trivial cases.
14166 * gst/gstminiobject.c:
14167 * gst/gstminiobject.h:
14168 More docs. Spifify .h file.
14173 2005-11-11 Wim Taymans <wim@fluendo.com>
14175 * gst/base/gstbasetransform.c:
14176 (gst_base_transform_prepare_output_buf),
14177 (gst_base_transform_handle_buffer):
14179 If we're processing a buffer and need to allocate an output
14180 buffer, we cannot accept a format change. If we did get a
14181 format change, we have to alloc a buffer ourselves of the
14184 2005-11-11 Wim Taymans <wim@fluendo.com>
14186 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
14187 While checking the flag for reentrancy in the gstcaps function
14188 is nice to detect recursive invocations, it also makes it
14189 impossible to call getcaps from multiple threads, which must be
14190 possible. So, checking for recursive calls has to go.
14192 2005-11-11 Michael Smith <msmith@fluendo.com>
14194 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14195 Don't sync on buffers that fall partially outside our current
14196 segment. Prevents an assertion failure/abort playing some files.
14198 2005-11-10 Andy Wingo <wingo@pobox.com>
14200 * check/gst/gstbin.c (test_message_state_changed_children): Style
14203 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
14204 gst_bus_poll with the signal watch. Ensures that poll and a signal
14205 watch see the same messages.
14207 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
14208 a poll and a watch at the same time get the same messages.
14210 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
14213 * gst/gstcaps.c: (gst_caps_intersect):
14214 Don't call gst_caps_do_simplify - it doesn't respect order of caps
14215 and it's not needed.
14217 2005-11-10 Wim Taymans <wim@fluendo.com>
14219 * docs/design/part-TODO.txt:
14222 2005-11-10 Wim Taymans <wim@fluendo.com>
14224 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14225 * gst/base/gstbasesrc.c: (gst_base_src_wait),
14226 (gst_base_src_do_sync), (gst_base_src_get_range):
14227 Implement clock sync in base class.
14229 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
14231 patch by: Tim-Philipp Müller <tim at centricular dot net>
14233 * gst/gststructure.c: (gst_structure_parse_field),
14234 (gst_structure_from_string):
14235 Forward-port a 0.8 patch to handle escaped spaces in structure string,
14236 so that gst_parse_launch() can deal with spaces in filtered link
14237 caps (fixes #164479)
14238 * check/gst/capslist.h:
14239 * check/gst/gststructure.c: (GST_START_TEST):
14240 add unit tests for this change
14242 2005-11-10 Wim Taymans <wim@fluendo.com>
14244 * docs/gst/gstreamer-sections.txt:
14245 * gst/gstelement.c:
14246 * gst/gstelement.h:
14247 Fix docs, move some STATE macros to private.
14249 2005-11-10 Wim Taymans <wim@fluendo.com>
14251 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14252 Added check for bug #317341
14256 Some more spiffifying.
14258 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
14259 Call peer linkfunction if we are a source pad. Totally fixes
14263 Update docs, source pads should call the peer linkfunction
14264 so they can atomically perform the pad link.
14266 2005-11-09 Wim Taymans <wim@fluendo.com>
14270 Uber-spiffy-spiffify some more.
14272 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
14274 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
14275 * gst/elements/gstfilesink.c: (gst_file_sink_init):
14276 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
14277 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
14278 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
14279 * gst/gstpad.c: (gst_pad_init):
14280 Use GST_DEBUG_FUNCPTR() more extensively.
14282 2005-11-09 Wim Taymans <wim@fluendo.com>
14284 * gst/gstobject.c: (gst_object_class_init):
14286 Documentation fixes.
14288 2005-11-09 Edward Hervey <edward@fluendo.com>
14290 * gst/gsttypefindfactory.c:
14293 2005-11-09 Edward Hervey <edward@fluendo.com>
14295 * gst/base/gsttypefindhelper.c:
14296 * gst/gsttypefind.c:
14297 * gst/gsttypefind.h:
14300 2005-11-09 Wim Taymans <wim@fluendo.com>
14302 * gst/gstiterator.c:
14309 2005-11-09 Wim Taymans <wim@fluendo.com>
14315 2005-11-09 Wim Taymans <wim@fluendo.com>
14317 * docs/gst/gstreamer-sections.txt:
14318 Moved the message async delivery private lock and cond
14319 to the private section.
14321 * gst/gstmessage.c:
14322 * gst/gstmessage.h:
14325 2005-11-09 Edward Hervey <edward@fluendo.com>
14327 * docs/gst/gstreamer-sections.txt:
14330 Document GstURIHandler
14332 2005-11-09 Wim Taymans <wim@fluendo.com>
14334 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
14335 (gst_iterator_find_custom):
14336 * gst/gstiterator.h:
14339 2005-11-09 Wim Taymans <wim@fluendo.com>
14342 Document another field.
14344 * gst/gststructure.c:
14345 * gst/gststructure.h:
14348 2005-11-09 Wim Taymans <wim@fluendo.com>
14351 Documented structs.
14353 2005-11-09 Wim Taymans <wim@fluendo.com>
14355 * docs/gst/gstreamer-sections.txt:
14356 Added some new macros.
14363 2005-11-09 Wim Taymans <wim@fluendo.com>
14365 * docs/design/part-TODO.txt:
14366 Some more items for the TODO
14372 2005-11-09 Andy Wingo <wingo@pobox.com>
14374 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
14375 to work on something else now tho...
14377 * gst/base/gstadapter.c: More adapter docs.
14379 * gst/elements/gstfilesink.c (gst_file_sink_start)
14380 (gst_file_sink_stop): New functions, replace the state change
14382 (gst_file_sink_class_init): Hook up the start and stop functions.
14383 (gst_file_sink_base_init): Don't set the state change handler any
14384 more. It was a bit ugly too, being set from here...
14385 (gst_file_sink_get_property, gst_file_sink_set_property):
14387 (gst_file_sink_set_location): More robust check that doesn't call
14388 GST_STATE. Ugggggg.
14390 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
14392 * gst/base/gstbasetransform.c: (gst_base_transform_event):
14393 Hold STREAM_LOCK while pushing newsegment or tag events as well.
14395 2005-11-08 Wim Taymans <wim@fluendo.com>
14397 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14398 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14399 (gst_base_sink_chain), (gst_base_sink_change_state):
14400 * gst/base/gstbasesink.h:
14401 * gst/base/gstbasesrc.h:
14402 * gst/gstelement.h:
14404 Avoid excessive typechecking in macros.
14406 * gst/gstminiobject.c: (gst_mini_object_get_type),
14407 (gst_mini_object_init), (gst_mini_object_new),
14408 (gst_mini_object_free):
14409 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
14410 (gst_object_finalize):
14411 Remove cruft code, optimize alloc_trace.
14413 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
14415 * docs/faq/gst-uninstalled:
14416 fix up PS1 for systems that try to reset it
14418 2005-11-07 Wim Taymans <wim@fluendo.com>
14420 * gst/base/gstbasesrc.c: (gst_base_src_init),
14421 (gst_base_src_get_range):
14422 Set the segment_end to -1 initially. Fixed typefind.
14424 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
14426 * gst/base/gstadapter.c:
14427 Debug category should be 'adapter', not 'GstAdapter'.
14429 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
14430 (gst_collectpads_class_init), (gst_collectpads_init),
14431 (gst_collectpads_peek), (gst_collectpads_pop),
14432 (gst_collectpads_event), (gst_collectpads_chain):
14433 Add debug category and some debugging output. Use boilerplate
14434 macros. Remove some extraneous words from docs.
14436 2005-11-05 Andy Wingo <wingo@pobox.com>
14438 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
14441 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14443 * docs/gst/gstreamer-sections.txt:
14446 * gst/gstminiobject.h:
14451 2005-11-04 Wim Taymans <wim@fluendo.com>
14453 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14454 Small update to stop at the configured segment_end
14457 2005-11-04 Stefan Kost <ensonic@users.sf.net>
14459 * gst/gstregistry.c:
14460 * gst/gstregistry.h:
14463 2005-11-04 Edward Hervey <edward@fluendo.com>
14465 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14466 Check if we are doing a segment seek and have arrived at the
14467 end of that segment.
14469 2005-11-04 Wim Taymans <wim@fluendo.com>
14471 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
14472 Don't leak a mutex unlock in case of an error.
14477 2005-11-04 Wim Taymans <wim@fluendo.com>
14479 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
14481 Get the context to wake up only once.
14483 2005-11-03 Wim Taymans <wim@fluendo.com>
14485 * check/states/sinks.c: (GST_START_TEST):
14486 Uncomment fixed check.
14488 * docs/design/part-TODO.txt:
14491 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14492 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14493 (gst_base_sink_get_position):
14494 If we are going to PLAYING, post the right pending state
14495 when we post the intermediate paused message.
14497 * gst/gstelement.c: (gst_element_continue_state),
14498 (gst_element_set_state_func), (gst_element_change_state):
14499 Don't post state changes that were between the same state
14500 and were not ASYNC.
14502 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14504 * docs/gst/gstreamer-sections.txt:
14507 * gst/gstminiobject.h:
14510 more docs and doc style fixes
14512 2005-11-03 Stefan Kost <ensonic@users.sf.net>
14514 * docs/gst/gstreamer-sections.txt:
14515 * gst/gstelement.c:
14516 * gst/gstminiobject.c:
14519 2005-11-03 Andy Wingo <wingo@pobox.com>
14521 * check/states/sinks.c (test_livesrc_sink): Add checks that the
14522 state-changed messages actually have the right order and the right
14525 2005-11-03 Wim Taymans <wim@fluendo.com>
14527 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
14528 Added some more checks. Specifically the case where NO_PREROLL
14529 elements are in the pipeline.
14531 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14532 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
14533 (gst_base_sink_get_position):
14534 Post READY->PAUSED state change messages too.
14535 Fix bug where VOID was posted as pending state...
14537 * gst/gstbin.c: (gst_bin_recalc_state):
14538 use _element_continue_state() to continue the state change.
14540 * gst/gstelement.c: (gst_element_continue_state),
14541 (gst_element_commit_state), (gst_element_set_state_func),
14542 (gst_element_change_state), (gst_element_change_state_func):
14543 Lots of state change cleanups, assign the STATE_RETURN in
14544 a new continue_state() function that also propagates the
14545 last return value from a state change to the app.
14546 Update some debug statements with proper category.
14548 2005-11-03 Wim Taymans <wim@fluendo.com>
14550 * docs/design/part-events.txt:
14551 * docs/design/part-gstpipeline.txt:
14552 * docs/design/part-messages.txt:
14553 * docs/design/part-overview.txt:
14554 * docs/design/part-seeking.txt:
14555 * docs/design/part-states.txt:
14556 * docs/design/part-trickmodes.txt:
14557 * docs/manual/advanced-position.xml:
14558 Small docs updates.
14561 People think !! is ugly, this looks better.
14563 * gst/gstpad.c: (gst_pad_set_blocked_async):
14564 Remove !! since it's fixed elsewhere now.
14566 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14568 * gst/gstminiobject.h:
14570 Add !! to _FLAG_IS_SET macros to make the result boolean.
14572 2005-11-03 Edward Hervey <edward@fluendo.com>
14574 * gst/gstpad.c: (gst_pad_set_blocked_async):
14575 comparing a flag and a gboolean rarely returns coherent results...
14576 Added two characters (!!) to make that work correctly.
14578 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14580 * gst/gstbus.c: (gst_bus_class_init):
14583 * gst/gstqueue.c: (gst_queue_loop):
14584 Don't assume a miniobject that isn't a buffer is an
14585 event (it could be that there is a refcounting
14586 problem somewhere and the pointer is stale and
14587 refers to an already destroyed miniobject).
14589 2005-11-03 Julien MOUTTE <julien@moutte.net>
14591 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
14593 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
14595 * docs/manual/advanced-position.xml:
14596 Update seek example and explanations to current 0.9 API.
14598 * gst/elements/gsttypefindelement.c:
14599 (gst_type_find_element_activate):
14600 Remove FIXME comment now that the found caps
14603 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
14605 * gst/gstregistryxml.c: (load_feature):
14606 Add another GST_STR_NULL instance
14608 2005-11-02 Edward Hervey <edward@fluendo.com>
14610 * gst/gstpad.c: (handle_pad_block):
14611 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
14613 2005-11-02 Wim Taymans <wim@fluendo.com>
14618 * gst/gstelement.c: (gst_element_commit_state):
14619 Remove unused value.
14621 * gst/gstiterator.c:
14622 Mention that the returned element is reffed in the docs.
14624 2005-11-02 Wim Taymans <wim@fluendo.com>
14626 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
14627 (gst_pad_push), (gst_pad_push_event):
14628 Unlock blocked pads when they are flushed.
14630 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14633 * docs/gst/gstreamer-sections.txt:
14636 * gst/gstregistry.c: (gst_registry_scan_path_level):
14637 fix for a nasty little missed situation where an installed plug-in
14638 which was in the cache did not get overridden by an uninstalled one
14639 which was earlier in the plugin path because the newly created plugin
14640 for the uninstalled one (not in the registry) didn't get its
14641 ->registered set to TRUE
14643 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14645 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
14646 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
14647 (gst_collectpads_is_active), (gst_collectpads_collect),
14648 (gst_collectpads_collect_range), (gst_collectpads_start),
14649 (gst_collectpads_stop), (gst_collectpads_peek),
14650 (gst_collectpads_pop), (gst_collectpads_available),
14651 (gst_collectpads_read), (gst_collectpads_flush):
14652 Guard public API with assertions.
14655 Fix docs for gst_pad_set_link_function().
14657 2005-11-02 Johan Dahlin <johan@gnome.org>
14659 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
14660 Unref found_caps after we used it.
14662 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
14664 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
14665 Don't try to ref NULL.
14667 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14669 * win32/common/config.h.in:
14670 provide a GST_FUNCTION that just gives a string for now
14672 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
14674 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14675 (gst_object_flags_get_type), (register_gst_bin_flags),
14676 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14677 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14678 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14679 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
14680 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14681 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14682 (gst_clock_flags_get_type), (register_gst_state),
14683 (gst_state_get_type), (register_gst_state_change_return),
14684 (gst_state_change_return_get_type), (register_gst_state_change),
14685 (gst_state_change_get_type), (register_gst_element_flags),
14686 (gst_element_flags_get_type), (register_gst_core_error),
14687 (gst_core_error_get_type), (register_gst_library_error),
14688 (gst_library_error_get_type), (register_gst_resource_error),
14689 (gst_resource_error_get_type), (register_gst_stream_error),
14690 (gst_stream_error_get_type), (register_gst_event_type),
14691 (gst_event_type_get_type), (register_gst_seek_type),
14692 (gst_seek_type_get_type), (register_gst_seek_flags),
14693 (gst_seek_flags_get_type), (register_gst_format),
14694 (gst_format_get_type), (register_gst_index_certainty),
14695 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14696 (gst_index_entry_type_get_type),
14697 (register_gst_index_lookup_method),
14698 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14699 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14700 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14701 (gst_index_flags_get_type), (register_gst_debug_level),
14702 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14703 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14704 (gst_iterator_result_get_type), (register_gst_iterator_item),
14705 (gst_iterator_item_get_type), (register_gst_message_type),
14706 (gst_message_type_get_type), (register_gst_mini_object_flags),
14707 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14708 (gst_pad_link_return_get_type), (register_gst_flow_return),
14709 (gst_flow_return_get_type), (register_gst_activate_mode),
14710 (gst_activate_mode_get_type), (register_gst_pad_direction),
14711 (gst_pad_direction_get_type), (register_gst_pad_flags),
14712 (gst_pad_flags_get_type), (register_gst_pad_presence),
14713 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14714 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14715 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14716 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14717 (gst_plugin_flags_get_type), (register_gst_rank),
14718 (gst_rank_get_type), (register_gst_query_type),
14719 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14720 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14721 (gst_tag_flag_get_type), (register_gst_task_state),
14722 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14723 (gst_alloc_trace_flags_get_type),
14724 (register_gst_type_find_probability),
14725 (gst_type_find_probability_get_type), (register_gst_uri_type),
14726 (gst_uri_type_get_type), (register_gst_parse_error),
14727 (gst_parse_error_get_type):
14728 * win32/common/gstversion.h:
14729 update win32 copies
14731 2005-11-01 Luca Ognibene <luogni@tin.it>
14734 fix docs. popt is dead, long live GOption.
14736 2005-10-31 Wim Taymans <wim@fluendo.com>
14741 2005-10-31 Andy Wingo <wingo@pobox.com>
14745 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
14747 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
14748 need to serialize property notifications on GLib 2.8. GLib 2.6 has
14749 the possibility of deadlocks here if code calling notify() or
14750 set() has a lock that can be taken in another notify handler (ABBA
14751 with class lock and e.g. python GIL state lock).
14753 2005-10-28 Julien MOUTTE <julien@moutte.net>
14755 * gst/gstbus.c: Doc updates.
14757 2005-10-28 Wim Taymans <wim@fluendo.com>
14759 * docs/design/part-TODO.txt:
14760 * gst/gstiterator.c:
14761 * gst/gstsystemclock.c:
14762 * gst/gstsystemclock.h:
14765 2005-10-28 Edward Hervey <edward@fluendo.com>
14767 * docs/gst/gstreamer-docs.sgml:
14768 * docs/gst/gstreamer-sections.txt:
14769 the GstURIType documentation page is private, it only defines GstURIType
14770 which should be defined in the GstURIHandler page
14772 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
14774 * gst/gstbin.c: (gst_bin_class_init):
14777 Documentation updates.
14779 2005-10-28 Wim Taymans <wim@fluendo.com>
14781 * docs/gst/gstreamer-sections.txt:
14784 Documented the clocks.
14786 2005-10-28 Stefan Kost <ensonic@users.sf.net>
14788 * docs/gst/gstreamer-sections.txt:
14789 move some macros to private sections
14790 * gst/gstminiobject.c:
14791 * gst/gstminiobject.h:
14792 add descriptions provided by ds and some more
14794 mark macro as to be removed
14796 2005-10-28 Wim Taymans <wim@fluendo.com>
14798 * docs/design/part-TODO.txt:
14799 Add an item to TODO.
14801 * gst/gstiterator.c: (gst_iterator_fold),
14802 (gst_iterator_find_custom):
14803 * gst/gstiterator.h:
14806 2005-10-28 Wim Taymans <wim@fluendo.com>
14808 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14809 (gst_base_transform_init):
14812 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
14813 An EOS event marks the queue as completely filled.
14815 2005-10-27 Wim Taymans <wim@fluendo.com>
14817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14818 (gst_base_sink_do_sync), (gst_base_sink_get_position):
14819 Some more debugging.
14821 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
14822 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
14823 (gst_base_transform_event), (gst_base_transform_getrange),
14824 (gst_base_transform_chain):
14825 * gst/base/gstbasetransform.h:
14827 Protect transform and concurrent buffer alloc with a new lock.
14828 Try not to break ABI/API.
14830 2005-10-27 Wim Taymans <wim@fluendo.com>
14832 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14833 (gst_base_src_init), (gst_base_src_query),
14834 (gst_base_src_default_newsegment),
14835 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14836 (gst_base_src_send_event), (gst_base_src_event_handler),
14837 (gst_base_src_pad_get_range), (gst_base_src_loop),
14838 (gst_base_src_unlock), (gst_base_src_default_negotiate),
14839 (gst_base_src_start), (gst_base_src_deactivate),
14840 (gst_base_src_activate_push), (gst_base_src_change_state):
14841 Move some stuff around and cleanup things.
14843 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
14845 * gst/base/gstbasesrc.c: (gst_base_src_query):
14846 Add missing break statements.
14848 2005-10-27 Wim Taymans <wim@fluendo.com>
14850 * check/gst/gstbin.c: (GST_START_TEST):
14851 An extra refcount is taken in basesrc.
14853 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14854 (gst_base_src_get_range), (gst_base_src_pad_get_range),
14855 (gst_base_src_loop):
14856 Small cleanups, check for flushing after being unlocked from the
14857 LIVE_LOCK. take refcounts correctly (not yet everywhere).
14858 Don't send out EOS when going to READY.
14860 2005-10-27 Wim Taymans <wim@fluendo.com>
14862 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14863 (gst_base_sink_get_position):
14866 * gst/gstbin.c: (message_check), (bin_replace_message),
14867 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14868 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14869 (bin_query_duration_init), (bin_query_duration_fold),
14870 (bin_query_duration_done), (bin_query_generic_fold),
14872 * tools/gst-launch.c: (main):
14875 2005-10-26 Stefan Kost <ensonic@users.sf.net>
14877 * examples/controller/audio-example.c: (main):
14878 * examples/queue/queue.c: (event_loop):
14879 * gst/base/gstbasetransform.h:
14880 * gst/gstelement.c: (gst_element_send_event):
14882 * gst/gstpad.c: (gst_pad_send_event):
14885 changing log priority in error situations
14887 2005-10-25 Wim Taymans <wim@fluendo.com>
14889 * gst/gstbin.c: (message_check), (bin_replace_message),
14890 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14891 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14892 (bin_query_duration_init), (bin_query_duration_fold),
14893 (bin_query_duration_done), (bin_query_generic_fold),
14895 Some doc and debug updates.
14896 Cache previously requested query DURATION for speed. invalidate
14897 cached duration if element posts a DURATION message.
14899 2005-10-25 Wim Taymans <wim@fluendo.com>
14901 * docs/design/part-TODO.txt:
14904 * gst/gstbin.c: (message_check), (bin_replace_message),
14905 (bin_remove_messages), (is_eos), (gst_bin_add_func),
14906 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
14907 (bin_query_duration_init), (bin_query_duration_fold),
14908 (bin_query_duration_done), (bin_query_generic_fold),
14910 Handle SEGMENT_START/DONE messages correctly.
14911 More evolved query algorithm that handles duration queries
14914 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
14915 (gst_element_get_state_func), (gst_element_abort_state),
14916 (gst_element_commit_state), (gst_element_lost_state):
14917 Some more debugging.
14919 * gst/gstmessage.h:
14922 2005-10-25 Wim Taymans <wim@fluendo.com>
14924 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
14925 Don't use invalid stream_time.
14927 * gst/gstevent.c: (gst_event_new_newsegment):
14928 stream_time in newsegment cannot be undefined.
14930 2005-10-24 Wim Taymans <wim@fluendo.com>
14935 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14937 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
14939 2005-10-24 Stefan Kost <ensonic@users.sf.net>
14941 * docs/libs/tmpl/gstdparam.sgml:
14942 * docs/libs/tmpl/gstdplinint.sgml:
14943 * docs/libs/tmpl/gstdpman.sgml:
14944 * docs/libs/tmpl/gstdpsmooth.sgml:
14945 * docs/libs/tmpl/gstunitconvert.sgml:
14948 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
14953 === release 0.9.4 ===
14955 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14958 releasing 0.9.4, "Tyrannosaurus Rex"
14960 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
14962 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
14963 (gst_file_sink_get_current_offset):
14964 Use fseeko() and ftello() if available. When falling back on
14965 lseek() to get the current offset, fflush() first to make sure
14966 everything is up-to-date and we get the right offset.
14968 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
14970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14971 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14972 * gst/gsterror.c: (_gst_stream_errors_init):
14974 * gst/gstqueue.c: (gst_queue_loop):
14976 remove prematurely added error category and clean up the instances
14978 2005-10-21 Wim Taymans <wim@fluendo.com>
14980 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
14981 (gst_base_sink_get_position), (gst_base_sink_query),
14982 (gst_base_sink_change_state):
14983 Simply set the right flag when going to playing, that's all
14984 we need to do instead of calling a function inside the object
14985 lock (that could take the lock as well and deadlock)
14987 2005-10-21 Wim Taymans <wim@fluendo.com>
14989 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
14990 (gst_base_src_loop):
14991 Don't warn, the peer element knows what to do best when
14992 the seek failed, it might try something else.
14994 2005-10-21 Wim Taymans <wim@fluendo.com>
14996 * gst/base/gstbasesrc.c: (gst_base_src_init),
14997 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15000 2005-10-21 Wim Taymans <wim@fluendo.com>
15002 * docs/design/part-segments.txt:
15005 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15006 Correctly set caps, even on the subbufer.
15008 2005-10-21 Wim Taymans <wim@fluendo.com>
15010 * docs/gst/gstreamer-docs.sgml:
15011 * docs/gst/gstreamer-sections.txt:
15012 * gst/gstelement.h:
15015 * gst/gstmessage.h:
15018 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
15022 And 2% more doc coverage.
15024 2005-10-21 Andy Wingo <wingo@pobox.com>
15026 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
15027 position reporting.
15029 2005-10-20 Wim Taymans <wim@fluendo.com>
15031 * gst/gsterror.c: (gst_error_get_message):
15034 * gst/gststructure.c:
15039 2005-10-20 Wim Taymans <wim@fluendo.com>
15044 Another 1% more coverage.
15046 2005-10-20 Wim Taymans <wim@fluendo.com>
15048 * docs/gst/gstreamer-sections.txt:
15049 * gst/gstelement.c: (gst_element_get_state_func),
15050 (gst_element_abort_state), (gst_element_commit_state),
15051 (gst_element_lost_state):
15053 * gst/gstquery.c: (gst_query_set_position),
15054 (gst_query_parse_position), (gst_query_set_duration),
15055 (gst_query_parse_duration), (gst_query_new_convert):
15057 Yay! 1% more docs coverage.
15059 2005-10-20 Wim Taymans <wim@fluendo.com>
15062 * gst/gstquery.c: (gst_query_set_position),
15063 (gst_query_parse_position), (gst_query_set_duration),
15064 (gst_query_parse_duration), (gst_query_new_convert):
15066 * gst/gstutils.c: (gst_element_query_convert):
15068 Docs and consistency fixes.
15070 2005-10-20 Wim Taymans <wim@fluendo.com>
15076 2005-10-20 Wim Taymans <wim@fluendo.com>
15078 * gst/gstbin.c: (message_check), (bin_replace_message),
15079 (bin_remove_messages), (is_eos), (gst_bin_add_func),
15080 (update_degree), (gst_bin_sort_iterator_next),
15081 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
15082 Reworked the message handling a bit, cache the messages instead of
15083 only the senders. alows us to do more in the future.
15085 2005-10-20 Wim Taymans <wim@fluendo.com>
15087 * docs/design/part-TODO.txt:
15090 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15091 (gst_base_sink_query):
15092 Don't use clock time to report position when in EOS.
15094 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
15096 * tools/gst-inspect.c: (print_interfaces),
15097 (print_element_properties_info), (print_element_info):
15098 Fix interface output with gst-inspect -a; don't print
15099 newlines after double/float properties.
15101 2005-10-20 Wim Taymans <wim@fluendo.com>
15103 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
15104 (gst_base_sink_query):
15105 Speed up current position calculation.
15107 * gst/base/gstbasesrc.c: (gst_base_src_query),
15108 (gst_base_src_default_newsegment):
15109 Correctly set stream position in newsegment.
15111 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
15112 (update_degree), (gst_bin_sort_iterator_next),
15113 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
15114 * gst/gstmessage.c: (gst_message_new_custom):
15115 Clean up debugging info
15117 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15118 (gst_queue_loop), (gst_queue_handle_src_query):
15121 2005-10-19 Wim Taymans <wim@fluendo.com>
15123 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15124 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15125 Fix query handling again.
15127 2005-10-19 Wim Taymans <wim@fluendo.com>
15129 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15130 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
15131 * gst/base/gstbasesrc.c: (gst_base_src_query):
15132 * gst/elements/gstfilesink.c: (gst_file_sink_query):
15133 * gst/elements/gsttypefindelement.c:
15134 (gst_type_find_handle_src_query), (find_element_get_length),
15135 (gst_type_find_element_activate):
15138 * gst/gstquery.c: (gst_query_new_position),
15139 (gst_query_set_position), (gst_query_parse_position),
15140 (gst_query_new_duration), (gst_query_set_duration),
15141 (gst_query_parse_duration), (gst_query_set_segment),
15142 (gst_query_parse_segment):
15144 Bundling query position/duration is not a good idea since duration
15145 does not change much and we don't want to recalculate it for every
15146 position query, so they are separated again..
15147 Base value in segment query is not needed.
15149 * gst/gstqueue.c: (gst_queue_handle_src_query):
15150 * gst/gstutils.c: (gst_element_query_position),
15151 (gst_element_query_duration), (gst_pad_query_position),
15152 (gst_pad_query_duration):
15154 Updates for query API change.
15155 Added some docs here and there.
15157 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
15159 * check/gst/gstbin.c: (GST_START_TEST):
15160 * check/gst/gstghostpad.c: (GST_START_TEST):
15161 * check/pipelines/cleanup.c: (GST_START_TEST):
15162 wait on thread to die so we can check refcount correctly
15164 2005-10-18 Wim Taymans <wim@fluendo.com>
15166 * check/pipelines/stress.c: (GST_START_TEST):
15167 Make check a little more time consuming.
15169 2005-10-18 Wim Taymans <wim@fluendo.com>
15171 * check/Makefile.am:
15172 * check/pipelines/stress.c: (GST_START_TEST),
15173 (simple_launch_lines_suite), (main):
15174 Small state change torture test.
15176 * docs/design/part-states.txt:
15177 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15178 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
15179 (gst_base_sink_change_state):
15180 Never take state lock from streaming thread, clean up ugly
15181 hacks. Unfortunatly core does not yet support nice ways to
15182 async commit state.
15184 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
15186 Start state recalc if a STATE_DIRTY message is posted, but only
15187 on the toplevel bin.
15189 * gst/gstelement.c: (gst_element_sync_state_with_parent),
15190 (gst_element_get_state_func), (gst_element_abort_state),
15191 (gst_element_commit_state), (gst_element_lost_state),
15192 (gst_element_set_state_func), (gst_element_change_state):
15193 * gst/gstelement.h:
15194 State variables are now protected with the LOCK, the state
15195 lock is only used to serialize _set_state().
15197 2005-10-18 Wim Taymans <wim@fluendo.com>
15199 * check/gst/gstbin.c: (GST_START_TEST):
15200 * check/gst/gstmessage.c: (GST_START_TEST):
15201 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15202 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
15204 * gst/gstelement.c: (gst_element_abort_state),
15205 (gst_element_commit_state), (gst_element_lost_state):
15206 * gst/gstmessage.c: (gst_message_new_state_changed),
15207 (gst_message_new_state_dirty), (gst_message_new_segment_start),
15208 (gst_message_new_segment_done), (gst_message_new_duration),
15209 (gst_message_parse_state_changed),
15210 (gst_message_parse_segment_start),
15211 (gst_message_parse_segment_done), (gst_message_parse_duration):
15212 * gst/gstmessage.h:
15213 * tools/gst-launch.c: (event_loop):
15214 Seriously, this is better than a previous commit as we only need
15215 to notify the fact that an element changed state in a streaming
15216 thread, marking the state of the parents dirty, hence the
15217 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
15220 2005-10-18 Wim Taymans <wim@fluendo.com>
15222 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
15223 (gst_bin_recalc_func):
15224 * gst/gstelement.c: (gst_element_set_clock),
15225 (gst_element_abort_state), (gst_element_lost_state):
15226 Cleanups, prepare for state change fixes.
15228 2005-10-18 Wim Taymans <wim@fluendo.com>
15231 * gst/gstelement.c: (gst_element_class_init),
15232 (gst_element_set_state), (gst_element_set_state_func):
15233 * gst/gstelement.h:
15234 Pending ABI changes.
15235 GThreadPool in GstBinClass to monitor async state changes.
15236 state_cookie in GstElement to detect concurrent gst/set state.
15237 set_state is now virtual too in case a very complicated element
15238 has to be constructed.
15240 2005-10-18 Wim Taymans <wim@fluendo.com>
15242 * check/gst/gstbin.c: (GST_START_TEST):
15243 * check/gst/gstmessage.c: (GST_START_TEST):
15244 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
15245 * gst/gstbin.c: (bin_bus_handler):
15246 * gst/gstelement.c: (gst_element_commit_state),
15247 (gst_element_lost_state):
15248 * gst/gstmessage.c: (gst_message_new_state_changed),
15249 (gst_message_new_segment_start), (gst_message_new_segment_done),
15250 (gst_message_new_duration), (gst_message_parse_state_changed),
15251 (gst_message_parse_segment_start),
15252 (gst_message_parse_segment_done), (gst_message_parse_duration):
15253 * gst/gstmessage.h:
15254 * tools/gst-launch.c: (event_loop):
15255 Make messages future proof.
15256 state-change gets a flag if it was a message comming from the
15258 segment-start/stop can also be specified in other formats.
15259 A message to notify an app that a pipeline changed playback
15261 Also fix a GstMessage leak in -launch
15263 2005-10-18 Andy Wingo <wingo@pobox.com>
15265 * gst/gstelement.c (gst_element_dispose): More helpful message.
15267 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15269 reviewed by: <delete if not using a buddy>
15271 * common/gtk-doc.mak:
15273 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
15275 * gst/gstregistry.c: (gst_registry_scan_path_level):
15276 unref a plug-in we get that was already initialized
15278 2005-10-18 Stefan Kost <ensonic@users.sf.net>
15280 * docs/gst/gstreamer-sections.txt:
15281 * docs/libs/gstreamer-libs-sections.txt:
15282 * gst/gstelement.h:
15283 add new api entries
15284 hide internal macro
15286 2005-10-17 Andy Wingo <wingo@pobox.com>
15288 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
15291 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
15293 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
15295 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
15296 (gst_element_get_state_func): Better debug message.
15297 (gst_element_commit_state): s/INFO/DEBUG/.
15298 (gst_element_lost_state, gst_element_change_state):
15300 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
15301 (gst_message_new_custom): s/INFO/LOG/.
15303 2005-10-17 Michael Smith <msmith@fluendo.com>
15305 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15306 Check if end time is valid using end time, not start time.
15308 2005-10-17 Stefan Kost <ensonic@users.sf.net>
15310 * check/gst-libs/controller.c: (GST_START_TEST),
15311 (gst_controller_suite):
15312 * libs/gst/controller/gstcontroller.c:
15313 (gst_controlled_property_set_interpolation_mode):
15314 * libs/gst/controller/gstcontroller.h:
15315 * libs/gst/controller/gstinterpolation.c:
15316 * testsuite/controller/.cvsignore:
15317 * testsuite/controller/Makefile.am:
15318 * testsuite/controller/interpolator.c:
15319 merge controller testsuites
15321 remove mem-chunk from docs
15323 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15325 * gst/gstmemchunk.c:
15326 * gst/gstmemchunk.h:
15327 * gst/gsttrashstack.c:
15328 * gst/gsttrashstack.h:
15329 out. get out. you're fired. to the Attic !
15331 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
15333 * gst/gstcaps.c: (gst_caps_intersect):
15334 fix signedness issues in a (hopefully) correct way
15335 * gst/gstelement.c: (gst_element_pads_activate):
15337 * gst/gstobject.c: (gst_object_set_parent):
15340 2005-10-17 Julien MOUTTE <julien@moutte.net>
15342 * gst/gstvalue.h: Fix prototypes.
15344 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15346 * docs/gst/gstreamer-sections.txt:
15347 * gst/gst.c: (gst_version_string):
15349 * gst/gstversion.h.in:
15350 * win32/common/libgstreamer.def:
15351 add gst_version_string ()
15353 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15357 * gst/gst.c: (init_post):
15358 * win32/common/config.h.in:
15360 * gst/gstcaps.c: (gst_caps_intersect):
15361 use gint64, the range could be bigger than a guint
15363 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15366 document potential problem in 2038
15368 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15370 * gst/gstcaps.c: (gst_caps_intersect):
15371 Fix guint j diving under 0
15373 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15376 * win32/common/config.h:
15377 * win32/common/config.h.in:
15378 check for process.h, declares getpid() on Windows
15380 include process.h if we have it
15381 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
15382 * gst/gstmemchunk.h:
15383 fix signedness issues
15384 * win32/common/libgstreamer.def:
15387 2005-10-16 Julien MOUTTE <julien@moutte.net>
15389 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
15390 fix. Because of unsigned ints, caps intersection was going nuts and
15391 trying to access structures with G_MAXUINT index. That fixes
15392 videotestsrc ! ffmpegcolorspace ! fakesink
15393 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
15396 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15399 use the gettext macro
15400 * gst/elements/gstelements.c:
15402 * gst/indexers/gstindexers.c:
15403 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
15404 * win32/common/config.h:
15406 * win32/common/config.h.in:
15407 add the template to generate config.h
15408 * win32/common/gstenumtypes.c:
15409 * win32/common/gstversion.h:
15412 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
15414 * gst/gst.c: (gst_version):
15415 * gst/gstversion.h.in:
15418 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15421 Oops, add missing closing bracket.
15423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15426 use common m4's for argument checking
15428 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
15430 * docs/gst/gstreamer-sections.txt:
15432 Add GST_EVENT_TYPE_NAME() macro.
15434 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15437 * gst/gstpluginfeature.c:
15439 privatize more symbols
15441 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15444 add srcdir, builddir includes to GST_ALL_CFLAGS, since
15445 everything that uses GStreamer API should have the includes
15447 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15449 * docs/gst/gstreamer-sections.txt:
15450 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15452 give each value a _get_type, removes the DATA exports
15454 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15458 remove _gst_registry_auto_load, not used anymore
15459 * gst/gstbin.c: (gst_bin_get_type):
15461 * gst/gstelement.c: (gst_element_get_type):
15462 * gst/gstelement.h:
15463 * gst/gstobject.c: (gst_object_get_type):
15465 * gst/gstpad.c: (gst_pad_get_type):
15467 make _get_type functions similar, fixes data export from library
15469 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15472 correctly make conditionals
15473 * gst/elements/Makefile.am:
15474 * gst/elements/gstelements.c:
15475 fix typo causing fdsrc not to build
15477 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15479 * testsuite/Makefile.am:
15480 * testsuite/bytestream/.cvsignore:
15481 * testsuite/bytestream/Makefile.am:
15482 * testsuite/bytestream/filepadsink.c:
15483 * testsuite/bytestream/gstbstest.c:
15484 * testsuite/bytestream/test1.c:
15485 * testsuite/bytestream/testfile1:
15486 * testsuite/caps/normalisation.c:
15487 * testsuite/caps/random.c: (main):
15488 * testsuite/cleanup/.cvsignore:
15489 * testsuite/cleanup/Makefile.am:
15490 * testsuite/cleanup/cleanup1.c:
15491 * testsuite/cleanup/cleanup2.c:
15492 * testsuite/cleanup/cleanup3.c:
15493 * testsuite/cleanup/cleanup4.c:
15494 * testsuite/cleanup/cleanup5.c:
15495 * testsuite/controller/interpolator.c:
15496 * testsuite/debug/printf_extension.c: (main):
15497 * testsuite/elements/tee.c:
15498 * testsuite/negotiation/.cvsignore:
15499 * testsuite/negotiation/Makefile.am:
15500 * testsuite/negotiation/pad_link.c:
15501 * testsuite/pad/Makefile.am:
15502 * testsuite/pad/chainnopull.c:
15503 * testsuite/pad/getnopush.c:
15504 * testsuite/pad/link.c:
15505 * testsuite/refcounting/sched.c: (create_pipeline):
15506 * testsuite/registry/Makefile.am:
15507 * testsuite/registry/gst-print-formats.c:
15508 * testsuite/schedulers/.cvsignore:
15509 * testsuite/schedulers/142183-2.c:
15510 * testsuite/schedulers/142183.c:
15511 * testsuite/schedulers/143777-2.c:
15512 * testsuite/schedulers/143777.c:
15513 * testsuite/schedulers/147713.c:
15514 * testsuite/schedulers/147819.c:
15515 * testsuite/schedulers/147894-2.c:
15516 * testsuite/schedulers/147894.c:
15517 * testsuite/schedulers/Makefile.am:
15518 * testsuite/schedulers/group_link.c:
15519 * testsuite/schedulers/queue_link.c:
15520 * testsuite/schedulers/relink.c:
15521 * testsuite/schedulers/unlink.c:
15522 * testsuite/schedulers/unref.c:
15523 * testsuite/schedulers/useless_iteration.c:
15524 * testsuite/states/bin.c:
15525 clean out/remove some stuff from the testsuite directories
15527 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15530 check for some headers
15531 * gst/elements/Makefile.am:
15532 * gst/elements/gstelements.c:
15533 don't compile fdsrc without sys/socket.h
15534 * gst/indexers/Makefile.am:
15535 * gst/indexers/gstindexers.c: (plugin_init):
15536 don't compile fileindex without mmap
15538 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
15545 * check/Makefile.am:
15546 * docs/gst/Makefile.am:
15547 * examples/helloworld/Makefile.am:
15549 * gst/base/Makefile.am:
15550 * gst/check/Makefile.am:
15551 * gst/elements/Makefile.am:
15552 * gst/indexers/Makefile.am:
15553 * gst/parse/Makefile.am:
15554 * libs/gst/controller/Makefile.am:
15555 * libs/gst/dataprotocol/Makefile.am:
15556 * examples/helloworld/helloworld.c: (event_loop):
15557 compile fixes, though it's not being compiled currently
15559 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15561 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
15562 Add some simple tests for the new taglist date API.
15564 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15566 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
15567 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
15568 Beautify 'last-message' output: print 'none' for buffer timestamps
15569 and durations if none is set; improve alignment with next messages.
15571 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
15573 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
15574 * gst/gstpluginfeature.h:
15575 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
15576 * gst/gstregistry.h:
15577 * docs/gst/gstreamer-sections.txt:
15578 Add new API to check plugin feature version requirements.
15580 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
15581 Some basic tests for the above.
15583 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15585 * gst/gststructure.c: (gst_structure_to_string):
15586 guard against NULL printf - happens when for example
15587 a message structure with GstClock gets serialized
15589 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15591 * gst/base/gstcollectpads.c: (gst_collectpads_event):
15592 Fix presumable copy'n'pasto.
15594 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15596 * gst/elements/gstfakesrc.h:
15597 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
15598 * gst/elements/gsttypefindelement.c:
15599 fix some signedness
15600 * gst/elements/gstfilesink.c: (gst_file_sink_render):
15601 I wonder if this could actually write +2GB files before
15603 2005-10-13 Andy Wingo <wingo@pobox.com>
15605 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
15606 Fix Timmeke Waymans bug.
15607 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15608 string of the proper length to gst_caps_from_string. There's a
15609 potential for, before this fix, that this could cause someone
15610 connecting over the network to cause a segfault if the payload is
15611 not NUL-terminated.
15613 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15615 * docs/design/draft-push-pull.txt:
15616 * docs/design/part-overview.txt:
15617 * docs/random/TODO-pre-0.9:
15618 * docs/random/old/ChangeLog.gstreamer:
15619 * gst/base/gstpushsrc.c:
15623 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15625 * gst/glib-compat.c: (gst_flags_get_first_value):
15626 * gst/glib-compat.h:
15627 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
15628 (gst_value_compare_double), (gst_value_serialize_flags):
15629 GLib 2.6 g_flags_get_first_value has a bug that triggers an
15632 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15635 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15637 * tools/gst-launch.c: (event_loop):
15638 print out clock nicely
15640 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
15642 * docs/gst/gstreamer-sections.txt:
15643 * gst/gsttaglist.h:
15644 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
15645 (gst_tag_list_get_date_index):
15646 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
15647 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
15649 2005-10-13 Julien MOUTTE <julien@moutte.net>
15651 * gst/base/gstcollectpads.c: (gst_collectpads_event),
15652 (gst_collectpads_chain):
15653 * gst/base/gstcollectpads.h: Handle newsegment and store informations
15656 2005-10-13 Stefan Kost <ensonic@users.sf.net>
15658 * docs/gst/gstreamer-sections.txt:
15661 * tools/gst-inspect.c: (main):
15662 * tools/gst-launch.c: (main):
15663 * tools/gst-run.c: (main):
15664 * tools/gst-xmlinspect.c: (main):
15665 fix GOption context leaks
15668 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
15672 * win32/common/config.h:
15674 * win32/vs6/grammar.dsp:
15675 * win32/vs6/libgstelements.dsp:
15676 * win32/vs6/libgstreamer.dsp:
15679 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15682 * gst/base/gstbasesrc.c: (gst_base_src_query):
15683 fix more guint64<->gdouble conversions
15685 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15688 add win32-update target
15689 * win32/common/gstconfig.h:
15690 * win32/common/gstenumtypes.c:
15691 * win32/common/gstenumtypes.h:
15692 * win32/common/gstversion.h:
15693 add files that visual studio can't generate
15695 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
15698 add a win32-update target
15701 2005-10-12 Wim Taymans <wim@fluendo.com>
15703 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15704 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
15705 * gst/gstelement.c: (gst_element_commit_state),
15706 (gst_element_set_state):
15707 Protect flags with proper lock.
15708 unref provided cached clock in dispose.
15710 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15713 * gst/gstminiobject.h:
15715 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
15716 removed unused flags from miniobject
15719 2005-10-12 Wim Taymans <wim@fluendo.com>
15721 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
15722 (gst_file_sink_event), (gst_file_sink_render):
15723 Flush before seeking.
15725 2005-10-12 Andy Wingo <wingo@pobox.com>
15727 * gst/gst.c (gst_init_check): Ignore unknown options, as has
15728 always been the case.
15730 2005-10-12 Stefan Kost <ensonic@users.sf.net>
15732 * check/gst/gstbin.c: (GST_START_TEST):
15733 * docs/gst/gstreamer-sections.txt:
15734 * gst/base/gstbasesink.c: (gst_base_sink_init):
15735 * gst/base/gstbasesrc.c: (gst_base_src_init),
15736 (gst_base_src_get_range), (gst_base_src_check_get_range),
15737 (gst_base_src_start), (gst_base_src_stop):
15738 * gst/base/gstbasesrc.h:
15739 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
15740 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
15741 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
15745 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
15747 * gst/gstelement.c: (gst_element_is_locked_state),
15748 (gst_element_set_locked_state), (gst_element_commit_state),
15749 (gst_element_set_state):
15750 * gst/gstelement.h:
15751 * gst/gstindex.c: (gst_index_init):
15753 * gst/gstminiobject.h:
15754 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
15755 (gst_object_set_parent):
15757 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
15758 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
15760 * gst/gstpadtemplate.h:
15761 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
15762 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15763 * gst/gstpipeline.h:
15764 * gst/indexers/gstfileindex.c: (gst_file_index_load),
15765 (gst_file_index_commit):
15766 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
15767 * testsuite/pad/link.c: (gst_test_src_init),
15768 (gst_test_filter_init), (gst_test_sink_init):
15769 * testsuite/states/locked.c: (main):
15770 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
15771 moved bitshift from macro to enum definition
15773 2005-10-12 Wim Taymans <wim@fluendo.com>
15775 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
15776 * gst/elements/gstfilesink.c: (gst_file_sink_event),
15777 (gst_file_sink_render):
15778 Some more debugging info.
15780 2005-10-12 Wim Taymans <wim@fluendo.com>
15782 * docs/design/part-states.txt:
15783 * tools/gst-launch.c: (main):
15785 Revert non-intentional change.
15787 2005-10-12 Wim Taymans <wim@fluendo.com>
15789 * check/gst/gstbin.c: (GST_START_TEST):
15790 * check/gst/gstelement.c: (GST_START_TEST):
15791 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
15792 * check/gst/gstghostpad.c: (GST_START_TEST):
15793 * check/gst/gstpipeline.c: (GST_START_TEST):
15794 * check/pipelines/simple_launch_lines.c: (run_pipeline):
15795 * check/states/sinks.c: (GST_START_TEST):
15796 * gst/elements/gsttypefindelement.c: (stop_typefinding):
15797 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15798 (gst_bin_remove_func), (gst_bin_get_state_func),
15799 (gst_bin_recalc_state), (gst_bin_change_state_func),
15801 * gst/gstelement.c: (gst_element_get_state_func),
15802 (gst_element_get_state), (gst_element_abort_state),
15803 (gst_element_commit_state), (gst_element_set_state),
15804 (gst_element_change_state), (gst_element_change_state_func):
15805 * gst/gstelement.h:
15806 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
15807 (gst_pipeline_provide_clock_func):
15808 * gst/gstutils.c: (gst_element_link_pads_filtered):
15809 * tools/gst-launch.c: (main):
15810 * tools/gst-typefind.c: (main):
15811 Use GstClockTime in _get_state() instead of GTimeVal.
15812 Remove old code in gstutils.c
15814 2005-10-12 Andy Wingo <wingo@pobox.com>
15816 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
15819 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
15820 there is no task. Shouldn't affect any code, as nothing in our
15821 plugins checks this return value.
15822 (gst_pad_stop_task): Also take the stream lock if the pad has no
15823 task. Docs updated.
15825 2005-10-12 Wim Taymans <wim@fluendo.com>
15827 * gst/gstpad.c: (pre_activate), (post_activate),
15828 (gst_pad_activate_pull), (gst_pad_activate_push):
15829 Cleanup activation code. Reset old state if
15832 2005-10-12 Wim Taymans <wim@fluendo.com>
15834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15835 (gst_base_sink_change_state):
15836 No need to prerol after receiving EOS.
15838 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15839 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
15840 * gst/elements/gstidentity.c: (gst_identity_event):
15841 Print events more verbosely.
15843 2005-10-12 Wim Taymans <wim@fluendo.com>
15845 * check/Makefile.am:
15846 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15847 * check/states/sinks2.c:
15848 Moved sinks2 testcode in sinks check.
15850 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15851 (gst_bin_remove_func), (gst_bin_recalc_state),
15852 (gst_bin_change_state_func), (bin_bus_handler):
15853 Fix potential race condition when _get_state() iterated over an
15854 ASYNC element right before it posted a state completion.
15857 Do proper cast here.
15859 * gst/gstevent.c: (gst_event_new_newsegment),
15860 (gst_event_parse_newsegment):
15861 A playback rate of 0.0 is not allowed.
15863 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15865 * win32/common/config.h:
15866 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
15867 (_trewinddir), (_ttelldir), (_tseekdir):
15868 * win32/common/dirent.h:
15869 * win32/common/gtchar.h:
15870 * win32/common/libgstbase.def:
15871 * win32/common/libgstreamer.def:
15872 * win32/vs6/grammar.dsp:
15873 * win32/vs6/gst_inspect.dsp:
15874 * win32/vs6/gst_launch.dsp:
15875 * win32/vs6/gstreamer.dsw:
15876 * win32/vs6/libgstbase.dsp:
15877 * win32/vs6/libgstelements.dsp:
15878 * win32/vs6/libgstreamer.dsp:
15879 Visual Studio 6 project files, and a new common directory.
15882 2005-10-11 Wim Taymans <wim@fluendo.com>
15884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15885 (gst_base_sink_do_sync), (gst_base_sink_query),
15886 (gst_base_sink_change_state):
15887 * gst/base/gstbasesink.h:
15888 Correctly parse newsegment info.
15890 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * gst/gst.c: (init_post):
15893 split plugin paths correctly
15895 2005-10-11 Wim Taymans <wim@fluendo.com>
15897 * check/gst/gstevent.c: (GST_START_TEST):
15898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15899 (gst_base_sink_change_state):
15900 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
15901 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15902 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15903 * gst/gstevent.c: (gst_event_new_newsegment),
15904 (gst_event_parse_newsegment):
15906 Added extra flag to newsegment for future API freeze.
15907 Updated check and base elements.
15909 2005-10-11 Julien MOUTTE <julien@moutte.net>
15911 * gst/base/gstcollectpads.c: (gst_collectpads_init),
15912 (gst_collectpads_add_pad), (gst_collectpads_pop),
15913 (gst_collectpads_event), (gst_collectpads_chain):
15914 * gst/base/gstcollectpads.h: Handle EOS correctly.
15916 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15918 * tools/gst-launch.c: (main):
15919 more null protecting
15921 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15923 * gst/gst-i18n-lib.h:
15924 check for ENABLE_NLS, not GETTEXT_PACKAGE
15925 * gst/gstregistry.c: (gst_registry_add_plugin),
15926 (gst_registry_scan_path_level),
15927 (_gst_registry_remove_cache_plugins):
15928 protect possibly NULL strings
15929 * gst/parse/types.h:
15930 config.h already included before
15931 * tools/gst-inspect.c: (main):
15932 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
15933 check for ENABLE_NLS, not GETTEXT_PACKAGE
15934 * tools/gst-launch.c: (main):
15935 check for ENABLE_NLS, not GETTEXT_PACKAGE
15937 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
15940 if we don't have glib, fail before testing 2.8
15941 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
15942 fix a leak, should fix plugins-base testsuite
15944 2005-10-11 Andy Wingo <wingo@pobox.com>
15946 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
15947 take the mode we're going to as an arg. Go head and set the mode
15948 and flushing flags now, so that if the activate function starts a
15949 thread all the flags will be in the right state.
15950 (post_activate): Renamed also. Just handle making sure streaming
15951 finishes for the deactivation case, and setting the deactivated
15953 (gst_pad_set_active): Complain loudly if deactivation fails.
15954 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
15955 (gst_pad_activate_push): Adapt to pre/post_activate changes,
15956 remove the terrible hack.
15958 2005-10-11 Wim Taymans <wim@fluendo.com>
15960 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15961 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
15962 (gst_bin_recalc_state), (gst_bin_change_state_func),
15963 (gst_bin_dispose), (bin_bus_handler):
15965 Prepare to make current EOS message queue more generic.
15968 * gst/gstevent.c: (gst_event_new_newsegment),
15969 (gst_event_parse_newsegment):
15971 Rename base to stream_time.
15973 * gst/gstmessage.h:
15976 2005-10-11 Wim Taymans <wim@fluendo.com>
15978 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
15979 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
15980 (gst_bin_change_state_func), (bin_bus_handler):
15982 Work on proper clock selection.
15984 2005-10-11 Edward Hervey <edward@fluendo.com>
15986 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
15987 * libs/gst/controller/gstcontroller.h:
15988 Added GList* version of _remove_properties() in order to be able to wrap
15991 2005-10-11 Wim Taymans <wim@fluendo.com>
15993 * docs/design/part-states.txt:
15996 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
15997 (gst_bin_change_state_func), (bin_bus_handler):
15998 Doc updates. Don't distribute the same clock over and over again.
16004 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
16005 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
16006 (gst_pad_send_event):
16008 Make probe emission threadsafe again.
16009 Register quarks and move _get_name() from utils.
16012 * gst/gstpipeline.c: (gst_pipeline_class_init),
16013 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16014 Only redistribute the clock of it changed.
16016 * gst/gstsystemclock.h:
16021 Moved the _flow_get_name() to GstPad.
16023 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16025 * check/gst-libs/gdp.c: (GST_START_TEST):
16026 * check/gst/gstcaps.c: (GST_START_TEST):
16027 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
16028 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
16029 (gst_dp_packet_from_caps):
16030 fix more valgrind warnings before turning up the heat
16032 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
16034 * gst/parse/grammar.y:
16035 some cleanup before the hacking
16037 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16039 * gst/base/gstbasesrc.c: (gst_base_src_query):
16041 * gst/gstutils.c: (gst_guint64_to_gdouble),
16042 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
16044 externalize, basesrc uses it
16045 obviously the implementation needs testing
16047 2005-10-10 Wim Taymans <wim@fluendo.com>
16049 * tests/sched/Makefile.am:
16050 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
16051 (make_pipeline3), (make_pipeline4), (print_elem), (main):
16053 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16055 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
16056 apparently converting from guint64 to double is not implemented
16059 2005-10-10 Wim Taymans <wim@fluendo.com>
16061 * check/Makefile.am:
16062 * check/generic/states.c: (GST_START_TEST):
16063 * check/gst/gstbin.c: (GST_START_TEST):
16064 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16065 * check/states/sinks.c: (GST_START_TEST):
16066 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
16068 Check fixes, use API as stated in design docs, remove hacks.
16070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16071 (gst_base_sink_change_state):
16072 Catch stopping our task while we're shutting down.
16074 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
16075 (gst_bin_remove_func), (gst_bin_get_state_func),
16076 (gst_bin_recalc_state), (gst_bin_change_state_func),
16079 * gst/gstelement.c: (gst_element_init),
16080 (gst_element_get_state_func), (gst_element_abort_state),
16081 (gst_element_commit_state), (gst_element_lost_state),
16082 (gst_element_set_state), (gst_element_change_state),
16083 (gst_element_change_state_func):
16084 * gst/gstelement.h:
16085 New state change algorithm (see #318116)
16087 * gst/gstpipeline.c: (gst_pipeline_class_init),
16088 (gst_pipeline_init), (gst_pipeline_set_property),
16089 (gst_pipeline_get_property), (do_pipeline_seek),
16090 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
16091 * gst/gstpipeline.h:
16092 Remove crude state change hacks.
16095 Remove crude hacks.
16097 * tools/gst-launch.c: (main):
16098 Fixes for state change. Needs some more work to fully use the
16101 2005-10-10 Andy Wingo <wingo@pobox.com>
16103 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
16105 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
16106 this flag, but it's not even in GLib 2.6. Odd. Hack around the
16109 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16111 * gst/gstiterator.c: (gst_iterator_new):
16112 Fix my previous commit: GTypes passed to gst_iterator_new()
16113 can be fundamental types.
16115 2005-10-10 Wim Taymans <wim@fluendo.com>
16117 * gst/gstelement.c: (gst_element_iterate_pad_list),
16118 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
16119 (gst_element_iterate_sink_pads):
16120 Use src/sink pads lists for the respective iterators instead
16123 2005-10-10 Andy Wingo <wingo@pobox.com>
16125 Merged in popt removal + GOption addition patch from Ronald, bug
16128 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
16129 GstElement macros around, remove popt-related symbols, add goption
16132 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
16134 * docs/gst/Makefile.am:
16135 * docs/libs/Makefile.am: No POPT_CFLAGS.
16137 * examples/manual/Makefile.am:
16138 * docs/manual/basics-init.xml: Doc updates with an example.
16140 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
16141 (gst_init), (parse_one_option), (parse_goption_arg):
16142 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
16143 bit of hand merging and debugging to get the GOption stuff working
16146 * tests/Makefile.am:
16147 * tools/Makefile.am:
16148 * tools/gst-inspect.c: (main):
16149 * tools/gst-launch.c: (main):
16150 * tools/gst-run.c: (main):
16151 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
16153 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16155 * gst/gstiterator.c: (gst_iterator_new):
16156 Add assertions to make sure passed GType is likely to really
16157 be a GType (as the compiler won't catch it if the size and
16158 GType arguments get mixed up, see #318447).
16160 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
16162 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16164 * gst/gstbin.c: (gst_bin_iterate_sorted):
16165 Pass GType and size arguments to gst_iterator_new() in the right
16166 order (maybe we should make _new() take the GType as first argument
16167 just like _new_list()?) (#318447).
16170 2005-10-10 Wim Taymans <wim@fluendo.com>
16172 * gst/gstelement.c: (gst_element_finalize):
16173 And free the GStaticRecMutex too
16175 2005-10-10 Andy Wingo <wingo@pobox.com>
16177 * gst/gstelement.c (gst_element_init, gst_element_finalize):
16178 Allocate and free the mutex properly.
16180 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
16182 (GstElement): The state_lock is now recursive. Rebuild your
16183 plugins, suckers. Old macros adapted.
16185 * docs/gst/gstreamer-sections.txt: Doc updates.
16188 * gst/gstutils.c (g_static_rec_cond_timed_wait)
16189 (g_static_rec_cond_wait): Ported from state changes patch, while
16190 we wait on bug #317802 to be solved in a well-distributed GLib.
16192 * gst/gstelement.c (gst_element_change_state_func): Renamed from
16193 gst_element_change_state, variable name changes.
16194 (gst_element_change_state): Split out of gst_element_set_state in
16195 preparation for the state change merge. Doesn't pay attention to
16196 the 'transition' argument.
16197 (gst_element_set_state): Updates, hopefully purely cosmetic.
16198 (gst_element_sync_state_with_parent): MT-safety. Ported from the
16199 state change patch.
16200 (gst_element_get_state_func): Renamed from get_state, cosmetic
16203 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16205 * gst/elements/gstelements.c:
16206 * win32/GStreamer.vcproj:
16208 * win32/dirent.c: (_tseekdir):
16209 * win32/gst-inspect.vcproj:
16210 * win32/gst-launch.vcproj:
16211 * win32/gstconfig.h:
16212 * win32/gstelements.vcproj:
16213 * win32/gstenumtypes.c: (gst_object_flags_get_type):
16214 * win32/gstreamer.def:
16215 * win32/msvc71.sln:
16216 updates for the win32 build (patch from Sebastien Moutte)
16218 2005-10-10 Andy Wingo <wingo@pobox.com>
16220 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
16221 gst_bin_get_state, cleaned up (but no logic changes).
16222 (bin_element_is_sink): Comment updates.
16223 (sink_iterator_filter): Remove needless cast.
16224 (gst_bin_iterate_sinks): Doc update.
16225 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
16226 cleaned up (but no logic changes).
16228 * check/states/sinks.c (test_src_sink): Cleanups from the state
16230 (test_livesrc_sink): Sync on the state.
16232 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
16233 the state change patch.
16235 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
16238 * check/gst/gstbin.c: Merge in some style fixes and additional
16239 checks from Wim's state change patch.
16241 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
16243 * gst/base/gsttypefindhelper.c: (helper_find_peek),
16244 (gst_type_find_helper):
16245 Check whether we have the requested data already in our list of
16246 cached buffers before pulling a new buffer; also make the buffer
16247 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
16249 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
16254 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16255 don't use long long, it's not portable. Replacing with
16256 gint64 seems to work; let's hope no skeletons fall out of the closet.
16258 2005-10-10 Andy Wingo <wingo@pobox.com>
16260 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
16262 2005-10-09 Stefan Kost <ensonic@users.sf.net>
16264 * docs/gst/gstreamer-sections.txt:
16269 * gst/gstmessage.c: (gst_message_parse_state_changed):
16272 more docs, fix compilation
16274 2005-10-09 Philippe Khalaf <burger@speedy.org>
16275 * gst/gstmessage.c:
16276 Fixed a few forgotten variables on previous commit
16278 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
16280 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16281 Fix evil typefind crasher: getrange() might return a short
16282 buffer at the end of a file, but gst_type_find_peek() must
16283 either return the full data as requested or NULL, but
16284 never a short buffer.
16286 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
16288 * gst/gstmessage.c: (gst_message_new_state_changed),
16289 (gst_message_parse_state_changed):
16290 * gst/gstmessage.h:
16291 don't use "new", it's a C++ keyword
16293 2005-10-08 Wim Taymans <wim@fluendo.com>
16295 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
16296 * gst/gstelement.c: (gst_element_post_message):
16297 * gst/gstpipeline.c: (gst_pipeline_change_state):
16298 Small docs and debug updates.
16300 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16302 * docs/gst/gstreamer-sections.txt:
16303 * gst/gstelementfactory.c:
16305 * gst/gsttaglist.c:
16308 2005-10-08 Wim Taymans <wim@fluendo.com>
16310 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
16311 (gst_bin_dispose), (bin_bus_handler):
16312 Fix typos, add comments.
16313 Clear EOS list when going to PAUSED from any direction and do it
16314 in a threadsafe way.
16315 Get base time in a threadsafe way too.
16316 Fix confusing debug in the change_state function.
16317 Various other small cleanups.
16319 * gst/gstelement.c: (gst_element_post_message):
16320 Fix very verbose bus posting code.
16322 * gst/gstpipeline.c: (gst_pipeline_class_init),
16323 (gst_pipeline_set_property), (gst_pipeline_get_property),
16324 (gst_pipeline_change_state):
16325 Small ARG_ -> PROP_ cleanup
16327 2005-10-08 Wim Taymans <wim@fluendo.com>
16329 * gst/gstbin.c: (is_eos), (bin_bus_handler):
16330 Do a less CPU demanding EOS check because we can.
16332 2005-10-08 Wim Taymans <wim@fluendo.com>
16334 * libs/gst/dataprotocol/dataprotocol.c:
16335 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
16336 (gst_dp_packet_from_event):
16337 * libs/gst/dataprotocol/dataprotocol.h:
16338 * libs/gst/dataprotocol/dp-private.h:
16339 It's about time we bump the version number.
16340 Since event types don't fit in the guint8 anymore describing
16341 the payload type, make payload type 16 bits wide.
16343 2005-10-08 Wim Taymans <wim@fluendo.com>
16345 * docs/design/part-TODO.txt:
16346 * docs/design/part-clocks.txt:
16347 * docs/design/part-events.txt:
16348 * docs/design/part-gstbin.txt:
16349 * docs/design/part-gstelement.txt:
16350 * docs/design/part-gstpipeline.txt:
16351 * docs/design/part-live-source.txt:
16352 * docs/design/part-messages.txt:
16353 * docs/design/part-overview.txt:
16354 * docs/design/part-states.txt:
16357 2005-10-08 Wim Taymans <wim@fluendo.com>
16361 Fix event quark registration.
16362 Add some space between events so we can insert them in the
16365 2005-10-08 Wim Taymans <wim@fluendo.com>
16367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16368 (gst_base_sink_handle_buffer):
16369 Better log message.
16372 * gst/gstelement.h:
16375 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
16376 (gst_queue_set_property), (gst_queue_get_property):
16378 Remove old unused properties.
16380 2005-10-08 Stefan Kost <ensonic@users.sf.net>
16381 * docs/gst/gstreamer-sections.txt:
16382 * gst/gstmessage.c:
16383 * gst/gstmessage.h:
16384 * gst/gstminiobject.c:
16385 * gst/gstminiobject.h:
16389 lots of new docs and doc fixes
16391 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16393 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
16395 * gst/gstregistry.c: (gst_registry_lookup_locked),
16396 (gst_registry_scan_path_level):
16397 * gst/gstregistryxml.c: (load_plugin):
16398 Only ever load one plugin for a given plugin basename.
16399 This ensures correct overriding of GST_PLUGIN_PATH over
16400 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
16401 system installed plugins.
16403 2005-10-08 Wim Taymans <wim@fluendo.com>
16405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16406 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
16407 Prepare for doing QOS.
16409 2005-10-08 Wim Taymans <wim@fluendo.com>
16411 * check/gst/gstbin.c: (GST_START_TEST):
16412 * check/pipelines/cleanup.c: (GST_START_TEST):
16413 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16414 Allow new clock message too.
16416 2005-10-08 Wim Taymans <wim@fluendo.com>
16418 * gst/gstmessage.c: (gst_message_new_error),
16419 (gst_message_new_warning), (gst_message_new_tag),
16420 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16421 (gst_message_new_clock_lost), (gst_message_new_new_clock),
16422 (gst_message_new_segment_start), (gst_message_new_segment_done),
16423 (gst_message_parse_state_changed),
16424 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
16425 (gst_message_parse_new_clock):
16426 * gst/gstmessage.h:
16427 Also carry the clock in question.
16429 2005-10-08 Wim Taymans <wim@fluendo.com>
16431 * gst/gstmessage.c: (gst_message_new_custom),
16432 (gst_message_new_eos), (gst_message_new_error),
16433 (gst_message_new_warning), (gst_message_new_tag),
16434 (gst_message_new_state_changed), (gst_message_new_clock_provide),
16435 (gst_message_new_new_clock), (gst_message_new_segment_start),
16436 (gst_message_new_segment_done), (gst_message_parse_state_changed),
16437 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
16438 * gst/gstmessage.h:
16440 Added clock related messages.
16442 * gst/gstpipeline.c: (gst_pipeline_change_state):
16443 Post message when the clock changed.
16445 * tools/gst-launch.c: (event_loop):
16448 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
16450 * tools/gst-inspect.c: (print_element_properties_info):
16451 Can't pass NULL strings to g_print() on windows.
16453 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16455 * docs/Makefile.am:
16456 * docs/gst/Makefile.am:
16457 * docs/gst/gstreamer-docs.sgml:
16458 * docs/gst/running.xml:
16459 * docs/version.entities.in:
16460 add a chapter on running GStreamer.
16461 document GST_DEBUG and GST_PLUGIN* env vars
16463 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16468 remove PLUGINS_BUILDDIR stuff
16469 * gst/gst.c: (init_post):
16470 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
16472 remove, it was condescending and not needed
16474 2005-10-08 Wim Taymans <wim@fluendo.com>
16476 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
16477 (gst_base_sink_handle_object), (gst_base_sink_event),
16478 (gst_base_sink_wait), (gst_base_sink_handle_event),
16479 (gst_base_sink_change_state):
16480 * gst/base/gstbasesink.h:
16481 Repost EOS message while going to PLAYING if still EOS.
16482 Make sure that when receiving a FLUSH_START we don't attempt
16483 to sync on the clock anymore.
16485 2005-10-08 Wim Taymans <wim@fluendo.com>
16487 * tools/gst-launch.c: (event_loop):
16488 Better message printout.
16490 2005-10-08 Wim Taymans <wim@fluendo.com>
16492 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
16493 (gst_bin_child_proxy_get_children_count):
16494 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
16495 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
16496 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
16497 (gst_child_proxy_set_valist):
16498 * gst/parse/grammar.y:
16499 Make ChildProxy threadsafe and fix mem leaks.
16501 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16503 * gst/gst.c: (init_post):
16504 debug the GST_PLUGIN_ env vars
16506 2005-10-08 Wim Taymans <wim@fluendo.com>
16508 * check/gst/gstbin.c: (GST_START_TEST):
16509 * check/gst/gstmessage.c: (GST_START_TEST):
16510 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16511 * gst/gstelement.c: (gst_element_commit_state),
16512 (gst_element_lost_state):
16513 * gst/gstmessage.c: (gst_message_new_state_changed),
16514 (gst_message_parse_state_changed):
16515 * gst/gstmessage.h:
16516 * tools/gst-launch.c: (event_loop):
16517 Added extra field to STATE_CHANGE message with the pending
16518 state, which will be different from the new state soon.
16520 2005-10-08 Wim Taymans <wim@fluendo.com>
16522 * gst/gstbus.c: (gst_bus_pop):
16524 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16525 Small cleanups and doc updates.
16527 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
16529 * gst/gst.c: (init_pre):
16530 * gst/gstbin.c: (gst_bin_add_func):
16531 log distributing clocks and base time
16532 * gst/gstregistry.c: (gst_registry_add_plugin),
16533 (gst_registry_scan_path_level), (gst_registry_scan_path):
16534 clean up the debugging output a little
16535 * gst/gstutils.c: (gst_element_state_get_name):
16536 warn about a memleak (I've actually seen this be used, though
16537 it was probably a bug)
16539 2005-10-07 Wim Taymans <wim@fluendo.com>
16541 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16542 (gst_base_src_init), (gst_base_src_default_newsegment),
16543 (gst_base_src_newsegment), (gst_base_src_do_seek),
16544 (gst_base_src_loop), (gst_base_src_start):
16545 * gst/base/gstbasesrc.h:
16546 Make the newsegment event customizable by subclasses.
16548 2005-10-07 Wim Taymans <wim@fluendo.com>
16550 * gst/gstevent.c: (gst_event_new_buffersize),
16551 (gst_event_parse_buffersize):
16553 New event for future idea.
16555 2005-10-07 Andy Wingo <wingo@pobox.com>
16557 * gst/gstelement.c (gst_element_post_message): Doc update.
16559 * docs/gst/gstreamer-sections.txt: Update.
16561 * gst/gstmessage.c (gst_message_new_application): Made into a
16562 function like honest API calls.
16563 (gst_message_new_element): New message type.
16565 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
16567 * check/elements/fakesrc.c (test_no_preroll): New check, checks
16568 that setting a live fakesrc to PAUSED returns NO_PREROLL both
16571 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
16572 NO_PREROLL from gst_element_change_state to fall through.
16574 2005-10-07 Wim Taymans <wim@fluendo.com>
16576 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
16577 (gst_ghost_pad_do_activate_push):
16578 Activating a ghostpad with no internal pad in push mode
16581 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
16584 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
16585 Fixes compilation on Windows.
16587 2005-10-07 Michael Smith <msmith@fluendo.com>
16589 * tools/gst-inspect.c:
16590 Print out feature and plugin count at the end when printing out
16593 2005-10-04 Michael Smith <msmith@fluendo.com>
16595 * gst/gsterror.c: (_gst_stream_errors_init):
16596 Add another error string used in a few existing plugins.
16599 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16600 * tools/gst-inspect.c: (print_element_info):
16601 When a feature disappears from a plugin (and the feature exists in
16602 the cached registry file), things went horribly wrong. This isn't a
16603 complete fix, we should actually be removing the 'missing' features
16604 from the features list when we load the actual plugin. That's not
16607 2005-10-04 Johan Dahlin <johan@gnome.org>
16609 * check/gst/gstiterator.c: (GST_START_TEST):
16610 * gst/gstbin.c: (gst_bin_iterate_elements),
16611 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
16612 * gst/gstelement.c: (gst_element_iterate_pads):
16613 * gst/gstformat.c: (gst_format_iterate_definitions):
16614 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
16615 (gst_iterator_new_list), (gst_iterator_filter):
16616 * gst/gstiterator.h:
16617 * gst/gstquery.c: (gst_query_type_iterate_definitions):
16618 Add a GType to GstIterator, update callsites and tests.
16620 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16622 * gst/gstpad.c: (gst_pad_event_default_dispatch):
16623 give events a chance to be handled by event probes when the pad
16626 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16628 * gst/gstevent.c: (gst_event_type_get_name),
16629 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
16631 add string representations for event types
16633 2005-10-06 Wim Taymans <wim@fluendo.com>
16635 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
16636 Don't use NULL pointers.
16638 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16640 * gst/gst_private.h:
16642 * gst/gstelement.c:
16644 * gst/gstpluginfeature.c:
16645 widen the debug category in output to fit the biggest one we have
16646 add a bus category and use it
16647 play with the colors
16648 fix up some categories
16650 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
16652 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
16653 add push activation of sink ghost pads.
16654 Andye, please verify
16656 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16658 * gst/gstutils.c: (gst_element_link_pads):
16659 fix a bug in the case where neither element has a pad
16660 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16661 add a test for that case
16663 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
16665 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
16666 emit have-data before checking for peers. This allows
16667 for probe handlers to connect elements. This helps autopluggers.
16668 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
16670 add six checks, linked/unlinked with no/true/false probe
16672 2005-10-04 Wim Taymans <wim@fluendo.com>
16674 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
16675 (gst_fake_sink_event), (gst_fake_sink_preroll),
16676 (gst_fake_sink_render), (gst_fake_sink_change_state):
16677 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
16678 (gst_fake_src_get_property), (gst_fake_src_create),
16679 (gst_fake_src_stop):
16680 * gst/elements/gstidentity.c: (gst_identity_stop):
16681 Protect last_message with lock.
16683 2005-10-04 Edward Hervey <edward@fluendo.com>
16686 Added precision in the comments for GST_FORMAT_DEFAULT
16688 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
16690 * tools/gst-launch.c: (main):
16691 Don't try to run erroneous pipelines.
16693 2005-10-04 Julien MOUTTE <julien@moutte.net>
16695 * gst/gstbus.c: We don't need this header.
16697 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16700 back to development
16702 === release 0.9.3 ===
16704 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
16708 Releasing 0.9.3, "Unregistered"
16710 2005-10-03 Andy Wingo <wingo@pobox.com>
16712 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
16713 whereby calling a pad's activatepush() function can start a thread
16714 that starts to push or pull before the pad gets the FLUSHING flag
16715 unset. Hack around it by holding the stream lock until the flag is
16716 set. Need to replace this with a proper solution. Together with
16717 the ghost pad fixes, this fixes mp3 playing/tagreading.
16719 * docs/design/part-gstghostpad.txt: Add a note about activation of
16720 proxy pads outside of ghost pads.
16722 * gst/gstghostpad.c: Implement the ghost pad activation design.
16724 2005-10-02 Andy Wingo <wingo@pobox.com>
16726 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
16727 It is volatile, after all.
16729 * docs/design/part-gstghostpad.txt: Flesh out activation with
16732 * gst/base/gstbasesrc.c (gst_base_src_init): Use
16735 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
16738 Fix (unused) AM_CONDITIONAL tests.
16740 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
16742 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16744 * gst/gstutils.c: (gst_pad_query_convert):
16745 Add assertion that makes sure src_val is >=0, just like
16746 gst_query_new_convert() has. (#315895)
16748 2005-09-30 Edward Hervey <edward@fluendo.com>
16750 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
16751 Let's not iterate pads we're not interested in, it avoids getting
16752 sky-high refcounts on sinkpad.
16754 2005-09-30 Wim Taymans <wim@fluendo.com>
16756 * gst/gstelement.c: (gst_element_set_state),
16757 (gst_element_change_state):
16758 Small tweak, element in ASYNC remains ASYNC.
16760 2005-09-30 Wim Taymans <wim@fluendo.com>
16762 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16763 Only error is an error.
16765 * gst/gstbin.c: (gst_bin_change_state):
16768 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
16769 Also call pad_block in pad alloc.
16771 * gst/gstutils.c: (gst_flow_get_name):
16774 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16776 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16777 (gst_base_src_get_range):
16778 Fix documentation typos. Add some more debug info.
16780 2005-09-29 David Schleef <ds@schleef.org>
16782 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
16783 more end-user friendly.
16784 * tools/gst-inspect.c: (main): Check if command-line argument is
16785 a file and attempt to load that file as a plugin.
16787 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16789 * check/gst/gstbin.c:
16790 * check/states/sinks.c:
16791 fix tests for the new warning
16792 * check/gst/gstpipeline.c:
16793 add a test for pipeline and bus interaction
16794 * gst/gstelement.c:
16795 elements should be NULL if they get disposed; add a warning if not
16797 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16800 for 2.6 refcounting, make debug log more correct by printing
16801 the actual refcounts at the time of swap (Wim)
16803 2005-09-29 Andy Wingo <wingo@pobox.com>
16805 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
16806 removes signal watches previously added via
16807 gst_bus_add_signal_watch.
16808 (gst_bus_add_signal_watch): Don't return the source id, just store
16809 it on the bus if there wasn't an id already.
16811 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
16812 add_signal_watch and remove_signal_watch.
16814 2005-09-29 Edward Hervey <edward@fluendo.com>
16816 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
16817 Better if we actually iterate the list :)
16819 2005-09-29 Wim Taymans <wim@fluendo.com>
16821 * check/gst/gstbin.c: (GST_START_TEST):
16822 Change for new bus API.
16824 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
16825 (send_messages), (GST_START_TEST), (gstbus_suite):
16826 Change for new bus signal API.
16828 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
16829 (gst_bus_source_prepare), (gst_bus_source_check),
16830 (gst_bus_create_watch), (gst_bus_add_watch_full),
16831 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
16832 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
16834 Remove support for multiple GSources operating on different
16835 message types as it is too complex and unneeded when using
16837 Added support for receiving signals from the bus.
16839 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
16841 * docs/libs/tmpl/gstdataprotocol.sgml:
16842 * docs/manual/advanced-dataaccess.xml:
16843 * gst/elements/gstcapsfilter.c:
16845 rename filter-caps to caps property
16847 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16849 * gst/gstvalue.c: (gst_value_deserialize_fraction):
16850 More robust fraction string parsing.
16852 * docs/pwg/appendix-porting.xml:
16853 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
16855 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
16857 * gst/gstcaps.c: (gst_caps_do_simplify):
16858 Thou shalt not free a structure and then continue using it
16859 in the next loop iteration.
16861 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
16863 Add test case for caps simplification.
16865 2005-09-29 Wim Taymans <wim@fluendo.com>
16867 * check/gst/gstbin.c: (GST_START_TEST):
16870 2005-09-29 Wim Taymans <wim@fluendo.com>
16872 * check/gst/gstbin.c: (GST_START_TEST):
16875 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
16876 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16877 (find_element), (gst_bin_sort_iterator_next),
16878 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16879 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16880 (gst_bin_change_state), (gst_bin_dispose):
16881 A bin does not have a bus, it gets the bus from the parent.
16883 * gst/gstelement.c: (gst_element_requires_clock),
16884 (gst_element_provides_clock), (gst_element_is_indexable),
16885 (gst_element_is_locked_state), (gst_element_change_state),
16886 (gst_element_set_bus_func):
16889 * gst/gstpipeline.c: (gst_pipeline_class_init),
16890 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
16891 The pipeline provides a bus.
16893 2005-09-28 Johan Dahlin <johan@gnome.org>
16895 * gst/gstmessage.c (gst_message_parse_state_changed): Use
16896 gst_structure_get_enum instead of gst_structure_get_int
16898 * gst/gststructure.c (gst_structure_get_enum): Impl.
16900 * gst/gststructure.h (gst_structure_get_enum): Add
16902 * docs/gst/gstreamer-sections.txt: Ditto
16904 * gst/gstmessage.c (gst_message_new_state_changed): Use
16905 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
16906 which does introspection.
16907 Reviewed by Christian Schaller
16909 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16911 * gst/gstinfo.c: (gst_debug_log_default):
16912 don't do dummy g_strdup()s
16913 * libs/gst/controller/gstcontroller.c:
16914 (on_object_controlled_property_changed),
16915 (gst_controlled_property_new), (gst_controller_new_valist),
16916 (gst_controller_new_list),
16917 (gst_controller_remove_properties_valist), (gst_controller_set),
16918 (gst_controller_get), (gst_controller_sync_values),
16919 (gst_controller_get_value_array), (_gst_controller_class_init),
16920 (gst_controller_get_type):
16921 * libs/gst/controller/gstcontroller.h:
16922 * libs/gst/controller/gstinterpolation.c:
16923 (gst_controlled_property_find_timed_value_node):
16924 convert // to /**/ comments
16926 2005-09-28 Wim Taymans <wim@fluendo.com>
16928 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
16929 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
16930 (gst_bus_sync_signal_handler):
16932 Added async-message and sync-message signals to the bus.
16933 Added helper BusFunc to emit signals for all posted messages.
16935 * gst/gstmessage.c: (gst_message_type_get_name),
16936 (gst_message_type_to_quark), (gst_message_get_type):
16937 * gst/gstmessage.h:
16938 Register quarks for message names.
16940 2005-09-28 Stefan Kost <ensonic@users.sf.net>
16942 * docs/libs/gstreamer-libs-sections.txt:
16943 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
16944 (gst_controller_new_list):
16945 * libs/gst/controller/gstcontroller.h:
16946 added another constructor for language bindings
16948 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
16950 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
16954 * gst/gstinfo.c: (_gst_debug_init):
16955 slightly more readable color for refcount debugging
16957 2005-09-28 Wim Taymans <wim@fluendo.com>
16959 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16960 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
16961 (find_element), (gst_bin_sort_iterator_next),
16962 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
16963 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
16964 (gst_bin_change_state), (gst_bin_dispose):
16965 Small doc fixes. get_clock -> provide_clock.
16967 * gst/gstelement.c: (gst_element_class_init),
16968 (gst_element_provides_clock), (gst_element_provide_clock),
16969 (gst_element_get_clock), (gst_element_commit_state),
16970 (gst_element_lost_state):
16971 * gst/gstelement.h:
16972 Make get/set_clock() symetric. Add provide_clock vmethod since
16973 that is actually what this function does.
16975 * gst/gstpipeline.c: (gst_pipeline_class_init),
16976 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
16977 (gst_pipeline_get_clock):
16978 get_clock -> provide_clock.
16980 2005-09-28 Andy Wingo <wingo@pobox.com>
16982 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
16983 lieu of real docs...
16985 * gst/elements/gstfdsrc.c: Cleaned up a bit.
16987 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
16989 * gst/elements/gstcapsfilter.c:
16990 * gst/elements/gstfakesink.c:
16991 * gst/elements/gstfakesrc.c:
16992 * gst/elements/gstfdsink.c:
16993 * gst/elements/gstfdsrc.c:
16994 * gst/elements/gstfilesink.c:
16995 * gst/elements/gstfilesrc.c:
16996 * gst/elements/gstidentity.c:
16997 * gst/elements/gsttee.c:
16998 * gst/elements/gsttypefindelement.c:
16999 Make element details static.
17001 2005-09-28 Wim Taymans <wim@fluendo.com>
17003 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17004 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17005 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17006 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17007 (gst_bin_change_state), (gst_bin_dispose):
17008 Some documentation updates.
17009 Clean up dispose handlers.
17011 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
17012 * gst/gstpad.c: (gst_pad_dispose):
17013 Clean up dispose handler.
17015 * gst/gstpipeline.c: (gst_pipeline_change_state):
17016 Removed spurious UNLOCK.
17018 2005-09-27 Stefan Kost <ensonic@users.sf.net>
17020 * docs/gst/gstreamer-sections.txt:
17021 * gst/base/gstbasesrc.h:
17022 * gst/gstelement.h:
17026 * gst/gstpipeline.c:
17027 * gst/gstpipeline.h:
17030 added two new functions to the docs
17031 documents all undocumented GstXXXFlags
17032 completed some incomplete docs
17034 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
17036 * gst/gstbin.c: (gst_bin_dispose):
17037 * gst/gstelement.c: (gst_element_dispose):
17038 remove now useless and leaky resurrection code in dispose
17039 * gst/base/gstbasesrc.c: (gst_base_src_init):
17040 * gst/gstelementfactory.c: (gst_element_factory_create):
17041 * gst/gstobject.c: (gst_object_set_parent):
17044 2005-09-27 Wim Taymans <wim@fluendo.com>
17046 * docs/design/part-TODO.txt:
17049 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17050 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17051 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17052 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17053 (gst_bin_change_state):
17054 * gst/gstelement.h:
17055 Remove element variable, we keep element info in the iterator now.
17057 2005-09-27 Andy Wingo <wingo@pobox.com>
17059 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
17062 2005-09-27 Wim Taymans <wim@fluendo.com>
17064 * check/gst/gstbin.c: (GST_START_TEST):
17065 Enable check that works now.
17067 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
17068 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
17069 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
17070 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
17071 (gst_bin_change_state):
17073 Redid the state change algorithm using a topological sort algo.
17074 Handles all cases correctly.
17075 Exposed iterator for state change order.
17077 * gst/gstelement.h:
17078 Temp storage for state changes. Need to get rid of this soon.
17080 2005-09-27 Wim Taymans <wim@fluendo.com>
17082 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
17083 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
17084 (link_fold_func), (gst_pad_proxy_setcaps):
17085 Leak fixes, the fold functions need to unref the passed object and
17086 _get_parent_*() returns ref to parent.
17088 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17090 * check/gst/gstbuffer.c: (test_make_writable):
17091 Plug leak in test case and fix 'make check-valgrind'
17093 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17095 * gst/gstbuffer.c: (gst_subbuffer_init):
17096 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
17097 works correctly in all circumstances (we could have just copied
17098 the parent buffer's readonly flag, but conceptually it seems
17099 cleaner to mark all subbuffers as read-only). (based on patch
17100 by Alessandro Decina, #314710).
17102 * check/gst/gstbuffer.c: (create_read_only_buffer),
17103 (test_make_writable), (test_subbuffer_make_writable),
17105 Add some tests for gst_buffer_make_writable().
17107 2005-09-27 Wim Taymans <wim@fluendo.com>
17109 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
17110 use gst_object_has_ancestor().
17112 * gst/gstobject.c: (gst_object_has_ancestor):
17114 gst_object_has_ancestor() copied from gstbin.c as it is a
17117 * tests/instantiate/create.c: (create_all_elements):
17118 * tests/lat.c: (handoff_src), (handoff_sink):
17119 * tests/sched/runxml.c: (main):
17120 * tests/seeking/seeking1.c: (main):
17121 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
17123 Fix compilation of some tests.
17125 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
17128 Remove comment. GST_TYPE_G_ERROR is here to stay,
17129 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
17130 (#316961, #300610).
17132 2005-09-26 Wim Taymans <wim@fluendo.com>
17134 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
17135 Added check that shows error in state change order.
17137 2005-09-26 Wim Taymans <wim@fluendo.com>
17139 * gst/gstbin.c: (gst_bin_change_state):
17140 Make state change function use 3 queues again, we were
17141 adding elements in the wrong order.
17143 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
17146 * gst/gstpad.c: (gst_pad_dispose):
17147 Added some debug info first.
17149 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
17151 * docs/design/draft-push-pull.txt:
17152 * docs/design/part-events.txt:
17153 * docs/design/part-overview.txt:
17154 * docs/design/part-scheduling.txt:
17155 Replace all _pull_region() with _pull_range()
17157 2005-09-26 Andy Wingo <wingo@pobox.com>
17159 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
17161 * check/gst-libs/controller.c: Update for controller api change.
17164 * tests/Makefile.am:
17165 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
17166 over by GLib bug 118439.
17168 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
17169 routines to a function.
17171 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
17173 * libs/gst/controller/gsthelper.c:
17174 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
17175 (gst_object_sync_values): Renamed from sink_values. Ugh.
17177 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
17179 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
17180 Renamed from controller_key, as it is exported.
17182 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
17184 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
17189 * gst/gstpadtemplate.h:
17192 * gst/gstqueryutils.c:
17193 * gst/gstqueryutils.h:
17194 remove queryutils headers after moving the two used functions
17195 to gstquery. also fixes build problem for gstsiddec
17197 2005-09-26 Michael Smith <msmith@fluendo.com>
17199 * tools/gst-launch.1.in:
17200 Correct documentation in manpage of debug syntax
17202 2005-09-26 Wim Taymans <wim@fluendo.com>
17204 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
17205 (gst_base_src_is_seekable), (gst_base_src_change_state):
17206 Some more debugging info.
17208 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17210 * docs/gst/gstreamer-sections.txt:
17211 * gst/base/gstbasetransform.h:
17215 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17217 * docs/gst/.cvsignore:
17218 * docs/gst/tmpl/.cvsignore:
17219 * docs/gst/tmpl/gstpipeline.sgml:
17220 * docs/gst/tmpl/gstplugin.sgml:
17221 * gst/gstpipeline.c:
17224 inlined the last two docs files
17225 removed the tmpl directory from cvs (no more conflicts here!)
17227 2005-09-25 Stefan Kost <ensonic@users.sf.net>
17229 * docs/gst/gstreamer-sections.txt:
17230 * docs/gst/tmpl/.cvsignore:
17231 * docs/gst/tmpl/gstpad.sgml:
17232 * docs/gst/tmpl/gstpadtemplate.sgml:
17234 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
17235 (gst_pad_finalize), (gst_pad_set_pad_template):
17237 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
17238 (gst_pad_template_class_init), (gst_pad_template_init),
17239 (gst_pad_template_dispose), (name_is_valid),
17240 (gst_static_pad_template_get), (gst_pad_template_new),
17241 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
17242 (gst_pad_template_pad_created):
17243 * gst/gstpadtemplate.h:
17244 inlined two more docs
17245 factored gstpadtemplate out of gstpad
17247 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
17249 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17250 (test_children_state_change_order_semi_sink):
17251 Fix test case: we can't rely on a fixed state change order when
17252 going from READY => PAUSED because the sink might commit its
17253 new state first when the first buffer created by the source
17254 reaches the sink before the source has finished its change state.
17255 (Test case still fails at times, see #316856, comment 5 onwards)
17257 2005-09-24 Wim Taymans <wim@fluendo.com>
17259 * docs/design/part-events.txt:
17260 * docs/design/part-gstbus.txt:
17261 * docs/design/part-gstpipeline.txt:
17262 * docs/design/part-messages.txt:
17263 * docs/design/part-overview.txt:
17264 * docs/design/part-segments.txt:
17268 * gst/gstelement.c:
17271 * gst/gstiterator.c:
17272 Various documentation updates.
17274 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
17277 Well, that's embarassing. Luckily we weren't using
17278 GST_CLOCK_DIFF anywhere.
17280 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17282 * common/gtk-doc.mak:
17283 don't fail on building XML, FC4 slave shows a bunch of doc
17284 missing bits that I don't get
17286 * gst/gstpipeline.c:
17287 * gst/gststructure.c:
17290 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17292 * docs/design/part-gstbin.txt:
17293 * docs/design/part-gstbus.txt:
17295 Add blurb about how the bus goes into flushing mode and
17296 drops all messages when its bin goes from READY into NULL
17299 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17301 * docs/gst/gstreamer-sections.txt:
17302 * gst/gststructure.c: (gst_structure_get_clock_time):
17303 * gst/gststructure.h:
17304 add a method to get a GstClockTime out of a structure
17306 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
17308 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
17309 (test_children_state_change_order_semi_sink), (gst_bin_suite):
17310 Added test to check state change order in bins (can still be made
17311 to fail here under heavy disk load; bails out with 'Push on pad
17312 fakesink:sink0, but it was not activated in push mode').
17314 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
17315 Fix state change order when there is only a semi sink (#316856)
17317 * gst/gstbus.c: (gst_bus_class_init):
17318 Use _class_peek_parent(), not _class_ref(); fix docs to say
17319 'default main context' instead of 'mainloop' where that is
17322 * gst/gstelement.c: (gst_element_commit_state),
17323 (gst_element_set_state):
17324 Fix typos in debug messages
17326 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17329 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
17330 * gst/gstpluginfeature.c:
17332 various doc updates
17333 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17334 change an assert into an error until it gets fixed properly
17336 2005-09-23 Stefan Kost <ensonic@users.sf.net>
17338 * docs/gst/gstreamer-sections.txt:
17339 * docs/gst/tmpl/.cvsignore:
17340 * docs/gst/tmpl/gstelement.sgml:
17341 * docs/gst/tmpl/gstinfo.sgml:
17342 * docs/gst/tmpl/gstobject.sgml:
17343 * gst/gstelement.c:
17344 * gst/gstelement.h:
17347 * gst/gstobject.c: (gst_object_class_init):
17349 inlined 3 more biiiig doc files and added some missing docs on the fly
17351 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
17353 * check/gst/.cvsignore:
17354 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
17355 * gst/gstregistryxml.c: (load_plugin),
17356 (gst_registry_xml_save_plugin):
17357 put back source in registry. add checks for find_plugin.
17358 * testsuite/states/bin.c: (assert_state), (empty_bin),
17359 (test_adding_one_element), (main):
17360 * testsuite/states/locked.c: (main):
17361 some compile/run fixes
17363 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
17365 * check/gst/gstvalue.c: (GST_START_TEST):
17366 fix leaks in the test itself
17368 2005-09-22 Wim Taymans <wim@fluendo.com>
17370 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17371 (gst_base_sink_send_event), (gst_base_sink_peer_query),
17372 (gst_base_sink_query):
17373 Prepare for more accurate position reporting and query
17376 * gst/gstelement.c: (gst_element_send_event),
17377 (gst_element_set_state):
17380 2005-09-22 Wim Taymans <wim@fluendo.com>
17382 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
17383 (gst_query_parse_segment):
17385 More documentation.
17386 Add segment query for future use.
17388 2005-09-22 Wim Taymans <wim@fluendo.com>
17390 * gst/gstbin.c: (gst_bin_add_func):
17391 Some more debug info.
17393 * gst/gstelement.c: (gst_element_send_event):
17394 Simplify send_event
17396 * gst/gstelement.h:
17397 Don't know how flags got broken.
17402 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17404 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
17405 Add simplistic test suite for GST_TYPE_DATE serialisation and
17408 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
17410 * docs/gst/gstreamer-sections.txt:
17411 * gst/gststructure.c: (gst_structure_set_valist),
17412 (gst_structure_get_date):
17413 * gst/gststructure.h:
17414 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
17415 (gst_date_copy), (gst_value_compare_date),
17416 (gst_value_serialize_date), (gst_value_deserialize_date),
17417 (gst_value_transform_date_string),
17418 (gst_value_transform_string_date), (_gst_value_initialize):
17420 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
17421 bunch of utility functions along with a hack that checks that
17422 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
17423 is required. Part of the grand scheme in #170777.
17425 2005-09-22 Andy Wingo <wingo@pobox.com>
17427 * gst/gstconfig.h.in: Psych out gtk-doc.
17429 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
17431 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
17433 * tools/gst-inspect.c (print_element_list): Plug some
17434 inconsequential leaks.
17436 * gst/gstregistry.c (gst_registry_get_default): Doc.
17438 * check/gst/gstplugin.c:
17439 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
17440 * gst/gstelementfactory.c (gst_element_factory_create):
17441 * gst/gstindexfactory.c (gst_index_factory_create): Update for
17444 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
17445 (gst_plugin_feature_load): Doc, don't eat refs.
17447 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
17448 (gst_plugin_list_free): Doc.
17449 (gst_plugin_load_file): Doc updates.
17451 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
17452 accessors returning refcounted objects, return a ref.
17454 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
17455 accessor for caps. IDEMPOTENCE. Oh yes.
17457 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
17459 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17461 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
17462 (_gst_debug_register_funcptr):
17463 Add mutex to serialise access to the hash table with
17464 the function pointer => function name string mapping;
17465 make that hash table static scope (#316809).
17467 * gst/registries/.cvsignore:
17468 Remove left-over file.
17470 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17472 * docs/pwg/appendix-porting.xml:
17473 And something about newsegment events and caps-on-buffers to
17474 the porting guide (feel free to improve).
17476 2005-09-21 Andy Wingo <wingo@pobox.com>
17478 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
17479 data and event probes on the same pad.
17480 (test_buffer_probe_once): Test that removing probes from within
17481 the probe functions works.
17483 2005-09-21 Andy Wingo <wingo@pobox.com>
17485 * check/gst/gstutils.c: New file.
17486 (test_buffer_probe_n_times): A simple buffer probe test. More to
17489 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
17490 have-data::buffer, not have-data.
17491 (gst_pad_add_event_probe): Likewise for have-data::event.
17492 (gst_pad_add_data_probe): More docs. The part about 'resolving the
17493 peer' isn't quite right yet though.
17494 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
17495 (gst_pad_remove_data_probe): Change to take the guint handler_id
17496 as their arg, not the function+data, which is more glib-like.
17498 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
17499 the signal emission to indicate if the data is a buffer or an
17501 (gst_pad_get_type): Initialize buffer and event quarks.
17502 (gst_pad_class_init): have-data is now a detailed signal, yes it
17505 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
17507 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
17508 * gst/gstutils.c: (gst_util_set_value_from_string),
17509 (gst_util_set_object_arg):
17510 Don't put functional code in g_return_if_fail() or
17511 g_return_val_if_fail() statements, otherwise things will
17512 break when G_DISABLE_CHECKS is defined during compilation.
17514 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17516 * docs/gst/tmpl/.cvsignore:
17517 * docs/gst/tmpl/gstvalue.sgml:
17520 inlied another one and added some obvious docs
17522 2005-09-21 Wim Taymans <wim@fluendo.com>
17524 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17525 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
17526 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
17527 (gst_fdsrc_get_property), (gst_fdsrc_create):
17528 * gst/elements/gstfdsrc.h:
17529 Properly implement fdsrc. Removed signal and timeout,
17530 better implemented somewhere else.
17532 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17534 * docs/gst/tmpl/.cvsignore:
17535 * docs/gst/tmpl/gstimplementsinterface.sgml:
17536 * gst/gstinterface.c:
17539 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17541 * docs/gst/gstreamer-sections.txt:
17542 * docs/gst/tmpl/.cvsignore:
17543 * docs/gst/tmpl/gstenumtypes.sgml:
17544 remove obsolete doc file
17546 2005-09-21 David Schleef <ds@schleef.org>
17548 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
17549 little beer, fix a little leak.
17551 2005-09-21 Stefan Kost <ensonic@users.sf.net>
17553 * docs/gst/gstreamer-docs.sgml:
17554 * docs/gst/gstreamer-sections.txt:
17555 * docs/gst/tmpl/.cvsignore:
17559 * gst/gstelement.h:
17560 * gst/gstindex.c: (gst_index_class_init):
17562 * gst/gstindexfactory.c: (gst_index_factory_get_type),
17563 (gst_index_factory_class_init), (gst_index_factory_init),
17564 (gst_index_factory_finalize), (gst_index_factory_new),
17565 (gst_index_factory_destroy), (gst_index_factory_find),
17566 (gst_index_factory_create), (gst_index_factory_make):
17567 * gst/gstindexfactory.h:
17568 * gst/gstpluginfeature.c:
17569 * gst/gstpluginfeature.h:
17570 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17571 more docs inlined, splitted gstindex.{c,h}
17573 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17575 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17578 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17580 * gst/elements/gstfilesink.c: (gst_file_sink_init):
17581 Set sync to FALSE by default.
17583 2005-09-20 Wim Taymans <wim@fluendo.com>
17585 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17586 (gst_base_sink_init):
17587 Make sync property settable from subclass.
17589 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
17590 (gst_fake_sink_change_state):
17591 Set sync to FALSE by default.
17593 2005-09-20 Wim Taymans <wim@fluendo.com>
17595 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
17596 * tools/gst-launch.c: (main):
17597 The timeout handler should have lower priority than the source
17598 so we don't timeout before popping a message with 0 timeout.
17599 Dump error messages after failed state change.
17601 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
17603 * tools/gst-inspect.c: (print_element_properties_info):
17606 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17608 * check/gst/gstevent.c:
17609 * gst/elements/gstfakesink.c:
17610 * gst/elements/gstfakesink.h:
17611 remove the sync property from fakesink.
17612 has the side effect of setting sync TRUE
17613 for fakesink, which is a change. Anyone who knows how
17614 to fix this nicely in a GObject-y way, feel free.
17616 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17618 * docs/gst/gstreamer-docs.sgml:
17619 remove probe refsection
17621 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17623 * check/Makefile.am:
17624 disable valgrinding the controller test again
17625 * docs/gst/gstreamer-sections.txt:
17626 update for api-changes
17628 2005-09-20 Wim Taymans <wim@fluendo.com>
17630 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17631 (gst_base_sink_set_property), (gst_base_sink_get_property),
17632 (gst_base_sink_do_sync):
17633 * gst/base/gstbasesink.h:
17634 Added sync property to basesink to disable clock sync.
17636 2005-09-20 Andy Wingo <wingo@pobox.com>
17638 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
17639 eating the caller's refcount.
17641 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
17642 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
17645 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
17646 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
17647 of GLib 2.8 public, so we can know which refcount to check in
17650 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
17651 (gst_object_init): Only set the gst refcount if we're going ahead
17652 with the refcount hack.
17654 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17656 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17657 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
17658 more leaks plumbed, added more debug-logging
17662 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17664 * gst/gstmessage.c:
17665 remove include of gstmemchunk.h
17667 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17669 * gst/gstclock.c: (_gst_clock_id_free):
17670 Commit from the Political Party For More Atomic CVS Commits,
17671 so that people don't waste too much of their day fishing
17672 out obvious leaks out of massive commits.
17673 Oh, and fix a pretty damn obvious leak in the memchunk
17676 2005-09-20 Stefan Kost <ensonic@users.sf.net>
17678 * check/Makefile.am:
17679 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
17680 plug mem-leak, re-add to valgrindable tests
17682 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
17685 unbreak the build for those who have chronic arthritis
17686 and typing "make check" is just too taxing on the hands
17688 2005-09-20 Andy Wingo <wingo@pobox.com>
17690 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
17691 really want it out, you should fix plugins at the same time.
17693 2005-09-19 Stefan Kost <ensonic@users.sf.net>
17696 * docs/gst/gstreamer-sections.txt:
17698 added missing symbols to api docs
17699 disable ref-count hack if we have glib >= 2.8
17701 2005-09-19 David Schleef <ds@schleef.org>
17703 * docs/gst/Makefile.am: Ignore a few more internal headers
17704 * docs/gst/gstreamer-docs.sgml: Remove old sections
17705 * docs/gst/gstreamer-sections.txt: Remove old sections
17706 * docs/gst/tmpl/gstobject.sgml: update
17707 * docs/gst/tmpl/gstplugin.sgml: update
17708 * docs/gst/tmpl/gstpluginfeature.sgml: update
17709 * docs/random/ds/0.9-suggested-changes: update.
17710 * gst/Makefile.am: remove memchunk and trashstack, since they're
17712 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
17713 * gst/gst.h: don't include some headers
17714 * gst/gstchildproxy.c: add gstmarshal.h
17715 * gst/gstclock.c: Don't use memchunks
17716 * gst/gstminiobject.c: Add some docs
17717 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
17718 * gst/gstobject.h: same
17719 * gst/gstplugin.c: include gstmacros.h
17720 * gst/gstplugin.h: don't include gstmacros.h, since it's private
17721 * gst/gstquery.c: don't use memchunks
17722 * gst/gstregistry.c: rename gst_registry_deinit()
17723 * gst/gstregistry.h: same
17725 2005-09-19 David Schleef <ds@schleef.org>
17727 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
17728 * docs/libs/gstreamer-libs-sections.txt:
17729 * docs/libs/tmpl/gstgetbits.sgml:
17730 * docs/libs/tmpl/gstputbits.sgml:
17732 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
17734 * win32/gstenumtypes.c:
17735 * win32/gstenumtypes.h:
17738 2005-09-19 Wim Taymans <wim@fluendo.com>
17740 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
17741 Automatically PAUSE and RESUME a pipeline when a flushing seek
17744 2005-09-19 Andy Wingo <wingo@pobox.com>
17746 * gst/gstregistry.h: Spacing fixen.
17748 2005-09-19 Wim Taymans <wim@fluendo.com>
17750 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
17751 Handle state change failure more correctly.
17753 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17755 * check/Makefile.am:
17756 * check/pipelines/cleanup.c: (run_pipeline):
17757 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17759 enable cleanup again after fixing the leak
17761 some more info on docs
17763 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17765 * check/Makefile.am:
17766 re-enable tests now that leaks are plugged
17768 * check/gst/gstbin.c:
17769 * check/gst/gstpipeline.c:
17770 add some more tests while fixing leaks
17771 * common/check.mak:
17772 make sure binaries are uptodate when valgrinding/gdbing
17774 * gst/gstelementfactory.c:
17775 remove a ref too many, and add a FIXME for when we get
17776 round to disposing of classes
17778 fix the refcounting when loading a plugin from a file and
17779 the code pretends that the pointer is the same even though
17780 of course it can change
17781 * gst/gstpluginfeature.c:
17782 unref plugins marked cached (a bit confusing as a name)
17783 as the docs state should be done
17784 various doc additions to explain refcounting
17785 * gst/gstregistry.c:
17786 * gst/gstregistryxml.c:
17789 2005-09-19 Wim Taymans <wim@fluendo.com>
17791 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
17792 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
17793 (send_messages), (GST_START_TEST), (gstbus_suite):
17794 * check/gst/gstpipeline.c: (GST_START_TEST):
17795 * check/pipelines/cleanup.c: (run_pipeline):
17796 * check/pipelines/simple_launch_lines.c: (run_pipeline),
17798 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
17799 (gst_bus_source_check), (gst_bus_source_dispatch),
17800 (gst_bus_create_watch), (gst_bus_add_watch_full),
17801 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
17803 * tools/gst-launch.c: (event_loop):
17804 * tools/gst-md5sum.c: (event_loop):
17805 GstBusHandler -> GstBusFunc, return value has the same meaning as
17806 any other GSource (FALSE == remove source).
17807 _add_watch() and _add_watch_full() now take a MessageType mask to
17808 only handle specific types of messages.
17809 _poll() returns the GstMessage instead of the message type to avoid
17811 _have_pending() takes a MessageType mask now too.
17812 Added testsuite for multiple bus watches.
17813 Fix testsuites and applications for new bus API.
17815 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * check/Makefile.am:
17818 mark a bunch of the tests as to fix until we fix them
17820 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17822 * common/check.mak:
17823 use GST_PLUGIN settings for valgrind tests as well, so we're
17824 valgrinding the correct thing
17825 * gst/gst.c: (init_post):
17828 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17830 * gst/gst.c: (init_post), (gst_deinit):
17831 * gst/gstelementfactory.c: (gst_element_factory_class_init),
17832 (gst_element_factory_finalize), (gst_element_factory_cleanup):
17833 * gst/gstindex.c: (gst_index_factory_class_init),
17834 (gst_index_factory_finalize):
17835 * gst/gstobject.c: (gst_object_dispose):
17836 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
17837 (gst_plugin_load_file), (gst_plugin_desc_free):
17838 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
17839 (gst_plugin_feature_finalize):
17840 * gst/gstregistry.c: (gst_registry_class_init),
17841 (gst_registry_init), (gst_registry_finalize),
17842 (gst_registry_get_default), (gst_registry_deinit):
17843 * gst/gstregistry.h:
17844 * gst/gstregistryxml.c: (load_feature), (load_plugin):
17845 various cleanups and memleak plugging. make valgrind is happy now.
17847 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
17849 * common/check.mak:
17850 add a check-valgrind target
17852 2005-09-18 David Schleef <ds@schleef.org>
17854 * tools/gst-inspect.c: Revert the GOption code.
17856 2005-09-17 David Schleef <ds@schleef.org>
17858 * check/Makefile.am: Fix environment variables.
17859 * check/gst/gstplugin.c: Fix for API changes.
17860 * tools/gst-inspect.c: Fix for API changes.
17861 * tools/gst-xmlinspect.c: Fix for API changes.
17862 * gst/gstelementfactory.c:
17865 * gst/gstpluginfeature.c:
17866 * gst/gstpluginfeature.h:
17867 * gst/gstregistry.c:
17868 * gst/gstregistry.h:
17869 * gst/gstregistryxml.c:
17870 * gst/gsttypefind.c:
17871 * gst/gsttypefindfactory.c:
17872 * gst/indexers/gstfileindex.c:
17873 * gst/indexers/gstmemindex.c:
17874 * gst/schedulers/Makefile.am:
17875 Change registry to keep track of both plugins and features,
17876 removing the feature tracking from plugins themselves.
17878 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
17880 * check/Makefile.am:
17881 * tools/gst-register.1.in:
17882 remove gst-register
17884 2005-09-15 David Schleef <ds@schleef.org>
17886 * check/gst/gstplugin.c:
17887 * gst/gstelementfactory.c:
17889 * gst/gstpluginfeature.c:
17890 * gst/gstregistry.c:
17891 Getting tired of debugging. Disabled all the unreffing of
17892 plugins and features, which fixes the segfaults, but of
17893 course leaks like crazy. At least playbin works.
17895 2005-09-15 David Schleef <ds@schleef.org>
17897 * check/gst/gstplugin.c: (register_check_elements),
17898 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
17900 * gst/elements/gsttypefindelement.c: Fix refcounting.
17901 * gst/gsttypefind.c:
17902 * gst/gsttypefindfactory.c:
17903 * gst/gsttypefindfactory.h:
17905 2005-09-15 David Schleef <ds@schleef.org>
17907 * gst/gstindex.c: get refcounting correct.
17908 * gst/gstregistry.c: Handle the case where a feature/plugin is
17911 2005-09-15 David Schleef <ds@schleef.org>
17913 * check/Makefile.am:
17914 * check/gst/gstplugin.c: Add test
17915 * gst/gstplugin.c: Fix problems noticed by testsuite
17917 * gst/gstregistry.c:
17918 * gst/gstregistry.h:
17920 2005-09-15 David Schleef <ds@schleef.org>
17922 * gst/gstplugin.c: Implement semi-decent recounting and locking
17923 in plugins and plugin features.
17925 * gst/gstpluginfeature.c:
17926 * gst/gstpluginfeature.h:
17927 * gst/gstregistry.c:
17929 2005-09-15 Michael Smith <msmith@fluendo.com>
17931 * gst/gstregistry.c: (gst_registry_get_feature_list):
17932 Implement this. Makes oggdemux work; decodebin still broken.
17934 2005-09-14 David Schleef <ds@schleef.org>
17936 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
17938 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
17939 * gst/check/Makefile.am:
17940 * libs/gst/controller/Makefile.am:
17941 * libs/gst/dataprotocol/Makefile.am:
17943 2005-09-14 David Schleef <ds@schleef.org>
17945 * configure.ac: Remove getbits library. Nothing uses it, and
17946 it should be in something like liboil if someone did want
17948 * libs/gst/Makefile.am:
17949 * libs/gst/getbits/Makefile.am:
17950 * libs/gst/getbits/gbtest.c:
17951 * libs/gst/getbits/getbits.c:
17952 * libs/gst/getbits/getbits.h:
17953 * libs/gst/getbits/gstgetbits_generic.c:
17954 * libs/gst/getbits/gstgetbits_i386.s:
17955 * libs/gst/getbits/gstgetbits_inl.h:
17957 2005-09-14 David Schleef <ds@schleef.org>
17959 * gst/Makefile.am: Dist glib-compat.h
17961 2005-09-14 David Schleef <ds@schleef.org>
17963 * configure.ac: Remove gst/registries, since it's no longer used.
17964 * gst/registries/Makefile.am:
17965 * gst/registries/gstlibxmlregistry.c:
17966 * gst/registries/gstlibxmlregistry.h:
17967 * gst/registries/gstxmlregistry.c:
17968 * gst/registries/gstxmlregistry.h:
17969 * gst/registries/registrytest.c:
17971 2005-09-14 David Schleef <ds@schleef.org>
17973 * gst/glib-compat.h:
17974 * gst/gstregistryxml.c:
17975 Convergence is near. Seriously.
17977 2005-09-14 David Schleef <ds@schleef.org>
17979 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17980 * gst/glib-compat.h:
17981 Attempt #4 to appease the buildbots.
17983 2005-09-14 David Schleef <ds@schleef.org>
17985 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17988 2005-09-14 David Schleef <ds@schleef.org>
17990 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
17993 2005-09-14 David Schleef <ds@schleef.org>
17995 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
17998 2005-09-14 David Schleef <ds@schleef.org>
18000 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
18001 * gst/glib-compat.h: Add some functions that are in newer versions
18002 of glib than we care to require.
18003 * gst/gstregistryxml.c: Use them.
18005 2005-09-14 David Schleef <ds@schleef.org>
18007 * po/POTFILES.in: remove gst-register.c
18009 2005-09-14 David Schleef <ds@schleef.org>
18011 * docs/gst/gstreamer-docs.sgml:
18012 * docs/gst/gstreamer-sections.txt:
18013 * docs/gst/gstreamer.types:
18014 * docs/gst/tmpl/gstelement.sgml:
18015 * docs/gst/tmpl/gstplugin.sgml:
18016 * docs/gst/tmpl/gstpluginfeature.sgml:
18017 Documentation updates for registry changes.
18019 2005-09-14 David Schleef <ds@schleef.org>
18021 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
18022 because we don't require glib-2.8.
18024 2005-09-14 David Schleef <ds@schleef.org>
18026 * gst/gstregistryxml.c: Added. Essentially moved out of the
18027 registries directory.
18029 2005-09-14 David Schleef <ds@schleef.org>
18031 * check/Makefile.am:
18032 * check/generic/states.c:
18036 * gst/gst_private.h:
18037 * gst/gstelementfactory.c:
18042 * gst/gstpluginfeature.c:
18043 * gst/gstpluginfeature.h:
18044 * gst/gstregistry.c:
18045 * gst/gstregistry.h:
18046 * gst/gstregistrypool.c: remove
18047 * gst/gstregistrypool.h: remove
18048 * gst/gsttypefind.c:
18049 * gst/gsttypefindfactory.c:
18051 * tools/Makefile.am:
18052 * tools/gst-compprep.c:
18053 * tools/gst-inspect.c:
18054 * tools/gst-register.c: remove
18055 * tools/gst-xmlinspect.c:
18056 Registry rewrite. Changes registry from being a file created
18057 by a tool into a simple cache file created automatically by
18058 libgstreamer. Removed gst-register (because it's no longer
18059 needed). Remove registry pools, because we only have one
18060 registry implementation (XML). Fix up other subsystems as
18063 2005-09-13 Michael Smith <msmith@fluendo.com>
18065 * gst/gstconfig.h.in:
18066 Don't Use windows linking attributes for MinGW. Fixes #316157
18068 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
18070 * gst/gstutils.c: (set_state_async_thread_func),
18071 (gst_element_set_state_async):
18072 Apparently people think it's better if this function doesn't
18073 try to set the state to whatever state was asked for on the first
18074 call to this function for any object. Seriously.
18076 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18078 * check/gst/gstpipeline.c: (GST_START_TEST):
18079 * docs/gst/gstreamer-sections.txt:
18080 * gst/gstutils.c: (set_state_async_thread_func),
18081 (gst_element_set_state_async):
18083 add a "gst_element_set_state_async" method that
18084 sets the state and starts a thread to make sure the state
18085 change completes as best as it can
18087 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18089 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18090 codify design+behaviour in testsuite after discussion
18092 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
18094 * docs/gst/tmpl/gstelement.sgml:
18095 * docs/manual/appendix-quotes.xml:
18097 * gst/gstelement.c: (gst_element_set_state):
18100 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
18102 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18103 (gst_base_transform_prepare_output_buf),
18104 (gst_base_transform_handle_buffer):
18105 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
18106 (gst_capsfilter_prepare_buf):
18107 Remove the requirement for sub-classes to call the parent
18108 implementation of prepare_output_buffer with a wrapper function.
18110 * gst/gsttaglist.h:
18111 * gst/gsttagsetter.h:
18112 Fix #define wrapper
18114 2005-09-11 Stefan Kost <ensonic@users.sf.net>
18116 * docs/gst/gstreamer-sections.txt:
18119 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18121 * docs/gst/gstreamer-sections.txt:
18122 * docs/gst/tmpl/gstelement.sgml:
18123 * docs/gst/tmpl/gstplugin.sgml:
18124 * gst/gstminiobject.c:
18126 docs now stop throwing warnings
18128 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18130 * docs/gst/gstreamer-sections.txt:
18131 * docs/gst/gstreamer.types:
18132 * docs/gst/tmpl/gstpad.sgml:
18133 * docs/gst/tmpl/gsttypes.sgml:
18134 * gst/base/gstadapter.h:
18135 * gst/base/gstbasesink.h:
18136 * gst/base/gstbasesrc.h:
18142 * gst/gstelement.h:
18144 * gst/gstmessage.h:
18146 * gst/gststructure.c:
18147 * gst/registries/gstlibxmlregistry.h:
18148 various documentation fixes
18150 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
18152 * docs/gst/gstreamer-sections.txt:
18153 * docs/gst/tmpl/gstvalue.sgml:
18154 rearrange gstvalue section
18155 * gst/gstutils.c: (gst_element_state_get_name):
18157 * gst/gstvalue.c: (_gst_value_initialize):
18161 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
18163 * check/gst-libs/controller.c:
18164 Header include fix.
18165 * gst/base/gstbasetransform.c:
18166 (gst_base_transform_default_prepare_buf),
18167 (gst_base_transform_handle_buffer):
18168 * gst/base/gstbasetransform.h:
18169 Some more basetransform changes and fixes to enable sub-classes
18170 that modify buffer metadata only.
18171 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
18172 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
18173 (gst_capsfilter_prepare_buf):
18174 If the output pad has fixed allowed caps and input buffers
18175 don't have any, set the fixed caps on outgoing buffers.
18177 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
18178 * check/elements/identity.c: (GST_START_TEST):
18179 Make the error a little clearer when the test fails because
18180 identity made a copy of the buffer.
18181 * docs/gst/gstreamer-sections.txt:
18182 New symbols in gstbasetransform.h
18183 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18184 (gst_base_transform_init), (gst_base_transform_transform_size),
18185 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
18186 (gst_base_transform_default_prepare_buf),
18187 (gst_base_transform_get_unit_size),
18188 (gst_base_transform_buffer_alloc),
18189 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
18190 (gst_base_transform_change_state),
18191 (gst_base_transform_set_passthrough),
18192 (gst_base_transform_set_in_place),
18193 (gst_base_transform_is_in_place):
18194 * gst/base/gstbasetransform.h:
18195 Change BaseTransform to separate in_place operate from same_caps
18196 output. in_place implies that the element can perform the transform
18197 on incoming buffers in-place, even if the caps on the output are
18199 Sub-class elements can now implement special buffer allocation
18200 methods for outgoing buffers if they wish to.
18201 Big documentation addition.
18202 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
18203 * gst/elements/gstelements.c:
18204 Changes for basetransform modifications.
18205 * gst/elements/Makefile.am:
18206 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
18207 Compile fix. Extra debug output.
18209 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18211 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
18213 add tests for valid pad naming
18214 * gst/check/gstcheck.c: (gst_check_log_message_func),
18215 (gst_check_log_critical_func):
18217 remove printing of code, it is fragile when the code contains
18218 % and the line number is enough info
18219 * gst/check/gstcheck.h:
18220 * gst/gstpad.c: (gst_pad_template_new):
18223 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18226 say what CHECK flags we use
18227 * docs/libs/gstreamer-libs.types:
18228 * libs/gst/controller/Makefile.am:
18229 * libs/gst/controller/gst-controller.c:
18230 * libs/gst/controller/gst-controller.h:
18231 * libs/gst/controller/gst-helper.c:
18232 * libs/gst/controller/gst-interpolation.c:
18233 * libs/gst/controller/gstcontroller.c:
18234 * libs/gst/controller/gsthelper.c:
18235 * libs/gst/controller/gstinterpolation.c:
18236 * tools/gst-inspect.c: (print_plugin_info):
18237 we don't use dashes in header names
18239 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
18241 * check/Makefile.am:
18242 * check/gst/.cvsignore:
18243 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
18244 (gst_pipeline_suite), (main):
18245 adding a test for pipelines and state changes
18246 * gst/gstutils.c: (get_state_func):
18248 * gstreamer.spec.in:
18251 2005-09-08 Michael Smith <msmith@fluendo.com>
18253 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
18254 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
18255 (gst_file_src_is_seekable), (gst_file_src_get_size),
18256 (gst_file_src_start):
18257 * gst/elements/gstfilesrc.h:
18258 Various fixes for unseekable, unmmapable, and non-normal files, so
18259 that fallback to read() rather than mmap() works.
18260 * gst/gstevent.c: (gst_event_new_newsegment):
18261 Allow newsegment events with segment_start == segment_end, as will
18262 correctly happen if you use filesrc on a zero-size file, for
18265 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18267 * gst/gstplugin.c: (gst_plugin_load_file):
18268 Call g_module_close when we don't load the module
18270 * gst/registries/gstlibxmlregistry.c:
18271 (gst_xml_registry_get_property):
18272 Port leak fix from 0.8
18274 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18276 * docs/gst/gstreamer-docs.sgml:
18277 * docs/gst/tmpl/.cvsignore:
18278 * docs/gst/tmpl/gsttrace.sgml:
18279 * docs/gst/tmpl/gsttrashstack.sgml:
18282 * gst/gstelement.h:
18284 * gst/gstmessage.c:
18285 * gst/gstmessage.h:
18288 * gst/gsttaginterface.c:
18289 * gst/gsttaginterface.h:
18290 * gst/gsttaglist.c:
18291 * gst/gsttaglist.h:
18292 * gst/gsttagsetter.c:
18293 * gst/gsttagsetter.h:
18296 * gst/gsttrashstack.c:
18297 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
18298 inlined docs for gsttrace, gsttrashstack
18300 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18303 * gst/elements/gstbufferstore.h:
18304 * gst/elements/gsttypefindelement.c:
18305 * gst/elements/gsttypefindelement.h:
18307 * gst/gsttypefind.c:
18308 * gst/gsttypefind.h:
18309 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
18310 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
18311 (gst_type_find_factory_dispose),
18312 (gst_type_find_factory_unload_thyself),
18313 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
18314 (gst_type_find_factory_get_caps),
18315 (gst_type_find_factory_get_extensions),
18316 (gst_type_find_factory_call_function):
18317 * gst/gsttypefindfactory.h:
18318 * gst/registries/gstlibxmlregistry.c:
18319 * gst/registries/gstxmlregistry.c:
18320 splitted gsttypefind into gsttypefind, gsttypefindfactory
18322 2005-09-07 Andy Wingo <wingo@pobox.com>
18324 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
18325 condition whereby the pad's task function is entered before the
18326 pad_mode variable was set.
18328 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
18330 * gst/gstpad.c: (gst_pad_alloc_buffer):
18331 Catch misbehaving pad_alloc functions that don't
18332 set up caps and do it for them.
18334 2005-09-07 Stefan Kost <ensonic@users.sf.net>
18336 * check/pipelines/simple_launch_lines.c: (run_pipeline):
18337 test for pipe!=NULL
18338 * docs/gst/tmpl/.cvsignore:
18339 * docs/gst/tmpl/gstmemchunk.sgml:
18340 * docs/gst/tmpl/gstparse.sgml:
18341 * docs/gst/tmpl/gsttaglist.sgml:
18342 * docs/gst/tmpl/gsttagsetter.sgml:
18343 * docs/gst/tmpl/gsttypefind.sgml:
18344 * docs/gst/tmpl/gsttypefindfactory.sgml:
18345 * gst/gstmemchunk.c:
18348 * gst/gsttaginterface.c:
18349 * gst/gsttypefind.c:
18350 * gst/gsttypefind.h:
18353 === release 0.9.2 ===
18355 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
18360 releasing 0.9.2, "South"
18362 2005-09-05 Andy Wingo <wingo@pobox.com>
18364 * gst/registries/gstxmlregistry.h:
18365 * gst/registries/gstxmlregistry.c: Um... resurrect...
18367 * gst/registries/gstxmlregistry.h:
18368 * gst/registries/gstxmlregistry.c: and update to newer API.
18369 Incidentally they should be a bit faster now that they don't have
18372 2005-09-05 Andy Wingo <wingo@pobox.com>
18374 * gst/registries/gstxmlregistry.h:
18375 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
18376 replaced by the libxml registry a while back
18378 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18380 * docs/gst/tmpl/gstplugin.sgml:
18381 * gst/elements/gstelements.c:
18383 * gst/gstplugin.c: (gst_plugin_register_func),
18384 (gst_plugin_desc_copy), (gst_plugin_desc_free),
18385 (gst_plugin_get_source):
18387 * gst/registries/gstlibxmlregistry.c: (load_plugin),
18388 (gst_xml_registry_save_plugin):
18389 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
18390 (gst_xml_registry_save_plugin):
18391 * tools/gst-inspect.c: (print_plugin_info):
18392 add a "source" plugin description field, to represent the source
18393 module this plugin is a part of. By default GST_PLUGIN_DEFINE
18394 will set it to PACKAGE, which is automake's idea of the name of
18395 the source project.
18397 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
18402 * docs/Makefile.am:
18403 * docs/faq/Makefile.am:
18404 * docs/gst/tmpl/gstelement.sgml:
18405 * docs/gst/tmpl/gsttypes.sgml:
18406 * docs/htmlinstall.mak:
18407 * docs/manual/Makefile.am:
18408 * docs/pwg/Makefile.am:
18409 reorganize doc build a little
18410 split out docbook and gtk-doc stuff
18411 have two separate --enable's and enable them through autogen
18412 but disable by default in configure (to be similar to other
18414 * gstreamer.spec.in:
18415 clean up docs install
18433 translation updates
18435 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
18437 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
18440 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18441 (gst_fake_sink_change_state):
18442 Make state change function thread-safe.
18444 * gst/gstpad.c: (gst_pad_alloc_buffer):
18445 Set offset on generic buffer allocated by fallback.
18447 2005-09-03 Stefan Kost <ensonic@users.sf.net>
18449 * docs/gst/gstreamer-sections.txt:
18450 * docs/gst/tmpl/gstelement.sgml:
18452 * libs/gst/controller/gst-controller.c:
18453 (gst_controlled_property_set_interpolation_mode),
18454 (gst_controlled_property_new),
18455 (gst_controller_find_controlled_property):
18456 run the wingo-magic script against the docs
18458 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18460 * docs/gst/gstreamer-docs.sgml:
18461 * docs/gst/gstreamer-sections.txt:
18462 * docs/gst/tmpl/.cvsignore:
18463 * docs/gst/tmpl/gstelementdetails.sgml:
18464 * docs/gst/tmpl/gstelementfactory.sgml:
18467 * gst/gstelementfactory.c:
18468 * gst/gstelementfactory.h:
18469 merged elementdetails docs into elementfactory docs
18472 2005-09-02 Andy Wingo <wingo@pobox.com>
18474 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
18475 consider this enum an enum and not a flags.
18477 2005-09-02 Stefan Kost <ensonic@users.sf.net>
18479 * docs/gst/gstreamer-docs.sgml:
18480 * docs/gst/tmpl/.cvsignore:
18481 * docs/gst/tmpl/gstghostpad.sgml:
18482 * docs/gst/tmpl/gstiterator.sgml:
18483 * docs/gst/tmpl/gstmacros.sgml:
18484 * docs/gst/tmpl/gstrealpad.sgml:
18485 * docs/gst/tmpl/gstregistry.sgml:
18486 * docs/gst/tmpl/gstregistrypool.sgml:
18487 * docs/gst/tmpl/gststructure.sgml:
18488 * docs/gst/tmpl/gstsystemclock.sgml:
18489 * docs/gst/tmpl/gsttrace.sgml:
18490 * gst/gstghostpad.c:
18492 * gst/gstmemchunk.c:
18493 * gst/gstmemchunk.h:
18495 * gst/gstregistry.c:
18496 * gst/gstregistrypool.c:
18497 * gst/gststructure.c:
18498 * gst/gstsystemclock.c:
18501 2005-09-02 Andy Wingo <wingo@pobox.com>
18503 * gst/gstelement.h (GstState): Renamed from GstElementState,
18504 changed to be a normal enum instead of flags.
18505 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
18506 munged to be GST_STATE_CHANGE_*.
18507 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
18508 work with the new state representation.
18509 (GstStateChange): New enumeration of possible state transitions.
18510 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
18511 (GstElementClass::change_state): Pass the GstStateChange along as
18512 an argument. Helps language bindings, so they don't have to use
18513 tricky lock-needing macros like GST_STATE_CHANGE ().
18515 * scripts/update-states (file): New script. Run it on a file to
18516 update it for state naming and API changes. Updates files in
18519 * All files updated for the new API.
18521 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
18523 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
18524 * gst/gstutils.c: (gst_util_set_value_from_string),
18525 (gst_util_set_object_arg):
18526 fix a bunch of unchecked return values
18527 * tools/gst-complete.c: (main):
18528 * gstreamer.spec.in:
18531 2005-09-01 Wim Taymans <wim@fluendo.com>
18533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18534 (gst_base_sink_event), (gst_base_sink_do_sync),
18535 (gst_base_sink_handle_event):
18536 * gst/base/gstbasesink.h:
18537 Handle newsegments more correctly.
18542 * gst/gstevent.c: (gst_event_new_newsegment):
18543 A newsegment cannot have a start_time of -1
18545 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
18547 * win32/gstenumtypes.c:
18548 * win32/gstenumtypes.h:
18551 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18553 * libs/gst/controller/gst-controller.c:
18554 (gst_controlled_property_set_interpolation_mode),
18555 (gst_controlled_property_new):
18556 fixed boolean again
18558 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
18560 * docs/faq/gst-uninstalled:
18565 * gst/gstutils.c: (gst_element_link_filtered):
18567 add gst_element_link_filtered
18569 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18571 * docs/gst/gstreamer-docs.sgml:
18572 * docs/gst/gstreamer-sections.txt:
18573 * docs/gst/tmpl/.cvsignore:
18574 * docs/gst/tmpl/gsterror.sgml:
18575 * docs/gst/tmpl/gstfilter.sgml:
18576 * docs/gst/tmpl/gsturihandler.sgml:
18577 * docs/gst/tmpl/gsturitype.sgml:
18578 * docs/gst/tmpl/gstutils.sgml:
18579 * docs/gst/tmpl/gstxml.sgml:
18584 * gst/gsturitype.c:
18587 inlined more docs, fixed double id-ref
18589 2005-08-31 Wim Taymans <wim@fluendo.com>
18591 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18592 (gst_base_transform_handle_buffer):
18593 Passthrough elements don't need the caps as they don't care.
18595 2005-08-31 Wim Taymans <wim@fluendo.com>
18597 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
18598 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
18599 Don't leak refcounts on buffers.
18601 2005-08-31 Wim Taymans <wim@fluendo.com>
18603 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
18604 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18605 (gst_base_transform_chain), (gst_base_transform_change_state):
18606 * gst/base/gstbasetransform.h:
18607 Handle the case where we are not negotiated more gracefully.
18609 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
18611 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
18612 (gst_file_src_map_region):
18613 Set READONLY flag on mmap'ed buffers, otherwise
18614 gst_buffer_make_writable() won't work properly (#314708).
18616 2005-08-31 Wim Taymans <wim@fluendo.com>
18618 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
18619 passthrough elements can even do inplace on non writable
18620 buffers (as they don't touch them).
18622 2005-08-31 Stefan Kost <ensonic@users.sf.net>
18624 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
18625 (gst_test_mono_source_set_property),
18626 (gst_test_mono_source_class_init), (GST_START_TEST),
18627 (gst_controller_suite):
18628 more tests (hehe I have the most)
18630 describe popping messages whenusing mulltiple sources
18631 * libs/gst/controller/gst-controller.c:
18632 (gst_controlled_property_set_interpolation_mode),
18633 (gst_controlled_property_new):
18634 * libs/gst/controller/gst-controller.h:
18635 * libs/gst/controller/gst-interpolation.c:
18636 implement boolean properties
18638 2005-08-31 Wim Taymans <wim@fluendo.com>
18640 * gst/gstminiobject.c: (gst_mini_object_ref):
18641 Cannot assert that the refcount has to be positive
18642 since a disposed object can be resurrected.
18644 2005-08-31 Wim Taymans <wim@fluendo.com>
18646 * gst/gstpad.c: (gst_pad_init):
18647 Revert change, need to first fix badly behaving
18650 2005-08-30 Wim Taymans <wim@fluendo.com>
18652 * check/elements/fakesrc.c: (setup_fakesrc):
18653 * check/elements/identity.c: (setup_identity):
18654 Activate pads before using them.
18656 2005-08-30 Wim Taymans <wim@fluendo.com>
18658 * gst/base/gstadapter.c: (gst_adapter_flush):
18659 Flushing out 0 bytes is ok for this function.
18661 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18662 no newsegment gives a warning and sets the start/stop to
18665 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
18666 (gst_base_transform_set_passthrough):
18669 * gst/gstminiobject.c: (gst_mini_object_ref):
18670 Check refcount here too.
18672 * gst/gstpad.c: (gst_pad_init):
18673 Pads are initially flushing and refusing data.
18675 * gst/gstutils.c: (gst_element_link_pads_filtered):
18676 When adding a capsfilter element make sure it has the
18677 same state as the parent bin.
18679 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18681 * docs/gst/tmpl/.cvsignore:
18682 * docs/gst/tmpl/gstformat.sgml:
18683 * docs/gst/tmpl/gstversion.sgml:
18687 * gst/gstversion.h.in:
18688 more docs and two more inlined
18690 2005-08-30 Wim Taymans <wim@fluendo.com>
18692 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
18693 Don't sync to clock.
18695 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18697 * docs/gst/gstreamer-sections.txt:
18698 ultral33t func10ns deserve to appear in the docs actually
18699 * docs/gst/tmpl/.cvsignore:
18700 * docs/gst/tmpl/gstcompat.sgml:
18701 * docs/gst/tmpl/gstconfig.sgml:
18702 * gst/check/gstcheck.c:
18704 * gst/gstconfig.h.in:
18707 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18709 * docs/gst/tmpl/.cvsignore:
18710 * docs/gst/tmpl/gstquery.sgml:
18711 * docs/gst/tmpl/gstutils.sgml:
18714 inlined and extended docs
18716 2005-08-30 Stefan Kost <ensonic@users.sf.net>
18718 * check/gst-libs/controller.c: (GST_START_TEST),
18719 (gst_controller_suite):
18721 * docs/gst/tmpl/gstutils.sgml:
18722 * docs/libs/gstreamer-libs-sections.txt:
18723 * docs/libs/tmpl/gstdataprotocol.sgml:
18725 * examples/controller/audio-example.c: (main):
18726 controller example works now
18729 * tools/gst-inspect.c: (print_element_properties_info):
18730 show param spec flags
18732 2005-08-29 Andy Wingo <wingo@pobox.com>
18734 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
18736 2005-08-28 Andy Wingo <wingo@pobox.com>
18738 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
18739 as having two arguments instead of just one. Allows superclasses
18740 to access information on subclasses -- see the terrible for() loop
18741 in gtype.c:g_type_create_instance for the reason why. All callers
18744 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18746 * docs/design/part-messages.txt:
18748 * docs/gst/tmpl/.cvsignore:
18749 * docs/gst/tmpl/gstcaps.sgml:
18750 * docs/gst/tmpl/gstclock.sgml:
18756 * gst/gstmessage.c:
18757 added descriptions for bus and message
18758 inline caps and clock docs
18760 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18762 * gst/gstmessage.c:
18763 * gst/gstmessage.h:
18766 2005-08-27 Stefan Kost <ensonic@users.sf.net>
18768 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18771 2005-08-26 Andy Wingo <wingo@pobox.com>
18773 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
18774 element_set_state's return val.
18775 (test_2_elements): Add test that's been disabled for months.
18777 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
18778 can-activate-pull properties.
18780 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
18781 can-activate-pull properties. Implement is_seekable so fakesrc can
18782 operate in pull mode.
18784 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
18786 (gst_base_sink_activate, gst_base_sink_activate_pull)
18787 (gst_base_sink_activate_push): Make activation mode choosing work.
18789 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
18790 is right. Make pull mode work. Post an eos before pausing in pull
18792 (gst_base_sink_change_state): Pay attention to the core's
18793 change_state() return val.
18795 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
18796 has-getrange properties. Cleanups.
18798 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
18799 has_getrange and replace with can_activate_pull and
18802 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
18803 locking comments. Remove has_loop, has_chain and replace with
18804 can_activate_pull and can_activate_push.
18806 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
18809 * examples/Makefile.am:
18810 * examples/metadata/Makefile.am:
18811 * examples/metadata/read-metadata.c: (message_loop),
18812 (have_pad_handler), (make_pipeline), (print_tag), (main):
18813 Add metadata reading example that loops over a list of filenames,
18814 dumping any tags found.
18816 * gst/gstbus.c: (gst_bus_dispose):
18817 * gst/gstelement.c: (gst_element_dispose):
18818 Release a few potentially-held references in dispose.
18820 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18822 * docs/gst/tmpl/gstminiobject.sgml:
18823 do *not* add tmpl/*.sgml files to CVS!
18825 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18827 * libs/gst/bytestream/.cvsignore:
18828 * libs/gst/bytestream/Makefile.am:
18829 * libs/gst/bytestream/adapter.c:
18830 * libs/gst/bytestream/adapter.h:
18831 * libs/gst/bytestream/bytestream.c:
18832 * libs/gst/bytestream/bytestream.h:
18833 * libs/gst/bytestream/filepad.c:
18834 * libs/gst/bytestream/filepad.h:
18835 removing obsolete files
18837 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18839 * docs/gst/gstreamer-docs.sgml:
18840 * docs/libs/gstreamer-libs-docs.sgml:
18841 disabed additional index entries again, as this makes docs-gen just
18842 slow and they aren't useful yet
18843 * docs/libs/gstreamer-libs-sections.txt:
18844 little -section.txt cleanup for libs
18846 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
18848 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18849 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
18850 fix up some debugging
18851 (gst_base_transform_get_unit_size),
18852 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
18853 (gst_base_transform_handle_buffer):
18854 * gst/base/gstbasetransform.h:
18855 handle and store timed NEWSEGMENT events so that subclasses that
18856 calculate time by counting samples have a segment_start time they
18857 need to add to their timestamps - see audioresample
18859 2005-08-26 Stefan Kost <ensonic@users.sf.net>
18862 removed ';' from the end of macro defs
18863 * docs/gst/gstreamer-docs.sgml:
18864 * docs/gst/gstreamer-sections.txt:
18865 * docs/gst/tmpl/.cvsignore:
18867 * gst/gstelement.c: (gst_element_class_init),
18868 (gst_element_set_state), (activate_pads),
18869 (gst_element_save_thyself):
18870 * gst/gstevent.c: (gst_event_new_newsegment):
18872 * gst/gstiterator.c:
18873 * gst/gstiterator.h:
18876 * gst/gstutils.c: (gst_pad_query_convert):
18878 fixed parameter name mismatches between source, header and docs
18879 added some more docs, resolved the last batch of unused elements in
18880 docs (now someone needs to doc them)
18882 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18884 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
18885 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
18886 don't walk through the plugins backwards. Where is all this
18887 reversed logic coming from ?
18889 2005-08-25 Wim Taymans <wim@fluendo.com>
18891 * gst/base/gstbasetransform.c: (gst_base_transform_init),
18892 (gst_base_transform_transform_size),
18893 (gst_base_transform_configure_caps),
18894 (gst_base_transform_get_unit_size),
18895 (gst_base_transform_buffer_alloc),
18896 (gst_base_transform_change_state):
18897 * gst/base/gstbasetransform.h:
18898 Cache caps unit_size.
18899 Make sure we cannot negotiate up and downstream at the
18902 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18904 * gst/gst.c: (init_pre), (init_post):
18905 register the installed plugin path after the env var
18906 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
18907 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
18908 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
18909 directories, so the tests can prefer uninstalled over installed
18911 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
18913 * gst/base/gstbasetransform.h:
18918 2005-08-25 Wim Taymans <wim@fluendo.com>
18920 * gst/gstbin.c: (bin_bus_handler):
18921 Be a bit more conservative about the posted message.
18923 * gst/gstbus.c: (gst_bus_post):
18924 Some cleanups, warn wrong return values.
18926 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
18928 * check/gst/gstbin.c: (GST_START_TEST):
18929 * gst/gstbin.c: (bin_bus_handler):
18930 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
18931 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
18932 (gst_message_new_warning), (gst_message_new_tag),
18933 (gst_message_new_state_changed), (gst_message_new_segment_start),
18934 (gst_message_new_segment_done), (gst_message_new_custom):
18935 * gst/gstmessage.h:
18936 * tools/gst-launch.c: (event_loop):
18937 * tools/gst-md5sum.c: (event_loop):
18938 Revert unpopular change for GST_MESSAGE_SRC to GObject.
18940 2005-08-25 Wim Taymans <wim@fluendo.com>
18942 * check/generic/states.c: (GST_START_TEST):
18943 Cleanup can be done at the end.
18945 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
18946 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18947 (gst_task_get_state), (gst_task_start), (gst_task_pause):
18948 Oh boy.. Thanks for finding this, Thomas.
18950 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18952 * docs/gst/gstreamer.types:
18953 added missing types
18955 2005-08-25 Stefan Kost <ensonic@users.sf.net>
18957 * docs/gst/gstreamer-docs.sgml:
18958 * docs/gst/gstreamer-sections.txt:
18959 * docs/gst/tmpl/.cvsignore:
18961 * gst/gstiterator.c:
18963 * gst/registries/gstxmlregistry.h:
18964 added missing classes and symbols (123 more to go)
18965 removed removed symbols from section file
18966 fixed many doc-comments
18968 2005-08-24 Wim Taymans <wim@fluendo.com>
18970 * check/generic/states.c: (GST_START_TEST):
18971 Make sure all tasks are stopped.
18973 * check/gst/gstbin.c: (GST_START_TEST):
18974 Unref after usage for proper valgrinding.
18976 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
18977 Really wait for the task to stop before destroying the
18980 * gst/gstqueue.c: (gst_queue_sink_activate_push),
18981 (gst_queue_src_activate_push):
18982 Small cleanups. Don't stop the task when we did not start
18985 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
18986 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
18987 (gst_task_get_state), (gst_task_start), (gst_task_pause),
18990 Protect the stream lock with the object lock.
18991 Disallow setting the stream lock when running.
18992 Add cleanup_all to wait for the threadpool to finish.
18993 Remove code to autoallocate a mutex if none was provided.
18994 Add _join() to wait for a task to stop.
18995 Protect the thread pool with a global lock.
18997 2005-08-24 Wim Taymans <wim@fluendo.com>
18999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19000 (gst_base_sink_get_times), (gst_base_sink_do_sync),
19001 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
19002 * gst/base/gstbasesink.h:
19003 Handle newsegment events correctly.
19004 Drop buffers out of the segment range.
19006 2005-08-22 Andy Wingo <wingo@pobox.com>
19008 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
19009 macro, implements an interface and gstimplementsinterface for a
19012 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19014 * check/Makefile.am:
19015 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
19016 add a test that does a bunch of state changes on elements
19017 needs some fixing for valgrind
19018 * check/states/sinks.c: (gst_object_suite):
19021 add prototype for gst_caps_is_equal_fixed
19023 * gst/gstregistrypool.c:
19026 2005-08-24 Andy Wingo <wingo@pobox.com>
19028 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
19029 convert a negative value. Doesn't make much sense. Mostly this is
19030 here to force callers to ensure -1 maps to -1.
19032 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19034 * docs/pwg/advanced-types.xml:
19035 Well done to Michael for catching my deliberate introduction
19036 of this spelling mistake.
19037 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
19038 * gst/gstelement.h:
19039 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
19040 unlink pads before removing the element from the bin.
19042 2005-08-24 Andy Wingo <wingo@pobox.com>
19044 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
19045 the same thing as GST_DEBUG=*:4.
19046 (parse_debug_level, parse_debug_category): New helper parsers.
19048 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
19050 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19051 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
19052 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
19053 (gst_base_transform_buffer_alloc),
19054 (gst_base_transform_handle_buffer):
19055 use gboolean return values and pointers to size so we can use the
19056 full GST_BUFFER_SIZE range (guint) for buffer sizes
19057 use GstPadDirection for transform_caps
19058 * gst/base/gstbasetransform.h:
19059 rename get_size to get_unit_size since that's what it is
19060 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
19061 use GstPadDirection for transform_caps
19062 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19064 cleanup and debugging
19066 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19068 * gst/gstelement.c: (gst_element_class_init),
19069 (gst_element_set_state), (activate_pads),
19070 (gst_element_save_thyself):
19071 * tools/gst-compprep.c: (main):
19072 * tools/gst-inspect.c: (print_element_properties_info):
19073 * tools/gst-xmlinspect.c: (print_element_properties):
19074 Fixed long standing mem-leak
19076 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
19078 * check/gst/gstbin.c: (GST_START_TEST):
19079 * gst/gstbin.c: (bin_bus_handler):
19080 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
19081 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
19082 (gst_message_new_warning), (gst_message_new_tag),
19083 (gst_message_new_state_changed), (gst_message_new_segment_start),
19084 (gst_message_new_segment_done), (gst_message_new_custom):
19085 * gst/gstmessage.h:
19086 * tools/gst-launch.c: (event_loop):
19087 * tools/gst-md5sum.c: (event_loop):
19088 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
19089 that applications can sensibly post custom messages with references
19090 to their own objects.
19092 2005-08-24 Andy Wingo <wingo@pobox.com>
19094 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
19097 2005-08-24 Wim Taymans <wim@fluendo.com>
19099 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19100 (gst_base_transform_transform_caps),
19101 (gst_base_transform_transform_size),
19102 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19103 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
19104 (gst_base_transform_handle_buffer):
19105 * gst/base/gstbasetransform.h:
19106 Many fixes and new features added by Thomas. Can now also do
19107 transforms with variable sizes and a custom fixate_caps function.
19109 2005-08-24 Wim Taymans <wim@fluendo.com>
19111 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19115 Cast to ClockTime before formatting to time.
19120 2005-08-24 Stefan Kost <ensonic@users.sf.net>
19122 * check/gst-libs/controller.c: (GST_START_TEST),
19123 (gst_controller_suite):
19124 * docs/gst/tmpl/gstcaps.sgml:
19125 * docs/gst/tmpl/gstghostpad.sgml:
19126 * docs/gst/tmpl/gstquery.sgml:
19127 * docs/gst/tmpl/gstutils.sgml:
19128 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
19129 (gst_object_sink_values), (gst_object_get_value_arrays),
19130 (gst_object_get_value_array):
19131 gracefully handle helper method calls to objects that are not beeing
19132 controlled, added test case for that
19134 2005-08-23 Wim Taymans <wim@fluendo.com>
19136 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
19137 (gst_event_new_newsegment), (gst_event_parse_newsegment),
19138 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
19139 (gst_event_parse_qos), (gst_event_new_seek),
19140 (gst_event_parse_seek):
19142 Some more debugging output and doc cleanups.
19144 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19145 Fix possible deadlock.
19147 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19149 * docs/gst/gstreamer-docs.sgml:
19150 * docs/gst/gstreamer-sections.txt:
19151 * docs/gst/gstreamer.types:
19152 * docs/gst/tmpl/.cvsignore:
19155 * gst/gstelement.c:
19157 added 100 symbols from gstreamer-unused.txt to the right sections
19158 fixed more broken comments
19159 added GstBus to docs
19161 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19163 * docs/gst/gstreamer-sections.txt:
19164 * docs/gst/tmpl/.cvsignore:
19165 * docs/gst/tmpl/gstbin.sgml:
19166 * docs/gst/tmpl/gstbuffer.sgml:
19167 * gst/base/gstbasesrc.c:
19168 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
19171 * tools/gst-launch.1.in:
19172 inlined more doc comments, added missing comments and fixed comments
19175 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
19181 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
19183 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
19184 * gst/gststructure.h:
19185 add a fixate function for booleans; add a FIXME that these func
19186 names should probably be gst_structure_fixate_*
19188 2005-08-23 Stefan Kost <ensonic@users.sf.net>
19190 * docs/gst/gstreamer-docs.sgml:
19191 * docs/gst/gstreamer-sections.txt:
19193 * gst/gstbin.c: (gst_bin_get_type),
19194 (gst_bin_child_proxy_get_child_by_index),
19195 (gst_bin_child_proxy_get_children_count),
19196 (gst_bin_child_proxy_init):
19197 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19198 (gst_child_proxy_get_child_by_index),
19199 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
19200 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
19201 (gst_child_proxy_get), (gst_child_proxy_set_property),
19202 (gst_child_proxy_set_valist), (gst_child_proxy_set),
19203 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
19204 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
19205 * gst/gstchildproxy.h:
19206 * gst/parse/grammar.y:
19207 * tools/gst-inspect.c: (print_interfaces),
19208 (print_element_properties_info), (print_element_info):
19209 ported gstchildproxy over from 0.8
19210 ported gst-inspect fixes and enhancements over from 0.8
19212 2005-08-22 Wim Taymans <wim@fluendo.com>
19214 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
19215 (gst_base_transform_handle_buffer):
19216 Also call the transform function if we have ANY caps.
19218 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
19221 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19223 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
19224 Don't pretend to handle seek events if the source is not seekable
19226 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
19228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19229 Remove extra parameter to debug output
19231 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19232 (gst_base_src_do_seek), (gst_base_src_activate_push):
19233 Fix seek event handling.
19235 * gst/gstpipeline.c: (gst_pipeline_change_state):
19236 * gst/gstqueue.c: (gst_queue_handle_sink_event),
19237 (gst_queue_src_activate_push):
19238 Don't start the src pad task on FLUSH_STOP if the pad
19242 2005-08-22 Wim Taymans <wim@fluendo.com>
19244 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
19245 Added check for gst_static_caps_get() refcounting.
19247 2005-08-22 Wim Taymans <wim@fluendo.com>
19249 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
19250 Make _static_caps_get() refcounting sane.
19252 * gst/gstelement.c: (gst_element_set_state):
19253 Add g_return_val_if_fail() to protect against segfaults.
19255 2005-08-22 Stefan Kost <ensonic@users.sf.net>
19257 * docs/gst/tmpl/gstevent.sgml:
19260 inlined remaining docs, added missing doc comments
19262 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * check/gst/gstbin.c: (GST_START_TEST):
19265 since we don't know when preroll is done, use refcount range
19267 * gst/check/gstcheck.h:
19268 add macro for checking refcount range
19270 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19272 * check/Makefile.am:
19273 clean up environment for when registry gets built versus
19274 when actual tests are run; valgrind seems to not report
19275 leaks if GST_PLUGIN_PATH is set to some specific values
19276 * check/gst/gstbin.c: (GST_START_TEST):
19277 add more refcounting checks; maybe this exposes a
19279 * common/check.mak:
19280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19281 * gst/check/gstcheck.h:
19282 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
19283 (gst_bin_change_state):
19284 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
19285 add/fix debugging/whitespace
19287 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19289 * check/gst/gstevent.c: (event_probe), (test_event),
19291 Er, don't call gst_bin_watch_for_state_change you idiot.
19293 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
19295 * check/Makefile.am:
19296 Use CHECK_CFLAGS and CHECK_LIBS
19297 * check/gst/gstevent.c: (event_probe), (test_event),
19300 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
19301 (gst_base_src_start), (gst_base_src_stop),
19302 (gst_base_src_activate_push), (gst_base_src_activate_pull),
19303 (gst_base_src_change_state):
19304 Sprinkle gst_base_src_stop liberally around error paths to fix
19305 problems reusing a source after failed state changes.
19306 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19307 (helper_find_suggest), (gst_type_find_helper):
19308 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
19310 * docs/gst/tmpl/gstevent.sgml:
19311 Migrate part of the docs from the SGML file. Wait for ensonic to
19312 tell me how I did it wrong ;)
19313 * tools/gst-typefind.c: (main):
19314 Extra robustness to state changes between files.
19316 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
19318 * check/Makefile.am:
19319 don't valgrind the controller test - it's leaking - Stefan, HELP
19320 * gst/check/gstcheck.c: (gst_check_message_error),
19321 (gst_check_chain_func), (gst_check_setup_element),
19322 (gst_check_teardown_element), (gst_check_setup_src_pad),
19323 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
19324 (gst_check_teardown_sink_pad):
19325 * gst/check/gstcheck.h:
19326 add a bunch of methods to set up elements, and src and sink pads
19327 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
19328 * check/elements/identity.c: (setup_identity), (cleanup_identity),
19331 * gst/gstmessage.c:
19333 whitespace/doc fixes
19335 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19337 * gst/gstelement.h:
19338 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
19339 be handled by the application and not always printed as well
19341 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19343 * check/Makefile.am:
19345 * gst/check/gstcheck.c: (gst_check_message_error):
19346 * gst/check/gstcheck.h:
19347 add a fail_unless_equals_int
19348 add fail_unless for error messages
19350 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19352 * check/Makefile.am:
19354 * common/Makefile.am:
19355 * common/check.mak:
19357 factor out some of the common stuff so we can use it
19359 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19361 * check/Makefile.am:
19362 * check/gst/gstiterator.c: (GST_START_TEST):
19363 * check/gst/gstsystemclock.c: (GST_START_TEST),
19364 (gst_systemclock_suite):
19365 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
19367 valgrind more tests
19369 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
19371 * check/elements/.cvsignore:
19372 * check/elements/gstfakesrc.c:
19373 rename to name of element
19374 * check/elements/identity.c: (chain_func), (event_func),
19375 (setup_identity), (cleanup_identity), (GST_START_TEST),
19376 (identity_suite), (main):
19377 add a test for identity
19378 * check/Makefile.am:
19379 * pkgconfig/Makefile.am:
19380 * pkgconfig/gstreamer-check.pc.in:
19381 * pkgconfig/gstreamer-check-uninstalled.pc.in:
19385 move the check stuff to a library that gets installed
19386 * check/gst-libs/controller.c: (GST_START_TEST):
19387 * check/gst-libs/gdp.c:
19388 * check/gst/gst.c: (GST_START_TEST):
19389 * check/gst/gstbin.c:
19390 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19391 * check/gst/gstbus.c:
19392 * check/gst/gstcaps.c: (GST_START_TEST):
19393 * check/gst/gstelement.c:
19394 * check/gst/gstghostpad.c:
19395 * check/gst/gstiterator.c:
19396 * check/gst/gstmessage.c:
19397 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
19398 * check/gst/gstobject.c:
19399 * check/gst/gstpad.c: (GST_START_TEST):
19400 * check/gst/gststructure.c: (GST_START_TEST):
19401 * check/gst/gstsystemclock.c: (GST_START_TEST),
19402 (gst_systemclock_suite):
19403 * check/gst/gsttag.c: (gst_tag_suite):
19404 * check/gst/gstvalue.c:
19405 * check/pipelines/cleanup.c:
19406 * check/pipelines/simple_launch_lines.c:
19407 * check/states/sinks.c:
19408 change include statement
19410 * docs/gst/gstreamer-sections.txt:
19411 * docs/gst/tmpl/gstpad.sgml:
19412 document more pad stuff
19413 * gst/gstminiobject.c: (gst_mini_object_ref),
19414 (gst_mini_object_unref):
19417 2005-08-19 Stefan Kost <ensonic@users.sf.net>
19419 * docs/gst/tmpl/gst.sgml:
19421 eliminate another tmpl file, fix spelling in the long-description
19423 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19425 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19426 (test_event), (timediff), (gstevents_suite):
19427 Should fix build on 64-bit arch's
19429 2005-08-18 Andy Wingo <wingo@pobox.com>
19431 Make sure that when a pipeline goes to PLAYING, that data has
19432 actually hit the sink.
19434 * check/states/sinks.c (test_sink): A sink that doesn't get any
19435 data shouldn't return SUCCESS for going to either PLAYING or
19436 PAUSED. Test also the return values on the way back down.
19438 * gst/gstelement.c (gst_element_set_state): When changing the
19439 state of an element currently changing state asynchronously, go to
19440 lost-state after commiting the pending state. Makes future calls
19441 to get_state continue to return ASYNC.
19443 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
19444 ASYNC when going to PLAYING if we still don't have preroll, as can
19445 happen with live sources.
19447 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19449 * docs/pwg/advanced-types.xml:
19450 Hack long paragraph into 2 chunks as a workaround for buggy
19451 jadetex version in sid and breezy that loops infinitely and
19454 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19456 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19457 (test_event), (timediff), (gstevents_suite):
19458 Provide more error margin in clock measurements to allow for
19459 g_get_current_time inaccuracies.
19461 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19463 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19464 (test_event), (timediff), (gstevents_suite):
19465 Fix error message output so I might be able to tell why the
19466 test works here but fails on the build farm.
19468 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
19470 * check/Makefile.am:
19471 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
19472 (test_event), (timediff), (gstevents_suite), (main):
19475 * docs/design/part-seeking.txt:
19476 Spelling correction
19478 * docs/gst/tmpl/gstevent.sgml:
19479 * docs/gst/tmpl/gstfakesrc.sgml:
19482 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19483 Treat a buffer-without-newsegment the same as a receiving
19484 a newsegment not in time format, and disable syncing to the clock
19487 * gst/gstbus.c: (gst_bus_set_sync_handler):
19488 Assert if anyone tries to replace the existing sync_handler for bus,
19489 as only the owner should be setting it.
19492 Have a fixed set of custom event enums with events identified by
19493 their structure name (as in 0.8), rather than a free-for-all
19494 allowing collisions between enum values from different plugins.
19496 * gst/gstpad.c: (gst_pad_class_init):
19499 * gst/gstqueue.c: (gst_queue_handle_sink_event):
19500 Handle out-of-band downstream events from the sending thread.
19502 2005-08-17 Andy Wingo <wingo@pobox.com>
19504 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
19505 play-timeout==0 to mean no timeout at all. In that case, don't
19506 bother with a get_state or a warning, just return directly, even
19509 * gst/base/gstbasetransform.c: Debug changes.
19512 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
19513 ensure bins post state change messages. A bit of a hack but I can't
19514 think of a way to avoid it.
19516 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
19518 2005-08-16 Andy Wingo <wingo@pobox.com>
19520 * gst/base/gstadapter.h:
19521 * gst/base/gstadapter.c (gst_adapter_take): New function, like
19522 peek() but you own the data. Not terribly efficient atm.
19524 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19526 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
19527 (gst_element_found_tags):
19529 Add two utility functions for tag handling.
19531 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19533 * docs/manual/advanced-dataaccess.xml:
19534 * docs/manual/basics-helloworld.xml:
19535 Fix docs to use _bin_add() before _link(), which fixes the examples
19536 with recent core versions (reported by Madhan Raj M
19537 <raj_madan@rediffmail.com>, #313199).
19539 2005-08-16 Wim Taymans <wim@fluendo.com>
19541 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19542 Added subtract checks.
19544 * docs/design/part-events.txt:
19545 Some more docs about newsegment
19547 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
19550 * gst/gstcaps.c: (gst_caps_to_string):
19551 Add comments, cleanups.
19553 * gst/gstelement.c: (gst_element_save_thyself):
19556 * gst/gstvalue.c: (gst_value_collect_int_range),
19557 (gst_string_unwrap), (gst_value_union_int_int_range),
19558 (gst_value_union_int_range_int_range),
19559 (gst_value_intersect_int_int_range),
19560 (gst_value_intersect_int_range_int_range),
19561 (gst_value_intersect_double_double_range),
19562 (gst_value_intersect_double_range_double_range),
19563 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
19564 (gst_value_subtract_int_range_int),
19565 (gst_value_subtract_double_range_double),
19566 (gst_value_subtract_double_range_double_range),
19567 (gst_value_subtract_from_list), (gst_value_subtract_list),
19568 (gst_value_can_compare), (gst_value_compare_fraction):
19569 Cleanups, add comments, remove unneeded asserts.
19571 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19573 * tools/gst-launch.c: (event_loop):
19574 don't convert NULL structures to strings
19576 2005-08-15 Stefan Kost <ensonic@users.sf.net>
19578 * docs/gst/gstreamer-sections.txt:
19579 made some defines private
19580 * docs/gst/tmpl/gstconfig.sgml:
19581 * docs/gst/tmpl/gstqueue.sgml:
19582 * docs/gst/tmpl/gsttaglist.sgml:
19583 * docs/gst/tmpl/gsttypes.sgml:
19584 * docs/gst/tmpl/gstutils.sgml:
19585 * docs/pwg/appendix-porting.xml:
19586 * gst/base/gstbasesink.h:
19587 * gst/base/gstbasesrc.c:
19588 * gst/base/gstbasesrc.h:
19589 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
19590 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
19591 * gst/gstelement.c: (gst_element_class_init):
19592 * gst/gstpad.c: (gst_pad_class_init):
19593 * gst/gstqueue.c: (gst_queue_class_init):
19594 * gst/gstxml.c: (gst_xml_class_init):
19595 documented all undocumented signal inline
19596 * libs/gst/controller/gst-controller.h:
19599 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19601 * docs/pwg/appendix-porting.xml:
19602 Document _set_link_function -> _set_setcaps_function.
19604 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
19606 * check/Makefile.am:
19607 add a .check target for running the check
19608 * check/gst-libs/controller.c: (GST_START_TEST):
19610 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
19611 complete checks for gstbuffer; would be nice if I could get the
19612 gcov stuff to work so I can see if I actually completed gstbuffer.c
19613 * check/gstcheck.h:
19614 add ASSERT_BUFFER_REFCOUNT
19616 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
19618 * docs/gst/gstreamer-sections.txt:
19619 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
19621 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
19622 spew out a warning if a tag that is already registered
19623 is re-registered, unless it is re-registered with a
19624 different type (#308438).
19626 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
19628 * docs/pwg/appendix-porting.xml:
19629 * docs/pwg/building-state.xml:
19630 Add some paragraphs about state changes in 0.9 to the PWG
19631 and the porting guide, in particular about the new meaning
19632 of GST_STATE_PAUSED and how to write state change functions
19633 with concurrent access by multiple threads in mind.
19635 2005-08-11 Stefan Kost <ensonic@users.sf.net>
19637 * docs/gst/gstreamer-docs.sgml:
19638 * docs/libs/gstreamer-libs-docs.sgml:
19639 added deprecation and since indexes
19640 * libs/gst/controller/gst-controller.c:
19641 * libs/gst/controller/gst-helper.c:
19645 2005-08-11 Wim Taymans <wim@fluendo.com>
19647 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
19648 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
19649 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
19650 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
19651 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
19652 (gst_ghost_pad_set_target):
19653 Actually implement (re)setting the target on a ghostpad
19654 as described in the docs.
19656 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19658 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
19659 Check whether GST_DEBUG_NO_COLOR environment variable is
19660 set and disable coloured debug output if that is the case.
19662 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
19664 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19665 (gst_type_find_helper):
19666 The memory returned by gst_type_find_peek() needs to
19667 stay valid until the end of a typefind function, and
19668 typefind functions may keep results from different
19669 offsets around, so we can't just unref the buffer from
19670 the previous _peek(), but have to save all buffers
19671 returned by _peek() until typefinding is done and only
19674 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
19676 * docs/gst/gstreamer-sections.txt:
19678 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
19680 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19682 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19683 Fix a pretty good memleak.
19685 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19687 * gst/gstiterator.h:
19688 Fix wrong include and 'make distcheck'.
19690 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19692 * gst/gstbin.c: (bin_bus_handler):
19693 Use gst_element_post_message() instead.
19695 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
19697 * gst/base/gstadapter.h:
19698 * gst/base/gstbasesink.h:
19699 * gst/base/gstbasesrc.h:
19700 * gst/base/gstbasetransform.h:
19701 * gst/base/gstcollectpads.h:
19702 * gst/base/gstpushsrc.h:
19703 * gst/gstiterator.h:
19704 Add padding to our base elements' class and instance structs and
19705 to GstIterator (you will need to rebuild all plugins and apps!)
19707 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19709 * gst/gstbin.c: (bin_bus_handler):
19710 Make default message forwarding from child->bus to bin->bus
19711 threadsafe and make it not emit warnings if the parent has no bus.
19713 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19715 * gst/gstelement.c: (activate_pads):
19716 On paused->ready, set pad->caps to NULL, as is the documented
19717 behaviour in this state change. Fixes playback of series of
19718 media files when visualization is enabled in Totem.
19720 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19722 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
19723 Allow NULL as filter-caps (which means "any").
19725 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19727 * docs/libs/gstreamer-libs-sections.txt:
19728 * libs/gst/controller/gst-controller.c:
19729 * libs/gst/controller/gst-controller.h:
19730 * libs/gst/controller/gst-helper.c:
19731 adding more entries to the docs and fix small doc-bugs
19733 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19735 * docs/gst/gstreamer-docs.sgml:
19736 * docs/gst/gstreamer-sections.txt:
19737 * docs/gst/gstreamer.types:
19738 * docs/gst/tmpl/gstbasesink.sgml:
19739 * docs/gst/tmpl/gstbasesrc.sgml:
19740 * docs/gst/tmpl/gstbasetransform.sgml:
19741 * docs/gst/tmpl/gstfakesrc.sgml:
19742 * gst/base/gstcollectpads.c:
19743 * gst/base/gstcollectpads.h:
19744 * libs/gst/controller/gst-controller.c:
19745 * libs/gst/controller/gst-controller.h:
19746 * libs/gst/controller/gst-helper.c:
19747 * libs/gst/controller/gst-interpolation.c:
19748 * libs/gst/controller/lib.c:
19749 added long/short desc for controller docs
19750 added collectpads base class docs
19751 added correct includes to base-class docs
19753 2005-08-05 Stefan Kost <ensonic@users.sf.net>
19755 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19756 (gst_test_mono_source_set_property),
19757 (gst_test_mono_source_class_init), (GST_START_TEST),
19758 (gst_controller_suite):
19759 * docs/gst/gstreamer-docs.sgml:
19760 * docs/gst/gstreamer-sections.txt:
19761 * docs/gst/gstreamer.types:
19762 * docs/libs/gstreamer-libs-docs.sgml:
19763 * docs/libs/gstreamer-libs-sections.txt:
19764 * gst/base/gstadapter.c:
19765 * libs/gst/controller/gst-controller.c:
19766 (gst_controlled_property_new), (gst_controlled_property_free),
19767 (gst_controller_new_valist),
19768 (gst_controller_remove_properties_valist),
19769 (gst_controller_sink_values), (_gst_controller_finalize):
19770 * libs/gst/controller/gst-controller.h:
19771 * libs/gst/controller/gst-helper.c:
19772 (gst_object_control_properties), (gst_object_uncontrol_properties),
19773 (gst_object_get_controller), (gst_object_set_controller),
19774 (gst_object_sink_values), (gst_object_get_value_arrays),
19775 (gst_object_get_value_array):
19776 more tests (and fixes) for the controller
19777 more docs for the controller
19778 integrated companies docs for the adapter
19780 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
19782 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
19783 (GST_START_TEST), (fakesrc_suite):
19784 add tests for sizetype
19786 2005-08-04 Andy Wingo <wingo@pobox.com>
19788 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
19789 fixes buffer_alloc proxying among other things.
19791 * gst/base/gstbasetransform.c:
19792 * gst/base/gstbasetransform.h:
19793 Revert patch to gstbasetransform from 7-28 removing
19796 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
19797 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
19798 Semantics changed, should return not the size of the output buffer
19799 but the byte size of a buffer with a given caps.
19801 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
19803 (gst_base_transform_configure_caps): Don't set out_size here: (in,
19804 out) are not the pad caps until setcaps finishes.
19805 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
19806 not-in-place case as well. Deal with changing from in-place to
19807 not-in-place within calling pad_alloc_buffer. Still a bit
19808 concerned about the overhead here...
19810 2005-08-03 Andy Wingo <wingo@pobox.com>
19812 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
19813 fixating is an error.
19815 2005-08-04 Edward Hervey <edward@fluendo.com>
19817 * gst/base/gstadapter.h:
19818 Added gst_adapter_get_type() to the header
19820 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19822 * check/Makefile.am:
19823 * check/gst-libs/controller.c:
19824 * libs/gst/controller/gst-controller.c:
19825 (gst_controller_new_valist):
19826 added check test suite for the controller
19827 * gst/base/gstpushsrc.c:
19830 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19832 * docs/gst/Makefile.am:
19833 * docs/gst/gstreamer-docs.sgml:
19834 * docs/gst/gstreamer-sections.txt:
19835 * docs/gst/gstreamer.types:
19836 * docs/gst/tmpl/gstfakesrc.sgml:
19838 * gst/base/gstbasesink.c:
19839 * gst/base/gstbasesink.h:
19840 * gst/base/gstbasesrc.c:
19841 * gst/base/gstbasesrc.h:
19842 * gst/base/gstbasetransform.c:
19843 * gst/base/gstpushsrc.c:
19844 * gst/base/gstpushsrc.h:
19845 add short/long description docs to base classes
19846 add pushsrc to the docs
19847 remove consolidated doc fragments
19849 2005-08-03 Stefan Kost <ensonic@users.sf.net>
19852 * docs/libs/Makefile.am:
19853 * docs/libs/gstreamer-libs-docs.sgml:
19854 * docs/libs/gstreamer-libs-sections.txt:
19855 * docs/libs/gstreamer-libs.types:
19856 * examples/Makefile.am:
19857 * examples/controller/.cvsignore:
19858 * examples/controller/Makefile.am:
19859 * examples/controller/audio-example.c: (main):
19860 * libs/gst/Makefile.am:
19861 * libs/gst/controller/.cvsignore:
19862 * libs/gst/controller/Makefile.am:
19863 * libs/gst/controller/gst-controller.c:
19864 (on_object_controlled_property_changed), (gst_timed_value_compare),
19865 (gst_timed_value_find),
19866 (gst_controlled_property_set_interpolation_mode),
19867 (gst_controlled_property_new), (gst_controlled_property_free),
19868 (gst_controller_find_controlled_property),
19869 (gst_controller_new_valist), (gst_controller_new),
19870 (gst_controller_remove_properties_valist),
19871 (gst_controller_remove_properties), (gst_controller_set),
19872 (gst_controller_set_from_list), (gst_controller_unset),
19873 (gst_controller_get), (gst_controller_get_all),
19874 (gst_controller_sink_values), (gst_controller_get_value_arrays),
19875 (gst_controller_get_value_array),
19876 (gst_controller_set_interpolation_mode),
19877 (_gst_controller_finalize), (_gst_controller_init),
19878 (_gst_controller_class_init), (gst_controller_get_type):
19879 * libs/gst/controller/gst-controller.h:
19880 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
19881 (g_object_uncontrol_properties), (g_object_get_controller),
19882 (g_object_set_controller), (g_object_sink_values),
19883 (g_object_get_value_arrays), (g_object_get_value_array):
19884 * libs/gst/controller/gst-interpolation.c:
19885 (gst_controlled_property_find_timed_value_node),
19886 (interpolate_none_get), (interpolate_trigger_get),
19887 (interpolate_trigger_get_value_array):
19888 * libs/gst/controller/lib.c: (gst_controller_init):
19889 * pkgconfig/Makefile.am:
19890 * pkgconfig/gstreamer-control-uninstalled.pc.in:
19891 * pkgconfig/gstreamer-control.pc.in:
19892 * testsuite/Makefile.am:
19893 * testsuite/controller/.cvsignore:
19894 * testsuite/controller/Makefile.am:
19895 * testsuite/controller/interpolator.c: (main):
19896 added controller code
19897 removed dparam pc files
19899 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19900 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
19901 (gst_collectpads_stop):
19902 Broadcast the condition when shutting down, to make sure we wake all
19903 threads up. Shut down pads on finalize, for safety.
19905 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
19906 * gst/base/gstbasetransform.c: (gst_base_transform_init),
19907 (gst_base_transform_handle_buffer),
19908 (gst_base_transform_change_state):
19909 Handle PAUSED->READY->PAUSED transition after negotiation
19911 * gst/gstmessage.c: (gst_message_init):
19912 Extra piece of debug for new messages.
19914 2005-08-01 Stefan Kost <ensonic@users.sf.net>
19917 * docs/gst/tmpl/gstbasesrc.sgml:
19918 * docs/gst/tmpl/gstelement.sgml:
19919 * docs/gst/tmpl/gstevent.sgml:
19920 * docs/gst/tmpl/gstfakesrc.sgml:
19921 * docs/gst/tmpl/gstformat.sgml:
19922 * docs/gst/tmpl/gstghostpad.sgml:
19923 * docs/gst/tmpl/gstpad.sgml:
19924 * docs/gst/tmpl/gstquery.sgml:
19925 * docs/gst/tmpl/gststructure.sgml:
19926 * docs/gst/tmpl/gsttaglist.sgml:
19927 * docs/gst/tmpl/gstvalue.sgml:
19928 * docs/libs/gstreamer-libs-docs.sgml:
19929 * docs/libs/gstreamer-libs-sections.txt:
19930 * docs/libs/gstreamer-libs.types:
19931 * libs/gst/Makefile.am:
19932 * libs/gst/control/.cvsignore:
19933 * libs/gst/control/Makefile.am:
19934 * libs/gst/control/control.c:
19935 * libs/gst/control/control.h:
19936 * libs/gst/control/dparam.c:
19937 * libs/gst/control/dparam.h:
19938 * libs/gst/control/dparam_smooth.c:
19939 * libs/gst/control/dparam_smooth.h:
19940 * libs/gst/control/dparamcommon.h:
19941 * libs/gst/control/dparammanager.c:
19942 * libs/gst/control/dparammanager.h:
19943 * libs/gst/control/dplinearinterp.c:
19944 * libs/gst/control/dplinearinterp.h:
19945 * libs/gst/control/unitconvert.c:
19946 * libs/gst/control/unitconvert.h:
19947 * testsuite/Makefile.am:
19948 * testsuite/dynparams/.cvsignore:
19949 * testsuite/dynparams/Makefile.am:
19950 * testsuite/dynparams/dparamstest.c:
19951 * tools/Makefile.am:
19952 * tools/gst-inspect.c: (print_element_info), (main):
19953 * tools/gst-xmlinspect.c: (print_element_info), (main):
19954 deactivate and remove dparams (libgstcontrol)
19956 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19958 * gst/elements/gsttypefindelement.c:
19959 (gst_type_find_element_have_type), (gst_type_find_element_init),
19960 (stop_typefinding), (gst_type_find_element_handle_event),
19961 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19962 * gst/elements/gsttypefindelement.h:
19963 Set caps on all outgoing buffers, not just the first one.
19965 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19967 * gst/elements/gsttypefindelement.c:
19968 (gst_type_find_element_have_type),
19969 (gst_type_find_element_check_set_buffer_caps),
19970 (gst_type_find_element_init), (stop_typefinding),
19971 (gst_type_find_element_handle_event),
19972 (gst_type_find_element_chain), (gst_type_find_element_getrange):
19973 * gst/elements/gsttypefindelement.h:
19974 Set caps on first outgoing buffer when we've found the type.
19976 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
19978 * docs/gst/gstreamer-docs.sgml:
19979 * docs/gst/gstreamer-sections.txt:
19980 * docs/gst/tmpl/gstscheduler.sgml:
19981 * docs/gst/tmpl/gstschedulerfactory.sgml:
19982 Remove some old cruft from docs.
19984 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
19987 Fix inline docs for GstPadLinkReturn.
19989 * gst/gststructure.c: (gst_structure_has_name):
19990 * gst/gststructure.h:
19991 * docs/gst/gstreamer-sections.txt:
19992 New API: gst_structure_has_name().
19994 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
19997 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
19998 and _LARGEFILE_SOURCE in config.h as required. Do not
19999 export those flags in our .pc files any longer (#142209).
20001 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
20003 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
20004 (gst_file_sink_do_seek), (gst_file_sink_event),
20005 (gst_file_sink_get_current_offset), (gst_file_sink_render):
20006 Redo seek/tell calls with large file support in mind; add some
20007 debugging messages; add log message that tells us when large
20008 file support is unavailable or not enabled for some reason.
20010 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
20011 Add log message that tells us when large file support
20012 is unavailable or not enabled for some reason.
20014 2005-07-29 Wim Taymans <wim@fluendo.com>
20016 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20017 Added test for removing an element with ghostpad from a bin.
20018 Fixed test as current implementation does the right thing.
20020 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
20021 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
20022 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
20023 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
20024 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
20025 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
20026 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
20027 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
20028 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
20029 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
20030 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
20031 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
20032 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
20033 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
20034 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
20035 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
20036 * gst/gstghostpad.h:
20037 Clean up ghostpads, remove properties for internal stuff.
20040 Prepare for switching targets, not all use cases work yet.
20042 2005-07-29 Wim Taymans <wim@fluendo.com>
20044 * docs/design/part-gstghostpad.txt:
20047 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20048 (gst_bin_remove_func):
20049 Unlinking pads while holding the bin LOCK is not a good
20052 * gst/gstpad.c: (gst_pad_class_init),
20053 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
20054 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
20055 No prob setting template after creating the pad.
20057 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
20059 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
20060 (gst_bus_peek), (gst_bus_source_dispatch),
20061 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
20062 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
20063 gst_bus_poll may be called from other threads. Handle
20064 this nicely by not making poll_data disappear off the
20065 stack once gst_bus_poll returns.
20066 gst_bus_peek now increments the refcount on the returned
20069 2005-07-29 Wim Taymans <wim@fluendo.com>
20071 * docs/design/part-gstghostpad.txt:
20072 Overview of current GhostPad datastructures and use
20073 cases for changing the target.
20075 2005-07-28 Wim Taymans <wim@fluendo.com>
20077 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20078 Added checks for hierarchy consistency whan adding linked
20081 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20082 Added check to test element scheduling without bin/pipeline.
20084 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20085 First add elements to bin, then link.
20087 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
20088 (gst_bin_remove_func):
20089 Unlink pads from elements added/removed from bin to maintain
20090 hierarchy consistency.
20092 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20094 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20095 (gst_base_transform_handle_buffer):
20096 * gst/base/gstbasetransform.h:
20097 Remove broken delay_configure (fixes renegotiation of software
20098 scaling pipelines); remove some leftover printf()s.
20100 2005-07-28 Wim Taymans <wim@fluendo.com>
20102 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20103 Added some more tests for wrong hierarchy
20105 * docs/design/part-overview.txt:
20108 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
20111 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
20112 (gst_element_dispose):
20113 Some more cleanups.
20115 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
20116 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
20117 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20118 (gst_pad_set_caps), (gst_pad_send_event):
20119 Check for correct hierarchy when linking pads. Moving to
20120 strict requirement for ghostpads when linking elements in
20124 Clean ups. Added WRONG_HIERARCHY return value.
20126 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20128 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20129 Better debug if no transform is possible.
20131 2005-07-27 Wim Taymans <wim@fluendo.com>
20133 * docs/random/wtay/network-transp:
20134 Some old doc I had.
20136 2005-07-27 Wim Taymans <wim@fluendo.com>
20138 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20139 (gst_dp_event_from_packet):
20140 Fix serialization of seek events.
20142 2005-07-27 Wim Taymans <wim@fluendo.com>
20144 * check/gst-libs/gdp.c: (GST_START_TEST):
20145 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20146 Fix compilation and fix event serialization.
20148 2005-07-27 Wim Taymans <wim@fluendo.com>
20151 * docs/design/part-TODO.txt:
20152 * docs/design/part-events.txt:
20155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20156 (gst_base_sink_event), (gst_base_sink_do_sync),
20157 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20158 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20159 (gst_base_src_do_seek), (gst_base_src_event_handler),
20160 (gst_base_src_loop):
20161 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20162 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20163 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20164 (gst_base_transform_event), (gst_base_transform_handle_buffer),
20165 (gst_base_transform_set_passthrough),
20166 (gst_base_transform_is_passthrough):
20167 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20168 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20174 * gst/gstelement.c: (gst_element_seek):
20175 * gst/gstelement.h:
20176 Update gst_element_seek.
20178 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
20179 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
20180 (gst_event_new_flush_start), (gst_event_new_flush_stop),
20181 (gst_event_new_eos), (gst_event_new_newsegment),
20182 (gst_event_parse_newsegment), (gst_event_new_tag),
20183 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
20184 (gst_event_parse_qos), (gst_event_new_seek),
20185 (gst_event_parse_seek), (gst_event_new_navigation):
20187 Make GstEvent use GstStructure. Add parsing code, make sure the
20188 API is sufficiently generic.
20189 Mark possible directions of events and serialization.
20191 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
20192 (_gst_message_copy), (gst_message_new_segment_start),
20193 (gst_message_new_segment_done), (gst_message_new_custom),
20194 (gst_message_parse_segment_start),
20195 (gst_message_parse_segment_done):
20198 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20199 (gst_pad_set_caps), (gst_pad_send_event):
20200 Update for new events.
20201 Catch events sent in wrong directions.
20203 * gst/gstqueue.c: (gst_queue_link_src),
20204 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
20205 (gst_queue_handle_src_query):
20210 Remove event code from this file.
20212 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
20213 (gst_dp_event_from_packet):
20216 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20218 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
20219 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20220 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
20221 Make debugging actually useful.
20223 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20225 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
20226 (gst_pad_fixate_caps):
20227 Implement default fixation once again, so that gst_pad_fixate()
20228 actually does anything at all. This probably needs to be some
20229 sort of a last resort, and use profile-based fixation first, but
20230 since that doesn't exist yet, this is the best we have. Fixes
20231 visualization in Totem.
20233 2005-07-22 Wim Taymans <wim@fluendo.com>
20235 * docs/design/part-events.txt:
20238 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20239 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
20240 (gst_base_sink_activate_pull):
20241 Some more comments.
20243 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
20244 (gst_fake_src_create):
20245 Fix handoff marshall.
20247 * gst/elements/gstidentity.c: (gst_identity_class_init),
20248 (gst_identity_transform_ip):
20249 We're a real inplace element.
20251 * gst/gstbus.c: (gst_bus_post):
20252 Added some comments.
20254 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
20255 * tests/muxing/case1.c: (main):
20256 * tests/sched/dynamic-pipeline.c: (main):
20257 * tests/sched/interrupt1.c: (main):
20258 * tests/sched/interrupt2.c: (main):
20259 * tests/sched/interrupt3.c: (main):
20260 * tests/sched/runxml.c: (main):
20261 * tests/sched/sched-stress.c: (main):
20262 * tests/seeking/seeking1.c: (event_received), (main):
20263 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20265 * tests/threadstate/threadstate3.c: (main):
20266 * tests/threadstate/threadstate4.c: (main):
20267 * tests/threadstate/threadstate5.c: (main):
20270 2005-07-21 Wim Taymans <wim@fluendo.com>
20272 * docs/design/part-seeking.txt:
20273 Some small additions.
20275 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20276 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20277 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
20278 * gst/base/gstbasesink.h:
20279 discont values are gint64, handle the math correctly.
20281 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20282 Make the basesrc report error if the source pad is not linked.
20284 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20285 (gst_queue_loop), (gst_queue_handle_src_query),
20286 (gst_queue_src_activate_push):
20287 Make queue collect data even if the srcpad is not linked.
20288 Start pushing out data as soon as it is linked.
20290 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
20292 Added gst_flow_get_name() to ease error reporting.
20294 2005-07-20 Wim Taymans <wim@fluendo.com>
20296 * gst/gstmessage.c: (gst_message_new_segment_start),
20297 (gst_message_new_segment_done), (gst_message_parse_segment_start),
20298 (gst_message_parse_segment_done):
20299 * gst/gstmessage.h:
20300 Added a bunch of messages for advanced seeking.
20302 * gst/parse/grammar.y:
20303 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
20304 (gst_dpman_state_changed):
20305 Fix some new-pad -> pad-added signals
20307 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20309 * docs/manual/appendix-porting.xml:
20310 * docs/pwg/appendix-porting.xml:
20311 Document new-pad/state-change signal renames and the FixedList
20314 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20316 * docs/manual/advanced-autoplugging.xml:
20317 * docs/manual/basics-helloworld.xml:
20318 * docs/manual/basics-pads.xml:
20319 * docs/random/ds/0.9-suggested-changes:
20320 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
20321 * gst/gstelement.h:
20325 * gst/gststructure.c: (gst_structure_value_get_generic_type),
20326 (gst_structure_parse_array), (gst_structure_parse_value):
20327 * gst/gstvalue.c: (gst_type_is_fixed),
20328 (gst_value_list_prepend_value), (gst_value_list_append_value),
20329 (gst_value_list_get_size), (gst_value_list_get_value),
20330 (gst_value_transform_array_string), (gst_value_serialize_array),
20331 (gst_value_deserialize_array), (gst_value_intersect_array),
20332 (gst_value_is_fixed), (_gst_value_initialize):
20334 GstElement::new-pad -> pad-added, GstElement::state-change ->
20335 state-changed, GstValueFixedList -> GstValueArray, add format and
20336 flags as their own arguments in gst_element_seek() (should improve
20337 "bindeability"), remove function generators since they don't work
20338 under a whole bunch of compilers (they were deprecated already
20341 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20343 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20344 (_gst_debug_register_funcptr):
20346 Fix illegal cast on some platforms (#309253).
20348 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20350 * gst/gstmessage.c: (gst_message_new_custom):
20351 * gst/gstmessage.h:
20352 Add _new_custom, make _new_application a macro to _new_custom.
20354 2005-07-20 Wim Taymans <wim@fluendo.com>
20356 * gst/base/gstbasesrc.c: (gst_base_src_init),
20357 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20358 * gst/base/gstbasesrc.h:
20359 Add a gboolean to decide when to push out a discont.
20361 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20362 (gst_queue_loop), (gst_queue_handle_src_query),
20363 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
20364 (gst_queue_set_property), (gst_queue_get_property):
20367 * tests/threadstate/threadstate1.c: (main):
20368 Make a thread test compile and run... very silly..
20371 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20373 * docs/manual/appendix-porting.xml:
20374 Mention removal of libgstgconf-0.9.la and existence of gconf
20377 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20379 * docs/pwg/advanced-clock.xml:
20380 * docs/pwg/appendix-porting.xml:
20381 * docs/pwg/intro-preface.xml:
20382 * docs/pwg/other-base.xml:
20383 * docs/pwg/other-manager.xml:
20384 * docs/pwg/other-nton.xml:
20385 * docs/pwg/other-ntoone.xml:
20386 * docs/pwg/other-oneton.xml:
20387 * docs/pwg/pwg.xml:
20388 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
20389 demuxer), remove n-to-n (was never written), fix some code examples
20390 and links and update the porting section to include all this.
20392 2005-07-19 Wim Taymans <wim@fluendo.com>
20394 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
20395 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
20396 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
20397 (gst_queue_src_activate_push), (gst_queue_change_state),
20398 (gst_queue_get_property):
20400 Propagate GstFlowReturn more intelligently upstream and output
20401 an ERROR/EOS when streaming stopped due to fatal error.
20403 2005-07-19 Wim Taymans <wim@fluendo.com>
20405 * tools/gst-launch.c: (check_intr), (event_loop), (main):
20406 Don't block forever for the state change to complete, the
20407 pipeline already did with a sensible timeout.
20409 2005-07-19 Wim Taymans <wim@fluendo.com>
20411 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20412 Make sure we never call the create function is we
20415 2005-07-19 Andy Wingo <wingo@pobox.com>
20417 * gst/parse/parse.l: Attempt to solve bug #172815.
20419 2005-07-19 Wim Taymans <wim@fluendo.com>
20421 * docs/design/part-clocks.txt:
20422 * docs/design/part-events.txt:
20423 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
20424 Small docs updates.
20425 Only update the seeking values when we are not
20428 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20430 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20431 Oops, ignore the result of gst_pad_push_event here.
20433 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
20435 * gst/base/gstbasesrc.c: (gst_base_src_loop),
20436 (gst_base_src_activate_push):
20437 Send discont event from the loop function, as pads
20438 aren't activated yet in the activate_push handler.
20440 * gst/gstbin.c: (bin_bus_handler):
20441 Don't leak element name.
20443 2005-07-18 Andy Wingo <wingo@pobox.com>
20445 * configure.ac: Use AS_LIBTOOL_TAGS.
20447 2005-07-18 Wim Taymans <wim@fluendo.com>
20449 * docs/gst/gstreamer.types:
20450 Remove deleted types.
20452 2005-07-18 Wim Taymans <wim@fluendo.com>
20454 * check/elements/gstfakesrc.c: (GST_START_TEST):
20457 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
20458 (init_popt_callback):
20460 * gst/gst_private.h:
20461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
20462 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
20465 * gst/gstconfig.h.in:
20466 * gst/gstelement.c: (gst_element_class_init),
20467 (gst_element_set_base_time), (gst_element_get_base_time),
20468 (iterator_fold_with_resync), (gst_element_change_state),
20469 (gst_element_dispose), (gst_element_get_bus):
20470 * gst/gstelement.h:
20471 * gst/gstelementfactory.h:
20472 * gst/gsterror.c: (_gst_core_errors_init):
20475 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20477 * gst/gstinfo.c: (_gst_debug_init):
20478 * gst/gstmessage.c: (_gst_message_copy):
20479 * gst/gstmessage.h:
20480 * gst/gstminiobject.h:
20483 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20484 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
20487 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
20488 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20489 (gst_pipeline_get_last_stream_time):
20490 * gst/gstpipeline.h:
20491 * gst/gstpluginfeature.h:
20493 * gst/gstscheduler.c:
20494 * gst/gstscheduler.h:
20495 * gst/gststructure.h:
20496 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
20497 (gst_task_finalize), (gst_task_func), (gst_task_create),
20498 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
20499 (gst_task_stop), (gst_task_pause):
20501 * gst/gsttypefind.h:
20503 * gst/registries/gstlibxmlregistry.c: (load_feature),
20504 (gst_xml_registry_load), (gst_xml_registry_save_feature):
20505 * gst/registries/gstxmlregistry.c:
20506 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
20507 * gst/schedulers/threadscheduler.c:
20508 * libs/gst/control/dparammanager.h:
20509 * tools/gst-inspect.c: (print_element_list),
20510 (print_plugin_features), (print_element_features):
20511 * tools/gst-xmlinspect.c: (print_element_list),
20512 (print_plugin_info), (main):
20513 Removed plugable schedulers.
20514 Removed Scheduler/Manager from elements.
20515 Removed gsttypes.h, rearranged includes.
20516 Removed dependency pad<->element, element<>pipeline, and
20517 various others, fix includes.
20518 implement gst_pad_get_parent() with gst_object_get_parent()
20519 Make GstTask sefcontained.
20520 Fix _get_state() on GstBin, it did not return ASYNC with a 0
20522 Fix endless loop in iterator_fold_with_resync.
20525 2005-07-18 Wim Taymans <wim@fluendo.com>
20531 2005-07-18 Wim Taymans <wim@fluendo.com>
20534 No more cothreads.h
20536 2005-07-18 Wim Taymans <wim@fluendo.com>
20540 Let's remove these.
20542 2005-07-18 Wim Taymans <wim@fluendo.com>
20544 * docs/design/part-dynamic.txt:
20545 * docs/design/part-events.txt:
20546 * docs/design/part-seeking.txt:
20547 Some more docs in the works.
20549 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20550 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
20551 (gst_base_transform_setcaps), (gst_base_transform_get_size),
20552 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20553 (gst_base_transform_handle_buffer),
20554 (gst_base_transform_sink_activate_push),
20555 (gst_base_transform_src_activate_pull),
20556 (gst_base_transform_set_passthrough),
20557 (gst_base_transform_is_passthrough):
20560 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
20563 * gst/gstevent.c: (gst_event_finalize):
20566 * gst/gstutils.c: (gst_element_unlink),
20567 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
20568 (gst_pad_proxy_setcaps):
20570 Add _get_parent_element() to get a pads parent as an element.
20572 2005-07-18 Wim Taymans <wim@fluendo.com>
20574 * check/gst/gstbin.c: (GST_START_TEST):
20577 2005-07-18 Wim Taymans <wim@fluendo.com>
20579 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
20580 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
20581 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
20582 (gst_base_sink_event), (gst_base_sink_do_sync),
20583 (gst_base_sink_chain), (gst_base_sink_loop),
20584 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
20585 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20587 Fix logic for returning ASYNC when not prerolled.
20589 2005-07-18 Wim Taymans <wim@fluendo.com>
20591 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20592 Fix nasty refcount bug.
20594 2005-07-16 Philippe Khalaf <burger@speedy.org>
20596 * gst/elements/gstfdsrc.c:
20597 * gst/elements/gstfdsrc.h:
20598 * gst/elements/gstelements.c:
20599 * gst/elements/Makefile.am:
20600 Ported fdsrc to 0.9.
20602 2005-07-16 Wim Taymans <wim@fluendo.com>
20604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20605 (gst_base_sink_do_sync):
20608 2005-07-16 Wim Taymans <wim@fluendo.com>
20610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20611 (gst_base_sink_event), (gst_base_sink_get_times),
20612 (gst_base_sink_do_sync), (gst_base_sink_change_state):
20613 * gst/base/gstbasesink.h:
20614 Store and use discont values when syncing buffers as described
20617 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20618 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
20619 (gst_base_src_activate_push):
20620 Push discont event when starting.
20622 * gst/elements/gstidentity.c: (gst_identity_transform):
20625 * gst/gstbin.c: (gst_bin_change_state):
20626 Small cleanups in base_time distribution.
20628 * gst/gstelement.c: (gst_element_set_base_time),
20629 (gst_element_get_base_time), (gst_element_change_state):
20630 * gst/gstelement.h:
20631 Added methods for the base_time of the element.
20634 * gst/gstpipeline.c: (gst_pipeline_send_event),
20635 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
20636 (gst_pipeline_get_last_stream_time):
20637 * gst/gstpipeline.h:
20639 Handle seeking as described in design doc, remove stream_time
20641 Cleanups clock and stream_time selection code. Added accessors
20642 for the stream_time.
20645 2005-07-16 Andy Wingo <wingo@pobox.com>
20647 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
20650 2005-07-16 Wim Taymans <wim@fluendo.com>
20652 * check/gst/gstbin.c: (GST_START_TEST):
20653 Make elements silent as the deep_notify refs the
20654 parent, which might make the test fail.
20656 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
20657 Don't hold the lock for too long.
20659 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
20661 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20662 Don't unref the caps we passed to gst_caps_make_writable() after
20663 passing them. gst_caps_make_writable() will do that for us.
20665 2005-07-15 Andy Wingo <wingo@pobox.com>
20667 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
20670 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
20671 own marshalling function for the handoff signal. Properly type the
20672 buffer as a buffer. Fixes some warnings. Should do a more general
20674 (gst_identity_class_init): Plug into the right marshaller.
20676 2005-07-15 Wim Taymans <wim@fluendo.com>
20678 * docs/design/part-TODO.txt:
20679 * docs/design/part-clocks.txt:
20680 * docs/design/part-element-sink.txt:
20681 * docs/design/part-events.txt:
20682 * docs/design/part-gstpipeline.txt:
20683 Updated docs, mostly DISCONT related.
20685 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
20687 * docs/pwg/building-pads.xml:
20688 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
20690 2005-07-15 Andy Wingo <wingo@pobox.com>
20692 * tools/gst-typefind.c: Update, add copyright block.
20694 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
20695 Normalize and truncate caps before fixation.
20698 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
20699 discards all but the first structure from its argument.
20701 2005-07-15 Wim Taymans <wim@fluendo.com>
20703 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20704 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
20705 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20706 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20707 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
20708 (gst_base_transform_chain), (gst_base_transform_change_state),
20709 (gst_base_transform_set_passthrough),
20710 (gst_base_transform_is_passthrough):
20711 * gst/base/gstbasetransform.h:
20712 Make passthrough work using the bufferpools.
20713 Changed API a bit, subclasses have to write into a buffer
20714 provided by the base class.
20715 More debug info in nego functions.
20717 * gst/elements/gstidentity.c: (gst_identity_init),
20718 (gst_identity_transform):
20719 Port to new base class.
20721 2005-07-15 Wim Taymans <wim@fluendo.com>
20723 * gst/gstmessage.c: (gst_message_new_state_changed):
20724 * tools/gst-launch.c: (event_loop), (main):
20725 Totally dump messages in -launch with the -m option.
20726 Fix message name for State messages,
20728 2005-07-14 Wim Taymans <wim@fluendo.com>
20730 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20731 Post error messages on errors.
20733 2005-07-14 Wim Taymans <wim@fluendo.com>
20735 * gst/gstcaps.c: (gst_caps_do_simplify):
20739 Define error for stream stopped.
20741 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
20742 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
20743 Do proper return values.
20745 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
20746 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
20747 (gst_pad_get_range):
20748 Better return values.
20751 Reorganise return values, add macro to check for fatal errors.
20753 * gst/gstqueue.c: (gst_queue_chain):
20754 Return proper GstFlowReturn values,
20756 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
20758 * docs/gst/gstreamer-sections.txt:
20759 * docs/gst/gstreamer.types:
20760 * docs/gst/tmpl/gst.sgml:
20761 * docs/gst/tmpl/gstbasesink.sgml:
20762 * docs/gst/tmpl/gstbasesrc.sgml:
20763 * docs/gst/tmpl/gstbasetransform.sgml:
20764 * docs/gst/tmpl/gstbin.sgml:
20765 * docs/gst/tmpl/gstbuffer.sgml:
20766 * docs/gst/tmpl/gstcaps.sgml:
20767 * docs/gst/tmpl/gstclock.sgml:
20768 * docs/gst/tmpl/gstcompat.sgml:
20769 * docs/gst/tmpl/gstconfig.sgml:
20770 * docs/gst/tmpl/gstelement.sgml:
20771 * docs/gst/tmpl/gstelementdetails.sgml:
20772 * docs/gst/tmpl/gstelementfactory.sgml:
20773 * docs/gst/tmpl/gstenumtypes.sgml:
20774 * docs/gst/tmpl/gsterror.sgml:
20775 * docs/gst/tmpl/gstevent.sgml:
20776 * docs/gst/tmpl/gstfakesink.sgml:
20777 * docs/gst/tmpl/gstfakesrc.sgml:
20778 * docs/gst/tmpl/gstfilesink.sgml:
20779 * docs/gst/tmpl/gstfilesrc.sgml:
20780 * docs/gst/tmpl/gstfilter.sgml:
20781 * docs/gst/tmpl/gstformat.sgml:
20782 * docs/gst/tmpl/gstghostpad.sgml:
20783 * docs/gst/tmpl/gstimplementsinterface.sgml:
20784 * docs/gst/tmpl/gstindex.sgml:
20785 * docs/gst/tmpl/gstindexfactory.sgml:
20786 * docs/gst/tmpl/gstinfo.sgml:
20787 * docs/gst/tmpl/gstiterator.sgml:
20788 * docs/gst/tmpl/gstmacros.sgml:
20789 * docs/gst/tmpl/gstmemchunk.sgml:
20790 * docs/gst/tmpl/gstminiobject.sgml:
20791 * docs/gst/tmpl/gstobject.sgml:
20792 * docs/gst/tmpl/gstpad.sgml:
20793 * docs/gst/tmpl/gstpadtemplate.sgml:
20794 * docs/gst/tmpl/gstparse.sgml:
20795 * docs/gst/tmpl/gstpipeline.sgml:
20796 * docs/gst/tmpl/gstplugin.sgml:
20797 * docs/gst/tmpl/gstpluginfeature.sgml:
20798 * docs/gst/tmpl/gstquery.sgml:
20799 * docs/gst/tmpl/gstqueue.sgml:
20800 * docs/gst/tmpl/gstregistry.sgml:
20801 * docs/gst/tmpl/gstregistrypool.sgml:
20802 * docs/gst/tmpl/gstscheduler.sgml:
20803 * docs/gst/tmpl/gstschedulerfactory.sgml:
20804 * docs/gst/tmpl/gststructure.sgml:
20805 * docs/gst/tmpl/gstsystemclock.sgml:
20806 * docs/gst/tmpl/gsttaglist.sgml:
20807 * docs/gst/tmpl/gsttagsetter.sgml:
20808 * docs/gst/tmpl/gsttrace.sgml:
20809 * docs/gst/tmpl/gsttrashstack.sgml:
20810 * docs/gst/tmpl/gsttypefind.sgml:
20811 * docs/gst/tmpl/gsttypefindfactory.sgml:
20812 * docs/gst/tmpl/gsttypes.sgml:
20813 * docs/gst/tmpl/gsturihandler.sgml:
20814 * docs/gst/tmpl/gsturitype.sgml:
20815 * docs/gst/tmpl/gstutils.sgml:
20816 * docs/gst/tmpl/gstvalue.sgml:
20817 * docs/gst/tmpl/gstversion.sgml:
20818 * docs/gst/tmpl/gstxml.sgml:
20819 * docs/libs/tmpl/gstcontrol.sgml:
20820 * docs/libs/tmpl/gstdataprotocol.sgml:
20821 * docs/libs/tmpl/gstdparam.sgml:
20822 * docs/libs/tmpl/gstdplinint.sgml:
20823 * docs/libs/tmpl/gstdpman.sgml:
20824 * docs/libs/tmpl/gstdpsmooth.sgml:
20825 * docs/libs/tmpl/gstgetbits.sgml:
20826 * docs/libs/tmpl/gstunitconvert.sgml:
20827 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
20828 (gst_push_src_base_init), (gst_push_src_class_init),
20829 (gst_push_src_init), (gst_push_src_create):
20830 * gst/base/gstpushsrc.h:
20831 * gst/elements/gstelements.c:
20832 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
20833 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
20834 (gst_fake_sink_init), (gst_fake_sink_set_property),
20835 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
20836 (gst_fake_sink_event), (gst_fake_sink_preroll),
20837 (gst_fake_sink_render), (gst_fake_sink_change_state):
20838 * gst/elements/gstfakesink.h:
20839 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20840 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20841 (gst_fake_src_base_init), (gst_fake_src_class_init),
20842 (gst_fake_src_init), (gst_fake_src_event_handler),
20843 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
20844 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
20845 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
20846 (gst_fake_src_create_buffer), (gst_fake_src_create),
20847 (gst_fake_src_start), (gst_fake_src_stop):
20848 * gst/elements/gstfakesrc.h:
20849 * gst/elements/gstfilesink.c: (_do_init),
20850 (gst_file_sink_base_init), (gst_file_sink_class_init),
20851 (gst_file_sink_init), (gst_file_sink_dispose),
20852 (gst_file_sink_set_location), (gst_file_sink_set_property),
20853 (gst_file_sink_get_property), (gst_file_sink_open_file),
20854 (gst_file_sink_close_file), (gst_file_sink_query),
20855 (gst_file_sink_event), (gst_file_sink_render),
20856 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
20857 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
20858 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
20859 * gst/elements/gstfilesink.h:
20860 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
20861 (gst_file_src_class_init), (gst_file_src_init),
20862 (gst_file_src_finalize), (gst_file_src_set_location),
20863 (gst_file_src_set_property), (gst_file_src_get_property),
20864 (gst_file_src_map_region), (gst_file_src_map_small_region),
20865 (gst_file_src_create_mmap), (gst_file_src_create_read),
20866 (gst_file_src_create), (gst_file_src_is_seekable),
20867 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
20868 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
20869 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
20870 (gst_file_src_uri_handler_init):
20871 * gst/elements/gstfilesrc.h:
20872 more autistic cleanliness in functions/names/defines
20874 2005-07-13 Andy Wingo <wingo@pobox.com>
20876 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
20877 source couldn't negotiate.
20879 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
20883 * gst/gstutils.c (gst_element_link_pads_filtered): New old
20884 function. I am channeling Hades. Put your boots on suckers!!!
20886 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
20888 * testsuite/caps/Makefile.am:
20889 * testsuite/caps/value_compare.c:
20890 * testsuite/caps/value_intersect.c:
20891 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20892 move two testsuite apps over to the check dir
20894 2005-07-12 Wim Taymans <wim@fluendo.com>
20896 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
20897 Added more debug info in the negotiate process.
20899 * gst/gstmessage.h:
20900 Prepare for segment playback.
20902 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
20908 * tools/gst-launch.c: (main):
20909 NULL pipeline on errors.
20911 2005-07-12 Andy Wingo <wingo@pobox.com>
20913 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
20914 not it comes from a malloc region. Make sure our copy gets freed.
20916 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20918 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20919 * check/gst/gstmessage.c: (GST_START_TEST):
20920 * check/gst/gststructure.c: (GST_START_TEST),
20921 (gst_structure_suite), (main):
20923 * gst/gstelement.c: (gst_element_message_full):
20924 clean up GError and debug string now that they get copied
20925 * gst/gstmessage.c: (gst_message_new_error),
20926 (gst_message_new_warning), (gst_message_parse_error),
20927 (gst_message_parse_warning):
20928 use GST_TYPE_G_ERROR for structure_new, and take copies of
20929 arguments, so that we don't mess up refcounting
20931 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20933 * check/Makefile.am:
20934 add per-test valgrind targets
20935 * check/gst-libs/gdp.c: (GST_START_TEST),
20936 (gst_data_protocol_suite), (main):
20939 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
20941 * check/Makefile.am:
20942 instate more valgrindable tests
20943 * check/elements/gstfakesrc.c: (chain_func), (event_func),
20944 (GST_START_TEST), (fakesrc_suite):
20945 * check/gst/gstpad.c: (GST_START_TEST):
20946 * check/gst/gststructure.c: (GST_START_TEST):
20948 * docs/gst/tmpl/gstminiobject.sgml:
20949 * gst/gstpad.c: (gst_pad_finalize):
20950 fix the static mutex leak
20952 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20954 * check/Makefile.am:
20955 add two more tests for valgrinding
20956 * check/gst/gstvalue.c: (GST_START_TEST):
20957 test refcount of deserialized buffer, found a leak
20958 * docs/gst/gstreamer-docs.sgml:
20959 * docs/gst/gstreamer-sections.txt:
20960 * docs/gst/gstreamer.types:
20961 * docs/gst/tmpl/gstminiobject.sgml:
20962 add miniobject to docs
20963 * gst/gstminiobject.c:
20965 * gst/gstvalue.c: (gst_value_deserialize_buffer),
20966 (gst_string_unwrap):
20967 fix a hard-to-find invalid write for one of the tests
20968 fix a leak for deserialized buffers
20970 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20972 * docs/pwg/advanced-events.xml:
20973 * docs/pwg/advanced-request.xml:
20974 * docs/pwg/advanced-scheduling.xml:
20975 * docs/pwg/appendix-porting.xml:
20976 * docs/pwg/building-boiler.xml:
20977 * docs/pwg/intro-preface.xml:
20978 * docs/pwg/other-ntoone.xml:
20979 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
20980 of example code and explanation for pad activation, loop() and
20981 getrange() functions and a bit more. Remove old comments pointing
20983 * examples/pwg/Makefile.am:
20984 Add loop/getrange examples.
20986 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
20989 check for valgrind binary + some fixes
20991 valgrind suppressions for the tests
20992 * check/Makefile.am:
20993 add a valgrind: target that valgrinds the unit tests
20994 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
20995 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20996 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20997 * check/gst/gstghostpad.c:
20999 * check/gst/gstdata.c:
21001 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
21002 (thread_unref), (gst_mini_object_suite), (main):
21004 * gst/gst.c: (gst_deinit):
21006 add a method to clean up.
21007 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21008 (gst_system_clock_obtain):
21009 allow for disposing the system clock.
21010 * tools/gst-launch.c: (main):
21013 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
21015 * docs/gst/tmpl/gstbasesrc.sgml:
21016 * docs/gst/tmpl/gstfakesrc.sgml:
21017 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21018 (gst_base_src_init), (gst_base_src_set_property),
21019 (gst_base_src_get_property), (gst_base_src_get_range),
21020 (gst_base_src_start):
21021 * gst/base/gstbasesrc.h:
21022 add num-buffers property
21023 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21024 (gst_fakesrc_init), (gst_fakesrc_set_property),
21025 (gst_fakesrc_get_property), (gst_fakesrc_create),
21026 (gst_fakesrc_start):
21027 remove num-buffers property
21029 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21031 * docs/gst/gstreamer-sections.txt:
21032 * docs/gst/tmpl/gstbasesink.sgml:
21033 * docs/gst/tmpl/gstbasesrc.sgml:
21034 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21035 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21036 (gst_base_sink_finalize), (gst_base_sink_set_clock),
21037 (gst_base_sink_set_property), (gst_base_sink_get_property),
21038 (gst_base_sink_handle_object), (gst_base_sink_event),
21039 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21040 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
21041 (gst_base_sink_loop), (gst_base_sink_deactivate),
21042 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
21043 (gst_base_sink_change_state):
21044 * gst/base/gstbasesink.h:
21045 * gst/base/gstbasesrc.h:
21046 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
21047 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
21048 (gst_filesink_init):
21049 more macro splitting
21051 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21053 * gst/gstelement.c: (gst_element_get_bus):
21055 * tools/gst-launch.c: (check_intr), (event_loop):
21058 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21060 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
21063 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
21065 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21066 (gst_base_src_finalize):
21067 add finalize method and clean up properly
21068 * gst/gstpipeline.c: (gst_pipeline_dispose):
21071 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21073 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
21075 add more things to check
21076 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21077 * gst/gstelement.c:
21080 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21082 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21083 (GST_START_TEST), (fakesrc_suite):
21084 * check/gst-libs/gdp.c: (GST_START_TEST):
21085 * check/gst/gst.c: (GST_START_TEST):
21086 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21087 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21088 * check/gst/gstbus.c: (GST_START_TEST):
21089 * check/gst/gstcaps.c: (GST_START_TEST):
21090 * check/gst/gstdata.c: (GST_START_TEST):
21091 * check/gst/gstelement.c: (GST_START_TEST):
21092 * check/gst/gstghostpad.c: (GST_START_TEST):
21093 * check/gst/gstiterator.c: (GST_START_TEST):
21094 * check/gst/gstmessage.c: (GST_START_TEST):
21095 * check/gst/gstobject.c: (GST_START_TEST):
21096 * check/gst/gstpad.c: (GST_START_TEST):
21097 * check/gst/gststructure.c: (GST_START_TEST):
21098 * check/gst/gstsystemclock.c: (GST_START_TEST),
21099 (gst_systemclock_suite):
21100 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21101 * check/gst/gstvalue.c: (GST_START_TEST):
21102 * check/pipelines/cleanup.c: (GST_START_TEST):
21103 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21104 * check/states/sinks.c: (GST_START_TEST):
21105 * check/gstcheck.c: (gst_check_init):
21106 * check/gstcheck.h:
21107 add debugging category
21108 use GST_START_TEST now, so we add a debug line
21110 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
21112 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
21113 add test for state change message on a bin
21114 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
21116 * gst/gstbin.c: (gst_bin_init):
21117 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
21118 * gst/gstelement.c: (gst_element_post_message),
21119 (gst_element_set_state):
21120 * gst/gstelementfactory.c: (gst_element_factory_create):
21121 * gst/gstmessage.c: (gst_message_new):
21122 * gst/gstscheduler.c:
21123 various debugging additions and cleanups
21125 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21127 * check/Makefile.am:
21128 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
21130 adding tests for elements
21131 * gst/gstelement.c: (gst_element_dispose):
21133 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21135 * gst/registries/gstlibxmlregistry.c: (load_feature):
21136 plug more leaks. A simple gst_init() now is leakfree, yay.
21138 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21140 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
21141 (gst_xml_registry_load):
21142 plug another memleak
21144 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21147 use GST_SET_ERROR_CFLAGS
21148 * docs/faq/cvs.xml:
21149 change to ERROR_CFLAGS
21151 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
21154 make GST_ERROR_CFLAGS overridable and re-enable Werror
21155 * docs/faq/cvs.xml:
21156 add a note about error CFLAGS
21157 * docs/gst/tmpl/gstfakesrc.sgml:
21158 * gst/elements/gstfakesrc.c:
21159 comment out some unused code
21160 * gst/gst.c: (split_and_iterate):
21161 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
21165 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21167 * common/Makefile.am:
21168 * common/gtk-doc.mak:
21169 * docs/gst/Makefile.am:
21170 factor out gtk-doc.mak
21172 2005-07-07 Wim Taymans <wim@fluendo.com>
21174 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
21175 (gst_thread_scheduler_dispose):
21176 Unlock the STREAM_LOCK completely.
21178 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
21180 * check/Makefile.am:
21181 * check/elements/.cvsignore:
21182 * check/elements/gstfakesrc.c: (chain_func), (event_func),
21183 (START_TEST), (fakesrc_suite), (main):
21184 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
21185 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
21186 (gst_fakesrc_create), (gst_fakesrc_start):
21187 * gst/elements/gstfakesrc.h:
21188 adding a first element test
21190 2005-07-07 Andy Wingo <wingo@pobox.com>
21192 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
21195 2005-07-07 Wim Taymans <wim@fluendo.com>
21201 2005-07-07 Wim Taymans <wim@fluendo.com>
21203 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21204 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
21205 Allow subclasses to implement their own negotiation.
21207 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21209 * docs/design/part-gstbin.txt:
21210 * docs/design/part-gstpipeline.txt:
21211 Update design notes to reflect the movement of
21212 responsibility for bus handling from GstPipeline to
21215 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21218 Remove unnecessary queue2/3/4 examples.
21220 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
21222 * examples/Makefile.am:
21223 * examples/helloworld/helloworld.c: (event_loop), (main):
21224 * examples/queue/queue.c: (event_loop), (main):
21225 * examples/queue2/queue2.c: (main):
21226 Update a couple of the examples to work again.
21228 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21229 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
21230 Spelling corrections and extra debug.
21232 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
21233 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
21234 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
21236 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21237 (gst_pipeline_change_state):
21238 * gst/gstpipeline.h:
21239 Move the bus handler for children to the GstBin, and create a
21240 separate bus for receiving messages from children to the one the
21241 bus sends 'upwards' on.
21243 2005-07-06 Wim Taymans <wim@fluendo.com>
21246 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21247 (gst_base_sink_handle_object), (gst_base_sink_loop),
21248 (gst_base_sink_change_state):
21249 * gst/base/gstbasesink.h:
21250 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21251 (gst_base_src_init), (gst_base_src_setcaps),
21252 (gst_base_src_getcaps), (gst_base_src_loop),
21253 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
21254 (gst_base_src_start), (gst_base_src_change_state):
21255 * gst/base/gstbasesrc.h:
21256 Make basesrc negotiate.
21257 Handle the case where preroll fails in basesink.
21260 2005-07-06 Wim Taymans <wim@fluendo.com>
21262 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
21263 Implement the fixate function.
21264 Clean up acceptcaps.
21266 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21268 * docs/pwg/building-filterfactory.xml:
21269 * docs/pwg/pwg.xml:
21270 Remove never-written filter-factory chapter; I'll add the various
21271 base classes to part 4 ("other element types") later on.
21273 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21275 * docs/pwg/advanced-negotiation.xml:
21276 * docs/pwg/building-boiler.xml:
21277 * docs/pwg/building-pads.xml:
21278 * docs/pwg/pwg.xml:
21279 * examples/pwg/Makefile.am:
21280 Add a chapter on caps negotiation, simplify the original code
21281 samples a bit w.r.t. caps negotiation, add link to the advanced
21282 section. Add a bunch of examples showing different use cases of
21283 different types of caps negotiation. Upstream renegotiation isn't
21284 fully documented yet since nobody knows how that works.
21286 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
21288 * check/gst/gstpad.c:
21289 * check/gstcheck.c:
21290 * gst/gstpad.c: (gst_pad_get_internal_links_default):
21291 if pad has no parent, return NULL as list of internal links
21293 2005-07-05 Andy Wingo <wingo@pobox.com>
21295 * gst/elements/gstfilesrc.c:
21296 * gst/elements/gstfakesrc.c:
21297 * gst/base/gstpushsrc.c:
21298 * gst/base/gstbasesrc.h:
21299 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
21301 2005-07-05 Stefan Kost <ensonic@users.sf.net>
21304 better report generation target (lcov needs a patch)
21306 2005-07-05 Andy Wingo <wingo@pobox.com>
21308 * gst/elements, testsuite: Null if we got it...
21310 2005-07-05 Wim Taymans <wim@fluendo.com>
21313 * libs/gst/dataprotocol/Makefile.am:
21314 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
21315 * libs/gst/dataprotocol/dataprotocol.h:
21316 * pkgconfig/Makefile.am:
21317 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
21318 * pkgconfig/gstreamer-dataprotocol.pc.in:
21319 Ported dataprotol to 0.9.
21320 Added pkgconfig files.
21322 2005-07-05 Andy Wingo <wingo@pobox.com>
21324 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
21325 Default to returning TRUE for the case when tranform_caps returns
21326 a fixed caps, like for identity or volume.
21328 * check/gst/gstbus.c (pound_bus_with_messages):
21329 * check/gst/gstmessage.c (START_TEST):
21330 * check/pipelines/simple_launch_lines.c (got_handoff): Application
21331 message API change.
21333 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
21334 logic weaks here: always run transform_caps, trying passthrough
21335 operation only if the original caps intersects with the transform.
21337 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
21338 source and sink caps.
21340 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
21341 Intersect the peer caps with the pad template before going into
21343 (gst_base_transform_transform_caps): More debugging.
21345 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
21348 2005-07-04 Edward Hervey <edward@fluendo.com>
21352 (gst_pad_add_*_probe): now returns the signal id for better wrapping
21355 2005-07-04 Andy Wingo <wingo@pobox.com>
21357 * check/gst/gstpad.c: Only set explicit caps on pads.
21359 2005-07-01 Andy Wingo <wingo@pobox.com>
21361 * tests/network-clock.scm: Commentary update.
21363 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
21364 Didn't really make sense, not implementable with basetransform,
21366 (gst_identity_transform): Unref inbuf via make_writable. Feeble
21367 attempt at implementing the sync property, needs an unlock method.
21369 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
21370 New func, by default returns the same caps (the identity
21372 (gst_base_transform_getcaps): Uses transform_caps to return
21373 something sensible.
21374 (gst_base_transform_setcaps): Complicated logic to get caps on
21375 both pads, even if they are different, and to call set_caps once
21376 for every time both pads get their caps set.
21377 (gst_base_transform_handle_buffer): Give the ref to the transform
21378 function. Allows in-place modification of the buffer.
21380 * gst/base/gstbasetransform.h (transform_caps): New class method.
21381 Given caps on one side, what can I do on the other.
21382 (set_caps): Take two caps, one for each side of the element.
21385 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
21386 caps in place. This is safe because we can check the mutability of
21387 the caps, and a good idea because fixate functions are just called
21388 as a matter of last resort. (Not actually implemented.)
21389 (gst_pad_set_caps): If the caps we're setting is actually the same
21390 as the existing pad caps, just update the pointer without calling
21391 setcaps. Assert that caps is either NULL or fixed, as per the
21394 * gst/gstghostpad.c: Update for fixate changes.
21396 2005-07-02 Andy Wingo <wingo@pobox.com>
21399 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
21400 two refcounts makes it immutable, which is enough. Doc more.
21402 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
21404 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
21405 Put the mini_object into GValue as a mini_object,
21406 not a gpointer, since that's how we declared
21409 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21411 * examples/pwg/Makefile.am:
21412 Fix buildbot again.
21414 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21416 * docs/pwg/building-testapp.xml:
21418 * examples/pwg/Makefile.am:
21421 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21424 * examples/Makefile.am:
21425 * examples/pwg/Makefile.am:
21426 * examples/pwg/extract.pl:
21427 Enable building the PWG examples.
21428 * docs/pwg/advanced-interfaces.xml:
21429 Add URI interface stub.
21430 * docs/pwg/advanced-types.xml:
21431 * docs/pwg/other-autoplugger.xml:
21432 * docs/pwg/appendix-porting.xml:
21433 * docs/pwg/pwg.xml:
21434 Add porting guide (mostly stubs), remove autoplugging (see ADM).
21435 * docs/pwg/building-boiler.xml:
21436 * docs/pwg/building-chainfn.xml:
21437 * docs/pwg/building-pads.xml:
21438 * docs/pwg/building-props.xml:
21439 * docs/pwg/building-state.xml:
21440 * docs/pwg/building-testapp.xml:
21441 Update the building-*.xml parts for 0.9 changes. All examples
21442 code blocks compile in examples/pwg/*.
21444 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21446 * docs/manual/advanced-autoplugging.xml:
21447 * docs/manual/appendix-checklist.xml:
21448 * docs/manual/appendix-integration.xml:
21449 * docs/manual/highlevel-components.xml:
21450 Fix playbin/decodebin examples, update docs a bit, mention bus
21451 instead of signals in various places, mention kmplayer and
21452 kaffeine since they have a working GStreamer backend in the KDE
21455 2005-06-30 Wim Taymans <wim@fluendo.com>
21458 * docs/design/draft-ghostpads.txt:
21459 * docs/design/draft-push-pull.txt:
21460 * docs/design/draft-query.txt:
21461 * docs/design/part-TODO.txt:
21462 * docs/design/part-query.txt:
21463 Added CHANGES-0.9 doc, updated status of other docs.
21468 2005-06-30 Wim Taymans <wim@fluendo.com>
21470 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21471 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21472 (gst_base_sink_change_state):
21473 * gst/base/gstbasesink.h:
21474 Some tweaks, only EOS and a buffer complete a preroll.
21476 2005-06-30 Andy Wingo <wingo@pobox.com>
21478 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
21479 activate_push down to the internal pad as well.
21481 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
21483 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21485 * gst/gsttaginterface.c:
21486 Some documentation fixes (#307394 and #307397).
21488 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
21490 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21492 * gst/gstvalue.c: (gst_value_intersect_list):
21493 Fix memleak (#309125).
21495 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21497 * docs/manual/advanced-dataaccess.xml:
21498 Fix fakesrc example to compile; doesn't work, bug somewhere...?
21499 * docs/manual/basics-pads.xml:
21500 Add reference for filtered caps to above chapter.
21502 2005-06-30 Wim Taymans <wim@fluendo.com>
21504 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
21505 (gst_bin_change_state):
21507 Lame attempt at making the state change function a bit
21510 2005-06-30 Wim Taymans <wim@fluendo.com>
21512 * docs/design/part-clocks.txt:
21513 * docs/design/part-element-sink.txt:
21514 * docs/design/part-events.txt:
21515 * docs/design/part-preroll.txt:
21516 * docs/design/part-states.txt:
21517 Some more tweeks and additions to the docs.
21519 2005-06-30 Wim Taymans <wim@fluendo.com>
21521 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21522 (default_have_data), (gst_pad_class_init), (gst_pad_init),
21523 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21524 (gst_pad_check_pull_range), (gst_pad_get_range),
21525 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
21527 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
21528 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21529 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21530 (gst_pad_remove_buffer_probe):
21531 Removed atomic operations, use existing LOCK.
21532 Move exception handling out of main code path.
21534 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21536 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21537 (silly_return_true_function), (gst_pad_class_init),
21538 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
21539 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
21540 (gst_pad_send_event):
21541 Fix accumulator, add default value by using _emitv() instead
21542 of _emit() for signal emission.
21544 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21546 * docs/manual/advanced-dataaccess.xml:
21547 * examples/manual/Makefile.am:
21549 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
21552 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
21554 * gst/elements/gstfilesink.c: (gst_filesink_render):
21555 Simplify code so that we don't have to handle short
21556 writes and return GST_FLOW_ERROR if an error occured.
21558 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21560 * docs/gst/gstreamer-docs.sgml:
21561 Remove probes more.
21563 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21565 * docs/gst/gstreamer-sections.txt:
21566 * docs/gst/tmpl/gstpad.sgml:
21567 * docs/gst/tmpl/gstprobe.sgml:
21569 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
21570 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
21571 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
21572 (gst_pad_push_event), (gst_pad_send_event):
21574 * gst/gstutils.c: (gst_pad_add_data_probe),
21575 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
21576 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
21577 (gst_pad_remove_buffer_probe):
21579 Remove old probes, add new g-signal-based probes and some utility
21582 2005-06-29 Edward Hervey <edward@fluendo.com>
21584 * gst/gstelementfactory.c:
21587 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
21588 the definition to the header file.
21590 2005-06-29 Andy Wingo <wingo@pobox.com>
21592 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
21593 plugins from the source directory.
21595 2005-06-29 Wim Taymans <wim@fluendo.com>
21597 * docs/gst/tmpl/gstbuffer.sgml:
21598 * docs/gst/tmpl/gstclock.sgml:
21599 Some fixings for blantently wrong text.
21601 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21603 * check/Makefile.am:
21604 * gst/gst.c: (add_path_func), (init_pre):
21605 * gst/gstregistry.c: (gst_registry_add_path):
21606 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
21607 only scan the GST_PLUGIN_PATH locations, and not add
21610 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
21612 * docs/gst/gstreamer-sections.txt:
21613 * docs/gst/tmpl/gstbasesrc.sgml:
21614 * gst/gstelement.c:
21615 * gst/gstelement.h:
21620 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21622 * docs/manual/advanced-autoplugging.xml:
21623 Fix autoplugging example.
21625 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21627 * docs/manual/advanced-autoplugging.xml:
21628 * docs/manual/mime-world.fig:
21629 Try to get autoplugging working, fix type detection. Fix text
21630 in hello-world image.
21632 2005-06-29 Wim Taymans <wim@fluendo.com>
21634 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21635 (gst_base_sink_change_state):
21639 map SIGNAL and BROADCAST to the right function.
21642 Remove redundant braces.
21644 * gst/gstpad.c: (gst_pad_set_caps):
21645 Don't call setcaps function when reseting caps to NULL.
21647 * gst/gstsystemclock.c: (gst_system_clock_dispose),
21648 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
21649 (gst_system_clock_id_unschedule):
21650 Use BROADCAST as this is what we do.
21652 2005-06-29 Wim Taymans <wim@fluendo.com>
21654 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21655 We are actually prerolling before commiting the state
21658 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21660 * docs/manual/advanced-clocks.xml:
21661 * docs/manual/advanced-interfaces.xml:
21662 * docs/manual/advanced-metadata.xml:
21663 * docs/manual/advanced-position.xml:
21664 * docs/manual/advanced-schedulers.xml:
21665 * docs/manual/advanced-threads.xml:
21666 * docs/manual/appendix-porting.xml:
21667 * docs/manual/basics-bins.xml:
21668 * docs/manual/basics-bus.xml:
21669 * docs/manual/basics-elements.xml:
21670 * docs/manual/basics-helloworld.xml:
21671 * docs/manual/basics-pads.xml:
21672 * docs/manual/highlevel-components.xml:
21673 * docs/manual/manual.xml:
21674 * docs/manual/thread.fig:
21675 Update (until threads/scheduling) Application Development Manual;
21676 remove GstThread, add GstBus, add simple porting checklist, add
21677 documentation for tag writing, clocks, make all examples until this
21678 part compile and run.
21679 * examples/manual/Makefile.am:
21680 Update from changes to Application Development Manual; add bus
21681 example, remove thread example.
21683 2005-06-28 Wim Taymans <wim@fluendo.com>
21685 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
21686 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
21687 (gst_bus_source_dispatch):
21688 Add debugging messages.
21689 Make internal methods static.
21690 Handle the case where the bus is flushed in the handler.
21692 * gst/gstelement.c: (gst_element_get_bus):
21693 Fix refcount in _get_bus();
21695 * gst/gstpipeline.c: (gst_pipeline_change_state),
21696 (gst_pipeline_get_clock_func):
21697 Clock refcounting fixes.
21698 Handle the case where preroll timed out more gracefully.
21700 * gst/gstsystemclock.c: (gst_system_clock_dispose):
21701 Clean up the internal thread in dispose. This is needed
21702 for subclasses that actually get disposed.
21704 * gst/schedulers/threadscheduler.c:
21705 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
21706 (gst_thread_scheduler_dispose):
21707 Free thread pool in dispose.
21709 2005-06-28 Andy Wingo <wingo@pobox.com>
21711 * tests/network-clock-utils.scm (debug, print-event): New utils.
21713 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
21714 (*packet-loss*): Unified loss probability.
21715 (network-time): Report out-of-band events.
21717 * tests/plot-data: Add support for out-of-band events. Hack it
21718 into this script instead of passing it down the pipe; should fix
21721 2005-06-28 Wim Taymans <wim@fluendo.com>
21723 * docs/gst/gstreamer.types:
21724 * docs/gst/tmpl/gstbasesrc.sgml:
21725 * docs/gst/tmpl/gstpad.sgml:
21728 2005-06-28 Wim Taymans <wim@fluendo.com>
21730 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21731 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
21732 (gst_proxy_pad_do_fixatecaps):
21733 Correctly proxy the check_pull_range function.
21735 2005-06-28 Andy Wingo <wingo@pobox.com>
21737 * tests/network-clock.scm: Removed need for slib.
21739 2005-06-28 Wim Taymans <wim@fluendo.com>
21741 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
21742 (gst_basesink_preroll_queue_flush):
21743 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
21744 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
21745 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21746 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21747 (gst_proxy_pad_set_property):
21750 * gst/gstqueue.c: (gst_queue_init):
21751 The deprecated pad loop function is removed now.
21753 2005-06-28 Andy Wingo <wingo@pobox.com>
21755 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
21756 New parameters, simulate network packet loss.
21758 * tests/network-clock-utils.scm: Initialize the RNG.
21760 2005-06-28 Wim Taymans <wim@fluendo.com>
21762 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
21763 (gst_basesink_event), (gst_basesink_deactivate):
21764 Flushing the preroll queue always needs to unlock the waiters.
21766 2005-06-28 Edward Hervey <edward@fluendo.com>
21768 * gst/gstpipeline.c: (gst_pipeline_send_event):
21769 Wheen a seek was successful on a pipeline, set the stream_time to the
21770 seek offset in order to have a synchronized stream_time.
21772 2005-06-28 Wim Taymans <wim@fluendo.com>
21774 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
21775 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
21776 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
21777 (gst_proxy_pad_do_fixatecaps):
21778 Call wrapper function instead of just calling the function
21779 pointers. This takes care of any locking and whatmore.
21781 2005-06-28 Wim Taymans <wim@fluendo.com>
21783 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
21784 (gst_pad_pull_range):
21786 CONNECTED -> LINKED.
21788 2005-06-28 Andy Wingo <wingo@pobox.com>
21790 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
21791 source-munging commit!!!
21793 * gst/gstobject.c (gst_object_unref, gst_object_ref)
21794 (gst_object_sink): Take gpointer arguments, not GstObject --
21795 avoids casts. Like GLib.
21797 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
21800 2005-06-27 Andy Wingo <wingo@pobox.com>
21802 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
21805 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
21806 returns a sorted copy of the trace list.
21807 (gst_alloc_trace_print_live): New API, only prints traces with
21808 live objects. Sort the list.
21809 (gst_alloc_trace_print_all): Sort the list.
21810 (gst_alloc_trace_print): Align columns.
21812 * gst/elements/gstttypefindelement.c:
21813 * gst/elements/gsttee.c:
21814 * gst/base/gstbasesrc.c:
21815 * gst/base/gstbasesink.c:
21816 * gst/base/gstbasetransform.c:
21817 * gst/gstqueue.c: Adapt for pad activation changes.
21819 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
21821 (gst_pipeline_dispose): Drop ref on sched.
21823 * gst/gstpad.c (gst_pad_init): Set the default activate func.
21824 (gst_pad_activate_default): Push mode by default.
21825 (pre_activate_switch, post_activate_switch): New stubs, things to
21826 do before and after switching activation modes on pads.
21827 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
21828 the pad's activate function to choose which mode to activate.
21829 Shortcut on deactivation and call the right function directly.
21830 (gst_pad_activate_pull): New API, (de)activates a pad in pull
21832 (gst_pad_activate_push): New API, same for push mode.
21833 (gst_pad_set_activate_function)
21834 (gst_pad_set_activatepull_function)
21835 (gst_pad_set_activatepush_function): Setters for new API.
21837 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
21838 Trace all miniobjects.
21839 (gst_mini_object_make_writable): Unref the arg if we copy, like
21840 gst_caps_make_writable.
21842 * gst/gstmessage.c (_gst_message_initialize): No trace init.
21844 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
21845 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
21846 Adapt for new pad API.
21848 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
21850 * gst/gstelement.h:
21851 * gst/gstelement.c (gst_element_iterate_src_pads)
21852 (gst_element_iterate_sink_pads): New API functions.
21854 * gst/gstelement.c (iterator_fold_with_resync): New utility,
21855 should fold into gstiterator.c in some form.
21856 (gst_element_pads_activate): Simplified via use of fold and
21857 delegation of decisions to gstpad->activate.
21859 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
21862 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
21863 class once in init, like gstmessage. Didn't run into this issue
21864 but it seems correct. Don't initialize a trace, gstminiobject does
21867 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
21868 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
21870 (assert_live_count): New util function, uses alloc traces to check
21873 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
21874 To be modified when unlink drops the internal pad.
21876 2005-06-27 Wim Taymans <wim@fluendo.com>
21878 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
21879 (gst_bin_change_state):
21880 Cleanup the get_state() function a little, make sure it
21881 iterates the same set of elements.
21882 Added stub iterate_state_order().
21884 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
21886 * docs/gst/gstreamer-docs.sgml:
21887 * docs/gst/gstreamer-sections.txt:
21888 * docs/gst/gstreamer.types:
21889 * docs/gst/tmpl/gstbasesink.sgml:
21890 * docs/gst/tmpl/gstbasesrc.sgml:
21891 * docs/gst/tmpl/gstbasetransform.sgml:
21892 * docs/gst/tmpl/gstelement.sgml:
21893 * docs/gst/tmpl/gstiterator.sgml:
21894 * gst/base/gstbasesrc.c:
21895 * gst/base/gstbasesrc.h:
21896 * gst/base/gstbasetransform.h:
21897 * gst/gstelement.c:
21898 * gst/gstiterator.h:
21899 adding basetransform and iterator docs
21901 2005-06-27 Andy Wingo <wingo@pobox.com>
21903 * docs/design/part-activation.txt: Notes on how activation should
21904 work -- not quite implemented yet.
21906 2005-06-25 Wim Taymans <wim@fluendo.com>
21908 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
21909 At least get the chain function correct, needs more
21912 2005-06-25 Wim Taymans <wim@fluendo.com>
21914 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21915 (gst_basesink_handle_object), (gst_basesink_event),
21916 (gst_basesink_do_sync), (gst_basesink_handle_event),
21917 (gst_basesink_change_state):
21919 Right, two problems here: ghostpads don't take locks and
21920 glib _rec_mutex_lock_full() with depth==0 still locks.
21921 Catch illegal locking and g_warn them.
21923 2005-06-25 Wim Taymans <wim@fluendo.com>
21925 * check/states/sinks.c: (START_TEST), (gst_object_suite):
21926 Have to check for completion now...
21928 2005-06-25 Wim Taymans <wim@fluendo.com>
21930 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
21931 (gst_basesink_handle_object), (gst_basesink_event),
21932 (gst_basesink_do_sync), (gst_basesink_handle_event),
21933 (gst_basesink_change_state):
21935 Unlock STREAM_LOCK whatever the recursion was.
21937 2005-06-25 Wim Taymans <wim@fluendo.com>
21939 * gst/base/gstbasesink.c: (gst_basesink_set_property),
21940 (gst_basesink_preroll_queue_empty),
21941 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
21942 (gst_basesink_event), (gst_basesink_do_sync),
21943 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
21944 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
21945 (gst_basesink_change_state):
21946 Reworked the base sink, handle event and buffer serialisation
21947 correctly and removed possible deadlock.
21948 Handle EOS correctly.
21950 2005-06-25 Wim Taymans <wim@fluendo.com>
21952 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
21953 (gst_pipeline_change_state):
21954 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21955 Allow elements to post EOS in the state change function.
21956 Fix up -launch, make it exit the poll loop when the
21957 pipeline actually changed state.
21958 Fix up warning parsing in -launch.
21960 2005-06-25 Wim Taymans <wim@fluendo.com>
21962 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
21963 (gst_tee_sink_activate):
21964 Core takes STREAM_LOCK for us now.
21966 2005-06-25 Wim Taymans <wim@fluendo.com>
21968 * gst/gstelement.c: (gst_element_get_state_func),
21969 (gst_element_set_state):
21970 * gst/gstelement.h:
21971 * gst/gstmessage.c: (gst_message_parse_error),
21972 (gst_message_parse_warning):
21973 Keep track of current target state while performing a state
21974 change so that subclasses can do something interesting.
21975 Fix parsing of warning/error messages when GError is NULL.
21977 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
21979 * docs/gst/Makefile.am:
21980 * docs/gst/gstreamer-docs.sgml:
21981 * docs/gst/gstreamer-sections.txt:
21982 * docs/gst/gstreamer.types:
21983 * docs/gst/tmpl/gstbasesink.sgml:
21984 * docs/gst/tmpl/gstbasesrc.sgml:
21985 * docs/gst/tmpl/gstbin.sgml:
21986 * docs/gst/tmpl/gstcompat.sgml:
21987 * docs/gst/tmpl/gstfakesink.sgml:
21988 * docs/gst/tmpl/gstfakesrc.sgml:
21989 * docs/gst/tmpl/gstfilesink.sgml:
21990 * docs/gst/tmpl/gstfilesrc.sgml:
21991 * docs/gst/tmpl/gstindex.sgml:
21992 * docs/manual/appendix-quotes.xml:
21993 * gst/base/gstbasesrc.h:
21994 * gst/elements/gstfakesrc.h:
21995 * gst/gstmessage.h:
21996 start pulling in base classes and elements in our docs
21998 2005-06-24 Stefan Kost <ensonic@users.sf.net>
22000 * docs/gst/Makefile.am:
22001 * docs/libs/Makefile.am:
22002 fixed make distcheck with gtk-doc 1.3
22004 2005-06-23 Wim Taymans <wim@fluendo.com>
22006 * gst/gstelement.c: (gst_element_get_state_func),
22007 (gst_element_set_state), (gst_element_change_state):
22008 When the state did not change, also report NO_PREROLL
22011 2005-06-23 Wim Taymans <wim@fluendo.com>
22013 * gst/gstpad.c: (gst_pad_event_default):
22014 * gst/gstqueue.c: (gst_queue_loop):
22015 No unsafe task pausing please.
22017 2005-06-23 Wim Taymans <wim@fluendo.com>
22019 * gst/schedulers/threadscheduler.c:
22020 (gst_thread_scheduler_task_start),
22021 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
22022 Ref the task before pushing it on the threadpool. This
22023 makes sure that we have a ref when the threadfunction is
22026 2005-06-23 Andy Wingo <wingo@pobox.com>
22028 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
22029 offset is greater than the file's size.
22031 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
22032 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
22033 * gst/gstobject.c (gst_object_class_init): Make the class lock
22034 recursive. Wim won't let me drop deep_notify. Decodebin works
22035 again, whoopdy doo.
22037 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
22038 internal pad, and hacks accordingly. Doesn't do it on the target
22039 pad because we change its caps. Probably catches all cases of
22041 (gst_ghost_pad_set_property): Connect to notify::caps as
22044 * tests/network-clock.scm (plot-simulation): Pipe data to the
22045 elite python skript.
22047 * tests/network-clock-utils.scm (define-parameter): New macro,
22048 defines a parameter that can be set via the command line.
22049 (set-parameter!, parse-parameter-arguments): Command line args
22052 * tests/plot-data: Simple matplotlib-based plotter, takes input on
22055 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
22057 * gst/elements/gsttypefindelement.c:
22058 (gst_type_find_element_handle_event):
22059 Don't restart typefinding on a discont.
22060 * gst/gstelement.c: (gst_element_set_state):
22061 Debug spelling fix.
22062 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
22063 Allow changing mode of an active pad.
22064 Debug output fixes.
22065 * gst/registries/gstlibxmlregistry.c: (load_feature):
22066 Don't cast a static pad template to a normal pad template.
22068 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
22070 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22071 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22072 remove gst_strtoll completely, since it didn't actually do
22073 anything more than what g_ascii_strtoull already does.
22074 check for range errors when deserializing
22075 do a cast for the unsigned cases; but further fixing needs
22076 a decision on what the interpretation of "(int)" and
22077 deserialization should be for values that fall outside the
22078 type's boundaries (ie, refuse, or interpret as casting)
22080 2005-06-23 Wim Taymans <wim@fluendo.com>
22082 * check/Makefile.am:
22083 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
22084 * docs/design/part-live-source.txt:
22085 * docs/design/part-states.txt:
22086 * gst/base/gstbasesrc.c: (gst_basesrc_init),
22087 (gst_basesrc_set_live), (gst_basesrc_is_live),
22088 (gst_basesrc_get_range), (gst_basesrc_activate),
22089 (gst_basesrc_change_state):
22090 * gst/base/gstbasesrc.h:
22091 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22092 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
22093 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
22094 * gst/gstelement.c: (gst_element_get_state_func),
22095 (gst_element_set_state):
22096 * gst/gstelement.h:
22098 * tools/gst-launch.c: (event_loop), (main):
22099 Added support for live sources and other elements that
22101 Updated design docs, added live-source design doc.
22102 Implemented live source functionality in basesrc
22103 Fix error condition in _bin_get_state()
22104 Implement live source handling in -launch.
22105 Added check for live sources.
22106 Fixed case in GstBin where elements were changed state
22110 2005-06-23 Andy Wingo <wingo@pobox.com>
22112 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
22113 borken refcounting.
22115 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
22116 gst_caps_replace takes care of this for us.
22118 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
22119 gst_pad_set_caps on the target, not just its setcaps() function.
22121 * tests/network-clock.scm:
22122 * tests/network-clock-utils.scm: A network clock simulator.
22123 Something of an algorithmic testbed before doing something in C.
22125 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22127 * check/Makefile.am:
22128 * check/gst/capslist.h:
22129 copy over from 0.8, and add two with bitmasks specified with
22131 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22132 add test to parse everything from capslist.h
22133 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
22135 add test for structure deserialization
22136 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22137 add tests for deserialization of strings to int types
22138 * gst/gststructure.c: (gst_structure_nth_field_name):
22139 * gst/gststructure.h:
22140 add a way to get the name of a field referenced by index
22141 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22142 instead of checking if the resulting long long lies between
22143 min and max, we check if the long long would fit into
22144 a number of bytes for the final type.
22145 This fixes cases where a string represents 2^32 - 1, which
22146 when cast to int would be the (valid) -1, but is bigger than
22149 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22151 * gst/parse/grammar.y:
22152 add a log line for type deserialization
22154 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
22156 * check/gst/gstvalue.c: (START_TEST):
22157 * gst/gstvalue.c: (gst_value_deserialize):
22158 return long long, not int, so gint64 deserialization actually
22159 works. Is there any flag that makes the compiler check this ?
22162 2005-06-22 Wim Taymans <wim@fluendo.com>
22165 Added convenience macros for setting buffers in GValue.
22167 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22169 * check/gst/.cvsignore:
22170 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
22171 add a test deserializing int64, and comment part out because
22174 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
22176 * check/Makefile.am:
22177 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
22178 * testsuite/Makefile.am:
22179 * testsuite/caps/Makefile.am:
22180 * testsuite/caps/value_serialize.c:
22181 * testsuite/test_gst_init.c:
22182 move a value_serialize test over
22184 2005-06-20 Wim Taymans <wim@fluendo.com>
22189 * gst/gstvalue.c: (gst_value_compare_buffer),
22190 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
22191 (gst_value_compare_flags), (gst_value_serialize_flags),
22192 (gst_value_deserialize_flags), (_gst_value_initialize):
22193 Fix serialisation of buffers, they are not boxed types anymore
22195 2005-06-20 Wim Taymans <wim@fluendo.com>
22197 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
22198 Testcase to show error in buffer-on-caps serialisation.
22200 2005-06-20 Andy Wingo <wingo@pobox.com>
22202 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
22203 will be adding to later.
22205 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
22206 if its socks fill with rocks.
22207 (gst_system_clock_obtain): Set the name on object construction.
22208 Avoid double-checked locking.
22210 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
22212 * gst/gsturi.c: (gst_element_make_from_uri):
22213 Fix potential endless loop.
22215 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22217 * check/Makefile.am:
22219 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
22221 move over from testsuite dir and clean up
22224 * testsuite/Makefile.am:
22225 * testsuite/tags/.cvsignore:
22226 * testsuite/tags/Makefile.am:
22227 * testsuite/tags/merge.c:
22228 remove testsuite/tags
22230 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22232 * docs/gst/gstreamer-sections.txt:
22233 * docs/gst/tmpl/gstenumtypes.sgml:
22234 * win32/gstenumtypes.c:
22235 clean up documentation build a little
22237 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22239 * check/gstcheck.h:
22240 add macros for checking refcounts on objects and caps
22241 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
22242 add some more unit tests
22243 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22244 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
22245 fix leaked refcounts (I hope :)) so unittest works
22249 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
22251 * configure.ac: back to HEAD
22253 === release 0.9.1 ===
22255 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
22261 2005-06-17 Andy Wingo <wingo@pobox.com>
22263 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
22264 assert; it's always possible that the pad gets deactivated in
22265 between the checks in gstpad.c and the implementation. Rely on
22266 finish_preroll() to return a FLUSHING or similar instead of on the
22269 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
22270 clock and post an EOS message if we come out of finish_preroll in
22273 2005-06-16 David Schleef <ds@schleef.org>
22275 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22276 (gst_capsfilter_set_property): Allow NULL as possible value
22277 for filter_caps property, indicating GST_CAPS_ANY.
22279 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22281 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
22283 * gst/schedulers/Makefile.am:
22285 * gstreamer.spec.in:
22288 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
22290 * gstreamer.spec.in:
22293 2005-06-08 Andy Wingo <wingo@pobox.com>
22295 * gst/gstutils.c: RPAD fixes all around.
22296 (gst_element_link_pads): Refcounting fixes.
22298 * tools/gst-inspect.c:
22299 * tools/gst-xmlinspect.c:
22301 * gst/base/gsttypefindhelper.c:
22302 * gst/base/gstbasesink.c:
22303 * gst/gstqueue.c: RPAD fixes.
22305 * gst/gstghostpad.h:
22306 * gst/gstghostpad.c: New ghost pad implementation as full proxy
22307 pads. The tricky thing is they provide both source and sink
22308 interfaces, since they proxy the internal pad for the external
22309 pad, and vice versa. Implement with lower-level ProxyPad objects,
22310 with the interior proxy pad as a child of the exterior ghost pad.
22311 Should write a doc on this.
22313 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
22314 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
22317 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
22318 pads are real pads. No ghost pads in this file. Not documenting
22319 the myriad s/RPAD/PAD/ and REALIZE fixes.
22320 (gst_pad_class_init): Add properties for "direction" and
22321 "template". Both are construct-only, so they can't change during
22322 the life of the pad. Fixes properly deriving from GstPad.
22323 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
22324 derived objects, just set properties when creating the objects via
22326 (gst_pad_get_parent): Implement as a function, return NULL if the
22327 parent is not an element.
22328 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
22329 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
22331 * gst/gstobject.c (gst_object_class_init): Make name a construct
22332 property. Don't set it in the object init.
22334 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
22335 with UNKNOWN direction.
22336 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
22337 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
22338 (gst_element_remove_pad): Remove ghost-pad special cases.
22339 (gst_element_pads_activate): Remove rpad cruft.
22341 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
22342 catch the pad's-parent-not-an-element case.
22344 * gst/gst.h: Include gstghostpad.h.
22346 * gst/gst.c (init_post): No more real, ghost pads.
22348 * gst/Makefile.am: Add gstghostpad.[ch].
22350 * check/Makefile.am:
22351 * check/gst/gstbin.c:
22352 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
22353 into a bin creates ghost pads, and that the refcounts are right.
22354 Partly moved from gstbin.c.
22356 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22358 * check/gst-libs/.cvsignore:
22359 * check/gst/.cvsignore:
22360 * check/pipelines/.cvsignore:
22362 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
22363 (START_TEST), (cleanup_suite), (main):
22364 add some tests related to cleanup after running pipelines
22366 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22368 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
22369 add a testsuite for GstBuffer
22371 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
22373 * gst/gstminiobject.h:
22374 add defines for accessing the refcount
22376 2005-06-03 Stefan Kost <ensonic@users.sf.net>
22378 * Makefile.am: added support for html unit test coverage reports
22380 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
22382 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22383 Free existing caps if the capsfilter changes. Add a FIXME about
22384 setting those caps on the pads.
22386 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
22387 Before adding a ghost pad to a parent bin, check that there isn't
22388 already one for the element on the bin. Prevents infinite recursion
22389 when using decodebin in parse pipelines. Andy says he'll rewrite the
22390 way this works anyway, so ignore the hack.
22392 2005-06-02 Andy Wingo <wingo@pobox.com>
22394 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
22395 file size, pass it on to the type find helper.
22397 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
22398 segment_start and segment_end properly according to the seek
22399 method. Segment_end is still a bit flaky because offset can be
22400 negative for CUR and END cases, but it takes -1 as an "unset"
22403 2005-06-02 Wim Taymans <wim@fluendo.com>
22405 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
22406 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
22407 (gst_basesink_activate):
22408 * gst/base/gstbasesink.h:
22409 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22410 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22411 (gst_pad_query), (gst_pad_start_task):
22413 * gst/gstqueue.c: (gst_queue_bufferalloc),
22414 (gst_queue_handle_sink_event), (gst_queue_chain):
22415 Bufferalloc: return GstFlowReturn to more accuratly report
22416 why allocation failed.
22418 2005-06-02 Wim Taymans <wim@fluendo.com>
22420 * gst/gstpipeline.c: (gst_pipeline_send_event):
22421 Take snapshot of state without blocking.
22423 2005-06-02 Wim Taymans <wim@fluendo.com>
22425 * docs/design/part-TODO.txt:
22426 * docs/design/part-caps.txt:
22427 * docs/design/part-clocks.txt:
22428 * docs/design/part-negotiation.txt:
22429 * docs/design/part-preroll.txt:
22432 2005-05-30 Wim Taymans <wim@fluendo.com>
22434 * gst/elements/gstidentity.c: (gst_identity_event),
22435 (gst_identity_transform), (gst_identity_get_property):
22436 Protect last_message property as it is accessed from
22439 2005-05-30 Wim Taymans <wim@fluendo.com>
22441 * gst/gstelement.c: (gst_element_init),
22442 (gst_element_pads_activate), (gst_element_change_state):
22443 Slicker pad activation code.
22445 2005-05-30 Wim Taymans <wim@fluendo.com>
22448 * gst/gstelement.h:
22449 * gst/gstelementfactory.h:
22451 Move elementfactory methods to separate .h file.
22453 2005-05-30 Wim Taymans <wim@fluendo.com>
22455 * docs/design/part-overview.txt:
22456 * gst/gstsystemclock.h:
22457 Small typo fixes, doc updates.
22459 2005-05-30 Wim Taymans <wim@fluendo.com>
22461 * gst/gst.c: (gst_init_get_popt_table), (init_post),
22462 (init_popt_callback):
22463 Remove cpu-opt flag.
22465 2005-05-30 Wim Taymans <wim@fluendo.com>
22467 * gst/gstbuffer.c: (gst_subbuffer_finalize),
22468 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
22470 Avoid typechecking in places where not needed.
22471 Added accessor for malloc_data.
22473 2005-05-30 Wim Taymans <wim@fluendo.com>
22475 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
22476 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
22477 (gst_pad_configure_sink), (gst_pad_configure_src),
22478 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
22479 (gst_pad_start_task):
22480 Propagate errors from _set_caps() in configure_src/sink
22481 functions instead of returning TRUE.
22482 FLUSH events can travel up and downstream
22485 2005-05-30 Wim Taymans <wim@fluendo.com>
22487 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22488 (gst_basesink_activate):
22489 Handle EOS in preroll.
22491 2005-05-30 Wim Taymans <wim@fluendo.com>
22493 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22494 (gst_queue_loop), (gst_queue_handle_src_event):
22495 Remove old pieces of code
22496 Flushing the queue in an upstream event is a very bad idea.
22498 2005-05-26 Andy Wingo <wingo@pobox.com>
22500 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
22501 gst_value_set_mini_object so as to add a ref on the object (which
22502 will be removed when the value is unset).
22504 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
22505 arg type in ::handoff.
22507 * gst/gstelement.c (gst_element_change_state): Also deactivate
22508 pads in READY->NULL, just in case the element didn't make it to
22509 PAUSED. Wingo tested, Wim approved.
22511 2005-05-26 Wim Taymans <wim@fluendo.com>
22513 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22514 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
22515 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
22516 A flushing pad cannot be used to alloc_buffer from.
22518 2005-05-26 Wim Taymans <wim@fluendo.com>
22520 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
22521 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
22522 (gst_bus_source_dispatch), (gst_bus_source_finalize),
22523 (gst_bus_create_watch), (gst_bus_add_watch_full):
22525 Implement a real GSource and use g_main_context_wakeup() to
22526 signal new messages instead of the socketpair.
22528 2005-05-25 Wim Taymans <wim@fluendo.com>
22530 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
22531 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
22532 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22533 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22534 (gst_pad_send_event), (gst_pad_start_task):
22535 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
22536 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22537 (gst_queue_sink_activate), (gst_queue_src_activate),
22538 (gst_queue_change_state):
22540 Fix state changes for non sinks. We now change sinks, then elements
22541 with unconnected srcpads, then the rest.
22542 More efficient queue unlocking in flush and state changes.
22543 Set the pad activate mode even if it does not have an activate
22546 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22548 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
22549 Don't go in pull mode for non-seekable sources.
22550 * gst/elements/gsttypefindelement.h:
22551 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
22552 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
22553 (free_entry), (stop_typefinding),
22554 (gst_type_find_element_handle_event), (find_peek),
22555 (gst_type_find_element_chain), (do_pull_typefind),
22556 (gst_type_find_element_change_state):
22557 Allow typefinding (w/o seeking) in push-mode, simplified version
22558 of what was in 0.8.
22559 * gst/gstutils.c: (gst_buffer_join):
22561 gst_buffer_join() from 0.8.
22563 2005-05-25 Wim Taymans <wim@fluendo.com>
22565 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
22566 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
22567 (gst_pad_send_event), (gst_pad_start_task):
22568 Disable attempt at mode switching until it is figured out.
22570 2005-05-25 Wim Taymans <wim@fluendo.com>
22572 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
22573 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
22574 (gst_basesink_finish_preroll), (gst_basesink_chain),
22575 (gst_basesink_loop), (gst_basesink_activate),
22576 (gst_basesink_change_state):
22577 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
22578 (gst_basesrc_get_range), (gst_basesrc_loop),
22579 (gst_basesrc_activate):
22580 * gst/elements/gsttee.c: (gst_tee_sink_activate):
22581 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
22582 (gst_real_pad_init), (gst_real_pad_set_property),
22583 (gst_real_pad_get_property), (gst_pad_set_active),
22584 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
22585 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
22586 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
22587 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
22588 (gst_pad_event_default_dispatch), (gst_pad_event_default),
22589 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
22590 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
22591 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22592 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
22593 (gst_pad_stop_task):
22595 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22596 (gst_queue_loop), (gst_queue_src_activate):
22597 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
22598 (gst_task_get_state):
22600 * gst/schedulers/threadscheduler.c:
22601 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
22602 Implement gst_pad_pause/start/stop_task(), take STREAM lock
22604 Remove ACTIVE pad flag, use FLUSHING everywhere
22605 Added _pad_chain(), _pad_get_range() to call chain/getrange
22607 Add locks around IS_FLUSHING when reading.
22608 Take STREAM lock in chain(), get_range() functions so plugins
22609 don't need to take it anymore.
22613 2005-05-25 Wim Taymans <wim@fluendo.com>
22615 * tools/gst-launch.c: (event_loop):
22616 Unref message after using its contents instead of
22619 2005-05-24 Wim Taymans <wim@fluendo.com>
22621 * docs/design/draft-ghostpads.txt:
22622 * docs/design/draft-push-pull.txt:
22623 * docs/design/draft-query.txt:
22624 * docs/design/part-overview.txt:
22625 Docs updates, added general overview doc.
22627 2005-05-21 David Schleef <ds@schleef.org>
22629 * docs/gst/tmpl/old/GstBin.sgml:
22630 * docs/gst/tmpl/old/GstBuffer.sgml:
22631 * docs/gst/tmpl/old/GstCaps.sgml:
22632 * docs/gst/tmpl/old/GstClock.sgml:
22633 * docs/gst/tmpl/old/GstCompat.sgml:
22634 * docs/gst/tmpl/old/GstData.sgml:
22635 * docs/gst/tmpl/old/GstElement.sgml:
22636 * docs/gst/tmpl/old/GstEvent.sgml:
22637 * docs/gst/tmpl/old/GstIndex.sgml:
22638 * docs/gst/tmpl/old/GstStructure.sgml:
22639 * docs/gst/tmpl/old/GstTag.sgml:
22640 * docs/gst/tmpl/old/cothreads.sgml:
22641 * docs/gst/tmpl/old/cothreads_compat.sgml:
22642 * docs/gst/tmpl/old/gettext.sgml:
22643 * docs/gst/tmpl/old/gobject2gtk.sgml:
22644 * docs/gst/tmpl/old/grammar.tab.sgml:
22645 * docs/gst/tmpl/old/gst-i18n-app.sgml:
22646 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
22647 * docs/gst/tmpl/old/gst_private.sgml:
22648 * docs/gst/tmpl/old/gstaggregator.sgml:
22649 * docs/gst/tmpl/old/gstarch.sgml:
22650 * docs/gst/tmpl/old/gstatomic_impl.sgml:
22651 * docs/gst/tmpl/old/gstbufferstore.sgml:
22652 * docs/gst/tmpl/old/gstdata_private.sgml:
22653 * docs/gst/tmpl/old/gstdisksink.sgml:
22654 * docs/gst/tmpl/old/gstdisksrc.sgml:
22655 * docs/gst/tmpl/old/gstelementfactory.sgml:
22656 * docs/gst/tmpl/old/gstextratypes.sgml:
22657 * docs/gst/tmpl/old/gstfakesink.sgml:
22658 * docs/gst/tmpl/old/gstfakesrc.sgml:
22659 * docs/gst/tmpl/old/gstfdsink.sgml:
22660 * docs/gst/tmpl/old/gstfdsrc.sgml:
22661 * docs/gst/tmpl/old/gstfilesink.sgml:
22662 * docs/gst/tmpl/old/gstfilesrc.sgml:
22663 * docs/gst/tmpl/old/gsthttpsrc.sgml:
22664 * docs/gst/tmpl/old/gstidentity.sgml:
22665 * docs/gst/tmpl/old/gstindexfactory.sgml:
22666 * docs/gst/tmpl/old/gstmarshal.sgml:
22667 * docs/gst/tmpl/old/gstmd5sink.sgml:
22668 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
22669 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
22670 * docs/gst/tmpl/old/gstpadtemplate.sgml:
22671 * docs/gst/tmpl/old/gstpipefilter.sgml:
22672 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
22673 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
22674 * docs/gst/tmpl/old/gstshaper.sgml:
22675 * docs/gst/tmpl/old/gstspider.sgml:
22676 * docs/gst/tmpl/old/gstspideridentity.sgml:
22677 * docs/gst/tmpl/old/gststatistics.sgml:
22678 * docs/gst/tmpl/old/gsttee.sgml:
22679 * docs/gst/tmpl/old/gsttimecache.sgml:
22680 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
22681 * docs/gst/tmpl/old/gstxmlregistry.sgml:
22682 * docs/gst/tmpl/old/gthread-cothreads.sgml:
22683 * docs/gst/tmpl/old/types.sgml:
22684 I didn't intend to add these or check them in.
22686 2005-05-19 David Schleef <ds@schleef.org>
22688 * configure.ac: Use -no-common everywhere. In a sane world, it
22689 would be the default in libtool, because without it, you can't
22690 build DLLs on Windows.
22691 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
22692 * docs/gst/gstreamer-sections.txt:
22693 * docs/gst/tmpl/gstcpu.sgml:
22694 * docs/gst/tmpl/gstdata.sgml:
22695 * docs/gst/tmpl/gstthread.sgml:
22697 2005-05-19 David Schleef <ds@schleef.org>
22699 * gst/gstminiobject.c: (gst_value_set_mini_object),
22700 (gst_value_take_mini_object), (gst_value_get_mini_object):
22701 * gst/gstminiobject.h: Add GValue set/get functions.
22703 2005-05-19 Wim Taymans <wim@fluendo.com>
22705 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
22706 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
22707 (gst_subbuffer_init), (gst_buffer_is_span_fast):
22709 * gst/gstbus.c: (gst_bus_post):
22710 * gst/gstelement.c: (gst_element_get_random_pad):
22711 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
22712 Make subbufer unref the parent in finalize.
22713 some more debugging info.
22716 2005-05-19 Wim Taymans <wim@fluendo.com>
22718 * gst/base/gstbasesink.c: (gst_basesink_class_init),
22719 (gst_basesink_init), (gst_basesink_finalize),
22720 (gst_basesink_activate), (gst_basesink_change_state):
22721 Don't free preroll queue too early.
22723 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22727 Hi, I'm outdated. Please shoot me.
22729 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22731 * gst/gstpipeline.c: (gst_pipeline_send_event):
22732 Do not access variables after they have been deleted.
22734 2005-05-19 Wim Taymans <wim@fluendo.com>
22736 * tools/gst-inspect.c: (print_plugin_features):
22737 A plugin feature does unfortunatly not use the
22740 2005-05-18 Wim Taymans <wim@fluendo.com>
22742 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
22743 Port _span() functions to new subbuffers.
22745 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22747 * gst/gstbin.c: (gst_bin_add_func):
22748 Fix clock settery in bins when adding kids after the clock has
22751 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22753 * gst/elements/gstidentity.c: (gst_identity_class_init):
22754 Workaround until signals support GstMiniObject.
22756 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
22759 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
22761 2005-05-18 Wim Taymans <wim@fluendo.com>
22763 * gst/base/Makefile.am:
22764 * gst/base/gstadapter.c: (gst_adapter_base_init),
22765 (gst_adapter_class_init), (gst_adapter_init),
22766 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
22767 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
22768 (gst_adapter_flush), (gst_adapter_available),
22769 (gst_adapter_available_fast):
22770 * gst/base/gstadapter.h:
22771 Ported and added adapter to the base classes.
22773 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22776 * gst/gstmessage.c:
22777 Make sure the class is reffed/unreffed once before threads can be
22778 used. Fixes #304551.
22780 2005-05-17 Wim Taymans <wim@fluendo.com>
22782 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
22783 (gst_basesink_chain_unlocked), (gst_basesink_activate):
22784 * gst/gstminiobject.c: (gst_mini_object_get_type),
22785 (gst_mini_object_free):
22786 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
22787 (gst_pad_push), (gst_pad_push_event):
22788 * gst/gstqueue.c: (gst_queue_change_state):
22789 Don't queue buffers in basesink when we are flushing.
22790 Unref buffer when flushing in basesink.
22791 Flush queue when going to READY
22792 Unref buffer when _push() returns an error.
22793 Don't free MiniObject instance when refcount is incremented
22794 in _finalize() so that we can recover objects.
22796 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
22798 * docs/manual/advanced-schedulers.xml:
22799 * docs/manual/appendix-checklist.xml:
22800 * docs/pwg/advanced-clock.xml:
22801 * docs/pwg/advanced-interfaces.xml:
22802 * docs/pwg/advanced-request.xml:
22803 * docs/pwg/advanced-types.xml:
22804 * docs/pwg/intro-preface.xml:
22805 * examples/plugins/example.c: (gst_example_get_type),
22806 (gst_example_class_init), (gst_example_chain),
22807 (gst_example_set_property), (gst_example_get_property),
22808 (gst_example_change_state), (plugin_init):
22809 * examples/plugins/example.h:
22812 2005-05-17 Wim Taymans <wim@fluendo.com>
22814 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
22815 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
22816 * gst/gstqueue.c: (gst_queue_change_state):
22817 Clear queue when going to READY.
22818 Remove IN_SETCAPS flag too.
22820 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
22822 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
22823 Remove implicit cast from gboolean to GstElementStateReturn;
22824 make sure we still return failure in paused => ready case if
22825 the parent class fails to change state and our own stop
22828 2005-05-17 Wim Taymans <wim@fluendo.com>
22830 * tools/gst-launch.c: (event_loop):
22831 Message was unreffed too soon.
22833 2005-05-16 Andy Wingo <wingo@pobox.com>
22835 * gst/gstbin.c (sink_iterator_filter): Err... um...
22837 * check/gst/gstbin.c (test_ghost_pads): New test for the
22838 ghosting-if-elements-not-in-same-bin behavior.
22840 2005-05-16 David Schleef <ds@schleef.org>
22842 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
22843 accessing refcount directly.
22845 2005-05-15 David Schleef <ds@schleef.org>
22847 * check/Makefile.am: remove GstData checks
22848 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
22849 * gst/Makefile.am: add miniobject, remove data
22850 * gst/gst.h: add miniobject, remove data
22851 * gst/gstdata.c: remove
22852 * gst/gstdata.h: remove
22853 * gst/gstdata_private.h: remove
22854 * gst/gsttypes.h: remove GstEvent and GstMessage
22855 * gst/gstelement.c: (gst_element_post_message): fix for API changes
22856 * gst/gstmarshal.list: change BOXED -> OBJECT
22858 Implement GstMiniObject.
22859 * gst/gstminiobject.c:
22860 * gst/gstminiobject.h:
22862 Modify to be subclasses of GstMiniObject.
22863 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
22864 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
22865 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
22866 (gst_subbuffer_get_type), (gst_subbuffer_init),
22867 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
22870 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
22871 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
22872 (_gst_event_copy), (gst_event_new):
22874 * gst/gstmessage.c: (_gst_message_initialize),
22875 (gst_message_get_type), (gst_message_class_init),
22876 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
22877 (gst_message_new), (gst_message_new_error),
22878 (gst_message_new_warning), (gst_message_new_tag),
22879 (gst_message_new_state_changed), (gst_message_new_application):
22880 * gst/gstmessage.h:
22881 * gst/gstprobe.c: (gst_probe_perform),
22882 (gst_probe_dispatcher_dispatch):
22884 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
22885 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
22886 (_gst_query_copy), (gst_query_new):
22888 Update elements for GstData -> GstMiniObject changes
22890 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
22891 (gst_queue_chain), (gst_queue_loop):
22892 * gst/elements/gstbufferstore.c:
22893 (gst_buffer_store_add_buffer_func),
22894 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
22895 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
22896 (gst_fakesink_render):
22897 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
22898 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
22899 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
22900 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
22901 (gst_filesrc_create_read):
22902 * gst/elements/gstidentity.c: (gst_identity_class_init):
22903 * gst/elements/gsttypefindelement.c:
22904 (gst_type_find_element_src_event), (free_entry_buffers),
22905 (gst_type_find_element_handle_event):
22906 * libs/gst/dataprotocol/dataprotocol.c:
22907 (gst_dp_header_from_buffer):
22908 * libs/gst/dataprotocol/dataprotocol.h:
22909 * libs/gst/dataprotocol/dp-private.h:
22911 2005-05-15 David Schleef <ds@schleef.org>
22913 * gst/elements/gstelements.c: Don't include headers that were
22916 2005-05-15 David Schleef <ds@schleef.org>
22918 * gst/elements/Makefile.am: Remove some elements that don't
22919 need to be in the core (or even exist at all).
22920 * gst/elements/gstaggregator.c:
22921 * gst/elements/gstaggregator.h:
22922 * gst/elements/gstmd5sink.c:
22923 * gst/elements/gstmd5sink.h:
22924 * gst/elements/gstmultifilesrc.c:
22925 * gst/elements/gstmultifilesrc.h:
22926 * gst/elements/gstpipefilter.c:
22927 * gst/elements/gstpipefilter.h:
22928 * gst/elements/gstshaper.c:
22929 * gst/elements/gstshaper.h:
22930 * gst/elements/gststatistics.c:
22931 * gst/elements/gststatistics.h:
22932 * po/POTFILES.in: Remove above files.
22934 2005-05-14 Andy Wingo <wingo@pobox.com>
22936 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
22937 so as to get the refs right.
22938 (sink_iterator_filter): New function, wraps bin_element_is_sink,
22939 unreffing objects that don't pass the filter.
22941 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
22942 gst_element_set_bus.
22943 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
22944 normal cases, this will destroy the bus.
22946 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
22949 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
22952 2005-05-13 Andy Wingo <wingo@pobox.com>
22954 * gst/gstutils.c (gst_element_link_pads): Instead of calling
22955 gst_pad_link, call pad_link_maybe_ghosting,
22956 (pad_link_maybe_ghosting): Links pads, making sure that the
22957 elements being linked are in the same bin.
22958 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
22959 Helpers for pad_link_maybe_ghosting.
22961 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22964 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
22966 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
22968 * docs/design/part-element-source.txt:
22971 2005-05-12 Wim Taymans <wim@fluendo.com>
22973 * gst/base/gstbasesink.c: (gst_basesink_init),
22974 (gst_basesink_activate):
22975 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
22976 (gst_basesrc_is_seekable):
22977 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22978 (bin_element_is_sink), (gst_bin_change_state):
22979 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
22980 * gst/gstelement.h:
22981 Identify sinks by their flag to avoid overly complicated
22983 Do state changes even for elements not reachable from the
22985 BaseSink is a sink now :)
22986 Some more debugging info in the basesrc.
22989 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22991 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
22992 Implement _query on a bin, similar to _send_event.
22994 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
22996 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
22997 Discont event offset format should be GST_FORMAT_BYTES,
22998 not GST_FORMAT_TIME.
23000 2005-05-12 Wim Taymans <wim@fluendo.com>
23002 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
23003 Same fix as Ronald's but without the signal.
23005 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23007 * gst/gstutils.c: (gst_element_query_position):
23008 No, an element is not a pad.
23010 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23012 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
23013 (gst_bin_get_state):
23014 If a child is removed from a bin while we remove the child from
23015 the bin and while we're retrieving its state, signal this to the
23016 get_state function so we abort the wait (instead of waiting for
23017 a timeout) and can immediately re-iterate over all other elements.
23019 2005-05-12 Wim Taymans <wim@fluendo.com>
23021 * gst/base/Makefile.am:
23022 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
23023 (gst_basesrc_start):
23024 * gst/base/gstbasesrc.h:
23025 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
23026 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
23027 (gst_pushsrc_init), (gst_pushsrc_create):
23028 * gst/base/gstpushsrc.h:
23029 Added is_seekable to BaseSrc
23030 Added simple PushSrc.
23032 2005-05-11 Wim Taymans <wim@fluendo.com>
23034 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
23035 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23036 (gst_element_link_pads), (gst_element_query_position),
23037 (gst_element_query_convert), (intersect_caps_func),
23038 (gst_pad_query_position), (gst_pad_query_convert):
23039 Fix refcounting in utils function.
23040 No point in trying to activate a pad when it's added, it could
23041 be added from the state change function and then we deadlock, the
23042 element has to decide what to do.
23044 2005-05-10 Andy Wingo <wingo@pobox.com>
23046 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
23047 *all* the arguments.
23049 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
23050 stream lock if it's a FLUSH_DONE; normal flushes don't get the
23051 lock (according to the docs -- if this is wrong change the docs).
23053 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
23054 flush messages in the NULL state.
23056 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
23057 message immediately and return.
23058 (gst_bus_set_flushing): New function. If a bus is flushing, it
23059 flushes out any queued messages and immediately unrefs new
23060 messages. This is so when an element goes to NULL, all of the
23061 unhandled messages coming from it can be freed, and their
23062 references to the element dropped. In other words: message source
23063 ref considered harmful :P
23065 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
23066 we're finished with it.
23068 * gst/gstmessage.c (gst_message_new_state_changed):
23070 2005-05-10 Wim Taymans <wim@fluendo.com>
23072 * gst/gstvalue.c: (gst_value_compare_flags),
23073 (gst_value_serialize_flags), (gst_value_deserialize_flags),
23074 (_gst_value_initialize):
23075 Added flags serialize/deserialize/compare code.
23077 2005-05-09 Andy Wingo <wingo@pobox.com>
23079 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
23080 Intersect the peer's caps with our caps.
23082 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23084 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23085 * gst/elements/gsttypefindelement.c: (find_peek):
23086 Handle negative offsets better. Fixes decodebin.
23088 2005-05-09 Wim Taymans <wim@fluendo.com>
23090 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
23091 (gst_base_transform_event):
23092 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
23093 Implement accept_caps.
23094 Fix silly lock/unlock mismatch in base class.
23096 2005-05-09 Wim Taymans <wim@fluendo.com>
23098 * docs/design/draft-push-pull.txt:
23099 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
23100 * gst/elements/gstfilesink.c: (gst_filesink_init),
23101 (gst_filesink_query):
23102 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23103 (gst_type_find_handle_src_query), (find_element_get_length):
23104 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
23105 * gst/gstelement.h:
23106 * gst/gstmessage.c:
23107 * gst/gstmessage.h:
23108 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
23109 (gst_real_pad_get_caps_unlocked),
23110 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
23111 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23112 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
23113 (gst_real_pad_dispose), (gst_real_pad_finalize),
23114 (gst_pad_load_and_link), (gst_pad_save_thyself),
23115 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
23116 (gst_pad_check_pull_range), (gst_pad_pull_range),
23117 (gst_pad_template_get_type), (gst_pad_template_class_init),
23118 (gst_pad_template_init), (gst_pad_template_dispose),
23119 (name_is_valid), (gst_static_pad_template_get),
23120 (gst_pad_template_new), (gst_static_pad_template_get_caps),
23121 (gst_pad_template_get_caps), (gst_pad_set_element_private),
23122 (gst_pad_get_element_private), (gst_pad_start_task),
23123 (gst_pad_pause_task), (gst_pad_stop_task),
23124 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
23125 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
23126 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
23127 (gst_ghost_pad_new):
23129 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
23130 (gst_query_new_position), (gst_query_set_position),
23131 (gst_query_parse_position), (gst_query_new_convert),
23132 (gst_query_set_convert), (gst_query_parse_convert):
23134 * gst/gstqueryutils.c:
23135 * gst/gstqueryutils.h:
23136 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23137 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23138 (gst_queue_handle_src_query):
23139 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23140 (gst_element_query_position), (gst_element_query_convert),
23141 (intersect_caps_func), (gst_pad_query_position),
23142 (gst_pad_query_convert):
23144 * tools/gst-inspect.c: (print_pad_info):
23145 * tools/gst-xmlinspect.c: (print_element_info):
23146 Remove old query functions. Ported old code.
23147 Added position/convert helper functions to gstutils.
23148 Reordered gstpad.c code, grouping relevant things.
23149 Remove gst_message_new(), always need to speficy a specific
23153 2005-05-09 Andy Wingo <wingo@pobox.com>
23155 * gst/gstiterator.h: Add some includes.
23157 * gst/gstqueryutils.h: Include more headers.
23160 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
23161 some uses of gst_pad_query.
23163 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
23164 NULL out parameters.
23165 (gst_query_new_position): New proc, allocates a new position
23168 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
23169 gstqueryutils.c to the build.
23171 * gst/gststructure.c (gst_structure_set_valist): Implement with
23172 the generic G_VALUE_COLLECT.
23174 2005-05-08 Edward Hervey <bilboed@bilboed.com>
23176 * gst/Makefile.am: (gst_headers):
23177 Added gstqueryutils.h to the list of headers to install, that was
23178 a 'nachty' move wingo :)
23180 2005-05-06 Andy Wingo <wingo@pobox.com>
23183 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
23184 GstData, init a memchunk.
23185 (standard_definitions): Add a few query types, deprecate a few.
23186 (gst_query_get_type): New proc.
23187 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
23189 (gst_query_new_application, gst_query_get_structure): New public
23192 * docs/design/draft-query.txt: Removed LINKS from the query types,
23193 because all the rest can be dispatched to other pads -- seemed
23194 ugly to have a query that couldn't be dispatched. internal_links
23195 is fine as a pad method.
23197 * gst/gstpad.h: Add query2 as a pad method, add the new functions
23198 in gstpad.c, but maintain binary compatibility for the moment.
23199 Will fix before 0.9 is out.
23201 * gst/gstqueryutils.c:
23202 * gst/gstqueryutils.h: New files, implement 3 methods for each
23203 query type: parse_query, parse_response, and set. Probably need an
23206 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
23208 * gst/elements/gstfilesink.c (gst_filesink_query2):
23209 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
23210 query_types, and formats methods.
23212 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
23213 (gst_pad_set_query2_function): New functions.
23214 (gst_real_pad_init): Set query2_default as the default query2
23215 function. Basically just dispatches to internally linked pads.
23219 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
23220 without using the atomic operations. Only one thread can possibly
23221 be accessing the data at this point. Changed so as to avoid
23222 gst_atomic operations.
23224 2005-05-06 Wim Taymans <wim@fluendo.com>
23226 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
23227 Also set caps if we use the fallback buffer alloc.
23229 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
23231 * docs/gst/Makefile.am:
23232 * docs/gst/gstreamer-docs.sgml:
23233 * docs/gst/gstreamer-sections.txt:
23234 * docs/gst/tmpl/gstatomic.sgml:
23235 * docs/gst/tmpl/gstmemchunk.sgml:
23236 * testsuite/elements/struct_i386.h:
23237 * win32/GStreamer.vcproj:
23239 Purge GstAtomic stuff from docs and win32 makefiles as well
23241 2005-05-06 Wim Taymans <wim@fluendo.com>
23243 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
23244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
23245 * gst/gstpad.c: (gst_pad_peer_get_caps):
23246 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
23247 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
23248 (gst_queue_src_activate), (gst_queue_change_state):
23250 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23251 (intersect_caps_func):
23252 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
23253 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
23254 Some fixes for the peer_get_caps() change.
23256 2005-05-06 Wim Taymans <wim@fluendo.com>
23258 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23259 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
23260 (gst_basesink_activate):
23261 Actually do something with error codes returned from the push
23264 2005-05-06 Wim Taymans <wim@fluendo.com>
23266 * docs/design/part-element-sink.txt:
23267 * docs/design/part-element-source.txt:
23268 * gst/base/gstbasesink.c: (gst_basesink_class_init),
23269 (gst_basesink_event), (gst_basesink_activate):
23270 * gst/base/gstbasesink.h:
23271 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
23272 (gst_basesrc_activate):
23273 * gst/base/gstbasesrc.h:
23274 * gst/gstelement.c: (gst_element_pads_activate):
23275 Some more documentation.
23276 Fixed scheduling decision in _pads_activate().
23278 2005-05-05 Andy Wingo <wingo@pobox.com>
23280 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
23283 2005-05-05 Wim Taymans <wim@fluendo.com>
23285 * gst/base/Makefile.am:
23286 * gst/base/gstbasesink.h:
23287 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23288 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
23289 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
23290 (gst_collectpads_class_init), (gst_collectpads_init),
23291 (gst_collectpads_finalize), (gst_collectpads_new),
23292 (gst_collectpads_set_function), (gst_collectpads_add_pad),
23293 (find_pad), (gst_collectpads_remove_pad),
23294 (gst_collectpads_is_active), (gst_collectpads_collect),
23295 (gst_collectpads_collect_range), (gst_collectpads_start),
23296 (gst_collectpads_stop), (gst_collectpads_peek),
23297 (gst_collectpads_pop), (gst_collectpads_available),
23298 (gst_collectpads_read), (gst_collectpads_flush),
23299 (gst_collectpads_chain):
23300 * gst/base/gstcollectpads.h:
23301 * gst/elements/Makefile.am:
23302 * gst/elements/gstelements.c:
23303 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23304 (gst_fakesink_get_times), (gst_fakesink_event),
23305 (gst_fakesink_preroll), (gst_fakesink_render):
23306 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23307 (gst_filesink_init), (gst_filesink_set_location),
23308 (gst_filesink_open_file), (gst_filesink_close_file),
23309 (gst_filesink_pad_query), (gst_filesink_event),
23310 (gst_filesink_render), (gst_filesink_change_state):
23311 * gst/elements/gstfilesink.h:
23312 Added object to help in making collect pad based elements.
23314 Make event function in sink baseclass return gboolean.
23316 2005-05-05 Wim Taymans <wim@fluendo.com>
23318 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
23319 (gst_bin_get_by_name):
23321 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
23322 (gst_clock_finalize):
23323 * gst/gstdata.c: (gst_data_replace):
23325 * gst/gstelement.c: (gst_element_request_pad),
23326 (gst_element_pads_activate):
23327 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
23328 (gst_object_unref):
23329 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23330 (gst_pad_set_checkgetrange_function),
23331 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
23332 (gst_pad_check_pull_range), (gst_pad_pull_range),
23333 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23334 (gst_pad_pause_task), (gst_pad_stop_task):
23335 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
23336 (gst_element_request_pad), (gst_pad_proxy_getcaps):
23337 Fix name lookup in GstBin.
23338 Added _data_replace() function and _buffer_replace()
23339 Use finalize method to clean up clock.
23340 Fix refcounting on request pads.
23341 Fix pad schedule mode error.
23342 Some more object refcounting debug info,
23345 2005-05-04 Andy Wingo <wingo@pobox.com>
23347 * check/Makefile.am:
23348 * docs/gst/tmpl/gstatomic.sgml:
23349 * docs/gst/tmpl/gstplugin.sgml:
23350 * gst/base/gstbasesink.c: (gst_basesink_activate):
23351 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
23352 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
23353 (gst_basesrc_query), (gst_basesrc_set_property),
23354 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
23355 (gst_basesrc_activate):
23356 * gst/base/gstbasesrc.h:
23357 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
23358 (gst_base_transform_src_activate):
23359 * gst/elements/gstelements.c:
23360 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23361 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23362 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23363 * gst/elements/gsttypefindelement.c: (find_element_get_length),
23364 (gst_type_find_element_checkgetrange),
23365 (gst_type_find_element_activate):
23366 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
23367 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
23368 (gst_caps_load_thyself):
23369 * gst/gstelement.c: (gst_element_pads_activate),
23370 (gst_element_save_thyself), (gst_element_restore_thyself):
23371 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
23372 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
23374 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
23375 (gst_xml_parse_file), (gst_xml_parse_memory),
23376 (gst_xml_get_element), (gst_xml_make_element):
23377 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23378 (_file_index_id_save_xml), (gst_file_index_commit):
23379 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
23380 (read_enum), (load_pad_template), (load_feature), (load_plugin),
23382 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
23383 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
23384 * tools/gst-complete.c: (main):
23385 * tools/gst-compprep.c: (main):
23386 * tools/gst-inspect.c: (print_element_properties_info):
23387 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
23388 * tools/gst-xmlinspect.c: (print_element_properties):
23391 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
23393 * gst/gstplugin.c: (gst_plugin_check_module),
23394 (gst_plugin_check_file), (gst_plugin_load_file):
23395 apply patch from #172526 to make register work on MacOSX
23397 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23399 * docs/gst/tmpl/gstconfig.sgml:
23400 * gst/gstconfig.h.in:
23401 move documentation for some symbols. Add doc for GST_PTR_FORMAT
23402 * testsuite/debug/printf_extension.c: (main):
23403 Do not use GST_PTR_FORMAT on pointers to types with
23404 sizeof < sizeof(gpointer). Fixes test on 64-bit
23405 * testsuite/elements/property.h:
23406 use correct printf format
23408 2005-05-02 Wim Taymans <wim@fluendo.com>
23410 * docs/design/draft-push-pull.txt:
23411 * docs/design/draft-query.txt:
23412 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
23413 (gst_basesrc_start):
23414 Added draft for new query API.
23415 Added draft for better selecting scheduling methods.
23416 Make basesrc ignore length if the subclass does not support
23419 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23422 possible fixes for automake-1.5 - _LIBADD is reserved
23424 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
23426 * docs/faq/Makefile.am:
23427 * docs/manual/Makefile.am:
23428 * docs/manuals.mak:
23429 * docs/pwg/Makefile.am:
23431 possible fixes for automake-1.5
23433 2005-04-28 Wim Taymans <wim@fluendo.com>
23435 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23436 (gst_basesink_pad_getcaps), (gst_basesink_init),
23437 (gst_basesink_do_sync):
23438 * gst/gstclock.c: (gst_clock_entry_new):
23439 * gst/gstevent.c: (gst_event_discont_get_value):
23440 * gst/gstpipeline.c: (pipeline_bus_handler),
23441 (gst_pipeline_change_state):
23442 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
23443 Better debugging of clocking info.
23444 Allow NULL values when getting discont values.
23446 2005-04-27 Wim Taymans <wim@fluendo.com>
23448 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
23449 * check/gst/gstpad.c: (gst_pad_suite):
23450 Increase timeout for checks.
23452 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
23454 * check/Makefile.am:
23455 fix the broken rule for cleanup. Apparently this rule is
23456 only needed on FC2, so maybe this warrants further autotool
23459 2005-04-26 Wim Taymans <wim@fluendo.com>
23461 * gst/gsttrashstack.h:
23462 Ooohh. a nasty one! After having a failed pop() from the stack,
23463 it's possible that the stack is empty. In that case, don't
23464 follow the NULL pointer.
23466 2005-04-25 Wim Taymans <wim@fluendo.com>
23468 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23469 (gst_pad_set_checkgetrange_function),
23470 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
23471 (gst_pad_check_pull_range), (gst_pad_pull_range),
23472 (gst_static_pad_template_get_caps), (gst_pad_start_task),
23473 (gst_pad_pause_task), (gst_pad_stop_task):
23474 * gst/gstplugin.c: (gst_plugin_load):
23476 Remove gst_library_load as it does more harm than good with
23477 the new g_module flags.
23478 Revert bogus caps template check in pad linking, pad caps
23479 are important when linking not the template, which is more
23480 general than the current caps.
23482 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23484 * gst/autoplug/.cvsignore:
23485 * gst/autoplug/Makefile.am:
23486 * gst/autoplug/gstsearchfuncs.c:
23487 * gst/autoplug/gstsearchfuncs.h:
23488 * gst/autoplug/gstspider.c:
23489 * gst/autoplug/gstspider.h:
23490 * gst/autoplug/gstspideridentity.c:
23491 * gst/autoplug/gstspideridentity.h:
23492 * gst/autoplug/spidertest.c:
23495 2005-04-25 Wim Taymans <wim@fluendo.com>
23497 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23498 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23499 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
23500 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
23502 Added stubs for unimplemented functions.
23504 2005-04-24 David Schleef <ds@schleef.org>
23506 * gst/gstpad.h: Disable some unimplemented functions. Wim,
23509 2005-04-24 David Schleef <ds@schleef.org>
23511 Convert everything from GstAtomicInt to g_atomic_int_*, and
23516 * gst/gstatomic_impl.h:
23524 * gst/gstdata_private.h:
23528 * gst/gstmessage.c:
23531 * gst/gststructure.c:
23532 * gst/gststructure.h:
23533 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
23536 2005-04-24 David Schleef <ds@schleef.org>
23538 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
23539 make the regressions tests work. Remove some code that is no
23541 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
23542 Disable warning for pads without templates.
23544 2005-04-24 David Schleef <ds@schleef.org>
23546 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
23547 functions that handle filtered links.
23548 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
23550 * gst/gstutils.c: Fix/remove utility functions that handle
23553 * gst/gstvalue.c: Add serialization/deserialization of caps
23554 * gst/parse/grammar.y: Ignore filtered caps when linking. This
23555 requires fixing so that the filter caps notation creates
23556 a capsfilter element and sets the filter_caps property. I
23557 think everyone probably wants to keep the shorthand notation.
23558 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
23559 * docs/gst/tmpl/gstpad.sgml:
23561 * gst/elements/gstelements.c: Register capsfilter element.
23562 * gst/Makefile.am: fix spacing
23563 * docs/random/ds/0.9-suggested-changes: random
23565 2005-04-23 David Schleef <ds@schleef.org>
23567 * gst/elements/Makefile.am:
23568 * gst/elements/gstcapsfilter.c: New element that acts like an
23569 identity, but filters caps. Will eventually replace filtered
23570 caps in pad linking.
23571 * gst/gstutils.c: (gst_element_create_all_pads): New function
23572 to create all the ALWAYS pads that are registered with an
23573 element class. This functionality should eventually be
23574 merged in with GstElement initialization.
23576 * testsuite/trigger/README: part of trigger test code that should
23577 have been checked in a long time ago.
23579 2005-04-23 David Schleef <ds@schleef.org>
23581 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
23582 needed with new versions of libtool (nobody will confirm this),
23583 and hard to carry around.
23584 * gst/autoplug/Makefile.am:
23585 * gst/base/Makefile.am:
23586 * gst/elements/Makefile.am:
23587 * gst/indexers/Makefile.am:
23588 * gst/schedulers/Makefile.am:
23589 * libs/gst/bytestream/Makefile.am:
23590 * libs/gst/control/Makefile.am:
23591 * libs/gst/dataprotocol/Makefile.am:
23592 * libs/gst/getbits/Makefile.am:
23594 2005-04-21 Wim Taymans <wim@fluendo.com>
23596 * docs/design/draft-push-pull.txt:
23597 * docs/design/part-MT-refcounting.txt:
23598 * docs/design/part-TODO.txt:
23599 * docs/design/part-caps.txt:
23600 * docs/design/part-events.txt:
23601 * docs/design/part-gstbus.txt:
23602 * docs/design/part-gstpipeline.txt:
23603 * docs/design/part-messages.txt:
23604 * docs/design/part-push-pull.txt:
23605 * docs/design/part-query.txt:
23608 2005-04-21 Wim Taymans <wim@fluendo.com>
23610 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
23611 (gst_message_new), (gst_message_new_error),
23612 (gst_message_new_warning), (gst_message_new_tag),
23613 (gst_message_new_state_changed), (gst_message_new_application),
23614 (gst_message_get_structure):
23615 * gst/gstmessage.h:
23616 * gst/gststructure.c: (gst_structure_set_parent_refcount),
23617 (gst_structure_copy_conditional):
23618 Use parent refcount in GstMessage to ensure GstStructure
23620 Cleaned up headers a bit.
23623 2005-04-20 Wim Taymans <wim@fluendo.com>
23625 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23626 (gst_basesink_pad_getcaps), (gst_basesink_init),
23627 (gst_basesink_chain_unlocked):
23628 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
23629 (gst_type_find_helper):
23630 * gst/elements/gsttypefindelement.c:
23631 (gst_type_find_element_have_type), (gst_type_find_element_init),
23632 (stop_typefinding), (gst_type_find_element_handle_event),
23633 (find_suggest), (gst_type_find_element_chain),
23634 (gst_type_find_element_checkgetrange),
23635 (gst_type_find_element_getrange), (do_typefind),
23636 (gst_type_find_element_activate):
23637 * gst/gstbuffer.c: (_gst_buffer_sub_free),
23638 (gst_buffer_default_free), (gst_buffer_default_copy),
23639 (gst_buffer_set_caps):
23640 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
23641 (gst_caps_replace):
23642 * gst/gstmessage.c: (gst_message_new),
23643 (gst_message_new_state_changed):
23644 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23645 (gst_pad_set_checkgetrange_function),
23646 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
23647 (gst_pad_set_caps), (gst_pad_check_pull_range),
23648 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
23650 * gst/gsttypefind.c: (gst_type_find_register):
23651 Make gst_caps_replace() work like other _replace() functions.
23652 Use _caps_replace() where possible.
23653 Make sure _message_new() initialises its field.
23654 Add gst_static_pad_template_get_caps()
23657 2005-04-18 Andy Wingo <wingo@pobox.com>
23659 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
23660 on the peer, not the pad. I think that was a typo. Pass an extra
23661 arg to see if random access is possible. Activate the pads as
23662 PULL_RANGE if possible.
23664 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
23666 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
23667 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
23670 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23672 * docs/faq/using.xml:
23673 Add note on gstreamer-properties (#154996).
23675 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23677 * docs/random/bbb/optional-properties:
23678 Some analysis on optional properties.
23680 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23682 * docs/gst/tmpl/gstelementfactory.sgml:
23683 * gst/gstelement.h:
23684 * gst/gstelementfactory.c: (gst_element_factory_init),
23685 (gst_element_factory_cleanup), (gst_element_register),
23686 (__gst_element_factory_add_static_pad_template),
23687 (gst_element_factory_get_static_pad_templates),
23688 (gst_element_factory_can_src_caps),
23689 (gst_element_factory_can_sink_caps):
23690 * gst/registries/Makefile.am:
23691 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
23692 (gst_xml_registry_class_init), (gst_xml_registry_init),
23693 (gst_xml_registry_new), (gst_xml_registry_set_property),
23694 (gst_xml_registry_get_property), (get_time), (make_dir),
23695 (gst_xml_registry_get_perms_func),
23696 (plugin_times_older_than_recurse), (plugin_times_older_than),
23697 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
23698 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
23699 (add_to_char_array), (read_string), (read_uint), (read_enum),
23700 (load_pad_template), (load_feature), (load_plugin), (load_paths),
23701 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
23702 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
23703 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
23704 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
23705 (gst_xml_registry_rebuild):
23706 * gst/registries/gstlibxmlregistry.h:
23707 * tools/gst-compprep.c: (main):
23708 * tools/gst-inspect.c: (print_pad_templates_info):
23709 * tools/gst-xmlinspect.c: (print_element_info):
23710 Use libxml2 for registry parsing, use staticpadtemplates in
23711 elementfactories. Makes gst_init() +/- 10x faster.
23713 2005-04-12 Wim Taymans <wim@fluendo.com>
23715 * gst/base/Makefile.am:
23716 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23717 (gst_basesink_pad_getcaps), (gst_basesink_init),
23718 (gst_basesink_event), (gst_basesink_change_state):
23719 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23720 (gst_basesrc_init), (gst_basesrc_query),
23721 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23722 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23723 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23724 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23725 (gst_basesrc_stop), (gst_basesrc_activate),
23726 (gst_basesrc_change_state):
23727 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23728 (helper_find_suggest), (gst_type_find_helper):
23729 * gst/base/gsttypefindhelper.h:
23730 * gst/elements/Makefile.am:
23731 * gst/elements/gstelements.c:
23732 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
23733 (gst_fakesink_get_times), (gst_fakesink_event),
23734 (gst_fakesink_preroll), (gst_fakesink_render):
23735 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23736 (gst_fakesrc_init), (gst_fakesrc_event_handler),
23737 (gst_fakesrc_get_property), (gst_fakesrc_create),
23738 (gst_fakesrc_start), (gst_fakesrc_stop):
23739 * gst/elements/gstfakesrc.h:
23740 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
23741 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23742 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23743 (gst_filesrc_create_read), (gst_filesrc_create),
23744 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
23745 (gst_filesrc_start):
23746 * gst/elements/gsttypefindelement.c:
23747 (gst_type_find_element_have_type), (gst_type_find_element_init),
23748 (start_typefinding), (stop_typefinding), (push_buffer_store),
23749 (gst_type_find_element_handle_event),
23750 (gst_type_find_element_chain),
23751 (gst_type_find_element_checkgetrange),
23752 (gst_type_find_element_getrange), (do_typefind),
23753 (gst_type_find_element_activate),
23754 (gst_type_find_element_change_state):
23755 * gst/elements/gsttypefindelement.h:
23756 * gst/gstpipeline.c: (pipeline_bus_handler):
23757 Added typefind helper.
23758 Small preroll fix in the base sink.
23759 Disable typefind code in basesrc.
23760 Crude port of typefindelement.
23764 2005-04-11 Wim Taymans <wim@fluendo.com>
23766 * check/gst/gstbus.c: (gstbus_suite):
23767 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
23768 * check/gstcheck.h:
23769 Fix up the timeout so that the test does not fail.
23771 2005-04-06 Wim Taymans <wim@fluendo.com>
23774 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23775 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
23776 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
23777 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
23778 (gst_basesrc_check_get_range), (gst_basesrc_loop),
23779 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
23780 (gst_basesrc_stop), (gst_basesrc_activate),
23781 (gst_basesrc_change_state), (basesrc_find_peek),
23782 (basesrc_find_suggest), (gst_basesrc_type_find):
23783 * gst/base/gstbasesrc.h:
23784 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
23785 (gst_filesrc_class_init), (gst_filesrc_init),
23786 (gst_filesrc_finalize), (gst_filesrc_set_location),
23787 (gst_filesrc_set_property), (gst_filesrc_get_property),
23788 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
23789 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
23790 (gst_filesrc_create_read), (gst_filesrc_create),
23791 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
23792 * gst/elements/gstfilesrc.h:
23793 * gst/gstelement.c: (gst_element_get_state_func),
23794 (gst_element_lost_state), (gst_element_pads_activate):
23795 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23796 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
23797 (gst_pad_pull_range):
23799 More work on the generic source base class, implement seeking,
23801 Make filesrc extend the base source class.
23802 Added gst_pad_set_checkgetrange_function to GstPad.
23804 2005-04-06 Andy Wingo <wingo@pobox.com>
23806 * pkgconfig/gstreamer-base.pc.in:
23807 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
23809 * pkgconfig/Makefile.am:
23810 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
23812 2005-04-04 Wim Taymans <wim@fluendo.com>
23814 * gst/base/Makefile.am:
23816 * gst/base/gstbasesink.c: (gst_basesink_base_init),
23817 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23818 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23819 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
23820 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
23821 (gst_basesrc_base_init), (gst_basesrc_class_init),
23822 (gst_basesrc_init), (gst_basesrc_get_formats),
23823 (gst_basesrc_get_query_types), (gst_basesrc_query),
23824 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
23825 (gst_basesrc_set_property), (gst_basesrc_get_property),
23826 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
23827 (gst_basesrc_loop), (gst_basesrc_activate),
23828 (gst_basesrc_change_state):
23829 * gst/base/gstbasesrc.h:
23830 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
23831 (gst_fakesrc_class_init), (gst_fakesrc_init),
23832 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
23833 (gst_fakesrc_get_property), (gst_fakesrc_create):
23834 * gst/elements/gstfakesrc.h:
23835 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
23836 (gst_filesrc_open_file), (gst_filesrc_loop),
23837 (gst_filesrc_activate), (filesrc_find_peek),
23838 (gst_filesrc_type_find):
23839 Made base source class, make fakesrc extend it.
23840 Add comments to basesink class.
23841 Some filesrc cleanup.
23843 2005-03-31 David Schleef <ds@schleef.org>
23845 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
23846 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
23847 expected to link against libgstreamer.
23848 * gst/base/Makefile.am: link against libgstreamer
23849 * gst/elements/Makefile.am: same
23851 2005-03-31 Andy Wingo <wingo@pobox.com>
23853 * tests/instantiate/Makefile.am:
23854 * tests/instantiate/caps.c: Add test to test speed of caps copy
23857 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
23858 GMemChunk to be fair.
23860 * gst/gsttrashstack.h: Remove warning about using the fallback
23861 trash stack implementation, it's still faster than malloc.
23863 2005-03-30 Andy Wingo <wingo@pobox.com>
23865 * tests/complexity.c: Add a copyright.
23867 2005-03-31 Wim Taymans <wim@fluendo.com>
23869 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
23870 (gst_base_transform_class_init), (gst_base_transform_init),
23871 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23872 (gst_base_transform_get_property),
23873 (gst_base_transform_sink_activate),
23874 (gst_base_transform_src_activate),
23875 (gst_base_transform_change_state):
23876 * gst/base/gstbasetransform.h:
23877 * gst/elements/gstidentity.c: (gst_identity_class_init),
23878 (gst_identity_event), (gst_identity_check_perfect),
23879 (gst_identity_transform), (gst_identity_start),
23880 (gst_identity_stop):
23881 Added start/stop methods to transform base class so subclasses
23882 don't need to deal with state changes even.
23884 2005-03-31 Wim Taymans <wim@fluendo.com>
23886 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
23887 (gst_event_new_discontinuous), (gst_event_discont_get_value):
23889 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23890 (gst_pad_pull_range):
23891 Added rate to the discont event to prepare for variable speed
23892 and reverse playback.
23894 2005-03-29 David Schleef <ds@schleef.org>
23897 * testsuite/trigger/Makefile.am:
23898 * testsuite/trigger/trigger.c: A little example program to show
23899 how trigger-based elements can work.
23901 2005-03-29 Wim Taymans <wim@fluendo.com>
23903 * gst/base/Makefile.am:
23905 * gst/base/gstbasesink.c: (gst_basesink_get_type),
23906 (gst_basesink_base_init), (gst_basesink_class_init),
23907 (gst_basesink_pad_getcaps), (gst_basesink_init),
23908 (gst_basesink_activate), (gst_basesink_change_state):
23909 * gst/base/gstbasesink.h:
23910 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
23911 (gst_base_transform_base_init), (gst_base_transform_finalize),
23912 (gst_base_transform_class_init), (gst_base_transform_init),
23913 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
23914 (gst_base_transform_event), (gst_base_transform_getrange),
23915 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
23916 (gst_base_transform_set_property),
23917 (gst_base_transform_get_property),
23918 (gst_base_transform_sink_activate),
23919 (gst_base_transform_src_activate),
23920 (gst_base_transform_change_state):
23921 * gst/base/gstbasetransform.h:
23922 * gst/elements/gstidentity.c: (gst_identity_finalize),
23923 (gst_identity_class_init), (gst_identity_init),
23924 (gst_identity_event), (gst_identity_check_perfect),
23925 (gst_identity_transform), (gst_identity_set_property),
23926 (gst_identity_get_property), (gst_identity_change_state):
23927 * gst/elements/gstidentity.h:
23928 * gst/gstelement.c: (gst_element_get_state_func),
23929 (gst_element_lost_state), (gst_element_pads_activate):
23930 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
23931 (gst_pad_check_pull_range), (gst_pad_pull_range):
23933 Simplify pad activation.
23934 Added function to check if pull_range can be performed.
23935 Error out when pulling inactive or flushing pads.
23936 Removed const from refcounted types as it does not make sense.
23937 Simplify pad templates in basesink
23938 Added base class for simple 1-to-1 transforms.
23939 Make identity subclass the base transform.
23941 2005-03-29 Andy Wingo <wingo@pobox.com>
23943 * docs/libs/gstreamer-libs-overrides.txt:
23944 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
23945 really don't understand what's going on, but like whatever. I want
23948 * docs/gst/Makefile.am:
23949 * docs/libs/Makefile.am: Dist the overrides files.
23951 * check/Makefile.am (clean-local): Remove .libs directories.
23953 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
23954 elements to EXTRA_DIST, so po/ files are happy.
23956 * po/POTFILES.in: Er, remove it here.
23958 * po/POTFILES: Remove gstspider.c.
23960 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
23962 * docs/libs/gstreamer-libs-docs.sgml:
23963 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
23966 * tests/complexity.c (main): Set the length of the preroll queue
23967 on the sinks to prevent a lockup.
23969 * libs/gst/dataprotocol/Makefile.am:
23970 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
23971 the same as the one in check/gst-libs/gdp.c.
23973 * po/, docs/gst/: Commit automatic changes to docs and po files.
23975 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
23976 the versioned libgstbase.
23978 * check/Makefile.am: Depend on an unversioned gst-register, seems
23979 to make autoconf happier.
23981 * gst/base/Makefile.am: Make libgstbase a versioned lib.
23983 2005-03-28 Wim Taymans <wim@fluendo.com>
23986 * docs/design/part-gstelement.txt:
23987 * docs/design/part-negotiation.txt:
23988 * docs/design/part-preroll.txt:
23989 * docs/design/part-scheduling.txt:
23990 * docs/design/part-states.txt:
23992 * gst/base/Makefile.am:
23994 * gst/base/gstbasesink.c: (gst_basesink_get_template),
23995 (gst_basesink_base_init), (gst_basesink_class_init),
23996 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
23997 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
23998 (gst_basesink_set_pad_functions),
23999 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
24000 (gst_basesink_set_property), (gst_basesink_get_property),
24001 (gst_base_sink_get_template), (gst_base_sink_get_caps),
24002 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
24003 (gst_basesink_preroll_queue_push),
24004 (gst_basesink_preroll_queue_empty),
24005 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
24006 (gst_basesink_event), (gst_basesink_get_times),
24007 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
24008 (gst_basesink_chain_unlocked), (gst_basesink_chain),
24009 (gst_basesink_loop), (gst_basesink_activate),
24010 (gst_basesink_change_state):
24011 * gst/base/gstbasesink.h:
24012 * gst/elements/Makefile.am:
24013 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
24014 (gst_fakesink_class_init), (gst_fakesink_init),
24015 (gst_fakesink_set_property), (gst_fakesink_get_property),
24016 (gst_fakesink_get_times), (gst_fakesink_event),
24017 (gst_fakesink_preroll), (gst_fakesink_render),
24018 (gst_fakesink_change_state):
24019 * gst/elements/gstfakesink.h:
24020 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24021 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
24022 * gst/gstelement.c: (gst_element_add_pad),
24023 (gst_element_get_state_func), (gst_element_abort_state),
24024 (gst_element_commit_state), (gst_element_lost_state),
24025 (gst_element_set_state), (gst_element_pads_activate):
24026 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
24027 * gst/gstpipeline.c: (gst_pipeline_send_event),
24028 (gst_pipeline_change_state):
24029 Added state change code.
24030 Added/updated docs.
24031 Added sink base class, make fakesink extend the base class.
24032 Small cleanups in GstPipeline.
24034 2005-03-26 David Schleef <ds@schleef.org>
24036 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
24037 is broken and should be implemented in a different library.
24038 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
24039 * gst/gst.h: remove gstcpu.h
24040 * gst/gstcpu.c: remove
24041 * gst/gstcpu.h: remove
24042 * gst/Makefile.am.future: Remove this file. It's ancient.
24044 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24046 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
24047 (gst_bin_send_event):
24048 Add default event/set_manager handlers. The set_manager handler
24049 takes care that the manager is distributed over kids that were
24050 already in the bin before the manager was set. The event handler
24051 is a utility virtual function that sends the event over all sinks,
24052 so that gst_element_send_event (bin, event); has the expected
24054 * gst/gstpad.c: (gst_pad_event_default):
24055 Re-install default event handling for discontinuities, so that
24056 seeking works without requiring hacks in applications or extra
24058 * gst/gstpipeline.c: (gst_pipeline_class_init),
24059 (gst_pipeline_send_event):
24060 Half hack, half utility: set a pipeline to PAUSED for seek events,
24061 since that is the only way we can guarantee a/v sync. Means that
24062 you can do gst_element_seek (pipeline, method, pos); on a pipeline
24063 and it "just works".
24065 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24067 * gst/gstpipeline.c: (gst_pipeline_use_clock):
24068 Lock/unlock mismatch.
24070 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
24072 * docs/faq/gst-uninstalled:
24073 add gst-plugins-base
24074 * docs/gst/Makefile.am:
24075 don't error out until docs are fixed
24076 * docs/gst/gstreamer.types:
24079 2005-03-22 Wim Taymans <wim@fluendo.com>
24081 * check/Makefile.am:
24082 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
24083 * gst/gststructure.c: (gst_structure_set_valist),
24084 (gst_structure_copy_conditional):
24085 Activated more tests.
24086 Added message test.
24087 Added G_TYPE_POINTER to GstStructure.
24090 2005-03-22 Wim Taymans <wim@fluendo.com>
24092 * docs/design/part-TODO.txt:
24093 * docs/design/part-events.txt:
24094 * docs/design/part-gstbin.txt:
24095 * docs/design/part-gstbus.txt:
24096 * docs/design/part-gstpipeline.txt:
24097 * docs/design/part-messages.txt:
24099 * gst/gstmessage.c:
24102 2005-03-21 Wim Taymans <wim@fluendo.com>
24104 * gst/gstbus.c: (gst_bus_post):
24105 Fix copy-and-paste error.
24107 2005-03-21 Wim Taymans <wim@fluendo.com>
24109 * check/Makefile.am:
24111 * gst/elements/Makefile.am:
24112 * gst/elements/gstelements.c:
24113 * gst/elements/gstfakesink.c: (gst_fakesink_init),
24114 (gst_fakesink_event), (gst_fakesink_chain):
24115 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24116 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
24117 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
24118 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
24119 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24120 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
24121 (gst_fakesrc_loop), (gst_fakesrc_activate),
24122 (gst_fakesrc_change_state):
24123 * gst/elements/gstfakesrc.h:
24124 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
24125 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
24126 (gst_filesrc_open_file), (gst_filesrc_loop),
24127 (gst_filesrc_activate), (gst_filesrc_change_state),
24128 (filesrc_find_peek), (filesrc_find_suggest),
24129 (gst_filesrc_type_find):
24130 * gst/elements/gstidentity.c: (gst_identity_finalize),
24131 (gst_identity_class_init), (gst_identity_init),
24132 (gst_identity_proxy_getcaps), (identity_queue_push),
24133 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
24134 (gst_identity_getrange), (gst_identity_chain),
24135 (gst_identity_sink_loop), (gst_identity_src_loop),
24136 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
24137 (gst_identity_set_property), (gst_identity_get_property),
24138 (gst_identity_change_state):
24139 * gst/elements/gstidentity.h:
24140 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
24141 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
24142 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
24143 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
24144 (gst_tee_sink_activate):
24145 * gst/elements/gsttee.h:
24146 * gst/gst.c: (gst_register_core_elements), (init_post):
24148 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
24149 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
24150 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
24151 (gst_bin_change_state):
24153 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
24154 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
24155 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
24156 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
24157 (gst_bus_set_sync_handler), (gst_bus_create_watch),
24158 (bus_watch_callback), (bus_watch_destroy),
24159 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
24160 (poll_timeout), (gst_bus_poll):
24164 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24165 (gst_element_post_message), (gst_element_message_full),
24166 (gst_element_get_state_func), (gst_element_get_state),
24167 (gst_element_abort_state), (gst_element_commit_state),
24168 (gst_element_lost_state), (gst_element_set_state),
24169 (gst_element_pads_activate), (gst_element_change_state),
24170 (gst_element_dispose), (gst_element_set_manager_func),
24171 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
24172 (gst_element_set_manager), (gst_element_get_manager),
24173 (gst_element_set_bus), (gst_element_get_bus),
24174 (gst_element_set_scheduler), (gst_element_get_scheduler):
24175 * gst/gstelement.h:
24176 * gst/gstevent.c: (gst_event_new_segment_seek),
24177 (gst_event_new_flush):
24179 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
24180 (_gst_message_free), (gst_message_get_type), (gst_message_new),
24181 (gst_message_new_eos), (gst_message_new_error),
24182 (gst_message_new_warning), (gst_message_new_tag),
24183 (gst_message_new_state_changed), (gst_message_new_application),
24184 (gst_message_get_structure), (gst_message_parse_tag),
24185 (gst_message_parse_state_changed), (gst_message_parse_error),
24186 (gst_message_parse_warning):
24187 * gst/gstmessage.h:
24188 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
24189 (gst_real_pad_set_property), (gst_pad_set_active),
24190 (gst_pad_is_active), (gst_pad_set_blocked_async),
24191 (gst_pad_set_blocked), (gst_pad_is_blocked),
24192 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
24193 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
24194 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
24195 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
24196 (gst_pad_link_filtered), (gst_pad_relink_filtered),
24197 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
24198 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
24199 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
24200 (gst_pad_set_caps), (gst_pad_configure_sink),
24201 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
24202 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
24203 (gst_real_pad_dispose), (gst_real_pad_finalize),
24204 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
24205 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24206 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
24208 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
24209 (pipeline_bus_handler), (gst_pipeline_change_state),
24210 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
24211 * gst/gstpipeline.h:
24213 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
24214 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
24215 (gst_queue_link_src), (gst_queue_bufferalloc),
24216 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
24217 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
24218 (gst_queue_loop), (gst_queue_handle_src_event),
24219 (gst_queue_handle_src_query), (gst_queue_src_activate),
24220 (gst_queue_change_state):
24222 * gst/gstscheduler.c: (gst_scheduler_init),
24223 (gst_scheduler_dispose), (gst_scheduler_create_task),
24224 (gst_scheduler_factory_create):
24225 * gst/gstscheduler.h:
24226 * gst/gststructure.c: (gst_structure_get_type),
24227 (gst_structure_copy_conditional):
24228 * gst/gststructure.h:
24229 * gst/gsttaginterface.h:
24230 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24231 (gst_task_init), (gst_task_dispose), (gst_task_create),
24232 (gst_task_get_state), (gst_task_start), (gst_task_stop),
24238 * gst/schedulers/Makefile.am:
24239 * gst/schedulers/cothreads_compat.h:
24240 * gst/schedulers/entryscheduler.c:
24241 * gst/schedulers/faircothreads.c:
24242 * gst/schedulers/faircothreads.h:
24243 * gst/schedulers/fairscheduler.c:
24244 * gst/schedulers/gstbasicscheduler.c:
24245 * gst/schedulers/gstoptimalscheduler.c:
24246 * gst/schedulers/gthread-cothreads.h:
24247 * gst/schedulers/threadscheduler.c:
24248 (gst_thread_scheduler_task_get_type),
24249 (gst_thread_scheduler_task_class_init),
24250 (gst_thread_scheduler_task_init),
24251 (gst_thread_scheduler_task_start),
24252 (gst_thread_scheduler_task_stop),
24253 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
24254 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24255 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
24256 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
24258 * libs/gst/Makefile.am:
24259 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
24260 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
24261 (gst_file_pad_parent_set):
24262 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24263 (gst_dp_event_from_packet):
24264 * tests/complexity.c: (main):
24265 * tests/mass_elements.c: (main):
24266 * testsuite/states/locked.c: (message_received), (main):
24267 * testsuite/states/parent.c: (main):
24268 * tools/gst-inspect.c: (print_element_flag_info),
24269 (print_implementation_info), (print_pad_info):
24270 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
24272 * tools/gst-md5sum.c: (event_loop), (main):
24273 * tools/gst-typefind.c: (main):
24274 * tools/gst-xmlinspect.c: (print_element_info):
24276 Added GstBus for mainloop integration.
24277 Added GstMessage for sending notifications on the bus.
24278 Added GstTask as an abstraction for pipeline entry points.
24280 Removed Schedulers.
24281 Simplified GstQueue for multithreaded core.
24282 Made _link threadsafe, removed old capsnego.
24283 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
24284 Added pad blocking functions.
24285 Reworked scheduling functions in GstPad to prepare for
24286 scheduling updates soon.
24287 Moved events out of data stream.
24288 Simplified GstEvent types.
24289 Added return values to push/pull.
24290 Removed clocking from GstElement.
24291 Added prototypes for state change function for next merge.
24292 Removed iterate from bins and state change management.
24293 Fixed some elements, disabled others for now.
24294 Fixed -inspect and -launch.
24295 Added check for GstBus.
24297 2005-03-10 Wim Taymans <wim@fluendo.com>
24299 * docs/design/part-MT-refcounting.txt:
24300 * docs/design/part-clocks.txt:
24301 * docs/design/part-gstelement.txt:
24302 * docs/design/part-gstobject.txt:
24303 * docs/design/part-standards.txt:
24304 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24305 (gst_bin_remove_func), (gst_bin_remove):
24309 * testsuite/clock/clock1.c: (main):
24310 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
24312 * testsuite/dlopen/loadgst.c: (do_test):
24313 * testsuite/refcounting/bin.c: (add_remove_test1),
24314 (add_remove_test2), (main):
24315 * testsuite/refcounting/element.c: (main):
24316 * testsuite/refcounting/element_pad.c: (main):
24317 * testsuite/refcounting/pad.c: (main):
24318 * tools/gst-launch.c: (sigint_handler_sighandler):
24319 * tools/gst-typefind.c: (main):
24321 Added doc about clock.
24322 removed gst_bin_iterate_recurse_up(), marked methods
24324 Fix more testsuites.
24326 2005-03-09 Wim Taymans <wim@fluendo.com>
24328 * gst/gstpad.c: (gst_pad_get_direction),
24329 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
24330 (gst_pad_collect_valist):
24331 * testsuite/bins/interface.c: (main):
24332 * testsuite/caps/audioscale.c: (test_caps):
24333 * testsuite/caps/caps.c: (test1), (test2), (test3):
24334 * testsuite/caps/deserialize.c: (main):
24335 * testsuite/caps/enumcaps.c: (main):
24336 * testsuite/caps/filtercaps.c: (main):
24337 * testsuite/caps/intersect2.c: (main):
24338 * testsuite/caps/random.c: (main):
24339 * testsuite/caps/renegotiate.c: (my_fixate), (main):
24340 * testsuite/caps/sets.c: (check_caps):
24341 * testsuite/caps/simplify.c: (check_caps), (main):
24342 * testsuite/caps/subtract.c: (check_caps):
24343 Fix _pad_get_direction wrt ghostpads.
24344 Fix caps testsuite.
24346 2005-03-09 Wim Taymans <wim@fluendo.com>
24348 * check/Makefile.am:
24349 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
24350 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
24351 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
24352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
24353 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
24354 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
24355 (gst_bin_remove), (gst_bin_iterate_recurse_up),
24356 (bin_element_is_sink), (gst_bin_iterate_sinks),
24357 (gst_bin_iterate_all_by_interface):
24359 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
24360 (gst_element_change_state), (gst_element_dispose),
24361 (gst_element_finalize), (gst_element_set_loop_function):
24362 * gst/gstelement.h:
24363 * gst/gstiterator.c: (find_custom_fold_func):
24364 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24365 (gst_pad_collectv), (gst_pad_collect_valist),
24366 (gst_pad_template_new):
24367 * gst/gstpipeline.c: (gst_pipeline_class_init),
24368 (gst_pipeline_dispose), (gst_pipeline_set_property),
24369 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
24370 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
24371 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
24373 * gst/schedulers/entryscheduler.c:
24374 * gst/schedulers/gstbasicscheduler.c:
24375 (gst_basic_scheduler_cothreaded_chain),
24376 (gst_basic_scheduler_chain_add_element):
24377 * testsuite/bins/interface.c: (main):
24379 Added GstSystemClock test.
24380 Implemented clock distribution code in GstBin.
24381 Implemented iterate sinks method for future use.
24382 Rearranged gstelement.h
24383 Fix GstIterator comparison bug.
24384 Moved some code to GstPipeline, mostly clocking related.
24386 2005-03-09 Wim Taymans <wim@fluendo.com>
24389 * gst/gst_private.h:
24390 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24391 (gst_bin_remove_func), (gst_bin_remove),
24392 (gst_bin_get_by_name_recurse_up):
24393 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
24394 (gst_clock_id_compare_func), (gst_clock_id_wait),
24395 (gst_clock_id_wait_async), (gst_clock_init),
24396 (gst_clock_adjust_unlocked), (gst_clock_get_time):
24397 * gst/gstelement.h:
24398 * gst/gstinfo.c: (_gst_debug_init):
24400 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
24401 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
24403 Bump version number, we're now 0.9.0
24404 Add future debugging category.
24405 Fix NULL _unref() in _get_by_name_recurse_up
24406 Rearrange gstpad.h.
24409 2005-03-08 Wim Taymans <wim@fluendo.com>
24411 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
24412 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
24413 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24414 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
24415 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
24416 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
24417 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
24418 * gst/elements/gstidentity.c: (gst_identity_class_init):
24419 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
24420 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
24421 * gst/elements/gstshaper.c: (gst_shaper_class_init):
24422 * gst/elements/gststatistics.c: (gst_statistics_class_init):
24423 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
24425 * gst/gstelement.c: (gst_element_class_init),
24426 (gst_element_base_class_init), (gst_element_init),
24427 (gst_element_get_random_pad), (gst_element_wait_state_change),
24428 (gst_element_change_state), (gst_element_dispose),
24429 (gst_element_finalize), (gst_element_set_loop_function):
24430 * gst/gstelement.h:
24431 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
24432 * gst/gstthread.c: (gst_thread_class_init),
24433 (gst_thread_release_children_locks), (gst_thread_change_state):
24434 * gst/schedulers/gstbasicscheduler.c:
24435 (gst_basic_scheduler_loopfunc_wrapper),
24436 (gst_basic_scheduler_chain_wrapper),
24437 (gst_basic_scheduler_src_wrapper),
24438 (gst_basic_scheduler_remove_element):
24439 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
24440 Remove threadsafe properties. Fix elements because GObject
24441 complains when installing a property before declaring a
24442 set/get_property handler.
24443 Rearrange gstelement.h file, use STATE macros for state locks.
24444 Free mutexes in the finalize method instead of dispose.
24446 2005-03-08 Wim Taymans <wim@fluendo.com>
24448 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24449 * gst/gstthread.c: (gst_thread_release_children_locks):
24450 Added parentage check.
24451 Fix build og GstThread again.
24453 2005-03-08 Wim Taymans <wim@fluendo.com>
24455 * docs/design/part-MT-refcounting.txt:
24456 * docs/design/part-conventions.txt:
24457 * docs/design/part-gstobject.txt:
24458 * docs/design/part-relations.txt:
24459 * docs/design/part-standards.txt:
24460 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
24461 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
24462 (gst_bin_get_by_name), (gst_bin_get_by_interface),
24463 (gst_bin_iterate_all_by_interface):
24466 * gst/gstelement.c: (gst_element_class_init),
24467 (gst_element_change_state), (gst_element_set_loop_function):
24468 * gst/gstelement.h:
24469 * gst/gstiterator.c:
24470 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
24471 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
24472 (gst_object_dispatch_properties_changed), (gst_object_set_name),
24473 (gst_object_set_parent), (gst_object_unparent),
24474 (gst_object_check_uniqueness):
24476 Docs updates, clean up some headers.
24478 2005-03-07 Wim Taymans <wim@fluendo.com>
24480 * check/.cvsignore:
24481 * check/Makefile.am:
24482 * check/gst-libs/.cvsignore:
24483 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
24484 * check/gst/.cvsignore:
24485 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
24486 (START_TEST), (gstbus_suite), (main):
24487 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
24488 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
24489 (gst_data_suite), (main):
24490 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
24491 (add_fold_func), (gstiterator_suite), (main):
24492 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
24493 (thread_name_object), (thread_name_object_default),
24494 (gst_object_name_compare), (gst_object_suite), (main):
24495 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
24496 (gst_pad_suite), (main):
24497 * check/gstcheck.c: (gst_check_log_message_func),
24498 (gst_check_log_critical_func), (gst_check_init):
24499 * check/gstcheck.h:
24500 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
24501 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
24504 2005-03-07 Wim Taymans <wim@fluendo.com>
24506 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24507 (gst_list_iterator_next), (gst_list_iterator_resync),
24508 (gst_list_iterator_free), (gst_iterator_new_list),
24509 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
24510 (gst_iterator_free), (gst_iterator_push), (filter_next),
24511 (filter_resync), (filter_uninit), (filter_free),
24512 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
24513 (gst_iterator_foreach), (find_custom_fold_func),
24514 (gst_iterator_find_custom):
24515 * gst/gstiterator.h:
24516 Added missing files.
24518 2005-03-07 Wim Taymans <wim@fluendo.com>
24522 * docs/design/part-MT-refcounting.txt:
24523 * docs/design/part-conventions.txt:
24524 * docs/design/part-gstobject.txt:
24525 * docs/design/part-relations.txt:
24526 * examples/mixer/mixer.c: (main):
24527 * examples/thread/thread.c: (eos), (main):
24529 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
24530 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
24531 (gst_spider_plug_from_srcpad):
24532 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
24533 (gst_spider_identity_change_state),
24534 (gst_spider_identity_sink_loop_type_finding):
24535 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
24536 * gst/elements/gstidentity.c: (gst_identity_init):
24537 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
24538 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
24539 * gst/elements/gsttypefindelement.c: (free_entry):
24542 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
24543 (gst_bin_set_clock_func), (gst_bin_auto_clock),
24544 (gst_bin_set_index), (gst_bin_set_element_sched),
24545 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
24546 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
24547 (gst_bin_iterate_elements), (iterate_child_recurse),
24548 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
24549 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
24550 (compare_interface), (gst_bin_get_by_interface),
24551 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
24553 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
24554 (gst_buffer_default_free), (gst_buffer_default_copy),
24555 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
24556 (gst_buffer_create_sub):
24558 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
24559 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
24560 (gst_caps_unref), (gst_static_caps_get),
24561 (gst_caps_remove_and_get_structure), (gst_caps_append),
24562 (gst_caps_append_structure), (gst_caps_remove_structure),
24563 (gst_caps_copy_nth), (gst_caps_set_simple),
24564 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
24565 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
24566 (gst_caps_structure_intersect_field), (gst_caps_intersect),
24567 (gst_caps_structure_subtract_field), (gst_caps_subtract),
24568 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
24569 (gst_caps_structure_figure_out_union),
24570 (gst_caps_switch_structures), (gst_caps_do_simplify),
24571 (gst_caps_replace), (gst_caps_from_string),
24572 (gst_caps_copy_conditional):
24574 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
24575 (_gst_clock_id_free), (gst_clock_id_unref),
24576 (gst_clock_id_compare_func), (gst_clock_id_wait),
24577 (gst_clock_id_wait_async), (gst_clock_class_init),
24578 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
24579 (gst_clock_get_time), (gst_clock_set_time_adjust),
24580 (gst_clock_set_property), (gst_clock_get_property):
24583 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
24584 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
24586 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
24587 (gst_element_requires_clock), (gst_element_provides_clock),
24588 (gst_element_set_clock), (gst_element_clock_wait),
24589 (gst_element_wait), (gst_element_set_time_delay),
24590 (gst_element_is_indexable), (gst_element_add_pad),
24591 (gst_element_add_ghost_pad), (gst_element_remove_pad),
24592 (pad_compare_name), (gst_element_get_static_pad),
24593 (gst_element_request_pad), (gst_element_get_request_pad),
24594 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
24595 (gst_element_class_get_pad_template_list),
24596 (gst_element_class_get_pad_template), (gst_element_error_func),
24597 (gst_element_get_random_pad), (gst_element_get_event_masks),
24598 (gst_element_send_event), (gst_element_seek),
24599 (gst_element_get_query_types), (gst_element_query),
24600 (gst_element_get_formats), (gst_element_convert),
24601 (gst_element_is_locked_state), (gst_element_set_locked_state),
24602 (gst_element_sync_state_with_parent), (gst_element_change_state),
24603 (gst_element_finalize), (gst_element_yield),
24604 (gst_element_interrupt), (gst_element_set_scheduler),
24605 (gst_element_get_scheduler), (gst_element_set_loop_function):
24606 * gst/gstelement.h:
24608 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
24609 (gst_format_get_by_nick), (gst_format_get_details),
24610 (gst_format_iterate_definitions):
24612 * gst/gstindex.c: (gst_index_gtype_resolver):
24615 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
24616 (gst_mem_chunk_free):
24617 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
24618 (gst_object_ref), (gst_object_unref), (gst_object_sink),
24619 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
24620 (gst_object_dispatch_properties_changed),
24621 (gst_object_set_name_default), (gst_object_set_name),
24622 (gst_object_get_name), (gst_object_set_name_prefix),
24623 (gst_object_get_name_prefix), (gst_object_set_parent),
24624 (gst_object_get_parent), (gst_object_unparent),
24625 (gst_object_check_uniqueness), (gst_object_save_thyself),
24626 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
24627 (gst_object_set_property), (gst_object_get_property),
24628 (gst_object_get_path_string):
24630 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24631 (gst_real_pad_init), (gst_real_pad_get_property),
24632 (gst_pad_custom_new), (gst_pad_get_direction),
24633 (gst_pad_set_active), (gst_pad_is_active),
24634 (gst_pad_set_event_function), (gst_pad_is_linked),
24635 (gst_pad_link_free), (gst_pad_link_intersect),
24636 (gst_pad_link_fixate), (gst_pad_set_caps),
24637 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
24638 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
24639 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
24640 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
24641 (gst_pad_get_caps), (gst_pad_peer_get_caps),
24642 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
24643 (gst_pad_realize), (gst_pad_get_allowed_caps),
24644 (gst_real_pad_dispose), (gst_real_pad_finalize),
24645 (gst_pad_collectv), (gst_pad_collect_valist),
24646 (gst_pad_template_dispose), (gst_pad_template_new),
24647 (gst_pad_get_internal_links):
24649 * gst/gstpipeline.c: (gst_pipeline_dispose),
24650 (gst_pipeline_change_state):
24651 * gst/gstpipeline.h:
24653 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
24654 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
24655 * gst/gstpluginfeature.h:
24656 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
24657 * gst/gstquery.c: (_gst_query_type_initialize),
24658 (gst_query_type_register), (gst_query_type_get_by_nick),
24659 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
24661 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
24662 * gst/gstscheduler.c: (gst_scheduler_add_element),
24663 (gst_scheduler_factory_create):
24664 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24665 (gst_structure_free), (gst_structure_set_name),
24666 (gst_structure_id_set_value), (gst_structure_set_value),
24667 (gst_structure_set_valist), (gst_structure_remove_field),
24668 (gst_structure_remove_fields),
24669 (gst_structure_remove_fields_valist),
24670 (gst_structure_remove_all_fields), (gst_structure_foreach),
24671 (gst_structure_map_in_place),
24672 (gst_caps_structure_fixate_field_nearest_int),
24673 (gst_caps_structure_fixate_field_nearest_double):
24674 * gst/gststructure.h:
24675 * gst/gstsystemclock.c: (gst_system_clock_class_init),
24676 (gst_system_clock_init), (gst_system_clock_dispose),
24677 (gst_system_clock_async_thread),
24678 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
24679 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
24680 * gst/gstsystemclock.h:
24681 * gst/gsttag.c: (gst_tag_list_add_value_internal),
24682 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
24683 * gst/gsttaginterface.c:
24684 * gst/gstthread.c: (gst_thread_dispose),
24685 (gst_thread_release_children_locks), (gst_thread_change_state),
24686 (gst_thread_main_loop):
24687 * gst/gsttrashstack.h:
24688 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
24690 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24691 (gst_element_request_pad), (gst_element_get_pad_from_template),
24692 (gst_element_request_compatible_pad),
24693 (gst_element_get_compatible_pad_filtered),
24694 (gst_element_get_compatible_pad), (gst_element_state_get_name),
24695 (gst_element_link_pads_filtered), (gst_element_link_filtered),
24696 (gst_element_link_many), (gst_element_link),
24697 (gst_element_link_pads), (gst_element_unlink_pads),
24698 (gst_element_unlink_many), (gst_element_unlink),
24699 (gst_pad_can_link_filtered), (gst_pad_can_link),
24700 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
24701 (gst_object_default_error), (gst_bin_add_many),
24702 (gst_bin_remove_many), (gst_element_populate_std_props),
24703 (gst_element_class_install_std_props), (gst_buffer_merge),
24704 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
24705 (link_fold_func), (gst_pad_proxy_setcaps):
24707 * gst/gstvalue.c: (gst_value_deserialize_string):
24708 * gst/parse/grammar.y:
24709 * gst/schedulers/gstbasicscheduler.c:
24710 (gst_basic_scheduler_cothreaded_chain),
24711 (gst_basic_scheduler_chain_recursive_add),
24712 (gst_basic_scheduler_pad_link):
24713 * gst/schedulers/gstoptimalscheduler.c:
24714 (get_group_schedule_function),
24715 (gst_opt_scheduler_state_transition),
24716 (gst_opt_scheduler_add_element), (element_get_reachables_func):
24717 * libs/gst/bytestream/bytestream.c:
24718 * libs/gst/dataprotocol/dataprotocol.c:
24719 (gst_dp_header_from_buffer):
24722 * tests/threadstate/threadstate2.c: (eos):
24723 * tools/gst-compprep.c: (main):
24724 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
24725 (print_pad_info), (print_children_info):
24726 * tools/gst-launch.c: (idle_func), (main):
24727 * tools/gst-md5sum.c: (idle_func), (main):
24728 * tools/gst-xmlinspect.c: (print_element_info):
24729 First THREADED backport attempt, focusing on adding locks and
24730 making sure the API is threadsafe. Needs more work. More docs
24733 2005-02-24 Andy Wingo <wingo@pobox.com>
24735 * tests/bench-complexity.scm:
24736 * tests/complexity.gnuplot: New files, good for running complexity
24739 * tests/Makefile.am:
24740 * tests/complexity.c: New test, sets up N elements, at each level
24741 teeing into M streams per element. Eeeenteresting.
24743 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
24744 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
24745 running bench-mass_elements.scm.
24747 * tests/bench-mass_elements.scm: New script, runs mass_elements
24748 for various numbers of identities, outputting the results to a
24749 file. Requires guile 1.6. Just for testing.
24751 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
24753 * gst/schedulers/fairscheduler.c:
24754 compile with debug disabled
24756 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
24759 hunting season on 0.9 is now OPEN